DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: p

⟦3f89a4927⟧

    Length: 6568 (0x19a8)
    Names: »pty.4«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/man/cat4/pty.4« 

Default Hex Dump

0x0000…0020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f   ┆   _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆
0x0020…0040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 44 65 76 69 63 65 73 20 61 6e 64 20 46 61 63 69   ┆ u_ a_ l        Devices and Faci┆
0x0040…0060 6c 69 74 69 65 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 74 79 28 34 29 0a 0a 0a 0a   ┆lities                pty(4)    ┆
0x0060…0080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20   ┆N N N NA A A AM M M ME E E E    ┆
0x0080…00a0 20 20 70 74 79 20 2d 20 70 73 65 75 64 6f 20 74 65 72 6d 69 6e 61 6c 20 64 72 69 76 65 72 0a 0a   ┆  pty - pseudo terminal driver  ┆
0x00a0…00c0 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 54 08 54 08 54 08 54 41 08 41 08   ┆S S S SY Y Y YN N N NT T T TA A ┆
0x00c0…00e0 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 23 08 23 08 23 08 23 69 08 69 08 69 08 69 6e 08   ┆A AX X X X      # # # #i i i in ┆
0x00e0…0100 6e 08 6e 08 6e 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c 75 08 75 08 75 08 75 64 08 64 08 64 08   ┆n n nc c c cl l l lu u u ud d d ┆
0x0100…0120 64 65 08 65 08 65 08 65 20 3c 08 3c 08 3c 08 3c 74 08 74 08 74 08 74 65 08 65 08 65 08 65 72 08   ┆de e e e < < < <t t t te e e er ┆
0x0120…0140 72 08 72 08 72 6d 08 6d 08 6d 08 6d 69 08 69 08 69 08 69 6f 08 6f 08 6f 08 6f 73 08 73 08 73 08   ┆r r rm m m mi i i io o o os s s ┆
0x0140…0160 73 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 0a 44 08 44 08 44 08 44 45   ┆s. . . .h h h h> > > >  D D D DE┆
0x0160…0180 08 45 08 45 08 45 53 08 53 08 53 08 53 43 08 43 08 43 08 43 52 08 52 08 52 08 52 49 08 49 08 49   ┆ E E ES S S SC C C CR R R RI I I┆
0x0180…01a0 08 49 50 08 50 08 50 08 50 54 08 54 08 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08   ┆ IP P P PT T T TI I I IO O O ON ┆
0x01a0…01c0 4e 08 4e 08 4e 0a 20 20 20 20 20 54 68 65 20 5f 08 70 5f 08 74 5f 08 79 20 64 72 69 76 65 72 20   ┆N N N      The _ p_ t_ y driver ┆
0x01c0…01e0 70 72 6f 76 69 64 65 73 20 73 75 70 70 6f 72 74 20 66 6f 72 20 61 20 64 65 76 69 63 65 2d 70 61   ┆provides support for a device-pa┆
0x01e0…0200 69 72 20 74 65 72 6d 65 64 20 61 0a 20 20 20 20 20 5f 08 70 5f 08 73 5f 08 65 5f 08 75 5f 08 64   ┆ir termed a      _ p_ s_ e_ u_ d┆
0x0200…0220 5f 08 6f 20 5f 08 74 5f 08 65 5f 08 72 5f 08 6d 5f 08 69 5f 08 6e 5f 08 61 5f 08 6c 2e 20 20 41   ┆_ o _ t_ e_ r_ m_ i_ n_ a_ l.  A┆
0x0220…0240 20 70 73 65 75 64 6f 20 74 65 72 6d 69 6e 61 6c 20 69 73 20 61 20 70 61 69 72 20 6f 66 20 64 65   ┆ pseudo terminal is a pair of de┆
0x0240…0260 76 69 63 65 73 2c 20 61 0a 20 20 20 20 20 5f 08 6d 5f 08 61 5f 08 73 5f 08 74 5f 08 65 5f 08 72   ┆vices, a      _ m_ a_ s_ t_ e_ r┆
0x0260…0280 20 64 65 76 69 63 65 20 61 6e 64 20 61 20 5f 08 73 5f 08 6c 5f 08 61 5f 08 76 5f 08 65 20 64 65   ┆ device and a _ s_ l_ a_ v_ e de┆
0x0280…02a0 76 69 63 65 2e 20 20 54 68 65 20 73 6c 61 76 65 20 64 65 76 69 63 65 20 70 72 6f 76 69 64 65 73   ┆vice.  The slave device provides┆
0x02a0…02c0 0a 20 20 20 20 20 70 72 6f 63 65 73 73 65 73 20 77 69 74 68 20 61 6e 20 69 6e 74 65 72 66 61 63   ┆      processes with an interfac┆
0x02c0…02e0 65 20 69 64 65 6e 74 69 63 61 6c 20 74 6f 20 74 68 61 74 20 64 65 73 63 72 69 62 65 64 20 69 6e   ┆e identical to that described in┆
0x02e0…0300 0a 20 20 20 20 20 5f 08 74 5f 08 65 5f 08 72 5f 08 6d 5f 08 69 5f 08 6f 28 34 29 2e 20 20 48 6f   ┆      _ t_ e_ r_ m_ i_ o(4).  Ho┆
0x0300…0320 77 65 76 65 72 2c 20 77 68 65 72 65 61 73 20 61 6c 6c 20 6f 74 68 65 72 20 64 65 76 69 63 65 73   ┆wever, whereas all other devices┆
0x0320…0340 20 77 68 69 63 68 20 70 72 6f 76 69 64 65 0a 20 20 20 20 20 74 68 61 74 20 69 6e 74 65 72 66 61   ┆ which provide      that interfa┆
0x0340…0360 63 65 20 68 61 76 65 20 61 20 68 61 72 64 77 61 72 65 20 64 65 76 69 63 65 20 6f 66 20 73 6f 6d   ┆ce have a hardware device of som┆
0x0360…0380 65 20 73 6f 72 74 20 62 65 68 69 6e 64 0a 20 20 20 20 20 74 68 65 6d 2c 20 74 68 65 20 73 6c 61   ┆e sort behind      them, the sla┆
0x0380…03a0 76 65 20 64 65 76 69 63 65 20 68 61 73 2c 20 69 6e 73 74 65 61 64 2c 20 61 6e 6f 74 68 65 72 20   ┆ve device has, instead, another ┆
0x03a0…03c0 70 72 6f 63 65 73 73 20 6d 61 6e 69 70 75 2d 0a 20 20 20 20 20 6c 61 74 69 6e 67 20 69 74 20 74   ┆process manipu-      lating it t┆
0x03c0…03e0 68 72 6f 75 67 68 20 74 68 65 20 6d 61 73 74 65 72 20 68 61 6c 66 20 6f 66 20 74 68 65 20 70 73   ┆hrough the master half of the ps┆
0x03e0…0400 65 75 64 6f 20 74 65 72 6d 69 6e 61 6c 2e 0a 20 20 20 20 20 54 68 61 74 20 69 73 2c 20 61 6e 79   ┆eudo terminal.      That is, any┆
0x0400…0420 74 68 69 6e 67 20 77 72 69 74 74 65 6e 20 6f 6e 20 74 68 65 20 6d 61 73 74 65 72 20 64 65 76 69   ┆thing written on the master devi┆
0x0420…0440 63 65 20 69 73 20 67 69 76 65 6e 20 74 6f 0a 20 20 20 20 20 74 68 65 20 73 6c 61 76 65 20 64 65   ┆ce is given to      the slave de┆
0x0440…0460 76 69 63 65 20 61 73 20 69 6e 70 75 74 20 61 6e 64 20 61 6e 79 74 68 69 6e 67 20 77 72 69 74 74   ┆vice as input and anything writt┆
0x0460…0480 65 6e 20 6f 6e 20 74 68 65 20 73 6c 61 76 65 0a 20 20 20 20 20 64 65 76 69 63 65 20 69 73 20 70   ┆en on the slave      device is p┆
0x0480…04a0 72 65 73 65 6e 74 65 64 20 61 73 20 69 6e 70 75 74 20 6f 6e 20 74 68 65 20 6d 61 73 74 65 72 20   ┆resented as input on the master ┆
0x04a0…04c0 64 65 76 69 63 65 2e 0a 0a 20 20 20 20 20 44 75 72 69 6e 67 20 6e 6f 72 6d 61 6c 20 69 6e 73 74   ┆device.       During normal inst┆
0x04c0…04e0 61 6c 6c 61 74 69 6f 6e 20 36 34 20 70 73 65 75 64 6f 20 74 65 72 6d 69 6e 61 6c 20 70 61 69 72   ┆allation 64 pseudo terminal pair┆
0x04e0…0500 73 20 61 72 65 20 63 6f 6e 2d 0a 20 20 20 20 20 66 69 67 75 72 65 64 2e 20 41 64 64 69 74 69 6f   ┆s are con-      figured. Additio┆
0x0500…0520 6e 61 6c 20 70 61 69 72 73 20 6d 61 79 20 62 65 20 63 6f 6e 66 69 67 75 72 65 64 20 61 74 20 61   ┆nal pairs may be configured at a┆
0x0520…0540 6e 79 20 74 69 6d 65 0a 20 20 20 20 20 75 73 69 6e 67 20 74 68 65 20 5f 08 6d 5f 08 6b 5f 08 6e   ┆ny time      using the _ m_ k_ n┆
0x0540…0560 5f 08 6f 5f 08 64 28 38 29 20 63 6f 6d 6d 61 6e 64 2e 20 50 73 65 75 64 6f 20 74 65 72 6d 69 6e   ┆_ o_ d(8) command. Pseudo termin┆
0x0560…0580 61 6c 20 70 61 69 72 73 20 73 68 6f 75 6c 64 20 62 65 0a 20 20 20 20 20 63 6f 6e 66 69 67 75 72   ┆al pairs should be      configur┆
0x0580…05a0 65 64 20 69 6e 20 61 6c 70 68 61 62 65 74 69 63 61 6c 20 73 65 71 75 65 6e 63 65 2e 20 20 54 68   ┆ed in alphabetical sequence.  Th┆
0x05a0…05c0 65 20 6d 61 78 69 6d 75 6d 20 6e 75 6d 62 65 72 20 6f 66 0a 20 20 20 20 20 70 73 65 75 64 6f 20   ┆e maximum number of      pseudo ┆
0x05c0…05e0 74 65 72 6d 69 6e 61 6c 73 20 61 6c 6c 6f 77 65 64 20 6f 6e 20 61 20 54 58 20 73 79 73 74 65 6d   ┆terminals allowed on a TX system┆
0x05e0…0600 20 69 73 20 63 75 73 74 6f 6d 69 7a 65 64 20 76 69 61 0a 20 20 20 20 20 74 68 65 20 53 53 50 20   ┆ is customized via      the SSP ┆
0x0600…0620 63 75 73 74 6f 6d 69 7a 61 74 69 6f 6e 20 75 74 69 6c 69 74 69 65 73 20 6d 65 6e 75 2c 20 63 66   ┆customization utilities menu, cf┆
0x0620…0640 2e 20 74 68 65 20 63 68 61 70 74 65 72 20 6f 6e 0a 20 20 20 20 20 5f 08 53 5f 08 79 5f 08 73 5f   ┆. the chapter on      _ S_ y_ s_┆
0x0640…0660 08 74 5f 08 65 5f 08 6d 20 5f 08 43 5f 08 75 5f 08 73 5f 08 74 5f 08 6f 5f 08 6d 5f 08 69 5f 08   ┆ t_ e_ m _ C_ u_ s_ t_ o_ m_ i_ ┆
0x0660…0680 7a 5f 08 61 5f 08 74 5f 08 69 5f 08 6f 5f 08 6e 20 69 6e 20 54 58 20 53 69 74 65 20 4d 61 6e 61   ┆z_ a_ t_ i_ o_ n in TX Site Mana┆
0x0680…06a0 67 65 6d 65 6e 74 20 47 75 69 64 65 2e 0a 0a 20 20 20 20 20 54 68 65 20 66 6f 6c 6c 6f 77 69 6e   ┆gement Guide.       The followin┆
0x06a0…06c0 67 20 5f 08 69 5f 08 6f 5f 08 63 5f 08 74 5f 08 6c 20 63 61 6c 6c 73 20 61 70 70 6c 79 20 6f 6e   ┆g _ i_ o_ c_ t_ l calls apply on┆
0x06c0…06e0 6c 79 20 74 6f 20 70 73 65 75 64 6f 20 74 65 72 6d 69 6e 61 6c 73 3a 0a 0a 20 20 20 20 20 54 49   ┆ly to pseudo terminals:       TI┆
0x06e0…0700 4f 43 53 54 4f 50 0a 20 20 20 20 20 20 20 20 20 20 53 74 6f 70 73 20 6f 75 74 70 75 74 20 74 6f   ┆OCSTOP           Stops output to┆
0x0700…0720 20 61 20 74 65 72 6d 69 6e 61 6c 20 28 65 2e 67 2e 20 6c 69 6b 65 20 74 79 70 69 6e 67 20 5e 53   ┆ a terminal (e.g. like typing ^S┆
0x0720…0740 29 2e 0a 20 20 20 20 20 20 20 20 20 20 54 61 6b 65 73 20 6e 6f 20 70 61 72 61 6d 65 74 65 72 2e   ┆).           Takes no parameter.┆
0x0740…0760 0a 0a 20 20 20 20 20 54 49 4f 43 53 54 41 52 54 0a 20 20 20 20 20 20 20 20 20 20 52 65 73 74 61   ┆       TIOCSTART           Resta┆
0x0760…0780 72 74 73 20 6f 75 74 70 75 74 20 28 73 74 6f 70 70 65 64 20 62 79 20 54 49 4f 43 53 54 4f 50 20   ┆rts output (stopped by TIOCSTOP ┆
0x0780…07a0 6f 72 20 62 79 20 74 79 70 69 6e 67 20 5e 53 29 2e 0a 20 20 20 20 20 20 20 20 20 20 54 61 6b 65   ┆or by typing ^S).           Take┆
0x07a0…07c0 73 20 6e 6f 20 70 61 72 61 6d 65 74 65 72 2e 0a 0a 20 20 20 20 20 54 49 4f 43 50 4b 54 0a 20 20   ┆s no parameter.       TIOCPKT   ┆
0x07c0…07e0 20 20 20 20 20 20 20 20 45 6e 61 62 6c 65 2f 64 69 73 61 62 6c 65 20 5f 08 70 5f 08 61 5f 08 63   ┆        Enable/disable _ p_ a_ c┆
0x07e0…0800 5f 08 6b 5f 08 65 5f 08 74 20 6d 6f 64 65 2e 20 20 50 61 63 6b 65 74 20 6d 6f 64 65 20 69 73 20   ┆_ k_ e_ t mode.  Packet mode is ┆
0x0800…0820 65 6e 61 62 6c 65 64 20 62 79 0a 20 20 20 20 20 20 20 20 20 20 73 70 65 63 69 66 79 69 6e 67 20   ┆enabled by           specifying ┆
0x0820…0840 28 62 79 20 72 65 66 65 72 65 6e 63 65 29 20 61 20 6e 6f 6e 7a 65 72 6f 20 70 61 72 61 6d 65 74   ┆(by reference) a nonzero paramet┆
0x0840…0860 65 72 20 61 6e 64 20 64 69 73 2d 0a 20 20 20 20 20 20 20 20 20 20 61 62 6c 65 64 20 62 79 20 73   ┆er and dis-           abled by s┆
0x0860…0880 70 65 63 69 66 79 69 6e 67 20 28 62 79 20 72 65 66 65 72 65 6e 63 65 29 20 61 20 7a 65 72 6f 20   ┆pecifying (by reference) a zero ┆
0x0880…08a0 70 61 72 61 6d 65 74 65 72 2e 0a 20 20 20 20 20 20 20 20 20 20 57 68 65 6e 20 61 70 70 6c 69 65   ┆parameter.           When applie┆
0x08a0…08c0 64 20 74 6f 20 74 68 65 20 6d 61 73 74 65 72 20 73 69 64 65 20 6f 66 20 61 20 70 73 65 75 64 6f   ┆d to the master side of a pseudo┆
0x08c0…08e0 20 74 65 72 6d 69 6e 61 6c 2c 0a 20 20 20 20 20 20 20 20 20 20 65 61 63 68 20 73 75 62 73 65 71   ┆ terminal,           each subseq┆
0x08e0…0900 75 65 6e 74 20 5f 08 72 5f 08 65 5f 08 61 5f 08 64 20 66 72 6f 6d 20 74 68 65 20 74 65 72 6d 69   ┆uent _ r_ e_ a_ d from the termi┆
0x0900…0920 6e 61 6c 20 77 69 6c 6c 20 72 65 74 75 72 6e 20 64 61 74 61 0a 20 20 20 20 20 20 20 20 20 20 77   ┆nal will return data           w┆
0x0920…0940 72 69 74 74 65 6e 20 6f 6e 20 74 68 65 20 73 6c 61 76 65 20 70 61 72 74 20 6f 66 20 74 68 65 20   ┆ritten on the slave part of the ┆
0x0940…0960 70 73 65 75 64 6f 20 74 65 72 6d 69 6e 61 6c 20 70 72 65 2d 0a 20 20 20 20 20 20 20 20 20 20 63   ┆pseudo terminal pre-           c┆
0x0960…0980 65 64 65 64 20 62 79 20 61 20 7a 65 72 6f 20 62 79 74 65 20 28 73 79 6d 62 6f 6c 69 63 61 6c 6c   ┆eded by a zero byte (symbolicall┆
0x0980…09a0 79 20 64 65 66 69 6e 65 64 20 61 73 0a 20 20 20 20 20 20 20 20 20 20 54 49 4f 43 50 4b 54 5f 44   ┆y defined as           TIOCPKT_D┆
0x09a0…09c0 41 54 41 29 2c 20 6f 72 20 61 20 73 69 6e 67 6c 65 20 62 79 74 65 20 72 65 66 6c 65 63 74 69 6e   ┆ATA), or a single byte reflectin┆
0x09c0…09e0 67 20 63 6f 6e 74 72 6f 6c 0a 20 20 20 20 20 20 20 20 20 20 73 74 61 74 75 73 20 69 6e 66 6f 72   ┆g control           status infor┆
0x09e0…0a00 6d 61 74 69 6f 6e 2e 20 20 49 6e 20 74 68 65 20 6c 61 74 74 65 72 20 63 61 73 65 2c 20 74 68 65   ┆mation.  In the latter case, the┆
0x0a00…0a20 20 62 79 74 65 20 69 73 20 61 6e 0a 20 20 20 20 20 20 20 20 20 20 69 6e 63 6c 75 73 69 76 65 2d   ┆ byte is an           inclusive-┆
0x0a20…0a40 6f 72 20 6f 66 20 7a 65 72 6f 20 6f 72 20 6d 6f 72 65 20 6f 66 20 74 68 65 20 62 69 74 73 3a 0a   ┆or of zero or more of the bits: ┆
0x0a40…0a60 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 49 4f 43 50 4b 54 5f 46 4c 55 53 48 52   ┆                  TIOCPKT_FLUSHR┆
0x0a60…0a80 45 41 44 20 20 20 77 68 65 6e 65 76 65 72 20 74 68 65 20 72 65 61 64 20 71 75 65 75 65 20 66 6f   ┆EAD   whenever the read queue fo┆
0x0a80…0aa0 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆r                               ┆
0x0aa0…0ac0 20 20 20 20 20 20 20 74 68 65 20 74 65 72 6d 69 6e 61 6c 20 69 73 20 66 6c 75 73 68 65 64 2e 0a   ┆       the terminal is flushed. ┆
0x0ac0…0ae0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 49 4f 43 50 4b 54 5f 46 4c 55 53 48 57   ┆                  TIOCPKT_FLUSHW┆
0x0ae0…0b00 52 49 54 45 20 20 77 68 65 6e 65 76 65 72 20 74 68 65 20 77 72 69 74 65 20 71 75 65 75 65 20 66   ┆RITE  whenever the write queue f┆
0x0b00…0b20 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆or                              ┆
0x0b20…0b40 20 20 20 20 20 20 20 20 74 68 65 20 74 65 72 6d 69 6e 61 6c 20 69 73 20 66 6c 75 73 68 65 64 2e   ┆        the terminal is flushed.┆
0x0b40…0b60 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 49 4f 43 50 4b 54 5f 53 54 4f 50 20   ┆                   TIOCPKT_STOP ┆
0x0b60…0b80 20 20 20 20 20 20 20 77 68 65 6e 65 76 65 72 20 6f 75 74 70 75 74 20 74 6f 20 74 68 65 20 74 65   ┆       whenever output to the te┆
0x0b80…0ba0 72 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆r-                              ┆
0x0ba0…0bc0 20 20 20 20 20 20 20 20 6d 69 6e 61 6c 20 69 73 20 73 74 6f 70 70 65 64 20 61 20 6c 61 20 5e 53   ┆        minal is stopped a la ^S┆
0x0bc0…0be0 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 49 4f 43 50 4b 54 5f 53 54 41 52   ┆.                   TIOCPKT_STAR┆
0x0be0…0c00 54 20 20 20 20 20 20 20 77 68 65 6e 65 76 65 72 20 6f 75 74 70 75 74 20 74 6f 20 74 68 65 0a 0a   ┆T       whenever output to the  ┆
0x0c00…0c20 0a 0a 0a 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆                                ┆
0x0c20…0c40 20 20 20 20 20 20 20 20 20 20 74 65 72 6d 69 6e 61 6c 20 69 73 20 72 65 73 74 61 72 74 65 64 2e   ┆          terminal is restarted.┆
0x0c40…0c60 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 49 4f 43 50 4b 54 5f 44 4f 53 54 4f   ┆                   TIOCPKT_DOSTO┆
0x0c60…0c80 50 20 20 20 20 20 20 77 68 65 6e 65 76 65 72 20 63 5f 63 63 5b 56 53 54 4f 50 5d 20 69 73 20 5e   ┆P      whenever c_cc[VSTOP] is ^┆
0x0c80…0ca0 53 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆S                               ┆
0x0ca0…0cc0 20 20 20 20 20 20 20 61 6e 64 20 63 5f 63 63 5b 56 53 54 41 52 54 5d 20 69 73 20 5e 51 2e 0a 0a   ┆       and c_cc[VSTART] is ^Q.  ┆
0x0cc0…0ce0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 49 4f 43 50 4b 54 5f 4e 4f 53 54 4f 50 20   ┆                 TIOCPKT_NOSTOP ┆
0x0ce0…0d00 20 20 20 20 20 77 68 65 6e 65 76 65 72 20 74 68 65 20 73 74 6f 70 20 61 6e 64 20 73 74 61 72 74   ┆     whenever the stop and start┆
0x0d00…0d20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆                                ┆
0x0d20…0d40 20 20 20 20 20 20 63 68 61 72 61 63 74 65 72 73 20 61 72 65 20 6e 6f 74 20 5e 53 2f 5e 51 2e 0a   ┆      characters are not ^S/^Q. ┆
0x0d40…0d60 0a 20 20 20 20 20 20 20 20 20 20 57 68 69 6c 65 20 74 68 69 73 20 6d 6f 64 65 20 69 73 20 69 6e   ┆           While this mode is in┆
0x0d60…0d80 20 75 73 65 2c 20 74 68 65 20 70 72 65 73 65 6e 63 65 20 6f 66 20 63 6f 6e 74 72 6f 6c 0a 20 20   ┆ use, the presence of control   ┆
0x0d80…0da0 20 20 20 20 20 20 20 20 73 74 61 74 75 73 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 74 6f 20 62 65   ┆        status information to be┆
0x0da0…0dc0 20 72 65 61 64 20 66 72 6f 6d 20 74 68 65 20 6d 61 73 74 65 72 20 73 69 64 65 20 6d 61 79 0a 20   ┆ read from the master side may  ┆
0x0dc0…0de0 20 20 20 20 20 20 20 20 20 62 65 20 64 65 74 65 63 74 65 64 20 62 79 20 61 20 5f 08 73 5f 08 65   ┆         be detected by a _ s_ e┆
0x0de0…0e00 5f 08 6c 5f 08 65 5f 08 63 5f 08 74 20 66 6f 72 20 65 78 63 65 70 74 69 6f 6e 61 6c 20 63 6f 6e   ┆_ l_ e_ c_ t for exceptional con┆
0x0e00…0e20 64 69 74 69 6f 6e 73 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 54 68 69 73 20 6d 6f 64 65 20 69 73   ┆ditions.            This mode is┆
0x0e20…0e40 20 75 73 65 64 20 62 79 20 5f 08 72 5f 08 6c 5f 08 6f 5f 08 67 5f 08 69 5f 08 6e 28 31 63 29 20   ┆ used by _ r_ l_ o_ g_ i_ n(1c) ┆
0x0e40…0e60 61 6e 64 20 5f 08 72 5f 08 6c 5f 08 6f 5f 08 67 5f 08 69 5f 08 6e 5f 08 64 28 38 63 29 20 74 6f   ┆and _ r_ l_ o_ g_ i_ n_ d(8c) to┆
0x0e60…0e80 0a 20 20 20 20 20 20 20 20 20 20 69 6d 70 6c 65 6d 65 6e 74 20 61 20 72 65 6d 6f 74 65 2d 65 63   ┆           implement a remote-ec┆
0x0e80…0ea0 68 6f 65 64 2c 20 6c 6f 63 61 6c 6c 79 20 5e 53 2f 5e 51 20 66 6c 6f 77 2d 0a 20 20 20 20 20 20   ┆hoed, locally ^S/^Q flow-       ┆
0x0ea0…0ec0 20 20 20 20 63 6f 6e 74 72 6f 6c 6c 65 64 20 72 65 6d 6f 74 65 20 6c 6f 67 69 6e 20 77 69 74 68   ┆    controlled remote login with┆
0x0ec0…0ee0 20 70 72 6f 70 65 72 20 62 61 63 6b 2d 66 6c 75 73 68 69 6e 67 20 6f 66 0a 20 20 20 20 20 20 20   ┆ proper back-flushing of        ┆
0x0ee0…0f00 20 20 20 6f 75 74 70 75 74 3b 20 69 74 20 63 61 6e 20 62 65 20 75 73 65 64 20 62 79 20 6f 74 68   ┆   output; it can be used by oth┆
0x0f00…0f20 65 72 20 73 69 6d 69 6c 61 72 20 70 72 6f 67 72 61 6d 73 2e 0a 0a 20 20 20 20 20 54 49 4f 43 55   ┆er similar programs.       TIOCU┆
0x0f20…0f40 43 4e 54 4c 0a 20 20 20 20 20 20 20 20 20 20 45 6e 61 62 6c 65 2f 64 69 73 61 62 6c 65 20 61 20   ┆CNTL           Enable/disable a ┆
0x0f40…0f60 6d 6f 64 65 20 74 68 61 74 20 61 6c 6c 6f 77 73 20 61 20 73 6d 61 6c 6c 20 6e 75 6d 62 65 72 20   ┆mode that allows a small number ┆
0x0f60…0f80 6f 66 0a 20 20 20 20 20 20 20 20 20 20 73 69 6d 70 6c 65 20 75 73 65 72 20 5f 08 69 5f 08 6f 5f   ┆of           simple user _ i_ o_┆
0x0f80…0fa0 08 63 5f 08 74 5f 08 6c 20 63 6f 6d 6d 61 6e 64 73 20 74 6f 20 62 65 20 70 61 73 73 65 64 20 74   ┆ c_ t_ l commands to be passed t┆
0x0fa0…0fc0 68 72 6f 75 67 68 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 70 73 65 75 64 6f 2d 74 65 72 6d   ┆hrough the           pseudo-term┆
0x0fc0…0fe0 69 6e 61 6c 2c 20 75 73 69 6e 67 20 61 20 70 72 6f 74 6f 63 6f 6c 20 73 69 6d 69 6c 61 72 20 74   ┆inal, using a protocol similar t┆
0x0fe0…1000 6f 20 74 68 61 74 20 6f 66 0a 20 20 20 20 20 20 20 20 20 20 54 49 4f 43 50 4b 54 2e 20 20 54 68   ┆o that of           TIOCPKT.  Th┆
0x1000…1020 65 20 54 49 4f 43 55 43 4e 54 4c 20 61 6e 64 20 54 49 4f 50 4b 54 20 6d 6f 64 65 73 20 61 72 65   ┆e TIOCUCNTL and TIOPKT modes are┆
0x1020…1040 20 6d 75 74 75 61 6c 6c 79 0a 20 20 20 20 20 20 20 20 20 20 65 78 63 6c 75 73 69 76 65 2e 20 20   ┆ mutually           exclusive.  ┆
0x1040…1060 54 68 69 73 20 6d 6f 64 65 20 69 73 20 65 6e 61 62 6c 65 64 20 66 72 6f 6d 20 74 68 65 20 6d 61   ┆This mode is enabled from the ma┆
0x1060…1080 73 74 65 72 20 73 69 64 65 0a 20 20 20 20 20 20 20 20 20 20 6f 66 20 61 20 70 73 65 75 64 6f 20   ┆ster side           of a pseudo ┆
0x1080…10a0 74 65 72 6d 69 6e 61 6c 20 62 79 20 73 70 65 63 69 66 79 69 6e 67 20 28 62 79 20 72 65 66 65 72   ┆terminal by specifying (by refer┆
0x10a0…10c0 65 6e 63 65 29 20 61 0a 20 20 20 20 20 20 20 20 20 20 6e 6f 6e 7a 65 72 6f 20 70 61 72 61 6d 65   ┆ence) a           nonzero parame┆
0x10c0…10e0 74 65 72 20 61 6e 64 20 64 69 73 61 62 6c 65 64 20 62 79 20 73 70 65 63 69 66 79 69 6e 67 20 28   ┆ter and disabled by specifying (┆
0x10e0…1100 62 79 20 72 65 66 65 72 2d 0a 20 20 20 20 20 20 20 20 20 20 65 6e 63 65 29 20 61 20 7a 65 72 6f   ┆by refer-           ence) a zero┆
0x1100…1120 20 70 61 72 61 6d 65 74 65 72 2e 20 20 45 61 63 68 20 73 75 62 73 65 71 75 65 6e 74 20 5f 08 72   ┆ parameter.  Each subsequent _ r┆
0x1120…1140 5f 08 65 5f 08 61 5f 08 64 20 66 72 6f 6d 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 6d 61 73   ┆_ e_ a_ d from the           mas┆
0x1140…1160 74 65 72 20 73 69 64 65 20 77 69 6c 6c 20 72 65 74 75 72 6e 20 64 61 74 61 20 77 72 69 74 74 65   ┆ter side will return data writte┆
0x1160…1180 6e 20 6f 6e 20 74 68 65 20 73 6c 61 76 65 20 70 61 72 74 0a 20 20 20 20 20 20 20 20 20 20 6f 66   ┆n on the slave part           of┆
0x1180…11a0 20 74 68 65 20 70 73 65 75 64 6f 20 74 65 72 6d 69 6e 61 6c 20 70 72 65 63 65 64 65 64 20 62 79   ┆ the pseudo terminal preceded by┆
0x11a0…11c0 20 61 20 7a 65 72 6f 20 62 79 74 65 2c 20 6f 72 20 61 0a 20 20 20 20 20 20 20 20 20 20 73 69 6e   ┆ a zero byte, or a           sin┆
0x11c0…11e0 67 6c 65 20 62 79 74 65 20 72 65 66 6c 65 63 74 69 6e 67 20 61 20 75 73 65 72 20 63 6f 6e 74 72   ┆gle byte reflecting a user contr┆
0x11e0…1200 6f 6c 20 63 6f 6d 6d 61 6e 64 20 6f 70 65 72 61 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 6f   ┆ol command operation           o┆
0x1200…1220 6e 20 74 68 65 20 73 6c 61 76 65 20 73 69 64 65 2e 20 20 41 20 75 73 65 72 20 63 6f 6e 74 72 6f   ┆n the slave side.  A user contro┆
0x1220…1240 6c 20 63 6f 6d 6d 61 6e 64 20 63 6f 6e 73 69 73 74 73 20 6f 66 0a 20 20 20 20 20 20 20 20 20 20   ┆l command consists of           ┆
0x1240…1260 61 20 73 70 65 63 69 61 6c 20 5f 08 69 5f 08 6f 5f 08 63 5f 08 74 5f 08 6c 20 6f 70 65 72 61 74   ┆a special _ i_ o_ c_ t_ l operat┆
0x1260…1280 69 6f 6e 20 77 69 74 68 20 6e 6f 20 64 61 74 61 3b 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 69 73   ┆ion with no data; the command is┆
0x1280…12a0 0a 20 20 20 20 20 20 20 20 20 20 67 69 76 65 6e 20 61 73 20 55 49 4f 43 43 4d 44 28 5f 08 6e 29   ┆           given as UIOCCMD(_ n)┆
0x12a0…12c0 2c 20 77 68 65 72 65 20 5f 08 6e 20 69 73 20 61 20 6e 75 6d 62 65 72 20 69 6e 20 74 68 65 20 72   ┆, where _ n is a number in the r┆
0x12c0…12e0 61 6e 67 65 0a 20 20 20 20 20 20 20 20 20 20 31 2d 32 35 35 2e 20 20 54 68 65 20 6f 70 65 72 61   ┆ange           1-255.  The opera┆
0x12e0…1300 74 69 6f 6e 20 76 61 6c 75 65 20 5f 08 6e 20 77 69 6c 6c 20 62 65 20 72 65 63 65 69 76 65 64 20   ┆tion value _ n will be received ┆
0x1300…1320 61 73 20 61 0a 20 20 20 20 20 20 20 20 20 20 73 69 6e 67 6c 65 20 62 79 74 65 20 6f 6e 20 74 68   ┆as a           single byte on th┆
0x1320…1340 65 20 6e 65 78 74 20 5f 08 72 5f 08 65 5f 08 61 5f 08 64 20 66 72 6f 6d 20 74 68 65 20 6d 61 73   ┆e next _ r_ e_ a_ d from the mas┆
0x1340…1360 74 65 72 20 73 69 64 65 2e 20 20 54 68 65 0a 20 20 20 20 20 20 20 20 20 20 5f 08 69 5f 08 6f 5f   ┆ter side.  The           _ i_ o_┆
0x1360…1380 08 63 5f 08 74 5f 08 6c 20 55 49 4f 43 43 4d 44 28 30 29 20 69 73 20 61 20 6e 6f 2d 6f 70 20 74   ┆ c_ t_ l UIOCCMD(0) is a no-op t┆
0x1380…13a0 68 61 74 20 6d 61 79 20 62 65 20 75 73 65 64 20 74 6f 20 70 72 6f 62 65 0a 20 20 20 20 20 20 20   ┆hat may be used to probe        ┆
0x13a0…13c0 20 20 20 66 6f 72 20 74 68 65 20 65 78 69 73 74 65 6e 63 65 20 6f 66 20 74 68 69 73 20 66 61 63   ┆   for the existence of this fac┆
0x13c0…13e0 69 6c 69 74 79 2e 20 20 41 73 20 77 69 74 68 20 54 49 4f 43 50 4b 54 0a 20 20 20 20 20 20 20 20   ┆ility.  As with TIOCPKT         ┆
0x13e0…1400 20 20 6d 6f 64 65 2c 20 63 6f 6d 6d 61 6e 64 20 6f 70 65 72 61 74 69 6f 6e 73 20 6d 61 79 20 62   ┆  mode, command operations may b┆
0x1400…1420 65 20 64 65 74 65 63 74 65 64 20 77 69 74 68 20 61 20 5f 08 73 5f 08 65 5f 08 6c 5f 08 65 5f 08   ┆e detected with a _ s_ e_ l_ e_ ┆
0x1420…1440 63 5f 08 74 0a 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 65 78 63 65 70 74 69 6f 6e 61 6c 20 63   ┆c_ t           for exceptional c┆
0x1440…1460 6f 6e 64 69 74 69 6f 6e 73 2e 0a 0a 20 20 20 20 20 54 49 4f 43 52 45 4d 4f 54 45 0a 20 20 20 20   ┆onditions.       TIOCREMOTE     ┆
0x1460…1480 20 20 20 20 20 20 41 20 6d 6f 64 65 20 66 6f 72 20 74 68 65 20 6d 61 73 74 65 72 20 68 61 6c 66   ┆      A mode for the master half┆
0x1480…14a0 20 6f 66 20 61 20 70 73 65 75 64 6f 20 74 65 72 6d 69 6e 61 6c 2c 0a 20 20 20 20 20 20 20 20 20   ┆ of a pseudo terminal,          ┆
0x14a0…14c0 20 69 6e 64 65 70 65 6e 64 65 6e 74 20 6f 66 20 54 49 4f 43 50 4b 54 2e 20 20 54 68 69 73 20 6d   ┆ independent of TIOCPKT.  This m┆
0x14c0…14e0 6f 64 65 20 63 61 75 73 65 73 20 69 6e 70 75 74 20 74 6f 20 74 68 65 0a 20 20 20 20 20 20 20 20   ┆ode causes input to the         ┆
0x14e0…1500 20 20 70 73 65 75 64 6f 20 74 65 72 6d 69 6e 61 6c 20 74 6f 20 62 65 20 66 6c 6f 77 20 63 6f 6e   ┆  pseudo terminal to be flow con┆
0x1500…1520 74 72 6f 6c 6c 65 64 20 61 6e 64 20 6e 6f 74 20 69 6e 70 75 74 0a 20 20 20 20 20 20 20 20 20 20   ┆trolled and not input           ┆
0x1520…1540 65 64 69 74 65 64 20 28 72 65 67 61 72 64 6c 65 73 73 20 6f 66 20 74 68 65 20 74 65 72 6d 69 6e   ┆edited (regardless of the termin┆
0x1540…1560 61 6c 20 6d 6f 64 65 29 2e 20 20 45 61 63 68 20 77 72 69 74 65 0a 20 20 20 20 20 20 20 20 20 20   ┆al mode).  Each write           ┆
0x1560…1580 74 6f 20 74 68 65 20 63 6f 6e 74 72 6f 6c 20 74 65 72 6d 69 6e 61 6c 20 70 72 6f 64 75 63 65 73   ┆to the control terminal produces┆
0x1580…15a0 20 61 20 72 65 63 6f 72 64 20 62 6f 75 6e 64 61 72 79 20 66 6f 72 0a 20 20 20 20 20 20 20 20 20   ┆ a record boundary for          ┆
0x15a0…15c0 20 74 68 65 20 70 72 6f 63 65 73 73 20 72 65 61 64 69 6e 67 20 74 68 65 20 74 65 72 6d 69 6e 61   ┆ the process reading the termina┆
0x15c0…15e0 6c 2e 20 20 49 6e 20 6e 6f 72 6d 61 6c 20 75 73 61 67 65 2c 20 61 0a 20 20 20 20 20 20 20 20 20   ┆l.  In normal usage, a          ┆
0x15e0…1600 20 77 72 69 74 65 20 6f 66 20 64 61 74 61 20 69 73 20 6c 69 6b 65 20 74 68 65 20 64 61 74 61 20   ┆ write of data is like the data ┆
0x1600…1620 74 79 70 65 64 20 61 73 20 61 20 6c 69 6e 65 20 6f 6e 20 74 68 65 0a 20 20 20 20 20 20 20 20 20   ┆typed as a line on the          ┆
0x1620…1640 20 74 65 72 6d 69 6e 61 6c 3b 20 61 20 77 72 69 74 65 20 6f 66 20 30 20 62 79 74 65 73 20 69 73   ┆ terminal; a write of 0 bytes is┆
0x1640…1660 20 6c 69 6b 65 20 74 79 70 69 6e 67 20 61 6e 20 65 6e 64 2d 6f 66 2d 0a 20 20 20 20 20 20 20 20   ┆ like typing an end-of-         ┆
0x1660…1680 20 20 66 69 6c 65 20 63 68 61 72 61 63 74 65 72 2e 20 20 54 49 4f 43 52 45 4d 4f 54 45 20 63 61   ┆  file character.  TIOCREMOTE ca┆
0x1680…16a0 6e 20 62 65 20 75 73 65 64 20 77 68 65 6e 20 64 6f 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 72   ┆n be used when doing           r┆
0x16a0…16c0 65 6d 6f 74 65 20 6c 69 6e 65 20 65 64 69 74 69 6e 67 20 69 6e 20 61 20 77 69 6e 64 6f 77 20 6d   ┆emote line editing in a window m┆
0x16c0…16e0 61 6e 61 67 65 72 2c 20 6f 72 20 77 68 65 6e 65 76 65 72 0a 20 20 20 20 20 20 20 20 20 20 66 6c   ┆anager, or whenever           fl┆
0x16e0…1700 6f 77 20 63 6f 6e 74 72 6f 6c 6c 65 64 20 69 6e 70 75 74 20 69 73 20 72 65 71 75 69 72 65 64 2e   ┆ow controlled input is required.┆
0x1700…1720 0a 0a 46 08 46 08 46 08 46 49 08 49 08 49 08 49 4c 08 4c 08 4c 08 4c 45 08 45 08 45 08 45 53 08   ┆  F F F FI I I IL L L LE E E ES ┆
0x1720…1740 53 08 53 08 53 0a 20 20 20 20 20 2f 64 65 76 2f 70 74 79 5b 70 2d 7a 5d 5b 30 2d 39 61 2d 66 5d   ┆S S S      /dev/pty[p-z][0-9a-f]┆
0x1740…1760 20 20 20 20 6d 61 73 74 65 72 20 70 73 65 75 64 6f 20 74 65 72 6d 69 6e 61 6c 73 0a 20 20 20 20   ┆    master pseudo terminals     ┆
0x1760…1780 20 2f 64 65 76 2f 74 74 79 5b 70 2d 7a 5d 5b 30 2d 39 61 2d 66 5d 20 20 20 20 73 6c 61 76 65 20   ┆ /dev/tty[p-z][0-9a-f]    slave ┆
0x1780…17a0 70 73 65 75 64 6f 20 74 65 72 6d 69 6e 61 6c 73 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45   ┆pseudo terminals  S S S SE E E E┆
0x17a0…17c0 45 08 45 08 45 08 45 20 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f   ┆E E E E A A A AL L L LS S S SO O┆
0x17c0…17e0 08 4f 08 4f 0a 20 20 20 20 20 44 65 76 69 63 65 73 20 61 6e 64 20 46 61 63 69 6c 69 74 69 65 73   ┆ O O      Devices and Facilities┆
0x17e0…1800 20 28 34 29 3a 20 20 74 65 72 6d 69 6f 2c 20 74 74 79 20 54 08 54 08 54 08 54 58 08 58 08 58 08   ┆ (4):  termio, tty T T T TX X X ┆
0x1800…1820 58 20 53 08 53 08 53 08 53 69 08 69 08 69 08 69 74 08 74 08 74 08 74 65 08 65 08 65 08 65 20 4d   ┆X S S S Si i i it t t te e e e M┆
0x1820…1840 08 4d 08 4d 08 4d 61 08 61 08 61 08 61 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 67 08 67 08 67   ┆ M M Ma a a an n n na a a ag g g┆
0x1840…1860 08 67 65 08 65 08 65 08 65 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 74 08   ┆ ge e e em m m me e e en n n nt ┆
0x1860…1880 74 08 74 08 74 0a 20 20 20 20 20 47 08 47 08 47 08 47 75 08 75 08 75 08 75 69 08 69 08 69 08 69   ┆t t t      G G G Gu u u ui i i i┆
0x1880…18a0 64 08 64 08 64 08 64 65 08 65 08 65 08 65 2c 08 2c 08 2c 08 2c 20 53 08 53 08 53 08 53 79 08 79   ┆d d d de e e e, , , , S S S Sy y┆
0x18a0…18c0 08 79 08 79 73 08 73 08 73 08 73 74 08 74 08 74 08 74 65 08 65 08 65 08 65 6d 08 6d 08 6d 08 6d   ┆ y ys s s st t t te e e em m m m┆
0x18c0…18e0 20 43 08 43 08 43 08 43 75 08 75 08 75 08 75 73 08 73 08 73 08 73 74 08 74 08 74 08 74 6f 08 6f   ┆ C C C Cu u u us s s st t t to o┆
0x18e0…1900 08 6f 08 6f 6d 08 6d 08 6d 08 6d 69 08 69 08 69 08 69 7a 08 7a 08 7a 08 7a 61 08 61 08 61 08 61   ┆ o om m m mi i i iz z z za a a a┆
0x1900…1920 74 08 74 08 74 08 74 69 08 69 08 69 08 69 6f 08 6f 08 6f 08 6f 6e 08 6e 08 6e 08 6e 2e 08 2e 08   ┆t t t ti i i io o o on n n n. . ┆
[…truncated at 200 lines…]