home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.misc
- Path: sparky!uunet!mcsun!news.funet.fi!ousrvr.oulu.fi!ousrvr!nix
- From: nix@zombie.oulu.fi (Tero Manninen)
- Subject: Re: PDKSH Startup
- In-Reply-To: rbm2273@ultb.isc.rit.edu's message of Sat, 15 Aug 1992 02:19:16 GMT
- Message-ID: <NIX.92Aug16224435@zombie.oulu.fi>
- Lines: 23
- Sender: news@ousrvr.oulu.fi
- Reply-To: nix@stekt.oulu.fi
- Organization: University of Oulu, Finland
- References: <1992Aug15.021916.14677@ultb.isc.rit.edu>
- Date: Sun, 16 Aug 1992 20:44:35 GMT
-
-
- On Sat, 15 Aug 1992 02:19:16 GMT,
- rbm2273@ultb.isc.rit.edu (R.B. Mead ) said:
-
- R.B.> PDKSH is a KSH-like shell that is available on "amiga.physik.unizh.ch".
-
- R.B.> It looks very nice, but I'm having a little problem at startup. It does
- R.B.> NOT automatically look for a startup script ".kshrc", etc. I tried
- R.B.> snoopdos and came up empty.
-
- pdksh is gcc compiled and uses ixemul.library which does direct dos calls
- in packet level.. snoopdos does not notice packets.
-
- R.B.> How can I invoke PDKSH for interactive use and also have it execute
- R.B.> an initial shell script? Sounds easy enough.
-
- From looking the source you can find out that setting ENV variable to
- point something, it is sourced in pdksh startup.
- Mine is this: setenv ENV "s:profile"
- Also if process name starts by "-" (like "-ksh") then it sources /etc/profile
- (etc:profile) and .profile.
-
- ++Tero
-