🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #38962

Re: MWC's msh

#38962
From: JJS
Date: Sun, 21 May 1989 15:47
19 lines
1419 bytes
In article <434d2667.10b48@apollo.COM> (Walt Weber) writes:
>In article <13491@dartvax.Dartmouth.EDU> (William David Haas) writes:
>>
>>I finaly got around to installing my Mark William's C last night and the
>>first thing I noticed was msh lacked alias.
>
>There are "shell functions" which will serve the same purpose.  You can
>find some examples in the file "bin/profile" which gets installed from the
>floppy.  Look at the stuff for "gemset" as an example.
>
Yep, this is just as good as alias.  But get this: you can also change msh's
builtins!  I wanted 'ls' to give me a columnar listing with file type 
characters ("\" for directories, "*" for executables) by default.  All
I had to do for that was rename the builtin "ls" to something else, like "lss"
by using "unset in .bin ls" and then "set in .bin lss <address of 'ls'>".
Then all I had to do was to "set in .cmd ls" to "lss -<whatever flags I want>".

	-- JJS
	(busy at work on that .signature)
Technical Details
Message-ID: <2551@bucsb.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!mit-eddie!bu-cs!bucsb!crewman
References: <13491@dartvax.Dartmouth.EDU> <434d2667.10b48@apollo.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!mit-eddie!bu-cs!bucsb!crewman
From: crewman@bucsb.UUCP (JJS)
Newsgroups: comp.sys.atari.st
Subject: Re: MWC's msh
Message-ID: <2551@bucsb.UUCP>
Date: 21 May 89 15:47:32 GMT
References: <13491@dartvax.Dartmouth.EDU> <434d2667.10b48@apollo.COM>
Reply-To: crewman@bucsb.bu.edu
Followup-To: comp.sys.atari.st
Distribution: na
Organization: Boston Univ Comp. Sci.
Lines: 19