home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / graphics / gnuplot / 339 < prev    next >
Encoding:
Text File  |  1992-11-10  |  2.0 KB  |  56 lines

  1. Newsgroups: comp.graphics.gnuplot
  2. Path: sparky!uunet!spool.mu.edu!uwm.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!swrinde!gatech!hubcap!opusc!usceast!douglas
  3. From: douglas@cs.scarolina.edu (David Douglas)
  4. Subject: Re: Comment on GnuPlot V3.2 (under Unix)
  5. Message-ID: <douglas.721410519@almond.cs.scarolina.edu>
  6. Sender: usenet@usceast.cs.scarolina.edu (USENET News System)
  7. Organization: USC  Department of Computer Science
  8. References: <921105105653.1747@CUCCFA.CCC.COLUMBIA.EDU>
  9. Date: 10 Nov 92 15:48:39 GMT
  10. Lines: 44
  11.  
  12. MARK@CUCCFA.CCC.COLUMBIA.EDU (T. Mark Reboul) writes:
  13.  
  14. >I just got exposed to your GNUPLOT program, have been trying it out
  15. >on a DEC Ultrix system in conjunction with my X terminal, and I really
  16. >think it's great!
  17.  
  18. >I have however noted just one minor thing which seems to me like a 
  19. >deficiency.... I don't know how easy this would be to change, but it
  20. >would be useful if the user could enter a "cd" command of the form:
  21.  
  22. >    cd  "~username/whatever"
  23.  
  24. >The tilde spec doesn't seem to be allowed. (Am I doing something wrong?)
  25. >I also noticed that even this command:
  26.  
  27. >    !  cd  ~username
  28.  
  29. >doesn't work, as the "system" function call generated by my command 
  30. >won't handle the tilde.
  31.  
  32. >Mark Reboul
  33. >Columbia University
  34. >Cancer Center Computing Facility
  35. >mark@cuccfa.ccc.columbia.edu
  36.  
  37. Well, as it turns out, I've been using gnuplot (a little) on the DECstation
  38. on the DECstation network here at U.S.C..  Like you said, ~username is
  39. not recognized, at least not by the Bourne (/bin/sh) shell.  However,
  40. the C-shell DOES recognize it (probably /bin/csh).  To do what you've
  41. described, try something like the following:
  42.  
  43. gnuplot> !csh -c 'cd ~username/whatever ; ls -l'
  44.  
  45. Hope this helps!
  46.  
  47.  
  48. |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
  49. |  David Douglas                              |
  50. |  Graduate Computer Science program          |
  51. |  University of South Carolina               |
  52. |  Columbia, S.C.  29208                      |
  53. |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
  54. |  E-mail:  douglas@usceast.cs.scarolina.edu  |
  55.  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
  56.