contents.gifindex.gifprev1.gifnext1.gif

INPUT-STATUS-DEFAULT

INPUT-STATUS-DEFAULT* - The value of this variable is returned when an ACCEPT FROM INPUT STATUS statement is executed on a machine that cannot determine the input status of the terminal. This can be used to make a running program behave correctly on a new machine. The value must be a single digit. The default value is "0".

If the input is redirected (not attached to a terminal), the SCRIPT-STATUS configuration variable (later in this appendix) determines whether ACCEPT FROM INPUT STATUS returns the value of INPUT-STATUS-DEFAULT or returns the actual status of the input file.