home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.graphics.gnuplot
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!news.nd.edu!mentor.cc.purdue.edu!sage.cc.purdue.edu!davisre
- From: davisre@sage.cc.purdue.edu (Robert Davis)
- Subject: Re: long file names?
- Message-ID: <C0ryBE.Eo4@mentor.cc.purdue.edu>
- Sender: news@mentor.cc.purdue.edu (USENET News)
- Organization: Purdue University Computing Center
- References: <1993Jan12.192012.22670@noose.ecn.purdue.edu>
- Date: Wed, 13 Jan 1993 04:11:37 GMT
- Lines: 36
-
- In article <1993Jan12.192012.22670@noose.ecn.purdue.edu> mccauley@ecn.purdue.edu (Darrell McCauley) writes:
- >I'm having problems with long file names. Gnuplot says:
- >gnuplot> plot 'long_file_name_w_full_path' w p
- > ^
- > can't open data file
- > (No such file or directory)
- >
- >but 'ls -l long_file_name_w_full_path' says
- >
- >-rw-r--r-- 1 mccauley 3824 Jan 12 14:10 long_file_name_w_full_path
- >
- >Using 'wc', the filename appears to be 91 characters long.
- >I don't have source handy, but is there a built in limit?
-
- This is a bug that seems to have been introduced in 3.2 (maybe
- it was in 3.1, I'm not sure). It was fixed in the 3.3 beta that I saw.
-
- A work around would be to issue a "cd" command within gnuplot
- to make the path name shorter -- but the bug affects "cd" as well, so
- it might take several commands if it is a very long path:
-
- cd 'dir_name'
- plot 'file_name' w p
-
- Or
-
- cd 'partial_dir_name'
- cd 'remainder_of_dir_name'
- plot 'file_name' w p
-
- It doesn't work in all cases, like if you are trying to plot
- several data files in drastically different directories, but will work
- in many.
-
-
- Rob
-