The problem was that when on /dev/tty via SSH I was not able to scroll the command line history with up- and down-arrows.
I’ve found the nearly ideal setup:
- in /.boot I declared “/bin/sinit TERM=qansi”
- in /etc/config/sysinit.NODE I removed “-Q” from “/bin/Dev.ansi -n6 -h &”
- in /etc/config/sysinit.NODE I added “export TERM=qansi”, then after the line “reopen /dev/con1” I’ve put “stty protocol=1 term=$TERM”
- in /etc/default/login I declared “TERM=qansi”
This gave me colored man-pages, access to the command line history with up- and down-arrows on /dev/conX, my favorite mqc works…
On /dev/tty I’m able to access the history with Ctrl-P and Ctrl-N.
Strangely enough - the up- and down-arrows start working on /dev/tty after I log-in via telnet!
stty reports different modes before and after the telnet session.
May be it’s curable with ./configureing SSH2 to use some termcap or something… Will try it later.
The draw-backs found so far:
- in mqc I’ve lost Ctrl-Enter to put the highlighted filename onto the command line.
Please comment.
Tony.