home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.wizards
- Path: sparky!uunet!apiary!milanj
- From: milanj@sematech.org (Jon Milan)
- Subject: Re: Changing "pg" options
- Message-ID: <1992Aug26.171310.22411@apiary.uucp>
- Sender: news@apiary.uucp
- Nntp-Posting-Host: chile
- Organization: SEMATECH Manufacturing Systems Development
- References: <1992Aug25.190239.19142@cbfsb.cb.att.com>
- Distribution: usa
- Date: Wed, 26 Aug 1992 17:13:10 GMT
- Lines: 29
-
- In article <1992Aug25.190239.19142@cbfsb.cb.att.com> rajeev@cbnewsf.cb.att.com (rajeev.dolas) writes:
- >
- >
- >Howdy all,
- >
- > I am trying to find out if there is a way of turning the "!"
- > option off from pg. Here is something similar to what I am
- > trying to do:
- >
- > main()
- > {
- > char t[25];
- >
- > strcpy(t, "pg $HOME/.profile\n");
- > system(t);
- > }
- >
- > While running this program I don't want the !<command> option
- > to be available to the user.
-
- Just reset the SHELL environment variable in your mail to "/dev/null" or
- some other dummy non-shell process.
-
- Jon
- --
- Jon Milan jon_milan@sematech.org |
- SEMATECH Manufacturing Systems Development |
- "is was as was was when was was as is" (pmk) |
- = = = = = = = = = = = = = = = = = = = = = = = =
-