source: trunk/third/x3270/x3270if.man @ 9081

Revision 9081, 2.1 KB checked in by ghudson, 28 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r9080, which included commits to RCS files with non-trunk default branches.
Line 
1'\" t
2.TH X3270IF 1 "1 October 1995"
3.SH NAME
4x3270if \-
5command interface to x3270
6.SH SYNOPSIS
7.B x3270if
8[
9.B \-v
10]
11.I action
12[
13.B (
14.I param
15[ ,... ]
16.B )
17]
18.br
19.B x3270if
20[
21.B \-v
22]
23.B \-s
24.I field
25.SH DESCRIPTION
26.B x3270if
27provides an interface between
28.IR x3270 (1)
29and child processes run with the
30.B Script()
31action.
32.LP
33.B x3270if
34performs one of two functions: passing an action and optional parameters to
35.I x3270
36for execution, or reporting the value of one of
37.IR x3270 's
38status fields.
39.LP
40The result of the command execution, or the value of the requested status
41field, is written to standard output.
42.SH OPTIONS
43.TP
44.B \-v
45Turns on verbose debug messages, showing the literal data that is passed
46between
47.I x3270
48and
49.BR x3270if .
50.TP
51.BI \-s " field"
52Causes
53.B 3270if
54to return the value of an
55.I x3270
56status field, rather than passing an action to be executed.
57.I Field
58is an integer in the range 0 through 11, indicating the desired status
59field.
60The indices and meanings of each field are documented on the
61.IR x3270-script (1)
62manual page.
63.SH EXIT STATUS
64If the requested
65.I action
66succeeds,
67.B x3270if
68exits with status 0.
69If the action fails,
70.B x3270if
71exits with status 1.
72If there is an operational error within
73.B x3270if
74itself, such as a command-line syntax error, missing environment
75variable, or closed pipe,
76.B x3270if
77exits with status 2.
78.SH ENVIRONMENT
79.I x3270
80uses a pair of pipes for communication with each child process.
81The values of the file descriptors for these pipes are encoded as text
82in two environment variables, which are required by
83.BR x3270if :
84.TP
85.B X3270OUTPUT
86Output from
87.IR x3270 ,
88input to the child process.
89.TP
90.B X3270INPUT
91Input to
92.IR x3270 ,
93output from the child process.
94.SH "SEE ALSO"
95.IR x3270 (1), " x3270-script" (1)
96.SH COPYRIGHT
97Copyright 1995 by Paul Mattes.
98.RS
99Permission to use, copy, modify, and distribute this software and its
100documentation for any purpose and without fee is hereby granted,
101provided that the above copyright notice appear in all copies and that
102both that copyright notice and this permission notice appear in
103supporting documentation.
104.RE
Note: See TracBrowser for help on using the repository browser.