home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.graphics.gnuplot
- Path: sparky!uunet!spool.mu.edu!uwm.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!swrinde!gatech!hubcap!opusc!usceast!douglas
- From: douglas@cs.scarolina.edu (David Douglas)
- Subject: Re: Comment on GnuPlot V3.2 (under Unix)
- Message-ID: <douglas.721410519@almond.cs.scarolina.edu>
- Sender: usenet@usceast.cs.scarolina.edu (USENET News System)
- Organization: USC Department of Computer Science
- References: <921105105653.1747@CUCCFA.CCC.COLUMBIA.EDU>
- Date: 10 Nov 92 15:48:39 GMT
- Lines: 44
-
- MARK@CUCCFA.CCC.COLUMBIA.EDU (T. Mark Reboul) writes:
-
- >I just got exposed to your GNUPLOT program, have been trying it out
- >on a DEC Ultrix system in conjunction with my X terminal, and I really
- >think it's great!
-
- >I have however noted just one minor thing which seems to me like a
- >deficiency.... I don't know how easy this would be to change, but it
- >would be useful if the user could enter a "cd" command of the form:
-
- > cd "~username/whatever"
-
- >The tilde spec doesn't seem to be allowed. (Am I doing something wrong?)
- >I also noticed that even this command:
-
- > ! cd ~username
-
- >doesn't work, as the "system" function call generated by my command
- >won't handle the tilde.
-
- >Mark Reboul
- >Columbia University
- >Cancer Center Computing Facility
- >mark@cuccfa.ccc.columbia.edu
-
- Well, as it turns out, I've been using gnuplot (a little) on the DECstation
- on the DECstation network here at U.S.C.. Like you said, ~username is
- not recognized, at least not by the Bourne (/bin/sh) shell. However,
- the C-shell DOES recognize it (probably /bin/csh). To do what you've
- described, try something like the following:
-
- gnuplot> !csh -c 'cd ~username/whatever ; ls -l'
-
- Hope this helps!
-
-
- |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
- | David Douglas |
- | Graduate Computer Science program |
- | University of South Carolina |
- | Columbia, S.C. 29208 |
- |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
- | E-mail: douglas@usceast.cs.scarolina.edu |
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-