Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!bloom-beacon!bu-cs!madd From: madd@bu-cs.BU.EDU (Jim Frost) Newsgroups: comp.unix.questions Subject: Re: how can .cshrc know if session is a login? Message-ID: <31751@bu-cs.BU.EDU> Date: 25 May 89 01:02:50 GMT References: <434ccc08.bea3@mach1.engin.umich.edu> <14551@duke.cs.duke.edu> <31552@bu-cs.BU.EDU> <264@ibd.BRL.MIL> Reply-To: madd@bu-it.bu.edu (Jim Frost) Followup-To: comp.unix.questions Distribution: na Organization: Software Tool & Die Lines: 23 In article <264@ibd.BRL.MIL> heilpern@brl.arpa (Mark A. Heilpern (IBD) ) writes: |In article <31552@bu-cs.BU.EDU> madd@bu-it.bu.edu (Jim Frost) writes: |--> alias fg echo No current job. |--> alias bg echo "Open the pod bay doors HAL. I can't do that, Dave" | |**>Just aliasing "%" and "fg" to "exit" has the annoying habit of logging | >you out. | |Yes, Jim, but by alias-ing fg and bg to 'echo' statements, as in the |arrowed lines, you are removing the ability to get back to any suspended |jobs stopped with the use of control-Z. |(Try it, it works :) Only on BSD-style UNIXs, which I prefer but don't happen to have sitting on my desk at work. Instead of trying to remember to get out of job-control mode when using SysV braindamage, I lie to myself. Which reminds me, does anyone know of a BSD-compatible system which runs on the 80386 (excepting SunOS for obvious reasons)? I'd kill for one. jim frost madd@bu-it.bu.edu