home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!rh2y+
- From: rh2y+@andrew.cmu.edu (Russell E. Hoffman, II)
- Newsgroups: comp.os.os9
- Subject: Re: Information on OSK
- Message-ID: <EeyxRFm00WB4Nh9moE@andrew.cmu.edu>
- Date: 7 Nov 92 04:48:49 GMT
- Article-I.D.: andrew.EeyxRFm00WB4Nh9moE
- Organization: Senior, Electrical and Computer Engineering, Carnegie Mellon, Pittsburgh, PA
- Lines: 31
- In-Reply-To: <1992Nov7.060210.7210@mlb.semi.harris.com>
-
- Excerpts from netnews.comp.os.os9: 7-Nov-92 Re: Information on OSK by
- ferguson ct 71078@x102a.
- > I tinkered with the bourne shell for a while (and gave up) and the
- > following is from memory. First of all, the command line editing did
- > not work completely unless 'sh' was the login shell. When executed as
- > a subshell to a 'shell' parent, only a few of the command line editing
- > commands worked. Command history did not work at all unless 'sh' was
- > the login shell.
-
- Not so. If you have a .profile file in your home directory (specified by the
- environment variable $HOME), containing the single line
-
- history 40
-
- (or some other integer number of lines of history to save)
-
- then sh will read the .profile file and start history up whenever your run sh.
- If you look in the TOP stuff, there is a help file on sh, but I think
- it's in a wierd place, like in the CMDS directory.
-
- Hope that helps,
- Russell Hoffman | 1970 Split-Bumper Camaro SS
- rh2y+@andrew.cmu.edu | 406 Small Block 13.5:1 CR
- Carnegie Mellon University | Tunnel Ram 2x650cfm 4bbl STREET DRIVEN
- ---------------------------------------------------------------------------
-
- -rwx 1 joe_user 806 May 1 23:38 file
-
- r - indicates you can look at the file
- w - indicates file can be hosed
- x - indicates file contains bugs
-