gnu raedline patch for v6.3.5 based on Miroslav Koskar code