🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Mark Williams C: some findings...

#28734
From: Eric Pettersen%CGL
Date: Fri, 16 Oct 1987 02:49
16 lines
1493 bytes
In article <879@sask.UUCP> long@sask.UUCP (Warren Long) writes:
>Comment on MSH:  Has anyone gotten the aliasing to work? I can type
>in their example 'set in .cmd lc="ls -l"', and it works just fine.  But
>when I try to do something more useful, I can't get it to work.
>For example, 'set in .cmd cds="cd d:\sw"', does not result in my
>CD-ing to the appropriate directory.  Can someone offer a hint??

	I spent a long time trying to get a csh-like pushd/popd alias to
work and concluded that msh must execute these aliases in a subshell, leaving
the parent shell unaffected.  About the best you can do if you have an
unbearably long path that you frequently type is to set a shell variable
equal to it (in, say, .profile) and just say "cd $x", for example.

				Eric Pettersen
				UCSF Computer Graphics Lab
				pett@cgl.ucsf.edu or ucbvax!ucsfcgl!pett
Technical Details
Message-ID: <10440@cgl.ucsf.EDU>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bloom-beacon!think!ames!sdcsvax!ucbvax!ucsfcgl!cgl.ucsf.edu!pett
References: <879@sask.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bloom-beacon!think!ames!sdcsvax!ucbvax!ucsfcgl!cgl.ucsf.edu!pett
From: pett@cgl.ucsf.edu (Eric Pettersen%CGL)
Newsgroups: comp.sys.atari.st
Subject: Re: Mark Williams C: some findings...
Message-ID: <10440@cgl.ucsf.EDU>
Date: Thu, 15-Oct-87 22:49:32 EDT
Article-I.D.: cgl.10440
Posted: Thu Oct 15 22:49:32 1987
Date-Received: Sat, 17-Oct-87 16:52:50 EDT
References: <879@sask.UUCP>
Sender: daemon@cgl.ucsf.edu
Reply-To: pett@socrates.ucsf.edu.UUCP (Eric Pettersen%CGL)
Organization: UCSF Computer Graphics Lab
Lines: 16