From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078731112124.tru64-unix-managers.marc@archive.invalid> From: Denis Salihagic Date: Wed, 23 Dec 1998 07:14:04 +0000 To: tru64-unix-managers Subject: SUMMARY: Scrolling commands X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078731112124 Hi, many thanks for answers and suggestion to: Kurt Carlson Steve VanDevender Wayne Thompson Alan Matt Moore Larry Griffith Lombardi Emanuele Jean-Francois Vibert My problem was that I cannot use arrow keys ( or some combination of keys ) to repeat previous command(s) and to move cursor on command line. In my mail I forgot to write that I am using ksh, but in any case I received a solution. So, first group of answers suggest me to read man page. I, of course, try that before I have mailed to managers. Second group of answers suggest me just to change a shell, and in most case advice to use tcsh. This is also solution of my problems, but the question how to do that in ksh is still without answer. The shortest and simplest solution, I obtained from Russ Fish: in ~/.profile just add line: set -o emacs And, with this simple command all start working, not just arrows, but also jumping on beginning of command line, to end, etc... Russ, special thanks to You. Jim Williams also sent me a solution, but answer is not so simple as Russ's. I am just coping his mail down: >When running the Korn shell, I've got command recall/editing/scrolling >by creating a .kshrc file and setting the ENV environment variable in my >.profile to source it at login. In the .kshrc file, I define a history >file, the editor and command line editor values as well as a logout >alias to clean up the history file on exit: > >in .profile add: >ENV=./.kshrc > >in .kshrc: >HISTFILE=~/.hist$$ >EDITOR=/usr/bin/emacs >FCEDIT=/usr/bin/emacs >alias logout='rm ~/.hist$$; exit' > >the $$ is the process id of the login shell & of course you'll need >emacs installed as well. That will be all. I obtained solution of my problem very quickly and with a lot of possibilities. Once more, thank You to all who help me. Merry Christmas and Happy New Year. Regards, Denis Salihagic