Path: utzoo!attcan!uunet!ingr! From: rob@b15.INGR.COM (Rob Lemley) Newsgroups: comp.unix.internals Subject: Re: Korne Shell help needed! Message-ID: <1760@b15.INGR.COM> Date: 26 Oct 90 14:12:26 GMT References: <24857@adm.BRL.MIL> Organization: Intergraph Huntsville Lines: 29 th: b15!rob In <24857@adm.BRL.MIL> ARCARDW%INDSVAX1.BITNET@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@ingr.com