0

I am new to Minix. I'm so impressed by the speed of the system. It looks elegant, I like it.

However, I have a question about the shell. In Linux, while using a shell, up and down arrow keys can be used to navigate through previously executed commands. On Minix with the sh shell, I can only get numbers printed out on the screen.

I remember I chose a US-std keyboard when installing. Is there any way to use the arrow keys to navigate through previous commands on Minix?

1 Answer 1

0

These days the Minix sh should be ash; if it doesn't recognize your arrow keys, check $TERM. If it's an older Minix (ash came in with Minix 3) then the shell is too primitive to support arrow keys.

2
  • Thanks! I downed and installed it today. It is Minix3. I actually used pkgin to install bash, however, after # bash, i typed # echo $SHELL, it still shows sh. I will check $TERM. What should it be? xterm?
    – Alfred Zhong
    Jul 20, 2011 at 2:46
  • 1
    $SHELL isn't your current shell, it's your shell from /etc/passwd. You need to change it there (chsh command) if you want bash to be used as your default shell.
    – geekosaur
    Jul 20, 2011 at 4:00

You must log in to answer this question.