Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^4: Inappropriate ioctl for device error on system call

by neilwatson (Curate)
on Dec 12, 2006 at 20:19 UTC ( #589394=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Inappropriate ioctl for device error on system call
in thread Inappropriate ioctl for device error on system call

The enscript command does work from the command line and in the perl script. For some reason it seems that the  == 0 or die section evaluates to the die. I do not know why considering that the other system calls work without dying. Also, I checked the $! variable after earlier system calls and the contents was already "Inappropriate ioctl for device" so it seems that this message may not be related.

Neil Watson
watson-wilson.ca


Comment on Re^4: Inappropriate ioctl for device error on system call
Select or Download Code
Re^5: Inappropriate ioctl for device error on system call
by traveler (Parson) on Dec 12, 2006 at 21:12 UTC
    In that case note that enscript may have had a non-fatal termination:
    Enscript returns value 1 to the shell if any errors were encountere +d. On successful termination, the return code is constructed from +the fol- lowing flags: 0 no errors or warnings 2 some lines were truncated or wrapped 4 some characters were missing from the used fonts 8 some characters were unprintable
    Note the On successful termination: Maybe some lines were truncated or some characters unprintable.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://589394]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2014-09-21 07:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (167 votes), past polls