LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Navigation in 'less' not working (https://www.linuxquestions.org/questions/linux-general-1/navigation-in-less-not-working-839955/)

czerwinski1977 10-23-2010 05:50 AM

Navigation in 'less' not working
 
Hi there,

I am a kind of desperate - I just upgraded my ubuntu to 10.10 and discovered that the navigation keys in the 'less' utility are not working anymore. Both the cursor keys and the page keys are just echoed as key codes:

Code:

:^[[A^[[B^[[C^[[D^[[5~^[[6~
(I hit up, down, right, left, pgup, pgdown)

This is really nasty - moreover, this issue seems to be too difficult to google (at least for me) beause 'less' is not a very good keyword to search for :(

Thanks for all advices!

Reinhard.

PS: I already checked TERM=xterm -- must be something else...

neonsignal 10-23-2010 07:36 AM

Quote:

Originally Posted by czerwinski1977 (Post 4136695)
PS: I already checked TERM=xterm -- must be something else...

You could check that it is running the shell you expect too (SHELL=/bin/bash).

czerwinski1977 10-23-2010 12:33 PM

The shell is /bin/bash ...

Any other ideas, please?

honeybadger 10-23-2010 02:13 PM

Hi,
If the arrow keys do not work does the enter key work? I had this issue with ubuntu earlier and I did not like it.
As far as my pc is concerned echo $TERM gives me linux.
Hope this helps.

czerwinski1977 10-25-2010 03:39 PM

Miraculously, the problem has disappeared just as it appeared... still TERM=xterm, SHELL=/bin/bash ...

Thanks anyway for your replies!

honeybadger 10-25-2010 11:24 PM

Please mark the thread as solved if your issue is resolved.


All times are GMT -5. The time now is 07:30 PM.