Annotation of researchv10dc/man/man9/jx.9, revision 1.1.1.1

1.1       root        1: .TH JX 9.1
                      2: .CT 1 comm_term
                      3: .SH NAME
                      4: jx \- 5620 execution and stdio interpreter
                      5: .SH SYNOPSIS
                      6: .B jx
                      7: .I file
                      8: [
                      9: .I argument ...
                     10: ]
                     11: .SH DESCRIPTION
                     12: .I Jx
                     13: downloads the program in
                     14: .I file
                     15: to the terminal or layer on its controlling tty
                     16: and runs it there, simulating standard I/O functions of
                     17: .IR stdio (3).
                     18: .I Jx
                     19: works either stand-alone or in a layer.
                     20: .PP
                     21: The
                     22: .B stdout
                     23: and
                     24: .B stderr
                     25: streams, if directed to the controlling terminal,
                     26: will be squirreled away during
                     27: execution and copied to the terminal
                     28: after the down-loaded program exits.
                     29: .PP
                     30: Programs to be run by
                     31: .I jx
                     32: should include
                     33: .B <jerqio.h>
                     34: and call
                     35: .B exit()
                     36: upon termination in order to
                     37: restart the default terminal program.
                     38: Programs to be run stand-alone
                     39: should be compiled with
                     40: the
                     41: .B -J
                     42: option of
                     43: .IR 3cc (9.1).
                     44: No special options are required for running in a layer.
                     45: .PP
                     46: .IR Stdio (3)
                     47: functions available under
                     48: .I jx
                     49: are
                     50: .IP
                     51: .EX
                     52: .nr f \w'freopen  '
                     53: .ta +\nfu +\nfu +\nfu +\nfu +\nfu 
                     54: getc   putc    fopen   popen   printf  fread
                     55: getchar        putchar freopen pclose  sprintf fwrite
                     56: fgets  puts    fclose          fprintf
                     57:        fputs   access
                     58:        fflush
                     59: .EE
                     60: .PP
                     61: Unlike in
                     62: .IR stdio (3),
                     63: .I getc
                     64: and
                     65: .I putc
                     66: are functions, not macros.
                     67: .I Printf
                     68: has only
                     69: .BR %d ,
                     70: .BR %s,
                     71: .BR %c,
                     72: .BR %o ,
                     73: and
                     74: .BR %x.
                     75: .B %u
                     76: prints an unsigned decimal number.
                     77: .B %D
                     78: prints an unsigned long decimal number.
                     79: .PP
                     80: Since
                     81: .I jx
                     82: uses
                     83: .IR sendchar ,
                     84: .IR sendnchars ,
                     85: and
                     86: .IR rcvchar ,
                     87: .I jx
                     88: programs should avoid these,
                     89: and use only the standard I/O routines.
                     90: .SH FILES
                     91: .TF /usr/jerq/include/blitio.h
                     92: .TP
                     93: .F /usr/jerq/include/jerqio.h
                     94: .TP
                     95: .F /usr/jerq/lib/sysint
                     96: standard I/O interpreter
                     97: .TP
                     98: .F $HOME/.jxout
                     99: saved standard output
                    100: .TP
                    101: .F $HOME/.jxerr
                    102: saved standard diagnostic output
                    103: .SH SEE ALSO
                    104: .IR request (9.2),
                    105: .IR stdio (3)
                    106: .SH BUGS
                    107: Keyboard standard input doesn't work; use
                    108: .IR kbdchar ;
                    109: see
                    110: .IR request (9.2).
                    111: .br
                    112: Stand-alone programs do not receive arguments.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.