|
|
DataMuseum.dkPresents historical artifacts from the history of: RC9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: s
Length: 5151 (0x141f)
Names: »sessreg.1X«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat1/sessreg.1X«
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 20 20 20 20 20 55 73 65 72 20 43 6f 6d 6d 61 6e ┆ u_ a_ l User Comman┆ 0x0040…0060 64 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 53 45 53 53 52 45 47 28 31 58 29 0a 0a 0a 0a ┆ds SESSREG(1X) ┆ 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 73 65 73 73 72 65 67 20 2d 20 6d 61 6e 61 67 65 20 75 74 6d 70 2f 77 74 6d 70 20 65 6e 74 ┆ sessreg - manage utmp/wtmp ent┆ 0x00a0…00c0 72 69 65 73 20 66 6f 72 20 6e 6f 6e 2d 69 6e 69 74 20 63 6c 69 65 6e 74 73 0a 0a 53 08 53 08 53 ┆ries for non-init clients S S S┆ 0x00c0…00e0 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 4f 08 4f 08 4f 08 4f 50 08 50 08 50 08 50 53 08 ┆ SY Y Y YN N N NO O O OP P P PS ┆ 0x00e0…0100 53 08 53 08 53 49 08 49 08 49 08 49 53 08 53 08 53 08 53 0a 20 20 20 20 20 73 08 73 08 73 08 73 ┆S S SI I I IS S S S s s s s┆ 0x0100…0120 65 08 65 08 65 08 65 73 08 73 08 73 08 73 73 08 73 08 73 08 73 72 08 72 08 72 08 72 65 08 65 08 ┆e e e es s s ss s s sr r r re e ┆ 0x0120…0140 65 08 65 67 08 67 08 67 08 67 20 5b 2d 77 20 5f 08 77 5f 08 74 5f 08 6d 5f 08 70 2d 5f 08 66 5f ┆e eg g g g [-w _ w_ t_ m_ p-_ f_┆ 0x0140…0160 08 69 5f 08 6c 5f 08 65 5d 20 5b 2d 75 20 5f 08 75 5f 08 74 5f 08 6d 5f 08 70 2d 5f 08 66 5f 08 ┆ i_ l_ e] [-u _ u_ t_ m_ p-_ f_ ┆ 0x0160…0180 69 5f 08 6c 5f 08 65 5d 20 5b 2d 6c 20 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 2d 5f 08 6e 5f 08 61 ┆i_ l_ e] [-l _ l_ i_ n_ e-_ n_ a┆ 0x0180…01a0 5f 08 6d 5f 08 65 5d 20 5b 2d 68 0a 20 20 20 20 20 5f 08 68 5f 08 6f 5f 08 73 5f 08 74 2d 5f 08 ┆_ m_ e] [-h _ h_ o_ s_ t-_ ┆ 0x01a0…01c0 6e 5f 08 61 5f 08 6d 5f 08 65 5d 20 5b 2d 73 20 5f 08 73 5f 08 6c 5f 08 6f 5f 08 74 2d 5f 08 6e ┆n_ a_ m_ e] [-s _ s_ l_ o_ t-_ n┆ 0x01c0…01e0 5f 08 75 5f 08 6d 5f 08 62 5f 08 65 5f 08 72 5d 20 5b 2d 78 20 5f 08 58 5f 08 73 5f 08 65 5f 08 ┆_ u_ m_ b_ e_ r] [-x _ X_ s_ e_ ┆ 0x01e0…0200 72 5f 08 76 5f 08 65 5f 08 72 5f 08 73 2d 5f 08 66 5f 08 69 5f 08 6c 5f 08 65 5d 20 5b 2d 74 20 ┆r_ v_ e_ r_ s-_ f_ i_ l_ e] [-t ┆ 0x0200…0220 5f 08 74 5f 08 74 5f 08 79 5f 08 73 2d 0a 20 20 20 20 20 5f 08 66 5f 08 69 5f 08 6c 5f 08 65 5d ┆_ t_ t_ y_ s- _ f_ i_ l_ e]┆ 0x0220…0240 20 5b 2d 61 5d 20 5b 2d 64 5d 20 5f 08 75 5f 08 73 5f 08 65 5f 08 72 2d 5f 08 6e 5f 08 61 5f 08 ┆ [-a] [-d] _ u_ s_ e_ r-_ n_ a_ ┆ 0x0240…0260 6d 5f 08 65 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 08 53 08 53 43 08 43 08 43 ┆m_ e D D D DE E E ES S S SC C C┆ 0x0260…0280 08 43 52 08 52 08 52 08 52 49 08 49 08 49 08 49 50 08 50 08 50 08 50 54 08 54 08 54 08 54 49 08 ┆ CR R R RI I I IP P P PT T T TI ┆ 0x0280…02a0 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 5f 08 53 5f 08 65 5f ┆I I IO O O ON N N N _ S_ e_┆ 0x02a0…02c0 08 73 5f 08 73 5f 08 72 5f 08 65 5f 08 67 20 69 73 20 61 20 73 69 6d 70 6c 65 20 70 72 6f 67 72 ┆ s_ s_ r_ e_ g is a simple progr┆ 0x02c0…02e0 61 6d 20 66 6f 72 20 6d 61 6e 61 67 69 6e 67 20 75 74 6d 70 2f 77 74 6d 70 20 65 6e 74 72 69 65 ┆am for managing utmp/wtmp entrie┆ 0x02e0…0300 73 0a 20 20 20 20 20 66 6f 72 20 78 64 6d 20 73 65 73 73 69 6f 6e 73 2e 0a 0a 20 20 20 20 20 53 ┆s for xdm sessions. S┆ 0x0300…0320 79 73 74 65 6d 20 56 20 68 61 73 20 61 20 62 65 74 74 65 72 20 69 6e 74 65 72 66 61 63 65 20 74 ┆ystem V has a better interface t┆ 0x0320…0340 6f 20 2f 65 74 63 2f 75 74 6d 70 20 74 68 61 6e 20 42 53 44 3b 20 69 74 0a 20 20 20 20 20 64 79 ┆o /etc/utmp than BSD; it dy┆ 0x0340…0360 6e 61 6d 69 63 61 6c 6c 79 20 61 6c 6c 6f 63 61 74 65 73 20 65 6e 74 72 69 65 73 20 69 6e 20 74 ┆namically allocates entries in t┆ 0x0360…0380 68 65 20 66 69 6c 65 2c 20 69 6e 73 74 65 61 64 20 6f 66 20 77 72 69 74 2d 0a 20 20 20 20 20 69 ┆he file, instead of writ- i┆ 0x0380…03a0 6e 67 20 74 68 65 6d 20 61 74 20 66 69 78 65 64 20 70 6f 73 69 74 69 6f 6e 73 20 69 6e 64 65 78 ┆ng them at fixed positions index┆ 0x03a0…03c0 65 64 20 62 79 20 70 6f 73 69 74 69 6f 6e 20 69 6e 0a 20 20 20 20 20 2f 65 74 63 2f 74 74 79 73 ┆ed by position in /etc/ttys┆ 0x03c0…03e0 2e 0a 0a 20 20 20 20 20 54 6f 20 6d 61 6e 61 67 65 20 42 53 44 2d 73 74 79 6c 65 20 75 74 6d 70 ┆. To manage BSD-style utmp┆ 0x03e0…0400 20 66 69 6c 65 73 2c 20 5f 08 73 5f 08 65 5f 08 73 5f 08 73 5f 08 72 5f 08 65 5f 08 67 20 68 61 ┆ files, _ s_ e_ s_ s_ r_ e_ g ha┆ 0x0400…0420 73 20 74 77 6f 20 73 74 72 61 74 65 67 69 65 73 2e 0a 20 20 20 20 20 49 6e 20 63 6f 6e 6a 75 6e ┆s two strategies. In conjun┆ 0x0420…0440 63 74 69 6f 6e 20 77 69 74 68 20 78 64 6d 2c 20 74 68 65 20 2d 78 20 6f 70 74 69 6f 6e 20 63 6f ┆ction with xdm, the -x option co┆ 0x0440…0460 75 6e 74 73 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 0a 20 20 20 20 20 6c 69 6e 65 73 20 69 6e ┆unts the number of lines in┆ 0x0460…0480 20 2f 65 74 63 2f 74 74 79 73 20 61 6e 64 20 74 68 65 6e 20 61 64 64 73 20 74 6f 20 74 68 61 74 ┆ /etc/ttys and then adds to that┆ 0x0480…04a0 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 74 68 65 0a 20 20 20 20 20 6c 69 6e 65 20 69 6e 20 ┆ the number of the line in ┆ 0x04a0…04c0 74 68 65 20 58 73 65 72 76 65 72 73 20 66 69 6c 65 20 77 68 69 63 68 20 73 70 65 63 69 66 69 65 ┆the Xservers file which specifie┆ 0x04c0…04e0 73 20 74 68 65 20 64 69 73 70 6c 61 79 2e 20 20 54 68 65 0a 20 20 20 20 20 64 69 73 70 6c 61 79 ┆s the display. The display┆ 0x04e0…0500 20 6e 61 6d 65 20 6d 75 73 74 20 62 65 20 73 70 65 63 69 66 69 65 64 20 61 73 20 74 68 65 20 22 ┆ name must be specified as the "┆ 0x0500…0520 6c 69 6e 65 2d 6e 61 6d 65 22 20 75 73 69 6e 67 20 74 68 65 0a 20 20 20 20 20 2d 6c 20 6f 70 74 ┆line-name" using the -l opt┆ 0x0520…0540 69 6f 6e 2e 20 20 54 68 69 73 20 73 75 6d 20 69 73 20 75 73 65 64 20 61 73 20 74 68 65 20 22 73 ┆ion. This sum is used as the "s┆ 0x0540…0560 6c 6f 74 2d 6e 75 6d 62 65 72 22 20 69 6e 0a 20 20 20 20 20 2f 65 74 63 2f 75 74 6d 70 20 74 68 ┆lot-number" in /etc/utmp th┆ 0x0560…0580 61 74 20 74 68 69 73 20 65 6e 74 72 79 20 77 69 6c 6c 20 62 65 20 77 72 69 74 74 65 6e 20 61 74 ┆at this entry will be written at┆ 0x0580…05a0 2e 20 20 49 6e 20 74 68 65 20 6d 6f 72 65 0a 20 20 20 20 20 67 65 6e 65 72 61 6c 20 63 61 73 65 ┆. In the more general case┆ 0x05a0…05c0 2c 20 74 68 65 20 2d 73 20 6f 70 74 69 6f 6e 20 73 70 65 63 69 66 69 65 73 20 74 68 65 20 73 6c ┆, the -s option specifies the sl┆ 0x05c0…05e0 6f 74 2d 6e 75 6d 62 65 72 0a 20 20 20 20 20 64 69 72 65 63 74 6c 79 2e 20 20 49 66 20 66 6f 72 ┆ot-number directly. If for┆ 0x05e0…0600 20 73 6f 6d 65 20 73 74 72 61 6e 67 65 20 72 65 61 73 6f 6e 20 79 6f 75 72 20 73 79 73 74 65 6d ┆ some strange reason your system┆ 0x0600…0620 20 75 73 65 73 20 61 0a 20 20 20 20 20 66 69 6c 65 20 6f 74 68 65 72 20 74 68 61 74 20 2f 65 74 ┆ uses a file other that /et┆ 0x0620…0640 63 2f 74 74 79 73 20 74 6f 20 6d 61 6e 61 67 65 20 69 6e 69 74 2c 20 74 68 65 20 2d 74 20 6f 70 ┆c/ttys to manage init, the -t op┆ 0x0640…0660 74 69 6f 6e 20 63 61 6e 0a 20 20 20 20 20 64 69 72 65 63 74 20 5f 08 73 5f 08 65 5f 08 73 5f 08 ┆tion can direct _ s_ e_ s_ ┆ 0x0660…0680 73 5f 08 72 5f 08 65 5f 08 67 20 74 6f 20 6c 6f 6f 6b 20 65 6c 73 65 77 68 65 72 65 20 66 6f 72 ┆s_ r_ e_ g to look elsewhere for┆ 0x0680…06a0 20 61 20 63 6f 75 6e 74 20 6f 66 20 74 65 72 6d 69 6e 61 6c 0a 20 20 20 20 20 73 65 73 73 69 6f ┆ a count of terminal sessio┆ 0x06a0…06c0 6e 73 2e 0a 0a 20 20 20 20 20 43 6f 6e 76 65 72 73 65 6c 79 2c 20 53 79 73 74 65 6d 20 56 20 6d ┆ns. Conversely, System V m┆ 0x06c0…06e0 61 6e 61 67 65 72 73 20 77 69 6c 6c 20 6e 6f 74 20 65 76 65 72 20 6e 65 65 64 20 74 6f 20 75 73 ┆anagers will not ever need to us┆ 0x06e0…0700 65 0a 20 20 20 20 20 74 68 65 73 65 20 6f 70 74 69 6f 6e 73 20 28 2d 78 2c 20 2d 73 20 61 6e 64 ┆e these options (-x, -s and┆ 0x0700…0720 20 2d 74 29 2e 20 20 54 6f 20 6d 61 6b 65 20 74 68 65 20 70 72 6f 67 72 61 6d 20 65 61 73 69 65 ┆ -t). To make the program easie┆ 0x0720…0740 72 0a 20 20 20 20 20 74 6f 20 64 6f 63 75 6d 65 6e 74 20 61 6e 64 20 65 78 70 6c 61 69 6e 2c 20 ┆r to document and explain, ┆ 0x0740…0760 5f 08 73 5f 08 65 5f 08 73 5f 08 73 5f 08 72 5f 08 65 5f 08 67 20 61 63 63 65 70 74 73 20 74 68 ┆_ s_ e_ s_ s_ r_ e_ g accepts th┆ 0x0760…0780 65 20 42 53 44 2d 73 70 65 63 69 66 69 63 0a 20 20 20 20 20 66 6c 61 67 73 20 69 6e 20 74 68 65 ┆e BSD-specific flags in the┆ 0x0780…07a0 20 53 79 73 74 65 6d 20 56 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 61 6e 64 20 69 67 6e 6f 72 65 ┆ System V environment and ignore┆ 0x07a0…07c0 73 20 74 68 65 6d 2e 0a 0a 20 20 20 20 20 42 53 44 20 61 6c 73 6f 20 68 61 73 20 61 20 68 6f 73 ┆s them. BSD also has a hos┆ 0x07c0…07e0 74 2d 6e 61 6d 65 20 66 69 65 6c 64 20 69 6e 20 74 68 65 20 75 74 6d 70 20 66 69 6c 65 20 77 68 ┆t-name field in the utmp file wh┆ 0x07e0…0800 69 63 68 0a 20 20 20 20 20 64 6f 65 73 6e 27 74 20 65 78 69 73 74 20 69 6e 20 53 79 73 74 65 6d ┆ich doesn't exist in System┆ 0x0800…0820 20 56 2e 20 20 54 68 69 73 20 6f 70 74 69 6f 6e 20 69 73 20 61 6c 73 6f 20 69 67 6e 6f 72 65 64 ┆ V. This option is also ignored┆ 0x0820…0840 20 62 79 0a 20 20 20 20 20 74 68 65 20 53 79 73 74 65 6d 20 56 20 76 65 72 73 69 6f 6e 20 6f 66 ┆ by the System V version of┆ 0x0840…0860 20 5f 08 73 5f 08 65 5f 08 73 5f 08 73 5f 08 72 5f 08 65 5f 08 67 2e 0a 0a 55 08 55 08 55 08 55 ┆ _ s_ e_ s_ s_ r_ e_ g. U U U U┆ 0x0860…0880 53 08 53 08 53 08 53 41 08 41 08 41 08 41 47 08 47 08 47 08 47 45 08 45 08 45 08 45 0a 20 20 20 ┆S S S SA A A AG G G GE E E E ┆ 0x0880…08a0 20 20 49 6e 20 58 73 74 61 72 74 75 70 2c 20 70 6c 61 63 65 20 61 20 63 61 6c 6c 20 6c 69 6b 65 ┆ In Xstartup, place a call like┆ 0x08a0…08c0 3a 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 73 73 72 65 67 20 2d 61 20 2d 6c 20 24 44 49 ┆: sessreg -a -l $DI┆ 0x08c0…08e0 53 50 4c 41 59 20 2d 78 20 2f 75 73 72 2f 6c 69 62 2f 58 31 31 2f 78 64 6d 2f 58 73 65 72 76 65 ┆SPLAY -x /usr/lib/X11/xdm/Xserve┆ 0x08e0…0900 72 73 20 24 55 53 45 52 0a 0a 20 20 20 20 20 61 6e 64 20 69 6e 20 58 72 65 73 65 74 3a 0a 0a 20 ┆rs $USER and in Xreset: ┆ 0x0900…0920 20 20 20 20 20 20 20 20 20 20 20 73 65 73 73 72 65 67 20 2d 61 20 2d 6c 20 24 44 49 53 50 4c 41 ┆ sessreg -a -l $DISPLA┆ 0x0920…0940 59 20 2d 78 20 2f 75 73 72 2f 6c 69 62 2f 58 31 31 2f 78 64 6d 2f 58 73 65 72 76 65 72 73 20 24 ┆Y -x /usr/lib/X11/xdm/Xservers $┆ 0x0940…0960 55 53 45 52 0a 0a 0a 4f 08 4f 08 4f 08 4f 50 08 50 08 50 08 50 54 08 54 08 54 08 54 49 08 49 08 ┆USER O O O OP P P PT T T TI I ┆ 0x0960…0980 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 53 08 53 08 53 08 53 0a 20 20 20 20 20 2d 08 ┆I IO O O ON N N NS S S S - ┆ 0x0980…09a0 2d 08 2d 08 2d 77 08 77 08 77 08 77 20 5f 08 77 5f 08 74 5f 08 6d 5f 08 70 2d 5f 08 66 5f 08 69 ┆- - -w w w w _ w_ t_ m_ p-_ f_ i┆ 0x09a0…09c0 5f 08 6c 5f 08 65 0a 20 20 20 20 20 20 20 20 20 20 54 68 69 73 20 73 70 65 63 69 66 69 65 73 20 ┆_ l_ e This specifies ┆ 0x09c0…09e0 61 6e 20 61 6c 74 65 72 6e 61 74 65 20 77 74 6d 70 20 66 69 6c 65 2c 20 69 6e 73 74 65 61 64 20 ┆an alternate wtmp file, instead ┆ 0x09e0…0a00 6f 66 0a 20 20 20 20 20 20 20 20 20 20 2f 75 73 72 2f 61 64 6d 2f 77 74 6d 70 20 66 6f 72 20 42 ┆of /usr/adm/wtmp for B┆ 0x0a00…0a20 53 44 20 6f 72 20 2f 65 74 63 2f 77 74 6d 70 20 66 6f 72 20 73 79 73 56 2e 20 20 54 68 65 20 73 ┆SD or /etc/wtmp for sysV. The s┆ 0x0a20…0a40 70 65 2d 0a 20 20 20 20 20 20 20 20 20 20 63 69 61 6c 20 6e 61 6d 65 20 22 6e 6f 6e 65 22 20 64 ┆pe- cial name "none" d┆ 0x0a40…0a60 69 73 61 62 6c 65 73 20 77 72 69 74 69 6e 67 20 72 65 63 6f 72 64 73 20 74 6f 0a 20 20 20 20 20 ┆isables writing records to ┆ 0x0a60…0a80 20 20 20 20 20 2f 75 73 72 2f 61 64 6d 2f 77 74 6d 70 2e 0a 0a 20 20 20 20 20 2d 08 2d 08 2d 08 ┆ /usr/adm/wtmp. - - - ┆ 0x0a80…0aa0 2d 75 08 75 08 75 08 75 20 5f 08 75 5f 08 74 5f 08 6d 5f 08 70 2d 5f 08 66 5f 08 69 5f 08 6c 5f ┆-u u u u _ u_ t_ m_ p-_ f_ i_ l_┆ 0x0aa0…0ac0 08 65 0a 20 20 20 20 20 20 20 20 20 20 54 68 69 73 20 73 70 65 63 69 66 69 65 73 20 61 6e 20 61 ┆ e This specifies an a┆ 0x0ac0…0ae0 6c 74 65 72 6e 61 74 65 20 75 74 6d 70 20 66 69 6c 65 2c 20 69 6e 73 74 65 61 64 20 6f 66 0a 20 ┆lternate utmp file, instead of ┆ 0x0ae0…0b00 20 20 20 20 20 20 20 20 20 22 2f 65 74 63 2f 75 74 6d 70 22 2e 20 20 54 68 65 20 73 70 65 63 69 ┆ "/etc/utmp". The speci┆ 0x0b00…0b20 61 6c 20 6e 61 6d 65 20 22 6e 6f 6e 65 22 20 64 69 73 61 62 6c 65 73 20 77 72 69 74 69 6e 67 0a ┆al name "none" disables writing ┆ 0x0b20…0b40 0a 0a 0a 0a 0a 0a 20 20 20 20 20 20 20 20 20 20 72 65 63 6f 72 64 73 20 74 6f 20 2f 65 74 63 2f ┆ records to /etc/┆ 0x0b40…0b60 75 74 6d 70 2e 0a 0a 20 20 20 20 20 2d 08 2d 08 2d 08 2d 6c 08 6c 08 6c 08 6c 20 5f 08 6c 5f 08 ┆utmp. - - - -l l l l _ l_ ┆ 0x0b60…0b80 69 5f 08 6e 5f 08 65 2d 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 0a 20 20 20 20 20 20 20 20 20 20 54 ┆i_ n_ e-_ n_ a_ m_ e T┆ 0x0b80…0ba0 68 69 73 20 64 65 73 63 72 69 62 65 73 20 74 68 65 20 22 6c 69 6e 65 22 20 6e 61 6d 65 20 6f 66 ┆his describes the "line" name of┆ 0x0ba0…0bc0 20 74 68 65 20 65 6e 74 72 79 2e 20 20 46 6f 72 20 74 65 72 2d 0a 20 20 20 20 20 20 20 20 20 20 ┆ the entry. For ter- ┆ 0x0bc0…0be0 6d 69 6e 61 6c 20 73 65 73 73 69 6f 6e 73 2c 20 74 68 69 73 20 69 73 20 74 68 65 20 66 69 6e 61 ┆minal sessions, this is the fina┆ 0x0be0…0c00 6c 20 70 61 74 68 6e 61 6d 65 20 73 65 67 6d 65 6e 74 20 6f 66 0a 20 20 20 20 20 20 20 20 20 20 ┆l pathname segment of ┆ 0x0c00…0c20 74 68 65 20 74 65 72 6d 69 6e 61 6c 20 64 65 76 69 63 65 20 66 69 6c 65 6e 61 6d 65 20 28 65 2e ┆the terminal device filename (e.┆ 0x0c20…0c40 67 2e 20 74 74 79 64 30 29 2e 20 20 46 6f 72 20 58 20 73 65 73 2d 0a 20 20 20 20 20 20 20 20 20 ┆g. ttyd0). For X ses- ┆ 0x0c40…0c60 20 73 69 6f 6e 73 2c 20 69 74 20 73 68 6f 75 6c 64 20 70 72 6f 62 61 62 6c 79 20 62 65 20 74 68 ┆ sions, it should probably be th┆ 0x0c60…0c80 65 20 6c 6f 63 61 6c 20 64 69 73 70 6c 61 79 20 6e 61 6d 65 0a 20 20 20 20 20 20 20 20 20 20 67 ┆e local display name g┆ 0x0c80…0ca0 69 76 65 6e 20 74 6f 20 74 68 65 20 75 73 65 72 73 20 73 65 73 73 69 6f 6e 20 28 65 2e 67 2e 20 ┆iven to the users session (e.g. ┆ 0x0ca0…0cc0 3a 30 29 2e 20 20 49 66 20 6e 6f 6e 65 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 73 70 65 63 69 ┆:0). If none is speci┆ 0x0cc0…0ce0 66 69 65 64 2c 20 74 68 65 20 74 65 72 6d 69 6e 61 6c 20 6e 61 6d 65 20 77 69 6c 6c 20 62 65 20 ┆fied, the terminal name will be ┆ 0x0ce0…0d00 64 65 74 65 72 6d 69 6e 65 64 20 77 69 74 68 0a 20 20 20 20 20 20 20 20 20 20 74 74 79 6e 61 6d ┆determined with ttynam┆ 0x0d00…0d20 65 28 33 29 20 61 6e 64 20 73 74 72 69 70 70 65 64 20 6f 66 20 6c 65 61 64 69 6e 67 20 63 6f 6d ┆e(3) and stripped of leading com┆ 0x0d20…0d40 70 6f 6e 65 6e 74 73 2e 0a 0a 20 20 20 20 20 2d 08 2d 08 2d 08 2d 68 08 68 08 68 08 68 20 5f 08 ┆ponents. - - - -h h h h _ ┆ 0x0d40…0d60 68 5f 08 6f 5f 08 73 5f 08 74 2d 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 0a 20 20 20 20 20 20 20 20 ┆h_ o_ s_ t-_ n_ a_ m_ e ┆ 0x0d60…0d80 20 20 54 68 69 73 20 69 73 20 73 65 74 20 66 6f 72 20 42 53 44 20 68 6f 73 74 73 20 74 6f 20 69 ┆ This is set for BSD hosts to i┆ 0x0d80…0da0 6e 64 69 63 61 74 65 20 74 68 61 74 20 74 68 65 20 73 65 73 73 69 6f 6e 0a 20 20 20 20 20 20 20 ┆ndicate that the session ┆ 0x0da0…0dc0 20 20 20 77 61 73 20 69 6e 69 74 69 61 74 65 64 20 66 72 6f 6d 20 61 20 72 65 6d 6f 74 65 20 68 ┆ was initiated from a remote h┆ 0x0dc0…0de0 6f 73 74 2e 20 20 49 6e 20 74 79 70 69 63 61 6c 20 78 64 6d 0a 20 20 20 20 20 20 20 20 20 20 75 ┆ost. In typical xdm u┆ 0x0de0…0e00 73 61 67 65 2c 20 74 68 69 73 20 6f 70 74 69 6f 6e 73 20 69 73 20 6e 6f 74 20 75 73 65 64 2e 0a ┆sage, this options is not used. ┆ 0x0e00…0e20 0a 20 20 20 20 20 2d 08 2d 08 2d 08 2d 73 08 73 08 73 08 73 20 5f 08 73 5f 08 6c 5f 08 6f 5f 08 ┆ - - - -s s s s _ s_ l_ o_ ┆ 0x0e20…0e40 74 2d 5f 08 6e 5f 08 75 5f 08 6d 5f 08 62 5f 08 65 5f 08 72 0a 20 20 20 20 20 20 20 20 20 20 45 ┆t-_ n_ u_ m_ b_ e_ r E┆ 0x0e40…0e60 61 63 68 20 70 6f 74 65 6e 74 69 61 6c 20 73 65 73 73 69 6f 6e 20 68 61 73 20 61 20 75 6e 69 71 ┆ach potential session has a uniq┆ 0x0e60…0e80 75 65 20 73 6c 6f 74 20 6e 75 6d 62 65 72 20 69 6e 20 42 53 44 0a 20 20 20 20 20 20 20 20 20 20 ┆ue slot number in BSD ┆ 0x0e80…0ea0 73 79 73 74 65 6d 73 2c 20 6d 6f 73 74 20 61 72 65 20 69 64 65 6e 74 69 66 69 65 64 20 62 79 20 ┆systems, most are identified by ┆ 0x0ea0…0ec0 74 68 65 20 70 6f 73 69 74 69 6f 6e 20 6f 66 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 5f 08 ┆the position of the _ ┆ 0x0ec0…0ee0 6c 5f 08 69 5f 08 6e 5f 08 65 2d 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 20 69 6e 20 74 68 65 20 2f ┆l_ i_ n_ e-_ n_ a_ m_ e in the /┆ 0x0ee0…0f00 65 74 63 2f 74 74 79 73 20 66 69 6c 65 2e 20 20 54 68 69 73 20 6f 70 74 69 6f 6e 20 6f 76 65 72 ┆etc/ttys file. This option over┆ 0x0f00…0f20 72 69 64 65 73 0a 20 20 20 20 20 20 20 20 20 20 74 68 65 20 64 65 66 61 75 6c 74 20 70 6f 73 69 ┆rides the default posi┆ 0x0f20…0f40 74 69 6f 6e 20 64 65 74 65 72 6d 69 6e 65 64 20 77 69 74 68 20 74 74 79 73 6c 6f 74 28 33 29 2e ┆tion determined with ttyslot(3).┆ 0x0f40…0f60 20 20 54 68 69 73 0a 20 20 20 20 20 20 20 20 20 20 6f 70 74 69 6f 6e 20 69 73 20 69 6e 61 70 70 ┆ This option is inapp┆ 0x0f60…0f80 72 6f 70 72 69 61 74 65 20 66 6f 72 20 75 73 65 20 77 69 74 68 20 78 64 6d 2c 20 74 68 65 20 2d ┆ropriate for use with xdm, the -┆ 0x0f80…0fa0 78 20 6f 70 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 69 73 20 6d 6f 72 65 20 75 73 65 66 75 ┆x option is more usefu┆ 0x0fa0…0fc0 6c 2e 0a 0a 20 20 20 20 20 2d 08 2d 08 2d 08 2d 78 08 78 08 78 08 78 20 5f 08 58 5f 08 73 5f 08 ┆l. - - - -x x x x _ X_ s_ ┆ 0x0fc0…0fe0 65 5f 08 72 5f 08 76 5f 08 65 5f 08 72 5f 08 73 2d 5f 08 66 5f 08 69 5f 08 6c 5f 08 65 0a 20 20 ┆e_ r_ v_ e_ r_ s-_ f_ i_ l_ e ┆ 0x0fe0…1000 20 20 20 20 20 20 20 20 41 73 20 58 20 73 65 73 73 69 6f 6e 73 20 61 72 65 20 6f 6e 65 2d 70 65 ┆ As X sessions are one-pe┆ 0x1000…1020 72 2d 64 69 73 70 6c 61 79 2c 20 61 6e 64 20 65 61 63 68 20 64 69 73 70 6c 61 79 20 69 73 0a 20 ┆r-display, and each display is ┆ 0x1020…1040 20 20 20 20 20 20 20 20 20 65 6e 74 65 72 65 64 20 69 6e 20 74 68 69 73 20 66 69 6c 65 2c 20 74 ┆ entered in this file, t┆ 0x1040…1060 68 69 73 20 6f 70 74 69 6f 6e 73 20 73 65 74 73 20 74 68 65 20 5f 08 73 5f 08 6c 5f 08 6f 5f 08 ┆his options sets the _ s_ l_ o_ ┆ 0x1060…1080 74 2d 5f 08 6e 5f 08 75 5f 08 6d 5f 08 62 5f 08 65 5f 08 72 0a 20 20 20 20 20 20 20 20 20 20 74 ┆t-_ n_ u_ m_ b_ e_ r t┆ 0x1080…10a0 6f 20 62 65 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 6c 69 6e 65 73 20 69 6e 20 74 68 65 20 ┆o be the number of lines in the ┆ 0x10a0…10c0 5f 08 74 5f 08 74 5f 08 79 5f 08 73 2d 5f 08 66 5f 08 69 5f 08 6c 5f 08 65 20 70 6c 75 73 20 74 ┆_ t_ t_ y_ s-_ f_ i_ l_ e plus t┆ 0x10c0…10e0 68 65 0a 20 20 20 20 20 20 20 20 20 20 69 6e 64 65 78 20 69 6e 74 6f 20 74 68 69 73 20 66 69 6c ┆he index into this fil┆ 0x10e0…1100 65 20 74 68 61 74 20 74 68 65 20 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 2d 5f 08 6e 5f 08 61 5f 08 ┆e that the _ l_ i_ n_ e-_ n_ a_ ┆ 0x1100…1120 6d 5f 08 65 20 69 73 20 66 6f 75 6e 64 2e 0a 0a 20 20 20 20 20 2d 08 2d 08 2d 08 2d 74 08 74 08 ┆m_ e is found. - - - -t t ┆ 0x1120…1140 74 08 74 20 5f 08 74 5f 08 74 5f 08 79 5f 08 73 2d 5f 08 66 5f 08 69 5f 08 6c 5f 08 65 0a 20 20 ┆t t _ t_ t_ y_ s-_ f_ i_ l_ e ┆ 0x1140…1160 20 20 20 20 20 20 20 20 54 68 69 73 20 73 70 65 63 69 66 69 65 73 20 61 6e 20 61 6c 74 65 72 6e ┆ This specifies an altern┆ 0x1160…1180 61 74 65 20 66 69 6c 65 20 77 68 69 63 68 20 74 68 65 20 2d 5f 08 78 20 6f 70 74 69 6f 6e 0a 20 ┆ate file which the -_ x option ┆ 0x1180…11a0 20 20 20 20 20 20 20 20 20 77 69 6c 6c 20 75 73 65 20 74 6f 20 63 6f 75 6e 74 20 74 68 65 20 6e ┆ will use to count the n┆ 0x11a0…11c0 75 6d 62 65 72 20 6f 66 20 74 65 72 6d 69 6e 61 6c 20 73 65 73 73 69 6f 6e 73 20 6f 6e 20 61 0a ┆umber of terminal sessions on a ┆ 0x11c0…11e0 20 20 20 20 20 20 20 20 20 20 68 6f 73 74 2e 0a 0a 20 20 20 20 20 2d 08 2d 08 2d 08 2d 61 08 61 ┆ host. - - - -a a┆ 0x11e0…1200 08 61 08 61 20 20 20 54 68 69 73 20 73 65 73 73 69 6f 6e 20 73 68 6f 75 6c 64 20 62 65 20 61 64 ┆ a a This session should be ad┆ 0x1200…1220 64 65 64 20 74 6f 20 75 74 6d 70 2f 77 74 6d 70 2e 0a 0a 20 20 20 20 20 2d 08 2d 08 2d 08 2d 64 ┆ded to utmp/wtmp. - - - -d┆ 0x1220…1240 08 64 08 64 08 64 20 20 20 54 68 69 73 20 73 65 73 73 69 6f 6e 20 73 68 6f 75 6c 64 20 62 65 20 ┆ d d d This session should be ┆ 0x1240…1260 64 65 6c 65 74 65 64 20 66 72 6f 6d 20 75 74 6d 70 2f 77 74 6d 70 2e 20 20 4f 6e 65 20 6f 66 0a ┆deleted from utmp/wtmp. One of ┆ 0x1260…1280 20 20 20 20 20 20 20 20 20 20 2d 61 2f 2d 64 20 6d 75 73 74 20 62 65 20 73 70 65 63 69 66 69 65 ┆ -a/-d must be specifie┆ 0x1280…12a0 64 2e 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20 41 08 41 08 41 08 ┆d. S S S SE E E EE E E E A A A ┆ 0x12a0…12c0 41 4c 08 4c 08 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 78 64 6d 28 ┆AL L L LS S S SO O O O xdm(┆ 0x12c0…12e0 31 29 0a 0a 43 08 43 08 43 08 43 4f 08 4f 08 4f 08 4f 50 08 50 08 50 08 50 59 08 59 08 59 08 59 ┆1) C C C CO O O OP P P PY Y Y Y┆ 0x12e0…1300 52 08 52 08 52 08 52 49 08 49 08 49 08 49 47 08 47 08 47 08 47 48 08 48 08 48 08 48 54 08 54 08 ┆R R R RI I I IG G G GH H H HT T ┆ 0x1300…1320 54 08 54 0a 20 20 20 20 20 43 6f 70 79 72 69 67 68 74 20 31 39 38 38 2c 20 4d 61 73 73 61 63 68 ┆T T Copyright 1988, Massach┆ 0x1320…1340 75 73 65 74 74 73 20 49 6e 73 74 69 74 75 74 65 20 6f 66 20 54 65 63 68 6e 6f 6c 6f 67 79 2e 0a ┆usetts Institute of Technology. ┆ 0x1340…1360 20 20 20 20 20 53 65 65 20 5f 08 58 28 5f 08 31 29 20 66 6f 72 20 61 20 66 75 6c 6c 20 73 74 61 ┆ See _ X(_ 1) for a full sta┆ 0x1360…1380 74 65 6d 65 6e 74 20 6f 66 20 72 69 67 68 74 73 20 61 6e 64 20 70 65 72 6d 69 73 73 69 6f 6e 73 ┆tement of rights and permissions┆ 0x1380…13a0 2e 0a 0a 41 08 41 08 41 08 41 55 08 55 08 55 08 55 54 08 54 08 54 08 54 48 08 48 08 48 08 48 4f ┆. A A A AU U U UT T T TH H H HO┆ 0x13a0…13c0 08 4f 08 4f 08 4f 52 08 52 08 52 08 52 0a 20 20 20 20 20 4b 65 69 74 68 20 50 61 63 6b 61 72 64 ┆ O O OR R R R Keith Packard┆ 0x13c0…13e0 2c 20 4d 49 54 20 58 20 43 6f 6e 73 6f 72 74 69 75 6d 0a 0a 41 75 67 75 73 74 20 31 39 39 31 20 ┆, MIT X Consortium August 1991 ┆ 0x13e0…1400 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 20 ┆ ┆ 0x1400…141f 20 20 54 58 20 55 73 65 72 27 73 20 52 65 66 65 72 65 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆ TX User's Reference ┆