|
|
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: 1977 (0x7b9)
Names: »script.1«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat1/script.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 73 63 72 69 70 74 28 31 29 0a 0a 0a 0a ┆ds script(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 73 63 72 69 70 74 20 2d 20 6d 61 6b 65 20 74 79 70 65 73 63 72 69 70 74 20 6f 66 20 74 65 ┆ script - make typescript of te┆ 0x0a0…0c0 72 6d 69 6e 61 6c 20 73 65 73 73 69 6f 6e 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 ┆rminal session S S S SY Y Y YN ┆ 0x0c0…0e0 4e 08 4e 08 4e 54 08 54 08 54 08 54 41 08 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 ┆N N NT T T TA A A AX X X X ┆ 0x0e0…100 73 08 73 08 73 08 73 63 08 63 08 63 08 63 72 08 72 08 72 08 72 69 08 69 08 69 08 69 70 08 70 08 ┆s s s sc c c cr r r ri i i ip p ┆ 0x100…120 70 08 70 74 08 74 08 74 08 74 20 5b 20 2d 08 2d 08 2d 08 2d 61 08 61 08 61 08 61 20 5d 20 5b 20 ┆p pt t t t [ - - - -a a a a ] [ ┆ 0x120…140 66 69 6c 65 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 ┆file ] D D D DE E E ES S S SC C┆ 0x140…160 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┆ 0x160…180 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 73 5f 08 ┆I I I IO O O ON N N N _ s_ ┆ 0x180…1a0 63 5f 08 72 5f 08 69 5f 08 70 5f 08 74 20 6d 61 6b 65 73 20 61 20 74 79 70 65 73 63 72 69 70 74 ┆c_ r_ i_ p_ t makes a typescript┆ 0x1a0…1c0 20 6f 66 20 65 76 65 72 79 74 68 69 6e 67 20 70 72 69 6e 74 65 64 20 6f 6e 20 79 6f 75 72 20 74 ┆ of everything printed on your t┆ 0x1c0…1e0 65 72 2d 0a 20 20 20 20 20 6d 69 6e 61 6c 2e 20 20 54 68 65 20 74 79 70 65 73 63 72 69 70 74 20 ┆er- minal. The typescript ┆ 0x1e0…200 69 73 20 77 72 69 74 74 65 6e 20 74 6f 20 74 68 65 20 67 69 76 65 6e 20 66 69 6c 65 2e 20 20 54 ┆is written to the given file. T┆ 0x200…220 68 65 0a 20 20 20 20 20 66 69 6c 65 20 63 61 6e 20 62 65 20 73 65 6e 74 20 74 6f 20 74 68 65 20 ┆he file can be sent to the ┆ 0x220…240 6c 69 6e 65 20 70 72 69 6e 74 65 72 20 6c 61 74 65 72 20 77 69 74 68 20 5f 08 6c 5f 08 70 5f 08 ┆line printer later with _ l_ p_ ┆ 0x240…260 72 2e 20 20 49 66 20 6e 6f 0a 20 20 20 20 20 66 69 6c 65 20 69 73 20 6e 61 6d 65 64 2c 20 74 68 ┆r. If no file is named, th┆ 0x260…280 65 20 74 79 70 65 73 63 72 69 70 74 20 69 73 20 73 61 76 65 64 20 69 6e 20 74 68 65 20 66 69 6c ┆e typescript is saved in the fil┆ 0x280…2a0 65 0a 20 20 20 20 20 74 79 70 65 73 63 72 69 70 74 20 2e 0a 0a 20 20 20 20 20 2d 08 2d 08 2d 08 ┆e typescript . - - - ┆ 0x2a0…2c0 2d 61 08 61 08 61 08 61 20 20 20 41 70 70 65 6e 64 73 20 74 6f 20 74 68 65 20 6e 61 6d 65 64 20 ┆-a a a a Appends to the named ┆ 0x2c0…2e0 74 79 70 65 73 63 72 69 70 74 20 66 69 6c 65 20 28 69 6e 73 74 65 61 64 20 6f 66 0a 20 20 20 20 ┆typescript file (instead of ┆ 0x2e0…300 20 20 20 20 20 20 6f 76 65 72 77 72 69 74 69 6e 67 20 61 6e 20 65 78 69 73 74 69 6e 67 20 66 69 ┆ overwriting an existing fi┆ 0x300…320 6c 65 29 2e 0a 0a 20 20 20 20 20 41 20 73 68 65 6c 6c 20 69 73 20 66 6f 72 6b 65 64 20 77 68 65 ┆le). A shell is forked whe┆ 0x320…340 6e 20 74 68 65 20 5f 08 73 5f 08 63 5f 08 72 5f 08 69 5f 08 70 5f 08 74 20 63 6f 6d 6d 61 6e 64 ┆n the _ s_ c_ r_ i_ p_ t command┆ 0x340…360 20 69 73 20 65 78 65 63 75 74 65 64 2e 20 20 54 6f 0a 20 20 20 20 20 65 78 69 74 20 73 63 72 69 ┆ is executed. To exit scri┆ 0x360…380 70 74 2c 20 65 78 69 74 20 74 68 65 20 66 6f 72 6b 65 64 20 73 68 65 6c 6c 20 62 79 20 74 79 70 ┆pt, exit the forked shell by typ┆ 0x380…3a0 69 6e 67 20 3c 43 74 72 6c 2d 64 3e 2e 0a 0a 20 20 20 20 20 54 68 69 73 20 75 74 69 6c 69 74 79 ┆ing <Ctrl-d>. This utility┆ 0x3a0…3c0 20 61 6c 6c 6f 77 73 20 77 6f 72 6b 20 64 6f 6e 65 20 6f 6e 20 61 20 43 52 54 20 74 6f 20 62 65 ┆ allows work done on a CRT to be┆ 0x3c0…3e0 20 72 65 63 6f 72 64 65 64 2c 0a 20 20 20 20 20 77 69 74 68 6f 75 74 20 72 65 71 75 69 72 69 6e ┆ recorded, without requirin┆ 0x3e0…400 67 20 61 20 68 61 72 64 2d 63 6f 70 79 20 64 65 76 69 63 65 2e 0a 0a 4c 08 4c 08 4c 08 4c 49 08 ┆g a hard-copy device. L L L LI ┆ 0x400…420 49 08 49 08 49 4d 08 4d 08 4d 08 4d 49 08 49 08 49 08 49 54 08 54 08 54 08 54 41 08 41 08 41 08 ┆I I IM M M MI I I IT T T TA A A ┆ 0x420…440 41 54 08 54 08 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 53 08 53 ┆AT T T TI I I IO O O ON N N NS S┆ 0x440…460 08 53 08 53 0a 20 20 20 20 20 53 69 6e 63 65 20 74 68 65 20 73 79 73 74 65 6d 20 68 61 73 20 6e ┆ S S Since the system has n┆ 0x460…480 6f 20 77 61 79 20 74 6f 20 77 72 69 74 65 20 61 6e 20 65 6e 64 2d 6f 66 2d 66 69 6c 65 20 64 6f ┆o way to write an end-of-file do┆ 0x480…4a0 77 6e 20 61 0a 20 20 20 20 20 70 69 70 65 20 77 69 74 68 6f 75 74 20 63 6c 6f 73 69 6e 67 20 74 ┆wn a pipe without closing t┆ 0x4a0…4c0 68 65 20 70 69 70 65 2c 20 74 68 65 72 65 20 69 73 20 6e 6f 20 77 61 79 20 74 6f 20 73 69 6d 75 ┆he pipe, there is no way to simu┆ 0x4c0…4e0 6c 61 74 65 20 61 0a 20 20 20 20 20 73 69 6e 67 6c 65 20 3c 43 74 72 6c 2d 64 3e 20 77 69 74 68 ┆late a single <Ctrl-d> with┆ 0x4e0…500 6f 75 74 20 65 6e 64 69 6e 67 20 5f 08 73 5f 08 63 5f 08 72 5f 08 69 5f 08 70 5f 08 74 2e 0a 0a ┆out ending _ s_ c_ r_ i_ p_ t. ┆ 0x500…520 20 20 20 20 20 54 68 65 20 73 68 65 6c 6c 20 73 74 61 72 74 65 64 20 62 79 20 5f 08 73 5f 08 63 ┆ The shell started by _ s_ c┆ 0x520…540 5f 08 72 5f 08 69 5f 08 70 5f 08 74 20 68 61 73 20 69 74 73 20 73 74 61 6e 64 61 72 64 20 69 6e ┆_ r_ i_ p_ t has its standard in┆ 0x540…560 70 75 74 20 63 6f 6d 69 6e 67 0a 20 20 20 20 20 66 72 6f 6d 20 61 20 70 69 70 65 20 72 61 74 68 ┆put coming from a pipe rath┆ 0x560…580 65 72 20 74 68 61 6e 20 61 20 74 65 72 6d 69 6e 61 6c 2c 20 73 6f 20 73 74 74 79 20 77 69 6c 6c ┆er than a terminal, so stty will┆ 0x580…5a0 20 6e 6f 74 20 77 6f 72 6b 2c 0a 20 20 20 20 20 61 6e 64 20 6e 65 69 74 68 65 72 20 77 69 6c 6c ┆ not work, and neither will┆ 0x5a0…5c0 20 74 74 79 6e 61 6d 65 2e 20 20 49 6e 20 70 61 72 74 69 63 75 6c 61 72 2c 20 74 68 69 73 20 6d ┆ ttyname. In particular, this m┆ 0x5c0…5e0 65 61 6e 73 20 74 68 61 74 0a 20 20 20 20 20 73 63 72 65 65 6e 20 65 64 69 74 6f 72 73 20 73 75 ┆eans that screen editors su┆ 0x5e0…600 63 68 20 61 73 20 5f 08 76 5f 08 69 28 31 29 20 61 6e 64 20 74 68 65 20 6a 6f 62 20 63 6f 6e 74 ┆ch as _ v_ i(1) and the job cont┆ 0x600…620 72 6f 6c 20 66 61 63 69 6c 69 74 69 65 73 0a 20 20 20 20 20 6f 66 20 5f 08 63 5f 08 73 5f 08 68 ┆rol facilities of _ c_ s_ h┆ 0x620…640 28 31 29 20 61 72 65 20 69 6e 6f 70 65 72 61 74 69 76 65 2e 0a 0a 20 20 20 20 20 57 68 65 6e 20 ┆(1) are inoperative. When ┆ 0x640…660 74 68 65 20 75 73 65 72 20 69 6e 74 65 72 72 75 70 74 73 20 61 20 70 72 69 6e 74 69 6e 67 20 70 ┆the user interrupts a printing p┆ 0x660…680 72 6f 63 65 73 73 2c 20 5f 08 73 5f 08 63 5f 08 72 5f 08 69 5f 08 70 5f 08 74 20 61 74 74 65 6d ┆rocess, _ s_ c_ r_ i_ p_ t attem┆ 0x680…6a0 70 74 73 0a 20 20 20 20 20 74 6f 20 66 6c 75 73 68 20 74 68 65 20 6f 75 74 70 75 74 20 62 61 63 ┆pts to flush the output bac┆ 0x6a0…6c0 6b 65 64 20 75 70 20 69 6e 20 74 68 65 20 70 69 70 65 20 66 6f 72 20 62 65 74 74 65 72 0a 20 20 ┆ked up in the pipe for better ┆ 0x6c0…6e0 20 20 20 72 65 73 70 6f 6e 73 65 2e 20 20 55 73 75 61 6c 6c 79 20 74 68 65 20 6e 65 78 74 20 70 ┆ response. Usually the next p┆ 0x6e0…700 72 6f 6d 70 74 20 61 6c 73 6f 20 67 65 74 73 20 66 6c 75 73 68 65 64 2e 0a 0a 20 20 20 20 20 5f ┆rompt also gets flushed. _┆ 0x700…720 08 73 5f 08 63 5f 08 72 5f 08 69 5f 08 70 5f 08 74 20 70 6c 61 63 65 73 20 65 76 65 72 79 74 68 ┆ s_ c_ r_ i_ p_ t places everyth┆ 0x720…740 69 6e 67 20 69 6e 20 74 68 65 20 6c 6f 67 20 66 69 6c 65 2e 20 20 54 68 69 73 20 69 73 20 6e 6f ┆ing in the log file. This is no┆ 0x740…760 74 20 77 68 61 74 0a 20 20 20 20 20 74 68 65 20 6e 61 69 76 65 20 75 73 65 72 20 65 78 70 65 63 ┆t what the naive user expec┆ 0x760…780 74 73 2e 0a 0a 4d 61 72 63 68 20 31 39 38 39 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ts. March 1989 ┆ 0x780…7a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 58 20 55 73 65 72 27 73 20 52 65 66 ┆ TX User's Ref┆ 0x7a0…7b9 65 72 65 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆erence ┆