Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

migrated from stackoverflow.com Jul 21 '11 at 5:27

This question came from our site for professional and enthusiast programmers.

1 Answer 1

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.

share|improve this answer
    
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 '11 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 '11 at 4:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.