* command recall
@ 2001-05-24 6:03 John N. Nelson
2001-05-24 10:42 ` Anton Fyodorov
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: John N. Nelson @ 2001-05-24 6:03 UTC (permalink / raw)
This is probably a very newbie question, but that's what I am.
I'm running a couple of AlphaStation 255s with Unix 4.0D. One system will
recall the previous command using the up-arrow key. The other just displays
control characters. How do I fix this second one to do the command recall?
Thanks,
John
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: command recall
2001-05-24 6:03 command recall John N. Nelson
@ 2001-05-24 10:42 ` Anton Fyodorov
2001-05-24 13:16 ` Paul Victor Novarese
2001-05-24 17:37 ` James Hanway
2 siblings, 0 replies; 4+ messages in thread
From: Anton Fyodorov @ 2001-05-24 10:42 UTC (permalink / raw)
Hi,
for example, if you working in korn shell (echo $SHELL) you can add (or
execute) following command at the line of your login script (for Korn it's a
.profile in users home directory): set -o emacs
"John N. Nelson" <jnelson@shentel.net> wrote in message
news:tgp91urvq7ah39@corp.supernews.com...
> This is probably a very newbie question, but that's what I am.
>
> I'm running a couple of AlphaStation 255s with Unix 4.0D. One system will
> recall the previous command using the up-arrow key. The other just
displays
> control characters. How do I fix this second one to do the command
recall?
>
> Thanks,
>
> John
Welcome...
Anton
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: command recall
2001-05-24 6:03 command recall John N. Nelson
2001-05-24 10:42 ` Anton Fyodorov
@ 2001-05-24 13:16 ` Paul Victor Novarese
2001-05-24 17:37 ` James Hanway
2 siblings, 0 replies; 4+ messages in thread
From: Paul Victor Novarese @ 2001-05-24 13:16 UTC (permalink / raw)
"John N. Nelson" <jnelson@shentel.net> wrote in message news:<tgp91urvq7ah39@corp.supernews.com>...
> This is probably a very newbie question, but that's what I am.
>
> I'm running a couple of AlphaStation 255s with Unix 4.0D. One system will
> recall the previous command using the up-arrow key. The other just displays
> control characters. How do I fix this second one to do the command recall?
1) Use chsh to set your shell to /usr/bin/bash
2) add the following line to your ~/.profile:
set -o emacs
3) If ksh is already your current shell, just do ". ~/.profile"
(without the quotes), otherwise logout and log back in.
--
paul victor novarese
novarese AT novarese DOT net
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: command recall
2001-05-24 6:03 command recall John N. Nelson
2001-05-24 10:42 ` Anton Fyodorov
2001-05-24 13:16 ` Paul Victor Novarese
@ 2001-05-24 17:37 ` James Hanway
2 siblings, 0 replies; 4+ messages in thread
From: James Hanway @ 2001-05-24 17:37 UTC (permalink / raw)
in csh, somewhere in a file that gets sourced on login, a "set editmode = emacs"
works as well
"John N. Nelson" wrote:
> This is probably a very newbie question, but that's what I am.
>
> I'm running a couple of AlphaStation 255s with Unix 4.0D. One system will
> recall the previous command using the up-arrow key. The other just displays
> control characters. How do I fix this second one to do the command recall?
>
> Thanks,
>
> John
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-05-24 17:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-24 6:03 command recall John N. Nelson
2001-05-24 10:42 ` Anton Fyodorov
2001-05-24 13:16 ` Paul Victor Novarese
2001-05-24 17:37 ` James Hanway
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox