Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!pasteur!ucbvax!hplabs!hpfcdc!hpfcmr!hpfcse!markf From: markf@hpfcse.HP.COM ( Mark Fresolone ) Newsgroups: comp.sys.hp Subject: Re: job control Message-ID: <60002@hpfcse.HP.COM> Date: 31 Dec 88 07:36:08 GMT References: <6288@emcard.UUCP> Organization: Hewlett Packard Co. Lines: 28 >> What about [job control under] 9000/3xx? >Move your mouse pointer to your other terminal-emulator window. >(It's not on the s300. But I sure hope it gets there someday!) There is something akin to job control on S300 for ASCII terminals - it is 'shl'. Try: $ stty swtch \^z $ shl You can now create "sessions" >>> c sess-a [layer sess-a created] [running layer sess-a] sess-a_ At this point, you are in a shell, "sess-a" is your prompt (a .kshrc might use it to make a nicer PS1). Any time you want to allow a foreground program to continue while you make better use of you time elsewhere on HP-UX, just type ^z. You will get another shl prompt (">>>"), and can "c"reate a new session, or "r"esume another old one. ("h"elp should get you fully functional.) Shl uses a separate pty for each session, so stty settings are preserved individually. Shl is functionally similar to an AT&T tool of the same name. It is built on a library which uses pty's to emulate an AT&T pseudo-driver called SXT. Mark / hpfcse![hpupnja!]markf