|
|
1.1 ! root 1: .TH JIOCTL 9.4 ! 2: .CT 2 comm_term ! 3: .SH NAME ! 4: jioctl \- mux ioctl requests ! 5: .SH SYNOPSIS ! 6: .B ! 7: #include "/usr/jerq/include/jioctl.h" ! 8: .\" not <jioctl.h>: /usr/jerq/include is not in the cc include path ! 9: .PP ! 10: .B ioctl(fd, request, 0) ! 11: .PP ! 12: .B ioctl(fd, JWINSIZE, win) ! 13: .br ! 14: .B struct winsize *win; ! 15: .SH DESCRIPTION ! 16: .IR Mux (9.1) ! 17: supports several ! 18: .IR ioctl (2) ! 19: requests for Unix programs attached to layers. ! 20: The requests are: ! 21: .TF JBOOT ! 22: .TP ! 23: .B JMUX ! 24: returns 0 if file descriptor ! 25: .I fd ! 26: is connected to a ! 27: .I mux ! 28: layer, \-1 otherwise. ! 29: .PD ! 30: .TP ! 31: .B JTERM ! 32: resets the layer connected to ! 33: .I fd ! 34: to the default terminal program. ! 35: .TP ! 36: .B JBOOT ! 37: initiates the down-load protocol to replace the layer's terminal program. ! 38: Usually called by ! 39: .IR 32ld (9.1). ! 40: .TP ! 41: .B JZOMBOOT ! 42: is the same as ! 43: .IR JBOOT , ! 44: but disables execution of the program when the download is complete ! 45: (see the ! 46: .B -z ! 47: flag of ! 48: .IR 32ld ). ! 49: .TP ! 50: .B JWINSIZE ! 51: returns, in the location pointed to by the third argument, ! 52: a structure describing the size of the layer connected to ! 53: .IR fd , ! 54: with character ! 55: .L 0 ! 56: being the unit of size. ! 57: The structure is: ! 58: .IP ! 59: .EX ! 60: .ta 7n +7n +\w'bytesx, bytesy; 'u" ! 61: struct winsize { ! 62: char bytesx, bytesy; /* size in characters */ ! 63: short bitsx, bitsy; /* size in pixels */ ! 64: }; ! 65: .EE ! 66: .TP ! 67: .B JEXIT ! 68: causes ! 69: .I mux ! 70: to exit. ! 71: .SH SEE ALSO ! 72: .IR 32ld (9.1), ! 73: .IR mux (9.1), ! 74: .IR ioctl (2)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.