Thanks to all the people who responded to my question (too many to summ up here).
My original question was how to enable navigation through the history of commands in a csh.
This turned out not to be a stty problem, but a csh matter.
set editmode=emacs in .cshrc does the thing. (This disabled ^d for exiting a shell, but this was solved by entering the command bind-to-key EndOfFile "\^D").
This leaves me with a second problem (that I didn't ask, because I thought it was related to the first one).
I have a character based application running on an Ultrix system. We are migrating to DU right now, but for some reasons this application can not and will not be ported to Alpha, so I have to rsh it on an Ultrix. The application uses arrow keys to navigate through the menu options and F20 as exit key (we use NCD X-terminals with N108 keyboards). When rsh-ing from my Alpha, these keys won't work anymore. (when I do a rlogin on the Ultrix and start the application there everything works fine).
This is how I do the rsh
rsh Ultrixhost '/usr/bin/csh -c "source /user1/.login; application"'
My home directory resides on the Ultrix and is mounted (as home directory) on the Alpha, so I use the same .cshrc and .login.
Any ideas as to how to solve this ?
-------------------------------------------------------------------------------
Geert Van den Eede
Systems Manager
European Commission
Brussels - Belgium
e-mail: "geert.van den eede"_at_scic.cec.be
-------------------------------------------------------------------------------
Received on Wed Mar 20 1996 - 12:58:24 NZST