Thanks. Just installing ksh and running it didn't create a .kshrc file for me. What should be in that file? What documentation is there and where do I find it? On Tue, 25 Jan 2000, Fissler, Quinn wrote:
The biggest differences that I encounter between bash and ksh are:
bash surreptitiously replaces "echo" while ksh provides a new function "print" - the reason for not using "/bin/echo" is that they don't all behave the same.
ksh provides new stuff with ${} and $() which aren't supported elsewhere.
The arrows can be made to work but I tend to use "set -o vi" and use the vi commands (as you can in bash too).
One way to get the arrows working with an ANSI terminal is to "set -o emacs" and put:
alias __A='^P' # Cursor up alias __B='^N' # Cursor down alias __C='^F' # Cursor right alias __D='^B' # Cursor left <<
in your .kshrc
I'm a ksh fan!
Quinn -----Original Message----- From: Kenneth Kellum [mailto:kkellum@pacbell.net] Sent: 25 January 2000 14:14 To: Rafael E. Herrera Cc: suse-linux-e@suse.com Subject: Re: [SLE] Shells
Thanks very much.
ksh does work, but I noticed two things: I don't have a ~/.kshrc file and the up-down arrow keys don't scroll though previous commands. I don't think I can live without the latter.
The reason I'm looking at this is that at home I run SuSE 6.3, but at work RedHat 6.1 networked to a Solaris box. My choices at work appear to be tsch and ksh. tsch seems to lack the functionality of bash/ksh. I was thinking that I'd rather not deal with two shells, but bash and ksh do seem to be very similar, so maybe that won't be a problem.
On Mon, 24 Jan 2000, Rafael E. Herrera wrote:
To change your shell use the chsh command. The available shells are listed in /etc/shells. If ksh is not there, edit it and run the command.
The file /etc/passwd lists what login shell you are using.
-- Rafael -- Kenneth R. Kellum -- San Jose State University
A scientific random survey demonstrating the value of a university education:
Linus Torvalds: Has a degree. Bill Gates: Does not.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com
Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- Kenneth R. Kellum -- San Jose State University A scientific random survey demonstrating the value of a university education: Linus Torvalds: Has a degree. Bill Gates: Does not. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/