How are the arrow keys set ?

Asked by kaphar on 2010-10-31

When using the terminal the arrow keys display their (value ?) and do not move the cursor. It would be nice if the up arrow would actually move up in a terminal window. It would also be handy if the last command was available via the arrow keys in shell mode.
Any help would be appreciated.
By the by, it was finally the last day of Windows. We shut the windows and won't open them again.
KapHar

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Last query:
2010-10-31
Last reply:
2010-11-01
mycae (mycae) said : #1

Your keyboard might be misconfigured?

Try modifying the keyboard layout to match your physical keyboard:
System > Preferences > Keyboard > Layouts

Sam_ (and-sam) said : #2

If it is a standard installation, the up arrow shows last cmd.
Page-up, Page-down scrolls the output (some need to add Shift).
http://ubuntuforums.org/showthread.php?t=50794

To find last cmd, history is useful.
e.g.:
history 3

Output:
511 man apt-get
512 man gedit
513 history 3

e.g. you'd like to recall manpage of apt-get:
!511

Can you help with this problem?

Provide an answer of your own, or ask kaphar for more information if necessary.

To post a message you must log in.