|
|
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: w
Length: 2336 (0x920)
Names: »write.1«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat1/write.1«
0x000…020 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_┆ 0x020…040 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┆ 0x040…060 64 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 72 69 74 65 28 31 29 0a 0a 0a 0a ┆ds write(1) ┆ 0x060…080 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 ┆ 0x080…0a0 20 20 77 72 69 74 65 20 2d 20 77 72 69 74 65 20 74 6f 20 61 6e 6f 74 68 65 72 20 75 73 65 72 0a ┆ write - write to another user ┆ 0x0a0…0c0 0a 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 ┆ S S S SY Y Y YN N N NT T T TA A┆ 0x0c0…0e0 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 77 08 77 08 77 08 77 72 08 72 08 72 08 72 69 ┆ A AX X X X w w w wr r r ri┆ 0x0e0…100 08 69 08 69 08 69 74 08 74 08 74 08 74 65 08 65 08 65 08 65 20 75 73 65 72 20 5b 20 74 65 72 6d ┆ i i it t t te e e e user [ term┆ 0x100…120 69 6e 61 6c 20 5d 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 ┆inal ] D D D DE E E ES S S SC C┆ 0x120…140 08 43 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 ┆ C CR R R RI I I IP P P PT T T T┆ 0x140…160 49 08 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 77 5f 08 ┆I I I IO O O ON N N N _ w_ ┆ 0x160…180 72 5f 08 69 5f 08 74 5f 08 65 20 63 6f 70 69 65 73 20 6c 69 6e 65 73 20 66 72 6f 6d 20 79 6f 75 ┆r_ i_ t_ e copies lines from you┆ 0x180…1a0 72 20 74 65 72 6d 69 6e 61 6c 20 74 6f 20 74 68 61 74 20 6f 66 20 61 6e 6f 74 68 65 72 0a 20 20 ┆r terminal to that of another ┆ 0x1a0…1c0 20 20 20 75 73 65 72 2e 20 20 57 68 65 6e 20 66 69 72 73 74 20 63 61 6c 6c 65 64 2c 20 69 74 20 ┆ user. When first called, it ┆ 0x1c0…1e0 73 65 6e 64 73 20 74 68 65 20 6d 65 73 73 61 67 65 0a 0a 20 20 20 20 20 20 20 20 20 20 4d 08 4d ┆sends the message M M┆ 0x1e0…200 08 4d 08 4d 65 08 65 08 65 08 65 73 08 73 08 73 08 73 73 08 73 08 73 08 73 61 08 61 08 61 08 61 ┆ M Me e e es s s ss s s sa a a a┆ 0x200…220 67 08 67 08 67 08 67 65 08 65 08 65 08 65 20 66 08 66 08 66 08 66 72 08 72 08 72 08 72 6f 08 6f ┆g g g ge e e e f f f fr r r ro o┆ 0x220…240 08 6f 08 6f 6d 08 6d 08 6d 08 6d 20 5f 08 68 5f 08 6f 5f 08 73 5f 08 74 5f 08 6e 5f 08 61 5f 08 ┆ o om m m m _ h_ o_ s_ t_ n_ a_ ┆ 0x240…260 6d 5f 08 65 21 5f 08 73 5f 08 65 5f 08 6e 5f 08 64 5f 08 65 5f 08 72 2d 5f 08 6c 5f 08 6f 5f 08 ┆m_ e!_ s_ e_ n_ d_ e_ r-_ l_ o_ ┆ 0x260…280 67 5f 08 69 5f 08 6e 2d 5f 08 69 5f 08 64 20 6f 08 6f 08 6f 08 6f 6e 08 6e 08 6e 08 6e 20 74 08 ┆g_ i_ n-_ i_ d o o o on n n n t ┆ 0x280…2a0 74 08 74 08 74 74 08 74 08 74 08 74 79 08 79 08 79 08 79 5f 08 78 5f 08 78 5f 08 78 5f 08 6e 5f ┆t t tt t t ty y y y_ x_ x_ x_ n_┆ 0x2a0…2c0 08 6e 5f 08 6e 20 61 08 61 08 61 08 61 74 08 74 08 74 08 74 0a 20 20 20 20 20 20 20 20 20 20 5f ┆ n_ n a a a at t t t _┆ 0x2c0…2e0 08 74 5f 08 69 5f 08 6d 5f 08 65 0a 0a 20 20 20 20 20 74 6f 20 74 68 65 20 61 64 72 65 73 73 65 ┆ t_ i_ m_ e to the adresse┆ 0x2e0…300 64 20 75 73 65 72 2e 20 20 54 68 65 20 72 65 63 69 70 69 65 6e 74 20 6f 66 20 74 68 65 20 6d 65 ┆d user. The recipient of the me┆ 0x300…320 73 73 61 67 65 20 73 68 6f 75 6c 64 0a 20 20 20 20 20 77 72 69 74 65 20 62 61 63 6b 20 61 74 20 ┆ssage should write back at ┆ 0x320…340 74 68 69 73 20 70 6f 69 6e 74 2e 20 20 43 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 6f 6e 74 69 ┆this point. Communication conti┆ 0x340…360 6e 75 65 73 20 75 6e 74 69 6c 20 61 6e 0a 20 20 20 20 20 65 6e 64 20 6f 66 20 66 69 6c 65 20 69 ┆nues until an end of file i┆ 0x360…380 73 20 72 65 61 64 20 66 72 6f 6d 20 74 68 65 20 74 65 72 6d 69 6e 61 6c 20 6f 72 20 61 6e 20 69 ┆s read from the terminal or an i┆ 0x380…3a0 6e 74 65 72 72 75 70 74 20 69 73 0a 20 20 20 20 20 73 65 6e 74 2e 20 20 41 74 20 74 68 61 74 20 ┆nterrupt is sent. At that ┆ 0x3a0…3c0 70 6f 69 6e 74 20 5f 08 77 5f 08 72 5f 08 69 5f 08 74 5f 08 65 20 77 72 69 74 65 73 20 60 45 4f ┆point _ w_ r_ i_ t_ e writes `EO┆ 0x3c0…3e0 54 27 20 6f 6e 20 74 68 65 20 6f 74 68 65 72 20 74 65 72 6d 69 2d 0a 20 20 20 20 20 6e 61 6c 20 ┆T' on the other termi- nal ┆ 0x3e0…400 61 6e 64 20 65 78 69 74 73 2e 0a 0a 20 20 20 20 20 49 66 20 79 6f 75 20 77 61 6e 74 20 74 6f 20 ┆and exits. If you want to ┆ 0x400…420 77 72 69 74 65 20 74 6f 20 61 20 75 73 65 72 20 77 68 6f 20 69 73 20 6c 6f 67 67 65 64 20 69 6e ┆write to a user who is logged in┆ 0x420…440 20 6d 6f 72 65 20 74 68 61 6e 0a 20 20 20 20 20 6f 6e 63 65 2c 20 74 68 65 20 5f 08 74 5f 08 65 ┆ more than once, the _ t_ e┆ 0x440…460 5f 08 72 5f 08 6d 5f 08 69 5f 08 6e 5f 08 61 5f 08 6c 20 61 72 67 75 6d 65 6e 74 20 6d 61 79 20 ┆_ r_ m_ i_ n_ a_ l argument may ┆ 0x460…480 62 65 20 75 73 65 64 20 74 6f 20 69 6e 64 69 63 61 74 65 20 74 68 65 0a 20 20 20 20 20 61 70 70 ┆be used to indicate the app┆ 0x480…4a0 72 6f 70 72 69 61 74 65 20 74 65 72 6d 69 6e 61 6c 20 6e 61 6d 65 20 28 65 2e 67 2e 20 20 74 08 ┆ropriate terminal name (e.g. t ┆ 0x4a0…4c0 74 08 74 08 74 74 08 74 08 74 08 74 79 08 79 08 79 08 79 61 08 61 08 61 08 61 61 08 61 08 61 08 ┆t t tt t t ty y y ya a a aa a a ┆ 0x4c0…4e0 61 61 08 61 08 61 08 61 30 08 30 08 30 08 30 30 08 30 08 30 08 30 30 08 30 08 30 08 30 29 2e 0a ┆aa a a a0 0 0 00 0 0 00 0 0 0). ┆ 0x4e0…500 0a 20 20 20 20 20 50 65 72 6d 69 73 73 69 6f 6e 20 74 6f 20 77 72 69 74 65 20 6d 61 79 20 62 65 ┆ Permission to write may be┆ 0x500…520 20 64 65 6e 69 65 64 20 6f 72 20 67 72 61 6e 74 65 64 20 62 79 20 75 73 65 20 6f 66 20 74 68 65 ┆ denied or granted by use of the┆ 0x520…540 0a 20 20 20 20 20 5f 08 6d 5f 08 65 5f 08 73 5f 08 67 28 31 29 20 63 6f 6d 6d 61 6e 64 2e 20 20 ┆ _ m_ e_ s_ g(1) command. ┆ 0x540…560 41 74 20 74 68 65 20 6f 75 74 73 65 74 20 77 72 69 74 69 6e 67 20 69 73 20 61 6c 6c 6f 77 65 64 ┆At the outset writing is allowed┆ 0x560…580 2e 20 20 43 65 72 74 61 69 6e 0a 20 20 20 20 20 63 6f 6d 6d 61 6e 64 73 2c 20 69 6e 20 70 61 72 ┆. Certain commands, in par┆ 0x580…5a0 74 69 63 75 6c 61 72 20 5f 08 6e 5f 08 72 5f 08 6f 5f 08 66 5f 08 66 28 31 29 20 61 6e 64 20 5f ┆ticular _ n_ r_ o_ f_ f(1) and _┆ 0x5a0…5c0 08 70 5f 08 72 28 31 29 20 64 69 73 61 6c 6c 6f 77 20 6d 65 73 73 61 67 65 73 0a 20 20 20 20 20 ┆ p_ r(1) disallow messages ┆ 0x5c0…5e0 69 6e 20 6f 72 64 65 72 20 74 6f 20 70 72 65 76 65 6e 74 20 6d 65 73 73 79 20 6f 75 74 70 75 74 ┆in order to prevent messy output┆ 0x5e0…600 2e 0a 0a 20 20 20 20 20 49 66 20 74 68 65 20 63 68 61 72 61 63 74 65 72 20 60 21 27 20 69 73 20 ┆. If the character `!' is ┆ 0x600…620 66 6f 75 6e 64 20 61 74 20 74 68 65 20 62 65 67 69 6e 6e 69 6e 67 20 6f 66 20 61 20 6c 69 6e 65 ┆found at the beginning of a line┆ 0x620…640 2c 0a 20 20 20 20 20 5f 08 77 5f 08 72 5f 08 69 5f 08 74 5f 08 65 20 63 61 6c 6c 73 20 74 68 65 ┆, _ w_ r_ i_ t_ e calls the┆ 0x640…660 20 73 68 65 6c 6c 20 74 6f 20 65 78 65 63 75 74 65 20 74 68 65 20 72 65 73 74 20 6f 66 20 74 68 ┆ shell to execute the rest of th┆ 0x660…680 65 20 6c 69 6e 65 20 61 73 20 61 0a 20 20 20 20 20 63 6f 6d 6d 61 6e 64 2e 0a 0a 20 20 20 20 20 ┆e line as a command. ┆ 0x680…6a0 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 70 72 6f 74 6f 63 6f 6c 20 69 73 20 73 75 67 67 65 73 ┆The following protocol is sugges┆ 0x6a0…6c0 74 65 64 20 66 6f 72 20 75 73 69 6e 67 20 5f 08 77 5f 08 72 5f 08 69 5f 08 74 5f 08 65 3a 20 77 ┆ted for using _ w_ r_ i_ t_ e: w┆ 0x6c0…6e0 68 65 6e 0a 20 20 20 20 20 79 6f 75 20 66 69 72 73 74 20 77 72 69 74 65 20 74 6f 20 61 6e 6f 74 ┆hen you first write to anot┆ 0x6e0…700 68 65 72 20 75 73 65 72 2c 20 77 61 69 74 20 66 6f 72 20 68 69 6d 20 74 6f 20 77 72 69 74 65 20 ┆her user, wait for him to write ┆ 0x700…720 62 61 63 6b 0a 20 20 20 20 20 62 65 66 6f 72 65 20 73 74 61 72 74 69 6e 67 20 74 6f 20 73 65 6e ┆back before starting to sen┆ 0x720…740 64 2e 20 20 45 61 63 68 20 70 61 72 74 79 20 73 68 6f 75 6c 64 20 65 6e 64 20 65 61 63 68 20 6d ┆d. Each party should end each m┆ 0x740…760 65 73 73 61 67 65 0a 20 20 20 20 20 77 69 74 68 20 61 20 64 69 73 74 69 6e 63 74 69 76 65 20 73 ┆essage with a distinctive s┆ 0x760…780 69 67 6e 61 6c 20 2d 20 28 08 28 08 28 08 28 6f 08 6f 08 6f 08 6f 29 08 29 08 29 08 29 20 66 6f ┆ignal - ( ( ( (o o o o) ) ) ) fo┆ 0x780…7a0 72 20 60 6f 76 65 72 27 20 69 73 20 63 6f 6e 76 65 6e 74 69 6f 6e 61 6c 20 2d 0a 20 20 20 20 20 ┆r `over' is conventional - ┆ 0x7a0…7c0 74 68 61 74 20 74 68 65 20 6f 74 68 65 72 20 6d 61 79 20 72 65 70 6c 79 2e 20 20 28 08 28 08 28 ┆that the other may reply. ( ( (┆ 0x7c0…7e0 08 28 6f 08 6f 08 6f 08 6f 6f 08 6f 08 6f 08 6f 29 08 29 08 29 08 29 20 66 6f 72 20 60 6f 76 65 ┆ (o o o oo o o o) ) ) ) for `ove┆ 0x7e0…800 72 20 61 6e 64 20 6f 75 74 27 20 69 73 20 73 75 67 2d 0a 20 20 20 20 20 67 65 73 74 65 64 20 77 ┆r and out' is sug- gested w┆ 0x800…820 68 65 6e 20 63 6f 6e 76 65 72 73 61 74 69 6f 6e 20 69 73 20 61 62 6f 75 74 20 74 6f 20 62 65 20 ┆hen conversation is about to be ┆ 0x820…840 74 65 72 6d 69 6e 61 74 65 64 2e 0a 0a 46 08 46 08 46 08 46 49 08 49 08 49 08 49 4c 08 4c 08 4c ┆terminated. F F F FI I I IL L L┆ 0x840…860 08 4c 45 08 45 08 45 08 45 53 08 53 08 53 08 53 0a 20 20 20 20 20 2f 65 74 63 2f 75 74 6d 70 20 ┆ LE E E ES S S S /etc/utmp ┆ 0x860…880 74 6f 20 66 69 6e 64 20 75 73 65 72 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 ┆to find user S S S SE E E EE E ┆ 0x880…8a0 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 08 4f 08 4f ┆E E A A A AL L L LS S S SO O O O┆ 0x8a0…8c0 0a 20 20 20 20 20 55 73 65 72 20 43 6f 6d 6d 61 6e 64 73 20 28 31 29 3a 20 20 6d 61 69 6c 2c 20 ┆ User Commands (1): mail, ┆ 0x8c0…8e0 6d 65 73 67 2c 20 74 61 6c 6b 2c 20 77 68 6f 0a 0a 41 70 72 69 6c 20 31 39 39 30 20 20 20 20 20 ┆mesg, talk, who April 1990 ┆ 0x8e0…900 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 54 ┆ T┆ 0x900…920 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 0a 0a 0a 0a ┆X User's Reference ┆