Screen ghost??

John Esak john at valar.com
Wed Jan 6 09:21:02 PST 2010


Hmmm, you're right.  I think that is some sort of bug actually.

You would think it would load sy with all the values of each element and
then cmash the null up against the right most character, but it does what
you say.  Never noticed that before.

John
 

> -----Original Message-----
> From: filepro-list-bounces+john=valar.com at lists.celestial.com 
> [mailto:filepro-list-bounces+john=valar.com at lists.celestial.co
m] On Behalf Of Richard Kreiss
> Sent: Wednesday, January 06, 2010 11:36 AM
> To: 'Kenneth Brody'
> Cc: 'filepro'
> Subject: RE: Screen ghost??
> 
> 
> 
> > -----Original Message-----
> > From: Kenneth Brody [mailto:kenbrody at spamcop.net]
> > Sent: Tuesday, January 05, 2010 10:54 PM
> > To: Richard Kreiss
> > Cc: 'filepro'
> > Subject: Re: Screen ghost??
> > 
> > On 1/5/2010 5:32 PM, Richard Kreiss wrote:
> > [...]
> > >> Here is the system call we use:
> > >>
> > >> system "$PFPROG/fp/dclerk fesequip -sadd -lx -xa -d -t 130000 -r
> > > \""&pm{"\" -h
> > >> 'EQUIPMENT FILE'  "
> > >
> > > Try this for you system call:
> > >
> > > sy=" fesequip -sadd -lx -xa -d -t 130000 -r "<pm<" -h 
> EQUIPMENT FILE"{""
> > >
> > > System "$PFPROG/fp/dclerk"<sy
> > >
> > > Not sure if this will work under *nix. However, I have 
> found that fp
> running
> > > on windows does not need the " marks.
> > [...]
> > 
> > You absolutely need quotes around any parameter that 
> contains "special"
> > characters, such as spaces.  (Or quote the "special" characters
> themselves.)
> > 
> > This won't work on any platform:
> > 
> >      dclerk foo -h EQUIPMENT FILE
> > 
> > It must be:
> > 
> >      dclerk foo -h "EQUIPMENT FILE"
> > 
> > or something equivalent.
> > 
> > --
> > Kenneth Brody
> 
> Ken,
> 
> Did not want to reply until I test this.
> 
> Hd="Equipment File"
> 
> sy=" foobar -sadd -lx -xa -d -t 130000 -r "<pm<" -h"<hd{""
> 
> System "$PFPROG/fp/dclerk"<sy
> 
> I test this on my system and what happened is the -h option 
> only showed the
> first word which is probably as would be expected if not 
> quotes are used.
> 
> Richard
> 
> 
> 
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
> 



More information about the Filepro-list mailing list