Path: utzoo!attcan!uunet!lll-winken!lll-lcc!ames!umd5!cvl!elsie!ado From: ado@elsie.UUCP (Arthur David Olson) Newsgroups: comp.unix.wizards Subject: Re: Ksh use (was Re: Should ``csh'' be part of ...) Message-ID: <8066@elsie.UUCP> Date: 18 May 88 23:40:08 GMT References: <2599@usceast.UUCP> <2601@usceast.UUCP> <4095@mtgzz.UUCP> <11747@duke.cs.duke.edu> Organization: NIH-LEC, Bethesda, MD Lines: 21 > As long as we're talking about ksh, is there any way to do job > control without typing fg (and bg)? In csh > %2 > brings the second stopped job into the foreground; as I understand it, > in ksh I have to do > fg %2 As someone who made the switch from csh to ksh a while back. . . alias %1='fg %1' alias %2='fg %2' alias %3='fg %3' alias %4='fg %4' alias %5='fg %5' alias %6='fg %6' alias %7='fg %7' alias %8='fg %8' alias %9='fg %9' alias stop='kill -STOP' -- Canada's program is to spaceflight as the carrier pigeon is to mail. ado@ncifcrf.gov ADO is a trademark of Ampex.