home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / graphics / gnuplot / 626 < prev    next >
Encoding:
Text File  |  1993-01-12  |  1.6 KB  |  48 lines

  1. Newsgroups: comp.graphics.gnuplot
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!news.nd.edu!mentor.cc.purdue.edu!sage.cc.purdue.edu!davisre
  3. From: davisre@sage.cc.purdue.edu (Robert Davis)
  4. Subject: Re: long file names?
  5. Message-ID: <C0ryBE.Eo4@mentor.cc.purdue.edu>
  6. Sender: news@mentor.cc.purdue.edu (USENET News)
  7. Organization: Purdue University Computing Center
  8. References: <1993Jan12.192012.22670@noose.ecn.purdue.edu>
  9. Date: Wed, 13 Jan 1993 04:11:37 GMT
  10. Lines: 36
  11.  
  12. In article <1993Jan12.192012.22670@noose.ecn.purdue.edu> mccauley@ecn.purdue.edu (Darrell McCauley) writes:
  13. >I'm having problems with long file names. Gnuplot says:
  14. >gnuplot>  plot 'long_file_name_w_full_path' w p
  15. >               ^
  16. >         can't open data file
  17. >         (No such file or directory)
  18. >
  19. >but 'ls -l long_file_name_w_full_path' says
  20. >
  21. >-rw-r--r--  1 mccauley     3824 Jan 12 14:10 long_file_name_w_full_path
  22. >
  23. >Using 'wc', the filename appears to be 91 characters long.
  24. >I don't have source handy, but is there a built in limit?
  25.  
  26.     This is a bug that seems to have been introduced in 3.2 (maybe
  27. it was in 3.1, I'm not sure).  It was fixed in the 3.3 beta that I saw.
  28.  
  29.     A work around would be to issue a "cd" command within gnuplot
  30. to make the path name shorter -- but the bug affects "cd" as well, so
  31. it might take several commands if it is a very long path:
  32.  
  33.         cd 'dir_name'
  34.         plot 'file_name' w p
  35.  
  36.     Or
  37.  
  38.         cd 'partial_dir_name'
  39.         cd 'remainder_of_dir_name'
  40.         plot 'file_name' w p
  41.  
  42.     It doesn't work in all cases, like if you are trying to plot
  43. several data files in drastically different directories, but will work
  44. in many.
  45.  
  46.  
  47. Rob
  48.