Korne Shell help needed!
Rob Lemley
rob at b15.INGR.COM
Sat Oct 27 00:12:26 AEST 1990
In <24857 at adm.BRL.MIL> ARCARDW%INDSVAX1.BITNET at uicvm.uic.edu (DUDE OF TIME) writes:
> I have ksh (korne shell) for our UNIX (Dynix System).
> I want to do: alias jove='jove (MYFILE); echo "ESCAPE_CODES_FOR_KEYPAD_ON"'
> so when I use jove (emacs editor) I can do:
> jove main.c
>...after done using jove I want to echo: ESCAPE_CODES_FOR_KEYPAD_ON
>Paul.
Korn has no 'e' at the end. Not only can Paul not spell, I don't think
he can read. What does this have to do with Unix Internals? This question
has been answered MANY times in comp.unix.questions and comp.unix.shell.
One more time, here is the answer:
Use a shell function (this will work with korn shell as well as later borne
shells):
jove()
{
/usr/bin/jove ${1+"$@"}
echo "ESCAPE_CODES_FOR_KEYPAD_ON"
}
-Rob
--
Rob Lemley
System Consultant, Scanning Software, Intergraph, Huntsville, AL
205-730-1546
...!uunet!ingr!b15!rob OR b15!rcl at ingr.com
More information about the Comp.unix.internals
mailing list