Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!wuarchive!uunet!ncrlnk!ncrcce!mercer From: mercer@ncrcce.StPaul.NCR.COM (Dan Mercer) Newsgroups: comp.unix.wizards Subject: Re: SYS V Bourne Shell .shrc file Message-ID: <1803@ncrcce.StPaul.NCR.COM> Date: 27 Dec 89 04:54:09 GMT References: <1792@ncrcce.StPaul.NCR.COM> <1864@sauron.Columbia.NCR.COM> Reply-To: mercer@ncrcce.StPaul.NCR.COM (Dan Mercer) Organization: NCR Comten, Inc. Lines: 31 Keywords: In article <1864@sauron.Columbia.NCR.COM> wescott@micky.Columbia.NCR.COM (Mike Wescott) writes: :In article <1792@ncrcce.StPaul.NCR.COM> mercer@ncrcce.StPaul.NCR.COM (Dan Mercer) writes: :> The .shrc is also invoked prior to /etc/profile and ~/.profile on login. : :Nope. After /etc/profile but before $HOME/.profile, mimicing csh's behavior. : :> Other SYSV users, let me know if you have it. : :This is an NCR hack. If someone else has it, they've reimplemented it :independently. I hacked it into /bin/sh as a mechanism to export shell :funtions against the day we get ksh. : :-- : -Mike Wescott : mike.wescott@ncrcae.Columbia.NCR.COM Well, I for one really appreciate it, since I use shell functions excessively. In fact, I have one problem that I think is function dependent - in using a shell function that changes directories (so that my prompt shows my current directory) I occassionaly hang. Characters still echo, but nothing happens. Any clues. Any more undocumented hacks. And how did you ever slip something past management? Certainly not by telling them you were making something more user friendly. -- Dan Mercer Reply-To: mercer@ncrcce.StPaul.NCR.COM (Dan Mercer)