Re: [ROOT] patch for delete and arrow keys

From: Thomas Bretz (tbretz@astro.uni-wuerzburg.de)
Date: Mon Jan 19 2004 - 14:32:06 MET


Hi Alexander,

it sounds great I always thought, that the current way of editing is 
somehow inconvinient. It seems that you had a look into Getline.c. Do 
you think that it is possible to get also 'home' and 'end' working to 
jump back to the beginning of a line?

Thanks,
Thomas.

Alexander Bürger wrote:
> Dear rooters,
> 
> on my machine, pressing the delete key while editing the rint command line
> inserts a ~ and deletes nothing. Also using an arrow key after finding
> something in history search mode inserts garbage. To make both keys work I
> just need to edit a few lines in clib/src/Getline.c, as described by the
> attached patch. This works very nice in my xterm, konsole and on the linux
> console. Unfortunately I cannot say anything about different machines or
> setups. Anyway, I would be happy if this change could somehow be included
> in root.
> 
> Best wishes,
> 
> Alexander



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET