Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!uunet!motcid!ellis From: ellis@motcid.UUCP (John T Ellis) Newsgroups: comp.unix.shell Subject: Child shells in suntools Message-ID: <4649@orchid12.UUCP> Date: 7 Feb 91 00:55:32 GMT Followup-To: motcid!ellis@chg.mcd.mot.com (John T. Ellis) Organization: Motorola Inc. - Cellular Infrastructure Grp., Arlington Heights, IL 60004 Lines: 19 In Korn shell, if you are using windows, you can do the following: echo $- What is returned is this: ism -> If you are the shell created at the time the window is created. sch -> If you are the shell of another shell. Is there anything similar to this in csh? I have looked at everything I could get my hands on, (man pages, csh reference quide, csh gurus) but nothing has come of it. Any help would be greatly appreciated. Thanks. -- -------------------------------+------------------------------------------------ John T. Ellis 708-632-7857 | Always draw your curves, Motorola Cellular | then plot your reading. motcid!ellis@chg.mcd.mot.com |