Manual Page Result
0
Command: jx | Section: 9 | Source: UNIX v10 | File: jx.9
JX(9.1) JX(9.1)
NAME
jx - 5620 execution and stdio interpreter
SYNOPSIS
jx file [ argument ... ]
DESCRIPTION
Jx downloads the program in file to the terminal or layer on its con-
trolling tty and runs it there, simulating standard I/O functions of
stdio(3). Jx works either stand-alone or in a layer.
The stdout and stderr streams, if directed to the controlling terminal,
will be squirreled away during execution and copied to the terminal af-
ter the down-loaded program exits.
Programs to be run by jx should include <jerqio.h> and call exit() upon
termination in order to restart the default terminal program. Programs
to be run stand-alone should be compiled with the -J option of
3cc(9.1). No special options are required for running in a layer.
Stdio(3) functions available under jx are
getc putc fopen popen printf fread
getchar putchar freopen pclose sprintf fwrite
fgets puts fclose fprintf
fputs access
fflush
Unlike in stdio(3), getc and putc are functions, not macros. Printf
has only %d, %s, %c, %o, and %x. %u prints an unsigned decimal number.
%D prints an unsigned long decimal number.
Since jx uses sendchar, sendnchars, and rcvchar, jx programs should
avoid these, and use only the standard I/O routines.
FILES
standard I/O interpreter
saved standard output
saved standard diagnostic output
SEE ALSO
request(9.2), stdio(3)
BUGS
Keyboard standard input doesn't work; use kbdchar; see request(9.2).
Stand-alone programs do not receive arguments.
JX(9.1)