This is incorrect.  Do NOT put the outputcommand in quotes, it will only
cause it to fail.

When you use quotes in the outputcommand in tn5250rc, it will make it all
appear to the system as if it were one name.   I.e. it would be equivalent
to specifying this at the shell:   scs2ascii\ \|\ lpr\ -P\ lp0

Now it tries to find a program name containing spaces and the pipe symbol
as part of the name...

Your cat example also would not work.  The quotes would cause the same
problem.

On Thu, 2 May 2002, Max Laier wrote:

> > NRICX006P {
> >    host = 172.16.8.241
> >    env.DEVNAME = nricx006p
> >    env.IBMMFRTYPMDL = *EPFX1170
> >    outputcommand = scs2ascii | lpr -P lp0
> > }
>
> You should enclose the outputcommand within "'" (copy from man-page) in
> addition you could try to use outputcommand='cat > /tmp/job$$' to see if
> there is any output at all.

_______________________________________________
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: [EMAIL PROTECTED]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/linux5250
or email: [EMAIL PROTECTED]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.

Reply via email to