home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Tape Archive
(archive/tar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Tape Archive (archive/tar)
| magic
| Supported |
100%
| file
| POSIX tar archive (GNU)
| default
| |
99%
| file
| POSIX tar archive (GNU), directory perl-4.036/, mode 2755 , uid 6206 , gid 22 , size 0 , seconds 5335542265, user djm, group umd
| default
| |
98%
| file
| data
| default
| |
62%
| TrID
| TAR - Tape ARchive (GNU)
| default
| |
37%
| TrID
| TAR - Tape ARchive (directory)
| default
| |
100%
| siegfried
| x-fmt/265 Tape Archive Format
| default
| |
100%
| lsar
| Tar
| default
| |
100%
| gt2
| TAR Archiv gefunden (Auflistung ist deaktiviert)
| default
| |
100%
| disktype
| GNU tar archive
| default
| |
100%
| detectItEasy
| Archive: tar
| default
| |
100%
| binwalkID
| POSIX tar archive (GNU), owner user name: "36/"
| default
| |
100%
| xdgMime
| application/x-tar
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 70 65 72 6c 2d 34 2e 30 | 33 36 2f 00 00 00 00 00 |perl-4.0|36/.....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 20 20 32 37 | 35 35 20 00 20 20 36 32 |.... 27|55 . 62|
|00000070| 30 36 20 00 20 20 20 20 | 32 32 20 00 20 20 20 20 |06 . |22 . |
|00000080| 20 20 20 20 20 20 30 20 | 20 35 33 33 35 35 34 32 | 0 | 5335542|
|00000090| 32 36 35 20 20 31 30 31 | 35 34 00 20 35 00 00 00 |265 101|54. 5...|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 75 73 74 61 72 20 20 | 00 64 6a 6d 00 00 00 00 |.ustar |.djm....|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 75 6d 64 00 00 00 00 |........|.umd....|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 70 65 72 6c 2d 34 2e 30 | 33 36 2f 61 74 61 72 69 |perl-4.0|36/atari|
|00000210| 73 74 2f 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |st/.....|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 20 20 32 37 | 35 35 20 00 20 20 36 32 |.... 27|55 . 62|
|00000270| 30 36 20 00 20 20 20 20 | 32 32 20 00 20 20 20 20 |06 . |22 . |
|00000280| 20 20 20 20 20 20 30 20 | 20 35 33 33 35 35 34 32 | 0 | 5335542|
|00000290| 32 31 32 20 20 31 31 36 | 31 33 00 20 35 00 00 00 |212 116|13. 5...|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 75 73 74 61 72 20 20 | 00 64 6a 6d 00 00 00 00 |.ustar |.djm....|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 75 6d 64 00 00 00 00 |........|.umd....|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 70 65 72 6c 2d 34 2e 30 | 33 36 2f 61 74 61 72 69 |perl-4.0|36/atari|
|00000410| 73 74 2f 52 45 41 44 4d | 45 2e 53 54 00 00 00 00 |st/READM|E.ST....|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 20 36 32 |.... 6|44 . 62|
|00000470| 30 36 20 00 20 20 20 20 | 32 32 20 00 20 20 20 20 |06 . |22 . |
|00000480| 20 20 31 35 31 31 32 20 | 20 35 33 33 35 35 34 31 | 15112 | 5335541|
|00000490| 37 34 32 20 20 31 33 31 | 30 35 00 20 30 00 00 00 |742 131|05. 0...|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 75 73 74 61 72 20 20 | 00 64 6a 6d 00 00 00 00 |.ustar |.djm....|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 75 6d 64 00 00 00 00 |........|.umd....|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 53 65 65 3a 20 46 49 4c | 45 53 20 66 6f 72 20 61 |See: FIL|ES for a|
|00000610| 20 73 68 69 70 70 69 6e | 67 20 6c 69 73 74 20 6f | shippin|g list o|
|00000620| 66 20 66 69 6c 65 73 20 | 69 6e 20 74 68 69 73 20 |f files |in this |
|00000630| 61 72 63 68 69 76 65 2e | 0a 53 65 65 3a 20 65 78 |archive.|.See: ex|
|00000640| 70 6c 61 69 6e 20 66 6f | 72 20 61 20 62 72 69 65 |plain fo|r a brie|
|00000650| 66 20 65 78 70 6c 61 69 | 6e 61 74 69 6f 6e 20 6f |f explai|nation o|
|00000660| 66 20 74 68 65 20 64 69 | 66 66 73 20 69 6e 20 70 |f the di|ffs in p|
|00000670| 65 72 6c 2e 64 69 66 66 | 73 2e 0a 0a 48 65 72 65 |erl.diff|s...Here|
|00000680| 20 69 73 20 61 20 70 6f | 72 74 20 6f 66 20 70 65 | is a po|rt of pe|
|00000690| 72 6c 20 34 2e 30 20 50 | 61 74 63 68 6c 65 76 65 |rl 4.0 P|atchleve|
|000006a0| 6c 20 31 39 20 74 6f 20 | 74 68 65 20 61 74 61 72 |l 19 to |the atar|
|000006b0| 69 53 54 20 73 65 72 69 | 65 73 2e 3a 0a 0a 57 68 |iST seri|es.:..Wh|
|000006c0| 61 74 73 20 6e 65 77 20 | 73 69 6e 63 65 20 61 74 |ats new |since at|
|000006d0| 61 72 69 53 54 20 70 65 | 72 6c 20 34 2e 30 31 30 |ariST pe|rl 4.010|
|000006e0| 0a 09 2d 20 6d 61 6e 79 | 20 6d 69 6e 6f 72 20 70 |..- many| minor p|
|000006f0| 72 6f 62 6c 65 6d 73 20 | 66 69 78 65 64 2e 0a 0a |roblems |fixed...|
|00000700| 09 2d 20 63 6f 6e 66 69 | 67 75 72 61 74 69 6f 6e |.- confi|guration|
|00000710| 20 63 6c 65 61 6e 65 64 | 20 75 70 2e 0a 0a 20 20 | cleaned| up... |
|00000720| 20 20 20 20 20 20 2d 20 | 6d 61 6b 65 66 69 6c 65 | - |makefile|
|00000730| 73 20 6e 6f 77 20 68 61 | 76 65 20 61 20 75 70 65 |s now ha|ve a upe|
|00000740| 72 6c 2e 61 20 74 61 72 | 67 65 74 2c 20 73 6f 20 |rl.a tar|get, so |
|00000750| 74 68 61 74 20 75 73 75 | 62 27 73 20 63 61 6e 20 |that usu|b's can |
|00000760| 62 65 0a 20 20 20 20 20 | 20 20 20 20 20 6c 69 6e |be. | lin|
|00000770| 6b 65 64 2e 20 28 73 65 | 65 20 75 73 75 62 2f 2a |ked. (se|e usub/*|
|00000780| 20 74 6f 20 73 65 65 20 | 68 6f 77 20 74 6f 20 6d | to see |how to m|
|00000790| 61 6b 65 20 63 75 72 73 | 65 73 70 65 72 6c 29 0a |ake curs|esperl).|
|000007a0| 0a 09 2d 20 70 65 72 6c | 20 77 69 6c 6c 20 6e 6f |..- perl| will no|
|000007b0| 77 20 63 6f 6d 70 69 6c | 65 20 61 6e 64 20 72 75 |w compil|e and ru|
|000007c0| 6e 20 63 6f 72 72 65 63 | 74 6c 79 20 77 69 74 68 |n correc|tly with|
|000007d0| 20 6f 72 20 77 69 74 68 | 6f 75 74 0a 09 74 68 65 | or with|out..the|
|000007e0| 20 6d 61 6c 6c 6f 63 20 | 74 68 61 74 20 63 6f 6d | malloc |that com|
|000007f0| 65 73 20 77 69 74 68 20 | 70 65 72 6c 2e 0a 0a 09 |es with |perl....|
|00000800| 2d 20 46 49 4c 45 73 20 | 6f 70 65 6e 65 64 20 66 |- FILEs |opened f|
|00000810| 6f 72 20 77 72 69 74 65 | 20 6e 6f 77 20 63 6f 72 |or write| now cor|
|00000820| 72 65 63 74 6c 79 20 63 | 6f 6e 74 61 69 6e 20 43 |rectly c|ontain C|
|00000830| 52 2f 4c 46 20 75 6e 6c | 65 73 73 0a 09 74 68 65 |R/LF unl|ess..the|
|00000840| 79 20 61 72 65 20 62 69 | 6e 6d 6f 64 65 27 65 64 |y are bi|nmode'ed|
|00000850| 2e 0a 0a 09 2d 20 63 6f | 6d 70 6c 65 74 65 20 73 |....- co|mplete s|
|00000860| 75 70 70 6f 72 74 20 66 | 6f 72 20 67 65 6d 64 6f |upport f|or gemdo|
|00000870| 73 2f 78 62 69 6f 73 2f | 62 69 6f 73 20 63 61 6c |s/xbios/|bios cal|
|00000880| 6c 73 2e 20 73 65 65 20 | 6f 73 62 69 6e 64 2e 70 |ls. see |osbind.p|
|00000890| 6c 0a 09 61 6e 64 20 6f | 73 65 78 61 6d 70 6c 65 |l..and o|sexample|
|000008a0| 2e 70 6c 20 6f 6e 20 68 | 6f 77 20 74 6f 20 75 73 |.pl on h|ow to us|
|000008b0| 65 20 74 68 69 73 20 66 | 61 63 69 6c 69 74 79 2e |e this f|acility.|
|000008c0| 0a 0a 09 2d 20 74 72 61 | 63 6b 65 64 20 70 65 72 |...- tra|cked per|
|000008d0| 6c 20 74 6f 20 50 61 74 | 63 68 6c 65 76 65 6c 20 |l to Pat|chlevel |
|000008e0| 31 39 2e 0a 0a 6b 6e 6f | 77 6e 20 70 72 6f 62 6c |19...kno|wn probl|
|000008f0| 65 6d 73 3a 0a 09 20 2d | 20 24 21 20 73 74 69 6c |ems:.. -| $! stil|
|00000900| 6c 20 64 6f 65 73 27 6e | 74 20 63 6f 6e 74 61 69 |l does'n|t contai|
|00000910| 6e 20 74 68 65 20 63 6f | 72 72 65 63 74 20 76 61 |n the co|rrect va|
|00000920| 6c 75 65 20 77 68 65 6e | 20 74 68 65 72 65 20 69 |lue when| there i|
|00000930| 73 20 6e 6f 20 65 72 72 | 6f 72 2e 0a 09 69 20 73 |s no err|or...i s|
|00000940| 74 69 6c 6c 20 68 61 76 | 65 27 6e 74 20 62 65 65 |till hav|e'nt bee|
|00000950| 6e 20 61 62 6c 65 20 74 | 6f 20 74 72 61 63 6b 20 |n able t|o track |
|00000960| 74 68 69 73 20 64 6f 77 | 6e 2e 0a 0a 2d 2d 2d 2d |this dow|n...----|
|00000970| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000980| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000990| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000009a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000009b0| 2d 2d 2d 2d 2d 0a 0a 48 | 65 72 65 20 69 73 20 61 |-----..H|ere is a|
|000009c0| 20 70 6f 72 74 20 6f 66 | 20 70 65 72 6c 20 34 2e | port of| perl 4.|
|000009d0| 30 20 50 61 74 63 68 6c | 65 76 65 6c 20 31 30 20 |0 Patchl|evel 10 |
|000009e0| 74 6f 20 74 68 65 20 61 | 74 61 72 69 53 54 20 73 |to the a|tariST s|
|000009f0| 65 72 69 65 73 2e 0a 0a | 57 68 61 74 20 79 6f 75 |eries...|What you|
|00000a00| 27 6c 6c 20 6e 65 65 64 | 3a 0a 09 2d 20 61 20 64 |'ll need|:..- a d|
|00000a10| 65 63 65 6e 74 20 73 68 | 65 6c 6c 20 28 69 20 75 |ecent sh|ell (i u|
|00000a20| 73 65 20 67 75 6c 61 6d | 20 66 6f 72 20 6f 62 76 |se gulam| for obv|
|00000a30| 69 6f 75 73 20 72 65 61 | 73 6f 6e 73 29 2c 20 6f |ious rea|sons), o|
|00000a40| 74 68 65 72 0a 09 68 69 | 67 68 6c 79 20 72 65 63 |ther..hi|ghly rec|
|00000a50| 6f 6d 6d 65 6e 64 65 64 | 20 6f 6e 65 73 20 61 72 |ommended| ones ar|
|00000a60| 65 20 62 61 73 68 20 31 | 2e 30 38 2f 31 2e 31 30 |e bash 1|.08/1.10|
|00000a70| 2c 20 67 65 6d 69 6e 69 | 2f 6d 75 66 70 65 6c 2c |, gemini|/mufpel,|
|00000a80| 20 6f 6b 61 6d 69 2c 0a | 09 6d 69 63 72 6f 43 73 | okami,.|.microCs|
|00000a90| 68 2c 20 69 6e 69 74 20 | 66 72 6f 6d 20 61 70 72 |h, init |from apr|
|00000aa0| 61 74 74 20 66 6f 72 20 | 4d 69 4e 54 2e 20 61 76 |att for |MiNT. av|
|00000ab0| 6f 69 64 20 6e 65 6f 64 | 65 73 6b 2e 20 61 76 6f |oid neod|esk. avo|
|00000ac0| 69 64 20 74 68 65 0a 09 | 64 65 73 6b 74 6f 70 20 |id the..|desktop |
|00000ad0| 6c 69 6b 65 20 74 68 65 | 20 70 6c 61 67 75 65 2e |like the| plague.|
|00000ae0| 20 54 68 65 20 73 68 65 | 6c 6c 20 73 68 6f 75 6c | The she|ll shoul|
|00000af0| 64 20 62 65 20 73 65 74 | 75 70 20 74 6f 20 75 73 |d be set|up to us|
|00000b00| 65 0a 09 61 74 61 72 69 | 2f 6d 77 63 20 63 6f 6e |e..atari|/mwc con|
|00000b10| 76 65 6e 74 69 6f 6e 73 | 20 66 6f 72 20 63 6f 6d |ventions| for com|
|00000b20| 6d 61 6e 64 20 6c 69 6e | 65 73 20 61 6e 64 20 65 |mand lin|es and e|
|00000b30| 6e 76 69 72 6f 6e 6d 65 | 6e 74 20 73 65 74 75 70 |nvironme|nt setup|
|00000b40| 0a 09 61 6e 64 20 70 61 | 73 73 69 6e 67 2e 20 28 |..and pa|ssing. (|
|00000b50| 69 6e 20 67 75 6c 61 6d | 20 62 65 20 73 75 72 65 |in gulam| be sure|
|00000b60| 20 74 6f 20 60 73 65 74 | 20 65 6e 76 5f 73 74 79 | to `set| env_sty|
|00000b70| 6c 65 20 6d 77 27 29 2e | 0a 0a 09 2d 20 61 20 64 |le mw').|...- a d|
|00000b80| 65 63 65 6e 74 20 73 65 | 74 20 6f 66 20 66 69 6c |ecent se|t of fil|
|00000b90| 65 20 75 74 69 6c 73 20 | 28 6c 73 2c 20 72 6d 2c |e utils |(ls, rm,|
|00000ba0| 20 6d 76 2c 20 65 74 63 | 20 65 74 63 29 20 69 6e | mv, etc| etc) in|
|00000bb0| 20 79 6f 75 72 20 24 50 | 41 54 48 2e 0a 09 69 66 | your $P|ATH...if|
|00000bc0| 20 79 6f 75 20 64 6f 6e | 74 20 68 61 76 65 20 74 | you don|t have t|
|00000bd0| 68 65 73 65 2c 20 6c 6f | 6f 6b 20 6f 6e 20 61 74 |hese, lo|ok on at|
|00000be0| 61 72 69 2e 61 72 63 68 | 69 76 65 2e 20 74 68 65 |ari.arch|ive. the|
|00000bf0| 20 67 6e 75 46 69 6c 65 | 75 74 69 6c 73 0a 09 61 | gnuFile|utils..a|
|00000c00| 72 65 20 61 76 61 69 6c | 61 62 6c 65 20 74 68 65 |re avail|able the|
|00000c10| 72 65 2e 0a 09 0a 09 2d | 20 69 6e 63 6c 75 64 65 |re.....-| include|
|00000c20| 64 20 68 65 72 65 20 61 | 72 65 20 65 63 68 6f 20 |d here a|re echo |
|00000c30| 61 6e 64 20 70 65 72 6c | 67 6c 6f 62 20 74 68 61 |and perl|glob tha|
|00000c40| 74 20 79 6f 75 20 77 69 | 6c 6c 20 6e 65 65 64 2e |t you wi|ll need.|
|00000c50| 0a 0a 09 2d 20 73 65 74 | 74 69 6e 67 20 55 4e 49 |...- set|ting UNI|
|00000c60| 58 4d 4f 44 45 20 69 73 | 20 72 65 63 6f 6d 6d 65 |XMODE is| recomme|
|00000c70| 6e 64 65 64 20 62 75 74 | 20 6e 6f 74 20 72 65 71 |nded but| not req|
|00000c80| 75 69 72 65 64 2e 20 49 | 66 20 79 6f 75 20 61 72 |uired. I|f you ar|
|00000c90| 65 0a 09 67 6f 69 6e 67 | 20 74 6f 20 72 75 6e 20 |e..going| to run |
|00000ca0| 74 68 65 20 70 65 72 6c | 20 74 65 73 74 73 2c 20 |the perl| tests, |
|00000cb0| 74 68 65 6e 20 73 65 74 | 20 55 4e 49 58 4d 4f 44 |then set| UNIXMOD|
|00000cc0| 45 20 74 6f 20 61 74 6c | 65 61 73 74 0a 09 22 2f |E to atl|east.."/|
|00000cd0| 2e 2c 4c 41 64 22 2c 20 | 65 6c 73 65 20 79 6f 75 |.,LAd", |else you|
|00000ce0| 20 77 69 6c 6c 20 67 65 | 74 20 61 20 6c 6f 74 20 | will ge|t a lot |
|00000cf0| 6f 66 20 75 6e 6e 65 63 | 65 73 73 61 72 79 20 66 |of unnec|essary f|
|00000d00| 61 69 6c 75 72 65 73 2e | 0a 09 28 61 6c 74 65 72 |ailures.|..(alter|
|00000d10| 6e 61 74 65 6c 79 20 79 | 6f 75 20 77 69 6c 6c 20 |nately y|ou will |
|00000d20| 68 61 76 65 20 74 6f 20 | 67 6f 20 69 6e 20 61 6e |have to |go in an|
|00000d30| 64 20 65 64 69 74 20 6c | 6f 6e 67 20 70 61 74 68 |d edit l|ong path|
|00000d40| 20 6e 61 6d 65 73 2e 0a | 09 20 67 65 74 20 72 69 | names..|. get ri|
|00000d50| 64 20 6f 66 20 74 68 69 | 6e 67 73 20 64 65 61 6c |d of thi|ngs deal|
|00000d60| 69 6e 67 20 77 69 74 68 | 20 6c 69 6e 6b 73 2c 20 |ing with| links, |
|00000d70| 61 6e 64 20 72 65 6e 61 | 6d 65 20 70 61 74 68 73 |and rena|me paths|
|00000d80| 0a 09 20 62 65 67 69 6e | 6e 69 6e 67 20 77 69 74 |.. begin|ning wit|
|00000d90| 68 20 22 2f 64 65 76 2f | 2e 2e 2e 22 20 65 74 63 |h "/dev/|..." etc|
|00000da0| 29 0a 0a 09 2d 20 69 66 | 20 79 6f 75 20 61 72 65 |)...- if| you are|
|00000db0| 20 67 6f 69 6e 67 20 74 | 6f 20 63 6f 6d 70 69 6c | going t|o compil|
|00000dc0| 65 3a 20 79 6f 75 27 6c | 6c 20 6e 65 65 64 20 67 |e: you'l|l need g|
|00000dd0| 63 63 20 64 69 73 74 72 | 69 62 75 74 69 6f 6e 2c |cc distr|ibution,|
|00000de0| 0a 09 28 69 20 75 73 65 | 64 20 67 63 63 2d 31 2e |..(i use|d gcc-1.|
|00000df0| 34 30 20 61 6e 64 20 6c | 69 62 73 20 61 74 20 50 |40 and l|ibs at P|
|00000e00| 61 74 63 68 6c 65 76 65 | 6c 20 37 33 20 69 6e 69 |atchleve|l 73 ini|
|00000e10| 74 69 61 6c 6c 79 2e 20 | 69 20 0a 20 20 20 20 20 |tially. |i . |
|00000e20| 20 20 20 20 63 75 72 72 | 65 6e 74 6c 79 20 75 73 | curr|ently us|
|00000e30| 65 20 67 63 63 2d 32 2e | 31 20 61 6e 64 20 6c 69 |e gcc-2.|1 and li|
|00000e40| 62 73 20 61 74 20 50 61 | 74 63 68 6c 65 76 65 6c |bs at Pa|tchlevel|
|00000e50| 20 38 30 29 2e 20 41 6c | 73 6f 20 79 6f 75 20 77 | 80). Al|so you w|
|00000e60| 69 6c 6c 0a 09 6e 65 65 | 64 20 74 68 65 20 70 6f |ill..nee|d the po|
|00000e70| 72 74 20 6f 66 20 67 64 | 62 6d 20 28 69 20 75 73 |rt of gd|bm (i us|
|00000e80| 65 64 20 76 31 2e 35 29 | 2e 20 79 6f 75 27 6c 6c |ed v1.5)|. you'll|
|00000e90| 20 61 6c 73 6f 20 6e 65 | 65 64 20 62 69 73 6f 6e | also ne|ed bison|
|00000ea0| 2e 0a 09 61 6c 6c 20 74 | 68 65 73 65 20 61 72 65 |...all t|hese are|
|00000eb0| 20 61 76 61 69 6c 61 62 | 6c 65 20 6f 6e 20 61 74 | availab|le on at|
|00000ec0| 61 72 69 2e 61 72 63 68 | 69 76 65 2c 20 69 6e 20 |ari.arch|ive, in |
|00000ed0| 61 74 61 72 69 2f 67 6e | 75 73 74 75 66 66 2f 74 |atari/gn|ustuff/t|
|00000ee0| 6f 73 0a 09 74 68 65 20 | 64 69 66 66 73 20 61 73 |os..the |diffs as|
|00000ef0| 20 65 6e 63 6c 6f 73 65 | 64 20 69 6e 20 74 68 69 | enclose|d in thi|
|00000f00| 73 20 6b 69 74 20 61 73 | 73 75 6d 65 20 79 6f 75 |s kit as|sume you|
|00000f10| 20 68 61 76 65 20 67 63 | 63 20 6c 69 62 73 20 61 | have gc|c libs a|
|00000f20| 74 0a 20 20 20 20 20 20 | 20 20 50 61 74 63 68 6c |t. | Patchl|
|00000f30| 65 76 65 6c 20 38 30 2e | 0a 09 0a 43 6f 6d 70 69 |evel 80.|...Compi|
|00000f40| 6c 69 6e 67 3a 0a 09 2d | 20 67 65 74 20 61 6e 64 |ling:..-| get and|
|00000f50| 20 69 6e 73 74 61 6c 6c | 20 67 6e 75 20 67 64 62 | install| gnu gdb|
|00000f60| 6d 20 28 69 20 75 73 65 | 64 20 76 31 2e 35 20 2d |m (i use|d v1.5 -|
|00000f70| 2d 20 73 65 65 20 52 45 | 41 44 4d 45 2e 53 54 20 |- see RE|ADME.ST |
|00000f80| 69 6e 0a 09 20 20 74 68 | 65 20 67 64 62 6d 20 64 |in.. th|e gdbm d|
|00000f90| 69 73 74 72 69 62 75 74 | 69 6f 6e 20 6f 6e 20 68 |istribut|ion on h|
|00000fa0| 6f 77 20 74 6f 20 6d 61 | 6b 65 20 74 68 65 20 67 |ow to ma|ke the g|
|00000fb0| 64 62 6d 20 6c 69 62 72 | 61 72 79 29 2e 0a 0a 09 |dbm libr|ary)....|
|00000fc0| 2d 20 67 65 74 20 74 68 | 65 20 70 65 72 6c 20 6b |- get th|e perl k|
|00000fd0| 69 74 20 61 74 20 50 61 | 74 63 68 6c 65 76 65 6c |it at Pa|tchlevel|
|00000fe0| 20 31 39 0a 0a 20 20 20 | 20 20 20 20 20 2d 20 63 | 19.. | - c|
|00000ff0| 6f 70 79 20 20 63 6f 6e | 66 69 67 2e 68 20 75 73 |opy con|fig.h us|
|00001000| 65 72 73 75 62 2e 63 20 | 61 74 61 72 69 73 74 2e |ersub.c |atarist.|
|00001010| 63 20 65 63 68 6f 2e 63 | 20 77 69 6c 64 6d 61 74 |c echo.c| wildmat|
|00001020| 2e 63 20 20 70 65 72 6c | 67 6c 6f 62 2e 63 20 20 |.c perl|glob.c |
|00001030| 0a 20 20 20 20 20 20 20 | 20 20 20 6d 61 6b 65 66 |. | makef|
|00001040| 69 6c 65 2e 73 6d 20 6d | 61 6b 65 66 69 6c 65 2e |ile.sm m|akefile.|
|00001050| 73 6d 64 20 6d 61 6b 65 | 66 69 6c 65 2e 73 74 20 |smd make|file.st |
|00001060| 6d 61 6b 65 66 69 6c 65 | 2e 73 74 64 20 6d 61 6b |makefile|.std mak|
|00001070| 65 66 69 6c 65 2e 73 74 | 6d 0a 0a 09 2d 20 61 70 |efile.st|m...- ap|
|00001080| 70 6c 79 20 74 68 65 20 | 64 69 66 66 73 20 69 6e |ply the |diffs in|
|00001090| 20 66 69 6c 65 20 60 70 | 65 72 6c 2e 64 69 66 66 | file `p|erl.diff|
|000010a0| 73 27 20 75 73 69 6e 67 | 20 70 61 74 63 68 0a 0a |s' using| patch..|
|000010b0| 09 2d 20 64 65 63 69 64 | 65 20 77 68 69 63 68 20 |.- decid|e which |
|000010c0| 6d 61 6b 65 66 69 6c 65 | 20 79 6f 75 20 77 61 6e |makefile| you wan|
|000010d0| 74 20 74 6f 20 75 73 65 | 3a 0a 09 6d 61 6b 65 66 |t to use|:..makef|
|000010e0| 69 6c 65 2e 73 74 09 70 | 65 72 6c 20 77 69 74 68 |ile.st.p|erl with|
|000010f0| 20 67 63 63 20 6c 69 62 | 72 61 72 79 20 6d 61 6c | gcc lib|rary mal|
|00001100| 6c 6f 63 0a 09 6d 61 6b | 65 66 69 6c 65 2e 73 6d |loc..mak|efile.sm|
|00001110| 09 70 65 72 6c 20 77 69 | 74 68 20 6d 61 6c 6c 6f |.perl wi|th mallo|
|00001120| 63 20 74 68 61 74 20 63 | 6f 6d 65 73 20 77 69 74 |c that c|omes wit|
|00001130| 68 20 70 65 72 6c 0a 0a | 09 2d 20 68 69 74 20 6d |h perl..|.- hit m|
|00001140| 61 6b 65 20 2d 66 20 3c | 4d 41 4b 45 46 49 4c 45 |ake -f <|MAKEFILE|
|00001150| 3e 2e 20 28 69 66 20 79 | 6f 75 20 61 72 65 20 6e |>. (if y|ou are n|
|00001160| 6f 74 20 63 72 6f 73 73 | 2d 63 6f 6d 70 69 6c 69 |ot cross|-compili|
|00001170| 6e 67 2c 20 0a 09 20 20 | 20 79 6f 75 27 6c 6c 20 |ng, .. | you'll |
|00001180| 68 61 76 65 20 74 6f 20 | 61 64 6a 75 73 74 20 74 |have to |adjust t|
|00001190| 68 65 20 6d 61 6b 65 66 | 69 6c 65 20 79 6f 75 72 |he makef|ile your|
|000011a0| 73 65 6c 66 20 2d 2d 20 | 77 61 74 63 68 6f 75 74 |self -- |watchout|
|000011b0| 20 66 6f 72 0a 09 20 20 | 20 70 65 72 6c 79 2e 66 | for.. | perly.f|
|000011c0| 69 78 65 72 29 2e 0a 09 | 20 20 20 54 68 69 73 20 |ixer)...| This |
|000011d0| 77 69 6c 6c 20 72 65 73 | 75 6c 74 20 69 6e 20 33 |will res|ult in 3|
|000011e0| 20 65 78 65 63 75 74 61 | 62 6c 65 73 2c 20 70 65 | executa|bles, pe|
|000011f0| 72 6c 2e 74 74 70 2c 20 | 70 65 72 6c 67 6c 6f 62 |rl.ttp, |perlglob|
|00001200| 2e 74 74 70 0a 09 20 20 | 20 61 6e 64 20 65 63 68 |.ttp.. | and ech|
|00001210| 6f 2e 74 74 70 2e 20 50 | 75 74 20 61 6c 6c 20 74 |o.ttp. P|ut all t|
|00001220| 68 65 73 65 20 65 78 65 | 63 75 74 61 62 6c 65 73 |hese exe|cutables|
|00001230| 20 69 6e 20 61 20 73 75 | 62 2d 64 69 72 65 63 74 | in a su|b-direct|
|00001240| 6f 72 79 0a 09 20 20 20 | 69 6e 20 79 6f 75 72 20 |ory.. |in your |
|00001250| 24 50 41 54 48 20 28 61 | 6e 64 20 64 65 70 65 6e |$PATH (a|nd depen|
|00001260| 64 69 6e 67 20 6f 6e 20 | 79 6f 75 72 20 73 68 65 |ding on |your she|
|00001270| 6c 6c 2c 20 69 73 73 75 | 65 20 61 20 72 65 68 61 |ll, issu|e a reha|
|00001280| 73 68 29 2e 0a 09 28 69 | 66 20 79 6f 75 20 75 73 |sh)...(i|f you us|
|00001290| 65 20 6d 61 6b 65 66 69 | 6c 65 2e 73 74 64 20 69 |e makefi|le.std i|
|000012a0| 6e 73 74 65 61 64 20 6f | 66 20 6d 61 6b 65 66 69 |nstead o|f makefi|
|000012b0| 6c 65 2e 73 74 2c 20 74 | 68 65 20 65 78 65 63 75 |le.st, t|he execu|
|000012c0| 74 61 62 6c 65 0a 09 20 | 77 69 6c 6c 20 62 65 20 |table.. |will be |
|000012d0| 63 61 6c 6c 65 64 20 70 | 65 72 6c 64 2e 74 74 70 |called p|erld.ttp|
|000012e0| 2e 20 74 68 69 73 20 69 | 73 20 70 65 72 6c 20 63 |. this i|s perl c|
|000012f0| 6f 6d 70 69 6c 65 64 20 | 77 69 74 68 0a 09 20 2d |ompiled |with.. -|
|00001300| 44 44 45 42 55 47 47 49 | 4e 47 29 0a 0a 43 6f 6d |DDEBUGGI|NG)..Com|
|00001310| 70 69 6c 69 6e 67 20 75 | 73 75 62 73 3a 0a 09 73 |piling u|subs:..s|
|00001320| 65 65 20 74 68 65 20 66 | 69 6c 65 73 20 69 6e 20 |ee the f|iles in |
|00001330| 75 73 75 62 2f 2a 20 61 | 6e 64 20 74 68 65 20 6d |usub/* a|nd the m|
|00001340| 61 6b 65 66 69 6c 65 2e | 73 74 20 74 68 65 72 65 |akefile.|st there|
|00001350| 2e 0a 0a 54 65 73 74 69 | 6e 67 3a 0a 09 2d 20 72 |...Testi|ng:..- r|
|00001360| 75 6e 20 70 65 72 6c 20 | 66 72 6f 6d 20 61 20 64 |un perl |from a d|
|00001370| 65 63 65 6e 74 20 73 68 | 65 6c 6c 2e 20 69 20 75 |ecent sh|ell. i u|
|00001380| 73 65 20 65 69 74 68 65 | 72 20 67 75 6c 61 6d 20 |se eithe|r gulam |
|00001390| 6f 72 20 62 61 73 68 0a | 09 69 66 20 79 6f 75 20 |or bash.|.if you |
|000013a0| 61 72 65 20 67 6f 69 6e | 67 20 74 6f 20 62 65 20 |are goin|g to be |
|000013b0| 72 75 6e 6e 69 6e 67 20 | 66 72 6f 6d 20 67 75 6c |running |from gul|
|000013c0| 61 6d 2c 20 62 65 20 73 | 75 72 65 20 74 6f 0a 09 |am, be s|ure to..|
|000013d0| 09 73 65 74 20 65 6e 76 | 5f 73 74 79 6c 65 20 6d |.set env|_style m|
|000013e0| 77 0a 09 28 74 68 69 73 | 20 63 61 6e 20 62 65 20 |w..(this| can be |
|000013f0| 64 6f 6e 65 20 61 75 74 | 6f 6d 61 74 69 63 61 6c |done aut|omatical|
|00001400| 6c 79 20 62 79 20 69 6e | 63 6c 75 64 69 6e 67 20 |ly by in|cluding |
|00001410| 74 68 65 20 61 62 6f 76 | 65 0a 09 20 6c 69 6e 65 |the abov|e.. line|
|00001420| 20 69 6e 20 74 68 65 20 | 67 75 6c 61 6d 2e 67 20 | in the |gulam.g |
|00001430| 73 74 61 72 74 75 70 20 | 66 69 6c 65 29 2e 20 62 |startup |file). b|
|00001440| 61 73 68 20 61 6c 77 61 | 79 73 20 75 73 65 73 0a |ash alwa|ys uses.|
|00001450| 09 61 74 61 72 69 2f 6d | 77 63 20 63 6f 6e 76 65 |.atari/m|wc conve|
|00001460| 6e 74 69 6f 6e 73 20 73 | 6f 20 79 6f 75 20 64 6f |ntions s|o you do|
|00001470| 6e 74 20 68 61 76 65 20 | 74 6f 20 64 6f 20 61 6e |nt have |to do an|
|00001480| 79 74 68 69 6e 67 20 73 | 70 65 63 69 61 6c 2e 0a |ything s|pecial..|
|00001490| 09 28 69 66 20 79 6f 75 | 20 72 75 6e 20 70 65 72 |.(if you| run per|
|000014a0| 6c 20 66 72 6f 6d 20 74 | 68 65 20 64 65 73 6b 74 |l from t|he deskt|
|000014b0| 6f 70 2c 20 79 6f 75 20 | 61 72 65 20 61 73 6b 69 |op, you |are aski|
|000014c0| 6e 67 20 66 6f 72 20 74 | 72 6f 75 62 6c 65 21 29 |ng for t|rouble!)|
|000014d0| 0a 0a 09 2d 20 79 6f 75 | 27 6c 6c 20 68 61 76 65 |...- you|'ll have|
|000014e0| 20 74 6f 20 72 75 6e 20 | 74 68 65 20 74 65 73 74 | to run |the test|
|000014f0| 73 20 62 79 20 68 61 6e | 64 2e 20 41 6c 6d 6f 73 |s by han|d. Almos|
|00001500| 74 20 61 6c 6c 20 74 68 | 65 20 74 65 73 74 73 0a |t all th|e tests.|
|00001510| 09 70 61 73 73 2e 20 59 | 6f 75 27 6c 6c 20 68 61 |.pass. Y|ou'll ha|
|00001520| 76 65 20 74 6f 20 6a 75 | 64 67 65 20 66 6f 72 20 |ve to ju|dge for |
|00001530| 79 6f 75 72 73 65 6c 66 | 20 77 68 65 6e 20 61 20 |yourself| when a |
|00001540| 74 65 73 74 20 66 61 69 | 6c 73 0a 09 69 66 20 69 |test fai|ls..if i|
|00001550| 74 20 73 68 6f 75 6c 64 | 20 68 61 76 65 2e 20 49 |t should| have. I|
|00001560| 20 77 61 73 20 61 62 6c | 65 20 74 6f 20 65 78 70 | was abl|e to exp|
|00001570| 6c 61 69 6e 20 61 6c 6c | 20 66 61 69 6c 75 72 65 |lain all| failure|
|00001580| 73 2e 20 49 66 20 79 6f | 75 0a 09 63 61 6e 74 2c |s. If yo|u..cant,|
|00001590| 20 61 73 6b 20 6d 65 20 | 76 69 61 20 6d 61 69 6c | ask me |via mail|
|000015a0| 2e 20 28 6f 6e 65 20 64 | 61 79 20 69 20 77 69 6c |. (one d|ay i wil|
|000015b0| 6c 20 63 6f 6f 6b 20 75 | 70 20 61 20 73 63 72 69 |l cook u|p a scri|
|000015c0| 70 74 20 74 6f 0a 09 64 | 6f 20 74 68 69 73 29 2e |pt to..d|o this).|
|000015d0| 0a 0a 09 2d 20 49 74 20 | 68 65 6c 70 73 20 74 6f |...- It |helps to|
|000015e0| 20 68 61 76 65 20 61 6c | 6c 20 74 68 65 20 67 6e | have al|l the gn|
|000015f0| 75 20 66 69 6c 65 75 74 | 69 6c 73 20 69 6e 20 79 |u fileut|ils in y|
|00001600| 6f 75 72 20 50 41 54 48 | 20 68 65 72 65 2e 0a 09 |our PATH| here...|
|00001610| 65 73 70 65 63 69 61 6c | 6c 79 20 65 63 68 6f 2e |especial|ly echo.|
|00001620| 74 74 70 20 61 6e 64 20 | 70 65 72 6c 67 6c 6f 62 |ttp and |perlglob|
|00001630| 2e 74 74 70 2e 0a 0a 09 | 2d 20 41 6c 73 6f 20 61 |.ttp....|- Also a|
|00001640| 20 6c 6f 74 20 6d 6f 72 | 65 20 74 65 73 74 73 20 | lot mor|e tests |
|00001650| 77 69 6c 6c 20 70 61 73 | 73 20 69 66 20 79 6f 75 |will pas|s if you|
|00001660| 20 68 61 76 65 20 55 4e | 49 58 4d 4f 44 45 20 73 | have UN|IXMODE s|
|00001670| 65 74 75 70 0a 09 69 20 | 75 73 65 20 22 2f 2e 2c |etup..i |use "/.,|
|00001680| 4c 41 64 22 2e 20 49 66 | 20 79 6f 75 20 64 6f 6e |LAd". If| you don|
|00001690| 74 20 75 73 65 20 55 4e | 49 58 4d 4f 44 45 2c 20 |t use UN|IXMODE, |
|000016a0| 79 6f 75 27 6c 6c 20 68 | 61 76 65 20 74 6f 20 68 |you'll h|ave to h|
|000016b0| 61 63 6b 0a 09 73 6f 6d | 65 20 6f 66 20 74 68 65 |ack..som|e of the|
|000016c0| 20 74 65 73 74 73 2e 0a | 0a 09 2d 20 59 6f 75 20 | tests..|..- You |
|000016d0| 6d 61 79 20 68 61 76 65 | 20 74 6f 20 66 69 78 20 |may have| to fix |
|000016e0| 75 70 20 61 20 66 65 77 | 20 50 61 74 68 6e 61 6d |up a few| Pathnam|
|000016f0| 65 73 20 69 6e 20 74 68 | 65 20 74 65 73 74 73 20 |es in th|e tests |
|00001700| 69 66 20 79 6f 75 0a 09 | 61 72 65 20 63 64 27 69 |if you..|are cd'i|
|00001710| 6e 67 20 74 6f 20 61 20 | 70 61 72 74 69 63 75 6c |ng to a |particul|
|00001720| 61 72 20 74 65 73 74 20 | 73 75 62 2d 64 69 72 65 |ar test |sub-dire|
|00001730| 63 74 6f 72 79 20 74 6f | 20 72 75 6e 20 74 68 65 |ctory to| run the|
|00001740| 20 74 65 73 74 73 2e 0a | 0a 09 2d 20 43 6f 6d 70 | tests..|..- Comp|
|00001750| 61 72 65 20 79 6f 75 72 | 20 74 65 73 74 73 20 77 |are your| tests w|
|00001760| 69 74 68 20 74 68 65 20 | 72 65 73 75 6c 74 73 20 |ith the |results |
|00001770| 69 20 67 6f 74 20 2d 2d | 20 73 65 65 20 66 69 6c |i got --| see fil|
|00001780| 65 20 52 45 53 55 4c 54 | 53 2e 0a 09 0a 47 65 6e |e RESULT|S....Gen|
|00001790| 65 72 61 6c 3a 0a 09 2d | 20 73 65 74 65 6e 76 20 |eral:..-| setenv |
|000017a0| 50 45 52 4c 4c 49 42 20 | 74 6f 20 70 6f 69 6e 74 |PERLLIB |to point|
|000017b0| 20 61 74 20 74 68 65 20 | 73 75 62 64 69 72 65 63 | at the |subdirec|
|000017c0| 74 6f 72 79 20 63 6f 6e | 74 61 69 6e 69 6e 67 20 |tory con|taining |
|000017d0| 6c 69 62 2f 2a 0a 09 28 | 69 66 20 79 6f 75 20 77 |lib/*..(|if you w|
|000017e0| 61 6e 74 20 50 45 52 4c | 4c 49 42 20 74 6f 20 63 |ant PERL|LIB to c|
|000017f0| 6f 6e 74 61 69 6e 20 6d | 6f 72 65 20 74 68 61 6e |ontain m|ore than|
|00001800| 20 6f 6e 65 20 70 61 74 | 68 2c 20 73 65 70 65 72 | one pat|h, seper|
|00001810| 61 74 65 0a 09 20 74 68 | 65 6d 20 77 69 74 68 20 |ate.. th|em with |
|00001820| 63 6f 6d 6d 61 73 29 0a | 0a 09 2d 20 55 4e 49 58 |commas).|..- UNIX|
|00001830| 4d 4f 44 45 20 69 73 20 | 73 75 70 70 6f 72 74 65 |MODE is |supporte|
|00001840| 64 20 6e 6f 74 20 72 65 | 71 75 69 72 65 64 2e 0a |d not re|quired..|
|00001850| 0a 09 2d 20 50 69 70 65 | 73 20 61 72 65 20 61 20 |..- Pipe|s are a |
|00001860| 6c 69 74 74 6c 65 20 66 | 6c 61 6b 65 79 20 73 6f |little f|lakey so|
|00001870| 6d 65 74 69 6d 65 73 2c | 20 62 75 74 20 6d 6f 73 |metimes,| but mos|
|00001880| 74 6c 79 20 77 6f 72 6b | 20 66 69 6e 65 2e 0a 09 |tly work| fine...|
|00001890| 50 69 70 65 73 2c 20 60 | 70 72 6f 67 60 20 20 65 |Pipes, `|prog` e|
|000018a0| 74 63 20 61 72 65 20 6d | 75 63 68 20 6d 6f 72 65 |tc are m|uch more|
|000018b0| 20 65 66 66 69 63 69 65 | 6e 74 20 69 66 20 79 6f | efficie|nt if yo|
|000018c0| 75 20 68 61 76 65 20 73 | 65 74 0a 09 74 68 65 20 |u have s|et..the |
|000018d0| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 20 76 61 72 20 |environm|ent var |
|000018e0| 54 45 4d 50 20 74 6f 20 | 70 6f 69 6e 74 20 74 6f |TEMP to |point to|
|000018f0| 20 61 20 72 61 6d 64 69 | 73 6b 2e 20 4e 6f 74 65 | a ramdi|sk. Note|
|00001900| 2c 20 77 68 65 6e 0a 09 | 79 6f 75 20 73 65 74 20 |, when..|you set |
|00001910| 54 45 4d 50 2c 20 69 74 | 20 73 68 6f 75 6c 64 20 |TEMP, it| should |
|00001920| 63 6f 6e 74 61 69 6e 20 | 2a 6e 6f 2a 20 74 61 69 |contain |*no* tai|
|00001930| 6c 69 6e 67 20 62 61 63 | 6b 73 6c 61 73 68 20 28 |ling bac|kslash (|
|00001940| 6f 72 20 73 6c 61 73 68 | 29 2e 0a 0a 09 2d 20 74 |or slash|)....- t|
|00001950| 6f 20 66 6f 72 63 65 20 | 62 69 6e 61 72 79 20 6d |o force |binary m|
|00001960| 6f 64 65 20 75 73 65 20 | 22 62 69 6e 6d 6f 64 65 |ode use |"binmode|
|00001970| 20 46 49 4c 45 22 0a 0a | 09 2d 20 62 72 6f 77 73 | FILE"..|.- brows|
|00001980| 65 20 74 68 72 75 20 63 | 6f 6e 66 69 67 2e 68 20 |e thru c|onfig.h |
|00001990| 74 6f 20 73 65 65 20 77 | 68 61 74 73 20 73 75 70 |to see w|hats sup|
|000019a0| 70 6f 72 74 65 64 0a 0a | 09 2d 20 73 68 6f 75 6c |ported..|.- shoul|
|000019b0| 64 20 4d 69 4e 54 27 69 | 7a 65 20 74 68 69 73 20 |d MiNT'i|ze this |
|000019c0| 6d 75 63 68 20 6d 6f 72 | 65 2e 0a 0a 09 2d 20 61 |much mor|e....- a|
|000019d0| 76 6f 69 64 20 75 73 69 | 6e 67 20 74 68 65 20 62 |void usi|ng the b|
|000019e0| 61 63 6b 74 69 63 6b 20 | 28 60 63 6f 6d 6d 61 6e |acktick |(`comman|
|000019f0| 64 73 60 29 2e 20 55 73 | 65 20 27 6f 70 65 6e 28 |ds`). Us|e 'open(|
|00001a00| 46 4f 4f 2c 20 22 63 6f | 6d 6d 61 6e 64 20 7c 22 |FOO, "co|mmand |"|
|00001a10| 29 27 0a 09 61 6e 64 20 | 75 73 65 20 74 68 65 20 |)'..and |use the |
|00001a20| 66 69 6c 65 68 61 6e 64 | 6c 65 20 46 4f 4f 20 61 |filehand|le FOO a|
|00001a30| 73 20 61 70 70 72 6f 2e | 0a 0a 09 2d 20 74 68 65 |s appro.|...- the|
|00001a40| 20 63 6f 6d 6d 61 6e 64 | 20 70 61 73 73 65 64 20 | command| passed |
|00001a50| 74 6f 20 73 79 73 74 65 | 6d 20 65 74 63 20 63 61 |to syste|m etc ca|
|00001a60| 6e 20 63 6f 6e 74 61 69 | 6e 0a 09 72 65 64 69 72 |n contai|n..redir|
|00001a70| 65 63 74 69 6f 6e 73 20 | 6f 66 20 73 74 64 69 6e |ections |of stdin|
|00001a80| 2f 6f 75 74 2c 20 62 75 | 74 20 73 79 73 74 65 6d |/out, bu|t system|
|00001a90| 20 64 6f 65 73 20 6e 6f | 74 20 75 6e 64 65 72 73 | does no|t unders|
|00001aa0| 74 61 6e 64 0a 09 66 61 | 6e 63 79 20 70 69 70 65 |tand..fa|ncy pipe|
|00001ab0| 6c 69 6e 65 73 20 65 74 | 63 2e 0a 0a 09 2d 20 73 |lines et|c....- s|
|00001ac0| 79 73 63 61 6c 6c 28 29 | 20 74 6f 20 6d 61 6b 65 |yscall()| to make|
|00001ad0| 20 67 65 6d 64 6f 73 2f | 62 69 6f 73 2f 78 62 69 | gemdos/|bios/xbi|
|00001ae0| 6f 73 20 61 72 65 20 66 | 75 6c 6c 79 20 73 75 70 |os are f|ully sup|
|00001af0| 70 6f 72 74 65 64 20 6e | 6f 77 2e 0a 09 28 6e 6f |ported n|ow...(no|
|00001b00| 74 65 3a 20 77 65 20 64 | 6f 6e 74 20 75 73 65 20 |te: we d|ont use |
|00001b10| 69 6f 63 74 6c 20 6c 69 | 6b 65 20 6d 65 73 73 79 |ioctl li|ke messy|
|00001b20| 2d 64 6f 73 20 74 6f 20 | 64 6f 20 74 68 69 73 2c |-dos to |do this,|
|00001b30| 20 61 73 20 77 65 20 63 | 61 6e 20 64 6f 0a 09 20 | as we c|an do.. |
|00001b40| 72 65 61 6c 20 69 6f 63 | 74 6c 27 73 20 6f 6e 20 |real ioc|tl's on |
|00001b50| 64 65 76 69 63 65 73 29 | 0a 0a 09 2d 20 69 20 73 |devices)|...- i s|
|00001b60| 74 69 6c 6c 20 6e 65 65 | 64 20 74 6f 20 63 6f 6e |till nee|d to con|
|00001b70| 73 20 75 70 20 74 68 65 | 20 6c 69 6e 65 41 20 73 |s up the| lineA s|
|00001b80| 74 75 66 66 2e 0a 09 20 | 20 69 74 20 73 68 6f 75 |tuff... | it shou|
|00001b90| 6c 64 20 62 65 20 6a 75 | 73 74 20 61 73 20 65 61 |ld be ju|st as ea|
|00001ba0| 73 79 20 74 6f 20 63 6f | 6e 73 20 75 70 20 61 65 |sy to co|ns up ae|
|00001bb0| 73 2f 76 64 69 20 6f 75 | 74 63 61 6c 6c 73 20 74 |s/vdi ou|tcalls t|
|00001bc0| 6f 6f 2e 20 69 6d 61 67 | 69 6e 65 0a 09 20 20 67 |oo. imag|ine.. g|
|00001bd0| 72 61 70 68 69 63 73 20 | 66 72 6f 6d 20 70 65 72 |raphics |from per|
|00001be0| 6c 21 2e 0a 0a 09 2d 20 | 77 61 74 63 68 20 6f 75 |l!....- |watch ou|
|00001bf0| 74 20 66 6f 72 20 72 65 | 2d 64 69 72 65 63 74 69 |t for re|-directi|
|00001c00| 6f 6e 73 2e 20 54 4f 53 | 20 62 6c 6f 77 73 20 75 |ons. TOS| blows u|
|00001c10| 70 20 69 66 20 79 6f 75 | 20 74 72 79 20 74 6f 0a |p if you| try to.|
|00001c20| 09 72 65 2d 64 69 72 65 | 63 74 20 61 20 72 65 2d |.re-dire|ct a re-|
|00001c30| 64 69 72 65 63 74 65 64 | 20 68 61 6e 64 6c 65 2e |directed| handle.|
|00001c40| 20 61 74 61 72 69 20 68 | 61 73 20 67 72 65 61 74 | atari h|as great|
|00001c50| 6c 79 20 69 6d 70 72 6f | 76 65 64 20 74 68 69 73 |ly impro|ved this|
|00001c60| 0a 09 73 69 74 75 61 74 | 69 6f 6e 2e 20 68 6f 70 |..situat|ion. hop|
|00001c70| 65 66 75 6c 6c 79 2c 20 | 74 68 65 20 6e 65 78 74 |efully, |the next|
|00001c80| 20 67 65 6e 65 72 61 6c | 20 72 65 6c 65 61 73 65 | general| release|
|00001c90| 20 6f 66 20 54 4f 53 20 | 77 69 6c 6c 20 63 6f 6e | of TOS |will con|
|00001ca0| 74 61 69 6e 0a 09 74 68 | 65 73 65 20 66 69 78 65 |tain..th|ese fixe|
|00001cb0| 73 2e 0a 0a 09 2d 20 69 | 6e 20 74 68 65 20 70 65 |s....- i|n the pe|
|00001cc0| 72 6c 20 6c 69 62 73 20 | 28 70 61 72 74 69 63 75 |rl libs |(particu|
|00001cd0| 6c 61 72 6c 79 20 70 65 | 72 6c 64 62 2e 70 6c 29 |larly pe|rldb.pl)|
|00001ce0| 20 79 6f 75 20 77 69 6c | 6c 0a 09 6e 65 65 64 20 | you wil|l..need |
|00001cf0| 74 6f 20 73 3f 2f 64 65 | 76 2f 74 74 79 3f 2f 64 |to s?/de|v/tty?/d|
|00001d00| 65 76 2f 63 6f 6e 73 6f | 6c 65 3f 2e 20 70 65 72 |ev/conso|le?. per|
|00001d10| 6c 20 2d 64 20 77 6f 72 | 6b 73 20 6a 75 73 74 20 |l -d wor|ks just |
|00001d20| 66 69 6e 65 2e 0a 09 66 | 6f 72 20 69 6e 73 74 61 |fine...f|or insta|
|00001d30| 6e 63 65 3a 20 28 66 6f | 72 20 74 68 69 73 20 74 |nce: (fo|r this t|
|00001d40| 6f 20 77 6f 72 6b 2c 20 | 55 4e 49 58 4d 4f 44 45 |o work, |UNIXMODE|
|00001d50| 20 73 68 6f 75 6c 64 20 | 69 6e 63 6c 75 64 65 20 | should |include |
|00001d60| 74 68 65 0a 09 27 64 27 | 20 6f 70 74 69 6f 6e 29 |the..'d'| option)|
|00001d70| 3a 0a 2a 2a 2a 20 2f 68 | 6f 6d 65 2f 62 61 6d 6d |:.*** /h|ome/bamm|
|00001d80| 69 2f 65 74 63 2f 73 72 | 63 2f 70 65 72 6c 2f 6c |i/etc/sr|c/perl/l|
|00001d90| 69 62 2f 70 65 72 6c 64 | 62 2e 70 6c 09 54 75 65 |ib/perld|b.pl.Tue|
|00001da0| 20 4a 75 6e 20 31 31 20 | 31 37 3a 34 30 3a 31 37 | Jun 11 |17:40:17|
|00001db0| 20 31 39 39 31 0a 2d 2d | 2d 20 70 65 72 6c 64 62 | 1991.--|- perldb|
|00001dc0| 2e 70 6c 09 4d 6f 6e 20 | 4f 63 74 20 20 37 20 32 |.pl.Mon |Oct 7 2|
|00001dd0| 31 3a 34 36 3a 32 38 20 | 31 39 39 31 0a 2a 2a 2a |1:46:28 |1991.***|
|00001de0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 0a 2a 2a 2a |********|****.***|
|00001df0| 20 34 39 2c 35 36 20 2a | 2a 2a 2a 0a 20 20 23 20 | 49,56 *|***. # |
|00001e00| 0a 20 20 23 0a 20 20 0a | 21 20 6f 70 65 6e 28 49 |. #. .|! open(I|
|00001e10| 4e 2c 20 22 3c 2f 64 65 | 76 2f 74 74 79 22 29 20 |N, "</de|v/tty") |
|00001e20| 7c 7c 20 6f 70 65 6e 28 | 49 4e 2c 20 20 22 3c 26 ||| open(|IN, "<&|
|00001e30| 53 54 44 49 4e 22 29 3b | 09 23 20 73 6f 20 77 65 |STDIN");|.# so we|
|00001e40| 20 64 6f 6e 27 74 20 64 | 69 6e 67 6c 65 20 73 74 | don't d|ingle st|
|00001e50| 64 69 6e 0a 21 20 6f 70 | 65 6e 28 4f 55 54 2c 22 |din.! op|en(OUT,"|
|00001e60| 3e 2f 64 65 76 2f 74 74 | 79 22 29 20 7c 7c 20 6f |>/dev/tt|y") || o|
|00001e70| 70 65 6e 28 4f 55 54 2c | 20 22 3e 26 53 54 44 4f |pen(OUT,| ">&STDO|
|00001e80| 55 54 22 29 3b 09 23 20 | 73 6f 20 77 65 20 64 6f |UT");.# |so we do|
|00001e90| 6e 27 74 20 64 6f 6e 67 | 6c 65 20 73 74 64 6f 75 |n't dong|le stdou|
|00001ea0| 74 0a 20 20 73 65 6c 65 | 63 74 28 4f 55 54 29 3b |t. sele|ct(OUT);|
|00001eb0| 0a 20 20 24 7c 20 3d 20 | 31 3b 09 09 09 09 23 20 |. $| = |1;....# |
|00001ec0| 66 6f 72 20 44 42 27 4f | 55 54 0a 20 20 73 65 6c |for DB'O|UT. sel|
|00001ed0| 65 63 74 28 53 54 44 4f | 55 54 29 3b 0a 2d 2d 2d |ect(STDO|UT);.---|
|00001ee0| 20 34 39 2c 35 36 20 2d | 2d 2d 2d 0a 20 20 23 20 | 49,56 -|---. # |
|00001ef0| 0a 20 20 23 0a 20 20 0a | 21 20 6f 70 65 6e 28 49 |. #. .|! open(I|
|00001f00| 4e 2c 20 22 3c 2f 64 65 | 76 2f 63 6f 6e 73 6f 6c |N, "</de|v/consol|
|00001f10| 65 22 29 20 7c 7c 20 6f | 70 65 6e 28 49 4e 2c 20 |e") || o|pen(IN, |
|00001f20| 20 22 3c 26 53 54 44 49 | 4e 22 29 3b 09 23 20 73 | "<&STDI|N");.# s|
|00001f30| 6f 20 77 65 20 64 6f 6e | 27 74 20 64 69 6e 67 6c |o we don|'t dingl|
|00001f40| 65 20 73 74 64 69 6e 0a | 21 20 6f 70 65 6e 28 4f |e stdin.|! open(O|
|00001f50| 55 54 2c 22 3e 2f 64 65 | 76 2f 63 6f 6e 73 6f 6c |UT,">/de|v/consol|
|00001f60| 65 22 29 20 7c 7c 20 6f | 70 65 6e 28 4f 55 54 2c |e") || o|pen(OUT,|
|00001f70| 20 22 3e 26 53 54 44 4f | 55 54 22 29 3b 09 23 20 | ">&STDO|UT");.# |
|00001f80| 73 6f 20 77 65 20 64 6f | 6e 27 74 20 64 6f 6e 67 |so we do|n't dong|
|00001f90| 6c 65 20 73 74 64 6f 75 | 74 0a 20 20 73 65 6c 65 |le stdou|t. sele|
|00001fa0| 63 74 28 4f 55 54 29 3b | 0a 20 20 24 7c 20 3d 20 |ct(OUT);|. $| = |
|00001fb0| 31 3b 09 09 09 09 23 20 | 66 6f 72 20 44 42 27 4f |1;....# |for DB'O|
|00001fc0| 55 54 0a 20 20 73 65 6c | 65 63 74 28 53 54 44 4f |UT. sel|ect(STDO|
|00001fd0| 55 54 29 3b 0a 0a 63 68 | 65 65 72 73 2c 0a 2d 2d |UT);..ch|eers,.--|
|00001fe0| 0a 62 61 6e 67 3a 20 20 | 20 75 75 6e 65 74 21 63 |.bang: | uunet!c|
|00001ff0| 61 64 65 6e 63 65 21 62 | 61 6d 6d 69 09 09 09 6a |adence!b|ammi...j|
|00002000| 77 61 68 61 72 20 72 2e | 20 62 61 6d 6d 69 0a 64 |wahar r.| bammi.d|
|00002010| 6f 6d 61 69 6e 3a 20 62 | 61 6d 6d 69 40 63 61 64 |omain: b|ammi@cad|
|00002020| 65 6e 63 65 2e 63 6f 6d | 0a 47 45 6e 69 65 3a 09 |ence.com|.GEnie:.|
|00002030| 4a 2e 42 61 6d 6d 69 0a | 43 49 53 3a 20 20 20 20 |J.Bammi.|CIS: |
|00002040| 37 31 35 31 35 2c 31 35 | 35 0a 00 00 00 00 00 00 |71515,15|5.......|
|00002050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002200| 70 65 72 6c 2d 34 2e 30 | 33 36 2f 61 74 61 72 69 |perl-4.0|36/atari|
|00002210| 73 74 2f 75 73 75 62 2f | 00 00 00 00 00 00 00 00 |st/usub/|........|
|00002220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002260| 00 00 00 00 20 20 32 37 | 35 35 20 00 20 20 36 32 |.... 27|55 . 62|
|00002270| 30 36 20 00 20 20 20 20 | 32 32 20 00 20 20 20 20 |06 . |22 . |
|00002280| 20 20 20 20 20 20 30 20 | 20 35 33 33 35 35 34 32 | 0 | 5335542|
|00002290| 32 30 34 20 20 31 32 35 | 37 32 00 20 35 00 00 00 |204 125|72. 5...|
|000022a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002300| 00 75 73 74 61 72 20 20 | 00 64 6a 6d 00 00 00 00 |.ustar |.djm....|
|00002310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002320| 00 00 00 00 00 00 00 00 | 00 75 6d 64 00 00 00 00 |........|.umd....|
|00002330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002400| 70 65 72 6c 2d 34 2e 30 | 33 36 2f 61 74 61 72 69 |perl-4.0|36/atari|
|00002410| 73 74 2f 75 73 75 62 2f | 52 45 41 44 4d 45 2e 41 |st/usub/|README.A|
|00002420| 54 41 52 49 00 00 00 00 | 00 00 00 00 00 00 00 00 |TARI....|........|
|00002430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002460| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 20 36 32 |.... 6|44 . 62|
|00002470| 30 36 20 00 20 20 20 20 | 32 32 20 00 20 20 20 20 |06 . |22 . |
|00002480| 20 20 20 20 31 31 37 20 | 20 35 33 33 35 35 34 31 | 117 | 5335541|
|00002490| 37 35 31 20 20 31 34 33 | 33 34 00 20 30 00 00 00 |751 143|34. 0...|
|000024a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002500| 00 75 73 74 61 72 20 20 | 00 64 6a 6d 00 00 00 00 |.ustar |.djm....|
|00002510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002520| 00 00 00 00 00 00 00 00 | 00 75 6d 64 00 00 00 00 |........|.umd....|
|00002530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002600| 46 6f 72 20 74 68 65 20 | 61 74 61 72 69 53 54 20 |For the |atariST |
|00002610| 62 73 64 20 64 65 72 69 | 76 65 64 20 63 75 72 73 |bsd deri|ved curs|
|00002620| 65 73 20 75 73 65 20 61 | 63 75 72 73 65 73 2e 6d |es use a|curses.m|
|00002630| 75 73 20 28 69 74 73 20 | 67 6f 74 20 69 74 73 20 |us (its |got its |
|00002640| 6f 77 6e 20 77 72 69 6e | 6b 6c 65 73 21 29 0a 00 |own wrin|kles!)..|
|00002650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002800| 70 65 72 6c 2d 34 2e 30 | 33 36 2f 61 74 61 72 69 |perl-4.0|36/atari|
|00002810| 73 74 2f 75 73 75 62 2f | 61 63 75 72 73 65 73 2e |st/usub/|acurses.|
|00002820| 6d 75 73 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |mus.....|........|
|00002830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002860| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 20 36 32 |.... 6|44 . 62|
|00002870| 30 36 20 00 20 20 20 20 | 32 32 20 00 20 20 20 20 |06 . |22 . |
|00002880| 20 20 33 32 30 33 32 20 | 20 35 33 33 35 35 34 32 | 32032 | 5335542|
|00002890| 30 36 36 20 20 31 35 30 | 35 31 00 20 30 00 00 00 |066 150|51. 0...|
|000028a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002900| 00 75 73 74 61 72 20 20 | 00 64 6a 6d 00 00 00 00 |.ustar |.djm....|
|00002910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002920| 00 00 00 00 00 00 00 00 | 00 75 6d 64 00 00 00 00 |........|.umd....|
|00002930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a00| 2f 2a 20 24 52 43 53 66 | 69 6c 65 3a 20 61 63 75 |/* $RCSf|ile: acu|
|00002a10| 72 73 65 73 2e 6d 75 73 | 2c 76 20 24 24 52 65 76 |rses.mus|,v $$Rev|
|00002a20| 69 73 69 6f 6e 3a 20 34 | 2e 30 2e 31 2e 31 20 24 |ision: 4|.0.1.1 $|
|00002a30| 24 44 61 74 65 3a 20 39 | 32 2f 30 36 2f 30 38 20 |$Date: 9|2/06/08 |
|00002a40| 31 31 3a 35 34 3a 33 30 | 20 24 0a 20 2a 0a 20 2a |11:54:30| $. *. *|
|00002a50| 20 24 4c 6f 67 3a 09 61 | 63 75 72 73 65 73 2e 6d | $Log:.a|curses.m|
|00002a60| 75 73 2c 76 20 24 0a 20 | 2a 20 52 65 76 69 73 69 |us,v $. |* Revisi|
|00002a70| 6f 6e 20 34 2e 30 2e 31 | 2e 31 20 20 39 32 2f 30 |on 4.0.1|.1 92/0|
|00002a80| 36 2f 30 38 20 20 31 31 | 3a 35 34 3a 33 30 20 20 |6/08 11|:54:30 |
|00002a90| 6c 77 61 6c 6c 0a 20 2a | 20 49 6e 69 74 69 61 6c |lwall. *| Initial|
|00002aa0| 20 72 65 76 69 73 69 6f | 6e 0a 20 2a 20 0a 20 2a | revisio|n. * . *|
|00002ab0| 20 52 65 76 69 73 69 6f | 6e 20 34 2e 30 2e 31 2e | Revisio|n 4.0.1.|
|00002ac0| 31 20 20 39 31 2f 31 31 | 2f 30 35 20 20 31 39 3a |1 91/11|/05 19:|
|00002ad0| 30 34 3a 35 33 20 20 6c | 77 61 6c 6c 0a 20 2a 20 |04:53 l|wall. * |
|00002ae0| 69 6e 69 74 69 61 6c 20 | 63 68 65 63 6b 69 6e 0a |initial |checkin.|
|00002af0| 20 2a 20 0a 20 2a 20 52 | 65 76 69 73 69 6f 6e 20 | * . * R|evision |
|00002b00| 34 2e 30 20 20 39 31 2f | 30 33 2f 32 30 20 20 30 |4.0 91/|03/20 0|
|00002b10| 31 3a 35 36 3a 31 33 20 | 20 6c 77 61 6c 6c 0a 20 |1:56:13 | lwall. |
|00002b20| 2a 20 34 2e 30 20 62 61 | 73 65 6c 69 6e 65 2e 0a |* 4.0 ba|seline..|
|00002b30| 20 2a 20 0a 20 2a 20 52 | 65 76 69 73 69 6f 6e 20 | * . * R|evision |
|00002b40| 33 2e 30 2e 31 2e 31 20 | 20 39 30 2f 30 38 2f 30 |3.0.1.1 | 90/08/0|
|00002b50| 39 20 20 30 34 3a 30 35 | 3a 32 31 20 20 6c 77 61 |9 04:05|:21 lwa|
|00002b60| 6c 6c 0a 20 2a 20 70 61 | 74 63 68 31 39 3a 20 49 |ll. * pa|tch19: I|
|00002b70| 6e 69 74 69 61 6c 20 72 | 65 76 69 73 69 6f 6e 0a |nitial r|evision.|
|00002b80| 20 2a 20 0a 20 2a 2f 0a | 0a 23 69 6e 63 6c 75 64 | * . */.|.#includ|
|00002b90| 65 20 22 45 58 54 45 52 | 4e 2e 68 22 0a 23 69 6e |e "EXTER|N.h".#in|
|00002ba0| 63 6c 75 64 65 20 22 70 | 65 72 6c 2e 68 22 0a 0a |clude "p|erl.h"..|
|00002bb0| 63 68 61 72 20 2a 73 61 | 76 65 73 74 72 28 29 3b |char *sa|vestr();|
|00002bc0| 0a 0a 23 69 66 64 65 66 | 20 61 74 61 72 69 73 74 |..#ifdef| atarist|
|00002bd0| 09 2f 2a 20 73 61 76 65 | 20 61 6e 64 20 72 65 73 |./* save| and res|
|00002be0| 74 6f 72 65 20 64 65 66 | 69 6e 69 74 69 6f 6e 20 |tore def|inition |
|00002bf0| 6f 66 20 56 4f 49 44 20 | 61 72 6f 75 6e 64 20 63 |of VOID |around c|
|00002c00| 75 72 73 65 73 2e 68 20 | 2a 2f 0a 23 20 64 65 66 |urses.h |*/.# def|
|00002c10| 69 6e 65 20 5f 5f 53 41 | 56 45 56 4f 49 44 20 56 |ine __SA|VEVOID V|
|00002c20| 4f 49 44 0a 23 20 75 6e | 64 65 66 20 20 56 4f 49 |OID.# un|def VOI|
|00002c30| 44 0a 23 65 6e 64 69 66 | 0a 0a 23 69 6e 63 6c 75 |D.#endif|..#inclu|
|00002c40| 64 65 20 3c 63 75 72 73 | 65 73 2e 68 3e 0a 0a 73 |de <curs|es.h>..s|
|00002c50| 74 61 74 69 63 20 65 6e | 75 6d 20 75 73 65 72 76 |tatic en|um userv|
|00002c60| 61 72 73 20 7b 0a 20 20 | 20 20 55 56 5f 63 75 72 |ars {. | UV_cur|
|00002c70| 73 63 72 2c 0a 20 20 20 | 20 55 56 5f 73 74 64 73 |scr,. | UV_stds|
|00002c80| 63 72 2c 0a 20 20 20 20 | 55 56 5f 44 65 66 5f 74 |cr,. |UV_Def_t|
|00002c90| 65 72 6d 2c 0a 20 20 20 | 20 55 56 5f 4d 79 5f 74 |erm,. | UV_My_t|
|00002ca0| 65 72 6d 2c 0a 20 20 20 | 20 55 56 5f 74 74 79 74 |erm,. | UV_ttyt|
|00002cb0| 79 70 65 2c 0a 20 20 20 | 20 55 56 5f 4c 49 4e 45 |ype,. | UV_LINE|
|00002cc0| 53 2c 0a 20 20 20 20 55 | 56 5f 43 4f 4c 53 2c 0a |S,. U|V_COLS,.|
|00002cd0| 20 20 20 20 55 56 5f 45 | 52 52 2c 0a 20 20 20 20 | UV_E|RR,. |
|00002ce0| 55 56 5f 4f 4b 2c 0a 7d | 3b 0a 0a 73 74 61 74 69 |UV_OK,.}|;..stati|
|00002cf0| 63 20 65 6e 75 6d 20 75 | 73 65 72 73 75 62 73 20 |c enum u|sersubs |
|00002d00| 7b 0a 20 20 20 20 55 53 | 5f 61 64 64 63 68 2c 0a |{. US|_addch,.|
|00002d10| 20 20 20 20 55 53 5f 77 | 61 64 64 63 68 2c 0a 20 | US_w|addch,. |
|00002d20| 20 20 20 55 53 5f 61 64 | 64 73 74 72 2c 0a 20 20 | US_ad|dstr,. |
|00002d30| 20 20 55 53 5f 77 61 64 | 64 73 74 72 2c 0a 20 20 | US_wad|dstr,. |
|00002d40| 20 20 55 53 5f 62 6f 78 | 2c 0a 20 20 20 20 55 53 | US_box|,. US|
|00002d50| 5f 63 6c 65 61 72 2c 0a | 20 20 20 20 55 53 5f 77 |_clear,.| US_w|
|00002d60| 63 6c 65 61 72 2c 0a 20 | 20 20 20 55 53 5f 63 6c |clear,. | US_cl|
|00002d70| 65 61 72 6f 6b 2c 0a 20 | 20 20 20 55 53 5f 63 6c |earok,. | US_cl|
|00002d80| 72 74 6f 62 6f 74 2c 0a | 20 20 20 20 55 53 5f 77 |rtobot,.| US_w|
|00002d90| 63 6c 72 74 6f 62 6f 74 | 2c 0a 20 20 20 20 55 53 |clrtobot|,. US|
|00002da0| 5f 63 6c 72 74 6f 65 6f | 6c 2c 0a 20 20 20 20 55 |_clrtoeo|l,. U|
|00002db0| 53 5f 77 63 6c 72 74 6f | 65 6f 6c 2c 0a 20 20 20 |S_wclrto|eol,. |
|00002dc0| 20 55 53 5f 64 65 6c 63 | 68 2c 0a 20 20 20 20 55 | US_delc|h,. U|
|00002dd0| 53 5f 77 64 65 6c 63 68 | 2c 0a 20 20 20 20 55 53 |S_wdelch|,. US|
|00002de0| 5f 64 65 6c 65 74 65 6c | 6e 2c 0a 20 20 20 20 55 |_deletel|n,. U|
|00002df0| 53 5f 77 64 65 6c 65 74 | 65 6c 6e 2c 0a 20 20 20 |S_wdelet|eln,. |
|00002e00| 20 55 53 5f 65 72 61 73 | 65 2c 0a 20 20 20 20 55 | US_eras|e,. U|
|00002e10| 53 5f 77 65 72 61 73 65 | 2c 0a 20 20 20 20 55 53 |S_werase|,. US|
|00002e20| 5f 66 6c 75 73 68 6f 6b | 2c 0a 20 20 20 20 55 53 |_flushok|,. US|
|00002e30| 5f 69 64 6c 6f 6b 2c 0a | 20 20 20 20 55 53 5f 69 |_idlok,.| US_i|
|00002e40| 6e 73 63 68 2c 0a 20 20 | 20 20 55 53 5f 77 69 6e |nsch,. | US_win|
|00002e50| 73 63 68 2c 0a 20 20 20 | 20 55 53 5f 69 6e 73 65 |sch,. | US_inse|
|00002e60| 72 74 6c 6e 2c 0a 20 20 | 20 20 55 53 5f 77 69 6e |rtln,. | US_win|
|00002e70| 73 65 72 74 6c 6e 2c 0a | 20 20 20 20 55 53 5f 6d |sertln,.| US_m|
|00002e80| 6f 76 65 2c 0a 20 20 20 | 20 55 53 5f 77 6d 6f 76 |ove,. | US_wmov|
|00002e90| 65 2c 0a 20 20 20 20 55 | 53 5f 6f 76 65 72 6c 61 |e,. U|S_overla|
|00002ea0| 79 2c 0a 20 20 20 20 55 | 53 5f 6f 76 65 72 77 72 |y,. U|S_overwr|
|00002eb0| 69 74 65 2c 0a 20 20 20 | 20 55 53 5f 70 72 69 6e |ite,. | US_prin|
|00002ec0| 74 77 2c 0a 20 20 20 20 | 55 53 5f 77 70 72 69 6e |tw,. |US_wprin|
|00002ed0| 74 77 2c 0a 20 20 20 20 | 55 53 5f 72 65 66 72 65 |tw,. |US_refre|
|00002ee0| 73 68 2c 0a 20 20 20 20 | 55 53 5f 77 72 65 66 72 |sh,. |US_wrefr|
|00002ef0| 65 73 68 2c 0a 20 20 20 | 20 55 53 5f 73 74 61 6e |esh,. | US_stan|
|00002f00| 64 6f 75 74 2c 0a 20 20 | 20 20 55 53 5f 77 73 74 |dout,. | US_wst|
|00002f10| 61 6e 64 6f 75 74 2c 0a | 20 20 20 20 55 53 5f 73 |andout,.| US_s|
|00002f20| 74 61 6e 64 65 6e 64 2c | 0a 20 20 20 20 55 53 5f |tandend,|. US_|
|00002f30| 77 73 74 61 6e 64 65 6e | 64 2c 0a 20 20 20 20 55 |wstanden|d,. U|
|00002f40| 53 5f 63 62 72 65 61 6b | 2c 0a 20 20 20 20 55 53 |S_cbreak|,. US|
|00002f50| 5f 6e 6f 63 62 72 65 61 | 6b 2c 0a 20 20 20 20 55 |_nocbrea|k,. U|
|00002f60| 53 5f 65 63 68 6f 2c 0a | 20 20 20 20 55 53 5f 6e |S_echo,.| US_n|
|00002f70| 6f 65 63 68 6f 2c 0a 20 | 20 20 20 55 53 5f 67 65 |oecho,. | US_ge|
|00002f80| 74 63 68 2c 0a 20 20 20 | 20 55 53 5f 77 67 65 74 |tch,. | US_wget|
|00002f90| 63 68 2c 0a 20 20 20 20 | 55 53 5f 67 65 74 73 74 |ch,. |US_getst|
|00002fa0| 72 2c 0a 20 20 20 20 55 | 53 5f 77 67 65 74 73 74 |r,. U|S_wgetst|
|00002fb0| 72 2c 0a 20 20 20 20 55 | 53 5f 72 61 77 2c 0a 20 |r,. U|S_raw,. |
|00002fc0| 20 20 20 55 53 5f 6e 6f | 72 61 77 2c 0a 20 20 20 | US_no|raw,. |
|00002fd0| 20 55 53 5f 73 63 61 6e | 77 2c 0a 20 20 20 20 55 | US_scan|w,. U|
|00002fe0| 53 5f 77 73 63 61 6e 77 | 2c 0a 20 20 20 20 55 53 |S_wscanw|,. US|
|00002ff0| 5f 62 61 75 64 72 61 74 | 65 2c 0a 20 20 20 20 55 |_baudrat|e,. U|
|00003000| 53 5f 64 65 6c 77 69 6e | 2c 0a 20 20 20 20 55 53 |S_delwin|,. US|
|00003010| 5f 65 6e 64 77 69 6e 2c | 0a 20 20 20 20 55 53 5f |_endwin,|. US_|
|00003020| 65 72 61 73 65 63 68 61 | 72 2c 0a 20 20 20 20 55 |erasecha|r,. U|
|00003030| 53 5f 67 65 74 63 61 70 | 2c 0a 20 20 20 20 55 53 |S_getcap|,. US|
|00003040| 5f 67 65 74 79 78 2c 0a | 20 20 20 20 55 53 5f 69 |_getyx,.| US_i|
|00003050| 6e 63 68 2c 0a 20 20 20 | 20 55 53 5f 77 69 6e 63 |nch,. | US_winc|
|00003060| 68 2c 0a 20 20 20 20 55 | 53 5f 69 6e 69 74 73 63 |h,. U|S_initsc|
|00003070| 72 2c 0a 20 20 20 20 55 | 53 5f 6b 69 6c 6c 63 68 |r,. U|S_killch|
|00003080| 61 72 2c 0a 20 20 20 20 | 55 53 5f 6c 65 61 76 65 |ar,. |US_leave|
|00003090| 6f 6b 2c 0a 20 20 20 20 | 55 53 5f 6c 6f 6e 67 6e |ok,. |US_longn|
|000030a0| 61 6d 65 2c 0a 20 20 20 | 20 55 53 5f 66 75 6c 6c |ame,. | US_full|
|000030b0| 6e 61 6d 65 2c 0a 20 20 | 20 20 55 53 5f 6d 76 77 |name,. | US_mvw|
|000030c0| 69 6e 2c 0a 20 20 20 20 | 55 53 5f 6e 65 77 77 69 |in,. |US_newwi|
|000030d0| 6e 2c 0a 20 20 20 20 55 | 53 5f 6e 6c 2c 0a 20 20 |n,. U|S_nl,. |
|000030e0| 20 20 55 53 5f 6e 6f 6e | 6c 2c 0a 20 20 20 20 55 | US_non|l,. U|
|000030f0| 53 5f 73 63 72 6f 6c 6c | 6f 6b 2c 0a 20 20 20 20 |S_scroll|ok,. |
|00003100| 55 53 5f 73 75 62 77 69 | 6e 2c 0a 20 20 20 20 55 |US_subwi|n,. U|
|00003110| 53 5f 74 6f 75 63 68 6c | 69 6e 65 2c 0a 20 20 20 |S_touchl|ine,. |
|00003120| 20 55 53 5f 74 6f 75 63 | 68 6f 76 65 72 6c 61 70 | US_touc|hoverlap|
|00003130| 2c 0a 20 20 20 20 55 53 | 5f 74 6f 75 63 68 77 69 |,. US|_touchwi|
|00003140| 6e 2c 0a 20 20 20 20 55 | 53 5f 75 6e 63 74 72 6c |n,. U|S_unctrl|
|00003150| 2c 0a 20 20 20 20 55 53 | 5f 67 65 74 74 6d 6f 64 |,. US|_gettmod|
|00003160| 65 2c 0a 20 20 20 20 55 | 53 5f 6d 76 63 75 72 2c |e,. U|S_mvcur,|
|00003170| 0a 20 20 20 20 55 53 5f | 73 63 72 6f 6c 6c 2c 0a |. US_|scroll,.|
|00003180| 20 20 20 20 55 53 5f 73 | 61 76 65 74 74 79 2c 0a | US_s|avetty,.|
|00003190| 20 20 20 20 55 53 5f 72 | 65 73 65 74 74 79 2c 0a | US_r|esetty,.|
|000031a0| 20 20 20 20 55 53 5f 73 | 65 74 74 65 72 6d 2c 0a | US_s|etterm,.|
|000031b0| 20 20 20 20 55 53 5f 74 | 73 74 70 2c 0a 20 20 20 | US_t|stp,. |
|000031c0| 20 55 53 5f 5f 70 75 74 | 63 68 61 72 2c 0a 20 20 | US__put|char,. |
|000031d0| 20 20 55 53 5f 74 65 73 | 74 63 61 6c 6c 62 61 63 | US_tes|tcallbac|
|000031e0| 6b 2c 0a 7d 3b 0a 0a 73 | 74 61 74 69 63 20 69 6e |k,.};..s|tatic in|
|000031f0| 74 20 75 73 65 72 73 75 | 62 28 29 3b 0a 73 74 61 |t usersu|b();.sta|
|00003200| 74 69 63 20 69 6e 74 20 | 75 73 65 72 73 65 74 28 |tic int |userset(|
|00003210| 29 3b 0a 73 74 61 74 69 | 63 20 69 6e 74 20 75 73 |);.stati|c int us|
|00003220| 65 72 76 61 6c 28 29 3b | 0a 0a 69 6e 74 0a 69 6e |erval();|..int.in|
|00003230| 69 74 5f 63 75 72 73 65 | 73 28 29 0a 7b 0a 20 20 |it_curse|s().{. |
|00003240| 20 20 73 74 72 75 63 74 | 20 75 66 75 6e 63 73 20 | struct| ufuncs |
|00003250| 75 66 3b 0a 20 20 20 20 | 63 68 61 72 20 2a 66 69 |uf;. |char *fi|
|00003260| 6c 65 6e 61 6d 65 20 3d | 20 22 63 75 72 73 65 73 |lename =| "curses|
|00003270| 2e 63 22 3b 0a 0a 20 20 | 20 20 75 66 2e 75 66 5f |.c";.. | uf.uf_|
|00003280| 73 65 74 20 3d 20 75 73 | 65 72 73 65 74 3b 0a 20 |set = us|erset;. |
|00003290| 20 20 20 75 66 2e 75 66 | 5f 76 61 6c 20 3d 20 75 | uf.uf|_val = u|
|000032a0| 73 65 72 76 61 6c 3b 0a | 0a 23 64 65 66 69 6e 65 |serval;.|.#define|
|000032b0| 20 4d 41 47 49 43 56 41 | 52 28 6e 61 6d 65 2c 20 | MAGICVA|R(name, |
|000032c0| 69 78 29 20 75 66 2e 75 | 66 5f 69 6e 64 65 78 20 |ix) uf.u|f_index |
|000032d0| 3d 20 69 78 2c 20 6d 61 | 67 69 63 6e 61 6d 65 28 |= ix, ma|gicname(|
|000032e0| 6e 61 6d 65 2c 20 26 75 | 66 2c 20 73 69 7a 65 6f |name, &u|f, sizeo|
|000032f0| 66 20 75 66 29 0a 0a 20 | 20 20 20 4d 41 47 49 43 |f uf).. | MAGIC|
|00003300| 56 41 52 28 22 63 75 72 | 73 63 72 22 2c 09 55 56 |VAR("cur|scr",.UV|
|00003310| 5f 63 75 72 73 63 72 29 | 3b 0a 20 20 20 20 4d 41 |_curscr)|;. MA|
|00003320| 47 49 43 56 41 52 28 22 | 73 74 64 73 63 72 22 2c |GICVAR("|stdscr",|
|00003330| 09 55 56 5f 73 74 64 73 | 63 72 29 3b 0a 20 20 20 |.UV_stds|cr);. |
|00003340| 20 4d 41 47 49 43 56 41 | 52 28 22 44 65 66 5f 74 | MAGICVA|R("Def_t|
|00003350| 65 72 6d 22 2c 55 56 5f | 44 65 66 5f 74 65 72 6d |erm",UV_|Def_term|
|00003360| 29 3b 0a 20 20 20 20 4d | 41 47 49 43 56 41 52 28 |);. M|AGICVAR(|
|00003370| 22 4d 79 5f 74 65 72 6d | 22 2c 09 55 56 5f 4d 79 |"My_term|",.UV_My|
|00003380| 5f 74 65 72 6d 29 3b 0a | 20 20 20 20 4d 41 47 49 |_term);.| MAGI|
|00003390| 43 56 41 52 28 22 74 74 | 79 74 79 70 65 22 2c 09 |CVAR("tt|ytype",.|
|000033a0| 55 56 5f 74 74 79 74 79 | 70 65 29 3b 0a 20 20 20 |UV_ttyty|pe);. |
|000033b0| 20 4d 41 47 49 43 56 41 | 52 28 22 4c 49 4e 45 53 | MAGICVA|R("LINES|
|000033c0| 22 2c 09 55 56 5f 4c 49 | 4e 45 53 29 3b 0a 20 20 |",.UV_LI|NES);. |
|000033d0| 20 20 4d 41 47 49 43 56 | 41 52 28 22 43 4f 4c 53 | MAGICV|AR("COLS|
|000033e0| 22 2c 09 55 56 5f 43 4f | 4c 53 29 3b 0a 20 20 20 |",.UV_CO|LS);. |
|000033f0| 20 4d 41 47 49 43 56 41 | 52 28 22 45 52 52 22 2c | MAGICVA|R("ERR",|
|00003400| 09 55 56 5f 45 52 52 29 | 3b 0a 20 20 20 20 4d 41 |.UV_ERR)|;. MA|
|00003410| 47 49 43 56 41 52 28 22 | 4f 4b 22 2c 09 55 56 5f |GICVAR("|OK",.UV_|
|00003420| 4f 4b 29 3b 0a 0a 20 20 | 20 20 6d 61 6b 65 5f 75 |OK);.. | make_u|
|00003430| 73 75 62 28 22 61 64 64 | 63 68 22 2c 09 09 55 53 |sub("add|ch",..US|
|00003440| 5f 61 64 64 63 68 2c 09 | 75 73 65 72 73 75 62 2c |_addch,.|usersub,|
|00003450| 20 66 69 6c 65 6e 61 6d | 65 29 3b 0a 20 20 20 20 | filenam|e);. |
|00003460| 6d 61 6b 65 5f 75 73 75 | 62 28 22 77 61 64 64 63 |make_usu|b("waddc|
|00003470| 68 22 2c 09 09 55 53 5f | 77 61 64 64 63 68 2c 09 |h",..US_|waddch,.|
|00003480| 75 73 65 72 73 75 62 2c | 20 66 69 6c 65 6e 61 6d |usersub,| filenam|
|00003490| 65 29 3b 0a 20 20 20 20 | 6d 61 6b 65 5f 75 73 75 |e);. |make_usu|
|000034a0| 62 28 22 61 64 64 73 74 | 72 22 2c 09 09 55 53 5f |b("addst|r",..US_|
|000034b0| 61 64 64 73 74 72 2c 09 | 75 73 65 72 73 75 62 2c |addstr,.|usersub,|
|000034c0| 20 66 69 6c 65 6e 61 6d | 65 29 3b 0a 20 20 20 20 | filenam|e);. |
|000034d0| 6d 61 6b 65 5f 75 73 75 | 62 28 22 77 61 64 64 73 |make_usu|b("wadds|
|000034e0| 74 72 22 2c 09 55 53 5f | 77 61 64 64 73 74 72 2c |tr",.US_|waddstr,|
|000034f0| 09 75 73 65 72 73 75 62 | 2c 20 66 69 6c 65 6e 61 |.usersub|, filena|
|00003500| 6d 65 29 3b 0a 20 20 20 | 20 6d 61 6b 65 5f 75 73 |me);. | make_us|
|00003510| 75 62 28 22 62 6f 78 22 | 2c 09 09 55 53 5f 62 6f |ub("box"|,..US_bo|
|00003520| 78 2c 09 09 75 73 65 72 | 73 75 62 2c 20 66 69 6c |x,..user|sub, fil|
|00003530| 65 6e 61 6d 65 29 3b 0a | 20 20 20 20 6d 61 6b 65 |ename);.| make|
|00003540| 5f 75 73 75 62 28 22 63 | 6c 65 61 72 22 2c 09 09 |_usub("c|lear",..|
|00003550| 55 53 5f 63 6c 65 61 72 | 2c 09 75 73 65 72 73 75 |US_clear|,.usersu|
|00003560| 62 2c 20 66 69 6c 65 6e | 61 6d 65 29 3b 0a 20 20 |b, filen|ame);. |
|00003570| 20 20 6d 61 6b 65 5f 75 | 73 75 62 28 22 77 63 6c | make_u|sub("wcl|
|00003580| 65 61 72 22 2c 09 09 55 | 53 5f 77 63 6c 65 61 72 |ear",..U|S_wclear|
|00003590| 2c 09 75 73 65 72 73 75 | 62 2c 20 66 69 6c 65 6e |,.usersu|b, filen|
|000035a0| 61 6d 65 29 3b 0a 20 20 | 20 20 6d 61 6b 65 5f 75 |ame);. | make_u|
|000035b0| 73 75 62 28 22 63 6c 65 | 61 72 6f 6b 22 2c 09 55 |sub("cle|arok",.U|
|000035c0| 53 5f 63 6c 65 61 72 6f | 6b 2c 09 75 73 65 72 73 |S_clearo|k,.users|
|000035d0| 75 62 2c 20 66 69 6c 65 | 6e 61 6d 65 29 3b 0a 20 |ub, file|name);. |
|000035e0| 20 20 20 6d 61 6b 65 5f | 75 73 75 62 28 22 63 6c | make_|usub("cl|
|000035f0| 72 74 6f 62 6f 74 22 2c | 09 55 53 5f 63 6c 72 74 |rtobot",|.US_clrt|
|00003600| 6f 62 6f 74 2c 09 75 73 | 65 72 73 75 62 2c 20 66 |obot,.us|ersub, f|
|00003610| 69 6c 65 6e 61 6d 65 29 | 3b 0a 20 20 20 20 6d 61 |ilename)|;. ma|
|00003620| 6b 65 5f 75 73 75 62 28 | 22 77 63 6c 72 74 6f 62 |ke_usub(|"wclrtob|
|00003630| 6f 74 22 2c 09 55 53 5f | 77 63 6c 72 74 6f 62 6f |ot",.US_|wclrtobo|
|00003640| 74 2c 09 75 73 65 72 73 | 75 62 2c 20 66 69 6c 65 |t,.users|ub, file|
|00003650| 6e 61 6d 65 29 3b 0a 20 | 20 20 20 6d 61 6b 65 5f |name);. | make_|
|00003660| 75 73 75 62 28 22 63 6c | 72 74 6f 65 6f 6c 22 2c |usub("cl|rtoeol",|
|00003670| 09 55 53 5f 63 6c 72 74 | 6f 65 6f 6c 2c 09 75 73 |.US_clrt|oeol,.us|
|00003680| 65 72 73 75 62 2c 20 66 | 69 6c 65 6e 61 6d 65 29 |ersub, f|ilename)|
|00003690| 3b 0a 20 20 20 20 6d 61 | 6b 65 5f 75 73 75 62 28 |;. ma|ke_usub(|
|000036a0| 22 77 63 6c 72 74 6f 65 | 6f 6c 22 2c 09 55 53 5f |"wclrtoe|ol",.US_|
|000036b0| 77 63 6c 72 74 6f 65 6f | 6c 2c 09 75 73 65 72 73 |wclrtoeo|l,.users|
|000036c0| 75 62 2c 20 66 69 6c 65 | 6e 61 6d 65 29 3b 0a 20 |ub, file|name);. |
|000036d0| 20 20 20 6d 61 6b 65 5f | 75 73 75 62 28 22 64 65 | make_|usub("de|
|000036e0| 6c 63 68 22 2c 09 09 55 | 53 5f 64 65 6c 63 68 2c |lch",..U|S_delch,|
|000036f0| 09 75 73 65 72 73 75 62 | 2c 20 66 69 6c 65 6e 61 |.usersub|, filena|
|00003700| 6d 65 29 3b 0a 20 20 20 | 20 6d 61 6b 65 5f 75 73 |me);. | make_us|
|00003710| 75 62 28 22 77 64 65 6c | 63 68 22 2c 09 09 55 53 |ub("wdel|ch",..US|
|00003720| 5f 77 64 65 6c 63 68 2c | 09 75 73 65 72 73 75 62 |_wdelch,|.usersub|
|00003730| 2c 20 66 69 6c 65 6e 61 | 6d 65 29 3b 0a 20 20 20 |, filena|me);. |
|00003740| 20 6d 61 6b 65 5f 75 73 | 75 62 28 22 64 65 6c 65 | make_us|ub("dele|
|00003750| 74 65 6c 6e 22 2c 09 55 | 53 5f 64 65 6c 65 74 65 |teln",.U|S_delete|
|00003760| 6c 6e 2c 09 75 73 65 72 | 73 75 62 2c 20 66 69 6c |ln,.user|sub, fil|
|00003770| 65 6e 61 6d 65 29 3b 0a | 20 20 20 20 6d 61 6b 65 |ename);.| make|
|00003780| 5f 75 73 75 62 28 22 77 | 64 65 6c 65 74 65 6c 6e |_usub("w|deleteln|
|00003790| 22 2c 09 55 53 5f 77 64 | 65 6c 65 74 65 6c 6e 2c |",.US_wd|eleteln,|
|000037a0| 09 75 73 65 72 73 75 62 | 2c 20 66 69 6c 65 6e 61 |.usersub|, filena|
|000037b0| 6d 65 29 3b 0a 20 20 20 | 20 6d 61 6b 65 5f 75 73 |me);. | make_us|
|000037c0| 75 62 28 22 65 72 61 73 | 65 22 2c 09 09 55 53 5f |ub("eras|e",..US_|
|000037d0| 65 72 61 73 65 2c 09 75 | 73 65 72 73 75 62 2c 20 |erase,.u|sersub, |
|000037e0| 66 69 6c 65 6e 61 6d 65 | 29 3b 0a 20 20 20 20 6d |filename|);. m|
|000037f0| 61 6b 65 5f 75 73 75 62 | 28 22 77 65 72 61 73 65 |ake_usub|("werase|
|00003800| 22 2c 09 09 55 53 5f 77 | 65 72 61 73 65 2c 09 75 |",..US_w|erase,.u|
|00003810| 73 65 72 73 75 62 2c 20 | 66 69 6c 65 6e 61 6d 65 |sersub, |filename|
|00003820| 29 3b 0a 20 20 20 20 6d | 61 6b 65 5f 75 73 75 62 |);. m|ake_usub|
|00003830| 28 22 66 6c 75 73 68 6f | 6b 22 2c 09 55 53 5f 66 |("flusho|k",.US_f|
|00003840| 6c 75 73 68 6f 6b 2c 09 | 75 73 65 72 73 75 62 2c |lushok,.|usersub,|
|00003850| 20 66 69 6c 65 6e 61 6d | 65 29 3b 0a 20 20 20 20 | filenam|e);. |
|00003860| 6d 61 6b 65 5f 75 73 75 | 62 28 22 69 64 6c 6f 6b |make_usu|b("idlok|
|00003870| 22 2c 09 09 55 53 5f 69 | 64 6c 6f 6b 2c 09 75 73 |",..US_i|dlok,.us|
|00003880| 65 72 73 75 62 2c 20 66 | 69 6c 65 6e 61 6d 65 29 |ersub, f|ilename)|
|00003890| 3b 0a 20 20 20 20 6d 61 | 6b 65 5f 75 73 75 62 28 |;. ma|ke_usub(|
|000038a0| 22 69 6e 73 63 68 22 2c | 09 09 55 53 5f 69 6e 73 |"insch",|..US_ins|
|000038b0| 63 68 2c 09 75 73 65 72 | 73 75 62 2c 20 66 69 6c |ch,.user|sub, fil|
|000038c0| 65 6e 61 6d 65 29 3b 0a | 20 20 20 20 6d 61 6b 65 |ename);.| make|
|000038d0| 5f 75 73 75 62 28 22 77 | 69 6e 73 63 68 22 2c 09 |_usub("w|insch",.|
|000038e0| 09 55 53 5f 77 69 6e 73 | 63 68 2c 09 75 73 65 72 |.US_wins|ch,.user|
|000038f0| 73 75 62 2c 20 66 69 6c | 65 6e 61 6d 65 29 3b 0a |sub, fil|ename);.|
|00003900| 20 20 20 20 6d 61 6b 65 | 5f 75 73 75 62 28 22 69 | make|_usub("i|
|00003910| 6e 73 65 72 74 6c 6e 22 | 2c 09 55 53 5f 69 6e 73 |nsertln"|,.US_ins|
|00003920| 65 72 74 6c 6e 2c 09 75 | 73 65 72 73 75 62 2c 20 |ertln,.u|sersub, |
|00003930| 66 69 6c 65 6e 61 6d 65 | 29 3b 0a 20 20 20 20 6d |filename|);. m|
|00003940| 61 6b 65 5f 75 73 75 62 | 28 22 77 69 6e 73 65 72 |ake_usub|("winser|
|00003950| 74 6c 6e 22 2c 09 55 53 | 5f 77 69 6e 73 65 72 74 |tln",.US|_winsert|
|00003960| 6c 6e 2c 09 75 73 65 72 | 73 75 62 2c 20 66 69 6c |ln,.user|sub, fil|
|00003970| 65 6e 61 6d 65 29 3b 0a | 20 20 20 20 6d 61 6b 65 |ename);.| make|
|00003980| 5f 75 73 75 62 28 22 6d | 6f 76 65 22 2c 09 09 55 |_usub("m|ove",..U|
|00003990| 53 5f 6d 6f 76 65 2c 09 | 75 73 65 72 73 75 62 2c |S_move,.|usersub,|
|000039a0| 20 66 69 6c 65 6e 61 6d | 65 29 3b 0a 20 20 20 20 | filenam|e);. |
|000039b0| 6d 61 6b 65 5f 75 73 75 | 62 28 22 77 6d 6f 76 65 |make_usu|b("wmove|
|000039c0| 22 2c 09 09 55 53 5f 77 | 6d 6f 76 65 2c 09 75 73 |",..US_w|move,.us|
|000039d0| 65 72 73 75 62 2c 20 66 | 69 6c 65 6e 61 6d 65 29 |ersub, f|ilename)|
|000039e0| 3b 0a 20 20 20 20 6d 61 | 6b 65 5f 75 73 75 62 28 |;. ma|ke_usub(|
|000039f0| 22 6f 76 65 72 6c 61 79 | 22 2c 09 55 53 5f 6f 76 |"overlay|",.US_ov|
|00003a00| 65 72 6c 61 79 2c 09 75 | 73 65 72 73 75 62 2c 20 |erlay,.u|sersub, |
|00003a10| 66 69 6c 65 6e 61 6d 65 | 29 3b 0a 20 20 20 20 6d |filename|);. m|
|00003a20| 61 6b 65 5f 75 73 75 62 | 28 22 6f 76 65 72 77 72 |ake_usub|("overwr|
|00003a30| 69 74 65 22 2c 09 55 53 | 5f 6f 76 65 72 77 72 69 |ite",.US|_overwri|
|00003a40| 74 65 2c 09 75 73 65 72 | 73 75 62 2c 20 66 69 6c |te,.user|sub, fil|
|00003a50| 65 6e 61 6d 65 29 3b 0a | 20 20 20 20 6d 61 6b 65 |ename);.| make|
|00003a60| 5f 75 73 75 62 28 22 70 | 72 69 6e 74 77 22 2c 09 |_usub("p|rintw",.|
|00003a70| 09 55 53 5f 70 72 69 6e | 74 77 2c 09 75 73 65 72 |.US_prin|tw,.user|
|00003a80| 73 75 62 2c 20 66 69 6c | 65 6e 61 6d 65 29 3b 0a |sub, fil|ename);.|
|00003a90| 20 20 20 20 6d 61 6b 65 | 5f 75 73 75 62 28 22 77 | make|_usub("w|
|00003aa0| 70 72 69 6e 74 77 22 2c | 09 55 53 5f 77 70 72 69 |printw",|.US_wpri|
|00003ab0| 6e 74 77 2c 09 75 73 65 | 72 73 75 62 2c 20 66 69 |ntw,.use|rsub, fi|
|00003ac0| 6c 65 6e 61 6d 65 29 3b | 0a 20 20 20 20 6d 61 6b |lename);|. mak|
|00003ad0| 65 5f 75 73 75 62 28 22 | 72 65 66 72 65 73 68 22 |e_usub("|refresh"|
|00003ae0| 2c 09 55 53 5f 72 65 66 | 72 65 73 68 2c 09 75 73 |,.US_ref|resh,.us|
|00003af0| 65 72 73 75 62 2c 20 66 | 69 6c 65 6e 61 6d 65 29 |ersub, f|ilename)|
|00003b00| 3b 0a 20 20 20 20 6d 61 | 6b 65 5f 75 73 75 62 28 |;. ma|ke_usub(|
|00003b10| 22 77 72 65 66 72 65 73 | 68 22 2c 09 55 53 5f 77 |"wrefres|h",.US_w|
|00003b20| 72 65 66 72 65 73 68 2c | 09 75 73 65 72 73 75 62 |refresh,|.usersub|
|00003b30| 2c 20 66 69 6c 65 6e 61 | 6d 65 29 3b 0a 20 20 20 |, filena|me);. |
|00003b40| 20 6d 61 6b 65 5f 75 73 | 75 62 28 22 73 74 61 6e | make_us|ub("stan|
|00003b50| 64 6f 75 74 22 2c 09 55 | 53 5f 73 74 61 6e 64 6f |dout",.U|S_stando|
|00003b60| 75 74 2c 09 75 73 65 72 | 73 75 62 2c 20 66 69 6c |ut,.user|sub, fil|
|00003b70| 65 6e 61 6d 65 29 3b 0a | 20 20 20 20 6d 61 6b 65 |ename);.| make|
|00003b80| 5f 75 73 75 62 28 22 77 | 73 74 61 6e 64 6f 75 74 |_usub("w|standout|
|00003b90| 22 2c 09 55 53 5f 77 73 | 74 61 6e 64 6f 75 74 2c |",.US_ws|tandout,|
|00003ba0| 09 75 73 65 72 73 75 62 | 2c 20 66 69 6c 65 6e 61 |.usersub|, filena|
|00003bb0| 6d 65 29 3b 0a 20 20 20 | 20 6d 61 6b 65 5f 75 73 |me);. | make_us|
|00003bc0| 75 62 28 22 73 74 61 6e | 64 65 6e 64 22 2c 09 55 |ub("stan|dend",.U|
|00003bd0| 53 5f 73 74 61 6e 64 65 | 6e 64 2c 09 75 73 65 72 |S_stande|nd,.user|
|00003be0| 73 75 62 2c 20 66 69 6c | 65 6e 61 6d 65 29 3b 0a |sub, fil|ename);.|
|00003bf0| 20 20 20 20 6d 61 6b 65 | 5f 75 73 75 62 28 22 77 | make|_usub("w|
|00003c00| 73 74 61 6e 64 65 6e 64 | 22 2c 09 55 53 5f 77 73 |standend|",.US_ws|
|00003c10| 74 61 6e 64 65 6e 64 2c | 09 75 73 65 72 73 75 62 |tandend,|.usersub|
|00003c20| 2c 20 66 69 6c 65 6e 61 | 6d 65 29 3b 0a 20 20 20 |, filena|me);. |
|00003c30| 20 6d 61 6b 65 5f 75 73 | 75 62 28 22 63 62 72 65 | make_us|ub("cbre|
|00003c40| 61 6b 22 2c 09 09 55 53 | 5f 63 62 72 65 61 6b 2c |ak",..US|_cbreak,|
|00003c50| 09 75 73 65 72 73 75 62 | 2c 20 66 69 6c 65 6e 61 |.usersub|, filena|
|00003c60| 6d 65 29 3b 0a 20 20 20 | 20 6d 61 6b 65 5f 75 73 |me);. | make_us|
|00003c70| 75 62 28 22 6e 6f 63 62 | 72 65 61 6b 22 2c 09 55 |ub("nocb|reak",.U|
|00003c80| 53 5f 6e 6f 63 62 72 65 | 61 6b 2c 09 75 73 65 72 |S_nocbre|ak,.user|
|00003c90| 73 75 62 2c 20 66 69 6c | 65 6e 61 6d 65 29 3b 0a |sub, fil|ename);.|
|00003ca0| 20 20 20 20 6d 61 6b 65 | 5f 75 73 75 62 28 22 65 | make|_usub("e|
|00003cb0| 63 68 6f 22 2c 09 09 55 | 53 5f 65 63 68 6f 2c 09 |cho",..U|S_echo,.|
|00003cc0| 75 73 65 72 73 75 62 2c | 20 66 69 6c 65 6e 61 6d |usersub,| filenam|
|00003cd0| 65 29 3b 0a 20 20 20 20 | 6d 61 6b 65 5f 75 73 75 |e);. |make_usu|
|00003ce0| 62 28 22 6e 6f 65 63 68 | 6f 22 2c 09 09 55 53 5f |b("noech|o",..US_|
|00003cf0| 6e 6f 65 63 68 6f 2c 09 | 75 73 65 72 73 75 62 2c |noecho,.|usersub,|
|00003d00| 20 66 69 6c 65 6e 61 6d | 65 29 3b 0a 20 20 20 20 | filenam|e);. |
|00003d10| 6d 61 6b 65 5f 75 73 75 | 62 28 22 67 65 74 63 68 |make_usu|b("getch|
|00003d20| 22 2c 09 09 55 53 5f 67 | 65 74 63 68 2c 09 75 73 |",..US_g|etch,.us|
|00003d30| 65 72 73 75 62 2c 20 66 | 69 6c 65 6e 61 6d 65 29 |ersub, f|ilename)|
|00003d40| 3b 0a 20 20 20 20 6d 61 | 6b 65 5f 75 73 75 62 28 |;. ma|ke_usub(|
|00003d50| 22 77 67 65 74 63 68 22 | 2c 09 09 55 53 5f 77 67 |"wgetch"|,..US_wg|
|00003d60| 65 74 63 68 2c 09 75 73 | 65 72 73 75 62 2c 20 66 |etch,.us|ersub, f|
|00003d70| 69 6c 65 6e 61 6d 65 29 | 3b 0a 20 20 20 20 6d 61 |ilename)|;. ma|
|00003d80| 6b 65 5f 75 73 75 62 28 | 22 67 65 74 73 74 72 22 |ke_usub(|"getstr"|
|00003d90| 2c 09 09 55 53 5f 67 65 | 74 73 74 72 2c 09 75 73 |,..US_ge|tstr,.us|
|00003da0| 65 72 73 75 62 2c 20 66 | 69 6c 65 6e 61 6d 65 29 |ersub, f|ilename)|
|00003db0| 3b 0a 20 20 20 20 6d 61 | 6b 65 5f 75 73 75 62 28 |;. ma|ke_usub(|
|00003dc0| 22 77 67 65 74 73 74 72 | 22 2c 09 55 53 5f 77 67 |"wgetstr|",.US_wg|
|00003dd0| 65 74 73 74 72 2c 09 75 | 73 65 72 73 75 62 2c 20 |etstr,.u|sersub, |
|00003de0| 66 69 6c 65 6e 61 6d 65 | 29 3b 0a 20 20 20 20 6d |filename|);. m|
|00003df0| 61 6b 65 5f 75 73 75 62 | 28 22 72 61 77 22 2c 09 |ake_usub|("raw",.|
|00003e00| 09 55 53 5f 72 61 77 2c | 09 09 75 73 65 72 73 75 |.US_raw,|..usersu|
|00003e10| 62 2c 20 66 69 6c 65 6e | 61 6d 65 29 3b 0a 20 20 |b, filen|ame);. |
|00003e20| 20 20 6d 61 6b 65 5f 75 | 73 75 62 28 22 6e 6f 72 | make_u|sub("nor|
|00003e30| 61 77 22 2c 09 09 55 53 | 5f 6e 6f 72 61 77 2c 09 |aw",..US|_noraw,.|
|00003e40| 75 73 65 72 73 75 62 2c | 20 66 69 6c 65 6e 61 6d |usersub,| filenam|
|00003e50| 65 29 3b 0a 20 20 20 20 | 6d 61 6b 65 5f 75 73 75 |e);. |make_usu|
|00003e60| 62 28 22 73 63 61 6e 77 | 22 2c 09 09 55 53 5f 73 |b("scanw|",..US_s|
|00003e70| 63 61 6e 77 2c 09 75 73 | 65 72 73 75 62 2c 20 66 |canw,.us|ersub, f|
|00003e80| 69 6c 65 6e 61 6d 65 29 | 3b 0a 20 20 20 20 6d 61 |ilename)|;. ma|
|00003e90| 6b 65 5f 75 73 75 62 28 | 22 77 73 63 61 6e 77 22 |ke_usub(|"wscanw"|
|00003ea0| 2c 09 09 55 53 5f 77 73 | 63 61 6e 77 2c 09 75 73 |,..US_ws|canw,.us|
|00003eb0| 65 72 73 75 62 2c 20 66 | 69 6c 65 6e 61 6d 65 29 |ersub, f|ilename)|
|00003ec0| 3b 0a 20 20 20 20 6d 61 | 6b 65 5f 75 73 75 62 28 |;. ma|ke_usub(|
|00003ed0| 22 62 61 75 64 72 61 74 | 65 22 2c 09 55 53 5f 62 |"baudrat|e",.US_b|
|00003ee0| 61 75 64 72 61 74 65 2c | 09 75 73 65 72 73 75 62 |audrate,|.usersub|
|00003ef0| 2c 20 66 69 6c 65 6e 61 | 6d 65 29 3b 0a 20 20 20 |, filena|me);. |
|00003f00| 20 6d 61 6b 65 5f 75 73 | 75 62 28 22 64 65 6c 77 | make_us|ub("delw|
|00003f10| 69 6e 22 2c 09 09 55 53 | 5f 64 65 6c 77 69 6e 2c |in",..US|_delwin,|
|00003f20| 09 75 73 65 72 73 75 62 | 2c 20 66 69 6c 65 6e 61 |.usersub|, filena|
|00003f30| 6d 65 29 3b 0a 20 20 20 | 20 6d 61 6b 65 5f 75 73 |me);. | make_us|
|00003f40| 75 62 28 22 65 6e 64 77 | 69 6e 22 2c 09 09 55 53 |ub("endw|in",..US|
|00003f50| 5f 65 6e 64 77 69 6e 2c | 09 75 73 65 72 73 75 62 |_endwin,|.usersub|
|00003f60| 2c 20 66 69 6c 65 6e 61 | 6d 65 29 3b 0a 20 20 20 |, filena|me);. |
|00003f70| 20 6d 61 6b 65 5f 75 73 | 75 62 28 22 65 72 61 73 | make_us|ub("eras|
|00003f80| 65 63 68 61 72 22 2c 09 | 55 53 5f 65 72 61 73 65 |echar",.|US_erase|
|00003f90| 63 68 61 72 2c 09 75 73 | 65 72 73 75 62 2c 20 66 |char,.us|ersub, f|
|00003fa0| 69 6c 65 6e 61 6d 65 29 | 3b 0a 20 20 20 20 6d 61 |ilename)|;. ma|
|00003fb0| 6b 65 5f 75 73 75 62 28 | 22 67 65 74 63 61 70 22 |ke_usub(|"getcap"|
|00003fc0| 2c 09 09 55 53 5f 67 65 | 74 63 61 70 2c 09 75 73 |,..US_ge|tcap,.us|
|00003fd0| 65 72 73 75 62 2c 20 66 | 69 6c 65 6e 61 6d 65 29 |ersub, f|ilename)|
|00003fe0| 3b 0a 20 20 20 20 6d 61 | 6b 65 5f 75 73 75 62 28 |;. ma|ke_usub(|
|00003ff0| 22 67 65 74 79 78 22 2c | 09 09 55 53 5f 67 65 74 |"getyx",|..US_get|
|00004000| 79 78 2c 09 75 73 65 72 | 73 75 62 2c 20 66 69 6c |yx,.user|sub, fil|
|00004010| 65 6e 61 6d 65 29 3b 0a | 20 20 20 20 6d 61 6b 65 |ename);.| make|
|00004020| 5f 75 73 75 62 28 22 69 | 6e 63 68 22 2c 09 09 55 |_usub("i|nch",..U|
|00004030| 53 5f 69 6e 63 68 2c 09 | 75 73 65 72 73 75 62 2c |S_inch,.|usersub,|
|00004040| 20 66 69 6c 65 6e 61 6d | 65 29 3b 0a 20 20 20 20 | filenam|e);. |
|00004050| 6d 61 6b 65 5f 75 73 75 | 62 28 22 77 69 6e 63 68 |make_usu|b("winch|
|00004060| 22 2c 09 09 55 53 5f 77 | 69 6e 63 68 2c 09 75 73 |",..US_w|inch,.us|
|00004070| 65 72 73 75 62 2c 20 66 | 69 6c 65 6e 61 6d 65 29 |ersub, f|ilename)|
|00004080| 3b 0a 20 20 20 20 6d 61 | 6b 65 5f 75 73 75 62 28 |;. ma|ke_usub(|
|00004090| 22 69 6e 69 74 73 63 72 | 22 2c 09 55 53 5f 69 6e |"initscr|",.US_in|
|000040a0| 69 74 73 63 72 2c 09 75 | 73 65 72 73 75 62 2c 20 |itscr,.u|sersub, |
|000040b0| 66 69 6c 65 6e 61 6d 65 | 29 3b 0a 20 20 20 20 6d |filename|);. m|
|000040c0| 61 6b 65 5f 75 73 75 62 | 28 22 6b 69 6c 6c 63 68 |ake_usub|("killch|
|000040d0| 61 72 22 2c 09 55 53 5f | 6b 69 6c 6c 63 68 61 72 |ar",.US_|killchar|
|000040e0| 2c 09 75 73 65 72 73 75 | 62 2c 20 66 69 6c 65 6e |,.usersu|b, filen|
|000040f0| 61 6d 65 29 3b 0a 20 20 | 20 20 6d 61 6b 65 5f 75 |ame);. | make_u|
|00004100| 73 75 62 28 22 6c 65 61 | 76 65 6f 6b 22 2c 09 55 |sub("lea|veok",.U|
|00004110| 53 5f 6c 65 61 76 65 6f | 6b 2c 09 75 73 65 72 73 |S_leaveo|k,.users|
|00004120| 75 62 2c 20 66 69 6c 65 | 6e 61 6d 65 29 3b 0a 20 |ub, file|name);. |
|00004130| 20 20 20 6d 61 6b 65 5f | 75 73 75 62 28 22 6c 6f | make_|usub("lo|
|00004140| 6e 67 6e 61 6d 65 22 2c | 09 55 53 5f 6c 6f 6e 67 |ngname",|.US_long|
|00004150| 6e 61 6d 65 2c 09 75 73 | 65 72 73 75 62 2c 20 66 |name,.us|ersub, f|
|00004160| 69 6c 65 6e 61 6d 65 29 | 3b 0a 20 20 20 20 6d 61 |ilename)|;. ma|
|00004170| 6b 65 5f 75 73 75 62 28 | 22 66 75 6c 6c 6e 61 6d |ke_usub(|"fullnam|
|00004180| 65 22 2c 09 55 53 5f 66 | 75 6c 6c 6e 61 6d 65 2c |e",.US_f|ullname,|
|00004190| 09 75 73 65 72 73 75 62 | 2c 20 66 69 6c 65 6e 61 |.usersub|, filena|
|000041a0| 6d 65 29 3b 0a 20 20 20 | 20 6d 61 6b 65 5f 75 73 |me);. | make_us|
|000041b0| 75 62 28 22 6d 76 77 69 | 6e 22 2c 09 09 55 53 5f |ub("mvwi|n",..US_|
|000041c0| 6d 76 77 69 6e 2c 09 75 | 73 65 72 73 75 62 2c 20 |mvwin,.u|sersub, |
|000041d0| 66 69 6c 65 6e 61 6d 65 | 29 3b 0a 20 20 20 20 6d |filename|);. m|
|000041e0| 61 6b 65 5f 75 73 75 62 | 28 22 6e 65 77 77 69 6e |ake_usub|("newwin|
|000041f0| 22 2c 09 09 55 53 5f 6e | 65 77 77 69 6e 2c 09 75 |",..US_n|ewwin,.u|
|00004200| 73 65 72 73 75 62 2c 20 | 66 69 6c 65 6e 61 6d 65 |sersub, |filename|
|00004210| 29 3b 0a 20 20 20 20 6d | 61 6b 65 5f 75 73 75 62 |);. m|ake_usub|
|00004220| 28 22 6e 6c 22 2c 09 09 | 55 53 5f 6e 6c 2c 09 09 |("nl",..|US_nl,..|
|00004230| 75 73 65 72 73 75 62 2c | 20 66 69 6c 65 6e 61 6d |usersub,| filenam|
|00004240| 65 29 3b 0a 20 20 20 20 | 6d 61 6b 65 5f 75 73 75 |e);. |make_usu|
|00004250| 62 28 22 6e 6f 6e 6c 22 | 2c 09 09 55 53 5f 6e 6f |b("nonl"|,..US_no|
|00004260| 6e 6c 2c 09 75 73 65 72 | 73 75 62 2c 20 66 69 6c |nl,.user|sub, fil|
|00004270| 65 6e 61 6d 65 29 3b 0a | 20 20 20 20 6d 61 6b 65 |ename);.| make|
|00004280| 5f 75 73 75 62 28 22 73 | 63 72 6f 6c 6c 6f 6b 22 |_usub("s|crollok"|
|00004290| 2c 09 55 53 5f 73 63 72 | 6f 6c 6c 6f 6b 2c 09 75 |,.US_scr|ollok,.u|
|000042a0| 73 65 72 73 75 62 2c 20 | 66 69 6c 65 6e 61 6d 65 |sersub, |filename|
|000042b0| 29 3b 0a 20 20 20 20 6d | 61 6b 65 5f 75 73 75 62 |);. m|ake_usub|
|000042c0| 28 22 73 75 62 77 69 6e | 22 2c 09 09 55 53 5f 73 |("subwin|",..US_s|
|000042d0| 75 62 77 69 6e 2c 09 75 | 73 65 72 73 75 62 2c 20 |ubwin,.u|sersub, |
|000042e0| 66 69 6c 65 6e 61 6d 65 | 29 3b 0a 20 20 20 20 6d |filename|);. m|
|000042f0| 61 6b 65 5f 75 73 75 62 | 28 22 74 6f 75 63 68 6c |ake_usub|("touchl|
|00004300| 69 6e 65 22 2c 09 55 53 | 5f 74 6f 75 63 68 6c 69 |ine",.US|_touchli|
|00004310| 6e 65 2c 09 75 73 65 72 | 73 75 62 2c 20 66 69 6c |ne,.user|sub, fil|
|00004320| 65 6e 61 6d 65 29 3b 0a | 20 20 20 20 6d 61 6b 65 |ename);.| make|
|00004330| 5f 75 73 75 62 28 22 74 | 6f 75 63 68 6f 76 65 72 |_usub("t|ouchover|
|00004340| 6c 61 70 22 2c 09 55 53 | 5f 74 6f 75 63 68 6f 76 |lap",.US|_touchov|
|00004350| 65 72 6c 61 70 2c 75 73 | 65 72 73 75 62 2c 20 66 |erlap,us|ersub, f|
|00004360| 69 6c 65 6e 61 6d 65 29 | 3b 0a 20 20 20 20 6d 61 |ilename)|;. ma|
|00004370| 6b 65 5f 75 73 75 62 28 | 22 74 6f 75 63 68 77 69 |ke_usub(|"touchwi|
|00004380| 6e 22 2c 09 55 53 5f 74 | 6f 75 63 68 77 69 6e 2c |n",.US_t|ouchwin,|
|00004390| 09 75 73 65 72 73 75 62 | 2c 20 66 69 6c 65 6e 61 |.usersub|, filena|
|000043a0| 6d 65 29 3b 0a 20 20 20 | 20 6d 61 6b 65 5f 75 73 |me);. | make_us|
|000043b0| 75 62 28 22 75 6e 63 74 | 72 6c 22 2c 09 09 55 53 |ub("unct|rl",..US|
|000043c0| 5f 75 6e 63 74 72 6c 2c | 09 75 73 65 72 73 75 62 |_unctrl,|.usersub|
|000043d0| 2c 20 66 69 6c 65 6e 61 | 6d 65 29 3b 0a 20 20 20 |, filena|me);. |
|000043e0| 20 6d 61 6b 65 5f 75 73 | 75 62 28 22 67 65 74 74 | make_us|ub("gett|
|000043f0| 6d 6f 64 65 22 2c 09 55 | 53 5f 67 65 74 74 6d 6f |mode",.U|S_gettmo|
|00004400| 64 65 2c 09 75 73 65 72 | 73 75 62 2c 20 66 69 6c |de,.user|sub, fil|
|00004410| 65 6e 61 6d 65 29 3b 0a | 20 20 20 20 6d 61 6b 65 |ename);.| make|
|00004420| 5f 75 73 75 62 28 22 6d | 76 63 75 72 22 2c 09 09 |_usub("m|vcur",..|
|00004430| 55 53 5f 6d 76 63 75 72 | 2c 09 75 73 65 72 73 75 |US_mvcur|,.usersu|
|00004440| 62 2c 20 66 69 6c 65 6e | 61 6d 65 29 3b 0a 20 20 |b, filen|ame);. |
|00004450| 20 20 6d 61 6b 65 5f 75 | 73 75 62 28 22 73 63 72 | make_u|sub("scr|
|00004460| 6f 6c 6c 22 2c 09 09 55 | 53 5f 73 63 72 6f 6c 6c |oll",..U|S_scroll|
|00004470| 2c 09 75 73 65 72 73 75 | 62 2c 20 66 69 6c 65 6e |,.usersu|b, filen|
|00004480| 61 6d 65 29 3b 0a 20 20 | 20 20 6d 61 6b 65 5f 75 |ame);. | make_u|
|00004490| 73 75 62 28 22 73 61 76 | 65 74 74 79 22 2c 09 55 |sub("sav|etty",.U|
|000044a0| 53 5f 73 61 76 65 74 74 | 79 2c 09 75 73 65 72 73 |S_savett|y,.users|
|000044b0| 75 62 2c 20 66 69 6c 65 | 6e 61 6d 65 29 3b 0a 20 |ub, file|name);. |
|000044c0| 20 20 20 6d 61 6b 65 5f | 75 73 75 62 28 22 72 65 | make_|usub("re|
|000044d0| 73 65 74 74 79 22 2c 09 | 55 53 5f 72 65 73 65 74 |setty",.|US_reset|
|000044e0| 74 79 2c 09 75 73 65 72 | 73 75 62 2c 20 66 69 6c |ty,.user|sub, fil|
|000044f0| 65 6e 61 6d 65 29 3b 0a | 20 20 20 20 6d 61 6b 65 |ename);.| make|
|00004500| 5f 75 73 75 62 28 22 73 | 65 74 74 65 72 6d 22 2c |_usub("s|etterm",|
|00004510| 09 55 53 5f 73 65 74 74 | 65 72 6d 2c 09 75 73 65 |.US_sett|erm,.use|
|00004520| 72 73 75 62 2c 20 66 69 | 6c 65 6e 61 6d 65 29 3b |rsub, fi|lename);|
|00004530| 0a 20 20 20 20 6d 61 6b | 65 5f 75 73 75 62 28 22 |. mak|e_usub("|
|00004540| 74 73 74 70 22 2c 09 09 | 55 53 5f 74 73 74 70 2c |tstp",..|US_tstp,|
|00004550| 09 75 73 65 72 73 75 62 | 2c 20 66 69 6c 65 6e 61 |.usersub|, filena|
|00004560| 6d 65 29 3b 0a 20 20 20 | 20 6d 61 6b 65 5f 75 73 |me);. | make_us|
|00004570| 75 62 28 22 5f 70 75 74 | 63 68 61 72 22 2c 09 55 |ub("_put|char",.U|
|00004580| 53 5f 5f 70 75 74 63 68 | 61 72 2c 09 75 73 65 72 |S__putch|ar,.user|
|00004590| 73 75 62 2c 20 66 69 6c | 65 6e 61 6d 65 29 3b 0a |sub, fil|ename);.|
|000045a0| 20 20 20 20 6d 61 6b 65 | 5f 75 73 75 62 28 22 74 | make|_usub("t|
|000045b0| 65 73 74 63 61 6c 6c 62 | 61 63 6b 22 2c 09 55 53 |estcallb|ack",.US|
|000045c0| 5f 74 65 73 74 63 61 6c | 6c 62 61 63 6b 2c 75 73 |_testcal|lback,us|
|000045d0| 65 72 73 75 62 2c 20 66 | 69 6c 65 6e 61 6d 65 29 |ersub, f|ilename)|
|000045e0| 3b 0a 7d 3b 0a 0a 73 74 | 61 74 69 63 20 69 6e 74 |;.};..st|atic int|
|000045f0| 0a 75 73 65 72 73 75 62 | 28 69 78 2c 20 73 70 2c |.usersub|(ix, sp,|
|00004600| 20 69 74 65 6d 73 29 0a | 69 6e 74 20 69 78 3b 0a | items).|int ix;.|
|00004610| 72 65 67 69 73 74 65 72 | 20 69 6e 74 20 73 70 3b |register| int sp;|
|00004620| 0a 72 65 67 69 73 74 65 | 72 20 69 6e 74 20 69 74 |.registe|r int it|
|00004630| 65 6d 73 3b 0a 7b 0a 20 | 20 20 20 53 54 52 20 2a |ems;.{. | STR *|
|00004640| 2a 73 74 20 3d 20 73 74 | 61 63 6b 2d 3e 61 72 79 |*st = st|ack->ary|
|00004650| 5f 61 72 72 61 79 20 2b | 20 73 70 3b 0a 20 20 20 |_array +| sp;. |
|00004660| 20 72 65 67 69 73 74 65 | 72 20 69 6e 74 20 69 3b | registe|r int i;|
|00004670| 0a 20 20 20 20 72 65 67 | 69 73 74 65 72 20 63 68 |. reg|ister ch|
|00004680| 61 72 20 2a 74 6d 70 73 | 3b 0a 20 20 20 20 72 65 |ar *tmps|;. re|
|00004690| 67 69 73 74 65 72 20 53 | 54 52 20 2a 53 74 72 3b |gister S|TR *Str;|
|000046a0| 09 09 2f 2a 20 75 73 65 | 64 20 69 6e 20 73 74 72 |../* use|d in str|
|000046b0| 5f 67 65 74 20 61 6e 64 | 20 73 74 72 5f 67 6e 75 |_get and| str_gnu|
|000046c0| 6d 20 6d 61 63 72 6f 73 | 20 2a 2f 0a 0a 20 20 20 |m macros| */.. |
|000046d0| 20 73 77 69 74 63 68 20 | 28 69 78 29 20 7b 0a 43 | switch |(ix) {.C|
|000046e0| 41 53 45 20 69 6e 74 20 | 61 64 64 63 68 0a 49 09 |ASE int |addch.I.|
|000046f0| 63 68 61 72 09 09 63 68 | 0a 45 4e 44 0a 0a 43 41 |char..ch|.END..CA|
|00004700| 53 45 20 69 6e 74 20 77 | 61 64 64 63 68 0a 49 09 |SE int w|addch.I.|
|00004710| 57 49 4e 44 4f 57 2a 09 | 09 77 69 6e 0a 49 09 63 |WINDOW*.|.win.I.c|
|00004720| 68 61 72 09 09 63 68 0a | 45 4e 44 0a 0a 43 41 53 |har..ch.|END..CAS|
|00004730| 45 20 69 6e 74 20 61 64 | 64 73 74 72 0a 49 09 63 |E int ad|dstr.I.c|
|00004740| 68 61 72 2a 09 09 73 74 | 72 0a 45 4e 44 0a 0a 43 |har*..st|r.END..C|
|00004750| 41 53 45 20 69 6e 74 20 | 77 61 64 64 73 74 72 0a |ASE int |waddstr.|
|00004760| 49 09 57 49 4e 44 4f 57 | 2a 09 09 77 69 6e 0a 49 |I.WINDOW|*..win.I|
|00004770| 09 63 68 61 72 2a 09 09 | 73 74 72 0a 45 4e 44 0a |.char*..|str.END.|
|00004780| 0a 43 41 53 45 20 76 6f | 69 64 20 62 6f 78 0a 49 |.CASE vo|id box.I|
|00004790| 09 57 49 4e 44 4f 57 2a | 09 09 77 69 6e 0a 49 09 |.WINDOW*|..win.I.|
|000047a0| 63 68 61 72 09 09 76 65 | 72 74 0a 49 09 63 68 61 |char..ve|rt.I.cha|
|000047b0| 72 09 09 68 6f 72 0a 45 | 4e 44 0a 0a 43 41 53 45 |r..hor.E|ND..CASE|
|000047c0| 20 69 6e 74 20 63 6c 65 | 61 72 0a 45 4e 44 0a 0a | int cle|ar.END..|
|000047d0| 43 41 53 45 20 69 6e 74 | 20 77 63 6c 65 61 72 0a |CASE int| wclear.|
|000047e0| 49 09 57 49 4e 44 4f 57 | 2a 09 09 77 69 6e 0a 45 |I.WINDOW|*..win.E|
|000047f0| 4e 44 0a 0a 43 41 53 45 | 20 69 6e 74 20 63 6c 65 |ND..CASE| int cle|
|00004800| 61 72 6f 6b 0a 49 09 57 | 49 4e 44 4f 57 2a 09 09 |arok.I.W|INDOW*..|
|00004810| 77 69 6e 0a 49 09 62 6f | 6f 6c 09 09 62 6f 6f 6c |win.I.bo|ol..bool|
|00004820| 66 0a 45 4e 44 0a 0a 43 | 41 53 45 20 76 6f 69 64 |f.END..C|ASE void|
|00004830| 20 63 6c 72 74 6f 62 6f | 74 0a 45 4e 44 0a 0a 43 | clrtobo|t.END..C|
|00004840| 41 53 45 20 76 6f 69 64 | 20 77 63 6c 72 74 6f 62 |ASE void| wclrtob|
|00004850| 6f 74 0a 49 09 57 49 4e | 44 4f 57 2a 09 09 77 69 |ot.I.WIN|DOW*..wi|
|00004860| 6e 0a 45 4e 44 0a 0a 43 | 41 53 45 20 76 6f 69 64 |n.END..C|ASE void|
|00004870| 20 63 6c 72 74 6f 65 6f | 6c 0a 45 4e 44 0a 0a 43 | clrtoeo|l.END..C|
|00004880| 41 53 45 20 76 6f 69 64 | 20 77 63 6c 72 74 6f 65 |ASE void| wclrtoe|
|00004890| 6f 6c 0a 49 09 57 49 4e | 44 4f 57 2a 09 09 77 69 |ol.I.WIN|DOW*..wi|
|000048a0| 6e 0a 45 4e 44 0a 0a 43 | 41 53 45 20 69 6e 74 20 |n.END..C|ASE int |
|000048b0| 64 65 6c 63 68 0a 45 4e | 44 0a 0a 43 41 53 45 20 |delch.EN|D..CASE |
|000048c0| 69 6e 74 20 77 64 65 6c | 63 68 0a 49 09 57 49 4e |int wdel|ch.I.WIN|
|000048d0| 44 4f 57 2a 09 09 77 69 | 6e 0a 45 4e 44 0a 0a 43 |DOW*..wi|n.END..C|
|000048e0| 41 53 45 20 69 6e 74 20 | 64 65 6c 65 74 65 6c 6e |ASE int |deleteln|
|000048f0| 0a 45 4e 44 0a 0a 43 41 | 53 45 20 69 6e 74 20 77 |.END..CA|SE int w|
|00004900| 64 65 6c 65 74 65 6c 6e | 0a 49 09 57 49 4e 44 4f |deleteln|.I.WINDO|
|00004910| 57 2a 09 09 77 69 6e 0a | 45 4e 44 0a 0a 43 41 53 |W*..win.|END..CAS|
|00004920| 45 20 76 6f 69 64 20 65 | 72 61 73 65 0a 45 4e 44 |E void e|rase.END|
|00004930| 0a 0a 43 41 53 45 20 76 | 6f 69 64 20 77 65 72 61 |..CASE v|oid wera|
|00004940| 73 65 0a 49 09 57 49 4e | 44 4f 57 2a 09 09 77 69 |se.I.WIN|DOW*..wi|
|00004950| 6e 0a 45 4e 44 0a 0a 43 | 41 53 45 20 69 6e 74 20 |n.END..C|ASE int |
|00004960| 66 6c 75 73 68 6f 6b 0a | 49 09 57 49 4e 44 4f 57 |flushok.|I.WINDOW|
|00004970| 2a 09 09 77 69 6e 0a 49 | 09 62 6f 6f 6c 09 09 62 |*..win.I|.bool..b|
|00004980| 6f 6f 6c 66 0a 45 4e 44 | 0a 0a 43 41 53 45 20 76 |oolf.END|..CASE v|
|00004990| 6f 69 64 20 69 64 6c 6f | 6b 0a 49 09 57 49 4e 44 |oid idlo|k.I.WIND|
|000049a0| 4f 57 2a 09 09 77 69 6e | 0a 49 09 62 6f 6f 6c 09 |OW*..win|.I.bool.|
|000049b0| 09 62 6f 6f 6c 66 0a 45 | 4e 44 0a 0a 43 41 53 45 |.boolf.E|ND..CASE|
|000049c0| 20 69 6e 74 20 69 6e 73 | 63 68 0a 49 09 63 68 61 | int ins|ch.I.cha|
|000049d0| 72 09 09 63 0a 45 4e 44 | 0a 0a 43 41 53 45 20 69 |r..c.END|..CASE i|
|000049e0| 6e 74 20 77 69 6e 73 63 | 68 0a 49 09 57 49 4e 44 |nt winsc|h.I.WIND|
|000049f0| 4f 57 2a 09 09 77 69 6e | 0a 49 09 63 68 61 72 09 |OW*..win|.I.char.|
|00004a00| 09 63 0a 45 4e 44 0a 0a | 43 41 53 45 20 76 6f 69 |.c.END..|CASE voi|
|00004a10| 64 20 69 6e 73 65 72 74 | 6c 6e 0a 45 4e 44 0a 0a |d insert|ln.END..|
|00004a20| 43 41 53 45 20 76 6f 69 | 64 20 77 69 6e 73 65 72 |CASE voi|d winser|
|00004a30| 74 6c 6e 0a 49 09 57 49 | 4e 44 4f 57 2a 09 09 77 |tln.I.WI|NDOW*..w|
|00004a40| 69 6e 0a 45 4e 44 0a 0a | 43 41 53 45 20 69 6e 74 |in.END..|CASE int|
|00004a50| 20 6d 6f 76 65 0a 49 09 | 69 6e 74 09 09 79 0a 49 | move.I.|int..y.I|
|00004a60| 09 69 6e 74 09 09 78 0a | 45 4e 44 0a 0a 43 41 53 |.int..x.|END..CAS|
|00004a70| 45 20 69 6e 74 20 77 6d | 6f 76 65 0a 49 09 57 49 |E int wm|ove.I.WI|
|00004a80| 4e 44 4f 57 2a 09 09 77 | 69 6e 0a 49 09 69 6e 74 |NDOW*..w|in.I.int|
|00004a90| 09 09 79 0a 49 09 69 6e | 74 09 09 78 0a 45 4e 44 |..y.I.in|t..x.END|
|00004aa0| 0a 0a 43 41 53 45 20 76 | 6f 69 64 20 6f 76 65 72 |..CASE v|oid over|
|00004ab0| 6c 61 79 0a 49 09 57 49 | 4e 44 4f 57 2a 09 09 77 |lay.I.WI|NDOW*..w|
|00004ac0| 69 6e 31 0a 49 09 57 49 | 4e 44 4f 57 2a 09 09 77 |in1.I.WI|NDOW*..w|
|00004ad0| 69 6e 32 0a 45 4e 44 0a | 0a 43 41 53 45 20 76 6f |in2.END.|.CASE vo|
|00004ae0| 69 64 20 6f 76 65 72 77 | 72 69 74 65 0a 49 09 57 |id overw|rite.I.W|
|00004af0| 49 4e 44 4f 57 2a 09 09 | 77 69 6e 31 0a 49 09 57 |INDOW*..|win1.I.W|
|00004b00| 49 4e 44 4f 57 2a 09 09 | 77 69 6e 32 0a 45 4e 44 |INDOW*..|win2.END|
|00004b10| 0a 0a 20 20 20 20 63 61 | 73 65 20 55 53 5f 70 72 |.. ca|se US_pr|
|00004b20| 69 6e 74 77 3a 0a 09 69 | 66 20 28 69 74 65 6d 73 |intw:..i|f (items|
|00004b30| 20 3c 20 31 29 0a 09 20 | 20 20 20 66 61 74 61 6c | < 1).. | fatal|
|00004b40| 28 22 55 73 61 67 65 3a | 20 26 70 72 69 6e 74 77 |("Usage:| &printw|
|00004b50| 28 24 66 6d 74 2c 20 24 | 61 72 67 31 2c 20 24 61 |($fmt, $|arg1, $a|
|00004b60| 72 67 32 2c 20 2e 2e 2e | 20 29 22 29 3b 0a 09 65 |rg2, ...| )");..e|
|00004b70| 6c 73 65 20 7b 0a 09 20 | 20 20 20 69 6e 74 20 72 |lse {.. | int r|
|00004b80| 65 74 76 61 6c 3b 0a 09 | 20 20 20 20 53 54 52 2a |etval;..| STR*|
|00004b90| 09 73 74 72 20 3d 09 09 | 73 74 72 5f 6e 65 77 28 |.str =..|str_new(|
|00004ba0| 30 29 3b 0a 0a 09 20 20 | 20 20 64 6f 5f 73 70 72 |0);... | do_spr|
|00004bb0| 69 6e 74 66 28 73 74 72 | 2c 20 69 74 65 6d 73 20 |intf(str|, items |
|00004bc0| 2d 20 31 2c 20 73 74 20 | 2b 20 31 29 3b 0a 09 20 |- 1, st |+ 1);.. |
|00004bd0| 20 20 20 72 65 74 76 61 | 6c 20 3d 20 61 64 64 73 | retva|l = adds|
|00004be0| 74 72 28 73 74 72 2d 3e | 73 74 72 5f 70 74 72 29 |tr(str->|str_ptr)|
|00004bf0| 3b 0a 09 20 20 20 20 73 | 74 72 5f 6e 75 6d 73 65 |;.. s|tr_numse|
|00004c00| 74 28 73 74 5b 30 5d 2c | 20 28 64 6f 75 62 6c 65 |t(st[0],| (double|
|00004c10| 29 20 72 65 74 76 61 6c | 29 3b 0a 09 20 20 20 20 |) retval|);.. |
|00004c20| 73 74 72 5f 66 72 65 65 | 28 73 74 72 29 3b 0a 09 |str_free|(str);..|
|00004c30| 7d 0a 09 72 65 74 75 72 | 6e 20 73 70 3b 0a 0a 20 |}..retur|n sp;.. |
|00004c40| 20 20 20 63 61 73 65 20 | 55 53 5f 77 70 72 69 6e | case |US_wprin|
|00004c50| 74 77 3a 0a 09 69 66 20 | 28 69 74 65 6d 73 20 3c |tw:..if |(items <|
|00004c60| 20 32 29 0a 09 20 20 20 | 20 66 61 74 61 6c 28 22 | 2).. | fatal("|
|00004c70| 55 73 61 67 65 3a 20 26 | 77 70 72 69 6e 74 77 28 |Usage: &|wprintw(|
|00004c80| 24 77 69 6e 2c 20 24 66 | 6d 74 2c 20 24 61 72 67 |$win, $f|mt, $arg|
|00004c90| 31 2c 20 24 61 72 67 32 | 2c 20 2e 2e 2e 20 29 22 |1, $arg2|, ... )"|
|00004ca0| 29 3b 0a 09 65 6c 73 65 | 20 7b 0a 09 20 20 20 20 |);..else| {.. |
|00004cb0| 69 6e 74 20 72 65 74 76 | 61 6c 3b 0a 09 20 20 20 |int retv|al;.. |
|00004cc0| 20 53 54 52 2a 09 73 74 | 72 20 3d 09 09 73 74 72 | STR*.st|r =..str|
|00004cd0| 5f 6e 65 77 28 30 29 3b | 0a 09 20 20 20 20 57 49 |_new(0);|.. WI|
|00004ce0| 4e 44 4f 57 2a 09 77 69 | 6e 20 3d 09 09 2a 28 57 |NDOW*.wi|n =..*(W|
|00004cf0| 49 4e 44 4f 57 2a 2a 29 | 09 73 74 72 5f 67 65 74 |INDOW**)|.str_get|
|00004d00| 28 73 74 5b 31 5d 29 3b | 0a 0a 09 20 20 20 20 64 |(st[1]);|... d|
|00004d10| 6f 5f 73 70 72 69 6e 74 | 66 28 73 74 72 2c 20 69 |o_sprint|f(str, i|
|00004d20| 74 65 6d 73 20 2d 20 31 | 2c 20 73 74 20 2b 20 31 |tems - 1|, st + 1|
|00004d30| 29 3b 0a 09 20 20 20 20 | 72 65 74 76 61 6c 20 3d |);.. |retval =|
|00004d40| 20 77 61 64 64 73 74 72 | 28 77 69 6e 2c 20 73 74 | waddstr|(win, st|
|00004d50| 72 2d 3e 73 74 72 5f 70 | 74 72 29 3b 0a 09 20 20 |r->str_p|tr);.. |
|00004d60| 20 20 73 74 72 5f 6e 75 | 6d 73 65 74 28 73 74 5b | str_nu|mset(st[|
|00004d70| 30 5d 2c 20 28 64 6f 75 | 62 6c 65 29 20 72 65 74 |0], (dou|ble) ret|
|00004d80| 76 61 6c 29 3b 0a 09 20 | 20 20 20 73 74 72 5f 66 |val);.. | str_f|
|00004d90| 72 65 65 28 73 74 72 29 | 3b 0a 09 7d 0a 09 72 65 |ree(str)|;..}..re|
|00004da0| 74 75 72 6e 20 73 70 3b | 0a 0a 43 41 53 45 20 69 |turn sp;|..CASE i|
|00004db0| 6e 74 20 72 65 66 72 65 | 73 68 0a 45 4e 44 0a 0a |nt refre|sh.END..|
|00004dc0| 43 41 53 45 20 69 6e 74 | 20 77 72 65 66 72 65 73 |CASE int| wrefres|
|00004dd0| 68 0a 49 09 57 49 4e 44 | 4f 57 2a 09 09 77 69 6e |h.I.WIND|OW*..win|
|00004de0| 0a 45 4e 44 0a 0a 43 41 | 53 45 20 69 6e 74 20 73 |.END..CA|SE int s|
|00004df0| 74 61 6e 64 6f 75 74 0a | 45 4e 44 0a 0a 43 41 53 |tandout.|END..CAS|
|00004e00| 45 20 76 6f 69 64 20 77 | 73 74 61 6e 64 6f 75 74 |E void w|standout|
|00004e10| 0a 49 09 57 49 4e 44 4f | 57 2a 09 09 77 69 6e 0a |.I.WINDO|W*..win.|
|00004e20| 45 4e 44 0a 0a 43 41 53 | 45 20 69 6e 74 20 73 74 |END..CAS|E int st|
|00004e30| 61 6e 64 65 6e 64 0a 45 | 4e 44 0a 0a 43 41 53 45 |andend.E|ND..CASE|
|00004e40| 20 76 6f 69 64 20 77 73 | 74 61 6e 64 65 6e 64 0a | void ws|tandend.|
|00004e50| 49 09 57 49 4e 44 4f 57 | 2a 09 09 77 69 6e 0a 45 |I.WINDOW|*..win.E|
|00004e60| 4e 44 0a 0a 43 41 53 45 | 20 69 6e 74 20 63 62 72 |ND..CASE| int cbr|
|00004e70| 65 61 6b 0a 45 4e 44 0a | 0a 43 41 53 45 20 69 6e |eak.END.|.CASE in|
|00004e80| 74 20 6e 6f 63 62 72 65 | 61 6b 0a 45 4e 44 0a 0a |t nocbre|ak.END..|
|00004e90| 43 41 53 45 20 69 6e 74 | 20 65 63 68 6f 0a 45 4e |CASE int| echo.EN|
|00004ea0| 44 0a 0a 43 41 53 45 20 | 69 6e 74 20 6e 6f 65 63 |D..CASE |int noec|
|00004eb0| 68 6f 0a 45 4e 44 0a 0a | 20 20 20 20 63 61 73 65 |ho.END..| case|
|00004ec0| 20 55 53 5f 67 65 74 63 | 68 3a 0a 20 20 20 20 20 | US_getc|h:. |
|00004ed0| 20 20 20 69 66 20 28 69 | 74 65 6d 73 20 21 3d 20 | if (i|tems != |
|00004ee0| 30 29 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 66 |0). | f|
|00004ef0| 61 74 61 6c 28 22 55 73 | 61 67 65 3a 20 26 67 65 |atal("Us|age: &ge|
|00004f00| 74 63 68 28 29 22 29 3b | 0a 20 20 20 20 20 20 20 |tch()");|. |
|00004f10| 20 65 6c 73 65 20 7b 0a | 20 20 20 20 20 20 20 20 | else {.| |
|00004f20| 20 20 20 20 69 6e 74 20 | 72 65 74 76 61 6c 3b 0a | int |retval;.|
|00004f30| 09 20 20 20 20 63 68 61 | 72 20 72 65 74 63 68 3b |. cha|r retch;|
|00004f40| 0a 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 72 65 |.. | re|
|00004f50| 74 76 61 6c 20 3d 20 67 | 65 74 63 68 28 29 3b 0a |tval = g|etch();.|
|00004f60| 09 20 20 20 20 69 66 20 | 28 72 65 74 76 61 6c 20 |. if |(retval |
|00004f70| 3d 3d 20 45 4f 46 29 0a | 09 09 73 74 5b 30 5d 20 |== EOF).|..st[0] |
|00004f80| 3d 20 26 73 74 72 5f 75 | 6e 64 65 66 3b 0a 09 20 |= &str_u|ndef;.. |
|00004f90| 20 20 20 65 6c 73 65 20 | 7b 0a 09 09 72 65 74 63 | else |{...retc|
|00004fa0| 68 20 3d 20 72 65 74 76 | 61 6c 3b 0a 09 09 73 74 |h = retv|al;...st|
|00004fb0| 72 5f 6e 73 65 74 28 73 | 74 5b 30 5d 2c 20 26 72 |r_nset(s|t[0], &r|
|00004fc0| 65 74 63 68 2c 20 31 29 | 3b 0a 09 20 20 20 20 7d |etch, 1)|;.. }|
|00004fd0| 0a 20 20 20 20 20 20 20 | 20 7d 0a 20 20 20 20 20 |. | }. |
|00004fe0| 20 20 20 72 65 74 75 72 | 6e 20 73 70 3b 0a 0a 20 | retur|n sp;.. |
|00004ff0| 20 20 20 63 61 73 65 20 | 55 53 5f 77 67 65 74 63 | case |US_wgetc|
|00005000| 68 3a 0a 20 20 20 20 20 | 20 20 20 69 66 20 28 69 |h:. | if (i|
|00005010| 74 65 6d 73 20 21 3d 20 | 31 29 0a 20 20 20 20 20 |tems != |1). |
|00005020| 20 20 20 20 20 20 20 66 | 61 74 61 6c 28 22 55 73 | f|atal("Us|
|00005030| 61 67 65 3a 20 26 77 67 | 65 74 63 68 28 24 77 69 |age: &wg|etch($wi|
|00005040| 6e 29 22 29 3b 0a 20 20 | 20 20 20 20 20 20 65 6c |n)");. | el|
|00005050| 73 65 20 7b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |se {. | |
|00005060| 20 69 6e 74 20 72 65 74 | 76 61 6c 3b 0a 09 20 20 | int ret|val;.. |
|00005070| 20 20 63 68 61 72 20 72 | 65 74 63 68 3b 0a 20 20 | char r|etch;. |
|00005080| 20 20 20 20 20 20 20 20 | 20 20 57 49 4e 44 4f 57 | | WINDOW|
|00005090| 2a 20 20 20 20 20 77 69 | 6e 20 3d 20 20 20 20 20 |* wi|n = |
|000050a0| 20 20 20 20 20 20 2a 28 | 57 49 4e 44 4f 57 2a 2a | *(|WINDOW**|
|000050b0| 29 20 20 20 20 20 73 74 | 72 5f 67 65 74 28 73 74 |) st|r_get(st|
|000050c0| 5b 31 5d 29 3b 0a 0a 20 | 20 20 20 20 20 20 20 20 |[1]);.. | |
|000050d0| 20 20 20 72 65 74 76 61 | 6c 20 3d 20 77 67 65 74 | retva|l = wget|
|000050e0| 63 68 28 77 69 6e 29 3b | 0a 09 20 20 20 20 69 66 |ch(win);|.. if|
|000050f0| 20 28 72 65 74 76 61 6c | 20 3d 3d 20 45 4f 46 29 | (retval| == EOF)|
|00005100| 0a 09 09 73 74 5b 30 5d | 20 3d 20 26 73 74 72 5f |...st[0]| = &str_|
|00005110| 75 6e 64 65 66 3b 0a 09 | 20 20 20 20 65 6c 73 65 |undef;..| else|
|00005120| 20 7b 0a 09 09 72 65 74 | 63 68 20 3d 20 72 65 74 | {...ret|ch = ret|
|00005130| 76 61 6c 3b 0a 09 09 73 | 74 72 5f 6e 73 65 74 28 |val;...s|tr_nset(|
|00005140| 73 74 5b 30 5d 2c 20 26 | 72 65 74 63 68 2c 20 31 |st[0], &|retch, 1|
|00005150| 29 3b 0a 09 20 20 20 20 | 7d 0a 20 20 20 20 20 20 |);.. |}. |
|00005160| 20 20 7d 0a 20 20 20 20 | 20 20 20 20 72 65 74 75 | }. | retu|
|00005170| 72 6e 20 73 70 3b 0a 0a | 43 41 53 45 20 69 6e 74 |rn sp;..|CASE int|
|00005180| 20 67 65 74 73 74 72 0a | 49 4f 09 63 68 61 72 2a | getstr.|IO.char*|
|00005190| 09 09 73 74 72 0a 45 4e | 44 0a 0a 43 41 53 45 20 |..str.EN|D..CASE |
|000051a0| 69 6e 74 20 77 67 65 74 | 73 74 72 0a 49 09 57 49 |int wget|str.I.WI|
|000051b0| 4e 44 4f 57 2a 09 09 77 | 69 6e 0a 49 4f 09 63 68 |NDOW*..w|in.IO.ch|
|000051c0| 61 72 2a 09 09 73 74 72 | 0a 45 4e 44 0a 0a 43 41 |ar*..str|.END..CA|
|000051d0| 53 45 20 69 6e 74 20 72 | 61 77 0a 45 4e 44 0a 0a |SE int r|aw.END..|
|000051e0| 43 41 53 45 20 69 6e 74 | 20 6e 6f 72 61 77 0a 45 |CASE int| noraw.E|
|000051f0| 4e 44 0a 0a 43 41 53 45 | 20 69 6e 74 20 62 61 75 |ND..CASE| int bau|
|00005200| 64 72 61 74 65 0a 45 4e | 44 0a 0a 43 41 53 45 20 |drate.EN|D..CASE |
|00005210| 76 6f 69 64 20 64 65 6c | 77 69 6e 0a 49 09 57 49 |void del|win.I.WI|
|00005220| 4e 44 4f 57 2a 09 09 77 | 69 6e 0a 45 4e 44 0a 0a |NDOW*..w|in.END..|
|00005230| 43 41 53 45 20 76 6f 69 | 64 20 65 6e 64 77 69 6e |CASE voi|d endwin|
|00005240| 0a 45 4e 44 0a 0a 43 41 | 53 45 20 69 6e 74 20 65 |.END..CA|SE int e|
|00005250| 72 61 73 65 63 68 61 72 | 0a 45 4e 44 0a 0a 20 20 |rasechar|.END.. |
|00005260| 20 20 63 61 73 65 20 55 | 53 5f 67 65 74 63 61 70 | case U|S_getcap|
|00005270| 3a 0a 09 69 66 20 28 69 | 74 65 6d 73 20 21 3d 20 |:..if (i|tems != |
|00005280| 31 29 0a 09 20 20 20 20 | 66 61 74 61 6c 28 22 55 |1).. |fatal("U|
|00005290| 73 61 67 65 3a 20 26 67 | 65 74 63 61 70 28 24 73 |sage: &g|etcap($s|
|000052a0| 74 72 29 22 29 3b 0a 09 | 65 6c 73 65 20 7b 0a 09 |tr)");..|else {..|
|000052b0| 20 20 20 20 63 68 61 72 | 2a 20 72 65 74 76 61 6c | char|* retval|
|000052c0| 3b 0a 09 20 20 20 20 63 | 68 61 72 2a 09 73 74 72 |;.. c|har*.str|
|000052d0| 20 3d 09 09 28 63 68 61 | 72 2a 29 09 09 73 74 72 | =..(cha|r*)..str|
|000052e0| 5f 67 65 74 28 73 74 5b | 31 5d 29 3b 0a 09 20 20 |_get(st[|1]);.. |
|000052f0| 20 20 63 68 61 72 20 6f | 75 74 70 75 74 5b 35 30 | char o|utput[50|
|00005300| 5d 2c 20 2a 6f 75 74 70 | 75 74 70 20 3d 20 6f 75 |], *outp|utp = ou|
|00005310| 74 70 75 74 3b 0a 0a 09 | 20 20 20 20 72 65 74 76 |tput;...| retv|
|00005320| 61 6c 20 3d 20 74 67 65 | 74 73 74 72 28 73 74 72 |al = tge|tstr(str|
|00005330| 2c 20 26 6f 75 74 70 75 | 74 70 29 3b 0a 09 20 20 |, &outpu|tp);.. |
|00005340| 20 20 73 74 72 5f 73 65 | 74 28 73 74 5b 30 5d 2c | str_se|t(st[0],|
|00005350| 20 28 63 68 61 72 2a 29 | 20 72 65 74 76 61 6c 29 | (char*)| retval)|
|00005360| 3b 0a 09 7d 0a 09 72 65 | 74 75 72 6e 20 73 70 3b |;..}..re|turn sp;|
|00005370| 0a 0a 20 20 20 20 63 61 | 73 65 20 55 53 5f 67 65 |.. ca|se US_ge|
|00005380| 74 79 78 3a 0a 09 69 66 | 20 28 69 74 65 6d 73 20 |tyx:..if| (items |
|00005390| 21 3d 20 33 29 0a 09 20 | 20 20 20 66 61 74 61 6c |!= 3).. | fatal|
|000053a0| 28 22 55 73 61 67 65 3a | 20 26 67 65 74 79 78 28 |("Usage:| &getyx(|
|000053b0| 24 77 69 6e 2c 20 24 79 | 2c 20 24 78 29 22 29 3b |$win, $y|, $x)");|
|000053c0| 0a 09 65 6c 73 65 20 7b | 0a 09 20 20 20 20 69 6e |..else {|.. in|
|000053d0| 74 20 72 65 74 76 61 6c | 3b 0a 09 20 20 20 20 53 |t retval|;.. S|
|000053e0| 54 52 2a 09 73 74 72 20 | 3d 09 09 73 74 72 5f 6e |TR*.str |=..str_n|
|000053f0| 65 77 28 30 29 3b 0a 09 | 20 20 20 20 57 49 4e 44 |ew(0);..| WIND|
|00005400| 4f 57 2a 09 77 69 6e 20 | 3d 09 09 2a 28 57 49 4e |OW*.win |=..*(WIN|
|00005410| 44 4f 57 2a 2a 29 09 73 | 74 72 5f 67 65 74 28 73 |DOW**).s|tr_get(s|
|00005420| 74 5b 31 5d 29 3b 0a 09 | 20 20 20 20 69 6e 74 09 |t[1]);..| int.|
|00005430| 09 79 3b 0a 09 20 20 20 | 20 69 6e 74 09 09 78 3b |.y;.. | int..x;|
|00005440| 0a 0a 09 20 20 20 20 64 | 6f 5f 73 70 72 69 6e 74 |... d|o_sprint|
|00005450| 66 28 73 74 72 2c 20 69 | 74 65 6d 73 20 2d 20 31 |f(str, i|tems - 1|
|00005460| 2c 20 73 74 20 2b 20 31 | 29 3b 0a 09 20 20 20 20 |, st + 1|);.. |
|00005470| 72 65 74 76 61 6c 20 3d | 20 67 65 74 79 78 28 77 |retval =| getyx(w|
|00005480| 69 6e 2c 20 79 2c 20 78 | 29 3b 0a 09 20 20 20 20 |in, y, x|);.. |
|00005490| 73 74 72 5f 6e 75 6d 73 | 65 74 28 73 74 5b 32 5d |str_nums|et(st[2]|
|000054a0| 2c 20 28 64 6f 75 62 6c | 65 29 79 29 3b 0a 09 20 |, (doubl|e)y);.. |
|000054b0| 20 20 20 73 74 72 5f 6e | 75 6d 73 65 74 28 73 74 | str_n|umset(st|
|000054c0| 5b 33 5d 2c 20 28 64 6f | 75 62 6c 65 29 78 29 3b |[3], (do|uble)x);|
|000054d0| 0a 09 20 20 20 20 73 74 | 72 5f 6e 75 6d 73 65 74 |.. st|r_numset|
|000054e0| 28 73 74 5b 30 5d 2c 20 | 28 64 6f 75 62 6c 65 29 |(st[0], |(double)|
|000054f0| 20 72 65 74 76 61 6c 29 | 3b 0a 09 20 20 20 20 73 | retval)|;.. s|
|00005500| 74 72 5f 66 72 65 65 28 | 73 74 72 29 3b 0a 09 7d |tr_free(|str);..}|
|00005510| 0a 09 72 65 74 75 72 6e | 20 73 70 3b 0a 0a 09 0a |..return| sp;....|
|00005520| 43 41 53 45 20 69 6e 74 | 20 69 6e 63 68 0a 45 4e |CASE int| inch.EN|
|00005530| 44 0a 0a 43 41 53 45 20 | 69 6e 74 20 77 69 6e 63 |D..CASE |int winc|
|00005540| 68 0a 49 09 57 49 4e 44 | 4f 57 2a 09 09 77 69 6e |h.I.WIND|OW*..win|
|00005550| 0a 45 4e 44 0a 0a 43 41 | 53 45 20 57 49 4e 44 4f |.END..CA|SE WINDO|
|00005560| 57 2a 20 69 6e 69 74 73 | 63 72 0a 45 4e 44 0a 0a |W* inits|cr.END..|
|00005570| 43 41 53 45 20 69 6e 74 | 20 6b 69 6c 6c 63 68 61 |CASE int| killcha|
|00005580| 72 0a 45 4e 44 0a 0a 43 | 41 53 45 20 69 6e 74 20 |r.END..C|ASE int |
|00005590| 6c 65 61 76 65 6f 6b 0a | 49 09 57 49 4e 44 4f 57 |leaveok.|I.WINDOW|
|000055a0| 2a 09 09 77 69 6e 0a 49 | 09 62 6f 6f 6c 09 09 62 |*..win.I|.bool..b|
|000055b0| 6f 6f 6c 66 0a 45 4e 44 | 0a 0a 43 41 53 45 20 63 |oolf.END|..CASE c|
|000055c0| 68 61 72 2a 20 6c 6f 6e | 67 6e 61 6d 65 0a 49 09 |har* lon|gname.I.|
|000055d0| 63 68 61 72 2a 09 09 74 | 65 72 6d 62 75 66 0a 49 |char*..t|ermbuf.I|
|000055e0| 4f 09 63 68 61 72 2a 09 | 09 6e 61 6d 65 0a 45 4e |O.char*.|.name.EN|
|000055f0| 44 0a 0a 43 41 53 45 20 | 69 6e 74 20 66 75 6c 6c |D..CASE |int full|
|00005600| 6e 61 6d 65 0a 49 09 63 | 68 61 72 2a 09 09 74 65 |name.I.c|har*..te|
|00005610| 72 6d 62 75 66 0a 49 4f | 09 63 68 61 72 2a 09 09 |rmbuf.IO|.char*..|
|00005620| 6e 61 6d 65 0a 45 4e 44 | 0a 0a 43 41 53 45 20 69 |name.END|..CASE i|
|00005630| 6e 74 20 6d 76 77 69 6e | 0a 49 09 57 49 4e 44 4f |nt mvwin|.I.WINDO|
|00005640| 57 2a 09 09 77 69 6e 0a | 49 09 69 6e 74 09 09 79 |W*..win.|I.int..y|
|00005650| 0a 49 09 69 6e 74 09 09 | 78 0a 45 4e 44 0a 0a 43 |.I.int..|x.END..C|
|00005660| 41 53 45 20 57 49 4e 44 | 4f 57 2a 20 6e 65 77 77 |ASE WIND|OW* neww|
|00005670| 69 6e 0a 49 09 69 6e 74 | 09 09 6c 69 6e 65 73 0a |in.I.int|..lines.|
|00005680| 49 09 69 6e 74 09 09 63 | 6f 6c 73 0a 49 09 69 6e |I.int..c|ols.I.in|
|00005690| 74 09 09 62 65 67 69 6e | 5f 79 0a 49 09 69 6e 74 |t..begin|_y.I.int|
|000056a0| 09 09 62 65 67 69 6e 5f | 78 0a 45 4e 44 0a 0a 43 |..begin_|x.END..C|
|000056b0| 41 53 45 20 69 6e 74 20 | 6e 6c 0a 45 4e 44 0a 0a |ASE int |nl.END..|
|000056c0| 43 41 53 45 20 69 6e 74 | 20 6e 6f 6e 6c 0a 45 4e |CASE int| nonl.EN|
|000056d0| 44 0a 0a 43 41 53 45 20 | 69 6e 74 20 73 63 72 6f |D..CASE |int scro|
|000056e0| 6c 6c 6f 6b 0a 49 09 57 | 49 4e 44 4f 57 2a 09 09 |llok.I.W|INDOW*..|
|000056f0| 77 69 6e 0a 49 09 62 6f | 6f 6c 09 09 62 6f 6f 6c |win.I.bo|ol..bool|
|00005700| 66 0a 45 4e 44 0a 0a 43 | 41 53 45 20 57 49 4e 44 |f.END..C|ASE WIND|
|00005710| 4f 57 2a 20 73 75 62 77 | 69 6e 0a 49 09 57 49 4e |OW* subw|in.I.WIN|
|00005720| 44 4f 57 2a 09 09 77 69 | 6e 0a 49 09 69 6e 74 09 |DOW*..wi|n.I.int.|
|00005730| 09 6c 69 6e 65 73 0a 49 | 09 69 6e 74 09 09 63 6f |.lines.I|.int..co|
|00005740| 6c 73 0a 49 09 69 6e 74 | 09 09 62 65 67 69 6e 5f |ls.I.int|..begin_|
|00005750| 79 0a 49 09 69 6e 74 09 | 09 62 65 67 69 6e 5f 78 |y.I.int.|.begin_x|
|00005760| 0a 45 4e 44 0a 0a 43 41 | 53 45 20 76 6f 69 64 20 |.END..CA|SE void |
|00005770| 74 6f 75 63 68 6c 69 6e | 65 0a 49 09 57 49 4e 44 |touchlin|e.I.WIND|
|00005780| 4f 57 2a 09 09 77 69 6e | 0a 49 09 69 6e 74 09 09 |OW*..win|.I.int..|
|00005790| 79 0a 49 09 69 6e 74 09 | 09 73 74 61 72 74 78 0a |y.I.int.|.startx.|
|000057a0| 49 09 69 6e 74 09 09 65 | 6e 64 78 0a 45 4e 44 0a |I.int..e|ndx.END.|
|000057b0| 0a 43 41 53 45 20 76 6f | 69 64 20 74 6f 75 63 68 |.CASE vo|id touch|
|000057c0| 6f 76 65 72 6c 61 70 0a | 49 09 57 49 4e 44 4f 57 |overlap.|I.WINDOW|
|000057d0| 2a 09 09 77 69 6e 31 0a | 49 09 57 49 4e 44 4f 57 |*..win1.|I.WINDOW|
|000057e0| 2a 09 09 77 69 6e 32 0a | 45 4e 44 0a 0a 43 41 53 |*..win2.|END..CAS|
|000057f0| 45 20 76 6f 69 64 20 74 | 6f 75 63 68 77 69 6e 0a |E void t|ouchwin.|
|00005800| 49 09 57 49 4e 44 4f 57 | 2a 09 09 77 69 6e 0a 45 |I.WINDOW|*..win.E|
|00005810| 4e 44 0a 0a 43 41 53 45 | 20 63 68 61 72 2a 20 75 |ND..CASE| char* u|
|00005820| 6e 63 74 72 6c 0a 49 09 | 63 68 61 72 09 09 63 68 |nctrl.I.|char..ch|
|00005830| 0a 45 4e 44 0a 0a 43 41 | 53 45 20 76 6f 69 64 20 |.END..CA|SE void |
|00005840| 67 65 74 74 6d 6f 64 65 | 0a 45 4e 44 0a 0a 43 41 |gettmode|.END..CA|
|00005850| 53 45 20 76 6f 69 64 20 | 6d 76 63 75 72 0a 49 09 |SE void |mvcur.I.|
|00005860| 69 6e 74 09 09 6c 61 73 | 74 79 0a 49 09 69 6e 74 |int..las|ty.I.int|
|00005870| 09 09 6c 61 73 74 78 0a | 49 09 69 6e 74 09 09 6e |..lastx.|I.int..n|
|00005880| 65 77 79 0a 49 09 69 6e | 74 09 09 6e 65 77 78 0a |ewy.I.in|t..newx.|
|00005890| 45 4e 44 0a 0a 43 41 53 | 45 20 69 6e 74 20 73 63 |END..CAS|E int sc|
|000058a0| 72 6f 6c 6c 0a 49 09 57 | 49 4e 44 4f 57 2a 09 09 |roll.I.W|INDOW*..|
|000058b0| 77 69 6e 0a 45 4e 44 0a | 0a 43 41 53 45 20 69 6e |win.END.|.CASE in|
|000058c0| 74 20 73 61 76 65 74 74 | 79 0a 45 4e 44 0a 0a 43 |t savett|y.END..C|
|000058d0| 41 53 45 20 76 6f 69 64 | 20 72 65 73 65 74 74 79 |ASE void| resetty|
|000058e0| 0a 45 4e 44 0a 0a 43 41 | 53 45 20 69 6e 74 20 73 |.END..CA|SE int s|
|000058f0| 65 74 74 65 72 6d 0a 49 | 09 63 68 61 72 2a 09 09 |etterm.I|.char*..|
|00005900| 6e 61 6d 65 0a 45 4e 44 | 0a 0a 43 41 53 45 20 76 |name.END|..CASE v|
|00005910| 6f 69 64 20 74 73 74 70 | 0a 45 4e 44 0a 0a 43 41 |oid tstp|.END..CA|
|00005920| 53 45 20 69 6e 74 20 5f | 70 75 74 63 68 61 72 0a |SE int _|putchar.|
|00005930| 49 09 63 68 61 72 09 09 | 63 68 0a 45 4e 44 0a 0a |I.char..|ch.END..|
|00005940| 20 20 20 20 63 61 73 65 | 20 55 53 5f 74 65 73 74 | case| US_test|
|00005950| 63 61 6c 6c 62 61 63 6b | 3a 0a 09 73 70 20 3d 20 |callback|:..sp = |
|00005960| 63 61 6c 6c 62 61 63 6b | 28 22 63 61 6c 6c 62 61 |callback|("callba|
|00005970| 63 6b 22 2c 20 73 70 20 | 2b 20 69 74 65 6d 73 2c |ck", sp |+ items,|
|00005980| 20 63 75 72 63 73 76 2d | 3e 77 61 6e 74 61 72 72 | curcsv-|>wantarr|
|00005990| 61 79 2c 20 31 2c 20 69 | 74 65 6d 73 29 3b 0a 09 |ay, 1, i|tems);..|
|000059a0| 62 72 65 61 6b 3b 0a 0a | 20 20 20 20 64 65 66 61 |break;..| defa|
|000059b0| 75 6c 74 3a 0a 09 66 61 | 74 61 6c 28 22 55 6e 69 |ult:..fa|tal("Uni|
|000059c0| 6d 70 6c 65 6d 65 6e 74 | 65 64 20 75 73 65 72 2d |mplement|ed user-|
|000059d0| 64 65 66 69 6e 65 64 20 | 73 75 62 72 6f 75 74 69 |defined |subrouti|
|000059e0| 6e 65 22 29 3b 0a 20 20 | 20 20 7d 0a 20 20 20 20 |ne");. | }. |
|000059f0| 72 65 74 75 72 6e 20 73 | 70 3b 0a 7d 0a 0a 73 74 |return s|p;.}..st|
|00005a00| 61 74 69 63 20 69 6e 74 | 0a 75 73 65 72 76 61 6c |atic int|.userval|
|00005a10| 28 69 78 2c 20 73 74 72 | 29 0a 69 6e 74 20 69 78 |(ix, str|).int ix|
|00005a20| 3b 0a 53 54 52 20 2a 73 | 74 72 3b 0a 7b 0a 20 20 |;.STR *s|tr;.{. |
|00005a30| 20 20 73 77 69 74 63 68 | 20 28 69 78 29 20 7b 0a | switch| (ix) {.|
|00005a40| 20 20 20 20 63 61 73 65 | 20 55 56 5f 43 4f 4c 53 | case| UV_COLS|
|00005a50| 3a 0a 09 73 74 72 5f 6e | 75 6d 73 65 74 28 73 74 |:..str_n|umset(st|
|00005a60| 72 2c 20 28 64 6f 75 62 | 6c 65 29 43 4f 4c 53 29 |r, (doub|le)COLS)|
|00005a70| 3b 0a 09 62 72 65 61 6b | 3b 0a 20 20 20 20 63 61 |;..break|;. ca|
|00005a80| 73 65 20 55 56 5f 44 65 | 66 5f 74 65 72 6d 3a 0a |se UV_De|f_term:.|
|00005a90| 09 73 74 72 5f 73 65 74 | 28 73 74 72 2c 20 44 65 |.str_set|(str, De|
|00005aa0| 66 5f 74 65 72 6d 29 3b | 0a 09 62 72 65 61 6b 3b |f_term);|..break;|
|00005ab0| 0a 20 20 20 20 63 61 73 | 65 20 55 56 5f 45 52 52 |. cas|e UV_ERR|
|00005ac0| 3a 0a 09 73 74 72 5f 6e | 75 6d 73 65 74 28 73 74 |:..str_n|umset(st|
|00005ad0| 72 2c 20 28 64 6f 75 62 | 6c 65 29 45 52 52 29 3b |r, (doub|le)ERR);|
|00005ae0| 0a 09 62 72 65 61 6b 3b | 0a 20 20 20 20 63 61 73 |..break;|. cas|
|00005af0| 65 20 55 56 5f 4c 49 4e | 45 53 3a 0a 09 73 74 72 |e UV_LIN|ES:..str|
|00005b00| 5f 6e 75 6d 73 65 74 28 | 73 74 72 2c 20 28 64 6f |_numset(|str, (do|
|00005b10| 75 62 6c 65 29 4c 49 4e | 45 53 29 3b 0a 09 62 72 |uble)LIN|ES);..br|
|00005b20| 65 61 6b 3b 0a 20 20 20 | 20 63 61 73 65 20 55 56 |eak;. | case UV|
|00005b30| 5f 4d 79 5f 74 65 72 6d | 3a 0a 09 73 74 72 5f 6e |_My_term|:..str_n|
|00005b40| 75 6d 73 65 74 28 73 74 | 72 2c 20 28 64 6f 75 62 |umset(st|r, (doub|
|00005b50| 6c 65 29 4d 79 5f 74 65 | 72 6d 29 3b 0a 09 62 72 |le)My_te|rm);..br|
|00005b60| 65 61 6b 3b 0a 20 20 20 | 20 63 61 73 65 20 55 56 |eak;. | case UV|
|00005b70| 5f 4f 4b 3a 0a 09 73 74 | 72 5f 6e 75 6d 73 65 74 |_OK:..st|r_numset|
|00005b80| 28 73 74 72 2c 20 28 64 | 6f 75 62 6c 65 29 4f 4b |(str, (d|ouble)OK|
|00005b90| 29 3b 0a 09 62 72 65 61 | 6b 3b 0a 20 20 20 20 63 |);..brea|k;. c|
|00005ba0| 61 73 65 20 55 56 5f 63 | 75 72 73 63 72 3a 0a 09 |ase UV_c|urscr:..|
|00005bb0| 73 74 72 5f 6e 73 65 74 | 28 73 74 72 2c 20 26 63 |str_nset|(str, &c|
|00005bc0| 75 72 73 63 72 2c 20 73 | 69 7a 65 6f 66 28 57 49 |urscr, s|izeof(WI|
|00005bd0| 4e 44 4f 57 2a 29 29 3b | 0a 09 62 72 65 61 6b 3b |NDOW*));|..break;|
|00005be0| 0a 20 20 20 20 63 61 73 | 65 20 55 56 5f 73 74 64 |. cas|e UV_std|
|00005bf0| 73 63 72 3a 0a 09 73 74 | 72 5f 6e 73 65 74 28 73 |scr:..st|r_nset(s|
|00005c00| 74 72 2c 20 26 73 74 64 | 73 63 72 2c 20 73 69 7a |tr, &std|scr, siz|
|00005c10| 65 6f 66 28 57 49 4e 44 | 4f 57 2a 29 29 3b 0a 09 |eof(WIND|OW*));..|
|00005c20| 62 72 65 61 6b 3b 0a 20 | 20 20 20 63 61 73 65 20 |break;. | case |
|00005c30| 55 56 5f 74 74 79 74 79 | 70 65 3a 0a 09 73 74 72 |UV_ttyty|pe:..str|
|00005c40| 5f 73 65 74 28 73 74 72 | 2c 20 74 74 79 74 79 70 |_set(str|, ttytyp|
|00005c50| 65 29 3b 0a 09 62 72 65 | 61 6b 3b 0a 20 20 20 20 |e);..bre|ak;. |
|00005c60| 7d 0a 20 20 20 20 72 65 | 74 75 72 6e 20 30 3b 0a |}. re|turn 0;.|
|00005c70| 7d 0a 0a 73 74 61 74 69 | 63 20 69 6e 74 0a 75 73 |}..stati|c int.us|
|00005c80| 65 72 73 65 74 28 69 78 | 2c 20 73 74 72 29 0a 69 |erset(ix|, str).i|
|00005c90| 6e 74 20 69 78 3b 0a 53 | 54 52 20 2a 73 74 72 3b |nt ix;.S|TR *str;|
|00005ca0| 0a 7b 0a 20 20 20 20 73 | 77 69 74 63 68 20 28 69 |.{. s|witch (i|
|00005cb0| 78 29 20 7b 0a 20 20 20 | 20 63 61 73 65 20 55 56 |x) {. | case UV|
|00005cc0| 5f 43 4f 4c 53 3a 0a 09 | 43 4f 4c 53 20 3d 20 28 |_COLS:..|COLS = (|
|00005cd0| 69 6e 74 29 73 74 72 5f | 67 6e 75 6d 28 73 74 72 |int)str_|gnum(str|
|00005ce0| 29 3b 0a 09 62 72 65 61 | 6b 3b 0a 20 20 20 20 63 |);..brea|k;. c|
|00005cf0| 61 73 65 20 55 56 5f 44 | 65 66 5f 74 65 72 6d 3a |ase UV_D|ef_term:|
|00005d00| 0a 09 44 65 66 5f 74 65 | 72 6d 20 3d 20 73 61 76 |..Def_te|rm = sav|
|00005d10| 65 73 74 72 28 73 74 72 | 5f 67 65 74 28 73 74 72 |estr(str|_get(str|
|00005d20| 29 29 3b 09 2f 2a 20 6e | 65 76 65 72 20 66 72 65 |));./* n|ever fre|
|00005d30| 65 64 20 2a 2f 0a 09 62 | 72 65 61 6b 3b 0a 20 20 |ed */..b|reak;. |
|00005d40| 20 20 63 61 73 65 20 55 | 56 5f 4c 49 4e 45 53 3a | case U|V_LINES:|
|00005d50| 0a 09 4c 49 4e 45 53 20 | 3d 20 28 69 6e 74 29 73 |..LINES |= (int)s|
|00005d60| 74 72 5f 67 6e 75 6d 28 | 73 74 72 29 3b 0a 09 62 |tr_gnum(|str);..b|
|00005d70| 72 65 61 6b 3b 0a 20 20 | 20 20 63 61 73 65 20 55 |reak;. | case U|
|00005d80| 56 5f 4d 79 5f 74 65 72 | 6d 3a 0a 09 4d 79 5f 74 |V_My_ter|m:..My_t|
|00005d90| 65 72 6d 20 3d 20 28 62 | 6f 6f 6c 29 73 74 72 5f |erm = (b|ool)str_|
|00005da0| 67 6e 75 6d 28 73 74 72 | 29 3b 0a 09 62 72 65 61 |gnum(str|);..brea|
|00005db0| 6b 3b 0a 20 20 20 20 63 | 61 73 65 20 55 56 5f 74 |k;. c|ase UV_t|
|00005dc0| 74 79 74 79 70 65 3a 0a | 09 73 74 72 63 70 79 28 |tytype:.|.strcpy(|
|00005dd0| 74 74 79 74 79 70 65 2c | 20 73 74 72 5f 67 65 74 |ttytype,| str_get|
|00005de0| 28 73 74 72 29 29 3b 09 | 09 2f 2a 20 68 6f 70 65 |(str));.|./* hope|
|00005df0| 20 69 74 20 66 69 74 73 | 20 2a 2f 0a 09 62 72 65 | it fits| */..bre|
|00005e00| 61 6b 3b 0a 20 20 20 20 | 7d 0a 20 20 20 20 72 65 |ak;. |}. re|
|00005e10| 74 75 72 6e 20 30 3b 0a | 7d 0a 00 00 00 00 00 00 |turn 0;.|}.......|
|00005e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006000| 70 65 72 6c 2d 34 2e 30 | 33 36 2f 61 74 61 72 69 |perl-4.0|36/atari|
|00006010| 73 74 2f 75 73 75 62 2f | 75 73 65 72 73 75 62 2e |st/usub/|usersub.|
|00006020| 63 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |c.......|........|
|00006030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006060| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 20 36 32 |.... 6|44 . 62|
|00006070| 30 36 20 00 20 20 20 20 | 32 32 20 00 20 20 20 20 |06 . |22 . |
|00006080| 20 20 20 31 31 32 30 20 | 20 35 33 33 35 35 34 32 | 1120 | 5335542|
|00006090| 31 36 37 20 20 31 34 34 | 36 36 00 20 30 00 00 00 |167 144|66. 0...|
|000060a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006100| 00 75 73 74 61 72 20 20 | 00 64 6a 6d 00 00 00 00 |.ustar |.djm....|
|00006110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006120| 00 00 00 00 00 00 00 00 | 00 75 6d 64 00 00 00 00 |........|.umd....|
|00006130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006200| 2f 2a 20 24 52 43 53 66 | 69 6c 65 3a 20 75 73 65 |/* $RCSf|ile: use|
|00006210| 72 73 75 62 2e 63 2c 76 | 20 24 24 52 65 76 69 73 |rsub.c,v| $$Revis|
|00006220| 69 6f 6e 3a 20 34 2e 30 | 2e 31 2e 31 20 24 24 44 |ion: 4.0|.1.1 $$D|
|00006230| 61 74 65 3a 20 39 32 2f | 30 36 2f 30 38 20 31 31 |ate: 92/|06/08 11|
|00006240| 3a 35 34 3a 35 32 20 24 | 0a 20 2a 0a 20 2a 20 24 |:54:52 $|. *. * $|
|00006250| 4c 6f 67 3a 09 75 73 65 | 72 73 75 62 2e 63 2c 76 |Log:.use|rsub.c,v|
|00006260| 20 24 0a 20 2a 20 52 65 | 76 69 73 69 6f 6e 20 34 | $. * Re|vision 4|
|00006270| 2e 30 2e 31 2e 31 20 20 | 39 32 2f 30 36 2f 30 38 |.0.1.1 |92/06/08|
|00006280| 20 20 31 31 3a 35 34 3a | 35 32 20 20 6c 77 61 6c | 11:54:|52 lwal|
|00006290| 6c 0a 20 2a 20 49 6e 69 | 74 69 61 6c 20 72 65 76 |l. * Ini|tial rev|
|000062a0| 69 73 69 6f 6e 0a 20 2a | 20 0a 20 2a 20 52 65 76 |ision. *| . * Rev|
|000062b0| 69 73 69 6f 6e 20 34 2e | 30 2e 31 2e 31 20 20 39 |ision 4.|0.1.1 9|
|000062c0| 31 2f 31 31 2f 30 35 20 | 20 31 39 3a 30 37 3a 32 |1/11/05 | 19:07:2|
|000062d0| 34 20 20 6c 77 61 6c 6c | 0a 20 2a 20 70 61 74 63 |4 lwall|. * patc|
|000062e0| 68 31 31 3a 20 74 68 65 | 72 65 20 61 72 65 20 6e |h11: the|re are n|
|000062f0| 6f 77 20 73 75 62 72 6f | 75 74 69 6e 65 73 20 66 |ow subro|utines f|
|00006300| 6f 72 20 63 61 6c 6c 69 | 6e 67 20 62 61 63 6b 20 |or calli|ng back |
|00006310| 66 72 6f 6d 20 43 20 69 | 6e 74 6f 20 50 65 72 6c |from C i|nto Perl|
|00006320| 0a 20 2a 20 0a 20 2a 20 | 52 65 76 69 73 69 6f 6e |. * . * |Revision|
|00006330| 20 34 2e 30 20 20 39 31 | 2f 30 33 2f 32 30 20 20 | 4.0 91|/03/20 |
|00006340| 30 31 3a 35 36 3a 33 34 | 20 20 6c 77 61 6c 6c 0a |01:56:34| lwall.|
|00006350| 20 2a 20 34 2e 30 20 62 | 61 73 65 6c 69 6e 65 2e | * 4.0 b|aseline.|
|00006360| 0a 20 2a 20 0a 20 2a 20 | 52 65 76 69 73 69 6f 6e |. * . * |Revision|
|00006370| 20 33 2e 30 2e 31 2e 31 | 20 20 39 30 2f 30 38 2f | 3.0.1.1| 90/08/|
|00006380| 30 39 20 20 30 34 3a 30 | 36 3a 31 30 20 20 6c 77 |09 04:0|6:10 lw|
|00006390| 61 6c 6c 0a 20 2a 20 70 | 61 74 63 68 31 39 3a 20 |all. * p|atch19: |
|000063a0| 49 6e 69 74 69 61 6c 20 | 72 65 76 69 73 69 6f 6e |Initial |revision|
|000063b0| 0a 20 2a 20 0a 20 2a 2f | 0a 0a 23 69 6e 63 6c 75 |. * . */|..#inclu|
|000063c0| 64 65 20 22 45 58 54 45 | 52 4e 2e 68 22 0a 23 69 |de "EXTE|RN.h".#i|
|000063d0| 6e 63 6c 75 64 65 20 22 | 70 65 72 6c 2e 68 22 0a |nclude "|perl.h".|
|000063e0| 0a 69 6e 74 0a 75 73 65 | 72 69 6e 69 74 28 29 0a |.int.use|rinit().|
|000063f0| 7b 0a 20 20 20 20 69 6e | 73 74 61 6c 6c 5f 6e 75 |{. in|stall_nu|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.