control left/right in terminal



control left/right (bkwd-word/fwd-word) works for
console, and works nicely... but..

would be nice if it worked for terminal too... ctrl left/right
outputs a 'd' and 'c' respectively ... is this possible
to fix?

i put this line in my inputrc:

"\eOd": backward-word
"\eOc": forward-word

and ctrl left/right works for normal bash.... unfortunately
it doesn't work for mc (my guess is because mc
doesn't use readline)

also would be nice if ctrl-up/ctrl-down scrolled the buffer
down and up, respectively.... leaving the cursor in
the same position on the screen though...

thx, Nehal






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]