READ_ME¤�% ±5â1?ù@TAPE$�ª„*ñùMÌÑUPDATE¤�% ;2`‡N/ashell/cont.a´�% 8¿2a‡Oe×ashell/READ_ME¤�% 95:n/&uassubs/cont.a´�% Ú 2d‡1Ýtbin/cont.a´�% 0-5Š972bin/READ_ME¤�% 45CnN6etc/cont.a´�% +5N8Q|etc/READ_ME¤�% ?5Xngvex-1.1/a.outNOVISUALí�% "¸5qi]Þex-1.1/a.outNOVISNOIDí�í�% ‚·5qÆ¿ëex-1.1/a.outNOIDí�% ´û5q"³@ex-1.1/cont.a´�% �C5q ˆÍex-1.1/CORRECTIONS¤�% ß5qBs:ex-1.1/how_ex/help¤�% �4‡/F�ex-1.1/how_ex/index¤�% š4‡/G! ex-1.1/how_ex/lostlines¤�% ë4Š/Hå*ex-1.1/how_ex/recover¤�% T4ˆ/Iì ex-1.1/how_ex/saferecover�¤�% 4Š/LÕÚex-1.1/how_raw/doití�% D4€/Nx¼ex-1.1/how_raw/help¤�% d4/O¯´ex-1.1/how_raw/index¤�% ‡4€/PŒCex-1.1/how_raw/lostlines¤�% Ë4€/Qi[ex-1.1/how_raw/recover¤�% .4€/R}Èex-1.1/how_raw/saferecover¤�% 4€/UÞðex-1.1/libex/recover¤�% þÛ5qW—ex-1.1/libNOVISUALecover�¤�% 5qÅǰex-1.1/NOTEaw/doit¤�% ü5qÓ9"ex-1.1/patchd/helpÉ�% 5qÖÚàex-1.1/patchd.cndex¤�% ] 5qÝs­ex-1.1/READ_MElostlines¤�% Ï5qãÖŠex-1.1/SETUPw/recover¤�% &5Éró/Óex-1.1/SUGGESTsaferecover¤�% @5qûæBex-1.1/SYSDEPrecover¤�% p5Ìrü1Ìexrecover/cont.aLecover�´�% ôp5) exrecover/READ_MEt¤�% k5boC %1exrefm/cont.a/help´�% `´2`‡D =þeyacc/cont.a.cndex´�% JÄ2b‡ ̲eyacc/READ_MElostlines¤�% %5uo‚ ÕÕfpterp/cont.a/recover´�% úH2d‡… ë„fpterp/READ_MEsaferecover¤�% À5‡oª ÁÑhelp/cont.aPrecover´�% °'5õ>¬ Mâlib/cont.aont.aLecover�´�% ˆÝ2c‡À Klib/libX.aEAD_MEt´�% 2¤“/ ëlib/READ_MEa/help¤�% E5”o; „¤man1/cont.a.cndex´�% <2f‡< Ï÷man5/cont.aElostlines´�% ø2e‡Z úùman6/cont.aa/recover´�% ­2\‡d Íman7/cont.aMEsaferecover´�% 2f‡; ªHman8/cont.aPrecover´�% €5y?E Y;opcodes/cont.aaLecover�´�% L2_‡J Äâopcodes/READ_MEEt¤�% ª5§oq §špcs/cont.aa/help´�% î÷2c‡r ë+pcs/READ_ME.cndex¤�% ¡5àqî Copi/cont.aaElostlines´�% Œo2[‡ï åÄpi/libnt.aa/recover´�% ò"2\‡'Úpi/pi_stringssaferecover´�% |+2[‡9‹pi/READ_MEPrecover¤�% ³ 5®rOÐ÷pi/y.output.aaLecover�´�% M¤2\‡VÖ¢portlib/cont.aEt´�% bh2h‡©¢printdt.aa/helpí�% d2i‡Þ1Üpuman/cont.a.cndex´�% �2a‡ß!çpx/cont.aaElostlines´�% Ò?2_‡&dâpx/READ_MEa/recover¤�% ½5rrFOmpxp/cont.agssaferecover´�%  2^‡HðÎpxp/libMEPrecover´�% ˜â2_‡Ï'Spxp/libc.a.aaLecover�´�% U2^‡ÁôRpxp/READ_ME.aEt¤�% ˜5drì÷pxp/y.output/help´�% L¤2^‡ï§pxref/cont.a.cndex´�% ®2b‡B&Lpxref/READ_MElostlines¤�% L5lrQÉÈs1/cont.aa/recover´�% 2P2g‡R[†s1/READ_MEgssaferecover¤�% º5ur{nos6/cont.aPrecover´�% À5¹;} œs7/cont.a.aaLecover�´�% �2e‡þ"&s7/READ_ME.aEt¤�% Ü5ˆr 2s8/cont.aut/help´�% °:2h‡ps8/READ_MEa.cndex¤�% ×5Žr,ÃüsetupREAD_MElostlinesí�% {5;-Í/tests/cont.a/recover´�% æk2e‡.»Ltrek/cont.assaferecover´�% lk2g‡dàwowont.aPrecover¤�% ¸²5iuˆÚx/cont.a.aaLecover�¤�% :Å5vtaÄ.ND .ce Berkeley UNIX Software Tape .sp 3 .SH Extracting the data from this tape: .LP Most of the data on this tape has been archived to reduce the number of files so that tp will write this tape. You should extract the data from the libraries. This will require about 10000 blocks of storage if you don't remove each "cont.a" after you extract it. .SH What is on this tape: .LP This tape includes sources and binaries for a quantity of UC Berkeley software. The major items on this tape are the instructional Pascal system and the text editor "ex". Other software here includes a modified shell, a new shell, new commands, and a "star trek" game. Machine readable documentation is included for all programs. The "Pascal User's Manual" and the "Ex reference manual" need a phototypesetter if readable copies are to be produced. .SH Pascal: .LP The Pascal system has been used for a year for instruction here. It has undergone a number of improvements in the last six months, but is quite stable. We use it for undergraduate and graduate instruction. .LP The Pascal system requires separate I/D space; that is, an 11/45 or 11/70 host. To run the Pascal stuff right away you will also need floating point hardware -- it is possible to run Pascal without floating point hardware but it requires adding a system call to replace the "mfpi" instruction that doesn't work on the 11/45's and 11/70's in user mode. .SH Ex: .LP The Ex editor has been in use for about the same length of time as Pascal, and is used by a majority of our users. It has undergone a number of improvements in the last few months. We intend to use ex for the text editing classes at the Computer Center here (for a general campus audience) starting in January. The Pascal documentation uses "ex" in its examples. .SH Installing the software: .LP Compiled binaries have been included for most of the software here. (A few of the routines in the directory s6 include system dependent headers and so binaries would be of no use and are not included.) .LP The major programs "pi", "pxp", "px", and "ex-1.1" have the binaries in the directories with the same names. "Pi", "pxp" and "px" should run as they stand... if you have a non-standard teletype driver "ex" may require some system dependent changes. The binaries in "ex" will run directly on standard or Berkeley-type version 6 UNIX systems. .LP Each major directory includes a file "READ_ME" describing the software in the directory. There is often a shell script "setup" in the directory to perform one time only operations. The script "install" in these directories will place the software in its standard home. .LP For recompilation of these programs you can use the scripts "make*", and "comp" and "load" in the directories. Most directories also have "print" scripts, i.e. "printpi", to make a program listing with utility files and programs in a reasonable order. .LP The suggested way to bring up the software on this tape is to run the install scripts in "pi", "pxp", and "px", and to then install (some or all) of the software from "bin". The editor "ex" can also be installed... this requires probably as much work as all the others combined as it uses some data bases which don't exist on standard UNIX relating to terminal types and capabilities. .LP Note that some of the scripts to make new versions of the software on this tape use the programs in "bin". You can run these scripts easily, without adding all the stuff in "bin" to your "/usr/bin", by using the shell in "ashell". This shell has a number of nice features and was used in making all the software here... the files "errs" in each of the major directories are outputs from the "make*" scripts so you can see how this was done. Documentation for "ashell" is in s6/sh.6. .LP The trek game in "trek" uses the rewritten portable library in "portlib". It (and the program tset) were written by Eric Allman whose address is in the trek setup instructions in "trek". .br .ne 30 .SH Directory contents: .LP .DS .TS lw(10) l. pi Pascal translator source px Pascal interpreter pxp Pascal execution profiler eyacc Modified yacc for Pascal assubs Assembly stuff for Pascal tests Test programs for Pascal pcs Wirth's Pascal-S pxref Pascal cross-refence program opcodes Definition files for Pascal fpterp Sep ID floating point interpreter using FETCHI sys call s? Command software source man? Documents for s? stuff ashell A new shell with some nice features ex-1.1 Ex source exrecover Ex recovery routines (after system crashes) trek Source for a "star trek" game portlib Portable library used by trek exrefm Troff source for "Ex 1.1 Reference Manual" puman Troff source for "UNIX Pascal User's Manual" help Sections from our help command lib Routines for /lib and /usr/lib bin Routines for /usr/bin etc Stuff for /etc .DE .TE .SH If you don't have floating point: .LP If you don't have floating point hardware, and wish to run Pascal, you will need to add a system call to fetch an instruction word when running separate I/D so that the floating point interpreter can work. The system call to be added is "fetchi"... if you can make it system call 61. (decimal) then the binaries on this tape will work immediately. The code for "fetchi" will reside in sys4.c and look like .DS fetchi() { u.u_ar0[R0] = fuiword(u.u_ar0[R0]); } .DE It is used as in: .DS mov $iaddr,r0 sys fetchi .DE to get the contents of location "iaddr", a word in I-space. Look at the floating point interpreter in the directory fpterp for a sample. Don't forget that to make the system call work you must add an entry to the sysent array in sysent.c. .SH Miscellaneous notes: .LP A version 7 C compiler and many of the binaries in "bin" are required to make a new version of "pascal" or "ex". For Pascal the file "nofloat" in this directory should exist... it causes the scripts in the source directories to work slightly differently. .SH Feedback: .LP We would like to hear from all users of the Pascal system and of ex. Reports of problems in bringing this software up, or of bugs in the programs or documentation would be appreciated. We would also appreciate hearing of any local improvements you make. .SH 11/34 or 11/40 Pascal: .LP It is indeed unfortunate that the Pascal system here won't run on an 11/34 or 11/40... the only reason this is true is that the translator "pi" is too large. Pi used to be two pass but was made one pass about a year ago. It is certainly possible to break pi into two passes or two processes communicating through a pipe. If you have an 11/34 or 11/40 and are interested in trying this I will be glad to give you more details. .LP .in +30 Bill Joy .br CS Division .br Department of EE and CS .br UC Berkeley .br Berkeley, California 94704 .sp (415) 524-4510 [HOME] (415) 642-4948 [SCHOOL] the only reason this is true is that the translator "pi" is too large. Pi used to be two pass but was made one pass about a year ago. It is certainly possible to break pi into two passes or two processes communicating through a pipe. If you have an 11/34 or 11/40 and are interested in trying this I will be glad to give you more deExtracted from a 1BSD distribution tape. First label on the tape: Berkeley UNIX Software Tape Jan 16, 1978 TP 800BPI To extract contents do: tp xm ./setup; sh setup; tp xm See accompanying document Second label on the tape: The contents of this tape are distributed to UNIX licensees only, subject to the software agreement you have with Western Electric and an agreement with the University of California. an 11/34 or 11/40 and are interested in trying this I will be glad to give you more deThis tape reflects updates to Thu Jan 19 10:34:29 PST 1978 e tape: Berkeley UNIX Software Tape Jan 16, 1978 TP 800BPI To extract contents do: tp xm ./setup; sh setup; tp xm See accompanying document Second label on the tape: The contents of this tape are distributed to UNIX licensees only, subject to the software agreement you have with Western Electric and an agreement with the University of California. an 11/34 or 11/40 and are interested in trying this I will be glad to give you more deeÿREAD_MEÙLø¤�9Wed Oct 19, 1977 This directory contains the source for a shell. It requires floating point to do the time command which is built-in so you will have to cc it -f on machines without floating point. It also requires a version 7 C compiler. Accurate documentation is in the file "sh.6" to be nroffed with /usr/man/man0/naa and a new "version 7" nroff. This shell requires the "htmp" data base also used by the editor "ex". If you do not set it up so that the "sethome" command is done by "login" then you should use the old "osethome" routine in ../s6 rather than "sethome" and reenable the execl of this sethome in the file "sh.c" (with the correct pathname). Bill Joy CS Division Department of EE and CS UC Berkeley Berkeley, California 94704 (415) 524-4510 [HOME] (415) 642-4948 [SCHOOL] /a.outÙMøí‘j]À3:``! ð€&Ð 6÷ ¶ß N0‰w Ì0ÆåÎ@ß â$À Î@ß ª$ß ,$ß Þ-@ ß RÎß N07 TI@0  7FI÷ >I æ/ß HÖ À  À5�øÿ7 IBÂe ÎÚ¦ß ¸Ö ÷ I Žß öÎ@ß ÄÎß N0@" Î¦ß ¸Ö μ@ß ª$Ë‹õ‹øÿÃ@ÄË¥-ËÅ€ƒ Ë‹øõ’öÿ Ц÷ \*Ö &&÷ R*Ö €eÀe&æ÷ °*–%&ß È+Ö 5ôÿÄ õ‹øÿÌ‹Î@fôÿß ˆ+Ö Žfôÿß ˆ+Ö ŽÎeöÿfôÿß ¸Ö Nôÿß P#S�öÿ·Î*Hß Ä÷ H ÎHß „ÎHß P#Î@ß „Îß N0wFÎÚfÎeöÿß ¸Ö ÷ *FNÎeöÿß öΈ@ß ä wR-ÄË Î“@õÎfÎeöÿß ¸Ö Döÿìw -÷ #C÷ à)7~Dû¥- À7�lD÷ vÀ ÎÌHß €#Îô@æ¶@ß j%Ö ÎLHæû@æö@ß „%–%÷ 2DÎAÎ Aæ @ß j%Ö Î Aæ¬@ß j%Ö ÷ ´,ß ¸#æ²@ß j%Ö ÎFHæAæÈ@ß „%–%Äß .-„ Ä%ùõ%DÂÊ¥-€”ÁÎ@7:< þy ÷•¤C÷•:DÊ‹ïÃeõ ÷‹�C'õ%#Î#Aæ @ß j%Ö Î @ß & ß .- Â¦ß ô-Ö À Îß ÄÎ$Aß „Îß N0ÎdH& ß À-Ö À ÎdHæß À-Ö À û•-õ Ãeõ õCÎfß fÖ Î2Aæ¼@ß j%Ö ÎAAß ÷‹àBÎKAß ÷bCÖB÷�^CÒB÷�ZC¼B@È¥-·ŠºBÎæß º.Ö Îæß º.Ö Îß À÷‹ŽBÎSAß ÄÀ�€Bß „w+õ%÷øB÷•òBÎ"Aæ @ß j%Ö Î @ß &û•-·Š:B_´w Æ*ÆåÎÌHædHß È+Ö NædHß ˆ+Ö  ß b-5øÿ ß .- ædHß ô-Ö 5öÿ ß À ß .-Nøÿß b-Nøÿß .-wp*w `*õ Îæß º.Ö Îæß º.Ö 7аAÎ[Aß  ß N0w4*w $*÷ *÷‹�A 7ŠŠAw*“ß X„ Ì‹ù÷ Π@ß ª$õ ôß Äðw ä)7 NAÎ@Hß ÷ BAÎ5 øÿÂe µ øÿÂeÊ úÀœ@-øÿ ÎxBÎŒBß ä ÀÙÀœ@-øÿô&Îe û Ö 5øÿó5ìÇw ¦%Îæß º.Ö w %w �% æß º.Ö wŒ%w |%÷ øÿw€%w p%wx%w h%DÄeÎß RÎß -À À$=ÁB7\6 þyζ@ß ª$Ë‹êΡBß ä w&%ΫBæß ü Ö ÷νBøÎÙBõÎíBß ÄÎÔ<ß ÎöBß ÄÎøBæw Þ$Î:Hß ,wÞ$w Î$Æå5 öÿDÂ5€ÂE€ÿµ öÿÂ%"̵€  Â5€ÂE€ÿÂ%"„ “õµ öÿ•ãNß p+@möÿ€ æß à+Ö 5øÿDÓ•\“�Â5€ ÂE€ÿÂ%"„ “ôÓ•"•Â5€ëÂE€ÿÂ%"ä̵€áÓ•"“�ë@øÿw$w $wÖCß â$À  wà!÷ "ß \Ì û? *>÷e$>÷ $>íÀÆKëw ª!÷ÆK>÷¸I >7 >7 l>÷XMd>w˜!w ˆ!æ õì=øÿ7 R>Nß ÀNøÿß €wt!w d!D Î&ß ¦+Ö À Ì‹ÃeÃ-¨=ñ‚ÄeÀž=Àeþÿ!ç‡w4!w $!æ õò=øÿD_Ø÷ NÌ¥*9Ì¥?6Ì¥[3÷%¼MÌ=ñƒÀÆ=· Â=•í÷ ¼=ÎECfß ÆÖ ?<=÷e6=_ÎÂMæXMß 1Ö À kÎFCæXMß ÆÖ ?=÷e=· =\wøÿf=Ä D-‚Ì¥/ù÷ ¼ ÷%¼MJ=ùƒŸB=· >=µ 5!ò†?Š0= æXMß ô-Ö  ÷ =3ÎXMß ÄÎGCß · =„ ÷ (=æèMß >Ö À ÎèMæXMß ÆÖ ?p<÷ej<· j<ÎææMæß ,.–%À%ÜÎß .-wøÿ®;ÀEÿŸÀ%@Ë‹Î�CæXMß ÆÖ ?ª:÷e¤:· ¤:Îß Àwðÿü:?Šø:˜w Æ:DÃ%ÂK‚÷ 8þ•ÀE€ÿ�öDà Ã%ÂK†÷ þ•ùÄR:÷N:wèw ØNß „÷ ¾wÔw ÄDÎæß à+Ö 3ÀðÃ÷ D û¥ êô3w’w ‚D ôÎß P#Îß ,4!ò4wdw TÆåCÃeöýõôý÷ ° rÁ Áe‚CA! þy 5‘øÿ÷ ”ß X@�øÿ!'Ä% ÷ n4÷Df4Š7‘ü40õ ôý%ÀU€�á‘ 7‘â4Î!D&ß HÖ À Š7‘Ê4‘÷ (ÎD&ß HÖ À åõ ôýñ÷ 4÷$D45Š÷ýNÎeöýß €#wŽw ~ÄøH Îæß à+Ö 3ôLõeõ õ é÷ wNw >÷øHN4÷ w<w ,7 B4Ä:4· 84Ä úÎ,4Î ß ¸#æÂ@ß j%Ö ÷%4ÎÂ@ß &wøw èDÄeÌ Àß ,$Âà3 à ‚à à øƒ ‚ ÷à  Î8Dß ä ·®3÷ dÿwœw Œ÷‹’3_Ä�ˆ37Š„3_VÄ%. ÷‹z8 Îr3æ.ß HÖ À N^Àf37`3I÷Z3N3Î R÷‹B3Ä�<37Š83÷  Ä%\ß X÷ ŽÄ% Ä ÄU€÷‹3_bÁÔC7à- þy÷‹þ2Î]ß X7Šð2Î}ß X÷ Ö2ÆÄŸÐ2· Ì2Ä £÷ Î2±7 ¾2Î]í7ŠÂ2÷ 2÷JD2Î ß XwšÀ�¦2Àåþÿ ƒ_NÀ xÊC÷•ÿÿŒ2Î]ß XÎ:É÷•x2Î:ß XXß X7ŠX7÷ ¾ß XÄ%. ÷•@7÷ ¦ß XÀå$ ‚À xäCß ìÀ ß à7 2˜÷22)Ä%{ß À ß r7è1÷‹ð1‚ÀE€ÿ›Î²@ß ª$7Ê1 ÷%Î1ÀÄ17À1÷¼1°1Î[_ß X÷‹¬1__nÄ%$—ß X_nw rÆåDÄeæÿõ¥{T�w�äÿ`1à c÷ º0÷dD²0 wJ@Àeùÿ!†@�äÿß XT�äÿ÷ œ5�äÿ@�äÿß À éŠNÎeæÿß â$õ¥{Ð@�äÿÁòC7þ+ þyà ÷•ÿÿø0÷•þÿð0÷•:Ú0¼w�äÿÒ0÷•ÿÿÜ0µÎ?ß Xà ÷•È0³÷•þÿÀ0¯@�äÿß X÷ 0§÷TDú/£À¢w ‚æ ÷ ô/÷%ì/ ß N0,ÀÞ/· Ú/’&÷Ð/Ä ÷¥Æ/ìÎfÎeøÿ& ß ,.–%À%÷• /÷  D�øÿÄ% ÷‹’/÷ŠŒ/Ä Çww Dß ìÀ Äå0Ä-0 ÀøHwìÄ úÃî/Ä ÃÄ ûÀòw ÄNß àw¾ÀwDûw ¨DCÄ ÎØDŸ&ß HÖ À òÎ&ß xÖ w€ üw læ 5 øÿDD-]ŸÀå& ‚À xxDµ øÿîõ øÿõ øÿø÷ ž.õ÷ÜD–.ñõ øÿîfß \Ö Ê%Îæß à+Ö Ëóa³ÂòUaÎæß à+Ö Ë3 ³N&ß <Ö 3ÀNfß \Ö w®õ øÿô÷ .÷éDþ- ów ˆæ 5 øÿDD-3ŸÁ€D7 * þyµ øÿîõ øÿúõ øÿ÷Îæß à+Ö Ëfß æÖ 3N&ß <Ö 3ÀwNfß æÖ öw þæ 5 øÿDD-FŸÁ”D7–) þyµ øÿîõ øÿúõ øÿ÷Îæß à+Ö Êfß –Ö 2C-û¥* ò€Àð‹‹ ÄN&ß æÖ 2€wnNfß –Ö öw NÆå 5 ôÿ5 òÿDD--ŸÁ¨D7ô( þyµ òÿîõ òÿúõ òÿ÷t-óÎöD’&ß HÖ À èõ ôÿåõ òÿâµ ôÿßõ ôÿ5 ôÿNôÿÎeæß à+Ö 5 ôÿ@È¥)ó5 øÿ5 öÿ5 òÿDD-_ŠŸ5ðÿÁ¼D7^( þyõ òÿ õ øÿ÷ Ø+÷ûDÐ+5øÿµ òÿÛõ òÿõ òÿø5öÿõõ òÿòt- ü¥>óUt-ü¥*óU€ð‹Œ õ òÿËt-÷ P+Ä÷ EH+ÀÎ$EŸ&ß HÖ À ÷ *+±÷(E"+­õ%<ðÿ ó ÷ +£÷DE+Ÿ3œó ÷ ô*–÷XEì*’3�õ òÿŒ@ôÿÀ À`0 µ ôÿƒõ øÿõ ôÿ÷ ¼*÷qE´*ËNöÿføÿß xÖ 3õ ôÿ÷ ’*÷”EŠ*@ôÿÀ À`0 ËÀww DÄ #Àå ‚À xÐDÃe Ë Îß P#Ãeøß âß P#ß P#ß ,w¼ß âß âòw šÆåõ `@Àå Y‚À x°EõdøÿNß ² À Mõ øÿNÎe ß rÀ ïõ øÿAθE@& ß ü Ö 5ÎÎEß „0õ5öÿ Nß .-@ß .-õ5@öÿNøÿß ÎàEß ÄNøÿß ¸#æ¨@ß j%Ö õ5öÿõ5öÿNøÿß ^'wØD5öÿ5 øÿõ5öÿ÷ h5øÿõ%ÿÿøÿ¶õ øÿ¸ÎâEæ @ß j%Ö Î @ß &5ðÿ& ß .-Nðÿß R5ðÿÎß N0Nðÿß Ð! fðÿß ô-Ö À Nðÿß ÄÎãEß „Îß N05îÿ>ýÅ€ÿîÿµ îÿý‹îÿøNîÿß Ð!5îÿÎß .-õ5öÿÎfîÿß ô-Ö À Î& æß –.–%Τfîÿß D-Ö À ß ÄÎñEß „Îß N0õ5öÿ ß .-Nß b-Nß .-@ß .-õ5öÿÎß .-@ß b-Nß .-@ß .-õ5€öÿÎß .-Îß b-õ5 öÿô  õ5öÿ  ß .- æFß ô-Ö õ5 öÿ÷‹€'  æß º.Ö  æß º.Ö Ì%@öÿÀEßÿ4Pß JÎß N0ß @5öÿNÎeòÿß .@@öÿÀEÿÀU4PNÎeòÿf&ß J–%@@öÿÀE–ÿÀU4PNfÎeòÿ&ß J–%_@ÀEßÿ5öÿ@t]öÿß J@t]öÿß J_w DÔÅ€ÿýww DÆåÄe÷ êc€’ß ìÀ µøÿ‚ µ øÿÎ ð5þðùaFûÄ ß Î¶Gß Äææ ff÷ ŒÆeDÀ r<ß * DÀ r<ß À r<DθGß Äß *wÔw ÄAÀ r ß AÀ r Nß w¬w œÎæß º.Ö ÎºGß Ä÷ twŠw zDÄeÌ ß ,$ Ãÿÿ÷‹ÐΠ@ß ª$È‹ÎH*æß º.Ö Îß ^'Îæß º.Ö Îß ^'w*7j ÷`õ÷ ºÁ Ó•- Ó•0�”B~Á>Ó•. Á Ó•0…~Á ”B~‡7 ÷õ÷ rÁ Ó•-”Ó•.ÁúÁ ”B~Ó•e �Ó•- Ó•+ r Àe0�Áe0S�‡w tD ƒ Ô‹ýÀwlw \DCÔ‹þ™Ô”þ€wNw >DC£Ô‹ü w4“Á˜@àúw DCÔ”þ€ww AupB‚ ÂEŽß (,Ä%ÿÿÄ  wè‚  ‚~øw ÌNß ú,wÌw ¼÷Uœ÷U˜Ã–DÄe„ Ë5 ‹ÂÊ5ûÀ À`€ :†ÂÃÃEÂ-dëƒÃ-^è‚Ä%ÄÀ ß N.7†!?BÀ%ÿÿÀÿÿwTÀ0ÀeÀ-h!ÿU À ÀmX!Àeþÿ?P!7 ÿÎGÿU³À À`7ò †ÿêÀæÀU ÀÀeÑw ê@Àeþÿ7ÈÿEÂwàf…wº‰ÖG†w …‡f…@‰†wî …‡f…wŽwЉÚG†wÎ…‡f…@)‰†wº…‡f…wbw^÷ æðæ–-‰àGwŽf…‰†w€7f …‡f…‰…‡f…@w‰æG†wT …‡f…€"‰†w> …‡f…wîwê‰êG†w…‡f…*‰†wBJ …‡f…@w¸w´‰ðG†wâ…‡f…÷¤ wmš‰öG†wÄÀŽwmˆ…‡f…wx‰öG†w¢wj …‡f…@wZwV‰üG†wx …‡f…AW †@w4Á fN1N7( À5Á Á Áe/w‰H ‡À5€…‡À& Ö w&ÀL&ÀúH&ÀôD&Àî@&Àè<&Àâ8&ÀÜ4&ÀÖ0&ÀÐ,&ÀÊ(&ÀÄ$&À¾ &À¸&À²&À¬&À¦&À  &Àš&À”&ÀŽf¦æ&È „ƒ‚�€f…0‰â/@‰‰ ‰…‡f… ‰¦BR‚…‡f…w‰H…‡f…÷ H&‰†Ö w Ö }…‡f…@wÔwЉ H†wâ…‡f…÷ ä@‰fA… w,üÿ¦Àw" Àe"w"–Àew"Œ@lw"„AlÁeæw¬w &@Àtùÿ`Áe€Ø€ …‡w wpwlwÅbõ`w @…&æ¦È B„ƒ‚F…‡f…‰…‡f…ww ‰$H†w …‡7˜ÀÿÿF…‡‡ ð6þvþò&û€�ð‡ ð6þvþù&û€�ð‡ ð6þøvþCøùó€@Cò�ö¦û€�ð‡ ð€þvþòûð‡ ð€þvþùûð‡ ð€þvþøCøùó€@Cò�öˆûð‡f…@÷ …‡ ÷xpæ ‰DN"‡Î>‰*H‡@‰DN‡ ÀDN$ô$ttñ¤yîЋì¢é7˜(@‰Ö À�‡Îå&0‰€f…¦5õw È÷ * f…¦5õw ²÷ ½}‚…‡7 ü÷ô¦ðWð€&øføæÁnN 7 Ü@ñð%· ÐÀñó€@Añð&ø@øÃ–N7óRø@ø—ôL>—ó BÀûÀe0#�‚ @ñððÁnNÑ”× –Nü‡õ ‚  ó BAñðú‚ ÷ ÷  üW –N†Îeó B@ûÀe0�‡ÀnNÀmð÷ L€` nN‡’ÃeÈ�¢9 È•0 nNƒ ŠöÈ•1‚ ÁÀ¸÷ €`0ŠnNÀnNƒVõõVð‡niceè´´´†œNo match /: Cannot find: Cannot open: No interpreter : Execute failed: Not enough core: No execute access[?*: No match: AmbiguouspromptpcsshellpidhomepathnargstimeVcitvú¨äô®´/etc/htmp.0404/usr/bin/px# ¦ /usr/bin/ashelltyme: Cannot open-/bin-/usr/bin/.profile/.loginlogout /.logout /etc/passwdB| Bj*Bü#B¦*Bâ!.Bä%4B :Bn BB† IBê RB„YBT ^B> eBÐkBh qBt sBè& Ü â Î è chdirwaitshiftrewindsetunsetaliasunaliasinterpuninterplogoutquitnoquitallocabort:tyme: Too few arguments: Too many arguments: No home: Not a directory: No such file or directory: No execute accesserrno = : bad directory !?! : Restricted: */?[6ÈJD´<noglob: cannot openArg list too longPath too long: missing ]ŠC’CžCªC  ) $¤Æ$Æ$¤†NNNr :}>ZN ÖÖÖÖÖ.:?}*FUnmatched ' or " '" ;&<>()|^ "'Too many characters: Count too largeMissing }Variable syntaxUndefined variable¤ ª ();”„Ž”ˆ()^|()<>ÄÎÔÔþ()<>n–ô¦r88;& Too many )'sToo many ('s<>(*Badly placed (Missing file for redirect<>(Syntax error in redirectionMultiple < redirectMultiple output redirectOnly redirect allowed outside ()'sInappropriate empty commandl$!�!: Alias loop detectedNo more processes : Cannot open: Cannot create/dev/null=@L"N"V"j"%&*+-/|6# #D#ü"###J#: No variable: Garbage after @+-: Missing =: Divide check: Mod check: Bad operator: Badly formed number: Bad parameter: UndefinedìFóFøF GG$G-G@GGGQGhGxG„GŽGHangupQuitIllegal instructionTrace/BPT trapIOT trapEMT trapFloating exceptionKilledBus errorSegmentation violationBad system callAlarm clockTerminateSig 16: -- Core dumpedu s % .::wait: Interrupted ÐGÎGÐGÐG ‰‰ ‰ ‰‰‰‰šN‰0‰+‰‰ß Ö –%ÆewÞ·ÿ‰/devÌ>ÌÌÌÌÍÌ crt0.ostartsh_exec._gflag®I_exerr°I_expath²I~doexectcpppavslashøÿpathcöÿvpôÿ~texec¸ftt1iwøÿ~scan¸tfpc~tglobÚc~trimc~prnna~globoneRstrgvöÿgvpsh.oÆ~mainÆcavfvcp~pfilecpoldinputøÿcöÿ~goodbye„f~processÀprocp~main1t~echoXc~err„s~prsÄoss~digitìc~letterc~anyHcs~gethomehbuf–ÿibufpcp~readhom8 htmpføÿ~exechomž statusøÿreenter´I~getpw´ uidbufpbufúýnbppbufppwføýmöýpbufcôý~xid& bufiuidøÿbpcsh_func.² _bfuncrA_bname¶I~func² tbptpiøÿ~noquit> ~quitT ~aborth ~dozipt ~chngd| vpdp~prvars ~unquote ss2øÿiöÿcpdpc~setnameÖ cp~bferrä cp~bferr2ü cpcp2~doalias vvpp~unaliasn v~dointer† vip~uninterê v~interpwvp~plist,vpcp~aliasrtap~doallocÐcpøÿsh_glob.ö_ab¸I_avaÂK_avRM_stringTM_ncollVM_gpathXM_gpathp¼M_globbed¾M_entpÀM_stbuffÂM~globöv~ginit:~collect\asoavøÿ~sort€oavp1p2c~expandÀascssgpathpøÿdirfentryæM~toolong~gpather&~match>spcsentp~amatchzasapspscccøÿccöÿokôÿlcòÿsgpathpðÿ~catÆas1as2s1s2~panic strsh_lex.o ~lex hpwdp~freelexbvpfp~word�cc1øÿlplbuföýiôý~setargsfcvvplvp~rewind¦~setnarg¸vp~shiftüvnvp~getcXcdoldotøM~dolvblrscnpvpnameæÿcäÿ~readcbccøÿccp~rgadrofàrtp~rgvalue rtpsh_parse<~syntax<p1p2~syn0xp1p2ptt1løÿ~syn1\p1p2ptløÿ~syn2æp1p2ppntløÿ~syn3–p1p2plpøÿrpöÿtnôÿlòÿcðÿ~freesynâtvsh_sem.oJ~executeJtpf1pf2iøÿföÿpvòÿt1cp1ðÿcp2îÿscpìÿ~stripÐ!cpsh_set.oâ!~dosetâ!vrppvpøÿcöÿopôÿ~operateÆ"opvppvlvr~xfreeP#cp~savestr€#s~putn¸#nnumberúM~putn1ô#n~getn,$cpnsignøÿbaseöÿ~valueª$var~value1À$varheadvp~adrofâ$varvp~adrof1$%varheadvpcmpøÿ~setj%varvalue~set1„%varvalueheadvp~unsetä%v~unset1ü%vheadvar~unsetv&var~unsetv14&varheadvpsh_wait.x&_mesgÊF_times0N_time0N_timflgN~secsx&befaft~settimeÐ&~dotimesè&v0vtimesdolîÿtimedolêÿ~pwait^'ipesøÿbefìÿaftàÿbtimÜÿatimØÿ~ptimes„(secbefaft i~p60thsH)li~psecs¦)li~p2dig *i~endwaitH*~awaitj*vifltpr.oÊ*strlen.op+~strlenp+snstrcat.oˆ+~strcatˆ+s1s2os1strcmp.o¦+~strcmp¦+s1s2strcpy.oÈ+~strcpyÈ+s1s2os1calloc.oà+~callocà+numsizep1p2nbyte~cfree,palloc.o(,~alloc(,nbytesnwordspqtN~freeú,pchdir.o-close.o.-creat.oD-dup.ob-dup)execv.ov-rttfork.ož-getuid.o¶-gtty.oÀ-nice.oÞ-open.oô-pipe.o.pipe*read.o,.sbrk.oN.ndúGseek.o–.signal.oº.rttNSIGdvectNtvect/sleep.oÈ/alarmpausertitime.oä/times.oú/times+wait.o 0write.o,0exit.oN0nargs.o\0jsrsdHtstiHcmpiHaddiHjmpiHbri"Hreset.oÈ0sr5@NspcBNcsv.oè0getpid.o1getpidstat.o 1cerror.o,1cleanup.:1longops.<1ttyn.oä1namelNbufDNer1H2dev*HerD2fakfp.oP2ecvt.o`2eflag˜NbufnNsign–Nzer 3one€@lss3gtrÒ2buftop–Ntenth0HepsilonL>ten Bpad 3digit163digit(3out@3outoutx3savr5$¬I_exit"N0_main"Æ_shvhed$:H_paraml$@H_aliases$FH_interps$LH_verbose$RH_nofile$TH_error$VH_uid$XH_loginsh$ZH_doneinp$\H_setintr$^H_arginp$`H_onelflg$bH_scratch$dH_prompt# @_shell#¬@_pid#²@_pcs#¨@_home#¶@_path#¼@_n_args#Â@_tim#È@_errno$ÈH_hentry$ÊH_nic#@_doexec"csv"è0_adrof"â$_value"ª$_getn",$_nice"Þ-_globone"R_any"H_tglob"Ú_scan"¸_glob"ö_prs"Ä_trim"_strlen"p+_calloc"à+_strcpy"È+_strcat"ˆ+_texec"¸_xfree"P#_err"„cret"ô0_execv"v-_open"ô-_read",._close".-_interp"_savestr"€#_prn"_write",0_setname"Ö _bferr"ä _narginp$êH_nonelfl$ìH_nverbos$îH_settime"Ð&_getuid"¶-_gethome"h_set"j%_set1"„%_getpid"1_putn"¸#_unsetv"&_gtty"À-_setargs"f_pfile"_signal"º._process"À_goodbye"„_dup"b-_setexit"È0_echo"X_main1"_lex" _syntax"<_execute"J_freesyn"â_freelex"b_seek"–._digit"ì_letter"_htmp#ê@_tty$ðH_exechom"ž _ttyn"ä1_readhom"8 _getpw"´ _sleep"È/_xid"& _chngd"| _await"j*_shift"ü_rewind"¦_doset"â!_unset"ä%_doalias" _unalias"n _dointer"† _uninter"ê _quit"T _noquit"> _doalloc"Ð_abort"h _dozip"t _dotimes"è&_func"² _strcmp"¦+_chdir"-_bferr2"ü _prvars" _plist",_unquote" _value1"À$_unset1"ü%_alias"r_end$šN_sbrk"N._ginit":_collect"\_expand"À_sort"€_gpather"&_cat"Æ_stat" 1_panic" _match">_toolong"_amatch"z_reset"Ú0_word"�_cfree",_peekc$òH_peekx$ôH_getc"X_readc"b_dolp$öH_paramhd$øH_paramp$þH_dolnxt$I_dolc$I_setnarg"¸_dol2bra$I_rgadrof"à_dolvbl"r_rgvalue" _syn0"x_syn1"\_syn2"æ_syn3"–_pwait"^'_fork"ž-_strip"Ð!_creat"D-_pipe"._operate"Æ"_putp$I_putn1"ô#_adrof1"$%_shprev$I_unsetv1"4&_secs"x&_time"ä/_times"ú/_ptimes"„(_wait" 0_p60ths"H)_psecs"¦)ldiv"R1lrem"h1_p2dig" *_endwait"H*fltused"Ê*pfloat"Ê*pscien"+_ndigit#8Hecvt"ž2fcvt"˜2__iob$ I_alloc"(,_free"ú,_allocs#ÎG_allocp#ÒG_alloct#ÔGcerror",1__exectr$ªI_par_uid$N_brk"v._nargs"\0__cleanu":1lmul"<1almul"Š1aldiv"¤1alrem"¾1fptrap"P2ttyn"ô1_ecvt"`2_fcvt"v2errsÙJø¤�~cc -f -n -O *.c ../lib/libX.a -lS sh.c: sh_exec.c: sh_func.c: sh_glob.c: sh_lex.c: sh_parse.c: sh_sem.c: sh_set.c: sh_wait.c: installÙJø¤�3cp a.out /usr/bin/ashell echo New ashell installed smakeshÙJø¤�"cc -f -n -O *.c ../lib/libX.a -lS printshÙJøí�pr printsh pr sh.h sh.c sh_*.c lsh.cÙJø¤‘‰#include "sh.h" /* * Shell * * Modified by Bill Joy * UC Berkeley 1976/1977 * Features remaining to be fixed up and/or implemented ======== ========= == == ===== == === == =========== * Commands insert and delete on argument lists should be * implemented also set 3= when have 2 arguments should be * handled somehow (perhaps optionally valid). * Also note that $12 should really be done correctly. * A notion of terse ? * time time ... time time date etc. are funny * These should be implemented correctly with the internal versions * of exit repeat if goto etc. Probably want to maintain a timed * process number list and check this when processes die (this uses * less processes than forking a time). * Better facilities for string manipulation ? * The exit status variable should be implemented (status) * and set too by the internal commands. When do this get * rid of kludge about prompt not set for exit on error or * fix up in some way. Also should rewrite the argument * processing section to be cleaner and make some sense. * Do verbose more cleanly. * Implement next (recursively!) * Implement shell filters and <<. This probably involves some more * modularization of the scanner and deciphering of the two different * options available in the bell shell. * Other stuff from Bell shell - * * Any more control facilities ? * || && * <>, ><, >2, 2 >, etc. * Terminate * Can we build high level commands out of gotos which have * optional defaults and ifs that set variables which one * can test ? Think so ! * but what about "for" ? * Prompt for more input ? * Command substitution ` ` ? * Trap ? * Exec ? * Eval ? * .acct ? * Some way to set stdin to be input when filters can happen. * What about file name substitution and quoting in set. * Conditional expressions should be fixed up with set name@ * and to allow quoting at least between ? ... : ... }. * internal if, repeat, nohup, goto, exit, echo, echononl * Repeat, time, nohup, etc. should allow * * repeat 10 { sleep 5; echo hi } & * time { pc -l *.p ; obj } * or perhaps with ('s since that is illegal now anyways * although the above is more like if. * Changes to glob to allow ~, prevent too long path, and prevent * perhaps running out of directories. Also change it so it doesn't * exit so ungracefully, i.e. on: * chdir /asdf/adfas/a* * In error diagnostics the command name is often not set or set * wrong on calls to bferr. Could have more calls to bferr2. * Should be able to distinguish between ``No more processes'' and * ``Too many processes.'' * Shell flags to exit on error, make undefined variables an error. * Interrupted waits and errors in glob cost storage. * Scratch should go away. * Set a="abc" should print back similarly. * Last, but certainly not least, some of the INTERLISP redo etc features. */ char prompt[] "prompt"; char pcs[] "pcs"; char shell[] "shell"; char pid[] "pid"; char home[] "home"; char path[] "path"; char n_args[] "nargs"; char tim[] "time"; char *narginp, nonelflg, nverbose; main(c, av) int c; char **av; { register f; register char **v, *cp; settimes(); v = av; uid = getuid(); loginsh = **v == '-'; set(home, gethome() == 0 ? savestr(hentry.home) : "."); set1("0404", "/usr/bin/px", &interps); set(prompt, uid == 0 ? "#\240" : "\246\240"); set(shell, "/usr/bin/ashell"); set(pid, putn(getpid())); set1(tim, "tyme", &aliases); for (f = 3; f < 15; f++) close(f); if (c > 1) { if (*(cp = v[1]) == '-') { do switch (*cp++) { case 'V': verbose = 1; case 'v': nverbose = 1; break; case 'c': if (c > 2) narginp = v[2]; goto l1; case 't': nonelflg = 2; case '\0': l1: set(prompt, ""); unsetv(prompt); case 'i': **v = '-'; nofile++; break; } while (*cp); v++; c--; } if (nofile == 0 && c > 1) { set(prompt, ""); unsetv(prompt); close(0); if (open(cp = v[1], 0) < 0) { prs(v[1]); err(": Cannot open"); exit(1); } } } if (gtty(0, scratch) == 0 && gtty(1, scratch) == 0) **v = '-'; c--; v++; if (c == 0) { c = 1; v = av; } setargs(c, v); set(path, "-/bin-/usr/bin"); pfile("/.profile"); if (loginsh) pfile("/.login"); arginp = narginp; onelflg = nonelflg; verbose = nverbose; if (**av == '-') { setintr++; signal(QUIT, 1); signal(INTR, 1); } /* mask the name ?? */ process(1); if (loginsh) prs("logout\n"); goodbye(loginsh); } pfile(cp) char *cp; { int oldinput, c; strcpy(scratch, hentry.home); strcat(scratch, cp); oldinput = dup(0); close(0); c = open(scratch, 0); if (c == 0) { process(0); close(0); } dup(oldinput); close(oldinput); } goodbye(f) int f; { if (f) { signal(QUIT, 1); signal(INTR, 1); setintr = 0; pfile("/.logout"); } exit(0); } process(pro) { register char *cp; setexit(); if (doneinp) { doneinp = 0; return; } for (;;) { cp = value(prompt);  if (pro) prs(cp); for (; *cp; cp++) echo(*cp); main1(); } } main1() { register int *t; error = 0; lex(¶ml); if (error) { err(error); freelex(¶ml); return; } t = syntax(paraml.next, ¶ml); if (error) err(error); else execute(t); freesyn(t); freelex(¶ml); } echo(c) char c; { c =& 0177; if (verbose) write(2, &c, 1); return (c); } err(s) char *s; { prs(s); prs("\n"); s = value(prompt); if (*s == 0) { seek(0, 0, 2); exit(1); } } prs(os) register char *os; { register char *s; s = os; if (s != 0) { while (*s) s++; write(2, os, s-os); } } digit(c) char c; { c =& 0177; return (c >= '0' && c <= '9'); } letter(c) char c; { c =& 0177; return (c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'); } any(c, s) int c; register char *s; { while (*s) if (*s++ == c) return(1); return(0); } char htmp[] "/etc/htmp"; int tty; gethome() { char buf[100]; register int i; register char *bufp, *cp; if (loginsh) exechome(); tty = ttyn(2); if (readhome() == 0 && hentry.uid == uid) return (0); if (getpw(uid, buf) && sleep(15), getpw(uid, buf)) return (-1); bufp = buf; for (i = 1; i < 6; i++) { while (*bufp != ':') if (*bufp++ == 0) return (-1); bufp++; } /* printf("buf %s bufp %s", buf, bufp); */ for (cp = bufp; *cp && *cp != ':'; cp++) continue; *cp = 0; /* printf("bufp %s\n", bufp); */ hentry.uid == uid; for (i = 0; i < (sizeof hentry.home - 1); i++) hentry.home[i] = *bufp ? *bufp++ : 0; return (0); } readhome() { int htmpf; htmpf = open(htmp, 0); if (htmpf < 0) return (-1); if (seek(htmpf, tty * sizeof hentry, 0) < 0) { close(htmpf); return (-1); } if (read(htmpf, &hentry, sizeof hentry) != sizeof hentry) { close(htmpf); return (-1); } close (htmpf); return (0); } exechome() { int status; static reenter; if (reenter) return; reenter = 1; /* if (fork()) { wait(&status); if (tty == 'x') tty = status >> 8; } else { execl("/usr/bin/sethome", loginsh ? "-" : "x", 0); exit(0177); } */ } getpw(uid, buf) int uid; char buf[]; { char pbuf[512]; register int n; register char *bp, *pbufp; int pwf, m, pbufc; pwf = open("/etc/passwd", 0); if (pwf < 0) return (1); pbufc = 0; for (;;) { bp = buf; do { if (pbufc == 0) { pbufc = read(pwf, &pbuf, 512); if (pbufc <= 0) return (1); pbufp = pbuf; } pbufc--; } while ((*bp++ = *pbufp++) != '\n'); *bp++ = '\0'; /* printf("uid %d xid %d buf %s", uid, xid(buf), buf); */ if (xid(buf) == uid) return (0); } } xid(buf) char buf[]; { register int i; int uid; register char *bp; register c; bp = buf; for (i = 1; i < 3; i++) { while (*bp != ':') if (*bp++ == 0) return (-1); bp++; } i = 0; while ((c = *bp++) != ':') if (c == 0) return (-1); else if (digit(c)) i = i * 10 + c - '0'; uid = i; i = 0; while ((c = *bp++) != ':') if (c == 0) return (-1); else if (digit(c)) i = i * 10 + c - '0'; return (i << 8 | uid); } dsh.hÙJø¤�/* * Shell header file */ #define E #define INTR 2 #define QUIT 3 #define QUOTE 0200 #define FAND 1 #define FCAT 2 #define FPIN 4 #define FPOU 8 #define FPAR 16 #define FINT 32 #define FPRS 64 #define FDIAG 128 #define TCOM 1 #define TPAR 2 #define TFIL 3 #define TLST 4 #define DTYP 0 #define DLEF 1 #define DRIT 2 #define DFLG 3 #define DSPR 4 #define DCOM 5 #define ENOENT 2 #define ENOEXEC 8 #define ENOMEM 12 #define EACCES 13 #define ENOTDIR 20 struct shvar { char *value; char *name; struct shvar *next; } shvhed, paraml, aliases, interps; struct shvar2 { char *value; struct shvar *prev; struct shvar *next; }; char verbose; char nofile; char *error; int uid; char loginsh; char doneinp; char setintr; char *arginp; char onelflg; char scratch[100]; char prompt[], shell[], pid[], pcs[], home[], path[], n_args[], tim[]; char *value(), *value1(); char **glob(); struct shvar *adrof(), *adrof1(); #define seterr(s) if (error == 0) error = s; int errno; struct htmp { int uid; char home[28]; int ttytype; } hentry; sh.oÙKø¤‘´ìÒ( w üÿ÷ øÿC÷ ðÿ7ìÿû¥- À7�Øÿ÷ vÀ Îß Î@æß Ö ÎæGæBß –%÷  ÿÎSÎVæìß Ö ÎYæøß Ö ÷ xÿß æþß Ö Îæiæß –%Äß „ Ä%ùõ%DÂÊ¥-€”Á7L þy ÷•ÿ÷•ÿÊ‹ïÃeõ ÷‹ÿ'õ%#Îoæìß Ö Îìß  ß  Â¦ß Ö À Îß þÎpß ¾Îß Î& ß Ö À Îæß Ö À û•-õ Ãeõ õCÎfß Ö Î~æß Ö Î�ß X÷‹LþÎ—ß X÷>þ<þ÷�8þ6þ÷�2þ0þ@È¥-·Š"þÎæß Ö Îæß Ö Îß ú÷‹úýÎŸß þÀ�ìýß ¾wâýõ%÷Ôý÷•ÌýÎnæìß Ö Îìß û•-·Š¬ý_îw ¤ýÆåÎæß Ö Næß Ö  ß 5øÿ ß  æß Ö 5öÿ ß ú ß Nøÿß Nøÿß wBýw >ýõ Îæß Ö Îæß Ö 7Šý뤧 X ß wýw ý÷ þü÷‹úü 7Šôüwðü“ß ’„ Ì‹ù÷ Îìß õ ôß þðw Âü7 ¾üÎß ÷ ²üάüß ¾Îæ¢üß Ö ÷ ’üÎŒüß ¾ß ß Îß wnüw jüõÅ€ÿ÷‹`ü ÎfÎeæß –%@�wBüw >üNß þ롧 þÎìß 5ý‹ Î& & ß –%Îß wüw þûD ƒ Ë‹ýÎá&æß –%wÚûw ÖûõÅ€ÿõ¥0õ¥9 wºûÀûw °ûõÅ€ÿõ¥aõ¥z õ¥Aõ¥Z w„ûÀûw zûDÌ‹•@-úÀwbû üw ZûÆåd÷‹Rû÷ $Îß 7@û÷ ®À ÷-4û2û w*ûNÎe–ÿæ ûß îÖ À Îß À  ÀNÎe–ÿæøúß îÖ À CÃe–ÿÄË¥:ƒ „ Ä%øÂ Ó‹ôÀÿÿÌÊ¥:‚ Ê‹ú Š÷-´ú²ú À Ë‹À” 4�„ Ä%õ¯w Šúæ  æ6ß Ö 5øÿ Àpút&føÿß –%À Î æføÿß –%À% Nøÿß Àÿÿw4úNøÿß øw $úæ ÷ Ü÷Ôwúw úÆå æ²ß Ö 5øýÀwðù5 ôýCõ ôýÎfÎeúýføýß –%5ôýèBÂeúýõ ôý€”�À% æŠNß `@-Ü Öw œùæ CÄË¥:Ó‹ûƒ „ Ä%õ  Žß &À Wp D„`ÄeÐÿ”Â%:î5øÿ  Àÿÿw@ùŽß &À Wp D„`ÄeÐÿ”Â%:êt@]øÿèpromptpcsshellpidhomepathnargstimeVcitv4âJ.èî/etc/htmp.0404/usr/bin/px# ¦ /usr/bin/ashelltyme: Cannot open-/bin-/usr/bin/.profile/.loginlogout /.logout /etc/passwdiÉÙy‰x(X8ˆyXXéøX(ˆ(I©YXˆ(˜ØØèØèX‰‰¹™É©I©ˆˆ‰‰Ù‰™XˆYixØ8ØHX(ؘ(X(Ùiˆˆ©ØÙié™™ÙHiixii¨iiØèøÙiI8ÙiHˆØÙi8ÙiÙiÙiÙi‰È I yyÙy8 yyyxi˜I ˆxX (Ù(iÙi˜ÙX iÙ_shvhed _paraml _aliases _interps _verbose _nofile _error _uid _loginsh _doneinp _setintr _arginp _onelflg _scratch d_prompt#ì_shell#ø_pid#þ_pcs#ô_home#_path#_n_args#_tim#_errno _hentry _narginp _nonelfl _nverbos _main"L10007L10008&L334L29âL31L37JL34.L30èL24î~maincsv cavfvcp_settime _getuid L10000 L10001$_gethome"¢L10002<_savestr L10003@L12@_set L14GL13B_set1 L10004hL15SL10005lL16VL17Y_getpid _putn L18iL20001°_close L22NL23úL26ÐL10009ÚL39o_unsetv _open _prs"þL41p_err"¾_exit _gtty L42vL43Ž_setargs L44~L45�_pfile"XL46¾L47—L48ú_signal _process"úL49L50Ÿ_goodbye"¾cret L36n~pfileXcpoldinputøÿcöÿ_strcpy _strcat _dup L54ª~goodbye¾fL58ðL59§~processúprocp_setexit L64"L20003_echo"’L67_main1":_value ~main1:t_lex L73ZL20005†_syntax L74zL75€_execute _freesyn _freelex ~echo’cL79¶_write ~err¾sL83°L82ú_seek ~prsþossL89L87"L20007 _digit"&~digit&cL10011@L10010FL93B_letter"L~letterLcL10014fL10013|L10015vL96x_any"‚~any‚csL100ŠL101žL99š_htmp#6_tty ~gethome¢buf–ÿibufpcpL107´_exechom"Ø_ttyn _readhom"rL108ÖL20013ÐL106Ò_getpw"îL10018ö_sleep L10017úL10019þL200144L113L200160L116BL20010:L117FL10020TL10021XL20012ZL10022bL10023d~readhomrhtmpføÿL20020ÄL20022¼_read L127ÌL124È~exechomØstatusøÿL131¾reenter¾L130ê~getpwîuidbufpbufúýnbppbufppwføýmöýpbufcôýL135²L136L20023L134 L137L141L142>_xid"`~xid`bufiuidøÿbpcL151nL152zL20032¸L154¤L20029ˆL158ØL20031´L160ÀL147¼sh_exec.cÙJø¤�ï #include "sh.h" int tglob(), trim(); static int gflag; static char *exerr, *expath; char nic[] "nice"; doexec(t) int *t; { register char *cp, *pp; register char **av; char slash, pathc; char *vp; if (adrof(nic)) nice(getn(value(nic))); cp = globone(t[DCOM]); if (cp == 0) exit(1); exerr = 0; expath = t[DCOM] = cp; slash = gflag || any ('/', cp); gflag = 0; av = &t[DCOM+1]; scan(av, &tglob); if (gflag) { av = glob(av); if (av == 0) { prs("No match\n"); exit(1); } } *--av = t[DCOM]; scan(av, &trim); pp = value(path); if (*pp == 0 || slash) pp = ""; do { for (cp = pp; *pp && *pp != '-' ; pp++) *pp =& ~QUOTE; pathc = *pp; *pp = 0; vp = strcpy(calloc(1, strlen(cp) + strlen(*av) + 2), cp); if (cp == pp || slash == 0) { if (cp[0]) strcat(vp, "/"); strcat(vp, *av); texec(vp, av-DCOM); xfree(vp); } } while ((*pp++ = pathc) != 0); prs(expath); if (exerr) { err(exerr); xfree(exerr); } else err(": Cannot find"); exit(1); } texec(f, t) register int *t; { extern errno; register int *t1; register i; int w; execv(f, (t1 = &t[DCOM])); switch (errno) { case ENOEXEC: *t1 = f; i = open(f, 0); if (i < 0) { prs(*t1); prs(": Cannot open"); exit(1); } w = 0; read(i, &w, 2); close(i); f = interp(w); if (f != 0) *--t1 = f; else if (w & 0100200) { prs(*t1); prs(": No interpreter\n"); exit(1); } else *--t1 = value(shell); execv(*t1, t1); prs(*t1); /* * should give better message but can't goto * top because could loop */ err(": Execute failed"); exit(1); case ENOMEM: prs(*t1); err(": Not enough core"); exit(1); case EACCES: if (exerr == 0) { expath = savestr(f); exerr = ": No execute access"; } return; } } scan(t, f) register int *t; int (*f)(); { register char *p, c; while (p = *t++) while (c = *p) *p++ = (*f)(c); } tglob(c) char c; { if (any(c, "[?*")) gflag = 1; return (c); } trim(c) char c; { return (c & 0177); } prn(n) int n; { register a; a = n / 10; if (a != 0) prn(a); n = n % 10 + '0'; write(2, &n, 1); } globone(str) register char *str; { int gv[2]; register char **gvp; setname(str); gv[0] = str; gv[1] = 0; gflag = 0; scan(gv, &tglob);  if (gflag) { gvp = glob(gv); if (gvp == 0) { bferr(": No match"); return (0); } str = *gvp++; if (*gvp) { bferr(": Ambiguous"); return (0); } } else { scan(gv, &trim); str = gv[0]; } return (str); } rsh_exec.oÙKø¤� ® `w üÿÆå먧 À Î®ß ß ß @ ß :Îß 7 @0  7þ÷ ö æ/ß Ö À  À5�øÿ7 ÔBÂe ÎÂ¦ß  Ö ÷ ¼ Žß ÎÀß Îß @" Îè¦ß  Ö Îß Ë‹õ‹øÿÃÊÄË¥-ËÅ€ƒ Ë‹øõ’öÿ Ц÷ ÿÖ &&÷ úþÖ €eÀe&æ÷ èþ–%&ß Ö 5ôÿÄ õ‹øÿÌ‹ÎËfôÿß Ö Žfôÿß Ö ŽÎeöÿfôÿß  Ö Nôÿß S�öÿ·Îâß ÷ Ø ÎÒß ÎÊß ÎÍß Îß w`þw \þDæ Ãe Îfß Ö À@þÀå i‚À x´K fß Ö  Îß ÎÛß Îß 5 øÿÎfÎeøÿ¦ß –%Žß Nøÿß 5õ5€€øÿ Îß Îéß Îß Îß #Îæß Ö Îß Îûß Îß Îß Î ß Îß ÷ È Nß 7¼÷´w`ýw \ýD Â’ü€�&ý Ö �÷w>ýw :ýÎ2@�&ß Ö À ÷n@�wýw ý@�ÀE€ÿwýw ýAÀ r ß øAÀ r Áe0uÎfÎeæß –%wÆüw ÂüDÆåß 5öÿ5 øÿ7 öÎÂfÎeöÿß  Ö ÷ âNÎeöÿß Î6ß wvüÄË ÎAõÎèfÎeöÿß  Ö DöÿìniceМœœn„No match /: Cannot find: Cannot open: No interpreter : Execute failed: Not enough core: No execute access[?*: No match: Ambiguouséhˆ˜¨ØøHhØ8ˆééùXXxh˜x˜ØÉéˆi˜hhØÈØèhhØøˆˆh˜Øh˜ØXÉéÉéøÉéÉé¨ÉéøHHÉ_shvhed _paraml _aliases _interps _verbose _nofile _error _uid _loginsh _doneinp _setintr _arginp _onelflg _scratch d_prompt _shell _pid _pcs _home _path _n_args _tim _errno _hentry _gflagN_exerrP_expathR_nic#®_doexec"~doexeccsv tcpppavslashøÿpathcöÿvpôÿ_adrof L5(_value _getn _nice _globone":L6@_exit L10000n_any L10001r_tglob"Â_scan" L7®_glob L9À_prs _trim"èL10002ÖL14ÚL11ÊL15êL20001ÞL16î_strlen _calloc _strcpy L100030L12fL19BL20Ë_strcat _texec" _xfree L21Œ_err L22”L23Ícret L10005´L29ÐL26œL38nL40„~texec ftt1iwøÿ_execv _open L30úL31Û_read _close _interp L20002LL34DL35éL33NL37ûL39 _savestr L42~scan tfpcL46¨L45¾L48¬~tglobÂcL532L54à~trimèc_prn"ø~prnønaL61_write ~globone:strgvöÿgvp_setname L65–L66ŠL676L20004€_bferr L64†L70ªL69Ash_func.cÙIø¤‘Ô#include "sh.h" int gimme(), normal(); int chngd(), shift(), doset(), goodbye(), await(), dozip(); int rewind(), doalias(), unalias(), dotimes(), doalloc(); int dointerp(), uninterp(), noquit(), quit(), abort(); #define INF 127 #define FRET 1 static struct biltins { char *bname; int (*bfunct)(); char minargs, maxargs; int flags; } bfunc[] { "chdir", &chngd, 0, 1, 0, "wait", &await, 0, 1, 0, "shift", &shift, 0, 1, 0, "rewind", &rewind, 0, 0, 0, "set",  &doset, 0, INF, 0, "unset", &unset, 1, INF, 0, "alias", &doalias, 0, 2, 0, "unalias", &unalias, 1, INF, 0, "interp", &dointerp, 0, 2, 0, "uninterp", &uninterp, 1, INF, 0, "logout", &goodbye, 0, 0, 0, "quit", &quit, 0, 0, 0, "noquit", &noquit, 0, 0, 0, "alloc", &doalloc, 0, 0, 0, "abort", &abort, 0, 0, 0, ":", &dozip, 0, INF, 0, /* "verbose" */ "tyme", &dotimes, 0, INF, FRET, /* "nohup" */ /* "repeat" */ /* "if" */ /* "goto" */ /* "exit" */ 0, 0, 0, 0, 0 }; static char *bname; func(t) register int *t; { register struct biltins *bp; register int *tp; int i; bp = bfunc; for (;;) { if (bp->bname == 0) return(0); if (strcmp(bp->bname, t[DCOM]) == 0) break; bp++; } bname = bp->bname; i = 0; for (tp = &t[DCOM+1]; *tp; tp++) i++; if (i < bp->minargs) { bferr(": Too few arguments"); return (1); } if (i > bp->maxargs) { bferr(": Too many arguments"); return (1); } i = (*bp->bfunct)(&t[DCOM]); return (bp->flags & FRET ? i : 1); } noquit() { signal(QUIT, 1); } quit() { signal(QUIT, 0); } abort() { abort(); } dozip() { ; } chngd(vp) register char **vp; { register char *dp; vp++; dp = *vp++; if (dp) { dp = globone(dp); if (dp == 0) return; } else { dp = value(home); if (*dp == 0) { bferr(": No home"); return; } } if (chdir(dp) < 0) switch (errno) { case ENOTDIR: bferr2(dp, ": Not a directory"); return; case ENOENT: bferr2(dp, ": No such file or directory"); return; case EACCES: bferr2(dp, ": No execute access"); return; default: prs("errno = "); prn(errno); prs("\n"); bferr2(dp, ": bad directory !?!"); return; } } prvars() { plist(&shvhed); } /* prvars() { register struct shvar *vp; register char *cp; register int col; vp = shvhed.next; if (vp == 0) return; col = 0; cp = unquote(vp->value); for(;;) { prs(vp->name); col =+ strlen(vp->name); if (cp[0]) { prs("="); prs(cp); col =+ strlen(cp) + 1; } xfree(cp); col++; vp = vp->next; if (vp == 0) break; cp = unquote(vp->value); if (col + strlen(vp->name) + strlen(cp) + 1 > 79) { prs("\n"); col = 0; } else prs(" "); } if (col) prs("\n"); } */ unquote(s) char *s; { char *s2; int i; register char *cp, *dp; register c; i = 0; for (cp = s; c = *cp++;) { if ((c & QUOTE) == 0) continue; c =& 0177; i++; if (c == '"' || (*cp & QUOTE) == 0) continue; while ((c = *cp) && (c & QUOTE)) { c =& 0177; if (c == '"') break; cp++; } i++; } s2 = calloc(1, strlen(s) + i + 1); for (dp = s2, cp = s; c = *cp++;) { if ((c & QUOTE) == 0) { *dp++ = c; continue; } c =& 0177; if (c == '"' || (*cp & QUOTE) == 0) { *dp++ = '\\'; *dp++ = c; continue; } *dp++ = '"'; *dp++ = c; while ((c = *cp) && (c & QUOTE)) { c =& 0177; if (c == '"') break; cp++; *dp++ = c; } *dp++ = '"'; } return (s2); } setname(cp) char *cp; { bname = cp; } bferr(cp) char *cp; { prs(bname); err(cp); } bferr2(cp, cp2) char *cp, *cp2; { prs(cp); err(cp2); } doalias(v) register char *v[]; { register struct shvar *vp; register char *p; v++; p = *v++; if (p == 0) plist(&aliases); else if (*v == 0) { p = value1(p, &aliases); if (*p != 0) { prs(p); prs("\n"); } } else set1(p, savestr(*v), &aliases); } unalias(v) register char *v[]; { unset1(v, &aliases); } dointerp(v) register char *v[]; { register int i; register char *p; v++; p = *v++; if (p == 0) { plist(&interps); return; } if (*v == 0) { p = value1(p, &interps); if (*p != 0) { prs(p); prs("\n"); } return; } i = getn(p); if (i == 0) return; set1(p, savestr(*v), &interps); } uninterp(v) register char *v[]; { unset1(v, &interps); } interp(w) int w; { register struct shvar *vp; for (vp = interps.next; vp != 0; vp = vp->next) if (getn(vp->name) == w) return (vp->value); return (0); } plist(vp) register struct shvar *vp; { register char *cp; for (vp = vp->next; vp != 0; vp = vp->next) { prs(vp->name); if (vp->value[0]) { cp = unquote(vp->value); prs("\t"); prs(cp); xfree(cp); } prs("\n"); } } alias(t) int *t; { register struct shvar *ap; for (ap = aliases.next; ap != 0; ap = ap->next) if (strcmp(ap->name, *t) == 0) { xfree(*t); if (ap->value[0] == 0) { bferr2(*t, ": Restricted"); *t = ":"; } else *t = savestr(ap->value); return (1); } return (0); } extern char end[]; doalloc() { char *cp; cp = sbrk(0); prn(cp - &end); prs("\n"); } sh_func.oÙKø¤‘ÀD´À w üÿDæ ÃDÃeË  wâÿ æß Ö À ñ÷Æ5 øÿÂe µ øÿÂeÊ úÀœ@-øÿ ÎJÎ^ß 2ÀÙÀœ@-øÿô&Îe û Ö 5øÿó5ìÇw pÿÎæß Ö w^ÿw Zÿ æß Ö wJÿw Fÿ÷ øÿw>ÿw :ÿw6ÿw 2ÿDÄeÎß Îß À ÀÿÁÔ7à þyÎß Ë‹êÎsß 2wäþÎ}æß JÖ ÷Î�øÎ«õÎ¿ß Î¾þß ÎÈß ÎÊæw ¨þÎß zwœþw ˜þÆå5 öÿDÂ5€ÂE€ÿµ öÿÂ%"̵€  Â5€ÂE€ÿÂ%"„ “õµ öÿ•ãNß @möÿ€ æß Ö 5øÿDÓ•\“�Â5€ ÂE€ÿÂ%"„ “ôÓ•"•Â5€ëÂE€ÿÂ%"ä̵€áÓ•"“�ë@øÿwÜýw ØýwÊwÎýw ÊýÎ¾ß Nß w¶ýw ²ýNß Nß wžýw šýDÄeÎß zÌ Î¦ß Ö Ê‹Žß ÎÞß Î&÷ TýÖ &¦ß –%wDýw @ýDÎ&ß Ö w,ýw (ýDÄeÎß z#Ì Î¦ß Ö Ê‹Žß Îàß Žß  Î&÷ ØüÖ &¦ß –%wÈüw ÄüDÎ&ß Ö w°üw ¬üĬü ß @-w’üÄ ò øw ‚üDwtüß ü‹ß dÎâß Îß Îß Îäß áw <üÄ<ü&N&ß Ö À Nß ü‹ Îæfß JÖ ýóß =ÀwîûÄ Ø øw Þûæ  ß 5øÿÎåß Îõß w¼ûäÊêïõüb ¼Ô8$+¢0Œ7=¶CÂE *06chdirwaitshiftrewindsetunsetaliasunaliasinterpuninterplogoutquitnoquitallocabort:tyme: Too few arguments: Too many arguments: No home: Not a directory: No such file or directory: No execute accesserrno = : bad directory !?! : Restricted: éyˆé8yé8yéyéyéHi(hyèiøèéyé(8yéyéè yéè yé((È èè(é ø yé(( yé88È èè¸ 8é ø yé8( yé9¸ yéyèèèØ èé)ˆØ è yéè ¸ øèyÈè(Hè¨_shvhed _paraml _aliases _interps _verbose _nofile _error _uid _loginsh _doneinp _setintr _arginp _onelflg _scratch d_prompt _shell _pid _pcs _home _path _n_args _tim _errno _hentry _bfuncDL1ä_chngd"ÊL2ê_await L3ï_shift L4õ_rewind L5ü_doset L6_unset L7_doalias"bL8 _unalias"¼L9_dointer"ÔL10_uninter"8L11$_goodbye L12+_quit"¢L130_noquit"ŒL147_doalloc"L15=_abort"¶L16C_dozip"ÂL17E_dotimes _bnameø_func"~funccsv tbptpiøÿL21L20001L23L20cret _strcmp L24FL20003>L27hL28JL20005^L20008ZL30^_bferr"2L20006b~noquitŒ_signal ~quit¢~abort¶~dozipÂL10003ÔL10004ÚL55*L570L53L596~chngdÊvpdpL46_globone L45L47ä_chdir L10005ú_value L49sL54}L20011 _bferr2"JL56�L58«L60¿_prs _prn L61ÈL62Ê_prvars"T~prvarsT_plist"z_unquote"d~unquotedss2øÿiöÿcpdpcL69¬L20019vL71¤L20017’L72¨_strlen _calloc L73úL10006ÖL20021ÚL20025ÞL78öL20023L77òL74_setname"$~setname$cp~bferr2cp_err ~bferr2Jcpcp2~doaliasbvvppL91|L90¸L93¢_value1 L95Þ_savestr _set1 ~unalias¼v_unset1 ~dointerÔvipL103îL1024L104L106à_getn ~uninter8v_interp"P~interpPwvpL113rL20027ZL115nL112j~plistzvpcpL20028‚L20030ŒL123¶L124â_xfree L125ä_alias"À~aliasÀtapL129L20032ÊL131L133L134æL135óL136 L128_end ~doalloccpøÿ_sbrk L140õsh_glob.cÙIø¤�8#include "sh.h"  #define STRSIZ 522 #define PTHSIZ 100 static char ab[STRSIZ]; static char *ava[200]; static char **av; static char *string; static int ncoll; static char gpath[100], *gpathp; static int globbed; static char *entp; static int stbuff[18]; char ** glob(v) register char *v[]; { if (adrof("noglob")) return (v); ginit(); while (*v) collect(*v++); *av++ = 0; return (ncoll == 0 ? 0 : &ava[2]); } ginit() { av = &ava[2]; string = ab; ncoll = 0; globbed = 0; gpathp = gpath; } collect(as) { char **oav; oav = av; globbed = 0; expand(as); sort(oav); } sort(oav) char **oav; { register char **p1, **p2, **c; p1 = oav; while (p1 < av-1) { p2 = p1; while(++p2 < av) { if (strcmp(*p1, *p2) > 0) { c = *p1; *p1 = *p2; *p2 = c; } } p1++; } } expand(as) char *as; { register char *cs; char *sgpathp; register int dirf; static struct { int ino; char name[16]; } entry; sgpathp = gpathp; cs = as; while (*cs != '*' && *cs != '?' && *cs != '[') { if (gpathp >= &gpath[PTHSIZ]) gpatherr(); else if ((*gpathp++ = *cs++) == 0) { if (!globbed) *av++ = cat(as, ""); else if (stat(gpath, &stbuff) >= 0) { *av++ = cat(gpath, ""); ncoll++; } goto endit; } } gpathp = sgpathp; cs--; while (cs >= as && *cs != '/') cs--; while (as <= cs) if (gpathp >= &gpath[PTHSIZ]) gpatherr(); else *gpathp++ = *as++; *gpathp = 0; dirf = open(gpath, 0); if (dirf<0) if (globbed) goto endit; else { prs(gpath); panic(": cannot open"); } globbed++; cs++; while (read(dirf, &entry, 16) == 16) { if (entry.ino==0) continue; if (match(entry.name, cs)) { *av++ = cat(gpath, entry.name); ncoll++; } } close(dirf); endit: gpathp = sgpathp; *gpathp = 0; } toolong() { panic("Arg list too long"); } gpatherr() { prs("Path too long: "); panic(gpath); } match(s, p) char *s, *p; { register c, sentp; if (*s == '.' && *p != '.') return(0); sentp = entp; entp = s; c = amatch(s, p); entp = sentp; return(c); } amatch(as, ap) char *as, *ap; { register char *s, *p; register scc; int c, cc, ok, lc; char *sgpathp; s = as; p = ap; nextc: if(scc = *s++ & 0177) if ((scc =& 0177) == 0) scc = 0200; switch (c = *p++) { case '[': ok = 0; lc = 077777; while (cc = *p++) { if (cc == ']') { if (ok) goto nextc; else return(0); } else if (cc == '-') { if (lc <= scc && scc <= *p++) ok++; } else if (scc == (lc = cc)) ok++; } panic("missing ]"); case '*':  if(*p == '\0') return(1); else if (*p == '/') { p++; goto slash; } s--; while(*s) if (amatch(s, p)) return(1); else s++; return(0); case '\0': return(scc == '\0'); default: if (c == scc) goto nextc; else return(0); case '?': if (scc != '\0') goto nextc; else return(0); case '/': if (scc == '\0') { slash: s = entp; sgpathp = gpathp; while (*gpathp = *s++) gpathp++; *gpathp++ = '/'; *gpathp = 0;  if (stat(gpath, &stbuff) == 0) if ((stbuff[2] & 060000) == 040000) if (*p == 0) { *av++ = cat(gpath, ""); ncoll++; } else expand(p); gpathp = sgpathp; *gpathp = 0; } return(0); } } cat(as1, as2) char *as1, *as2; { register char *s1, *s2; s2 = string; s1 = as1; while (*s2++ = (*s1++ & 0177)) if (s2 >= &ab[STRSIZ]) toolong(); s1 = as2; s2--; while (*s2++ = *s1++) if (s2 > &ab[STRSIZ]) toolong(); s1 = string; string = s2; return(s1); } panic(str) { err(str); reset(); } sh_glob.oÙKø¤‘´*\@˜w üÿDÎBß À  wâÿ÷ "ß fÌ û? î÷eè÷ èíÀ”ëw ¸ÿ÷”Ò÷†Î7 Ì7 0÷&(wšÿw –ÿæ õ°øÿ7 Nß ÊNøÿß Šwvÿw rÿD Î&ß Ö À Ì‹ÃeÃ-lñ‚ÄeÀbÀeþÿ!ç‡w6ÿw 2ÿæ õ¶øÿD_â÷ NÌ¥*9Ì¥?6Ì¥[3÷%Š�ñƒÀŠ· †•í÷ €ÎIfß ÐÖ ?÷eú_Î�æ&ß Ö À kÎJæ&ß ÐÖ ?Ò÷eÌ· Ì\wøÿ*Ä D-‚Ì¥/ù÷ ¼ ÷%ŠùƒŸ· µ 5!ò†?Šô æ&ß Ö  ÷ â3Î&ß ÎKß · Ì„ ÷ ìæ¶ß HÖ À ζæ&ß ÐÖ ?4÷e.· .Îæ´æß –%À%ÜÎß wøÿr?Šnwàýw ÜýÎYß wÐýw ÌýÎkß Î&ß w¸ýw ´ýý¥.ý¥. wžýÃ(w"Nfß „Ö ÷íw xýÆå DC•ÀE€ÿÂE€ÿ€À”5øÿÁ*7~ þy 5 ôÿõÿòÿÎ{ß Ë‹#Àµ òÿÀ”€ µ ôÿÀ”5öÿëÀ%]õ ôÿÊ wúüõ%-öÿç@öÿ5òÿ€ éæË¥/ƒ Ä Î&ß „Ö À Ï„ Ì‹öà Þȵ øÿÚ£ ×  ÔÄ2õ*ðÿ· "?•ûÿ•/· ?ŠÎ�æ&ß Ö À ÀÀEÿŸÀ%@ˋ΅æ&ß ÐÖ ?n÷eh· hÎß ÊwðÿÀ?м˜w ,üÃJDÃ%�‚÷ 8þ•ÀE€ÿ�öDà Ã%�†÷ þ•ùÄ÷wêûw æûNß ÷ ÚûwÖû*/?[@ÒTN¾Fnoglob: cannot openArg list too longPath too long: missing ]Ix¹I¹I¹Iø¹IøXxØè¹I¹Ix¹I¹I¹øI¹I  ¹_shvhed _paraml _aliases _interps _verbose _nofile _error _uid _loginsh _doneinp _setintr _arginp _onelflg _scratch d_prompt _shell _pid _pcs _home _path _n_args _tim _errno _hentry _ab†_ava�_av _string"_ncoll$_gpath&_gpathpŠ_globbedŒ_entpŽ_stbuff�_glob"~globcsv vL4B_adrof L5L3L20003cret _ginit"DL6*L20001$_collect"f~ginitD~collectfasoavøÿ_expand"Ê_sort"Š~sortŠoavp1p2cL17ºL20007”L19¬L20005˜_strcmp ~expandÊascssgpathpøÿdirfL25´entry´L26âL20009Þ_gpather"0L27ZL31*L32I_cat"ÐL36_stat L35JL20010`L39ŒL20014pL20016v_open L43¼_prs L44K_panic"L45öL20018Ä_match"H_read _close _toolong" ~toolong L51Y~gpather0L55k~matchHspcsentpL59bL58^_amatch"„L10005*L100064L85@L78ÒL88TL87NL68¾L86F~amatch„asapspscccøÿccöÿokôÿlcòÿsgpathpðÿL63”L64¨L10007¶L69ìL20029ÊL77{L79L20030ÖL62L20020ÜL20021èL71L20025L80&L81XL82:L20024*L90hL20027dL92ÄL94¾L95…~catÐas1as2s1s2L100èL20032ÞL103L20034ú~panicstr_err _reset sh_lex.cÙJø¤‘+"#include "sh.h" /* * Shell: * Lexical and argument processing routines * * lex - driver for lexical analysis * word - reads next word into line and pointer thereto via args * getc - gets a character from the logical input stream * readc - reads a character from the 'input device' * setargs - sets up the parameter variables initially * rewind - backs up the shell arguments to their original values * setnargs - resets nargs variable after changes to arg list * shift - manipulates the shell parameters */ struct shvar2 *word(); /* * lex is the driver routine for the lexical input of the shell. * Basic strategy is to read a logical line into linebuf * with successive words pointed to by successive elements of args. * Termination condition is a newline. * Returns a pointer to a linked list of the words. */ lex(hp) register struct shvar2 *hp; { register struct shvar2 *wdp; wdp = hp; do { wdp->next = calloc(1, sizeof *wdp); wdp->next->prev = wdp; wdp = wdp->next; wdp->value = word(); } while (wdp->value[0] != '\n'); hp->prev = wdp; wdp->next = hp; } freelex(vp) register struct shvar *vp; { register struct shvar *fp; while (vp->next != vp) { fp = vp->next; vp->next = fp->next; xfree(fp->value); cfree(fp); } vp->prev = vp; } /* static */ char peekc, peekx; /* * word breaks the input character stream into words. * Blanks and tabs in the input are ignored, the characters * &;<>()|^ and \n * are considered to be separators. * Characters may be escaped here by surrounding them with * 's or "s. This causes the QUOTE (high order) bit of the * corresponding character to be set so the character will * fail subsequent comparisons. The quoting is eventually * stripped off. More quoting by QUOTE is also done in readc. * Note importantly that quoted character strings do not undergo * parameter substitution! * Return value is a pointer to a structure containing the word. */ struct shvar2 * word() { register c; char c1; register char *lp; char lbuf[514]; int i; lp = lbuf; i = 512; /* * Loop to get something solid */ for (;;) { c = getc(); switch (c) { case ' ': case '\t': continue; case '\'': case '"': c1 = c; while ((c = echo(readc())) != c1) { if (c == '\n') { seterr("Unmatched ' or \""); *lp++ = 0; peekc = c; goto ret; } if (--i == 0) goto toochars; *lp++ = c | QUOTE; } break; case '&': case ';': case '<': case '>': case '(': case ')': case '|': case '^': case '\n': *lp++ = c; *lp++ = '\0'; goto ret; default: peekc = c; break; } /* * We have discovered something solid (not a separator). * We want to gather in as many characters * as possible but don't want to grab a separator. * If we find another quotation in this word we go back to * the top to take it. */ for (;;) { c = getc(); if (any(c, " '\"\t;&<>()|^\n")) { peekc = c; if (any(c, "\"'")) break; *lp++ = '\0'; goto ret; } if (--i == 0) goto toochars; *lp++ = c; } } toochars: seterr("Too many characters"); lbuf[1] = 0; ret: return (savestr(lbuf)); } /* static */ char *dolp; /* static */ struct shvar2 paramhd, *paramp, *dolnxt; /* static */ int dolc; /* * setargs sets up the initial argument linked list. * paramp is a working pointer to the front of the list (actually * one before the front), paramhd the actual origin which contains * the true value of $0. * * dolnxt is used in expanding $*. * dolc is maintained by setnargs who also maintains the nargs variable * dolp is the pointer into the expanding string in getc */ setargs(c, v) int c; char *v[]; { register struct shvar2 *vp, *lvp; vp = ¶mhd; for (;;) { vp->value = *v++; c--; if (c == 0) break; lvp = vp; vp = calloc(1, sizeof *vp); lvp->next = vp; vp->prev = lvp; } rewind(); } /* * rewind the shell arguments */ rewind() { paramp = ¶mhd; setnargs(); } /* * set up nargs variable after a parameter list change */ setnargs() { register struct shvar2 *vp; dolc = 0; for (vp = paramp; vp != 0; vp = vp->next) dolc++; set(n_args, putn(dolc - 1)); if (dolc == 1) unsetv(n_args); } /* * shift the shell arguments */ shift(v) register char *v[]; { register int n; register struct shvar2 *vp; v++; n = *v == 0 ? 1 : getn(*v++); for (vp = paramp; vp && n;) if (n > 0) { n--; vp = vp->next; } else { n++; vp = vp->prev; } if (n || vp == 0) { bferr(": Count too large"); return; } paramp = vp; setnargs(); } /* static */ char dol2bra; /* * getc gets a character from the logical input stream. * It handles parameter expansion via $[0-9], all parameters * via $*, shell variables via $[A-Za-z], and the process number via $$. * Also handled is the trimming of the sufficies from expanded * names via the . notation. For example if $1 is "foo.p" then * $.1 will be "foo". * * The variable dol2bra's value has the following meaning: * * 2 echo characters to : or }, if : discard chars to } * 1 echo characters to : * -1 discard characters to } * -2 discard characters to : or }, if : echo to } * * This handles the constructs * * ${name?str1:str2} name set -> str1 ; t -> str2 * ${name:default} name set -> $name ; t -> default * ${name?string} name set -> strings ; t -> "" */ getc() { register c; static char doldot; if (peekc) { c = peekc; peekc = 0; return (c); } for (;;) { if (dolp) { c = *dolp++; if (c && (c != '.' || !doldot || any('.', dolp))) return (echo(c)); if (dolnxt && (dolnxt = dolnxt->next)) { dolp = dolnxt->value; return (echo(' ')); } dolp = 0; echo(']'); continue; } if (peekx) { c = peekx; peekx = 0; } else c = readc(); if (c == '\\') { echo(c); c = readc(); if (c == '\n') c = ' '; else c =| QUOTE; } if (dol2bra) { switch (c) { case '}': if (dol2bra > 0) echo(']'); dol2bra = 0; echo('}'); continue; case '\n': dol2bra = 0; seterr("Missing }"); return (echo('\n')); case ':': switch (dol2bra) { case 2: dol2bra = -1; echo(']'); echo(':'); continue; case -2: dol2bra = 1; echo(':'); echo('['); continue; } default: echo(c); } if (dol2bra < 0) continue; return (c); } if (c == '$') { echo(c); doldot = 0; c = readc(); echo(c); if (c == '.') { doldot = 1; c = readc(); echo(c); } switch (c) { default: if (digit(c)) { dolp = rgadrof(c); if (dolp == 0) continue; dolp = dolp->value; break; } if (c == '{' || letter(c)) { dolp = dolvbl(c); if (dolp || dol2bra > 0) break; continue; } return (c & 0177); case '$': dolp = value(pid); break; case '*': if (dolc <= 1) break; dolnxt = paramp->next; dolp = dolnxt->value; break; } echo('['); continue; } echo(c); return (c); } } dolvbl(sc) char sc; { register char *np; register struct shvar *vp; char name[20], c; np = name; if (sc != '{') *np++ = sc; for (c = readc(); letter(c); c = readc()) if (np < &name[sizeof name - 1]) { echo(c);  *np++ = c; } *np++ = 0; vp = adrof(name); if (sc != '{') peekx = c; else { switch (c) { case ':': if (vp) dol2bra = -1; else dol2bra = -2; peekx = ':'; break; case '}': peekx = c; dol2bra = -1; break; case '?': echo('?'); if (vp) dol2bra = 2; else dol2bra = -2; return (0); default: echo(c); seterr("Variable syntax"); return (0); } } if (vp == 0) { seterr("Undefined variable"); return (0); } return (vp->value); } /* * read a character from the input device. * this may be an argument e.g. for sh -c. * also for sh -t stop after one line. */ readc() { char cc; register c; register char *cp; again: if (arginp) { if (arginp == 1) exit(0); else if ((c = *arginp++) == '\0') { arginp = 1; c = '\n'; } } else if (onelflg == 1) exit(0); else if (read(0, &cc, 1) != 1) { doneinp = 1; reset(); } else if ((c = cc) == '\n' && onelflg) onelflg--; if (c == 0) goto again; return (c); } rgadrof(r) register int r; { register struct shvar *tp; if (!digit(r) || (r =- '0') > dolc) return (0); if (r == 0) return (¶mhd); for (tp = paramp; r > 0; tp = tp->next) r--; return (tp); } rgvalue(r) int r; { register struct shvar *tp; tp = rgadrof(r); return (tp ? tp->value : ""); } nsh_lex.oÙKø¤‘¨öt w üÿDÎæß Ö 3ÀðÃ÷ D û¥ êô3w¾ÿw ºÿD ôÎß Îß 4!ò4w�ÿw ŒÿÆåCÃeöýõôý÷ ° rÁ ÁeA! þy 5‘øÿ÷ ”ß @�øÿ!'Ä% ÷ 8ÿ÷œ0ÿŠ7‘*ÿ0õ ôý%ÀU€�á‘ 7‘ÿλ&ß Ö À Š7‘øþ‘÷ (έ&ß Ö À åõ ôýñ÷ Ôþ÷¾Ìþ5Š÷ýNÎeöýß wºþw ¶þÄ Îæß Ö 3ôLõeõ õ é÷ wzþw vþ÷pþ÷ whþw dþ7 `þÄ\þ· VþÄ úÎJþÎ ß æß Ö ÷%2þÎß w$þw þDÄeÌ Àß Âþ à ‚à à øƒ ‚ ÷à  ÎÒß ·Ðý÷ dÿwÈýw Äý÷‹Àý_üÄ�¶ý7вý_6Ä%. ÷‹´ Μýæ.ß Ö À N^À†ý7€ýI÷zýxýÎ R÷‹nýÄ�hý7Šdý÷  Ä%\ß ÷ ŽÄ% Ä ÄU€÷‹6ý_BÁn7š þy÷‹ýÎ]ß 7Š ýÎ}ß ÷ ýÆÄŸúü· öüÄ £÷ îü±7 èüÎ]í7ŠÞü÷ Úü÷äÒüÎ ß wÆüÀ�ÂüÀåþÿ ƒ_.À xd÷•ÿÿ¨üÎ]ß Î:É÷•”üÎ:ß Xß 7Š’÷ ¾ß Ä%. ÷•z÷ ¦ß Àå$ ‚À x~ß À ß À76ü˜÷0ü.ü)Ä%{ß À ß R7ü÷‹ ü‚ÀE€ÿ›Îß 7ôû ÷%ìûÀæû7àû÷ÜûÚûÎ[_øß ÷‹Èû_ü_NÄ%$—ß _Nw ªûÆåDÄeæÿõ¥{T�w�äÿŒûà c÷ „û÷þ|û wvû@Àeùÿ!†@�äÿß T�äÿ÷ œ5�äÿ@�äÿß À éŠNÎeæÿß õ¥{Ð@�äÿÁŒ7¸ þyà ÷•ÿÿû÷•þÿ û÷•:û¼w�äÿþú÷•ÿÿøúµÎ?ß Ã ÷•äú³÷•þÿÜú¯@�äÿß ÷ Ìú§÷îÄú£À¢w ºúæ ÷ ´ú÷%¬ú ß ,Àžú· šú’&÷�úÄ ÷¥„úìÎfÎeøÿ& ß –%À%÷•dú÷ `ú D�øÿÄ% ÷‹Pú÷ŠJúÄ Çw@úw <úDß À Äå0Ä-&ú ÀwúÄ úÃúÄ ÃÄ ûÀòw üùNß ÀwêùÀû$,8D  ) „¦èè¦èèè„èèèèf...R :}:â.¶¶¶¶¶:?}â ü&Unmatched ' or " '" ;&<>()|^ "'Too many characters: Count too largeMissing }Variable syntaxUndefined variable©è ©xˆ ©èii™™ˆ™ˆiiØ ©øè ©ø  ©) ))(H8)HX ©Ø X  ©™™™éˆé©©©èyyèyèééééyiiè yyèyèèèè éééH éyx é) éèyè©©ii èH È yy©©yèyyèii©¹¹¨ ¹¹¹ÉÈ ™é ÉÉ © )ø  © _shvhed _paraml _aliases _interps _verbose _nofile _error _uid _loginsh _doneinp _setintr _arginp _onelflg _scratch d_prompt _shell _pid _pcs _home _path _n_args _tim _errno _hentry _lex"~lexcsv hpwdpL6 _calloc _word"pcret _freelex"B~freelexBvpfpL10bL20001L_xfree _cfree _peekc _peekx L10002L10003$L10004,L100058L10006DL39L15„L22¦L38è~wordpcc1øÿlplbuföýiôý_getc"8L10001žL23ª_readc"B_echo L40 L25ØL26ÐL27œL288L29(L20002L20004ìL44»_any L20006 L42­L454L46¾_savestr _dolp _paramhd _paramp _dolnxt _dolc _setargs"F~setargsFcvvplvpL50jL20008P_rewind"†~rewind†_setnarg"˜~setnarg˜vpL58®L20010¦_putn _set L57Ø_unsetv _shift"Ü~shiftÜvnvpL10007òL10008ø_getn L65L20012L20014L66L10009"L69,L70Ò_bferr L644_dol2bra L10012dL98fL99.L97RL10014nL10015tL91L94:L89âL10019~L107L104¶L108~getc8cL74doldotL76üL20022NL736L20016TL10010rL79L200212L20019vL80L78ŽL81žL82¤L83ÆL84ÂL86BL10016ÚL90ðL20020øL92.L93äL20023&L20025vL101¤_digit L105Ô_rgadrof"ÀL10017ä_letter L106ø_dolvbl"R_value L10021ŒL10022’L121âL125 L124üL128&~dolvblRscnpvpnameæÿcäÿL112¢L20030nL118tL131>L132„L133þL111†L20028Š_adrof L10023ÚL122îL123ôL126L130î~readcBccøÿccpL137HL138vL139^L20032V_exit L142¶_read L145¢_reset ~rgadrofÀrtpL10024ÜL151èL150äL20034àL153øL20036ò_rgvalue"~rgvaluertpL10025L158L159sh_parse.cÙJø¤‘e#include "sh.h" /* * syntax * empty * syn0 */ syntax(p1, p2) register struct shvar2 *p1, *p2; { while (p1 != p2) if (any(p1->value[0], ";&\n")) p1 = p1->next; else return (syn0(p1, p2)); return (0); } /* * syn0 * syn1 * syn1 & syntax */ syn0(p1, p2) struct shvar2 *p1, *p2; { register struct shvar2 *p; register *t, *t1; int l; l = 0; for (p = p1; p != p2; p = p->next) switch (p->value[0]) { case '(': l++; continue; case ')': l--; if (l < 0) seterr("Too many )'s"); continue; case '&': if (l != 0) break; t1 = syn1(p1, p); if (t1[DTYP] == TLST) { t = calloc(2, 5); t[DTYP] = TPAR; t[DFLG] = FAND|FPRS|FINT; t[DSPR] = t1; t1 = t; } else t1[DFLG] =| FAND|FPRS|FINT; t = calloc(2, 4); t[DTYP] = TLST; t[DFLG] = 0; t[DLEF] = t1; t[DRIT] = syntax(p, p2); return(t); } if (l == 0) return (syn1(p1, p2)); seterr("Too many ('s"); return(0); } /* * syn1 * syn2 * syn2 ; syn1 */ syn1(p1, p2) struct shvar2 *p1, *p2; { register struct shvar *p; register *t; int l; l = 0; for (p = p1; p != p2; p = p->next) switch (p->value[0]) { case '(': l++; continue; case ')': l--; continue; case ';': case '\n': if (l != 0) break; t = calloc(2, 4); t[DTYP] = TLST; t[DLEF] = syn2(p1, p); t[DRIT] = syntax(p->next, p2); return (t); } return (syn2(p1, p2)); } /* * syn2 * syn3 * syn3 | syn2 * syn3 |* syn2  */ syn2(p1, p2) struct shvar2 *p1, *p2; { register struct shvar2 *p, *pn; register int *t; int l; l = 0; for (p = p1; p != p2; p = p->next) switch (p->value[0]) { case '(': l++; continue; case ')': l--; continue; case '|': case '^': if (l != 0) continue; t = calloc(2, 4); t[DTYP] = TFIL; t[DLEF] = syn3(p1, p); pn = p->next; if (pn != p2 && pn->value[0] == '*') { t[DFLG] = FDIAG; if (pn->value[1] != 0) pn->value++; else  p = pn; } t[DRIT] = syn2(p->next, p2); return (t); } return (syn3(p1, p2)); } /* * syn3 * ( syn0 ) [ < in ] [ > out ] * word word* [ < in ] [ > out ] */ syn3(p1, p2) struct shvar2 *p1, *p2; { register struct shvar2 *p; struct shvar *lp, *rp; register int *t; int n, l, c; n = 0; l = 0; for (p = p1; p != p2; p = p->next) switch (p->value[0]) { case '(': l++; continue; case ')': l--; continue; case '>': case '<': if (l != 0) continue;  if (p->next == p2) continue; if (any(p->next->value[0], "<>(*")) continue; n--; continue; default: if (l != 0) continue; n++; continue; } if (n < 0) n = 0; t = calloc(2, 5 + n + 1); n = 0; if (p2->value[0] == ')') t[DFLG] = FPAR; lp = 0; rp = 0; l = 0; for (p = p1; p != p2; p = p->next) { c = p->value[0]; switch (c) { case '(': if (l == 0) { if (lp != 0) seterr("Badly placed ("); lp = p->next; } l++; continue;  case ')': l--; if (l == 0) rp = p; continue; case '>': if (l != 0) continue; if (p->next != p2) { p = p->next; if (p->value[0] == '>') t[DFLG] =| FCAT; else p = p->prev; } if (p->next != p2) { p = p->next; if (p->value[0] == '*') { t[DFLG] =| FDIAG; if (p->value[1]) { p->value++; p = p->prev; } } else p = p->prev; } case '<': if (l != 0) continue; if (p->next == p2) { seterr("Missing file for redirect"); continue; } p = p->next; if (any(p->value[0], "<>(")) { seterr("Syntax error in redirection"); continue; } if (c == '<') { if (t[DLEF] != 0) { seterr("Multiple < redirect"); continue; } t[DLEF] = p->value; continue; } if (t[DRIT] != 0) { seterr("Multiple output redirect"); continue; } t[DRIT] = p->value; continue; default: if (l != 0) continue; t[DCOM + n] = p->value; n++; continue; } } if (lp != 0) { if (n != 0) seterr("Only redirect allowed outside ()'s"); t[DTYP] = TPAR; t[DSPR] = syn0(lp, rp); } else { if (n == 0) seterr("Inappropriate empty command"); t[DCOM + n] = 0; t[DTYP] = TCOM; } return (t); } freesyn(t) register int *t; { register char **v; if (t == 0) return; switch (t[DTYP]) { case TCOM: for (v = &t[DCOM]; *v; v++) xfree(*v); goto lr; case TPAR: freesyn(t[DSPR]); lr: xfree(t[DLEF]); xfree(t[DRIT]); break; case TFIL: case TLST: freesyn(t[DLEF]); freesyn(t[DRIT]); break; } cfree(t); } sh_parse.oÙKø¤‘p8Ôw üÿDCÄ ÎnŸ&ß Ö À òÎ&ß <Ö wÈÿ üw Àÿæ 5 øÿDD-]ŸÀå& ‚À xµ øÿîõ øÿõ øÿø÷ „ÿõ÷r|ÿñõ øÿîfß Ö Ê%Îæß Ö Ëóa³ÂòUaÎæß Ö Ë3 ³N&ß Ö 3ÀNfß Ö wöþõ øÿô÷ ìþ÷äþ ów Üþæ 5 øÿDD-3ŸÁ7Þ þyµ øÿîõ øÿúõ øÿ÷Îæß Ö Ëfß ªÖ 3N&ß Ö 3ÀwfþNfß ªÖ öw Rþæ 5 øÿDD-FŸÁ*7h þyµ øÿîõ øÿúõ øÿ÷Îæß Ö Êfß ZÖ 2C-û¥* ò€Àð‹‹ ÄN&ß ªÖ 2€w¶ýNfß ZÖ öw ¢ýÆå 5 ôÿ5 òÿDD--ŸÁ>7Æ þyµ òÿîõ òÿúõ òÿ÷t-óÎŒ’&ß Ö À èõ ôÿåõ òÿâµ ôÿßõ ôÿ5 ôÿNôÿÎeæß Ö 5 ôÿ@È¥)ó5 øÿ5 öÿ5 òÿDD-_NŸ5ðÿÁR70 þyõ òÿ õ øÿ÷ ¾ü÷‘¶ü5øÿµ òÿÛõ òÿõ òÿø5öÿõõ òÿòt- ü¥>óUt-ü¥*óU€ð‹Œ õ òÿËt-÷ 6üÄ÷ .üÀκŸ&ß Ö À ÷ ü±÷¾ü­õ%<ðÿ ó ÷ ôû£÷ÚìûŸ3œó ÷ Úû–÷îÒû’3�õ òÿŒ@ôÿÀ À`0 µ ôÿƒõ øÿõ ôÿ÷ ¢û÷šûËNöÿføÿß <Ö 3õ ôÿ÷ xû÷*pû@ôÿÀ À`0 ËÀwZûw VûDÄ #Àå ‚À xfÃe Ë Îß Ãeøß ¦ß ß ß wûß ¦ß ¦ò†hdn ();XHRXL()^|ÒÜââÖ()<>ˆ’˜˜Â()<>2Z¸j6ÄÚüü;& Too many )'sToo many ('s<>(*Badly placed (Missing file for redirect<>(Syntax error in redirectionMultiple < redirectMultiple output redirectOnly redirect allowed outside ()'sInappropriate empty command©I©iihhIii©hI©hI©hiiiiiiiiiiiiiiI©X X X h I_shvhed _paraml _aliases _interps _verbose _nofile _error _uid _loginsh _doneinp _setintr _arginp _onelflg _scratch d_prompt _shell _pid _pcs _home _path _n_args _tim _errno _hentry _syntax"~syntaxcsv p1p2L4L20001L58L6n_any _syn0"<L34cret L10001L22†L14hL17dL18n~syn0<p1p2ptt1løÿL12JL13 L21r_syn1" L23Â_calloc L24ÈL11L20003øL26L27L10003L10004L39XL36HL37RL33L~syn1 p1p2ptløÿL31.L32šL10005@_syn2"ªL30–L10007*L100082L48ÒL49ÜL51âL45Ö~syn2ªp1p2ppntløÿL43¸L44JL10009Ê_syn3"ZL522L530L42FL10011>L10012FL63ˆL64’L66˜L68ÂL10015RL10016ZL762L81ZL91¸L83jL1066~syn3Zp1p2plpøÿrpöÿtnôÿlòÿcðÿL58nL59ÎL10013€L60ŒL67ŒL69ØL70L71L72NL10017*L77PL78JL80‘L73TL84�L85ŒL88´L92ÔL94 L95ºL96úL98¾L99L100L102ÚL1030L105îL107~L108fL110L111 L112�L114*_freesyn"¦L10019fL120ÄL125ÚL127ü~freesyn¦tvL117øL118òL121ÊL124â_xfree _cfree sh_sem.cÙKø¤�' #include "sh.h" execute(t, pf1, pf2) int *t, *pf1, *pf2; { int i, f, pv[2]; register *t1; char *cp1, *cp2; char *scp; if (t == 0) return; switch(t[DTYP]) { case TCOM: i = 100; do if (func(t)) return; while (--i && alias(&t[DCOM])); if (i == 0) { bferr2(t[DCOM], ": Alias loop detected"); return; } case TPAR: t1 = t; f = t1[DFLG]; i = 0; if ((f&FPAR) == 0) i = fork(); if (i == -1) { err("No more processes"); return; } if (i != 0) { if ((f&FPIN) != 0) { close(pf1[0]); close(pf1[1]); } if ((f&FPRS) != 0) { prn(i); prs("\n"); set(pcs, putn(i)); } if ((f&FAND) != 0) return; if ((f&FPOU) == 0) pwait(i); return; } set(prompt,""); unsetv(prompt); if ((cp1 = t1[DLEF]) != 0) { close(0); cp1 = globone(cp1); if (cp1 == 0) exit(1); strip(cp1); if (open(cp1, 0) < 0) { prs(cp1); err(": Cannot open"); exit(1); } } if ((cp2 = t1[DRIT]) != 0) { while (*cp2) *cp2++ =& 0177; strip(cp2); cp2 = t1[DRIT]; close(1); if ((f&FCAT) != 0 && open(cp2, 1) >= 0) seek(1, 0, 2); else if (creat(cp2, 0644) < 0) { prs(t1[DRIT]); err(": Cannot create"); exit(1); } } if ((f&FPIN) != 0) { close(0); dup(pf1[0]); close(pf1[0]); close(pf1[1]); } if ((f&FPOU) != 0) { close(1); dup(pf2[1]); close(pf2[0]); close(pf2[1]); } if (f&FDIAG) { close(2); dup(1); } if ((f&FINT)!=0 && t1[DLEF]==0 && (f&FPIN)==0) { close(0); open("/dev/null", 0); } if ((f&FINT) == 0 && setintr) { signal(INTR, 0); signal(QUIT, 0); } if (t1[DTYP] == TPAR) {  if (t1 = t1[DSPR]) t1[DFLG] =| f&FINT; execute(t1); exit(1); } doexec(t1); /* no return */ case TFIL: f = t[DFLG]; pipe(pv); t1 = t[DLEF]; t1[DFLG] =| FPOU | (f&(FPIN|FINT|FPRS|FDIAG)); execute(t1, pf1, pv); t1 = t[DRIT]; t1[DFLG] =| FPIN | (f&(FPOU|FINT|FAND|FPRS)); execute(t1, pv, pf2); return; case TLST: f = t[DFLG]&FINT; if (t1 = t[DLEF]) t1[DFLG] =| f; execute(t1); if (t1 = t[DRIT]) t1[DFLG] =| f; execute(t1); return; } } strip(cp) register char *cp; { while (*cp++ =& 0177) continue; } 1sh_sem.oÙLø¤�� ˜\˜w üÿÆåõ `@Àå Y‚À x˜õdøÿNß À Mõ øÿNÎe ß À ïõ øÿAΠ@& ß Ö 5릧 0õ5öÿ Nß @ß õ5@öÿNøÿß ÎÈß Nøÿß æß Ö õ5öÿõ5öÿNøÿß w.ÿD5öÿ5 øÿõ5öÿ÷ ÿ5øÿõ%ÿÿøÿ¶õ øÿ¸ÎÊæß Ö Îß 5ðÿ& ß Nðÿß 5ðÿÎß Nðÿß † fðÿß Ö À Nðÿß ÎËß Îß 5îÿ>ýÅ€ÿîÿµ îÿý‹îÿøNîÿß †5îÿÎß õ5öÿÎfîÿß Ö À Î& æß –%Τfîÿß Ö À ß ÎÙß Îß õ5öÿ ß Nß Nß @ß õ5öÿÎß @ß Nß @ß õ5€öÿÎß Îß õ5 öÿô  õ5öÿ  ß  æéß Ö õ5 öÿ÷‹lý  æß Ö  æß Ö Ì%@öÿÀEßÿ4Pß Îß ß @5öÿNÎeòÿß @@öÿÀEÿÀU4PNÎeòÿf&ß –%@@öÿÀE–ÿÀU4PNfÎeòÿ&ß –%_Î@ÀEßÿ5öÿ@t]öÿß @t]öÿß _Îw vüDÔÅ€ÿýwhü"ÒÚF: Alias loop detectedNo more processes : Cannot open: Cannot create/dev/nullùÈè8hhˆ¨¸ÈØé èÈè(hHhˆ¨8hhˆèø¨8hh(hhh(hhh(hˆ©ˆˆh¸Èùé_shvhed _paraml _aliases _interps _verbose _nofile _error _uid _loginsh _doneinp _setintr _arginp _onelflg _scratch d_prompt _shell _pid _pcs _home _path _n_args _tim _errno _hentry _execute"L10002˜L6"L12ÒL41ÚL42F~executecsv tpf1pf2iøÿföÿpvòÿt1cp1ðÿcp2îÿscpìÿL3ÎL9(_func L8J_alias L11 _bferr2 L20001dL15¶_err L20003nL17Š_close L18¶_prn L19È_prs _putn _set _pwait cret L13ð_fork L21Ê_unsetv L22h_globone L238_exit _strip"†_open L25ËL27|L26îL20005rL29Ä_seek _creat L32ÙL33_dup L34HL35`L36ˆL37éL38®_signal L39ÔL40Æ_doexec _pipe L43fL44|~strip†cpL20006Žsh_set.cÙKø¤‘r#include "sh.h" /* * Shell: * "set" and associated routines * *---------- * doset - performs the logic of the set command * operate - performs arithmetic function of the set command * unset - undefines variables * xfree - frees argument storage if it is dynamic * savestr - salts away a copy of the argument string in a safe place * putn - returns a pointer to a string representing the argument integer * getn - returns the number which the string argument represents or 0 *---------- * value - returns the value of a variable which is argument * adrof - returns a pointer to the structure for the variable argument * set - sets the argument variable to the second argument value */ /* * doset performs the logic of the set command. * command syntax is * set [ rOPvalue ] * * current ops are += -= ++ -- &= |= *= /= %= and = * * Magic operator @ actually does an unset. Good for use conditionally! */ doset(v) register char *v[]; { register int *rp; register char *p; char *vp, c, op; v++; p = *v++; if (p == 0) { prvars(); return; } do { if (digit(*p)) { vp = p; p++; } else for (vp = p; letter(*p); p++) continue; if (vp == p) { bferr(": No variable"); return; } op = *p; *p++ = 0; switch (op) { case 0: p--; case '=': set(vp, savestr(p)); continue; case '@': if (*p != 0) { bferr(": Garbage after @"); return; } unsetv(vp); continue; } c = *p++; if (c != '=') { if (!any(op, "+-") || c != op || *p) { bferr(": Missing ="); return; } *--p = '1'; } set(vp, operate(op, vp, p)); } while (p = *v++); } operate(op, vp, p) char op, *vp, *p; { register int vl, vr; vl = getn(value(vp)); vr = getn(p); switch (op & 0177) {  case '+': vl =+ vr; break; case '-': vl =- vr; break; case '&': vl =& vr; break; case '|': vl =| vr; break; case '/': if (vr == 0) bferr(": Divide check"); else vl =/ vr; break; case '%': if (vr == 0) bferr(": Mod check"); else vl =% vr; break; case '*': vl =* vr; break; default: bferr(": Bad operator"); } return (putn(vl)); } /* * xfree frees possibly non-dynamic storage. * It insures thats its argument is in the heap * before freeing it. */ xfree(cp) char *cp; { extern char end[]; cp = (cp + 1) &~ 1; if (cp >= end && cp < &cp) cfree(cp); } savestr(s) char *s; { if (s == 0) s = ""; return (strcpy(calloc(1, strlen(s) + 1), s)); } /* static */char *putp; /* * putn takes an integer and returns a pointer to * its string representation. * putp indexes the number as it is formed. */ putn(n) { static char number[7]; /* sprintf(number, "%d", n); */ putp = number; if (n < 0) { n = -n; *putp++ = '-'; } putn1(n); *putp = 0; return (savestr(number)); } putn1(n) int n; { if (n > 9) putn1(n / 10); *putp++ = n % 10 + '0'; } /* * getn is used by doset to get numbers from strings. * null string is considered to be 0 (ala SNOBOL). */ getn(cp) register char *cp; { register n; int sign, base; sign = 0; base = 10; if (*cp == '-') { sign++; cp++; if (!digit(*cp)) goto badnum; } else if (*cp == '0') base = 8; n = 0; while (digit(*cp)) n = n * base + *cp++ - '0'; if (*cp) goto badnum; return (sign ? -n : n); badnum: bferr(": Badly formed number"); return (0); } /* * value takes a string name of shell * variable and returns a pointer to its value */ char * value(var) char *var; { return (value1(var, &shvhed)); } char * value1(var, head) char *var; struct shvar *head; { register struct shvar *vp; vp = adrof1(var, head); return (vp == 0 ? "" : vp->value); } /* static */ struct shvar *shprev; /* * adrof takes a variable name and returns * a pointer to its structure or 0. * A side effect is to make shprev point to the * structure before this one for obvious reasons. */ struct shvar * adrof(var) char *var; { register struct shvar *vp; if (digit(var[0])) { vp = rgadrof(var[0]); if (vp == 0) { bferr(": Bad parameter"); vp = &shvhed; } return (vp); } return (adrof1(var, &shvhed)); } struct shvar * adrof1(var, head) char *var; struct shvar *head; { register struct shvar *vp; int cmp; shprev = head; for (vp = shprev->next; vp != 0; vp = vp->next) { cmp = strcmp(vp->name, var); if (cmp == 0) return (vp); else if (cmp > 0) return (0); shprev = vp; } return (0); } /* * set sets the variable argument to * the given value. * The caller is responsible for putting value * in a safe place! */ set(var, value) char *var, *value; { set1(var, value, &shvhed); } set1(var, value, head) char *var, *value; struct shvar *head; { register struct shvar *vp; vp = adrof1(var, head); if (vp == 0) { vp = calloc(1, sizeof *vp); vp->name = savestr(var); vp->next = shprev->next; shprev->next = vp; } if (value == 0) value = ""; else xfree(vp->value); vp->value = value; } unset(v) register char *v[]; { unset1(v, &shvhed); } unset1(v, head) register char *v[]; struct shvar *head; { register char *var; v++; while (var = *v++) unsetv1(var, head); } unsetv(var) char *var; { unsetv1(var, &shvhed); } unsetv1(var, head) char *var; struct shvar *head; { register struct shvar *vp; vp = adrof1(var, head); if (vp == 0) { bferr2(var, ": Undefined"); return; } vp = shprev->next; shprev->next = vp->next; xfree(vp->value); xfree(vp); } sh_set.oÙLø¤‘ô–¾< w üÿDÆåÄe÷ èÿc€’ß À µøÿ‚ µ øÿÎÆß Rµøÿ€’ß À ð‚ øµ’ôÿŠ@�ôÿÁ–7: þy Žß ž.Ê‹ÎÔÜNøÿß <*µ”öÿõ¥=öÿÎæ@�ôÿ&ß Ö À u­ôÿöÿÊ‹Îé¾â•1Žføÿ@�ôÿ&ß ä–%føÿß ˆÖ �wÿw ÿNß Èß JNß J@�ÀE€ÿÁ¦7¢ þyÄ`ß ÖwÚþÄàùÀ@ @õÄPóà ÎõÎß éÀ räà ôÀ rDÝCpûÎëw Žþ@€ ÀE5À% ‚@Àe@-†Nß wbþw ^þõ õNf÷ FþÖ € &æ÷ 8þ–%&ß Ö w*þw &þ÷T þõ  @ 5ÿ•- þ· þNß ?ŠúýÎTß žwîýw êýõ% AÀ r ß AÀ r Áe0@?�¾ý· ºýw¶ýw ²ýDÆå5 øÿõ öÿÌ¥-µ øÿ„ “ß À Î ß Ì¥0õöÿ Áupöÿ@•@`ÃeÐÿ“ß À ñÌ‹áõ øÿÀ w<ýÀüw 4ýÎfß ÞÖ w"ýw ýNfß BÖ À6wýüw üü@Ÿß À @Ÿß Î7ß ÄwÎüÎfß BÖ öw ºüæ w²üÀ®üN&ß Ö 5øÿ õ øÿ7†üÄ ë wxüw tüÎffß ¢–%w^üw ZüNfß BÖ Îæß Ö Nß ž4À(ü4Àü0õ õGß nLwþûw úûDÎ&ß Ö wæûw âûDÄeNæß RÖ øwÄûw ÀûÎfß RÖ w®ûw ªûNfß BÖ ÎHfß Ö À„û0ß nß nwjû=@jltˆ%&*+-/|T*b&62h: No variable: Garbage after @+-: Missing =: Divide check: Mod check: Bad operator: Badly formed number: Bad parameter: Undefined ‰¨(È) ) (H) ™©¸) ÉÉÉÉ) ÉÉ) ¨¨) ) ) ¨H ) ééø é) ) ¨éé) ) ) ) 8 é)_shvhed _paraml _aliases _interps _verbose _nofile _error _uid _loginsh _doneinp _setintr _arginp _onelflg _scratch d_prompt _shell _pid _pcs _home _path _n_args _tim _errno _hentry _doset"L10001–L10002œL17jL18lL19tL15ˆ~dosetcsv vrppvpøÿcöÿopôÿL7_prvars L3à_digit L8<L9,L13PL14ÆL200046_bferr L10@_letter L10003b_savestr"žL20003ÐL20~L21Ô_unsetv"<L5ÜL22¾L23æ_any L10004´L24ºL25é_operate"ä_set"ˆcret L10006¦L10007´L39TL33*L43bL31L32&L356L342L44h~operateäopvppvlvr_value"È_getn"JL10008L29_putn"ÖL36JL37õL20005DL20008@L41L20006^L45_xfree"n~xfreencp_end L48š_cfree ~savestržsL53®L54_strlen _calloc _strcpy _putp ~putnÖnL58TnumberTL59ú_putn1"~putn1nL63.~getnJcpnsignøÿbaseöÿL67„L69�L68xL73 L66ÀL71¦L20010”L10009Ä~valueÈvar_value1"Þ~value1Þvarheadvp_adrof1"BL10011üL806L79ø_shprev _adrof"~adrofvarvpL842_rgadrof L85,L867L83.~adrof1BvarheadvpcmpøÿL90~L20014X_strcmp L93pL89„L20012‚~setˆvarvalue_set1"¢~set1¢varvalueheadvpL101æL102ôL103GL104ú_unset"~unsetv_unset1"~unset1vheadvarL1114L20016(_unsetv1"R~unsetv<var~unsetv1RvarheadvpL119xL120H_bferr2 L118’sh_wait.cÙKø¤�e #include "sh.h" static char *mesg[] { 0, "Hangup", 0, "Quit", "Illegal instruction", "Trace/BPT trap", "IOT trap", "EMT trap", "Floating exception", "Killed", "Bus error", "Segmentation violation", "Bad system call", 0, "Alarm clock", "Terminate", "Sig 16", }; static struct tbuffer { int put, pst; long cut, cst; } times0; static long time0; static char timflg; double secs(bef, aft) struct tbuffer *bef, *aft; { return ((aft->cut - bef->cut + aft->cst - bef->cst) / 60.0); } settimes() { time(&time0); times(×0); } dotimes(v0) char *v0[]; { register char **v; struct tbuffer timesdol; long timedol; v = v0; if (v[1] != 0) { timflg = 1; do { v[0] = v[1]; v++; } while (*v != 0); return (func(v0 - DCOM)); } time(&timedol); times(×dol); ptimes(timedol - time0, ×0, ×dol); return (1); } pwait(i) register int i; { register p, e; int s; struct tbuffer bef, aft; long btim, atim; if (i == 0) return; time(&btim); do { times(&bef); p = wait(&s); if (p == getn(value(pcs))) unsetv(pcs); time(&atim); if (p == -1) return; e = s & 0177; if (mesg[e] != 0) { if (p != i) { prn(p); prs(": "); } prs(mesg[e]); if (s & 0200) prs(" -- Core dumped"); } if (e != 0) err(""); } while (i != p); times(&aft); if (timflg || (adrof(tim) && secs(&bef, &aft) >= getn(value(tim)))) { timflg = 0; ptimes(atim - btim, &bef, &aft); } } ptimes(sec, bef, aft) long sec; struct tbuffer *bef, *aft; { register int i; p60ths(aft->cut - bef->cut); prs("u "); p60ths(aft->cst - bef->cst); prs("s "); psecs(sec); prs(" "); i = 100.0 * secs(bef, aft) / (sec ? sec : 1); prn(i); prs("%\n"); } p60ths(l) long l; { register int i; l =+ 3; i = l / 60; prn(i); prs("."); i = l % 60; prn(i / 6); } psecs(l) long l; { register int i; i = l / 3600.0; if (i) { prn(i); prs(":"); i = l % 3600; p2dig(i / 60); goto minsec; } i = l; prn(i / 60); minsec: i =% 60; prs(":"); p2dig(i); } p2dig(i) int i; { prn(i / 10); prn(i % 10); } endwait() { signal(INTR, 1); prs("wait: Interrupted\n"); reset(); /* URK! */ } await(v) register char *v[]; { register int i; v++; if (*v) { i = getn(*v); if (i == 0) return; } else i = -1; if (setintr && *value(prompt)) { signal(INTR, endwait); pwait(i); signal(INTR, 1); } else  pwait(i); } {sh_wait.oÙLø¤‘RTw üÿ@Bƒ‚Áà€ €àBƒ ‚Á`@ €`Bƒ ‚Áà€ €àf& ðþðùpCw¨ÿw ¤ÿÎbß ÎVß w�ÿw ŒÿÆåDô ÷•Þ ÄeÌ úNÎeöÿß w\ÿNÎeêÿß NÎeîÿß NÎeîÿæVAìÿ@êÿÀí”Áí’€ f&ß ÆeÀÝw ÿDÆå"Ä _NÎeÜÿß NÎeìÿß NÎeøÿß Îß ß À Îß NÎeØÿß Ã%ÿÿbBøÿÂE€ÿ€À ð R!Îß Îß €À Rß õ5€øÿÎ ß Â Î0ß Ä ¸NÎeàÿß ÷‹ÄÎß À ,Îß ß þ&øfÎeàÿfÎeìÿ÷ .þ–%÷ð7ŠˆNÎeàÿfÎeìÿAÚÿ@Øÿ@íÜÿAíÞÿ€ f&ß Æewôýw ðý@ Bƒ‚Áà€ €àf&÷ š–%Î1ß @  Bƒ ‚Áà€ €àf&÷ j–%Î4ß ff÷ ²–%Î7ß N fß Ö òÈCõ õ ffææ ðVþðùûß Î9ß w0ýw ,ýõeu æ<æ ff÷ ýÆeDß Î<ß æ<æ ff÷ êüÆeDÀ rß wÒüw Îü ð5þðùaFûÄ ß Î>ß ææ ff÷ œüÆeDÀ r<ß ¨ DÀ r<ß À r<DÎ@ß ß ¨wXüw TüAÀ r ß AÀ r Nß w0üw ,üÎæß Ö ÎBß ÷ üwüw üDÄeÌ ß  Ãÿÿ÷‹êûÎß È‹ÎÐæß Ö Îß æÎæß Ö Îß æw®ût{€”£¬µÈÏÙð HangupQuitIllegal instructionTrace/BPT trapIOT trapEMT trapFloating exceptionKilledBus errorSegmentation violationBad system callAlarm clockTerminateSig 16: -- Core dumpedu s % .::wait: Interrupted ÉùÉ(8ùÉÈù(8É(8¸ÈØø((HHHˆ8X¨XÈØùÉHHH(HùÉÉ(Hé(ùÉ(Hé(HùÉ((ùɸHÙùÉØ©èȸ¸ù_shvhed _paraml _aliases _interps _verbose _nofile _error _uid _loginsh _doneinp _setintr _arginp _onelflg _scratch d_prompt _shell _pid _pcs _home _path _n_args _tim _errno _hentry _mesgRL1tL2{L3€L4”L5£L6¬L7µL8ÈL9ÏL10ÙL11ðL12L13 L14_times0V_time0b_timflgf_secs"~secscsv befaftcret _settime"X~settimeX_time _times _dotimes"p~dotimespv0vtimesdolîÿtimedolêÿL24¤L27ˆ_func L23 _ptimes" _pwait"æ~pwaitæipesøÿbefìÿaftàÿbtimÜÿatimØÿL30L33_wait _value _getn L344_unsetv L35„L36h_prn L37_prs L39 L31�L410_err L10001Ú_adrof ~ptimes secbefaft i_p60ths"ÐL461L474_psecs".L487L10004¤L10003®L10005´L499~p60thsÐlildiv L53<lrem ~psecs.liL57zL58>_p2dig"¨L59ŒL60@~p2dig¨i_endwait"Ð~endwaitÐ_signal L67B_reset _await"ò~awaitòviL71L72L70NL73Hfltused befaft i_p60ths"ÐL461L474_psecs".L487L10004¤L10003®L10005´L499~p60thsÐlildiv Wed Oct 19, 1977 This directory contains the source for a shell. It requires floating point to do the time command which is built-in so you will have to cc it -f on machines without floating point. It also requires a version 7 C compiler. Accurate documentation is in the file "sh.6" to be nroffed with /usr/man/man0/naa and a new "version 7" nroff. This shell requires the "htmp" data base also used by the editor "ex". If you do not set it up so that the "sethome" command is done by "login" then you should use the old "osethome" routine in ../s6 rather than "sethome" and reenable the execl of this sethome in the file "sh.c" (with the correct pathname). Bill Joy CS Division Department of EE and CS UC Berkeley Berkeley, California 94704 (415) 524-4510 [HOME] (415) 642-4948 [SCHOOL] /man0/naa and a new "version 7" nroff. This shell requires the "htmp" data base also used by the editor "ex". If you do not set it up so that the "sethome" command is done by "login" then you shouldeÿfcrt0Ùbø¶� $H0‰÷ öÿ ð€&Ð 6÷ æÿ–%ß ‰)I8savr5$$fptrap fpjsr _exit _main startfcrt0.sÙbø¤�3/ C runtime startup / with floating point interpreter .globl savr5 .globl fptrap,fpjsr .globl _exit .globl _main start: sys signal; 4; fptrap jsr pc,fpjsr setd mov sp,r0 mov (r0),-(sp) tst (r0)+ mov r0,2(sp) jsr pc,_main cmp (sp)+,(sp)+ mov r0,(sp) jsr pc,*$_exit sys exit .bss savr5: .=.+2 mcrt0.oÙbø¤�Àz„ ð€&Ð 6ÁÁåzÁeWtýÿÁEàæ–ÁeÅfÁ f÷ ÎÿÖ  ÿÿ&Àe7¼ÿææz÷ °ÿÆe ÷ ¨ÿ–%÷ À‰zf…& ÷ ŽÿÖ @‰No space for monitor buffer h)yh9cbufs–_monitor _sbrk _main _exit"h_IEH3exi"h_etext countbas savr5 starteprolzmcrt0.sÙcø¤�·/ C runtime startoff including monitoring / / Modified to work in separate i/d / Remove comments below to use without floating point / cbufs = 150. .globl _monitor .globl _sbrk .globl _main .globl _exit .globl _IEH3exit .globl _etext .comm countbase,2 .comm savr5,2 /.globl fptrap,fpjsr start: / sys signal; 4; fptrap / jsr pc,fpjsr setd mov sp,r0 mov (r0),-(sp) tst (r0)+ mov r0,2(sp) mov $_etext,r1 sub $eprol,r1 add $7,r1 ash $-3,r1 bic $!17777,r1 mov $cbufs,-(sp) add $3*[cbufs+1],r1 mov r1,-(sp) asl r1 mov r1,-(sp) jsr pc,_sbrk tst (sp)+ cmp r0,$-1 beq 9f mov r0,-(sp) add $6,r0 mov r0,countbase mov $_etext,-(sp) mov $eprol,-(sp) jsr pc,_monitor add $10.,sp jsr pc,_main cmp (sp)+,(sp)+ jsr pc,_exit 9: mov $2,r0 sys write; 8f; 9f-8f .data; 8: ; 9:.even; .text _exit: _IEH3exit: mov r5,-(sp) mov sp,r5 clr -(sp) jsr pc,_monitor tst (sp)+ mov 4(r5),r0 sys exit eprol: apcrt0.oÙcø¶�¼&T0‰ ð€&Ð 6÷ äÿ–%ß ‰&8I(8savr5$,fptrap _exit _pxpbuf _main start_info&pcrt0.sÙcø¤�q/ Modified C runtime startoff for pcx / with floating point interpreter .globl savr5 .globl fptrap .globl _exit, _pxpbuf .globl _main start: br 1f 0 _pxpbuf 1: sys signal; 4; fptrap setd mov sp,r0 mov (r0),-(sp) tst (r0)+ mov r0,2(sp) jsr pc,_main cmp (sp)+,(sp)+ mov r0,(sp) jsr pc,*$_exit sys exit .bss savr5: .=.+2 .data _info: _info 1 _pxpbuf sep.sÙcø¶�§ .globl _sep _sep: clr r0 sys 61. cmp r0,0 bne succeed inc 0 clr r0 sys 61. cmp r0,0 beq fail dec 0 succeed: mov $1,r0 rts pc fail: dec 0 clr r0 rts pc sg point interpreter .globl savr5 .globl fptrap .globl _exit, _pxpbuf .globl _main start: br 1f 0 _pxpbuf 1: sys signal; 4; fptrap setd mov sp,r0 mov (r0),-(sp) tst (r0)+ mov r0,2(sp) jsr pc,_main cmp (sp)+,(sp)+ mov r0,(sp) jsr pc,*$_exit sys exit .bss savr5: .=.+2 .data _infeÿPrintÞÑ9í�€¾² ð€&Ð 6÷ ß †‰w xGÎß ¨7Põ õeõ Îpfß ¼Ö À ÷ Nß ®Îß †õ õeÎpß Ä%ÿÿÄ% Ä% Ä% Ä?ß 8éõ Ë÷ Ä ß †wô¸w âľ÷-tºÀ´À êNß Îfæß d–%ÎæÌæß d–%ß &æß d–%ÎæÏæß d–%w€w pDÔ‹þ@íÀ whf…À>÷ ,À4P�· *÷ $÷ @…‡f…÷ …‡À Àå€7VÀö€ ‰Ò÷€ì÷ä×-Þ‚÷Ö‡f…@)‰†wö…‡f…w‰ØJ‡A  …‡7 ˜f…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7–1@‰Þ‡À �1‡wJf…@wtwp‰ä†w,…‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7ÄÀÿÿF…‡‡Unknown error: ‰€‰‰‰08Gaq‰“­¿Ñáíÿ!*@R^p�ž¯Ã×è÷+AP\"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededREAD_MEÞØ9¤�4November 13, 1977 The files in this directory belong in /usr/bin. The only ones not documented are "lock" which lets you supply a password to lock up your terminal (so you can go to the bathroom...), rout which cleans old junk out of /tmp, and teco which is of unknown origin (its mentioned in the Pascal document so I threw it in.) The programs "dates" "public" and "procp" all need to be setuid. Dates requires the creation of a data file "/usr/lib/dates" and public a directory "/usr/public"... procp needs to be able to read the memory. Procp depends on your system configuration and will, most likely, have to be recompiled. The programs pi, pxp, px, ex and ashell as well as trek are in their own directories. The programs cpall/cptree in this directory can help you install all this stuff... Bill Joy CS Division Department of EE and CS UC Berkeley Berkeley, California 94704 (415) 524-4510 [HOME] (415) 642-4948 [SCHOOL] P.S. Note that `l' and `ls' were linked together, and should be linked again if you wish to use them... ashellÞØ9í‘j]À3:``! ð€&Ð 6÷ ¶ß N0‰w Ì0ÆåÎ@ß â$À Î@ß ª$ß ,$ß Þ-@ ß RÎß N07 TI@0  7FI÷ >I æ/ß HÖ À  À5�øÿ7 IBÂe ÎÚ¦ß ¸Ö ÷ I Žß öÎ@ß ÄÎß N0@" Î¦ß ¸Ö μ@ß ª$Ë‹õ‹øÿÃ@ÄË¥-ËÅ€ƒ Ë‹øõ’öÿ Ц÷ \*Ö &&÷ R*Ö €eÀe&æ÷ °*–%&ß È+Ö 5ôÿÄ õ‹øÿÌ‹Î@fôÿß ˆ+Ö Žfôÿß ˆ+Ö ŽÎeöÿfôÿß ¸Ö Nôÿß P#S�öÿ·Î*Hß Ä÷ H ÎHß „ÎHß P#Î@ß „Îß N0wFÎÚfÎeöÿß ¸Ö ÷ *FNÎeöÿß öΈ@ß ä wR-ÄË Î“@õÎfÎeöÿß ¸Ö Döÿìw -÷ #C÷ à)7~Dû¥- À7�lD÷ vÀ ÎÌHß €#Îô@æ¶@ß j%Ö ÎLHæû@æö@ß „%–%÷ 2DÎAÎ Aæ @ß j%Ö Î Aæ¬@ß j%Ö ÷ ´,ß ¸#æ²@ß j%Ö ÎFHæAæÈ@ß „%–%Äß .-„ Ä%ùõ%DÂÊ¥-€”ÁÎ@7:< þy ÷•¤C÷•:DÊ‹ïÃeõ ÷‹�C'õ%#Î#Aæ @ß j%Ö Î @ß & ß .- Â¦ß ô-Ö À Îß ÄÎ$Aß „Îß N0ÎdH& ß À-Ö À ÎdHæß À-Ö À û•-õ Ãeõ õCÎfß fÖ Î2Aæ¼@ß j%Ö ÎAAß ÷‹àBÎKAß ÷bCÖB÷�^CÒB÷�ZC¼B@È¥-·ŠºBÎæß º.Ö Îæß º.Ö Îß À÷‹ŽBÎSAß ÄÀ�€Bß „w+õ%÷øB÷•òBÎ"Aæ @ß j%Ö Î @ß &û•-·Š:B_´w Æ*ÆåÎÌHædHß È+Ö NædHß ˆ+Ö  ß b-5øÿ ß .- ædHß ô-Ö 5öÿ ß À ß .-Nøÿß b-Nøÿß .-wp*w `*õ Îæß º.Ö Îæß º.Ö 7аAÎ[Aß  ß N0w4*w $*÷ *÷‹�A 7ŠŠAw*“ß X„ Ì‹ù÷ Π@ß ª$õ ôß Äðw ä)7 NAÎ@Hß ÷ BAÎ5 øÿÂe µ øÿÂeÊ úÀœ@-øÿ ÎxBÎŒBß ä ÀÙÀœ@-øÿô&Îe û Ö 5øÿó5ìÇw ¦%Îæß º.Ö w %w �% æß º.Ö wŒ%w |%÷ øÿw€%w p%wx%w h%DÄeÎß RÎß -À À$=ÁB7\6 þyζ@ß ª$Ë‹êΡBß ä w&%ΫBæß ü Ö ÷νBøÎÙBõÎíBß ÄÎÔ<ß ÎöBß ÄÎøBæw Þ$Î:Hß ,wÞ$w Î$Æå5 öÿDÂ5€ÂE€ÿµ öÿÂ%"̵€  Â5€ÂE€ÿÂ%"„ “õµ öÿ•ãNß p+@möÿ€ æß à+Ö 5øÿDÓ•\“�Â5€ ÂE€ÿÂ%"„ “ôÓ•"•Â5€ëÂE€ÿÂ%"ä̵€áÓ•"“�ë@øÿw$w $wÖCß â$À  wà!÷ "ß \Ì û? *>÷e$>÷ $>íÀÆKëw ª!÷ÆK>÷¸I >7 >7 l>÷XMd>w˜!w ˆ!æ õì=øÿ7 R>Nß ÀNøÿß €wt!w d!D Î&ß ¦+Ö À Ì‹ÃeÃ-¨=ñ‚ÄeÀž=Àeþÿ!ç‡w4!w $!æ õò=øÿD_Ø÷ NÌ¥*9Ì¥?6Ì¥[3÷%¼MÌ=ñƒÀÆ=· Â=•í÷ ¼=ÎECfß ÆÖ ?<=÷e6=_ÎÂMæXMß 1Ö À kÎFCæXMß ÆÖ ?=÷e=· =\wøÿf=Ä D-‚Ì¥/ù÷ ¼ ÷%¼MJ=ùƒŸB=· >=µ 5!ò†?Š0= æXMß ô-Ö  ÷ =3ÎXMß ÄÎGCß · =„ ÷ (=æèMß >Ö À ÎèMæXMß ÆÖ ?p<÷ej<· j<ÎææMæß ,.–%À%ÜÎß .-wøÿ®;ÀEÿŸÀ%@Ë‹Î�CæXMß ÆÖ ?ª:÷e¤:· ¤:Îß Àwðÿü:?Šø:˜w Æ:DÃ%ÂK‚÷ 8þ•ÀE€ÿ�öDà Ã%ÂK†÷ þ•ùÄR:÷N:wèw ØNß „÷ ¾wÔw ÄDÎæß à+Ö 3ÀðÃ÷ D û¥ êô3w’w ‚D ôÎß P#Îß ,4!ò4wdw TÆåCÃeöýõôý÷ ° rÁ Áe‚CA! þy 5‘øÿ÷ ”ß X@�øÿ!'Ä% ÷ n4÷Df4Š7‘ü40õ ôý%ÀU€�á‘ 7‘â4Î!D&ß HÖ À Š7‘Ê4‘÷ (ÎD&ß HÖ À åõ ôýñ÷ 4÷$D45Š÷ýNÎeöýß €#wŽw ~ÄøH Îæß à+Ö 3ôLõeõ õ é÷ wNw >÷øHN4÷ w<w ,7 B4Ä:4· 84Ä úÎ,4Î ß ¸#æÂ@ß j%Ö ÷%4ÎÂ@ß &wøw èDÄeÌ Àß ,$Âà3 à ‚à à øƒ ‚ ÷à  Î8Dß ä ·®3÷ dÿwœw Œ÷‹’3_Ä�ˆ37Š„3_VÄ%. ÷‹z8 Îr3æ.ß HÖ À N^Àf37`3I÷Z3N3Î R÷‹B3Ä�<37Š83÷  Ä%\ß X÷ ŽÄ% Ä ÄU€÷‹3_bÁÔC7à- þy÷‹þ2Î]ß X7Šð2Î}ß X÷ Ö2ÆÄŸÐ2· Ì2Ä £÷ Î2±7 ¾2Î]í7ŠÂ2÷ 2÷JD2Î ß XwšÀ�¦2Àåþÿ ƒ_NÀ xÊC÷•ÿÿŒ2Î]ß XÎ:É÷•x2Î:ß XXß X7ŠX7÷ ¾ß XÄ%. ÷•@7÷ ¦ß XÀå$ ‚À xäCß ìÀ ß à7 2˜÷22)Ä%{ß À ß r7è1÷‹ð1‚ÀE€ÿ›Î²@ß ª$7Ê1 ÷%Î1ÀÄ17À1÷¼1°1Î[_ß X÷‹¬1__nÄ%$—ß X_nw rÆåDÄeæÿõ¥{T�w�äÿ`1à c÷ º0÷dD²0 wJ@Àeùÿ!†@�äÿß XT�äÿ÷ œ5�äÿ@�äÿß À éŠNÎeæÿß â$õ¥{Ð@�äÿÁòC7þ+ þyà ÷•ÿÿø0÷•þÿð0÷•:Ú0¼w�äÿÒ0÷•ÿÿÜ0µÎ?ß Xà ÷•È0³÷•þÿÀ0¯@�äÿß X÷ 0§÷TDú/£À¢w ‚æ ÷ ô/÷%ì/ ß N0,ÀÞ/· Ú/’&÷Ð/Ä ÷¥Æ/ìÎfÎeøÿ& ß ,.–%À%÷• /÷  D�øÿÄ% ÷‹’/÷ŠŒ/Ä Çww Dß ìÀ Äå0Ä-0 ÀøHwìÄ úÃî/Ä ÃÄ ûÀòw ÄNß àw¾ÀwDûw ¨DCÄ ÎØDŸ&ß HÖ À òÎ&ß xÖ w€ üw læ 5 øÿDD-]ŸÀå& ‚À xxDµ øÿîõ øÿõ øÿø÷ ž.õ÷ÜD–.ñõ øÿîfß \Ö Ê%Îæß à+Ö Ëóa³ÂòUaÎæß à+Ö Ë3 ³N&ß <Ö 3ÀNfß \Ö w®õ øÿô÷ .÷éDþ- ów ˆæ 5 øÿDD-3ŸÁ€D7 * þyµ øÿîõ øÿúõ øÿ÷Îæß à+Ö Ëfß æÖ 3N&ß <Ö 3ÀwNfß æÖ öw þæ 5 øÿDD-FŸÁ”D7–) þyµ øÿîõ øÿúõ øÿ÷Îæß à+Ö Êfß –Ö 2C-û¥* ò€Àð‹‹ ÄN&ß æÖ 2€wnNfß –Ö öw NÆå 5 ôÿ5 òÿDD--ŸÁ¨D7ô( þyµ òÿîõ òÿúõ òÿ÷t-óÎöD’&ß HÖ À èõ ôÿåõ òÿâµ ôÿßõ ôÿ5 ôÿNôÿÎeæß à+Ö 5 ôÿ@È¥)ó5 øÿ5 öÿ5 òÿDD-_ŠŸ5ðÿÁ¼D7^( þyõ òÿ õ øÿ÷ Ø+÷ûDÐ+5øÿµ òÿÛõ òÿõ òÿø5öÿõõ òÿòt- ü¥>óUt-ü¥*óU€ð‹Œ õ òÿËt-÷ P+Ä÷ EH+ÀÎ$EŸ&ß HÖ À ÷ *+±÷(E"+­õ%<ðÿ ó ÷ +£÷DE+Ÿ3œó ÷ ô*–÷XEì*’3�õ òÿŒ@ôÿÀ À`0 µ ôÿƒõ øÿõ ôÿ÷ ¼*÷qE´*ËNöÿføÿß xÖ 3õ ôÿ÷ ’*÷”EŠ*@ôÿÀ À`0 ËÀww DÄ #Àå ‚À xÐDÃe Ë Îß P#Ãeøß âß P#ß P#ß ,w¼ß âß âòw šÆåõ `@Àå Y‚À x°EõdøÿNß ² À Mõ øÿNÎe ß rÀ ïõ øÿAθE@& ß ü Ö 5ÎÎEß „0õ5öÿ Nß .-@ß .-õ5@öÿNøÿß ÎàEß ÄNøÿß ¸#æ¨@ß j%Ö õ5öÿõ5öÿNøÿß ^'wØD5öÿ5 øÿõ5öÿ÷ h5øÿõ%ÿÿøÿ¶õ øÿ¸ÎâEæ @ß j%Ö Î @ß &5ðÿ& ß .-Nðÿß R5ðÿÎß N0Nðÿß Ð! fðÿß ô-Ö À Nðÿß ÄÎãEß „Îß N05îÿ>ýÅ€ÿîÿµ îÿý‹îÿøNîÿß Ð!5îÿÎß .-õ5öÿÎfîÿß ô-Ö À Î& æß –.–%Τfîÿß D-Ö À ß ÄÎñEß „Îß N0õ5öÿ ß .-Nß b-Nß .-@ß .-õ5öÿÎß .-@ß b-Nß .-@ß .-õ5€öÿÎß .-Îß b-õ5 öÿô  õ5öÿ  ß .- æFß ô-Ö õ5 öÿ÷‹€'  æß º.Ö  æß º.Ö Ì%@öÿÀEßÿ4Pß JÎß N0ß @5öÿNÎeòÿß .@@öÿÀEÿÀU4PNÎeòÿf&ß J–%@@öÿÀE–ÿÀU4PNfÎeòÿ&ß J–%_@ÀEßÿ5öÿ@t]öÿß J@t]öÿß J_w DÔÅ€ÿýww DÆåÄe÷ êc€’ß ìÀ µøÿ‚ µ øÿÎ ð5þðùaFûÄ ß Î¶Gß Äææ ff÷ ŒÆeDÀ r<ß * DÀ r<ß À r<DθGß Äß *wÔw ÄAÀ r ß AÀ r Nß w¬w œÎæß º.Ö ÎºGß Ä÷ twŠw zDÄeÌ ß ,$ Ãÿÿ÷‹ÐΠ@ß ª$È‹ÎH*æß º.Ö Îß ^'Îæß º.Ö Îß ^'w*7j ÷`õ÷ ºÁ Ó•- Ó•0�”B~Á>Ó•. Á Ó•0…~Á ”B~‡7 ÷õ÷ rÁ Ó•-”Ó•.ÁúÁ ”B~Ó•e �Ó•- Ó•+ r Àe0�Áe0S�‡w tD ƒ Ô‹ýÀwlw \DCÔ‹þ™Ô”þ€wNw >DC£Ô‹ü w4“Á˜@àúw DCÔ”þ€ww AupB‚ ÂEŽß (,Ä%ÿÿÄ  wè‚  ‚~øw ÌNß ú,wÌw ¼÷Uœ÷U˜Ã–DÄe„ Ë5 ‹ÂÊ5ûÀ À`€ :†ÂÃÃEÂ-dëƒÃ-^è‚Ä%ÄÀ ß N.7†!?BÀ%ÿÿÀÿÿwTÀ0ÀeÀ-h!ÿU À ÀmX!Àeþÿ?P!7 ÿÎGÿU³À À`7ò †ÿêÀæÀU ÀÀeÑw ê@Àeþÿ7ÈÿEÂwàf…wº‰ÖG†w …‡f…@‰†wî …‡f…wŽwЉÚG†wÎ…‡f…@)‰†wº…‡f…wbw^÷ æðæ–-‰àGwŽf…‰†w€7f …‡f…‰…‡f…@w‰æG†wT …‡f…€"‰†w> …‡f…wîwê‰êG†w…‡f…*‰†wBJ …‡f…@w¸w´‰ðG†wâ…‡f…÷¤ wmš‰öG†wÄÀŽwmˆ…‡f…wx‰öG†w¢wj …‡f…@wZwV‰üG†wx …‡f…AW †@w4Á fN1N7( À5Á Á Áe/w‰H ‡À5€…‡À& Ö w&ÀL&ÀúH&ÀôD&Àî@&Àè<&Àâ8&ÀÜ4&ÀÖ0&ÀÐ,&ÀÊ(&ÀÄ$&À¾ &À¸&À²&À¬&À¦&À  &Àš&À”&ÀŽf¦æ&È „ƒ‚�€f…0‰â/@‰‰ ‰…‡f… ‰¦BR‚…‡f…w‰H…‡f…÷ H&‰†Ö w Ö }…‡f…@wÔwЉ H†wâ…‡f…÷ ä@‰fA… w,üÿ¦Àw" Àe"w"–Àew"Œ@lw"„AlÁeæw¬w &@Àtùÿ`Áe€Ø€ …‡w wpwlwÅbõ`w @…&æ¦È B„ƒ‚F…‡f…‰…‡f…ww ‰$H†w …‡7˜ÀÿÿF…‡‡ ð6þvþò&û€�ð‡ ð6þvþù&û€�ð‡ ð6þøvþCøùó€@Cò�ö¦û€�ð‡ ð€þvþòûð‡ ð€þvþùûð‡ ð€þvþøCøùó€@Cò�öˆûð‡f…@÷ …‡ ÷xpæ ‰DN"‡Î>‰*H‡@‰DN‡ ÀDN$ô$ttñ¤yîЋì¢é7˜(@‰Ö À�‡Îå&0‰€f…¦5õw È÷ * f…¦5õw ²÷ ½}‚…‡7 ü÷ô¦ðWð€&øføæÁnN 7 Ü@ñð%· ÐÀñó€@Añð&ø@øÃ–N7óRø@ø—ôL>—ó BÀûÀe0#�‚ @ñððÁnNÑ”× –Nü‡õ ‚  ó BAñðú‚ ÷ ÷  üW –N†Îeó B@ûÀe0�‡ÀnNÀmð÷ L€` nN‡’ÃeÈ�¢9 È•0 nNƒ ŠöÈ•1‚ ÁÀ¸÷ €`0ŠnNÀnNƒVõõVð‡niceè´´´†œNo match /: Cannot find: Cannot open: No interpreter : Execute failed: Not enough core: No execute access[?*: No match: AmbiguouspromptpcsshellpidhomepathnargstimeVcitvú¨äô®´/etc/htmp.0404/usr/bin/px# ¦ /usr/bin/ashelltyme: Cannot open-/bin-/usr/bin/.profile/.loginlogout /.logout /etc/passwdB| Bj*Bü#B¦*Bâ!.Bä%4B :Bn BB† IBê RB„YBT ^B> eBÐkBh qBt sBè& Ü â Î è chdirwaitshiftrewindsetunsetaliasunaliasinterpuninterplogoutquitnoquitallocabort:tyme: Too few arguments: Too many arguments: No home: Not a directory: No such file or directory: No execute accesserrno = : bad directory !?! : Restricted: */?[6ÈJD´<noglob: cannot openArg list too longPath too long: missing ]ŠC’CžCªC  ) $¤Æ$Æ$¤†NNNr :}>ZN ÖÖÖÖÖ.:?}*FUnmatched ' or " '" ;&<>()|^ "'Too many characters: Count too largeMissing }Variable syntaxUndefined variable¤ ª ();”„Ž”ˆ()^|()<>ÄÎÔÔþ()<>n–ô¦r88;& Too many )'sToo many ('s<>(*Badly placed (Missing file for redirect<>(Syntax error in redirectionMultiple < redirectMultiple output redirectOnly redirect allowed outside ()'sInappropriate empty commandl$!�!: Alias loop detectedNo more processes : Cannot open: Cannot create/dev/null=@L"N"V"j"%&*+-/|6# #D#ü"###J#: No variable: Garbage after @+-: Missing =: Divide check: Mod check: Bad operator: Badly formed number: Bad parameter: UndefinedìFóFøF GG$G-G@GGGQGhGxG„GŽGHangupQuitIllegal instructionTrace/BPT trapIOT trapEMT trapFloating exceptionKilledBus errorSegmentation violationBad system callAlarm clockTerminateSig 16: -- Core dumpedu s % .::wait: Interrupted ÐGÎGÐGÐG ‰‰ ‰ ‰‰‰‰šN‰0‰+‰‰ß Ö –%ÆewÞ·ÿ‰/devÌ>ÌÌÌÌÍÌ crt0.ostartsh_exec._gflag®I_exerr°I_expath²I~doexectcpppavslashøÿpathcöÿvpôÿ~texec¸ftt1iwøÿ~scan¸tfpc~tglobÚc~trimc~prnna~globoneRstrgvöÿgvpsh.oÆ~mainÆcavfvcp~pfilecpoldinputøÿcöÿ~goodbye„f~processÀprocp~main1t~echoXc~err„s~prsÄoss~digitìc~letterc~anyHcs~gethomehbuf–ÿibufpcp~readhom8 htmpføÿ~exechomž statusøÿreenter´I~getpw´ uidbufpbufúýnbppbufppwføýmöýpbufcôý~xid& bufiuidøÿbpcsh_func.² _bfuncrA_bname¶I~func² tbptpiøÿ~noquit> ~quitT ~aborth ~dozipt ~chngd| vpdp~prvars ~unquote ss2øÿiöÿcpdpc~setnameÖ cp~bferrä cp~bferr2ü cpcp2~doalias vvpp~unaliasn v~dointer† vip~uninterê v~interpwvp~plist,vpcp~aliasrtap~doallocÐcpøÿsh_glob.ö_ab¸I_avaÂK_avRM_stringTM_ncollVM_gpathXM_gpathp¼M_globbed¾M_entpÀM_stbuffÂM~globöv~ginit:~collect\asoavøÿ~sort€oavp1p2c~expandÀascssgpathpøÿdirfentryæM~toolong~gpather&~match>spcsentp~amatchzasapspscccøÿccöÿokôÿlcòÿsgpathpðÿ~catÆas1as2s1s2~panic strsh_lex.o ~lex hpwdp~freelexbvpfp~word�cc1øÿlplbuföýiôý~setargsfcvvplvp~rewind¦~setnarg¸vp~shiftüvnvp~getcXcdoldotøM~dolvblrscnpvpnameæÿcäÿ~readcbccøÿccp~rgadrofàrtp~rgvalue rtpsh_parse<~syntax<p1p2~syn0xp1p2ptt1løÿ~syn1\p1p2ptløÿ~syn2æp1p2ppntløÿ~syn3–p1p2plpøÿrpöÿtnôÿlòÿcðÿ~freesynâtvsh_sem.oJ~executeJtpf1pf2iøÿföÿpvòÿt1cp1ðÿcp2îÿscpìÿ~stripÐ!cpsh_set.oâ!~dosetâ!vrppvpøÿcöÿopôÿ~operateÆ"opvppvlvr~xfreeP#cp~savestr€#s~putn¸#nnumberúM~putn1ô#n~getn,$cpnsignøÿbaseöÿ~valueª$var~value1À$varheadvp~adrofâ$varvp~adrof1$%varheadvpcmpøÿ~setj%varvalue~set1„%varvalueheadvp~unsetä%v~unset1ü%vheadvar~unsetv&var~unsetv14&varheadvpsh_wait.x&_mesgÊF_times0N_time0N_timflgN~secsx&befaft~settimeÐ&~dotimesè&v0vtimesdolîÿtimedolêÿ~pwait^'ipesøÿbefìÿaftàÿbtimÜÿatimØÿ~ptimes„(secbefaft i~p60thsH)li~psecs¦)li~p2dig *i~endwaitH*~awaitj*vifltpr.oÊ*strlen.op+~strlenp+snstrcat.oˆ+~strcatˆ+s1s2os1strcmp.o¦+~strcmp¦+s1s2strcpy.oÈ+~strcpyÈ+s1s2os1calloc.oà+~callocà+numsizep1p2nbyte~cfree,palloc.o(,~alloc(,nbytesnwordspqtN~freeú,pchdir.o-close.o.-creat.oD-dup.ob-dup)execv.ov-rttfork.ož-getuid.o¶-gtty.oÀ-nice.oÞ-open.oô-pipe.o.pipe*read.o,.sbrk.oN.ndúGseek.o–.signal.oº.rttNSIGdvectNtvect/sleep.oÈ/alarmpausertitime.oä/times.oú/times+wait.o 0write.o,0exit.oN0nargs.o\0jsrsdHtstiHcmpiHaddiHjmpiHbri"Hreset.oÈ0sr5@NspcBNcsv.oè0getpid.o1getpidstat.o 1cerror.o,1cleanup.:1longops.<1ttyn.oä1namelNbufDNer1H2dev*HerD2fakfp.oP2ecvt.o`2eflag˜NbufnNsign–Nzer 3one€@lss3gtrÒ2buftop–Ntenth0HepsilonL>ten Bpad 3digit163digit(3out@3outoutx3savr5$¬I_exit"N0_main"Æ_shvhed$:H_paraml$@H_aliases$FH_interps$LH_verbose$RH_nofile$TH_error$VH_uid$XH_loginsh$ZH_doneinp$\H_setintr$^H_arginp$`H_onelflg$bH_scratch$dH_prompt# @_shell#¬@_pid#²@_pcs#¨@_home#¶@_path#¼@_n_args#Â@_tim#È@_errno$ÈH_hentry$ÊH_nic#@_doexec"csv"è0_adrof"â$_value"ª$_getn",$_nice"Þ-_globone"R_any"H_tglob"Ú_scan"¸_glob"ö_prs"Ä_trim"_strlen"p+_calloc"à+_strcpy"È+_strcat"ˆ+_texec"¸_xfree"P#_err"„cret"ô0_execv"v-_open"ô-_read",._close".-_interp"_savestr"€#_prn"_write",0_setname"Ö _bferr"ä _narginp$êH_nonelfl$ìH_nverbos$îH_settime"Ð&_getuid"¶-_gethome"h_set"j%_set1"„%_getpid"1_putn"¸#_unsetv"&_gtty"À-_setargs"f_pfile"_signal"º._process"À_goodbye"„_dup"b-_setexit"È0_echo"X_main1"_lex" _syntax"<_execute"J_freesyn"â_freelex"b_seek"–._digit"ì_letter"_htmp#ê@_tty$ðH_exechom"ž _ttyn"ä1_readhom"8 _getpw"´ _sleep"È/_xid"& _chngd"| _await"j*_shift"ü_rewind"¦_doset"â!_unset"ä%_doalias" _unalias"n _dointer"† _uninter"ê _quit"T _noquit"> _doalloc"Ð_abort"h _dozip"t _dotimes"è&_func"² _strcmp"¦+_chdir"-_bferr2"ü _prvars" _plist",_unquote" _value1"À$_unset1"ü%_alias"r_end$šN_sbrk"N._ginit":_collect"\_expand"À_sort"€_gpather"&_cat"Æ_stat" 1_panic" _match">_toolong"_amatch"z_reset"Ú0_word"�_cfree",_peekc$òH_peekx$ôH_getc"X_readc"b_dolp$öH_paramhd$øH_paramp$þH_dolnxt$I_dolc$I_setnarg"¸_dol2bra$I_rgadrof"à_dolvbl"r_rgvalue" _syn0"x_syn1"\_syn2"æ_syn3"–_pwait"^'_fork"ž-_strip"Ð!_creat"D-_pipe"._operate"Æ"_putp$I_putn1"ô#_adrof1"$%_shprev$I_unsetv1"4&_secs"x&_time"ä/_times"ú/_ptimes"„(_wait" 0_p60ths"H)_psecs"¦)ldiv"R1lrem"h1_p2dig" *_endwait"H*fltused"Ê*pfloat"Ê*pscien"+_ndigit#8Hecvt"ž2fcvt"˜2__iob$ I_alloc"(,_free"ú,_allocs#ÎG_allocp#ÒG_alloct#ÔGcerror",1__exectr$ªI_par_uid$N_brk"v._nargs"\0__cleanu":1lmul"<1almul"Š1aldiv"¤1alrem"¾1fptrap"P2ttyn"ô1_ecvt"`2_fcvt"v2biorhythmÞÒ9É�‚0  ð€&Ð 6÷ –%ß .‰w Æåõ%Îâß ”÷ øÎß 7ˆÎùß ”Îß ”÷ÿÿbõewN÷ 7H÷ ø7B÷ >÷ ì78÷el2ÿ‹( Î,ß ”ÎPß ”÷ Ž5 öÿõ% õewú÷ ¬5öÿõelöÿõ0uôÿõ# õewÔ÷ †5ôÿõelôÿõÈøÿ_ð÷ w-öÿ¸_ðw-ôÿ¬÷ Ä• Õ • Îæ”& ß r–%À% Ä•-Îæz& ß r–%À Ä•+Îæb& ß r–%À%Õ-ÎæH& ß r–%À Õ+Î!æ0& ß r–%À%•-Î!æ& ß r–%À •+Ä¥ Ã¥ Â¥ ÎîæèÀâÀ &€€�&À�&‘&æaß ”Æe @øÿÀedÀ-¼_ö÷ Ìw:w *· ¨·  ÀšÀ ð-–˜ ÷%ŠÎæ„& ß r–%À ÷%p÷h· b÷% \÷T· TwÜw ÌÄŸBÄeÐÿ· :Wp Ÿ0�`DÄeÐÿ· $w°w  Æå~w DÄeÀŸ ·  %ß ¤ôw€7 ü7 üׯò-· ê· è÷†wÜ7 Þ .÷twÒƒÃeÁxBÚ üJ  Ó•-ׯ¨d·  ÷ z r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „\ À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •@à >Á  Ò‹ƒ D~8¤¨÷ þÓ•0 ÷ $f v÷ öÿ€€LÀe0 9Àe�‡ÀÊÂÄ÷ ” À¼Â¶÷ †7¦wˆþ‚Âeƒà&æ Ä ÃmŠ÷ ˆß ¤Ã~Ä Ž”ß ¤à Î ß ¤Ã~Ö „wBþ7 \ ÀŸR· NÀå0 úÿ ‚· :Wp `ìÀe0ƒÄeÓ•?‡f…À"÷ ,ÀP�· ÷ ÷ @…‡f…÷ …‡Àì ÀåÐ7ÄÀÚ€ ‰¬†7¾÷ÐÊ÷Â×-¼‚÷´‡f…@)‰†w(…‡f…@‰@…&æ¦È B„ƒ‚F…‡7fÀÿÿF…‡€�6rw`‡€�6r@‡²¶º¾ÂÆÊÎÒÖÚÞjanfebmaraprmayjunjulaugsepoctnovdecbior mmddyy [yy] [yy] Biorhythm transition predictions ph em in date Illegal input data. Please enter mmddyy of birth %c %c  %c %s %2d %d d¾o¸xúfe–c¤sl$urüÿðÿýÿøÿ‰ÐblockÞÒ9É� |~ ð€&Ð 6÷ ß 8‰w &Æåõ% NÎeôÿ@&ß ìÖ À Î’ ß Îÿÿß 8@5žèÿõøÿu-øÿ_è@øÿÀ @m5ìÿ5 òÿ@ìÿ@mòÿÈ‹\@ìÿ@mòÿÈ¥`@ìÿ@mòÿÈ¥{ æ @ìÿ@mòÿ’�åH�@ìÿ@mòÿÈ¥ @ìÿ@mòÿÈ¥@ìÿ@mòÿÈ• @ìÿ@mòÿÈ¥@ìÿ@mòÿÈ¥a æ @ìÿ@mòÿ’�åH�@ìÿ@mòÿÈ¥z@ìÿ@mòÿÈ¥ æ:@ìÿ@mòÿ’�åH�µ òÿž5 ðÿõ%ðÿE5 öÿu-òÿöÿ8AìÿAmöÿA’WpAmðÿWpÁe|uêÿ5 îÿõ%îÿ@êÿ@mîÿÈ‹@�èÿß ÈÎ ß Èµ îÿé5 îÿu-ôÿîÿÎ ß Èµ îÿõµ öÿÄÎ ß Èµ ðÿ·Î ß Èµ øÿ_`wbw n õ¾ ðÿBõôÿW¯-W¯+ B‚ W¯-õÿÿôÿ5 òÿ€@mòÿ¢0 €@mòÿ¢9µ òÿñW-òÿõ òÿ€@mòÿÈ‹ÀÿÿVW-òÿ' õ òÿ €À`AðÿÁ` ¢ƒ ô5 öÿC-öÿ €@möÿAðÿAmöÿ ¢µ öÿñC-öÿõ òÿÀÿÿ+=  õ òÿõøÿ @òÿÀàÀ !AøÿWp uøÿ„ ò�Á`A’ÁeÐÿupøÿ}`ƒ àAupôÿ} wVw (Æå~wÚ DÄeÀŸÐ · Ê  %ß Èôw7 ¶ 7 ¶ ׯ¬ -· ¤ · ¢ ÷(w– 7 ˜  .÷wŒ ƒÃeÁÄ BÚ üJ Ó•-÷ R r f÷ ðÿ€Àe0�‡•à •@à >Á8  Ò‹ƒ D~8Âì Âð ÷  Ó•0 ÷ $f v÷ öÿ€€LÀe0 9Àe�‡Àâ ÂÜ ÷ ” ÀÔ ÂÎ ÷ †7¾ wæþ‚Âeƒà&æ Ä Ãm¢ ÷   ß ÈÃ~Ä Ž”ß Èà Î ß ÈÃ~Ö „w þ7 t  ÀŸj · f Àå0 úÿ ‚· R Wp `ìÀe0ƒÄeÓ•?‡f…À: ÷ ,À0 P�· & ÷ ÷ @…‡f…÷ …‡À Àå 7èÀò€ ‰ô ÷ è÷à×-Ú‚÷Ò‡f…@‰@…&æ¦È B„ƒ‚F…‡Õ @…&æ¦äHÅåF‚ƒ„…‡BLOCK spacing plotchar line1 line2 ... 32767ŒdâoÜxf,eºcÈs˜l:rüÿðÿýÿøÿ‰ boxÞÒ9í�šrepeat 5 echo "*" $* "*">/tmp/bx$$ /bin/ed - /tmp/bx$$ 1s/./*/g 2s/[^\*]/ /g 4s/[^\*]/ /g 5s/./*/g 0a . 1,$p w /dev/null q rm -f /tmp/bx$$ >* /dev/null cat3aÞÖ9í�N � ®Œ ð€&Ð 6÷ ß X ‰w J Yõeõ õ @È¥-@ð‹ Îß Òõ õe÷ :õ " ß î΀ fß ~Ö À Næº ß ¬Ö Îÿÿß Ò÷ `Îß X õ õe΀ ß Ä%ÿÿß Òôõ ÌÎÿÿß Ò÷ $w¢¦w �DÄ%ÿÿÎß ?‘ · œÄ% ÷%~ �‚ ß wfçw Tv?Šx÷> rÄ> Ì‹b•ÀVÁV À rP7`\7 H ñÁB À rP7`HÁ4 À rPw* ÷ & ÷ ÝΘ æß œÖ 7 7 7  7 η ü Ë÷eô ÷Eî ÄÁè À rP7`î· ê7 Ö ¸÷ LΘ æß œÖ · Ì· ¼ •Ã% òÄ ¦Áž 7Ê  þy œõ ÷ Θ ß Àwr‰w `_Ž÷%O‚Á|À rP7`tÁnÀ rPwd÷%` ÀZÀeéÿ7àT÷L÷%O8 Á2 À rP7`8Á$ À rPw ÷%$Ä÷÷ €ÿÄ- Θ æ ß œÖ Ä ô_ŠÃôÃíîÄÜ ÄíäÄ  Ä`÷ Ôƒ ÃmÀ Ä%Ã%6! Θ æ ß œÖ 7 ª÷-š ¤ · žÎ˜ æ ß œÖ ò÷-~ ˆ ÷ ‚Θ æß œÖ ò÷-rn · hΘ æ ß œÖ ò&Θ æß œÖ Θ æ=ß œÖ Θ æ4Îe ß œÖ Θ æ Îe ß œÖ ÷÷þ wä_ w ÐΈæß Ö ÷â â ÎØæß ,Ö 7Ò ÷EÈ Îˆæß : Ö wœàw Š÷ Îß X w„÷w r÷” � Έæß : Ö Î‚ æß ,Ö wVìw DD*ô ô Ÿ´ Îß Î&Îe&ß –%4ô Àÿÿ Àe4ß wöÕw äDC &ß "Ö Ë Àÿÿ3 wÈðw ¶Æå~wÞ DÄeÀŸÔ · Î  %ß Òôw–7 º 7 º ׯ° -· ¨ · ¦ ÷¸wš 7 œ  .÷¦w� ƒÃeÁÌ BÚ üJ Ó•-ÀŸf · b  o^ xU d÷ L ÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁÊ Â ŒÒ‹ƒ D~C    v÷ �Ó•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡ÀVÂP÷ ” ÀHÂB÷ †72wVþ‚Âeƒà&æ Ä Ãm÷ ß ÒÃ~Ä Ž”ß Òà Î ß ÒÃ~Ö „wþ7 è ÀŸÞ· ÚÀå0 úÿ ‚· ÆWp `ìÀe0ƒÄeÓ•?‡f…@‰†w‚ …‡f…@w‰ †wd …‡f…wòwî‰ †wD…‡f…wÚAɉ" T‡  Rf…Añ ÷ ^ñ y�± ñ ÷ Fñ y�± @3f…Añ ÷ ñ @9�± !f…A÷ @Àe&7PwL7àF@‰( †7®±ñ‡w~7 Œ…‡f…@ww‰. †wX…‡f…AW †@wôÁ f¢1¢7è À5Á Á Áe„wÔ‰4 ‡À5€…‡À& Ö wü&ÀL&ÀH&À D&À@&À<&Àú8&Àô4&Àî0&Àè,&Àâ(&ÀÜ$&ÀÖ &ÀÐ&ÀÊ&ÀÄ&À¾&À¸ &À²&À¬&À¦f¦æ&È „ƒ‚�€f…@wô‰: †w. …‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7ÀÿÿF…‡‡> ìÿìÿ  @Œš,h†²%s: Cannot open "düoðxDfReÂcÐs.lNu`rrDøOìXüÿðÿðýÿøÿà(null) ‰‰‰¶‰‰0‰‰chownall,#:À�Bv ¼2 ð€&Ð 6÷ –%ß $ ‰w  æ õeõ õ _4DÌ¥-_4„ Ì‹· è •Á 7r  þy· ÔÌ‹óõ õeÛ÷ Â`· ¼õ>øÿ÷ ¸W· ²õDøÿ= øÿÌ¥0Ì¥9ÎÖ ß LAøÿWp •�`ÁeÐÿ}øÿÌ¥0Ì¥9ðý%ÿøÿÇNøÿæì ß LÖ ¿÷ X÷ JÎ ß L· D· 8ß 70ÀEÿ70À$tøÿÀEÿ77· Ì‹š„ üõ Îv æ€ ß ’Ö Îß $  ß $ wà ÷ ä ÷ Ö Î2 ÷ È ÷ Ì ÷ ¾ ÎG ß Lõ âw¸ ÷ ¢ ÷ ˜ Μ æž æ ß ’–%÷ Œ Ά æ¯ ß ’Ö Næµ ß ’Ö ÷ ÜNß zõeõ Îw @ @ÀEÿtAÁEÿ@P7D ÷ , ÷ 0 #õ-. õ-( ÷$ $ À w ÷  À À ÀEÿtÁö ÁEÿ@P7ö è÷ Ü âõ-ä ÞÀÒ ÀEÿtAêw °Æå°NÎeNÿfß H Ö À NæÅ _‚@RÿÀEÿŸÀ%@Næ× _‚ fß Â Ö 5LÿNæí _‚÷ X D@�Uÿ7^ @�Vÿ7X ÷ R À ÷ D Næ ß ’Ö Î, æ% ß ’Ö Îg ß ’Îß $ ÷  ÷  õ‹UÿNæo ÷ ö ÷ è õ‹UÿNæ— ß LÖ · Ê cNÎetÿffÎe‚ÿß ä–%õ rÿUNÎeNÿfÎe‚ÿß H Ö À NÎe‚ÿæÃ ß LÖ @RÿÀEÿŸÀ%@ÎÕ fÎetÿß ŠÖ À 0ÎØ fÎetÿß ŠÖ À NÎe‚ÿß z@�Uÿ@�Vÿ&ß êÖ À-D Î@ fÎe‚ÿß ä Ö À%ÿÿ Î* fÎe‚ÿæÚ ß L–%ÎfÎerÿfLÿß à –%À% À5Jÿ‰À%ÿÿNæõ õ Jÿ õ%JÿNæ ß LÖ NLÿß  ÷ ¢ %÷ ¨ ÷ š ÷ ” ÷ – Δ æ’ ß êÖ fß ä Ö À%ÿÿ Î| fæ.ß L–%wVw FÂCÓ‹ƒ~À€àC‚ Ó‹ýÂ%d NfæIß L–%DCÔ”þô•/ÿÿCÂÔ”ƒ~Š@wîw ÞÎv æeß ’Ö N fffß ’ÆeÎ ß êÎß $ w°w  DC„ £Ì‹ûã‹ wŽÀûw xÎjß ’÷ à�‘Ë÷ Ò�Ã¥ øÄ¥yÎß $ wPw @ÎfÎeæß  –%w4w $Æåõpîý fîýß Â Ö 5ôý Îæ|æß  –%Î ß $ NÎeôýß ~ 5�ðýõ‹ðý Î%æ•æß  –%Î ß $ uòýNÎeôýß ~ 5�ðýõ¥:ðý@òýµ òýH­ðýîõ¥ ðýÏõ‹ðýfNÎeôýß ~ 5�ðýñý‹òýîNÎeôýß ~ 5�ðýõ‹ðýQõ¥:ðýò5 ìýNÎeôýß ~ 5�ðýõ¥0ðýõ¥9ðý AìýWp B�ðý�`ÁeÐÿuìýõ‹ðý.õ¥:ðýß5 êýNÎeôýß ~ 5�ðýõ¥0ðýõ¥9ðý AêýWp B�ðý�`ÁeÐÿuêýõ‹ðý õ¥:ðýß@êýt@]ìý Îæ»æß  –%Î ß $ w¨w ˜Æå~w¼ DÄeÀŸ² · ¬  %ß êôwx7 ˜ 7 ˜ ×¯Ž -· † · „ ÷†wx 7 z  .÷twn ƒÃeÁÔBÚ üJ  Ó•-ׯD d· < ÷ z r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „\ À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •@à >Á¼ Ò‹ƒ D~8ÂÂ÷ šÓ•0 ÷ $f v÷ öÿ€€LÀe0 9Àe�‡ÀfÂ`÷ ” ÀXÂR÷ †7Bwˆþ‚Âeƒà&æ Ä Ãm&÷ $ß êÃ~Ä Ž”ß êà Î ß êÃ~Ö „wBþ7 ø ÀŸî· êÀå0 úÿ ‚· ÖWp `ìÀe0ƒÄeÓ•?‡f…÷ ª÷X¤Àœ‰X ‡À À 7Œ À߈· „…‡7v 7 t…‡f…ww‰†wj …‡f…@‰†wT …‡f…wì‰J‡A …‡7 f…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7n1@‰‡À �1‡w¦f…wPwL‰†wŒ…‡f…@w4w0‰ †wj…‡f…@ww‰&†wH…‡f…@‰@…&æ¦È B„ƒ‚F…‡f…wÜw؉,†w …‡7äÀÿÿF…‡chownallusage: %s [ - ] [ -nname ] [ -a ] [ -g# ] [ -u# ] directory ... agnu`tæ†:bad user/group numbergroup/user number too large (%d > 255)Can't specify -n with -g or -ano changes specifiedall option requires both user and group to be specifiedlast chance before scribbling uid %d and gid %d (%s) all over "%s" "%s": cannot stat"%s": not a directory"%s": cannot open directory"%s" is owned by the root .I don't think I should change all group 0's to group %d's there. Sorry. owner of "%s" is uid 0 in his group !?!owner of "%s" is not uid 0 of his group !?!"%s": cannot stat...can't chown "%s" to %o !?!error reading "%s":panic: bad directory structure: "%s"can't chown "%s" to %o !?!path name too long: "%s/%s"%s: ok ? /etc/passwdCannot open /etc/passwd User name not found in password file Password file illformed d¼o¶xøf e”c¢sl"u rüÿðÿýÿøÿ‰‰‰‰‰‰‰clockÞÓ9É� .Þn ð€&Ð 6÷ –%ß ˆ‰w ¬Æå÷ lÎ’æß HÖ NÎeöÿß rNÎeöÿß ²Äe æ.ß ÂÖ NÎeöÿß rNÎeöÿß ²Äe æ7ß ÂÖ Îß V× æwDw 4ζæß HÖ Îß V× ùw w ÷ æww Æå~w\DÄeÀŸR · L %ß Òôwä7 87 8ׯ.-· &· $÷†w7  .÷twƒÃeÁFBÚ üJ  Ó•-ׯäd· Ü÷ z r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „\ À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •@à >Á\ Ò‹ƒ D~8ÂrÂv÷ :Ó•0 ÷ $f v÷ öÿ€€LÀe0 9Àe�‡ÀÂ÷ ” ÀøÂò÷ †7âwˆþ‚Âeƒà&æ Ä ÃmÆ÷ Äß ÒÃ~Ä Ž”ß Òà Î ß ÒÃ~Ö „wBþ7 ˜ ÀŸŽ· ŠÀå0 úÿ ‚· vWp `ìÀe0ƒÄeÓ•?‡f…À^÷ ,ÀTP�· J÷ D÷ @…‡f…÷ …‡À( Àå: 7dÀ€ ‰z†7à÷: ÷þ×-ø‚÷ð‡f…AW †@w$Á f: 1: 7 À5Á Á Áe w‰€ ‡À5€…‡À& Ö wD&À”L&ÀŽH&ÀˆD&À‚@&À|<&Àv8&Àp4&Àj0&Àd,&À^(&ÀX$&ÀR &ÀL&ÀF&À@&À:&À4 &À.&À(&À"f¦æ&È „ƒ‚�€f…0‰p@‰‰ ‰…‡f… ‰¦BR‚…‡f…@‰w 4wÈwÄw2źõ¸w$w Nß Èß ¾ww þÆåDÄeòÿL@4À¶ &ß Ö ß âÂõwøÿõ/öÿó%J ó%K À t5~øÿÀ t5€öÿNøÿæß ¤Ö 5øÿNöÿæß ¤Ö 5öÿ÷ H B-øÿB-øÿó%B-öÿB-öÿó% Î&ß Ö ß â³ Àw2w "DCÃ%: ß `Àe“þ`Áím Áe¼À rfÀ€åwôw ä΀p@&fß ò–%ÃvÂf ÁÀ r<RÁÀ r<ÁÀ r<RÁÀ r<À rWtC`À rÒÁeÀ rwÃFÎß `àƒ Îß `!ö÷ú7úÎß `À%n÷ü ÀÀ 솃 ÀÀ 0!†ö÷Þ€ Ò7 ÀÀf ww Ä Ã¶Ô”þAA WpCÃeÐÄ Ô”Ô”Ô”„ BÂe�WpCÃeæÔ”Ô”Ô”Ž&ß €Ö ŽÎed&ß €Ö ŽÎed&ß €Ö ŽÎed&ß €Ö Äe@ &ß €Ö À wvw fAÀ rÁ Ànw\Àmûw FD„ õ% AÀ r À r Áe0@�Ô• AÀ r Áe0@�w @…&æ¦È B„ƒ‚F…‡7$ÀÿÿF…‡€�6rwv‡€�6r@‡f…@õ Á P`Hm` …‡ %8.8s %8.8s8dìoæx(f6eÄcÒsDlRuDrüÿðÿýÿøÿ‰: 0‰€p®²M:/PSTPDTDay Mon 00 00:00:00 1900 SunMonTueWedThuFriSatJanFebMarAprMayJunJulAugSepOctNovDeccolcrtÞÓ9í�8 ÄdÐ� ð€&Ð 6÷ ß Œ‰w ~_Lõ w¶—õeõ .@È¥-)@œ÷•†•÷•€•΂—æ ß æÖ ÷ êÎß ŒÁÆ7L þyõ õeÏÎß ®7T—õ  ß ˜ÎÚ•fß ÂÖ À ÷ –Nß \÷ ŠÎß Œõ õeÎÚ•ß &Ä%ÿÿÎÒß ~÷ \_>_*÷% ºÎ>ß ~÷eª7 ¶”ßÞÎÚ•ß &÷% ŽÎ>ß ~· €Ì÷%x÷ rÅ÷åj÷ f7 `¼»Àå7 ù‚À xÒ÷ V”÷ P”¬÷eH”÷EB”÷ >”Ä ÷%„4”· .”›ÁWp„CÃm”Ãe( · ”Ä%_÷‹”ŠÃe„Ä-Ë‹ ‘ÂÂíö“à ƒ ‚ˋ˕ à øÀ’&ß PÖ À À’&ß PÖ À Ë•+Ë¥ Ë‹ ‘_ÞÁØ7² þy _Þõ _žwZ_ w Fõ¥|õ¥-õ¥_ Àw*ìw _nuöÿ5Šøÿõ% öÿõ öÿõUöÿÄ8•ÄUD-öÿÎ &ß tÖ Ž &ß tÖ „ ïÄ•D-öÿWp„BÂe( ÷‹î’ õ‹øÿÊ‹õ•øÿ5ŠøÿŽæ% ß æÖ „ áÁ AíWp„NAWp„Áe( fæ( ß –%AWp„NÁ AíWp„Áe( fß >Ö wíd7 p’÷x”w8Æå‰w "PAWp„DÄe( AWp„CÃe( Ì‹“ Ë¥ Ë¥|Ë‹4  1Áô7: þy„ ƒ åÌ‹#AWp„DÄe( AWp„CÃe( Ì‹ Ì¥|Ë•|ˋ˕ „ ƒ ñAWp„1Š( wŒ¯w zDCB Ԕ ýwjøw XDCà ŠÃ ýwLøw :Ä* ÷-~z“Àt“À ¢ Nß ÎÎfæß j–%Îæ8 æß j–%ß Î&æß j–%Îæ; æß j–%wØw ÈDÔ‹þ@íÀ wÀw °Æå~wö’DÄeÀŸì’ · æ’ %ß (ôw�7 Ò’7 ҒׯȒ-· À’· ¾’÷¸w²’7 ´’ .÷¦w¨’ƒÃeÁ> BÚ üJ Ó•-ÀŸ~’· z’ o^ xU d÷ d’÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁ①‚ ŒÒ‹ƒ D~C Âv  Â| v÷ ¨‘Ó•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡Àn‘Âh‘÷ ” À`‘ÂZ‘÷ †7J‘wVþ‚Âeƒà&æ Ä Ãm.‘÷ ,‘ß (Ã~Ä Ž”ß (à Î ß (Ã~Ö „wþ7 ‘ ÀŸö�· ò�Àå0 úÿ ‚· Þ�Wp `ìÀe0ƒÄeÓ•?‡f…ÀÆ�÷ ,À¼�P�· ²�÷ ¬�÷ @…‡f…÷ …‡À�� Àåø—7À~�€ ‰Š ÷ø—t�÷l�×-f�‚÷^�‡f…@‰†w  …‡f…@)‰†wö…‡f…wƉ� J‡A …‡7 �f…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7H1@‰– ‡À �1‡wJf…@w&w"‰œ †w,…‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7,�ÀÿÿF…‡‡2JRZTF0 z†  "š |°ž²usage: %s [ - ] [ -2 ] [ file ... ] %s Unknown error: \d6o*x~fŒeüc shlˆušr¬D2O&Xüÿðÿðýÿøÿà(null)‰ø—‰‰‰è ð ÿ  ) A K e w ‰ ™ ¥ · Ç Ù â ø  ( 7 G V g { �   ¯ ¾ Ö ã ù   "Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededcollprÞÔ9í�"  rÊ� ð€&Ð 6÷ ß h‰w Z_œõ õeõ @È¥- õ õeÎß <7„—ONÎeöÿß ,÷ 5ôÿõ%ÿÿôÿ ÎæÈæß F–%Îß hõ ôÿ'Nøÿß & ß &Nöÿß <Nöÿß & æäæÛß P–% æõæèß P–%Îùß êÎß hNöÿß &Îß &wøÿä–õ  ß &ÎÀ•fß „Ö À ÷ ÒNß ê÷ ÆÎß hõeõ ÎÀ•ß èÄ%ÿÿÎ\ß ¤÷ ˜_Ž_z÷% DÎ>ß ¤÷e47 N”ßÞÎÀ•ß è÷% Î>ß ¤· Ì÷%÷ üÅ÷åô÷ ð7 ê¼»Àå7 ù‚À x¢÷ î“÷ 蓬÷eà“÷EÚ“÷ Ö“Ä ÷%„Ì“· Æ“›Á¢Wp„CÃm¶“Ãe Ä% .Ë‹ ‘ÂÂ힓à ƒ ‚ˋ˕ à øË¥  ‘Ä%_÷5VÃe„Ãå„Ë‹ÙË¥ ÖË¥_ ‘Ä_ê· J“_0Á¨72 þy _0õ _ðwæÆå_ w Îguøÿwíøÿê7 “õ% øÿõ øÿõUøÿÄD-øÿ)Wp„BÂe ÀEþÿÊ‹Žæ ß tÖ Î ß ¶Ê‹Žæ ß tÖ  ‚À xÄ„ ÔÁ AíWp„NAWp„Áe fæ ß ª–%AWp„NÁ AíWp„Áe fß ÌÖ w æ —w öõ%|õ%-õ%_ ÀwÚìw ÈDCB Ԕ ýw¸øw ¦DCà ŠÃ ýwšøw ˆÄ ÷-ÚΓÀÈ“À Œ Nß \Îfæß F–%Îæ æß F–%ß \&æß F–%Îæ æß F–%w&w DÔ‹þ@íÀ ww þÆå~wJ“DÄeÀŸ@“ · :“ %ß ¶ôwÞ7 &“7 &“ׯ“-· “· “÷¸w“7 “ .÷¦wü’ƒÃeÁ" BÚ üJ Ó•-ÀŸÒ’· Î’ o^ xU d÷ ¸’÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁ6’ Âf ŒÒ‹ƒ D~C ÂZ  Â` v÷ ü‘Ó•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡À‘¼‘÷ ” À´‘®‘÷ †7ž‘wVþ‚Âeƒà&æ Ä Ãm‚‘÷ €‘ß ¶Ã~Ä Ž”ß ¶à Î ß ¶Ã~Ö „wþ7 T‘ ÀŸJ‘· F‘Àå0 úÿ ‚· 2‘Wp `ìÀe0ƒÄeÓ•?‡f…À‘÷ ,À‘P�· ‘÷ ‘÷ @…‡f…÷ …‡Àä� ÀåÚ—7tÀÒ�€ ‰n ÷Ú—È�÷À�×-º�‚÷²�‡f…@‰†wZ …‡f…@)‰†wD…‡f…w@Àe7‰t w$f…‰†w7\’ …‡f…wî‰z J‡A …‡7 �f…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7p1@‰€ ‡À �1‡wdf…*‰†wXBJ …‡f…@w4w0‰† †w,…‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡72�ÀÿÿF…‡‡¦˜‚ ÌØVrrtìîNo more processes /bin/lprlpr/usr/bin/lprlpr/usr/bin/lpr %s%sUnknown error: êdÄo¸x feŠc˜sölu(r:DÀO´Xüÿðÿðýÿøÿà(null)‰Ú— ‰‰‰‰Ò Ú é   + 5 O a s ƒ � ¡ ± Ã Ì â ô  ! 1 @ Q e y Š ™ ¨ À Í ã ò þ "Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededcolrmÞÓ9É� ø ð€&Ð 6÷ –% ‰w Àõöÿõôÿýöÿ= ôÿ@öÿ0 @ôÿ0 @öÿAöÿÁep@ôÿAôÿÁepõ NøÿÃÿÿW- õeNß 65øÿà NW-õeNß 6 Nôÿß Ì�=„ —  Nöÿ€�&ß bÖ í5!øÿNöÿ€�&ß bÖ ã!Nôÿß Ì�—  Nöÿ€�&ß bÖ Ï„ ëNôÿß Ì� Nöÿ€�&ß bÖ —  ½ïNöÿß †w²w  B ƒ”× 0 × 9Wp DÄ`ÄeÐÿñw€f…wˆ‰øJ‡A …‡7 ”f…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7 1@‰þ‡À �1‡wºf…wìAɉL‡  Jf…Añå÷ Rñå@9�± À9�À± 0f…Añ ÷ ñ @9�± f…A÷ @Àe&7lwh7àb@‰ ±ñ‡w7 X…‡7PÀÿÿF…‡Õ @…&æ¦äHÅåF‚ƒ„…‡‰‰‰¶‰continueÞÓ9É� ìT ð€&Ð 6÷ –%ß t‰w xÆåõ%Îìß ¼÷ >õewºÎ æ÷ ¶7´&ß 0–%÷ ¨Î& ÷ œ7˜&ß 0–%Î& ÷ †7€&ß 0–%Î;& ÷ p7h&ß 0–%ÿ‹X ÎcæF÷ R7R&ß 0–%NÎeöÿß ^NÎeöÿß ”5ôÿ7 *ÿ‹ Îß ¼÷ „ß B÷ ^ùwžw ŽÄŸðÄeÐÿ· èWp ŸÞ�`DÄeÐÿ· Òwrw bu-u- Næ(ß ¼Ö ÷ wHw 8ÆåNÎeöÿß ^NÎeöÿß ”5ôÿ ÃáÀÀ @môÿÁÁ H,þ À<wÀÀ @môÿÁÁ H,þó„ Ä%íàw ÖÆå~wdDÄeÀŸZ · T %ß Ìôw¶7 @7 @ׯ6-· .· ,÷†w 7 " .÷twƒÃeÁ<BÚ üJ  Ó•-ׯìd· ä÷ z r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „\ À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •@à >Ád Ò‹ƒ D~8ÂhÂl÷ BÓ•0 ÷ $f v÷ öÿ€€LÀe0 9Àe�‡ÀÂ÷ ” ÀÂú÷ †7êwˆþ‚Âeƒà&æ Ä ÃmÎ÷ Ìß ÌÃ~Ä Ž”ß Ìà Î ß ÌÃ~Ö „wBþ7   ÀŸ–· ’Àå0 úÿ ‚· ~Wp `ìÀe0ƒÄeÓ•?‡f…Àf÷ ,À\P�· R÷ L÷ @…‡f…÷ …‡À0 Àå< 7`À€ ‰p†7è÷< ÷×-‚÷ø‡f…0‰\@‰‰ ‰…‡f… ‰¦BR‚…‡f…@‰w Nß ”ß Šww þÆåDÄeòÿL@4ÀÚ &ß ÒÖ ß ®Âõwøÿõ/öÿó%J ó%K À t5nøÿÀ t5pöÿNøÿæß pÖ 5øÿNöÿæß pÖ 5öÿ÷ l B-øÿB-øÿó%B-öÿB-öÿó% Î&ß ÒÖ ß ®³ Àw2w "DCÃ%: ß ,Àe“þ`Áím Áe¼À rfÀ€åwôw ä΀p@&fß °–%ÀÂ< ÁÀ r<RÁÀ r<ÁÀ r<RÁÀ r<À rWtC`À rÒÁeÀ rw$ÃFÎß ,àƒ Îß ,!ö÷7Îß ,À%n÷  ÀÀ ìvƒ ÀÀ 0!vö÷€ Ò7 ÊÀ< ww Ä Ã¦Ô”þAA WpCÃeÀÄ Ô”Ô”Ô”„ BÂe�WpCÃeÖÔ”Ô”Ô”Ž&ß LÖ ŽÎed&ß LÖ ŽÎed&ß LÖ ŽÎed&ß LÖ Äe@ &ß LÖ À wvw fAÀ rÁ Ànw\Àmûw FD„ õ% AÀ r À r Áe0@�Ô• AÀ r Áe0@�w @…&æ¦È B„ƒ‚F…‡€�6rwއ€�6r@‡f…@õ Á P`Hm` …‡CONTINUE MMDDHHMM[YY] Illegal time. Enter as MMDDHHMM[YY] Illegal number %d 2dæoàx"f0e¾cÌs>lLu>rüÿðÿýÿøÿ‰< €pž¢M:/PSTPDTDay Mon 00 00:00:00 1900 SunMonTueWedThuFriSatJanFebMarAprMayJunJulAugSepOctNovDeccpallÞÓ9É�ø´4j ð€&Ð 6÷ ß ‰w nõ% Î æ´æß ò–%÷ Úõ Ãè@À @m“”þó•/ÿÿÓ•. ŠÄ÷ RÀ ÎèÀ @m&æÇæ¿ß žÆe÷ †÷ @„ D-åwúf…w$@Àe7‰Êwìf…‰†wÞ7„ …‡f…÷ D&‰†Ö wÀÖ }…‡f…@wÒwΉÐ†w–…‡f…@‰fA… w,üÿ¨Àw"¢Àe"w"˜Àew"Ž@lw"†AlÁeæw¬y &@Àtùÿ`Áe€Ø€ …‡@…&æ¦æ HADCBF…‡7¢ÀÿÿF…‡arg count /bin/cpcp ‰‰ß Ö –%ÆewþÿcptreeÞÔ9É‘€Žd ð€&Ð 6÷ –%ß &‰w ~æ  ß œ7j$7d$÷ À  À7\$õeõ õ $DÌ¥-„ Ì‹· :$ •Àåq ‚À x4 · $$Ì‹óõ õeß· $õ· $òõ% Î æ ß J Ö Îß &wè#@fß ŽÖ @fß Ö  ß &wºw ª@œÀEÿtAAœÁEÿ@Pw”w „ÆåXNÎeÊþfß ¶Ö À NæF _JNÎe¦þfß ¶Ö À NæX _J@ÎþÀEÿŸÀ%@Næj _J@ªþÀEÿŸÀ%@Næ€ _J fß \Ö 5¤þ_úNæ– _JÀ_NÎeðþffÎe‚ÿß  –%NÎeðþffÎe ÿß  –%õ îþ_úNÎeÊþfÎe‚ÿß ¶Ö À _bNÎe‚ÿæ² ß ~ _ø@ÎþÀEÿŸÀ%@^ÎÄ fÎeðþß Â Ö À _úÎÆ fÎeðþß Â Ö À _úõ%ÌþNÎe‚ÿæÉ ß ~ Ö  fÎe ÿæÿ ß Z –%@ÎþÀEð7 "fÎe ÿß œ Ö À  fÎe ÿæ!ß ~ –%÷ æ! NÎeÊþß îfÎe ÿß ¼ Ö NÎe ÿfÎe‚ÿß _ø@ÎþÀEÿŸÀ% 0õ%ÿÿÖþ,÷ ¦!_ú÷ ”!uØþÿuÚþÿNÎeþþfÿß ê Ö  fÎeþþæ$!fæ!ß Z ÆeNNæ&!ß J RNÎe‚ÿæ9!_õ5`Îþ_õ¥Ðþ&Ä!NÎe ÿ&ß <Ö À 6NÎe ÿ&æc!ß ~ –%ÄeÄ-è ƒt-Ìþ÷Ì ãNÎe ÿß \  fÎe ÿfÎe‚ÿæ{!ß Z Æe÷ ¾ NÎeÊþß îfÎe ÿß ¼ Ö ÎfÎeîþf¤þß z–%À%_² 5¢þ_ºÀ%ÿÿNæ~! õ ¢þ õ%¢þNæ’!ß ~ Ö N¤þß Ü wL w < æ ÂD‚ Ô‹ýŽß º5øÿCÔ”þ@øÿw w ÆåJNÎeÖÿfß ¶Ö À Næ°! NæÂ!NæÔ!ß ~ Ö _ìNÎe²ÿfß ¶Ö À è@ÚÿÀEÿŸÀ%@æ@¶ÿÀEÿŸÀ%@Næê!Þu-²ÿÖÿN´ÿ fß :Ö 5 °ÿÃbÄD4­0÷ d1õ °ÿ ÷ PÎ ß µ °ÿÎ"ß J ��à�&&æ"ß J Æe Žæ$"ß J Ö ‚õô¥ 3 Ãe„Ä ºÀ7Î7Î÷ ÎÎ)"ÎR"ß ~ ÷ ºøõ °ÿ÷ w¸ w ¨ ÷ ª ß äÀ%xÎu"ß J ÷ H�‘Ë÷ :�Ã¥ øÄ¥yÎß &wn w ^ Æå°NÎeNÿfß ¶Ö À Næ|"ß ~ Ö _2u-PÿNÀ0&æ(æŽ"ß ~ Æe_2@RÿÀEÿŸÀ%@Næµ"Û fß \Ö 5Lÿ_žNæË"ËÀ5Jÿ_õ rÿaÎç"fÎetÿß Â Ö À WÎé"fÎetÿß Â Ö À MNÎetÿffÎe‚ÿß  –%NÎeNÿfÎe‚ÿß ¶Ö À FNÎe‚ÿæì" õ%Pÿ NÎe‚ÿæþ"ß ~ Ö $NfÎe‚ÿß :ö@RÿÀEÿŸÀ%@ä@RÿÀEÿŸÀ% õ%ÿÿZÿ NÎe‚ÿæ)#ß J Ö · üÎfÎerÿfLÿß z–%À%ˆ ˆõ5`RÿÑÎfÎe‚ÿß & Ö À NÎe‚ÿæ=#ß J Ö · ¬Øõ¥TÿÔNÎe‚ÿfÎeNÿß >¥õ%ÿÿJÿNæS#_^õ Jÿõ%JÿÎg#ß ~ NLÿß Ü wjw ZBÄD ´,´Š!Ä õÎß º÷ 7À07 ´´œô• 4 Îß º Nß \3Ìwîw Þ@€ ÀE5ÄÄÄí¾ áß œÀ%ÿÿÎ…#ß ~  ß œ7œÂ–Cƒ  Â~ˆwm‚€w’w ‚ÂCÓ‹ƒ~À€àC‚ Ó‹ýÂ%d Nfæ—#ß ~ –%DCÔ”þô•/ÿÿCÂÔ”ƒ~Š@w*w õ Î æ³#ß J Ö N fffß J ÆeÎ ß Îß &wæw ÖDC„ £Ì‹ûã‹ wÄÀûw ®w¶õ Nß  ÿ•0 · œ?Š˜· ”wŽw ~õ Î f& ß ^–%ß  Î f& ß p–%Àe0?�X· TwNw >Æå÷ ´5øÿθ#ß ~ /õ øÿ2Äì#CÃeÜÿ•þà D•þNÎefÎeàÿß ò Ö NÎefÎeÜÿß ò Ö Næö#ß ~ Ö ÎÃ#ß J 7 ÂwÐõ%ÿÿöÿ Ζ$ß ä5öÿ@-øÿóõ%ÿÿöÿç÷ ˜êNæà#Ûw ŽÎfÎeæß –%w‚w rwØwÔ ‰$†7jÀÿÿw^w NÆå~wbDÄeÀŸX · R %ß ôw.7 >7 >ׯ4-· ,· *÷†w7  .÷twƒÃeÁ $BÚ üJ  Ó•-ׯêd· â÷ z r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „\ À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •@à >Áb Ò‹ƒ D~8Â8$Â<$÷ @Ó•0 ÷ $f v÷ öÿ€€LÀe0 9Àe�‡À Â÷ ” ÀþÂø÷ †7èwˆþ‚Âeƒà&æ Ä ÃmÌ÷ Êß Ã~Ä Ž”ß à Î ß Ã~Ö „wBþ7 ž ÀŸ”· �Àå0 úÿ ‚· |Wp `ìÀe0ƒÄeÓ•?‡f…÷ N÷´$HÀ@‰´$ ‡À À 70 Àß,· (…‡7 7 …‡f…wœw˜‰@$†w  …‡f…w‚w~‰F$†w …‡f…@‰†wê …‡f…wRwN÷ ®æðæ‰L$w¼f…‰†w®7– …‡f…‰…‡f…ww ‰R$†w€ …‡f…wôwð‰X$†w`…‡f…@wØwÔ‰^$†w>…‡f…÷ÄÀwmº‰d$†w À®wm¨…‡f…w˜‰d$†wþwŠ …‡f…÷ D&‰†Ö wÞÖ }…‡f…@wZwV‰j$†w´…‡f…@‰fA… w,üÿ0Àw"*Àe"w" Àew"@lw"AlÁeæw¬ &@Àtùÿ`Áe€Ø€ …‡@…&æ¦È B„ƒ‚F…‡f…wÄwÀ‰‚$†w …‡7ÒÀÿÿF…‡f…@÷ …‡ ÷xòæ ‰Ä&)‡Î¾‰ˆ$Æ&÷-²² ‰ˆ$‡@‰Ä&‡ ÀÄ&$ô$ttñ¤yîЋì¢é7˜œ@‰Ö À�’‡€�6rw‚‡€�6r@‡cptreeusage: %s [ - ] [ -y ] [ -q ] source dest ”¢¢¢¢Ž¢¢z"%s": cannot stat"%s": cannot stat"%s": not a directory"%s": not a directory"%s": cannot open directory"%s": cannot stat...source tree across devices detected at "%s" on pass 2mkdircan't chmod of "%s" to %oquot0"%s/.q" no can do special file "%s" detected on pass 2 onlycan't link "%s" to "%s"cperror reading "%s":bad directory structure: "%s""%s": cannot stat"%s": cannot stat"%s": not a directory"%s": not a directoryInode Links Missing %5d %3d %3d %s abandoned because of insufficient accessabandoned because of special files ok ? "%s": cannot stat"%s" is a subdirectory of "%s" at "%s""%s": not a directory"%s": cannot open directory..."%s": cannot statsource tree extends across devices at "%s"special file: "%s" no read access: "%s" error reading "%s":bad directory structure: "%s"ran out of memorypath name too long: "%s/%s"%s: try again.no children to wait for !!! "%s" failed/usr/bin/can't find "%s"!‰À dt on x° f¾ eL cZ sÌ lÚ uÌ rüÿðÿýÿøÿ‰‰ ‰ ‰‰‰‰ò&‰ß Ö –%Æew€Ûÿ‰/devcr3ÞÓ9É�ð ÖJ ð€&Ð 6÷ ß Ò‰w Ä_HÎß ˆ7Ð Îàæß DÖ ÷¢¦÷ž¢ÀšÀE7˜ÎLæß „Ö Îææß ’Ö ÷~ õ õeõ  ß rÎìfß œÖ À ÷ �Nß x÷ „÷ œõ õeÎìß Ä%ÿÿ.÷ $ ·  ÷  ÷  ÷ ÷  ÷ @÷ ˆ÷ ú ß Ä% Îìß Ä%ÿÿ÷ Ø ß îÊ÷ õ §Îàæß ’Ö  ß Òw¤_ w �Îæß „Ö Îàæß ’Ö Îß Òwrëw `)÷ R5øÿõ øÿ÷\ wøÿT õ øÿ÷¥ L ÷ B ÷ 5øÿõ øÿÀ @øÿ7$ wæ Õw J5 øÿ5 öÿÎæö æß b–%À%5À�ô)õ öÿîAøÿupöÿ@,õÿÿöÿä÷¥0Òà÷¥9ÊÜAøÿWp uøÿÀ�¸ÀeÐÿ5`øÿõ öÿõöÿÉÁ 7² þy¿À wzÆå³w dÄ÷-rÀlÀ ZNß êÎfæß °–%Îæ(æß °–%ß ê&æß °–%Îæ+æß °–%ww òDÔ‹þ@íÀ wêf…Àö÷ ,ÀìP�· â÷ Ü÷ @…‡f…÷ …‡ÀÀ Àå 7èÀ®€ ‰.÷ ¤÷œ×-–‚÷އf…@‰†wx …‡f…@)‰†wb…‡f…w�‰4J‡A …‡7 :f…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe71@‰:‡À �1‡w¶f…@wð‰@†wž …‡f…@wÖwÒ‰D†wz…‡f…AW †@w²Á f 1 7¦ À5Á Á ÁeÜw’‰J ‡À5€…‡À& Ö w&À L&ÀH&ÀD&À@&À<&À8&Àü4&Àö0&Àð,&Àê(&Àä$&ÀÞ &ÀØ&ÀÒ&ÀÌ&ÀÆ&ÀÀ &Àº&À´&À®f¦æ&È „ƒ‚�€f…@w²‰P†wP …‡f…@w˜w”‰T†w,…‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7úÀÿÿF…‡‡ - Unknown error: ‰ ‰‰ ‰‰0‰‰‰ ¨·Ñáù/AQ]o‘š°ÂÎàïÿ3GXgvŽ›±ÀÌ"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededcrazyÞÒ9É�0ÐPB ð€&Ð 6÷ –%ß ž‰w Šæ Îß @7Î æß TÖ À7xâÀÞÎ æß €Ö Δæß rÖ 5 øÿÎÐß ºµ øÿõ%Nøÿö5 øÿõ%NøÿîÎÓß ºµ øÿõw À7x„À€Î æß €Ö ÷ èwúw êÆå~wdDÄeÀŸZ · T %ß ÊôwÊ7 @7 @ׯ6-· .· ,÷†w 7 " .÷twƒÃeÁØBÚ üJ  Ó•-ׯìd· ä÷ z r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „\ À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •@à >Ád Ò‹ƒ D~8ÂÂ÷ BÓ•0 ÷ $f v÷ öÿ€€LÀe0 9Àe�‡ÀÂ÷ ” ÀÂú÷ †7êwˆþ‚Âeƒà&æ Ä ÃmÎ÷ Ìß ÊÃ~Ä Ž”ß Êà Î ß ÊÃ~Ö „wBþ7   ÀŸ–· ’Àå0 úÿ ‚· ~Wp `ìÀe0ƒÄeÓ•?‡f…Àf÷ ,À\P�· R÷ L÷ @…‡f…÷ …‡À0 Àå:7þÀ€ ‰ †7÷:÷×-‚÷ø‡f…@)‰†wr…‡f…@w²‰†wV …‡f…AW †@w�Á f:1:7„ À5Á Á ÁeÊwp‰ ‡À5€…‡À& Ö wø&ÀjL&ÀdH&À^D&ÀX@&ÀR<&ÀL8&ÀF4&À@0&À:,&À4(&À.$&À( &À"&À&À&À&À  &À&Àþ&Àøf¦æ&È „ƒ‚�€f…@w�‰†w* …‡f…@‰@…&æ¦È B„ƒ‚F…‡7`ÀÿÿF…‡\ / 0däoÞx f.e¼cÊs<lJu<rüÿðÿýÿøÿ‰: ‰0‰‰cxrefÞÙ9í�Ógrep -n "^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]" $* > /tmp/$$ nex - /tmp/$$ g/STATIC/d g/\/d g/\/d g/\/d g/\/d g/\/d g/\/d g/\/d g/\/d g/\/d g/\/d g/\/d g/\/d g/:$/d 1,$s/\(.*:\)\(.*\)/\2|\1/ 1,$s/|/  / 1,$s/^\(................................................\) */\1/ 1,$ta w q sort /tmp/$$ rm /tmp/$$ datesÞÔ9í™\< ð€&Ð 6÷ –%ß  ‰w ŽÆå÷ . À  À7¶wÎäß ¬ Îäß ª 7þ°  æ*ß ^ Ö 5ôÿÎ9ß Nõ%÷ üõ%'Î@æß ž Ö Î@æß ž Ö Î@æß ž Ö ÷ ¤ À5ÿ*Îp$ÎPß pÀ ÎPß ¨ÎJæPfôÿß | –%5øÿÀ%JèÀ _rÎSß N_r뤧 N& æ—ß ö Ö À ó΀æ¼ß ö Ö 5òÿÎÇß ÎPß pÀ ÎJæPfòÿß ü –%ÎJæPfôÿß | –%5øÿÀ%Jãõ%ÿÿøÿÎßõ øÿõ%JøÿÎþ õ%õ øÿÎß ÷ ¦ 7èÀ˜7à7Ü7 Ø7Ô7Ð5 öÿ@öÿAA`p’¦ @öÿð• ¦µ öÿõ%öÿõµ öÿõ%öÿäõ%8÷-8€’÷-.vŽ÷-*rŠ÷-$l†÷-f‚5 öÿ@öÿp¬\¦_Dµ öÿõ%öÿñ÷ 4 ÷-.âÎ@ß 2Î]ß pÎP)5 öÿ@öÿAA`p’ŵ öÿõ%öÿðÎJæšfòÿß ü –%õ øÿ ÎJæPfòÿß ü –%Îšß ¨õ øÿ ÎJæPfòÿß ü –%ÎJæPfôÿß | –%5øÿÀ%JéÎæß ž Ö Îæß ž Ö Îæß ž Ö  æuæjægß ÆÆeÀ Î„ß Î¥ß Â Î°ß Â wB w 2 æ ÀÌ5øÿÎÄÎefÎeøÿß ~Ö À @ŸøÿæÀæóß NÖ _ŠÀŽð ÎÞß N_ŠÀxð% æ@øÿµ øÿÈ¥/õ øÿ@Ÿøÿæ ÛÎNÎefÎeøÿß ~Ö À @Ÿøÿæ@ÉÀ*ð Î\ÍÀAÁ p,À æo¯ý¥/øÿ1µ øÿÎêÎe fÎeøÿß ~Ö À @Ÿøÿæ—ß NÖ ÀÀð%c ð%l ÀlÁ¨1à À ð%c 뫧 Ný¥.øÿYµ øÿÀ€0 ÎxÎefÎeøÿß ~Ö À @ŸøÿæØ_²ÀRð%Îö_Ê@øÿµ øÿÈ¥:õ øÿ5Î*ÎefÎeøÿß ~Ö À @Ÿøÿæ_²Àð%;Î7_ÊÀðð%ð Î�æ\_²ÀÒðÿÿÀÈ0 ý‹øÿ NøÿæŒß NÖ w Àûw D÷ 8 �ÎEÿæ²ß pÖ æ¶ß pÖ ô% æ»æÁß pÖ æÆß pÖ ô%ÿÿÎÊß pô% æÔæÛß pÖ ô#  æá æéß pÖ Îe+&Îe æðß p–%wH w 8 D7 lÀÎ0- 0-  À¶0-0-ô À 0-ìÀ’0-æÀwì À~0-é0-ì0-  À7ôÀV0- âÇw ¦ Î÷ß Â Îß Â õ  N fffß NÆeÎß  wx w h  ß wj w Z N fffß pÆeÎ ß € Îß  w: w *  DÌ¥0Ì¥9ÁWp @•@`ÃeÐÿÌ¥0Ì¥9ñ=ýÀwö üw âÆå÷ j5øÿÎß (õ øÿ+Ä:CÃeÜÿ•þà D•þNÎefÎeàÿß  Ö NÎefÎeÜÿß  Ö NæDß Ö w‚õ%ÿÿöÿ Îêß Ü 5öÿ@-øÿóõ%ÿÿöÿÎ÷ ˆ ß À|áw 8Æå~w’DÄeÀŸˆ · ‚ %ß € ôw7 n7 nׯd-· \· Z÷†wN7 P .÷twDƒÃeÁRBÚ üJ  Ó•-ׯd· ÷ z r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „\ À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •@à >Á’  Ò‹ƒ D~8Â~‚÷ p Ó•0 ÷ $f v÷ öÿ€€LÀe0 9Àe�‡À< Â6 ÷ ” À. Â( ÷ †7 wˆþ‚Âeƒà&æ Ä Ãmü ÷ ú ß € Ã~Ä Ž”ß € à Î ß € Ã~Ö „wBþ7 Î  ÀŸÄ · À Àå0 úÿ ‚· ¬ Wp `ìÀe0ƒÄeÓ•?‡f…À” ÷ ,ÀŠ P�· € ÷ z ÷ @…‡f…÷ …‡À^ Àå7 ÀL € ‰††7 ÷< ÷4 ×-. ‚÷& ‡f…wŽ wŠ ‰Œ†w¶…‡f…wv wr ÷ È æðæ4 ‰’wŠf…‰†w|7Ð …‡f…‰…‡f…w2 w. ‰˜†wN…‡f…@w w ‰ž†w,…‡f…AW †@wò Á f 1 7æ À5Á Á Áeö wÒ ‰¤ ‡À5€…‡À& Ö wÐ&À$ L&À H&À D&À @&À <&À 8&À 4&Àú 0&Àô ,&Àî (&Àè $&Àâ &ÀÜ &ÀÖ &ÀÐ &ÀÊ &ÀÄ &À¾ &À¸ &À² f¦æ&È „ƒ‚�€f… ‰¦BR‚…‡f…wà‰ª†wð …‡f…÷ D&‰†Ö wÖÖ }…‡f…@w¦w¢‰®†w¬…‡f…@‰fA… w,üÿ|Àw"vÀe"w"lÀew"b@lw"ZAlÁeæw¬M &@Àtùÿ`Áe€Ø€ …‡w Nß ª ß  ww þÆåDÄeòÿL@4À &ß öÖ ß ÄÂõwøÿõ/öÿó%J ó%K À t5¾øÿÀ t5ÀöÿNøÿæß †Ö 5øÿNöÿæß †Ö 5öÿ÷ ¦ B-øÿB-øÿó%B-öÿB-öÿó% Î&ß öÖ ß Ä³ Àw2w "DCÃ%: ß BÀe“þ`Áím Áe¼À rfÀ€åwôw ä΀p@&fß Ô–%Ãv ÂHÁÀ r<RÁÀ r<ÁÀ r<RÁÀ r<À rWtC`À rÒÁeÀ rw ÃFÎß Bàƒ Îß B!ö÷ú 7ú Îß BÀ%n÷Z ÀÀ ìÆƒ ÀÀ 0!Æö÷<€ Ò7 À ÀHww ÄòÃöÔ”þAA WpCÃeÄòÔ”Ô”Ô”„ BÂe�WpCÃe&Ô”Ô”Ô”Ž&ß bÖ ŽÎed&ß bÖ ŽÎed&ß bÖ ŽÎed&ß bÖ Äe@ &ß bÖ Àòwvw fAÀ rÁ Ànw\Àmûw FD„ õ% AÀ r À r Áe0@�Ô• AÀ r Áe0@�w @…&æ¦È B„ƒ‚F…‡7$ÀÿÿF…‡€�6rwv‡€�6r@‡f…@õ Á P`Hm` …‡/usr/lib/datescan't open /usr/lib/datesbad format in /usr/lib/datessorry, you can't modify the dates file/tmp/dates.lockfile busy, try again/tmp/datescan't create /tmp/dateserror reading "/usr/lib/dates"bad format in "/usr/lib/dates"entry to be deleted does not existsorry, you can't delete thatdeleted: cp/tmp/dates/usr/lib/datescp failed: contact system staff!/tmp/dates/tmp/dates.lockmonth expected but '%c' foundmonth cannot be zeromonth cannot be > 12 (%d)'/' separating month from day expected, found '%c'day expected but '%c' foundday cannot be zerothere are at most %d days in that monthyear expected but '%c' founddid this program survive to 2000 !?hours expected but '%c' foundthere are only 24 hours in a dayminutes expected but '%c' foundthere are only 59 minutes in an hoursorry sire, but for 24:xx, xx may %sonly be 00extra characters: "%s" at end of date%d %2d/0%1d/%2d/%2d .0%1d:.%2d:0%1d %2d %s %s /tmp/dates/tmp/dates.locktry again.no children to wait for !!! /usr/bin/can't find %sædš o” xÖ fä er c€ sòl uò rüÿðÿýÿøÿ‰‰ ‰‰‰0‰ ‰‰ß Ö –%Æew<êÿ€pîòM:/PSTPDTDay Mon 00 00:00:00 1900 SunMonTueWedThuFriSatJanFebMarAprMayJunJulAugSepOctNovDecdoubleìƒyí�> Bä ð€&Ð 6÷ ß ‰w üÆåèÎß ,72 õ õeõ  ß ÎJfß @Ö À Nß ÚÎß õ õeDÄeüÃ%ÿÿ Ô�ÎJß ¤Ã% ô@Àeü!Ã% ÎBß d  ŠNÎeüfÎeüæDß d–%Ã%ÿÿÔõ µ÷  ß wJw :ÄL÷-"h Àb À ÄNß LÎfæß è–%ÎæZæß è–%ß L&æß è–%Îæ]æß è–%wØw ÈDÔ‹þ@íÀ wÀw °Æå~wäDÄeÀŸÚ · Ô %ß ¦ôw�7 À7 Àׯ¶-· ®· ¬÷¸w 7 ¢ .÷¦w–ƒÃeÁ`BÚ üJ Ó•-ÀŸl· h o^ xU d÷ R÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁР¤ŒÒ‹ƒ D~C ˜ žv÷ –Ó•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡À\ÂV÷ ” ÀNÂH÷ †78wVþ‚Âeƒà&æ Ä Ãm÷ ß ¦Ã~Ä Ž”ß ¦à Î ß ¦Ã~Ö „wþ7 î ÀŸä· àÀå0 úÿ ‚· ÌWp `ìÀe0ƒÄeÓ•?‡f…À´÷ ,ÀªP�·  ÷ š÷ @…‡f…÷ …‡À~ Àåd 7ÂÀl€ ‰¬÷d b÷Z×-T‚÷L‡f…@‰†w  …‡f…@)‰†wö…‡f…wj‰²J‡A …‡7 îf…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7ì1@‰¸‡À �1‡wJf…@wÊwƉ¾†w,…‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7ÀÿÿF…‡‡ %s %s Unknown error: Úd´o¨xüf ezcˆsælur*D°O¤Xüÿðÿðýÿøÿà(null)‰d ‰‰‰ !;Kcm‡™«»ÇÙéû,8JYix‰�±ÂÑàø*6"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededcrt0.ostartdouble.o~mainargcargvlinpclineüperror.oÚ~perrorÚcns~strlenLsstrprintf.odformpV loopxrjustX ndigit\ gnumhwidthT ndfndZ swtab`decimalÚoctal´hex¨floatüscien characzstringˆlongorunæunsignedremotelong*loct°lhex¤prbuf"nulstr¤prstr*ffltpr.oœputchr.o¦flàclose.odup.o,dup)getc.o@indirbadretäfillÄwrite.oèerrlst.o exit.o csv.ocerror.o2cleanup.@savr5$R _exit" _main"_fout$^ _ibuf$Jcsv"_dup",_close"_fopen"@_perror"Ú_getc"¤_printf"d_flush"Ôcret"$_errno$P _sys_ner#_sys_err#Ä_strlen"L_write"èpfloat"œpscien"œ_putchar"¦cerror"2_getw"^__cleanu"@expandÞ×9í�²ê¸ ð€&Ð 6÷ ß ²‰w ¤]Îß Ô7‚õ õeõ ΢fß èÖ À ÷ BNß ÚÎß ²õ õe 뢧 LÄ%ÿÿ'Î ß dƒ Ã5øíà à Îß dåß dƒ àß d ÛÀå ð‚À xêÑõ ²÷ ¾wô¢w âÄð÷-zÀÀºÀ Nß LÎfæß �–%Îæþæß �–%ß L&æß �–%Îææß �–%w€w pDÔ‹þ@íÀ whf…ÀD÷ ,À:P�· 0÷ *÷ @…‡f…÷ …‡À Àå²7\Àü€ ‰÷²ò÷ê×-ä‚÷܇f…@)‰†wö…‡f…w‰ J‡A …‡7 žf…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7œ1@‰‡À �1‡wJf…@wzwv‰†w,…‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7ÊÀÿÿF…‡‡’€¬Unknown error: ‰²‰‰‰bjy“£»Åßñ1AS\r„�¢±ÁÐáõ )8P]s‚Ž"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededeyaccÞØ9í‘ÜC À3 œ ð€&Ð 6÷ ß J3‰w <3æ ÷ DNfß Ö Á6ÁeÀ r7Ê÷ ò÷ œ÷ ¶÷ r÷ Ð"÷ p'÷ p÷ Fwþ2w î2æ õøÿ@øÿt5øÿ÷§@øÿt5øÿ÷ø¦÷ð¦w¼2w ¬2ÆåÎß ~/÷ à ß °/õöÿNöÿß  /µ öÿõ% öÿöÀ²¦Àå `‚À x¤÷ ¤ ÷ jΪ δ÷ îiÎ¿ÎÆß �/ ß °/õÐøÿ÷ l  ÷ Æiæâæå÷ ´i  føÿføÿß ì2–%  æéføÿføÿß ì2ÆeÎìß ø÷  ÷ xiÎ  Î÷ fiÎ/Î>ß �/ ß °/w´1w ¤1ÎDiß ~/÷à÷ ww ô ÆåÎFß Jõøÿ5 öÿ$@öÿÀ ð þ@öÿÀ pøÿð\Nøÿß f@öÿÀ 5lþøÿ @öÿÀ þ À ð\ß fµ öÿõ-:ÚöÿØ÷ ÆßÎMß Jõöÿ @öÿÀ nKÀeðß fµ öÿõ-Úöÿð÷ ’ßÎRß Jõöÿ@öÿÀ pKAöÿÁ @ìnK@€ rÀeþÿß fµ öÿõ-ÊÙöÿæ÷ Jßw w  õ% @À †@mÀ æ7wð @À †@mÀmäÛÀ æñw Æ æ uøÿ €À @mÈ ‚ B-øÿöB-øÿ _Æ'µàøÿ _¸' €À`À @mÈ €À`À @mÁ`Á H,æ7À`À ð æ7]ƒ C-øÿä÷ Ææ ÷ ¢Ú¦æWß Ä/–% $€À`À @mÈ À`À-ÔØÎiß øÀ`À-ÄØÀ`7ºØÀ`À �Á`Á Ampæ7ƒ C-øÿÙ÷ \æ Îß Ä/ À`À æ7æ�ß Ä/Ö ƒ Ã% òÎ…ß Ä/Äe Ä-^Øä€à„ Ä-NØ…Î‡ß øwš w Š Æå÷ ðÙÎ ß Jõðÿõøÿ_)Nøÿß B)@øÿÀ pðÿhbõÿÿòÿ5 êÿ5 öÿ4@öÿÀ ð þ,@öÿÀ p-òÿþ%5 îÿ@öÿÀ 5þìÿuöÿôÿ @ôÿÀ p-ìÿþµ îÿµ ôÿõ-¤×ôÿñu-êÿîÿuìÿòÿuîÿêÿµ öÿõ-„×öÿÈ@êÿÀ À 7`ôÙ÷ 4Ù5 öÿ @öÿÀ ð þ@öÿÀ p-òÿþNöÿß f@öÿÀ þß fõeðÿ÷e¬Ùµ öÿõ-&×öÿÜ÷ešÙÎÿÿß fNòÿß fõeðÿµ øÿõ-tÙøÿ_î'÷ †Ü봧 Jõøÿ @øÿÀ hbß fµ øÿõ-BÙøÿó÷ XÜw" w  Æå  æ(ÙŽ æð\ß <–%@À ðð\õöÿõ öÿ15 öÿ5 øÿõ-ŽÖøÿõ@øÿÀ nKÀeð5ôÿÀ ð ð\@øÿÀ nKÀeð5ôÿÀ ð ð\ õöÿ@ôÿÀ ðð\µ øÿÓ÷ öã)÷ Ð×@À Rdæ«ß Ä/Ö 5 øÿ@øÿÀ ð ð\ @øÿÀ Rdæ¹ß Ä/Ö µ øÿõ-VØøÿêÎ½ß Ä/ æÎÕæþß <–%÷ n×@À Rdæ¿ß Ä/Ö 5 øÿõ-¤ÕøÿH@øÿÀ 5ðÿ@øÿÀ 5òÿu-ðÿòÿƒ@òÿ5ôÿÀ%,õåôÿ@ôÿÀ ð ð\#@øÿÀ AøÿÁ A~eAmÁ pæ7þ@øÿÀ ð þ @øÿÀ þføÿæÐß Ä/–%µ øÿ¸õeòÿÄwnw ^Æå@À 5øÿ@À 5”cöÿõ5øÿ  @öÿÀEüÿÀw.@öÿtýÿAøÿWtýÿ@ í@öÿtýÿAøÿWtýÿ@ èÀçw ðÆå7 ×5 ðÿ÷ |1@õêÿ8@êÿÀ ð ð\0@êÿÀ ð\ÀmÞÖ(5 ìÿ@êÿÀ ð\ 5îÿõøÿ @øÿÀ ð\@mîÿµ ìÿµ øÿõ-”Öøÿðu-ðÿìÿwîÿ’Öuìÿðÿµ êÿõ-tÖêÿÄõøÿ@øÿÀ ð\ÀmjÖ@øÿÀ 0 ð\µ øÿõ-FÖøÿí5 öÿ@À 5æÿ@À 5èÿ@èÿ5ôÿÀ%_:-õ öÿ5öÿu-ôÿöÿfõeèÿu-æÿèÿå‚÷ Rá÷ *Õ@öÿÀ RDfæØß Ä/–%5 êÿG@À AêÿÁ p,††;÷ á Nêÿfæöß Ä/–%@êÿÀ 5æÿ@êÿÀ 5èÿ@èÿH-öÿõeèÿu-æÿèÿô‚@À Aêÿ pþ@êÿÀ 7lþhÕ· fÕNß ú-w6µ êÿu-êÿµ@À ðþNß ú-5 òÿõöÿ2@öÿÀ 5ð\ôÿ)@öÿtÈM ß fõ ôÿÎ0Níôÿõ%ÿôÿÎ@ õ%þôÿÎNôÿÎe ß fõeòÿµ öÿõ-¨ÔöÿÊ÷ °ÔΪÔÎe0Îß f@À Aòÿ� pþ@òÿ€ 7`ŒÔ˜w ZÆå ÷ ªÓNæß Ä/Ö @À 5ðÿ@À 5òÿ Nòÿß üæ(ß Ä/Ö õeòÿu-ðÿòÿï‚@À ð þ @À þ æ-ß Ä/Ö Mõøÿ4@øÿÀ 5ð\öÿ+Nøÿß �æ<ß Ä/Ö õ öÿõ%ÿöÿÎCÎJß Ä/õ%þöÿ÷NöÿæP@öÿ æYß Ä/Ö µ øÿõ-€ÓøÿÈ÷ ˆÓÎ‚Óæcß Ä/Ö Îtß Ä/÷ ¶ÒwPw @æ õ%r  fß 3Ö 5øÿ7dxõ%aÎfß 3Ö 5øÿÎ& føÿß &3–% ζfß Î2Ö 5øÿ@øÿwæw Ö÷ ®wˆzwÔw ÄÎ‚ß øwÄw ´Nß ¸2w´w ¤÷ |Nß J3w w �Æå~w:zDÄeÀŸ0z · *z %ß 2ôwp7 z7 zׯ z-· z· z÷¸wöy7 øy .÷¦wìyƒÃeÁ¢BÚ üJ Ó•-ÀŸÂy· ¾y o^ xU d÷ ¨y÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁ&y ÂæŒÒ‹ƒ D~C ÂÚ Âàv÷ ìxÓ•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡À²x¬x÷ ” À¤xžx÷ †7ŽxwVþ‚Âeƒà&æ Ä Ãmrx÷ pxß 2Ã~Ä Ž”ß 2à Î ß 2Ã~Ö „wþ7 Dx ÀŸ:x· 6xÀå0 úÿ ‚· "xWp `ìÀe0ƒÄeÓ•?‡f…À x÷ ,ÀxP�· öw÷ ðw÷ @…‡f…÷ …‡ÀÔw Àåª7¤ÝÀÂw€ ‰î÷ª¸w÷°w×-ªw‚÷¢w‡f…÷ u÷ §uÀu‰ § ‡À À 7u Àßüt· øt…‡7òv 7 èt…‡f…@‰†wª …‡f…wÝw݉ô†wŠ…‡f…wÝ@Àe7þ܉úwjf…wðÜwì܉†wP…‡f…@wÔÜwÐ܉†w. …‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7*vÀÿÿF…‡‡¼¸ v Ä ,_¬ ¼–ÿÿÿÿX�$òz./yopt -r./yopt -rv./yopt./yopt -v/usr/nlib/yaccopt-r-rv-voptimization execl call failsMH2019.yaccopt -rMH2019.yaccopt -rvMH2019.yaccoptMH2019.yaccopt -v : int nterms %d; int nnonter %d; int nstate %d; char *yysterm[] { "%s", 0 }; char *yysnter[] { "%s", "%s" }; %d/%d terminals, %d/%d nonterminals %d/%d grammar rules, %d/%d states %d shift/reduce, %d reduce/reduce conflicts reported %d/%d working sets used memory: states,etc. %d/%d, parser %d/%d %d/%d distinct lookahead sets %d extra closures %d action entries %d action entries saved through merging %d states %d goto entries %d entries saved by goto default conflicts: %d shift/reduce, %d reduce/reduce fatal error: , line %d int %s[] {0,%d ,-1}; memory overflow NULL { %s }ORVorvz‚\z‚\�àîø�‚ƒ„…€�‚ö jâ¨Ðª ¶ ö jŽ¢¾ (0VX)XUWÖ 8 8 À Ö ˜ ä  Ö ä X h "'\bnrt~ n Ž J & 8 \ ž px~†) ”jpŽ”‚ˆ”v|‚"%'\äHäHš¶ÀÌ=>˜ ⢘¸„‚”xy.outputcannot open y.outputillegal option: %cyacc.tmpy.tab.ccannot open table filecannot open input# $enderror$acceptdefine yyerrok yyerrf = 0 define yyclearin yychar = -1 subroutine yyactr(yyprdn) common/yycomn/yylval,yyval,yypv,yyvalv(150) common/yylcom/yychar,yyerrf,yydebu integer yychar, yyerrf, yydebu integer yyprdn,yyval,yylval,yypv,yyvalv #define yyclearin yychar = -1 #define yyerrok yyerrflag = 0 extern int yychar, yyerrflag; int yyval 0; int *yypv; int yylval 0; yyactr(__np__){ please define type # of %s earlierbad precedence syntax, input %dgoto 1000 switch(__np__){ previous rule not terminatedtoken illegal on lhs of grammar rulemissing :semicolon preceeds action %d case %d: return break;rule not terminated before %%%% or EOF%%prec must appear inside ruleillegal %%prec syntaxnonterminal %s illegal after %%prec%%{ appears within a rulesyntax error, input %d 1000 goto(%d,999),yyprdn 999 return end define YYERRCODE %d } } int yyerrval %d; too many nonterminals, limit %dtoo many terminals, limit %dinvalid escapeillegal \nnn construction'\000' is illegal%c define %s %d too many characters in id's and literalsillegal /illegal or missing ' or "termTERMtokenTOKENleftLEFTnonassocNONASSOCbinaryBINARYrightRIGHTprecPRECinvalid escape, or illegal reserved word: %s%s should have been defined earliereof before %%}yyvalyyvalv(yypv%c%d)yypv[%d]EOF inside commentEOF in string or character constantaction does not terminatenonterminal %s not defined! %s: %d too many statesputitem(%s), state %d yacc error--duplicate itemout of state space%d: %s %d, %s %d, working set overflow State %d, nolook = %d flag set! %s too many lookahead setsÖ$%%ª$yyact %d: reduce/reduce conflict (red'ns %d and %d ) on %s %d: shift/reduce conflict (shift %d, red'n %d) on %syypactyyr1yyr2off = %d, k = %d action table overflow %d no space in action tableyygoyypgo%s: gotos on %s nonterminal %s %d %d state %d, pre-nonterminal %s states %d and %d have equal positions state %d %s same as %d %s accepterrorshift %dreduce %d . reduce %d . error The function "system" is called:0d1o1x\1fj1eÚ0cè0sF0lf0ux1rŠ0D1O1Xüÿðÿðýÿøÿà(null)‰ª‰ ‰‰‰fileÞÖ9É�tv î ð€&Ð 6÷ –%ß $ ‰w  õ%@æ� ß HÖ @ß Tõ õeçwæ w Ö Æå.NÎeÌÿfß H Ö À Δ ß H_r@ÐÿÀEÿŸ1õ%ÿÿØÿ NÜÿfÚÿæ¡ ß H–%_rΰ ß H κ ß H_rÎÅ ß HNØÿÎEÿ@Øÿtøÿ&ÎEÿæË ß H–%_rÁ¼ 7Ò  þy fß ä Ö 7^÷ ZÎÝ ß H_rÎæfæ@ß  –%74 ÀD /Îê ß H_jÎù ß HÎÿ ß HÎ ß HÀ ð Î ß HÎ" ß H_jÎ$ ß H_jÎ1 ß H_jÁÌ 7<  þy 7 Î ÷ ÐÀ Îz ß vÀ%Î: ß H_7 ¨ ÷ €À _LÀ˜ ð¥#f&õŒ øÿÀ† · ‚ ð¥ fÀv @íøÿÀ%ÿÎI ß H_j÷-J Z _Lä÷ *À _LÔΞ ß vÀ%À2 œf5�ôÿ· & À%; õ¥{ôÿ÷-  _LêÎO ß H_5 öÿÀöð¥(f(Àêð‹fÎY ß H_jÀÔð¥;f· ÈÁÀ· ¾ð¥ f@öÿµ öÿÀ%?÷-’ ¢;ÒÀšð¥)fÀŽ· Šð¥ f@öÿµ öÿÀ%%÷-^ n!æÀfð¥{fÀZ· Vð¥ f@öÿµ öÿÀ% ÷-* :æÎ_ ß H_7 &À"ð¥cfÀð¥#fÀ · ð¥ f÷-è øóæÎ~ ß vÀ%Îi ß H_7 Ô÷ xÀ _ÀÀÄÀ 5øÿÀºð¥.f· ®Î¬ ß vÀ%Îq ß H_ @øÿð¥ f΃ ß H_Î’ ß vÀ W÷ À XÀbð¥ f ÀV· Rð¥:f÷-4 DFíÀ<ð¥ f À0ð¥ fÀ$ð¥ fÀ· À-þ ,æÀÀ 5øÿÀþð¥.f· òά ß vÀ%Î� ß H2 @øÿð¥ fί ß H&£ÎÉ ß H 7 ²÷-œ ¬ À¦ð‹fÎÛ ß HE· ’ïõ5IÐÿÎá ß HÎê ß H÷-` p Àj· fð‹fÎø ß H%ïÎæfæ8 ß  –%7, 7 8÷-" 2 À,ð‹fÎß H· ïàÎß HÎø ß Î wÄw ´ÆåÀôð¥ f Àèð¥ fÀÜð¥ f· Ðë5 ôÿ@ôÿÀ @mÈ H5 òÿõ´öÿ@ôÿÀ @m@mòÿ’5�øÿµ òÿAöÿAœf@ õ‹øÿµ öÿçõ‹øÿ$@öÿð¥ f@öÿð¥ f@öÿð¥ f @öÿð¥{f@öÿð¥/fwöÿ8Àµ ôÿ± wèw Øæ Àœf5�øÿÀ% õ¥ øÿõ¥ øÿ Àø· ôÀ-Þ GåÀäð¥/f1ÀØð¥*g+÷eÊÀÆð¥*fÀºð¥/gÀ®ð¥\f÷e · š÷-„” á÷e†÷-p€ Àvð¥ f÷ FÿÀ  Àww ÀPð¥/f"· DÀ@· <ð¥ f÷-. ñÀ"ð¥ f À· À-ü ðØÀw¾w ®ÀòœfÄ% Ä% Ä% ÀØ· ÔÀ-¾ LéÀÄð¥{f· ¸À´ð¥}f · ¨÷-’¢ 5ñ· –ÏÀ�ð¥(f(À„ð¥*g"÷evÀrð¥*fÀfð¥)g · Z÷-DT ë÷eF÷-0@ ¡Àwòw âÆå~w DÄeÀŸ ·   %ß X ôwÂ7 ú 7 ú ׯð -· è · æ ÷†wÚ 7 Ü  .÷twÐ ƒÃeÁBÚ üJ  Ó•-ׯ¦ d· ž ÷ z r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „\ À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •@à >Á  Ò‹ƒ D~8ÂDÂH÷ üÓ•0 ÷ $f v÷ öÿ€€LÀe0 9Àe�‡ÀÈÂÂ÷ ” ÀºÂ´÷ †7¤wˆþ‚Âeƒà&æ Ä Ãmˆ÷ †ß X Ã~Ä Ž”ß X à Î ß X Ã~Ö „wBþ7 Z ÀŸP· LÀå0 úÿ ‚· 8Wp `ìÀe0ƒÄeÓ•?‡f…À ÷ ,ÀP�· ÷ ÷ @…‡f…÷ …‡Àê Àå‚7°ÀØ€ ‰L†7¼÷‚È÷À×-º‚÷²‡f…@‰†wŠ …‡f…wfwb‰R†wj…‡f…@wJwF‰X†wH…‡f…@‰@…&æ¦È B„ƒ‚F…‡f…ww ‰^†w …‡7ÀÿÿF…‡fè ð ù    # ( - 4 8 < @ D H L Q W ^ e l r w | � † Š @`†®ºøeÿmÿ †z6TBL¤programfunctionsubroutinecommondimensionblockintegerrealdatadoublesysmovtstclrjmpintcharfloatdoublestructexterngloblbyteeventextdatabsscomm%s: cannot stat quota (%l/%l) characterdirectory block special (%d/%d) cannot open pascal object pure separate executable not stripped old archive archive pascal programdata c programdata c programfortranassembler programroff, nroff, or eqn inputassembler programroff, nroff, or eqn inputassembler programdata commandsprobably text with garbage with garbage ¾dr ol x® f¼ eJ cX sÊlØuÊ rüÿðÿýÿøÿ‰‚‰‰‰fixÞÒ9É�º \N ð€&Ð 6÷ –%ß *‰w ÷!’@ø¥-BõeCƒ õ Ë‹8À’Àåb '‚À x\÷UZƒ ð÷EP÷UJ÷÷UBó÷U:ï÷E 2ë÷U@*ç÷U‚"ã÷UßÎ~ß p· Îß *Ô÷ ú Îô ß *õ%÷E æ 7 à 7 Ø Î¢& ß VÖ ÷ XÎÆ ß *õ%(÷E ¸ $Nß ²· ¦  õefß ÈÖ î÷ª € 7 ‚ 7 | 7 ~ N&ß VÖ ß ²õ à÷ îwêw ÚÆå_lNß –5�öý5 ôý@Àeúý5øýõ¥ öý÷ & õ%ôý}�öýøýµ øýµ ôýNß –5�öýõ¥ öýä· ú õ%ôý뱧 p õ¥ öý ÷ Ø Nß –5�öýõ¥ öýï· À =Šøý÷5º NfÎeúýß zÖ ÷5¢ NÎeúýß b÷5� "@Àeúý5øý@Ÿøýµ øýß ö @Ÿøýß ˜À ñµ øýý‹øýôõ¥ öýÎ ß ö÷ @ _bwÆw ¶ÆåDÄeòý 7Ô• à e÷5  HNß p÷5€ <ÎÁ;÷5þ BŸÔ•\€ÀE?ÿtúÿÀU0�€ÀEÇÿtýÿÀU0�€ÀEøÿÀU0�Ô•?ƒ µ ý‹ÆAÁeòý@àÀ%¾@Ÿß ˜À ÊTŸéÎÃß p÷5€„ Î| ß "ÎÅß p@ÀeòýàfÎeòýæß –%wÞw ÎDµ ! Ä ý¥öTŸµ ý‹õ Šwªw š÷  Àÿÿ!÷ ù÷ ü Îæª fß æ–%7ä ÷ª Ú ÷ Ú è÷ Ô ÿ‹Ì ÀŸÆ ·  wT· º Àùw :À® p�ª · ¤ ÷%ž 7 ˜ Îæª æß –%À%ÎÇß pÎß *ww ðÎd æª æß –%À-R ÎÛß pÎß *wÐw ÀD„ Ì‹ýNífæß –%w¨w ˜÷5 õ¥ "÷5 ÷5@ü Îî@�&ß þÖ À õ¥  õ¥~ÀwXõ¥ â øõ¥úßw 2ý‹ @µ H­öÀÿÿw" üw Æåõ Îó:õîÿ5Šùÿõ õêÿ@ 5 êÿAÀ r uìÿ@îÿ@aÁe0p�ðÿõ îÿAÀ r 5õ æõ êÿÎõß pµ îÿNîÿNaÎeðÿß pwŽw ~Äø÷-ªøÀòÀ $Nß $Îfæß –%Îææß –%ß $&æß –%Îæ æß –%ww DÔ‹þ@íÀ wf…À|÷ ,ÀrP�· h÷ b÷ @…‡f…÷ …‡ÀF ÀåÂ7ŒÀ4€ ‰ †7"÷Â$÷×-‚÷‡f…@‰†wŒ …‡f…wBw>‰†wl…‡f…@w&w"‰†wJ…‡f…@w w‰†w(…‡f…@‰@…&æ¦È B„ƒ‚F…‡7fÀÿÿF…‡†VžžvžnžžžŽž`–ž~fUsage: fix [-crnhfqblo] [file ...] standard inputLine too long. /::fatal write error. fatal write error 0-Unknown error: ‰Â‰‰‰jr�›«ÃÍçù  ' 9 I [ d z Œ ˜ ª ¹ É Ø é ý  " 1 @ X e { Š – "Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededfixitÞÖ9í�bcp $1.lst new$1 ed - new$1 g/^ /d 1,2d /\.end/+1,$d 1,$s/.$// 1,$s/^................// g/^$/d w q fold6@ É�Z . ð€&Ð 6÷ ß Ð‰w Âõ õeÎß ò7 õ 4@È¥-/7 ½ @È¥9Á®Wp w¦½ ’ÀeÐÿ7`˜@È¥0é@È‹ Î"ß *÷ Îß Ðõ õeõ "ÎŒß ÜÎ6 fß Ö À ÷ ÖNß  ÷ ÊÎß Ðõ õeß Î6 ß jÄ%ÿÿõõ Ð÷ –wâw ÒDÀå *‚À x  Ã-àÎ ß l7  ß lÀå )‚À xÃê ÃeÃEä÷ Ü ÀÖ À  ÚÃÈ ƒ Ö7 À wj÷e¶ ÷E° ÷÷ ª ô÷ ¤ ñ· ž îw :Ä8÷-H� ÀŠ À °Nß Îfæß ®–%ÎæFæß ®–%ß &æß ®–%ÎæIæß ®–%wØw ÈDÔ‹þ@íÀ wÀw °Æå~w DÄeÀŸ · ü %ß lôw�7 è7 èׯÞ-· Ö· Ô÷¸wÈ7 Ê .÷¦w¾ƒÃeÁLBÚ üJ Ó•-ÀŸ”· � o^ xU d÷ z÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁø Â�ŒÒ‹ƒ D~C „ Šv÷ ¾Ó•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡À„Â~÷ ” ÀvÂp÷ †7`wVþ‚Âeƒà&æ Ä ÃmD÷ Bß lÃ~Ä Ž”ß là Î ß lÃ~Ö „wþ7  ÀŸ · Àå0 úÿ ‚· ôWp `ìÀe0ƒÄeÓ•?‡f…ÀÜ÷ ,ÀÒP�· È÷ Â÷ @…‡f…÷ …‡À¦ ÀåR 7èÀ”€ ‰˜÷R Š÷‚×-|‚÷t‡f…@‰†w  …‡f…@)‰†wö…‡f…w�‰žJ‡A …‡7 f…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe71@‰¤‡À �1‡wJf…@wðw쉪†w,…‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7BÀÿÿF…‡‡P\N"pp"Ž€xššxBad number for fold Unknown error:  dzonxÂfÐe@cNs¬lÌuÞrðDvOjXüÿðÿðýÿøÿà(null)‰R ‰‰‰öþ '7OYs…—§³ÅÕçð$6EUdu‰�®½Ìäñ  " "Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededcrt0.ostartfold.o~mainargcargvc~putchcncolperror.o ~perror cns~strlensstrprintf.o*formpD loop>rjustF ndigitJ gnum.widthB ndfndH swtabLdecimal octalzhexnfloatÂscienÐcharac@stringNlongorun¬unsignedÌremoteÞlongðloctvlhexjprbufènulstr�prstrðffltpr.obputchr.olfl¦close.oÜdup.oòdup)getc.oindirbadretªfillŠwrite.o®errlst.oÐexit.oÐcsv.oÞcerror.oøcleanup.savr5$@ _exit"Ð_main"_fold#_ibuf$6 csv"Þ_dup"ò_fout$L _printf"*_flush"š_close"Ü_fopen"_perror" _putch"_getc"jcret"ê_col$< _putchar"l_errno$> _sys_ner#ô_sys_err#°_strlen"_write"®pfloat"bpscien"bcerror"ø_getw"$__cleanu"frocÞÓ9í�$ ‚’" ð€&Ð 6÷ ß J‰w <Æå,õ õeõ% Îæ¦æß (–%Îß Jõ% ß | fß ÄÖ À Nß @Îß J÷” 7 ’ ÷Ž NÎeÎÿ& ß ¦Ö À%ÿÿ9 & & ß –%À%ÿÿ0 ÎfÎeöÿ& ß 8–%„ Ä% óõ¥ öÿ÷@  & & ß ¤–%÷ æ5�öÿ÷ Þ5�öÿõ¥ öÿÄ õ & & ß ¤–%÷ ¼5�öÿõ¥ öÿ Ä Îß w0õ¥ öÿê@�öÿß $5�öÿ÷ ‚5�ôÿõ¥ ôÿ Ä Îß Îß |Îß ’Î¼ß ÊÖõ¥ ôÿß@�ôÿß $5�ôÿ÷ 25�òÿõ¥ òÿ õ¥ òÿÄ ðÄ @�òÿß $5�òÿA�òÿWp)B�ôÿ�`Wp)B�öÿ�`uøÿÎfÎeøÿæß ̉A�ôÿWp)B�öÿ�`uøÿÎfÎeøÿæß Ì–%‚w 0õ¥a%õ¥z!@�ÀeŸÿõ¥9@�ÀeêÿÀ x‚À$ À%À&À'À(wêõ¥0à@�Àå$ âƒÎß Îß |Îß ’@�æÔß ÊÖ ÎX æV æôß Ê–%÷ |Ów „æ ÎfÎeøÿ& ß 8–%À  õ¥ øÿ7  @�øÿÀå1 æ‚À xšÀ wL÷ þ ÷ öæõ¥ øÿ÷æ@�øÿîw D*÷ ÖÎÀ 7Ê&fß â–%7¸Àÿÿ÷ ¬·  ÿ¥ ¢· ’ýŸ˜µ · Ž÷ ˆÄ Ä Ô@áwÀw °7 p÷b7 `Nffß –%w˜w ˆD ÷%D Îæ"fß (–%À%Àÿÿwf7  À pŸ"·  µ Ä Ä Þ@íw 4÷ ø Îò æ"fß (–%w$w Ä ÷-†Ô ÀÎ À Ž Nß ²Îfæß (–%Îæ æß (–%ß ²&æß (–%Îæ æß (–%w²w ¢DÔ‹þ@íÀ wšw ŠÆå~wP DÄeÀŸF · @  %ß ôwj7 , 7 , ׯ" -·  ·  ÷¸w 7   .÷¦w ƒÃeÁ BÚ üJ Ó•-ÀŸØ · Ô  o^ xU d÷ ¾ ÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁ<  Âd ŒÒ‹ƒ D~C ÂX  Â^ v÷  Ó•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡ÀÈ Â ÷ ” Àº ´ ÷ †7¤ wVþ‚Âeƒà&æ Ä Ãmˆ ÷ † ß Ã~Ä Ž”ß à Î ß Ã~Ö „wþ7 Z  ÀŸP · L Àå0 úÿ ‚· 8 Wp `ìÀe0ƒÄeÓ•?‡f…À ÷ ,À P�· ÷  ÷ @…‡f…÷ …‡Àê Àå67ÀØ€ ‰l ÷6Î÷Æ×-À‚÷¸‡f…@‰†wæ …‡f…@)‰†wÐ…‡f…@wÀ‰r †w´ …‡f…wªw¦‰v †w”…‡f…@wŽwЉ| †wr…‡f…@wrwn‰‚ †wP …‡f…@wTwP‰ˆ †w,…‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7¬ÀÿÿF…‡‡l�������`rZfÖÖÖÖUsage: froc [ file ] error - unexpected eof error - illegal character '%c' (byte %d on line %d) Unknown error: @doxbfpeàcîsLllu~r�DO Xüÿðÿðýÿøÿà(null)‰6 ‰‰‰‰‰Ô Ü ë   - 7 Q c u … ‘ £ ³ Å Î ä ö   # 3 B S g { Œ › ª Â Ï å ô "Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededfunnyÞÒ9É�F’¤> ð€&Ð 6÷ ß 0‰w "_Tõ% @ø¥-·Šþõ õeNÎeöÿß øNøÿß hõ%Î”ß ÎÈfÎeÐü& ß È–%À 5ôÿ@@môÿ0ŠÐü@ÀeÐü5Îü@5ÎüΖæß êÖ uÎü`þ5 ôÿ@`þµ `þÈ‹µ ôÿ÷õ%Èôÿ NÎüæ¤ß Ö Î ß 0uÎü`þ5 bþu-ôÿbþ @@mbþð• ˜ýµ bþóNÎedþfôÿß \Ö 5 bþu-ôÿbþNÎe˜ýf`þ@bþÀ @a&dþß –%µ bþëÎ·ß ÍwöÆå,_ w Þ:5 øÿu-øÿ @øÿÀ @apøÿdþµ øÿò@À 5øÿõ øÿ NøÿŽ ß Ü5ôÿ@øÿÀ @mAôÿÁ AaHdþ@ôÿÀ @aAøÿÁ Aapdþdþõ øÿÝwtÆå–Ãw ^÷ �5øÿõ øÿ@øÿ 5øÿAøÿÀ 5r@w>æ éw *>@@mAAmH’÷‹ @@m’fÎe æ7æ¹ß Æe5 øÿu-øÿÎfNmøÿæß –%µ øÿîÎæ’æß –%w¸æ Àw ¤:Îæß êÖ ÎÂß ÎdfÎe”ÿ& ß È–%@Àe”ÿ5øÿý¥ øÿ ý¥yøÿý¥nøÿµ øÿñý¥nøÿΖæß êÖ Î ß 0w:ÆåfÃw $Æå~wDÄeÀŸ ·  %ß Xôw7 ö7 öׯì-· ä· â÷¸wÖ7 Ø .÷¦w̃ÃeÁÐBÚ üJ Ó•-ÀŸ¢· ž o^ xU d÷ ˆ÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁ Œҋƒ D~C  Âv÷ ÌÓ•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡À’ÂŒ÷ ” À„Â~÷ †7nwVþ‚Âeƒà&æ Ä ÃmR÷ Pß XÃ~Ä Ž”ß Xà Î ß XÃ~Ö „wþ7 $ ÀŸ· Àå0 úÿ ‚· Wp `ìÀe0ƒÄeÓ•?‡f…Àê÷ ,ÀàP�· Ö÷ Ð÷ @…‡f…÷ …‡À´ ÀåL7€À¢€ ‰÷L˜÷�×-Š‚÷‚‡f…@wNwJ‰"†wr…‡f…AW †@w*Á fL 1L 7 À5Á Á ÁeBw ‰( ‡À5€…‡À& Ö w&ÀL&ÀþH&ÀøD&Àò@&Àì<&Àæ8&Àà4&ÀÚ0&ÀÔ,&ÀÎ(&ÀÈ$&À &À¼&À¶&À°&Àª&À¤ &Àž&À˜&À’f¦æ&È „ƒ‚�€f… ‰¦BR‚…‡f…@ww‰.†w,…‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7ÜÀÿÿF…‡‡·Ƈ7À‡fÁ¸Wp3Áe @7ªÀE€�‡ Input a line - %s LINE TOO LONG. =%c%c%c Had enough?ŒdfoZx®f¼e,c:s˜l¸uÊrÜDbOVXüÿðÿðýÿøÿà(null)‰L‰0‰‰gresÞØ9É‘ j�ì ð€&Ð 6÷ –%ß 8‰w $Æå ß ä 7 +Îß ä 7¨-÷  ÷úÿDô÷òÀêÀe 7ä÷Ì+â7 œ<õe@È¥-9œÁj7ð  þy· x'· p$Nfß FÖ õ õeNfß ¾Ö õåõc @œæ¶ß ª Ö õ õ ¿÷%Nõåµ Nfß ¾Ö õãõeõ   ß †÷ "  ß 8w" õ õ ôNõeß †ów ø @õ À Îß 8÷ j*Îd*ß Î  õefß ø Ö 7J* NæÈß ª Ö Îß 8· bÃà ƒ ÷ â � Ã-Ž‚ÎHææß ª Ö Ë¥ îË‹_ºÎhÎeæ`æß N–%Ä%Îæüß ª Ö Ä%À6ð‹À%†ð&À ?úÿÀpœÿÿÎÌæÀþÁúap@À-ô†Î¬æ"ß ª Ö · žÃà ƒ ÷  � Ã-ʂ΄æ?ß  Ö Ë¥ îË‹_ºÎ¤ÎeÀœ&æß N–%Ä%ÎFæUß ª Ö Ä%Ànð‹pÀ\ðXÀRpœÀDAap@À-8†Îðæhß ª Ö · âÃà ƒ ÷ b � Ã-‚ÎÈæ…ß ª Ö Ë¥ îË‹7Àìæß Ö Ö Ä%Ζæ›ß ª Ö ÷eÂ÷-À¼‚Îzæ¯ß ª Ö À¨üÿa?žÀ- ‡_šÎTæÓß ª Ö _šw� w € @õ À Îß 8ÎbÎeæZõefß N–%Ä%Îæðß ª Ö Ä%À*ð‹À%†ðÀ?úÿÀ pœÿÿÎß ª ÀôÁðap@õ À Îß 8ÎÒÎeÀÊ&õefß N–%Ä%Îæß ª Ö Ä%À–ð‹pÀ„ð€ÀzpœÀlAapÀ\õefß Ö Ö Ä%Îß ª @õ À Îß 8÷e÷-‚Î*ß ª À üÿa?À-†Î=ß ª w w ðÆåC@Àeðÿ5îÿ5 ìÿBÊ¥^½Š‚ @ÀeÀ ‡Àÿÿw„”Ä%*õøÿÁ~7ê þy„”Ä%(õ%ìÿå}�ìÿîÿµ îÿÓ•S�ìÿµ ìÿÓÄ%) @Àeðÿ@-îÿЃӕ õ îÿSŸîÿÃÄ% ÆÓ•‘¼@œÀ À »†Ó• À@í·Ó•¬õ øÿéýÕøÿ¥Ê‹Ê¥ àÓ• �Ó•Šõöÿ„”Ä%^„”ó•þÿ‘µ öÿÄ �@ÀeÀ І„”Ä%]ñ@øÿp�öÿ_xw ¸Æå? ªõ  fß ø Ö 5öÿ NæQß ª Ö 5 öÿõúôÿõúòÿÄCòÿC-ôÿ‚Îæúföÿß –%µøÿNöÿß Î wPÃú€À`5ôÿ”Â%  ÞÄ%Ûƒ”�ÙŠõòÿ÷%Ë¥œ“€ Î&ß ÂÖ À 7Ô‹ óÎ&ß ÂÖ À -Ô‹÷÷ ž Nß ¢÷eÄÿ ÀÎæ`ß  Ö õ%øÿ›÷ ¬˜ÄÚÀ–ð‹ÁÎ&ß ÂÖ À Õ÷ H ÙÔw |æ DCÀ”Àå ^‚À xž¥õ wbÔ‹ûïÌ‹øì7 ÀóΕ&æß z –%À èÀ’`Ú •&æß z –%À ôÛÀ”À 0ËÀ”À 0ÆÔ‹þÔ¢þƒ ó¥ÿÿ Ε&æß z –%À ðÀ’`Ä Ä-| ±Î&ß ÂÖ À µ„ ó‡§Îdß ª —w œ ß æÀ Àˆß  ÷ D  Îß æÀ Àhß  ÿ‹ ñwhw Xõ ÀHð‹ wNÄÃúÔ”þÄì 7ê Ä7 à Àð‹7Ê Î&ß ÂÖ àË¥œŒ  Î&ß ÂÖ À 7ž ÀÍÔ‹ðÎ&ß ÂÖ À òÔ‹÷Àw ÄDC�Ë w¾Ô @ù•‡~õ óÀñw ”÷ ’÷($Nfß  Ö ÷ zÎß 8wxw hCBÄÄe€” �À%\€”ÀU€ �Ë¥ ŠÀ@íÓ‹ú!ë‚Àÿÿw4w $æ ÄÃúB•Ä-Æ ü‚õ øÿ@øÿÀE€ÿ�Ã%ú‚Înß ª €”5øÿ#À%&êΔ æŽ æß Ú –%ïõE€ÿøÿõ%1øÿÜõ%6øÿØ@øÿÀ ¦@øÿÀ &°äÄT ÀÀeÀåú7F Ã%ú‚Î…ß ª •÷ÄÃúÔ”þwtw dDCBÔ”Ä%ú‚Îœß ª ƒ ö‚wHw 8Æå~wÄ"DÄeÀŸº" · ´" %ß  ôw7  "7  "ׯ–"-· Ž"· Œ"÷†w€"7 ‚" .÷twv"ƒÃeÁ´BÚ üJ  Ó•-ׯL"d· D"÷ z r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „\ À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •@à >ÁÄ! Ò‹ƒ D~8ÂàÂä÷ ¢!Ó•0 ÷ $f v÷ öÿ€€LÀe0 9Àe�‡Àn!Âh!÷ ” À`!ÂZ!÷ †7J!wˆþ‚Âeƒà&æ Ä Ãm.!÷ ,!ß  Ã~Ä Ž”ß  à Î ß  Ã~Ö „wBþ7 ! ÀŸö · ò Àå0 úÿ ‚· Þ Wp `ìÀe0ƒÄeÓ•?‡f…ÀÆ ÷ ,À¼ P�· ² ÷ ¬ ÷ @…‡f…÷ …‡À� Àåæ-7ŽÀ~ € ‰è†7b ÷æ-n ÷f ×-` ‚÷X ‡f…÷ :÷Ò+4À,‰Ò+ ‡À À 7 Àß· …‡7 7 …‡f…@‰†w~ …‡f…@)‰†wh…‡f…wîwê‰î†wJ…‡f…@wÒwΉô†w(…‡f…@‰@…&æ¦È B„ƒ‚F…‡7rÀÿÿF…‡efgv°–�ŠÊ $*.[\. >ªø0âLìDVVòø:Unknown flag: %c Cannot open pattern file: %s RE too long, line %d RE error, line %d RE error, line %d RE space exhausted; line %d RE too long, line %d RE error, line %d RE space exhausted, line %d RE too long, line %d RHS error, line %d Too many lines in pattern file, %d RE space exhausted, line %d RE error, re%d RE error: re1 RE error, re%d RHS error Too many patterns RE space exhausted Can't open %s %s RE botch output line too long. Output line too long. Output line too long. | d0 o* xl fz e c sˆ l– uˆ rüÿðÿýÿøÿ‰æ-‰‰headÞ×9í�øÆ" ð€&Ð 6÷ ß Ž‰w €bõ õeDÄ @È¥-NŽ ß 7~Ä õeõ ëÄ ÷‹” ?Ä  ß ®Îèfß ÄÖ À Nß rÎß ŽuøÿÄ õe5 øÿ÷‹N Î ß >·Š@ õ% õ øÿNøÿæÈß üÖ Îôß æ÷ ’Ä §wÆæ œw ²DÄ Îèß (Ã%ÿÿ Îß >Ã% Ä ïìwŒéw zD$ Ì¥0 Ì¥9 ÁWp C“ÀeÐÿ`„ ðÌ‹ ÎæÔæß l–%Îß ŽÀw8Ûw &Äê÷-(n Àh À bNß äÎfæß l–%Îæøæß l–%ß ä&æß l–%Îæûæß l–%wÄw ´DÔ‹þ@íÀ w¬w œÆå~wìDÄeÀŸâ · Ü %ß >ôw|7 È7 Èׯ¾-· ¶· ´÷¸w¨7 ª .÷¦wžƒÃeÁþBÚ üJ Ó•-ÀŸt· p o^ xU d÷ Z÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁØ ÂBŒÒ‹ƒ D~C Â6 Â<v÷ žÓ•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡ÀdÂ^÷ ” ÀVÂP÷ †7@wVþ‚Âeƒà&æ Ä Ãm$÷ "ß >Ã~Ä Ž”ß >à Î ß >Ã~Ö „wþ7 ö ÀŸì· èÀå0 úÿ ‚· ÔWp `ìÀe0ƒÄeÓ•?‡f…À¼÷ ,À²P�· ¨÷ ¢÷ @…‡f…÷ …‡À† Àå 7ÈÀt€ ‰J÷ j÷b×-\‚÷T‡f…@‰†wø …‡f…w„‰PJ‡A …‡7 f…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe71@‰V‡À �1‡wJf…@wäwà‰\†w,…‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡74ÀÿÿF…‡‡ ==> %s <== Badly formed number Unknown error: rdLo@x”f¢ec s~lžu°rÂDHO<Xüÿðÿðýÿøÿà(null)‰ ‰‰‰¨°¿Ùé %7IYew‡™¢¸ÊÖè÷';O`o~–£¹ÈÔ"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceedediulÞÒ9É� ªX ð€&Ð 6÷ ß r‰w dÎß ”7îõ õeõ ÎÆ ß ~Îfß ¨Ö À Nß B÷ ÞÎß rõ õeà Ã% ‚÷ ¼ÎÂß Ì÷ °Îß r‘Îß Ä% ç Š÷ v÷ 0÷‹L Î æ¾ß ÌÖ Î ß Ð÷ hõ ¬÷ ^wªw šÄ À xª× Ã?Îß •w‚ÀÀå ëƒÃ% îÃ%íêw XÆåà Šõøÿ5 ôÿÄ G€Á®7j þy@ôÿÀEøÿÀ%Ó• Ã% ƒµ ôÿñC-øÿƒÀ’ÀEÿPÃ% ‚÷ ´Îåß Ì÷ ¨Îß r“�C-øÿ†õøÿµ ôÿC-øÿ‚€âÂ’ÂU€ÞÃ% †Ã õ ôÿ•·=ŠøÿÎ æ ß *Ö Ä Ã Â5€ÂE€ÿ Ì•_Ë• Œ�Ë•-ƒ „ “íà Ã% ‚Ë¥ ù3Šwbw RDC•þ@wJw :Ä÷-r¸ À² À |Nß ´Îfæß P–%Îææß P–%ß ´&æß P–%Îææß P–%wØw ÈDÔ‹þ@íÀ wÀw °Æå~w4 DÄeÀŸ* · $  %ß ôw�7  7  ׯ -· þ · ü ÷¸wð 7 ò  .÷¦wæ ƒÃeÁBÚ üJ Ó•-ÀŸ¼ · ¸  o^ xU d÷ ¢ ÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁ  Â\ŒÒ‹ƒ D~C ÂP ÂVv÷ æ Ó•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡À¬ ¦ ÷ ” Àž ˜ ÷ †7ˆ wVþ‚Âeƒà&æ Ä Ãml ÷ j ß Ã~Ä Ž”ß à Î ß Ã~Ö „wþ7 >  ÀŸ4 · 0 Àå0 úÿ ‚·  Wp `ìÀe0ƒÄeÓ•?‡f…À ÷ ,Àú P�· ð ÷ ê ÷ @…‡f…÷ …‡ÀÎ Àå7À¼ € ‰d÷² ÷ª ×-¤ ‚÷œ ‡f…@‰†w  …‡f…@)‰†wö…‡f…wº‰jJ‡A …‡7 > f…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7<1@‰p‡À �1‡wJf…@ww‰v†w,…‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7j ÀÿÿF…‡‡òü _ÂR®p %sInput line exceeds 500 characters Line too long for this filter Unknown error: BdoxdfreâcðsNlnu€r’DO Xüÿðÿðýÿøÿà(null)‰‰‰‰ÂÊÙó%?Qcs‘¡³¼Òäð  ! 0 A U i z ‰ ˜ ° ½ Ó â î "Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededlÞÒ9푚X ð€&Ð 6÷ ß „‰w ø_ø÷ÒÎþæß &Ö À  À7Î÷ Ê#÷Àuøÿý‹øÿ @øÿð‹µ øÿôý¥løÿ÷š7 �ý¥søÿ÷„NÎeìÿß n@ìÿÀe ÿ7rõ n@ø¥-hõeýe@È‹\@’J÷67 8ï7 ,÷,é÷"7 ÷à÷Ü7 7 ×· êÔ÷eŠ· ä· Ì· ÖÉ· Þ· η öÂ÷ÿÿZ¾· À· ä¹· ¸¶÷eN· ®°· ª­¬  rÁ Áe¨A! þy$�õ ÷ € · l7 l7 j7 h7 Œ÷ \7 dõTÐÿ7 `÷Fê fÐÿß DÖ 7Ðõ µ õ¢5 öÿu-öÿÎõefß æ Ö LôUµ öÿèÎP æ"Á„Áåô@€ r"&æôß ,ÆeÃfÄôÄ Kƒô5€÷ ²÷ ¸;õ%æ`ß & Ö ÷2ß . ÷ ”ÎP æ"ÁÁà@€ r"&æß ,Æe÷ Ž Î†& ß ’Ö æfß & Ö Îâæß Ö ÷ ’ß HÄe"³÷ TÎøæ ß ¾Ö Îøß âw(Æå*_ w DC_èÁPÀ 7rŒ5øÿõ%øÿ÷ æ  ƒŽß HÂe"øR÷ Ð  ƒŽß HÂe"øE÷ ÐÄå"Áá@€ r"À À 5røÿ€ 5öÿ5 ôÿu-öÿôÿ,õ ôÿ÷ ˜ À5òÿu-øÿòÿAöÿupòÿAmôÿWp"Ba ƒŽß Hµ òÿê÷ \Îoß & µ ôÿÐw8Æå‘w "3@�À2ÀeÀE7&7 ÷ ü õ¥ õ¥õ•?· þ Àå  é‚À xøÎø@�&ß ¾Ö wÆÌw ´÷ ÊÎøæ ß ¾Ö 7 ¶w¢ñw �`÷ ¦[÷ †&Îøæ,ß ¾Ö · ŒÀˆÀmúÀeÀ%P Îøæ ß ¾Ö 7 h<Îøæ ß ¾Ö · T2÷ .Îøæ ß ¾Ö 'Á8À 7r¨ÀewpžÁ%P Îøæ ß ¾Ö 7 · Îøæ ß ¾Ö ÁøÀ 7rhÁ ðwÚŸw È_BCó%ÿÿ_>÷ ÿ÷ ¢÷ ¨ ÷ ŽÎæqß & Ö Îæuß & Ö ÷ jnÎß ‚ÀœÎEÿæzß & Ö ÀœtÁœÁEÿ@P÷ BÎ&ß FÖ À Îæß & Ö tøÿÀEÿ&ÎEÿæ†ß & –%ó5`"ó5 ó%ÿÿ Î ææ�ß & –%ÀœÎEÿÀœ&ÎEÀþæ—ß & –%ÎÀœ&ÎEÿß ’Ö æŸß & Ö ÷ Š(ÎÀœ&ÎEÿß <Ö ÷ €÷ f & ß ’Ö æ£ß & Ö & ß ’Ö æ§ß & Ö ÷ 2%÷ .Î ß îÎÎeß üó-( ƒŽÎe¦Îeæ¬ß & –%ŽÎeæ»ß & Ö ó5ÎæÅß & Ö ÎæÈß & Ö wÞ_Pw Ê_6õ-L l÷>’ & æŠß J–%7 ‚÷ÿÿ&5 òÿ5 øÿ5 ðÿ5 ôÿÎòß â5öÿÀ% 7õ öÿÀÿÿFõ%:öÿµ øÿõ0öÿõ øÿ@òÿ@mH�öÿµ òÿõ%øÿ AôÿWp AmöÿÁeÐÿuôÿõ%øÿ AðÿWp AmöÿÁeÐÿuðÿÀ@ðÿt@]ôÿ@-¯@òÿ@mе òÿwp wê Æå ‰w Ô ÎffÎEÿß ^–%õ5ÿ„ Ä%ÁeÿÀ r`w  àw Ž !C÷ˆ÷5 ‚ ó%ÿÿÎqß îÎ”ß ÌÄFÄ%Rƒß ÌùwV Þw D CÄÄ ÷4:ÃeøÎß îw. ïw  ÄTCˋԔüÔ•/C Â%Ô”‚ ú ŠÀTwô æw â XÎòfß ~Ö À _` ÷ ûNæÎß & Ö _à 7 Èĸ Ã%Îòß â�ƒ ö÷ 6ð÷ v÷¥.*é÷%ÿÿ  æºf÷ Lÿ–%&ß æ Ö ò%ÿÿòø Ã%€À`Èœºƒ ÷ÆÎß hw< §w * _H À® Àe"À-¨ ‚Îß ÷e˜ Ä’ ÷e"Œ 4 4 õ ÷ _@ NÎeÖÿfß .Ö À ÷ úNæÝß & Ö õÿÿØÿ5Šßÿ5 àÿ5 Úÿõ ÷å"0 htØÿõE€Úÿ@ÚÿÀEÿŸÀ%`õE Úÿ @ÚÿÀEÿŸÀ%@õE`ÚÿõU€ÚÿõEÚÿõ5ÚÿõUÚÿõEÚÿtÚÿt�Ýÿt�Þÿt�Üÿt�ßÿtàÿô5` ÷  tâÿtäÿtæÿ töÿtøÿ÷ êtòÿtôÿNàÿ@�ßÿ&ß <Ö 7`ìwØ Æå$_î w À _" DC÷ œÀEÿ}À%‚ ÀÀEÿ}À%‚ÀK ÀÀEÿ}À%‚Àÿÿ@÷ d 3-†‚ 3-ƒÂ 3-†‚ 3-ƒÂ �wpÀ @ ô5ó5ÃÕÁ”@à5øÿô‹ÿÿÁŠ upøÿ@ð wþ æ ™w ê Æå~w–DÄeÀŸŒ · † %ß îôwÊ 7 r7 rׯh-· `· ^÷¸wR7 T .÷¦wHƒÃeÁìBÚ üJ Ó•-ÀŸ·  o^ xU d÷ ÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁ‚ Â0ŒÒ‹ƒ D~C Â$ Â*v÷ HÓ•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡ÀÂ÷ ” ÀÂú÷ †7êwVþ‚Âeƒà&æ Ä ÃmÎ÷ Ìß îÃ~Ä Ž”ß îà Î ß îÃ~Ö „wþ7   ÀŸ–· ’Àå0 úÿ ‚· ~Wp `ìÀe0ƒÄeÓ•?‡f…@‰†wÖ …‡f…w² ‰8J‡A …‡7 ’f…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe74 1@‰>‡À �1‡w(f…@w ‰D†w …‡f…wüwø‰H†wð…‡f…wäAɉNT‡  Rf…Añ ÷ ^ñ y�± ñ ÷ Fñ y�± @3f…Añ ÷ ñ @9�± !f…A÷ @Àe&7ZwV7àP@‰T†7¾ ±ñ‡w*7 …‡w äw þ wú AupNNmfß XÖ wÈw ¸ÆåÂÒ @@í5ôÿ€ ‡_ª�Á fAôÿÀ rBpÁE€uôÿ@@`5øÿ5öÿDCƒàµàøÿNøÿ&ß ®Ö føÿ&ÿ l –%5òÿîÀ 2„`D-øÿñ‚-ε`öÿföÿß ®Ö $ε`öÿföÿ&ß Ò–%µ`øÿDøÿæföÿÿ  –%5òÿàÀ D-øÿäÎ&ß ®Ö ƒàσàC-öÿç‡D-øÿ%@øÿ@íAAíöÿ@ NföÿŽ`ß XÖ uøÿ_dNøÿfß XÖ @öÿ€`5_dµàøÿføÿæß Ò–%µàöÿCöÿ–wrw bæ õ~ øÿDC“Ô’“�õ øÿúwNw >ÆåõX öÿDCB5“øÿ”’Ò’S�øÿõ öÿ÷wf…÷TPwmJ‰Z†w2À>wm8…‡f…w(‰Z†ww …‡f…@w w‰`†wæ …‡f… ‰¦BR‚…‡f…÷ Ð@‰f…&æ¦ÄÔCB€  ‚ Ô•-÷ ŠÀÔ‚ƒ„…‡÷ Áe0f—v÷ ìÿ”•‡ À —vA W ‡Áå ƒ ~‡w Nß ß ww þÆåDÄeòÿL@4ÀL &ß €Ö ß ,Âõwøÿõ/öÿó%J ó%K À t5^øÿÀ t5`öÿNøÿæß îÖ 5øÿNöÿæß îÖ 5öÿ÷ Þ B-øÿB-øÿó%B-öÿB-öÿó% Î&ß €Ö ß ,³ Àw2w "DCÃ%: ß ªÀe“þ`Áím Áe¼À rfÀ€åwôw ä΀p@&fß ^–%æ ÂàÁÀ r<RÁÀ r<ÁÀ r<RÁÀ r<À rWtC`À rÒÁeÀ rwJ ÃFÎß ªàƒ Îß ª!ö÷* 7* Îß ªÀ%n÷’ ÀÀ ìfƒ ÀÀ 0!fö÷t€ Ò7 ðÀàww Ä8ÖԔþAA WpCÃe°Ä8Ô”Ô”Ô”„ BÂe�WpCÃeÆÔ”Ô”Ô”Ž&ß ÊÖ ŽÎed&ß ÊÖ ŽÎed&ß ÊÖ ŽÎed&ß ÊÖ Äe@ &ß ÊÖ À8wvw fAÀ rÁ Ànw\Àmûw FD„ õ% AÀ r À r Áe0@�Ô• AÀ r Áe0@�w @…&æ¦È B„ƒ‚F…‡f…w¶w²‰ì†w …‡7àÀÿÿF…‡‡€�6rw„‡€�6r@‡f…@õ Á P`Hm` …‡ÿÿÿÿôôR°ÀÌÔ!"#$&'( !$&$%&dÔ^R0:Lìd&àd,þBú €d@b c-r-€w-s@x-r-w-tx-ü (08./etc/passwd %s: total %s %d %4d %3d %-8.8s%3du%3dg%4d/%4d%4d,%4d%9s%s %4s %-7.7s %-4.4s %-12.12s %s%.14s%s unreadable %s not found œ dv oj x¾ fÌ e< cJ s¨ lÈ uÚ rì Dr Of Xüÿðÿðýÿøÿà(null)‰‰ ‰‰‰¶‰‰ô‰€pŽ’M:/PSTPDTDay Mon 00 00:00:00 1900 SunMonTueWedThuFriSatJanFebMarAprMayJunJulAugSepOctNovDec‰last >ší‘ Vº˜ ð€&Ð 6÷ ß  ‰w Æå5 ôÿÎß Ì 76õ% À7Ìõå æVß þ Ö 5øÿÎdß ÷ ¨ Îføÿß à Ö 5 öÿ@öÿt@a0 èý0 êýµ öÿõ%öÿñ5Šñÿõ�yðÿÀ�tÀEÿ5�òÿõ�ióÿ fòÿfðÿføÿß hÆeõåòÿµ ðÿÎæß â Ö À ×  ÀÀ Έæß â Ö ÎÒæß â Ö õ ðÿ(W-òÿ#† æ~ß þ Ö 5øÿ@ôÿµ ôÿÀ õ øÿ‘Îß ŽÎe ¦æ�ß –%÷ "÷ ¦ Îðÿæ"føÿß –%À%Î¯ß �÷ ‚ CÃeË%ÿÿ_Îæß ’Ö À ñÄ�dÎß Ä¥ ŽÎe ¦‘&ææÀ ŽÎe ¦‘&Îe`ææÞß Æeõìÿõîÿ‘t@a5èýèÿ5êýêÿõ èÿ õ êÿÎüß _õ èÿõ êÿAêÿ@èÿ  € 5èÿuêÿÎß  NÎeèÿß Àe æß Ö Aêÿ@èÿ@íìÿAíîÿ€ 5ìÿuîÿõeÈ ìÿõeŽPîÿu ìÿõ%É ìÿõ%¢îÿƒNÎeìÿß Àe æß Ö #NÎeìÿß Àe æ€QæAîÿ@ìÿÀåÈ ÁåŽP€ f&÷ r Æef&æ*ß Æe÷ lõåòÿµ ðÿ÷‹æ_Ä�äÄ¥~5 öÿõ%öÿ_ÁÎÀÈ  € f&@öÿt@a°èý°êýµ öÿåæ¤æž‘t@a°èý°êý_w ¢ æ ÷ t ý‹_€@ð¥|_€@ð‹C5 øÿý‹V@µ Aµ H¢Jµ øÿõ%øÿíI@ð¥|<ý‹öý¥0@ð¥0ð¥9+5 øÿ@µ È¥-"µ øÿõ%øÿó!ý¥9áý¥-Öý¥xÒ@AH¬ý¥| ý‹ ý¥ úÀw¼ w ¬ Îæß â Ö ÷Æ÷Â7 À7 ¾Îß Îe &æ8ß –%÷ Dwr w b ÎÒæß â Ö ÷|÷x7 v7 tÎß Îe &æZß –%w, w  õ .DÄ _@÷ ÎÀ>7ü&fß  –%7ê7 äÀ ÀÿÿV÷ ØPýŸÔµ · Ê÷ Ä· ¾Ä Ô@ 5X÷ ¨IÎÀ Àe &fß ¾ –%Îæ>fß  –%7v%÷ÿlÎæfß ¾ –%ÎVæ>fß  –%7F÷ >÷ :æ÷ 6@áw6 ÷ &øÀ Àe>77 õ ÷ ýŸ · ÷ þÄ Ä ¦@âw î7 ê7 èNffß ¾ –%wÜw Ì7 È7 ÆN fffß > Æew´w ¤Ä|÷-¬  ÀšÀ Nß Îfæß ð –%ÎæŠæß ð –%ß &æß ð –%Îæ�æß ð –%wBw 2DÔ‹þ@íÀ w*w Æå~w6DÄeÀŸ, · & %ß \ ôwú7 7 ׯ-· · þ÷¸wò7 ô .÷¦wèƒÃeÁ�BÚ üJ Ó•-ÀŸ¾· º o^ xU d÷ ¤÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁ" ÂԌҋƒ D~C ÂÈ ÂÎv÷ èÓ•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡À®Â¨÷ ” À Âš÷ †7ŠwVþ‚Âeƒà&æ Ä Ãmn÷ lß \ Ã~Ä Ž”ß \ à Î ß \ Ã~Ö „wþ7 @ ÀŸ6· 2Àå0 úÿ ‚· Wp `ìÀe0ƒÄeÓ•?‡f…À÷ ,Àü P�· ò ÷ ì ÷ @…‡f…÷ …‡ÀÐ Àål7<À¾ € ‰Ü÷l´ ÷¬ ×-¦ ‚÷ž ‡f…@)‰†wv…‡f…@wö‰â†wZ …‡f…wàw܉æ†w:…‡f…@wÄwÀ‰ì†w…‡w öõ õ õ%ÿÿ õ  N ffß ¾ –%õ% @tAWt÷ÿÁE€ÿ@PN Îe&fß ¾ –%À Àÿÿw”ÎfÎEþÓf…@w(w$‰ò†wv …‡f…AW †@wÁ fl1l7ö À5Á Á Áe: wâ‰ø ‡À5€…‡À& Ö w&À,L&À&H&À D&À@&À<&À8&À4&À0&Àü ,&Àö (&Àð $&Àê &Àä &ÀÞ &ÀØ &ÀÒ &ÀÌ &ÀÆ &ÀÀ &Àº f¦æ&È „ƒ‚�€f…@wwþ‰þ†wD…‡f…÷ F@‰w Nß 6 ß ,ww þÆåDÄeòÿL@4ÀL &ß ,Ö ß P Âõwøÿõ/öÿó%J ó%K À t5‚øÿÀ t5„öÿNøÿæß  Ö 5øÿNöÿæß  Ö 5öÿ÷ Þ B-øÿB-øÿó%B-öÿB-öÿó% Î&ß ,Ö ß P ³ Àw2w "DCÃ%: ß ÎÀe“þ`Áím Áe¼À rfÀ€åwôw ä΀p@&fß –%Ã6 ”ÁÀ r<RÁÀ r<ÁÀ r<RÁÀ r<À rWtC`À rÒÁeÀ rwÚ ÃFÎß Îàƒ Îß Î!ö÷º 7º Îß ÎÀ%n÷’ ÀÀ 슃 ÀÀ 0!Šö÷t€ Ò7 € À”ww Ä@úԔþAA WpCÃeÔÄ@Ô”Ô”Ô”„ BÂe�WpCÃeêÔ”Ô”Ô”Ž&ß îÖ ŽÎed&ß îÖ ŽÎed&ß îÖ ŽÎed&ß îÖ Äe@ &ß îÖ À@wvw fAÀ rÁ Ànw\Àmûw FD„ õ% AÀ r À r Áe0@�Ô• AÀ r Áe0@�w @…&æ¦È B„ƒ‚F…‡7èÀÿÿF…‡‡ ð6þvþò&û€�ð‡ ð6þvþù&û€�ð‡ ð6þøvþCøùó€@Cò�ö¦û€�ð‡ ð€þvþòûð‡ ð€þvþùûð‡ ð€þvþøCøùó€@Cò�öˆûð‡€�6rwŒ ‡€�6r@‡f…@õ Á P`Hm` …‡Îå&0‰€/usr/adm/wtmpCan't open /usr/adm/wtmp /usr/adm/owtmp wtmp begins at %10.10s %5.5s impossible error%8.8s tty%c %10.10s %5.5s %8.8s tty^%c %10.10s %5.5s still logged in - crash- %5.5s (%5.5s) (%ld+%5.5s) interrupted at %10.10s %5.5s interrupted at %10.10s %5.5s Unknown error: �djo^x²fÀe0c>sœl¼uÎràDfOZXüÿðÿðýÿøÿà(null)‰l‰‰‰‰0‰‰JRa{‹£­ÇÙëû);DZlxŠ™©¸ÉÝñ 8E[jv"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceeded€p²¶M:/PSTPDTDay Mon 00 00:00:00 1900 SunMonTueWedThuFriSatJanFebMarAprMayJunJulAugSepOctNovDeclinermÞÔ9É�Ä*Šâ ð€&Ð 6÷ ß ò‰w ä_0Îß 67dÄ´5 øÿõ "µ øÿõeuòÿý¥-òÿµ òÿ4 ôý¥+òÿµ òÿNòÿß 8 ÄeÛ ôÿÿÄ´5 ôÿ@øÿÀ @-ôÿ5öÿÄeL-öÿÎ*ß „÷ >µ ôÿêõöÿÂÄ´ô%ÿÿ ÷ ÷ L-öÿÎ€ß ®�À% Ë÷ ú÷ ô À�ß Æë À�ß Æµ öÿßÄeÐ÷ ÈwÜÆå_ w Ä"D •Ã¥0Ã¥9 NæCß „Ö ÷ Œ�Wp @Á�@`ÂeÐÿå€wŠÝw xÆå~wöDÄeÀŸì · æ %ß ÆôwX7 Ò7 ÒׯÈ-· À· ¾÷¸w²7 ´ .÷¦w¨ƒÃeÁVBÚ üJ Ó•-ÀŸ~· z o^ xU d÷ d÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁâ šŒÒ‹ƒ D~C ÂŽ ”v÷ ¨Ó•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡ÀnÂh÷ ” À`ÂZ÷ †7JwVþ‚Âeƒà&æ Ä Ãm.÷ ,ß ÆÃ~Ä Ž”ß Æà Î ß ÆÃ~Ö „wþ7  ÀŸö· òÀå0 úÿ ‚· ÞWp `ìÀe0ƒÄeÓ•?‡f…ÀÆ÷ ,À¼P�· ²÷ ¬÷ @…‡f…÷ …‡À� Àå–7˜À~€ ‰¢÷–t÷l×-f‚÷^‡f…@)‰†wÔ…‡f…wV‰¨J‡A …‡7 f…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7Ø1@‰®‡À �1‡w(f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7^ÀÿÿF…‡‡Illegal column sequence Illegal number %s údÔoÈxf*ešc¨sl&u8rJDÐOÄXüÿðÿðýÿøÿà(null)‰–‰‰listÞÕ9É�ð(¸ ð€&Ð 6÷ ß ð‰w â_Îß 7Àõ õeõ% @È¥-·Ššõ õeõ Îàfß &Ö À ÷ ^Nß ÷ RÎß ðõ õeÎàß ŠÄ%ÿÿ1Ä% * ÷‹8Î$ß ¢ Ä>Ä<Î\ß ¢týÿÀU0ß ¢ÄEøÿÄU0 Àå é‚À x(ß ¢Çõ §÷ Ä ß ðwô„w âÄ.÷-zÂÀ¼À ZNß ŠÎfæß Ζ%Îæ<æß Ζ%ß Š&æß Ζ%Îæ?æß Ζ%w€w pDÔ‹þ@íÀ whf…ÀF÷ ,À<P�· 2÷ ,÷ @…‡f…÷ …‡À Àåò7\Àþ€ ‰B÷òô÷ì×-æ‚÷Þ‡f…@)‰†wö…‡f…w‰HJ‡A …‡7  f…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7œ1@‰N‡À �1‡wJf…@wzwv‰T†w,…‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7ÌÀÿÿF…‡‡ÀºªUnknown error: ‰ò‰‰‰ ¨·Ñáù/AQ]o‘š°ÂÎàïÿ3GXgvŽ›±ÀÌ"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededlnallÞÓ9É� öx ð€&Ð 6÷ –%ß ¤‰w �æ õ% Î æöæß ‚–%÷ fõ @À @mß èÀ @À @mæß ÜÖ Îß ¤Äü@À @mÔ”þô•/ÿÿõøÿ#@øÿÀ @mß “”þÎü@øÿÀ @m&ß bÖ À @øÿÀ @mß Rµ øÿu-øÿÙwÒw ÂÆå$NÎeÖÿfß ÈÖ À  @ÚÿÀEÿŸÀ%@÷Àwœw ŒD Ô¥/ƒ Ì‹úà @wxÌ¥/Ä û„ öw XÄ÷-VÀúÀ pNß ÄÎfæß ‚–%Îæ$æß ‚–%ß Ä&æß ‚–%Îæ'æß ‚–%wöw æDÔ‹þ@íÀ wÞw ÎÆå~w|DÄeÀŸr · l %ß ìôw®7 X7 XׯN-· F· D÷†w87 : .÷tw.ƒÃeÁ*BÚ üJ  Ó•-ׯd· ü÷ z r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „\ À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •@à >Á| Ò‹ƒ D~8ÂVÂZ÷ ZÓ•0 ÷ $f v÷ öÿ€€LÀe0 9Àe�‡À& ÷ ” ÀÂ÷ †7wˆþ‚Âeƒà&æ Ä Ãmæ÷ äß ìÃ~Ä Ž”ß ìà Î ß ìÃ~Ö „wBþ7 ¸ ÀŸ®· ªÀå0 úÿ ‚· –Wp `ìÀe0ƒÄeÓ•?‡f…À~÷ ,ÀtP�· j÷ d÷ @…‡f…÷ …‡ÀH Àåt7.À6€ ‰^†7÷t&÷×-‚÷‡f…wúwö‰d†wl …‡f…@wÜw؉j†wH…‡f…@‰@…&æ¦È B„ƒ‚F…‡f…w&w"‰ö†w …‡7tÀÿÿF…‡arg count %s: not a directory Unknown error: RdoxBfPeÞcìs^llu^rüÿðÿýÿøÿ‰t ‰‰¶¾Íç÷3EWgs…•§°ÆØäö$5I]n}Œ¤±ÇÖâ"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceeded‰lntreeÞÔ9É‘X€ ÈV ð€&Ð 6÷ –%ß ö ‰w N æ ÷ & À  À7š#õeõ DÌ¥-„ Ì‹· |# •Á, 7Î þy· f#Ì‹óõ õeõ àõ% Î æ ß ÀÖ Îß ö w.#@fß ìÖ @fß úÖ  ß ö w¤ w ” @œÀEÿtAAœÁEÿ@Pw~ w n ÆåXNÎeÊþfß † Ö À Næ4 _ÚNÎe¦þfß † Ö À NæF _Ú@ÎþÀEÿŸÀ%@NæX _Ú@ªþÀEÿŸÀ%@Næn _Ú fß t Ö 5¤þ_ŠNæ„ _ÚÀ_ªNÎeðþffÎe‚ÿß °–%NÎeðþffÎe ÿß °–%õ îþ_ŠNÎeÊþfÎe‚ÿß † Ö À _RNÎe‚ÿæ  ß Ö _Š@ÎþÀEÿŸÀ%@^β fÎeðþß \Ö À _ŠÎ´ fÎeðþß \Ö À _Šõ%ÌþNÎe‚ÿæ· ß Ö  fÎe ÿæí ß ô–%@ÎþÀEð7T!fÎe ÿß ´ Ö À  fÎe ÿæó ß –%÷ .! NÎeÊþß ÔfÎe ÿß Ô Ö NÎe ÿfÎe‚ÿß úÖ ^@ÎþÀEÿŸÀ% Aõ%ÿÿÖþ=÷ ê P÷ à )uØþÿuÚþÿNÎeþþfÿß „Ö  fÎeþþæ!fæ !ß ôÆeNÎeÊþß ÔfÎe ÿß Ô _þNæ!ß À_þõ5`Îþ_NÎe ÿfÎe‚ÿß T Ö À NÎe‚ÿfÎe ÿæ&!ß –%ÎfÎeîþf¤þß ’ –%À%_˜ 5¢þ_ À%ÿÿNæ>! õ ¢þ õ%¢þNæR!ß Ö N¤þß ô wŒw |ÆåJNÎeÖÿfß † Ö À Næp! Næ‚!Næ”!ß Ö :NÎe²ÿfß † Ö À é@ÚÿÀEÿŸÀ%@ç@¶ÿÀEÿŸÀ%@Næª!ßu-²ÿÖÿ NfæÀ!ß –%N´ÿfß îÖ ÷ 6÷ 6÷ wÔw Ä÷ $ ß ´ À%xÎæ!ß À÷ ¬�‘Ë÷ ž�Ã¥ øÄ¥yÎß ö wŠw zÆå°NÎeNÿfß † Ö À Næí!ß Ö _¤u-PÿNÀ¨&æ æÿ!ß Æe_¤@RÿÀEÿŸÀ%@Næ&"Û fß t Ö 5LÿANæ<"ÍÀ5Jÿ_zõ rÿ2ÎX"fÎetÿß \Ö À (ÎZ"fÎetÿß \Ö À NÎetÿffÎe‚ÿß °–%NÎeNÿfÎe‚ÿß † Ö À NÎe‚ÿæ]"ß Ö ÎfÎerÿfLÿß ’ –%À%· ·õ5`Rÿí@RÿÀEÿŸÀ%@õ%PÿNÎe‚ÿæo"ÙNfÎe‚ÿß îÓ@RÿÀEÿŸÀ% õ%ÿÿZÿÉ÷ nNÎe‚ÿæš"ß ÀÖ · R»õ%ÿÿJÿNæ®"_õ Jÿõ%JÿÎÂ"ß NLÿß ô wÈw ¸ÂCÓ‹ƒ~À€àC‚ Ó‹ýÂ%d Nfæà"ß –%DCÔ”þô•/ÿÿCÂÔ”ƒ~Š@w`w Põ Î æü"ß ÀÖ N fffß ÀÆeÎ ß ¤Îß ö ww DC„ £Ì‹ûã‹ wúÀûw äwHõ Nß ´ÿ•02· .?Š*· &wÄw ´õ Î f& ß . –%ß ´Î f& ß @ –%Àe0?�ê· æw„w tÆå÷ 25øÿÎ#ß /õ øÿ2Ä5#CÃeÜÿ•þà D•þNÎefÎeàÿß Ö NÎefÎeÜÿß Ö Næ?#ß Ö Î #ß À7 Zwõ%ÿÿöÿ ÎÈ#ß ´ 5öÿ@-øÿóõ%ÿÿöÿç÷ 0êNæ)#Ûw ÄÎfÎeæß Ô –%w¸w ¨Æå~wDÄeÀŸ ·  %ß ¤ôwˆ7 ô7 ôׯê-· â· à÷(wÔ7 Ö .÷wʃÃeÁP#BÚ üJ Ó•-÷ R r f÷ ðÿ€Àe0�‡•à •@à >Áv Ò‹ƒ D~8Âx#Â|#÷ TÓ•0 ÷ $f v÷ öÿ€€LÀe0 9Àe�‡À Â÷ ” À ÷ †7üwæþ‚Âeƒà&æ Ä Ãmà÷ Þß ¤Ã~Ä Ž”ß ¤à Î ß ¤Ã~Ö „w þ7 ² ÀŸ¨· ¤Àå0 úÿ ‚· �Wp `ìÀe0ƒÄeÓ•?‡f…÷ b÷à#\ÀT‰à# ‡À À 7D Àß@· <…‡7. 7 ,…‡f…wÄwÀ‰€#†wØ …‡f…wªw¦‰†#†w¸ …‡f…@‰†w¢ …‡f…wzwv÷ Âæðæ* ‰Œ#wtf…‰†wf7ª …‡f…‰…‡f…w6w2‰’#†w8 …‡f…ww‰˜#†w…‡f…@wwü‰ž#†wö…‡f…÷ D&‰†Ö wÞÖ }…‡f…@wÄwÀ‰¤#†w´…‡f…@‰fA… w,üÿšÀw"”Àe"w"ŠÀew"€@lw"xAlÁeæw¬k &@Àtùÿ`Áe€Ø€ …‡@…&æ¦È B„ƒ‚F…‡f…w.w*‰¼#†w …‡7.ÀÿÿF…‡f…@÷ …‡ ÷xNæ ‰ð%)‡Î‰Â#ò%÷- ‰Â#‡@‰ð%‡ Àð%$ô$ttñ¤yîЋì¢é7˜ø@‰Ö À��6rwÞ‡€�6r@‡lntreeusage: %s [ - ] [ -q ] source dest qhˆ"%s": cannot stat"%s": cannot stat"%s": not a directory"%s": not a directory"%s": cannot open directory"%s": cannot stat...source tree across devices detected at "%s" on pass 2mkdircan't chmod of "%s" to %oquot0"%s.q" no can do can't link "%s" to "%s"error reading "%s":bad directory structure: "%s""%s": cannot stat"%s": cannot stat"%s": not a directory"%s": not a directory%s" and "%s" are on different devices ok ? "%s": cannot stat"%s" is a subdirectory of "%s" at "%s""%s": not a directory"%s": cannot open directory..."%s": cannot statsource tree extends across devices at "%s"special file: "%s" error reading "%s":bad directory structure: "%s"path name too long: "%s/%s"%s: try again.no children to wait for !!! "%s" failed/usr/bin/can't find "%s"6 dŒ o† xÈ fÖ ed cr sB lä rüÿðÿýÿøÿ‰‰ ‰ ‰‰‰‰ß Ö –%ÆewFÜÿ‰/devlockÞØ9I�*®lH ð€&Ð 6÷ –%ß |‰w hÆå¨÷ pÎ& ß Ö 5 Tÿõ%Tÿ @TÿÀ ATÿÁ p µ Tÿð×  ÀÁ¼A @@7´÷U®Î & ß ^Ö Î®ß èNÎe¨ÿß fõ øÿÎß DÎ æß ÀÖ Î´ß èNÎeVÿß fNÎeVÿfÎe¨ÿß ðÖ 5RÿÎ æß ÀÖ õ RÿÎß D× #Î¼ß èÎ æß ÀÖ NÎeVÿß fNÎeVÿfÎe¨ÿß ðÖ 5Rÿõ RÿÎß DÚwNw >N& ß ^Ö ÎÃß è ß |w,w Æå@0 PÎfÎeöÿ& ß .–%5øÿõ øÿ-õ¥ öÿ)@�öÿß B5�ôÿõ‹ôÿ A@P± P@mH�ôÿ@ð%PPÎfÎeöÿ& ß .–%5øÿõ øÿÓw¢w ’æ @Ap,PP 5 øÿ@p-øÿP@@møÿAAmøÿH¢ µ øÿëÀwPw @æ õ¥a@�ÀE ÿ@�5�øÿõ¥9øÿõ¥0øÿ@�øÿ õ¥Zøÿõ¥Aøÿ@�øÿ wüw ìæ 5 øÿõ%øÿ Îføÿß PÖ µ øÿòwÒw ÂN& ß ^Ö ÎÎß èN& ß ^Ö wªw šÆå~w6DÄeÀŸ, · & %ß šôwz7 7 ׯ-· · þ÷(wò7 ô .÷wèƒÃeÁÐBÚ üJ Ó•-÷ R r f÷ ðÿ€Àe0�‡•à •@à >Á” Ò‹ƒ D~8ÂøÂü÷ rÓ•0 ÷ $f v÷ öÿ€€LÀe0 9Àe�‡À>Â8÷ ” À0Â*÷ †7wæþ‚Âeƒà&æ Ä Ãmþ÷ üß šÃ~Ä Ž”ß šà Î ß šÃ~Ö „w þ7 Ð ÀŸÆ· ÂÀå0 úÿ ‚· ®Wp `ìÀe0ƒÄeÓ•?‡f…À–÷ ,ÀŒP�· ‚÷ |÷ @…‡f…÷ …‡À` Àå:7"ÀN€ ‰†72÷:>÷6×-0‚÷(‡f…@wꉆwx …‡f…@wÐw̉ †wT…‡f…AW †@w¬Á f: 1: 7  À5Á Á Áe¨wŒ‰ ‡À5€…‡À& Ö wø&ÀŒL&À†H&À€D&Àz@&Àt<&Àn8&Àh4&Àb0&À\,&ÀV(&ÀP$&ÀJ &ÀD&À>&À8&À2&À, &À&&À &Àf¦æ&È „ƒ‚�€f…@w¬‰†w* …‡f…@‰@…&æ¦È B„ƒ‚F…‡7‚ÀÿÿF…‡Key: again: LOCKEDUNLOCKED. ^d´o®xðfþeŒcšsjl rüÿðÿýÿøÿ‰: ‰‰0‰‰lsÞÒ9푚X ð€&Ð 6÷ ß „‰w ø_ø÷ÒÎþæß &Ö À  À7Î÷ Ê#÷Àuøÿý‹øÿ @øÿð‹µ øÿôý¥løÿ÷š7 �ý¥søÿ÷„NÎeìÿß n@ìÿÀe ÿ7rõ n@ø¥-hõeýe@È‹\@’J÷67 8ï7 ,÷,é÷"7 ÷à÷Ü7 7 ×· êÔ÷eŠ· ä· Ì· ÖÉ· Þ· η öÂ÷ÿÿZ¾· À· ä¹· ¸¶÷eN· ®°· ª­¬  rÁ Áe¨A! þy$�õ ÷ € · l7 l7 j7 h7 Œ÷ \7 dõTÐÿ7 `÷Fê fÐÿß DÖ 7Ðõ µ õ¢5 öÿu-öÿÎõefß æ Ö LôUµ öÿèÎP æ"Á„Áåô@€ r"&æôß ,ÆeÃfÄôÄ Kƒô5€÷ ²÷ ¸;õ%æ`ß & Ö ÷2ß . ÷ ”ÎP æ"ÁÁà@€ r"&æß ,Æe÷ Ž Î†& ß ’Ö æfß & Ö Îâæß Ö ÷ ’ß HÄe"³÷ TÎøæ ß ¾Ö Îøß âw(Æå*_ w DC_èÁPÀ 7rŒ5øÿõ%øÿ÷ æ  ƒŽß HÂe"øR÷ Ð  ƒŽß HÂe"øE÷ ÐÄå"Áá@€ r"À À 5røÿ€ 5öÿ5 ôÿu-öÿôÿ,õ ôÿ÷ ˜ À5òÿu-øÿòÿAöÿupòÿAmôÿWp"Ba ƒŽß Hµ òÿê÷ \Îoß & µ ôÿÐw8Æå‘w "3@�À2ÀeÀE7&7 ÷ ü õ¥ õ¥õ•?· þ Àå  é‚À xøÎø@�&ß ¾Ö wÆÌw ´÷ ÊÎøæ ß ¾Ö 7 ¶w¢ñw �`÷ ¦[÷ †&Îøæ,ß ¾Ö · ŒÀˆÀmúÀeÀ%P Îøæ ß ¾Ö 7 h<Îøæ ß ¾Ö · T2÷ .Îøæ ß ¾Ö 'Á8À 7r¨ÀewpžÁ%P Îøæ ß ¾Ö 7 · Îøæ ß ¾Ö ÁøÀ 7rhÁ ðwÚŸw È_BCó%ÿÿ_>÷ ÿ÷ ¢÷ ¨ ÷ ŽÎæqß & Ö Îæuß & Ö ÷ jnÎß ‚ÀœÎEÿæzß & Ö ÀœtÁœÁEÿ@P÷ BÎ&ß FÖ À Îæß & Ö tøÿÀEÿ&ÎEÿæ†ß & –%ó5`"ó5 ó%ÿÿ Î ææ�ß & –%ÀœÎEÿÀœ&ÎEÀþæ—ß & –%ÎÀœ&ÎEÿß ’Ö æŸß & Ö ÷ Š(ÎÀœ&ÎEÿß <Ö ÷ €÷ f & ß ’Ö æ£ß & Ö & ß ’Ö æ§ß & Ö ÷ 2%÷ .Î ß îÎÎeß üó-( ƒŽÎe¦Îeæ¬ß & –%ŽÎeæ»ß & Ö ó5ÎæÅß & Ö ÎæÈß & Ö wÞ_Pw Ê_6õ-L l÷>’ & æŠß J–%7 ‚÷ÿÿ&5 òÿ5 øÿ5 ðÿ5 ôÿÎòß â5öÿÀ% 7õ öÿÀÿÿFõ%:öÿµ øÿõ0öÿõ øÿ@òÿ@mH�öÿµ òÿõ%øÿ AôÿWp AmöÿÁeÐÿuôÿõ%øÿ AðÿWp AmöÿÁeÐÿuðÿÀ@ðÿt@]ôÿ@-¯@òÿ@mе òÿwp wê Æå ‰w Ô ÎffÎEÿß ^–%õ5ÿ„ Ä%ÁeÿÀ r`w  àw Ž !C÷ˆ÷5 ‚ ó%ÿÿÎqß îÎ”ß ÌÄFÄ%Rƒß ÌùwV Þw D CÄÄ ÷4:ÃeøÎß îw. ïw  ÄTCˋԔüÔ•/C Â%Ô”‚ ú ŠÀTwô æw â XÎòfß ~Ö À _` ÷ ûNæÎß & Ö _à 7 Èĸ Ã%Îòß â�ƒ ö÷ 6ð÷ v÷¥.*é÷%ÿÿ  æºf÷ Lÿ–%&ß æ Ö ò%ÿÿòø Ã%€À`Èœºƒ ÷ÆÎß hw< §w * _H À® Àe"À-¨ ‚Îß ÷e˜ Ä’ ÷e"Œ 4 4 õ ÷ _@ NÎeÖÿfß .Ö À ÷ úNæÝß & Ö õÿÿØÿ5Šßÿ5 àÿ5 Úÿõ ÷å"0 htØÿõE€Úÿ@ÚÿÀEÿŸÀ%`õE Úÿ @ÚÿÀEÿŸÀ%@õE`ÚÿõU€ÚÿõEÚÿõ5ÚÿõUÚÿõEÚÿtÚÿt�Ýÿt�Þÿt�Üÿt�ßÿtàÿô5` ÷  tâÿtäÿtæÿ töÿtøÿ÷ êtòÿtôÿNàÿ@�ßÿ&ß <Ö 7`ìwØ Æå$_î w À _" DC÷ œÀEÿ}À%‚ ÀÀEÿ}À%‚ÀK ÀÀEÿ}À%‚Àÿÿ@÷ d 3-†‚ 3-ƒÂ 3-†‚ 3-ƒÂ �wpÀ @ ô5ó5ÃÕÁ”@à5øÿô‹ÿÿÁŠ upøÿ@ð wþ æ ™w ê Æå~w–DÄeÀŸŒ · † %ß îôwÊ 7 r7 rׯh-· `· ^÷¸wR7 T .÷¦wHƒÃeÁìBÚ üJ Ó•-ÀŸ·  o^ xU d÷ ÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁ‚ Â0ŒÒ‹ƒ D~C Â$ Â*v÷ HÓ•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡ÀÂ÷ ” ÀÂú÷ †7êwVþ‚Âeƒà&æ Ä ÃmÎ÷ Ìß îÃ~Ä Ž”ß îà Î ß îÃ~Ö „wþ7   ÀŸ–· ’Àå0 úÿ ‚· ~Wp `ìÀe0ƒÄeÓ•?‡f…@‰†wÖ …‡f…w² ‰8J‡A …‡7 ’f…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe74 1@‰>‡À �1‡w(f…@w ‰D†w …‡f…wüwø‰H†wð…‡f…wäAɉNT‡  Rf…Añ ÷ ^ñ y�± ñ ÷ Fñ y�± @3f…Añ ÷ ñ @9�± !f…A÷ @Àe&7ZwV7àP@‰T†7¾ ±ñ‡w*7 …‡w äw þ wú AupNNmfß XÖ wÈw ¸ÆåÂÒ @@í5ôÿ€ ‡_ª�Á fAôÿÀ rBpÁE€uôÿ@@`5øÿ5öÿDCƒàµàøÿNøÿ&ß ®Ö føÿ&ÿ l –%5òÿîÀ 2„`D-øÿñ‚-ε`öÿföÿß ®Ö $ε`öÿföÿ&ß Ò–%µ`øÿDøÿæföÿÿ  –%5òÿàÀ D-øÿäÎ&ß ®Ö ƒàσàC-öÿç‡D-øÿ%@øÿ@íAAíöÿ@ NföÿŽ`ß XÖ uøÿ_dNøÿfß XÖ @öÿ€`5_dµàøÿføÿæß Ò–%µàöÿCöÿ–wrw bæ õ~ øÿDC“Ô’“�õ øÿúwNw >ÆåõX öÿDCB5“øÿ”’Ò’S�øÿõ öÿ÷wf…÷TPwmJ‰Z†w2À>wm8…‡f…w(‰Z†ww …‡f…@w w‰`†wæ …‡f… ‰¦BR‚…‡f…÷ Ð@‰f…&æ¦ÄÔCB€  ‚ Ô•-÷ ŠÀÔ‚ƒ„…‡÷ Áe0f—v÷ ìÿ”•‡ À —vA W ‡Áå ƒ ~‡w Nß ß ww þÆåDÄeòÿL@4ÀL &ß €Ö ß ,Âõwøÿõ/öÿó%J ó%K À t5^øÿÀ t5`öÿNøÿæß îÖ 5øÿNöÿæß îÖ 5öÿ÷ Þ B-øÿB-øÿó%B-öÿB-öÿó% Î&ß €Ö ß ,³ Àw2w "DCÃ%: ß ªÀe“þ`Áím Áe¼À rfÀ€åwôw ä΀p@&fß ^–%æ ÂàÁÀ r<RÁÀ r<ÁÀ r<RÁÀ r<À rWtC`À rÒÁeÀ rwJ ÃFÎß ªàƒ Îß ª!ö÷* 7* Îß ªÀ%n÷’ ÀÀ ìfƒ ÀÀ 0!fö÷t€ Ò7 ðÀàww Ä8ÖԔþAA WpCÃe°Ä8Ô”Ô”Ô”„ BÂe�WpCÃeÆÔ”Ô”Ô”Ž&ß ÊÖ ŽÎed&ß ÊÖ ŽÎed&ß ÊÖ ŽÎed&ß ÊÖ Äe@ &ß ÊÖ À8wvw fAÀ rÁ Ànw\Àmûw FD„ õ% AÀ r À r Áe0@�Ô• AÀ r Áe0@�w @…&æ¦È B„ƒ‚F…‡f…w¶w²‰ì†w …‡7àÀÿÿF…‡‡€�6rw„‡€�6r@‡f…@õ Á P`Hm` …‡ÿÿÿÿôôR°ÀÌÔ!"#$&'( !$&$%&dÔ^R0:Lìd&àd,þBú €d@b c-r-€w-s@x-r-w-tx-ü (08./etc/passwd %s: total %s %d %4d %3d %-8.8s%3du%3dg%4d/%4d%4d,%4d%9s%s %4s %-7.7s %-4.4s %-12.12s %s%.14s%s unreadable %s not found œ dv oj x¾ fÌ e< cJ s¨ lÈ uÚ rì Dr Of Xüÿðÿðýÿøÿà(null)‰‰ ‰‰‰¶‰‰ô‰€pŽ’M:/PSTPDTDay Mon 00 00:00:00 1900 SunMonTueWedThuFriSatJanFebMarAprMayJunJulAugSepOctNovDec‰makeTtynÞÙ9í‘2z ¨n ð€&Ð 6÷ ß Î‰w Ø _¾Îß xΤæz ß ŽÖ 7<÷ 8Î� ß <Îß ÎÎ"ß ¬7ÎFß –Ã"õöÿõ%öÿõ%/öÿĈ t�öÿÎ"&ß  Ö À ó�’Ë��s�öÿÃeµ öÿÞõøÿÎÆæAøÿÁå"@€ r&æ"ß ÀÆeAøÿÁå"@€ ræF÷ æÖ &æ’ ß Æ–%Î ß Æ5 ðÿÃ"C-øÿ8ƒµ ðÿÀ’5ôÿÀœ5òÿÀœfôÿæx ß Æ–%Àœ@-òÿµ òÿÎxß ôÀœß òµ òÿÃeC-øÿƒÀ’@-ôÿäNòÿÎ æƒ ß ÆÖ Å΋ ß ÆNðÿæ� ß ÆÖ Τ ß ÆÎIß Æ÷ ‚ ß ÎwB Æå _ w * DCÌ¢�Áœ@à“Á’@àw ñw þ!õ% Nß NÎEøÿ@týÿÀEøÿ&@túÿ&æ–ß ÆÆewÆÞw ´Äž÷- ÀúÀ Nß ®Îfæß ¬–%Îæ¬æß ¬–%ß ®&æß ¬–%Îæ¯æß ¬–%wRw BDÔ‹þ@íÀ w:w *Æå~wšDÄeÀŸ� · Š %ß ôw 7 v7 vׯl-· d· b÷¸wV7 X .÷¦wLƒÃeÁ²BÚ üJ Ó•-ÀŸ"·  o^ xU d÷ ÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁ† ÂöŒÒ‹ƒ D~C Âê Âðv÷ LÓ•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡À ÷ ” ÀÂþ÷ †7îwVþ‚Âeƒà&æ Ä ÃmÒ÷ Ðß Ã~Ä Ž”ß à Î ß Ã~Ö „wþ7 ¤ ÀŸš· –Àå0 úÿ ‚· ‚Wp `ìÀe0ƒÄeÓ•?‡f…Àj÷ ,À`P�· V÷ P÷ @…‡f…÷ …‡À4 Àå|7² À"€ ‰þ÷|÷×- ‚÷‡f…@‰†w¦ …‡f…wn wj ‰†w†…‡f…@)‰†wr…‡w 0w ‚w~AupNNmfß ìÖ ww ÆåÂV@@í5ôÿ€ ‡_>�Á fAôÿÀ rBpÁE€uôÿ@@`5øÿ5öÿDCƒàµàøÿNøÿ&ß BÖ føÿ&ÿ ð–%5òÿîÀ 2„`D-øÿñ‚-ε`öÿföÿß BÖ $ε`öÿföÿ&ß f–%µ`øÿDøÿæföÿÿ ¢–%5òÿàÀ D-øÿäÎ&ß BÖ ƒàσàC-öÿç‡D-øÿ%@øÿ@íAAíöÿ@ NföÿŽ`ß ìÖ uøÿ_øNøÿfß ìÖ @öÿ€`5_øµàøÿføÿæß f–%µàöÿCöÿ–w¾w ®æ õøÿDC“Ô’“�õ øÿúwšw ŠÆåõÜ öÿDCB5“øÿ”’Ò’S�øÿõ öÿ÷wjf… ‰¦BR‚…‡f…@wRwN‰ †wd…‡f…÷ f@‰w Nß òß è ww þÆåDÄeòÿL@4Àœ &ß ` Ö ß Âõwøÿõ/öÿó%J ó%K À t5ŽøÿÀ t5�öÿNøÿæß ÎÖ 5øÿNöÿæß ÎÖ 5öÿ÷ . B-øÿB-øÿó%B-öÿB-öÿó% Î&ß ` Ö ß ³ Àw2w "DCÃ%: ß Š Àe“þ`Áím Áe¼À rfÀ€åwôw ä΀p@&fß > –%ÃbÂ|ÁÀ r<RÁÀ r<ÁÀ r<RÁÀ r<À rWtC`À rÒÁeÀ rwÃFÎß Š àƒ Îß Š !ö÷æ 7æ Îß Š À%n÷â ÀÀ ì–ƒ ÀÀ 0!–ö÷Ä€ Ò7 ¬ À|ww ÄPÃÆÔ”þAA WpCÃeàÄPÔ”Ô”Ô”„ BÂe�WpCÃeöÔ”Ô”Ô”Ž&ß ª Ö ŽÎed&ß ª Ö ŽÎed&ß ª Ö ŽÎed&ß ª Ö Äe@ &ß ª Ö ÀPwvw fAÀ rÁ Ànw\Àmûw FD„ õ% AÀ r À r Áe0@�Ô• AÀ r Áe0@�w @…&æ¦È B„ƒ‚F…‡f…ww‰†w …‡7 ÀÿÿF…‡‡€�6rw@ ‡€�6r@‡f…@õ Á P`Hm` …‡Ttyn.cTtyn.c/dev/ttyx# # /* * Ttyn - a fast version of ttyn which hashes major minor device numbers * * Bill Joy UCB August 17, 1977 * * This routine can be called instead of calling 'ttyn' and stats * the specified unit, then looking in a table to determine * the unit number. If the given unit is not in the table the standard * 'ttyn' is called to get the answer. * * Generated: %s * No. ttys: %d */ static struct T { char Tmajor; char Tfirst; char *Tttys; char Tlast; } Tttyinfo[] { %d, %d, "", %d, }; #define NMAJDEV %d struct Stat { char xminor, xmajor; int inumber, flags; char nlinks, uid, gid, size0; int size1; char dminor, dmajor; int addr1[7]; long actime, modtime; }; Ttyn(unit) int unit; { register struct T *tp; struct Stat stbuf; if (fstat(unit, &stbuf)) return ('x'); for (tp = &Tttyinfo; tp < &Tttyinfo[NMAJDEV]; tp++) if (stbuf.dmajor == tp->Tmajor && stbuf.dminor >= tp->Tfirst && stbuf.dminor <= tp->Tlast) return (tp->Tttys[stbuf.dminor - tp->Tfirst]); return (ttyn(unit)); } \%d%d%dUnknown error: <do x^fleÜcêsHlhuzrŒDOXüÿðÿðýÿøÿà(null)‰|‰‰V^m‡—¯¹Óå÷%5GPfx„–¥µÄÕéý,DQgv‚"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceeded€p¾ÂM:/PSTPDTDay Mon 00 00:00:00 1900 SunMonTueWedThuFriSatJanFebMarAprMayJunJulAugSepOctNovDec‰manÞ×9í™ÂÄ îD ð€&Ð 6÷ ß ” ‰w ò _¦ÎæÄ ß ö Ö 5ðÿõ ðÿV÷ ÒÀ Rwðÿ~Î& fðÿß . –%NÎe†ÿ÷ n &ß ŒÖ À Îß ” DÄe†ÿ̥̋:„ ø ŠNÎe†ÿæ÷ ¾ Ö &æÔ ß ü–%õøÿu-øÿ@øÿÀ @mæá ß üÖ µ øÿîÎ ß >÷ Ž ß ” Nðÿß È÷ÒÎå ß ®À Îî ß üÎß ” õ õe@È¥-õ õe· ‚ NÎeêÿæß Ø Ö À · hõ Î ß üÎß ” ÷ N^NÎeôÿß  ÷ š5øÿõ%ÿÿøÿQõ øÿ; ß ÈNöÿß ÈNôÿß ÞNôÿß È æ8 æ( ß ò–% æE æ< ß ò–% æV æI ß ò–%ÎZ ß ü æt æk ß ò–%Îx ß üÎß ” Nôÿß ÈÎß ÈNöÿß ÞNöÿß È÷¢5 òÿ@È¥0'@È¥9"@ð‹@’ÀeÐÿ5òÿõ õeõ  @þÿæ’ ß üÖ Îß ” Nfòÿß ®Ö õ õeõ Å ß ” wtÆåt_ w \_¨Î¹ fÎe–ÿß JÖ NfÎe–ÿß fÖ Î¿ fÎe–ÿß fÖ NÎe–ÿß äÀ 5pÿõ +õ1õ%9u�™ÿ@@mpÿp�–ÿNÎerÿfÎe–ÿß ( Ö À µ åõ%9NæÂ ß üÖ *$@Àe05�™ÿ@@mpÿAÁe0p�–ÿNÎerÿfÎe–ÿß ( Ö À Nfæé ß ü–%NÎe–ÿß ®wrÆåŠ„w \4÷ V5øÿõ øÿÎ ß üÎß ” õ øÿNæ# ß Ö Næ. ß Ö Î= ß üÎß ” NÎeøÿß R À%ÿÿ÷öwþæ Êw ê fæg æd æ^ fß òÆe wÒîw ÀDCÔ”ýüw¶ùw ¤DC Ì‹„ üÎ&ß JÖ w�ôw ~Æå÷  æp ß ö Ö 7 ÷ Àwb & æø ß . –%õî ôý5 öý5 øýBà éÒ�NÎeôýß Š Ã% ôŠBÄÄ ƒ”Ã%:úà úу”Ã%:Ã%0ùÃ%9öWp DÄ`ÄeÐÿî5 òýÃ%0 Ã%9 AòýWp Á`ÁeÐÿuòýƒ”Ã%:í@òýtQ@-³ ¡w ˜Ä| ÷-Ô4 À. À Nß äÎfæß r –%ÎæŠ æß r –%ß ä&æß r –%Îæ� æß r –%w6w &DÔ‹þ@íÀ ww Æå~w² DÄeÀŸ¨ · ¢  %ß >ôwî7 Ž 7 Ž ×¯„ -· | · z ÷¸wn 7 p  .÷¦wd ƒÃeÁ� BÚ üJ Ó•-ÀŸ: · 6  o^ xU d÷ ÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁž  ÂÔ ŒÒ‹ƒ D~C ÂÈ  ÂÎ v÷ d Ó•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡À* Â$ ÷ ” À  ÷ †7 wVþ‚Âeƒà&æ Ä Ãmê÷ èß >Ã~Ä Ž”ß >à Î ß >Ã~Ö „wþ7 ¼ ÀŸ²· ®Àå0 úÿ ‚· šWp `ìÀe0ƒÄeÓ•?‡f…À‚÷ ,ÀxP�· n÷ h÷ @…‡f…÷ …‡ÀL ÀåÊ7ZÀ:€ ‰Ü ÷Ê0÷(×-"‚÷‡f…w,‰â †w† …‡f…@‰†wp …‡f…@)‰†wZ…‡f…wì@Àe7䉿 w:f…‰†w,7ª …‡f…w¾‰ì J‡A …‡7 lf…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7@1@‰ò ‡À �1‡wzf…‰…‡f…@w‰ø †wX …‡f…wþwú‰ü †w8…‡f…*‰†w(BJ …‡f…@wÈwĉ†wü …‡f…÷ H&‰†Ö wâÖ }…‡f…@wŠw†‰†w¸…‡f…÷ º@‰fA… w,üÿâÀw"ÜÀe"w"ÒÀew"È@lw"ÀAlÁeæw¬³ &@Àtùÿ`Áe€Ø€ …‡@…&æ¦È B„ƒ‚F…‡f…wvwr‰¦†w …‡7hÀÿÿF…‡‡f…@÷ …‡ ÷x„æ ‰Ì"‡ÎR‰¬‡@‰Ì‡ ÀÌ$ô$ttñ¤yîЋì¢é7˜<@‰Ö À�2‡/usr/adm/manlog%c %-8s man %s/usr/manCan't chdir to /usr/man Usage: man [ section ] name ... /usr/pascal/sspssp/bin/sspssp/usr/bin/sspsspCan't find ssp! /bin/catcator cat - gott in himmel! But what do you want from section %s? manx/.xNo section in the manual has %s in it %s is not in section %d of the manual No more processes /bin/nroff/usr/bin/nroffCan't find a nroff - come again nroff-hman0/naa/etc/passwdUnknown error: rdLo@x”f¢ec s~lžu°rÂDHO<Xüÿðÿðýÿøÿà(null)‰Ê ‰ ‰‰‰ ‰‰‰‰T\k…•­·Ñãõ#3ENdv‚”£³ÂÓçû *BOet€"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededß Ö –%Æew\ïÿ‰/devmanwhereÞÖ9í�@ ` ÐF ð€&Ð 6÷ ß œ‰w Ž_rÎæd ß 8Ö 5ðÿõ ðÿV÷ 2À Rwðÿþ Î& fðÿß V–%NÎe†ÿ÷ Î&ß Ö À Îß œDÄe†ÿ̥̋:„ ø ŠNÎe†ÿæ÷ ZÖ &æy ß Œ–%õøÿu-øÿ@øÿÀ @mæ† ß ŒÖ µ øÿîÎ ß Î÷  ß œNðÿß XΊ ß >À ÷F Γ ß ŒÎß œõ õe@È¥-õ õe· õ  ÷ ά ß ŒÎß œ5 òÿNß zõ õeõ ô ß œwDÆåt_ w ,?7 ® ÎæÒ fæÌ ß Æe æå fæÓ ß ÆeÀz ÷ v Næç ß ŒÖ Î ß Î÷ X Næ÷ ß ŒÖ  ‚À x` w¸Àw ¦gNfÎe–ÿß ÚÖ Nß tÀeþÿ5pÿNfÎe–ÿß öÖ Îû fÎe–ÿß öÖ NÎe–ÿß tÀ 5nÿõ1lÿõ%9lÿ6õ @@mpÿp�lÿ–ÿ@@mnÿp�lÿ–ÿNÎerÿfÎe–ÿß ÄÖ À · – ÷ � ÷%Š Næþ ß ŒÖ Nlÿfæ ß Œ–%µ lÿÆwâÆåŽ–w ÌDCÔ”ýüwÂùw °DC Ì‹„ üÎ&ß ÚÖ wœôw ŠÆå÷   æ ß 8Ö 7þ ÷ ú Àwn & æè ß V–%õÞ ôý5 öý5 øýBà éÒ�NÎeôýß êÃ% ôŠBÄÄ ƒ”Ã%:úà úу”Ã%:Ã%0ùÃ%9öWp DÄ`ÄeÐÿî5 òýÃ%0 Ã%9 AòýWp Á`ÁeÐÿuòýƒ”Ã%:í@òýtQ@-³ ¡w ¤Ä ÷-Ô$ À À ž Nß tÎfæß z–%Îæ$ æß z–%ß t&æß z–%Îæ' æß z–%wBw 2DÔ‹þ@íÀ w*w Æå~w¢DÄeÀŸ˜ · ’ %ß Îôwú7 ~7 ~ׯt-· l· j÷¸w^7 ` .÷¦wTƒÃeÁ* BÚ üJ Ó•-ÀŸ*· & o^ xU d÷ ÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁŽ Ân ŒÒ‹ƒ D~C Âb  Âh v÷ TÓ•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡ÀÂ÷ ” À Â÷ †7öwVþ‚Âeƒà&æ Ä ÃmÚ÷ Øß ÎÃ~Ä Ž”ß Îà Î ß ÎÃ~Ö „wþ7 ¬ ÀŸ¢· žÀå0 úÿ ‚· ŠWp `ìÀe0ƒÄeÓ•?‡f…Àr÷ ,ÀhP�· ^÷ X÷ @…‡f…÷ …‡À< ÀåJ 7dÀ*€ ‰v ÷J ÷×-‚÷ ‡f…w6‰| †w’ …‡f…@‰†w| …‡f…‰†wh7Ê …‡f…wò‰€ J‡A …‡7 Œf…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7t1@‰† ‡À �1‡w¶f…‰…‡f…wLwH‰Œ †w’…‡f…@w0w,‰’ †wp …‡f…@ww‰˜ †wL…‡f…÷ N@‰@…&æ¦È B„ƒ‚F…‡f…wXwT‰$ †w …‡7LÀÿÿF…‡‡f…@÷ …‡ ÷xhæ ‰L"‡Î6‰* ‡@‰L‡ ÀL$ô$ttñ¤yîЋì¢é7˜ @‰Ö À�‡¸Ö/usr/adm/manwherelog%c %-8s man %s/usr/manCan't chdir to /usr/man Usage: manwhere [ - ] name ... manx//mnt/pascal/man6/P%-14s NO ENTRY%s .x%-14s %s%c/etc/passwdUnknown error: dÜoÐx$f2e¢c°sl.u@rRDØOÌXüÿðÿðýÿøÿà(null)‰J ‰‰‰‰‰‰ä ì û  % = G a s … • ¡ ³ Ã Õ Þ ô   $ 3 C R c w ‹ œ « º Ò ß õ   "Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceeded‰/devmkstrÞÓ9I�Ð $ œ² ð€&Ð 6÷ ß ì‰w Þõ wÌõeõ% @È¥-·Š®õ õeõ% Κæ$ ß þÖ Îß ì÷‹‚ Îfß ¾Ö 7DÎÆfß ÜÖ À Nß tÎß ìÎÌæß øÖ ÷ Î& æß ¦–%õ õeÎß ä7ŠNæôß `Ö Îôß æÀeô7Zõ õeNæHß `Ö Îß °Î¤æôß ÆÖ À Îôß tÎß ìÎß ä7 ß °ÎÀ fß Ö À Nß tÎß ì÷ (÷ òÎêß °õ õeõ ºÎÆß \wfw VÃ%eÎŽ ß ôÃ%ÿÿΕ ß þÎÀ ß zÃ%"Îß @÷ TÎÀ ß zÃ%ÿÿÛww D„ Ì‹ÀÿÿÎÀ ß z“À ñ@Ÿµ ß @5!ö‚ÀwÒw ÂÎæœ ß þÖ ÃÿÿÄÃÿÿÄ ÎÀ ß zÁ‚ 7 þyÎÆ& ß 8Ö ÎÆæ ß 8Ö ÷eÊwrÎÀ ß z rÁ ÁeN A! þyÄÎÆ&ß 8Ö · Œ½Ä ôÄ ñÄ îÄ ë éß @À äÄå0ÎÀ ß zÎß @À ØuÀÀeÐÿ`ÎÀ ß zÎß @À ÈuÀÀeÐÿ`Ãÿÿ¿w ¶õ¥0õ¥7 w¬Àûw –DCÔ”þw’w ‚Ä  ÷-þÚ ÀÔ À : Nß æÎfæß Ê–%Îæ® æß Ê–%ß æ&æß Ê–%Îæ± æß Ê–%w w DÔ‹þ@íÀ ww øÆå~wV DÄeÀŸL · F  %ß @ôwØ7 2 7 2 ׯ( -· ·  ÷¸w 7   .÷¦w ƒÃeÁ´ BÚ üJ Ó•-ÀŸÞ · Ú  o^ xU d÷ Ä ÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁB  Âø ŒÒ‹ƒ D~C Âì  Âò v÷  Ó•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡ÀÎ ÂÈ ÷ ” ÀÀ º ÷ †7ª wVþ‚Âeƒà&æ Ä ÃmŽ ÷ Œ ß @Ã~Ä Ž”ß @à Î ß @Ã~Ö „wþ7 `  ÀŸV · R Àå0 úÿ ‚· > Wp `ìÀe0ƒÄeÓ•?‡f…À& ÷ ,À P�·  ÷ ÷ @…‡f…÷ …‡Àð Àåp7|ÀÞ € ‰ ÷pÔ ÷Ì ×-Æ ‚÷¾ ‡f…@‰†wT …‡f…w8w4‰ †w4…‡f…@)‰†w …‡f…@w‰ †w …‡f…wò‰ J‡A …‡7 $ f…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7t1@‰ ‡À �1‡wVf…wVwR‰ †w<…‡f…w>Aɉ" T‡  Rf…Añ ÷ ^ñ y�± ñ ÷ Fñ y�± @3f…Añ ÷ ñ @9�± !f…A÷ @Àe&7´w°7àª@‰( †7â ±ñ‡wv7 º…‡f…@w|wx‰. †wP …‡f…@w^wZ‰4 †w,…‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7DÀÿÿF…‡‡usage: %s [ - ] mesgfile prefix file ... V ^ b l "& $&ìèâÖìJ쾺ÜÐ"\p”¾error(error(%dUnknown error: tdNoBx–f¤ec"s€l u²rÄDJO>Xüÿðÿðýÿøÿà(null)‰p‰‰‰‰‰‰¶‰‰‰€ ˆ — ± Á Ù ã ý  ! 1 = O _ q z � ¢ ® À Ï ß î ÿ  ' 8 G V n { ‘   ¬ "Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededmvallÞÓ9É�ø´4j ð€&Ð 6÷ –%ß ‰w nõ% Î æ´æß ô–%÷ Úõ Ãè@À @m“”þó•/ÿÿÓ•. ŠÄ÷ RÀ ÎèÀ @m&æÇæ¿ß  Æe÷ †÷ @„ D-åwøf…w"@Àe7‰Êwêf…‰†wÜ7‚ …‡f…÷ D&‰†Ö w¾Ö }…‡f…@wÐw̉Іw”…‡f…@‰fA… w,üÿ¦Àw" Àe"w"–Àew"Œ@lw"„AlÁeæw¬w &@Àtùÿ`Áe€Ø€ …‡@…&æ¦È B„ƒ‚F…‡7¢ÀÿÿF…‡arg count /bin/mvmv ‰‰ß Ö –%ÆewþÿnmÞÖ9í�öF  8 ð€&Ð 6÷ ß ì ‰w Þ _4 ß Þ 7ØÎß ´7àõ õeB ,CÓ¥-' õeË‹ À”· ‚ù· zö· zó· rð÷ÿÿÆ ì· héèÀåc ù‚À xH ÞÒ  DõeÄn  ß ž &ß ÈÖ À ß b_(Îæò& ß ¼ –%À%Ît &ß .Ö _(÷%ò ÷% ê · &ß .Ö _(ÎæÒ & & ß & ÆeÎæÀ & & ß & Æe÷ º Îæ¤ & & ß & ÆeÎæ’ & & ß & ÆeÎ æ‚ & ß $ –%5ôÿõ ôÿΗ &ß .Ö _(Îd ß  AôÿWp Nß Þ 7< AôÿWp fAôÿWp fæ$ & ÷ êÆe€%Τ &ß .Ö _(÷ Î<æ fôÿæð ß æÆeõ%æ² ß ìÖ 5 øÿu-ôÿøÿ_$÷ ¼ Àº ð5 _÷   ÿ¥_¢ c5 öÿõ%öÿ À� @möÿÁˆ AmöÿHœµ öÿïÀv 0ŠÀn ÀEàÿ5öÿõ%öÿõöÿõ öÿÀJ ð õöÿ÷ 4 õ öÿ,÷ ( "õ öÿη ß ìÀ  ß ÌÀ ð5 À ÀÉ @möÿ’æ¾ ß ìÖ Îä æÐ ß ìÖ ÷e Ô µ øÿ_ ÷ 4 _ wÒÆå_ w ºDC>5 øÿ÷ – ô, †õøÿ)ô, ƒõÿÿøÿ!5 öÿõ%öÿ@möÿÁAmöÿH¢@möÿÁAmöÿH¢õøÿõÿÿøÿµ öÿáAøÿwpˆ@w@Æå¿w *,õ Î1Î0æÖ ß ìÖ 5 øÿõ%øÿ@tôÿÀEøÿÀe0æÙ ß ìÖ @t5µ øÿåwÜæ Òw È w&7 Æ Nß bw¼ôw ªA@w¦øw ”ÄÜ ÷-6” ÀŽ À ` Nß ÔÎfæß Ê –%Îæê æß Ê –%ß Ô&æß Ê –%Îæí æß Ê –%w2w "DÔ‹þ@íÀ ww Æå~w DÄeÀŸ ·   %ß .ôwê7 ð 7 ð ׯæ -· Þ · Ü ÷¸wÐ 7 Ò  .÷¦wÆ ƒÃeÁð BÚ üJ Ó•-ÀŸœ · ˜  o^ xU d÷ ‚ ÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁ  Â4 ŒÒ‹ƒ D~C Â(  Â. v÷ ÆÓ•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡ÀŒÂ†÷ ” À~Âx÷ †7hwVþ‚Âeƒà&æ Ä ÃmL÷ Jß .Ã~Ä Ž”ß .à Î ß .Ã~Ö „wþ7  ÀŸ· Àå0 úÿ ‚· üWp `ìÀe0ƒÄeÓ•?‡f…Àä÷ ,ÀÚP�· Ð÷ Ê÷ @…‡f…÷ …‡À® Àå7ÊÀœ€ ‰< ÷’÷Š×-„‚÷|‡f…@‰†wf …‡f…@)‰†wP…‡f…wrwn‰B †w2…‡w w wAupNNmfß Ö wôw äÆåÂê@@í5ôÿ€ ‡_d �Á fAôÿÀ rBpÁE€uôÿ@@`5øÿ5öÿDCƒàµàøÿNøÿ&ß h Ö føÿ&ÿ „–%5òÿîÀ 2„`D-øÿñ‚-ε`öÿföÿß h Ö $ε`öÿföÿ&ß Œ –%µ`øÿDøÿæföÿÿ 6–%5òÿàÀ D-øÿäÎ&ß h Ö ƒàσàC-öÿç‡D-øÿ%@øÿ@íAAíöÿ@ NföÿŽ`ß Ö uøÿ_Nøÿfß Ö @öÿ€`5_µàøÿføÿæß Œ –%µàöÿCöÿ–wžw Žæ õ–øÿDC“Ô’“�õ øÿúwzw jÆåõpöÿDCB5“øÿ”’Ò’S�øÿõ öÿ÷wJf…@w€w|‰H †w:…‡f…÷lhwmb‰N †wÀVwmP…‡f…w@‰N †wúw2 …‡w Ðõ õ õ%ÿÿ õ  N ffß ¦ –%õ% @tAWt÷ÿÁE€ÿ@PN Îe&fß ¦ –%À ÀÿÿwnÎfÎEþÓf…@w¢wž‰T †wP …‡f…@w„w€‰Z †w,…‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7ìÀÿÿF…‡‡€�6rw臀�6r@‡hˆˆˆnˆˆˆˆˆˆbˆ‚ˆzˆˆta.outCannot read headerNot object fileNo name listError reading%s: %c UATDBCuatdbc%.8s %c%cUnknown error: bd<o0x„f’ecsnlŽu r²D8O,Xüÿðÿðýÿøÿà(null)‰‰‰‰‰‰¦ ® ½ × ç ÿ # 5 G W c u … —   ¶ È Ô æ õ %9M^m|”¡·ÆÒ"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceedednumberÞ×9í�   ð€&Ð 6÷ ß Ô‰w ÆMÎß ö7ü õ õeõ Îfß Ö À ÷ dNß º÷ XÎß Ôõ õeà Îß nÄ%ÿÿÃ% · Š Î† æ ß DÖ ß †çõ Å÷  ß Ôw6²w $Ä÷-P ÀJ À ŠNß ,Îfæß ²–%Îæ æß ²–%ß ,&æß ²–%Îæ#æß ²–%wÂw ²DÔ‹þ@íÀ wªw šÆå~wÌDÄeÀŸÂ · ¼ %ß †ôwz7 ¨7 ¨ׯž-· –· ”÷¸wˆ7 Š .÷¦w~ƒÃeÁ&BÚ üJ Ó•-ÀŸT· P o^ xU d÷ :÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁ¸ ÂjŒÒ‹ƒ D~C Â^ Âdv÷ ~Ó•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡ÀDÂ>÷ ” À6Â0÷ †7 wVþ‚Âeƒà&æ Ä Ãm÷ ß †Ã~Ä Ž”ß †à Î ß †Ã~Ö „wþ7 Ö ÀŸÌ· ÈÀå0 úÿ ‚· ´Wp `ìÀe0ƒÄeÓ•?‡f…Àœ÷ ,À’P�· ˆ÷ ‚÷ @…‡f…÷ …‡Àf Àå, 7¨ÀT€ ‰r÷, J÷B×-<‚÷4‡f…@)‰†wö…‡f…wf‰xJ‡A …‡7 ìf…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7è1@‰~‡À �1‡wJf…@wÆw‰„†w,…‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7ÀÿÿF…‡‡%6d Unknown error: ºd”oˆxÜfêeZchsÆlæuør D�O„Xüÿðÿðýÿøÿà(null)‰, ‰‰‰ÐØç)3M_q��Ÿ¯ÁÊàòþ/>Ocwˆ—¦¾Ëáðü"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededpascalsÞØ9í�öœJ ð€&Ð 6÷ ß d‰w VKõ% Næ®ß @Ö Îß d ß ò @&ß $Ö À @ß ¶Îß d æœæÆæ¾ß Æe æœæÕæÉß ÆeÎæØæß B–%Îß dwÊ´w ¸Äè÷-â"ÀÀ `Nß (Îfæß B–%Îæöæß B–%ß (&æß B–%Îæùæß B–%wVw FDÔ‹þ@íÀ w>w .Æå~wžDÄeÀŸ” · Ž %ß ‚ôw7 z7 zׯp-· h· f÷¸wZ7 \ .÷¦wPƒÃeÁüBÚ üJ Ó•-ÀŸ&· " o^ xU d÷ ÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁŠ Â@ŒÒ‹ƒ D~C Â4 Â:v÷ PÓ•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡ÀÂ÷ ” ÀÂ÷ †7òwVþ‚Âeƒà&æ Ä ÃmÖ÷ Ôß ‚Ã~Ä Ž”ß ‚à Î ß ‚Ã~Ö „wþ7 ¨ ÀŸž· šÀå0 úÿ ‚· †Wp `ìÀe0ƒÄeÓ•?‡f…Àn÷ ,ÀdP�· Z÷ T÷ @…‡f…÷ …‡À8 Àåú7‚À&€ ‰H÷ú÷×-‚÷‡f…@‰†wŠ …‡f…w>@Àe76‰Nwhf…w(w$‰T†wN…‡f…@w w‰Z†w,…‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7VÀÿÿF…‡‡/usr/lib/pascalsUsage: %s file /bin/pxpx/usr/bin/pxpxCan't find px Unknown error: ¶d�o„xØfæeVcdsÂlâuôrDŒO€Xüÿðÿðýÿøÿà(null)‰ú ‰‰‰¦®½×çÿ #5GWcu…— ¶ÈÔæõ%9M^m|”¡·ÆÒ"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededpccÞØ9É�TzÊ ð€&Ð 6÷ ß B‰w 4Îß d7*õ õeõ _ ß NÎHfß xÖ À ÷ ´÷ êÎ ß ÞNß T÷ šÎß Bõeõ Lß Þ÷ ¶FÎ ß Þ7 ¨?Ä% ðÁz7Ô þy ÷ ŠÎ ß ÞÎ ß Þ÷rÎHß ÜÄ%ÿÿÄ% Ä% Ëß ÞîÎ ß Þ÷ BäßÎ Þ÷ 4ÝØÎ ß ÞÎHß ÜÄ%ÿÿ¹õ _2÷ Î ß Þ÷ Â ß Bww øÄ’÷-¢ìÀæÀ ¾Nß ÆÎfæß –%Îæ æß –%ß Æ&æß –%Îæ£æß –%w–w †DÔ‹þ@íÀ w~f…Àp÷ ,ÀfP�· \÷ V÷ @…‡f…÷ …‡À: ÀåX7„À(€ ‰¦÷X÷×-‚÷‡f…@‰†w  …‡f…@)‰†wö…‡f…w,‰¬J‡A …‡7 ´f…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7®1@‰²‡À �1‡wJf…@wŒwˆ‰¸†w,…‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7àÀÿÿF…‡‡ +01ø¸Unknown error: ‰X‰‰‰ 5E]g�“¥µÁÓãõþ&2DScrƒ—«¼ËÚòÿ$0"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededpixÞØ9í� x”2 ð€&Ð 6÷ ß ‰w fÆå æxß €Ö 5öÿÀ%ôõöÿNöÿß µ öÿõ%öÿöÎ\æß žÖ ÃC- ÎpÀÀ @m&ß Ö À $ƒ ÷„‚ Î~ ß œÎær ß "Ö 5öÿÀb ð¥zß ‚Îß ÀH °Šäƒ Ë÷ –5ôÿÀ%ÿÿ Îæ“æß æ–%÷ jõ ôÿ3õ%öÿ Îæ¦æß æ–%÷ FÀÀ @m ÀèÀeþÿ=Næ¿ß @Ö NæÇß @Ö ÎæÓæß æ–%÷ þNöÿß NÎeòÿß Æ5øÿ@-ôÿÀ%ÿÿóõ%ÿÿøÿõ5ÿòÿ÷ Èõ òÿ@òÿtøÿÀ% Î/æâæß æ–%÷ žÃ ÀÀ @mÁ@ÁeþÿH@À @m ÀÀ @mæß @Ö ÀÀ @mæß @Ö Îæ&æß æ–%÷ @wnw ^Nß ôÄ%@að¥.þÿ@ap­ÿÿ w8Àûw "Îæß žÖ Îšß ¬Îß w w üÄ6÷-"~ÀxÀ lNß ôÎfæß æ–%ÎæDæß æ–%ß ô&æß æ–%ÎæGæß æ–%wšw ŠDÔ‹þ@íÀ w‚f…@‰†wL …‡f…w w‰J†w,…‡f…ww÷ ¼æðæ`‰Pwf…‰†wò7š …‡f…wÎwʉV†wÎ…‡f…AW †@wªÁ f 1 7ž À5Á Á ÁeöwЉ\ ‡À5€…‡À& Ö wr&ÀL&ÀH&ÀD&À@&À<&Àü8&Àö4&Àð0&Àê,&Àä(&ÀÞ$&ÀØ &ÀÒ&ÀÌ&ÀÆ&ÀÀ&Àº &À´&À®&À¨f¦æ&È „ƒ‚�€f…w®‰b†w¨ …‡f…÷ H&‰†Ö wŽÖ }…‡f…@wtwp‰f†wd…‡f…÷ f@‰fA… w,üÿÌÀw"ÆÀe"w"¼Àew"²@lw"ªAlÁeæw¬� &@Àtùÿ`Áe€Ø€ …‡@…&æ¦È B„ƒ‚F…‡w âÿÆå*÷ –5 øÿÃå'µ øÿà úDÔ‹þÄ  ÁÀ r Áe0@ �ÁÀ r ‚ Â%@øÿ“`L�ä¥Xç„` õ%øÿÀ wzÿ@øÿÀea �µ øÿNÎeÐÿfß HÖ À%ÿÿä@éf…‰…‡f…w¶w²‰ †w …‡7¢ÀÿÿF…‡‡/dev/null-o/tmp/pixaXXXXXNo more processes Impossible error in pix /bin/pi/usr/bin/piCan't find pi Execution suppressed due to compilation errors /bin/px/usr/bin/pxCan't find px Unknown error: ‰ ‰‰0‰ ‰‰²ºÉãó /ASco�‘£¬ÂÔàò  1 E Y j y ˆ   ­ Ã Ò Þ "Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededß Ö –%Æewþõÿ/‰pqÞÓ9É� àd ð€&Ð 6÷ –%ß T‰w @Æåõ%-5 öÿÎþ æàß xÖ õ-À öÿõ¸ öÿÎâß .À Îåß ¬ ß TÎèß Îþ æëß xÖ àÎ ß Tõøÿu-øÿ @øÿÀ @mß ¬µ øÿñw¾w ®Æå Îþ fß xÖ À Nß l-Nß .À Næíß œÖ 7þ 5üòÿ7þ 5üîÿ5ÿòÿòÈCuÿîÿù5üöÿ5ÿöÿ&øæöæðæ÷ xÆew<w ,Îþ fß xÖ À  À¶ÀEÿŸÀ% ÷%ÿÿ® Àÿÿwþw îÄ÷-4¨À¢À hNß ÞÎfæß 2–%Îææß 2–%ß Þ&æß 2–%Îæ!æß 2–%wŒw |DÔ‹þ@íÀ wt7 ÷øõ÷ ÔÁ Ó•- Ó•0�”B~ÁÖÓ•. Á Ó•0…~Á ”B~‡7´ ÷ªõ÷ ŒÁ Ó•-”Ó•.Á’Á ”B~Ó•e �Ó•- Ó•+ r Àe0�Áe0S�‡w ¾Æå~w~DÄeÀŸt · n %ß ¢ôwž7 Z7 ZׯP-· H· F÷†w:7 < .÷tw0ƒÃeÁ$BÚ üJ  Ó•-ׯd· þ÷ z r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „\ À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •@à >Á~ Ò‹ƒ D~8ÂPÂT÷ \Ó•0 ÷ $f v÷ öÿ€€LÀe0 9Àe�‡À(Â"÷ èý ÀÂ÷ (þ7wˆþ‚Âeƒà&æ Ä Ãmè÷ æß ¢Ã~Ä Ž”ß ¢à Î ß ¢Ã~Ö „wBþ7 º ÀŸ°· ¬Àå0 úÿ ‚· ˜Wp `ìÀe0ƒf…ÀŠ÷ ,À€P�· v÷ p÷ @…‡f…÷ …‡ÀT Àå6 7rÀB€ ‰X†7&÷6 2÷*×-$‚÷‡f…w>‰^†wl …‡f…@w$w ‰b†wH…‡f…@‰@…&æ¦È B„ƒ‚F…‡f…wnwj‰î †w …‡7†ÀÿÿF…‡f…¦5õw F÷ * f…¦5õw 0÷ ½}‚…‡7 ~÷v¦ðWð€&øføæÁ6  7 ^@ñð%· RÀñó€@Añð&ø@øÃ^ 7óÐø@ø—ôL>—ó BÀûÀe0#�‚ @ñððÁ6 Ñ”× ^ ü‡õ ‚  ó BAñðú‚ ÷ ÷  üW ^ †Îeó B@ûÀe0�‡À6 Àmn÷ ΀` 6 ‡’ÃeÈ�¢9 È•0 6 ƒ ŠöÈ•1‚ ÁœÀ6÷ –€`0Š6 À6 ƒVõõVð‡..q.q...%s: not a q-file. %d/%d %3.0f%% Unknown error: dÆoÀxfežc¬sl,urüÿðÿýÿøÿ‰6 ‰‰®¶Åßï+=O_k}�Ÿ¨¾ÐÜîý  - A U f u „ œ © ¿ Î Ú "Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceeded‰Ì>ÌÌÌÌÍÌ printÞÑ9í� pr $* | lpr procpÞÖ9ɉd  LR4 ð€&Ð 6÷ –%ß P ‰w < ÷ ® 7P>õ%@ß t 78>Î4>æ ß ZÖ Î ß àÀ Î ß Z÷ êÎ. æL<ß  Ö Î4 æX<ß  Ö ÎL<æ= ß Ö ÷ Â;ÎC ß Z÷ ®÷P Ø= æÒ=ß ìÖ 7º=ÎY ß Z÷ Š æ´=ß ìÖ 7ž=Ξ=ß 8À Îa ß Z÷ b÷ º÷ ÈÀ Îj ß Z÷ J÷ ÷ d÷ ò÷ Ü÷ 6wJw :Äî Îv ß Z&&& tøÿ&ÎEÿ&ÎEÿ&�&“&æª ß ZÆewöw æÆåÄp<à Fß €�ÀEÿ5øÿ�ÀEÿ5öÿÀœÀEÿ5ôÿÀœÀEÿ5òÿÎÏ ß ZÎfòÿfôÿföÿføÿ&X&ÎeZ�;&ÎEÿ�:&ÎEÿæ ß ZÆewdw TÆå Ä=à Î. ß ZÎK ß Z Ì \ &æ@<ß , –%Îæì4æ.<ß –%΢2ß €À 5ðÿ5òÿ5ôÿ÷µ†2õRôÿ÷µx2õWòÿ÷µj2õPðÿÀœ5øÿÀœ5öÿÀœ ÎEÿÀœ &ÎEÿæföÿføÿÀœ&À�)2&fðÿfòÿfôÿ¦æu ß ZÆeÄe‚ Â%œwvw fÄp<Ο ß Z ÀÀ aâÂ5Žææ© Žææº ß Z–%ƒ Ã%çw.w  æ9æ*;ß , –%Äî  Îæî æ;ß –%t-  wôƒ Ã%–ìÀ÷w Ö fæâ:ß , –%Î"æ æÐ:ß –%w¼w ¬Æå* æª8æ´:ß , –%Îæb<æ¢:ß –% æÊ ß ìÖ 5øÿÎÏ ß Z÷ \÷ÿÿ|: ÎfÎeøýføÿß –%Nøÿß ú÷ V:Îá ß Z÷ "w6Ã%À@a0Šøýƒ ÷DÄeøý@Àeøÿ!Ô†Ì "÷ :NÎeÐý&Îeß Ú Ö À @ÔýÀEÿŸÀ%` õ-Þ7Üý  &Îeß ìÖ 7Ú9ÄeÔw ¶@µ Aµ H’öwªw š7 ´97 ²9÷µ!÷*¤9÷˜9 9÷”9÷Œ9’9ÀŒ9týÿ7`‚9À€9ÀEøÿt7t9Îæj9æj9ß , –%ÎæZ9æX9ß , –%Îæp<æF9ß –%À%Àw üw ÷ úw w üÆå~w9DÄeÀŸ9 · 9 %ß jôwÜ7 ú87 ú8ׯð8-· è8· æ8÷†wÚ87 Ü8 .÷twÐ8ƒÃeÁò BÚ üJ  Ó•-ׯ¦8d· ž8÷ z r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „\ À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •@à >Á8 Ò‹ƒ D~8 Â" ÷ ü7Ó•0 ÷ $f v÷ öÿ€€LÀe0 9Àe�‡ÀÈ7ÂÂ7÷ ” Àº7´7÷ †7¤7wˆþ‚Âeƒà&æ Ä Ãmˆ7÷ †7ß jÃ~Ä Ž”ß jà Î ß jÃ~Ö „wBþ7 Z7 ÀŸP7· L7Àå0 úÿ ‚· 87Wp `ìÀe0ƒÄeÓ•?‡f…À 7÷ ,À7P�· 7÷ 7÷ @…‡f…÷ …‡Àê6 Àå”>7xÀØ6€ ‰& †7¼6÷”>È6÷À6×-º6‚÷²6‡f…wD‰, †w …‡f…@‰†wð …‡f…wA¦@È Àe  ù‰0 X‡‰”@ O÷P8Z8÷H8è×-@8÷@8F8À48Àm28×-88À Àe7À×-8 ×-8×-8)€‰6 ÷å 8"€‰”@  @È ò7"Þ77,Ø77,Ò7 7,Ì7ðÈ7ðÄ7 Àe 怉‚…‡f…wHwD‰< †wô…‡f…@w,w(‰B †wÒ…‡f…@ww ‰H †w° …‡f…@‰@…&æ¦È B„ƒ‚F…‡w âÿæ B 5 øÿ‚ Ê¥ üÊ¥ ùÊ¥-µ øÿóÊ¥9 Wp @�”@`ÄeÐÿÊ¥0ñõ øÿ w–ÿf…‰…‡f…wlwh‰N †w …‡7‚4ÀÿÿF…‡PID = %d /devcannot change to /dev _proc_swapdev/unixNo namelist /dev/memNo mem No proc No U. area stat nice sig uid gid pgrp ppid wchan clock %4d %4d %5o %4d %4d %5d %5d %6o %5d ruid rgid direct inode tty dev cdir %4d %4d %14s %6d %2d/%-2d %2d/%-2d %5d files inodes num type count count dev inum uid gid %3d %c%c%c %5d %4d %2d/%-2d %4d %4d %4d signals %3d %5d ignored %3d %5d caught /devcannot open /dev no swap device Ðd„o~xÀfÎe\cjsÜlêuÜrüÿðÿýÿøÿ‰”> ‰‰‰‰‰‰‰pssÞØ9í�8ps axl | grep -v " - *[0123456789ij]*$" | sort +0.48 publicÞ×9ɉtR ð€&Ð 6÷ –%ß À‰w ¬Æå6õ%Îß B ß ÀÎæ7ß :Ö 5ÆÿÎ& fÆÿß z–%_NøÿæGß BÖ _õeuøÿÎføÿß Ö À èNÎeÎÿføÿß äÖ À Nøÿæ[Ýõ5`ÒÿNøÿælß BÖ @ÒÿÀEÿŸÀ%@Îqß B_Î|ùõ5ÒÿNøÿ抹@øÿÀ 5öÿ(Àº5ôÿ5øÿõe øÿµ öÿ@øÿµ øÿAöÿµ öÿH’ö fôÿß :Ö 5ÌÿNôÿæÖ�uøÿöÿµ øÿý‹øÿÕý¥/øÿ÷óNÌÿß è fß :Ö 5ÄÿNÒÿÎEþfôÿß þÖ 5òÿÎfôÿß ÈÖ NÌÿædfòÿß ž–%ÎædfÄÿß X–%5ÌÿëÎß èNÆÿß Nôÿ÷ Ptøÿ&ÎEÿ÷ B&ÎEÿæïß BÆeÎß èÎß õ _pw¸w ¨wÔwÐ ‰ú†7*Àÿÿw”w „Æå~wDÄeÀŸ ·  %ß Rôwd7 ö7 öׯì-· ä· â÷†wÖ7 Ø .÷tw̃ÃeÁBÚ üJ  Ó•-ׯ¢d· š÷ z r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „\ À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •@à >Á Ò‹ƒ D~8Â,Â0÷ øÓ•0 ÷ $f v÷ öÿ€€LÀe0 9Àe�‡Àľ÷ ” À¶Â°÷ †7 wˆþ‚Âeƒà&æ Ä Ãm„÷ ‚ß RÃ~Ä Ž”ß Rà Î ß RÃ~Ö „wBþ7 V ÀŸL· HÀå0 úÿ ‚· 4Wp `ìÀe0ƒÄeÓ•?‡f…À÷ ,ÀP�· ÷ ÷ @…‡f…÷ …‡Àæ Àåx 7žÀÔ€ ‰4†7¸÷x Ä÷¼×-¶‚÷®‡f…wjwf‰:†w" …‡f…@‰†w  …‡f…w:w6‰@†wì…‡f…@)‰†wØ…‡f…‰…‡f…ww‰F†w°…‡f…@wèwä‰L†wŽ…‡f…@wÌwȉR†wl …‡f…@w®wª‰X†wH…‡f…@‰@…&æ¦È B„ƒ‚F…‡f…wrwn‰^†w …‡7\ÀÿÿF…‡usage: public file1 file2 ... filen /usr/adm/publog%s: cannot read!!! %s: cannot stat %s: directory special file %s: neither read nor execute access for others /usr/public/xxxxxxxxxxxxxxx%s: file already exists %d,%d %s !‰¸dlofx¨f¶eDcRsÄlÒuÄrüÿðÿýÿøÿ‰x ‰‰‰‰‰‰‰pxrefÞØ9É�âzX ð€&Ð 6÷ ß B‰w 4õ w¬õeõ õ% Δæzß RÖ Îß Bõ% õå@=@0  @&fæ�æ™æ�ß Æe  @&fæ½æ¹æ¬ß Æe ÎÌß ÈÎß Bw”w „ÄÚ÷-¼þÀøÀ LNß :Îfæß –%Îæèæß –%ß :&æß –%Îæëæß –%w"w DÔ‹þ@íÀ w w úÆå~wzDÄeÀŸp · j %ß ”ôwÚ7 V7 VׯL-· D· B÷¸w67 8 .÷¦w,ƒÃeÁîBÚ üJ Ó•-ÀŸ· þ o^ xU d÷ è÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁf Â2ŒÒ‹ƒ D~C Â& Â,v÷ ,Ó•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡ÀòÂì÷ ” ÀäÂÞ÷ †7ÎwVþ‚Âeƒà&æ Ä Ãm²÷ °ß ”Ã~Ä Ž”ß ”à Î ß ”Ã~Ö „wþ7 „ ÀŸz· vÀå0 úÿ ‚· bWp `ìÀe0ƒÄeÓ•?‡f…ÀJ÷ ,À@P�· 6÷ 0÷ @…‡f…÷ …‡À Àåè7bÀ€ ‰:÷èø÷ð×-ê‚÷â‡f…w4@Àe7,‰@wJf…@ww‰F†w,…‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7fÀÿÿF…‡‡usage: %s [ - ] file /bin/pcxpcx/usr/lib/pxref/usr/bin/pcxpcx/usr/lib/pxref/usr/bin/pcxUnknown error: Èd¢o–xêføehcvsÔlôurDžO’Xüÿðÿðýÿøÿà(null)‰è ‰‰’š©ÃÓëõ!3COaqƒŒ¢´ÀÒáñ%9JYh€�£²¾"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededrepeatÞØ9É�ÈBvð) ð€&Ð 6÷ –%ß ¤‰w üÆå õ%ÎBß ¾÷ nõ õeNõeß (5öÿõ õ¸òÿõ€ðÿ5 øÿ@øÿ=œMðÿµ ðÿµ øÿõ% øÿó5 øÿ}ðÿòÿõeòÿuîÿõe@ðÿµ ðÿAîÿµ îÿH’öµ øÿu-øÿä= òÿ5 øÿ*÷  À NÎeôÿß „θæ‰ß DÖ Î¸æ„ß DÖ Î¸æ€ß DÖ Î‰æWß ¾Ö ÷ Œµ øÿu-öÿøÿÒwþw îÆå5 øÿ5 öÿõôÿ@øÿ@m’5�òÿµ øÿÀ% ôõ¥-òÿ õÿÿôÿ@øÿ@m5’òÿµ øÿõ¥0òÿ Àõ¥9òÿ Á@0 AöÿWp B�òÿ�`ÁeÐÿuöÿÚAôÿupöÿ@whw XÆå~wÌ+DÄeÀŸÂ+ · ¼+ %ß Îôw87 ¨+7 ¨+ׯž+-· –+· ”+÷†wˆ+7 Š+ .÷tw~+ƒÃeÁfBÚ üJ  Ó•-ׯT+d· L+÷ z r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „\ À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •@à >ÁÌ* Ò‹ƒ D~8’–÷ ª*Ó•0 ÷ $f v÷ öÿ€€LÀe0 9Àe�‡Àv*Âp*÷ ” Àh*Âb*÷ †7R*wˆþ‚Âeƒà&æ Ä Ãm6*÷ 4*ß ÎÃ~Ä Ž”ß Îà Î ß ÎÃ~Ö „wBþ7 * ÀŸþ)· ú)Àå0 úÿ ‚· æ)Wp `ìÀe0ƒÄeÓ•?‡f…ÀÎ)÷ ,ÀÄ)P�· º)÷ ´)÷ @…‡f…÷ …‡À˜) Àå¦-7ˆÀ†)€ ‰š†7h)÷¦-v)÷n)×-h)‚÷`)‡f…wTwP÷ :)æðæd‰ wÈf…‰†wº7(+ …‡f…÷ "&‰†Ö wœÖ }…‡f…@‰fA… w,üÿèÀw"âÀe"w"ØÀew"Î@lw"ÆAlÁeæw¬¹ &@Àtùÿ`Áe€Ø€ …‡@…&æ¦È B„ƒ‚F…‡7X(ÀÿÿF…‡arg count /usr/bin/%s not found 4dèoâx$f2eÀcÎs@lNu@rüÿðÿýÿøÿ‰¦- ‰ß Ö –%ÆewJúÿresetÞÒ9É�äÌ ð€&Ð 6÷ –%ß š‰w †ÆåNÎeôÿæß ^Ö õ•öÿõ•@÷ÿõÚøÿNÎeôÿæß |Ö  ß šwRf…@wb‰Ì†wH …‡f…@wH‰Ð†w* …‡f…@‰@…&æ¦È B„ƒ‚F…‡7ÀÿÿF…‡ ‰‰rmtreeÞÒ9É‘ * ð€&Ð 6÷ –%ß F ‰w ž Æå*÷ " ß Ô wæõ%ÎÚß üÎ ß F õöÿu-öÿ_€@öÿÀ @mÈ¥- @öÿÀ @mß �_x· ŽNÎeÐÿ@öÿÀ @m&ß Ö Ö À @öÿÀ @mß Î· X`@öÿÀ @mß À ÷H@öÿÀ @mß Î· (H÷  ÷  Î@öÿÀ @m&ß $Ö À 3÷ ü÷ ð ÎÀ@öÿÀ @m&ß Þ Ö ÷Ü@öÿÀ @mß >÷ T5ôÿwmôÿ¶÷ ° õ ôÿ @öÿÀ @mß N7`–µ öÿ_P÷ �ÎŽß üÎ ß F Îtß F w& w  Æå5 òÿõøÿ æß p Ö 7Z÷%ÿÿT Îß Î" ß À_JÎfÎeàÿæ,ß Ž –%5öÿ5 ðÿõ öÿ_<@Àeàÿ7÷ Î8 fÎeâÿß ŒÖ À _Î: fÎeâÿß ŒÖ À g÷ Öd@ðÿµ ðÿÀ Îæß ªÖ À Îß Î= ß Î ß þ ÀaNÎeâÿß >Îß À 0Î|ß þ ÷ h ÎÀæß Þ Ö ÷ äþ5ôÿõ ôÿÎß Nõòÿ÷  æß p Ö 72 føÿæ(ß ° –% Îß žÀ õòÿ÷ ÈÎfÎeàÿæüß Ž –%5öÿ@øÿÀe5øÿ_ÎÞß þ @òÿwzw jæ ÷ Ø5øÿõ øÿ fæh æ] ß  ÆeÎn ß ÎÎß F NÎeøÿß  @øÿw*w Nß HÀ ÷ Z ÀNß ê À Nß ÎÀ wìw Ü÷ 2ÿ¥/,÷ &ùÿ¥/÷ ù· ?Šw¼w ¬Æå$NÎeÖÿfß Ö Ö À  @ÚÿÀEÿŸÀ%@ Àw€w pÆå$NÎeÖÿfß Ö Ö À  @ÚÿÀEÿŸÀ% õ%ÿÿâÿ Àw<w ,ÆåuŸøÿuŸöÿõ‹øÿõ‹öÿu­öÿøÿ µ µ uŸøÿuŸöÿéu­öÿøÿ Àwäw ÔDÌ¥/ ̋ԥ/ƒ ùà @Ì¥/Ä û„ w¤w ”Æåõ -NÎeæÿ& ß R Ö À $Næy ß XÖ Î� ß XÎfÎeæÿ& ß Ž –%@a0Šæÿõ¥yæÿõ¥Yæÿ Àw8w (ý‹/@Ÿµ !· j &÷\ "÷X 7 R 7 H õ @Ÿæ¢ ß XÖ Îß F Á 7$ þy ÎwÌw ¼Næ¶ ß XÖ · ü w²w ¢DÌ‹„ üNífæß $ –%wŠw z÷%Î ÿ•/Æ ·  À¾ · º Aµ H’ ÷%¨ ‚ÎÑ ß ‚í÷ ˜ wFw 6Îä ß Nß Îì ß Îß F ww w<w8 ‰î †7T Àÿÿwúw êÄô ÷-Ø> À8 À n Nß @Îfæß $ –%Îæ æß $ –%ß @&æß $ –%Îæ æß $ –%wˆw xDÔ‹þ@íÀ wpw `Æå~wÀ DÄeÀŸ¶ · °  %ß h ôw@7 œ 7 œ ׯ’ -· Š · ˆ ÷†w| 7 ~  .÷twr ƒÃeÁ BÚ üJ  Ó•-ׯH d· @ ÷ z r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „\ À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •@à >ÁÀ  Ò‹ƒ D~8Â4 Â8 ÷ ž Ó•0 ÷ $f v÷ öÿ€€LÀe0 9Àe�‡Àj Âd ÷ ” À\ ÂV ÷ †7F wˆþ‚Âeƒà&æ Ä Ãm* ÷ ( ß h Ã~Ä Ž”ß h à Î ß h Ã~Ö „wBþ7 ü  ÀŸò · î Àå0 úÿ ‚· Ú Wp `ìÀe0ƒÄeÓ•?‡f…À ÷ ,À¸ P�· ® ÷ ¨ ÷ @…‡f…÷ …‡ÀŒ Àå47�Àz € ‰< †7X ÷4j ÷b ×-\ ‚÷T ‡f…w\wX‰B †wþ …‡f…@‰†wè …‡f…w,@Àe7$‰H wÆf…‰†w¸7ò …‡f…‰…‡f…@wð‰N †wŒ …‡f…wÚwÖ‰R †wl…‡f…@w¾wº‰X †wJ…‡f…@w¢wž‰^ †w( …‡f…@‰†w …‡f…wr‰d †wø …‡f…÷ D&‰†Ö wÞÖ }…‡f…@w8w4‰h †w´…‡f…@‰fA… w,üÿ”Àw"ŽÀe"w"„Àew"z@lw"rAlÁeæw¬e &@Àtùÿ`Áe€Ø€ …‡@…&æ¦È B„ƒ‚F…‡f…w(w$‰†w …‡7 ÀÿÿF…‡-acfsvÆÀ¤²ºªÈ: no read permission ...: need both X and W permission /bin/rmdirrmdir/bin/rmdirlast chance before OBLITERATING %s ok? unknown switch: %c usage: %s [-vfsa] dir ... path name too longPANIC: !‰Unknown error: Îd‚o|x¾fÌeZchsÚlèuÚrüÿðÿýÿøÿ‰4‰ ‰ ‰‰‰‰ ‰‰´ ¼ Ë å õ 1CUeqƒ“¥®ÄÖâô"3G[l{Š¢¯ÅÔà"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededß Ö –%Æewüïÿ‰routÞÒ9í�š R 8@ ð€&Ð 6÷ ß ‰w ú_H ß `ÎR ß FÀ ÎW ß nÎß  æ\ ß vÖ À Î^ ß nÎß NÎeÆÿß ¶5ŠøÿÎfÎeèÿ& ß ”–%À%^õ èÿñÎc fÎeêÿß 6Ö À çÎe fÎeêÿß 6Ö À ÝÎh fÎeêÿß 6Ö À ÓNÎe¢ÿfÎeêÿß 0Ö À È@¦ÿÀEÿŸÀ%@ÁAÈÿ@Æÿ@í¾ÿAíÀÿ€ À W 0*‡AÈÿ@Æÿ@í¾ÿAíÀÿ€ f&÷ *–%NÎeêÿæk ß žÖ NÎeêÿß Ì–wÚÆåX_ w Â; ð5þðùaFûÄ ß ÎÎp ß žææ ff÷ ÆeDÀ r<ß Î DÀ r<ß ÎÀ r<DÎr ß žß ÎwVÄw DAÀ r ß úAÀ r Nß úw*íw AÀ r Ä ß úAÀ r Áe0uNß Öwîåw ÜDC̋ˋ̢„ ƒ ÷̋ˋ Àw¶ëw ¤Ät ÷-¾ À À ô Nß àÎfæß æ–%Îæ‚ æß æ–%ß à&æß æ–%Îæ… æß æ–%wBw 2DÔ‹þ@íÀ w*7Œ  ÷‚ õ÷ DÁ Ó•- Ó•0�”B~Á` Ó•. Á Ó•0…~Á ”B~‡7>  ÷4 õ÷ üÁ Ó•-”Ó•.Á Á ”B~Ó•e �Ó•- Ó•+ r Àe0�Áe0S�‡w tÆå~wäDÄeÀŸÚ · Ô %ß ÖôwT7 À7 Àׯ¶-· ®· ¬÷¸w 7 ¢ .÷¦w–ƒÃeÁˆ BÚ üJ Ó•-ÀŸl· h o^ xU d÷ R÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁÐ ÂÌ ŒÒ‹ƒ D~C ÂÀ  ÂÆ v÷ –Ó•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡À\ÂV÷ ¶ý ÀNÂH÷ öý78wVþ‚Âeƒà&æ Ä Ãm÷ ß ÖÃ~Ä Ž”ß Öà Î ß ÖÃ~Ö „wþ7 î ÀŸä· àÀå0 úÿ ‚· ÌWp `ìÀe0ƒf…À¾÷ ,À´P�· ª÷ ¤÷ @…‡f…÷ …‡Àˆ Àåž 7ºÀv€ ‰Ô ÷ž l÷d×-^‚÷V‡f…wŒ‰Ú †wö …‡f…@‰†wà …‡f…w`w\‰Þ †wÀ…‡f…@wDw@‰ä †wž…‡f… ‰¦BR‚…‡f…w‰ê †wp …‡f…@wüwø‰î †wL…‡f…÷ N@‰@…&æ¦È B„ƒ‚F…‡f…wBw>‰z †w …‡76ÀÿÿF…‡‡ ð6þvþò&û€�ð‡ ð6þvþù&û€�ð‡ ð6þøvþCøùó€@Cò�ö¦û€�ð‡ ð€þvþòûð‡ ð€þvþùûð‡ ð€þvþøCøùó€@Cò�öˆûð‡Îå&0‰€f…¦5õw `÷ * f…¦5õw J÷ ½}‚…‡7 t÷l¦ðWð€&øføæÁž 7 T@ñð%· HÀñó€@Añð&ø@øÃÆ7óêø@ø—ôL>—ó BÀûÀe0#�‚ @ñððÁžÑ”× Æü‡õ ‚  ó BAñðú‚ ÷ ÷  üW ƆÎeó B@ûÀe0�‡ÀžÀmˆ÷ Ä€` ž‡’ÃeÈ�¢9 È•0 žƒ ŠöÈ•1‚ Á’ÀP÷ Œ€`0ŠžÀžƒVõõVð‡/tmp/tmp./tmp....q %s ::Unknown error: dîoâx6fDe´cÂs l@uRrdDêOÞXüÿðÿðýÿøÿà(null)‰ž ‰‰‰ ‰‰: B Q k { “ � · É Û ë ÷  + 4 J \ h z ‰ ™ ¨ ¹ Í á ò   ( 5 K Z f "Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceeded‰Ì>ÌÌÌÌÍÌ sessÞ×9í�îjtÀ ð€&Ð 6÷ ß º ‰w Ä _z5Šõÿ æjß ²Ö 5øÿõ øÿÎxß â÷ t ÎÞføÿß ”Ö 5Šïÿõ�‹îÿÀ�†ÀEÿ5�ðÿõ�{ñÿ fðÿfîÿføÿß ´Æeõ% Îß ² 5�ôÿ@Àeôÿ5òÿ@5òÿÎæß –Ö À ×  ÀÀ Îúæß –Ö Îðÿæîføÿß 4–%À%÷ ¼õåðÿµ îÿÎÞfòÿß ‚Ö À _r@òÿð‹Aõ�ºôÿ@Àeôÿ5òÿ Aðÿ@îÿÁe@ f&føÿß ´ÆeÎæÞføÿß 4–%À ÎÞfòÿß ‚Ö À ë fðÿfîÿføÿß ´ÆeÎæÞføÿß 4–%NÎeîÿß ¤ ÁŽPÀÈ Àí(Áí&€ 5`îÿu`ðÿu îÿÎ’ß âõ%É îÿõ%¢ðÿƒNÎeîÿß È Àe æ ß âÖ #NÎeîÿß È Àe æ€QæAðÿ@îÿÀåÈ ÁåŽP€ f&÷ æ Æef&æ§ß âÆe÷‹Œ ý¥~òÿ뫧 âÎ ß $÷ H_âwr Æå _ w Z 7@ð‹ @AH¬À& $5 øÿõ%øÿý‹ ý¥  À@µ Aµ H¢ µ øÿáÀwö æ Çw â Îæß –Ö Îèß È Îe &æÃß â–%÷ Œwº æw ¨ _ˆõ 4DÄ /÷ ¸ ÎÀ 7¬ &fß Ð–%7š 7 ” ÷ ’ Àÿÿ_„÷ „ @á_„ýŸv µ · l ÷ f · ` Ä Ïj@ 5DÄ a÷ D QÎÀ< Àe &fß r–%Îæ fß Ð–%7 ÷  '÷ÿ ÷ Îæfß r–%Îè æ fß Ð–%7Ø ÷ Ô ÷ Ì ã÷ È @á÷ º @áÀ¬ Àe 7¨ 7 ¢ õ ÷ œ ýŸ˜ · � ÷ Š Ä �@wd_<w P7 n 7 l Nffß r–%w:ïw (7 F 7 D N fffß òÆew ìw úÆå~w: DÄeÀŸ0 · *  %ß $ôwÚ7  7  ׯ -·  ·  ÷¸wö 7 ø  .÷¦wì ƒÃeÁäBÚ üJ Ó•-ÀŸÂ · ¾  o^ xU d÷ ¨ ÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁ&  Â(ŒÒ‹ƒ D~C  Â"v÷ ì Ó•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡À² ¬ ÷ ” À¤ ž ÷ †7Ž wVþ‚Âeƒà&æ Ä Ãmr ÷ p ß $Ã~Ä Ž”ß $à Î ß $Ã~Ö „wþ7 D  ÀŸ: · 6 Àå0 úÿ ‚· " Wp `ìÀe0ƒÄeÓ•?‡f…À ÷ ,À P�· ö ÷ ð ÷ @…‡f…÷ …‡ÀÔ Àå87ÈÀ € ‰0÷8¸ ÷° ×-ª ‚÷¢ ‡f…@w–‰6†wN …‡f…w€w|‰:†w.…‡f…@wdw`‰@†w …‡w êõ õ õ%ÿÿ õ  N ffß r–%õ% @tAWt÷ÿÁE€ÿ@PN Îe&fß r–%À ÀÿÿwˆÎfÎEþÓf…@wÈwĉF†wj …‡f…AW †@w¢Á f8187– À5Á Á Áeîw‚‰L ‡À5€…‡À& Ö w &ÀD L&À> H&À8 D&À2 @&À, <&À& 8&À 4&À 0&À ,&À (&À $&À &Àü &Àö &Àð &Àê &Àä &ÀÞ &ÀØ &ÀÒ f¦æ&È „ƒ‚�€f… ‰¦BR‚…‡f…÷ F@‰w Nß Þ ß Ô ww þÆåDÄeòÿL@4Àl &ß @Ö ß ø Âõwøÿõ/öÿó%J ó%K À t5JøÿÀ t5LöÿNøÿæß º Ö 5øÿNöÿæß º Ö 5öÿ÷ þ B-øÿB-øÿó%B-öÿB-öÿó% Î&ß @Ö ß ø ³ Àw2w "DCÃ%: ß v Àe“þ`Áím Áe¼À rfÀ€åwôw ä΀p@&fß –%Ä Â`ÁÀ r<RÁÀ r<ÁÀ r<RÁÀ r<À rWtC`À rÒÁeÀ rwþÃFÎß v àƒ Îß v !ö÷Þ7ÞÎß v À%n÷² ÀÀ ìRƒ ÀÀ 0!Rö÷”€ Ò7 ¤À`ww Ä Ã‚Ô”þAA WpCÃeœÄ Ô”Ô”Ô”„ BÂe�WpCÃe²Ô”Ô”Ô”Ž&ß – Ö ŽÎed&ß – Ö ŽÎed&ß – Ö ŽÎed&ß – Ö Äe@ &ß – Ö À wvw fAÀ rÁ Ànw\Àmûw FD„ õ% AÀ r À r Áe0@�Ô• AÀ r Áe0@�w @…&æ¦È B„ƒ‚F…‡7&ÀÿÿF…‡‡ ð6þvþò&û€�ð‡ ð6þvþù&û€�ð‡ ð6þøvþCøùó€@Cò�ö¦û€�ð‡ ð€þvþòûð‡ ð€þvþùûð‡ ð€þvþøCøùó€@Cò�öˆûð‡f…@÷ …‡ ÷xÐæ ‰r"‡Îž‰Ø‡@‰r‡ Àr$ô$ttñ¤yîЋì¢é7˜ˆ@‰Ö À�~‡€�6rwn‡€�6r@‡f…@õ Á P`Hm` …‡Îå&0‰€/usr/adm/wtmpCan't open /usr/adm/wtmp Elapsed time: %5.5s %ld + %5.5s since logout interrupted at %10.10s %5.5s Xd2o&xzfˆeøcsdl„u–r¨D.O"Xüÿðÿðýÿøÿà(null)‰8‰‰‰‰0‰€pz~M:/PSTPDTDay Mon 00 00:00:00 1900 SunMonTueWedThuFriSatJanFebMarAprMayJunJulAugSepOctNovDec/devsethome5±ý푨ªÊÜ ð€&Ð 6÷ ß N‰w @÷ žÁîA @@7 õ% Îææß ,–% ß NÎß ¦7è À%xÎ:ß öÎß Nõ%ÎOß öÎß Nõ%ή ß À Îkß öÎß N÷ Ðæ„ß öÖ  ß NÎ| ß "@Îl ß À 뢧 lÎß Nß &ÎH ß PÎB ß ÌÀ 뢧 lÎß N ß NwFw 6Æå6÷  oĈt�NÎeÄÿ&ß vÖ À ß lÎß NÀâ ÀEÿA�Ëÿ@ ÀÒ tøÿA�Ìÿ@ J æß ÈÖ 5øÿÎß lÎß N @t&føÿß –%ÎfÎeèÿføÿß æ–%À%Nøÿß ¨ÛNøÿß ¨À^ ÀEÿA�öÿ@ ÀN tøÿA�÷ÿ@ Î’ß öÎß NwVw F æ¢ß ÈÖ ' @�t&&ß –%À Î æ¼ &ß æ–%À% 7 d ÷•/` 7Š] ÷unr ß ¨ wôß ¨Àÿÿøw ØÀ¾ wÜw ÌÀ( wÐw ÀÀ: wÄw ´À. ÀEÿ7�” À" tøÿÀEÿ7�… ÀH wœw ŒÎæ¢ß ÈÖ Àÿÿw~ @�t&&ß –%Î æ¼ &ß ,–%À% ß ¨ äß ¨Þw 2 @aÈ‹ @a4’¾ „ Ä%ò4о ww wbw w úwrwüw ìĬ÷-öÊÀÄÀ * Nß ÞÎfæß ,–%Îæºæß ,–%ß Þ&æß ,–%Îæ½æß ,–%wŠw zDÔ‹þ@íÀ wrw bÆå~wJDÄeÀŸ@ · : %ß 8ôwB7 &7 &ׯ-· · ÷¸w7  .÷¦wüƒÃeÁÀBÚ üJ Ó•-ÀŸÒ· Î o^ xU d÷ ¸÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁ6  ŒÒ‹ƒ D~C Âø Âþv÷ üÓ•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡À¼÷ ” À´Â®÷ †7žwVþ‚Âeƒà&æ Ä Ãm‚÷ €ß 8Ã~Ä Ž”ß 8à Î ß 8Ã~Ö „wþ7 T ÀŸJ· FÀå0 úÿ ‚· 2Wp `ìÀe0ƒÄeÓ•?‡f…À÷ ,ÀP�· ÷ ÷ @…‡f…÷ …‡Àä Àå\ 7�ÀÒ€ ‰ ÷\ È÷À×-º‚÷²‡f…@‰†wÞ …‡f…‰…‡f…wBw>‰ †w´…‡f…@w&w"‰ †w’…‡f…@w w‰ †wp …‡f…@wìwè‰$ †wL…‡f…÷ N@‰@…&æ¦È B„ƒ‚F…‡f…w2w.‰° †w …‡7ªÀÿÿF…‡‡f…@÷ …‡ ÷xÆæ ‰\"‡Î”‰¶ ‡@‰\‡ À\$ô$ttñ¤yîЋì¢é7˜~@‰Ö À�t‡ÿ/etc/utmpCan't change home for root Unit 2 not teletype Usage: sethome [ homedir ] Error reading data base %s /dev/ttyxNOT super-user /etc/htmpUnknown error: ldFo:xŽfœe csxl˜uªr¼DBO6Xüÿðÿðýÿøÿà(null)‰\ ‰‰‰‰p x ‡ ¡ ± É Ó í ÿ  ! - ? O a j € ’ ž ° ¿ Ï Þ ï   ( 7 F ^ k � � œ "Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceeded‰/devcrt0.ostartsethome.~mainargcargvbufp~loggedo"ttyutioøÿuentryèÿstbufÄÿtphtmpg.ohtmpg.o~hget~hgethom€~hgetuidŒ~hgettyp˜~hsgetty¤ttypeH htmps.oÌhtmps.o~hputÌ~hsethom&~hsetuidP~hsettyp^perror.ol~perrorlcns~strlenÞsstrprintf.oöformpN loop rjustP ndigitT gnumúwidthL ndfndR swtabÀdecimalloctalFhex:floatŽscienœcharac stringlongorunxunsigned˜remoteªlong¼loctBlhex6prbuf´nulstr prstr¼ffltpr.o.putchr.o8flrclose.o¨getuid.o¾open.oÈread.oæseek.owrite.o,errlst.oNexit.oNcsv.o\stat.ovcerror.o–cleanup.¤ttyn.o¦name„buf\er1 dev¶ ersavr5$F _exit"N_main"_hentry$¼ _mask#_buf$Ü _uid$@ _tty$B _htmp#¢csv"\_getuid"¾_write",_ttyn"¦_printf"ö_hget"_hgethom"€_loggedo""_perror"l_hsethom"&_hsetuid"P_hput"Ìcret"h_utmp#_stat"v_open"È_seek"_read"æ_close"¨_hgetuid"Œ_hgettyp"˜_hsgetty"¤_hsettyp"^_errno$D _sys_ner#n _sys_err#* _strlen"Þpfloat".pscien"._putchar"8_flush"f_fout$V cerror"–__cleanu"¤ttyn"¶shÞ×9í‘°@`¬ ð€&Ð 6÷ –%ß Ä‰w <Äß „ Ä%ù÷ @ß Øß Ø÷ J7F#ÿ•#ÐC@À À`7#õ%3ÂÊ¥-€”ÁV 7ä þy ·Š#Ê‹óÃeõ ÷‹ä"õ% ß  Â¦ß ®Ö À Îß ˜Î�!ß h?ŠR ß Œ7�°"À%x Îß ŒÀ%xû•-@È¥-·Š�"Îæß tÖ Îæß tÖ ÀÀe7J"@À 7>"÷1 ÀT"tøÿÎEÿß ØÎB"ÎEÿß ØÎæ" ß ®Ö 7�"÷‹ "Îß 7 "÷ ¼Îžß ˜Âú! Ò�ø!·Šö!Ò• ·æ!÷þä!÷ D7�Î!÷ Üçõ%÷Ô!÷•Î!?ŠVû•-·Š¨!_ˆw ~DÃ÷ lÀ r ÁU0@?�ZÀ r Ñ~wZw JÂp!8ÃÃíh!Ä�^!Ä Î& &ß P–%Φ&ß ¢–%÷‹H!÷‹@! ÷ >!À%À# �Î& æß P–%Φæß ¢–%·!÷!wÜw Ì÷~'à ÷–#Ø 7Šà 7ŠØ ÃÌ ÷ FË¥ ù÷â'À ÷‹À ÷‹¾ ή æ~'ß  Ö ÷‹¨ Ϋ!ß h÷ &ÿŽß ( wvw fÿz z ÷et ÷ æ�‘ rÁ Áen A! þy ‘÷ ì�Ä 5Ä¥ ·ŠF 7‘< w&‘ÀU€?�( · $ ê?‘ ·  ÷ Ž�Ä¥*?‘ ·  7‘ 7‘ ÎÆ!‘&ß :Ö À »?Šä· àÔ7‘à÷ N�θ!‘&ß :Ö À â?‘¾· ºïw œÄ´@À 7`ª÷%ª(¤†ÎÉ!ß ˜·Šž÷ hw|w l÷‹†Ä�€7Š|c÷ån÷ àÿÄ% ú÷e\Îà!ß h·ŠVë÷%Ø'Hé‡÷%y'>1†÷å 6÷ ªÿÄ% ú÷e $Îî!ä7 ÷ ¸Ä%\3÷ ¬Ä% )ÀU€'Ä%9/ÀeÐÿÀ-æÀ ÀmÞ7 ÿÊ÷ ÆÝÀÀ· ¼’Ä ¨÷´°Ä¬Ä%ÿÿÌ÷e¢À wœÄ%$÷ @Ä%0ÎÄ%$÷g#z×Ä%*÷%xÐÀt7`Àe7ZÆÀE€ÿÙw Bæ ÷ t÷%l ß Ä'À^· Z’Ä ÷NÄ ÷¥DëÎfÎeøÿ& ß æ–%À%ßD�øÿÄ% ÷‹÷ŠÃ ‘÷ ü÷ ø÷ xü÷èwÆw ¶õeu-Î"@’&ß :Ö À îÎffß ä–%w† üw ræ 5 øÿDD-_öŸÁ¶ 7¸ þy µ øÿÄeìõ øÿõ øÿø·ŠVõõ òõ øÿïõ 4œ5øÿÀ%*ü•; &Îefß ä–%õ%*øÿ-Ê%Îß ºË3 3 óa³ÂƒóUaŸ5øÿfß "Ö õ%&øÿòUaÎß ºË3 ³N&Îeß  Ö 3Àõ øÿõ 5 _êNfß "Ö ·Š`wDw 4 DD-DŸÁÎ 7˜ þyƒ Äeïà ûà ùÎß ºÊfß ÊÖ 2ÄeD- ü¥* ò€ð‹Œ 2 ÄåN&Îeß "Ö 2€w¬ Nfß ÊÖ öw Œ Æå5 êÿ@È¥)õUêÿ5 øÿ5 öÿ5 ðÿ5 îÿ5 ôÿ5 òÿDD-_ Ÿ5ìÿÁâ 7Î þyõ òÿ õ øÿ·ŠJÀe5øÿµ òÿÄeÝõ òÿõ òÿø5öÿõÄeD-ü¥>õUêÿÄåÄeD- ü¥*õU€êÿð‹Œ Äåõ òÿÐÄeD-·ŠÎÄåÎ"Ÿ&ß :Ö À ·Š²õ%<ìÿõ ðÿ·Š 5ðÿ¯õ îÿ·Š�5îÿ§õ òÿ¤@ôÿÀ µ ôÿ@m›õ øÿ#õ ôÿ·ŠbÎß ºËÎföÿføÿß ä–%3sêÿsðÿsîÿÀw õ ôÿ·Š@ôÿÀ µ ôÿ@m NôÿÎeß ºË5 òÿu-ôÿòÿØ@òÿÀ À`AòÿÁ Amp µ òÿîw ª BÂe „ “üÀ�&ý Ö �÷w” w „ Î "fß :Ö À ÷•Œ@wp w ` @ÀE€ÿw` w P Îæß tÖ Î"ß ˜÷ ( w> w . Æå õ g@Àå `‚À xö @ ÷ 8Î!"æß ZÖ À Îìÿß ˜I ûÎ'"æß ZÖ À öÎ."æß ZÖ À Î4"æß ZÖ À 7@ð ,Îö fß ¬ Ö @ ß ìÀ Îß ˜Î7"ß h÷%ŠÎY"ß ˜ À|ðx÷ep÷ jw^ Îß ˜ÎG"âÎS"æß ZÖ À ÝÎi"æß ZÖ À 3DÄe &ÃfÎeß 7Xõdøÿ€”ÀE€ÿ� õ øÿõ øÿöÎm"ß h?Š0ÄÄeÀó• ÿÿçÎß ˜Î€"¨Î‚"æß ZÖ À ÷‹âÿ‹lÎ æß tÖ Îÿÿß zÎæß tÖ ”Îÿÿß z�·"æß ZÖ À ‡D5öÿ5 øÿõ5öÿ÷ f5øÿõ%ÿÿøÿΉ"_Ø õ øÿ)õ5öÿ Nß @ß õ5@öÿNøÿß ÂΓ"ß ˜õ5öÿ_ õ5öÿ_ Nøÿ² ß  æß ®Ö À Îß ˜Î•"ß hÎß Ä-Îß õ5öÿÎ¦ß ®Ö À Î& æß P–%Τ¦ß Ö À ß ˜Î£"ß hÎß Äõ5öÿ ß Nß :Nß @ß õ5öÿÎß @ß :Nß @ß õ5€öÿÎß Îß :õ5 öÿô  õ5öÿ  ß  æ³"ß ®Ö õ5 öÿ÷‹Þ  æß tÖ  æß tÖ Ì%@öÿÀEßÿ4Pß ( Îß ÄÀ�Šß 7ŠzÎÒ &Îeß ¬ Ö ÷‹fÄeÔ ÌˆÌ½"Äå&ß NÖ Î¾"ß ˜Îß ÄÎö &ß ¬ Ö  Ë¥/ƒ Ë‹úË‹÷ "& ß ÂÖ Ë‹@Â("‚ ÃäÊ¥ “”Ê‹úµðÿÓ•/@ “”þæ¼ß ÂÖ BðÿÊ¥ àÊ‹àäÂÔ"ƒ ‹”ý “”þæŠÎeß ÂÖ æzß ÂÖ  ß ˜ÎÞ"ß hÎß Ä@5öÿNÎeòÿß Ì@@öÿÀEÿÀU4PNÎeòÿf&ß ( –%@@öÿÀE–ÿÀU4PNfÎeòÿ&ß ( –%_ @ÀEßÿ5öÿ@t]öÿß ( @t]öÿß ( _ w ”æ DÃe Îfß NÖ ÷%È0Kã  fß ®Ö ÎfÎeøÿ¦ß æ–%À%õ%øÿË Žß Îæß NÖ Îê"ß ˜Îß ˜Îî" ÷% ` Îß ˜Îò"ß hÎß Äwþw îNß ˜Îþ"ß ˜ÿ‹  Î& & ß P–%÷ 0wÎw ¾D „ Ì‹ýNífæß ¢–%w¤w ”AÀ r ß ÂAÀ r Áe0uÎfÎeæß ¢–%wbw RB Ã¥0 Ã¥9 Wp @Á�@`ÄeÐÿƒ”Ëîw,w DÌ‹•@-úÀw üw üDCÔ¢Ó‹üÀwð üw Üæ B1NÎeøÿß ‚Ä%ÿÿ(CøÿÃE€ÿÀÀ ð 2 „ ß ÂÎ#ß ˜ÀÀ 2 ß ˜õ5€øÿÎ#ß ˜à Î#ß h!Ïwzf…w ‰#†w~ …‡f…@‰†wh …‡f…wôwð‰#†wH…‡f…@)‰†w4…‡f…wÈwÄ÷ Læðæn‰#wf…‰†wú7* …‡f…‰…‡f…€"‰†wÖ …‡f…wnwj‰$#†w¶…‡f…*‰†w¦BJ …‡f…@w8w4‰*#†wz…‡f…÷$ wm‰0#†w\Àwm…‡f…wø‰0#†w:wê …‡f…@wÚwÖ‰6#†w …‡f…AW †@w´Á f´(1´(7¨ À5Á Á ÁeÌw”‰<# ‡À5€…‡À& Ö w²&ÀâL&ÀÜH&ÀÖD&ÀÐ@&ÀÊ<&ÀÄ8&À¾4&À¸0&À²,&À¬(&À¦$&À  &Àš&À”&ÀŽ&Àˆ&À‚ &À|&Àv&Àpf¦æ&È „ƒ‚�€f…÷ D&‰†Ö wèÖ }…‡f…@w”w�‰B#†w¾…‡f…@‰fA… w,üÿjÀw"dÀe"w"ZÀew"P@lw"HAlÁeæw¬; &@Àtùÿ`Áe€Ø€ …‡w wšw–wÅŒõŠw @…&æ¦È B„ƒ‚F…‡f…‰…‡7*ÀÿÿF…‡f…@÷ …‡ ÷xfæ ‰à()‡Î2‰Z#â(÷-&& ‰Z#‡@‰à(‡ Àà($ô$ttñ¤yîЋì¢é7˜@‰Ö À�‡/bin/sh/etc/glob2/usr/bin/pxþ /usr/adm/sha!! !!!0!9!B!U!\!f!s!ƒ!�!–!l#citvưÊÀ„ˆv ~ Š –   ) ”"d”d"ddd”Pddd &();*0*()^|FNRRH()<>$HœXôJ ö ‚% HangupQuitIllegal instructionTrace/BPT trapIOT trapEMT trapFloating exceptionKilledBus errorMemory faultBad system callAlarm clockSig 15Sig 16: cannot opensyntax error '" ;&<>()|^ "'Command line overflow Too many argsToo many characters;& <>([?*wait: interrupted gimmenormalchdircd: bad directory: arg countshiftshift: no args liblib: path too long wait:try again : cannot open: cannot create/dev/nullglob: cannot execute /usr/bin/: not foundNo !! : too large : -- Core dumped ‰‰ ‰‰‰‰ )‰0‰‰ß Ö –%Æew¨Üÿ/devsizeÞ×9í� ¬D4 ð€&Ð 6÷ ß t‰w f_tÎß þ7òõ õeC ß èà à DõeĬ &ß Ö À ß ¬_hÎæð& ß 0–%À%β&ß xÖ k÷%X÷% PÎÄ&ß xÖ \õ%æÔß 6Ö Î*& ß –Ö 7,w*Î& ß –Ö 7wÎ& ß –Ö 7 w æææúæôæîæèæÙ÷ ÆeÁÚÀÔÀmÔÁmÒ@ ÀmÎÁmÌ@ 7ÈwÆæÂæ¼æºæ´ææ÷ ÖÆe ÷ >à _:w_ w  wæ7 ˆNß ¬wúôw èA@wäøw ÒÄò÷-öVÀPÀ jNß Îfæß R–%Îææß R–%ß &æß R–%Îææß R–%wpw `DÔ‹þ@íÀ wXw HÆå~wÒDÄeÀŸÈ ·  %ß xôw(7 ®7 ®ׯ¤-· œ· š÷¸wŽ7 � .÷¦w„ƒÃeÁBÚ üJ Ó•-ÀŸZ· V o^ xU d÷ @÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁ¾ ÂJŒÒ‹ƒ D~C Â> ÂDv÷ „Ó•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡ÀJÂD÷ ” À<Â6÷ †7&wVþ‚Âeƒà&æ Ä Ãm ÷ ß xÃ~Ä Ž”ß xà Î ß xÃ~Ö „wþ7 Ü ÀŸÒ· ÎÀå0 úÿ ‚· ºWp `ìÀe0ƒÄeÓ•?‡f…À¢÷ ,À˜P�· Ž÷ ˆ÷ @…‡f…÷ …‡Àl Àå$ 7–ÀZ€ ‰R÷$ P÷H×-B‚÷:‡f…@‰†w¤ …‡f…@)‰†wŽ…‡f…w>w:‰X†wp…‡f…@w"w‰^†wN…‡f…@ww‰d†w,…‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7pÀÿÿF…‡‡a.outCan't read headerNot object file%s: %ld+%ld+%ld=%ld (%lo) Unknown error: ¬d†ozxÎfÜeLcZs¸lØuêrüD‚OvXüÿðÿðýÿøÿà(null)‰$ ‰‰‰°¸Çáñ -?Qam�¡ªÀÒÞðÿ/CWhw†ž«ÁÐÜ"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededsoelimÞÖ9I�@ ú6 ð€&Ð 6÷ ß Â‰w ´.õ õeÎß ä7 õ  @þÿæß Ö Îß ÂNß |õeõ õ ô÷  ß ÂwbÑw P_ŠNÎe�ýfß øÖ À ÷ ðNß ’÷ äÎß ÂNÎe�ýß \�À�À%ÿÿ]Ã¥.QNÎe�ýß \�Ã¥sÎ.ß ^CNÎe�ýß \�Ã¥oÎ+ß 5NÎe�ýß \�Ã¥ ÷Ã¥ ôDÄe–ÿÀ� Ô�NÎe�ýß \�õÁú7 þyë@Àe–ÿ!Î.ß ŠNÎe–ÿß |¢À�À%ÿÿÀ�ß ^™N�ýß ÎwRÆåj_„w :Ä2÷-P�ÀŠÀ ªNß Îfæß  –%Îæ@æß  –%ß &æß  –%ÎæCæß  –%wØw ÈDÔ‹þ@íÀ wÀw °Æå~w DÄeÀŸ · ü %ß ^ôw�7 è7 èׯÞ-· Ö· Ô÷¸wÈ7 Ê .÷¦w¾ƒÃeÁFBÚ üJ Ó•-ÀŸ”· � o^ xU d÷ z÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁø ŠŒÒ‹ƒ D~C Â~ „v÷ ¾Ó•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡À„Â~÷ ” ÀvÂp÷ †7`wVþ‚Âeƒà&æ Ä ÃmD÷ Bß ^Ã~Ä Ž”ß ^à Î ß ^Ã~Ö „wþ7  ÀŸ · Àå0 úÿ ‚· ôWp `ìÀe0ƒÄeÓ•?‡f…ÀÜ÷ ,ÀÒP�· È÷ Â÷ @…‡f…÷ …‡À¦ ÀåD 7ðÀ”€ ‰’÷D Š÷‚×-|‚÷t‡f…@‰†w  …‡f…@)‰†wö…‡f…w˜‰˜J‡A …‡7 f…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe71@‰ž‡À �1‡wJf…@wøwô‰¤†w,…‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7BÀÿÿF…‡‡ÿÿ $$$$&Usage: %s file [ file ... ] .s.soUnknown error: ’dlo`x´fÂe2c@sžl¾uÐrâDhO\Xüÿðÿðýÿøÿà(null)‰D ‰‰‰ðø!1ISm‘¡­¿Ïáê0?O^oƒ—¨·ÆÞë   "Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededsquashÞ×9í�tÞ† ð€&Ð 6÷ ß :‰w ˜_Âõ õeõ _¸÷ n5ôÿõ ôÿ ÎæÞæß –%Îß :õ ôÿ)Næñß ÊÖ Næþß ÊÖ Næß ÊÖ Næß ÊÖ Îææß –%Îß :NÎeöÿß ø5øÿõ%ÿÿøÿu-ôÿøÿñõ%ÿÿøÿ Îæ.æß –%Îß :õ5ÿöÿÎæKæß –%Îcß ÞÎß :@öÿtøÿÀEÿÀ%Îiß ÞÎß :Nß ÞÀ Îoß ÞNß Îß :Næuß ¾Ö À Î{ß ÞNß Îß :Î�ß ÞÀ Î‡ß Îß :õ õe_* ß :wþÆå_ w æ fæœæ™æ–æ“æ�æ�fß ŠÆewÂèw °Ä¢÷-VÀPÀ ÌNß rÎfæß –%Îæ°æß –%ß r&æß –%Îæ³æß –%wNw >DÔ‹þ@íÀ w6f…w$@Àe7‰¶w(f…‰†w7° …‡f…wöwò‰¼†wö …‡f…w܉†wÜ …‡f…÷ H&‰†Ö wÂÖ }…‡f…@w¢wž‰Æ†w˜…‡f…÷ š@‰fA… w,üÿúÀw"ôÀe"w"êÀew"à@lw"ØAlÁeæw¬Ë &@Àtùÿ`Áe€Ø€ …‡@…&æ¦È B„ƒ‚F…‡7’ÀÿÿF…‡‡No more processes /usr/bin/nld/bin/nld/bin/ld/usr/bin/ldCan't find loader Impossible return from wait Loader process faulted x.outx.outx.outx.outx.outx.outx.outld-S-X-r-ox.outUnknown error: ‰ ‰ ‰‰)CSku�¡³ÃÏáñ "4@Raq€‘¥¹ÊÙè #2>"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededß Ö –%ÆewžøÿsspÞ×9í�Ú² ð€&Ð 6÷ ß à‰w Ò_õ õeõ @È¥- ÷•Šõ õeïõ ÎÎfß Ö À ÷ lNß Îß àõ õeÎÎß zÄ%ÿÿ?Ä% ÷•.ß ¦î÷‹"Î ß ¦ÎÎß zÄ%ÿÿ&Ä% ß ¦÷•öÕÎÎß zÄ% ø÷‹Þ÷‹ÚÎ ß ¦Ä%ÿÿß ¦÷•¾¹õ Šwà‚w ÎÄ÷-`ªÀ¤À DNß ŽÎfæß ¾–%Îæ&æß ¾–%ß Ž&æß ¾–%Îæ)æß ¾–%wlw \DÔ‹þ@íÀ wTf…À.÷ ,À$P�· ÷ ÷ @…‡f…÷ …‡Àø ÀåÞ7BÀæ€ ‰,÷ÞÜ÷Ô×-΂÷Ƈf…w‰2J‡A …‡7 œf…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7–1@‰8‡À �1‡wJf…@wtwp‰>†w,…‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7ÈÀÿÿF…‡‡Unknown error: ‰Þ‰‰‰Š’¡»Ëãí+;GYi{„š¬¸ÊÙéø 1BQ`x…›ª¶"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededstripÞ×9í�ή, ð€&Ð 6÷ ß v‰w h_Ìõ õeõ @È¥-@ð¥t ζæ®ß ÐÖ Îß v·Š~õ õeõ õåý̵ õ _Èõ Dõe ß " &ß VÖ À ß ˜Îß vÎß "ÃÒó•aÎæ ß 8Ö À Àþð¥zÎòß ˜Îß vÀâ°ŠäÎæ¾& ß t–%À% ÎÜ&ß ÐÖ Î¶ß :¨÷%ˆ÷% € Îñ&ß ÐÖ Î�ß :•Îæ¾æÎß î–%÷‹r7 ^7 \7 Z7 V÷V7X÷RTÎæÎæß T–%À% Î4ß ˜Î,ß :Îß v÷‹ Îöß Îðß /Îæà& & ß –ÆeÎæÎ& & ß –Æe÷ ÈÎæ²& & ß –ÆeÎæ & & ß –ÆeÎ”ß  ß " æžß VÖ À Î�ß ˜Îˆß :Îß vÎß "Τ&ß 8Ö À ß ˜ÎZß :Îß v÷JJ7HÎß Î(ß Î"ß Îß Î ß :_€wÄ_ w ° w\7 Nß ˜w¤ôw ’DCB Ԕ ýw‚øw p>DÄ 8Ä%Ä ÃÎfÎeúý& ß t–%À Îšß ˜Î�ß :Îß vÎfÎeúýæß T–%À Înß ˜Îbß :Îß vÄàÆwþÆå¿w èÄ÷-Ø@À:À 8Nß Îfæß T–%Îææß T–%ß &æß T–%Îææß T–%w†w vDÔ‹þ@íÀ wnf…@‰†wl …‡f…wÖwÒ‰†wL…‡f…w¾wº‰†w.…‡f…@w¢wž‰"†w …‡w êõ õ õ%ÿÿ õ  N ffß –%õ% @tAWt÷ÿÁE€ÿ@PN Îe&fß –%À ÀÿÿwˆÎfÎEþÓf…@ww‰(†wj …‡f…wì‰.†wP …‡f…@wÒwΉ2†w,…‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7DÀÿÿF…‡‡Usage: strip [ -t ] name ...a.out/tmp/stmaError reading headerNot object fileUnknown error: ‰‰‰‰ ‰‰~†•¯¿×áû /;M]oxŽ ¬¾ÍÝìý%6ETly�žª"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededsyswatchÞÒ9í‘VV ðt ð€&Ð 6÷ ß Ê ‰w Ô Cõôÿõþÿøÿ÷ Ú5öÿ Nöÿæd ß @Ö  ß Ê Îæß ~Ö Îæß ~Ö ÷ Ü Ä%€WpÁeNNWpÁeNfß Ö „ ì÷ Nôÿß Œ ùwX Æåºw B GNÎeÖÿæß Ö À  ß Ê õ%Öÿõ%âÿ ß Ê · d÷ \ Ä%€%WpÁeZNWpÁeZfß xÖ À ß ÊWpÁeNNWpÁeNfß Ö „ Øw¾ Æå$¶w ¨ X æ ß >Ö Îø ß ¶Îß Ê  Ã%€ÁWp@ÁWpñ\A\pZƒ íNÎeèÿ&ß LÖ À &C�òÿÁWpñ–^ÁWpÁeNNfÎeèÿß Ö ÁWpñ�XÁWpqôÿZÁWpqöÿ\Ñß òw Æå¥w ì "Nfß Ö @Apœ @Ap @Ap@° w² Ýw   _ÎfÎeêÿfß \–%Ä% M Ä%@aAañ¥ êÿ AaAœêÿH�„ ë@0Š@p�òÿ ý‹@AñAp À@�ôÿ@�õÿ&ß ¦Ö A1 @�öÿ@�÷ÿ&ß ¦Ö A1Àwì Æåžw Ö @µ Aµ H’õwÆ òw ´ ý‹ý‹ }¯ µ µ ï}¯ Àw† ãw t }/@Ap, ÀwX ìw F @�ÀEÿtA�ÁEÿ@Pw4 ñw " rÎJA�WpÁeZfß xÖ À A�WpÁeZNß Ø @�&A�WpÁeNfæh ß @ÆeGÎJA�WpÁeZfß xÖ À @�A�WpÁeNfæw ß @–%)@�A�WpÁeNfæ� ß @–%A�WpÁeZNß Ø @�&A�WpÁeNfæ© ß @ÆewH�w 6ĸ ÷-¼ ŠÀ„À :Nß (Îfæß ¨ –%뾮 æß ¨ –%ß (&æß ¨ –%뾃 æß ¨ –%wÔw ÄDÔ‹þ@íÀ w¼w ¬Æå~w DÄeÀŸ ·  %ß ‚ôwŒ7 ü7 üׯò-· ê· è÷¸wÜ7 Þ .÷¦wÒƒÃeÁÌ BÚ üJ Ó•-ÀŸ¨· ¤ o^ xU d÷ Ž÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁ  Œҋƒ D~C   v÷ ÒÓ•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡À˜Â’÷ ” ÀŠÂ„÷ †7twVþ‚Âeƒà&æ Ä ÃmX÷ Vß ‚Ã~Ä Ž”ß ‚à Î ß ‚Ã~Ö „wþ7 * ÀŸ · Àå0 úÿ ‚· Wp `ìÀe0ƒÄeÓ•?‡f…Àð÷ ,ÀæP�· Ü÷ Ö÷ @…‡f…÷ …‡Àº Àå|#7RÀ¨€ ‰÷|#ž÷–×-�‚÷ˆ‡f…@‰†w …‡f…‰†wô7b …‡f…@wò‰†wÒ …‡f…wÜw؉"†w²…‡f…@wÀw¼‰(†w�…‡f…AW †@wœÁ f~%1~%7� À5Á Á ÁeÖw|‰. ‡À5€…‡À& Ö w4&À¢L&ÀœH&À–D&À�@&ÀŠ<&À„8&À~4&Àx0&Àr,&Àl(&Àf$&À` &ÀZ&ÀT&ÀN&ÀH&ÀB &À<&À6&À0f¦æ&È „ƒ‚�€f…0‰¦ @‰‰ ‰…‡f…@w€w|‰4†wD…‡f…÷ F@‰w Nß î ß ä ww þÆåDÄeòÿL@4ÀÊ &ß < Ö ß  Âõwøÿõ/öÿó%J ó%K À t5¸øÿÀ t5ºöÿNøÿæß Ê Ö 5øÿNöÿæß Ê Ö 5öÿ÷ \ B-øÿB-øÿó%B-öÿB-öÿó% Î&ß < Ö ß  ³ Àw2w "DCÃ%: ß † Àe“þ`Áím Áe¼À rfÀ€åwôw ä΀p@&fß  –%Ã�¦%ÁÀ r<RÁÀ r<ÁÀ r<RÁÀ r<À rWtC`À rÒÁeÀ rw4ÃFÎß † àƒ Îß † !ö÷7Îß † À%n÷ ÀÀ ìÀƒ ÀÀ 0!Àö÷ò€ Ò7 ÚÀ¦%ww ÄP#ÃðÔ”þAA WpCÃe ÄP#Ô”Ô”Ô”„ BÂe�WpCÃe Ô”Ô”Ô”Ž&ß ¦ Ö ŽÎed&ß ¦ Ö ŽÎed&ß ¦ Ö ŽÎed&ß ¦ Ö Äe@ &ß ¦ Ö ÀP#wvw fAÀ rÁ Ànw\Àmûw FD„ õ% AÀ r À r Áe0@�Ô• AÀ r Áe0@�w @…&æ¦È B„ƒ‚F…‡7@ÀÿÿF…‡‡€�6rwއ€�6r@‡f…@õ Á P`Hm` …‡Z ÿÿ/etc/utmp%d %s on tty%c %s%s on tty%c logged out. %s on tty%c logged out. %s on tty%c %sUnknown error: ¶d�o„xØfæeVcdsÂlâuôrDŒO€Xüÿðÿðýÿøÿà(null)‰|#‰‰‰0‰‰€ˆ—±ÁÙãý!1=O_qz�¢®ÀÏßîÿ'8GVn{‘ ¬"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceeded€pèìM:/PSTPDTDay Mon 00 00:00:00 1900 SunMonTueWedThuFriSatJanFebMarAprMayJunJulAugSepOctNovDectecoÞÖ9É‘Š<®5ÌB ð€&Ð 6÷ Ð&ß r5‰w `5õ Võ Sõ Põ%÷ J#@œNíŽ f ß 6Ö fNmÎefß F5–%@œ@í€ 5à @œ@-@ õ À Î@@mœ&µ ß Ö%Ö äu@œ5ªw¶4w ¦4æ õ  ýHõøÿõHkÀ H€ @-ýøGõøÿ^õ-òGýèGÀäGÁ�äG@àAAœ@`5à5 øÿHÀÆGÀmÄG€ @-ý´GÀ°GÁ�°G@àAAœ@`5àõøÿ-õ-’Gý‚GÀ„GAAœ@àAAœ@`À 5à5 øÿýXG@œ€ =�À�NG@-Àÿÿ :õ øÿ@œAAœ@à€ 5øÿ@-@=uíøÿéõ @=@œAAœ@à€ 5`ë@œ@m=� wH3w 83ý¸Fý�¸Fý®F õ #N ffæ®5fÎeß ôÆeÀ ÀzFœ€ =�ýlFýnF Àÿÿ> <@AH¬@= ý:F@=œ= @"@œ€ =�ý @AŸÁå}�@`ð¥ Ð@µ À ʽ ½Š wj2w Z2Îß ´7G÷%G$ÎFJffæGß @Æe÷-°EòF ý¦Eý�¦EÀàFÀí˜E=ÀŽEÀíÎF=÷ ÄF7 ¾FNfæ²Fß Ò–%ÎfEæ¦Fß 6Ö ÀíšF=wÔ1w Ä1÷ ˆF w‚F÷ ‚FÀxF 7rFÀnFwª1w š1Æå7 dFõEøÿ÷ `F_âÁ&FWp:uôÿÀJFÁFFp¬QÁ:F@œ±ŠÀm.Fœ5�òÿÀ% B@øÿð¥9ÎúHß ÔÀ%ÿÿÀÿÿ_°ÁÊEWp:uôÿõ–DøÿføÿÎe怟€e�@møÿp�òÿ· zDõ¥ òÿ@ôÿÀ À-hD @ôÿÀe:AøÿAœÁe�@ §õ¥ òÿ÷ÿÿˆEÀŠEÁ†Ep¬ÎzEß ¸7 rE÷ nE_~÷ ^E_~÷ RE_~@øÿð¥9ÎúHß ÔÀ%ÿÿÀÿÿ_°õÖCøÿÎ:@øÿœàÎ @øÿœ&NmøÿÎeæEß ¤4–%5öÿ÷ÿÿìD_~Á¼DWp:uôÿõ öÿ5føÿÎe怟€e�@møÿð¥ %@øÿœ@møÿð¥ @ôÿÀ À-PC @ôÿÀe:AøÿAœ@àÀ%�÷zDõ öÿ· &CÈõ öÿƒ÷ dDõ öÿ@øÿœ€ 5ôÿ÷ ND@øÿðŠ· ôBõ öÿ1÷  76DÀÿÿEÀ*Dp�ôÿÀ DAôÿÁ p�õ öÿæ DÎe怟€e�5ôÿÀôC@môÿAøÿAmôÿpœõ öÿã_ì@øÿAøÿp¬÷%jB ÷ dB@øÿ7XB? TBNøÿß ¸wÔ.w Ä.÷ Š÷ ýwÄ.w ´.æ ÷ ~Cõ0Bøÿ÷ ý÷ pC÷ hC ÀB@íøÿÀ%D÷ Z÷ âüwˆ.w x.õ õ-öA ÷•Åÿ*Cΰ5ß ”1ÀÿÿÎIæIfß Ò–%wÄA wB.w 2. 7´A7®A7�®AÿžAÄB÷-˜A˜AÀ¸BÀŒA7®BÀ†AÀ 7`¦BÀxAÁtAñAfAp�À^Að•ÿÿ÷VAÀNA7PA7HAwÐ-w À-`B= wVB· TBw´-w ¤-æ ÷ Ü5øÿÀÿÿ$@øÿAp@xøÿ@pøÿ@øÿ0Š@øÿð•ÿÿ= øÿõ%úH@° wR-w B-u-@@w6-w &-ÆåÎ€ß Æ45öÿõ%Àÿöÿ ÷•ýÿÎAÎb6ß ”1Àÿÿõ öÿ΂6ß ”1÷ Þ,õ øÿ@øÿõ øÿÀ Nöÿõe@öÿß ¸òwÎ,w ¾,æ ÷%^A÷ †ÿÀ�rAÀ%ýÿ õBAøÿ÷@œ€ =� ýæ> w`+w P+u-@@wD+w 4+Æåõøÿ5Šôÿ÷ Ì?_ª õ øÿ_ª Î& ß R&Ö 5�öÿ_Œ  & ß R&Ö æ æß R&Ö À%öÛõ¥! _°  æ!ß R&Ö À%!öÉ & ß R&Ö u­öÿµ øÿ½u­öÿõ øÿ¶õ•ôÿ² & ß R&Ö 5�öÿÀ%R õ¥Wöÿõ¥Zöÿõ¥Böÿœõ‹ôÿ & ß R&Ö 5�ôÿõ•ôÿ @�ôÿ&ß R&Ö 5�öÿA�ôÿ@ õ¥öÿ & ß R&Ö õ¥öÿ  & ß R&Ö À%÷м>Ú5Šôÿ  rÁ Áeê5A! þy6_V @øÿwÔ)w Ä)õ¥0 õ¥9@�tÀeLH,õ¥a õ¥z@�tÀe°Gõ¥A õ¥Z@�tÀe0H÷•âÿ*>@�æZ8ß ”1Ö À IwV)w F)ÎIæIæIæXJæFJß ôÆe7�ì=· ê=÷ æ=÷ æ=Θ<ÀŠ<œ&æ€<æ>ß Æe÷ *úÕwø(w è(Æåδ=ß 4÷¦=Îê=ß 4õøÿõ øÿ@øÿð¥.zJ @øÿð¥/zJõ øÿîõ øÿ@øÿð¥/zJµ øÿ@øÿð‹zJø5 öÿu-øÿöÿ @öÿAöÿpœzJXJµ öÿò@öÿð•.XJµ öÿ@öÿð•bXJµ öÿ@öÿð•aXJµ öÿ@öÿð•kXJµ öÿ@öÿ0ŠXJ æXJß †4Ö 7.=Î(=ß 4ÎXJß ,5ÎXJæzJß f4Ö ÎzJß ,5÷ ÎzJæXJß f4Ö ÎXJß ,57 è7w Ü6NøÿæÞß ¤Ö _%_ä$÷¥0Ð60÷¥9È6,À�Â6ÀeÐÿ5øÿ & ß R&Ö 7�¬6À%0÷¥9 6 AôÿupøÿÂ�’6�`ÁeÐÿuøÿæ÷Šl6õ ôÿ÷•®67Ь6_ä$÷ ^6 ÷‹œ6À7�’65øÿNøÿæÞß ¤Ö ÷‹|6À,6· (6À À|67 6À-6 ÷•Âÿ6Îæ8ß ”1_ä$÷Z6þ5 7R67�>67�86À�ü5_š$÷ŠÞ5÷ Þ5÷¥ è5÷ &6 & ß R&Ö Îß j,J÷ (ô5ìÿ_ª$= ìÿ & ß R&Ö À% ÷•ÑÿŒ5Î 9ß ”1_ª$@ìÿAìÿñ•Aœp�@�@mìÿð�d5õ>5öÿõ�R5îÿ@ìÿ7.5œÀ 7�>5÷•:5 ß j,w�îÿ,5Nìÿß ¸wöÿ5_ª$Î æ%9ß ”1Ö _ª$÷\57 5_d÷P57 ô4_d æ!ß R&Ö À%!ö_ª$õ¥ _%õ¥ ÷•Æÿº4Î(9ß ”1À_%÷•×ÿ¤4ÎJ9ß ”1À_%÷ ’4K5 øÿ÷•0˜4÷ŠD3÷ <3÷ 63.÷¥0„4*÷¥9|4&AøÿWp Â�n4�`ÁeÐÿuøÿ·Š3À3ð­3 ÷ú2ø2Àò27œò2· ê2À�ê2Àmà27œ04Ï÷•`4÷ Î2 ÀÄ27Ä2œ€ 7�À2_ª$÷ lò5ìÿ_ª$= ìÿ÷ æ3 À5öÿÀÒ3 7Ì3@ìÿAìÿñ•9Aœp�@�@mìÿì3 —r Ãe0ð�Áš3À r 7�3÷ Œ3fìÿÎe怟€å�@mìÿÃn3 —r Ãe0ð�Á\3À r 7R3àõ öÿfìÿÎe怟€å�@mìÿð•-õ�"3îÿõ3öÿ@ìÿ7ø2œÀ 7�3 ß j,w�îÿü2wöÿÜ2Nìÿß ¸_ª$ æß R&Ö 7�ð2À% ÎæVJæß F5–%ë_ª$÷ ¼2÷‹ü2_ª$÷ ¬2÷ ¨2_ª$Î>æ<ß D Ö À_% & ß R&Ö ß ´ 7N2À�p2À%âÿ_ª$÷ d2 ÷•ÏÿZ2ÎZ9ß ”1_ª$À$2ðJ2? 2_ª$NÎeöÿfÎeîÿfÎeìÿß –% & ß R&Ö ß ´ 7ê1À� 2À%âÿ_ª$Nöÿ@�îÿ&fìÿæÊ1ß 0Æe_ª$ & ß R&Ö ß ´ 7ª1À�Ì1À%âÿ_ª$õ¢1ìÿõ�¶1îÿÀŒ17’1œÀ 7�¢1 ß j,wìÿ|1w�îÿ�1_ª$ & ß R&Ö ß ´ 7T1À�v1À%âÿ_ª$õL1ìÿõ�`1îÿÀ617<1œÀ 7�L1 & & & æß ÆÆewìÿ1w�îÿ,1_ª$ & ß R&Ö ß ´ 7ð0À�1À%âÿ_ª$· à0ÀÜ0t0 œIÀÐ0tÁÆ0pžIÎÿÀ¸0œ&æ®0À¬0t&ÎeœIß 0Æe_ª$ & ß R&Ö ß ´ 7€0À�¢0À%âÿ_ª$Àn0Ál0WtpžIõ\0ìÿìÿR0Nìÿß ¸ôÀF0t÷ >0?œI60_ª$Îÿÿß ´5øÿõ,0ìÿõ�@0îÿõ øÿÎ>æ<ß D Ö 5 òÿõ@ðÿ@øÿõ øÿÀ Lwìÿô/w�îÿ0 & & & æß ÆÆeÀ :÷‹î/7õ øÿ3µ òÿu-ðÿòÿ-Nòÿæu9ß ”1Ö ÎfÎeðÿ 5ðÿ&ß ¤4–%À õ% ðÿ @òÿÀ 5ðÿ@-òÿõÿðÿ·Î¦9ß ”1÷•œÿ‚/®_ª$Î æXJß <Ö ÀL/ð ÀB/7%ÎÂ;ß ”1À wnw ^ý-æ#@Ap¬ õ‹Î <ß ”1 Eõ‹Î@AAœ@`œ&ß Ö%Ö fÎe怟€å�AAœ@ ý-x# @Añ•AœÁ p� @=ß ¸@ w>#Àw²w ¢õ¥ Îæ<æß F5–%,õ¥ @�ð‹ì;Îæ <æß F5–%Î@�&Îeì;æß F5–% õ‹ ÎfÎeæß F5–%w6w &÷ Ì#@�=·ŠÚ#À¼#ð­Ò# ÷°#®#À¨#7œ¼#@�(À�°#Àm’#5œõ‹õ¥^ & ß R&Ö ÀEàÿõ¥a õ¥zÀ A�àu�@�w¨w ˜Æå7 ¶#÷ÿÿZ#õ%:À¤#·  #B�² p’zJò@È¥t÷r# æzJß †4Ö 7#7 #÷ væÎ¶æXJß *4Ö 7D#@È¥m ζæzJß *4Ö 7&#NÎeôÿ& ß H4Ö À õU øÿNÎeôÿ& ß 5Ö 7 #÷%1#Àþ"tÁö"WtÁeº"Ð!÷6"4"ÎÄ!ß ¸ô÷œ $"÷ Hà7” 7Ž 7¨!_�*ÎæVJ& ß ¤4–% À�¼!&ß Ö%Ö À€!Á|!ñAw�î!p�@�?d!À`!ð•ÿÿ÷¥Ô!÷¥|!_F*÷¥À!÷¥h!_F*÷¥\!÷¥T!Î&J÷¥H!& æß %Ö _*÷¥.!+Àø œÀmð œ7�f!À%÷¥ Z!÷¥ R!÷¥ J!÷¥B! ÷¥:! Î&J& ß %Ö À ÖA÷¥Ð ÷¥È NÎeôÿ& ß H4Ö õE øÿNÎeôÿ& ß 5Ö ÷¥ž  ß r5÷ ¤ À^ ð¥9 ÎIß ÔÀ%ÿÿ4÷(B æ> Îe怟€e�Àm* ð�V ÷�P ž ÎæVJ& ß ¤4–%À  À7�| ÷•& 7 b  À� &ß Ö%Ö _Ì(Î<ß ”1÷¥ Î&J& ß %Ö _ö'÷žºÀ¶œÀ 7�Æ & & & & ß ÆÆe_ö'NÎeôÿ& ß H4Ö õE øÿNÎeôÿ& ß 5Ö wÒ w  Æå@œA�@à€ 5øÿ@-duíøÿwíøÿ @A�Á p�u5@AAp¬#@ð @xwÄ@ß ¸@AAp÷ ¦@5œÀ”5À-Š@Ap¬ @7n Nß ¸÷ bd�wí^@�AAœ@à5öÿAøÿAí@ *@�@m@íöÿ5øÿ@öÿõ öÿÀ @@møÿ@möÿAAœAmAmöÿpœèf@œ�ep�'@�@mÀ 5öÿµ öÿ@œ@-öÿ@öÿ@í@mAAmöÿpœéf@œ�åp�w w  Æå ÷ DÜ5òÿÀÿÿ_0À�~ÁtAœ@à5øÿÁfAœÂ�d�à� uöÿ@ _ž-õ øÿK@òÿÁ@uðÿpœ@òÿAòÿAœAmøÿÁ p�føÿ@ðÿœ�ep�@øÿõ øÿÀ @òÿœ@mòÿ@møÿAòÿAœAmðÿAmøÿpœæ· Ô@òÿAðÿp@òÿxòÿwòÿ®'À®5ðÿð @òÿ7–Hðÿ@òÿ0 · Š@ðÿpòÿ@òÿ0Š@òÿð•ÿÿ@ðÿ5òÿSõ öÿJuòÿðÿ@òÿÁNuòÿpœ@ðÿAðÿAœAíöÿ� p�föÿ@òÿœ�åp�}òÿðÿ@ðÿpðÿwðÿþ· ü@öÿõ öÿÀ @ðÿœ@íöÿ@mðÿAðÿAœAíöÿAmòÿpœæÀÄ5òÿ5ðÿ @�&ß R&Ö 5�ôÿA�@ ÷ Ä8÷‹Ú5@òÿð¥9÷ @Ú=òÿÀÿÿ_0@òÿpòÿ· h@òÿ5òÿ0Š@òÿð•ÿÿ· T· NfòÿÎe怟€e�@mòÿp�ôÿ¸@òÿ7$œ€ 7� 7ŠX}ðÿòÿwòÿ_0@òÿð¥3@òÿœAòÿAœ@à€ 5öÿ@òÿð•ÿÿ@öÿõ öÿÀ fòÿÎe怟€e�@mòÿBòÿ�œ²ŠAmòÿpœâ@òÿ0Š@òÿœAòÿAœ@àAðÿAœ@`AðÿAœ@àÀ%-@ðÿAðÿp¬fòÿÎe怟€e�@mòÿBðÿ�œ²ŠAmðÿpœà}ðÿòÿwòÿ÷ Nðÿß ¸ý òÿ@òÿpòÿw€w pÆåuøÿ}øÿNøÿß ¸ôõ fõ cN @œ&@�àŽ ß 6Ö 5öÿõ öÿHõ øÿ÷ VØ=øÿÀÿÿJ@øÿpøÿ5øÿ÷ 2Ø5øÿ=Àÿÿ6@øÿ0 @øÿp�@øÿA�AmöÿÁ p�uíöÿ @öÿõ öÿÀ @�@møÿA�AmpœµŠì@55œ—õ øÿ= øÿw€w pÆåõøÿõ�&öÿ@7œÀ 7�÷• ß j,wøÿæw�öÿúw>w .ÆåõÐøÿõ�äöÿ@7ÀœÀ 7�Ð & & & æß ÆÆewøÿœw�öÿ°wôw äÆå~w DÄeÀŸ · ü %ß ¤3ôwÄ7 è7 èׯÞ-· Ö· Ô÷†wÈ7 Ê .÷tw¾ƒÃeÁÁ  Ò‹ƒ D~8Â<<Â@<÷ êÓ•0 ÷ $f v÷ öÿ€€LÀe0 9Àe�‡À¶Â°÷ ” À¨Â¢÷ †7’wˆþ‚Âeƒà&æ Ä Ãmv÷ tß ¤3Ã~Ä Ž”ß ¤3à Î ß ¤3Ã~Ö „wBþ7 H ÀŸ>· :Àå0 úÿ ‚· &Wp `ìÀe0ƒÄeÓ•?‡f…À÷ ,ÀP�· ú÷ ô÷ @…‡f…÷ …‡ÀØ Àå¼J7\ÀÆ€ ‰D<÷¼J¼÷´×-®‚÷¦‡f…@‰†w| …‡f…ww‰J<†w\…‡f…@wü‰P<†w@ …‡f…wæwâ‰T<†w  …‡f…wÌwȉZ<†w…‡f…@w°w¬‰`<†wÞ…‡f…÷œ˜wm’‰f<†wÀÀ†wm€…‡f…wp‰f<†wžwb …‡f…@wR‰l<†wz …‡f…w<‰p<†w` …‡f…@w"w‰t<†w<…‡f……‡f…@‰@…&æ¦È B„ƒ‚F…‡f…‰…‡7ÀÿÿF…‡ ?POP Attempt to move pointer off page with J, C, R, or D ö56666,6   ¦ ~ Î ~  ¦ Š ~ ~ ¦ ~ Ü ~ ¦      ~ ~ ¦  Ä Ü ê ò  ?COR Storage capacity exceeded Cannot get core. tec.tmp¤6°6º6Æ6ÐÀ´Êž¢Ðà´ž´ÐV8ˆž„NSÖЮæBFRTWX !þ Þ D x!” ذ!V‚$‚$‚$‚$‚$‚$‚$^‚$‚$&‚$‚$‚$‚$‚$‚$‚$‚$‚$‚$‚$‚$‚$¶€$‚$‚$‚$‚$‚$Tn‚$‚$‚$‚$‚$‚$‚$‚$‚$†‚$‚$‚$‚$‚$‚$‚$‚$‚$‚$‚$‚$‚$F„ê‚$l‚$8Ô#‚$6$H"ÄP^‚$b($Ü!`$´˜Èô"‚$J$:¾"º‚$‚$Î#‚$®ˆ‚$Úæ7î7ô7ü7888 8    €ôjF€ö–€‚¤€|X�€–|H€àÆ4®€$Ì?IQN Illegal Q-register name "%c" ?SRH Cannot find "" %o %d ?ARG Improper arguments ?MLP Missing ( ?PAR Confused use of parentheses ?SAL Second argument less than first ?NAI No escape after nI %c?PAR Confused use of parentheses ?MLA Missing < ?NAU No argument before U %d iterations completed, type return to continue loop aborted.?MEQ Macro ending with " ?IQC Illegal command "%c ?MAP Missing ' ?ISA Negative argument with search command ?ISA Negative argument with search command ?ISA Negative argument with search command ?ISA Negative argument with search command ?MEF Macro ending with F ?IFC Illegal character "%c" after F ?ARG Improper arguments ?FNF Cannot open file "%s" ?EBO EB, EW, or EZ before current EB job closed ?FNF Cannot open file "%s" ?MEE Macro ending with E ?IEC Illegal character "%c" after E ?ILL Illegal command %c ?IAB Incomplete <...> or (...) in macro @ABCDEFGNOPQRSTUVWXYZ$\]^_ 2d¾2o¸2xú2f3e–2c¤2s2l$2u3rüÿðÿýÿøÿ‰¼J‰ ‰ ‰‰‰‰¼L‰ ‰‰ticktockÞØ9í�f , *D ð€&Ð 6÷ ß 4‰w ª_D× _@NÎeôÿß þNÎeôÿß ®5øÿõe øÿ@øÿð• œ=�øÿ@øÿ0ŠNøÿÎeß LÎ2 ß ü÷ P5òÿõ òÿ føÿæM æK æI æC æ4 ß ®Æe NÎeòÿß ÎO ß üNÎeôÿß þNÎeôÿß ®5øÿõe øÿ@øÿ0ŠNøÿß LNøÿæW ß üÖ @øÿð¥5NøÿæZ ß üÖ Aøÿ@œ±ŠÀ%9 @øÿð•0@øÿ°ŠÎß âÜ_ wŽÆå_ w vT@ŸG@ð¥0 ý•1@ð•2ý• <@ð¥2 ý• æ@œ�åp�)@ð¥1 ý• æ@œ�ep� ý•1æ@œ�åp� Àå0 ‚À x, wØ«w ÆÆå~wlDÄeÀŸb · \ %ß >ôw¦7 H7 Hׯ>-· 6· 4÷¸w(7 * .÷¦wƒÃeÁf BÚ üJ Ó•-ÀŸô· ð o^ xU d÷ Ú÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁX ª ŒÒ‹ƒ D~C ž  ¤ v÷ Ó•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡ÀäÂÞ÷ ” ÀÖÂÐ÷ †7ÀwVþ‚Âeƒà&æ Ä Ãm¤÷ ¢ß >Ã~Ä Ž”ß >à Î ß >Ã~Ö „wþ7 v ÀŸl· hÀå0 úÿ ‚· TWp `ìÀe0ƒÄeÓ•?‡f…À<÷ ,À2P�· (÷ "÷ @…‡f…÷ …‡À Àå„ 70Àô€ ‰² ÷„ ê÷â×-Ü‚÷Ô‡f…w@Àe7ú‰¸ wf…‰†w7¨ …‡f…0‰ü@‰‰ ‰…‡f… ‰¦BR‚…‡f…÷ &&‰†Ö w¸Ö }…‡f…÷ ²@‰fA… w,üÿlÀw"fÀe"w"\Àew"R@lw"JAlÁeæw¬= &@Àtùÿ`Áe€Ø€ …‡w Nß Äß ºww þÆåDÄeòÿL@4À &ß  Ö ß ÞÂõwøÿõ/öÿó%J ó%K À t5ÈøÿÀ t5ÊöÿNøÿæß  Ö 5øÿNöÿæß  Ö 5öÿ÷ – B-øÿB-øÿó%B-öÿB-öÿó% Î&ß  Ö ß Þ³ Àw2w "DCÃ%: ß \Àe“þ`Áím Áe¼À rfÀ€åwôw ä΀p@&fß ð–%چ ÁÀ r<RÁÀ r<ÁÀ r<RÁÀ r<À rWtC`À rÒÁeÀ rw>ÃFÎß \àƒ Îß \!ö÷7Îß \À%n÷J ÀÀ ìÐ ƒ ÀÀ 0!Ð ö÷,€ Ò7 äÀ† ww ÄV à ԔþAA WpCÃe ÄV Ô”Ô”Ô”„ BÂe�WpCÃe0 Ô”Ô”Ô”Ž&ß |Ö ŽÎed&ß |Ö ŽÎed&ß |Ö ŽÎed&ß |Ö Äe@ &ß |Ö ÀV wvw fAÀ rÁ Ànw\Àmûw FD„ õ% AÀ r À r Áe0@�Ô• AÀ r Áe0@�w @…&æ¦È B„ƒ‚F…‡7ŒÀÿÿF…‡‡€�6rw˜‡€�6r@‡f…@õ Á P`Hm` …‡X~¤/usr/bin/blockblock3@ %s%srdLo@x”f¢ec s~lžu°rÂDHO<Xüÿðÿðýÿøÿà(null)‰„ ‰ß Ö –%Æew2öÿ€pø ü M:/PSTPDTDay Mon 00 00:00:00 1900 SunMonTueWedThuFriSatJanFebMarAprMayJunJulAugSepOctNovDectocÞÓ9í�²¬ö ð€&Ð 6÷ ß R‰w DÆåõ õeõ% ÎæÚæß 0–%Îß Rõ% ß ¶ fß ÌÖ À Nß ,Îß R5 øÿÎfÎeøÿ& ß $–%÷% ÎæØæß ¸–%Îß w²ÃÃ%ÛÎ)føÿ& ß Š–%5øÿÎæÐ Îe®æß ¸–%Àº· ¶À%P ÷ªÎæØæß ¸–%Ã%Ä%­ƒ Íw 8D*÷ tÎÀª7h&fß ê–%7VÀÿÿ÷ J· @ÿ¥ @· 6ýŸ6µ · ,÷ &Ä Ä Ô@áwÜw Ì7 ÷7 Nffß –%w´w ¤D ÷%âÎæ¬fß 0–%À%Àÿÿw‚7 ¼À¸pŸ¬· ®µ Ä Ä Þ@íw P÷ – Î�æ¬fß 0–%w@w 0Äð÷-(rÀlÀ Nß žÎfæß 0–%Îæþæß 0–%ß ž&æß 0–%Îææß 0–%wÎw ¾DÔ‹þ@íÀ w¶f…@‰†w´ …‡f…w0w,‰†w”…‡f…@ww‰ †wr…‡f…@wøwô‰†wP …‡f…@wÚwÖ‰†w,…‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7.ÀÿÿF…‡‡€�6rw‡€�6r@‡abcdefghijklmnopqrstuvwxyz0123456789.,/$- Usage: toc [ file ] Unknown error: ‰‰‰‰bjy“£»Åßñ1AS\r„�¢±ÁÐáõ )8P]s‚Ž"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededtranscribeÞÔ9í�´ Bb> ð€&Ð 6÷ ß ‰w ü_�w¦ õeõ õ%@È¥- @ð‹õ õe7 ìêõ%@È¥+ NŽ ß ”7Èõ õeÔõ%@È¥- NŽ ß ”7šõeõ ¾õ% Î æHß ‚Ö Îß ÷ lÎlß ‚Îß  ß 4 fß hÖ À Nß øÎß ÷ 4 Τ & ß JÖ ÷Ф Τ & ß JÖ ÷-” v æŠ & ß ¨–%ÎæÈ & ß †–%7l ÷mf f Î` æÈ æß è–%èÎÆß Ì÷í¾¾÷ ºÍw”_ w € @Ÿß ÌWp BŸ�`DÄeÐÿµ ý‹íwZçw Hõ¥0õ¥9Îƒß ‚Îß w.íw Äœ÷-^È À À Nß jÎfæß è–%Îæªæß è–%ß j&æß è–%Îæ­æß è–%wºw ªDÔ‹þ@íÀ w¢w ’Æå~wD DÄeÀŸ: · 4  %ß Äôwr7 7 ׯ -·  · ÷¸w 7   .÷¦wöƒÃeÁ°BÚ üJ Ó•-ÀŸÌ· È o^ xU d÷ ²÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁ0 ÂôŒÒ‹ƒ D~C Âè Âîv÷ öÓ•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡À¼Â¶÷ ” À®Â¨÷ †7˜wVþ‚Âeƒà&æ Ä Ãm|÷ zß ÄÃ~Ä Ž”ß Äà Î ß ÄÃ~Ö „wþ7 N ÀŸD· @Àå0 úÿ ‚· ,Wp `ìÀe0ƒÄeÓ•?‡f…À÷ ,À P�· ÷ ú÷ @…‡f…÷ …‡ÀÞ Àåâ 7ôÀÌ€ ‰ü÷â Â÷º×-´‚÷¬‡f…@‰†wî …‡f…@w¬‰†wÐ …‡f…w–w’‰†w°…‡f…@wzwv‰ †wŽ…‡f…@w^wZ‰†wl …‡f…0‰æ@‰‰ ‰…‡f…@w$w ‰†w,…‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7˜ÀÿÿF…‡‡}Usage: %s [ - ] [ -interval ] file Unreasonable interval Bad number for interval Unknown error: ødÒoÆxf(e˜c¦sl$u6rHDÎOÂXüÿðÿðýÿøÿà(null)‰â ‰‰‰‰‰dl{•¥½Çáó!3CU^t†’¤³ÃÒã÷  + : R _ u „ � "Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededtset|öÉ‘¦ü VhD ð€&Ð 6÷ ß X ‰w J Æå5 ðþT� rÁ Áe2 A! þy·Šô‹÷•þ<7�ö8ô‹÷•ê17�â-ô‹÷d Ú&Àe7Î Àe7Ä7�¸· º· ²Ì¥-¹Îg ß ß Îq ß µ ðþõe@Ä%ÿÿçõ ðþÎü ß Îß X ÷‹^&Äs ô�TÎ&ß ´ Ö Î} ß ß ÎŠ ß Îß X Îß Ä Îß Ú Îß Ä ÷ +÷‹Îß � 7�ø÷ üÀ�îß à÷ þÀ�Þß °7Ö÷ Ô ÿ¥dÊ ð¥u÷¾º· ºNÎeôÿæß – Ö À ÎŒ ß Îß X ÎŽæbß ¢Ö Àåÿÿ #‚À x` ά ß Î(ß Î¹ ß Îÿÿß X λ ß ÎHß ÎÁ ß Îß X ÷‹,ÎË ß >À 7Š÷‹õ‹öÿ÷•#ÎÎ ß >À ÎÑ ß >À ÷•æÎ#À�Þ&fÎeöÿæÔ ß ¢Æe÷‹Èõ‹÷ÿ÷•@ºÎ@À�²&fÎe÷ÿæÚ ß ¢ÆeNÎeìþß œuMìþøÿu]îþøÿNÎeôÿæß  Ö @Àeôþ5òþNÎeòþæß ß ~Ö À NÎeôþß 6@Àeôþ5òþNÎeòþæâ ß ~Ö À NÎeôþß ÷ .3÷‹"Îß � 7�÷¥xÎå ß !÷ À�ø ß àÀ Îù ß : Îÿÿß X À�ä À�ß tPß , À�Æ ß š  ß X wÐw ÀCŸõ ,õ‹C­ &Nß õ‹C�}�Îþ Îß Ã¥ Î ß À�ÀEàÿÀU@�ÄÌ�ß wfw VCÄ ‚ Ó‹ý Ž&æß 6 –%w<w ,Æå fß ´ Ö Îß Nß Î%ß Îÿÿß X ÎfÎeúýæß 6 –%ÎfÎeúý&ß Ò –%ìß Ä wÐw ÀÆåw² NÎeôýæ(ß î Ö Àÿÿ  ŠÂ%ÿÿ Nôýß Ä w’DD-ï†ô¥\ÿÿëÄ NÎeôýß R Â%ÿÿáÂ% ì”�òNß ,À áNôýß Ä ÀØw 6Ã. -Ë¥:,D Ë¥| Ë¥: £ƒ „ Ì‹ôÌ‹ Ë¥|Ë¥:Ë‹Àwüˋ˥:Ë¥|ƒ öË‹ƒ Ë‹Ñ íw ÊDC Ì¥:„ Ì‹úÌ¥:„ à à ÷w¬w œÎæ� ß ˜Ö Ê‹Àÿÿ'R¯&Ê‹$€”AAœ@ Ê¥#‚ à ʥ0à ʥ9 CpD€”ÀeÐÿ`Ê¥0ów<ΦÊw $Îæ ß ˜Ö Ì‹ T¯ Ì‹ @0£ÀwüÎ&æw äÎæØ ß ˜Ö Ê‹ R¯Ê‹€”AAœ@ Ê¥= ‚ N¦ß ÒÖ w¨Î¦Üw �Dæ C•TÂ%:Q€Àå\  ‚À xhÌ¥aÌ¥z•ÂEàÿ“�ç“ rÁ Áe4A! þy„ Âì „ è û øÂõÌ¥0Ì¥9 õøÿ—t•ÀeÐÿPõ øÿÌÌ¥0ÉÌ¥9ñÅ̋ÕÁŠDýwÖw ÆÎæº ß ˜Ö  Ë¥0 Ë¥9uÀ”ÀeÐÿPË‹ò=Ë¥:ƒ  Ë¥0 Ë¥9uÀ”ÀeÐÿPË‹ò@0wjw ZÆåNÎeôýænß î Ö À NÎeôýß R Ä% Ä%ÿÿ)Nôýß Ä Àuk NÎeôýß R Ä% ðÄ%ÿÿíNÎeôýß R Ã% äÃ%ÿÿáNôýß Ä ÀtQwä@�!ÚNÎeôýß R Ä% ¾Ä%ÿÿôºw ²Nß 5ÀEÿ7�À @tøÿÀEÿ7�± Àˆw’w ‚ æ|ß ´ Ö ' @�t&&ß ô –%À Î æd&ß Ò –%À% 7 > ÷•/: 7Š7 ÷unL ß Ä w0ß Ä Àÿÿøw Àfww À w w üÀ ww ðÀ ÀEÿ7� ÀütøÿÀEÿ7�ûÀŒwØw ÈÎæ|ß ´ Ö Àÿÿwº @�t&&ß ô –%Î æd&ß 6 –%À% ß Ä äß Ä Þw n @aÈ‹ @a4’f„ Ä%ò4ŠfwTw Dw<wFw 6wLw8w (Ć÷-Ä<À6À ÆNß ¬ Îfæß 6 –%Îæ”æß 6 –%ß ¬ &æß 6 –%Îæ—æß 6 –%wÆw ¶DÔ‹þ@íÀ w®f…@‰†w¬ …‡f…@)‰†w–…‡f…w¤‰šJ‡A …‡7 tf…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7&1@‰ ‡À �1‡wêf…@w‰¦†wÒ …‡f…wîwꉪ†w²…‡f…@wÒwΉ°†w�…‡f…@w¶w²‰¶†wn …‡f…@w˜‰¼†wP …‡f…@w~wz‰À†w,…‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7ÀÿÿF…‡‡f…@÷ …‡ ÷xæ ‰�"‡ÎÞ‰L‡@‰�‡ À�$ô$ttñ¤yîЋì¢é7˜È@‰Ö À�¾‡usage: tset [-eC] [-kC] [-fT] [-dT] [-tN] [-h] [-u] 8 B L 234:"25:´Žt¢š´DH^¨æpdBad flag /dev/ttyxCannot open Standard output not a terminal Cannot open Type unknown bsbsosEraseKillifisCannot update htmp htmp set to is control-x Cannot open /etc/ttycap<BHR& $&P.>PˆˆPˆJ6Dü/etc/ttytype/etc/htmpUnknown error: ‰‰ ‰‰‰‰‰‰ #=Meo‰›­½ÉÛëý.:L[kz‹Ÿ³ÄÓâú,8"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceeded/devcrt0.ostarttset.o~mainargcargvmodeôÿbufôþbufpòþpierrorðþmdvectìþ~setek¢nameoldnewdef poch~prs spqi~cat6filefdibufúýttycap.o¢ttycap.o~tgetent¢~tnamatc,~tskip˜~tgetnumÆ~tgetfla>~tgetstr~~tdecodeÒttycap2.œttycap2.~tgetmodœtypeof.otypeof.o~typeof~stypeof°stypeˆhtmpg.oàhtmpg.o~hgetà~hgethomN ~hgetuidZ ~hgettypf ~hsgettyr ttypeŒhtmps.oš htmps.o~hputš ~hsethomô ~hsetuid ~hsettyp, perror.o: ~perror: cns~strlen¬ sstrclose.oÄ dup.oÚ dup)getc.oî indirbadret’ fillr gtty.o– open.o´ read.oÒ seek.oô stty.o write.o6 errlst.oX exit.oX csv.of cerror.o€ cleanup.Ž ttyn.o� name¸buf�er1ô devLerð savr5$†_exit"X _main"_Erase_c$R_Kill_ch$T_Special$V_Ttyn$X_Ttytype$Z_Dialtyp$\_Dash_u$^_Dash_h$`_Usage#ü _Capbuf$bcsv"f _prs" _open"´ _close"Ä _dup"Ú _ttyn"� _hget"à_hsgetty"r _stypeof"°_gtty"– _tgetent"¢_ttycap#(_tgetfla">_setek"¢_tgetmod"œ_stty" _tgetstr"~_cat"6_perror": _hsettyp", _hput"š cret"r _write"6 _read"Ò _tbuf$b_fopen"î _getc"R _tnamatc",_tskip"˜_tgetnum"Æ_tdecode"Ò_ttytype#n_typeof"_hentry$d_htmp#|_seek"ô _hgethom"N _hgetuid"Z _hgettyp"f _hsethom"ô _hsetuid" _errno$„_sys_ner# _sys_err#Æ_strlen"¬ cerror"€ _getw" __cleanu"Ž ttyn"  ttytype5Áýí‘Ζn ð€&Ð 6÷ ß Ò ‰w Ä ÆåÎß *5öÿÀ%x Îæâæß ° –%Îß Ò õ õeNöÿß 5ôÿõ /@È¥-*œÁÀ7H þyõ%duôÿÎß Ò õ õeà÷ Ê ß Ò ·ŠþòÎ'æ–æß ° –%äõ%òõ )Nöÿß îÀ Îˆß H Îß Ò ÷‹º÷ zæ®ß ÚÖ æ÷ß Ò Ö  ß Ò õå÷ ^=Næ®ß Ö Àåÿÿ ‚À xÐÎ4ß H Îß Ò Næûß Ò Ö Îß Ò ÷‹@ ήæß Ò Ö  ß Ò Nöÿß îÀ Îˆß H Îß Ò À� À�tPß : Nöÿß ¨À Îˆß H Îß Ò  ß Ò w w  D@ÀEÿ7�è@tøÿÀEÿ7�Ù7ŠÖÎÖ&ß Ö Àåÿÿ ‚À xÔÎ4ß H Îß Ò ÀÖ„ Ë¥:Ë¥|ƒ Ë‹÷ Šw˜ ̥̋:Ì¥|„ öÌ¥|ãßw l ÆåNÎeôýæ4ß š Ö Î4ß H Îß Ò  NÎeôýß þ Ã%ÿÿ ß Ò NÎeôýß þ NÎeôýß þ NÎeôýß þ Ã%ÿÿÎ ß  Ã% ØÃ%ÿÿÕNÎeôýß þ óÃ% ìÃ%:éÃ%|à Îß  ×w ¼ Æå8÷  ÁŽ A @@5ÂÿoÄt�NÎeÄÿ&ß ú Ö À ß H Îß Ò @ÂÿÀEÿA�Ëÿ@ @ÂÿtøÿA�Ìÿ@ J æØß L Ö 5øÿÎØß H Îß Ò  @t&føÿß Œ –%ÎfÎeèÿføÿß j –%À%Nøÿß „ ÛNøÿß „ @ÂÿÀEÿA�öÿ@ @ÂÿtøÿA�÷ÿ@ Î$ß Ò Îß Ò wÐ w À Æåw†NÎeôýæ4ß š Ö Àÿÿ  ŠÂ%ÿÿ Nôýß „ w’ DD-ï†ô¥\ÿÿëÄ NÎeôýß þ Â%ÿÿáÂ% ì”�òNß ¦À áNôýß „ ÀØw 6 Ã-Ë¥:,D Ë¥| Ë¥: £ƒ „ Ì‹ôÌ‹ Ë¥|Ë¥:Ë‹Àwüˋ˥:Ë¥|ƒ öË‹ƒ Ë‹Ñ íw ÊDC Ì¥:„ Ì‹úÌ¥:„ à à ÷w¬w œÎædß Ö Ê‹Àÿÿ'R¯&Ê‹$€”AAœ@ Ê¥#‚ à ʥ0à ʥ9 CpD€”ÀeÐÿ`Ê¥0ów<ΦÊw $Îæìß Ö Ì‹ T¯ Ì‹ @0£ÀwüÎ&æw äÎæ¬ß Ö Ê‹ R¯Ê‹€”AAœ@ Ê¥= ‚ N¦ß LÖ w¨Î¦Üw �Dæ C•TÂ%:Q€Àå\  ‚À xtÌ¥aÌ¥z•ÂEàÿ“�ç“ rÁ Áe@A! þy„ Âì „ è û øÂõÌ¥0Ì¥9 õøÿ—t•ÀeÐÿPõ øÿÌÌ¥0ÉÌ¥9ñÅ̋ÕÁŠDýwÖw ÆÆåNÎeôýæzß š Ö À NÎeôýß þ Ä% Ä%ÿÿ)Nôýß „ Àuk NÎeôýß þ Ä% ðÄ%ÿÿíNÎeôýß þ Ã% äÃ%ÿÿáNôýß „ ÀtQwP@�!ÚNÎeôýß þ Ä% ¾Ä%ÿÿôºw Nß 5ÀEÿ7� @tøÿÀEÿ7�õ ÀÚwþw î æˆß L Ö ' @�t&&ß Œ –%À Î æ²&ß j –%À% 7 ~ ÷•/z 7Šw ÷unŒ ß „ wœß „ Àÿÿøw €À´w„w tÀB wxw hÀT wlw \ÀH ÀEÿ7�N À< tøÿÀEÿ7�? ÀÞwDw 4Îæˆß L Ö Àÿÿw& @�t&&ß Œ –%Î æ²&ß ° –%À% ß „ äß „ Þw Ú @aÈ‹ @a4’´„ Ä%ò4Š´wÀw °w| w²w ¢wŒ w¤w ”Ä’÷- | Àv À Nß º Îfæß ° –%Îæ æß ° –%ß º &æß ° –%Îæ£æß ° –%w2w "DÔ‹þ@íÀ ww Æå~w DÄeÀŸú · ô  %ß  ôwê7 à 7 à ×¯Ö -· Î · Ì ÷¸wÀ 7   .÷¦w¶ ƒÃeÁ¦BÚ üJ Ó•-ÀŸŒ · ˆ  o^ xU d÷ r ÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁð  ÂêŒÒ‹ƒ D~C ÂÞ Âäv÷ ¶ Ó•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡À| Âv ÷ ” Àn Âh ÷ †7X wVþ‚Âeƒà&æ Ä Ãm< ÷ : ß  Ã~Ä Ž”ß  à Î ß  Ã~Ö „wþ7   ÀŸ · Àå0 úÿ ‚· ìWp `ìÀe0ƒÄeÓ•?‡f…ÀÔ÷ ,ÀÊP�· À÷ º÷ @…‡f…÷ …‡Àž Àåò7šÀŒ€ ‰ò÷ò‚÷z×-t‚÷l‡f…@‰†w† …‡f…wV‰øJ‡A …‡7 f…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7Ø1@‰þ‡À �1‡wØf…‰…‡f…w°w¬‰†w´…‡f…@w”w�‰ †w’…‡f…@wxwt‰†wp …‡f…@wZwV‰†wL…‡f…÷ N@‰@…&æ¦È B„ƒ‚F…‡f…w wœ‰¢†w …‡7´ÀÿÿF…‡‡f…@÷ …‡ ÷xØæ ‰ò"‡Î¦‰¨‡@‰ò‡ Àò$ô$ttñ¤yîЋì¢é7˜�@‰Ö À�†‡usage: ttytype [ -n ] [ [ -d ] type ] ÿdn¬†¢²DT./etc/utmpUnit 2 not teletype %s %s: Unknown terminal type %s /dev/ttyxNOT super-user /etc/ttycapHNT^& $&ʨ¸ÊÊݾŒˆv/etc/ttytype/etc/htmpUnknown error: H d" o xj fx eè cö sT lt u† r˜ D O Xüÿðÿðýÿøÿà(null)‰ò‰‰‰‰‰‰bjy“£»Åßñ1AS\r„�¢±ÁÐáõ )8P]s‚Ž"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceeded‰/devcrt0.ostartttytype.~mainargcargvuidøÿttyöÿtypeôÿ~longnamÚbptypecptynameÖ~listtyppunitcibufôý~loggedi ttyutioøÿuentryèÿstbufÄÿtpuidÂÿttycap.ottycap.o~tgetent~tnamatc¦~tskip~tgetnum@~tgetfla¸~tgetstrø~tdecodeLtypeof.otypeof.o~typeof~stypeof¾stypeÚhtmpg.oîhtmpg.o~hgetî~hgethom\~hgetuidh~hgettypt~hsgetty€ttypeÞhtmps.o¨htmps.o~hput¨~hsethom ~hsetuid, ~hsettyp: perror.oH ~perrorH cns~strlenº sstrprintf.oÒ formpäloopæ rjustændigitêgnumÖ widthândfndèswtab¦decimalH octal" hex floatj scienx characè stringö longorunT unsignedt remote† long˜ loct lhex prbuf� nulstrêprstr˜ ffltpr.o putchr.o flN close.o„ getc.oš indirbadret> fill getuid.oB open.oL read.oj seek.oŒ write.o° errlst.oÒ exit.oÒ csv.oà stat.oú cerror.ocleanup.(ttyn.o*namebufòer1Ždev¨erŠsavr5$Ô_exit"Ò _main"_usagest#–_mask#¾_htmp#ˆ_ttycap#4_buf$®_quickie$®csv"à _ttyn"*_write"° _typeof"_listtyp"p_hget"î_perror"H _hgettyp"t_longnam"Ú_printf"Ò _hsgetty"€_tgetent"_hsettyp": _hput"¨cret"ì _fopen"š _getc"þ _putchar" _utmp#Ø_loggedi" _getuid"B _stat"ú _open"L _seek"Œ _read"j _close"„ _tbuf$°_tnamatc"¦_tskip"_tgetnum"@_tgetfla"¸_tgetstr"ø_tdecode"L_ttytype#z_stypeof"¾_hentry$²_hgethom"\_hgetuid"h_hsethom" _hsetuid", _errno$Ò_sys_ner#`_sys_err#_strlen"º pfloat" pscien" _flush"B _fout$ìcerror"_getw"¸ __cleanu"(ttyn":uhavÞ×9í�cwrite $* ***************** * * * You have mail * * * ***************** eversionÞ×9í�=date >/tmp/$$ ed - /tmp/$$ s/....// s/..............\(....\)$/, \1/ g/ /s// / g/Jan/s//January/ g/Feb/s//February/ g/Mar/s//March/ g/Apr/s//April/ g/May/s//May/ g/Jun/s//June/ g/Aug/s//August/ g/Sep/s//September/ g/Oct/s//October/ g/Nov/s//November/ g/Dec/s//December/ 1s/.*/char version[] "&";/ 1,$p w q rm /tmp/$$ awatchÞÖ9í‘VRôb ð€&Ð 6÷ ß Æ ‰w ÐnÎæß z Ö Îæß z Ö õ% æwæß   –%Îþß bÎß Æ õþÿøÿ÷ P 5öÿ Nöÿæzß ØÖ  ß Æ  õ Wp CÃeJõeBÎ¦ß ÜÖ Wp „ ñœTåÄ 7‚ýÿÿøÿµ ôÿõEàÿôÿõ ôÿ÷ ÞÀ  ß Æ ÷ Îß ˆ êwþ Æå�w è _$NÎeÂÿæß Ô Ö À  ß Æ õ%Âÿõ%Îÿ ß Æ Îæß >Ö @-Âÿ ß Æ  æú ß ò Ö Ä Îê ß bÎZß ˆ U· ÎNÎeèÿ&ß ÄÖ À * Ã-´%ÁWp ÁeJNfÎeèÿß þÖ À NÎeèÿÁWp fTß ,Ö 5æÿÁWp qæÿTƒ ØÍ Ã-`ÁWp NTÁWp ÁeJfß úÖ 5æÿÁWp qæÿTƒ äß Š wÔ Æå8_w ¼ auöÿõ- NÎe fÎeß lÖ À @ðæ D@5â÷ 25øÿ@øÿAp @øÿAp@=œ øÿ@øÿðž @øÿpöÿõ-œ öÿ@öÿpøÿ@øÿð† NøÿÎe@Ÿøÿ&fß š–%@øÿw Æåœw î R5 öÿõ-N G@ð-4 ;uøÿ@Ÿøÿfæ~ß Ø–%@øÿð- @øÿ5öÿ @øÿAøÿp@øÿð-ò  @øÿAøÿp@øÿ5Nøÿß ¾@5µ@öÿwT Æå«w > Î ß ìw: Æå öw $ NÎfÎeêÿfß  –%Ä% < Ä%@aAañ¥ êÿ AaAœêÿH�„ ë@0Š@p�òÿ @�ôÿ@�õÿ&ß >Ö A1 @�öÿ@�÷ÿ&ß >Ö A1Àw’ Æå¯w | }/@Ap, Àw` ìw N Nß Ô 5øÿ@øÿ0ŠõeøÿNøÿ@�&fæ—ß ØÆew æ âw @µ Aµ H’õwü òw ê ý‹ý‹ }¯ µ µ ï}¯ Àw¼ ãw ª @�ÀEÿtA�ÁEÿ@Pw˜ ñw † Ĥ÷- ÊÀÄÀ :Nß ÔÎfæß ¤ –%Îæ²æß ¤ –%ß Ô&æß ¤ –%Îæµæß ¤ –%w$ w  DÔ‹þ@íÀ w w ü÷U ÷U¾ ü DÄe„ Ë5 ‹ÂÊ5ûÀ À`€ :†ÂÃÃEÂ-Š ëƒÃ-„ è‚Ä%ÄÀ ß 2 7?h À%ÿÿÀÿÿw”ÀV ÀeÀ-è ÿUF À ÀmØ Àeþÿ?Ð 72 ÿ¸, ÿU& ³À À`7  †ÿ À ÀU ÀÀeÑw *@Àeþÿ7îÿEèw w Æå~wv DÄeÀŸl · f  %ß  ôwð7 R 7 R ׯH -· @ · > ÷¸w2 7 4  .÷¦w( ƒÃeÁÀBÚ üJ Ó•-ÀŸþ · ú  o^ xU d÷ ä ÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁb  Œҋƒ D~C Âø Âþv÷ ( Ó•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡Àî Âè ÷ ” Àà ÂÚ ÷ †7Ê wVþ‚Âeƒà&æ Ä Ãm® ÷ ¬ ß  Ã~Ä Ž”ß  à Î ß  Ã~Ö „wþ7 €  ÀŸv · r Àå0 úÿ ‚· ^ Wp `ìÀe0ƒÄeÓ•?‡f…ÀF ÷ ,À< P�· 2 ÷ , ÷ @…‡f…÷ …‡À Àåj7®Àþ € ‰ ÷jô ÷ì ×-æ ‚÷Þ ‡f…@‰†wl …‡f…wj@Àe7b‰wJf…‰†w<7œ …‡f…@w8‰†w …‡f…w"w‰†wú…‡f…@ww‰"†wØ…‡f…÷òîwmè‰(†wºÀÜwmÖ…‡f…wƉ(†w˜w¸ …‡f…AW †@w Á fl1l7” À5Á Á ÁeÒ w€‰. ‡À5€…‡À& Ö w4&À” L&ÀŽ H&Àˆ D&À‚ @&À| <&Àv 8&Àp 4&Àj 0&Àd ,&À^ (&ÀX $&ÀR &ÀL &ÀF &À@ &À: &À4 &À. &À( &À" f¦æ&È „ƒ‚�€f…0‰¢ @‰‰ ‰…‡f…@w„w€‰4†wD…‡f…÷ F@‰w Nß ê ß à ww þÆåDÄeòÿL@4ÀÎ &ß 8Ö ß  Âõwøÿõ/öÿó%J ó%K À t5¸øÿÀ t5ºöÿNøÿæß Æ Ö 5øÿNöÿæß Æ Ö 5öÿ÷ ` B-øÿB-øÿó%B-öÿB-öÿó% Î&ß 8Ö ß  ³ Àw2w "DCÃ%: ß ‚Àe“þ`Áím Áe¼À rfÀ€åwôw ä΀p@&fß –% ”ÁÀ r<RÁÀ r<ÁÀ r<RÁÀ r<À rWtC`À rÒÁeÀ rw& ÃFÎß ‚àƒ Îß ‚!ö÷ 7 Îß ‚À%n÷ ÀÀ ìÀƒ ÀÀ 0!Àö÷ö€ Ò7 ÌÀ”ww Ä<ÃðÔ”þAA WpCÃe Ä<Ô”Ô”Ô”„ BÂe�WpCÃe Ô”Ô”Ô”Ž&ß ¢Ö ŽÎed&ß ¢Ö ŽÎed&ß ¢Ö ŽÎed&ß ¢Ö Äe@ &ß ¢Ö À<wvw fAÀ rÁ Ànw\Àmûw FD„ õ% AÀ r À r Áe0@�Ô• AÀ r Áe0@�w @…&æ¦È B„ƒ‚F…‡70ÀÿÿF…‡‡€�6rw€‡€�6r@‡f…@õ Á P`Hm` …‡Xbÿÿ/etc/utmp/usr/pascal/syswatch- %d %s on tty%c logged out. %s tty%c %s Unknown error: º¸ººNd(oxpf~eîcüsZlzuŒržD$OXüÿðÿðýÿøÿà(null)‰j ‰‰‰‰‰¨0‰‰€ˆ—±ÁÙãý!1=O_qz�¢®ÀÏßîÿ'8GVn{‘ ¬"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceeded€pèìM:/PSTPDTDay Mon 00 00:00:00 1900 SunMonTueWedThuFriSatJanFebMarAprMayJunJulAugSepOctNovDecwcÞÖ9í�„ F.8 ð€&Ð 6÷ ß ‰w _êõ õeõ  @È¥-÷•V õ õeõ% À7�6 õ   ß .Ît fß DÖ À Nß òõ õe_ õ wö õe÷Fè 7 Ð 7 Î 7 Ä 7  7 Ä 7  5 öÿÎt ß ¨Ä%ÿÿ+÷e¨ w ¢ Ä% ÷e” w Ž 5 öÿèÄ% Ä% 5 öÿÄ% Ä% õ öÿ÷e^ w X õöÿÎÍ÷‹f æF æ@ æG÷ :ÆeÎF æ4 æ. æ$ æ æ æ æMß |Æe÷m  ÷m  w ÷mö ÷mò ü w ö ÷mî ø ÷mê ô w î õ _^÷‹æ ÷‹â  ß æÐ æÊ æÀ æº æ¼ æ¶ æ`÷  Æe ß w>Æå_ w &Äv÷-4˜ À’ À îNß dÎfæß ì–%Îæ„æß ì–%ß d&æß ì–%Îæ‡æß ì–%wÄw ´DÔ‹þ@íÀ w¬w œÆå~w DÄeÀŸ ·   %ß ¾ôw|7 ð7 ðׯæ-· Þ· Ü÷¸wÐ7 Ò .÷¦wƃÃeÁŠBÚ üJ Ó•-ÀŸœ· ˜ o^ xU d÷ ‚÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁ ÂΌҋƒ D~C  ÂÈv÷ ÆÓ•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡ÀŒÂ†÷ ” À~Âx÷ †7hwVþ‚Âeƒà&æ Ä ÃmL÷ Jß ¾Ã~Ä Ž”ß ¾à Î ß ¾Ã~Ö „wþ7  ÀŸ· Àå0 úÿ ‚· üWp `ìÀe0ƒÄeÓ•?‡f…Àä÷ ,ÀÚP�· Ð÷ Ê÷ @…‡f…÷ …‡À® Àå¬ 7ÔÀœ€ ‰Ö÷¬ ’÷Š×-„‚÷|‡f…@‰†wø …‡f…w�‰ÜJ‡A …‡7 2f…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe71@‰â‡À �1‡wJf…@wðwì‰è†w,…‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7^ÀÿÿF…‡‡%7ld %7ld %7ld %7ld %s %7ld %7ld %7ld total Unknown error: òdÌoÀxf"e’c sþlu0rBDÈO¼Xüÿðÿðýÿøÿà(null)‰¬ ‰‰‰4<Keu�—±ÃÕåñ%.DVbtƒ“¢³ÇÛìû " / E T ` "Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededwhereÞÖ9É�dœ¸ ð€&Ð 6÷ ß d‰w V_N æœß Ö 5ôÿõðÿu-ðÿ_J & fôÿß @–%@ðÿÀ @m5øÿΦføÿß VÖ À iΩføÿß VÖ À `έføÿß VÖ À W5 òÿÎfÎeàÿfôÿß –%À ?@�èÿ5Þÿõ• èÿõ%Þÿ õe`Þÿ@Þÿt5ÞÿõUCÞÿ@Àeàÿ5öÿý¥ öÿµ öÿù=ŠöÿNÎeàÿføÿß VÖ À NÞÿføÿæ±ß �–%NÞÿß ˆµ òÿµõ òÿNøÿæÀß �Ö µ ðÿ_6w0Æå_ w @µ H¯ @µ È‹Àï wøêw æ_Š@ÀEÿ5�òý@tøÿ5�ðýõÅÿðýõ‹ðýõ• ðý ß B æÕß XÖ À WNÎeôýß ¼Ä%t=NÎeôýß ¼Ä%t4NÎeôýß ¼Ä%y+NÎeôýß ¼@�òý!!NÎeôýß ¼@�ðý!Î ß ÒNÎeôýß ¼Ä%ÿÿÄ% ß Òð ß BÄ%ÿÿÄ% Ä%ÿÿNÎeôýß ¼ó©Î ß ÒwôÆå €w ÞÆå~w¼DÄeÀŸ² · ¬ %ß Òôw¾7 ˜7 ˜ׯŽ-· †· „÷¸wx7 z .÷¦wnƒÃeÁäBÚ üJ Ó•-ÀŸD· @ o^ xU d÷ *÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁ¨ Â(ŒÒ‹ƒ D~C  Â"v÷ nÓ•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡À4Â.÷ ” À& ÷ †7wVþ‚Âeƒà&æ Ä Ãmô÷ òß ÒÃ~Ä Ž”ß Òà Î ß ÒÃ~Ö „wþ7 Æ ÀŸ¼· ¸Àå0 úÿ ‚· ¤Wp `ìÀe0ƒÄeÓ•?‡f…ÀŒ÷ ,À‚P�· x÷ r÷ @…‡f…÷ …‡ÀV Àåh7ÀD€ ‰0÷h:÷2×-,‚÷$‡f…@‰†w: …‡f…wÖ‰6J‡A …‡7 Úf…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7X1@‰<‡À �1‡wŒf…w:w6‰B†wr…‡f…@ww‰H†wP…‡f…@wwþ‰N†w. …‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7ÄÀÿÿF…‡‡/etc/utmpisareand%s is on tty%c%s is not logged in /etc/ttywheredàoÔx(f6e¦c´sl2uDrVDÜOÐXüÿðÿðýÿøÿà(null)‰h‰‰‰‰‰whoisonÞØ9É‘ÐÂþ„ ð€&Ð 6÷ ß Š‰w |_4õ wŒ)õeÿ¥a€)÷;¨õ G7 zõ BDÔ¥-=õ õeÌ‹÷V1Ì‹/•$÷UFø÷U>ô÷U6ð÷U.ì÷U&è÷U äÎ )æÄß @Ö Îß ŠÀåd ï‚À xèÏ»wà(÷ Ü(÷UÞwÐ(÷À÷ ð  ß ‚ æAß @Ö À ÎKß @롧 ÞÎß ŠÎæ¶ & ß þ–% ß ‚5 øÿö Ã%¶(ƒs�øÿµ øÿÃeõÎÜææ€æ¶ ß (Æe æcß @Ö À Îmß @롧 ÞÎß ŠNÎeìýß ü5�öÿNÎeìýß ü5�ôÿ@�ôÿÀ A�öÿÁeÐÿp¶(NÎeìýß ü5�öÿõ¥ öÿóòÙ ß ‚ö Ã%¶(ƒÎß <Ãe÷÷ ª÷5¶Î…ß @7 ”÷5¢÷5š÷5 ’ Î‡ß ŠÀ Îˆß @7 dÎtÎEýÿæŠ& ß à–%÷5^÷5V÷5 N Î�ß ŠÀ Î’ß @÷52 ÷5 *÷5"÷5 ÷%þ륧 @7 ðÎÎEûÿæ—æß à–%÷5è ÷5à ÷ ÆÎœß @7 ¸÷5Æ ÎÀÎE÷ÿæžæß à–%÷ –Î¦ß @Î°ß Þ ß ŠwpÆå_ w XD,�À ð ¶($�À ð ¶( Î�&ß  Ö Ì‹  �&ß  Ö ß *Î�&ß  Ö wÓw ôA@À ðÿÿ¶(ÄºÌ fß È Ö À @À a° @À ° ´7Ö%Äe ä÷¨È%õ%õ λÎÀfæ©ß @–%@À ° ´w|¾w j_PDÃà Ì¥ Ì¥ Š„ à ó÷ `%4 Ã-X%,NÀÀ ÀmL%&ß tÖ À Î>%ÀÀ Àm4%&ß tÖ À ÀÀ Àm %ð‹ ÀÀ Àm%AH¬ƒ ÑÃ-ú$FÂˆÊ N¦ß tÖ À Nß D4Âeî÷ À÷5ÌÎÅß @· ª÷5¸@œß ÄfæÉß @–%@ð‹ Nß ðNß DNß TwT_2w @D2ÃeÃ%¶(*ƒÎ&ß ´Ö À Îß D Š÷5< Àœß ÄæÕß @Ö ó‹ Îß ð Àœ&ß  Ö ÃeÓwâÍw Ðõ¥  @�tÀe`ÀU^@�w¶íw ¤D$ÃÀË 3­3­ ÷5ªÎæÝß @Ö Ãeè÷5ŽÎæß @wbÛw PÄˆÌ N&ß tÖ À ´ Äeðw2ëw DCG Â%@€`Á�`p’ðÿ‚ õ5Šøÿ  @€`ð¥ ðÿ@€`0Šðÿ ò@Àeðÿ!ƒfÎeðÿß Ö 5îÿõ îÿNîÿfÎeðÿß Ö À À@îÿ5îÿê w”Æå ¶w ~DC2Ë‹'À’Ì‹ („ ƒ õƒ Î&ß Ö À ÀÔ‹ ñÔ¤ Á 7¤ þy×Ì‹ ÀwÍw 'ÄˆÌ ô õ Nß @5 Îðß @&æôß @–%· àÄeà@wÆ Øw ´ N÷5 Ö õ E÷ ¶Îúß @· ¨N@À &´æþß @–%õ -õÄºÌ @À að @À a&fæß @Æeõ· FÄe àý¥,Îß @w" ±w  DC̢̋„ ƒ ùÌ‹ Àwò ïw à Nfß  Ö À  ÀwÊ ïw ¸ Nfß  Ö Ä @œAAœ@àw’ çw € DCÂÔ¤  ùÄ Ã Ì¥ ̋˥ Ë‹ “Á’@àwH âw 6 1DCÂÔ¤  @œAAœ@àñÄ à ̥ ̋˥ Ë‹ @œAAœ@à“Á’@àwÞ Îw Ì D Ì‹T­À÷ w¸ òw ¦ õ¥ � ·  õ¥ õ¥ ÷ w† êw t ^?Šî ľ)÷ "_d ÀÜ Àå¾)Àmð!Àmê!À%O_d 7 Ü!ΰæ ß ºÖ ÷ Ê!7 Æ!Ì¥ „ û ÷ ¶! ΰæ ß ºÖ ÷ ¢!ó7!€ ‚ÿ¥ x · Ž!÷ n ô̋ΰ“&ß ºÖ Ô¥ 7 j!· d!î÷¾)B 롧 Þw ¡w ° " ß ‚Î$*æî ß ˜Ö À Îà ß Ê Î°ß ÞÎß Š÷ ÷ <÷ ”÷ wv Ýw d ĺ÷ *  ÷ 84÷ ØÄe ó÷ ÎwH ìw 6 *Ĉ÷ ü  ÷¥ ¬À�¦À%ÿÿ÷ øÎß T4¼ðå÷ |ÄeÜ÷ rwì Õw Ú ÄÀ÷   Îß ’ 4� ß ’ 4�÷ @Äeìw´ çw ¢ Î fæâ æß @Æe롧 ÞÎß Šw€ éw n ÷¥ ðÎ(ß ò · Ú w` ów N Î$*ß üÀ%ÿÿÎ@ß ò w> òw , Îß ä w( øw   ß ä w ùw  %Nß ä Ä ÎVß ò  Ì¥0 Ì¥9 ÁWp C•ÀeÐÿ`ñÌ‹Îfß ò ÀwÂÚw °EDÄe–ÿÎ$*ß ü�À�0÷� õ  @Àe–ÿ! -Îzß ò ÷�õ  @Àe–ÿ!렧 ò ŠNÎe–ÿß z @Àeùÿ!‡Î’ß ò Ô�Á7¾ þyÀw0Æåd¸w Nf÷ °Ö € &÷ ¾Ö &ß ¨ Ö wþìw ìD C•ýü@wÜôw ÊÄ¢÷-¨ RÀLÀ :Nß <Îfæß h–%Îæ°æß h–%ß <&æß h–%Îæ³æß h–%whw XDÔ‹þ@íÀ wPw @÷UX ÷UT ÃR DÄe„ Ë5 ‹ÂÊ5ûÀ À`€ :†ÂÃÃEÂ- ëƒÃ- è‚Ä%ÄÀ ß 7|?þÀ%ÿÿÀÿÿwØÀìÀeÀ-^ÿUÜÀ ÀmNÀeþÿ?F7Èÿ¶ÂÿU¼³À À`7® †ÿ¦À¢ÀU ÀÀeÑw n@Àeþÿ7„ÿE~wdw TÆå~wìDÄeÀŸâ · Ü %ß î ôw47 È7 Èׯ¾-· ¶· ´÷¸w¨7 ª .÷¦wžƒÃeÁ¾BÚ üJ Ó•-ÀŸt· p o^ xU d÷ Z÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁØ ÂŒÒ‹ƒ D~C Âö Âüv÷ žÓ•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡ÀdÂ^÷ ” ÀVÂP÷ †7@wVþ‚Âeƒà&æ Ä Ãm$÷ "ß î Ã~Ä Ž”ß î à Î ß î Ã~Ö „wþ7 ö ÀŸì· èÀå0 úÿ ‚· ÔWp `ìÀe0ƒÄeÓ•?‡f…@‰†w  …‡f…wj‰ J‡A …‡7 pf…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7ì1@‰‡À �1‡wrf…wÎwʉ†wX…‡f…w¶AɉT‡  Rf…Añ ÷ ^ñ y�± ñ ÷ Fñ y�± @3f…Añ ÷ ñ @9�± !f…A÷ @Àe&7,w(7à"@‰"†72±ñ‡w’7 …‡w lw úwöAupNNmfß TÖ wPw @ÆåÂÎ@@í5ôÿ€ ‡_¦�Á fAôÿÀ rBpÁE€uôÿ@@`5øÿ5öÿDCƒàµàøÿNøÿ&ß ªÖ føÿ&ÿ h–%5òÿîÀ 2„`D-øÿñ‚-ε`öÿföÿß ªÖ $ε`öÿföÿ&ß Î–%µ`øÿDøÿæföÿÿ –%5òÿàÀ D-øÿäÎ&ß ªÖ ƒàσàC-öÿç‡D-øÿ%@øÿ@íAAíöÿ@ NföÿŽ`ß TÖ uøÿ_`Nøÿfß TÖ @öÿ€`5_`µàøÿføÿæß Ζ%µàöÿCöÿ–wúw êæ õzøÿDC“Ô’“�õ øÿúwÖw ÆÆåõTöÿDCB5“øÿ”’Ò’S�øÿõ öÿ÷w¦f…@ww‰(†w–…‡f…÷ wm‰.†wxÀôwmî…‡f…wÞ‰.†wVwÐ …‡f…@wÀw¼‰4†w,…‡f…÷ .@‰@…&æ¦È B„ƒ‚F…‡7tÀÿÿF…‡‡5usage: %s [ -pufnds ] /etc/utmp0–¦†¦¦¦¦¦¦¦Ž¦v¦¦ž¦~*?:,Z¾)ÿÿ :|þ þ   H /etc/winfowinfo/etc/utmp/etc/utmp: Cannot open /etc/ttys/etc/ttys: Cannot open used () free unavail tty%c is %s???, usedfree, %0.8s on %c and %c (as %s) (as ???), %d %s, %d %s (%s%d %s, ) %s: %s, line %d Too many fields in lineToo much data in fileNumber expectedBadly formed numberMissing ':'Empty fieldField too longUnknown error: ¸¶¸¸¶d�o„xØfæeVcdsÂlâuôrDŒO€Xüÿðÿðýÿøÿà(null)‰‰‰‰¶‰‰‰D,‰€ˆ—±ÁÙãý!1=O_qz�¢®ÀÏßîÿ'8GVn{‘ ¬"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredNovember 13, 1977 The files in this directory belong in /usr/bin. The only ones not documented are "lock" which lets you supply a password to lock up your terminal (so you can go to the bathroom...), rout which cleans old junk out of /tmp, and teco which is of unknown origin (its mentioned in the Pascal document so I threw it in.) The programs "dates" "public" and "procp" all need to be setuid. Dates requires the creation of a data file "/usr/lib/dates" and public a directory "/usr/public"... procp needs to be able to read the memory. Procp depends on your system configuration and will, most likely, have to be recompiled. The programs pi, pxp, px, ex and ashell as well as trek are in their own directories. The programs cpall/cptree in this directory can help you install all this stuff... Bill Joy CS Division Department of EE and CS UC Berkeley Berkeley, California 94704 (415) 524-4510 [HOME] (415) 642-4948 [SCHOOL] P.S. Note that `l' and `ls' were linked together, and should be linked again if you wish to use them... system configuration and will, most likely, have to be recompiled. The programs pi, pxp, px, ex and ashell as well as trek are in their own directories. The programs cpall/cptree in this directory can help you install all this stuff... Bill Joy CS Division Department of EE and CS UC Berkeley Berkeley, California 94704 (415) 524-4510 [HOME] (415) 642-4948 [SCHOOL] P.S. Note that `l' and `ls' were linked together, aneÿREAD_ME62 ¤�?November 17, 1977 This directory contains prototype data files for /etc. Htmp is here simply to indicate that it must exist... it can be created via cp /dev/null /etc/htmp chown bin /etc/htmp chmod 644 /etc/htmp The file ttytype should be modified to conform to your configuration, and new entries should be added to ttycap for the terminals which you have. Note that the programs "sethome", "tset" and "ttytype" must be able to write on htmp so they must either be setuid or /etc/htmp must be mode 666 (safe only if you have a completely friendly community of users.) glob2ÙaøÉ�(@ØB ð€&Ð 6÷ –%ß Ø‰w Äõ#Î ß õeõ wœ õeõ ê÷eäõeõ õ  ÷ $ÎT ß Är" Nõeß ôéÌ¥/„ Ì‹úÌ‹÷ ÒÀ Îæ"æ@"ß dÖ Ì‹PÂ$ &-‚ #Äv$ ÷ öÊ¥ Ä%Ø$÷ƒ””ÊÅ€ÿöÔ•/Ã"Ä%Ú$‚÷ ÌÔ”ùÎæ"æv$ß dÖ €’ÀE€ÿÀ% ÕÊ‹ÕÄv$Ã] Ô”þÄ ÃÂ!Ä%Ú$‚÷ ŒÔ”ùÎæ"æz$ß dÖ Îæ"æv$ß dÖ Î’!ß ÜÎg ß wŠw zæ CDÎ&ß DÖ ÷%\#0 ã"  &ß vÖ ÎfÎeøÿ¦ß ”–%À%õ%øÿË* Žß .Îæß DÖ Îs ß ÜÎß ÜÎw ß ÷%ô"÷ ¼wúw êæ õ8øÿ7 Ö"Nß XNøÿß wÖw ÆD Î&ß \Ö À Ì‹ÃeÃ-ôñ‚ÄeÀêÀeþÿ!ç‡w–w †æ õØøÿD÷ NÌ¥*9Ì¥?6Ì¥[3÷%Ú$´ñƒÀ®· ª•í÷ B"Îz fß –Ö ?Š÷e„_žÎà$æv$ß üÖ À kÎ{ æv$ß –Ö ?\÷eV· �!\wøÿNÄ D-‚Ì¥/ù÷ ¼ ÷%Ú$2ùƒŸ*· &µ 5!ò†?Š æv$ß vÖ  ÷ ¤!3Îv$ß ÜÎ| ß · Ž!„ ÷ ´!æ %ß ÔÖ À Î %æv$ß –Ö ?¾÷e¸· ò Îæ%æß ”–%À%ÜÎß .wøÿ–?Š’wBw 2Ί ß w2w "Μ ß ÜÎv$ß ww ý¥.ý¥. wÃê wä Nfß Ö ÷Ð íw ÎÆå DC•ÂE€ÿÂE€ÿ Â€À”5øÿÁ< 7 þy 5 ôÿõÿòÿά ß Ë‹#Àµ òÿÀ”€ µ ôÿÀ”5öÿëÀ%]õ ôÿÊ w\õ%-öÿç@öÿ5òÿ€ éæË¥/ƒ Ä Î&ß Ö À Ï„ Ì‹öà Þȵ øÿÚ£ ×  ÔÄôõNðÿ· F?•Bûÿ•/:· 6?Š2Îà$æv$ß üÖ À ÀÆÀEÿŸÀ%@ˋζ æv$ß –Ö ?ø÷eò· ,Îß Xwðÿä?Šà˜w ‚DCÔ¢ Ó‹ü ÀÿÿÀwlä¥/öË¥/ö“Á’@àôw HÚDÃ%ä"‚÷ þý•ÀE€ÿ�öDà Ã%ä"†÷ âý•ùÄf÷bww D„ Ì‹ýNífæß ¶–%wêw ÚNß ÜÎæ· æß ¶–%Îß ØwÀf…@‰†wÞ …‡f…wnwj÷ ¬æðæd‰º w°f…‰…‡f…wBw>‰À †wŒ…‡f…@w&w"‰Æ †wj…‡f…@w w‰Ì †wH…‡f…@‰@…&æ¦È B„ƒ‚F…‡f…wÎwÊ‰Ò †w …‡7¾ÀÿÿF…‡usage: glob2 libs command arg .../bin/sh/usr/bin/pxæ"Ú v$*/?[Ì^àÚJÒNo match/usr/bin/: not foundno !!: cannot openArg list too longPath too long: missing ] ‰‰‰‰‰htmpÙaø¤�`/mnt/pascalsncH%›/d/c551/c551-bjrca*›/d/c551/c551-bo.exrcca/mnt/pascalnielxrcca%›/d/c551/c551-bjrxrcca Ê/mnt/quals/olivierrccl Ê/mnt/quals/olivierrcca Ê/mnt/quals/olivierrccl1˜/d/c532/c532-bv/.exrcca2Ž/d/c412/12pabloerrccl/b/distribn.prcaŽ/d/c412/12danielxrcA/mnt/cc/cc-06el /mnt/staff/moshertdŽ/d/c412/12danielÀ/c/c292f/c292f-atcl'›/d/c551/c551-blffclA/mnt/cc/cc-03fca ›/d/c551/c551-alffcaA/mnt/cc/cc-03seffcl ú/b/prof/prennerercl Ê/mnt/quals/oliviercl'›/d/c551/c551-bltcl˜/d/c532/c532-abrcaÊ/mnt/quals/katseffÊ/mnt/quals/katseffclÊ/mnt/quals/katseffclÊ/mnt/quals/katseffÊ/mnt/quals/katseffpdÊ/mnt/quals/katseffca/b/fac/harrisonca%€/b/299/winklererca ›/d/c551/c551-alffcl$€/b/299/schmidtr Ê/mnt/quals/oliviercl$€/b/299/schmidtca ú/b/prof/prenner% /mnt/billl/b/fac/camhsonffcaca/mnt/pascalca%›/d/c551/c551-bjrcl A/mnt/cc/cc-09vrca A/mnt/cc/cc-09yrcl*›/d/c551/c551-bor /mnt/staff/mosherclA/mnt/cc/cc-06iA/mnt/cc/cc-06vcl™/d/c53112danielA/mnt/cc/cc-06ircl A/mnt/cc/cc-09irclA/mnt/cc/cc-06arcl œ/d/c542/c542-aiclA/mnt/cc/cc-06or€/b/299/chrisneyrclA/mnt/cc/cc-06arclš/d/c541/c541-baÊ/mnt/quals/katseff/mnt/pascal6atd A/mnt/cc/cc-09bccattycap6× ¤�˜l1|11/10:0:0:? ca|adm3a|3a:0177440:0000332:li#24:co#80:cl=^z:ho=\036:nd=^l:up=^k:am:bs:ca cl|adm3|3:0177440:0000332:li#24:co#80:cl=^z:am:bs bh|beehiveIIIm:0177440:0000330:li#20:co#80:cl=^e^r:ho=^e:nd=^l:up=^k:bs:ca:am:pt cm|datamedia|dm:0177440:0000332:li#24:co#80:cl=^l:am:bs td|decwriter|dw2:0177444:0000332:co#132:bs:os: pd|dtc300s|diablo|dtc:0137446:0000330:if=/usr/lib/tset.dtc_tabs:co#132:hu=\EH:hd=\Eh:up=^z:bs:it:os:pt:pl du|dialup:0:0: cf|fox:0177440:0000332:li#24:co#80:cl=\EK\1\1\1\1:ho=\EH:nd=\EC:up=\EA:am:bs:ca pg|gsi:0137446:0000330:is#1:co#132:hu=\EH:hd=\Eh:up=^z:bs:it:os:pt:pl g0|gt40:0177444:0000332:li#30:co#72:bs:os g2|gt42|42:0177444:0000332:li#40:co#72:bs:os ch|hazeltine|2000:0177440:0000332:bs:ca lh|hp21mx:0:0:? cH|hp2645|2645:0177440:0000332:li#24:co#80:cl=\E&a00c00Y\EJ:ho?:nd=\EC:up=\EA:am:bs:ca:it:ce=\Ek:pt:al=\EL:dl=\EM:ce=\EK:cd=\EJ gk|tek4014:0177444:0040332:co#120:li#56:bs:os:cl=\E^l:is=\E\: ct|teleray:0177440:0000332:co#80:li#24:cl=^l:bs ti|ti700|ti|ti733|7:0151440:0020332:co#80:bs:os t3|teletype|tty|33|35:0157440:0020336:co#72 t7|tty37|37:0115044:0062732:bs:os:hu?:hd?:up? t4|tty43|43:0177444:0000332:bs:os:am:co#132 un|unknown|u:0:0: ttytypeÙaø¤�J0du 1du 2du 3du 4du 5du 6l1 7l1 8td 9l1 acl bca ccl dcl ecl fcl gcl hcl icl jcl kcl lcl mcl ncl ocl pcl qca rt3 st3 tca vtd wtd zca Acl Bcl Cca Dca Ecl Fca Gcl Hcl Ica Jcl Kcl Lcl Mti Nti Opd Ppd Qca Rcl Scl Tcl Uca Wca Xca +ca %ca _ca ,ca ca ca t- terminal (hard copy) t3 TTY 33/35 t7 TTY 37 ti TI 733 td Decwriter II c- crt ch Hazeltine 2000 cl Lear Siegler ca Lear Siegler ADM-3a ct Teleray g- graphics terminal g0 GT40 g2 GT42 p- plotting terminal pd DTC pg GSI l- computer link l1 PDP-11/10 lh HP 2100 du dial up line uk unknown ttywhereÙaø¤�Adate last updated: 11/03/77 tty no location terminal baud rate of 11/70 tty0 dial-up 300 tty1 dial-up 300 tty2 dial-up 300 tty3 dial-up 300 tty4 dial-up 300 tty5 dial-up 300 tty6 119B Cory 11/10 2400 tty7 119B Cory 11/10 2400 tty9 119B Cory 11/10 2400 tty8 199B Cory console 300 ttya 199 Cory adm 9600 ttyb 199 Cory adm 9600 ttyc 199 Cory adm 9600 ttyd 199 Cory adm 9600 ttye 199 Cory adm 9600 ttyf 199 Cory adm 9600 ttyg 199 Cory adm 9600 ttyh 321 Cory adm 9600 ttyi 199 Cory adm 9600 ttyj 199 Cory adm 9600 ttyk 199 Cory adm 9600 ttyl 199 Cory adm 9600 ttym 199 Cory adm 9600 ttyn 199 Cory adm 9600 ttyo 199 Cory adm 9600 ttyp 199 Cory adm 9600 ttyq Hodges adm 9600 ttyr  267mCory Stonebraker 9600 ttys 367 Cory Singer 9600 ttyt 187mCory Schriebman 9600 ttyv 119 Cory dec II 300 ttyw 119 Cory dec II 300 ttyy 119 Cory 300 ttyz 119 Cory adm 9600 tty+ 119 Cory adm 9600 tty- 119 Cory adm 9600 tty, 119 Cory adm 9600 tty. 2400 tty# Hearst Mining 1200 tty= 479 Cory White 300 tty_ tty% HP 2100 tty^a Hodges tty^b tty^c tty^e tty^t 507E Patterson 9600 tty^u 508jE Library 9600 tty^v 513E Rowe 9600 tty^w 567E Kahan 9600 tty^x 559E Gill 9600 tty^y 9600 ttyA 508 Evans adm 9600 ttyB 508 Evans adm 9600 ttyC 508 Evans adm 9600 ttyD 508 Evans adm 9600 ttyE 508 Evans adm 9600 ttyF 508 Evans adm 9600 ttyG 508 Evans adm 9600 ttyH 508 Evans adm 9600 ttyI 508 Evans adm 9600 ttyJ 508 Evans adm 9600 ttyK 508 Evans adm 9600 ttyL 508 Evans adm 9600 ttyM 508 Evans dec II 300 ttyN 570 Evans ti 300 ttyO 570 Evans dtc 300 ttyP 573 Evans dtc 300 ttyQ 508 Evans adm 9600 ttyR 508 Evans adm 9600 ttyS 508 Evans adm 9600 ttyT 508 Evans adm 9600 ttyU 501E Fabry 9600 ttyV 505E Prenner 9600 ttyW 511E S.Graham 9600 ttyX 517E Harrison 9600 ttyY 519E Fateman 9600 ttyZ 503E Despain 9600 ywinfoÙaø¤�kevans:ABCDFGHIJKLQRST cory:abcdefgijklmnopvwyz+-, phone:01234 11/10:679 private:58hq.=%MNOPUVWXYZ#!Ehst guest:guest*|lhs* cc:cc-* 154:c54* 153:c53* 254:c254* 292f:c292* 155:c55* 40-1:c401* 40-2:c402* 41-1:c41*|41* 41-2:12* 41-3:13* root:0:0 jeff:11:10 chuck:25:10 manual:9:0 pascal:7:0 bill:37:10 kurt:1:10 ken:12:10 kridle:30:10 wu:7:10 mosher:18:10 5 9600 ttyX 517E Harrison 9600 ttyY 519E Fateman 9600 ttyZ 503E Despain 9600 ywinfoÙaø¤�kevans:ABCDFGHIJKLQRST cory:abcdefgijklmnopvwyz+-, phone:01234 11/10:679 private:58hq.=%MNOPUNovember 17, 1977 This directory contains prototype data files for /etc. Htmp is here simply to indicate that it must exist... it can be created via cp /dev/null /etc/htmp chown bin /etc/htmp chmod 644 /etc/htmp The file ttytype should be modified to conform to your configuration, and new entries should be added to ttycap for the terminals which you have. Note that the programs "sethome", "tset" and "ttytype" must be able to write on htmp so they must either be setuid or /etc/htmp must be mode 666 (safe only if you have a completely friendly community of users.) for /etc. Htmp is here simply to indicate that it must exist... it can be created via cp /dev/null /etc/htmp chown bin /etc/htmp chmod 644 /etc/htmp The file ttytype should be modified to conform to your configuration, and new entries should be added to ttycap for the terminals which you have. Note that the programs "sethome", "tset" and "ttytype" must be able to write on htmp so they must either be setuid or /etc/htmp must be mode 666 (sa q’ š€: ð€7Œ Ð 7ˆ Æ%ü‚Æü·v ww pÆåÄj ü¥a÷e äð¥dð¥d7 ÷ü7 äÄe÷ 0 ÷ l÷ RUÎ&4æß ªnÖ 78Îæß ªnÖ 7(Îæß ªnÖ À5 À7�è  ß >n7ˆ5Šøÿ5Šöÿ7÷N7 ú7  õ•öÿ(ü¥-+œà ìÀÁ7ÿ þy ·Š7 ~·Šþ õ•øÿ Î æß –eÖ ÷ ÷ f Äe÷ ^ Ñ÷‹Ð ÷ R Î1ß –e÷ Ú7Џ7> ÷ v5Šòÿ÷ èeõ‹òÿµŠòÿ÷‹& Ϊæß ªnÖ õ‹öÿ@�øÿß .1ÎFß œM÷ Ø:÷ ˆ÷ d÷ ÷vr÷ p÷ j÷ üÎÂæò ß À:Ö ÎLæÂß À:Ö õ•þÿôÿ÷ þ÷ Zeõ‹ôÿµŠôÿ @�ôÿ&ß RÖ Àå ‚À x÷ ¾7 ÷ šÎÂæò ß À:Ö 7 †÷ ¬Îß âU´÷ Þ÷-ÖÖ÷ °1 ß (p÷ÆÂ÷ VÎÂæò ß À:Ö 7 B÷ hÎ¤ß Œ5æš& ß âU–%«÷ ŒÁ÷e~„w ˆmΪæß ªnÖ ÷ ²÷ Î/ß âUwpmw `mÀº 7N7H÷° >wVmw Fm÷ â/ÎJÎeß fnÀ>747*7*À"Àe7÷•*ÀÀeüÿ77 z 7 º À ðT„ Ä%÷7 âwðlw àlÆå÷ ¦ õJ øÿõ%ÿÿ_æ5 Ãe÷‹�_Ê7І_ô ÷ ÷ p õ øÿ÷‹ü÷ †÷ p÷ Ø÷ ž õ ÷‹ä ÷‹:ü Î:ß gõ•ôÿ÷ P÷ Ê67 R ÷N J ÷ Ê÷ È"Ä Ã%,%Ä8 7. Ã%;Ã,7& Ã%,ä÷  ÷ Îß šÀ r Á ÁeÎA! þyZ÷ æ æ÷è à â÷ Ü"À%r(ÎØß ®÷  ÷ ø À ÃÃí¬÷ ä Ã-/ÀÀ ÀmÀÁüÁíŽ@à€ &æÝß –e–%ƒ éÎæß ®÷ ‚÷ ª 7�N÷ ž ÷ ì Îd ß ^*æP'ß  RÖ õÈøÿ7м÷‹žõ-¸øÿ_Š÷ È_Š÷‹�_Š÷‹ìú_Š7ŠnõŠøÿ÷-  _ŠÀ^À Àm 7ö 7ð À-ò ‚À-ð †ÎÜß âU÷ ú_Ä ÷ Ô!Áp7 û þy÷ D!÷ ¼!À%mÎíß È÷ .!Ã%|úÎß jÀ õ£Îõß È÷ hSœÎúß ® ÷ þ ÷ v!À%d1Îýß È÷%/î ÷ � ÷ ô÷ ÊF÷ N!ß jÀ ÷ pÂŒ÷ )² Žß rkÀ Žß œ/÷¥/˜_æ7 Ì_æÎJß È÷ 6 7�Ú÷ ø`Îò ß ^*÷ D Îæ Îeþÿ_ÖÎJß ®éÎß ®÷ Ê`÷  ÷ M_æ÷ ¼ ÁŒ7ú þy÷ , ÷ ¤ À%p Î ß È÷ �`ÎØaß ra_æÎß È÷ ® À ÷ èÃEÎß n%Ã%E÷îý4÷ ô÷  ÷ ü÷J F ·Š°÷ Îß Œ[_àÎß ®÷ ¢E÷ ªÀÁ€7hù þy÷ .Îß jÀ í_æ÷ €Îß gòÎß ®µÎß ®÷ *Îß n%÷ ò_æÎ#ß ®÷ öÀ  Îß šS_àÎ*ß ®÷ ª÷ ÷ Î7�r ÷ Â÷  Έ ß ^*΀ ÎeþÿæP'ß  RÖ ÷-p r _à÷-d h ‡_à÷Z Z _àÎ1ß ®÷ z÷ Œ÷  ÷ h÷-2 . ÷-2 & ÷-& ( Îß âU÷e Îß bX_æ÷ À%a.Î6ß ®÷ hD÷ pÎß jÀ ÎP æUß âUÖ ÷ þÎß òLÀ Î~ß âU÷ À÷ ÀÀ ÁªÁEp’_æÎ;ß ®_¨Î@ß ®÷ ÎR7ŠÚ_à7ŠF÷÷•>÷÷ x÷ j÷-lh룧 âU÷ X Ã% ÷‹®Ã ÀDÀe76÷2.÷ 6÷ ŽÎ"ß ¦5Ã% Î‹ß gõ‹ôÿ÷•xÎæþæøß (–%_æÎEß ®÷ ä]÷ À]5÷ Ú]÷•0÷ À-÷ ÌÀår =‚À x˜ÎJß ®÷ ¸÷ X÷ ´Q_æ÷ $÷ œÀ%e Î`ß È÷ 6÷ j<_æÎRß È÷ t]7ŠÈ÷ Ò÷ h °ÁbÁí\@€ rÀ-j¥Îšß g ÎRß ®â÷ :À%u ÎNß ®÷ &]÷ ]ÖÎUß ®÷ d÷ °÷ ÄÀ ÷˜úÞ ÀwfÎTæ2ß Ä*Ö ÷â FÀ@Àe 7<÷ tøÀéÎZß ®÷ ÷ `÷ hà 7 ª Ø÷ ¬À%ea÷ &÷ žÁ 7ö þyÎ_ß È÷ Ð÷ ÷ ªÎÎfß È÷ r\÷ Æ?_æÎXß È÷ ¦Ãe÷ „À ÷ ¾ÃEÎß n%Ã%E÷Äù ÷ Ê÷ Þ÷÷$ ·ŠŠ÷ ø÷ þ9÷ ÎQ÷ Î:÷ ì Îß ]÷-þ_à÷ ¾_àÎjß ÈÎjß ®÷ d÷-ÒÖÃeÎß n%_ö÷ ¼Á°76õ þyÎlß ®÷ î÷ Aß ¢F_æÎpß ®÷ Œ[ & ævß nP_> Îyß ®÷ ¸÷ N# æ² ß ~KÖ _æÎ€ß ®÷ P[÷ €-_æ÷…°Ã%sÎ¦ß ®Îß þÀ _æ7Šr_æ÷ À%aÎ�ß ®÷ 6÷ úZÎæ bß raÊΙ_šÎ¤ß ®÷ *÷ ¨÷ ÷ þÎß H]_æ÷ ÀÀåe ‚À xÄ멧 ®÷ ªZÎèæ±ß –eÖ ÷ †_æÎµß ®÷ _®Î¼ß ®_xÎ¾ß ®÷ †÷ äR_àÎÄß ®_ ÎÊß ®÷ ’÷ î÷ 4N_æ÷ °UŠ÷ `÷ LÁ&Áí$@€ ræÏß –e_Ú ÷ ,B_æõöÿ÷ ~µ öÿ÷ òÀ ø÷ èYNöÿæß ¾J_Ú õ‹_‚  ß fÀ%ÿÿ_‚ ÷-¾Â÷ Ö ÷ º÷ÿÿ†@�ôÿß °b_æÎÓß ®÷ à÷ ÎI_æÎß òLÀ ÷V æØß ÞÖ Îæºß âU_Ú w ^b÷ ŽÀ ÀwZb÷ Àþ7 ºþ7 ¸þÎàß âU ñw 0b· ¦þ÷¢þœþw.bw b7 �þ7 �þ7 Šþwbw bDCÎß ¦5ÁÁíô@€ rß gõ‹÷àÃe!ê†wÜaw Ìa÷ –÷ H rÁ Áe–A! þy÷ þ·Šôê· ôú·Šüý÷·Šæô·ŠÞñ7Šêýîß jÀ Îäæüß âUÖ Ä%ÿÿ76÷ Fw`aw Pa÷ Ä=÷ Ìß jÀ Î1ß âUw>aw .a7Š”ý7Š€7Šz7Št7 v÷ waw a÷‹b÷‹^÷ &ù÷ îW÷ØŒü÷‹Vý÷‹@÷ àø÷ ¸W÷ ¾W÷ ÞWwØ`w È`@ÁÈ7Tò þy÷•xðÀw²`7Šlðù ùw ˜`w�ð ÷”w”`w „`Îfß ÞÖ @wz`w j`Îfß ÞÖ wd`w T`DÆå7¼CÃeæÿ•õ õ ú ÷ .“@ ÷ ¨�„ Ì‹õ÷ Žß òLÀ Â%lÂ%p÷ €�@ÀeùÿÀ †÷ ìß òLÀ ñ ŠNÎeæÿæaß âUÖ wØ_w È_÷ <<÷ ÀÀ%!÷ :Àwº_ üw ¦_÷ ÷ jý÷‹þû÷‹úû÷ t÷ ÷ ˜*wŒ_w |_ÄtÃrÃeÂtÁá@€ rÀ 7àbÁá@€ rÀ 7àZÁá@€ rÀ 7à<Ôƒ ý†Ä(Ä-.†Ä(7"w&_w _æ Îæß ªnÖ 5øÿ7ŠÄöÿ÷üÿüÿÃîÿÀÃeÀ-ìÿÎ&ß ¾ZÖ ÎÜÿÎeæß ¾ZÖ ÎÌÿÎe&ß ¾ZÖ Áá@€ rÀ 7à®ÿÀeþÿ7¬ÿÄ- ÿ†Äšÿ7”ÿNøÿæß ªnÖ wŠ^w z^÷‹Úú7Іÿ÷rÿrÿ÷bÿrÿwl^w \^÷‹D÷‹n÷ 2õ¥ ÷•Z÷%ñ‚÷ 4�ñ· ñõ¥ ÷‹÷ j÷ w^w ^÷ ÷ Bw^w ø]?ŠÚðÄÚ_F•€Á 7Øð þyÁìÀ 7râ÷7`ä<÷ Ü_F÷ Òd÷ ²aÎ¬ß T7 úþ7 ¸7 ¶7 ´T÷ Úõ*· ¦N÷ Îõ$÷e˜÷E’DÁŒÀ 7r‚÷€ 7`‚÷ | ÁvÀ 7rl÷Á ÷ j7 d-÷ `*÷ †õ»÷ �÷‹@÷-D÷‚þ÷ ~ÂE€ÿŽß ’Â%÷ hþ÷ ( Â% Â%· Rþ· •Â% ÜÄ Ì‹€÷ÚÌïwî\w Þ\õ  @Ÿµ ß ’ý‹öwÊ\w º\÷ ÷ Â÷ êw¶\w ¦\À¶öÀ À-´Á®À 7r¤ö7`¦Á À 7r–öw–ÀŽöÀ À-Èý7ÁÂý� À 7rzö7avÁ°ýÀ 7rjöw¦ý÷‹X Î ß ’÷‹*Î ß ’Ä Ä ò7 ~ýÀ<öÀ À-6 À0Á,öÁ @à7à(À öÀ 7ÀöÀ À-+ÄÀöÀ 7ÀüõÀ À-öÃò÷‹Â÷‹Ø7 â÷ ÿ÷Ú Î ß ’Ä ÷‹ž7 ýÀ¾õÀ !ñ÷-´¶ ÷‹ž÷ ’÷ ¢÷ ”À ÷‹„÷ ¼ó ÷ öß T÷€z÷x²ü÷ ðw`[w P[÷ PýDÄí˜üwV7 P÷ Šþ÷%ca*Ä%üÿÄ%ÄåÄEøÿÄ Äe Îß ’Îxß ’Ä Ä õ÷ èüwüZw ìZ÷‹ôÿ wìZÄöÿÄíîÿÄ ÷‹Øÿ÷ Ìÿ ÷ÒÿÔÿÃÎÿÄ ÷‹šÿÃíüûà À a÷‹„ÿ÷‹¤ÿ÷ àû„ ÄmœÿÄÄ%Ã%Æ÷ ÀÂw dZ· tÿÎ ß ’÷‹dÿ÷‹8ÿ7 šû÷-\ÿVÿî÷‹LÿÀˆûÀíHÿÁDÿ� @ ÷-:ÿtû÷‹&ÿ Î ß ’7 `û÷ ZûÎß ’÷-ÿLûõ÷ ÿÎîþß T÷-þþøþö÷‹äþ÷‹æþÎ ß ’7ûÄûÄeÄEÄ-Îþñ÷-Èþû÷‹ö÷ ¢þ ÷ "ß T÷ªþäúw˜YΈþß TÎ ß ’· Êúàw pYÎ ß ’÷ wlYw \Y· nþÀjóÀ À-dþÀ^óÀ 7Xþ÷TþVþ 7Šú7Jþw:Yw *Ywmxúwm6þw&Yw Y÷‹$þ$÷ Hñ!÷ Lñ÷‹bõ÷ Pü÷ ÷‹Þý÷•ÖýÎß f÷•Rú÷ÀýNú÷E¸ýÎß |wÐXw ÀX7ŠØý÷Úœë÷ P÷ Æ?÷¥”ý7ŠŽýwªXw šX7 ®ýÀ¨òÀ 7¦ý÷ Îð÷‹Šý÷ìÿÎù÷ìÿŠý÷†ýÀù÷‚ý|ýwnXw ^X÷Òù7 Ðù7 ÎùwXXw HX÷‹²ôÎèß âUÎß f÷•¢ù÷ýžùÀ ýÀEÀU 7þüÎß |÷•ôüwXw X7Šèü÷ ?÷ VÿwüWw ìW롧 ÒmwìWw ÜWÎ ß gwÜWw ÌWÎfß ølÖ wÆWw ¶WÎfß ¸oÖ w°Ww  Wΰfß ®mÖ wšWw ŠWDÄEÿÁ@7Šê þyÄ>Ä<÷‹püÎ-ß gÎß gß BwRWÎ$öÄ5€õÄ% Ä% Ä%ìÎ\ß gÄ%Î1ß gÄ?týÿÀe0ß gÄEøÿÄe0Òw ðVDÄEÿÄ5€ ÁT7üé þyÄE€ÿ÷‹Üû ß |MÀ Î\ß gß òLß gw®VÃtÓ‹÷À”!ûÎ\ß gÄœþÿíw ‚V÷‹îòÎ ß tNæß –eÖ ÷ wjVw ZV÷‹ÆòÀ�Lóß t÷%¨Üñ÷ „îÎ2 æ…)÷ $î÷‹Žò÷‹Šò÷ $÷ ¾÷ î÷‹tò÷‹pò÷‹þôÎ ß g÷%°ŽñÎ ß gÎ2æˆß –eÖ ÷‹<ò÷‹8òÎŠß gwÎUw ¾U7Š*ò@�Ád7âè þy÷%¨8ñ÷‹¨úÎ‹ß –ew˜Uw ˆU÷ bLNffß –e–%7ñwtUw dUÎWß âUwdUw TU÷‹ÂñÎ"úæ2ß ŒkÖ 7Š®ñwDUw 4Uæ  @�&ß ÌÖ 5�øÿ÷‹€ñ÷ r:7Š(ö7 :ý7 4ýÄö27 (ý& ß ^Ö À 'õ‹øÿ ÿ‹ýæß ^Ö À õ÷ úü÷môüöü· ðüß üæ>ß  RÖ ÀÀ `ÀÀ 7`¢õÄeÄ-šõˆ÷ Âü ÷‹ôð÷‹®ü뵧 âUΦüæ¤üß 0<Ö ÀšüwvTw fTæ 5 øÿ7Š€ü@ÁŽ7®ç þy÷ ¼0÷ Ä ß jÀ ÎÛß âU &ß °=Ö ÎªæTæ¨ß E–%ß ¤'À xž÷‹núÎß âUÎªæ¨æTß E–%÷‹øøÎVß âUΪæTæ¨îµ øÿ·ŠÜû÷ 8 ÀÀåc Ѓ÷|ø÷ ê÷ Êñ@øÿwžSw ŽSÆåÄRfÎeúþß À:Ö ÷ ø @�€ 2€Á°7äæ þy ÷ Ø ÷ XëÂ%&ÂU€Ä%Q‚Î…ß âU”�Ü€Á¨7šæ þyCÃeúþË‹ÎÄ%SéƒÔ”ù·à÷Šw S÷ ëåÛw ôRÄûÀÿÿwòRß ;7 þú ÷w ÔRNfß òAÖ À  wÈRNß ”À ÷ ì· ÐúÀñw žR÷‹¾úÀwœR·ŠôîAÁí„ó@€ rß g÷ åÎÎß âUĆíÄåÄ-|í ƒ÷ åÎß âUÄní& ß òAÖ À w`LÄ-TíÒ ùw FLÆåÃ2 õ2øÿ÷ ¸ß jÀ Gß ïÎß  +wðÿ2ï?Š.ï�w °AÃïDÃ-ï ƒ•ÀE€ÿ�øDà Ã-þî†Î†ß âU•÷Äêî÷æîwzAw jAD Â’ü€�&ý Ö �÷wXAw HADÎ&ß ¾/Ö À ÷œîw4Aw $A@�ÀE€ÿw$Aw AÆå ÷ Âô 3‚À x Î¼ß âUÀ25ôÿ5öÿ5 øÿNÎeZüfÎeöÿß Ä*Ö Ddþõ fþÎ9ß âUß $MÀ%?Îuß âUæ² ß À:Ö w¬@ÎøÏw –@ÄÆèNæß ªÖ 7´è÷ Vw„@w t@D•C-ûÀwj@ üw V@Ä2 (À x÷‹TåÃ?ÀÀå ñƒÃ% ôÃ%ñ÷‹6å Îß |MÀ Î\ß gÎß òLÎß g•ßw@w ô?ÆåÃ2 Šõøÿ5 ôÿÄ2 ?€Á 7ÂÔ þy@ôÿÀEøÿÀ%Ó• Ã%0 ƒµ ôÿñC-øÿƒÀ’ÀEÿPÃ%0‚Îžß âU“�C-øÿ†õøÿµ ôÿC-øÿ‚€êÂ’ÂU€æÃ%2†Ã õ ôÿ•¿=ŠøÿÎ2ß ;Ä2 Ã2Â5€ÂE€ÿ Ì•_Ë• Œ�Ë•-ƒ „ “íà Ã%2‚Ë¥ ù3Šw?w ?Æå. ß fÀ  À7�XÛ÷‹TÛ õ‹Î<ß œM_l2Îß fÀ õ‹ñÎß fÀ ëõ•õ•÷5ˆã À7�¦ã÷5tã À7�Žã÷5`ã À7�|ã@�ß Šp5öÿÀ%x ß ¸jÀ ÷ \9ß p2÷ ö:Á4ÓA @@5øÿ÷ 9õ øÿÎ>&ß À:Ö ÷ 9@-øÿ"w�öÿ Ó÷ |æŒß À:Ö fÎeÌÿß À:Ö Î@fÎeÌÿß Ø:Ö ÎfÎeÌÿß ~KÖ wÒ=w Â=ÆåNÎeòÿß \g5Šøÿ÷ Â4õ‹øÿµŠøÿ fß ²MÖ NÎeòÿß ngw”=w „=Æå$NÎeÖÿæ2ß ZpÖ @ÚÿÀEþ7<âwl=w \=Æå(÷ *ÎbÒß ¬k÷€„å÷Lá÷Há÷ÿÿDá7 â÷ÿÿxç÷ÿÿtéÎÆÔæˆß À:Ö NÎeÖÿæˆß ZpÖ À õ2åÔÿΈæ†ß ªÖ ÷ ÞÞ5ŠÒÿ÷ ø3õ‹ÒÿwÔÿ 嵊Òÿ÷ ¨Îß (p@ÚÿÀEÿŸÀ%@÷æä×7ŠääÎJæˆß Ø:Ö Îˆß ú:Ã÷ ¦<à ΀æˆß ÂkÖ 7†Ñ¸÷•æèß ¬kÎæˆß mÖ 7fѨÎZÝß fnwR<�À r ÁU0@$�à �À r Ïw &<÷‹œèÎˆß ìo7ŠŽèwã÷ :ã æ4ãæ.ãæÉ÷ >0ÆeÎ)ß g÷ îâ÷ ã ÷ ã ÷ ã÷ ã w¼:Àûw ¦:õ%ÀÓw¢:ÀÔûw Œ:ÆåCÃeúý fß Œ8Ö ÂªâõE  õe€fß Œ8Ö Â†â•ðNÎeúýß ¢âõEøÿ Îõe€øÿføÿß Œ8Ö ÂâÔ”ïÂâÀAÁeøý@àÀetþÿÀE€7`úá€wÂ9w ²9Ã2 Â&æ÷ âáÎæ2æ°Úß n–%À 7Èá Ã%2 ÎÖß –e&Àÿÿw~9Â2Ã%2‚ÎÜß âU„”Ä ÷ešáw ”á Ä5€ ÷eŒáw †áÄE€ÿÄ ‘Ä% ÂÁÁå2 À 7`báw``áw Zá#Š·�å· \á Ëw 9æ õþÙøÿ÷ ýÁöÙAíøÿ@€ r€ 72áIÂÄ2Nøÿõeøÿß ¦5 Âå2Žæ2æÐÙß p–%€ ÷ \�À 7`âàw`ààw ÚàÂÿÄ2Ô”áô• ÿÿõ-‚ÙøÿÒ†Âå2Žæ2æˆÙß p–%€ ÷ �À 7`šàw`˜àw ’àwZ8w J8ÎÂæ² ß ÐLÖ À ÷ îÏ÷ úÕ÷ w28w "8ÀRà rÁ ÁeTA! þyÎß âUÎß âUÎ4ß âUÎHß âUÎZß âUÎkß âUÎ�ß âUÎ›ß âUÎ¬ß âUÎìßæÄß âUÖ w¶7w ¦7DuùÿÄEþC×tÃEþÄ%úÎÓß âUÀÀà7°ßÄ-Àá!wÝ¢ß÷‹œß Îpæ„æ¤áß 89–%7Š„ß7–áÎnæ„&ß 89–%ÀÀe„w:7Ä-zãõ Ý÷ nã Îpæ†æ`ãß 89–%7VãÀÀe†æw ú6ÎfæÌß †n–%æfæîËý ÆeÀ%÷ ¤þwÒ6w Â6÷‹öÞ Îpæ„æþàß 89–%7ŠÞÞ÷%ÿÿðâ Îpæ†æââß 89–%뼧 Öo÷ 83ÁvËA @@7üÙÿöÙn×Ãj×ÄBHÌ ÀšÞÀeÀE7ŽÞtùÿÀEþ ÷e€~Þ€ 7ˆâôÿÿÎ&æ:Ëß †n–%Á$×Áà@€ rÂe Â%ÂŽææ Ëß p–%€ ? ìÖÎîß –e÷ ºý? ÜÖÃeÄeÃ-ÖÖµ†ÁÐÖÁíÆÖ@€ r7DÙÎ& æÂÊß †n–%ÎPæºæ°Êß p–%À%PÑwš5w Š5÷% XÚ÷ ¸þ7 NÚw‚5w r5DC•þ@wj5w Z5Nf÷ Ö &ß À:Ö @wH5w 85D„ Ì‹ýw25w "5Næ2 ß À:Ö w5w 5÷ êÌ÷‹fÑõ-Í wþ4Àûw è4ÁâÕÁíÜÕ@€ r„ ß &;À *æúß –eÖ ÷ FÍÎ(ÖŽ ÀŸ"Ö&ÎU æß –e–%ÎÖß $MÀmÖð¥eÿÿÎeß gÎdß g÷ @+w~4w n4ÁpÕÁífÕ@€ r@íß æ;w\4w L4DÄ Ã Ã ß &;À ÎšÕæ&æ÷ àÖ &ß –eÆe÷ Ô*w4w 4DCß &;À æ0÷ ¬Ö &ß –eÖ Ã%!ÎæIß –eÖ ÷ Œ*wÊ3w º3÷%ªØ Î¤ØæV÷ lÖ &ß –eÖ ÷ b*w 3w �3Dæ Ã2 %Â5€!ÂE€ÿ€Áh7¨É þy •5øÿõ øÿ“�õ øÿùÓ• Ó•  îÓ• “�•Ù ŠÀ2 w83w (3Dæ Ã2 ”Â% ÷2Û Šw3Â% Â% Ë‹Â% Ë¥ ”�æÂ% Ë¥ Ë¥ À”ÀU€�Øõøÿõ%øÿƒ µ øÿÀ’€ öÂ% õ%øÿÔ•ŠÀÂ% À�À€�T�øÿ´w ‚2ÆåNß òLÀ Nß \MÀ Îß âUÃT÷ Úèõ%\,Áx7ŠÈ þy÷‹þ×Î{ß âUΪæþæTß E–%w 2÷‹‚ØÎ¸ß âUΪæ¨ìÎýß âUD-Ä% Ä%ÿÿË‹ÎB ß âUÄ% õ‹Îq ß âUÄ% 7’Ö@Í@Àeîÿ5ìÿ7ŠF×7ŠC×Ä%^÷ è·Š3×7fÖÃ%҂Σ ß œA÷ þçD-Ä%ÿÿ @Àeîÿ@-ìÿÎÖ ß œAÓ• Í÷ XÉÄ%*Ã%T  Ä%\÷ 4èÀ%*Ã%TõøÿÁ°7¢Ç þy÷ ’çÁˆ7\Ç þy÷¥ –ÖÎ ß œAý�ˆÖìÿµ ìÿÓ•Ó�zÖ·ŠvÖ£@Àeîÿ@-ìÿ‚ÎR ß œAÓ• õ ìÿSŸìÿ’Ó•�Ó•Œ÷ ªÈ_ô@Áœ7þÆ þyÓ•_ª>õRêÿý‹êÿ_ª>ýµ€êÿDŸêÿÄE€ÿÄ%&Ά ß âUÄ%1Ä%9ι ß âUÃ%Ò‚_°>Ó•@ŸêÿÀE€ÿµ êÿ�ÓÃ%T_ô@ý¥øÿý¥ øÿÎí ß œAý¥øÿ @øÿðµ€Î" ß œAýÕøÿ_ª>Ó•Šõèÿ÷ LæÄ%^÷ @æó•þÿÄ%],ÎP ß œA'Ä%\Îî÷ –æ&ß ¾/Ö À ÷ æÄU€Ä% Ä%ÿÿΖ ß œA‘µ èÿÃ%Ô‚_°>÷ ÜåÄ%]Ö@øÿp�èÿ_ª>Ä%ÿÿ÷ÿÿÔÄ\HÓ•Ä% Ρ ß œAÄ%1Ä%:‘_ª>Äå1À�¦Ô!Îå ß œAÀU€�_ª>õ‹7¼Ó_Þ>Î- ß œA÷ Òå@- ÷ ÈåÀ%ÿÿõ‹÷ ¸åÀ% Ó• _ª>÷ °Æ_œ?Ó•Äw –.7аÓNß âUw’.w ‚.DCÄ ÷ ^ÆÀ@xÀ% Îß òL&&÷  Ö €% wV.Àûw @.õ  ÷‹ÙÓ 9ÄJÖ7HÖ õ-"ÏõNß ¦57 0ÖÃT÷‹«Ó17ÖÎ&ß ¬BÖ “�@xÀ% “ß òL&¦÷ – Ö €%Î&ß ¬BÖ À 7ÞÕÀwÆ-œ“€ î÷ ˜ÅÚÔ‹ø¸Ë¥òÎ&ß ¬BÖ À åÔ‹÷«w †-DCÆå_hDÀ xÐ˵€%À”ÀE€ÿ5�òÿ@�òÿÀ 5Úöÿ@�òÿÀ 5ìôÿu-ôÿöÿ‚_hD“@Ÿöÿ&ß °AÖ À µ öÿ„ ì“À’&ß °AÖ À ƒ „ _hDÔ‹_hD w-Ì‹û_hD7 ÕÀõΕ&æß ‚D–%À êÀ’`_hD •&æß ‚D–%À óÜÀ”À 0Ú_hDÀ”À 0ìiÔ‹þ"„ À’“&ß °AÖ À ö„ ƒ ó¥ÿÿ Ε&æß ‚D–%À ðÀ’`Ä Ä-nÔ§Î&ß ¬BÖ À ©„ ó‡�Ä%T2“ß òLÀ Ì¥_‘�ÿÿß òLÀ Šô¥_ÿÿ†�ÿÿß \MÀ _8C“ß òLÀ _8CÌ¥__8C“ß \MÀ _8CÀ”Àå ‚_ÀBÎo ß âUów °+DCà  wª+÷ †Ã Îß |MÀ Îß òL•ô¥-“ÀE€ÿÀ �ÀE€ÿÀ ÄeÂå õ ×ÀÕÂ%â•ÀE€ÿÀ ð@Êw 2+DCB Ԕ ýw$+w +ÆåNÎeöÿß 4mÀ μ ß âU÷ Ð&7ÐÏwöÿÌÀ Nøÿß ¬kÎÚ ß âU÷ ²Ï+Îß ¬kÎß àkÎß ¬kNøÿß àk æ² æNÂæþæôß ôkÆe·ŠÇÎß ¬kÎß àkÎú ß âUNøÿß ¬kw|*w l*Îß ªg7@ÏÀ-:ÏÀ%ÿÿôÀ2ÏtøÿÀEÿ7&ÏwL*w <*÷ Èÿ÷-ÏÏ÷ Ï7 àÁ÷ ìÇw(*w *÷  ÍÎ ß âU÷ @ó÷ Ü%7ÜÎÎ( ß âU÷ ÎÎ ß ¬kÎö¾ß àk ææß ôk–%·Š@ÆÎC ß âU÷ Pÿ÷-šÎšÎ÷ –Î ÷ ŒÇÎÂæß ªÖ Àw¤) üw �)DÆå$÷ ÒÚ÷ €àß jÀ ÷ öß ß ²IFÄ Î\ ß âU÷ ÞßÁì7  þyôˋ΂ Ãò Ë‹ Η ÃÂˋή ß âU÷ fÀ æÃ ß âUÖ Î&æ ß ª–%÷ èÊ÷ h÷ ìßß jÀ Â÷ ŠÇwæ(ß òLÀ æà ß âUÖ CÃeÚÿ@ÀeøÿÀ ‡Îß âUß òL�÷ $ßß òLÀ ë7jÍ Š5ŠøÿCÃeÚÿÎæ" ß ÐLÖ À Îß ²I¹Î®æß ÐLÖ À Ë¥nó¥oÃeµŠøÿÂ¶Î¦ß ÐLÖ À Î¦ß ÐLÖ À Âe Ê íÊ Îæ<ß âUÖ ÷ |÷ þÞÀ%?÷ xÞŽß ôI_>Gõ‹øÿ ò‹Žætß âUÖ €œ ƒ_>GÀ xüÀA�øÿ@à2_>GÄ Ú÷ ôÀ Ö÷ ÞÀ%=Žæ�ß âUÖ ÷ †Þß \MÀ Î¿ß âU õ Öÿ÷ hÞÀ%0Â%BõÖÿupÖÿf÷ ÎÝ€eÄeÐÿ÷ >Þß \MÀ ï2_>GÄ š÷ tÀ –÷  ÝÀ%=Žæöß âUÖ CÃeÚÿ @ÀeøÿÀ ‡Îß âU÷ pÝ�÷ 6À ð Šò¥NÎeÚÿß œM_>GNÎeÚÿ¦ß À:Ö ò_>Gw ¬&÷ ¨Ýß &D� ‚À x ô æ, æ- æ& ß –e–% Î0 ß –eÎ¾ß dJ÷ Î÷ èÇwü%Ä%Bï&æ6 å&æ= ßw Î%DÄ týÿÀEàß dJÀEøÿÀU0ß gw®%w ž%Ķ ô¥ô‹4Äe Ì òw„%w t%æ ÷‹ÒÁ÷ Ä 7ŠzÆAwpʽuÄPÆÄ-NÆI‡ß ¦5Î2 ß pR@�Àå<  ‚À xD ÷‹"Â&ŽNmß $R7ÆÎ2 ß RR5øÿß $MÀ`À%0‚ÎBß âUNøÿæß À:Ö Î2ß ;ß üÄe¿ ûBí ŽÒÀ2ÑwÄ$w ´$ÆåÎæß ªnÖ  ß àkÎ{ß âU ß ¬k fß mÖ À ªÌ÷‹ÔÀΪæß ªnÖ ß àkß ¬k·†Ìõ `Nß œ/[· "ÑÃ�¨ÀNÎeîÿ& ß ølÖ À  À7�ŠÀ5ŠìÿNÎeôÿß \g÷ ÷‹hÀΪæß ªnÖ õ‹ìÿ µŠìÿÎæß RÖ ÷%ºÐ ß ¬kß àkß ¬k÷ ¢ÐNÎeôÿß ng÷ ú÷�À ß ¬kß àkß ¬k÷ zÐNÎeôÿß ngw”#w „# „ ÷ þÙ÷ vÚß ×Â% Â%ÿÿÎÜß âUÄ´€Á€ 7èº þyΔ ÷ †×&ß ¾/Ö À ÷ úÖÄ%‚7ŠèÌÎß âU”�÷ àÖÂ%|ÚŽß jÀ Õ ŠÄ´@�øÿ&æ˜ ß nP–%w: CÃe’ÿË‹7ŠžÌÎCß âUµŠøÿË‹ØÄ%΃ԔùÃò Ë‹7ŠxÌÎlÃÂË‹7ŠfÌÎ—ß âUµŠøÿË‹¼Ä%²ƒÀ”ÀU€�öw Ä÷ 6¼÷-0¼0¼÷(¼(¼÷ z·Î¹ß âU÷ NΛ ß üVß –e÷ €Á÷ j·õ‹÷‹úËÎÕß âUδæÅ ß ªÖ ÷ TÁÎæß ªnÖ ÷ &7&Ä æß ªnÖ Îôß âU÷ Ä$Î¨Âæß ªnÖ ÎœÂæß ªnÖ  ffæÊ æb·ß ôkÆe·Šf»ÎR·æß âUÖ ÷ pôæß ªnÖ ÷ ²¶ÎÍ ß –e÷ ¶À÷ Æ÷ 2áwÂw ²DÄ Ä0 &ß žQÖ w¤w ”DCæ õ ºøÿ÷öQº7 hÃÄ �4Š ß gÄ ´�à À”ß gË‹úwøÿâ¹À2ÃwLw <@�ÁÐ 7̸ þy÷eÃ÷E Ãw$· Ãûw DÃ2Ó• ÄåÄ%øÓ• Ä Ä ûÀwðw àD„ “ß TÀr¾Àe7x¾7r¾7Št¾I÷-b¾^¾‚Îß >nÀ%ÿÿ÷‹¦¹ õ%> ÷0¾B¾À,¾Àe78¾Îß âU÷e"¾µ øÿľÄeÃe÷e¾÷e ¾÷eú½÷eö½Âî½#„ ý‡ Žß üõ%P'· ¢Á÷ <çý À ³@øÿwÆw ¶÷‹¹7ŠÂ½À¤½7¶½7°½w¨w ˜ÆåÁ–½Á팽@€ r5öþõð½øþ÷‹Ú¸Î8ß âU÷ 8Í÷ „Í÷ ÄÍ÷ Ôø÷ ÜÒÎß jÀ ÎZß âU æß °=Ö ÎªæTæþß E–%DÄeúþ÷ ¢ÒÃ% )ÀÁð 7ʶ þyÎ‘ß âU÷ |ÒÀÁä 7ž¶ þy÷ºÀÔ�@Àeøÿ!Ù‡Î¥ß âUÔÔ•\ò÷šÀ÷ ì¹Ô�Š÷•¸Â°¼ÊEÂ- ¼ ‚Â-œ¼ ‡Ž& ß òAÖ @-ÊUÂeÂ-†¼é†÷ ìÂx¼Ê5ÊE·j¼@Àeúþ7x¼Îæß RÖ ÂJ¼ÂeÂ-H¼æ†7Š ·÷•«wøþ¤¼Nöþß Ä;÷ÿÿ´¯w*w D÷•&¼÷¼¼Â ¼ÂeCÂ-¼‚Îß >nÀ%ÿÿÎÕß âU÷eä»Ò!ì†÷•ä»@Àeþÿ7лwÌ»Àe7Ä»€Àeþÿ7°»w°w  Î𻿔»ß UÖ wšw ŠÎŒ»æ„»ß UÖ w„w t æV­ß mÖ 7~»÷ R¼÷ ”Áw`w PD &æ^»ß †n–%Ä2 ΀&æJ»ß n–%À%Ä ÷‹¿÷•¿÷ ¼÷ Ú¸÷‹t¶7Šn¶÷ Ü·÷ ª÷‹\¶÷ RÁ÷ Â7ŠN¶7ŠL¶N ff&÷ ˜Ö &ß ªÆe÷ Œ÷‹2¶Îß (p÷ XÄÎ& & ß †n–%÷‹¶÷ (®7Šöµ7 ªº÷%ÿÿ®÷ Ð÷% ®õ7 L¾÷•6©÷ €ºÎzºß ¬k÷ÿÿpº÷ žw\w L÷ ±Î ß –ewFw 6Dæ2ß À:Ö  Šƒ Ë‹À’Áü 7Ô³ þy÷ бîË• ì÷ ~±èÀ€ wôw ä÷‹Vº Îß f÷Jº¸½Îß |7Š:ºwÌw ¼ÆåÎ fÎeøýß À:Ö NÎeøýß ú:÷ õ÷ ”Ïß jÀ Î" fÎeøýß Ø:Ö !Ä ÷ pÏß jÀ ÷ æÎ�÷ \Ïß w .÷ RÄÀNÄw.w ÿ¥MŒ¸÷ 0Ç÷-¸ ¸Î¸ÎeþÿÎú·Îeß !÷ öÆ÷ NÈ÷ fÈÎR¸æôß âUÖ ÷ µÿ¥M<¸& æß †YÖ ÷ Èáw¼w ¬æ DÁ ·Áíš·@€ r€ 5øÿõ‹÷‚·®ÃÆ·ÎÃeæÚZß  RÖ Âr· Âd·Ã^·ÓEƒ ü†ÃP·ÂeÄ ;ƒÀeÀ õ‹Îß âU�Áà@€ rÀ a7$·ÄeÄ 'Î&ß ¾ZÖ Žæß ¾ZÖ Ž&7þ¶ÄeŽæß ¾ZÖ ¦ß ¾ZÖ æß ¾ZÖ „ êƒÎ;ß âU÷ ’³÷‹&²"õ‹@Àe7¾¶@øÿÀ Àm´¶7²¶÷ ·÷•ª¶÷Œ¶ž¶÷ˆ¶š¶w�¶÷„¶„¶w„w tDC ”Â!û‡whw X÷-R¶|†ÀÿÿwTÎnÂ÷ehÂß ¦5 õw 2÷-6¶V†Àÿÿw.ÎHÂ÷eBÂß ¦5÷e8 òw ÷ ^ú÷•¶÷ àww ðÁôµÁíîµ@€ rÀàµÀe7üÁÎ̵æ[ß  RÖ ß æ;wÆw ¶ÎQß âUw¶w ¦Æå& æ² ß mÖ 7ªµõ¥e À÷%®¼ Á@0· "¬÷ >Ü÷ ¬_Î\NÎeÖÿæhµß (lÖ À ÷ Ü@ÚÿÀEÿŸÁJ 7N¯ þyÎìß âUÎ6µß fÀ Îß âUõ¥ãÿõ¥âÿKÎ ß âUÎ%ß âUÎfÎeÔÿæø´ß n–% & æè´ß †n–%Ä%.@ÔÿÁ* 7º® þyÎ1ß âUÎAß âUÎVß âUÎcß âUÎvß âUÎŒß âUÎ–ß âUõ5€€ÔÿÎ¤ß âUõ¥r ÷ |Ä÷ @�ß ]wV÷ NÃôw @÷ ¾´÷ J×Î2´æ€6ß  RÖ w2w "÷ X×À õ¥e· Ȫõ¥e÷•´÷‹h¯7Šb¯÷ аwúw êÆå÷‹F¯Îéß âUõ‹÷ È÷ –°÷¥Ú³=Ã̳ÁÁíʳ@€ r÷¦³Ã´³À À`7–³ÀÀeþÿ7ž³Ãe÷‚³Á”³wŒ³Á튳@€ rÀ À`7h³Âv³Îp³& ß †YÖ ·Z³÷f ij÷ `Ý__õH³ôÿÁD³Áí:³@€ r5òÿõ0³öÿÀ*³Àe5øÿÂ*³Ã$³€Àà@€ r!Žæß ¾ZÖ Nøÿ¦ß ¾ZÖ Nøÿæß ¾ZÖ ÷ 겂À 7àà²À 5àöÿÀÀeþÿ7IJÃʲÃe¼²�Áí´²@€ r#C-øÿNøÿæß ¾ZÖ ÂeŽføÿß ¾ZÖ Žæß ¾ZÖ ÷ ‚²‚À 7`x²÷h²À 5`öÿÀh²Àeþÿ7^²÷\²À À`7T²wöÿB²Nòÿß Ä;÷¥D²÷<²*²wôÿ4²÷-²²÷-²²÷²²ww À�² 7‚À x^ ÷-²ü±4÷-î±ê±,/Áâ±ÁíØ±@€ r&ÁÒ±Áí̱@€ r€%ĸ±Ã¸±ÃeÄ-°±‡ÀEÁÁE@ ÄeðÎß âUÎß âUwŠw zÆå$  ÷ nÇÀ%!ƒ ÷ æÆ÷ Öì÷ ÚÆ„ ÷ Èì÷ LÇÀ%>öÄ  ÷ :Çß jÀ 뻧 âUÄ Ä%ÎÊß âUÎwß n% ƒ_aÀ xl à V÷ ®§ÎÂæ² ß ÐLÖ À ÷-Þ°Ö°÷-ڰаBÎß âU=NÎeÖÿæ² ß ZpÖ À 3@ÚÿÀEÿŸÀ% õ¥ãÿõ‹âÿ%õ¥ãÿõ¥âÿÎæ² ß mÖ 7Œ°÷ H×΂°ß fÀ β æZß âUÖ Îh°ß ¬k÷ ‚ØÎX§æ² ß ÂkÖ 7N°÷ ×÷ Ö÷ bÓÄ%÷- °°÷-°°ÎÂæ² ß ÐLÖ À ÷´¦÷ Ô¬wþÎæ² ß mÖ 7ø¯ Î& æì¯ß †n–%À Íà ɼw À÷ À÷‹«÷ ô7ŠÄ¯Ä¦¯ 7¨¯ß ¦5Î2 æ2ß À:Ö @�&ý Ö Î2æ2 ß ÐLÖ À ß üÄeÄ-b¯Ý†wjw Z Ã2 Ä2Ì¥ Ã%0 ƒÓ• ‚ Â5÷ Ã%0‚Î�ß âU“‚ „ Ì‹çŠw"w æ 5 øÿ Ä2Ã2 “Ár 78© þyÂeÂE.@øÿÀeÀE€ @øÿ€ € Ó• õeøÿõEøÿêµ øÿÓ• µ øÿøÌ‹õ‹æß À:Ö wž “µ øÿ‚ „ Âw ‚ w�ªº÷ €¾7Š º7Š º÷ ðÄÁ~ 7²¨ þy ÷•€º÷ Î÷Švº÷ BÄ€ ø÷ ¾Ã ÁWp CÀeÐÿ` ·ŠLº ß \MÀ ÃeÐÿ÷ ŒÃß \MÀ ãÃ-˜¥·ŠºÂ%= Ãe Â%ÿÿÀ6¥Àv¥Ä%ÿÿ7¤±÷ öª÷À­¼­÷ ļŽæß ˆcÖ wº w ª DC� À�Áš 7¨ þy ÷-�­†­ÎÄß âU÷-€­v­ÎÍß âUÁ�š¹DpÁ w``­÷-d­Z­†ÎÕß âU÷eJ­÷F­B­À À 7`:­÷6­:­÷-2­,­‡÷,­$­÷-*­ ­†÷"­­÷-­­†÷­­÷-­­†_8eÁú¬Áíô¬@€ rÀ%÷ ̲À�À%ÿÿD÷‹¹AÎÐ¬ß ¦5Î�ß g÷•2¨?Ä „ Ã¥=Ä À®¬Á @à7¢¬Ã¥=š¬·œ¬À 7`Ž¬Ã¥.ª÷ V¼¤Á�°¸DpÁ wàv¬÷-v¬p¬ƒÎáß âUÄ À`¬Á @à7T¬�÷‹~¸÷ J°Îšß g  ¦Îeþÿæ.¬ß (–%÷ . ¦¦ß (–%÷ €Àe7 ¬ æ¬æ¬ß (–%w w ö ÷%è¥ÀHÀø¤Ã2 Ó•-Ä Ä û ŠÎ2 æ¶ ß –eÖ wÊ w º 7Šâ·Î=fß ˆcÖ ÷ nw¬ w œ Æå~w$¸DÄeÀŸ¸ · ¸ %ß gôw| 7 ¸÷wô·ƒÃeÁº Bí üJ  Ó•-ׯҷd· Ê·÷ F r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „( À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à • à ÁF· Ò‹ƒ D~‚Âeƒà&æ Ä Ãm·ß gÃ~Ä Ž”ß gà Î ß gÃ~Ö „wÖþ ÀŸî¶· ê¶Àå0 úÿ ‚Wp `îÀe0ƒ÷ R±w"«¤À¤¾¤À¶¤÷¨°¤‡Àª¤÷B¤¤‡÷° ¤‡÷ J¹w*§÷ Dºwž§÷Ö†¤‡w|¶·z¶·x¶ ‡€Ðh¶Ðh¶Ðb¶‡€7V¶7V¶7P¶‡w ²@w#@¶ EûÆ:¶Å2¶Î0¶‡õ*¶w˜f…‰†wÄ}…‡w tÆåwœµNÎeôýæÔ ß FlÖ Àÿÿ  ŠÂ%ÿÿ Nôýß ¬k wFDD-ï†ô¥\ÿÿëÄ NÎeôýß ªlÂ%ÿÿáÂ% ì”�òNß HhÀ áNôýß ¬kÀØw êõ-Ë¥:,D Ë¥| Ë¥: £ƒ „ Ì‹ôÌ‹ Ë¥|Ë¥:Ë‹Àw°Ë‹Ë¥:Ë¥|ƒ öË‹ƒ Ë‹Ñ íw ~DC Ì¥:„ Ì‹úÌ¥:„ à à ÷w`w PÎæz´ß ´hÖ Ê‹Àÿÿ'R¯&Ê‹$€”AAœ@ Ê¥#‚ à ʥ0à ʥ9 CpD€”ÀeÐÿ`Ê¥0ówðΦÊw ØÎæ´ß ´hÖ Ì‹ T¯ Ì‹ @0£Àw°Î&æw ˜ÎæÂ³ß ´hÖ Ê‹ R¯Ê‹€”AAœ@ Ê¥= ‚ N¦ß îiÖ w\ΦÜw DDæ C•TÂ%:Q€Àå\  ‚À x Ì¥aÌ¥z•ÂEàÿ“�ç“ rÁ Áeà A! þy„ Âì „ è û øÂõÌ¥0Ì¥9 õøÿ—t•ÀeÐÿPõ øÿÌÌ¥0ÉÌ¥9ñÅ̋ÕÁŠDýwŠw z æ ß mÖ ' @�t&&ß †n–%À Î æj&ß n–%À% 7 l²÷•/h²7Še²÷unz²ß ¬k w(ß ¬kÀÿÿøw Àlww À0²ww ôÀB²wøw èÀ6²ÀEÿ7�x²À*²tøÿÀEÿ7�i²ÀÒwÐf…wª ‰$ †wô …‡f…w” w� ‰( †wÔ …‡f…@‰†w¾ …‡f…wd w` ‰. †wž…‡f…@)‰†wŠ…‡f…w8 @Àe70 ‰4 wjf…‰†w\7´± …‡f…@w ‰: †w: …‡f…wðŸ‰> J‡A …‡7 ¬f…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7rŸ1@‰D ‡À �1‡wŒf…‰…‡f…@wFŸ‰J †wj …‡f…w0Ÿw,Ÿ‰N †wJ…‡f…*‰†w:¦BJ ‚…‡f…wúžAɉT T‡  Rf…Añ ÷ ^ñ y�± ñ ÷ Fñ y�± @3f…Añ ÷ ñ @9�± !f…A÷ @Àe&7pžwlž7àfž@‰Z †7Ô¯±ñ‡wf7 Rª…‡f…@w8žw4ž‰` †w@…‡f…÷$ž žwmž‰f †w"Àžwmž…‡f…wø�‰f †wwê� …‡f…@wÚ�wÖ�‰l †wÖ …‡f…AW †@w´�Á fÚ1Ú7¨� À5Á Á Áeow”�‰r ‡À5€…‡À& Ö wx&ÀÒ®L&ÀÌ®H&ÀÆ®D&ÀÀ®@&Àº®<&À´®8&À®®4&À¨®0&À¢®,&Àœ®(&À–®$&À�® &ÀŠ®&À„®&À~®&Àx®&Àr® &Àl®&Àf®&À`®f¦æ&È „ƒ‚�€f…@w´œ‰x †wª …‡f… ‰¦BR‚…‡f…wˆœ‰| †wz …‡f…@wnœwjœ‰€ †wV…‡f…÷ X@‰@…&æ¦È B„ƒ‚F…‡f…‰…‡f…w$œw œ‰† †w …‡7ì§ÀÿÿF…‡‡f…@÷ …‡ ÷xˆ­æ ‰"‡ÎV­‰Œ ‡@‰‡ À$ô$ttñ¤yîЋì¢é7˜@­@‰Ö À�6­‡anoprþÎ œUnknown option %s Recover which file? unchangeprintrecoverpreservereaddho®¸rT\|6$<cxŠD’ î î z cswÒ ¾ ¨ H ehoyŠ ¤ À à ô † ¸ ¸ ¸ ¨ âìö&2<    q   ¬ ^D N ô ¬ ¼^0r ¬ ô vø Ä ¬ N¢Ø ¬ V hf ä ¬ ˜ d ü ¬ Z ( 0 ˆ† ¬  Väv ¶¬ 0 B œ¨²/68¸n¦� ²¸n¬š�ÿÿ |‚‚�–args%6d %s appendcommentCopycdchdirdeleteexpandexechoeditfileglobalinsertjoinmarkMoveopenlistputnumbernextquitrewindresetsetshell-isourcesyncsubstitutetabulateTranscribeundoversion%s visualvwritexpandyank%d helpError message file not available /usr/lib/ex1.1stringsûû  òª¾ì^~žø ŠÌÆæðö€ˆ �jjf ˜�˜¦({)}!|^~'`%6d %s%s ˆ&s~6îX~z���t~ðÿÿ &\~,,6Þ6ô&ELUelu°’Òè’ÆÚ&Version 1.1, February 1, 1978$'./?\""""&"""""""6"(4B./#È!¼"d"v"j"#È!Â"Z"j"v"v"%\`~$.$p$8$cHca%Ô$^%=xx&axxcyyYOOPS`&\&"%s" [Edited] [Modified]No file %d lin%c@in buffer ä)à)î)CTRL(H) discarded   %4d */?[à-r-ô-î-^-æ-6/>/[?*"%s"ì/00 _Ì0l0¸0Š0ÿ/dev/ttyxu//.exrcÿÿ/ExXXXXXZdp  z828J8b8r8z8:8B8R8Z8j8PANIC: "%s": %d/%ld %d line%s, %ld character%ss (%ld null, %ld dirtys[Incomplete last line] SYNC error:%d lines %c%smoreless%d %s lines@in file after %s%d subs|%d substitutions on %d lines%d files@to edit Î<æ<ð<ö<&/?">ü=ü=:>()<>CFCŒCxDþC>D]-^\/usr/lib/exrecover/usr/lib/expreserveFile "%s" preserved. Please seek help immediately. /bin/sh/tmpunknown@notify  * - ¬6 @ pD L O ¬V a d ¬i ¬Œn ¬s ~ � Œ � ¬” ¬š ¬¤¤®¬Ÿ ¬¦ ¬« ¬´ ½ À ¬Ç ¬ Î Ô R× â å ¬ì ô Žø ¬þ  ¬ ¬!%`ðF GþF\GxHŠH I IÔIÔIèI JFJXJXJautoindentaiautoprintapbeautifydirectorydireditanyeaeditederrorbellsebforkhomehushignorecaseicindicateuliulistmagicmodenumberopenoptimizeprintallpapromptscrollshellshshiftwidthswstickyttytypettytersevisualmessagevmwindowwrap%c=%s all%s%s nomode=%s=%d %s=%s dKK Kèunun|unknown:0:0:?licocaambsosclndupce!%\`PBP¨O0PÂO%`!-c[No write] |[No write since last change] !%s sh! RR ŒR–RšR \VTRTlTÿÿ\2T:TVT@|4W@WWERROR‡‡/usr/lib/how_ex/help%seÿmÿ ®\¶\†\Ž\–\ž\¦\¾\ @`H\\@\ \Î\D_´_V_¤_move:`aDa FbªbPbÿÿ+-.=^cðbðbøbøbàbcÿÿ+-.=^¨c¸c²dvdvd²dêc%s æedrfc€fsòelBÖØ/etc/ttycapè î ô þ & $&ljJjZjlj¤j¤jlj¤jfjRj`j.j*jj/etc/htmp ‰‰‰ ‰‰‰‰ ‰‰‰¶‰‰‰,‰0‰‰ ‰‰‰/devcrt0ostartex.o ~main oopøÿnopöÿiniteôÿreenteròÿaxargv0c~onintrª~rewindÒ~initìiex_cmds.R_pflagŒ_nflagŽ_kflag�_poffset’~commandRnopromptexitoneoaddrcplchngflaøÿcntöÿhadprôÿ~quicklyÔ ~change~sync~plines(adr1adr2movedotaddr~newlinefc~eolâ~resetfl~setflav$~endcmdjch~tailspešcfoocmd”~tail®comm~tail2ofÈcomm~tailofÞcommicpccommandæÿ~exclamjexd.oŒ~deleteŒ~deleted¶a1a2a3~deletema1a2radsavintøÿ~deleten¸ex_put.oÖ~termchaÖc~flush*~flush1:lpcpc~putSTcp~flush2x~fgotoŒlc~setcolâcoldel~motionFvhc~plodÎi~partinpÂ~noteinpÖ~notechi~pstart~pstopr~termres˜~drainoÔ~ostartê~ostop2~flushoF~putnlV~gTTYfi~sTTY|i~putch’cex_print¨~listcha¨c~normchaBccolp~numblin°i~normlinØ~slobbertc~lprintfªa1a2a3Pexv.oÎ~vopÎ~undiddlÞexs.oþ~substitþcaddrnmarkpgsubføÿ~compsubÌchseofcpgsubføÿ~comprhs¤seofrporpcorhsbufúþ~getsub>p~dosubco^fa~confirm”acch~getch(cøÿ~ugoXcntwith~dosubvlpsprpcøÿ~fixcasešc~placeÎspl1l2~putmarküaddr~putmk1 addrnmarkpVersion.> ex_addr.> _bigmove–~setdot> ~setdot1T ~setcoun‚ cnt~getnumØ cnt~markDOT!~markpr!dot~notempt>!~setallV!~setnoad„!~nonzeroš!~address¶!addroffsetclastsignøÿ~scanforr#caddrex_args.ì#~getargsì#ccpfpdpøÿgpöÿex_ca.o¼$~cgoto¼$result˜ex_file.n%~filenamn%commcex_get.oº&_junkbs¢~getcharº&c~peekcha6'~getttyP'clpgphadupøÿhadnlöÿoffsetôÿ~backtabœ)ij~smunchÂ)colocpcp~spruce*ocpcpc~checkju0*c~setin^*addr~junkŽ*cex_glob.Ä*_gflag¤_av¦_string¨_strendª_ncoll¬_gpathp®_globbed°_entp²~globÄ*vg0oav~sort`+oavp1p2c~expand +ascssgpathpdirfentry´stbuffÖÿ~matchè,spcsentp~amatch$-asapspscccøÿccöÿokôÿlcòÿsgpathpðÿstbuffÌÿ~cat‚.as1as2s1s2~scanÈ.tfpc~tglobê.c~trim/c~getone/strgvöÿlpôÿGZü~filioerœ/cpoerrno~any¾/csxex_graphÜ/~dographÜ/lpc~doulg>0lpgpmaxgpøÿccswöÿcolôÿex_init..1~initopt.1fuidøÿttynoöÿrcioôÿHomeÌÿH~isetterp2typereenterøÿosetexitòÿ~gettmod®2stbufÖÿex_io.oÖ2~fileiniÖ2pijstbufÖÿserrnoÔÿdumbcntÒÿ~cleanup 4~onhup&4~clrstatH4~iostatsp4~pluralŒ5i~getline¦5tlbplpnlscratchúý~putlineü5bplpnltløÿscratchøý~getfile€6clpfp~putfile*7a1øÿfplpnib~wrerrorè7~ioerror8~getblocŒ8atliofbnooff~blkio89bbufiofcn~synctmpp9bpacnt~TSYNC¨:ex_libS.À:~strcpyÀ:otofromto~strcatØ:tofrom~strendú:cp~strcLIN;dpex_note.&;~notable&;i~killedJ;cnt~netchHAÄ;cnt~netchanæ;icp~snote0k~hsgettyJkttypeÒchdir.orkchmod.oŒkclose.o¬kcreat.oÂkdup.oàkdup)execl.oôkfork.olfstat.o(lgetc.oFlindirbadretêlfillÊlgetuid.oîlgtty.oølopen.ompipe.o4mpipe*putc.oRmbadretngoodretnflàmread.onsbrk.o>nndj seek.o†nsignal.oªnrttNSIGdvectÚtvectostty.o¸otime.oÖounlink.oìowrite.opexit.o(pcsv.o6pgetpid.oPpgetpidstat.oZpcerror.ozpcleanup.ˆpttyn.oŠpname*bufer1îpdevŒ erêpsavr5$Š_exit"(p_main" _G$’ _xargc0$” _xargv0$– _ruptibl$˜ _ingloba$š _inopen$œ _inconf$ž _listf$  _endline#_laste$¢ _intty$¤ _shudclo$¦ _diddle$¨ _die$ª _chngfla$¬ _xchngfl$® _tchngfl$° _file$² _altfile$ò _linebuf$2 _genbuf$2_addr1$2_addr2$4_zero$6_one$8_dot$:_dol$<_unddol$>_endcore$@_fendcor$B_unddel$D_undap1$F_undap2$H_undadot$J_undkind$L_io$N_erfile$P_tfile#H_globp$R_erpath#_names$T_outcol$Š_home$Œ_Command$ª_varbls#¶_normtty$¬_normf$®_obuf$°_oldhup$¶_oldquit$¸_header$º_dirtcnt$ _recov$ _TTYNAM#2_TMODE$_lastc#È_peekc$_aiflag$_pid$_rpid$_status$_tty$_allredr$ _pfast$"_mask#0_vcntcol$$_xargv$&_argv$(_xargc$*_argc$,_gargc$._vyancnt$0csv"6p_draino"Ô_helpini"¾U_onhup"&4_signal"ªn_sbrk">n_printf"–e_flush"*_rewind"Ò_setexit"Lg_onintr"ª_initopt".1_setterm"œM_notearg"x<_strcpy"À:_init"ì_command"R_error"âU_cleanup" 4_plural"Œ5_pstop"rcret"Bp_fileini"Ö2_brk"fn_TTY$2_CLEAR$4_NDSPACE$6_UPLINE$8_HSTR$:_CE$<_CA$>_AM$@_BS$B_OS$D_PT$F_NOCR$H_LINES#L _COLUMNS#J _UPPERCA$J_ttytype#Ž_outline$L_destcol$N_destlin$P_version#è_CHANGE#J_PRINT#R_RECOVER#X_PRESERV#`_READ#j_resetfl"_putchar"g_TSYNC"¨:_address"¶!_getchar"º&_tailspe"š_peekcha"6'_tail"®_setnoad"„!_exclam"j_newline"f_setdot"> _deleten"¸_setin"^*_gettty"P'_append" R_setdot1"T _tail2of"È_endcmd"j_move"Y_quickly"Ô _skipwh"®L_getone"/_chdir"rk_filioer"œ/_setCNL"4g_delete"Œ_appendn"|S_xpand"Øa_xop"ra_filenam"n%_sync"_rop"Œ[_putnl"V_global"šS_nonzero"š!_setcoun"‚ _join"bX_letter"òL_oop"|[_notempt">!_getline"¦5_plines"(_setlist"g_setflav"$_eol"â_PUT"B[_preserv"F_setnumb",g_getargs"ì#_glob"Ä*_setNAEO"0_dograph"Ü/_lprintf"ª_undiddl"Þ_chmod"Œk_re$T_scanre$þ_subre$¨_rhsbuf$R_loc1$R_loc2$T_locs$V_linebp$X_xflag$Z_gflag$\_scount$^_slines$`_stotal$b_compsub"Ì_save12"’U_dosubco"^_putmark"ü_getsub">_snote"0<_compile"°=_copy"E_comprhs"¤_strcLIN";_execute"òA_confirm"”_dosub"v_putNFL"g_column"€Q_ugo"X_getch"(_read"n_casecnt$d_destcas$f_place"Î_fixcase"š_putline"ü5_putmk1" _digit"\M_getnum"Ø _markpr"!_scanfor"r#_white"k_par_uid$Ö_getw"dl_putw"pm_fcreat"Rm_werflg$Ø_end$,__cleanu"ˆpttyn"šptent"¾g_tgetnum"âh_tgetfla"Zi_Tgetstr"BO_longnam"úN_tgetstr"ši_dingdon"æV_qcolumn"žQ_qcount"öQ_saveall"¨U_save"U_jcount$^_jnoop"Y_move1"†Y_tad1$`_getcopy"ÚZ_getPUT"[_fstat"(l_somecha"0__znoclea$b_zhadpr$d_zweight$f_zop2"ˆc_splitit"k_par_uid$Ö_getw"dl_putw"pm_fcreat"Rm_werflg$Ø_e€pr š€: ð€7lŒÐ 7hŒÆ%ü‚Æü·VŒww €oÆåÄJŒü¥a÷e Ö‚ð¥dð¥d7 ö‡÷܇7 ćÄe÷ Œ÷ T÷ ÀTβ3æß nÖ 7“Îæß nÖ 7“Îæß nÖ À5 À7�È‹ ß ¬m7h�5Šøÿ5Šöÿ4÷.‡7 Ú†7 €‡õ•öÿ%À x€7 ‚‡·Š”õ•øÿü¥-œà ßÀÀån äƒÎð“æ€ß eÖ ÷ î÷ L‹Äe÷ D‹á÷‹¶“ ÷ 8‹Î#€ß e÷ È7Šž“7$‹÷ v5Šòÿ÷ \eõ‹òÿµŠòÿ÷‹ ‹Î¤æß nÖ õ‹öÿ@�øÿß º0Î8€ß M÷ j:÷ n“÷ J“÷ ƒ÷\“X“÷ V“÷ P“÷ â‘΢“æÒŒß L:Ö Î2“æ¢“ß L:Ö õ•þÿôÿ÷ þ÷ Îdõ‹ôÿµŠôÿ @�ôÿ&ß LÖ Àå ‚À x €÷ ô’¾7 ì’÷ €‘΢“æÒŒß L:Ö 7 l‘÷ ¬Îß PU´÷ Ä’÷-¼’¼’÷ B1 ß –o÷¬’¨’÷ <‘΢“æÒŒß L:Ö 7 (‘÷ hΊ’ß 5怒& ß PU–%«÷ r’Á÷ed’„w ülΤæß nÖ ÷  ÷ ì�Î/ß PUwälw ÔlÀ ‰74’7.’÷–‰$’wÊlw ºl÷ t/Î0ŽÎeß ÔmÀ$Ž7Ž7Ž7ŽÀŽÀe7Ž÷•ŽÀŽÀeüÿ7ø�7 `‰7  „ À ð4‘„ Ä%÷7 È‘wdlw TlÆå÷ ” õ0‰øÿõ%ÿÿ_à5 Ãe÷‹v‘_²7Šl‘_Ü ÷ …÷ ^ õúˆøÿ÷‹âˆ÷ t÷ V„÷ ¾„÷ „�õ ÷‹Êˆ ÷‹@| Î:ß vfõ•ôÿ÷ >÷ \67 8�÷4�0�÷ ¸÷ Z"Ä Ã%,%Ä�7�Ã%;Ã,7 �Ã%,ä÷ úŒ÷öŒòŒÎß ‚À r Á ÁeÀ€A! þyZ÷ ÌŒæ÷Όƌâ÷ n"À%r(ÎÊ�ß –÷  ÷ æ À ÈÃí’�÷ Ò Ã-ô‡/ÀÀ Àmì‡ÀÁâ‡Áít�@à€ &æÏ�ß e–%ƒ éÎØ�ß –÷ p÷ ˜ 7�4�÷ Œ ÷ Ú ÎJŒß ê)æÜ&ß RÖ õ®‡øÿ7Š¢‡÷‹„˜õ-ž‡øÿ_„÷ ®‚_„÷‹v‡_„÷‹òz_„7ŠT˜õp‡øÿ÷-ô‹ø‹_„ÀD˜À Àmæ‹7Ü‹7Ö‹À-Ø‹‚À-Ö‹†ÎÜß PU÷ è_¬ ÷ f!Áb€7{ þy÷ Ö ÷ N!À%mÎß�ß °÷ À Ã%|úÎß RÀ õ£Îç�ß °÷ ÜRœÎì�ß – ÷ � ÷ !À%d(Îï�ß °÷ PF÷ ò ß RÀ ÷ pÂl‘÷ Â(Â’ŒŽß àjÀ Žß (/÷¥/�†_à7 Ä�_àÎ<€ß °÷ 6 7�ÒŽ÷ ~`ÎêŠß ê)÷ D ÎÞŠÎeþÿ_ÐÎ<€ß –éÎõ�ß –÷ P`÷  ÷ �L_à÷ ` Á~€7z þy÷ Ð÷ H À%p Îü�ß °÷ `ÎFaß à`_àÎ‚ß °÷ ® À ÷ à…ÃEÎß ú$Ã%E÷ê},Ž÷ ô÷  ÷ ü÷BŠ>зЍ…÷ Îß úZ_ÚÎ‚ß –÷ (E÷ NÀÁr€7ry þy÷ .Îß RÀ í_à÷ $Îß vfòÎ ‚ß –µÎ‚ß –÷ *Îß ú$÷ ò_àÎ‚ß –÷ öÀ  Îß S_ÚÎ‚ß –÷ ª÷ ÷ Î7�j�÷ Â÷  ΀‰ß ê)Îx‰ÎeþÿæÜ&ß RÖ ÷-h‰j‰_Ú÷-\‰`‰‡_Ú÷R‰R‰_ÚÎ#‚ß –÷ z÷ Œ÷  ÷ h÷-*‰&‰÷-*‰‰ ÷-‰ ‰Îß PU÷e‰Îß ÐW_à÷ ¦À%a.Î(‚ß –÷ îC÷ Îß RÀ ÎH‰æUß PUÖ ÷ þÎß `LÀ Î~ß PU÷ À÷ ÀÀ Á¢ˆÁEpr�_àÎ-‚ß –_¢Î2‚ß –÷ TR7ŠÒ”_Ú7Š^w÷•Vw÷ x÷ bˆ÷-dˆ`ˆÎ£ß PU÷ PŒÃ% ÷‹¦ƒÃ À<ˆÀe7.ˆ÷*ˆ&ˆ÷ 6÷ ŽÎˆß 25Ã% Î‹ß vfõ‹ôÿ÷•pƒÎæö‡æð‡ß –%_àÎ7‚ß –÷ j]÷ F]5÷ `]÷•(”÷ À-÷ pÀår =‚À xŠ€Î<‚ß –÷ ¸÷ X÷ :Q_à÷ È÷ @À%e ÎR€ß °÷ 6÷ ð;_àÎD€ß °÷ ú\7ŠÀ“÷ Ò÷ `‹°ÁZ‡ÁíT‡@€ rÀ-b€¥Îšß vf ÎD€ß –â÷ ÞÀ%u Î@‚ß –÷ ¬\÷  \ÖÎG‚ß –÷ d÷ °÷ ÄÀ ÷”zÖŠÀwŽeÎL‚æ�ß P*Ö ÷ÚŠ>‚À8‚Àe 74‚÷ †øÀéÎL‚ß –÷ ÷ `÷ hà 7 ¢Š Ø÷ PÀ%ea÷ Ê÷ BÁ’€7v þyÎQ‚ß °÷ Ð÷ ÷ ªÎÎX‚ß °÷ ø[÷ L?_àÎJ€ß °÷ ¦Ãe÷ „À ÷ ¶�ÃEÎß ú$Ã%E÷ÀyŠ÷ Ê÷ ð÷÷††·Š‚�÷ ø÷ „9÷ TQ÷ T:÷ ä‰Îß ~\÷-ö…ú…_Ú÷ ¾_ÚÎ\€ß °Î\€ß –÷ \ˆ÷-Ê…Î…ÃeÎß ú$_Þ÷ `Á¢€7@u þyÎ^‚ß –÷ î÷ š@ß F_àÎb‚ß –÷ [ & æh‚ß ÜO_& Îk‚ß –÷ ¸÷ ò" æ’Œß ìJÖ _àÎr‚ß –÷ ÖZ÷ $-_à÷w‚¨…Ã%sΞ…ß –Îß æÀ _à7Šj‘_à÷ ¸À%a΂‚ß –÷ 6÷ €ZÎæŽaß à`Ê΋‚_‚Ζ‚ß –÷ *÷ ¨÷ ÷ þÎß ¶\_à÷ dÀåe ‚À x¶€Î›‚ß –÷ 0ZÎÚƒæ£‚ß eÖ ÷ †_àΧ‚ß –÷ _–ή‚ß –_`ΰ‚ß –÷ †÷ jR_Úζ‚ß –_ˆÎ¼‚ß –÷ ’÷ î÷ ºM_à÷ 6UŠ÷ `÷ LÁ„Áí„@€ ræÁ‚ß e_ ÷ ²A_àõöÿ÷ "µ öÿ÷ –À ø÷ nYNöÿæß ,J_ õ‹_j  ß NÀ%ÿÿ_j ÷-¶ƒºƒ÷ Ö ÷ º÷ÿÿ~‡@�ôÿß b_àÎÅ‚ß –÷ à÷ TI_àÎß `LÀ ÷N‡ æÊ‚ß ÆÖ Îæºß PU_ w äa÷ ŽÀ Àwàa÷ ¸~7 ²~7 °~Îàß PU ñw ¶a· ž~÷š~”~w´aw ¤a7 ˆ~7 ˆ~7 ‚~w aw �aDCÎß 25ÁÁíì‚@€ rß ~fõ‹÷Ø‚Ãe!ê†wbaw Ra÷ –÷ ì rÁ Áeˆ�A! þy÷ öŽ·ŠìŽê· ìŽú·Šô}÷·ŠÞŽô·ŠÖŽñ7Šâ}îß RÀ ÎÜ‚æüß PUÖ Ä%ÿÿ7.†÷ Fwæ`w Ö`÷ J=÷ pß RÀ Î1ß PUwÄ`w ´`7ŠŒ}7ŠxŽ7ŠrŽ7ŠlŽ7 nŽ÷ w¤`w ”`÷‹ZŽ÷‹VŽ÷ y÷ tW÷À„|÷‹N}÷‹8Ž÷ Øx÷ >W÷ DW÷ dWw^`w N`@Áº�7^r þy÷•�pÀw8`7Š„pù ùw `w�è�÷t�ø�w`w `Îfß ÆÖ @w`w ð_Îfß ÆÖ wê_w Ú_DÆå7´�CÃeæÿ•õ õ ú ÷ Ò“@ ÷ L�„ Ì‹õ÷ ¼Žß `LÀ Â%lÂ%p÷ $�@ÀeùÿÀ †÷ �ß `LÀ ñ ŠNÎeæÿæaß PUÖ w^_w N_÷ Â;÷ dÀ%!÷ ÞÀw@_ üw ,_÷ ÷ jý÷‹ö{÷‹ò{÷ t÷ ÷ <*w_w _Äl€Ãj€ÃeÂl€Áá@€ rÀ 7àZ€Áá@€ rÀ 7àR€Áá@€ rÀ 7à4€Ôƒ ý†Ä €Ä-&€†Ä €7€w¬^w œ^æ Îæß nÖ 5øÿ7Š €Äî÷ôôÃæÀÃeÀ-äÎ&ß ,ZÖ ÎÔÎeæß ,ZÖ ÎÄÎe&ß ,ZÖ Áá@€ rÀ 7à¦Àeþÿ7¤Ä-˜†Ä’7ŒNøÿæß nÖ w^w ^÷‹Òz7Š~÷jj÷Zjwò]w â]÷‹<ƒ÷‹fƒ÷ 2õ¥ ÷•Rƒ÷% ƒ&q‚÷ 4�q· qõ¥ ÷‹þ‚÷ j÷ wž]w Ž]÷ ÷ BwŽ]w ~]?ŠäpÄÌ‚_.•€Áƒ7âp þyÁä‚À 7rÚw7`Ü‚<÷ Ô‚_.÷ Ê‚d÷ ª‚aΤ‚ß <7 ò~7 °‚7 ®‚7 ¬‚T÷ Òu*· ž‚N÷ Æu$÷e�‚÷EŠ‚DÁ„‚À 7rzw€ 7`z‚÷ t‚ Án‚À 7rdwÁ ÷ b‚7 \‚-÷ X‚*÷ ~u»÷ �÷‹8‚÷-÷ Vÿw‚Ww rWÎ�‘ß @mwrWw bWÎ ß vfwbWw RWÎú”fß flÖ wLWw Ä<÷‹h|Î-ß zfÎß zfß *wØVÎ$öÄ5€õÄ% Ä% Ä%ìÎ\ß zfÄ%Î1ß zfÄ?týÿÀe0ß zfÄEøÿÄe0Òw vVDÄEÿÄ5€ ÁFƒ7j þyÄE€ÿ÷‹Ô{ ß êLÀ Î\ß zfß `Lß zfw4VÃfƒÓ‹÷À”!ûÎ\ß zfÄœþÿíw V÷‹ærÎ ß \Næqƒß eÖ ÷ wðUw àU÷‹¾rÀ�Dsß \÷%�Ôq÷ |nÎ�æwƒ)÷ n÷‹†r÷‹‚r÷ È÷ b÷ n÷‹lr÷‹hr÷‹ötÎ ß zf÷%˜†qÎ ß zfÎ�æzƒß eÖ ÷‹4r÷‹0rÎŠß vfwTUw DU7Š"r@�ÁVƒ7ìh þy÷%�0q÷‹ zÎ}ƒß ewUw U÷ èKNffß e–%7üpwúTw êTÎWß PUwêTw ÚT÷‹ºqÎzæ…ß újÖ 7ЦqwÊTw ºTæ  @�&ß ´Ö 5�øÿ÷‹xq÷ ø97Š v7 2}7 ,}Äúu27 }& ß FÖ À 'õ‹øÿ ÿ‹þ|æß FÖ À õ÷ ò|÷mì|î|· è|ß äæ&ß RÖ ÀÀ `ÀÀ 7`šuÄeÄ-’uˆ÷ º| ÷‹ìp÷‹¦|뵧 PUΞ|æœ|ß ¼;Ö À’|wüSw ìSæ 5 øÿ7Šx|@Á€ƒ7¸g þy÷ B0÷ h ß RÀ ÎÛß PU &ß =Ö Îªæ4•æˆ–ß nD–%ß Œ'À x�ƒ÷‹fzÎß PUΪ或æ4•ß nD–%÷‹ðxÎVß PUΪæ4•æˆ–îµ øÿ·ŠÔ{÷ Ü ÀÀåc Ѓ÷tx÷ ê÷ Êñ@øÿw$Sw SÆåÄ2—fÎeúþß L:Ö ÷ œ @�€ 2€Á¢ƒ7îf þy ÷ | ÷ PkÂ%&ÂU€Ä%1˜‚Î…ß PU”�Ü€Ášƒ7¤f þyCÃeúþË‹ÎÄ%3˜éƒÔ”ù·ØwŠw’R÷ þjåÛw zRÄ {ÀÿÿwxRß œ:7 öz ÷w ZRNfß `AÖ À  wNRNß |À ÷ ì· ÈzÀñw $R÷‹¶zÀw"R·ŠìnAÁí|s@€ rß ~f÷ ÂH΂zÎ ß îPÎ &ß @Ö Î^æhzÎ ÷ 3Ö á&ß @Ö ÷ 0ô7Š˜n÷ &ÄÄ%ÿÿ÷ Ä% ÷÷ ¸øÃ%y½ ½w �Qæ ÎfÎeøÿ& ß Šm–%À%ÀÿÿwzQ@�øÿÀE€ÿùw `Qõ @�ß vfõ øwRQw BQæ Ä�Ã�Â2—•Ä-ºyü‚7 Æyh@øÿÀE€ÿÁºƒ78e þyΘyæ’yæß ¶–%(Q÷�y7 ŽyK÷è„yù÷|y÷xy@÷ènyø÷ hyNøÿÎE€ÿß ‚@øÿÀE€ÿ�Ã%‘*‚뼧 PU%õ5€øÿ¹õ øÿâõE€ÿøÿõ%1øÿÛÀ�’vÀe1@-øÿÔ@øÿÀ j•@øÿÀ &X•æß ¶–%Ö€”5øÿ×ÄØxÀÀe�Àå�7ÊxÃ%‘Ń•ûÎ�ß œ:w.Pw PD�÷ ¶x‘ß `LÀ ÷ ¤x÷ ¢xÄÕ ÄÅ ‘wúOw êODCBƒ ƒÀ”ß ‚�Ä%‘ö‚ wÐOüw ¼O÷ œfß üÖ w´Ow ¤ODÌEÃ4‘ #KÃeÃ%j‘÷‚LwŠOw zO÷ ÷‹D}÷ ¶wtOw dO÷ ÐpÀÐp7Æp7Àp÷-¾pºp†÷ ÈÎ;ß PUwFOw 6O÷ ª+÷ Lß ÊLÀ ÷ ¢ÿ÷Šp†p÷ –ÿ÷ ,Îgß PUÀ À 7`jp÷-npdp†÷fp\p÷ ÆwðNw àN ÷ zWp @`ÄeÐÿ÷ äß ÊLÀ ðwÂNw ²NÎ$pß þ w²Nw ¢N÷‹tk÷‹pk õ-p‡@ÀE7FpwŠNw zN÷-èoìoÎ‰ß PUwrNw bN÷ Îo÷ÌoÄo÷ÊoÀo÷-¾oÂo÷¶o¸o÷ ÔþwDNw 4N÷  oÎ¡ß PUw.Nw N÷-Œo†o÷ ”ÿÎÅß PUwNw Næ 7ŠÎ{5 øÿ  ÷ ß ÊLÀ Ä ÄPo÷•ª{ÀÀ `÷ êþõ øÿÀÀ `ÀÀ à5 øÿ ÷ P€Áøƒ7b þy ·Šh{Ä à Îïß PUCmøÿ5 øÿ€ rÁ Áe„A! þyõøÿÄ ²ÄÊn¯õÿÿøÿÄ ø©Î¦ß =Ö Â%& ÷ ÐÂ%?Â%/Î ß PU÷ –þŽß Z#‹Î<ß PU†Ätnƒ÷ ˜Â%'Â{ Â%aÂ%zÎTß PUÂåaÄ@n €À ÁEp 4‘ÄeÄ-*nó†Ä-$n‡_°!ÎiÍ·èqà Ä ÄnÀÀ `Ä 7ŠTz wˆLÄ-êm÷ ôý@øÿÀ `Ä-ØmƒÎ„ß PUÄ-Ðm†Î¯ß PUåw FLΪæ4•æÞ•ß nD–%Ħmõ¥/ÄeÄ-˜m†÷ 6eÎÎß PUÄ~mÄåÄ-tm ƒ÷ eÎß PUÄfm& ß `AÖ À wæKÄ-LmÒ ùw ÌKÆåÃ�õ�øÿ÷ \ß RÀ Gß ªLÀ óýøÿÁN„7F` þy÷ ,ÄU€Ã%�†ÎVß PU‘÷ ß ªLÀ ß RÀ Ý7¢pŠõeøÿÇÂҌʋ ·¢“Ê‹Î²ß PUÊ‹ÛÃ%�Ó‡“”ù= øÿ@øÿÁ�uöÿ@à@€ rw Kw üJÀfpÁ^„7¬_ þyÎf„æx�ß L:Ö ÀbpÀe 7�¤xÀTpÀe 7�™xÀx�wÆJÎk„æx�ß L:Ö ôw ¦J÷ Dß RÀ Q÷ �nõ¥fÎ‚ß PU΢“æ’Œß L:Ö ÷ Âbõ¥f_B&õ¥E_B&÷‹>gÎ�„ß eõ¥f_B&÷-ªk¬kTÎeSÎ’Œæt„ß ’Ö õ¥f÷ >bÎy„ß e÷ ðf΃„ß e÷ dì×7LÖ À Ì‹ÃeÃ-prñ‚ÄeÀfrÀeþÿ!ç‡w„Dw tDÆå$ÃVrDÌ¥*:Ì¥?7Ì¥[4÷%ÐŒ:r:ƒÀ4r· 0r•í÷ *rÎô„fß .Ö ? r÷er_h,NÎeÖÿæ’Œß ÈoÖ À hÎõ„æ’Œß .Ö ?Üq÷eÖq· ØqY÷ÔqÄ D-‚Ì¥/ùÎß PU ÷%ÒŒ´q÷ƒŸ¬q· ¨qµ 5!ò†?Ššq æ’Œß „lÖ ÷ ˆq/Î’Œß (/· zq„ ÷ vqæ–�ß t,Ö À Ζ�æ’Œß .Ö ?Dq÷e>q· @qÎæ”�¦ß Šm–%À%ÜŽß k÷"q?Šqwo÷:ow\Aw LAD Â’ü€�&ý Ö �÷w:Aw *ADÎ÷„&ß J/Ö À ÷ðnwAw A@�ÀE€ÿwAw ö@Æå ÷ õ 3‚À xð„Î¼ß PUÀ�5ôÿ5öÿ5 øÿNÎeZüfÎeöÿß P*Ö Ddþõ fþÎ9ß PUß ’LÀ%?Îuß PUæ’Œß L:Ö wŽ@ÎøÏw x@ÄiNæû„ß ’Ö 7i÷ Vwf@w V@D•C-ûÀwL@ üw 8@Ä�(À x…÷‹¨eÃ?ÀÀå ñƒÃ% ôÃ%ñ÷‹Še Îß êLÀ Î\ß vfÎß `LÎß vf•ßwæ?w Ö?ÆåÃ� Šõøÿ5 ôÿÄ�?€Á…7U þy@ôÿÀEøÿÀ%Ó• Ã%‘ ƒµ ôÿñC-øÿƒÀ’ÀEÿPÃ%‘‚Îžß PU“�C-øÿ†õøÿµ ôÿC-øÿ‚€êÂ’ÂU€æÃ%�†Ã õ ôÿ•¿=ŠøÿÎ�ß œ:Ä�Ã�Â5€ÂE€ÿ Ì•_Ë• Œ�Ë•-ƒ „ “íà Ã%�‚Ë¥ ù3Šwö>w æ>Æå. ß NÀ  À7�¬[÷‹¨[ õ‹Î …ß M_ø1Îß NÀ õ‹ñÎß NÀ ëõ•õ•÷5Üc À7�úc÷5Èc À7�âc÷5´c À7�Ðc@�ß øo5öÿÀ%x ß &jÀ ÷ >9ß ü1÷ Ø:ÁŒSA @@5øÿ÷ 9õ øÿÎ"…&ß L:Ö ÷ ò8@-øÿ"w�öÿdS÷ |æl‘ß L:Ö fÎeÌÿß L:Ö Î$…fÎeÌÿß d:Ö ÎfÎeÌÿß ìJÖ w´=w ¤=ÆåNÎeòÿß Êf5Šøÿ÷ ¤4õ‹øÿµŠøÿ fß MÖ NÎeòÿß Üfwv=w f=Æå$NÎeÖÿæ…ß ÈoÖ @ÚÿÀEþ7�bwN=w >=Æå(÷ *κRß k÷€Øe÷ a÷œa÷ÿÿ˜a7 Xb÷ÿÿÌg÷ÿÿÈiÎUæhœß L:Ö NÎeÖÿæhœß ÈoÖ À õ†eÔÿÎhœæj…ß ’Ö ÷ :ß5ŠÒÿ÷ Ú3õ‹ÒÿwÔÿ^eµŠÒÿ÷ ¨Îß –o@ÚÿÀEÿŸÀ%@÷:e×7Š8eÎ.…æhœß d:Ö Îhœß †:Ã÷ ˆ<à ΀æhœß 0kÖ 7ÞQ¸÷•:iß kÎæhœß „lÖ 7¾Q¨Î®]ß Ômw4<�À r ÁU0@$�à �À r Ïw <÷‹ðhÎhœß Zo7Šâhwþ;w î;÷ ÒX÷ ÈÀ ÷ ÐÿÎß –owÜ;w Ì;7 vd7 vd7 td7 zd7 nd7 ld7 jd7 hdw´;w ¤;Î*]ß k÷ÿÿ ]÷ æS_ô4÷ †T æ6dæ0dæ8dæw…÷ Ò0Æe÷ d×-dΛ…Μ…ædæþcæd÷ ¸Ö &æúcæ…ß eÆe ÷ âc ÷ Þc÷ Úc÷ Öc2Ξ…ß e÷ Âc÷ ¾cæ¸cæ²cæ¡…÷ T0Æe÷ ¦c÷ ¢cΪ…ß e÷ ’c÷ Žc æˆcæ‚cæ­…÷ 0ÆeÎ)ß vf÷ Jã÷ bc ÷ ^c ÷ Zc÷ Vc wž:Àûw ˆ:õ%À·…w„:À¸…ûw n:ÆåCÃeúý fß 8Ö ÂþbõE  õe€fß 8Ö ÂÚb•ðNÎeúýß .LÖ À ÷ BP÷ VÖ÷ w8w 8À¦` rÁ Áe8…A! þyÎß PUÎß PUÎ4ß PUÎHß PUÎZß PUÎkß PUÎ�ß PUÎ›ß PUÎ¬ß PUÎ@`æÄß PUÖ w˜7w ˆ7DuùÿÄEþC×tÃEþÄ%úÎÓß PUÀÀà7`Ä-b!wÝö_÷‹ð_ Îtoæd˜æøaß Ä8–%7ŠØ_7êaΊmæd˜&ß Ä8–%ÀÀed˜w7Ä-Îcõ Ý÷ Âc Îtoæfšæ´cß Ä8–%7ªcÀÀefšæw Ü6ÎfæXLß ôm–%æfæFLý ÆeÀ%÷ ¤þw´6w ¤6÷‹J_ Îtoæd˜æRaß Ä8–%7Š2_÷%ÿÿDc Îtoæfšæ6cß Ä8–%Κ“ß Do÷ 3ÁÎKA @@7PZÿJZÂWþWÄ"”HÌ Àî^ÀeÀE7â^tùÿÀEþ ÷e€Ò^€ 7ÜbôÿÿÎ&æ’Kß ôm–%ÁxWÁà@€ rÂe Â%ÂŽæædKß to–%€ ? @WÎÒ…ß e÷ ºý? 0WÃeÄeÃ-*Wµ†Á$WÁíW@€ r7˜YÎ& æKß ôm–%ÎPæš“æKß to–%À%PÑw|5w l5÷% ¬Z÷ ¸þ7 ¢Zwd5w T5DC•þ@wL5w <5Nf÷ Ö &ß L:Ö @w*5w 5D„ Ì‹ýw5w 5Næ�ß L:Ö wþ4w î4÷ >M÷‹ºQõ-nM wà4Àûw Ê4Á6VÁí0V@€ r„ ß ²:À *æÞ…ß eÖ ÷ šMÎ|VŽ ÀŸvV&ÎU æç…ß e–%ÎbVß ’LÀmZVð¥eÿÿÎeß vfÎdß vf÷ "+w`4w P4ÁÄUÁíºU@€ r@íß r;w>4w .4DÄ Ãí…Ãò… ß ²:À ÎîUæ&æ÷…÷ ÂÖ &ß eÆe÷ ¶*wô3w ä3DCß ²:À æ†÷ ŽÖ &ß eÖ Ã%!Îæ-†ß eÖ ÷ n*w¬3w œ3÷%þX ÎøXæ:†÷ NÖ &ß eÖ ÷ D*w‚3w r3Dæ Ã� Â5€ÂE€ÿ€ÁL†7þI þy •5øÿõ øÿ “�õ øÿù óÓ• “�•Þ ŠÀ�w$3w 3Dæ Ã�”Â% ÷�[ Šw3Â% Â% Ë‹Â% Ë¥ ”�æÂ% Ë¥ Ë¥ À”ÀU€�Øõøÿõ%øÿƒ µ øÿÀ’€ öÂ% À�À€�T�øÿ¾w ‚2ÆåNß `LÀ Nß ÊLÀ Îß PUÃ4•÷ øèõ%\,ÁX†7üH þy÷‹pXÎ{ß PUΪæÞ•æ4•ß nD–%w 2÷‹ôXÎ¸ß PUΪ或ìÎýß PUD-Ä% Ä%ÿÿË‹ÎB ß PUÄ% õ‹Îq ß PUÄ% 7W@Í@Àeîÿ5ìÿ7ЏW7еWÄ%^÷ 8è·Š¥W7ØVÃ%²•‚Σ ß A÷ èD-Ä%ÿÿ @Àeîÿ@-ìÿÎÖ ß AÓ• Í÷ ÊIÄ%*Ã%4•  Ä%\÷ RèÀ%*Ã%4•õøÿÁ�†7H þy÷ °çÁh†7ÎG þy÷¥ WÎ ß Aý�úVìÿµ ìÿÓ•Ó�ìV·ŠèV£@Àeîÿ@-ìÿ‚ÎR ß AÓ• õ ìÿSŸìÿ’Ó•�Ó•Œ÷ I_b@Á|†7pG þyÓ•_>õ2—êÿý‹êÿ_>ýµ€êÿDŸêÿÄE€ÿÄ%&Ά ß PUÄ%1Ä%9ι ß PUÃ%²•‚_>Ó•@ŸêÿÀE€ÿµ êÿ�ÓÃ%4•_b@ý¥øÿý¥ øÿÎí ß Aý¥øÿ @øÿðµ€Î" ß AýÕøÿ_>Ó•Šõèÿ÷ jæÄ%^÷ ^æó•þÿÄ%],ÎP ß A'Ä%\ÎΆ÷ ´æ&ß J/Ö À ÷ (æÄU€Ä% Ä%ÿÿΖ ß A‘µ èÿÃ%´•‚_>÷ úåÄ%]Ö@øÿp�èÿ_>Ä%ÿÿ÷ÿÿ‚TÄ\HÓ•Ä% Ρ ß AÄ%1Ä%:‘_>Äå1À�U!Îå ß AÀU€�_>õ‹7.T_L>Î- ß A÷ ðå@- ÷ æåÀ%ÿÿõ‹÷ ÖåÀ% Ó• _>÷ "G_ ?Ó•Äw –.7Š"TNß PUw’.w ‚.DCÄ ÷ ÐFÀ@xÀ% Îß `L&&÷  Ö €% wV.Àûw @.õ  ÷‹KT 9ļV7ºV õ-”OõNß 257 ¢VÃ4•÷‹T17�VÎ&ß BÖ “�@xÀ% “ß `L&¦÷ – Ö €%Î&ß BÖ À 7PVÀwÆ-œ“€ î÷ FÚÔ‹ø¸Ë¥òÎ&ß BÖ À åÔ‹÷«w †-DCÆå_ÖCÀ x°†Ëµ€%À”ÀE€ÿ5�òÿ@�òÿÀ 5º•öÿ@�òÿÀ 5Ì•ôÿu-ôÿöÿ‚_ÖC“@Ÿöÿ&ß AÖ À µ öÿ„ ì“À’&ß AÖ À ƒ „ _ÖCÔ‹_ÖC w-Ì‹û_ÖC7|UÀõΕ&æß ðC–%À êÀ’`_ÖC •&æß ðC–%À óÜÀ”À 0º•_ÖCÀ”À 0Ì•iÔ‹þ"„ À’“&ß AÖ À ö„ ƒ ó¥ÿÿ Ε&æß ðC–%À ðÀ’`Ä Ä-àT§Î&ß BÖ À ©„ ó‡�Ä%4•2“ß `LÀ Ì¥_‘�ÿÿß `LÀ Šô¥_ÿÿ†�ÿÿß ÊLÀ _¦B“ß `LÀ _¦BÌ¥__¦B“ß ÊLÀ _¦BÀ”Àå ‚_.BÎo ß PUów °+DCà  wª+÷ øC Îß êLÀ Îß `L•ô¥-“ÀE€ÿÀ �ÀE€ÿÀ ÄeÂå õ ×ÀÕÂ%â•ÀE€ÿÀ ð@Êw 2+DCB Ԕ ýw$+w +ÆåNÎeöÿß ¢lÀ μ ß PU÷ Ð&7BPwöÿvLÀ Nøÿß kÎÚ ß PU÷ $P+Îß kÎß NkÎß kNøÿß Nk æ’ŒæÀBæÞ†æ bkÆe·ŠzGÎß kÎß NkÎú ß PUNøÿß kw|*w l*Îø”ß g7²OÀ-¬OÀ%ÿÿôÀ¤OtøÿÀEÿ7˜OwL*w <*÷ Èÿ÷-†O‚O÷ €O7 RB÷ fÈw(*w *÷ NÎ ß PU÷ ^ó÷ Ü%7NOÎ( ß PU÷ @O ß kÎl?ß Nk æò†æè†ß bk–%·Š²FÎC ß PU÷ Pÿ÷- O O÷ O ÷ È΢“æü†ß ’Ö Àw¤) üw �)DÆå$÷ LÛ÷ žàß RÀ ÷ à ß IFÄ Î\ ß PU÷ üßÁ̈7|B þyԜˋ΂ ÃҌˋ Η â“ˋή ß PU÷ fÀ æÃ ß PUÖ Î&æû‰ß ’–%÷ bË÷ h÷ àß RÀ Â÷ Èwæ(ß `LÀ æà ß PUÖ CÃeÚÿ@ÀeøÿÀ ‡Îß PUß `L�÷ Bßß `LÀ ë7ÜM Š5ŠøÿCÃeÚÿÎæŠß >LÖ À Îß I¹Îއæß >LÖ À Ë¥nó¥oÃeµŠøÿ–‡Î¦ß >LÖ À Î¦ß >LÖ À Âe Ê íÊ Îæ<ß PUÖ ÷ |÷ ßÀ%?÷ –ÞŽß bI_¬Fõ‹øÿ ò‹Žætß PUÖ €œ ƒ_¬FÀ x܈ÀA�øÿ@à2_¬FÄ Ú÷ ôÀ Ö÷ >ÞÀ%=Žæ�ß PUÖ ÷ ¤Þß ÊLÀ Î¿ß PU õ Öÿ÷ †ÞÀ%0Â%"ˆõÖÿupÖÿf÷ ìÝ€eÄeÐÿ÷ \Þß ÊLÀ ï2_¬FÄ š÷ tÀ –÷ ¾ÝÀ%=Žæöß PUÖ CÃeÚÿ @ÀeøÿÀ ‡Îß PU÷ ŽÝ�÷ 6À ð Šò¥NÎeÚÿß M_¬FNÎeÚÿ¦ß L:Ö ò_¬Fw ¬&÷ ÆÝß ªLÀ ÷ ¸Ýß RÀ  w–&Àûw €&Ä–‡Ì õ‹ � ‚À xäˆ4-ß bIÄe éô úöwN&w >&D� ‚À xêˆô æ Šæ ŠæŠß e–% ÎŠß eΆ>ß ÒI÷ ’Î÷ bÈwü%Ä%"ˆï&æŠå&æŠßw Î%DÄ týÿÀEàß ÒIÀEøÿÀU0ß vfw®%w ž%Ä–‡ ô¥ô‹4Äe Ì òw„%w t%æ ÷‹DB÷ Ä 7ŠìFAwp<>uÄÂFÄ-ÀFI‡ß 25Î�ß ÞQ@�Àå<  ‚À x$Š÷‹”B&ŽNmß ’Q7ŠFÎ�ß ÀQ5øÿß ’LÀ`À%‘‚ÎBß PUNøÿæß L:Ö Î�ß œ:ß äÄe¿ ûBí ŽÒÀ�ÑwÄ$w ´$ÆåÎæß nÖ  ß NkÎ{ß PU ß k fß „lÖ À ÂM÷‹FAΤæß nÖ ß Nkß k·øLõ `Nß (/[· ”QÃ�ANÎeîÿ& ß flÖ À  À7�ü@5ŠìÿNÎeôÿß Êf÷ ÷‹Ú@Τæß nÖ õ‹ìÿ µŠìÿÎæß LÖ ÷%,Q ß kß Nkß k÷ QNÎeôÿß Üf÷ ú÷�Œ@ ß kß Nkß k÷ ìPNÎeôÿß Üfw”#w „# „ ÷ Ú÷ ”Úß ªLÀ öwr#w b#DC£Ô‹ü wX#“Á˜@àúw @#DÄ%a Ä%z Ä%ZÀe w(#Ä%Aõ ùw #D ƒ Ô‹ýÀw#w ö"õ¥ õ¥  wì"Àûw Ö"õ¥0õ¥9 wÌ"Àûw ¶"õ¥Aõ¥Z w¬"Àûw –"Îfß MÖ w�"w €"Æåý‹õ.Š NfÎeúýß ,gÖ À% DÎ1ŠfÎeúýß L:Ö @�úýA�ûýWt@P7 GÎBŠß Ph7®<÷¦<À¢<À 7$;7";Á”<À r7Ì:7Ê:ÎEŠß Ph7x<À%÷èl<ÎHŠß Èh7�TG÷ ÖÖÈ¥O7ŠFGÎKŠß Èh7�9 þy÷e‚C÷E|Cw$· tCûw DÃ�Ó• ÄåÄ%øÓ• Ä Ä ûÀwðw àD„ “ß ªLÀ ùwÒw ÂD •Á¸Š7Ê8 þyÃeÃEòƒ ðÀw¢w ’æ 5 øÿwü>÷‹X:[÷‹T:Xõ%&TÀä>Àe7ê>7ä>7Šæ>I÷-Ô>Ð>‚Îß ¬mÀ%ÿÿ÷‹: õ%& ÷¢>´>Àž>Àe7ª>Îß PU÷e”>µ øÿÄŠ>ÄeÃe÷ev>÷e~>÷el>÷eh>Â`>#„ ý‡ Žß äõ%Ü&· B÷ Zçý À ³@øÿwÆw ¶÷‹ˆ97Š4>À>7(>7">w¨w ˜ÆåÁ>Áíþ=@€ r5öþõb>øþ÷‹L9Î8ß PU÷ ²Í÷ þÍ÷ >Î÷ Ôø÷ úÒÎß RÀ ÎZß PU æß =Ö Îªæ4•æÞ•ß nD–%DÄeúþ÷ ÀÒÃ% )ÀÁЊ7<7 þyÎ‘ß PU÷ šÒÀÁÄŠ77 þy÷,AÔ�@Àeøÿ!Ù‡Î¥ß PUÔÔ•\ò÷ A÷ fºÔ�Š÷•ˆ8Â"=ÊEÂ-= ‚Â-= ‡Ž& ß `AÖ @-ÊUÂeÂ-ø<é†÷ ìÂê<Ê5ÊE·Ü<@Àeúþ7ê<Îæß LÖ Â¼<ÂeÂ-º<æ†7Š8÷•’+wøþ=Nöþß P;÷ÿÿ*0w*w D÷•˜<÷‚<�<Â~<ÂeCÂ-t<‚Îß ¬mÀ%ÿÿÎÕß PU÷eV<Ò!ì†÷•V<@Àeþÿ7B<Àe76<€Àeþÿ7"÷•È)÷ ò:Îì:ß k÷ÿÿâ:÷ žw\w L÷ ~1ÎîŠß ewFw 6Dæ�ß L:Ö  Šƒ Ë‹À’ÁÜŠ7F4 þy÷ ü1îË• ì÷ ð1èÀ€ wôw ä÷‹È: Îß N÷¼:*>Îß d7Ь:wÌw ¼ÆåÎñŠfÎeøýß L:Ö NÎeøýß †:÷ õ÷ ²Ïß RÀ ΋fÎeøýß d:Ö !Ä ÷ ŽÏß RÀ ÷ Ï�÷ zÏß ªLÀ ïŠ÷ Äô÷ fÏß RÀ Îß PU÷ X· fÎeøýß „lÖ 7ª9Îæaß PUÖ ÷ ø @€`0ŠøýNÎeøýæ‹ß eÖ ÎfÎeøýæp9ß Šm–%è÷ Fºwàw ÐÃ� ŠÄ49/ß 25Â�Ä-$9"õ‹‚ Ê¥ üÊ¥ ùÊ‹Ã%�†ó¥ ÿÿó¥ ÿÿ Ó• Ã%‘†Î­ß PU“”÷à ÄeÄ-Ò8ΆÃ�Â�Ò”þ÷ ¸÷äD÷å²8ή8ærXß RÖ w>w .÷ ÄDÀÀDw.w ÿ¥Mþ8÷ ªÇ÷-„8|8Ît8ÎeþÿÎl8Îeß þ ÷ pÇ÷ ÈÈ÷ àÈÎÄ8æôß PUÖ ÷ zµÿ¥M®8& æß ôXÖ ÷ æáw¼w ¬æ DÁ8Áí 8@€ r€ 5øÿõ‹÷ô7 DÃø7ÎÃeæHZß RÖ Âä7 ÂÖ7ÃÐ7ÓEƒ ü†ÃÂ7ÂeÄ ;ƒÀeÀ õ‹Îß PU�Áà@€ rÀ a7–7ÄeÄ 'Î&ß ,ZÖ Žæß ,ZÖ Ž&7p7ÄeŽæß ,ZÖ ¦ß ,ZÖ æß ,ZÖ „ êƒÎ;ß PU÷ ´÷‹˜2"õ‹@Àe707@øÿÀ Àm&77$7÷ ˜·÷•7÷þ67÷ú6 7w7÷ö6ö6w„w tDC ”Â!û‡whw X÷-Ä6îB†ÀÿÿwTÎàB÷eÚBß 25 õw 2÷-¨6ÈB†Àÿÿw.κB÷e´Bß 25÷eªB òw ÷ ^ú÷•„6÷ *àww ðÁf6Áí`6@€ rÀR6Àe7nBÎ>6ænZß RÖ ß r;wÆw ¶ÎQß PUw¶w ¦Æå& æ’Œß „lÖ 76õ¥e À÷% = Á@0· ”,÷ \Ü÷ ‚,_<\NÎeÖÿæÚ5ß –kÖ À ÷ :Ü@ÚÿÀEÿŸÁ*‹7À/ þyÎìß PUΨ5ß NÀ Îß PUõ¥ãÿõ¥âÿKÎ ß PUÎ%ß PUÎfÎeÔÿæj5ß Šm–% & æZ5ß ôm–%Ä%.@ÔÿÁ ‹7,/ þyÎ1ß PUÎAß PUÎVß PUÎcß PUÎvß PUÎŒß PUÎ–ß PUõ5€€ÔÿÎ¤ß PUõ¥r ÷ öÄ÷ @�ß ~\wV÷ ÈÃôw @÷ 8µ÷ h×Τ4æ 6ß RÖ w2w "÷ v×À õ¥e· :+õ¥e÷•ˆ4÷‹Ú/7ŠÔ/÷ J±wúw êÆå÷‹¸/Îéß PUõ‹÷ È÷ ±÷¥L4=Ã>4ÁÁí<4@€ r÷4Ã&4À À`74ÀÀeþÿ74Ãe÷ô3Á4wþ3Áíü3@€ rÀ À`7Ú3Âè3Îâ3& ß ôXÖ ·Ì3÷F‹64÷ ~Ý_„^õº3ôÿÁ¶3Áí¬3@€ r5òÿõ¢3öÿÀœ3Àe5øÿœ3Ö3€Àà@€ r!Žæß ,ZÖ Nøÿ¦ß ,ZÖ Nøÿæß ,ZÖ ÷ \3‚À 7àR3À 5àöÿÀÀeþÿ763Ã<3ÃeÂ.3�Áí&3@€ r#C-øÿNøÿæß ,ZÖ ÂeŽføÿß ,ZÖ Žæß ,ZÖ ÷ ô2‚À 7`ê2÷Ú2À 5`öÿÀÚ2Àeþÿ7Ð2÷Î2À À`7Æ2wöÿ´2Nòÿß P;÷¥¶2÷®2œ2wôÿ¦2÷-Ž2�2÷-Œ2ˆ2÷€2€2ww À�†2 7‚À x>‹÷-r2n24÷-`2\2,/ÁT2ÁíJ2@€ r&ÁD2Áí>2@€ r€%Ä*2Ã*2ÃeÄ-"2‡ÀEÁÁE@ ÄeðÎß PUÎß PUwŠw zÆå$  ÷ ŒÇÀ%!ƒ ÷ Ç÷ Öì÷ øÆ„ ÷ Èì÷ jÇÀ%>öÄ  ÷ XÇß RÀ 뻧 PUÄ Ä%ÎÊß PUÎwß ú$ ƒ_t`À xL‹Ã V÷ (΢“æ’Œß >LÖ À ÷-P1H1÷-L1B1BÎß PU=NÎeÖÿæ’Œß ÈoÖ À 3@ÚÿÀEÿŸÀ% õ¥ãÿõ‹âÿ%õ¥ãÿõ¥âÿÎæ’Œß „lÖ 7þ0÷ f×Îô0ß NÀ Î’ŒæZß PUÖ ÎÚ0ß k÷  ØÎÊ'æ’Œß 0kÖ 7À0÷ (×÷ >Ö÷ €ÓÄ%÷-’0Š0÷-Ž0„0΢“æ’Œß >LÖ À ÷&'÷ N­wþÎæ’Œß „lÖ 7j0 Î& æ^0ß ôm–%À Íà ɼw À÷ šÀ÷‹Ž+÷ ô7Š60Ä0 70ß 25Î�æ�ß L:Ö @�&ý Ö Î�æ�ß >LÖ À ß äÄeÄ-Ô/݆wjw Z Ã�Ä�Ì¥ Ã%� ƒÓ• ‚ Â5÷ Ã%�‚Î�ß PU“‚ „ Ì‹çŠw"w æ 5 øÿ Ä�Ã�“ÁR‹7ª) þyÂeÂE.@øÿÀeÀE€ @øÿ€ € Ó• õeøÿõEøÿêµ øÿÓ• µ øÿøÌ‹õ‹æß L:Ö wž “µ øÿ‚ „ Âw ‚ w�;÷ ú¾7Š;7Š;÷ Ä„Á^‹7$) þy ÷•ò:÷ ì÷Šè:÷ `Ä€ ø÷ Üà ÁWp CÀeÐÿ` ·Š¾: ß ÊLÀ ÃeÐÿ÷ ªÃß ÊLÀ ãÃ- &·Š�:Â%= Ãe Â%ÿÿÀ¨%Àè%Ä%ÿÿ72÷ p«÷2...÷ >½Žæß öbÖ wº w ª DC� À�Áz‹7x( þy ÷-.ø-ÎÄß PU÷-ò-è-ÎÍß PUÁ� :DpÁ w`Ò-÷-Ö-Ì-†ÎÕß PU÷e¼-÷¸-´-À À 7`¬-÷¨-¬-÷-¤-ž-‡÷ž-–-÷-œ-’-†÷”-Š-÷-Ž-Š-†÷†-‚-÷-x-t-†_¦dÁl-Áíf-@€ rÀ%÷ F³À�À%ÿÿD÷‹z9AÎB-ß 25Î�ß vf÷•¤(?Ä „ Ã¥=Ä À -Á @à7-Ã¥= -·-À 7`-Ã¥.ª÷ м¤Á�"9DpÁ wàè,÷-è,â,ƒÎáß PUÄ ÀÒ,Á @à7Æ,�÷‹ð8÷ ¼0Îšß vf  ¦Îeþÿæ ,ß –%÷ . ¦¦ß –%÷ €Àe7|, æx,ær,ß –%w w ö ÷%èv%ÀHÀj%Ã�Ó•-Ä Ä û ŠÎ�æ–‹ß eÖ wÊ w º 7ŠT8Î=fß öbÖ ÷ nw¬ w œ Æå~w–8DÄeÀŸŒ8 · †8 %ß vfôw| 7 r8÷wf8ƒÃeÁš‹Bí üJ  Ó•-ׯD8d· <8÷ F r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „( À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à • à Á¸7 Ò‹ƒ D~‚Âeƒà&æ Ä ÃmŽ7ß vfÃ~Ä Ž”ß vfà Î ß vfÃ~Ö „wÖþ ÀŸ`7· \7Àå0 úÿ ‚Wp `îÀe0ƒ÷ ̱wœ«4%2%0%À(%÷�"%‡À%÷*%‡÷˜%‡÷ Ĺw¤§÷ ¾ºw¨÷¾ø$‡wî6·ì6·ê6 ‡€ÐÚ6ÐÚ6ÐÔ6‡€7È67È67Â6‡w ²@w#²6 EûƬ6Ť6΢6‡õœ6w˜f…‰†wÄ}…‡w tÆåw6NÎeôýæ´‹ß ´kÖ Àÿÿ  ŠÂ%ÿÿ Nôýß k wFDD-ï†ô¥\ÿÿëÄ NÎeôýß lÂ%ÿÿáÂ% ì”�òNß ¶gÀ áNôýß kÀØw êÊ5-Ë¥:,D Ë¥| Ë¥: £ƒ „ Ì‹ôÌ‹ Ë¥|Ë¥:Ë‹Àw°Ë‹Ë¥:Ë¥|ƒ öË‹ƒ Ë‹Ñ íw ~DC Ì¥:„ Ì‹úÌ¥:„ à à ÷w`w PÎæì4ß "hÖ Ê‹Àÿÿ'R¯&Ê‹$€”AAœ@ Ê¥#‚ à ʥ0à ʥ9 CpD€”ÀeÐÿ`Ê¥0ówðΦÊw ØÎæt4ß "hÖ Ì‹ T¯ Ì‹ @0£Àw°Î&æw ˜Îæ44ß "hÖ Ê‹ R¯Ê‹€”AAœ@ Ê¥= ‚ N¦ß \iÖ w\ΦÜw DDæ C•TÂ%:Q€Àå\  ‚À xô‹Ì¥aÌ¥z•ÂEàÿ“�ç“ rÁ ÁeÀ‹A! þy„ Âì „ è û øÂõÌ¥0Ì¥9 õøÿ—t•ÀeÐÿPõ øÿÌÌ¥0ÉÌ¥9ñÅ̋ÕÁŠDýwŠw z æú‹ß „lÖ ' @�t&&ß ôm–%À Î æJ�&ß Šm–%À% 7 Þ2÷•/Ú27Š×2÷unì2ß k w(ß kÀÿÿøw ÀL�ww À¢2ww ôÀ´2wøw èÀ¨2ÀEÿ7�ê2Àœ2tøÿÀEÿ7�Û2À²�wÐf…w!‰Œ†wô …‡f…w!w!‰Œ†wÔ …‡f…@‰†w¾ …‡f…wÖ wÒ ‰Œ†wž…‡f…@)‰†wŠ…‡f…wª @Àe7¢ ‰Œwjf…‰†w\7&2 …‡f…@wx ‰Œ†w: …‡f…wb ‰ŒJ‡A …‡7 t,f…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7ä1@‰$Œ‡À �1‡wŒf…‰…‡f…@w¸‰*Œ†wj …‡f…w¢wž‰.Œ†wJ…‡f…*‰†w:¦BJ ‚…‡f…wlAɉ4ŒT‡  Rf…Añ ÷ ^ñ y�± ñ ÷ Fñ y�± @3f…Añ ÷ ñ @9�± !f…A÷ @Àe&7âwÞ7àØ@‰:Œ†7F0±ñ‡wf7 Ä*…‡f…@wªw¦‰@Œ†w@…‡f…÷–’wmŒ‰FŒ†w"À€wmz…‡f…wj‰FŒ†ww\ …‡f…@wLwH‰LŒ†wÖ …‡f…AW †@w&Á fº�1º�7 À5Á Á Áepnw‰RŒ ‡À5€…‡À& Ö wx&ÀD/L&À>/H&À8/D&À2/@&À,/<&À&/8&À /4&À/0&À/,&À/(&À/$&À/ &Àü.&Àö.&Àð.&Àê.&Àä. &ÀÞ.&ÀØ.&ÀÒ.f¦æ&È „ƒ‚�€f…@w&‰XŒ†wª …‡f… ‰¦BR‚…‡f…wú‰\Œ†wz …‡f…@wàw܉`Œ†wV…‡f…÷ X@‰@…&æ¦È B„ƒ‚F…‡f…‰…‡f…w–w’‰fŒ†w …‡7^(ÀÿÿF…‡‡f…@÷ …‡ ÷xú-æ ‰â�"‡ÎÈ-‰lŒ‡@‰â�‡ Àâ�$ô$ttñ¤yîЋì¢é7˜²-@‰Ö À�¨-‡Îìàæ–Unknown option %s Recover which file? unchangeprintrecoverpreservereaddho¨²l<\| $cxèr,z Ö Ö b cswº ¦ � 0 ehoyr Œ ¨ È Ü n       � Ô€Þ€è€ò€ú€� ��$�.�    q   ” X, 6 Ü ” ¤FZ ” Ü ^à ¬ ” 6ŠÀ ” > PN Ì ” € L ä ” B   pn ” ê PÌ^ ž” ò  * Ž�š�¤�/68 VŽxˆš V”‚xÿÿ |jjx~args%6d %s appendcommentCopycdchdirdeleteexpandexechoeditfileglobalinsertjoinmarkMoveopenlistputnumbernextquitrewindresetsetshell-isourcesyncsubstitutetabulateTranscribeundoversion%s visualvwritexpandyank%d helpError message file not available /usr/lib/ex1.1stringsí‚í‚  Ú’¦ÔFf†à Š´®ÎØÞ€ˆ xRRN €x€Ž({)}!|^~'`%6d %s%s ˆ&s~Ö@fbxxx\~Øÿÿ &\~ÆÜ&ELUelu˜zºÐz®ÂVersion 1.1, February 1, 1978$'./?\ " "" " " ""„&„4„./#°!¤"L"^"R"#°!ª"B"R"^"^"%\`f$$X$ $ca¼$ê$=xxOOPSì%è%"%s" [Edited] [Modified]No file %d lin%c@in buffer p)l)z)CTRL(H) discarded   %4d */?[l-þ,€-z-ê,r-Â.Ê.[?*"%s"x/¼/ _X0ø/D00ÿ/dev/ttyxu//.exrcÿÿ/ExXXXXX>…H…T…  8¾7Ö7î7þ78Æ7Î7Þ7æ7ö7PANIC: "%s": %d/%ld %d line%s, %ld character%ss (%ld null, %ld dirtys[Incomplete last line] SYNC error:%d lines %c%smoreless%d %s lines@in file after %s%d subs|%d substitutions on %d lines%d files@to edit Zª>Ò>ô>ú>?*.[~„??Ì?$?b@ $*.[\~¸@Î@ú@ú@ú@’>ú@AîB4B CžBC¾B*CÚB*C¬B´BúBæClC¬C]-^\/usr/lib/exrecover/usr/lib/expreserveFile "%s" preserved. Please seek help immediately. /bin/sh/tmpunknown@notifyòˆýˆ‰ ‰ ‰Œ‡‰ ‰P‡$‰,‰/‰Œ‡6‰A‰D‰Œ‡I‰Œ‡l‘N‰Œ‡S‰^‰a‰l‰o‰Œ‡t‰Œ‡z‰Œ‡¤¤އŒ‡‰Œ‡†‰Œ‡‹‰Œ‡”‰�‰ ‰Œ‡§‰Œ‡ ®‰´‰2‡·‰Â‰ʼnŒ‡Ì‰Ô‰n‡Ø‰Œ‡Þ‰ì‰ï‰Œ‡ö‰Œ‡!%`^FzFlFÊFæGøGxHxHBIBIVIzI´IÆIÆIautoindentaiautoprintapbeautifydirectorydireditanyeaeditederrorbellsebforkhomehushignorecaseicindicateuliulistmagicmodenumberopenoptimizeprintallpapromptscrollshellshshiftwidthswstickyttytypettytersevisualmessagevmwindowwrap%c=%s all%s%s nomode=%s=%d %s=%s ÒJŒJzJèunun|unknown:0:0:?licocaambsosclndupce!%\`vO°OOžO0O%`!-c[No write] |[No write since last change] !%s sh! |QŒQ úQRR \ÄSÀSÚSÿÿ\ S¨SÄS@|¢V®V†VERROR‡‡/usr/lib/how_ex/help%seÿmÿ \$\ô[ü[\ \\,\ @`¶[‚[®[z[<\²^"_Ä^_move¨_t`²` ´ab¾aÿÿ+-.=^€b^b^bfbfbNb†bÿÿ+-.=^c&c däcäc dXc%s Tedàecîes`el*¾À/etc/ttycapȋ΋ԋދ& $&Úi¸iÈiÚijjÚijÔiÀiÎiœi˜i†i/etc/htmp ‰‰‰ ‰‰‰‰ ‰‰‰¶‰‰‰ ž‰0‰‰ ‰‰‰/devcrt0ostartex.o ~main oopøÿnopöÿiniteôÿreenteròÿaxargv0c~onintr¤~rewindÌ~initæiex_cmds.L_pflagl�_nflagn�_kflagp�_poffsetr�~commandLnopromptexitoneoaddrcplchngflaøÿcntöÿhadprôÿ~quickly¼ ~changeê ~syncü ~plinesadr1adr2movedotaddr~newlineNc~eolÊ~resetflì~setflav ~endcmdRch~tailspe‚cfoocmdt�~tail–comm~tail2of°comm~tailofÆcommicpccommandæÿ~exclamRexd.ot~deletet~deletedža1a2a3~deletema1a2radsavintøÿ~deleten ex_put.o¾~termcha¾c~flush~flush1"lpcpc~putS<cp~flush2`~fgototlc~setcolÊcoldel~motion.vhc~plod¶i~partinpª~noteinp¾~notechði~pstart~pstopZ~termres€~draino¼~ostartÒ~ostop~flusho.~putnl>~gTTYNi~sTTYdi~putchzcex_print�~listcha�c~normcha*ccolp~numblin˜i~normlinÀ~slobber\c~lprintf’a1a2a3Pexv.o¶~vop¶~undiddlÆexs.oæ~substitæcaddrnmarkpgsubføÿ~compsub´chseofcpgsubføÿ~comprhsŒseofrporpcorhsbufúþ~getsub&p~dosubcoFfa~confirm|acch~getchcøÿ~ugo@cntwith~dosub^lpsprpcøÿ~fixcase‚c~place¶spl1l2~putmarkäaddr~putmk1üaddrnmarkpVersion.& ex_addr.& _bigmovev�~setdot& ~setdot1< ~setcounj cnt~getnumÀ cnt~markDOTî ~markprþ dot~notempt&!~setall>!~setnoadl!~nonzero‚!~addressž!addroffsetclastsignøÿ~scanforZ#caddrex_args.Ô#~getargsÔ#ccpfpdpøÿgpöÿex_ca.o¤$~cgoto¤$resultx�ex_file.ú$~filenamú$commcex_get.oF&_junkbs‚�~getcharF&c~peekchaÂ&~getttyÜ&clpgphadupøÿhadnlöÿoffsetôÿ~backtab()ij~smunchN)colocpcp~spruceŽ)ocpcpc~checkju¼)c~setinê)addr~junk*cex_glob.P*_gflag„�_av†�_stringˆ�_strendŠ�_ncollŒ�_gpathpŽ�_globbed��_entp’�~globP*vg0oav~sortì*oavp1p2c~expand,+ascssgpathpdirfentry”�stbuffÖÿ~matcht,spcsentp~amatch°,asapspscccøÿccöÿokôÿlcòÿsgpathpðÿstbuffÌÿ~cat.as1as2s1s2~scanT.tfpc~tglobv.c~trimš.c~getoneª.strgvöÿlpôÿGZü~filioer(/cpoerrno~anyJ/csxex_graphh/~dographh/lpc~doulgÊ/lpgpmaxgpøÿccswöÿcolôÿex_init.º0~initoptº0fuidøÿttynoöÿrcioôÿHomeÌÿH~isetterü1typereenterøÿosetexitòÿ~gettmod:2stbufÖÿex_io.ob2~fileinib2pijstbufÖÿserrnoÔÿdumbcntÒÿ~cleanup˜3~onhup²3~clrstatÔ3~iostatsü3~plural5i~getline25tlbplpnlscratchúý~putlineˆ5bplpnltløÿscratchøý~getfile 6clpfp~putfile¶6a1øÿfplpnib~wrerrort7~ioerrorœ7~getbloc8atliofbnooff~blkioÄ8bbufiofcn~synctmpü8bpacnt~TSYNC4:ex_libS.L:~strcpyL:otofromto~strcatd:tofrom~strend†:cp~strcLINœ:dpex_note.²:~notable²:i~killedÖ:cnt~netchHAP;cnt~netchanr;icp~snote¼;totallines~noteargLleftright~letter`Lc~strlen’Lcpi~whiteªLc~digitÊLc~ucletteêLcex_tty.o M~setterm Mtype~Setterm Mtypeprinterrbufúýunknown~longnamhNbpdefcp~Tgetstr°Ncpex_unix.ÆN~unixÆNupfpcprintubøÿpuxb’ÿ~unix2ÜOoptprintubupsavintex_vcoluîP~columnîPcp~qcolumn QlimgpxOOøÿ~qcountdQcex_vops.’Q~geninde’Qindentcp~vpastwhÀQcp~whitecnÞQcpiexa.oR~appendRfaa1a2rdotnlineøÿ~appendnêRexg.oS~globalSkgpca1globufúþCwasøþiöþ~save†Ta1a2addrdest~save12U~saveallUexh.o,U~helpini,U~errorPUstri1i2i3 c~dingdonTV~mesgjVstrcp~normal¼V~helptheäVcpicpbufføýbuffcntexj.oÐW~joinÐWca1cpcp1~jnooprXexm.o‚X~move‚Xadt~move1ôXcflagaddrtadtad1ad2linesøÿ~reverse,Za1a2t~getcopyHZ~getPUTnZ~yankšZ~PUT°Zcntexo.oêZ~oopêZexr.oúZ~ropúZcistbufÖÿmagicÔÿ~rop2`\~rop3~\cexu.o¶\~undo¶\cijpkpdolp1øÿnewdolöÿnewadotôÿcntòÿ~somechaž^ipjpexw.o&_~wop&_cexclamblstbufÖÿexx.oà`~xopà`fcdp~xpandFacpdpcol~tabulatŽaccpdpdcolocoløÿexz.ob~zopbhadprclinesop~zop2öblinesopsplit~splititªdllp~zeqædcntprintf.oeformp¨�loopendigitª�gnumBfwidth¦�swtabš‹decimalTecharacàestringîelongorun`eunsignednelong�eprbuffprstr fputchar.nfreset.oºfsr5¬�spc®�ssp°�wait.ogttycap.o,g~tgetent,gbpnamecpcapcibufôý~tnamatc¶gnpNpBp~tskip"hbpi~tgetnumPhidibasebp~tgetflaÈhidbp~tgetstriidareacpibp~tdecode\istrareacpciøÿhtmpg.o&j~hget&jttyhunit~hgethom”j~hgetuid j~hgettyp¬j~hsgetty¸jttype²�chdir.oàjchmod.oújclose.okcreat.o0kdup.oNkdup)execl.obkfork.o~kfstat.o–kgetc.o´kindirbadretXlfill8lgetuid.o\lgtty.oflopen.o„lpipe.o¢lpipe*putc.oÀlbadret~mgoodret‚mflNmread.oŠmsbrk.o¬mndJŒseek.oômsignal.onrttNSIGdvectº�tvectpnstty.o&otime.oDounlink.oZowrite.otoexit.o–ocsv.o¤ogetpid.o¾ogetpidstat.oÈocerror.oèocleanup.öottyn.oøoname žbufâ�er1\pdevlŒerXpsavr5$j�_exit"–o_main" _G$rŒ_xargc0$tŒ_xargv0$vŒ_ruptibl$xŒ_ingloba$zŒ_inopen$|Œ_inconf$~Œ_listf$€Œ_endline#€_laste$‚Œ_intty$„Œ_shudclo$†Œ_diddle$ˆŒ_die$ŠŒ_chngfla$ŒŒ_xchngfl$ŽŒ_tchngfl$�Œ_file$’Œ_altfile$ÒŒ_linebuf$�_genbuf$�_addr1$‘_addr2$‘_zero$‘_one$‘_dot$‘_dol$‘_unddol$‘_endcore$ ‘_fendcor$"‘_unddel$$‘_undap1$&‘_undap2$(‘_undadot$*‘_undkind$,‘_io$.‘_erfile$0‘_tfile#,…_globp$2‘_erpath#ƒ_names$4‘_outcol$j‘_home$l‘_Command$Š‘_varbls#–‡_normtty$Œ‘_normf$Ž‘_obuf$�‘_oldhup$–“_oldquit$˜“_header$š“_dirtcnt$ê”_recov$ì”_TTYNAM#…_TMODE$î”_lastc#¬„_peekc$ð”_aiflag$ò”_pid$ô”_rpid$ö”_status$ø”_tty$ú”_allredr$•_pfast$•_mask#…_vcntcol$•_xargv$•_argv$•_xargc$ •_argc$ •_gargc$•_vyancnt$•csv"¤o_draino"¼_helpini",U_onhup"²3_signal"n_sbrk"¬m_printf"e_flush"_rewind"Ì_setexit"ºf_onintr"¤_initopt"º0_setterm" M_notearg"<_strcpy"L:_init"æ_command"L_error"PU_cleanup"˜3_plural"5_pstop"Zcret"°o_fileini"b2_brk"Ôm_TTY$•_CLEAR$•_NDSPACE$•_UPLINE$•_HSTR$•_CE$•_CA$•_AM$ •_BS$"•_OS$$•_PT$&•_NOCR$(•_LINES#,Š_COLUMNS#*Š_UPPERCA$*•_ttytype#n‡_outline$,•_destcol$.•_destlin$0•_version#Úƒ_CHANGE#<€_PRINT#D€_RECOVER#J€_PRESERV#R€_READ#\€_resetfl"ì_putchar"vf_TSYNC"4:_address"ž!_getchar"F&_tailspe"‚_peekcha"Â&_tail"–_setnoad"l!_exclam"R_newline"N_setdot"& _deleten" _setin"ê)_gettty"Ü&_append"R_setdot1"< _tail2of"°_endcmd"R_move"‚X_skipwh"L_getone"ª._chdir"àj_filioer"(/_setCNL"¢f_delete"t_appendn"êR_xpand"Fa_xop"à`_filenam"ú$_quickly"¼ _sync"ü _rop"úZ_putnl">_global"S_nonzero"‚!_setcoun"j _join"ÐW_letter"`L_oop"êZ_notempt"&!_getline"25_plines"_setlist"‚f_setflav" _eol"Ê_PUT"°Z_preserv"ˆE_setnumb"šf_getargs"Ô#_glob"P*_setNAEO"ªf_REset"J_recover"ŒD_rop2"`\_revocer"dE_rop3"~\_change"ê _set"F_unix2"ÜO_source"ìJ_synctmp"ü8_substit"æ_tabulat"Ža_markDOT"î _undo"¶\_vop"¶_setall">!_wop"&__yank"šZ_zop"b_unix"ÆN_shift",J_gTTY"N_helpthe"äV_tailof"Æ_pline"~f_Pline#²‹_normlin"À_setnorm"Žf_setoutt"²f_deletem"_deleted"ž_killed"Ö:_reverse",Z_line#Ì‚_linp#ƒ_phadnl$2•_termcha"¾_pstart"_flush1""_fgoto"t_flush2"`_putS"<_putch"z_flusho"._motion"._cgoto"¤$_plod"¶_setcol"Ê_partinp"ª_noteinp"¾_notech"ð_sTTY"d_normal"¼V_termres"€_ostart"Ò_ostop"_fflush"@m_gtty"fl_stty"&o_putc"m_Outchar#°‹_Putchar#®‹_listcha"�_outchar"zf_normcha"*_uclette"êL_numblin"˜_slobber"\_doulg"Ê/_dograph"h/_lprintf"’_undiddl"Æ_chmod"új_re$4•_scanre$Þ•_subre$ˆ–_rhsbuf$2—_loc1$2˜_loc2$4˜_locs$6˜_linebp$8˜_xflag$:˜_gflag$<˜_scount$>˜_slines$@˜_stotal$B˜_compsub"´_save12"U_dosubco"F_putmark"ä_getsub"&_snote"¼;_compile"=_copy"nD_comprhs"Œ_strcLIN"œ:_execute"`A_confirm"|_dosub"^_putNFL"nf_column"îP_ugo"@_getch"_read"Šm_casecnt$D˜_destcas$F˜_place"¶_fixcase"‚_putline"ˆ5_putmk1"ü_digit"ÊL_getnum"À _markpr"þ _scanfor"Z#_white"ªL_mesg"jV_checkju"¼)_junk"*_lastin$H˜_backtab"()_spruce"Ž)_smunch"N)_cntrlhm#º„_write"to_errno$J˜_g$L˜_tglob"v._scan"T._expand",+_sort"ì*_strcmp">L_cat"._stat"Èo_open"„l_match"t,_close"k_amatch"°,_any"J/_trim"š._strlen"’L_ioerror"œ7_ttyn"øo_hget"&j_hsgetty"¸j_isetter"ü1_getuid"\l_hgethom"”j_hgetuid" j_gettmod":2_strcat"d:_getexit"Êf_Setterm" M_resexit"Üf_ichange$N˜_nleft$P˜_ninbuf$R˜_tline$T˜_cntch$V˜_cntnull$Z˜_cntodd$^˜_cntln$b˜_ibuff$d˜_iblock$dš_obuff$fš_oblock$fœ_tfname$hœ_tftail#.…_havetmp$�œ_strend"†:_getpid"¾o_creat"0k_unlink"Zo_clrstat"Ô3_iostats"ü3_getbloc"8_unpack".<_pack"Œ<_nextip$’œ_getfile" 6_putfile"¶6_wrerror"t7_blkio"Ä8_seek"ôm_time"Do_notable"²:_netchHA"P;_netchan"r;_cerror" A_same"A_advance"B_cclass"ðC_exrecov#Ô†_exprese#è†_pipe"¢l_fork"~k_dup"Nk_execl"bk_waitfor"4E_wait"g_shellna#2‡_direct#P‡_NONAME#Œ‡_NOTify#އ_propts" I_uxb$”œ_setend"ôH_propt"bI_pro"ÒI_whitecn"ÞQ_geninde"’Q_vpastwh"ÀQ_slevel$úœ_reset"îf_tspace$üœ_Tspace$<�_ttycap#´‹_tgetent",g_tgetnum"Ph_tgetfla"Èh_Tgetstr"°N_longnam"hN_tgetstr"i_dingdon"TV_qcolumn" Q_qcount"dQ_saveall"U_save"†T_jcount$>�_jnoop"rX_move1"ôX_tad1$@�_getcopy"HZ_getPUT"nZ_fstat"–k_somecha"ž^_znoclea$B�_zhadpr$D�_zweight$F�_zop2"öb_splitit"ªd_zeq"ædcerror"èo_tbuf$H�_fopen"´k_getc"l_tnamatc"¶g_tskip""h_tdecode"\i_hentry$J�_htmp#ú‹_hgettyp"¬j_par_uid$¶�_getw"Òk_putw"Þl_fcreat"Àl_werflg$¸�_end$ ž__cleanu"öottyn"ptent",g_tgetnum"Ph_tgetfla"Èh_Tgetstr"°N_longnam"hN_tgetstr"i_dingdon"TV_qcolumn" Q_qcount"dQ_saveall"U_save" ®¤L ð€7ú®Ð 7ö®Æ%ü‚Æü·ä®ww øžÆåÄØ®ü¥a÷e Ö¢ð¥dð¥d7 .©÷©7 ü¨Äe÷ ž®÷ T÷ <‚Î*Hæß ��Ö 7¦µÎæß ��Ö 7–µÎæß ��Ö À5 À7�V® ß $�7ö²5Šøÿ5Šöÿ4÷f¨7 ¨7 ¸¨õ•öÿ%À x 7 º¨·Š�¶õ•øÿü¥-œà ßÀÀån äƒÎ~¶æ ß |”Ö ÷ î÷ Ú­Äe÷ Ò­á÷‹D¶ ÷ Æ­Î# ß |”÷ È7Š,¶7²­÷ v5Šòÿ÷ Ô”õ‹òÿµŠòÿ÷‹š­Î¤æß ��Ö õ‹öÿ@�øÿß 2EÎ8 ß ‚a÷ âN÷ üµ÷ ص÷ 8¤÷êµæµ÷ äµ÷ Þµ÷ p´Î0¶æ`¯ß ÄNÖ ÎÀµæ0¶ß ÄNÖ õ•þÿôÿ÷ þ÷ F”õ‹ôÿµŠôÿ @�ôÿ&ß LÖ Àå ‚À x  ÷ ‚µ¾7 zµ÷ ´Î0¶æ`¯ß ÄNÖ 7 ú³÷ ¬Îß Ì‚´÷ Rµ÷-JµJµ÷ ºE ß Ÿ÷:µ6µ÷ ʳÎ0¶æ`¯ß ÄNÖ 7 ¶³÷ h뵧 �Iæµ& ß Ì‚–%«÷ µÁ÷eò´„w tœÎ¤æß ��Ö ÷  ÷ $£Î/ß Ì‚w\œw LœÀ.¬7´7¼´÷$¬²´wBœw 2œ÷ ìCξ°Îeß L�À²°7¨°7ž°7ž°À–°Àe7�°÷•ž°À�°Àeüÿ7†°7 î«7 Ø¥ À 𳄠Ä%÷7 V´wÜ›w Ì›Æå÷ ” õ¾«øÿõ%ÿÿ_à5 Ãe÷‹´_²7Šú³_Ü ÷ >¦÷ ^ õˆ«øÿ÷‹p«÷ t÷ Ž¥÷ ö¥÷ °õ ÷‹X« ÷‹@œ Î:ß î•õ•ôÿ÷ >÷ ÔJ7 Ư÷¯¾¯÷ 02÷ Ò6Ä Ã%,%Ĭ¯7¢¯Ã%;Ã,7š¯Ã%,ä÷ ˆ¯÷„¯€¯Îß ‚À r Á ÁeÀ A! þyZ÷ Z¯æ÷\¯T¯â÷ æ6À%r(ÎÊ¡ß –÷ ~1 ÷ æ À ÃŽªÃí ³÷ Ò Ã-‚ª/ÀÀ ÀmzªÀÁpªÁí³@à€ &æÏ¡ß |”–%ƒ éÎØ¡ß –÷ è/÷ ˜ 7�²÷ Œ ÷ Ú ÎØ®ß b>æT;ß ŠÖ õ<ªøÿ7Š0ª÷‹ ½õ-,ªøÿ_„÷ æ£_„÷‹ª_„÷‹òš_„7Šð¼õþ©øÿ÷-‚®†®_„Àà¼À Àmt®7j®7d®À-f®‚À-d®†ÎÜß Ì‚÷ `/_¬ ÷ Þ5Áb 7› þy÷ N5÷ Æ5À%mÎß¡ß °÷ 85Ã%|úÎß RÀ õ£Îç¡ß °÷ X€œÎì¡ß – ÷ 5÷ €5À%d(Îï¡ß °÷ ÈZ÷ j5ß RÀ ÷ pÂú³÷ := ¯Žß XšÀ Žß  C÷¥/©_à7 ü¢_àÎ< ß °÷ 6 7�`±÷ ö�Îx­ß b>÷ D Îl­Îeþÿ_ÐÎ< ß –éÎõ¡ß –÷ È�÷  ÷ z_à÷ Ø4Á~ 7š þy÷ H4÷ À4À%p Îü¡ß °÷ Ž�ξ�ß X�_à뢧 °÷ ® À ÷ n¨ÃEÎß r9Ã%E÷"Ÿº°÷ ô÷ /÷ ü÷Ь̬·Š6¨÷ Îß rŠ_Ú뢧 –÷  Y÷ Æ3ÀÁr 7r™ þy÷ .Îß RÀ í_à÷ œ3Îß î•òÎ ¢ß –µÎ¢ß –÷ ¢.Îß r9÷ ò_à뢧 –÷ öÀ  Îß „€_Ú뢧 –÷ "-÷ z.÷ Î7�ø¯÷ Â÷  Î¬ß b>άÎeþÿæT;ß ŠÖ ÷-ö«ø«_Ú÷-ê«î«‡_Ú÷à«à«_ÚÎ#¢ß –÷ z÷ -÷ .÷ h÷-¸«´«÷-¸«¬« ÷-¬«®«Îß Ì‚÷e”«Îß L…_à÷ 3À%a.Î(¢ß –÷ fX÷ Œ2Îß RÀ ÎÖ«æUß Ì‚Ö ÷ þÎß Ø`À Î~ß Ì‚÷ 8,÷ �-ÀÀ Á0«ÁEp³_àÎ-¢ß –_¢Î2¢ß –÷ Ð7Šn¹_Ú7Š^—÷•V—÷ ð,÷ ðª÷-òªîªÎ£ß Ì‚÷ Þ®Ã% ÷‹4¦Ã ÀʪÀe7¼ª÷¸ª´ª÷ ®+÷ -Ψªß ªIÃ% Î‹ß î•õ‹ôÿ÷•þ¥Î愪æ~ªß –%_àÎ7¢ß –÷ âŒ÷ ¾Œ5÷ ØŒ÷•ĸ÷ À-÷ è1Àår =‚À xŠ Î<¢ß –÷ 0+÷ X÷ ¶~_à÷ @1÷ ¸1À%e ÎR ß °÷ 6÷ hP_àÎD ß °÷ rŒ7Š\¸÷ J,÷ î­°Áè©Áíâ©@€ rÀ-š¡¥Îšß î• ÎD ß –â÷ V1À%u Î@¢ß –÷ $Œ÷ ŒÖÎG¢ß –÷ Ü+÷ °÷ <.À ÷Ì›d­Àw•ÎÚ¤æ ±ß È>Ö ÷h­Ì¤ÀƤÀe 7¤÷ †øÀéÎL¢ß –÷ Œ+÷ `÷ hà 7 0­ Ø÷ È0À%ea÷ B0÷ º0Á’ 7– þyÎQ¢ß °÷ H+÷ ÷ ªÎÎX¢ß °÷ p‹÷ ÄS_àÎJ ß °÷ +Ãe÷ „À ÷ D¤ÃEÎß r9Ã%E÷øš�¬÷ Ê÷ ð÷÷ª¨¦¨·Š¤÷ ø÷ üM÷ Ì€÷ ÌN÷ r¬Îß ö‹÷-„¨ˆ¨_Ú÷ ¾_ÚÎ\ ß °Î\ ß –÷ êª÷-X¨\¨ÃeÎß r9_Þ÷ Ø/Á¢ 7@• þyÎ^¢ß –÷ f*÷ Uß ˆZ_àÎb¢ß –÷ ŠŠ & æh¢ß Td_& Îk¢ß –÷ 0*÷ j7 æ ¯ß d_Ö _àÎr¢ß –÷ NŠ÷ œA_à÷w¢6¨Ã%sÎ,¨ß –Îß ^/À _à7ж_à÷ 0/À%a΂¢ß –÷ 6÷ ø‰Îæ‘ß X�Ê΋¢_‚Ζ¢ß –÷ ¢)÷ )÷ ÷ þÎß .Œ_à÷ Ü.Àåe ‚À x¶ Î›¢ß –÷ ¨‰Î¥æ£¢ß |”Ö ÷ †_àΧ¢ß –÷ _–ή¢ß –_`ΰ¢ß –÷ þ(÷ â�_Úζ¢ß –_ˆÎ¼¢ß –÷ (÷ î÷ 6{_à÷ ®„Š÷ `÷ Ä(Á¬¦Áíª¦@€ ræÁ¢ß |”_ ÷ *V_àõöÿ÷ š-µ öÿ÷ .À ø÷ æˆNöÿæß ¤^_ õ‹_j  ß NÀ%ÿÿ_j ÷-D¦H¦÷ Ö ÷ 2(÷ÿÿ ª@�ôÿß –‘_àÎÅ¢ß –÷ X(÷ Ðv_àÎß Ø`À ÷Ü© æ梧 ÆÖ Îæºß Ì‚_ w \‘÷ ŽÀ ÀwX‘÷ F¡7 @¡7 >¡Îàß Ì‚ ñw .‘· ,¡÷(¡"¡w,‘w ‘7 ¡7 ¡7 ¡w‘w ‘DCÎß ªIÁÁíz¥@€ rß ö•õ‹÷f¥Ãe!ê†wÚ�w Ê�÷ –÷ d, rÁ Áeˆ¡A! þy÷ ’³·Šˆ³ê· ˆ³ú·Š‚ ÷·Šz³ô·Šr³ñ7Šp îß RÀ Îj¥æüß Ì‚Ö Ä%ÿÿ7¼¨÷ Fw^�w N�÷ ÂQ÷ è+ß RÀ Î1ß Ì‚w<�w ,�7Š 7г7г7г7 ³÷ w�w �÷‹ö²÷‹ò²÷ Vš÷ ì†÷ÀŸ÷‹ÜŸ÷‹Ô²÷ š÷ ¶†÷ ¼†÷ ܆wÖ�w Æ�@Áº¡7^’ þy÷•��Àw°�7Š„�ù ùw –�w�„²÷†¤w’�w ‚�Îfß ÆÖ @wx�w h�Îfß ÆÖ wb�w R�DÆå7B¤CÃeæÿ•õ õ ú ÷ J+“@ ÷ Ä*�„ Ì‹õ÷ 4+Žß Ø`À Â%lÂ%p÷ œ*�@ÀeùÿÀ †÷ +ß Ø`À ñ ŠNÎeæÿæaß Ì‚Ö wÖŽw ÆŽ÷ :P÷ Ü*À%!÷ V*Àw¸Ž üw ¤Ž÷ ~%÷ jý÷‹„ž÷‹€ž÷ t÷ ÷ ´>wŠŽw zŽÄú¢Ãø¢ÃeÂú¢Áá@€ rÀ 7àè¢Áá@€ rÀ 7àà¢Áá@€ rÀ 7à¢Ôƒ ý†Ä®¢Ä-´¢†Ä®¢7¨¢w$Žw Žæ Îæß ��Ö 5øÿ7Šš¢Ä|¢÷‚¢‚¢Ãt¢ÀÃeÀ-r¢Î&ß ¨‡Ö Îb¢Îeæß ¨‡Ö ÎR¢Îe&ß ¨‡Ö Áá@€ rÀ 7à4¢Àeþÿ72¢Ä-&¢†Ä ¢7¢Nøÿæß ��Ö wˆ�w x�÷‹`�7Š ¢÷ø¡ø¡÷è¡ø¡wj�w Z�÷‹Ê¥÷‹ô¥÷ 2õ¥ ÷•à¥÷% £&‘‚÷ 4�‘· ‘õ¥ ÷‹Œ¥÷ j÷ w�w �÷ ÷ Bw�w öŒ?Šä�ÄÌ¢_.•€Á£7â� þyÁr¥À 7r™7`j¥<÷ b¥_.÷ X¥d÷ 8¥aÎ2¥ß <7 €¡7 >¥7 <¥7 :¥T÷ —*· ,¥N÷ þ–$÷e¥÷E¥DÁ¥À 7r²˜€ 7`¥÷ ¥ Áü¤À 7rœ˜Á ÷ ð¤7 ê¤-÷ æ¤*÷ ¶–»÷ �÷‹Æ¤÷-t˜¡÷ ~ÂE€ÿŽß zÂ%÷ î ÷ ®¤ Â% Â%· Ø · ˜¤•Â% ÜÄ Ì‹€÷Ì¢Ö�wì‹w Ü‹õ  @Ÿµ ß zý‹öwÈ‹w ¸‹÷ ÷ Â÷ êw´‹w ¤‹Àæ—À À-:¤Á4¤À 7rÔ—7`,¤Á&¤À 7rÆ—w¤À¾—À À-N 7ÁH � À 7rª—7aü£Á6 À 7rš—w, ÷‹Þ£ Î ß z÷‹°£Î ß zÄ Ä ò7  Àl—À À-¼£ À¶£Á\—Á @à7ணÀP—À 7 £ÀF—À À-š£+Ä”£À6—À 7Š£À,—À À-|£Ãx£÷‹H£÷‹^£7 h£÷ ÿ÷`£ Î ß zÄ ÷‹$£7 †ŸÀî–À !ñ÷-:£<£ ÷‹$£÷ £÷&£(£÷ ”À ÷‹ £÷ ì” ÷ n$ß <÷££÷þ¢8Ÿ÷ ðw^Šw NŠ÷ PýDÄíŸwÜ¢7 Ö¢÷ Šþ÷%ca°¢Ä%üÿÄ%ÄåÄEøÿÄ Äe Îß zÎxß zÄ Ä õ÷ èüwú‰w ê‰÷‹z¢ wê‰Ä|¢Äít¢Ä ÷‹^¢÷ R¢ ÷X¢Z¢ÃT¢Ä ÷‹ ¢Ã킞à À a÷‹ ¢÷‹*¢÷ fž„ Äm"¢ÄÄ%Ã%Æ÷ ÀÂw b‰· ú¡Î ß z÷‹ê¡÷‹¾¡7 ž÷-â¡Ü¡î÷‹Ò¡ÀžÀíΡÁÊ¡� @ ÷-À¡ú�÷‹¬¡ Î ß z7 æ�÷ à�Îß z÷-˜¡Ò�õ÷ Œ¡Ît¡ß <÷-„¡~¡ö÷‹j¡÷‹l¡Î ß z7 �Äœ�ÄeÄEÄ-T¡ñ÷-N¡ˆ�÷‹”˜÷ (¡ ÷ š"ß <÷0¡j�w–ˆÎ¡ß <Î ß z· P�àw nˆÎ ß z÷ wjˆw Zˆ· ô Àš”À À-ê ÀŽ”À 7Þ ÷Ú Ü  7�7Рw8ˆw (ˆwmþœwm¼ w$ˆw ˆ÷‹ª $÷ x’!÷ |’÷‹è—÷ Pü÷ ÷‹d ÷•\ Îß N÷•Øœ÷F Ôœ÷E> Îß dw·w ¾‡7Š^ ÷Ì¢¦‹÷ P÷ Èl÷¥ 7Š w¨‡w ˜‡7 4 ÀØ“À 7, ÷ þ‘÷‹ ÷ìÿTœ÷ìÿ ÷  Fœ÷  wl‡w \‡÷Xœ7 Vœ7 TœwV‡w F‡÷‹8—Îèß Ì‚Îß N÷•(œ÷–Ÿ$œÀ�ŸÀEÀU 7„ŸÎß d÷•zŸw‡w þ†7ŠnŸ÷ l÷ Vÿwú†w ê†Î´ß ¸œwê†w Ú†Î ß î•wÚ†w ʆΈ·fß Þ›Ö wĆw ´†Îˆ·fß žžÖ w®†w ž†Î´fß ”œÖ w˜†w ˆ†DÄEÿÁ2£7”Š þyÄ>Ä<÷‹öžÎ-ß ò•Îß ò•ß *wP†Î$öÄ5€õÄ% Ä% Ä%ìÎ\ß ò•Ä%Î1ß ò•Ä?týÿÀe0ß ò•ÄEøÿÄe0Òw î…DÄEÿÄ5€ ÁF£7Š þyÄE€ÿ÷‹bž ß baÀ Î\ß ò•ß Ø`ß ò•w¬…Ãf£Ó‹÷À”!ûÎ\ß ò•Äœþÿíw €…÷‹t•Î ß \Næq£ß |”Ö ÷ wh…w X…÷‹L•À�Ò•ß \÷%�b”÷ ´�Π¯æw£)÷ T�÷‹•÷‹•÷ @*÷ Ú)÷ :�÷‹ú”÷‹ö”÷‹„—Î ß ò•÷%˜”Î ß ò•Π±æz£ß |”Ö ÷‹Â”÷‹¾”ÎŠß î•wÌ„w ¼„7а”@�ÁV£7ìˆ þy÷%�¾“÷‹.�Î}£ß |”w–„w †„÷ `{Nffß |”–%7Š“wr„w b„Æå„ ÷‹êœÎrß Ì‚÷ ÒœÎ–ß Ì‚÷ ¢ŽÎ¿ß Ì‚Àx�À 7.�NÎezöß ª÷•Àœ÷\��÷ ’÷-”˜�˜ ÷-Œ˜�˜†÷†˜~˜÷€˜z˜÷ Î÷ ŽÁ€£7Lˆ þy÷-^˜X˜Îðß Ì‚7‘”œ÷ Ú&÷-D˜:˜Îß Ì‚÷e*˜7œ7Šjœ÷ E÷ °ß BaÀ ãæVŽÀ„œ€å7 žÀ-zœÀtœÀ 7ž÷ ž7 ž÷ Žò÷Þnx’÷‹>“÷ ÂfÁÖ—ÁíÌ—@€ r5vö÷º—¾—7Š6œ÷ ò�÷5?‚› Î|›ÎE?æN¦ß ršÖ ·Š“÷ ¼û÷ X5xö÷ È›Îß Ì‚Nxöß ^À%î·Šî›Î\�æ�Î ß TmÖ ÷ ´O7ŠÖ›÷ Àû÷ Ìy7Ѝ’Nvöß ÈO÷ Ðw¶‚w ¦‚Æå÷ ð÷•¦›÷ ÞN÷ ªÀ�\›Á”£7‡ þy÷ ôH&Àv›Àí�€åß fe7î–÷ x÷ ÖH&ÀX›Àíöœ€åß fe.ƒß ªIÄ-Ä– õþšöÿΠ¯ß Š5øÿ÷ œHÂ`Â-› Î&ß ÒeÖ · ÔšÄe÷ zH&ÁüšÁíšœÀ rÎÄt–7 °š7 ®šÂ‚œÄ-f–Ɇwöÿœš÷ Þú7ŠÖšÀ’šœÎ·ß Bj÷ &@øÿwº�w ª�Îß N÷E šÎß dwœ�w Œ�Îß N÷U î™Îß dw~�w n�D÷%èª�ÎZ–æFß Ì‚Ö ÷% ”�Îwß Ì‚÷%†�Á~�wp|�Á%€ÎŠß Ì‚7$š ÀÀ 0î·ÄmZ�ƒ Ã%ö7 š7Šš7 ¦›÷•è�7Šþ™7Šš7 š÷ pš÷p‹hšwê€w Ú€÷‹Ð�Î0™æN¦ß ršÖ 7м�wÊ€w º€Nß v÷ ¾ùw²€w ¢€Æå÷ ®™õ¨™7 ¢™õ•öÿ÷¥˜™7Š’™÷ ’õ•îÿ÷‹v™À�r™ß ,. õ‹öÿwþ˜5ŠöÿNß Š7ì˜õ ¯÷ X_÷ àQÀ%0õ•øÿ÷ Ä÷ W÷ ¦/÷ ¾_÷ ¼Qß BaÀ ç 5�øÿ7�‚™Ã÷|™÷ ØP7‘Þ¢÷ p˜ ÀŸj˜!Àb˜ð‹a÷ V˜ ÀŸP˜!ÀH˜ð‹Z rÁ ÁeÄ£A! þy8÷‹>˜ÎÚ‹Î ß BjÎ,šß Xi÷ €M±÷ Â÷ Ì-¬÷‹þ˜§õ‹øÿ÷ð˜Ãì˜õ�æ˜øÿ÷¬¸ð™¯÷¤£è™«õ‹øÿ’÷ ˆ÷ ˜Ä^7Š8˜ß x~ rÁ Áe^¤A! þy(ÃÖ—7Š˜ ÷‹˜ ÷•˜Îœ—ß zl7�ö—÷ 2Áp“Áíj“@€ rÀ Á\“ÁíV“@€ rà _þÀÀ 7à>“Ã-z—÷‹N—÷•.p—Àw¤~÷à`—_”÷ P_Ä%'Ä{õ“ìÿõ-þ’ìÿ‡À AìÿÁEp ³ õeìÿïß Ø`!ç_þõ-Î’ìÿ%†_þõ‹øÿ Á¼’Áí²’@€ rÃ%_þÁ ’Áí–’@€ rÀ _þÀÀ Àm~’5ìÿ÷ 8÷ 4 ÷•ÿÿ´–Nìÿß ªIΠ¯ß Š7x›_ -÷ JO_ß Ø`!_þ÷ ø À Á2’ÁEp³_Ãd–Ãí^–à à _ä÷ Î!õ‹øÿ÷þ–Ãú–÷‹–À8–Àí2–À 5ðÿ`7Šb– ÷‹\– ÷•T–Îð•ß zl7�J–÷-ʑƑ_þ÷ z Áº‘Áí´‘@€ rÀ Á¦‘Áí ‘@€ r&À€å5àðÿõ ðÿ5 ðÿÁ‚‘Áí|‘@€ r°•Âíª•Â Ä% ƒ ÷`š•ÀÀ 7`R‘_”ƒà€À 7`D‘·`€•Ä%÷‹P• Î0‘æß ðfÖ À-àˆ ÷•.`•ÀÀ 7`‘_| Îß .gÄ%_”÷-¸ˆr•_”wíðÿ.•@ðÿÀ 7àä�÷ •_”À•À 7àÐ�7 •_”õ‹øÿ_þÎaß øoß ´~Ä$_èõ‹øÿ_þÎiß øoß ´~_äõ‹øÿ_þß ´~÷ H[ÿ‹�”Îaß øo_Î$ß øoÄc_è÷‹l”&õ‹øÿ_þ÷ ÷ °ô÷ ¼r7Š˜‹÷2�*�Àn”œÎ·À ß ^”·Š~‹÷ ðó÷Þn¨Š÷ 8ô÷•ˆ”_v ÷ ¾ ÷ òL_õ‹øÿ÷ ¨ÀÀ ÀmÞ�5ìÿÀ-Ø�ƒõÒ�ìÿõ-Ð�ìÿ†õÈ�ìÿõ¾�ìÿÁ¨£7¾ þy õ-¤�ìÿ _þõ-œ�ìÿ_þ 7Š”7‘Ì“wìÿ‚�_| 7о“ô÷‹Ž“Ã%Àª“Àí¤“À _þ÷  Îß ”-_÷ \• ÷ :L_Ä%\_þÀp“Àíj“À _þ÷ Ü ÷ ¾YÀV“œÎ·õ�ìÿ €À �Á ÁmüŽp6¸‚  õÎß ”-÷èŽÔ“÷Ò“7 Ò“÷•b“÷ð’È“Îtæß ü-Ö Î“æß kÖ õ-¸Žìÿ†÷ î’÷ ì’÷- Ž¤ŽÎXß Ì‚÷‹®’_v  &ß ¨mÖ Î@ß Þn_v ÷  ÷ ^C÷ ¬’À¦’œÍ·Àv”÷-˜’”’ß Xi_ªß Bj_ªÃ%_þ÷-2Ž.Ž_þõ‹øÿÃ%_þ÷ Ò÷ ´XÃ%ÃÁŽÁíþ�@€ r€ À Áî�Áíè�@€ rƒ ÷È’ÀÀ æÎ�æ6¸ß æX–%÷²’÷º�¦’÷Б¨’÷•6’Π¯ß þN7¼‘ÎL…æß ü-Ö ÷ NÎÌ‘Ž æÎ ß kÖ ÷ ôÿ‹”‘_š÷% ¯ˆ‘‡_š÷ ~‘_šÀœ‘Àí–‘À _þ÷ ÷ êWΠ¯ß �{5ðÿÀv‘œÎ·õ.�ìÿ €À �Á Ám�p6¸‚  õÎß ”-÷�ô‘÷ò‘÷•†‘Îtæß ü-Ö Î,‘æß kÖ ÷ ‘õ-ÞŒìÿ‡÷åÒŒNðÿß þzŠÎ ±ß v}÷‹Ö� ÷•6‘ß Òk7Š,‘÷ "c · à�æšŒß ÒeÖ ÷ ÷¨�€‘÷x‘÷ ¯š�7Šrˆ÷ ìENðÿææoß üw–%_÷ ÷ üVΠ¯ß �{5ðÿÄ%O ÷ ‚�÷å<Œ÷-4Œ6Œ†÷ ¾÷‹F� ÀâƒÁ�&�@à÷ ÈC÷ T�À(’÷ ø=ÁD�AœÎ·@`À8�œÏ·á ÎŽàß þhNðÿß þzŠÎ ±ß v}÷‹ê�÷ Fb · �æ¾‹ß ÒeÖ ÷ ,÷Ì�¤�÷ª‹–�7 ”�÷’�÷•"�÷ ¯®�7І‡‹÷ ,Vÿ‹ � Κ�ß zlß Œm· Œ� æ&_>'÷ Vÿ¥ x�Îr�Î ß zlß Œmõb�ôÿé÷ ¢M÷ \HÀ%_÷‹Œ†÷ "Ú÷•qd�÷ ÚÀÿÿ_€ ÷ �÷¥ �_þ÷º¸‘Ä%pÎaÎiß øo_*÷ „UÀÜŠÁ�Á @à5ìÿ÷ ŠÄ%P÷åÀŠ÷ üŽÄp÷ªŽ¦�À®ŠÀe7”�7 ˜�À”ŽÀ æf¸æ6¸ß æX–%7 z�÷zŽr�Î~Šæö.ß ŠÖ 7 `�÷Z�jŠ÷•îŽUÀ�èŽ ƒ_ð*À x@¤÷%<�_þ÷ üÀ:ŠÁvŽÁ @à5ìÿ÷ � 7 �Î�Îeþÿæö.ß ŠÖ ÷ �ÀøŽÀ ÀmðŽ7þ‰ÀîŽÀ æò‰æ6¸ß æX–%ÎtæÔŽß ü-Ö ÄÆŽ÷ÆŽÀŽ7ÀŽ÷¶ŽÆ‰÷-ĉÀ‰†÷帉Á´‰Aíìÿ@€ r÷‹¼�à Ã-Ú�÷•.Ô�÷‚ŽŽ_| ÷倉÷¾�ÀÀ 7´�÷ ü÷ Z;Á¦�AœÎ·@`Áž�1�ηÀ”�ð�h�ηÎß .gÀ€�œÎ·ß Xi÷ (Ž_”õŽ7 Ž_ŽÎ ¯æ ±ß ÄNÖ Î˜�ß OΠ±æŒ�ß ÄNÖ ÷ 5õ•öÿÁèˆÁíàˆ@€ rÀ�œÎ·&ß šfÖ À�œÎ·a_b%Îlß Ì‚Úõ‹øÿ_þ·Š$�õ¸Œ÷ T÷‹¬Œ÷‹�Œ÷ 4@ æ<€Î ß ¨mÖ ß î•÷‹rŒ ÷ Æ@Îæ€Î ß ¨mÖ ÷ ¯nŒ7ŠF„7‘B†õÞ‚òÿ÷ÀÖ‚ÄzŒÀòÀ ÁrŒAœÎ·@àÀfŒÁÜÁ p�η÷XŒTŒ÷ ‚DÀ ÷‹š�÷¥ ’�÷•‘ ÷:¹ŽNÎeøÿ桱& ß À{–%7Œ¦ÀŒœÎ·�åp�ηwòÿ\‚7ŠDŒ÷‹´…÷¥Ø�÷¥Ð�÷¥È�7ŠÂ�÷‹ž‹wŒ_v ÷ Nß .m_÷ Œ�÷�l…nwõ†‡ôÿ÷¡±~‡ÎÀ�V…&ß –QÖ Îªæƹæpºß æX–%÷•ÿÿ‚‹÷ R‡%ÿ‹L‡"ÄŸF‡· B‡÷‹@‹Ä%vÄ%zÎ¿ß Ì‚÷Ÿ$‡N‹· ‡À�F‹ÁF¤7¢w þy 7Š2‹÷•l‹wôÿú† æ˜~Î ß ¨mÖ ÷ Vë7ŠP‹À�À„ß Ò75ìÿ ÎFß î•÷ I÷ �ð†ÿ‹¾†ÛÅ÷ \AìÿÁí–†@€ rÄmÈŠÀ�ÈŠÀ%ÿÿ÷‹~ŠÄ Ä-²Šõ†�õ•öÿ7ŠÚŠ7šŠwìÿT†_”÷‹PŠ÷‹`Š÷ î=÷X�Šwìÿ4†À�tŠÀ%ÿÿ_| _v Î&ß ÞpÖ _w „q÷• ‹wú‰@À æø…æf¸ß æX–%wjqw Zq ÁWp CÀeÐÿ`÷ ,Bß BaÀ ðß øo÷•²Š÷°ŠÀw,qw q÷¤…š…@À Àm˜…Àeþÿ7Š…·Šì€& ý Ö ÷Šà€wüpw ìp æŸ¯ß ˜lÖ Ä ¯ w-J‰“ß ðl„ Ì‹õÄ% ¯Ä wÂpw ²pÆåΠ¯fÎeúýß ÄNÖ ÷ ´NÎeúýæ ¯ß ¶`Ö À  wŒpNÎeúýß OÎþ„ß \4Àòw dpÄ ¯Ã ±Ë‹Ì¢„ ƒ Ì‹øÌ‹ ˋΠ¯ß ŠÀ Ä% ¯ú‡w2pw "p÷-š‰š‰ÀÿÿwpÀŒ‰À 6¸ß ªI· ~‰ ów øoÀÀˆœÎ·ß Bjwòow âoÎj„ß ªIwâow ÒoÎÀ�À’&ß ¤^Ö wÊow ºoæ  @�&ß ,0Ö 5�øÿ÷‹Ž÷ üR7Š6„7 N�7 H�Ä„27 <�& ß ¾1Ö À 'õ‹øÿ ÿ‹�æß ¾1Ö À õ÷ �÷m� �· �ß \4æž1ß ŠÖ ÀÀ `ÀÀ 7`°ƒÄeÄ-¨ƒË†÷ ÖŒ ÷‹÷‹ÂŒÎµß ̂κŒæ¸Œß 4PÖ À®Œwünw ìnæ 5 øÿ7Š”Œ@Á¸¤7xt þy÷ B0÷ h ß RÀ ÎÛß Ì‚ &ß –QÖ Îªæƹæ»ß æX–%ß 1'À xȤ÷‹€ŠÎß Ì‚Îªæ»æÆ¹ß æX–%÷‹ ‰ÎVß Ì‚Îªæƹæ»îµ øÿ·Šð‹÷ Ü ÀÀåc Ѓ÷І÷ ê÷ RÝ@øÿw$nw nÆåÄÄ»fÎeúþß ÄNÖ ÷ œ @�€ 2€ÁÚ¤7®s þy ÷ | ÷ xÂ%&ÂU€Ä%ü‚Î…ß Ì‚”�Ü€ÁÒ¤7ds þyCÃeúþË‹ÎÄ%żéƒÔ”ù·î…Šw’m÷ ¾wåÛw zmÄ$‹Àÿÿwxmß O7 ‹ ÷w ZmNfß ØUÖ À  wNmNß ô1À ÷ ì· äŠÀñw $m÷‹ÒŠÀw"m·Š}AÁí’�@€ rß ö•÷ ÂcΜŠÎ ß zlÎ &ß ¸2Ö Î^悊Π÷ 0:Ö á&ß ¸2Ö ÷ ¸ß7Š®|÷ &ÄÄ%ÿÿ÷ Ä% ÷÷ @äÃ%y½ ½w �læ ÎfÎeøÿ& ß �–%À%Àÿÿwzl@�øÿÀE€ÿùw `lõ @�ß î•õ øwRlw Blæ Ä ¯Ã ±ÂÄ»•Ä-Ô‰ü‚7 â‰h@øÿÀE€ÿÁò¤7øq þyβ‰æ¬‰æß .4–%(Q÷¬‰7 ª‰K÷è ‰ù÷˜‰÷”‰@÷èЉø÷ „‰NøÿÎE€ÿß ú3@øÿÀE€ÿ�Ã% ³*‚Îºß Ì‚%õ5€øÿ¹õ øÿâõE€ÿøÿõ%1øÿÛÀ�¬†Àe1@-øÿÔ@øÿÀ ü¹@øÿÀ &ê¹æß .4–%Ö€”5øÿ×ÄòˆÀÀe ¯Àå ±7äˆÃ% ³Åƒ•ûΠ±ß Ow.kw kD�÷ Òˆ‘ß Ø`À ÷ Àˆ÷ ¾ˆÄÕ ÄÅ ‘wújw êjDCBƒ ƒÀ”ß ú3�Ä% ³ö‚ wÐjüw ¼j÷ œfß t4Ö w´jw ¤jDÌEó #KÃeÃ%ø³÷‚LwŠjw zj÷ ÷‹j�÷ ¶wtjw dj÷ æ~Àæ~7Ü~7Ö~÷-Ô~Ð~†÷ ÈÎ;ß Ì‚wFjw 6j÷ ª+÷ Lß BaÀ ÷ ¢ÿ÷ ~œ~÷ –ÿ÷ ,Îgß Ì‚À À 7`€~÷-„~z~†÷|~r~÷ Æwðiw ài ÷ zWp @`ÄeÐÿ÷ äß BaÀ ðwÂiw ²iÎ:~ß v5w²iw ¢i÷‹Šy÷‹†y õ-$~‡@ÀE7\~wŠiw zi÷-þ}~Î‰ß Ì‚wriw bi÷ ä}÷â}Ú}÷à}Ö}÷-Ô}Ø}÷Ì}Î}÷ ÔþwDiw 4i÷ ¶}Î¡ß Ì‚w.iw i÷-¢}œ}÷ ”ÿÎÅß Ì‚wiw iæ 7Šô‹5 øÿ  ÷ ß BaÀ Ä Äf}÷•ЋÀÀ `÷ êþõ øÿÀÀ `ÀÀ à5 øÿ ÷ P€Á0¥7Ân þy ·ŠŽ‹Ä à Îïß Ì‚Cmøÿ5 øÿ€ rÁ ÁeL¥A! þyõøÿÄ ²Äà|¯õÿÿøÿÄ ø©Î¦ß –QÖ Â%& ÷ ÐÂ%?Â%/Î ß Ì‚÷ –þŽß Ò7‹Î<ß Ì‚†ÄŠ|ƒ÷ ˜Â%'Â{ Â%aÂ%zÎTß Ì‚ÂåaÄV| €À ÁEp ³ÄeÄ-@|ó†Ä-:|‡_(6ÎiÍ·þà Ä Ä|ÀÀ `Ä 7ŠzŠ wˆgÄ-|÷ ôý@øÿÀ `Ä-î{ƒÎ„ß Ì‚Ä-æ{†Î¯ß Ì‚åw FgΪæƹæpºß æX–%ļ{õ¥/ÄeÄ-®{†÷ öqÎÎß Ì‚Ä”{ÄåÄ-Š{ ƒ÷ ØqÎß Ì‚Ä|{& ß ØUÖ À wæfÄ-b{Ò ùw ÌfÆåà¯õ ±øÿ÷ \ß RÀ Gß "aÀ óýøÿÁ†¥7m þy÷ ,ÄU€Ã%ž±†ÎVß Ì‚‘÷ ß "aÀ ß RÀ Ý7¸~ŠõeøÿÇÂ`¯Ê‹ ·Â0¶Ê‹Î²ß ̂ʋÛÃ%ž±Ó‡“”ù= øÿ@øÿÁ ±uöÿ@à@€ rw fw üeÀ|~Á–¥7ll þyΞ¥æÂß ÄNÖ Àx~Àe 7�ʈÀj~Àe 7�¿ˆÀÂwÆeΣ¥æÂß ÄNÖ ôw ¦e÷ Dß RÀ Q÷ ¦|õ¥fÎ‚ß Ì‚Î0¶æ ¯ß ÄNÖ ÷ ‚oõ¥f_º:õ¥E_º:÷‹TuÎÇ¥ß |”õ¥f_º:÷-ÀyÂyTÎeSÎ ¯æ¬¥ß ’Ö õ¥f÷ þnα¥ß |”÷ uλ¥ß |”÷ ì××7R}÷ òD�÷ ø{ Ä%EÄ%eÄe7 ºnÀåe ‚À x¨¥7 ¤n÷ È{Î0¶æ`¯ß ÄNÖ Î ¯æ0¶‘÷‹št‘Î ¯æ`¯‰ÎesÁyÁíy@€ r&æÐ¥÷ 6IÖ &ß |”–%wjdw Zdĸ| 7 ²|ÀŸìx· èx ÷ âxÿ‹Üxõ7 Öx÷ÿÿôjÀÿÿw0dÎèjß 4>Îæä¥& ß �–%À%ê÷E€ÿÈjÎÄjß ’>À è÷% ¶j÷ ŠÛÀ¬jÝw Þc÷ <|÷ vÿ72|À.|wÔcw ÄcÆåà¯5Šöÿ÷%˜ÖrÀ 5ôÿ÷‹–s_t=÷‹‚s_t=À ÁxÁí x@€ r€ æ¦ß |”Ö ÷‹Î{ ÀÁm@xÀ _ô<Î�Nmôÿß ÊÎæ ±& ß �–%C5Šøÿ÷¥^¬u÷¥0¤u&Ä%#÷¥0–u7 Ì€÷‹ž{Îß ðÎß î•Î ß î•Îß î•Nôÿß Êõ•øÿ7ŠXu Ä _<=Ä ô¥  ±!Ä%÷¥.8u÷ PÚ ÷ h€  ß NÀ%ÿÿÀÿÿwžbÎN€ß  =7F€™µŠöÿ„ 4Š ±Î ±ß >õ‹øÿ÷‹êtΠ±æ€ß Æ=Ö 7€Ó• ÄåÄ%øÓ• Ä Ä û ±“”þà $õ ôÿ!Î ¦ß |”÷ ÕΠ±Îàæ& ß �–%Ã% ¯°a ŠÃ%ž± ƒó¥ ÿÿ#Šõ•öÿõ‹öÿã÷ xيΠ¯ß >÷¥.Jr!÷‹Er‘ÄE€ÿ‘Ã%ž±‚ÎŸß Ì‚÷ FýÄ% ãÄ%ÿÿí÷‹~q_‚<÷ÿÿèy_‚< _†ÂE€ÿŽß ’>À õ“�•öŠwô`w ä`÷ äƒõ¥ Îæò¥æß ìž–%÷ƒwÆ`w ¶`õ-:u7 j~ Nß ªI& ß Æ=Ö 7R~@w–`w †`DÄ ÷ Hj Ä% Ä% Ä% Ä%  wf`Àûw P`Dw ~À~Àe 7Bƒ÷ú}>ƒÀô}Àeÿ74ƒ7 2ƒ÷ ¯.ƒ7 ƒÎîB&ß ÌBÖ ÷ ƒ · ƒ Ã7 ƒß ¤?Îß d?Ì ô? î‚÷ ð‚ÎËß Ì‚ÀÜ‚Á”}Áe @à@€ r7Ö Ddþõ fþÎ9ß Ì‚ß aÀ%?Îuß Ì‚æ ¯ß ÄNÖ wŽ[ÎøÏw x[Ä6yNæ3¦ß ’Ö 7$y÷ Vwf[w V[D•C-ûÀwL[ üw 8[Ä ¯(À x8¦÷‹¾sÃ?ÀÀå ñƒÃ% ôÃ%ñ÷‹ s Îß baÀ Î\ß î•Îß Ø`Îß î••ßwæZw ÖZÆåà± Šõøÿ5 ôÿÄ ¯?€Á<¦7Úa þy@ôÿÀEøÿÀ%Ó• Ã%ž³ ƒµ ôÿñC-øÿƒÀ’ÀEÿPÃ%ž³‚Îžß Ì‚“�C-øÿ†õøÿµ ôÿC-øÿ‚€êÂ’ÂU€æÃ% ±†Ã õ ôÿ•¿=ŠøÿΠ±ß OÄ ¯Ã ±Â5€ÂE€ÿ Ì•_Ë• Œ�Ë•-ƒ „ “íà Ã% ±‚Ë¥ ù3ŠwöYw æYÆå. ß NÀ  À7�Âi÷‹¾i õ‹ÎX¦ß ‚a_pFÎß NÀ õ‹ñÎß NÀ ëõ•õ•÷5òq À7�r÷5Þq À7�øq÷5Êq À7�æq@�ß pŸ5öÿÀ%x ß ž™À ÷ >Tß tF÷ ØUÁL`A @@5øÿ÷ Tõ øÿÎZ¦&ß ÄNÖ ÷ òS@-øÿ"w�öÿ$`÷ |æú³ß ÄNÖ fÎeÌÿß ÄNÖ Î\¦fÎeÌÿß ÜNÖ ÎfÎeÌÿß d_Ö w´Xw ¤XÆåNÎeòÿß B–5Šøÿ÷ ¤Oõ‹øÿµŠøÿ fß ˜aÖ NÎeòÿß T–wvXw fXÆå$NÎeÖÿæN¦ß @ŸÖ @ÚÿÀEþ7¦pwNXw >XÆå(÷ *Îz_ß ’š÷€ôu÷¶o÷²o÷ÿÿ®o7 np÷ÿÿèw÷ÿÿäyÎÚaæüÀß ÄNÖ NÎeÖÿæüÀß @ŸÖ À õ¢uÔÿÎüÀæ¢¦ß ’Ö ÷ ÂÊ5ŠÒÿ÷ ÚNõ‹ÒÿwÔÿzuµŠÒÿ÷ ¨Îß Ÿ@ÚÿÀEÿŸÀ%@÷Vu×7ŠTuÎf¦æüÀß ÜNÖ ÎüÀß þNÃ÷ ˆWà ΀æüÀß ¨šÖ 7ž^¸÷•Vyß ’šÎæüÀß ü›Ö 7~^¨ÎÄkß L�w4W�À r ÁU0@$�à �À r Ïw W÷‹ yÎüÀß Òž7ŠþxwþVw îV÷ èf÷ ÈÀ ÷ ÐÿÎß ŸwÜVw ÌV7 ’t7 ’t7 �t7 –t7 Št7 ˆt7 †t7 „tw´Vw ¤VÎ@kß ’š÷ÿÿ6k÷ ¦`_lI÷ Fa æRtæLtæTt毦÷ ÒKÆe÷ 6t×-2tÎÓ¦ÎÔ¦æ tætæ"t÷ ¸Ö &ætæ·¦ß |”Æe ÷ þs ÷ ús÷ ös÷ òs2ÎÖ¦ß |”÷ Þs÷ ÚsæÔsæÎsæÙ¦÷ TKÆe÷ Âs÷ ¾sÎâ¦ß |”÷ ®s÷ ªs æ¤sæžsæå¦÷ KÆeÎ)ß î•÷ ÒÎ÷ ~s ÷ zs ÷ vs÷ rs wžUÀûw ˆUõ%Àï¦w„UÀð¦ûw nUÆåCÃeúý fß �LÖ ÂsõE  õe€fß �LÖ Âör•ðNÎeúýß ¦Pw(Uw UÆå· lmCÃeøýÎß Q÷ ÎÃõÈrøÿÎføÿß �LÖ Â®rõEøÿ Îõe€øÿføÿß �LÖ ÂˆrÔ”ï„rÀAÁeøý@àÀetþÿÀE€7`jr€w¤Tw ”Tà¯Â–v÷ RrÎæ ±æiß �–%À 78r Ã% ¯Îò¦ß |”&Àÿÿw`T ±Ã% ±‚ÎÜß Ì‚„”Ä ÷e rw r Ä5€ ÷eüqw öqÄE€ÿÄ ‘Ä% ÂÁÁå ¯À 7`Òqw`Ðqw Êq#Š·v· Ìq Ëw êSæ õhhøÿ÷ ýÁ`hAíøÿ@€ r€ 7¢qIÂÄ ±Nøÿõeøÿß ªI Â報޿ ±æ:hß ìž–%€ ÷ \�À 7`Rqw`Pqw JqÂÿÄ ±Ô”áô• ÿÿõ-ìgøÿÒ†Â報޿ ±æògß ìž–%€ ÷ �À 7` qw`qw qwOw .ODÄ Ã%§Ã*§ ß *OÀ Îdæ&æ/§÷ Æ3Ö &ß |”Æe÷ ¶EwôNw äNDCß *OÀ æL§÷ ’3Ö &ß |”Ö Ã%!Îæe§ß |”Ö ÷ nEw¬Nw œN÷%g Îgær§÷ R3Ö &ß |”Ö ÷ DEw‚Nw rNDæ ௠Â5€ÂE€ÿ€Á„§7¾V þy •5øÿõ øÿ “�õ øÿù óÓ• “�•Þ ŠÀ ¯w$Nw NDæ à¯Â”Â% ÷ªk ŠwNÂ% Â% Ë‹Â% Ë¥ ”�æÂ% Ë¥ Ë¥ À”ÀU€�Øõøÿõ%øÿƒ µ øÿÀ’€ öÂ% À�À€�T�øÿ¾w ‚MÆåNß Ø`À Nß BaÀ Îß Ì‚Ãƹ÷ øèõ%\,Á�§7¼U þy÷‹ŠhÎ{ß Ì‚ÎªæpºæÆ¹ß æX–%w M÷‹iÎ¸ß Ì‚Îªæ»ìÎýß Ì‚D-Ä% Ä%ÿÿË‹ÎB ß Ì‚Ä% õ‹Îq ß Ì‚Ä% 7e@Í@Àeîÿ5ìÿ7ŠÒg7ŠÏgÄ%^÷ 8è·Š¿g7îdÃ%Dº‚Σ ß ‚U÷ èD-Ä%ÿÿ @Àeîÿ@-ìÿÎÖ ß ‚UÓ• Í÷ ŠVÄ%*Ã%ƹ  Ä%\÷ RèÀ%*Ã%ƹõøÿÁȧ7ÔT þy÷ °çÁ §7ŽT þy÷¥ "gÎ ß ‚Uý�gìÿµ ìÿÓ•Ó�g·Šg£@Àeîÿ@-ìÿ‚ÎR ß ‚UÓ• õ ìÿSŸìÿ’Ó•�Ó•Œ÷ ÜU_ÚTÁ´§70T þyÓ•_�RõÄ»êÿý‹êÿ_�Rýµ€êÿDŸêÿÄE€ÿÄ%&Ά ß Ì‚Ä%1Ä%9ι ß Ì‚Ã%Dº‚_–RÓ•@ŸêÿÀE€ÿµ êÿ�ÓÃ%ƹ_ÚTý¥øÿý¥ øÿÎí ß ‚Uý¥øÿ @øÿðµ€Î" ß ‚UýÕøÿ_�RÓ•Šõèÿ÷ jæÄ%^÷ ^æó•þÿÄ%],ÎP ß ‚U'Ä%\Ψ÷ ´æ&ß ÂCÖ À ÷ (æÄU€Ä% Ä%ÿÿΖ ß ‚U‘µ èÿÃ%Fº‚_–R÷ úåÄ%]Ö@øÿp�èÿ_�RÄ%ÿÿ÷ÿÿ˜bÄ\HÓ•Ä% Ρ ß ‚UÄ%1Ä%:‘_�RÄå1À�2e!Îå ß ‚UÀU€�_�Rõ‹7Db_ÄRÎ- ß ‚U÷ ðå@- ÷ æåÀ%ÿÿõ‹÷ ÖåÀ% Ó• _�R÷ âS_‚SÓ•Äw –I7ŠÞÀ%=Žæ�ß Ì‚Ö ÷ ¤Þß BaÀ Î¿ß Ì‚ õ Öÿ÷ †ÞÀ%0Â%Z©õÖÿupÖÿf÷ ìÝ€eÄeÐÿ÷ \Þß BaÀ ï2_$[Ä š÷ tÀ –÷ ¾ÝÀ%=Žæöß Ì‚Ö CÃeÚÿ @ÀeøÿÀ ‡Îß Ì‚÷ ŽÝ�÷ 6À ð Šò¥NÎeÚÿß ‚a_$[NÎeÚÿ¦ß ÄNÖ ò_$[w ¬A÷ ÆÝß "aÀ ÷ ¸Ýß RÀ  w–AÀûw €AÄÎ¨Ì õ‹ � ‚À xª4-ß Ú]Äe éô úöwNAw >AD� ‚À x"ªô æD«æE«æ>«ß |”–% ÎH«ß |”ÎFKß J^÷ º÷ ê³wü@Ä%Z©ï&æN«å&æU«ßw Î@DÄ týÿÀEàß J^ÀEøÿÀU0ß î•w®@w ž@ÄΨ ô¥ô‹4Äe Ì òw„@w t@æ ÷‹ZP÷ È#7ŠUAwpüJuÄØTÄ-ÖTI‡ß ªIΠ¯ß �{@�Àå<  ‚À x\«÷‹ªP&ŽNmß þz7 TΠ¯ß r{5øÿß aÀ`À%ž³‚ÎBß Ì‚Nøÿæß ÄNÖ Î ±ß Oß \4Äe¿ ûBí ŽÒÀ ±ÑwÄ?w ´?ÆåÎæß ��Ö  ß ÆšÎ{ß Ì‚ ß ’š fß ü›Ö À Â8]÷‹\OΤæß ��Ö ß Æšß ’š·]õ `Nß  C[· °aÃ�0ONÎeîÿ& ß Þ›Ö À  À7�O5ŠìÿNÎeôÿß B–÷ 6÷‹ðNΤæß ��Ö õ‹ìÿ µŠìÿÎæß LÖ ÷%Ha ß ’šß Æšß ’š÷ 0aNÎeôÿß T–÷ ú5÷�¢N ß ’šß Æšß ’š÷ aNÎeôÿß T–w”>w „> „ ÷ Ú÷ ”Úß "aÀ öwr>w b>DC£Ô‹ü wX>“Á˜@àúw @>DÄ%a Ä%z Ä%ZÀe w(>Ä%Aõ ùw >D ƒ Ô‹ýÀw>w ö=õ¥ õ¥  wì=Àûw Ö=õ¥0õ¥9 wÌ=Àûw ¶=õ¥Aõ¥Z w¬=Àûw –=Îfß ˜aÖ w�=w €=Æåý‹õf« NfÎeúýß ¤–Ö À% DÎi«fÎeúýß ÄNÖ @�úýA�ûýWt@P7¶UÎz«ß È—7nI÷fIÀbIÀ 7äG7âGÁTIÀ r7ŒG7ŠGÎ}«ß È—78IÀ%÷è,I΀«ß @˜7�jU÷ ÖÖÈ¥O7Š\U΃«ß @˜7�RUΆ«ß @˜7�HUΉ«ß @˜7�>U÷�ÁV_ÎŒ«ß (c7UÎ�«ß (c7UÎ’«ß (c7UΕ«ß (c7UNfÎeúýß àbÖ æ¦¨ß ÄNÖ ÷ ¶´Ä Næ”ß Ì‚Ö wH þy÷e„J÷E~Jw2· vJûw ú1ΞJß .mwú1w ê1Dß zl÷‹^Bà Îß Œm7tJwÔ1w Ä1õ Î£ß Ì‚wRJwJJw²1w ¢1Î>Jæÿ÷ ŒõÄ.@Î,@Î ß .mÎ$ß î•7@÷ RÎ@æ @ß ÄNÖ ÿ‹@ Îü?Îö?Î ß zlß Œmÿ¥ â?ó÷ 6õ ææcß üw–%w,'w 'Æå÷‹º?÷‹ž?÷ R¶õ  À7�¬Iõ¥rõôÿ5 ôÿõ†?öÿ@�Á¬7|4 þy÷•Ø?Π¯æÒ?ß ÄNÖ ÷ j0õ Nß þz ŠÎ ±æ5Π±ß þNN@�&ß ¼}Ö 5Îh>æŽ ß ÄNÖ Î ±æV>ß ÄNÖ ÀÀå ±7`F>õ ñõ¥ øÿÎŽ æ0>ß ÄNÖ Á :Áí:@€ rÀ8>œÎ·&ß šfÖ õ¥ øÿ_äzÎP­ß Ú~÷ �´÷¥V>÷•N>wöÿ´>ÎF>ß O÷ Ð7<>÷˜>÷–>÷ž9Š>÷ &µ· ˆ>õ÷ ¸.,÷‹ > ÷‹¨GΠ¯ß �{57Š–GÎŽ ß r{ß ONß þz ŠÎ ¯ß aÀ`À%ž³†Ã ±Î ¯æß ÄNÖ ÎŽ æ ±ß ÄNÖ Ã ±Î ±ß v}· R=÷‹(=÷ ¶ð÷ € À>=œÍ·`æò8ß ÒeÖ Îß O Š÷ ¯ú<Π±æò<Î ß ˜lÖ ß Œm_æx÷% ¯Ú<†÷ Ô<ß Xf÷ $òw*$w $Dà±Ó• ÄåÄ%øÓ• Ä Ä ûÀwü#w ì#Π±ß �{Π±ß r{Ë‹ D-÷‹N47ŠH6wÊ#Î&÷ ˜ÿÖ &ß ÄNÖ ów ¦#D„ “ß "aÀ ùw˜#w ˆ#D •ÁÒ¬721 þyÃeÃEòƒ ðÀwh#w X#DÆå =Š7ð=÷ Vœ7ŠR<Π±ß �{5ôÿõÎ=òÿõ õ õ ÷ ôõ�ðÿÀ rÁ Áe ­A! þyÎß øo Šwö" ŠÎ ±ß r{Π±ß �{õ¥ðÿÏ!ÍÀÀmb-€ ß  =5ôÿß þz·R=+ Â-H=&ƒ÷ Šùµ7Š<€œÿÿß "aÀ  Â-$=õ‡ŽÎ ß ŽuÂ-= †ŽÎ æß XuÖ À  óÂú<!×•ß î•„ ú‚ ŠÎ ±æÞ:Î ß ˜lÖ ß Œm„_î{à ý�“õ´:øÿõ°:öÿÎ\ß î•÷ Zð÷ æòÀ rÁ ÁeÞ¬A! þyNøÿföÿß ¨mÖ Îß î•Ä%ž³†Îòß Ì‚Ô�÷ ð_î{Îß øoÃ\îw ¢!wTD·Š„1Î 6æš}ß ŠÖ ÷Šr1wŽ!w ~!÷ 2DÀÿÿw|!Î$Dß O7 D öw \!DÄ%þÄþΠ±ß aõ¥RÎà9ß a À€ÀmÌ9æÆ9ß ÄNÖ Î ¯ß aBpÁ`Á%þw!ÁþÁàÀ rö÷ 4°Îß Ì‚ïw Ü Î‚9ß .mwÜ w Ì ÷ f;÷�J:L:÷F:H:?ŠL:δ¸æ¬¸ß ÄNÖ w° w   ÷ :;÷‹RC÷ŠLC÷´¸:÷‹@C÷Š:Cõ�2C�:· :wt w d ÷•Cw�Cw` w P ÷‹C7 ä:wN w > ÷ Ø: Næ:¹ß JÖ ÷¥ B:7Š®9w& w  κ¸ß w w  æ õŸª8øÿ?Ф8=ŠÎš8fß JÖ �øÿŒ8õ%º¸7 X8wÞw ÎDCÌ¥ Îß a&&÷  áÖ €e€ À%€Ì• Î&ß ÜNÖ wžw Žæ 5 øÿw4÷‹j/[÷‹f/Xõ%ž1TÀö3Àe7ü37ö37Šø3I÷-æ3â3‚Îß $�À%ÿÿ÷‹*/ õ%ž1 ÷´3Æ3À°3Àe7¼3Îß Ì‚÷e¦3µ øÿÄœ3ÄeÃe÷eˆ3÷e�3÷e~3÷ez3Âr3#„ ý‡ Žß \4õ%T;· &7÷ VÎý À ³@øÿwÂw ²÷‹š.7ŠF3À(37:3743w¤w ”ÆåÁ3Áí3@€ r5öþõt3øþ÷‹^.Î8ß Ì‚÷ ®´÷ ú´÷ :µ÷ Ðß÷ ö¹Îß RÀ ÎZß Ì‚ æß –QÖ Îªæƹæpºß æX–%DÄeúþ÷ ¼¹Ã% )ÀÁ^­7N, þyÎ‘ß Ì‚÷ –¹ÀÁR­7", þy÷>6Ô�@Àeøÿ!Ù‡Î¥ß Ì‚ÔÔ•\ò÷6÷ êŒÔ�Š÷•š-Â42ÊEÂ-$2 ‚Â- 2 ‡Ž& ß ØUÖ @-ÊUÂeÂ- 2é†÷ ìÂü1Ê5ÊE·î1@Àeúþ7ü1Îæß LÖ ÂÎ1ÂeÂ-Ì1æ†7Š$-÷•wøþ(2Nöþß ÈO÷ÿÿæ#w&w D÷•ª1÷”1¢1Â�1ÂeCÂ-†1‚Îß $�À%ÿÿÎÕß Ì‚÷eh1Ò!ì†÷•h1@Àeþÿ7T1wP1Àe7H1€Àeþÿ741w¬w œÎ1æ1ß ‚Ö w–w †Î1æ1ß ‚Ö w€w p æ^ ß ü›Ö 71÷ P�÷ ’”w\w LD &æâ0ß l�–%Ä ¯Î€&æÎ0ß �–%À%Äv­÷‹Œ4÷•„4÷ �÷ Ø‹÷‹ø+7Šò+÷ ÚŠ÷ ª÷‹à+÷ P”÷ •7ŠÒ+7ŠÐ+N ff&÷ ˜Ö &ß ’Æe÷ ˆ÷‹¶+Îß Ÿ÷ ΚÎ& & ß l�–%÷‹†+÷ Z"7Šz+7 .0÷%ÿÿJ"÷ ·÷% <"õ7 Ð3÷•L÷ 0Îþ/ß ’š÷ÿÿô/÷ šwXw H÷ :%Î|­ß |”wBw 2Dæ ±ß ÄNÖ  Šƒ Ë‹À’Áj­7X) þy÷ ¸%îË• ì÷ ¬%èÀ€ wðw à÷‹Ú/ Îß N÷Î/<3Îß d7о/wÈw ¸ÆåέfÎeøýß ÄNÖ NÎeøýß þN÷ Ü÷ ®¶ß RÀ Î�­fÎeøýß ÜNÖ !Ä ÷ жß RÀ ÷ ¶�÷ v¶ß "aÀ ïŠ÷ ÀÛ÷ b¶ß RÀ Îß Ì‚÷ ܉ fÎeøýß ü›Ö 7¼.Îæaß Ì‚Ö ÷ ô @€`0ŠøýNÎeøýæ•­ß |”Ö ÎfÎeøýæ‚.ß �–%è÷ ÊŒwÜw Ìà± ŠÄF./ß ªI ¯Ä-6."õ‹‚ Ê¥ üÊ¥ ùÊ‹Ã% ±†ó¥ ÿÿó¥ ÿÿ Ó• Ã%ž³†Î­ß Ì‚“”÷à ÄeÄ-ä-ΆÃ ±Â ¯Ò”þ÷ ¤Š÷<÷åÄ-ÎÀ-æî…ß ŠÖ w:w *÷ ä;Àà;w*w ÿ¥M.÷ ¦®÷-–-Ž-Ά-ÎeþÿÎ~-Îeß v5÷ l®÷ į÷ ܯÎÖ-æôß Ì‚Ö ÷ þ‡ÿ¥MÀ-& æß p†Ö ÷ âÈw¸w ¨æ DÁ$-Áí-@€ r€ 5øÿõ‹÷-@;à -ÎÃeæÄ‡ß ŠÖ Âö, Âè,Ãâ,ÓEƒ ü†ÃÔ,ÂeÄ ;ƒÀeÀ õ‹Îß Ì‚�Áà@€ rÀ a7¨,ÄeÄ 'Î&ß ¨‡Ö Žæß ¨‡Ö Ž&7‚,ÄeŽæß ¨‡Ö ¦ß ¨‡Ö æß ¨‡Ö „ êƒÎ;ß Ì‚÷ �†÷‹ª'"õ‹@Àe7B,@øÿÀ Àm8,76,÷ Š÷•.,÷,",÷ ,,w,÷,,w€w pDC ”Â!û‡wdw T÷-Ö+:†ÀÿÿwPÎ:÷eú9ß ªI õw .÷-º+è9†Àÿÿw*ÎÚ9÷eÔ9ß ªI÷eÊ9 òw ÷ ^ú÷•–+÷ &Çwüw ìÁx+Áír+@€ rÀd+Àe7Ž9ÎP+æê‡ß ŠÖ ß êOwÂw ²Æå„ ÷ !Îjß Ì‚÷‹2/Î�ß Ì‚÷Ô"’/÷‹/÷‹/÷ ‚/7Š/÷ ö«÷ N­÷ ä×÷‹T&÷ ØùÁì*Áíâ*@€ r5vö÷ h²À%/*Î÷ Þ±&ß –QÖ Îªæƹæpºß æX–%΢*& ß ØUÖ À ÎÂß Ì‚õ®3øÿõ% ¯øÿ†ý‹øÿ õ øÿ Îp*ß ªIΠ¯ß Š5øÿ÷ …÷"Ö.NÎexöß ª÷Þnä$÷ tŽ7ŠŠ.÷‹F. ÷%ìÿŠ*7 „*÷ Þá ÷ (.Àà!À 74.7,.÷•”.÷** ÷¥.J.÷ Ž¥Î ¯ß Š5øÿ÷‹p.÷ ˜á7Šf.÷ ^Nøÿß ^À%ÿÿä÷ BŽ7Š.%÷‹Ì-÷ pá÷ DŽ÷ ô÷ 6 Nvöß ÈOw(w Dô‹„ “ß "aÀ öww ô7 ¾-7 ¸-Ä0!Ä Îè-À &î·ß ºkÖ ÷‹`- Ä ÎÎ-À &î·ß ºkÖ æ@)ß ÒeÖ w¶w ¦Æå& æ ¯ß ü›Ö 72)õ¥e À÷%<2 Á@0· T÷ \Á÷ B_´‹NÎeÖÿæð(ß ›Ö À ÷ :Á@ÚÿÀEÿŸÁ¸­7Ö" þyÎìß Ì‚Î¾(ß NÀ Îß Ì‚õ¥ãÿõ¥âÿKÎ ß Ì‚Î%ß Ì‚ÎfÎeÔÿæ€(ß �–% & æp(ß l�–%Ä%.@ÔÿÁ˜­7B" þyÎ1ß Ì‚ÎAß Ì‚ÎVß Ì‚Îcß Ì‚Îvß Ì‚ÎŒß Ì‚Î–ß Ì‚õ5€€ÔÿÎ¤ß Ì‚õ¥r ÷ ö©÷ @�ß ö‹wV÷ Ȩôw @÷ À…÷ h¼Îº'æ„Jß ŠÖ w2w "÷ v¼À õ¥e· úõ¥e÷•ž'÷‹ð"7Šê"÷ Ò�wúw êÆå÷‹Î"Îéß Ì‚õ‹÷ È÷ ˜�÷¥b'=ÃT'ÁÁíR'@€ r÷.'Ã<'À À`7'ÀÀeþÿ7&'Ãe÷ 'Á'w'Áí'@€ rÀ À`7ð&Âþ&Îø&& ß p†Ö ·â&÷Ô­L'÷ ~Â_ü�õÐ&ôÿÁÌ&ÁíÂ&@€ r5òÿõ¸&öÿÀ²&Àe5øÿ²&ì&€Àà@€ r!Žæß ¨‡Ö Nøÿ¦ß ¨‡Ö Nøÿæß ¨‡Ö ÷ r&‚À 7àh&À 5àöÿÀÀeþÿ7L&ÃR&ÃeÂD&�Áí<&@€ r#C-øÿNøÿæß ¨‡Ö ÂeŽføÿß ¨‡Ö Žæß ¨‡Ö ÷ &‚À 7`&÷ð%À 5`öÿÀð%Àeþÿ7æ%÷ä%À À`7Ü%wöÿÊ%Nòÿß ÈO÷¥Ì%÷Ä%²%wôÿ¼%÷-¤%¦%÷-¢%ž%÷–%–%ww À�œ% 7‚À xÌ­÷-ˆ%„%4÷-v%r%,/Áj%Áí`%@€ r&ÁZ%ÁíT%@€ r€%Ä@%Ã@%ÃeÄ-8%‡ÀEÁÁE@ ÄeðÎß Ì‚Îß Ì‚wŠw zÆå$  ÷ Œ¬À%!ƒ ÷ ¬÷ ÖÑ÷ ø«„ ÷ ÈÑ÷ j¬À%>öÄ  ÷ X¬ß RÀ Îªß Ì‚Ä Ä%ÎÊß Ì‚Îwß r9 ƒ_ì�À xÚ­Ã V÷ àÎ0¶æ ¯ß ¶`Ö À ÷-f$^$÷-b$X$BÎß Ì‚=NÎeÖÿæ ¯ß @ŸÖ À 3@ÚÿÀEÿŸÀ% õ¥ãÿõ‹âÿ%õ¥ãÿõ¥âÿÎæ ¯ß ü›Ö 7$÷ f¼Î $ß NÀ Î ¯æZß Ì‚Ö Îð#ß ’š÷  ½ÎŠæ ¯ß ¨šÖ 7Ö#÷ (¼÷ >»÷ €¸Ä%÷-¨# #÷-¤#š#Î0¶æ ¯ß ¶`Ö À ÷æ÷ Ö}wþÎæ ¯ß ü›Ö 7€# Î& æt#ß l�–%À Íà ɼw À÷ š¥÷‹¤÷ ò7ŠL#Ä.# 70#ß ªIΠ¯æ ±ß ÄNÖ @�&ý Ö Î ±æ ¯ß ¶`Ö À ß \4ÄeÄ-ê"݆wjw Z à¯Ä ±Ì¥ Ã%ž± ƒÓ• ‚ Â5÷ Ã%ž±‚Î�ß Ì‚“‚ „ Ì‹çŠw"w æ 5 øÿ Ä ±Ã ¯“Áà­7À þyÂeÂE.@øÿÀeÀE€ @øÿ€ € Ó• õeøÿõEøÿêµ øÿÓ• µ øÿøÌ‹õ‹æß ÄNÖ wž “µ øÿ‚ „ Âw ‚ w�@0÷ ú£7Š607Š60÷ ©„Áì­7: þy ÷•0÷ ì¨·Š 0÷ `©€ ø÷ ܨ ÁWp CÀeÐÿ` ·Šâ/ ß BaÀ ÃeÐÿ÷ ª¨ß BaÀ ãÃ-Ê·Š´/Â%= Ãe Â%ÿÿÀhÀ¨Ä%ÿÿ7,%÷ ø{÷H!D!÷ >¢Žæß n’Ö wº w ª DC� À�Á®7Ž þy ÷-!!ÎÄß Ì‚÷-!þ ÎÍß Ì‚Á�0/DpÁ w`è ÷-ì â †ÎÕß Ì‚÷eÒ ÷Î Ê À À 7` ÷¾  ÷-º ´ ‡÷´ ¬ ÷-² ¨ †÷ª   ÷-¤   †÷œ ˜ ÷-Ž Š †_”Á‚ Áí| @€ rÀ%÷ ΃À�À%ÿÿD÷‹ž.AÎX ß ªIÎ�ß î•÷•º?Ä „ Ã¥=Ä À6 Á @à7* Ã¥=Â" ·$ À 7` Ã¥.ª÷ С¤Á�F.DpÁ wàþ÷-þøƒÎáß Ì‚Ä ÀèÁ @à7Ü�÷‹.÷ Ò#Îšß î•  ¦Îeþÿæ¶ß –%÷ . ¦¦ß –%÷ €Àe7’ æŽæˆß –%w w ö ÷%è6ÀHÀ*à¯Ó•-Ä Ä û ŠÎ ¯æ$®ß |”Ö wÊ w º 7Šx-Î=fß n’Ö ÷ nw¬ w œ Æå~wÀ-DÄeÀŸ¶- · °- %ß î•ôw| 7 œ-÷w�-ƒÃeÁ(®Bí üJ  Ó•-ׯn-d· f-÷ F r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „( À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à • à Áâ, Ò‹ƒ D~‚Âeƒà&æ Ä Ãm¸,ß î•Ã~Ä Ž”ß î•à Î ß î•Ã~Ö „wÖþ ÀŸŠ,· †,Àå0 úÿ ‚Wp `îÀe0ƒ÷ T‚w$|JHFÀ>÷�8‡À2÷*,‡÷˜(‡÷ Äžw,x÷ ¾Ÿw x÷¾‡w,·,·, ‡€Ð,Ð,Ðþ+‡€7ò+7ò+7ì+‡w ²@w#Ü+ EûÆÖ+ÅÎ+ÎÌ+‡õÆ+w˜f…‰†wÄ}…‡w tÆåw2+NÎeôýæB®ß ,›Ö Àÿÿ  ŠÂ%ÿÿ Nôýß ’š wFDD-ï†ô¥\ÿÿëÄ NÎeôýß �›Â%ÿÿáÂ% ì”�òNß .—À áNôýß ’šÀØw êî*-Ë¥:,D Ë¥| Ë¥: £ƒ „ Ì‹ôÌ‹ Ë¥|Ë¥:Ë‹Àw°Ë‹Ë¥:Ë¥|ƒ öË‹ƒ Ë‹Ñ íw ~DC Ì¥:„ Ì‹úÌ¥:„ à à ÷w`w PÎæ*ß š—Ö Ê‹Àÿÿ'R¯&Ê‹$€”AAœ@ Ê¥#‚ à ʥ0à ʥ9 CpD€”ÀeÐÿ`Ê¥0ówðΦÊw ØÎæ˜)ß š—Ö Ì‹ T¯ Ì‹ @0£Àw°Î&æw ˜ÎæX)ß š—Ö Ê‹ R¯Ê‹€”AAœ@ Ê¥= ‚ N¦ß Ô˜Ö w\ΦÜw DDæ C•TÂ%:Q€Àå\  ‚À x‚®Ì¥aÌ¥z•ÂEàÿ“�ç“ rÁ ÁeN®A! þy„ Âì „ è û øÂõÌ¥0Ì¥9 õøÿ—t•ÀeÐÿPõ øÿÌÌ¥0ÉÌ¥9ñÅ̋ÕÁŠDýwŠw z æˆ®ß ü›Ö ' @�t&&ß l�–%À Î ææÁ&ß �–%À% 7 (÷•/þ'7Šû'÷un(ß ’š w(ß ’šÀÿÿøw ÀèÁww ÀÆ'ww ôÀØ'wøw èÀÌ'ÀEÿ7�(ÀÀ'tøÿÀEÿ7�(ÀTÂwÐf…w2‰’®†wô …‡f…ww‰–®†wÔ …‡f…@‰†w¾ …‡f…wìw艜®†wž…‡f…@)‰†wŠ…‡f…wÀ@Àe7¸‰¢®wjf…‰†w\7P' …‡f…@wމ¨®†w: …‡f…wx‰¬®J‡A …‡7 �!f…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7ú1@‰²®‡À �1‡wŒf…‰…‡f…@wΉ¸®†wj …‡f…w¸w´‰¼®†wJ…‡f…*‰†w:¦BJ ‚…‡f…w‚Aɉ®T‡  Rf…Añ ÷ ^ñ y�± ñ ÷ Fñ y�± @3f…Añ ÷ ñ @9�± !f…A÷ @Àe&7øwô7àî@‰È®†7p%±ñ‡wf7 à…‡f…@wÀw¼‰Î®†w@…‡f…÷¬¨wm¢‰Ô®†w"À–wm�…‡f…w€‰Ô®†wwr …‡f…@wbw^‰Ú®†wÖ …‡f…AW †@w<Á f\Â1\Â70 À5Á Á Áeè�w‰à® ‡À5€…‡À& Ö wx&Àn$L&Àh$H&Àb$D&À\$@&ÀV$<&ÀP$8&ÀJ$4&ÀD$0&À>$,&À8$(&À2$$&À,$ &À&$&À $&À$&À$&À$ &À$&À$&Àü#f¦æ&È „ƒ‚�€f…@w<‰æ®†wª …‡f… ‰¦BR‚…‡f…w‰ê®†wz …‡f…@wöwò‰î®†wV…‡f…÷ X@‰@…&æ¦È B„ƒ‚F…‡f…‰…‡f…w¬w¨‰ô®†w …‡7zÀÿÿF…‡‡f…@÷ …‡ ÷x$#æ ‰„Â"‡Îò"‰ú®‡@‰„‡ À„Â$ô$ttñ¤yîЋì¢é7˜Ü"@‰Ö À�Ò"‡Îìàæ–Unknown option %s Recover which file? unchangeprintrecoverpreservereaddho¨²l<\| $cxèr,z Ö Ö b cswº ¦ � 0 ehoyr Œ ¨ È Ü n       � Ô Þ è ò ú ¡ ¡¡$¡.¡    q   ” X, 6 Ü ” ¤FZ ” Ü ^à ¬ ” 6ŠÀ ” > PN Ì ” € L ä ” B   pn ” ê PÌ^ ž” ò  * ޡ𡤡/68 VŽxˆš V”‚xÿÿ |jjx~args%6d %s appendcommentCopycdchdirdeleteexpandexechoeditfileglobalinsertjoinmarkMoveopenlistputnumbernextquitrewindresetsetshell-isourcesyncsubstitutetabulateTranscribeundoversion%s visualvwritexpandyank%d helpError message file not available /usr/lib/ex1.1stringsí¢í¢  Ú’¦ÔFf†à Š´®ÎØÞ€ˆ xRRN €x€Ž({)}!|^~'`%6d %s%s ˆ+-.^bTTDz-.^¾ 0/ +-.^*$*$ $$$þ#þУܣè£ô£þ£¤   èÄ! à"P!Ìè€ªä ‚!Ä!èþ#Ô R#è¾!¾!#R#èš! Œ 0$þŠ*Z)+-.^¶,þ,þ,þ,þ,�,h¤r¤|¤‚¤�¤ †-x(”(Z$”(†-(B(‚(F)†-j%B(†-ú*ú*H'J&H'f(&s~–0N0¸0Þ0Ú0ð0ð0ð0Ô0~x1P1ÿÿ &\~Œ1Œ1–1>1–1T1&ELUelu3ò223H3ò2&3:3†3Version 1.1, February 1, 1978$'./?\‚6‚6†6‚6‚6‚6–6R¥^¥l¥./|7(67Ä6Ö6Ê6|7(6"7º6Ê6Ö6Ö6%\`Þ8Ž8Ð8˜8ca49b9=xxOOPSd:`:"%s" [Edited] [Modified]No file %d lin%c@in buffer è=ä=ò=CTRL(H) discarded   %4d */?[äAvAøAòAbAêA:CBC[?*"%s"ðC4D _ÐDpD¼DŽDÿ/dev/ttyxu//.exrcÿÿ/ExXXXXXv¦€¦Œ¦  ~L6LNLfLvL~L>LFLVL^LnLPANIC: "%s": %d/%ld %d line%s, %ld character%ss (%ld null, %ld dirtys[Incomplete last line] SYNC error:%d lines %c%smoreless%d %s lines@in file after %s%d subs|%d substitutions on %d lines%d files@to edit ÒPêPðP&/?RâQâQ R()<>"SJSlSrSxS*.[~üS”SDTœSÚT $*.[\~0UFUrUrUrU SrU|UfW¬V„WW|W6W¢WRW¢W$W,WrW^XäW$X]-^\/usr/lib/exrecover/usr/lib/expreserveFile "%s" preserved. Please seek help immediately. /bin/sh/tmpunknown@notify*ª5ª8ªBªEªÄ¨NªXªˆ¨\ªdªgªÄ¨nªyª|ªÄ¨�ªÄ¨ú³†ªÄ¨‹ª–ª™ª¤ª§ªÄ¨¬ªÄ¨²ªÄ¨¤¤ƨĨ·ªÄ¨¾ªÄ¨êĨ̪ժتĨߪĨ æªìªj¨ïªúªýªÄ¨« «¦¨«Ä¨«$«'«Ä¨.«Ä¨!%`ÖZòZäZB[^\p\ð\ð\º]º]Î]ò],^>^>^autoindentaiautoprintapbeautifydirectorydireditanyeaeditederrorbellsebforkhomehushignorecaseicindicateuliulistmagicmodenumberopenoptimizeprintallpapromptscrollshellshshiftwidthswstickyttytypettytersevisualmessagevmwindowwrap%c=%s all%s%s nomode=%s=%d %s=%s J__ò^èunun|unknown:0:0:?licocaambsosclndupce!%\`îc(dŽcd¨c%`!-c[No write] |[No write since last change] !%s sh! mm |oŽoœoÀpºpºpÆp¬¬&¬ 29139<nr&q&q6q°qnr†q¨qzq qTft^sVsRsÒrV¬^¬f¬n¬~¬Œ¬   rqtstrq–sŽrsrq¬s”rsrq¦sŠrÌr ttŽr¬srqärsŒs¦s”rdscorhxhxhxTx ¬{¶{º{ä¬ò¬ø¬  ?j}>}>}>}>}>}>}j}>}>}­­(­2­  *L}Æ|*|L}2|þ|ú|$|Æ|$|L}t|2|„|} \@�<�V�ÿÿ\�$�@�@|„*„„ERROR‡‡/usr/lib/how_ex/help%seÿmÿ ”‹œ‹l‹t‹|‹„‹Œ‹¤‹ @`.‹úŠ&‹òŠ´‹*ŽšŽ<ŽŠŽmove �ì�*� ,‘�‘6‘ÿÿ+-.=^ø‘Ö‘Ö‘Þ‘Þ‘Æ‘þ‘ÿÿ+-.=^Ž’ž’˜“\“\“˜“Ð’%s Ì”dX•cf•sØ”l*¾À/etc/ttycapV®\®b®l®& $&R™0™@™R™Š™Š™R™Š™L™8™F™™™þ˜/etc/htmp ‰‰‰ ‰‰‰‰ ‰‰‰¶‰‰‰®Â‰0‰‰ ‰‰‰/devcrt0ostartex.o ~main oopøÿnopöÿiniteôÿreenteròÿaxargv0c~onintr¤~rewindÌ~initæiex_cmds.L_pflagÂ_nflag Â_kflag Â_poffsetÂ~commandLnopromptexitoneoaddrcplchngflaøÿcntöÿhadprôÿ~quickly¼ ~changeê ~syncü ~plinesadr1adr2movedotaddr~newlineNc~eolÊ~resetflì~setflav ~endcmdRch~tailspe‚cfoocmdÂ~tail–comm~tail2of°comm~tailofÆcommicpccommandæÿ~exclamRexd.ot~deletet~deletedža1a2a3~deletema1a2radsavintøÿ~deleten ex_put.o¾~termcha¾c~flush~flush1"lpcpc~putS<cp~flush2`~fgototlc~setcolÊcoldel~motion.vhc~plod¶i~partinpª~noteinp¾~notechði~pstart~pstopZ~termres€~draino¼~ostartÒ~ostop~flusho.~putnl>~gTTYNi~sTTYdi~putchzcex_print�~listcha�c~normcha*ccolp~numblin˜i~normlinÀ~slobber\c~lprintf’a1a2a3Pexv.o¶~vop¶catubezöicxölinesvö~vinitrtpvoyvnyicøÿnvcöÿ~vcookn~vrawŒ~vokªatubei~undiddl>ex_vmain^~vmain^ici_opÂ~VmainvicccntihadcntøÿfirstöÿoglobpôÿOPòÿindðÿvmunddotîÿaddrìÿ~vyank”-cnt~vgetcnt¾-ccnt~vremoteü-cntf~vfindco,.icp~vsavef.genbufúý~vundcur´.lpgp~vrestorö.~vsyncCL /~getDOT6/~vshiftF/exs.o^/~substit^/caddrnmarkpgsubføÿ~compsub,0chseofcpgsubføÿ~comprhs1seofrporpcorhsbufúþ~getsubž1p~dosubco¾1fa~confirmô1acch~getchˆ2cøÿ~ugo¸2cntwith~dosubÖ2lpsprpcøÿ~fixcaseú3c~place.4spl1l2~putmark\4addr~putmk1t4addrnmarkpVersion.ž4ex_addr.ž4_bigmoveÂ~setdotž4~setdot1´4~setcounâ4cnt~getnum85cnt~markDOTf5~markprv5dot~notemptž5~setall¶5~setnoadä5~nonzeroú5~address6addroffsetclastsignøÿ~scanforÒ7caddrex_args.L8~getargsL8ccpfpdpøÿgpöÿex_ca.o9~cgoto9resultÂex_file.r9~filenamr9commcex_get.o¾:_junkbs Â~getchar¾:c~peekcha:;~getttyT;clpgphadupøÿhadnlöÿoffsetôÿ~backtab =ij~smunchÆ=colocpcp~spruce>ocpcpc~checkju4>c~setinb>addr~junk’>cex_glob.È>_gflag"Â_av$Â_string&Â_strend(Â_ncoll*Â_gpathp,Â_globbed.Â_entp0Â~globÈ>vg0oav~sortd?oavp1p2c~expand¤?ascssgpathpdirfentry2ÂstbuffÖÿ~matchì@spcsentp~amatch(AasapspscccøÿccöÿokôÿlcòÿsgpathpðÿstbuffÌÿ~cat†Bas1as2s1s2~scanÌBtfpc~tglobîBc~trimCc~getone"CstrgvöÿlpôÿGZü~filioer Ccpoerrno~anyÂCcsxex_graphàC~dographàClpc~doulgBDlpgpmaxgpøÿccswöÿcolôÿex_init.2E~initopt2EfuidøÿttynoöÿrcioôÿHomeÌÿH~isettertFtypereenterøÿosetexitòÿ~gettmod²FstbufÖÿex_io.oÚF~fileiniÚFpijstbufÖÿserrnoÔÿdumbcntÒÿ~cleanupH~onhup*H~clrstatLH~iostatstH~plural�Ii~getlineªItlbplpnlscratchúý~putlineJbplpnltløÿscratchøý~getfile„Jclpfp~putfile.Ka1øÿfplpnib~wrerrorìK~ioerrorL~getbloc�Latliofbnooff~blkioc~unix>cupfpcprintubøÿpuxb’ÿ~unix2Tdoptprintubupsavintex_vadjufe~vbackfeijtp~vdepth˜ei~vopenÒetplij~vfixopeXfineed~vreopenšfllinenoi~vfitðfitj~vroll.gocntcnt~vrollupžgipi~vmoveitÆgi~vscrollôgijtlinesÊÿ~vscrap–hij~vopenupþhijl~vredrawXipltptempúýovclineøý~vsyncBjpllimtempúý~velidekcntvfirsti~vup1Vkex_vcleafk~vclearfkij~vputsškcp~vclrbytºkcpi~vclrlinÒkltp~vclreollitpex_vcoluzl~columnzlcp~qcolumn˜llimgpxOOøÿ~qcountðlcex_vcursm~vfixcurm~vsetcur.mnccol~vigotoTmyx~vcsyncvm~vgotoCLŒmx~vgoto¨myxtp~vputchaÞnctpyøÿex_vkey.øo~ungetkeøoc~getkeypc~peekbrpc~getbr8pcøÿ~getescžpc~peekkeyÊpex_voperÞp~operateÞpccntimoveopøÿdeleteopöÿopôÿsubopòÿlastFKNDDÂlastFCHRFÂ~findBtc~wordhtopcntwhichiwc~wordofXuwhichwcursor~wordchŽuwcursorc~edge¼u~marginîu~obeep vex_vops."v~vdelete"vccpi~vdcMIDÌvcp~vgrabitw~vyankitw~takeout"wBUFcp~vchangejwcpi~vappendüwchcntindentigcursorescapeøÿicöÿrepcntôÿ~genindeþzindentcp~fixinde,{indenticp~vpastwhr{cp~whitecn�{cpi~vgetlinÀ{cntgcursoraescapedccpxøÿyöÿiwhiteôÿiglobpòÿchðÿ~vdoappev}lp~vgetsplš}~vmaxrep¼}chcntlenreplen~vmove<~ex_vset.L~~setLASTL~~setworkx~c~xtrey´~c~killgloÈ~~addtextÚ~cp~setDEL~setBUFBUFcøÿ~addtoJbufstrexa.oŠ~appendŠfaa1a2rdotnlineøÿ~appendnf€exg.o„€~global„€kgpca1globufúþCwasøþiöþ~save‚a1a2addrdest~save12|‚~saveall’‚exh.o¨‚~helpini¨‚~errorÌ‚stri1i2i3 c~dingdonЃ~mesgæƒstrcp~normal8„~helpthe`„cpicpbufføýbuffcntexj.oL…~joinL…ca1cpcp1~jnoopî…exm.oþ…~moveþ…adt~move1p†cflagaddrtadtad1ad2linesøÿ~reverse¨‡a1a2t~getcopyć~getPUTê‡~yankˆ~PUT,ˆcntexo.ofˆ~oopfˆicøÿatubexölinesvö~vskipwhŠcp~voinit$Šiexr.orŠ~roprŠcistbufÖÿmagicÔÿ~rop2Ø‹~rop3ö‹cexu.o.Œ~undo.Œcijpkpdolp1øÿnewdolöÿnewadotôÿcntòÿ~somechaŽipjpexw.ožŽ~wopžŽcexclamblstbufÖÿexx.oX�~xopX�fcdp~xpand¾�cpdpcol~tabulat‘ccpdpdcolocoløÿexz.o–‘~zop–‘hadprclinesop~zop2n’linesopsplit~splitit"”llp~zeq^”cntprintf.o|”formpJÂloop�”ndigitLÂgnumº•widthHÂswtab(®decimalÌ”characX•stringf•longorunØ”unsignedæ”long•prbufz•prstr‚•putchar.æ•reset.o2–sr5NÂspcPÂsspRÂwait.o�–ttycap.o¤–~tgetent¤–bpnamecpcapcibufôý~tnamatc.—npNpBp~tskipš—bpi~tgetnumÈ—idibasebp~tgetfla@˜idbp~tgetstr€˜idareacpibp~tdecodeÔ˜strareacpciøÿhtmpg.ož™~hgetž™ttyhunit~hgethom š~hgetuidš~hgettyp$š~hsgetty0šttypeTÂchdir.oXšchmod.oršclose.o’šcreat.o¨šdup.oÆšdup)execl.oÚšfork.oöšfstat.o›getc.o,›indirbadretЛfill°›getuid.oÔ›gtty.oÞ›open.oü›pipe.oœpipe*putc.o8œbadretöœgoodretúœflÆœread.o�sbrk.o$�ndØ®seek.ol�signal.o��rttNSIGdvect\Âtvectè�stty.ožžtime.o¼žunlink.oÒžwrite.oìžexit.oŸcsv.oŸgetpid.o6Ÿgetpidstat.o@Ÿcerror.o`Ÿcleanup.nŸttyn.opŸname¬Âbuf„Âer1ÔŸdevú®erПsavr5$Â_exit"Ÿ_main" _G$¯_xargc0$¯_xargv0$¯_ruptibl$¯_ingloba$¯_inopen$ ¯_inconf$ ¯_listf$¯_endline# _laste$¯_intty$¯_shudclo$¯_diddle$¯_die$¯_chngfla$¯_xchngfl$¯_tchngfl$¯_file$ ¯_altfile$`¯_linebuf$ ¯_genbuf$ ±_addr1$ ³_addr2$¢³_zero$¤³_one$¦³_dot$¨³_dol$ª³_unddol$¬³_endcore$®³_fendcor$°³_unddel$²³_undap1$´³_undap2$¶³_undadot$¸³_undkind$º³_io$¼³_erfile$¾³_tfile#d¦_globp$À³_erpath#£_names$³_outcol$ø³_home$ú³_Command$´_varbls#Ψ_normtty$´_normf$´_obuf$´_oldhup$$¶_oldquit$&¶_header$(¶_dirtcnt$x·_recov$z·_TTYNAM#N¦_TMODE$|·_lastc#ä¥_peekc$~·_aiflag$€·_pid$‚·_rpid$„·_status$†·_tty$ˆ·_allredr$Ž·_pfast$�·_mask#L¦_vcntcol$’·_xargv$”·_argv$–·_xargc$˜·_argc$š·_gargc$œ·_vyancnt$ž·csv"Ÿ_draino"¼_helpini"¨‚_onhup"*H_signal"��_sbrk"$�_printf"|”_flush"_rewind"Ì_setexit"2–_onintr"¤_initopt"2E_setterm"‚a_notearg"|P_strcpy"ÄN_init"æ_command"L_error"Ì‚_cleanup"H_plural"�I_pstop"Zcret"(Ÿ_fileini"ÚF_brk"L�_TTY$ ·_CLEAR$¢·_NDSPACE$¤·_UPLINE$¦·_HSTR$¨·_CE$ª·_CA$¬·_AM$®·_BS$°·_OS$²·_PT$´·_NOCR$¶·_LINES#d«_COLUMNS#b«_UPPERCA$¸·_ttytype#¦¨_outline$º·_destcol$¼·_destlin$¾·_version#¥_CHANGE#< _PRINT#D _RECOVER#J _PRESERV#R _READ#\ _resetfl"ì_putchar"î•_TSYNC"¬N_address"6_getchar"¾:_tailspe"‚_peekcha":;_tail"–_setnoad"ä5_exclam"R_newline"N_setdot"ž4_deleten" _setin"b>_gettty"T;_append"Š_setdot1"´4_tail2of"°_endcmd"R_move"þ…_skipwh"”`_getone""C_chdir"Xš_filioer" C_setCNL"–_delete"t_appendn"f€_xpand"¾�_xop"X�_filenam"r9_quickly"¼ _sync"ü _rop"rŠ_putnl">_global"„€_nonzero"ú5_setcoun"â4_join"L…_letter"Ø`_oop"fˆ_notempt"ž5_getline"ªI_plines"_setlist"ú•_setflav" _eol"Ê_PUT",ˆ_preserv"Z_setnumb"–_getargs"L8_glob"È>_setNAEO""–_REset"z^_recover"Y_rop2"Ø‹_revocer"ÜY_rop3"ö‹_change"ê _set"ˆZ_unix2"Td_source"d__synctmp"tM_substit"^/_tabulat"‘_markDOT"f5_undo".Œ_vop"¶_setall"¶5_wop"žŽ_yank"ˆ_zop"–‘_unix">c_shift"¤^_gTTY"N_helpthe"`„_tailof"Æ_pline"ö•_Pline#@®_normlin"À_setnorm"–_setoutt"*–_deletem"_deleted"ž_killed"NO_reverse"¨‡_line#Ì¢_linp#£_phadnl$À·_termcha"¾_pstart"_flush1""_fgoto"t_flush2"`_putS"<_putch"z_flusho"._motion"._cgoto"9_plod"¶_setcol"Ê_partinp"ª_noteinp"¾_notech"ð_sTTY"d_normal"8„_termres"€_ostart"Ò_ostop"_fflush"¸œ_gtty"Þ›_stty"žž_putc"”œ_Outchar#>®_Putchar#<®_listcha"�_outchar"ò•_normcha"*_uclette"ba_numblin"˜_slobber"\_doulg"BD_dograph"àC_lprintf"’_visual$·_cursor$Ä·_wcursor$Æ·_tcursor$È·_dir$Ê·_vlast$Ì·_vliny$η_vcline$è·_vcnt$ê·_vch$ì·_vtube$î·_vtube0$¸_VLINES$ ¸_VCOLUMN$"¸_vmoving$$¸_vmovcol$&¸_vholdmo$(¸_holdat$*¸_splitw$,¸_hadup$.¸_nextic$0¸_vundkin$2¸_vutmp$4¸_vulines$6¸_vylines$f¸_vresadd$–¸_vrescnt$˜¸_vresCNT$š¸_vdelcnt$œ¸_vrescur$ž¸_wdkind$ ¸_vSCROLL$¢¸_Xhadcnt$¤¸_Xcnt$¦¸_lasthad$¨¸_lastcnt$ª¸_lastcmd$¬¸_lastcp$²¸_workcmd$´¸_DEL$º¸_INS$:¹_vglobp$º¹_HADUP$¼¹_HADZERO$¾¹_CDCNT$À¹_ZERO$¹_ogcurso$Ĺ_vok"ª_getnum"85_digit"Ba_vputcha"Þn_saveall"’‚_chmod"rš_vinit"r_vmain"^_vigoto"Tm_vclreol"l_netchHA"ÈO_undiddl">_vcook"n_vclear"fk_getDOT"6/_vdepth"˜e_vback"fe_vskipwh"Š_vopen"Òe_vsync"Bj_vraw"Œ_re$ƹ_scanre$pº_subre$»_rhsbuf$Ä»_loc1$ļ_loc2$Ƽ_locs$ȼ_linebp$ʼ_Vmain"v_vscandi#¤£_vfindco",._vmove"<~_peekkey"Êp_vgetcnt"¾-_obeep" v_killglo"È~_getkey"p_vredraw"Xi_vfixcur"m_vsave"f._setwork"x~_column"zl_getesc"žp_vfit"ðf_vroll".g_ungetke"øo_xtrey"´~_zeq"^”_vyank"”-_setLAST"L~_vremote"ü-_velide"k_vgoto"¨m_vscrap"–h_copy"æX_strend"þN_vsyncCL" /_whitecn"�{_geninde"þz_vdoappe"v}_vclrlin"Òk_voinit"$Š_vappend"üw_vup1"Vk_vopenup"þh_vgotoCL"Œm_vrestor"ö._strcLIN"O_vundcur"´._vreopen"šf_peekbr"p_Peekkey$̼_vgetlin"À{_vsetcur".m_compile"–Q_scanfor"Ò7_operate"Þp_qcolumn"˜l_qcount"ðl_strcmp"¶`_putmark"\4_vshift"F/_xflag$μ_gflag$м_scount$Ò¼_slines$Ô¼_stotal$Ö¼_compsub",0_save12"|‚_dosubco"¾1_getsub"ž1_snote"4P_comprhs"1_execute"ØU_confirm"ô1_dosub"Ö2_putNFL"æ•_ugo"¸2_getch"ˆ2_read"�_casecnt$ؼ_destcas$Ú¼_place".4_fixcase"ú3_putline"J_putmk1"t4_markpr"v5_white""a_mesg"æƒ_checkju"4>_junk"’>_lastin$ܼ_backtab" =_spruce">_smunch"Æ=_cntrlhm#ò¥_write"ìž_errno$Þ¼_g$à¼_tglob"îB_scan"ÌB_expand"¤?_sort"d?_cat"†B_stat"@Ÿ_open"ü›_match"ì@_close"’š_amatch"(A_any"ÂC_trim"C_strlen" a_ioerror"L_ttyn"pŸ_hget"ž™_hsgetty"0š_isetter"tF_getuid"Ô›_hgethom" š_hgetuid"š_gettmod"²F_strcat"ÜN_getexit"B–_Setterm"˜a_resexit"T–_ichange$â¼_nleft$ä¼_ninbuf$æ¼_tline$è¼_cntch$ê¼_cntnull$î¼_cntodd$ò¼_cntln$ö¼_ibuff$ø¼_iblock$ø¾_obuff$ú¾_oblock$úÀ_tfname$üÀ_tftail#f¦_havetmp$$Á_getpid"6Ÿ_creat"¨š_unlink"Òž_clrstat"LH_iostats"tH_getbloc"�L_unpack"¦P_pack"Q_nextip$&Á_getfile"„J_putfile".K_wrerror"ìK_blkio" 0) { argc--; if (savedfile[0]) strcpy(altfile, savedfile); strcpy(savedfile, *xargv); inite = -2; } init(); setexit(); for(;;) { if (inite) inite++; switch (commands(inite, 0)) { case 1: goto next; case 2: if (argc == 0) { xargc = 0; goto nofiles; } goto top; } if (argc == 0 || argc == xargc) { cleanup(); exit(0); } xargc = argc; if (savedfile[0]) strcpy(altfile, savedfile); savedfile[0] = 0; init(); error("%d more file%s@to edit", argc, plural(argc)); } next: if (argc > 0) xargv++; else { nofiles: if (savedfile[0]) strcpy(altfile, savedfile); savedfile[0] = 0; init(); error("No more files@to edit"); } } } onintr() { signal(INTR, onintr); pstop(); setlastchar('\n'); /* termreset() */ error("\nInterrupt"); } rewind() { xargc = argc = xargc0; xargv = xargv0; } init() { register int i; extern int vyancnt; fileinit(); brk(fendcore + 1); dot = zero = dol = fendcore; one = zero+1; undkind = UNDNONE; endcore = fendcore - 2; chngflag = 0; value(EDITED) = 0; for (i = 0; i <= 26; i++) names[i] = 1; vyancnt = 0; } ex.h6¤�‹#define VISUAL /* * Ex - text editor * Bill Joy UCB June 1977 * * Based on an earlier editor "ex" written by * William Joy and Charles Haley. * * And of course an inestimable debt to "ed"! */ #define STATIC #define CHAR #define NIL 0 #define QUOTE 0200 #define HUP 1 #define INTR 2 #define QUIT 3 #define FNSIZE 64 #define LBSIZE 512 #define EOF -1 char ruptible, inglobal, inopen, inconf, listf, endline, laste, intty; char shudclob, diddle, die; int chngflag, xchngflag, tchngflag; char /* savedfile[FNS, */ file[FNSIZE], altfile[FNSIZE]; char linebuf[LBSIZE], genbuf[LBSIZE]; int *address(), *addr1, *addr2; int *zero, *one, *dot, *dol, *unddol, *endcore, *fendcore; int *unddel, *undap1, *undap2, *undadot; char undkind; #define UNDCHANGE 0 #define UNDMOVE 1 #define UNDALL 2 #define UNDNONE 3 int io, erfile, tfile; char *globp, *erpath; int names[27]; int outcol; char home[30]; char *Command; int getfile(), gettty(), getchar(), getsub(); #include "ex_vars.h" #define eq(a, b) (strcmp(a, b) == 0) #define CTRL(c) ('c' & 037) #define ECHO 010 #define RAW 040 char normtty; int normf; struct { int fildes; int nunused; char *xfree; char buff[512]; } obuf; int oldhup, onhup(), oldquit, onintr(); struct { int Atime[2]; int Auid; int Alines; int Afname[FNSIZE]; int Ablocks[100]; } header; #define savedfile header.Afname #define blocks header.Ablocks int dirtcnt; char recov; char TTYNAM[]; int TMODE; int lastc, peekc; #define lastchar() lastc #define setlastchar(c) lastc = c #define ungetchar(c) peekc = c char aiflag; #define setai(i) aiflag = i int pid, rpid, status, tty[3]; char allredraw, pfast; int mask, vcntcol; fex_addr.c4;Z¤�C#include "ex.h" #include "ex_re.h" /* * Ex - a text editor * Bill Joy UCB June, 1977 */ static char bigmove; setdot() { setdot1(); if (bigmove) markDOT(); } setdot1() { if (addr2 == 0) addr1 = addr2 = dot; if (addr1 > addr2) { notempty(); error("Addr1 > addr2|First address exceeds second"); } } setcount() { register int cnt; skipwh(); if (!digit(peekchar())) { setdot(); return; } addr1 = addr2; setdot(); cnt = getnum(); if (cnt <= 0) error("Bad count|Nonzero count required"); addr2 =+ cnt - 1; if (addr2 > dol) addr2 = dol; nonzero(); } getnum() { register int cnt; for (cnt = 0; digit(peekchar());) cnt = cnt * 10 + getchar() - '0'; return (cnt); } markDOT() { markpr(dot); } markpr(dot) int *dot; { if ((inglobal == 0 || inopen) && dot <= endcore) names[26] = *dot & ~01; } notempty() { if (dol == zero) error("No lines@in the buffer"); } setall() { if (addr2 == 0) { addr1 = one; addr2 = dol; if (dol == zero) { dot = zero; return; } } setdot1(); } setnoaddr() { if (addr2 != 0) error("No address allowed@on this command"); } nonzero() { if (addr1 == zero) { notempty(); error("Nonzero address required@on this command"); } } int * address() { register int *addr, offset; register c; int lastsign;  bigmove = 0; lastsign = 0; offset = 0; addr = 0; for (;;) { if (digit(peekchar())) { if (addr == 0) { addr = zero; bigmove = 1; } addr =+ offset; offset = getnum(); if (lastsign >= 0) addr =+ offset; else addr =- offset; lastsign = 0; offset = 0; } switch (c = getchar()) { case '?': case '/': case '$': case '\'': case '\\': bigmove++; case '.': if (addr || offset) error("Relocation error@- can only offset by constants"); } offset =+ lastsign; lastsign = 0; switch (c) { case ' ': case '\t': continue; case '+': lastsign = 1; if (addr == 0) addr = dot; continue; case '^': case '-': lastsign = -1; if (addr == 0) addr = dot; continue; case '\\': case '?': case '/': c = compile(c, 1); if (c == '&') { c = getchar(); if (c != '?' && c != '/') error("\\& needs / or ? in address"); } notempty(); addr = scanfor(c); if (addr == NIL) error("Fail|Pattern not found"); continue; case '$': addr = dol; continue; case '.': addr = dot; continue; case '\'': c = getchar(); if (c == '\'') c = 'z' + 1; else if (c < 'a' || c > 'z') error("Marks are ' and a-z"); c =- 'a'; for (addr = one; addr <= dol; addr++) if (names[c] == (*addr &~ 01)) break; if (addr > dol) error("Undefined mark@referenced"); break; default: ungetchar(c); if (offset) { if (addr == 0) addr = dot; addr =+ offset; } if (addr == 0) { bigmove = 0; return (0); } if (addr != zero) notempty(); addr =+ lastsign; if (addr < zero) error("Negative address@- first buffer line is 1"); if (addr > dol) error("Not that many lines@in buffer"); return (addr); } } } scanfor(c) char c; { register int *addr; savere(&scanre); addr = dot; for (;;) { if (c == '/') { addr++; if (addr > dol) { if (value(WRAP) == 0) error("No match to BOTTOM|Address search hit BOTTOM without matching pattern"); addr = zero; } } else { addr--; if (addr < zero) { if (value(WRAP) == 0) error("No match to TOP|Address search hit TOP without matching pattern"); addr = dol; } } if (execute(0, addr)) return (addr); if (addr == dot) return (NIL); } } rex_args.c4‹W¤�Û# /* * Ex - a text editor * Version 1.0 September, 1977 */ #include "ex.h" getargs() { register c; register char *cp, *fp; int *dp, *gp; cp = linebuf, dp = genbuf; for (;;) {  c = getchar(); if (endcmd(c)) break; if (white(c)) continue; *dp = cp; do { switch (c) { case '\\': c = getchar() | 0200; default: if (cp > &linebuf[LBSIZE - 2]) flong: error("Argument buffer overflow@- limit 510 characters"); *cp++ = c; break; case '`': fp = altfile; if (*fp == 0) error("No alternate filename@to substitute for `"); goto filexp; case '%': fp = savedfile; if (*fp == 0) error("No current filename@to substitute for %%"); filexp: while (*fp) { if (cp > &linebuf[LBSIZE - 2]) goto flong; *cp++ = *fp++; } break; } c = getchar(); } while (!white(c) && !endcmd(c)); ungetchar(c); *cp++ = 0; dp++; } *dp = 0; return (dp - (gp = genbuf)); } ex_ca.c4‹W¤�w# /* * Ex - a text editor * Bill Joy September 1977 */ #include "ex.h" #include "ex_tty.h" /* canCA() { switch (TTY) { case 'ca': case 'cH': return (1); } return (0); } */ cgoto() { static char result[10]; switch (TTY) { case 'ca': strcpy(result, "\033=xx"); result[2] = destline + ' '; result[3] = destcol + ' '; break; #ifdef UNIMP case 'cH': strcpy(result, "\033&axxcyyY"); result[3] = destcol / 10 + '0'; result[4] = destcol % 10 + '0'; result[6] = destline / 10 + '0'; result[7] = destline % 10 + '0'; break; #endif default: strcpy(result, "OOPS"); break; } return (result); } Tex_cmds.c5´3¤‘M/#include "ex.h" #include "ex_glob.h" #include "ex_tty.h" /* * Ex - a text editor * Bill Joy UCB June-October 1977 */ char version[]; char CHANGE[] "change"; char PRINT[] "print"; char RECOVER[] "recover"; char PRESERVE[] "preserve"; char READ[] "read"; static char pflag, nflag, kflag; static int poffset; int xpand(), tabulate(); commands(noprompt, exitoneof) int noprompt; char exitoneof; { register int *addr; register c; register char *p; int lchngflag, cnt; char hadpr; resetflav(); lchngflag = chngflag; if (noprompt == -1) { noprompt = 0; c = 'e'; if (recov) { recov = 0; goto dorecover; } goto doecmd; /* magic! */ } for (;;) { shudclob = 0; if (pflag || lchngflag != chngflag && value(AUTOPRINT) && !inglobal && endline) { pflag = 0; lchngflag = chngflag; if (dol != zero) { addr1 = addr2 = dot + poffset; if (addr1 < one || addr1 > dol) error("Offset out-of-bounds|Offset after command too large"); setdot1(); goto print; } } if (value(STICKY) == 0) resetflav(); lchngflag = chngflag; if (inglobal == 0) { flush(); if (value(HUSH) == 0 && value(PROMPT) && globp == 0 && noprompt == 0 && intty && endline) { putchar(':'); hadpr = 1; flush(); } TSYNC(); } addr2 = 0; do { addr1 = addr2; addr = address(); c = getchar(); if (addr == 0) if (c == ',') addr = dot; else if (addr1 != 0) { addr2 = dot; break; } else break; addr2 = addr; if (c == ';') { c = ','; dot = addr; } } while (c == ','); if (addr1 == 0) addr1 = addr2; tailspec(c); switch (c) { case 'a': if (peekchar() == 'r') { tail("args"); setnoaddr(); c = 0; if (!exclam()) c = xargc0 - xargc; newline(); for (; c < xargc0; c++) printf("%6d %s\n", c - (xargc0 - xargc) + 1, xargv0[c]); continue; } tail("append"); setdot(); setai(exclam()); newline(); deletenone(); append(gettty, setin(addr2)); lchngflag = chngflag; continue; case 'c': switch (peekchar()) { case 'o': getchar(); if (peekchar() == 'm') { tail2of("comment"); do c = getchar(); while (c == '|' || !endcmd(c)); continue; } tail2of("Copy"); move(); continue; case 'd': tail("cd"); goto changdir; case 'h': getchar(); if (peekchar() == 'd') { tail2of("chdir"); changdir: #ifdef UNIMP if (savedfile[0] == '/') exclam(); else quickly(); #endif skipwh(); if (endcmd(peekchar())) { newline(); p = home; } else getone(), p = file; if (chdir(p) < 0) filioerr(p); if (file[0] != '/') value(EDITED) = 0; continue; } tail2of(CHANGE); break; default: tail(CHANGE); } setai(exclam()); setCNL(); setin(addr1); delete(); append(gettty, addr1 - 1); lchngflag = chngflag; continue; case 'd': tail("delete"); setCNL(); delete(); appendnone(); continue; case 'e':  switch (peekchar()) { case 'x': getchar(); if (peekchar() == 'p') { tail2of("expand"); setCNL(); xop(&xpand); continue; } tail2of("ex"); break; case 'c': tail("echo"); skipwh(); do { c = getchar(); switch (c) { case '|': putnl(); break; case '\\': c = getchar(); default: putchar(c); } } while (!endcmd(c)); continue; default: tail("edit"); } if (!exclam() && chngflag) c = 'E'; doecmd: filename(c); if (c == 'E') { ungetchar(lastchar()); quickly(); } setnoaddr(); init(); addr2 = zero; laste++; sync(); rop(c); lchngflag = chngflag; continue; case 'f': tail("file"); setnoaddr(); filename(c); putnl(); continue; case 'g': tail("global"); global(!exclam()); lchngflag = chngflag; continue; case 'i': tail("insert"); setdot(); nonzero(); setai(exclam()); newline(); deletenone(); setin(addr2); append(gettty, addr2 - 1); if (dot == zero && dol > zero) dot = one; lchngflag = chngflag; continue; case 'j': tail("join"); c = exclam(); setcount(); nonzero(); newline(); if (addr1 == addr2) { if (addr1 == dol) { if (dol != one) error("Illegal $ in join|$join not allowed unless only one line in buffer"); } else addr2++; } join(c); continue; case 'k': casek: skipwh(); c = getchar(); if (endcmd(c)) error("Mark what?|%s requires following letter", Command); newline(); if (c != letter(c)) error("Bad mark|Mark must specify a letter"); setdot(); nonzero(); names[c - 'a'] = *addr2 &~ 01; continue; case 'm': if (peekchar() == 'a') { tail("mark"); goto casek; } tail("Move"); move(); continue; case 'o': tail("open"); oop(); pflag = 0; lchngflag = chngflag; continue; case '|': endline = 0; goto caseline; case '\n': endline = 1; caseline: notempty(); if (addr2 == 0) { if (dot == dol) error("At EOF|At end-of-file"); if (UPLINE && c == '\n' && !inglobal) c = '\013'; addr2 = dot + 1; } addr1 = addr2; setdot(); nonzero(); getline(*addr1); if (c == '\013') { putchar('\013' | QUOTE); /* prototype UPLINE */ if (hadpr) shudclob = 1; } plines(addr1, addr2, 1); continue; case 'l': tail("list"); setCNL(); setlist(); pflag = 0; goto print; case ':': setCNL(); kflag = 1; setflav(); pflag = 0; goto print; case '#': numberit: setCNL(); setnumb(); pflag = 0; goto print; case 'p': switch (peekchar()) { case 'u': tail("put"); setdot(); eol(); PUT(); continue; case 'r': getchar(); if (peekchar() == 'e') { tail2of(PRESERVE); eol(); preserve(); continue; } tail2of(PRINT); break; default: tail(PRINT); break; } setCNL(); pflag = 0; print: nonzero(); if (CLEAR && addr2 - addr1 >= LINES) putchar('\032' | QUOTE); /* proto */ plines(addr1, addr2, 1); continue; case 'n': if (peekchar() == 'u') { tail("number"); goto numberit; } tail("next"); setnoaddr(); quickly(); if (getargs() == 0) { ungetchar(lastchar()); return (1); } glob(genbuf, G); xargc0 = gargc; xargv0 = &G->Ava[0]; rewind(); return (2); case 'q': tail("quit"); setnoaddr(); c = quickly(); eol(); if (c) argc = 0; return (0); case 'r': if (peekchar() == 'e') { getchar(); switch (peekchar()) { case 'w': tail2of("rewind"); setnoaddr(); quickly(); newline(); rewind(); return (2); case 's': tail2of("reset"); setNAEOL(); REset(); continue; case 'c': tail2of(RECOVER); setnoaddr(); c = 'e'; if (!exclam() && chngflag) c = 'E'; dorecover: filename(c); if (c == 'E') { ungetchar(lastchar()); quickly(); } init(); addr2 = zero; laste++; sync(); recover(); rop2(); revocer(); if (status == 0) rop3(c); if (dol != zero) change(); lchngflag = chngflag; continue; } tail2of(READ); } else tail(READ); if (savedfile[0] == 0 && dol == zero) c = 'e'; filename(c); rop(c); lchngflag = chngflag; continue; case 's': switch (peekchar()) { case 'e': tail("set"); setnoaddr(); set(skipwh());  continue; case 'h': tail("shell"); setNAEOL(); unix2("-i", 0, NIL); continue; case 'o': tail("source"); setnoaddr(); getone(); source(file, 0); continue; case 'y': tail("sync"); setNAEOL(); synctmp(); continue; } case '&': case '~': Command = "substitute"; if (c == 's') tail(Command); if (!substitute(c)) pflag = 0; continue; case 't': if (peekchar() == 'a') { tail("tabulate"); c = exclam(); setCNL(); xop(&tabulate, c); continue; } tail("Transcribe"); move(); continue; case 'u': tail("undo"); setnoaddr(); markDOT(); c = exclam(); newline(); undo(c); continue; case 'v': switch (peekchar()) { case 'e': tail("version"); setNAEOL(); printf("%s\n", version); flush(); continue; case 'i': tail("visual"); vop(); pflag = 0; lchngflag = chngflag; continue; } tail("v"); global(0); lchngflag = chngflag; continue; case 'w': tail("write"); setall(); wop(); lchngflag = chngflag; continue; case 'x': tail("xpand"); setCNL(); xop(&xpand); continue; case 'y': tail("yank"); setcount(); eol(); yank(); continue; case 'z': zop(); pflag = 0; continue; case '=': newline(); setall(); printf("%d\n", addr2 - zero); continue; case '!': unix(); continue; case '<': case '>': for (cnt = 1; peekchar() == c; cnt++) getchar(); setCNL(); shift(c, cnt); continue; case EOF: /* onhup for chtty !?! */ if (exitoneof || gTTY(0) == -1) return (0); if (dol == zero) { putnl(); notempty(); } ungetchar(EOF); zop(hadpr); continue; case 'h': tail("help"); setnoaddr(); helpthem(); continue; default: if (!letter(c)) break; ungetchar(c); tailof("", 0); } error("What?|Unknown command character '%c'", c); } } quickly() { if (exclam()) return (1); if (chngflag) { chngflag = 0; xchngflag = 0; error("No write@since last change"); } return (0); } change() { tchngflag++; chngflag = tchngflag; } sync() { chngflag = 0; tchngflag = 0; xchngflag = 0; } plines(adr1, adr2, movedot) int *adr1; register int *adr2; char movedot; { register int *addr; for (addr = adr1; addr <= adr2; addr++) { getline(*addr); pline(addr - zero); if (movedot) dot = addr; } } int normline(); newline() { register c; resetflav(); for (;;) { c = getchar(); switch (c) { case '^': case '-': poffset--; break; case '+': poffset++; break; case 'l': listf++; break; case ':': kflag++; break; case '#': nflag++; break; case 'p': listf = 0; break; case ' ': case '\t': continue; default: if (!endcmd(c)) error("Extra chars|Extra characters at end of \"%s\" command", Command); if (c == EOF) ungetchar(c); setflav(); return; } pflag++; } } eol() { skipwh(); if (!endcmd(getchar())) error("Extra chars|Extra characters at end of command"); } resetflav() { listf = 0; kflag = 0; nflag = 0; pflag = 0; poffset = 0; setflav(); } int (*Pline)(), normline(), numbline(); setflav() { if (nflag || kflag == 0 && value(NUMBER)) setnumb(); else /* setnonumb(); */ Pline = &normline; if (listf || kflag == 0 && value(LIST)) setlist(); else setnorm(); setoutt(); } endcmd(ch) { switch (ch) { case '\n': case EOF: endline = 1; return (1); case '|': endline = 0; return (1); } return (0); } tailspec(c) char c; { static char foocmd[2]; foocmd[0] = c; Command = foocmd; } tail(comm) char *comm; { tailof(comm, 1); return (comm); } tail2of(comm) char *comm; { return (tailof(comm, 2)); } tailof(comm, i) register char *comm; int i; { register char *cp; register int c; char command[20]; Command = comm; for (cp = command; i > 0; i--) *cp++ = *comm++; while (*comm && peekchar() == *comm) *cp++ = getchar(), comm++; c = peekchar(); if (letter(c) && c != 'l' && c != 'p') { do *cp++ = getchar(); while (cp < &command[19] && letter(peekchar())); *cp = 0; error("What?|%s: Not an editor command", command); } } exclam() { skipwh(); if (peekchar() == '!') { getchar(); return (1); } return (0); } rex_file.c4�W¤�ã#include "ex.h" /* * Ex - a text editor * Bill Joy UCB September 1977 */ filename(comm) char comm; { register c; c = getchar(); if (endcmd(c)) { if (savedfile[0] == 0 && comm != 'f') error("No file|No current filename"); strcpy(file, savedfile); } else { ungetchar(c); getone(); c = comm; if (savedfile[0] == 0 && c != 'E' && c != 'e') { c = 'e'; value(EDITED) = 0; } switch (c) { case 'f': value(EDITED) = 0; case 'e': if (savedfile[0]) strcpy(altfile, savedfile); strcpy(savedfile, file); break; default: if (file[0]) strcpy(altfile, file); break; } } if (value(HUSH) && comm != 'f' || comm == 'E') return; if (file[0] != 0) {  lprintf("\"%s\"", file); if (comm == 'f') { if (value(EDITED)) printf(" [Edited]"); if (tchngflag) printf(" [Modified]"); } flush(); } else printf("No file "); if (comm == 'f') printf(mesg(" %d lin%c@in buffer"), dol - zero, dol == one ? 'e' : 'es'); } 0ex_get.c4ŽW¤�ø#include "ex.h" #include "ex_tty.h" /* * Ex - a text editor * Bill Joy UCB June 1977 * * Check linebuf overflow more carefully. * Think about when ai allowed more. */ static junkbs; int peekc; int lastc '\n'; getchar() { register c; c = peekc; if (c != 0) { peekc = 0; return (c); } if (globp) { if (*globp) return (*globp++); globp = 0; lastc = EOF; return (EOF); } again: if (read(0, &lastc, 1) == 1) { lastc =& 0177; if (junk(lastc)) { checkjunk(lastc); goto again; } if (lastc == '\n') noteinp(); return (lastc); } lastc = EOF; return (EOF); } peekchar() { if (peekc == 0) peekc = getchar(); return (peekc); } STATIC int lastin; extern char aiflag; gettty() { register c; register char *lp, *gp; char hadup, hadnl; int offset, numbline(); extern int (*Pline)(); lp = linebuf; hadnl = 0; offset = Pline == &numbline ? 8 : 0; if (intty && !inglobal) { if (offset) printf("\240\240%4d", dot - zero + 1); if (value(AUTOINDENT) ^ (aiflag != 0)) { setcol(lastin + offset); while ((c = read(0, &genbuf, 512)) == 0) { if (lastin == 0 && gTTY(0) == -1) return (EOF); lastin = backtab(lastin); setcol(lastin + offset); } hadup = 0; if ((genbuf[0] == '^' || genbuf[0] == '0') && c == 1) { if (genbuf[0] == '0') lastin = 0; if (!OS) { notech(1); putchar('\b'); putchar(' ' | QUOTE); putchar('\b'); } setcol(offset); hadup = 1; genbuf[0] = 0; c = 0; } if (c > 0) { c--; if (genbuf[c] == '\n') { if (c == 1 && genbuf[0] == '.') { noteinp(); return(EOF); } hadnl++; } else c++; genbuf[c] = 0; spruce(genbuf); if (hadup == 0 && genbuf[0]) { lastin = smunch(lastin, genbuf); for (c = lastin; c >= 7; c =- 8) *lp++ = '\t'; for (; c > 0; c--) *lp++ = ' '; } gp = genbuf; while (*lp++ = *gp++) continue; lp--; } } else if (offset) { printf(" "); flush(); } while (hadnl == 0) { /* if (lp > linebuf) { partinp(); spruce(linebuf); dographic(); lp = linebuf; while (*lp) lp++; flush(); } */ c = read(0, lp, linebuf + LBSIZE - lp); if (c <= 0 && lp == linebuf) return (EOF); lp =+ c; *lp = 0; if (lp >= &linebuf[LBSIZE - 2]) goto toolong; if (lp[-1] == '\n') { *--lp = 0; hadnl = 1; } } noteinp(); } else { while ((c = getchar()) != '\n') { if (c == EOF) { if (inglobal) ungetchar(EOF); return (EOF); } c =& 0177; *lp++ = c; if (lp >= &linebuf[LBSIZE-2]) toolong: error("Input line too long@- limit 510 characters"); } } *lp++ = 0; spruce(linebuf); if (linebuf[0] == '.' && linebuf[1] == 0) return (EOF); return (0); } backtab(i) register int i; { register int j; j = i % value(SHIFTWIDTH); if (j == 0) j = value(SHIFTWIDTH); i =- j; if (i < 0) i = 0; return (i); } smunch(col, ocp) register int col; char *ocp; { register char *cp; cp = ocp; for (;;) switch (*cp++) { case ' ': col++; continue; case '\t': col = (col + 8) &~ 7; continue; default: cp--; strcpy(ocp, cp); return (col); } } spruce(ocp) register char *ocp; { register char *cp; register c; cp = ocp; while (c = *ocp++) { c =& 0177; if (junk(c)) { checkjunk(c); continue; } *cp++ = c; } *cp++ = 0; } char cntrlhm[] "CTRL(H) discarded\n"; checkjunk(c) char c; { if (junkbs == 0 && c == '\b') { write(2, cntrlhm, sizeof cntrlhm); junkbs = 1; } } setin(addr) int *addr; { if (addr == zero) lastin = 0; else lastin = smunch(0, getline(*addr)); return (addr); } junk(c) register int c; { return (c == 0 || value(BEAUTIFY) && c < ' ' && c != '\t' && c != '\n' && c != '\f'); } ex_glob.c4�W¤‘™# /* * Ex - a text editor * Bill Joy UCB September, 1977 * * This glob routine mercilessly stolen from the shell. */ #include "ex.h" #include "ex_glob.h" #include "ex_io.h" static int gflag; int tglob(), trim(); static char **av; static char *string, *strend; static int ncoll; static char *gpathp; static int globbed; static char *entp; struct Glob *g; #define ab g->Ab #define ava g->Ava glob(v, g0) register char *v[]; struct Glob *g0; { register char **oav; g = g0; av = ava; string = ab; strend = ab + 511; ncoll = 0; gpathp = file; gflag = 0; scan(v, &tglob); if (gflag == 0) ncoll++; while (*v) { oav = av; globbed = 0; expand(*v++); sort(oav); } *av = 0; if (ncoll == 0) error("No match@in filename expansion of `*', `/' or `[...]'"); gargc = av - &ava[0]; } sort(oav) char **oav; { register char **p1, **p2, **c; p1 = oav; while (p1 < av-1) { p2 = p1; while (++p2 < av) { if (strcmp(*p1, *p2) > 0) { c = *p1; *p1 = *p2; *p2 = c; } } p1++; } } expand(as) char *as; { register char *cs, *sgpathp; register int dirf; static struct { int ino; char name[16]; } entry; int stbuff[18]; sgpathp = gpathp; cs = as; while (*cs != '*' && *cs != '?' && *cs != '[') { if (gpathp >= &file[FNSIZE - 2]) goto gpatherr; else if ((*gpathp++ = *cs++) == 0) { if (!globbed) *av++ = cat(as, ""); else if (stat(file, &stbuff) >= 0) { *av++ = cat(file, ""); ncoll++; } goto endit; } } gpathp = sgpathp; cs--; while (cs >= as && *cs != '/') cs--; while (as <= cs) if (gpathp >= &file[FNSIZE]) gpatherr: error("Path name too long@- editor limit 64 characters"); else *gpathp++ = *as++; *gpathp = 0; dirf = open(file, 0); if (dirf < 0) if (globbed) goto endit; else filioerr(file); globbed++; cs++; while (read(dirf, &entry, 16) == 16) { if (entry.ino==0) continue; if (match(entry.name, cs)) { *av++ = cat(file, entry.name); ncoll++; } } close(dirf); endit: gpathp = sgpathp; *gpathp = 0; } match(s, p) char *s, *p; { register c, sentp; if (*s == '.' && *p != '.') return (0); sentp = entp; entp = s; c = amatch(s, p); entp = sentp; return (c); } amatch(as, ap) char *as, *ap; { register char *s, *p; register scc; int c, cc, ok, lc; char *sgpathp; int stbuff[18]; s = as; p = ap; nextc: if (scc = *s++ & 0177) if ((scc =& 0177) == 0) scc = 0200; switch (c = *p++) { case '[': ok = 0; lc = 077777; while (cc = *p++) { if (cc == ']') { if (ok) goto nextc; else return (0); } else if (cc == '-') { if (lc <= scc && scc <= *p++) ok++; } else if (scc == (lc = cc)) ok++; } error("Missing ]@matching [ in filename"); case '*': if (*p == '\0') return (1); else if (*p == '/') { p++; goto slash; } s--; while (*s) if (amatch(s, p)) return (1); else s++; return (0); case '\0': return (scc == '\0'); default: if (c == scc) goto nextc; else return (0); case '?': if (scc != '\0') goto nextc; else return (0); case '/': if (scc == '\0') { slash: s = entp; sgpathp = gpathp; while (*gpathp = *s++) { if (gpathp >= &file[FNSIZE - 3]) error("Path name too long@- editor limit 64 characters"); gpathp++; } *gpathp++ = '/'; *gpathp = 0; if (stat(file, &stbuff) == 0) if ((stbuff[2] & 060000) == 040000) if (*p == 0) {  *av++ = cat(file, ""); ncoll++; } else expand(p); gpathp = sgpathp; *gpathp = 0; } return (0); } } cat(as1, as2) char *as1, *as2; { register char *s1, *s2; s2 = string; s1 = as1; while (*s2++ = (*s1++ & 0177)) if (s2 >= strend) goto toolong; s1 = as2; s2--; while (*s2++ = *s1++) if (s2 > strend) toolong: error("Argument list too long@- editor limit 512 characters"); s1 = string; string = s2; return (s1); } scan(t, f) register int *t; int (*f)(); { register char *p, c; while (p = *t++) while (c = *p) *p++ = (*f)(c); } tglob(c) register int c; { if (any(c, "[?*")) gflag = 1; return (c); } trim(c) char c; { return (c & 0177); } getone() { register char *str; int gv[2], *lp; struct Glob G; switch (getargs()) { case 0: error("Missing filename@- if you give blanks you must give a name"); case 1: break; default: error("Too many names|Multiple file names allowed only on next command"); } gv[0] = (lp = genbuf)[0]; gv[1] = 0; glob(gv, &G); str = G.Ava[0]; if (G.Ava[1] != NIL) error("Ambiguous|Pattern is ambiguous, matches more than one file"); if (strlen(str) > 63) error("Filename too long@- limit 63 characters"); strcpy(file, str); } filioerr(cp) char *cp; { register int oerrno; oerrno = errno; lprintf("\"%s\"", cp); errno = oerrno; ioerror(); } any(c, s) int c; register char *s; { register int x; while (x = *s++) if (x == c) return (1); return (0); } nex_glob.h4‘W¤�Ç/* * Ex - a text editor * Bill Joy UCB * Version 1.0 September, 1977 */ struct Glob { char Ab[522]; char *Ava[200]; } *G; char **xargv0, **xargv, **argv; int xargc0, xargc, argc; int gargc; sex_graphic.c4‘W¤�È#include "ex.h" #include "ex_tty.h" /* * Ex - a text editor * Bill Joy UCB September 1977 */ dographic() { register char *lp; register c; for (lp = linebuf; c = *lp++;) { switch (c) { case '\b': if (!OS) c = '?'; break; default: if (c < ' ' || c == 0177)  c = '?'; else if (UPPERCASE && ucletter(c)) { putchar('\\'); c = letter(c); } break; case '\t': break; } putchar(c); } } doulg() { register char *lp, *gp; char *maxgp; register c; char csw; int col; gp = genbuf; *gp = 0; maxgp = gp; col = 0; for (lp = linebuf; c = *lp++;) { switch (c) { case '\t': while ((col & 7) != 7) { *gp++ = ' '; if (gp >= &genbuf[LBSIZE - 2]) goto ovflo; col++; } break; default: if (gp >= maxgp) break; c =| (*gp & QUOTE); break; case '_': if (gp >= maxgp) c = QUOTE; else c = *gp | QUOTE; break; case '\b': if (gp > genbuf) { gp--; col--; } continue; } if (gp >= &genbuf[LBSIZE - 2]) ovflo: error("Line too long with iu|Line too long to print with indicateul"); *gp++ = c; if (gp > maxgp) maxgp = gp; col++; } *maxgp = 0; strcLIN(genbuf); for (lp = linebuf, gp = genbuf; c = *lp; gp++, lp++) if (c & QUOTE) { c =& 0177; if (c == 0) *lp = '_', *gp = ' '; else *lp = c, *gp = '-'; } else *gp = ' '; --gp; while (gp >= genbuf && *gp == ' ') --gp; gp[1] = 0; } ex_init.c5E¤�®# /* * Ex - a text editor * Bill Joy UCB September, 1977 */ int mask 0377; /* Standard V6 - only 256 users */ #include "ex.h" #include "ex_tty.h" #include "ex_io.h" #define UCASE 04 #define TABS 02 #define CRFLG 020 char TTYNAM[] "/dev/ttyx"; initoptions(f) char f; { int uid, ttyno, rcio; char Home[40]; register char *H; intty = gTTY(0) == 0; if (!intty && f == 0) { unknown: setterm("u"); return; } if (gTTY(1)) { if (f == 0 || gTTY(2)) goto unknown; f = 2; } else f = 1; UPPERCASE = (tty[2] & UCASE) != 0; PT = (tty[2] & TABS) == 0; NOCR = (tty[2] & CRFLG) == 0; ttyno = ttyn(f); if (ttyno != 'x') { if (hget(ttyno) == 0) isetterm(hsgettype()); } uid = getuid() & mask; H = hgethome(); if (uid == 0) strcpy(H, "/"); else if (uid != hgetuid()) return; TTYNAM[8] = ttyno; gettmode(); strcpy(home, H); strcpy(Home, H); strcat(Home, "/.exrc"); source(Home, 1); } isetterm(type) char *type; { char reenter; int osetexit[3]; getexit(osetexit); reenter = 0; setexit(); if (reenter == 0) { reenter++; Setterm(type, 0); } resexit(osetexit); } gettmode() { struct stb stbuf; stat(TTYNAM, &stbuf); TMODE = stbuf.flags & 0777; } ex_io.c5Ö÷¤‘Ä#include "ex.h" #include "ex_re.h" #include "ex_io.h" /* * Ex - a text editor * Bill Joy UCB June 1977 */ extern int tfile -1; #define READ 0 #define WRITE 1 STATIC char ichanged; STATIC int nleft; STATIC int ninbuf; STATIC int tline; STATIC long cntch, cntnull, cntodd; STATIC int cntln; STATIC char ibuff[512]; STATIC int iblock; STATIC char obuff[512]; STATIC int oblock; STATIC char tfname[40]; STATIC char tftail[] "/ExXXXXX"; STATIC char havetmp; fileinit() { register char *p; register int i, j; struct stb stbuf; int serrno; char dumbcnt; cleanup(); close(tfile); tline = 0200 * 3; blocks[0] = 1; blocks[1] = 2; blocks[2] = -1; dirtcnt = 0; iblock = -1; oblock = -1; strcpy(tfname, value(DIRECTORY)); if (stat(tfname, &stbuf)) { dumbness: serrno = errno; lprintf("PANIC: \"%s\":", tfname); flush(); dumbcnt = 0; setexit(); if (dumbcnt == 0) { errno = serrno; dumbcnt++; ioerror(); } exit(1); } if ((stbuf.flags & FILETYP) != FDIRECT) { errno = ENOTDIR; goto dumbness; } ichanged = 0; strcat(tfname, tftail); for (p = strend(tfname), i = 5, j = getpid(); i > 0; i--, j =/ 10)  *--p = j % 10 | '0'; tfile = creat(tfname, 0600); if (tfile < 0) goto dumbness; havetmp = 1; close(tfile); tfile = open(tfname, 2); if (tfile < 0) goto dumbness; brk(fendcore); } cleanup() { if (havetmp) unlink(tfname); havetmp = 0; } onhup() { if (chngflag == 0 || preserve()) cleanup(); exit(1); } clrstats() { ninbuf = 0; cntch = 0; cntln = 0; cntnull = 0; cntodd = 0; } iostats() { close(io); io = -1; if (value(HUSH) == 0) { if (value(TERSE)) printf(" %d/%ld", cntln, cntch); else printf(" %d line%s, %ld character%s", cntln, plural(cntln), cntch, cntch == 1 ? "" : "s"); if (cntnull || cntodd) { printf(" ("); if (cntnull) { printf("%ld null", cntnull); if (cntodd) printf(", "); } if (cntodd) printf("%ld dirty", cntodd); putchar(')'); } putnl(); } return (cntnull != 0 || cntodd != 0); } plural(i) int i; { return (i == 1 ? "" : "s"); } getline(tl) int tl; { register char *bp, *lp; register nl; char scratch[LBSIZE]; lp = scratch; bp = getblock(tl, READ); nl = nleft; tl =& ~0177; while (*lp++ = *bp++) if (--nl == 0) { bp = getblock(tl =+ 0200, READ); nl = nleft; } return (unpack(scratch)); } putline() { register char *bp, *lp; register nl; int tl; char scratch[LBSIZE]; dirtcnt++; lp = scratch; pack(lp); change(); tl = tline; bp = getblock(tl, WRITE); nl = nleft; tl =& ~0177; while (*bp++ = *lp++) { if (--nl == 0) { bp = getblock(tl =+ 0200, WRITE); nl = nleft; } } nl = tline; tline =+ (((lp - scratch) + 07) >> 2) & 077776; return (nl); } STATIC char *nextip; getfile() { register c; register char *lp, *fp; lp = linebuf; fp = nextip; do { if (--ninbuf < 0) { ninbuf = read(io, genbuf, LBSIZE) - 1; if (ninbuf < 0) { if (lp != linebuf) { printf("[Incomplete last line] "); break; } return (EOF); } fp = genbuf; } if (lp >= &linebuf[LBSIZE]) error(" Line too long@- limit 512 characters"); c = *fp++; if (c == 0) { cntnull++; continue; } if (c & 0200) { cntodd++; c =& 0177; if (c == 0) continue; } *lp++ = c; } while (c != '\n'); cntch =+ lp - linebuf; *--lp = 0; nextip = fp; cntln++; return (0); } putfile() { int *a1; register char *fp, *lp; register int nib; a1 = addr1; clrstats(); cntln = addr2 - a1 + 1; if (cntln == 0) return; nib = 512; fp = genbuf; do { lp = getline(*a1++); for (;;) { if (--nib < 0) { if (write(io, genbuf, nib = fp-genbuf) != nib) wrerror(); cntch =+ nib; nib = 511; fp = genbuf; } if ((*fp++ = *lp++) == 0) { fp[-1] = '\n'; break; } } } while (a1 <= addr2); if (write(io, genbuf, nib = fp-genbuf) != nib) wrerror(); cntch =+ nib; } wrerror() { if (eq(file, savedfile) && value(EDITED)) change(); ioerror(); } ioerror() { switch (errno) { case ENOENT: error(" No such file or directory"); case EIO: error(" Physical I/O error"); case EACCESS: error(" Permission denied"); case ENOTDIR: error(" Not a directory"); case EISDIR: error(" Is a directory"); case ENFILE: error(" File table overflow"); case ENOSPC: error(" No space left on device"); case EQUOT: error(" Quota exceeded"); case EROFS: error(" Read-only file system"); default: error(" I/O error %d", errno); } } int read(); int write(); getblock(atl, iof) int atl; int (*iof)(); { register int bno, off; bno = (atl >> 7) & 0777; off = (atl << 2) & 0770; if (bno >= 506) error(" Tmp file too large"); nleft = 512 - off; if (bno == iblock) { ichanged =| iof; return (ibuff + off); } if (bno == oblock) return (obuff + off); if (iof == READ) { if (ichanged) blkio(iblock, ibuff, write); ichanged = 0; iblock = bno; blkio(bno, ibuff, read); return (ibuff + off); } if (oblock >= 0) blkio(oblock, obuff, write); oblock = bno; return (obuff + off); } blkio(b, buf, iofcn) int (*iofcn)(); { seek(tfile, b, 3); if ((*iofcn)(tfile, buf, 512) != 512) ioerror(); } synctmp() { register int *bp, *a, cnt; if (ichanged) blkio(iblock, ibuff, write); ichanged = 0; if (oblock != -1) blkio(oblock, obuff, write); time(&header.Atime); header.Auid = getuid() & mask; *zero = header.Atime[1]; for (a = zero, bp = blocks; a <= dol; a =+ 256, bp++) { if (*bp < 0) { tline = (tline + 0177) &~ 0177; *bp = ((tline >> 7) & 0777); tline =+ 0200; oblock = *bp + 1; bp[1] = -1; } seek(tfile, *bp, 3); cnt = (dol - a + 2) << 1; if (cnt > 512) cnt = 512; if (write(tfile, a, cnt) != cnt) { oops: *zero = 0; printf("SYNC error:"); ioerror(); } *zero = 0; } header.Alines = dol - zero; seek(tfile, 0, 3); if (write(tfile, &header, sizeof header) != sizeof header) goto oops; /* seek(tfile, 504, 0); write(tfile, "LOST", 5); */ } TSYNC() { if (dirtcnt > 12) { synctmp(); dirtcnt = 0; } } ex_io.h4“W¤�h/* * Ex - a text editor * Bill Joy UCB June 1977 */ #define FILETYP 060000 #define FPLAIN 000000 #define FDIRECT 040000 #define FCHSPEC 020000 #define FBLSPEC 060000 struct stb { char minor; char major; int inumber; int flags; char nlinks; char uid; char gid; char size0; int size1; char dminor; char dmajor; int addr2[7]; long actime; long modtime; }; #define ENOENT 2 #define EIO 5 #define EACCESS 13 #define ENOTDIR 20 #define EISDIR 21 #define ENFILE 23 #define ENOSPC 28 #define EROFS 30 #define EQUOT 33 int errno; #define DTTYMAJ 3 #define DTTYMIN 0 #define DVNLMAJ 8 #define DVNLMIN 2 ex_libS.c4“W¤�"# /* * Ex - a text editor * Bill Joy UCB September, 1977 * * We use these routines here instead of libS.a because * we need a printf which prints through putchar(). */ #include "ex.h" strcpy(oto, from) char *oto; register char *from; { register char *to; to = oto; while (*to++ = *from++) continue; return (oto); } strcat(to, from) char *to, *from; { strcpy(strend(to), from); return (to); } strend(cp) register char *cp; { while (*cp) cp++; return (cp); } strcLIN(dp) char *dp; { return (strcpy(linebuf, dp)); } ex_note.c4”W¤�# /* * Ex - a text editor * Bill Joy UCB September, 1977 */ #include "ex.h" #include "ex_glob.h" notable(i) int i; { return (value(HUSH) == 0 && !inglobal && i > value(NOTIFY)); } killed() { register int cnt; cnt = addr2 - addr1 + 1; if (!notable(cnt)) return; printf("%d lines", cnt); if (value(TERSE) == 0) { printf(" %c%s", Command[0] | ' ', Command + 1); if (Command[strlen(Command) - 1] != 'e') putchar('e'); putchar('d'); } putNFL(); } netchHAD(cnt) int cnt; { netchange((dol - zero) - cnt); } netchange(i) register int i; { register char *cp; if (i > 0) cp = "more"; else cp = "less", i = -i; if (!notable(i)) return; printf(mesg("%d %s lines@in file after %s"), i, cp, Command); putNFL(); } snote(total, lines) register int total, lines; { if (!notable(total)) return; printf(mesg("%d subs|%d substitutions"), total); if (lines != 1 && lines != total) printf(" on %d lines", lines); putNFL(); } noteargs() { if (argc > 1) { printf(mesg("%d files@to edit"), argc); putNFL(); } } nex_pack.c4”W¤�t#include "ex.h" #include "ex_re.h" /* * Ex - a text editor * Bill Joy UCB October, 1977 */ /* * Unpack into linebuf */ unpack(sp) register char *sp; { register char *lp; register int c; int i; for (lp = linebuf; c = *sp++;) { if ((c & 0200) != 0) { c =& 0177; switch (c) { case 0: c = ' '; gosh: for (i = *sp++; i > 0; i--) *lp++ = c; continue; #ifdef UNIMP case 012: *lp++ = '\t'; *lp++ = '\t'; continue; #endif case 015: c = '\t'; goto gosh; } *lp++ = ' '; } *lp++ = c; } *lp = 0; return (linebuf); } pack(sp) register char *sp; { register char *lp; register int c; int i; for (lp = linebuf; c = *lp++;) { if (c == '\n') { linebp = lp; break; } if (c != ' ' && c != '\t' || *lp == 0 || c == '\t' && *lp != '\t') { *sp++ = c; continue; } if (c == ' ' && *lp != ' ' && *lp != '\n') { *sp++ = *lp++ | 0200; continue; }  for (i = 1; *lp == c && i < 127; lp++, i++) continue; #ifdef UNIMP if (c == '\t' && i == 2) { *sp++ = 0212; continue; } #endif *sp++ = c == '\t' ? 0215 : 0200; *sp++ = i; } *sp = 0; } ex_print.c4•W¤�ß# /* * Ex - a text editor * Bill Joy UCB June 1977 */ #include "ex.h" #include "ex_tty.h" int (*Outchar)(), (*Putchar)(); int listchar(), normchar(); /* Put in assembly language to save space setlist() { register int (*P)(); P = Putchar; Putchar = &listchar; return (P); } setnorm() { register int (*P)(); P = Putchar; Putchar = &normchar; return (P); } */ listchar(c) register CHAR c; { c =& 0377; switch (c) { case '\t': c = '>'; goto escit; case '\b': c = '<'; escit: if (!OS) break; outchar('-'); outchar('\b'); break; case '\n': break; case '\n' | QUOTE: outchar('$'); break; default: if (c & QUOTE) break; if (c < ' ' && c != '\n' || c == 0177) { outchar('\\'); if (c == 0177) { outchar('1'); c = 077; } outchar((c >> 3) + '0'); c = (c & 07) + '0'; } break; } normchar(c); } normchar(c) register CHAR c; { register char *colp; c =& 0377; if (c & QUOTE) switch (c) { case ' ' | QUOTE: case '\b' | QUOTE: break; case QUOTE: return; default: c =& 0177; } if (UPPERCASE) { if (ucletter(c)) { outchar('\\'); c = letter(c); } else { colp = "({)}!|^~'`"; while (*colp++) if (c == *colp++) { outchar('\\'); c = colp[-2]; break; } } } outchar(c); } extern int (*Pline)(), numbline(); numbline(i) int i; { if (shudclob) slobber(' '); printf("%6d ", i); normline(); } normline() { if (shudclob) slobber(linebuf[0]); if (Putchar == &listchar || value(PRINTALL)) printf("%s", linebuf); else { if (value(INDICATEUL) && !inopen && !inconf) doulg(); dographic(); if (value(INDICATEUL) && !inopen && !inconf && genbuf[0]) { outchar('\n'); if (Pline == &numbline) outchar('\t'); printf("%s", genbuf); } } if (!inopen && !inconf) putchar('\n' | QUOTE); } slobber(c) char c; { shudclob = 0; switch (c) { case '\t': if (Putchar == &listchar) return; break; default: return; case ' ': case 0: break; } if (OS) return; printf("\240\210"); } int (*Outchar)(), termchar(); /* setoutt() { Outchar = &termchar; } */ lprintf(a1, a2, a3) { register int (*P)(); P = setlist(); printf(a1, a2, a3); Putchar = P; } lex_put.c4—W¤‘¿#include "ex.h" #include "ex_tty.h" /* * Ex - a text editor * Bill Joy UCB June 1977 */ STATIC char line[66] "Error message file not available\n/usr/lib/ex1.1strings"; STATIC char *linp line + 33; extern char *erpath line + 33; extern char pfast; STATIC char phadnl; termchar(c) char c; { if (pfast == 0 && phadnl) pstart(); if (c == '\n') phadnl = 1; else if (linp >= &line[63]) flush1(); *linp++ = c; if (c == '\n' && pfast == 0) { fgoto(); flush1(); } } flush() { flush1(); flush2(); } flush1() { register char *lp, *cp; register c; *linp = 0; lp = line; while (*lp) switch (c = *lp++) { case '\r': destline =+ destcol / COLUMNS; destcol = 0; continue; case '\013': destline--; continue; case '\b': if (value(PRINTALL)) goto printit; if (destcol) destcol--; continue; case '\032': if (CLEAR) { putS(CLEAR); outcol = 0; outline = 0; destcol = 0; destline = 0; } continue; case ' ': if (value(PRINTALL)) goto printit; destcol++; continue; case '\t': if (value(PRINTALL)) goto printit; destcol =+ 8; destcol =& ~7; continue; case '\n': destline =+ destcol / COLUMNS + 1; if (destcol != 0 && destcol % COLUMNS == 0) destline--; destcol = 0; continue; default: printit: fgoto(); for (;;) { if (AM == 0 && outcol == COLUMNS) fgoto(); c =& 0177; putch(c); if (c == '\b') { outcol--; destcol--; } else if (c >= ' ' && c != 0177) { outcol++; destcol++; } c = *lp++; if (c <= ' ') break; } --lp; continue; } linp = line; } putS(cp) char *cp; { if (cp == NIL) return; while (*cp) putch(*cp++); } flush2() { fgoto(); flusho(); pstop(); } /* * Goto destline, destcol from outline, outcol. * We must be cognizant of the capabilities of the terminal * and (if its a crt) the possibly finite size of its screen. * The following capability variables are considered: * * NOCR if true, can't CR * BS if true, can BS * CA if true, can cursor address * NDSPACE non-destructive space sequence (cursor right) * UPLINE up line sequence (reverse line-feed) * AM if true, terminal has automatic return at right margin */ fgoto() { register int l, c; /* * Adjust the destination column to be * non-virtual by performing line folding. */ if (destcol > COLUMNS - 1) { destline =+ destcol / COLUMNS; destcol =% COLUMNS; } if (outcol > COLUMNS - 1) { l = (outcol + 1) / COLUMNS; outline =+ l; outcol =% COLUMNS; if (AM == 0) { /* * Software automatic margins */ while (l > 0) { putch('\n'); if (pfast) putch('\r'); l--; } outcol = 0; } /* * Outline has to be a real line... * rounding outline and destline down corresponds * to "rolling" the screen up. */ if (outline > LINES - 1) { destline =- outline - (LINES - 1); outline = LINES - 1; } } /* * If destination line is off the screen * provide an appropriate "on screen" target, * call ourselves recursively to get it, * and then roll the screen up. */ if (destline > LINES - 1) { l = destline; destline = LINES - 1; if (outline < LINES - 1) { c = destcol; if (pfast == 0 && !CA) destcol = 0; fgoto(); destcol = c; } while (l > LINES - 1) { putch('\n'); l--; if (pfast == 0) outcol = 0; } } if (destline < outline && !(CA || UPLINE)) /* * If can't CA or UPLINE * we have no hope of reducing outline. */ destline = outline; /* * Try to do the move with very local cursor motions, * perhaps using a carriage return to move to * the left margin. */ if (motion()) return; if (CA && !value(PRINTALL)) { putS(cgoto()); outline = destline; outcol = destcol; } else plod(); } setcol(col) int col; { register int del; flush1(); del = col - outcol; destcol = col; if (destcol < 0) destcol = 0; /* off the line may not work on 3a here */ fgoto(); /* * ADM3A special - fix tabs */ if (TTY == 'ca' && (del <= -4 || del >= 4)) { del =- 3; del =& 07; if (del < 0) del =+ 8; while (del > 0) { /* * A tip of the hatlo hat here too! */ putch('\033'); putch('x'); del--; } } flush(); } /* * v is vertical distance, then cost with cr * h is horizontal distance, then direct move cost */ motion() { register int v, h, c; if (!BS) return (0); v = destline - outline; if (v < 0) if (CA || UPLINE) v = -v; else destline = outline; h = destcol; if (!v || pfast) { h =- outcol; if (h < 0) h = -h; } h =+ v; if (pfast || !NOCR) { if (outcol) v++; v =+ destcol; } else v = 5; if (v >= 4 && h >= 4) return (0); plod(); return (1); } plod() { register int i; while (outline < destline) { outline++; putch('\n'); if (NOCR || pfast == 0) outcol = 0; } if (!NOCR && (outcol - destcol > destcol + 1 || outcol > destcol && !BS)) { putch('\r'); outcol = 0; } while (outcol > destcol) { outcol--; putch('\b'); } while (outline > destline) { outline--; putS(UPLINE); } if (!CA && PT) while ((i = ((outcol + 8) &~ 7)) < destcol) { putch('\t'); outcol = i; } while (outcol < destcol) { if (inopen) { if (!NDSPACE) { /* * What a feat of engineering! * A terminal with cursor addressibility * but no cursor move 1 char right sequence! */ putS(cgoto()); outcol = destcol; return; } putS(NDSPACE); } else putch(' '); outcol++; } } partinp() { putch('\n'); noteinp(); } noteinp() { outline++; if (outline > LINES - 1) outline = LINES - 1; destline = outline; destcol = outcol = 0; } notech(i) int i; { outcol =+ i; destcol =+ i; } #define ECHO 010 #define CRLF 020 pstart() { if (NOCR || !value(OPTIMIZE) || value(PRINTALL)) return; if (ruptible == 0) return; fgoto(); flusho(); if (pfast) return; pfast = 1; gTTY(1); normtty = 1; normf = tty[2]; tty[2] =& ~(ECHO|CRLF); sTTY(1); } pstop() { phadnl = 0; linp = line; draino(); normal(); if (pfast != 1) return; pfast = 0; } termreset() { destcol = 0; destline = LINES - 1; if (!value(PRINTALL)) if (CA) { outcol = -20; outline = -20; } else { outcol = destcol; outline = destline; } } draino() { obuf.fildes = 1; obuf.nunused = 0; obuf.xfree = 0; } ostart() { if (!intty) error("Open and visual must be used interactively"); gTTY(1); normtty = 1; normf = tty[2]; tty[2] = (tty[2] &~ (ECHO|CRLF)) | RAW; sTTY(1); pfast = 2; } ostop() { pfast = 0; normal(); termreset(); } flusho() { fflush(&obuf); } putnl() { putchar('\n'); } gTTY(i) { gtty(i, tty); } sTTY(i) { stty(i, tty); } putch(c) { putc(c, &obuf); } sex_re.c4™W¤‘V#include "ex.h" #include "ex_re.h" /* * Ex - a text editor * Bill Joy UCB June/September 1977 */ compile(eof, oknl) int eof; char oknl; { register c; register char *ep; char *lastep; char bracket[NBRA], *bracketp, *rhsp; int cclcnt; if (letter(eof) || digit(eof)) error("Re delimiter must not be letter or digit|Regular expressions cannot be delimited by letters or digits"); ep = expbuf; c = getchar(); if (eof == '\\') switch (c) { case '/': case '?': if (scanre.sexpbuf[0] == 0) noscanre: error("No previous scan re|No previous scanning regular expression"); resre(&scanre); return (c); case '&': if (subre.sexpbuf[0] == 0) nosubre: error("No previous substitute re|No previous substitute regular expression"); resre(&subre); return (c); default: error("Badly formed re|Regular expression \\ must be followed by /, ?, or &"); } if (c == eof || c == '\n' || c == EOF) { if (*ep == 0) error("No previous re|No previous regular expression"); if (c == '\n' && oknl == 0) error("Missing closing delimiter@for regular expression"); if (c == '\n') ungetchar(c); return (eof); } bracketp = bracket; nbra = 0; circfl = 0; if (c == '^') { c = getchar(); circfl++; } ungetchar(c); for (;;) { if (ep >= &expbuf[ESIZE - 2]) complex: cerror("Re too complex|Regular expression too complicated"); c = getchar(); if (c == eof || c == EOF) { if (bracketp != bracket) cerror("Unmatched \\(|More \\('s than \\)'s in regular expression"); *ep++ = CEOF; return (eof); } if (value(MAGIC)) { if (c != '*' || ep == expbuf) lastep = ep; } else if (c != '\\' || peekchar() != '*' || ep == expbuf) lastep = ep; switch (c) { case '\\': c = getchar(); switch (c) { case '(': if (nbra >= NBRA) cerror("Awash in \\('s!|Too many \\('d subexressions in a regular expression"); *bracketp++ = nbra; *ep++ = CBRA; *ep++ = nbra++; continue; case ')': if (bracketp <= bracket) cerror("Extra \\)|More \\)'s than \\('s in regular expression"); *ep++ = CKET; *ep++ = *--bracketp; continue; case '<': *ep++ = CBRC; continue; case '>': *ep++ = CLET; continue; } if (value(MAGIC) == 0) magic: switch (c) { case '.': *ep++ = CDOT; continue; case '~': rhsp = rhsbuf; while (*rhsp) { if (*rhsp & QUOTE) { c = *rhsp & 0177; if (c == '&') error("Replacement pattern contains &@- cannot use in re"); if (c >= '1' && c <= '9') error("Replacement pattern contains \\d@- cannot use in re"); } if (ep >= &expbuf[ESIZE-2]) goto complex; *ep++ = CCHR; *ep++ = *rhsp++ & 0177; } continue; case '*': if (ep == expbuf) break; if (*lastep == CBRA || *lastep == CKET) cerror("Illegal *|Can't * a \\( ... \\) in regular expression"); if (*lastep == CCHR && (lastep[1] & QUOTE)) cerror("Illegal *|Can't * a \\n in regular expression"); *lastep =| STAR; continue; case '[': *ep++ = CCL; *ep++ = 0; cclcnt = 1; c = getchar(); if (c == '^') { c = getchar(); ep[-2] = NCCL; } if (c == ']') cerror("Bad character class|Empty character class '[]' or '[^]' cannot match"); while (c != ']') { if (c == '\\' && any(peekchar(), "]-^\\")) c = getchar() | QUOTE; if (c == '\n' || c == EOF) cerror("Missing ]"); *ep++ = c; cclcnt++; if (ep >= &expbuf[ESIZE]) goto complex; c = getchar(); } lastep[1] = cclcnt; continue; } if (c == EOF) { ungetchar(EOF); c = '\\'; goto defchar; } *ep++ = CCHR; if (c == '\n') cerror("No newlines in re's|Can't escape newlines into regular expressions"); if (c < '1' || c > NBRA + '1') { *ep++ = c; continue; } c =- '1'; if (c >= nbra) cerror("Bad \\n|\\n in regular expression with n greater than the number of \\('s"); *ep++ = c | QUOTE; continue; case '\n': if (oknl) { ungetchar(c); *ep++ = CEOF; return (eof); } cerror("Badly formed re|Missing closing delimiter for regular expression"); case '$': if (peekchar() == eof || peekchar() == EOF || oknl && peekchar() == '\n') { *ep++ = CDOL; continue; } goto defchar; case '.': case '~': case '*': case '[': if (value(MAGIC)) goto magic; defchar: default: *ep++ = CCHR; *ep++ = c; continue; } } } cerror(s) char *s; { expbuf[0] = 0; error(s); } same(a, b) register int a, b; { return (a == b || value(IGNORECASE) && (a ^ b) == ' ' && letter(a) == letter(b)); } execute(gf, addr) int *addr; { register char *p1, *p2; register c; if (gf) { if (circfl) return (0); locs = p1 = loc2; } else { if (addr == zero) return (0); p1 = getline(*addr); locs = 0; } p2 = expbuf; if (circfl) { loc1 = p1; return (advance(p1, p2)); } /* fast check for first character */ if (*p2 == CCHR) { c = p2[1]; do { if (c != *p1 && (!value(IGNORECASE) || (c ^ *p1) != ' ' || letter(c) != letter(*p1))) continue; if (advance(p1, p2)) { loc1 = p1; return (1); } } while (*p1++); return (0); } /* regular algorithm */ do { if (advance(p1, p2)) { loc1 = p1; return (1); } } while (*p1++); return (0); } #define uletter(c) (letter(c) || c == '_') advance(lp, ep) register char *lp, *ep; { register char *curlp; char *nextep, *sp, *sp1, c; for (;;) switch (*ep++) { case CCHR: if (*ep & QUOTE) { c = *ep++ & 0177; sp = braslist[c]; sp1 = braelist[c]; while (sp < sp1) { if (!same(*sp, *lp)) return (0); sp++, lp++; } continue; } if (!same(*ep, *lp)) return (0); ep++, lp++; continue; case CDOT: if (*lp++) continue; return (0); case CDOL: if (*lp == 0) continue; return (0); case CEOF: loc2 = lp; return (1); case CCL: if (cclass(ep, *lp++, 1)) { ep =+ *ep; continue; } return (0); case NCCL: if (cclass(ep, *lp++, 0)) { ep =+ *ep; continue; } return (0); case CBRA: braslist[*ep++] = lp; continue; case CKET: braelist[*ep++] = lp; continue; case CDOT|STAR: curlp = lp; while (*lp++) continue; goto star; case CCHR|STAR: curlp = lp; while (same(*lp, *ep)) lp++; lp++; ep++; goto star; case CCL|STAR: case NCCL|STAR: curlp = lp; while (cclass(ep, *lp++, ep[-1] == (CCL|STAR))) continue; ep =+ *ep; goto star; star: do { lp--; if (lp == locs) break; if (advance(lp, ep)) return (1); } while (lp > curlp); return (0); case CBRC: if (lp == expbuf) continue; if (uletter(*lp) && !uletter(lp[-1]) && !digit(lp[-1])) continue; return (0); case CLET: if (!uletter(*lp) && !digit(*lp)) continue; return (0); default: error("Re internal error@- if possible remember what you did and tell system staff"); } } cclass(set, c, af) register char *set; register c; int af; { register n; if (c == 0) return (0); if (value(IGNORECASE) && ucletter(c)) c = letter(c); n = *set++; while (--n) if (n > 2 && set[1] == '-') { if (c >= (set[0] & 0177) && c <= (set[2] & 0177)) return (af); set =+ 3; n =- 2; } else if ((*set++ & 0177) == c) return (af); return (!af); } copy(to, from, size) register char *from, *to; register int size; { if (size > 0) do *to++ = *from++; while (--size > 0); } ex_re.h4šW¤�±/* * Ex - a text editor * Bill Joy UCB June 1977 */ #define ESIZE 128 #define NBRA 9 #define STAR 1 #define CBRA 1 #define CCHR 2 #define CDOT 4 #define CCL 6 #define NCCL 8 #define CDOL 10 #define CEOF 11 #define CKET 12 #define CBRC 14 #define CLET 15 #define savere(a) copy(a, &re, sizeof re) #define resre(a) copy(&re, a, sizeof re) struct savre { char sexpbuf[ESIZE + 4]; char snbra; char scircfl; char *sbraslist[NBRA]; char *sbraelist[NBRA]; } re, scanre, subre; char rhsbuf[LBSIZE / 2]; char *loc1, *loc2, *locs; char *linebp; #define circfl re.scircfl #define expbuf re.sexpbuf #define nbra re.snbra #define braslist re.sbraslist #define braelist re.sbraelist Lex_recover.c4›W¤�j#include "ex.h" /* * Ex - a text editor * Bill Joy UCB October 1977 */ char exrecover[] "/usr/lib/exrecover"; char expreserve[] "/usr/lib/expreserve"; recover() { int pvec[2]; if (pipe(pvec) < 0) error("Can't make pipe for recovery"); pid = fork(); io = pvec[0]; if (pid < 0) { close(pvec[1]); error("Can't fork to execute recovery"); } if (pid == 0) { close(2); dup(1); close(1); dup(pvec[1]); /* close(pvec[1]); */ /* execl(exrecover+4, exrecover+10, value(DIRECTORY), file, 0); */ execl(exrecover, exrecover+10, value(DIRECTORY), file, 0); die++; close(1); dup(2); error(" No recovery routine"); } close(pvec[1]); } waitfor() { do rpid = wait(&status); while (rpid != pid && rpid != -1); status = (status >> 8) & 0377; } revocer() { waitfor(); if (pid == rpid && status != 0) value(EDITED) = 0; else change(); } preserve() { if (savedfile[0] == 0) error("No remembered filename"); synctmp(); pid = fork(); if (pid < 0) error("Can't fork to do preserve"); if (pid == 0) { close(0); dup(tfile); /* execl(expreserve+4, expreserve+10, 0); */ execl(expreserve, expreserve+10, 0); die++; error("No preservation routine"); } waitfor(); if (rpid == pid && status == 0) { sync(); lprintf("File \"%s\" preserved. Please seek help immediately.\n", savedfile); return (1); } return (0); } ex_set.c4œW¤‘Ð#include "ex.h" /* * Ex - a text editor * Bill Joy UCB September 1977 */ char shellname[30] "/bin/sh"; char direct[30] "/tmp"; char ttytype[30] "unknown"; char NONAME[] "@"; #define ONOFF 0 #define NUMERIC 1 #define STRING 2 #define TERM 3 char NOTify[] "notify"; struct varbl varbls[] { "autoindent", "ai", ONOFF, 0, 0, "autoprint", "ap", ONOFF, 1, 1, "beautify", NONAME, ONOFF, 0, 0, "directory", "dir", STRING, 0, direct, "editany", "ea", ONOFF, 0, 0, "edited", NONAME, ONOFF, 1, 0, "errorbells", "eb", ONOFF, 1, 1, "fork", NONAME, ONOFF, 1, 1, "home", NONAME, STRING, 0, home, "hush", NONAME, ONOFF, 0, 0, "ignorecase", "ic", ONOFF, 0, 0, "indicateul", "iu", ONOFF, 0, 0, "list", NONAME, ONOFF, 0, 0, "magic", NONAME, ONOFF, 1, 1, "mode", NONAME, NUMERIC, 0644, 0644, NOTify, NONAME, NUMERIC, 5, 5, "number", NONAME, ONOFF, 0, 0, "open", NONAME, ONOFF, 1, 1, "optimize", NONAME, ONOFF, 1, 1, "printall", "pa", ONOFF, 0, 0, "prompt", NONAME, ONOFF, 1, 1, "scroll", NONAME, NUMERIC, 12, 12, "shell", "sh", STRING, 0, shellname, "shiftwidth", "sw", NUMERIC, 8, 8, "sticky", NONAME, ONOFF, 0, 0, "ttytype", "tty", TERM, 0, ttytype, "terse", NONAME, ONOFF, 0, 0, "visualmessage","vm", ONOFF, 0, 0, "window", NONAME, NUMERIC, 23, 23, "wrap", NONAME, ONOFF, 1, 1, 0 }; #define ONMSZ 30 set(c) register c; { register char *op; register struct varbl *vp; char no, optname[ONMSZ]; int column, base; extern char uxb[]; setnoaddr(); if (endcmd(peekchar())) { getchar(); propts(0); return; } if (c == 0) error("Blank required@before options in set"); do { switch (c = getchar()) { case '!': op = uxb; if (!*op) error("No previous command"); goto pfile; case '`': op = altfile; if (!*op) error("No alternate filename"); goto pfile; case '%': op = savedfile; if (!*op) error("No current filename"); pfile: if (!setend()) error("Can't assign@to %c with set", c); lprintf("%c=%s\n", c, op); goto next; } if (!letter(c)) error("Unexpected %c|Expected option name, found %c", c); op = optname; do { if (op >= &optname[ONMSZ]) error("No such option|Ridiculously long option name"); *op++ = letter(c); c = getchar(); } while (letter(c)); ungetchar(c); *op = 0; no = 0; op = optname; if (eq("all", op)) { propts(1); goto next; } if (!eq(op, NOTify) && op[0] == 'n' && op[1] == 'o') { op =+ 2; no++; } for (vp = varbls; vp->vname[0]; vp++) if (eq(vp->vname[0], op) || eq(vp->vname[1], op)) break; if (vp->vname[0] == 0) error("%s: No such option@- 'set all' gives all option values", op); c = skipwh(); if (peekchar() == '?') { getchar(); printone: propt(vp); goto next; } if (no && vp->vtype != ONOFF) error("Option %s is not a toggle", vp->vname[0]); switch (vp->vtype) { case ONOFF: vp->vvalue = 1 - no; break; case NUMERIC: if (c != 0 || setend()) goto printone; if (getchar() != '=') error("= expected@before number for numeric option %s", vp->vname[0]); if (!digit(peekchar())) error("Digits required@after = when assigning numeric option"); c = 0; base = 10; if (peekchar() == '0' || vp == &varbls[MODE]) base = 8; do c = c * base + getchar() - '0'; while (digit(peekchar())); vp->vvalue = c; break; case STRING: case TERM:  if (c != 0 || setend()) goto printone; if (getchar() != '=') error("Missing =@in assignment to option %s", vp->vname[0]); op = optname; while (!setend()) { if (op >= &optname[ONMSZ]) error("String too long@in option assignment"); *op++ = getchar(); } *op = 0; if (vp->vtype == TERM) setterm(optname); else { strcpy(vp->vvalue, optname); vp->vdefault = 1; } break; } next: flush(); skipwh(); } while (!endcmd(peekchar())); eol(); } setend() { return (white(peekchar()) || endcmd(peekchar())); } propts(all) char all; { register struct varbl *vp; for (vp = varbls; vp->vname[0] != NIL; vp++) { if (!all) switch (vp->vtype) { case ONOFF: case NUMERIC: if (vp->vvalue == vp->vdefault) continue; break; case STRING: if (vp->vdefault == 0) continue; break; /* case TERM: break; */ } propt(vp); } } propt(vp) register struct varbl *vp; { switch (vp->vtype) { case ONOFF: printf("%s%s\n", vp->vvalue ? "" : "no", vp->vname[0]); break; case NUMERIC: if (vp == &varbls[MODE]) { printf("mode="); pro(value(MODE)); putnl(); } else printf("%s=%d\n", vp->vname[0], vp->vvalue); break; case STRING: case TERM: printf("%s=%s\n", vp->vname[0], vp->vvalue); break; } flush(); } pro(i) register int i; { if (i != 0) pro((i >> 3) & 017777); putchar((i & 7) | '0'); } REset() { register struct varbl *vp; for (vp = varbls; vp->vname[0]; vp++) if (vp->vtype == NUMERIC || vp->vtype == ONOFF) vp->vvalue = vp->vdefault; } ex_shift.c4žW¤�# /* * Ex - a text editor * Bill Joy UCB October 1977 */ #include "ex.h" shift(c, cnt) char c; int cnt; { register int *addr; register char *cp; char *dp; register int i; if (!inglobal) save12(), undkind = UNDCHANGE; cnt =* value(SHIFTWIDTH); for (addr = addr1; addr <= addr2; addr++) { getline(*addr); i = whitecnt(linebuf); switch (c) { case '>': if (linebuf[0] == 0) continue; cp = genindent(i + cnt); break; case '<': if (i == 0) continue; i =- cnt; cp = i > 0 ? genindent(i) : genbuf; break; } dot = addr; if (cp + strlen(dp = vpastwh(linebuf)) >= &genbuf[LBSIZE - 2]) error("Line too long|Result line after shift would be too long"); strcpy(cp, dp); strcLIN(genbuf); putmark(addr); } } ex_source.c4ŸW¤�»# /* * Ex - a text editor * Bill Joy UCB September 1977 */ #include "ex.h" #include "ex_io.h" STATIC int slevel; int onintr(); source(file, okfail) char *file; int okfail; { int osetexit[3], tty[3]; register int saveinp, ointty, oerrno; char reenter; signal(INTR, 1); saveinp = dup(0); if (saveinp < 0) error("Too many nested sources"); close(0); if (open(file, 0) < 0) { oerrno = errno; if (ruptible) signal(INTR, onintr); dup(saveinp); close(saveinp); errno = oerrno; if (!okfail) filioerr(file); return; } slevel++; ointty = intty; intty = gtty(0, tty) == 0; reenter = 0; getexit(osetexit); setexit(); if (ruptible) signal(INTR, onintr); if (reenter == 0) { reenter++; commands(1, 1); } else if (slevel > 1) { close(0); dup(saveinp); close(saveinp); slevel--; resexit(osetexit); reset(); } intty = ointty; close(0); dup(saveinp); close(saveinp); slevel--; resexit(osetexit); } nex_subr.c4ŸW¤�æ# /* * Ex - a text editor * Bill Joy UCB September 1977 */ #include "ex.h" skipwh() { register int wh; wh = 0; while (white(peekchar())) { wh++; getchar(); } return (wh); } strcmp(left, right) register char *left, *right; { while (*left == *right++) if (*left++ == 0) return (0); return (*left - *--right); } letter(c) register int c; { if (c >= 'a' && c <= 'z') return (c); if (c >= 'A' && c <= 'Z') return (c + 'a' - 'A'); return (0); } strlen(cp) register char *cp; { register int i; i = 0; while (*cp++) i++; return (i); } white(c) char c; { return (c == ' ' || c == '\t'); } digit(c) char c; { return (c >= '0' && c <= '9'); } ucletter(c) char c; { return (c >= 'A' && c <= 'Z'); } ex_tty.c4ŸW¤�K# /* * Ex - a text editor * Bill Joy UCB September 1977 */ #include "ex.h" #include "ex_tty.h" char tspace[64], **Tspace; char ttycap[]; int COLUMNS 1000; int LINES 24; setterm(type) char *type; { Setterm(type, 1); } Setterm(type, printerr) char *type; int printerr; { char buf[512], *cgoto(); register int unknown; extern struct varbl varbls[]; if (type[0] == 0) type = "un"; unknown = 0; if (tgetent(buf, type) != 1) { unknown = printerr; strcpy(buf, "un|unknown:0:0:?"); } TTY = buf[0] | (buf[1] << 8); /* tgetmodes(MODES); */ LINES = tgetnum("li"); if (LINES <= 0) LINES = 24; varbls[WINDOW].vvalue = varbls[WINDOW].vdefault = LINES - 1; varbls[SCROLL].vvalue = varbls[SCROLL].vdefault = LINES / 2; COLUMNS = tgetnum("co"); if (COLUMNS <= 20) COLUMNS = 1000; /* IT = tgetflag("it"); */ CA = tgetflag("ca"); if (cgoto()[0] == 'O') CA = 0; AM = tgetflag("am"); BS = tgetflag("bs"); OS = tgetflag("os"); Tspace = tspace; CLEAR = Tgetstr("cl"); NDSPACE = Tgetstr("nd"); UPLINE = Tgetstr("up"); /* AL = Tgetstr("al"); DL = Tgetstr("dl"); */ CE = Tgetstr("ce"); /* CD = Tgetstr("cd"); */ strcpy(ttytype, longname(buf, type)); termreset(); if (unknown) error("%s: Unknown terminal type@- do \"!ttytype -n\" for a list of valid types", type); } longname(bp, def) register char *bp; char *def; { register char *cp; while (*bp && *bp != ':' && *bp != '|') bp++; if (*bp == '|') { bp++; cp = bp; while (*cp && *cp != ':' && *cp != '|') cp++; *cp = 0; return (bp); } return (def); } Tgetstr(cp) char *cp; { tgetstr(cp, &Tspace); } Tex_tty.h4 W¤�I/* * Ex - a text editor * Bill Joy UCB September 1977 */ int TTY; char *CLEAR, *NDSPACE, *UPLINE, *HSTR, *CE; char CA, AM, BS, OS, PT, NOCR; int LINES, COLUMNS; char UPPERCASE; char ttytype[]; int outcol, outline, destcol, destline; /* * As yet unused capabilities... * char *AL, *DL, *CD; char IT; int MODES[2]; */ pex_unix.c4£W¤�Ï# /* * Ex - a text editor * Bill Joy UCB September, 1977 */ #include "ex.h" #define UXBSZ 100 char uxb[UXBSZ + 2]; unix() { register char *up, *fp; register c; char printub, puxb[UXBSZ + 2]; setnoaddr(); printub = 0; strcpy(puxb, uxb); c = getchar(); if (c == '\n' || c == EOF) error("Incomplete shell escape command@- use 'shell' to get a shell"); up = uxb; do { switch (c) { case '\\': if (any(peekchar(), "%`!")) c = getchar(); default: if (up >= &uxb[UXBSZ]) { tunix: uxb[0] = 0; error("Command too long@- limit 100 characters"); } *up++ = c; break; case '!': fp = puxb; if (*fp == 0) { uxb[0] = 0; error("No previous command@to substitute for !"); } printub++; while (*fp) { if (up >= &uxb[UXBSZ]) goto tunix; *up++ = *fp++; } break; case '`': fp = altfile; if (*fp == 0) { uxb[0] = 0; error("No alternate filename@to substitute for `"); } goto uexp; case '%': fp = savedfile; if (*fp == 0) { uxb[0] = 0; error("No filename@to substitute for %%"); } uexp: printub++; while (*fp) { if (up >= &uxb[UXBSZ]) goto tunix; *up++ = *fp++ | QUOTE; } break; } c = getchar(); } while (c == '|' || !endcmd(c)); *up = 0; up = uxb; unix2("-c", printub, uxb); } unix2(opt, printub, up) char *opt, printub, *up; { register int savint; if (chngflag && xchngflag != chngflag) { xchngflag = chngflag; if (!value(FORK)) error("No write@since last change"); dingdong(); printf(mesg("[No write]\n|[No write since last change]\n")); flush(); } if (value(HUSH) == 0 && printub) { if (uxb[0] == 0) error("No previous command@to repeat"); lprintf("!%s\n", uxb); flush(); } savint = signal(INTR, 1); pid = fork(); if (pid < 0) { signal(INTR, savint); error("No more processes"); } if (pid == 0) { /* if (io) close(io); if (tfile) close(tfile); close(erfile); */ signal(HUP, oldhup); signal(QUIT, oldquit); execl(value(SHELL), "sh", opt, up, 0); die++; error("No %s!\n", value(SHELL)); } waitfor(); signal(INTR, savint); if (value(HUSH) == 0) printf("!\n"); flush(); termreset(); gettmode(); } @ex_vadjust.c4Q½¤‘!#include "ex.h" #ifdef VISUAL #include "ex_tty.h" #include "ex_vis.h" /* * Ex - a text editor * Bill Joy UCB September 1977 */ vback(i) register int i; { register int j, *tp; /* * Candidate for first line is tp. * To take tp-1 instead he must fit in * the remaining space and obviously must * exit, hence need "tp > one". */ for (tp = dot; tp > one; tp--) { getline(tp[-1]); j = vdepth(); if (j > i) break; i =- j; } return (tp); } int listchar(), (*Putchar)(); /* * Return the depth of the line in linebuf. * Note that VCOLUMNS are always completely usable. * The last line on a terminal with automargins is not * normally used; if the terminal does not have an addressible * cursor, then we use the last line but not the last column. */ vdepth() { register int i; i = (column(0) + VCOLUMNS - 1 + (Putchar == &listchar)) / VCOLUMNS; return (i == 0 ? 1 : i); } /* * Open the line tp at line l on the physical screen. * The rest of the lines are shifted down as necessary. * The caller is responsible for adjusting vcline as he/she sees fit. * We return the number of lines occupied by this line on the screen. */ vopen(tp, l) int *tp, l; { register int i, j; /* * If we are doing an open command then we start anew with * each opened line. */ if (!visual) vcnt = 0, vcline = 0; #ifdef DEBUG if (vcline > vcnt || vcline < 0 || vcnt < 0 || vcnt > TUBELINES) error("Internal error: vopen@- please tell someone"); if (tp < one || tp > dol) error("Internal error: vopen tp@- please tell someone"); #endif /* * Have to be very careful before calling vreopen. * Note that as a consequence of this reopen, the screen * may roll up, invalidating our value for l. * Thus we must put this l into the vliny array so it * will be adjusted properly. */ for (j = vcnt; j >= vcline; j--) vliny[j + 1] = vliny[j]; vliny[vcline] = l; /* * Get the line to be opened and "reopen" it on the screen. * Reopen returns the number of screen lines occupied. */ vcnt++; getline(*tp); i = vreopen(l, tp - zero); /* * If this is the last line on the screen, then there is * not much to do here. */ if (vcline + 1 == vcnt) { vliny[vcnt] = vliny[vcline] + i; return (i); } /* * There are lines on the screen which appeared after the place * where this one was opened and they have a chance to remain. * If there is not enough space between the new line and the * one following it then the screen tail will have to be redrawn * to reflect the new line's presence. */ vfixopen(i); return (i); } vfixopen(i) register int i; { register int need; extern int (*Pline)(), numbline(); if (LINES != VLINES) { need = vliny[vcline] + i - vliny[vcline + 1]; if (need > 0) vopenup(need); } vsync(vliny[vcline] + i); } /* * Guts of the open of the line in linebuf at * line l on the physical screen. We first check * that the line will fit on the screen. We then * goto the beginning of the line, put out the * characters of the line and clear to the end of * the line, returning the number of lines we used. */ vreopen(l, lineno) int l, lineno; { register int i; vigoto(l, 0); i = vdepth(); if ((!CA && i > 1) || i > LINES - 1) error("Line too long@for open"); pline(lineno); if (Putchar == &listchar) putchar('$'); vclreol(); return (i); } /* * Return the number of new screen lines required * to make i lines starting at t fit on the screen. */ vfit(i, t) int i, *t; { register int j; j = 0; while (i > 0) { i--; getline(t[i]); j =+ vdepth(); } /* * Account for the free space * at the bottom. */ j =- VLINES - vlast; return (j); } /* * Roll a specified number of lines onto the screen. * If more than one line is being rolled, switch to * cooked mode so that the user can stop or interrupt the output. */ vroll(ocnt) int ocnt; { register int cnt; cnt = ocnt; if (cnt > 1) vcook(); for (; cnt > 0; cnt--) { dot++; vcline++; if (!CA) { vup1(); vscroll(1); vlast = LINES - 1; } vopen(dot, vlast); vcsync(); } if (ocnt > 1) { flusho(); vraw(); } } /* * Roll the screen up. The argument is by reference because * it may be used in subsequent computation and therefore must * be changed to reflect this call. We make the argument line * be the last line of the screen. */ vrollup(ip) int *ip; { register int i; i = *ip - LINES + 2; vscroll(i); *ip =- i; vmoveitup(i); vscrap(); } /* * Move the screen up i lines physically */ vmoveitup(i) int i; { #ifdef DEBUG if (i < 0) error("Internal error: vmoveitup@- please tell someone"); #endif if (i == 0) return; destline = LINES + i - 1; destcol = outcol % COLUMNS; fgoto(); } /* * Move the screen up i lines logically */ vscroll(i) register int i; { register int j; char *tlines[TUBELINES]; #ifdef DEBUG if (i < 0 || i > TUBELINES) error("Internal error: vscroll@- please tell someone"); #endif if (i == 0) return; copy(tlines, vtube, sizeof vtube); copy(vtube, &tlines[i], sizeof vtube - i * sizeof vtube[0]); copy(&vtube[TUBELINES - i], tlines, i * sizeof vtube[0]); for (j = TUBELINES - i; j < TUBELINES; j++) vclrbyte(vtube[j], VCOLUMNS); for (j = 0; j <= vcnt; j++) vliny[j] =- i; } /* * Discard logical lines due to physical * wandering off the screen. */ vscrap() { register int i, j; for (j = 0; j < vcnt; j++) if (vliny[j] >= ZERO) { if (j == 0) break; /* * Discard the first j physical lines off the top */ vcnt =- j; vcline =- j; for (i = 0; i <= vcnt; i++) vliny[i] = vliny[i + j]; break; } /* * Discard lines off the bottom */ for (j = 0; j < vcnt; j++) if (vliny[j] >= VLINES) vcnt = j; if (vcnt == 0) error("No lines fit@on screen!"); } /* * Open blank lines on the screen */ vopenup(i) int i; { register int j, l; if (!visual && !CA) { vsave(); error("Line too long@for open"); } j = LINES - vliny[vcline + 1]; #ifdef DEBUG if (j < 0) error("Internal error: vopenup@- please tell someone"); #endif if (i > j) i = j; for (l = vcline + 1; l <= vcnt; l++) vliny[l] =+ i; vscrap(); } /* * Synchronize the screen. Vredraw is more ambitious than vsync * but correspondingly may take more resources to do its deed. */ vredraw(p) register int p; { register int l, *tp; char temp[LBSIZE]; int ovcline; #ifdef DEBUG if (p < 0 || p > VLINES) error("Internal error: vredraw@- please tell someone"); #endif strcpy(temp, linebuf); l = 0; tp = dot - vcline; while (l < vcnt && vliny[l] < p) l++, tp++; for (; l < vcnt; l++) { if (l == vcline) strcLIN(temp); else getline(*tp); vliny[l] = p; p =+ vreopen(p, tp - zero); tp++; } ovcline = vcline; vcline = l; for (; tp <= dol; tp++) { getline(*tp); if (p + vdepth() > VLINES) break; p =+ vopen(tp, p); vcline++; } vcline = ovcline; for (; p < LINES - 1; p++) vclrlin(p, tp); strcLIN(temp); } vsync(p) register int p; { register int l, lim; char temp[LBSIZE]; #ifdef UNIMP if (allredraw) { vredraw(p); return; } #endif strcpy(temp, linebuf); l = 0; while (l < vcnt && vliny[l] < p) l++; lim = LINES - 1; if (!visual && !CA) lim++; for (; p < lim; p++) if (l < vcnt && vliny[l] == p) { if (l == vcline) strcLIN(temp); else getline(dot[l - vcline]); p =+ vreopen(p, (dot - zero) + (l - vcline)) - 1; l++; } else vclrlin(p, dot + (l - vcline)); strcLIN(temp); } /* * Remove (up to) cnt lines from the screen * starting with the line at vfirst as the * result of a delete or join. */ velide(cnt, vfirst) int cnt, vfirst; { register int i; /* * Can't delete more lines than there are. */ if (vcnt - vfirst < cnt) cnt = vcnt - vfirst; /* * Shift the rest of the lines up in the array. */ for (i = vfirst + cnt; i <= vcnt; i++) vliny[i - cnt] = vliny[i]; /* * Lost cnt lines. */ vcnt =- cnt; } vup1() { vmoveitup(1); } #endif ex_vars.h4¦W¤�î/* * Ex - a text editor * Bill Joy UCB June 1977 */ struct varbl { char *vname[2]; char vtype; int vdefault; int vvalue; } varbls[]; #define value(a) varbls[a].vvalue #define AUTOINDENT 0 #define AUTOPRINT 1 #define BEAUTIFY 2 #define DIRECTORY 3 #define EDITANY 4 #define EDITED 5 #define ERRBELLS 6 #define FORK 7 #define HOME 8 #define HUSH 9 #define IGNORECASE 10 #define INDICATEUL 11 #define LIST 12 #define MAGIC 13 #define MODE 14 #define NOTIFY 15 #define NUMBER 16 #define OPEN 17 #define OPTIMIZE 18 #define PRINTALL 19 #define PROMPT 20 #define SCROLL 21 #define SHELL 22 #define SHIFTWIDTH 23 #define STICKY 24 #define TERMINALTYPE 25 #define TERSE 26 #define VISUALMESSAGE 27 #define WINDOW 28 #define WRAP 29 ex_vclear.c4Z½¤�ø#include "ex.h" #ifdef VISUAL #include "ex_tty.h" #include "ex_vis.h" /* * Ex - a text editor * Bill Joy UCB September, 1977 */ /* * Clear the entire (physical and logical) screen */ vclear() { register int i, j; vputs(CLEAR); destcol = 0; outcol = 0; destline = 0; outline = 0; vclrbyte(vtube0, LINES * COLUMNS); } /* * Put out a control sequence to the terminal. */ vputs(cp) register char *cp; { while (*cp) vputc(*cp++); } /* * Clear bytes logically */ vclrbyte(cp, i) register char *cp; register int i; { if (i > 0) do *cp++ = 0; while (--i != 0); } /* * Clear a physical line */ vclrlin(l, tp) int l, *tp; { vigoto(l, 0); if (!holdat) putchar(tp > dol ? '~' : '@'); vclreol(); } /* * Clear to the end of the current physical line */ vclreol() { register int i; register char *tp; if (destcol == VCOLUMNS) return; destline =+ destcol / VCOLUMNS; destcol =% VCOLUMNS; #ifdef DEBUG if (destline < 0 || destline > TUBELINES) error("Internal error: vclreol@- please tell someone"); #endif i = VCOLUMNS - destcol; tp = vtube[destline] + destcol; if (*tp == 0) return; if (CE) { vcsync(); vputs(CE); vclrbyte(tp, i); return;  } while (i > 0 && *tp != 0) { vputchar(' '); --i, tp++; } } #endif ex_vcolumn.c4 [¤�#include "ex.h" #include "ex_tty.h" #include "ex_vis.h" /* * Ex - a text editor * Bill Joy UCB October, 1977 */ /* * Column returns the number of * columns occupied by printing the * characters through position cp of the * current line. */ column(cp) register char *cp; { if (cp == 0) cp = &linebuf[LBSIZE - 2]; return (qcolumn(cp, 0)); } qcolumn(lim, gp) register char *lim, *gp; { register int x; int (*OO)(); OO = Outchar; Outchar = &qcount; vcntcol = 0; if (lim != NIL) x = lim[1], lim[1] = 0; pline(0); if (lim != NIL) lim[1] = x; if (gp) while (*gp) putchar(*gp++); Outchar = OO; return (vcntcol); } qcount(c) char c; { switch (c) { case '\t': vcntcol =+ 8; vcntcol =& ~07; break; default: vcntcol++; } } ex_vcurs.c4h½¤�˜ #include "ex.h" #ifdef VISUAL #include "ex_tty.h" #include "ex_vis.h" /* * Ex - a text editor * Bill Joy UCB September, 1977 */ /* * Fix the cursor to be positioned in the correct place */ vfixcurs() { vsetcurs(cursor); } /* * Set the cursor at nc */ vsetcurs(nc) register char *nc; { register int col; col = column(nc); if (linebuf[0]) col--; vgotoCL(col); cursor = nc; } /* * Invisible goto */ vigoto(y, x) int y, x; { if (y < 0) error("Internal error: vigoto@- please tell someone"); destline = y; destcol = x; } /* * Sync the cursor... i.e. make the current invisible position * the current actual physical position. */ vcsync() { vgoto(destline, destcol); } /* * Goto output position y on line x. * X may be greater than VCOLUMNS and is folded here * the screen is rolled up if need be. */ vgotoCL(x) { vgoto(vliny[vcline], x); } vgoto(y, x) int y, x; { register char *tp; if (y < 0) error("Internal error: vgoto@- please tell someone"); /* * Fold the possibly too large value of x. */ if (x >= COLUMNS) { y =+ x / COLUMNS; x =% COLUMNS; } if (outcol >= COLUMNS) { outline =+ outcol / COLUMNS; outcol =% COLUMNS; } if (!CA) { /* * We are doing a one line open on a terminal * without cursor addressing. */ if (y != outline) error("Line too long@for single line open"); if (x + 1 < outcol - x || (outcol > x && !BS)) vputc('\r'), outcol = 0; tp = vtube[LINES - 1] + outcol; while (outcol != x) if (outcol < x) { if (*tp == 0) *tp = ' '; vputc(*tp++), outcol++; } else vputc('\b'), outcol--; destcol = outcol = x; return; } if (y >= LINES - 1 && (y >= LINES || !splitw)) vrollup(&y); destline = y; destcol = x; fgoto(); } /* * Process the character c onto the screen at the current position. */ vputchar(c) int c; { register char *tp; int y; if (destcol >= VCOLUMNS && !visual && !CA) error("Line too long@for single line open"); if (destcol >= COLUMNS) { destline =+ destcol / COLUMNS; destcol =% VCOLUMNS; } if (destline > VLINES) { if (splitw) { if (destline > LINES || destcol >= VCOLUMNS) { beep(); return; } goto ok; } y = destline; vrollup(&y); } ok: tp = vtube[destline] + destcol; switch (c) { case '\t': do vputchar(' '); while (destcol & 07); return; case ' ': if (*tp == 0) { *tp = ' '; destcol++; return; } default: if (c < ' ' || c == 0177) c = '?'; if (*tp == c) { destcol++; return; } if (destline != outline || destcol != outcol) { vcsync(); tp = vtube[destline] + destcol; } *tp = c; vputc(c); destcol++, outcol++; return; } } #endif ex_vis.h4™[¤�Õ/* * Ex - a text editor * Bill Joy UCB June 1977 */ #define CTRL(c) ('c' & 037) #define FS CTRL(\\\\) #define NL CTRL(j) #define CR CTRL(m) #define INF 30000 #define DELETE 0177 #define ESCAPE 033 #ifdef VISUAL char visual; char *cursor, *wcursor, *tcursor; int dir; int vlast; #define vputc(c) putc(c, &obuf) #define TUBELINES 24 #define TUBECOLS 160 #define TUBESIZE 1920 char vliny[TUBELINES + 2]; int vcline, vcnt; #define ESCAPE 033 char vch, *vtube[TUBELINES], *vtube0; int VLINES, VCOLUMNS; #define vlast vliny[vcnt] char vmoving; char vmovcol; #endif int vdelete(), (*Outchar)(), qcount(), vputchar(); #ifdef VISUAL char vholdmove; #define beep obeep int vcntcol; char holdat, splitw, hadup, *nextic; #define VNONE 0 #define VCHNG 1 #define VMANY 2 char vundkind, *vutmp; int vulines[TUBELINES], vylines[TUBELINES], *vresaddr; int vrestore(), vrescnt, vresCNT, vdelcnt, vrescurs, vyancnt; char wdkind; int vSCROLL; int (*Pline)(), numbline(), normline(); #define BUFSIZE 128 char Xhadcnt; int Xcnt; char lasthad; int lastcnt; char lastcmd[5], *lastcp, workcmd[5]; char DEL[BUFSIZE], INS[BUFSIZE]; #define OVERBUF CR char *vglobp; char HADUP, HADZERO; int CDCNT; int ZERO; char *ogcursor; #endif eex_vkey.c4s½¤�)#include "ex.h" #ifdef VISUAL #include "ex_tty.h" #include "ex_vis.h" /* * Ex - a text editor * Bill Joy UCB September 1977 */ char Peekkey; ungetkey(c) char c; { Peekkey = c; } getkey() { register char c; do  c = getbr(); while (c == 0); return (c); } peekbr() { register char c; Peekkey = getbr(); return (Peekkey == 0); } getbr() { char c; if (Peekkey) { c = Peekkey; Peekkey = 0; return (c); } if (vglobp) { if (*vglobp) return (*vglobp++); return (ESCAPE); } flusho(); if (read(0, &c, 1) != 1) error("Input read error"); c =& 0177; return (c); } getesc() { register int c; c = getkey(); switch (c) { case DELETE: case FS: ungetkey(c); case ESCAPE: return (0); } return (c); } peekkey() { Peekkey = getkey(); return (Peekkey); } #endif ex_vmain.c4€½¤‘—=#include "ex.h" #ifdef VISUAL #include "ex_tty.h" #include "ex_vis.h" #include "ex_re.h" /* * Ex - a text editor * Bill Joy UCB September 1977 */ vmain(ic) char *ic; { register int i; i = Vmain(ic); flusho(); return (i); } int delete(), join(), vshift(); char vscandir[3] "/\n"; static char op; Vmain(ic) char *ic; { register int c, cnt, i; char hadcnt, first, *oglobp; extern char Peekkey, *genindent(); int (*OP)(), ind, vmunddot, *addr; extern char *loc1; if (nextic) { ic = nextic; nextic = 0; } first = 1; vnline: if (vundkind != VMANY) vundkind = VNONE; getDOT(); vmunddot = *dot; vmark: if (vmoving) wcursor = vfindcol(vmovcol); else if (first) { wcursor = ic; first = 0; } else wcursor = vskipwh(ic); ic = linebuf; vmove(); for (;;) { TSYNC(); killglob(); if (digit(peekkey()) && peekkey() != '0') { hadcnt = 1; cnt = vgetcnt(); if (cnt <= 0) { beep(); continue; } } else { Xhadcnt = hadcnt = 0; Xcnt = cnt = 1; } vagain: op = c = getkey(); if (HSTR && HSTR[0] == c && HSTR[1] == 0) goto home; if (UPLINE && UPLINE[0] == c && UPLINE[1] == 0) goto upline; switch (c) { case CTRL(z): /* sync */ if (!visual) vsync(LINES - 1); else vredraw(ZERO); vfixcurs(); continue; case CTRL(s): vsave(); synctmp(); continue; case ESCAPE: /* cancel command */ beep(); continue; case '.': /* repeat change */ if (lastcmd[0] == 0) { beep(); continue; } if (hadcnt) lastcnt = cnt; cnt = lastcnt; hadcnt = lasthad; vglobp = lastcmd; goto vagain; #ifdef UNIMP case 'N': vglobp = vscandir[0] == '/' ? "?" : "/"; goto vagain; #endif case 'n': /* next line matching */ vglobp = vscandir; goto vagain; case 'H': /* home cursor */ if (hadcnt) { beep(); continue; } markDOT(); if (vcline == 0) { c = '^'; break; } home: cnt = vcline; case '-': /* back up (to first white) */ vmoving = 0; goto vup; case 'k': /* up line same column */ upline: if (vmoving == 0) { vmoving = 1; vmovcol = column(cursor); } vup: vsave(); if (cnt > dot - one) cnt = dot - one; if (cnt == 0) { beep(); continue; } dot =- cnt; if (cnt > vcline || !visual) { vch = '.'; return (1); } vcline =- cnt; goto vnline; case '\'': c = getesc(); if (c == 0) continue; if (c == '\'') c = 'a' + 26; else if (c != letter(c)) { beep(); continue; } for (addr = one; addr <= dol; addr++) if (names[c-'a'] == (*addr &~ 01)) break; if (addr > dol) { beep(); continue; } markDOT(); gogo: vsave(); vch = -1; getline(*addr); loc1 = vskipwh(linebuf); goto it; case 'G': if (!hadcnt) cnt = dol - zero; if (cnt < 1 || cnt > dol - zero) { beep(); continue; } addr = zero + cnt; markDOT(); goto gogo; case 'K': c = getesc(); if (c == 0) continue; if (c != letter(c)) { beep(); continue; } vsave(); names[c-'a'] = (*dot &~ 01); continue; case 'L': cnt = vcnt - vcline - 1; if (cnt == 0) { c = '^'; break; } markDOT(); goto vdown; case CTRL(d): /* scroll half-screen */ if (hadcnt) vSCROLL = cnt; cnt = vSCROLL; if (visual) { ind = vcnt - vcline - 1; cnt =+ ind; } case '+': /* next line, first non-white */ case CR: vmoving = 0; goto vdown; case 'j': /* down line respecting position */ case NL: if (vmoving == 0) { vmoving = 1; vmovcol = column(cursor); } vdown: if (dot == dol) { beep(); continue; } vsave(); if (cnt > dol - dot) { ind =- cnt - (dol - dot); if (ind < 0) ind = 0; cnt = dol - dot; } i = vcnt - vcline - 1; if (c != CTRL(d) && cnt <= i) { vcline =+ cnt; dot =+ cnt; goto vnline; } cnt =- i; dot =+ i; vcline =+ i; if (c != CTRL(d)) { if (!visual || vfit(cnt, dot) > LINES) { vch = '.'; dot =+ cnt; return (1); } } vroll(cnt); if (c == CTRL(d) && VLINES != LINES) { vcline =- ind; dot =- ind; if (vcline < 0) { dot =- vcline; vcline = 0; } } goto vnline; case 'A': if (hadcnt) { beep(); continue; } ungetkey('a'); xtrey(c); c = '$'; break; case 'I': if (hadcnt) { beep(); continue; } ungetkey('i'); xtrey(c); c = '^'; break; case 'C': if (hadcnt) { beep(); continue; } xtrey(c); setwork(); if (*cursor == 0) { ungetkey('a'); continue; } ungetkey('$'); c = 'c'; break; case 'z': /* context */ case 'v': if (!visual) { if (hadcnt) { beep(); continue; } vsave(); ostop();  setoutt(); inopen = 0; addr2 = dot; zeq(vlast - 1); inopen++; termreset(); Outchar = &vputchar; ostart(); vholdmove = 1; vch = '.'; return (1); } vsave(); c = getesc(); if (c == 0) continue; if (hadcnt) { markDOT(); addr = zero + cnt; if (addr < one) addr = one; if (addr > dol) addr = dol; } else addr = dot; switch (c) { case '.': case '-': break; case '^': if (addr == one) { beep(); continue; } break; case '+': if (addr == dol) { beep(); continue; } c = 0; break; case CR: case NL: vch = 0; break; default: beep(); continue; } vmoving = 0; vch = c; dot = addr; return (1); case 'Y': if (!visual && cnt <= TUBELINES) goto yok; if (cnt > vcnt - vcline) { beep(); continue; } yok: vsave(); vyank(cnt);  continue; } vmoving = 0; setwork(c); switch (c) { case '\\': /* delete line */ if (vglobp == 0) { c = getesc(); if (c == 0) continue; if (c != '\\') { beep(); continue; } } if (cnt > vcnt - vcline) { beep(); continue; } vsave(); setLAST(); c = vliny[vcline]; addr = dot; for (i = 0; i < cnt; i++) vulines[i] = dot[i]; vyank(cnt); vresaddr = dot; vrescnt = cnt; vdelcnt = 0; vundkind = VMANY; vrescurs = cursor; vremote(cnt, delete); velide(cnt, vcline); if (addr > dol) vcline--; if (vcnt == 0) { if (dol == zero) error("No lines in buffer"); if (!visual) { vgoto(c, 0); vputchar('@'); } vch = '.'; return (1); } getDOT(); vscrap(); c = vcline ? vliny[vcline - 1] : ZERO; if (vcline == vcnt) vredraw(c); else vsync(c); goto vmark; case 'J': /* join lines */ if (cnt > TUBELINES || dot == dol || hadcnt && cnt == 1) { beep(); continue; } vsave(); setLAST(); if (cnt == 1) cnt = 2; if (cnt > dol - dot + 1) cnt = dol - dot + 1; vrescnt = cnt; copy(vulines, dot, cnt * sizeof vulines[0]); vdelcnt = 1; vresaddr = dot; vrescurs = cursor; vundkind = VMANY; cursor = strend(linebuf); vremote(cnt, join); vsave(); velide(cnt - 1, vcline + 1); vsyncCL(); if (!*cursor && cursor > linebuf) cursor--; vfixcurs(); continue; #ifdef UNIMP case '<': case '>': if (cnt > vcnt - vcline) { beep(); continue; } vsave(); setLAST(); vrescnt = cnt; copy(vulines, dot, cnt * sizeof vulines[0]); vdelcnt = cnt; vresaddr = dot; vrescurs = cursor; vundkind = VMANY; vremote(cnt, vshift); dot = vresaddr; getDOT(); vsyncCL(); vmoving = 0; goto vmark; #endif case 'S': /* replace lines */ if (cnt > vcnt - vcline) { beep(); continue;  } vsave(); setLAST(); ind = whitecnt(linebuf); c = vliny[vcline]; addr = dot; for (i = 0; i < cnt; i++) vulines[i] = dot[i]; vyank(cnt); vresaddr = dot; vrescnt = cnt; vundkind = VMANY; vremote(cnt, delete); velide(cnt, vcline); vcline--; if (addr <= dol) dot--; *genindent(ind) = 0; vdoappend(genbuf); if (!visual) { holdat = 1; vclrlin(c); holdat = 0; voinit(); } else { vcline++; vopen(dot, c); vsyncCL(); } vrescurs = cursor; vdelcnt = 1; cursor = linebuf; linebuf[0] = 0; vfixcurs(); vappend('o', 1, ind); continue; case 'O': /* open new lines above */ case 'o': /* open new lines below */ vsave(); setLAST(); ind = whitecnt(linebuf); if (c == 'O') { vcline--; dot--; if (dot > zero) getDOT(); } if (!visual) { c = LINES - CA; vup1(); } else { c = vcline < 0 ? ZERO : vliny[vcline] + vdepth();  i = vliny[vcline + 1] - c; if (i < cnt) vopenup(cnt - i); } *genindent(ind) = 0; vdoappend(genbuf); if (!visual) voinit(); else { vcline++; vopen(dot, c); vsyncCL(); } vrescurs = cursor; vresaddr = dot; vrescnt = 0; vdelcnt = 1; vundkind = VMANY; cursor = linebuf; linebuf[0] = 0; vappend('o', 1, ind); continue; case 'a': /* append */ setLAST(); if (*cursor) { vgotoCL(column(cursor)); cursor++;  } vappend(c, cnt, 0); continue; case 'R': case 'i': /* insert */ setLAST(); if (*cursor == '\t') vgotoCL(column(cursor - 1)); oglobp = cursor; vappend(c, cnt, 0); /* cursor = oglobp; vmove(); */ continue; case DELETE: beep(); if (peekkey() != DELETE) continue; case FS: /* quit gets you out like a q */ if (inglobal) onintr(); case 'q': /* quit */ vch = 'q'; vsave(); return (-1); /* case 'U': strcpy(genbuf, linebuf); putmk1(dot, vmunddot); getDOT(); ic = vundcurs(); first = 1; c = vreopen(vliny[vcline], dot - zero); vsync(vliny[vcline] + c); goto vmark; */ case 'P': case 'p': if (vyancnt == 0) { if (DEL[0] == OVERBUF) { beep(); continue; } vglobp = DEL; ungetkey(c == 'p' ? 'a' : 'i'); goto vagain; } setLAST(); addr = dot - vcline; vsave(); if (c == 'P') { dot--; vcline--; c = 'p'; } vdelcnt = vyancnt; vresaddr = dot + 1; vrescurs = 0; copy(vulines, vylines, vyancnt * sizeof vylines[0]); vresCNT = 0; vrescnt = vyancnt; append(vrestore, dot); vrescnt = 0; dot = vresaddr; vundkind = VMANY; goto putem; case 'u': /* undo */ switch (vundkind) { case VMANY: if (vdelcnt > TUBELINES) goto fonfon; vsave(); addr = dot - vcline; if (vrescnt > 0) { vresCNT = 0; append(vrestore, vresaddr - 1); } if (vdelcnt > 0) {  dot = vresaddr + vrescnt; copy(vulines, dot, vdelcnt * sizeof vulines[0]); vremote(vdelcnt, delete); } c = vrescnt; vrescnt = vdelcnt; vdelcnt = c; dot = vresaddr; if (dot > dol) dot--; /* buffer can't be empty */ putem: cnt = dot - addr; if (!visual || cnt < 0 || cnt > vcnt) { vch = '.'; nextic = vrescurs; return (1); } dot--; vcnt = cnt; vcline = cnt - 1; if (vcline >= 0) { getDOT();  vlast = vliny[vcline] + vdepth(); } else vlast = ZERO; vroll(1); vredraw(vliny[vcline]); if (vrescurs) { ic = vrescurs; vrescurs = 0; first = 1; } goto vnline; case VNONE: fonfon: beep(); continue; case VCHNG: strcpy(genbuf, linebuf); strcLIN(vutmp); strcpy(vutmp, genbuf); goto vundoit; default: error("Internal error: vmain undo@- please tell someone"); } /* case 'U': strcpy(genbuf, linebuf);  putmk1(dot, vmunddot); getDOT(); */ vundoit: ic = vundcurs(); first = 1; c = vreopen(vliny[vcline], dot - zero); vsync(vliny[vcline] + c); goto vmark; case '/': case '?': if (hadcnt) { beep(); continue; } splitw++; ic = cursor; vsave(); if (!visual && !CA) vup1(); vgoto(LINES - 1, 0); putchar(c); if (CA) { vclreol(); vgoto(LINES - 1, 1); } cursor = linebuf; linebuf[0] = 0; genbuf[0] = c; OP = Pline; Pline = &normline; c = vcline; i = LINES - 1 - vliny[vcnt]; vliny[vcnt] = LINES - 1; vcline = vcnt; if (peekbr()) { if (!INS[0] || INS[0] == OVERBUF) { Peekkey = DELETE; goto back; } vglobp = INS; } vgetline(0, genbuf + 1, &hadcnt); back: vcline = c; vliny[vcnt] =- i; Pline = OP; splitw = 0; if (genbuf[0] == 0 || Peekkey == DELETE || Peekkey == FS) { if (Peekkey == DELETE) Peekkey = 0; oops: if (!CA) {  nextic = ic; vch = '.'; return (1); } getDOT(); vsetcurs(ic); continue; } /* if (genbuf[0] != '/' && genbuf[0] != '?') error("Search delimiter must be / or ?"); */ if (!vglobp) vscandir[0] = genbuf[0]; oglobp = globp; globp = genbuf + 1; compile(genbuf[0], 1); savere(&scanre); vch = -1; if (globp && *globp) { c = *globp++; if (!visual || c != 'v' && c != 'z') xtra: error("Extra chars|Extra characters after search pattern"); vch = *globp++; switch (vch) { case 0: vch = 0; break; case '^': case '-': case '+': case '.': if (*globp == 0) break; default: goto xtra; } } splitw = 1; globp = oglobp; vgoto(LINES - 1, 0); flusho(); splitw = 0; addr = scanfor(genbuf[0]); if (addr == NIL) { putchar('F'); beep(); vraw(); goto oops; } markDOT(); it: c = vcline + (addr - dot);  if (vch == -1 && CA && c >= 0 && c < vcnt) { ic = loc1; first = 1; vmoving = 0; vcline = c; dot = addr; goto vnline; } if (CA && !visual) vup1(); nextic = loc1; dot = addr; if (vch == -1) vch = '.'; return (1); default: operate(c, cnt); continue; } } } vyank(cnt) int cnt; { DEL[0] = OVERBUF; vyancnt = cnt; copy(vylines, dot, cnt * sizeof vylines[0]); } vgetcnt() { register int c, cnt; cnt = 0; for (;;) { c = getkey(); if (!digit(c)) break; cnt =* 10, cnt =+ c - '0'; } ungetkey(c); Xhadcnt = 1; Xcnt = cnt; return(cnt); } vremote(cnt, f) int cnt, (*f)(); { addr1 = dot; addr2 = dot + cnt - 1; inglobal++; (*f)(0); inglobal--; } vfindcol(i) int i; { register char *cp; qcolumn(linebuf - 1, 0); for (cp = linebuf; *cp && vcntcol < i; cp++) qcount(*cp); if (cp != linebuf) cp--; return (cp); } vsave() { char genbuf[LBSIZE]; strcpy(genbuf, linebuf); getDOT(); if (strcmp(linebuf, genbuf) == 0) return (0); strcLIN(genbuf); putmark(dot); return (1); } vundcurs() { register char *lp, *gp; for (lp = linebuf, gp = genbuf; *lp && *gp && *lp == *gp; lp++, gp++) continue; if (*lp) return (lp); if (*gp) return (lp > linebuf ? lp - 1 : lp); return (vskipwh(linebuf)); } vrestor() { if (vresCNT == vrescnt) return (EOF); getline(vulines[vresCNT]); vresCNT++; return (0); } vsyncCL() { vsync(vliny[vcline]); } getDOT() { getline(*dot); } vshift() { shift(op, 1); } #endif ex_voperate.c4н¤‘?#include "ex.h" #ifdef VISUAL #include "ex_tty.h" #include "ex_vis.h" /* * Ex - a text editor * Bill Joy UCB September 1977 */ #define blank() white(wcursor[0]) int beep(), vmove(), vdelete(), vchange(), vyankit(), vgrabit(); operate(c, cnt) register int c, cnt; { register int i; int (*moveop)(), (*deleteop)(), listchar(); register int (*op)(); extern int (*Putchar)(); char subop; static char lastFKND, lastFCHR; moveop = vmove; deleteop = vdelete; wcursor = cursor; dir = 1; subop = 0; switch (c) { case '@': case CTRL(x): wcursor = linebuf; vdelete('@'); return; case 'd': moveop = vdelete; deleteop = beep; break; case 's': ungetkey(' '); subop++; case 'c': if (c == 'c' && workcmd[0] == 'C') subop++; moveop = vchange; deleteop = beep; break; case 'y': moveop = vyankit; deleteop = beep; break; case 'g': moveop = vgrabit; deleteop = beep; break; case 'r': if (cnt > strlen(cursor)) goto errlab; if (*cursor == '\t' || Putchar == &listchar) vgotoCL(column(cursor - 1)); c = getesc(); if (c == 0) { vfixcurs(); return; } ungetkey(c); strcpy(vutmp, linebuf); vundkind = VCHNG; wcursor = cursor + cnt; setLAST(); strcpy(cursor, wcursor); vappend('r', cnt, 0); *lastcp++ = c; setLAST(); return; default: goto nocount; } if (digit(peekkey()) && peekkey() != '0') { cnt =* vgetcnt(); Xcnt = cnt; if (cnt < 0) { beep(); return; } } c = getesc(); if (c == 0) return; if (!subop) *lastcp++ = c; if (NDSPACE && NDSPACE[0] == c && NDSPACE[1] == 0) goto space; nocount: switch (c) { case CTRL(w): c = 'B'; case 'b': case 'B': dir = -1; case 'W': case 'w': wdkind = c & ' '; op = moveop; if (edge()) goto errlab; while (cnt > 0 && !edge()) { word(op, cnt); cnt--; } break; #ifdef UNIMP case 'E': dir = -1; case 'e': wdkind = 1; op = moveop; if (edge()) goto errlab; while (cnt > 1 && !edge()) { word(op, cnt); cnt--; } eend(op, cnt); break; #endif case '0': wcursor = linebuf; op = moveop; break; case ';': if (lastFKND == 0) { beep(); return; } c = lastFKND; ungetkey(lastFCHR); subop++; goto nocount; case 'F': /* inverted find */ case 'T': dir = -1; case 'f': /* find */ case 't': i = getesc(); if (i == 0) return; if (!subop) *lastcp++ = i; lastFKND = c; lastFCHR = i; while (cnt > 0) {  if (find(i) == 0) goto errlab; cnt--; } switch (c) { case 'T': wcursor++; break; case 't': wcursor--; case 'f': fixup: if (moveop != vmove) wcursor++; break; } op = moveop; break; case '|': if (Xhadcnt) { if (Pline == &numbline) cnt =+ 8; vmovcol = cnt; } vmoving = 1; wcursor = vfindcol(cnt); op = moveop; break; case '^': wcursor = vskipwh(linebuf); op = moveop; break; case '$': wcursor = strend(linebuf) - 1; goto fixup; case 'h': case CTRL(h): dir = -1; case ' ': space: case 'l': op = moveop; if (margin() || op == &vmove && edge()) goto errlab; moveit: while (cnt > 0 && !margin()) { wcursor =+ dir; cnt--; } if (margin() && op == &vmove || wcursor < linebuf) wcursor =- dir; break; case 'D': cnt = INF; goto deleteit; case 'X': /* inverted delete */ case '#': /* "oex" delete */ dir = -1; deleteit: case 'x': /* delete */ if (margin()) goto errlab; while (cnt > 0 && !margin()) { wcursor =+ dir; cnt--; } op = deleteop; break; default: errlab: beep(); return; } (*op)(c); } find(c) char c; { for(;;) { if (edge()) return (0); wcursor =+ dir; if (*wcursor == c) return (1); } } word(op, cnt) register int (*op)(); int cnt; { register int which; register char *iwc; if (dir == 1) { iwc = wcursor; /* * Word going forward. * Determine whether the character under * the cursor is a "word" character. * If it is, skip through such * else through nonesuch. */ which = wordch(wcursor); while (!margin() && wordof(which, wcursor)) wcursor++; /* * Unless this the last segment of a change * we want to skip blanks. */ if (op != vchange || cnt > 1) while (!margin() && blank()) wcursor++; else if (wcursor == iwc && *iwc) wcursor++; /* * Can't move off end */ if (op == vmove && margin()) wcursor--; } else { /* * Word going backwards. * First skip through blanks, then through word * or non-word characters. */ wcursor--; while (!margin() && blank()) wcursor--; if (!margin()) { which = wordch(wcursor); while (!margin() && wordof(which, wcursor)) wcursor--; } if (margin() || !wordof(which, wcursor)) wcursor++; } } #ifdef UNIMP eend(op, cnt) register int (*op)(); int cnt; { register int which; register char *iwc; if (dir == 1) { if (!margin()) wcursor++; while (!margin() && blank())  wcursor++; which = wordch(wcursor); while (!margin() && wordof(which, wcursor)) wcursor++; if (cnt == 1 && op != &vchange && op != &vdelete) wcursor--; } else { if (!blank()) { which = wordch(wcursor); while (!margin() && wordof(which, wcursor)) wcursor--; } while (!margin() && blank()) wcursor--; if (margin()) wcursor++; } } #endif wordof(which, wcursor) char which, *wcursor; { if (white(*wcursor)) return (0); return (!wdkind || wordch(wcursor) == which); }  wordch(wcursor) char *wcursor; { register int c; c = wcursor[0]; return (letter(c) || digit(c) || c == '_'); } edge() { if (linebuf[0] == 0) return (1); if (dir == 1) return (wcursor[1] == 0); else return (wcursor == linebuf); } margin() { return (wcursor < linebuf || wcursor[0] == 0); } beep() { vputc('\07'); } #endif iex_vops.c4”½¤‘-#include "ex.h" #ifdef VISUAL #include "ex_tty.h" #include "ex_vis.h" /* * Ex - a text editor * Bill Joy UCB September 1977 */ vdelete(c)  char c; { register char *cp; register int i; if (c == '#') cursor++, wcursor++; if (wcursor < linebuf) wcursor = linebuf; if (cursor == wcursor) { beep(); return; } vdcMID(); setDEL(); cp = cursor; strcpy(cp, wcursor); if (cp > linebuf && (cp[0] == 0 || c == '#')) cp--; i = vliny[vcline]; i =+ vreopen(i, dot - zero); while (i < vliny[vcline + 1]) { vclrlin(i, dot + 1); i++; } vsetcurs(cp); } vdcMID() { register char *cp; setLAST(); vundkind = VCHNG; strcpy(vutmp, linebuf); if (wcursor < cursor) { cp = wcursor; wcursor = cursor; cursor = cp; } } vgrabit() { takeout(INS); } vyankit() { takeout(DEL); } takeout(BUF) char *BUF; { register char *cp; if (wcursor < linebuf) wcursor = linebuf; if (cursor == wcursor) { beep(); return; } if (wcursor < cursor) { cp = wcursor; wcursor = cursor; cursor = cp; } setBUF(BUF); if (BUF[0] == OVERBUF) beep(); } vchange() { register char *cp; register int i; if (wcursor < linebuf) wcursor = linebuf; if (cursor == wcursor) { beep(); return; } vdcMID(); vfixcurs(); cp = cursor; vsetcurs(wcursor - 1); putchar('$'); cursor = cp; setDEL(); strcpy(cursor, wcursor); if (*cursor == 0) vgotoCL(column(cursor)); else if (*cursor == '\t') vgotoCL(column(cursor - 1)); else vfixcurs(); vappend('c', 1, 0); } char vaifirst; vappend(ch, cnt, indent) char ch; int cnt, indent; { register int i; register char *gcursor; char escape, *ic; int repcnt; if (!visual && !CA) vsave(); vaifirst = indent == 0; if (ch == 'r') repcnt = 2; else repcnt = 0; ic = cursor; switch (ch) { case 'c': case 'r': case 'o': /* roll your own */ break; default: vundkind = VCHNG; strcpy(vutmp, linebuf); break; } if (value(AUTOINDENT) && indent != 0) { gcursor = genindent(indent); *gcursor = 0; vgotoCL(qcolumn(cursor - 1, genbuf)); } else { gcursor = genbuf; *gcursor = 0; if (ch == 'o') vfixcurs(); } if ((vglobp && *vglobp == 0) || peekbr()) { if (!INS[0] || INS[0] == OVERBUF) { beep(); return; } vglobp = INS; } else if (vglobp == 0) INS[0] = 0; /* * At the beginning of the following loop which gathers appended * lines, gcursor points to the beginning of the place for the * appended text. Linebuf contains the line in which the operation * is taking place, the appended text is placed starting at the * position indicated by cursor. */ for (;;) { /* * Get a line into genbuf. Gcursor indicates that we * have possibly generated some input (e.g. autoindent). * If the line is terminated with a newline character * then escape will be set to the newline. The repcnt * limits the number of characters appended, e.g. it is * 2 to get exactly one character (i.e. for a replace) * or 0 to get an arbitrary number of characters. */ if (ch == 'r' && repcnt == 0) escape = 0; else { gcursor = vgetline(repcnt, gcursor, &escape); #ifdef UNIMP if (HADUP) addtext(HADZERO ? "0" : "^"); while (CDCNT > 0) { addtext("\04"); CDCNT--; } #endif addtext(ogcursor); } repcnt = 0; if (!vaifirst && value(AUTOINDENT)) { /* * Fix up the autoindent. Fixindent gathers white * space from the beginning of the line and turns * it into tabs and spaces as appropriate. * We reset the cursor to be the end of the line * as it was when it was returned from vgetline. */ i = fixindent(indent); if (!hadup) indent = i; gcursor = strend(genbuf); } /* * Have to cut down the count if the specified count * would make a line which is too long. */ cnt = vmaxrep(ch, cnt); /* * We save the rest of the line after the end of the * appended material (at gcursor + 1). * This frees up linebuf for use in saving lines, etc. */ strcpy(gcursor + 1, cursor); /* * Catenate cnt copies of the inserted text after * the material which precedes this insert. */ do { strcpy(cursor, genbuf); cursor =+ gcursor - genbuf; } while (--cnt > 0); /* * If the insert didnt terminate with a new line character * then we want to put the whole line back together. */ if (escape != '\n') strcpy(cursor, gcursor + 1); /* * Clean up the line image on the screen. * I is the first line after this lines image for use * in making a new next line. */ i = vreopen(vliny[vcline], dot - zero); if (escape != '\n') break; addtext("\n"); vsave(); if (vundkind != VMANY) { vundkind = VMANY; vrescurs = ic; strcLIN(vutmp); vulines[0] = putline(); vrescnt = 1; vdelcnt = 1; vresaddr = dot; getDOT(); } vdelcnt++; cnt = 1; /* * We wish to place the text we are "pushing ahead" * in front of the append in linebuf, cursor pointing * to the beginning of linebuf. We also wish to leave * in genbuf the white space implied by an autoindent * or if not ai then just start the new line at the * beginning of genbuf. */ if (value(AUTOINDENT)) { if (!hadup && vaifirst) indent = whitecnt(linebuf); vaifirst = 0;  /* * If we are generating an indent, then we * don't want the white space of the pushed ahead * line, preferring to generate our own. Discard * the white space of the pushed ahead material * and copy the remainder back to linebuf. */ strcLIN(vpastwh(gcursor + 1)); /* * Generate indent white space and leave the * cursor pointing just after it. * Note that genindent doesn't make the generated * white space into a string so we must do that * ourselves. */ gcursor = genindent(indent); *gcursor = 0; /* * If the line is too long when the generated white * space is added, then just pretend ai isn't set. */ if (gcursor + strlen(linebuf) > &genbuf[510]) gcursor = genbuf; /* * Paste the first image of the line together. */ strcpy(gcursor, linebuf); } else { /* * Without ai the first image of the new line * is just the pushed ahead material, and there * are no pre-inserted characters. */ strcpy(genbuf, gcursor + 1); gcursor = genbuf; } /* * Make a new line after dot with the material in genbuf. * Note that this call increments dot as a side effect, * so that dot now references the new line. */ vdoappend(genbuf); /* * Now open up the new line on the screen after * the current line */ vcline++; if (!visual) { vup1(); voinit(); } else { i =+ vliny[vcline - 1]; vopen(dot, i); } /* * Put the stuff we are pushing into linebuf * and set the cursor to indicate that no stuff * will preceded the inserted material on the new line. */ strcLIN(gcursor); *gcursor = 0; cursor = linebuf; vgotoCL(qcolumn(cursor - 1, genbuf)); } /* * We ended an append with a non-newline. * At this point the new image of the line is in linebuf * and the cursor points at the desired cursor position. * We have already shown this line, but must clean up the * remainder of the screen. Note that the cursor should * also be set to the last character appended, so * it needs to be backed up if there was such a character. */ if (cursor > linebuf) cursor--; vfixopen(i); vfixcurs(); } #endif genindent(indent) register int indent; { register char *cp; for (cp = genbuf; indent >= 8; indent =- 8) *cp++ = '\t'; for (; indent > 0; indent--) *cp++ = ' '; return (cp); } #ifdef VISUAL fixindent(indent) int indent; { register int i; register char *cp; i = whitecnt(genbuf); cp = vpastwh(genbuf); if (*cp == 0 && i == indent && linebuf[0] == 0) { genbuf[0] = 0; return (i); } strcpy(genindent(i), cp); return (i); } #endif vpastwh(cp) register char *cp; { while (white(*cp)) cp++; return (cp); } whitecnt(cp) register char *cp; { register int i; i = 0; for (;;) switch (*cp++) { case '\t': i =+ 8; i =& ~7; break; case ' ': i++; break; default: return (i); } } #ifdef VISUAL vgetline(cnt, gcursor, aescaped) int cnt; register char *gcursor; char *aescaped; { register int c; register char *cp; int x, y, iwhite; char *iglobp, ch; *aescaped = 0; ogcursor = gcursor; flusho(); #ifdef UNIMP CDCNT = 0; HADUP = 0; HADZERO = 0; #endif hadup = 0; iwhite = whitecnt(genbuf); iglobp = vglobp; for (;;) { if (cnt != 0) { cnt--; if (cnt == 0) goto vadone; } ch = c = getkey(); switch (c) { case DELETE: /* interrupt */ case FS: /* quit */ ungetkey(c); goto vadone; case CTRL(d): case CTRL(t): *gcursor = 0; cp = vpastwh(genbuf); c = whitecnt(genbuf);  if (ch == CTRL(t)) { if (cp != gcursor) continue; cp = genindent(iwhite = backtab(c + value(SHIFTWIDTH) + 1)); ogcursor = cp; goto vbackup; } #ifdef UNIMP if (c == iwhite && c != 0) if (cp == gcursor) { iwhite = backtab(c); CDCNT++; ogcursor = cp = genindent(iwhite); goto vbackup; } else if (cp + 1 == gcursor && (*cp == '^' || *cp == '0')) { hadup = *cp == '^'; ogcursor = cp = genbuf; HADUP = 1; CDCNT = 1;  goto vbackup; } if (vglobp && vglobp - iglobp >= 2 && (vglobp[-2] == '^' || vglobp[-2] == '0') && gcursor == ogcursor + 1) goto bakchar; #endif continue; case CTRL(h): /* back character */ bakchar: cp = gcursor - 1; if (cp < ogcursor) { beep(); continue; } goto vbackup; case CTRL(w): /* back word */ wdkind = 0; for (cp = gcursor; cp > ogcursor && white(cp[-1]); cp--) continue; for (c = wordch(cp - 1); cp > ogcursor && wordof(c, cp - 1); cp--) continue; goto vbackup; case '@': case CTRL(x): cp = ogcursor; vbackup: if (cp == gcursor) { beep(); continue; } while (gcursor < cp) putchar(*gcursor++); *cp = 0; vgotoCL(qcolumn(cursor - 1, genbuf)); gcursor = cp; continue; case CR: c = '\n'; case NL: *aescaped = c; goto vadone; case ESCAPE: goto vadone; case '\\': x = destcol; y = destline; putchar('\\'); vcsync();  c = getkey(); switch (c) { case DELETE: case FS: case CTRL(d): case CTRL(h): case CTRL(t): case CTRL(w): case '@': case CTRL(x): vgoto(y, x); break; default: ungetkey(c); c = '\\'; goto noput; } default: putchar(c); noput: if (gcursor > &genbuf[510]) error("Line too long"); *gcursor++ = c; vcsync(); continue; } } vadone: *gcursor = 0; return (gcursor); } int vgetsplit(); char *vsplitpt; vdoappend(lp) char *lp; { vsplitpt = lp; inglobal++; append(vgetsplit, dot); inglobal--; } vgetsplit() { if (vsplitpt == 0) return (EOF); strcLIN(vsplitpt); vsplitpt = 0; return(0); } vmaxrep(ch, cnt) char ch; register int cnt; { register int len, replen; if (cnt > 510) cnt = 510; replen = strlen(genbuf); if (ch == 'R') { len = strlen(cursor); strcpy(cursor, cursor + (replen > len ? len : replen)); } len = strlen(linebuf); if (len + cnt * replen <= 510) return (cnt); cnt = (510 - len) / replen; if (cnt == 0) { vsave(); error("Line too long"); } return (cnt); } vmove() { vsetcurs(wcursor); } #endif tex_vset.c4»Ò¤�ß#include "ex.h" #ifdef VISUAL #include "ex_vis.h" /* * Ex - a text editor * Bill Joy UCB * Version 1.1 November, 1977 */ setLAST() { if (vglobp) return; lasthad = Xhadcnt; lastcnt = Xcnt; *lastcp = 0; strcpy(lastcmd, workcmd); } char xtree, hadx; setwork(c) char c; { if (vglobp) { if (hadx) hadx--; return; } lastcp = workcmd; if (hadx && --hadx == 0) c = xtree; *lastcp++ = c; } xtrey(c) char c; { hadx = 2; xtree = c; } killglob() { if (hadx) return; vglobp = 0; } addtext(cp) char *cp; { if (vglobp) return; addto(INS, cp); if (INS[0] == OVERBUF) lastcmd[0] = 0; } setDEL() { setBUF(DEL); } setBUF(BUF) char *BUF; { char c; c = *wcursor; *wcursor = 0; BUF[0] = 0; addto(BUF, cursor); *wcursor = c; if (BUF == DEL) vyancnt = 0; } addto(buf, str) register char *buf, *str; { if (buf[0] == OVERBUF) return; if (strlen(buf) + strlen(str) + 1 >= BUFSIZE) { buf[0] = OVERBUF; return; } strcat(buf, str); } #endif (exa.c4±W¤�Ž#include "ex.h" /* * Ex - a text editor * Bill Joy UCB June 1977 */ extern getsub(); extern gettty(); append(f, a) int (*f)(); { register int *a1, *a2, *rdot; int nline; struct { int integer; }; nline = 0; dot = a; if (!inglobal && !inopen && f != getsub) { undap1 = undap2 = dot + 1; undkind = UNDCHANGE; } while ((*f)() == 0) { if (unddol >= endcore) { if (sbrk(1024) == -1) { if (!inglobal && f == getsub) { undap1 = addr1; undap2 = addr2 + 1; } error("Out of memory@- too many lines in file"); } endcore.integer =+ 1024; } nline++; a1 = unddol + 1; a2 = a1 + 1; dot++; undap2++; dol++; unddol++; for (rdot = dot; a1 > rdot;) *--a2 = *--a1; *rdot = 0; putmark(rdot); if (f == &gettty) { dirtcnt++; TSYNC(); } } return (nline); } appendnone() { if (!inglobal) { undkind = UNDCHANGE; undap1 = undap2 = addr1; } } exd.c4±W¤�P#include "ex.h" /* * Ex - a text editor * Bill Joy UCB June 1977 */ delete() { nonzero(); change(); if (!inglobal && !inopen) deletem(); else deleted(); killed(); } deleted() { register int *a1, *a2, *a3; a1 = addr1; a2 = addr2 + 1; a3 = unddol; unddol =- a2 - a1; undap2 =- a2 - a1; dol =- a2 - a1; do *a1++ = *a2++; while (a2 <= a3); a1 = addr1; if (a1 > dol) a1 = dol; dot = a1; } deletem() { register int *a1, *a2, ra; int dsavint; dsavint = signal(INTR, 1); undkind = UNDCHANGE; a1 = addr1; unddol = dol; a2 = addr2; if (a2++ != dol) { reverse(a1, a2); reverse(a2, dol + 1); reverse(a1, dol + 1); } dol =- a2 - a1; unddel = a1 - 1; if (a1 > dol) a1 = dol; dot = a1; signal(INTR, dsavint); } deletenone() { if (!inglobal) { undkind = UNDCHANGE; unddol = dol; unddel = addr1; } } exg.c4ÀW¤�b#include "ex.h" #include "ex_re.h" /* * Ex - a text editor * Bill Joy UCB June 1977 * * Should get a < n square algorithm here. */ #define GBSIZE 256 global(k) int k; { register char *gp; register c; register int *a1; char globuf[GBSIZE], *Cwas; int i; i = dol - zero; Cwas = Command; if (inglobal) error("Global within global@not allowed"); markDOT(); setall(); nonzero(); skipwh(); c = getchar(); if (endcmd(c)) error("Global needs re|Missing regular expression for global"); compile(c, 0); savere(&scanre); gp = globuf; while ((c = getchar()) != '\n') { switch (c) { case EOF: error("EOF reading global"); case '\\': c = getchar(); switch (c) { case '\\': ungetchar(c); break; case '\n': break; default: *gp++ = '\\'; break; } break; } *gp++ = c; if (gp >= &globuf[GBSIZE - 2]) error("Global command too long@- limit 254 characters"); } ungetchar(c); newline(); *gp++ = c; *gp++ = 0; inglobal = 1; for (a1 = one; a1 <= dol; a1++) { *a1 =& ~01; if (a1 >= addr1 && a1 <= addr2 && execute(0, a1) == k) *a1 =| 01; } saveall(); for (a1 = one; a1 <= dol; a1++) { if (*a1 & 01) { *a1 =& ~01; dot = a1; globp = globuf; commands(1, 1); a1 = zero; } } inglobal = 0; endline = 1; Command = Cwas; netchHAD(i); setlastchar(EOF); } save(a1, a2) int *a1; register int *a2; { register int *addr, *dest; struct { int integer; }; undkind = UNDNONE; undadot = dot; for (dest = dol + 1, addr = a1; addr <= a2; *dest++ = *addr++) if (dest >= endcore) { if (sbrk(1024) == -1) error("Out of memory@saving lines for undo - try using ed or re)"); endcore.integer =+ 1024; } undkind = UNDALL; unddel = a1 - 1; undap1 = a1; undap2 = a2 + 1; unddol = dest - 1; } save12() { save(addr1, addr2); } saveall() { save(one, dol); } exh.c4ÀW¤�ˆ#include "ex.h" /* * Ex - a text editor * Bill Joy UCB June 1977 */ extern char *erpath, pfast; helpinit() { erfile = open(erpath, 0); if (erfile < 0) flush(); else pstop(); } error(str, i1, i2, i3) register char *str; { register c; seek(erfile, str, 0); str = linebuf; if (read(erfile, str, 128) < 2) str = "ERROR"; if (pfast) pfast = 1; flush(); resetflav(); if (laste) { laste = 0; sync(); } dingdong(); if (inopen) { termreset(); putnl(); } inopen = 0; inconf = 0; lprintf(mesg(str), i1, i2, i3); putNFL(); if (die) exit(1); undiddle(); seek(0, 0, 2); if (inglobal) setlastchar('\n'); inglobal = 0; globp = 0; while (lastchar() != '\n' && lastchar() != EOF) c = getchar(); ungetchar(0); endline = 1; if (io > 0) { close(io); io = -1; } reset(); } dingdong() { if (value(ERRBELLS)) printf("\207\207"); } /* * Mesg decodes the terse/verbose strings. Thus * 'xxx@yyy' -> 'xxx' if terse, else 'xxx yyy' * 'xxx|yyy' -> 'xxx' if terse, else 'yyy' * All others map to themselves. */ mesg(str) register char *str; { register char *cp; str = strcpy(genbuf, str); for (cp = str; *cp; cp++) switch (*cp) { case '@': if (value(TERSE)) *cp = 0; else *cp = ' '; break; case '|': if (value(TERSE) == 0) return (cp + 1); *cp = 0; break; } return (str); } normal() { if (normtty) { gTTY(1); tty[2] = normf; sTTY(1); } normtty = 0; } helpthem() { register char *cp, *icp; char buff[513]; register int buffcnt; strcpy(buff, "/usr/lib/how_ex/"); icp = strend(buff); skipwh(); if (endcmd(peekchar())) strcat(buff, "help"); else { cp = icp; while (!white(peekchar()) && !endcmd(peekchar())) *cp++ = getchar(); *cp++ = 0; skipwh(); if (!endcmd(peekchar())) error("Help takes one keyword only as argument@- \"help index\" gives a list of keywords"); } eol(); io = open(buff, 0); if (io < 0) error("Don't know anything about %s@- \"help index\" gives a list of known subjects", icp); setnorm(); for(;;) { buffcnt = read(io, buff, 512); if (buffcnt <= 0) break; buff[buffcnt] = 0; printf("%s", buff); } flush(); } exj.c4ÁW¤�å#include "ex.h" /* * Ex - a text editor * Bill Joy UCB June/August 1977 */ STATIC int jcount, jnoop(); join(c) char c; { register *a1; register char *cp, *cp1; cp = genbuf; *cp = 0; for (a1 = addr1; a1 <= addr2; a1++) { getline(*a1); cp1 = linebuf; if (a1 != addr1 && c == 0) { while (*cp1 == ' ' || *cp1 == '\t') cp1++; if (*cp1 && cp > genbuf && cp[-1] != ' ' && cp[-1] != '\t') *cp++ = ' '; } while (*cp++ = *cp1++) if (cp > &genbuf[LBSIZE-2]) error("Line overflow|Result line of join would be longer than 510 characters"); cp--; } cp = genbuf; cp1 = linebuf; while (*cp1++ = *cp++) continue; delete(); jcount = 1; append(jnoop, --addr1); } STATIC int jnoop() { return(--jcount); } exm.c4ÁW¤�þ#include "ex.h" /* * Ex - a text editor * Bill Joy UCB June/August 1977 */ int getcopy(); move() { register int *adt; if (Command[0] == 'M') { setdot1(); markpr(addr2 == dot ? addr1 - 1 : addr2 + 1); } else setdot(); nonzero(); adt = address(); if (adt == 0) error("%s where?|%s requires a trailing address", Command); newline(); move1(Command[0] != 'M', adt); killed(); } int *tad1; move1(cflag, addrt) char cflag; int *addrt; { register int *adt, *ad1, *ad2; int lines; adt = addrt; lines = (addr2 - addr1) + 1; if (cflag) { tad1 = addr1; ad1 = dol; append(getcopy, ad1++); ad2 = dol; } else { ad2 = addr2; for (ad1 = addr1; ad1 <= ad2;) *ad1++ =& ~01; ad1 = addr1; } ad2++; if (adt < ad1) { if (adt + 1 == ad1 && !cflag) error("That move would do nothing!"); dot = adt + (ad2 - ad1); if (++adt != ad1) { reverse(adt, ad1); reverse(ad1, ad2); reverse(adt, ad2); } } else if (adt >= ad2) { dot = adt++; reverse(ad1, ad2); reverse(ad2, adt); reverse(ad1, adt); } else error("Move to a moved line"); change(); if (!inglobal) if (cflag) { undap1 = addrt + 1; undap2 = undap1 + lines; deletenone(); } else { undkind = UNDMOVE; undap1 = addr1; undap2 = addr2; unddel = addrt; unddol = dol; } } reverse(a1, a2) register int *a1, *a2; { register int t; for (;;) { t = *--a2; if (a2 <= a1) return; *a2 = *a1; *a1++ = t; } } getcopy() { if (tad1 > addr2) return (EOF); getline(*tad1++); return (0); } getPUT() { if (tad1 > unddol) return (EOF); getline(*tad1++); tad1++; return (0); } yank() { save12(); undkind = UNDNONE; killed(); } PUT() { register int cnt; cnt = unddol - dol; tad1 = dol + 1; append(getPUT, addr2); netchange(cnt); } exo.c4D\¤�$#include "ex.h" #include "ex_re.h" #include "ex_vis.h" #include "ex_tty.h" /* * Ex - a text editor * Bill Joy UCB June 1977 */ oop() { #ifndef VISUAL error("No open in this version"); } #endif #ifdef VISUAL char *ic, atube[TUBESIZE + LBSIZE]; int lines; if (!value(OPEN)) error("Can't open unless open option is set"); if (OS) error("Can't open on a terminal which overstrikes (yet)"); VCOLUMNS = COLUMNS; if (!CA && AM) VCOLUMNS--; visual = 0; setdot(); nonzero(); skipwh(); if (!inglobal) saveall(); lines = dol - zero; if (peekchar() == '/') { compile(getchar(), 1); savere(&scanre); if (execute(0, addr1) == 0) error("Fail|Pattern not found on addressed line"); ic = loc1; if (ic > linebuf && *ic == 0) ic--; } else { getline(*addr1); ic = vskipwh(linebuf); } newline(); VLINES = LINES; vok(atube); Outchar = &vputchar; ostart(); vch = 0; if (CA) { if (outcol == -20) outcol = 0; vup1(); } else if (!UPLINE) outline = destline = LINES - 1; vholdmove = 1; dot = addr1; for (;;) { if (!vholdmove) vup1(); vholdmove = 0; voinit(); if (vmain(ic) == -1 || vch != '.') break; getDOT(); ic = vskipwh(linebuf); } ostop(); inopen = 0; if (!CA) vup1(); flusho(); setlastchar('\n'); setoutt(); netchHAD(lines); } vskipwh(cp) register char *cp; { while (white(*cp) && cp[1]) cp++; return (cp); } voinit() { register int i; vcnt = 0; vcline = 0; i = LINES - 1; vclrbyte(vtube[i], VCOLUMNS); if (CA) { i--; vclrbyte(vtube[i], VCOLUMNS); } vopen(dot, i); } #endif exr.c4ÂW¤�Â#include "ex.h" #include "ex_io.h" /* * Ex - a text editor * Bill Joy UCB June 1977 */ rop(c) char c; { register int i; struct stb stbuf; int magic; io = open(file, 0); if (io < 0) { if (c == 'e' & errno == ENOENT) value(EDITED)++; ioerror(); } if (value(EDITANY) == 0) { if (fstat(io, &stbuf)) ioerror(); switch (stbuf.flags & FILETYP) { case FBLSPEC: error(" Block special file"); case FCHSPEC: if (gTTY(io) == 0) error(" Teletype"); if (stbuf.dmajor == DVNLMAJ && stbuf.dminor == DVNLMIN) break; error(" Character special file"); case FDIRECT: error(" Directory"); case FPLAIN: i = read(io, &magic, 2); seek(io, 0, 0); if (i != 2) break; switch (magic) { case 0404: error(" Pascal object"); case 0405: error(" Overlay executable"); case 0407: error(" Executable"); case 0410: error(" Pure executbable"); case 0411: error(" Separate executable"); case 0177545: error(" Archive"); case 0177555: error(" Old archive"); default: if (magic & 0100200) error(" Non-ascii file"); break; } } } if (c == 'r') setdot(); else setall(); rop2(); rop3(c); } rop2() { deletenone(); clrstats(); append(getfile, addr2); } rop3(c) char c; { if (iostats() == 0) if (c == 'e') value(EDITED)++; if (c == 'e') undkind = UNDNONE; if (laste) { laste = 0; sync(); } } exs.c4ÃW¤‘ú#include "ex.h" #include "ex_re.h" /* * Ex - a text editor * Bill Joy UCB June 1977 */ STATIC char xflag; STATIC char gflag; STATIC int scount, slines, stotal; substitute(c) char c; { register int *addr, n, *markp; char gsubf; gsubf = compsub(c, 0); if (!inglobal) save12(), undkind = UNDCHANGE; stotal = 0; slines = 0; for (addr = addr1; addr <= addr2; addr++) { scount = 0; if (dosubcon(0, addr) == 0) continue; if (gsubf) while (*loc2) if (dosubcon(1, addr) == 0) break;  if (scount) { stotal =+ scount; slines++; putmark(addr); n = append(getsub, addr); addr =+ n; addr2 =+ n; } } if (stotal == 0 && !inglobal && !xflag) error("Fail|Substitute pattern match failed"); snote(stotal, slines); return (stotal); } compsub(ch) { register seof, c; register char *p; int gsubf; gsubf = 0; xflag = 0; switch (ch) { case 's': skipwh(); seof = getchar(); if (endcmd(seof)) error("Substitute needs re|Missing regular expression for substitute"); seof = compile(seof, 0); savere(&subre); comprhs(seof); break; case '&': if (subre.sexpbuf[0] == 0) error("No previous substitute re|No previous substitute to repeat"); resre(&subre); break; case '~': if (re.sexpbuf[0] == 0) error("No previous re|No previous regular expression"); savere(&subre); break; } for (;;) { c = getchar(); switch (c) { case 'g': gsubf++; continue; case 'c': xflag++; continue; default: ungetchar(c); setcount(); newline(); return (gsubf); } } } comprhs(seof) char seof; { register char *rp, *orp; register c; char orhsbuf[LBSIZE / 2]; rp = rhsbuf; strcpy(orhsbuf, rp); for (;;) { c = getchar(); if (c == seof) break; switch (c) { case '\\': c = getchar(); if (value(MAGIC)) { /* * When "magic", \& turns into a plain &, * and all other chars work fine quoted. */ if (c != '&') c =| QUOTE; break; } /* * When "nomagic", \~ forces rhs, \& forces a * quoted & like & normally does, and all others * force themselves quoted. */ magic: switch (c) { case '~': for (orp = orhsbuf; *orp; *rp++ = *orp++) if (rp >= &rhsbuf[LBSIZE / 2 + 1]) goto toobig; continue; /* case '&': */ default: c =| QUOTE; break; } break; case '\n': case EOF: ungetchar(c); goto endrhs; case '~': case '&': if (value(MAGIC)) goto magic; break; } if (rp >= &rhsbuf[LBSIZE / 2 - 1]) toobig: error("Replacement pattern too long@- limit 256 characters"); *rp++ = c; } endrhs: *rp++ = 0; } getsub() { register char *p; if ((p = linebp) == 0) return (EOF); strcLIN(p); linebp = 0; return (0); } dosubcon(f, a) int f, *a; { if (execute(f, a) == 0) return (0); if (confirmed(a)) { dosub(); scount++; } return (1); } confirmed(a) int *a; { register c, ch; if (xflag == 0) return (1); inconf++; /* suppress iul */ pline(a - zero); putNFL(); c = column(loc1 - 1);  ugo(c, ' '); ugo(column(loc2 - 1) - c, '^'); flush(); inconf = 0; c = ch = getch(); while (c != '\n' && c != EOF) c = getch(); noteinp(); return (ch == 'y'); } getch() { char c; if (read(0, &c, 1) != 1) return (EOF); return (c & 0177); } ugo(cnt, with) char with; int cnt; { if (cnt > 0) do putchar(with); while (--cnt > 0); } int casecnt; int destcase; dosub() { register char *lp, *sp, *rp; int c; lp = linebuf; sp = genbuf; rp = rhsbuf; while (lp < loc1) *sp++ = *lp++; casecnt = 0; while (c = *rp++) { if ((c & QUOTE)) switch (c & 0177) { case '&': sp = place(sp, loc1, loc2); if (sp == 0) goto ovflo; continue; case 'l': casecnt = 1; destcase = 0; continue; case 'L': casecnt = 1000; destcase = 0; continue; case 'u': casecnt = 1; destcase = 1; continue; case 'U': casecnt = 1000; destcase = 1; continue; case 'E': case 'e': casecnt = 0; continue; }  if (c < 0 && (c =& 0177) >= '1' && c < nbra + '1') { sp = place(sp, braslist[c - '1'], braelist[c - '1']); if (sp == 0) goto ovflo; continue; } if (casecnt) *sp++ = fixcase(c & 0177); else *sp++ = c & 0177; if (sp >= &genbuf[LBSIZE]) ovflo: error("Line overflow@in substitute - limit 512 chars"); } lp = loc2; loc2 = sp + linebuf - genbuf; while (*sp++ = *lp++) if (sp >= &genbuf[LBSIZE]) goto ovflo; strcLIN(genbuf); } fixcase(c) register char c; { if (casecnt == 0 || !letter(c)) return (c); casecnt--; if (destcase) c =& ~' '; else c =| ' '; return (c); } place(sp, l1, l2) register char *sp, *l1, *l2; { while (l1 < l2) { *sp++ = fixcase(*l1++); if (sp >= &genbuf[LBSIZE]) return (0); } return (sp); } putmark(addr) int *addr; { putmk1(addr, putline()); } putmk1(addr, n) register int *addr; int n; { register int *markp; *addr =& ~1; for (markp = names; markp < &names[27]; markp++) if (*markp == *addr) *markp = n; *addr = n; } exu.c4ÃW¤�[ #include "ex.h" /* * Ex - a text editor * Bill Joy UCB June/September 1977 * * Pointers for lines deleted by the last buffer editing * command are salted away between dol and unddol. Unddel * marks the line which was before this group prior to the last * command. If undap1 != undap2 then the lines from undap1 * to undap2-1 were appended by the last command. */ undo(c) char c; { register int i, *jp, *kp; int *dolp1, *newdol, *newadot; if (inglobal) error("Can't undo in global@commands"); if (!c) somechange(); change(); if (undkind == UNDMOVE) { /* * Command to be undone is a move command. * This is handled as a special case by noting that * a move "a,b m c" can be inverted by another move. */ if ((i = (jp = unddel) - undap2) > 0) { /* * when c > b inverse is a+(c-b),c m a-1 */ addr2 = jp; addr1 = (jp = undap1) + i; unddel = jp-1; } else { /* * when b > c inverse is c+1,c+1+(b-a) m b */ addr1 = ++jp; addr2 = jp + ((unddel = undap2) - undap1); } kp = undap1; move1(0, unddel); dot = kp; Command = "move"; killed(); } else { int cnt; newadot = dot; cnt = dol - zero; newdol = dol; dolp1 = dol + 1; /* * Command to be undone is a non-move. * All such commands are treated as a combination of * a delete command and a append command. * We first move the lines appended by the last command * from undap1 to undap2-1 so that they are just before the * saved deleted lines. */ if ((i = (kp = undap2) - (jp = undap1)) > 0) { reverse(jp, kp); reverse(kp, dolp1); reverse(jp, dolp1); /* * Account for possible backward motion of target * for restoration of saved deleted lines. */ if (unddel >= jp) unddel =- i; newdol =- i; /* * For the case where no lines are restored, dot * is the line before the first line deleted. */ dot = jp-1; } /* * Now put the deleted lines, if any, back where they were. * Basic operation is: dol+1,unddol m unddel */ jp = unddel + 1; if ((i = (kp = unddol) - dol) > 0) { if (jp != dolp1) { reverse(jp, dolp1); reverse(dolp1, ++kp); reverse(jp, kp); } /* * Account for possible forward motion of the target * for restoration of the deleted lines. */ if (undap1 >= jp) undap1 =+ i; /* * Dot is the first resurrected line. */ dot = jp; newdol =+ i; } /* * Clean up so we are invertible */ unddel = undap1 - 1; undap1 = jp; undap2 = jp + i; dol = newdol; netchHAD(cnt); if (undkind == UNDALL) { dot = undadot; undadot = newadot; } } if (dot == zero && dot != dol) dot = one; } somechange() { register int *ip, *jp; switch (undkind) { case UNDMOVE: return; case UNDCHANGE: if (undap1 == undap2 && dol == unddol) break; return; case UNDALL: if (unddol - dol != dol - zero) return; for (ip = one, jp = dol + 1; ip <= dol; ip++, jp++) if ((*ip &~ 01) != (*jp &~ 01)) return; break; case UNDNONE: error("Nothing to undo"); } error("Nothing changed|Last undoable command didn't change anything"); } exv.c4²j¤�{ #include "ex.h" #include "ex_vis.h" #include "ex_tty.h" /* * Ex - a text editor * Bill Joy UCB June 1977 */ vop() { #ifndef VISUAL error("No visual in this version"); } #endif #ifdef VISUAL register int c; char atube[TUBESIZE + LBSIZE], *ic; int lines; if (!CA) error("Visual requires addressible cursor"); if (!CLEAR) error("Visual requires clear screen capability"); if (!value(OPEN)) error("Can't use visual mode unless open option is set"); VLINES = LINES - 1; vok(atube); visual = 1; VCOLUMNS = COLUMNS; setdot(); if (addr2 == zero && dol > zero) addr1 = one, addr2 = one; nonzero(); c = getchar(); switch (c) { case '^': if (addr2 == one) error("At TOP|At top-of-file"); case '-': case '.': vch = c; break; case '+': if (addr2 == dol) error("At EOF|At end-of-file"); addr2++; vch = 0; break; default: ungetchar(c); vch = 0; break; } skipwh(); ZERO = VLINES - (digit(peekchar()) ? getnum() : value(WINDOW)); if (ZERO >= VLINES) ZERO = VLINES - 1; if (ZERO < 0) ZERO = 0; newline(); Outchar = &vputchar; if (!inglobal) saveall(); lines = dol - zero; dot = addr2; vmoving = 0; if (!value(VISUALMESSAGE) && TMODE & 077) { chmod(TTYNAM, TMODE &~ 077); diddle++; } ostart(); do { ic = vinit(); if (vcnt == 0) error("Can't fit any complete lines on screen"); } while (vmain(ic) == 1); splitw++; vigoto(LINES - 1, value(PROMPT)); vclreol(); splitw = 0; ostop(); setoutt(); inopen = 0; netchHAD(lines); undiddle(); } vinit() { register int *tp; register int voy, vny; char *ic; int nvc; vcook(); holdat = 1; vclear(); getDOT(); switch (vch) { case '^': dot = vback((VLINES - ZERO) - vdepth()); getDOT(); case '-': tp = vback((VLINES - ZERO) - vdepth()); break; case '.': tp = vback((VLINES - ZERO) / 2 - vdepth()); break; default: tp = dot; } vcline = 0; vcnt = 0; vny = ZERO; for (; tp <= dol; tp++) { voy = vny; getline(*tp); if (tp == dot) { nvc = vcline; ic = vskipwh(linebuf); } vny = voy + vdepth(); if (vny > VLINES) break; vopen(tp, voy); vcline++; } vcline = nvc; flusho(); holdat = 0; vsync(vlast); vraw(); return (ic); } vcook() { gTTY(1); tty[2] =& ~RAW; sTTY(1); } vraw() { gTTY(1); tty[2] =| RAW; sTTY(1); } vok(atube) register char *atube; { register int i; if (COLUMNS == 1000) error("Don't know enough about your terminal to use %s", Command); if (COLUMNS > TUBECOLS) error("Terminal too wide"); if (LINES > TUBELINES || COLUMNS * LINES > TUBESIZE) error("Screen too large for my buffer"); vtube0 = atube; for (i = 0; i < TUBELINES; i++) { vtube[i] = atube; atube =+ COLUMNS; } vutmp = atube; vundkind = VNONE; ZERO = 0; inopen = 1; vmoving = 0; splitw = 0; nextic = 0; if (vSCROLL == 0) vSCROLL = value(SCROLL); } #endif undiddle() { if (diddle) chmod(TTYNAM, TMODE); diddle = 0; } hexw.c4ÅW¤�-#include "ex.h" #include "ex_io.h" /* * Ex - a text editor * Bill Joy UCB June 1977 */ wop() { register c; register exclam; register int bl; struct stb stbuf; c = 0; exclam = 0; if (peekchar() == '!') { exclam++; getchar(); } bl = skipwh(); while (peekchar() == '>') { getchar(); c++; skipwh(); } if (c == 0 && bl == 0 && !endcmd(peekchar())) error("Blank required@before filename"); if (c != 0 && c != 2) error("Write forms are 'w' and 'w>>'@- use 'w!' and 'w!>>' to override checks"); filename('w'); switch (c) { case 0: if (exclam) goto cre; if (value(EDITED) && eq(file, savedfile)) { if (addr1 != one || addr2 != dol) error(" Can't 'w' partial buffer to edited file@- use 'w!' to override checks"); goto cre; } if (stat(file, &stbuf)) goto cre; if ((stbuf.flags & FILETYP) == FCHSPEC) { if (stbuf.dmajor == DTTYMAJ && stbuf.dminor == DTTYMIN) goto cre; if (stbuf.dmajor == DVNLMAJ && stbuf.dminor == DVNLMIN) goto cre; } io = open(file, 1); if (io < 0) ioerror(); if (gTTY(io) != 0) error(" File exists@- use \"write! %s\" if you really want to overwrite it", file); close(io); cre: synctmp(); io = creat(file, value(MODE)); if (io < 0) ioerror(); break; case 2: io = open(file, 1); if (io < 0 || seek(io, 0, 2)) { if (exclam /* || value(WRITEANY) */) goto cre; ioerror(); } break; } putfile(); iostats(); if (c != 2 && addr1 == one && addr2 == dol) { if (eq(file, savedfile)) value(EDITED) = 1; sync(); } } )exx.c4ÅW¤�0#include "ex.h" /* * Ex3a - a text editor * Bill Joy UCB July 1977 */ xop(f, c) int (*f)(); char c; { register int *dp; nonzero(); if (!inglobal) save12(), undkind = UNDCHANGE; for (dp = addr1; dp <= addr2; dp++) { dot = dp; getline(*dp); strcpy(genbuf, linebuf); (*f)(c); if (!eq(linebuf, genbuf)) putmark(dp); } } xpand() { register char *cp, *dp; register int col; col = 0; for (dp = linebuf, cp = genbuf; *cp; cp++) { if (*cp == '\t') { do { if (dp >= &linebuf[LBSIZE-2]) goto xovflo; *dp++ = ' '; col++; } while (col & 07); continue; } if (dp >= &linebuf[LBSIZE-2]) xovflo: error("Line too long@after expansion of tabs"); *dp++ = *cp; col++; } *dp++ = 0; } tabulate(c) char c; { register char *cp, *dp; register int dcol; int ocol; ocol = 0; dcol = 0; cp = genbuf, dp = linebuf; for (;;) { switch (*cp) { case ' ': dcol++; break; case '\t': dcol =+ 8; dcol =& ~07; break; default: while (((ocol + 8) &~ 07) <= dcol) { if (ocol + 1 == dcol) break; *dp++ = '\t'; ocol =+ 8; ocol =& ~07; } while (ocol < dcol) { *dp++ = ' '; ocol++; } if (*cp == 0 || c == 0) { strcpy(dp, cp); return; } *dp++ = *cp; ocol++, dcol++; } cp++; } } exz.c4ÅW¤�Y #include "ex.h" #include "ex_tty.h" /* * Ex - a text editor * Bill Joy UCB June 1977 */ char znoclear, zhadpr, zweight; zop(hadpr) char hadpr; { register int c, lines, op; zhadpr = hadpr; notempty(); znoclear = 0; zweight = 0; switch(c = op = getchar()) { case '^': zweight = 1; case '-': case '+': while (peekchar() == op) { getchar(); zweight++; } case '=': case '.': c = getchar(); break; case EOF: znoclear++; break; default: op = 0; break; } if (digit(c)) { lines = c - '0'; for(;;) { c = getchar(); if (!digit(c)) break; lines =* 10; lines =+ c - '0'; } if (lines < value(WINDOW)) znoclear++; if (op == '=') lines =+ 2; } else lines = op == EOF ? value(SCROLL) : value(WINDOW); if (c != EOF) { ungetchar(c); newline(); } addr1 = addr2; setdot(); zop2(lines, op); } zop2(lines, op) register int lines; register char op; { register int *split; split = NIL; switch(op) { case EOF: if (addr2 == dol) error("\nAt EOF"); case '+': if (addr2 == dol) error("At EOF"); addr2 =+ lines * zweight; if (addr2 > dol) error("Hit BOTTOM"); addr2++; default: addr1 = addr2; addr2 =+ lines-1; dot = addr2; break; case '=': case '.': lines--; lines =>> 1; if (op == '=') lines--; addr1 = addr2-lines; if (op == '=') dot = split = addr2; addr2 =+ lines; if (op == '.') { markDOT(); dot = addr2; } break; case '^': case '-': addr2 =- lines * zweight; if (addr2 < one) error("Hit TOP"); lines--; addr1 = addr2 - lines; dot = addr2; break; } if (addr1 <= zero) addr1 = one; if (addr2 > dol) addr2 = dol; if (dot > dol) dot = dol; if (addr1 > addr2) return; if (addr2 - addr1 > 1 /* && really wanna do this */) pstart(); if (op == EOF && zhadpr) { getline(*addr1); putchar('\r' | QUOTE); shudclob = 1; } else if (znoclear == 0 && CLEAR) putchar('\032' | QUOTE); if (split) { plines(addr1, split - 1, 0); splitit(); plines(split, split, 0); splitit(); addr1 = split + 1; } plines(addr1, addr2, 0); } splitit() { register int l; register char *lp; for (l = COLUMNS == 1000 ? 72 : COLUMNS, lp = linebuf; l > 0; l--) *lp++ = '-'; *lp = 0; printf("%s\n", linebuf); } zeq(cnt) int cnt; { znoclear = 0; zop2(cnt, '='); putNFL(); } READ_ME5ÕG¤‘ÏJanuary 30, 1977 There is a binary for ex1.1 in this directory (a.out) which can be "installed" if you have a full load of user core and an 11/45 or 11/70. If you have an 11/34 or 11/40 with 64K bytes of user space, you can "mv a.outNOID a.out" and then "install". If you prefer an ex without open and visual modes (for whatever reason) choose between "a.outNOVISUAL" and "a.outNOVISNOID". If you have a Berkeley type system (with full word significant user id's) then you should use the "patchd" program in this directory on the binaries you wish to use. This is just a db "!" patch, but db doesn't work on separate i/d programs. Thus a typical installation, using just "a.out", on a standard UNIX system would be: sh install or to install the smallest ex here on an 11/34 or 11/40 mv a.outNOVISNOID a.out sh install This process will give you a basic editor (without any of its data bases) which you can try. Other files (other than /usr/bin/ex and /usr/bin/edit): The editor keeps its error messages in a file. This file is "/usr/lib/ex1.1strings", and must be present or all errors will be diagnosed as "ERROR". The data base for the editor "help" command lives in "/usr/lib/how_ex" (a directory)... the files in how_ex go there. The programs "expreserve" and "exrecover" (from ../exrecover) should be setuserid root and go in /usr/lib. There should be a directory /usr/preserve owned by root, mode 755 for use by these programs. If you clean out /tmp in /etc/rc there should be a line /usr/lib/expreserve -a before you do this. This editor needs a number of hooks into the rest of the system to get information about teletype types. The changes needed in the system at large to support this are described in the file SETUP. The editor uses the data base "/etc/ttycap" to discern capabilities of terminals, mapping a two character code it gleaned from the "htmp" data base (described below) to the characteristics of that terminal. You can add new terminals to /etc/ttycap quite easily... look at ../s6/ttycap.5. Adding a cursor addressible terminal requires an editor recompilation if you want to use the cursor addressing. Only a straightforward change to ex_ca.c is necessary. There is a system data base "/etc/ttytype" which maps terminals to 2 character type codes... see ../s6/ttytype.5. Look at ../etc/ttytype for a sample of this data base... you should change this file to correspond to your system. You can add new types as necessary to "/etc/ttycap" in this process or simply leave some terminals "unknown" for now. The editor uses a data base "/etc/htmp" to determine a user's home directory and his terminal type. This is necessary for terminal types to handle dial-ups and for home directories to allow them to be changed and to avoid password file searches on systems with large password files. The best way to implement the maintenance of "/etc/htmp" is to have the "login" program maintain it. There is a set of routines in ../s7 (libX.a) which make this trivial. The "htmp" routines can be used to access htmp, the "typeof" routines to extract types from /etc/ttytype. If you don't have "login" do this, you will have to do it by hand every time you login, or the editor may have the wrong terminal type and will not be able to find your start_up file. A login and an su program changed to handle the maintenance of "htmp" are given in ../s1. If you need to recompile: This directory contains all of the source for "ex" version 1.1. To recompile the editor you will need a version 7 C compiler as well as the following non-standard programs: mkstr create string message file lnall link a number of files to a directory in one blow mvall move all of a number of files rmtree remove a hierarchical subtree cxref a shell script giving a list of routine defn points All of these programs are on this tape (except the C compiler) and of the others, only mkstr is truly essential. (Recompilation should not be necessary unless you wish to change the editor or have a Version 7 UNIX system.) System dependencies: The only major problems here are the format of "/etc/utmp", the form of teletype names, and the meaning of user/group id's. Several of the programs in ../s6, notably "ttytype" and "sethome", assume that "utmp" is accessed as a array indexed by the letter of the terminal in use, treated as a number. Other systems have slots arranged '0', '1', ... '9', 'A', ... . If you have the latter format you'll have to change these programs. If you treat a user/id as being significant in all 16 bits returned from "getuid()" in determining if two people are the same person (i.e. if you have "newgrp") then should use the program "patchd" to change the initial value of "mask" to be 0177777, i.e.: patchd _mask 177777 a.out This is trivial, but essential. Note that you must also change the source for the ttytype and sethome programs to not mask off these bits and recompile (or use patchd) Finally the editor (and all other programs here) assume ttynames of the form "/dev/ttyx" with x a single letter. If you are having system related problems or have questions please feel free to give me a call. Other, less serious, dependencies are: 1. This editor assumes that you have a restricted, 512 byte argument list. If your system gives larger lists that is no problem, but the "next" command will allow at most 512 character lists on subsequent matchings. 2. The major and minor device numbers of /dev/null and /dev/tty are used and are given in ex_io.h. Also the system error codes are mapped from magic numbers to names here. If your system has additional codes these numbers will have to be extended and new cases will have to be added to the switch on page 6 of ex_io.c. 3. To add a cursor addressible terminal in this version, you must recompile. A simple change is required to the routines in "ex_ca.c", with a return code of 1 being supplied for the new known type, and a string doing the addressing being returned from cgoto. This information should be put in /etc/ttycap, but I haven't seen enough terminals to know a good encoding. 4. This version of the editor needs a printf which prints through putchar. Such a printf exists in printf.s in this directory. 5. The read routine rop in exr.c knows about special binary files. Thus if you have any more binary files with different magic numbers it makes sense to add them here so the editor will give better diagnostics. I would like to hear of other dependencies/problems you encounter. Scripts: The following scripts are in this directory of general interest makeex make a new binary and string file comp recompile and load one or more files install put new ex in /usr/bin... you may want to change the path names The shell used for these scripts is in the directory ../ashell, with documentation in ../s6/sh.6. If you comment out the "set" commands or make a dummy set command which does nothing then any other shell should do fine. Note also that the scripts making ex use a "version" shell script which uses ex. If you have no ex, the script will fail in a safe way. In order for the option setting for "edit" to work either the second or third character of its name must be a 'd'. Thus "edit" and "nedit" are fine. This is naive, but easy to change... look at the first few lines of ex.c. To complete the installation of ex you must also install exrecover and expreserve see the directory ../exrecover. I would appreciate hearing of any problems you have with the editor or of any improvements you make. One thing which would be nice to have is the ability to drive terminals with more intelligent operations such as add or delete a line on the screen or insert characters pushing them to the right. I havent done this because we have only 2 such terminals both of which are hard-wired at 9600 baud (and private terminals). The changes needed to do this are almost all localized in the routine "ex_vadjust.c". Bill Joy CS Division Department of EE and CS UC Berkeley Berkeley, California 94704 (415) 524-4510 [HOME] (415) 642-4948 [SCHOOL] rSETUP4ÈW¤�&October 12, 1977 The editor uses the following data bases: /etc/ttytype gives teletype types of hardwire ports /etc/ttycap gives capabilities of teletypes /etc/htmp gives home directories and teletype types The implications of the absence of these are as follows: /etc/ttycap Editor will think all terminals are model 33 teletypes, essentially, as they will be "unknown." You'll have no way of specifying the capabilities of your terminal. /etc/ttytype You will have to tell the editor the type of the terminal you are on every time you log in, unless you trust that the way the last user of your port set your terminal type is correct. /etc/htmp Editor start-up files cannot work; you won't be able to specify your terminal type once per login... you have to do it each time you enter the editor. These data bases are maintained and used in the following ways: HTMP data base: The file /etc/htmp contains a structure described by htmp (V). It contains, for each user, his "home" directory, normally the login directory, his user-id, and the type of terminal he is on. The home directory is here because on large systems searching the password file is unreasonably slow. Its presence in this data base also allows it to be changed. The tty type information is necessary here because users who dial in on a dialup port need to be able to specify it. TTYTYPE data base: The file /etc/ttytype is organized similarly to /etc/ttys and maps tty names to 2 character codes. This data base is used both by the editor and by the program "tset", and can be used by other programs. TTYCAP data base: The file /etc/ttycap allows programs to map a terminal's type code to its characteristics. This allows addition  of new terminals to the system without changing any existing programs - only the data base needs to be updated. (Note that currently cursor addressing information is not recorded here requiring changes to the editor to add new such terminals.) The following utility programs are included with the editor: SETHOME Set the home directory entry in /etc/htmp. TTYTYPE Set the teletype type entry in /etc/htmp. The following changes to support the editor are suggested: LOGIN So that naive users may login on dial up ports and have their home directory and terminal-type set to reasonable values at initialization without any action on their part, the program login should be changed to write the initial entry in /etc/htmp. The work involved is in getting the terminal type from the file /etc/ttytype and writing it into /etc/htmp. The overhead should be negligible, especially since the operations of reading /etc/passwd and looking for mail in /usr/mail are typically much more expensive. This change is simple to make, just calling some of the routines in the supplied library htmp (V) .. SU So that the home directory will be correct after a su command, the command should be changed to save and restore this entry in /etc/htmp before and after the su. This is similar to the saving and restoring of the utmp user byte entry to allow who to print out the name of the person one is su'd to. (This latter change has been made at Berkeley.) For more information on formats and programs see the following documents Section V: htmp, ttycap, ttytype Section VI: sethome, ttytype Section VII: htmp, typeof, ttycap Bill Joy CS Division Department of EE and CS UC Berkeley Berkeley, California 94704 (415) 524-4510 [home] (415) 642-4948 [school] SYSDEP5¬F¤‘pNovember 9, 1977 KNOWN SYSTEM DEPENDENCIES / MAGIC NAMES IN EX-1.1 Globally: 1. Needs a printf which prints through putchar. 2. Wants the data bases described in SETUP. 3. Needs a large amount of core; separate i/d preferred. 4. Needs a version 7 C compiler. 5. Assumes (in the library routines and the way it deals with ttyn e.g. for the visualmessage option) that teletype names are single characters, and that /etc/utmp is indexed by this character. (More on this below.) --------------------------------------------- In the HEADERS: ex.h Defines ECHO and RAW for stty. Defines TTYNAM which is initialized in ex_tty.c and there assumes that single char teletype names are used. Note that ex does not catch the TERMINATE signal of version 7 UNIX... it should be defined here. ex_glob.h The definitions here limit the argument list size possible with the next command. This does not limit the size of entry argument list however... if invoked with a longer list that is ok (although it has never been tested of course!) ex_io.h The basic stat buffer structure is assumed here. Also the error codes for errno from system error returns on i/o are defined here... if you have more error codes you should add them... ex does not use "perror" because this way puts the messages in the string message file saving space. ex_vis.h The definitions of TUBELINES, TUBECOLS, and TUBESIZE here limit the kinds of terminals on which open and visual are possible. The areas are allocated, with fixed size, on the stack at entry to the routines in exo.c and exv.c. Variable sized screens would be possible if you added an assembly language intermediary here, or you can make these numbers larger, at the expense of allocating these larger buffers on terminals with small screens. --- CODE files: ex.c /erpath =+ 9/ Assumes that the error path contains a prefix like "/usr/lib" so that adding 9 bytes will give the last portion of the error file name for testing "a.out". /== 'd'/ Here derive the properties of "edit". /signal/ New caught signals should be added here, notably the signal TERMINATE for a version 7 system. ex_ca.c To add a cursor addressible terminal you must add it to the routine canCA and change cgoto to return a string. All terminals which are to be added must have their properties recorded in /etc/ttycap. ex_glob.c This glob routine supports constructs in all portions of path names, e.g. "/*/bill/a.out"; it also interprets trailing slashes as forcing a directory match - eg "*/" matches all subdirectory names. This corresponds to the glob which is glob2.c in ../s6 and also the glob built into ../ashell. ex_tty.c This routine assumes the version 6 structure of teletype names in its handling of TTYNAM. This can be easily changed by forming the value of TTYNAM in a slightly different way. ex_io.c The routine ioerror embodies the strings from "perror" which are related to input/output. These should be added to or changed as appropriate to your system. Perror is not used because it is desired to have the error messages in the string message file (this saves ~~ 200 bytes per editor user in the swap image.) ex_put.c Note the routine "setcol" which fixes UNIX's notion of the tab column position after a cursor addressing sequence on an ADM-3A. This is hard, in general. If you wish to perform a similar fix for your terminals this is the place to do it. ex_recover.c The routines here assume that you have installed the exrecover and expreserve routines from ../exrecover, and that when the system crashes you run expreserve in /etc/rc to save the stuff from /tmp so that people can continue where they left off. If this is not true, no harm is done... as long as you don't ever crash! ex_set.c Note that the default directory and shell are initialized here. ex_tty.c Here the capabilities of the terminal which interest us are extracted. These are used by the print routines in ex_put.c, and more exten- sively by the visual and open mode routines. Currently, we are running visual on ADM-3A's (its native terminal) and also on HP2645's. For the latter, the editor makes use only of the clear to end-of-line operation. I have not put in the use of the add and delete line operations (although they are read here into AL and DL). If you have a number of intelligent terminals you may wish to try to add the intelligent terminal driving to visual... it is not hard. I have not done it since we have only 2 HP2645's and both are at 9600 baud where it matters  little if it knows about the intelligence. The routines most likely to be changed in such an addition are all in the file ex_vadjust.c... they are mentioned below. ex_unix.c It is here assumed that the shell understands the option "-c", and also the option "-i" to give a login type shell. Both of the shells from Berkeley, and also the Version 7 shell from Bell have this property. Note also that substituted file names are given high-order bits set so that glob will not be a nuisance... it is better of course not to edit files with funny names. ex_vadjust.c This is where the work is required to add the AL (add line) and DL (delete line) capabilities of the terminal to open and visual. Likely candidates for change are the routines "vopen", "vsync", and "vredraw"... with these capabilities you may well want to always use "vredraw"... "vsync" is the routine which leaves the dirty "@" lines on the screen. If you do any work here I would like to hear of it as I am not planning to do this but would like to have working code for it. ex_vcurs.c Note that the routine "vputchar" assumes that you can simply overwrite and have no trouble (that overstrking an "a" with a "b" works leaving a "b"). If you have terminals where this is not true (i.e. that have OS) you can send a blank to clear the position first... rumor has it that there are some ITT beasts of this flavor (at UCLA?). exr.c Sensibility detection by decoding the flags bit of a stat buffer an by looking at the magic numbers of PLAIN files should be changed to reflect the kinds of stuff you have in your file system. exw.c Note the explicit checks for /dev/tty and /dev/null by major and minor device number here. -------------------------------------------------- I would be glad to learn of any other problems you have or changes you make to ex. I will be glad to answer questions by mail or phone, and would be glad to know of any fixes and changes. Bill Joy CS Division Department of EE and CS UC Berkeley Berkeley, California 94704 (415) 524-4510 [home] (415) 642-4948 [school] XREF6¤‘/GPUT() exm.c:120: REset() ex_set.c:242: Setterm(type, printerr) ex_tty.c:23: TSYNC() ex_io.c:382: Tgetstr(cp) ex_tty.c:96: Vmain(ic) ex_vmain.c:27: address() ex_addr.c:108: addtext(cp) ex_vset.c:54: addto(buf, str) ex_vset.c:85: advance(lp, ep) ex_re.c:276: amatch(as, ap) ex_glob.c:149: any(c, s) ex_glob.c:319: append(f, a) exa.c:10: appendnone() exa.c:53: backtab(i) ex_get.c:170: beep() ex_voperate.c:362: blkio(b, buf, iofcn) ex_io.c:331: canCA() ex_ca.c:11: cat(as1, as2) ex_glob.c:234: cclass(set, c, af) ex_re.c:385: cerror(s) ex_re.c:214: cgoto()  ex_ca.c:25: change() ex_cmds.c:590: checkjunk(c) ex_get.c:226: cleanup() ex_io.c:82: clrstats() ex_io.c:97: column(cp) ex_vcolumn.c:15: commands(noprompt, exitoneof) ex_cmds.c:22: compile(eof, oknl) ex_re.c:8: comprhs(seof)  exs.c:93: compsub(ch) exs.c:46: confirmed(a) exs.c:180: copy(to, from, size) ex_re.c:409: delete() exd.c:7: deleted() exd.c:19: deletem() exd.c:38: deletenone() exd.c:61: digit(c) ex_subr.c:61: dingdong()  exh.c:64: dographic() ex_graphic.c:8: dosub() exs.c:225: dosubcon(f, a) exs.c:167: doulg() ex_graphic.c:34: draino() ex_put.c:414: edge() ex_voperate.c:345: eend(op, cnt) ex_voperate.c:296: endcmd(ch)  ex_cmds.c:700: eol() ex_cmds.c:664: error(str, i1, i2, i3) exh.c:19: exclam() ex_cmds.c:761: execute(gf, addr) ex_re.c:229: expand(as) ex_glob.c:76: fgoto() ex_put.c:144: fileinit() ex_io.c:31: filename(comm) ex_file.c:7: filioerr(cp) ex_glob.c:308: find(c) ex_voperate.c:229: fixcase(c) exs.c:287: fixindent(indent) ex_vops.c:359: flush() ex_put.c:32: flush1() ex_put.c:39: flush2() ex_put.c:123: flusho() ex_put.c:444: gTTY(i)  ex_put.c:456: genindent(indent) ex_vops.c:346: getDOT() ex_vmain.c:896: getPUT() exm.c:103: getargs() ex_args.c:8: getblock(atl, iof) ex_io.c:300: getbr() ex_vkey.c:37: getch() exs.c:202: getchar()  ex_get.c:17: getcopy() exm.c:95: getesc() ex_vkey.c:58: getfile() ex_io.c:187: getkey() ex_vkey.c:19: getline(tl) ex_io.c:140: getnum() ex_addr.c:48: getone() ex_glob.c:283: getsub() exs.c:156: gettmode() ex_init.c:76: gettty() ex_get.c:59: glob(v, g0) ex_glob.c:29: global(k) exg.c:12: helpinit() exh.c:9: helpthem() exh.c:111: init() ex.c:169: initoptions(f) ex_init.c:19: ioerror()  ex_io.c:270: iostats() ex_io.c:107: isetterm(type) ex_init.c:60: jnoop() exj.c:41: join(c) exj.c:9: junk(c) ex_get.c:247: killed() ex_note.c:17: killglob() ex_vset.c:47: letter(c) ex_subr.c:32: listchar(c) ex_print.c:33: longname(bp, def) ex_tty.c:77: lprintf(a1, a2, a3) ex_print.c:170: main() ex.c:21: margin() ex_voperate.c:356: markDOT() ex_addr.c:56: markpr(dot) ex_addr.c:62: match(s, p) ex_glob.c:135: mesg(str) exh.c:77: motion() ex_put.c:262: move() exm.c:9: move1(cflag, addrt) exm.c:29: netchHAD(cnt) ex_note.c:34: netchange(i) ex_note.c:41: newline() ex_cmds.c:622: nonzero() ex_addr.c:98: normal()  exh.c:100: normchar(c) ex_print.c:72: normline() ex_print.c:117: notable(i) ex_note.c:10: noteargs() ex_note.c:68: notech(i) ex_put.c:356: noteinp() ex_put.c:346: notempty() ex_addr.c:70: numbline(i) ex_print.c:107: onhup() ex_io.c:89: onintr() ex.c:152: oop() exo.c:10: operate(c, cnt) ex_voperate.c:14: ostart() ex_put.c:423: ostop() ex_put.c:436: pack(sp) ex_pack.c:47: partinp() ex_put.c:339: peekbr()  ex_vkey.c:29: peekchar() ex_get.c:48: peekkey() ex_vkey.c:73: place(sp, l1, l2) exs.c:300: plines(adr1, adr2, movedot) ex_cmds.c:605: plod() ex_put.c:293: plural(i) ex_io.c:133: preserve() ex_recover.c:57: pro(i)  ex_set.c:233: propt(vp) ex_set.c:209: propts(all) ex_set.c:184: pstart() ex_put.c:368: pstop() ex_put.c:387: putS(cp) ex_put.c:112: putch(c) ex_put.c:466: putfile() ex_io.c:228: putline()  ex_io.c:159: putmark(addr) exs.c:312: putmk1(addr, n) exs.c:319: putnl() ex_put.c:450: qcolumn(lim, gp) ex_vcolumn.c:24: qcount(c) ex_vcolumn.c:45: quickly() ex_cmds.c:577: recover() ex_recover.c:10: resetflav() ex_cmds.c:672: reverse(a1, a2) exm.c:81: revocer() ex_recover.c:47: rewind() ex.c:162: rop(c) exr.c:8: rop2() exr.c:70: rop3(c) exr.c:78: sTTY(i) ex_put.c:461: same(a, b) ex_re.c:222: save(a1, a2)  exg.c:84: save12() exg.c:106: saveall() exg.c:112: scan(t, f) ex_glob.c:257: scanfor(c) ex_addr.c:226: set(c) ex_set.c:56: setBUF(BUF) ex_vset.c:71: setDEL() ex_vset.c:65: setLAST() ex_vset.c:11: setall() ex_addr.c:77: setcol(col) ex_put.c:226: setcount() ex_addr.c:28: setdot() ex_addr.c:9: setdot1() ex_addr.c:17: setend() ex_set.c:178: setflav() ex_cmds.c:685: setin(addr) ex_get.c:236: setlist() ex_print.c:14: setnoaddr() ex_addr.c:91: setnorm() ex_print.c:23: setoutt() ex_print.c:163: setterm(type) ex_tty.c:16: setwork(c) ex_vset.c:24: shift(c, cnt) ex_shift.c:8: skipwh() ex_subr.c:9: slobber(c)  ex_print.c:139: smunch(col, ocp) ex_get.c:184: snote(total, lines) ex_note.c:56: somechange() exu.c:121: sort(oav) ex_glob.c:57: source(file, okfail) ex_source.c:14: splitit() exz.c:137: spruce(ocp) ex_get.c:206: strcLIN(dp)  ex_libS.c:41: strcat(to, from) ex_libS.c:24: strcmp(left, right) ex_subr.c:22: strcpy(oto, from) ex_libS.c:12: strend(cp) ex_libS.c:32: strlen(cp) ex_subr.c:43: substitute(c) exs.c:12: sync() ex_cmds.c:597: synctmp() ex_io.c:340: tabulate(c) exx.c:51: tail(comm) ex_cmds.c:723: tail2of(comm) ex_cmds.c:731: tailof(comm, i) ex_cmds.c:738: tailspec(c) ex_cmds.c:714: takeout(BUF) ex_vops.c:65: termchar(c) ex_put.c:14: termreset() ex_put.c:399: tglob(c)  ex_glob.c:268: trim(c) ex_glob.c:276: ucletter(c) ex_subr.c:67: ugo(cnt, with) exs.c:211: undiddle() exv.c:180: undo(c) exu.c:13: ungetkey(c) ex_vkey.c:12: unix() ex_unix.c:13: unix2(opt, printub, up)  ex_unix.c:81: unpack(sp) ex_pack.c:11: vappend(ch, cnt, indent) ex_vops.c:116: vback(i) ex_vadjust.c:11: vchange() ex_vops.c:86: vclear() ex_vclear.c:13: vclrbyte(cp, i) ex_vclear.c:39: vclreol() ex_vclear.c:66: vclrlin(l, tp)  ex_vclear.c:53: vcook() exv.c:136: vcsync() ex_vcurs.c:51: vdcMID() ex_vops.c:39: vdelete(c) ex_vops.c:10: vdepth() ex_vadjust.c:40: vdoappend(lp) ex_vops.c:549: velide(cnt, vfirst) ex_vadjust.c:394: vfindcol(i) ex_vmain.c:841: vfit(i, t) ex_vadjust.c:149: vfixcurs() ex_vcurs.c:13: vfixopen(i) ex_vadjust.c:107: vgetcnt() ex_vmain.c:813: vgetline(cnt, gcursor, aescaped) ex_vops.c:406: vgetsplit() ex_vops.c:559: vgoto(y, x) ex_vcurs.c:68: vgotoCL(x) ex_vcurs.c:62: vgrabit() ex_vops.c:53: vigoto(y, x) ex_vcurs.c:37: vinit() exv.c:88: vmain(ic) ex_vmain.c:11: vmaxrep(ch, cnt) ex_vops.c:569: vmove() ex_vops.c:593: vmoveitup(i) ex_vadjust.c:219: voinit() exo.c:90: vok(atube) exv.c:152: vop() exv.c:9: vopen(tp, l) ex_vadjust.c:54: vopenup(i) ex_vadjust.c:292: vpastwh(cp) ex_vops.c:376: vputchar(c) ex_vcurs.c:116: vputs(cp) ex_vclear.c:28: vraw() exv.c:144: vredraw(p)  ex_vadjust.c:317: vremote(cnt, f) ex_vmain.c:830: vreopen(l, lineno) ex_vadjust.c:129: vrestor() ex_vmain.c:880: vroll(ocnt) ex_vadjust.c:173: vrollup(ip) ex_vadjust.c:204: vsave() ex_vmain.c:854: vscrap() ex_vadjust.c:262: vscroll(i)  ex_vadjust.c:237: vsetcurs(nc) ex_vcurs.c:22: vshift() ex_vmain.c:902: vskipwh(cp) exo.c:81: vsync(p) ex_vadjust.c:357: vsyncCL() ex_vmain.c:890: vundcurs() ex_vmain.c:867: vup1() ex_vadjust.c:415: vyank(cnt)  ex_vmain.c:804: vyankit() ex_vops.c:59: waitfor() ex_recover.c:38: white(c) ex_subr.c:54: whitecnt(cp) ex_vops.c:385: wop() exw.c:8: word(op, cnt) ex_voperate.c:242: wordch(wcursor) ex_voperate.c:336: wordof(which, wcursor) ex_voperate.c:327: wrerror() ex_io.c:262: xop(f, c) exx.c:7: xpand() exx.c:26: xtrey(c) ex_vset.c:39: yank() exm.c:112: zeq(cnt) exz.c:148: zop(hadpr) exz.c:10: zop2(lines, op) exz.c:63: comp4ÎWí�'set time=3 if ! -r temp mkdir temp rmtree -fv temp : 'mkstr - ex1.1strings temp/ $*' mkstr - ex1.1strings temp/ $1 $2 $3 $4 $5 $6 $7 $8 $9 chdir temp cpall ../*.h . cc -c -O -DUNIMP *.c size *.o mvall *.o .. chdir .. rmtree -fv temp ./version cc -c Version.c ar rv lib *.o sh load -i rm -f *.o .crt0.s4ÎW¤�j/ C runtime startoff / / Specially modified for ex to / allocate a "glob" buffer at the top of the stack. / This buffer is 922 bytes in size (at least) and will / thus hold up to 522 chars of arguments and 200 pointers / thereto. It is described by the glob structure (in ex_glob.h). / / Our job here is to set the stack point low enough to leave this / space and to initialize the pointer G to point at it. / We also put the argc of the main program in the variable / xargc0 and the argv thereof in xargv0. This is easier than / moving them down the stack. / .globl savr5 .globl _exit .globl _main .globl _G, _xargc0, _xargv0 start: setd mov sp,r0 mov (r0),_xargc0 tst (r0)+ mov r0,_xargv0 cmp $-1024.,sp bhi 1f mov $-1024.,sp 1: mov sp,_G jmp _main / No return / jsr pc,_main / cmp (sp)+,(sp)+ / mov r0,(sp) / jsr pc,*$_exit / sys exit .bss savr5: .=.+2 crt0o6Ϥ�¤ T ð€7øÿÐ 7òÿÆ%ü‚Æü·äÿwàÿIY9)savr5$ _exit _main _G _xargc0 _xargv0 starterrs6•¤� : make ex binaries for a distribution tape cp ex.h ex.h.bak ed - ex.h echo NOVISUAL NOVISUAL sh -v makeex set time=3 verbose rm lib lib: non existent if ! -r temp mkdir temp rmtree -fv temp mkstr ex1.1strings temp/ ex*.c 6.4u 5.8s 1:42 11% chdir temp cpall ../*.h . cc -c -O *.c ex.c: ex_addr.c: ex_args.c: ex_ca.c: ex_cmds.c: ex_file.c: ex_get.c: ex_glob.c: ex_graphic.c: ex_init.c: ex_io.c: ex_libS.c: ex_note.c: ex_pack.c: ex_print.c: ex_put.c: ex_re.c: ex_recover.c: ex_set.c: ex_shift.c: ex_source.c: ex_subr.c: ex_tty.c: ex_unix.c: ex_vadjust.c: ex_vclear.c: ex_vcolumn.c: ex_vcurs.c: ex_vkey.c: ex_vmain.c: ex_voperate.c: ex_vops.c: ex_vset.c: exa.c: exd.c: exg.c: exh.c: exj.c: exm.c: exo.c: exr.c: exs.c: exu.c: exv.c: exw.c: exx.c: exz.c: 164.4u 126.2s 18:47 25% mvall *.o .. 0.3u 8.8s 0:31 29% cc -c -O -DUNIMP ex_vmain.c ex_ca.c ex_voperate.c ex_vops.c ex.c ex_vadjust.c ex_cmds.c ex_pack.c ex_vmain.c: ex_ca.c: ex_voperate.c: ex_vops.c: ex.c: ex_vadjust.c: ex_cmds.c: ex_pack.c: 34.7u 23.0s 3:24 28% chdir .. as -o crt0o crt0.s as -o printf.o printf.s as -o wait.o wait.s as -o putchar.o putchar.s ar r lib ex.o ex_cmds.o exd.o ex_put.o ex_print.o exv.o ex_vmain.o exs.o creating lib chmod 644 lib as -o reset.o reset.s ./version cc -c Version.c ar r lib *.o 0.4u 7.2s 1:11 10% size *.o >sizes rm -f *.o sh load -n 5.0u 5.9s 0:58 18% mv a.out a.outNOID mvall temp/*.o . ar r lib *.o 0.3u 6.2s 0:42 15% rm -f *.o sh load -i 5.4u 6.1s 2:21 8% size a.out >>sizes rmtree -fv temp mv a.out a.outNOVISUAL mv a.outNOID a.outNOVISNOID mv lib libNOVISUAL ed - ex.h sh -v makeex set time=3 verbose rm lib lib: non existent if ! -r temp mkdir temp rmtree -fv temp mkstr ex1.1strings temp/ ex*.c 5.9u 6.0s 0:56 21% chdir temp cpall ../*.h . cc -c -O *.c ex.c: ex_addr.c: ex_args.c: ex_ca.c: ex_cmds.c: ex_file.c: ex_get.c: ex_glob.c: ex_graphic.c: ex_init.c: ex_io.c: ex_libS.c: ex_note.c: ex_pack.c: ex_print.c: ex_put.c: ex_re.c: ex_recover.c: ex_set.c: ex_shift.c: ex_source.c: ex_subr.c: ex_tty.c: ex_unix.c: ex_vadjust.c: ex_vclear.c: ex_vcolumn.c: ex_vcurs.c: ex_vkey.c: ex_vmain.c: ex_voperate.c: ex_vops.c: ex_vset.c: exa.c: exd.c: exg.c: exh.c: exj.c: exm.c: exo.c: exr.c: exs.c: exu.c: exv.c: exw.c: exx.c: exz.c: 213.9u 132.1s 18:04 31% mvall *.o .. 0.3u 6.7s 0:25 27% cc -c -O -DUNIMP ex_vmain.c ex_ca.c ex_voperate.c ex_vops.c ex.c ex_vadjust.c ex_cmds.c ex_pack.c ex_vmain.c: ex_ca.c: ex_voperate.c: ex_vops.c: ex.c: ex_vadjust.c: ex_cmds.c: ex_pack.c: 74.1u 32.8s 4:46 37% chdir .. as -o crt0o crt0.s as -o printf.o printf.s as -o wait.o wait.s as -o putchar.o putchar.s ar r lib ex.o ex_cmds.o exd.o ex_put.o ex_print.o exv.o ex_vmain.o exs.o creating lib chmod 644 lib as -o reset.o reset.s ./version 0.3u 2.9s 0:17 18% cc -c Version.c ar r lib *.o 0.5u 9.5s 1:13 13% size *.o >sizes rm -f *.o sh load -n 7.2u 6.8s 1:32 15% mv a.out a.outNOID mvall temp/*.o . ar r lib *.o 0.3u 9.1s 0:50 18% rm -f *.o sh load -i 7.6u 7.7s 1:11 21% size a.out >>sizes rmtree -fv temp echo DISTRIBUTION READY IF NO ERRORS OCCURRED DISTRIBUTION READY IF NO ERRORS OCCURRED ex1.1strings6D¤‘ê%d more file%s@to edit No more files@to edit Interrupt Addr1 > addr2|First address exceeds second Bad count|Nonzero count required No lines@in the buffer No address allowed@on this command Nonzero address required@on this command Relocation error@- can only offset by constants \& needs / or ? in address Fail|Pattern not found Marks are ' and a-z Undefined mark@referenced Negative address@- first buffer line is 1 Not that many lines@in buffer No match to BOTTOM|Address search hit BOTTOM without matching pattern No match to TOP|Address search hit TOP without matching pattern Argument buffer overflow@- limit 510 characters No alternate filename@to substitute for ` No current filename@to substitute for %% Offset out-of-bounds|Offset after command too large Illegal $ in join|$join not allowed unless only one line in buffer Mark what?|%s requires following letter Bad mark|Mark must specify a letter At EOF|At end-of-file What?|Unknown command character '%c' No write@since last change Extra chars|Extra characters at end of "%s" command Extra chars|Extra characters at end of command What?|%s: Not an editor command No file|No current filename Input line too long@- limit 510 characters No match@in filename expansion of `*', `/' or `[...]' Path name too long@- editor limit 64 characters Missing ]@matching [ in filename Path name too long@- editor limit 64 characters Argument list too long@- editor limit 512 characters Missing filename@- if you give blanks you must give a name Too many names|Multiple file names allowed only on next command Ambiguous|Pattern is ambiguous, matches more than one file Filename too long@- limit 63 characters Line too long with iu|Line too long to print with indicateul Line too long@- limit 512 characters No such file or directory Physical I/O error Permission denied Not a directory Is a directory File table overflow No space left on device Quota exceeded Read-only file system I/O error %d Tmp file too large Open and visual must be used interactively Re delimiter must not be letter or digit|Regular expressions cannot be delimited by letters or digits No previous scan re|No previous scanning regular expression No previous substitute re|No previous substitute regular expression Badly formed re|Regular expression \ must be followed by /, ?, or & No previous re|No previous regular expression Missing closing delimiter@for regular expression Re too complex|Regular expression too complicated Unmatched \(|More \('s than \)'s in regular expression Awash in \('s!|Too many \('d subexressions in a regular expression Extra \)|More \)'s than \('s in regular expression Replacement pattern contains &@- cannot use in re Replacement pattern contains \d@- cannot use in re Illegal *|Can't * a \( ... \) in regular expression Illegal *|Can't * a \n in regular expression Bad character class|Empty character class '[]' or '[^]' cannot match Missing ] No newlines in re's|Can't escape newlines into regular expressions Bad \n|\n in regular expression with n greater than the number of \('s Badly formed re|Missing closing delimiter for regular expression Re internal error@- if possible remember what you did and tell system staff Can't make pipe for recovery Can't fork to execute recovery No recovery routine No remembered filename Can't fork to do preserve No preservation routine Blank required@before options in set No previous command No alternate filename No current filename Can't assign@to %c with set Unexpected %c|Expected option name, found %c No such option|Ridiculously long option name %s: No such option@- 'set all' gives all option values Option %s is not a toggle = expected@before number for numeric option %s Digits required@after = when assigning numeric option Missing =@in assignment to option %s String too long@in option assignment Line too long|Result line after shift would be too long Too many nested sources %s: Unknown terminal type@- do "!ttytype -n" for a list of valid types Incomplete shell escape command@- use 'shell' to get a shell Command too long@- limit 100 characters No previous command@to substitute for ! No alternate filename@to substitute for ` No filename@to substitute for %% No write@since last change No previous command@to repeat No more processes No %s! Internal error: vopen@- please tell someone Internal error: vopen tp@- please tell someone Line too long@for open Internal error: vmoveitup@- please tell someone Internal error: vscroll@- please tell someone No lines fit@on screen! Line too long@for open Internal error: vopenup@- please tell someone Internal error: vredraw@- please tell someone Internal error: vclreol@- please tell someone Internal error: vigoto@- please tell someone Internal error: vgoto@- please tell someone Line too long@for single line open Line too long@for single line open Input read error No lines in buffer Internal error: vmain undo@- please tell someone Search delimiter must be / or ? Extra chars|Extra characters after search pattern Line too long Line too long Out of memory@- too many lines in file Global within global@not allowed Global needs re|Missing regular expression for global EOF reading global Global command too long@- limit 254 characters Out of memory@saving lines for undo - try using ed or re) Help takes one keyword only as argument@- "help index" gives a list of keywords Don't know anything about %s@- "help index" gives a list of known subjects Line overflow|Result line of join would be longer than 510 characters %s where?|%s requires a trailing address That move would do nothing! Move to a moved line No open in this version Can't open unless open option is set Can't open on a terminal which overstrikes (yet) Fail|Pattern not found on addressed line Block special file Teletype Character special file Directory Pascal object Overlay executable Executable Pure executbable Separate executable Archive Old archive Non-ascii file Fail|Substitute pattern match failed Substitute needs re|Missing regular expression for substitute No previous substitute re|No previous substitute to repeat No previous re|No previous regular expression Replacement pattern too long@- limit 256 characters Line overflow@in substitute - limit 512 chars Can't undo in global@commands Nothing to undo Nothing changed|Last undoable command didn't change anything No visual in this version Visual requires addressible cursor Visual requires clear screen capability Can't use visual mode unless open option is set At TOP|At top-of-file At EOF|At end-of-file Can't fit any complete lines on screen Don't know enough about your terminal to use %s Terminal too wide Screen too large for my buffer Blank required@before filename Write forms are 'w' and 'w>>'@- use 'w!' and 'w!>>' to override checks Can't 'w' partial buffer to edited file@- use 'w!' to override checks File exists@- use "write! %s" if you really want to overwrite it Line too long@after expansion of tabs At EOF At EOF Hit BOTTOM Hit TOP install4ÓW¤�ªrm /usr/bin/ex /usr/bin/edit cp a.out /usr/bin/ex ln /usr/bin/ex /usr/bin/edit chmod 711 /usr/bin/ex chown bin /usr/bin/ex cp ex1.1strings /usr/lib echo New ex installed load4ÔWí�(ld -X $1 crt0o lib ../lib/libX.a -lc -l makeex4VÒ¤�{set time=3 verbose rm lib if ! -r temp mkdir temp rmtree -fv temp mkstr ex1.1strings temp/ ex*.c chdir temp cpall ../*.h . cc -c -O *.c mvall *.o .. cc -c -O -DUNIMP ex_vmain.c ex_ca.c ex_voperate.c ex_vops.c ex.c ex_vadjust.c ex_cmds.c ex_pack.c chdir .. as -o crt0o crt0.s as -o printf.o printf.s as -o wait.o wait.s as -o putchar.o putchar.s ar r lib ex.o ex_cmds.o exd.o ex_put.o ex_print.o exv.o ex_vmain.o exs.o chmod 644 lib as -o reset.o reset.s ./version cc -c Version.c ar r lib *.o size *.o >sizes rm -f *.o sh load -n mv a.out a.outNOID mvall temp/*.o . ar r lib *.o rm -f *.o sh load -i size a.out >>sizes rmtree -fv temp cprintex4ÔWí�.pr printex READ_ME SETUP SYSDEP pr makeex comp load install version ls -ls | pr ; pr sizes cxref *.c > XREF ; pr XREF chdir ../man6 ; nroff naa ex.6 edit.6 ; chdir ../ex-1.1 pr ex*.h ex.c ex_*.c ex?.c pr *.s chdir ../exrecover ; pr setup make* install ; pr exrecover.c expreserve.c chdir ../man5 ; nroff ../man6/naa htmp.5 ttycap.5 ttytype.5 pr /etc/ttytype /etc/ttycap chdir ../man6 ; nroff naa sethome.6 ttytype.6 chdir ../s6 ; pr sethome.c ttytype.c htmp.c ttycap.c typeof.c chdir ../man7 ; nroff ../man6/naa ttycap.7 htmp.7 typeof.7 chdir ../s7 ; pr *.c printf.s4ÔW¤� / C library -- printf .globl _printf /.globl pfloat /.globl pscien .globl _putchar .globl csv .globl cret _printf: jsr r5,csv sub $126.,sp mov 4(r5),formp / format mov r5,r4 add $6,r4 / arglist loop: movb *formp,r0 beq 1f inc formp cmp r0,$'% beq 2f 3: mov r0,(sp) jsr pc,*$_putchar br loop 1: jmp cret 2: / clr rjust clr ndigit / cmpb *formp,$'- / bne 2f / inc formp / inc rjust 2: jsr r3,gnum mov r1,width / clr ndfnd / cmp r0,$'. / bne 1f / jsr r3,gnum / mov r1,ndigit 1: mov sp,r3 add $4,r3 mov $swtab,r1 1: mov (r1)+,r2 beq 3b cmp r0,(r1)+ bne 1b jmp (r2) .data swtab: decimal; 'd / octal; 'o / hex; 'x / float; 'f / scien; 'e charac; 'c string; 's longorunsg; 'l / unsigned; 'u / remote; 'r 0; 0 .text decimal: mov (r4)+,r1 bge 1f neg r1 movb $'-,(r3)+ br 1f longorunsg: cmpb *formp,$'d bne unsigned inc formp br long unsigned: mov (r4)+,r1 1: jsr pc,1f br prbuf 1: clr r0 div $10.,r0 mov r1,-(sp) mov r0,r1 beq 1f jsr pc,1b 1: mov (sp)+,r0 add $'0,r0 movb r0,(r3)+ rts pc long: mov (r4)+,r2 mov (r4)+,r0 mov r4,-(sp) mov r3,r4 mov r0,r3 tst r2 bpl 1f neg r2 neg r3 sbc r2 movb $'-,(r4)+ 1: jsr pc,1f mov r4,r3 mov (sp)+,r4 br prbuf 1: clr r1 mov $32.,r0 3: ashc $1,r2 rol r1 cmp r1,$10. blo 2f sub $10.,r1 inc r3 2: sob r0,3b add $'0,r1 mov r1,-(sp) ashc $0,r2 beq 1f jsr pc,1b 1: movb (sp)+,(r4)+ rts pc charac: movb (r4)+,(r3)+ bne 1f dec r3 1: movb (r4)+,(r3)+ bne prbuf dec r3 br prbuf string: mov ndigit,r1 clr r3 mov (r4),r2 1: tstb (r2)+ beq 1f inc r3 sob r1,1b 1: mov (r4)+,r2 br prstr /hex: / mov $1f,r2 / .data /1: / -4; !17 / .text / br 2f / /octal: / mov $1f,r2 / .data /1: / -3; !7 / .text /2: / mov (r4)+,r1 / beq 2f / tst ndigit / beq 2f / movb $'0,(r3)+ /2: / clr r0 / jsr pc,1f / br prbuf /1: / mov r1,-(sp) / ashc (r2),r0 / beq 1f / jsr pc,1b /1: / mov (sp)+,r0 / bic 2(r2),r0 / add $'0,r0 / cmp r0,$'9 / ble 1f / add $'A-'0-10.,r0 /1: / movb r0,(r3)+ / rts pc / /float: / mov ndigit,r0 / mov ndfnd,r2 / jsr pc,pfloat / br prbuf / /scien: / mov ndigit,r0 / mov ndfnd,r2 / jsr pc,pscien / br prbuf / /remote: / mov (r4)+,r4 / mov (r4)+,formp / jmp loop / prbuf: mov sp,r2 add $4,r2 sub r2,r3 prstr: mov r4,-(sp) mov $' ,-(sp) mov r3,r4 neg r3 add width,r3 ble 1f / tst rjust / bne 1f 2: jsr pc,*$_putchar sob r3,2b 1: tst r4 beq 2f 1: movb (r2)+,(sp) jsr pc,*$_putchar sob r4,1b 2: tst r3 ble 1f mov $' ,(sp) 2: jsr pc,*$_putchar sob r3,2b 1: tst (sp)+ mov (sp)+,r4 jmp loop gnum: / clr ndfnd clr r1 1: movb *formp,r0 inc formp sub $'0,r0 cmp r0,$'*-'0 bne 2f mov (r4)+,r0 br 3f 2: cmp r0,$9. bhi 1f 3: / inc ndfnd mul $10.,r1 add r0,r1 br 1b 1: add $'0,r0 rts r3 .bss width: .=.+2 formp: .=.+2 /rjust: .=.+2 /ndfnd: .=.+2 ndigit: .=.+2 putchar.s4ÕW¤�(/ / Funny entry points for the / insidious output routines / .text .globl _putchar, _outchar, _pline, _setlist, _setnorm, _setnumb .globl _normchar, _termchar, _normline, _numbline .globl _listchar .globl _Putchar, _Outchar, _Pline .globl _putNFL, _putnl, _flush _putNFL: jsr pc,_putnl jmp _flush _putchar: jmp *_Putchar _outchar: jmp *_Outchar _pline: jmp *_Pline _setlist: mov _Putchar,r0 mov $_listchar,_Putchar rts pc _setnorm: mov _Putchar,r0 mov $_normchar,_Putchar rts pc _setnumb: mov $_numbline,_Pline rts pc .globl _setnoaddr, _eol, _setcount, _newline .globl _setCNL, _setNAEOL _setCNL: jsr pc,_setcount jmp _newline _setNAEOL: jsr pc,_setnoaddr jmp _eol .globl _setoutt _setoutt: mov $_termchar,_Outchar rts pc .data _Putchar: _normchar _Outchar: _termchar _Pline: _normline reset.s4ÕW¤�</ C library -- reset, setexit / reset(x) / will generate a "return" from / the last call to / setexit() / by restoring sp, r5 / and doing a return. / The returned value is x; on the original / call the returned value is 0. / / useful for going back to the main loop / after a horrible error in a lowlevel / routine. .globl _setexit .globl _getexit, _resexit .globl _reset .globl csv, cret _setexit: mov r5,sr5 mov (sp),spc mov sp,ssp clr r0 rts pc _getexit: mov 2(sp),r0 mov sr5,(r0)+ mov ssp,(r0)+ mov spc,(r0)+ rts pc _resexit: mov 2(sp),r0 mov (r0)+,sr5 mov (r0)+,ssp mov (r0)+,spc rts pc _reset: jsr r5,csv mov 4(r5),r0 1: cmp (r5),sr5 beq 1f mov (r5),r5 bne 1b / panic -- r2-r4 lost mov ssp,sp mov sr5,r5 mov spc,(sp) rts pc 1: mov spc,2(r5) jmp cret .bss sr5: .=.+2 spc: .=.+2 ssp: .=.+2 setup4ÕWí�¬mkdir /usr/lib/how_ex chown bin /usr/lib/how_ex chmod 755 /usr/lib/how_ex cptree how_ex /usr/lib/how_ex : chownall -nbin /usr/lib/how_ex echo Be sure to \"setup\" etc also signal.s4ÖW¤�g/ C library -- signal / signal(n, 0); /* default action on signal(n) */ / signal(n, odd); /* ignore signal(n) */ / signal(n, label); /* goto label on signal(n) */ / returns old label, only one level. rtt = 6 signal = 48. .globl _signal, cerror _signal: mov r5,-(sp) mov sp,r5 mov 4(r5),r1 cmp r1,$NSIG bhis 2f mov 6(r5),r0 mov r1,0f asl r1 mov dvect(r1),-(sp) mov r0,dvect(r1) mov r0,0f+2 beq 1f bit $1,r0 bne 1f asl r1 add $tvect,r1 mov r1,0f+2 1: sys 0; 9f bes 3f bit $1,r0 beq 1f mov r0,(sp) 1: mov (sp)+,r0 mov (sp)+,r5 rts pc 2: mov $22.,r0 / EINVAL 3: jmp cerror NSIG = 0 tvect: jsr r0,1f; NSIG=NSIG+1 jsr r0,1f; NSIG=NSIG+1 jsr r0,1f; NSIG=NSIG+1 jsr r0,1f; NSIG=NSIG+1 / jsr r0,1f; NSIG=NSIG+1 / jsr r0,1f; NSIG=NSIG+1 / jsr r0,1f; NSIG=NSIG+1 / jsr r0,1f; NSIG=NSIG+1 / jsr r0,1f; NSIG=NSIG+1 / jsr r0,1f; NSIG=NSIG+1 / jsr r0,1f; NSIG=NSIG+1 / jsr r0,1f; NSIG=NSIG+1 / jsr r0,1f; NSIG=NSIG+1 / jsr r0,1f; NSIG=NSIG+1 / jsr r0,1f; NSIG=NSIG+1 / jsr r0,1f; NSIG=NSIG+1 / jsr r0,1f; NSIG=NSIG+1 / jsr r0,1f; NSIG=NSIG+1 / jsr r0,1f; NSIG=NSIG+1 / jsr r0,1f; NSIG=NSIG+1 1: mov r1,-(sp) mov r2,-(sp) mov r3,-(sp) mov r4,-(sp) sub $tvect+4,r0 asr r0 mov r0,-(sp) asr (sp) jsr pc,*dvect(r0) tst (sp)+ mov (sp)+,r4 mov (sp)+,r3 mov (sp)+,r2 mov (sp)+,r1 mov (sp)+,r0 rtt .data 9: sys signal; 0:..; .. .bss dvect: .=.+[NSIG*2] ,sizes6‹¤�$Version.o: 0+30+0=30 (36) ex.o: 812+60+0=872 (1550) ex_addr.o: 942+86+2=1030 (2006) ex_args.o: 208+16+0=224 (340) ex_ca.o: 86+18+10=114 (162) ex_cmds.o: 3368+656+10=4034 (7702) ex_file.o: 332+60+0=392 (610) ex_get.o: 1034+44+2=1080 (2070) ex_glob.o: 1304+40+34=1378 (2542) ex_graphic.o: 338+20+0=358 (546) ex_init.o: 424+24+0=448 (700) ex_io.o: 2026+178+0=2204 (4234) ex_libS.o: 102+0+0=102 (146) ex_note.o: 380+110+0=490 (752) ex_pack.o: 240+12+0=252 (374) ex_print.o: 550+78+0=628 (1164) ex_put.o: 1746+102+0=1848 (3470) ex_re.o: 1902+124+0=2026 (3752) ex_recover.o: 388+94+0=482 (742) ex_set.o: 1052+754+0=1806 (3416) ex_shift.o: 192+6+0=198 (306) ex_source.o: 304+0+0=304 (460) ex_subr.o: 238+0+0=238 (356) ex_tty.o: 444+54+0=498 (762) ex_unix.o: 552+80+0=632 (1170) ex_vadjust.o: 1536+0+0=1536 (3000) ex_vclear.o: 276+0+0=276 (424) ex_vcolumn.o: 164+8+0=172 (254) ex_vcurs.o: 730+12+0=742 (1346) ex_vkey.o: 230+16+0=246 (366) ex_vmain.o: 4352+276+2=4630 (11026) ex_voperate.o: 1348+182+4=1534 (2776) ex_vops.o: 2090+144+0=2234 (4272) ex_vset.o: 318+0+0=318 (476) exa.o: 250+0+0=250 (372) exd.o: 330+0+0=330 (512) exg.o: 548+24+0=572 (1074) exh.o: 676+46+0=722 (1322) exj.o: 178+0+0=178 (262) exm.o: 616+0+0=616 (1150) exo.o: 524+0+0=524 (1014) exr.o: 444+52+0=496 (760) exs.o: 1344+90+0=1434 (2632) exu.o: 624+14+0=638 (1176) exv.o: 936+36+0=972 (1714) exw.o: 442+6+0=448 (700) exx.o: 318+12+0=330 (512) exz.o: 742+60+0=802 (1442) printf.o: 362+20+6=388 (604) putchar.o: 76+6+0=82 (122) reset.o: 94+0+6=100 (144) wait.o: 20+0+0=20 (24) 41728+3920+5038=50686 (142776) ttycap4×W¤�†l1|11/10:0:0:? ca|adm3a|3a:0177440:0000332:li#24:co#80:cl=^z:ho=\036:nd=^l:up=^k:am:bs:ca cl|adm3:0177440:0000332:li#24:co#80:cl=^z:am:bs td|decwriter|dw2:0177444:0000332:co#132:bs:os:am pd|dtc300s|diablo|dtc:0137446:0000330:if=/usr/lib/tset.dtc_tabs:co#132:\ hu=\EH:hd=\Eh:up=^z:bs:it:os:pt:pl du|dialup:0:0: pg|gsi:0137446:0000330:is#1:co#132:hu=\EH:hd=\Eh:up=^z:bs:it:os:pt:pl g0|gt40:0177444:0000332:li#30:co#72:bs:os g2|gt42:0177444:0000332:li#40:co#72:bs:os ch|hazeltine2000:0177440:0000332:bs:ca lh|hp21mx:0:0:? cH|hp2645|2645:0177440:0000332:li#24:co#80:cl=\E&a00c00Y\EJ:ho?:nd=\EC:up=\EA:\ am:bs:ca:it:ce=\Ek\ pt:al=\EL:dl=\EM:ce=\EK:cd=\EJ gk|tek4014:0177444:0040332:co#120:li#56:bs:os:cl=\E^l:is=\E\: ct|teleray:0177440:0000332:co#80:li#24:cl=^l:bs ti|ti700|ti|ti733:0151440:0020332:co#80:bs:os t3|teletype|tty|33|35:0157440:0020336:co#72 t7|tty37|37:0:0:bs:os:hu?:hd?:up? un|unknown|u:0:0: version4×Wí�·: '(cd .. ; ls -d ex-* | sort | tail -1) >/tmp/$$' echo ex-1.1 >/tmp/$$ date >>/tmp/$$ ex - /tmp/$$ 1s/.*\.// 1s/^/Version 1./ 1s/$/, / 2s/....// s/..............\(....\)$/, \1/ g/ /s// / g/Jan/s//January/ g/Feb/s//February/ g/Mar/s//March/ g/Apr/s//April/ g/May/s//May/ g/Jun/s//June/ g/Aug/s//August/ g/Sep/s//September/ g/Oct/s//October/ g/Nov/s//November/ g/Dec/s//December/ 1join 1s/.*/char version[] "&";/ w! Version.c q rm /tmp/$$ 0wait.s4×W¤�ó/ C library -- wait / pid = wait(&status); / / pid == -1 if error / status indicates fate of process .globl _wait, cerror _wait: mov r5,-(sp) mov sp,r5 sys wait bec 1f jmp cerror 1: mov r1,*4(r5) / status return mov (sp)+,r5 rts pc amakedistrib4¸Z¤�": make ex binaries for a distribution tape cp ex.h ex.h.bak ed - ex.h 1c /* #define VISUAL */ . w q echo NOVISUAL sh -v makeex mv a.out a.outNOVISUAL mv a.outNOID a.outNOVISNOID mv lib libNOVISUAL ed - ex.h 1c #define VISUAL . w q sh -v makeex echo DISTRIBUTION READY IF NO ERRORS OCCURRED pid == -1 if error / status indicates fate of process .globl _wait, cerror _wait: mov r5,-(sp) mov sp,r5 sy.nr LL 7.5i .ce 2 Ex documentation corrections .sp .SH Table of Contents .PP On page ii under .B "Summary Tables" change .I "Open and visual targets" to .I "Open and visual operations." .SH Crash Recovery .PP It is no longer true that you must have had a current file name to recover after a crash; files with no name are arbitrarily named ``LOST''. .PP Also note that if the system crashes you will receive mail when it comes up telling you of the name of the file saved for you if you were in the editor. .SH File command .PP The .I file command description should begin ``The current filename'' not ``The current file'' as the editor does not have a current file, only a current filename associated with a buffer. .SH Visual Command .PP The .I visual command may take a trailing count indicating the number of lines to be used (physical) in the window. The default for this count is the value of the .I window option. .SH Visual Operations .PP The operations ``e'', ``E'', ``<'' and ``>'' are implemented unless you are on a machine without separate I/D space (Evans "D" system) in which case the features ``0CTRL(d)'' and ``^CTRL(d)'' with .I autoindent in .I open and .I visual also don't work. .SH Ex manual section .PP Add the following bugs: .IP Lines which are .I changed or .I joined lose marks; it would be better for the marks to be attached to the (first) new line. .IP There should be an option for maintaining a perfectly clean screen in .I visual and open on very fast (or intelligent) terminals. .SH Ttycap data base .PP In the descripton of the ttycap data base, change ``set and cleared'' to ``cleared and set'' in the second line of the third paragraph. Refer to stty (II) for more information about the flags described in this paragraph. s: .IP Lines which are .I changed or .I joined lose marks; it would be better for the marks to be attached to the (first) new line. .IP There should be an option for maintaining a perfectly clean screen in .I visual and open on very fast (or intelligent) terminals. .SH Ttycap data base .Phelp 12/15/77 help The ex help command provides access to a data base about the edi- tor for interactive use. So far only a small amount of information has been prepared for this data base. The prepared information currently concerns the editor crash recovery mechanism. Type "help recover" or "help index" for more details. a perfectly clean screen in .I visual and open on very fast (or intelligent) terminals. .SH Ttycap data base .Pindex 12/15/77 index The following information is available through the ex help com- mand: lostlines About the "lost lines" diagnostic from "recover" recover About the "recover" command saferecover Precautions when using "recover" To get, e.g., the "recover" information do help recover inside of the editor. ly clean screen in .I visual and open on very fast (or intelligent) terminals. .SH Ttycap data base .Plostlines 12/15/77 lostlines If you get a message indicating that lines were lost during a "recover" command, this means that the data base the editor saved in- dicating your files state at the point of crash was inconsistent and that a few of the lines could not be saved. These will always be the last few lines you changed, and the text of these lines will be re- placed by the string "LOST" so that they will be easy to find. H Ttycap data base .Precover 12/15/77 recover When the system crashes or the editor bombs you should be able to recover the buffer you were working on to within a few lines of changes of where you were. When the system reboots, you may receive mail telling you the name associated with the buffer which was saved. You can then recover this file by executing the editor in the directo- ry where the file belongs and giving the editor the command: recover name where "name" should be replaced by the name of the file you lost. Before writing out the retrieved file buffer you should note the date it was saved. It is possible for more than one buffer to be saved for a particular file. In this case, a single "recover" command will retrieve one of these (arbitrarily). To get the other saved buffers you can issue more "recover" commands. For more information about precautions you should take when re- covering a file do "help saferecover"; for information on the "lost lines" diagnostic during recovery do "help lostlines". g out the retrieved file buffer you should note the date it was saved. It is possible for more than one buffer to be saved for a particular file. In this case, a single "recover" command will retrieve one of these (arbitrarily). To get the other saved buffers you can issue more "recover" commands. For more information about precautions you should take when re- covering a file do "help saferecover"; fsaferecover 12/15/77 saferecover It is good practice to write a recovered file to a new file and to use the "diff" command to make sure that the recovered file is "sensible" before continuing. Thus after recovering a copy of the file "name" we might issue the editor command: write newname and then leave the editor and do a diff name newname If all seems ok then we can mv newname name and continue by editing the file "name" as usual. 12/15/77 saferecover It is good practice to write a recovered file to a new file and to use the "diff" command to make sure that the recovered file is "sensible" before continuing. Thus after recovering a copy of the file "name" we might issue the editor command: write newname and then leave the editor and do a diff name newname If all seems ok then we can mv newname name and continue by editing the file "name": loop if $1x = x exit nroff $1 | ssp >../how_ex/$1 shift goto loop er It is good practice to write a recovered file to a new file and to use the "diff" command to make sure that the recovered file is "sensible" before continuing. Thus after recovering a copy of the file "name" we might issue the editor command: write newname and then leave the editor and do a diff name newname If all seems ok then we can mv newname name and continue by editing the file "name".lt 70n .ll 70n .tl 'help'12/15/77'help' .sp .ti +5 The ex help command provides access to a data base about the editor for interactive use. So far only a small amount of information has been prepared for this data base. The prepared information currently concerns the editor crash recovery mechanism. Type "help recover" or "help index" for more details. and then leave the editor and do a diff name newname If all seems ok then we can mv newname name and continue by editing the file "name".ll 70n .lt 70n .tl 'index'12/15/77'index' .sp .ti +5 The following information is available through the ex help command: .in +5 .sp .nf .ta 1.5i lostlines About the "lost lines" diagnostic from "recover" recover About the "recover" command saferecover Precautions when using "recover" .fi .in .sp To get, e.g., the "recover" information do .sp .ti +8 help recover .sp inside of the editor. diff name newname If all seems ok then we can mv newname name and continue by editing the file "name".ll 70n .lt 70n .tl 'lostlines'12/15/77'lostlines' .sp .ti +5 If you get a message indicating that lines were lost during a "recover" command, this means that the data base the editor saved indicating your files state at the point of crash was inconsistent and that a few of the lines could not be saved. These will always be the last few lines you changed, and the text of these lines will be replaced by the string "LOST" so that they will be easy to find. newname name and continue by editing the file "name".ll 70n .lt 70n .tl 'recover'12/15/77'recover' .sp .ti +5 When the system crashes or the editor bombs you should be able to recover the buffer you were working on to within a few lines of changes of where you were. When the system reboots, you may receive mail telling you the name associated with the buffer which was saved. You can then recover this file by executing the editor in the directory where the file belongs and giving the editor the command: .sp .ti +8 recover name .sp where "name" should be replaced by the name of the file you lost. .sp .ti +5 Before writing out the retrieved file buffer you should note the date it was saved. It is possible for more than one buffer to be saved for a particular file. In this case, a single "recover" command will retrieve one of these (arbitrarily). To get the other saved buffers you can issue more "recover" commands. .sp .ti +5 For more information about precautions you should take when recovering a file do "help saferecover"; for information on the "lost lines" diagnostic during recovery do "help lostlines". +5 Before writing out the retrieved file buffer you should note the date it was saved. It is possible for more than one buffer to be saved for a particular file. In this case, a single "recover" command will retrieve one of these (arbitrarily). To get the other saved buffers you can issue more "recover" commands. .sp .ti +5 For more information about precautions you should take when recovering a file do "help saferecover"; for information on the "lost lines" di.ll 70n .lt 70n .tl 'saferecover'12/15/77'saferecover' .sp .ti +5 It is good practice to write a recovered file to a new file and to use the "diff" command to make sure that the recovered file is "sensible" before continuing. Thus after recovering a copy of the file "name" we might issue the editor command: .sp .ti +8 write newname .sp and then leave the editor and do a .sp .ti +8 diff name newname .sp If all seems ok then we can .sp .ti +8 mv newname name .sp and continue by editing the file "name" as usual. 70n .lt 70n .tl 'saferecover'12/15/77'saferecover' .sp .ti +5 It is good practice to write a recovered file to a new file and to use the "diff" command to make sure that the recovered file is "sensible" before continuing. Thus after recovering a copy of the file "name" we might issue the editor command: .sp .ti +8 write newname .sp and then leave the editor and do a .sp .ti +8 diff name newname .sp If all seems ok then we can .sp .ti +8 mv newname name .sp and continue by editing the file "name" as usueÿex.o6ë¤�2Jw üÿÆåÄôÿü¥a÷e æÿð¥dð¥d7 €÷f7 NÄe÷ ¼ÿ÷ ¸ÿ÷ ´ÿÎæß Ö 7¢ÿÎæß Ö 7�ÿÎæß Ö À5 À7�pÿ ß 7fÿ5Šøÿ5Šöÿ7÷¸ÿ7 dÿ7 õ•öÿ(ü¥-+œà ìÀÁ47h þy ·Šÿ7 èÿ·Šÿ õ•øÿ ÎÿæPß Ö ÷ öþ÷ òþÄe÷ êþÑ÷‹äþ ÷ ÞþÎcß ÷ Ðþ7ŠÌþ7Èþ÷ v5Šòÿ÷ ¼þõ‹òÿµŠòÿ÷‹®þΊæß Ö õ‹öÿ@�øÿß Îxß ÷ €þ÷ |þ÷ tþ÷ nþ÷jþhþ÷ dþ÷ ^þ÷ bþÎæß Ö ÎFþæß Ö õ•þÿôÿ÷ þ÷ .þõ‹ôÿµŠôÿ @�ôÿ&ß Ö Àå ‚À xL÷ þ¾7 üý÷ þÎæß Ö 7 ìý÷ ¬Îß ´÷ Òý÷-ÌýÊý÷ Äý ß ÷ºý¸ý÷ ¼ýÎæß Ö 7 ¨ý÷ hΘýß æŽý& ß –%«÷ €ýÁ÷exý„w rýΊæß Ö ÷ `ý÷ ZýÎ/ß wNýw JýÀFý7Bý7>ý÷:ý8ýw4ýw 0ý÷ ,ýÎ(ýÎeß Àý7ý7ý7ýÀ ýÀe7ý÷•þüÀúüÀeüÿ7òü7 îü7 $ý À ð„ Ä%÷7 ÒüwÎüanoprÞ®ðäêø|úUnknown option %s Recover which file? unY I™™™9ù (Ù(é( X©™™™¹™Øé999Øé ) (x˜©YYIYIYYùøøèøè)(YIùøøèùhYIY™¨YIùøøèùYÈYhYY(éIhùY9YI ùY9 ©H ©yIiIYù©™¹™Xyù_ruptibl _ingloba _inopen _inconf _listf _endline#2_laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _G _xargv0 _xargv _argv _xargc0 _xargc _argc _gargc _vyancnt _main"L100044L10005>L13ÞL20003®L16ðL14äL15êL17øL10008LL38|L39ú~maincsv oopøÿnopöÿiniteôÿreenteròÿaxargv0cL4L10000.L5<_draino _helpini _onhup _signal L10001ˆL10002Œ_sbrk L6L20001¤L9 L20005ºL7L10006ÖL18P_printf _flush L194L20c_rewind"²_setexit L26|L22b_onintr"ŠL23t_initopt L25x_setterm _notearg L28’L30ÊL31¶_strcpy _init"ÌL32ÒL34Ü_command L35*L41L46_error L100098L42B_cleanup _exit L43\_plural ~onintrŠ_pstop cret ~rewind²~initÌi_fileini _brk L20007ex_cmds.o6÷¤‘`6: � ¼w üÿÆå÷ ¦ õðÿøÿõ%ÿÿ_”5 Ãe÷‹Öÿ_x7ŠÌÿ_¢÷ ¼÷ p õºÿøÿ÷‹´ÿ÷ ®ÿ÷ ÷ t÷ žÿõ ÷‹’ÿ ÷‹Œÿ Î:ß õ•ôÿ÷ xÿ÷ tÿ7 pÿ÷lÿjÿ÷ fÿ÷ `ÿÄ Ã%,%ÄPÿ7LÿÃ%;Ã,7>ÿÃ%,ä÷ 4ÿ÷.ÿ,ÿÎß H À r Á Áe¾ A! þyZ÷ ÿæ÷ÿþþâ÷ øþÀ%r(ÎÈß \ ÷ æþ ÷ ø À ÃØþÃíÔþ÷ ä Ã-Ìþ/ÀÀ ÀmÂþÀÁºþÁí¶þ@à€ &æÍß –%ƒ éÎÖß \ ÷ –þ÷ ª 7�Žþ÷ ž ÷ †þ΂þß æß Ö õnþøÿ7Šhþ÷‹.õ-^þøÿ_8÷ dþ_8÷‹Hþ_8÷‹>þ_87Šþ õ0þøÿ÷-*þ(þ_8Àî À Àmþ7þ7þÀ- þ‚À-þ†ÎÜß ÷ øý_r÷ ðýÁ` 7N  þy÷ Üý÷ ØýÀ%mÎÝß v ÷ ÆýÃ%|úÎß  À õ£Îåß v ÷ ¦ýœÎêß \ ÷ –ý÷ ’ýÀ%d1Îíß v ÷%/†ý÷ � ÷ ô÷ ný÷ jýß  À ÷ pÂ÷ RýÂŽß À Žß ÷¥/8ý_”7 hý_”Î: ß v ÷ 6 7�ý÷ ýÎýß ÷ ýÎýÎeþÿ_„Î: ß \ éÎóß \ ÷ èü÷ äü÷ àü_”÷ ØüÁ| 7P  þy÷ Äü÷ ÀüÀ%p Îúß v ÷ ®üÎß _”Îß v ÷ ® À ÷ ŽüÃEÎß Ã%E÷xüvü÷ ô÷ nü÷ jü÷füdü·Š`ü÷ Îß _ŽÎß \ ÷ Fü÷ BüÀÁp 7ª  þy÷ *üÎß  À í_”÷ üÎß òÎ ß \ µÎß \ ÷ øûÎß ÷ îû_”Îß \ ÷ öÀ  Îß _ŽÎß \ ÷ ¾û÷ ºû÷ Î7�²û÷ Â÷ ªûΦûß ÎžûÎeþÿæß Ö ÷-ŒûŠû_Ž÷-€û~û‡_Ž÷tûrû_ŽÎ!ß \ ÷ z÷ \û÷ Xû÷ h÷-PûNû÷-HûFû ÷-@û>ûÎß ÷e,ûÎß _”÷ ûÀ%a.Î&ß \ ÷ û÷ ûÎß  À ÎøúæUß Ö ÷ þÎß À Î~ß ÷ Ôú÷ ÐúÀÀ ÁÈúÁEp>ÿ_”Î+ß \ _VÎ0ß \ ÷ ¤ú7Šj _Ž7Š˜ú÷•�ú÷ Œú÷ ˆú÷-‚ú€ú룧 ÷ rúÃ% ÷‹fúà À\úÀe7Tú÷PúNú÷ Jú÷ FúÎBúß Ã% Î‹ß õ‹ôÿ÷•$úÎæúæúß Ö –%_”Î5ß \ ÷ ú÷ þù5÷ øù÷•À ÷ À-÷ èùÀår =‚À xˆ Î:ß \ ÷ Ìù÷ X÷ Äù_”÷ ¼ù÷ ¸ùÀ%e ÎP ß v ÷ 6÷ ¢ù_”ÎB ß v ÷ ’ù7ŠX ÷ Šù÷ †ù°Á€ùÁí|ù@€ rÀ-pù¥Îšß  ÎB ß \ â÷ VùÀ%u Î>ß \ ÷ Dù÷ @ùÖÎEß \ ÷ 2ù÷ °÷ *ùÀ ÷"ù ùÀwùÎùæß Ö ÷ùùÀùÀe 7øø÷ ôøÀéÎJß \ ÷ âø÷ `÷ hà 7 Ðø Ø÷ ÈøÀ%ea÷ ¾ø÷ ºøÁ� 7H þyÎOß v ÷ žø÷ ÷ ªÎÎVß v ÷ ˆø÷ „ø_”ÎH ß v ÷ tøÃe÷ „À ÷ døÃEÎß Ã%E÷NøLø÷ Ê÷ Dø÷@ø>ø·Š:ø÷ ø÷ 2ø÷ .ø÷ *ø÷ &øÎß ÷-øø_Ž÷ ¾_ŽÎZ ß v ÎZ ß \ ÷ ü÷÷-î÷ì÷ÃeÎß _¤÷ Ø÷Á  7x þyÎ\ß \ ÷ ¼÷÷ ¸÷ß _”Î`ß \ ÷ ¢÷ & æfß _ìÎiß \ ÷ †÷÷ ‚÷ æß Ö _”Îpß \ ÷ f÷÷ b÷_”÷uX÷Ã%sÎN÷ß \ Îß À _”7Š_”÷ 0÷À%aÎ€ß \ ÷ 6÷ ÷Îæß ÊΉ_HÎ”ß \ ÷ øö÷ ôö÷ ÷ þÎß _”÷ ÜöÀåe ‚À x´ 몧 \ ÷ ÀöÎæ¡ß Ö ÷ ®ö_”봧 \ ÷ žö_\Î¬ß \ _&먧 \ ÷ ‚ö÷ ~ö_ŽÎ´ß \ _N뼧 \ ÷ bö÷ î÷ Zö_”÷ RöŠ÷ `÷ HöÁDöÁí@ö@€ ræ¿ß _ˆ÷ &ö_”õöÿ÷ öµ öÿ÷ öÀ ø÷ öNöÿæß _ˆõ‹_0 ß À%ÿÿ_0÷-ÚõØõ÷ Òõ÷ Îõ÷ÿÿÈõ@�ôÿß _”ÎÃß \ ÷ ®õ÷ ªõ_”Îß À ÷˜õ æÈß Œ Ö Îæºß _ˆw zõ÷ ŽÀ Àwjõ÷ fõ7 `õ7 \õÎàß ñw Lõ· Hõ÷DõBõw>õw :õ7 6õ7 2õ7 .õw*õw &õDCÎß ÁÁíõ@€ rß õ‹÷øôÃe!ê†wìôw èô÷ –÷ àô rÁ Áe†A! þy÷ Ž·Š„ê· „ú·Š®ô÷·Švô·Šnñ7Šœôîß  À ÎŒôæüß Ö Ä%ÿÿ7xô÷ Fwpôw lô÷ hô÷ dôß  À Î1ß wNôw Jô7ŠFô7Š7Š 7Š7 ÷ w.ôw *ô÷‹ò÷‹î÷ Âô÷ ô÷ ô÷‹ô÷‹Ð÷ |ô÷ öó÷ ðó÷ ìówèów äó@Á¸7– þy÷•ÊóÀwÂó7оóù ùw ´ów�€÷Ò¨ów¤ów  óÎfß Œ Ö @wŠów †óÎfß Œ Ö wtów póDÆå7dóCÃeæÿ•õ õ ú ÷ Jó“@ ÷ @ó�„ Ì‹õ÷ 4óŽß À Â%lÂ%p÷ ó�@ÀeùÿÀ †÷ óß À ñ ŠNÎeæÿæaß Ö wèòw äò÷ àò÷ ÜòÀ%!÷ ÒòÀwÊò üchangeprintrecoverpreservereaddho\f \|äÒêcx®8ò@œœ(csw€lVöehoy8RnŽ¢4 f f f V Ò Ü æ ð ø  ",    q   Z òü¢Z j Þ Z ¢$¦r Z üP† Z ’ Z F ª Z  Ö Þ 64Z ° ’$dZ ¸Þ ðÌŒ˜¢/68f  T > N ` f  Z H > ÿÿ |0 0 > D args%6d %s appendcommentCopycdchdirdeleteexpandexechoeditfileglobalinsertjoinmarkMoveopenlistputnumbernextquitrewindresetsetshell-isourcesyncsubstitutetabulateTranscribeundoversion%s visualvwritexpandyank%d help‰ ¹™¹‰ ™™9yY¨ ‰ ¹ 99)Ù é i9i)9))i9i © 9I9 9I)i99Hhx¹‰¹™Y¹Iyi9)YyÈÙi é i é yé i ùùi x)è8Xé™iy)H‰)y‰©i é i yø¹8IY© YI9iˆùé Éé ¨ © 8ÉH)ii99H9hxIiIyYi‰i9)y)YyÈ9¸i ùé ‰ÈøÈ)i9XIYYy9yiÈ©i99))i)¸¨ ‰9)y yi )Yé i yyi‰9)9¨ i y¹© ÙIY ùi9ù 9© Yi é i © ©¹© ¹8IYYI9iÙéù™IyùIy8i © ùx©¨© )èÈ©ù‰‰(i yh© ™¨i ©¨‰ é)‰Yi9I‰é i y¸ÈIyÉyYh© ùøYȉ  ¹¹Éȉ ÙÙ¹ ‰ ¹ÙÉ ‰ ¸Ii ‰ é II‰ÈY ‰ ùé È ‰ I ‰ ™¹ÈyI™   ‰ Y Y‰ ‰ ‰  ‰  ‰ ‰i é i øé i øÈ ‰ ùi é _ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _G _xargv0 _xargv _argv _xargc0 _xargc _argc _gargc _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _version _CHANGE#: _PRINT#B _RECOVER#H _PRESERV#P _READ#Z _pflagÊ_nflagÌ_kflagÎ_poffsetÐ_command"L10003` L10004f L53\L56fL46 L65L10007p L10008t L83äL82ÒL84êL10011| L10012€ L75®L718L85òL10017ˆ L130@L132œL128(L10019� L10020– L150€L148lL146VL144öL10023  L10024¨ L1608L162RL165nL167ŽL170¢L10027´ L1834 L181f L186V L10031¾ L10032Ò L10033Ü L10034æ L10035ð L10036ø L10037L10038 L10039L10040"L10041,L209Z L43 L120òL178üL114jL66 L106ÞL180 L68$L134¦L189r L89üL110PL191† L122L91L125L193’ L207F L139L195ª L204 L198Ö L200Þ L936L1424L196° L34L96’L157$L112dL124¸L103ðL174Ì~commandcsv nopromptexitoneoaddrcplchngflaøÿcntöÿhadprôÿ_resetfl"² L13”L12xL11¢L158L19BL20Œ_flush L21ˆ_putchar _TSYNC L24�_address _getchar L25°L26öL22ÂL23ÈL31Ô_tailspe"H L10030î_peekcha L35^L36È_tail"\ _setnoad _exclam" L37,_newline" L380L41Í_printf L42Ö_setdot _deleten _setin L20003„_gettty _append L20000ŽL10000ÈL10001üL17_error _setdot1 L18rL10005L47NL48Ý_tail2of"v L516_endcmd" L52åL20007V_move L54êL55|L57ÖL58íL59ŠL60Ž_quickly"‚ _skipwh L61ªL62²_getone _chdir L63Â_filioer L44Þ_setCNL _delete L67ó_appendn L100130L72^L73úL20010N_xpand _xop L74L69f_filenam L88Ž_init _sync" L20012¤_rop L76L79ºL10009Ê_putnl L77ÖL86 L90L92L10014*L20024&L10015._global L94_nonzero L97!_setcoun L98ÔL99Î_join L107DL108&L104_letter L105(L109+L20013HL1110_oop L20014\L113p_notempt L115¬L116ŠL117 _getline L118Ü_plines"Ö L20019ìL1215_setlist L20004n_setflav"Ò L129:_eol"� _PUT L131b_preserv L126jL135ÂL136>_setnumb L137E_getargs L138èL8äcret _glob L20021_rewind L140JL1410L143L10021NL147OL149V_setNAEO _REset L152¸_recover _rop2 _revocer L153â_rop3 _change"° L155L156L100250L161\_set L163`L164f_unix2 L166i_source L20022ˆL168p_synctmp L171uL172¶_substit L20023ÄL175ôL176€_tabulat L177‰L179”_markDOT _undo L184™L185¡L187¥_vop L188¬L190®_setall _wop L192´L194º_yank _zop L197¿_unix L201î L20006æ _shift _gTTY L2062 L208Ã_helpthe L32t L210È_tailof"Œ ~quickly‚ L214– L213’ L215¬ ~change° ~sync ~plinesÖ adr1adr2movedotaddrL225 L20026ä _pline L227 L10044†L10045ŒL10046˜L10047¢L245f L232 L240T L237> L239N L242` L241Z L238H ~newline cL100436 L234B L246~ L247ˆ ~eol� L250® ~resetfl² _Pline ~setflavÒ L10048è L258î L259ô _normlin L10049 L260 L261 _setnorm _setoutt L10051¸L10052¾L2680 L269> L265D ~endcmd chL10053( L200276 L264: ~tailspeH cL273ÒfoocmdÒ~tail\ comm~tail2ofv comm~tailofŒ commicpccommandæÿL283ª L20029¤ L286Ä L20031² L287È L282 L291ä L290 ~exclam L2956 L2942 exd.o6�¤�ôJPw üÿ÷ øÿ÷ ôÿ÷‹ðÿ÷‹êÿ÷ t÷ ÷ ÚÿwÖÿw ÒÿÄÎÿÃÊÿÃeÂÂÿÁá@€ rÀ 7à°ÿÁá@€ rÀ 7àžÿÁá@€ rÀ 7àŒÿÔƒ ý†Ä‚ÿÄ-~ÿ†Äxÿ7tÿwpÿw lÿæ Îæß Ö 5øÿ7ŠTÿÄPÿ÷LÿJÿÃFÿÀÃeÀ-<ÿÎ&ß Ö Î,ÿÎeæß Ö ÎÿÎe&ß Ö Áá@€ rÀ 7àþþÀeþÿ7ôþÄ-ðþ†Äêþ7æþNøÿæß Ö wÔþw Ðþ÷‹Ìþ7ŠÆþ÷ÂþÀþ÷¼þºþw¶þ)9)‰™)9‰‰Ùy)yyi™Xù)y‰9yxyxyxy¹yyiX™ùy‰)¹™_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _delete"~deletecsv _nonzero _change L4_deletem"�L5"_deleted"*_killed cret ~deleted*a1a2a3L11tL12ˆ~deletem�a1a2radsavintøÿ_signal L16ð_reverse L17_deleten",~deleten,L20Fex_put.o6—¤‘�Òf w üÿ÷‹øÿ÷‹òÿ÷ 2õ¥ ÷•Þÿ÷%ê‚÷ 4�Þ· Úõ¥ ÷‹ºÿ÷ j÷ w¬ÿw ¨ÿ÷ ÷ Bwœÿw ˜ÿ?ЍÄÒ_p•€Á7¦ þyÁtÿÀ 7rnÿ7`jÿ<÷ dÿ_p÷ Zÿd÷ TÿaÎNÿß ~7 Fÿ7 Bÿ7 >ÿ7 :ÿT÷ úÿ*· .ÿN÷ îÿ$÷e ÿ÷EÿDÁÿÀ 7rÿ€ 7`ÿ÷ ÿ ÁþþÀ 7røþÁ ÷ ðþ7 ìþ-÷ æþ*÷ ¦ÿ»÷ �÷‹Öþ÷-ÐþÎþ÷ ~ÂE€ÿŽß ¼Â%÷ ´þ÷ °þ Â% Â%· žþ· šþ•Â% ÜÄ Ì‹€÷Òšw‚þw ~þõ  @Ÿµ ß ¼ý‹öw^þw Zþ÷ ÷ Â÷ êwJþw FþÀBþÀ À-<þÁ6þÀ 7r0þ7`,þÁ(þÀ 7r"þwþÀþÀ À-þ7Áþ� À 7rþ7aþÁüýÀ 7röýwòý÷‹îý Î ß ¼÷‹ÞýÎ ß ¼Ä Ä ò7 ÊýÀÆýÀ À-Àý ÀºýÁ¶ýÁ @à7à®ýÀªýÀ 7¤ýÀ ýÀ À-šý+Ä”ýÀ�ýÀ 7ŠýÀ†ýÀ À-€ýÃzý÷‹vý÷‹pý7 jý÷ ÿ÷bý Î ß ¼Ä ÷‹Rý7 LýÀHýÀ !ñ÷->ý<ý ÷‹6ý÷ 0ý÷*ý(ý÷ ”À ÷‹ý÷ Üý ÷ ýß ~÷ýý÷ýþü÷ ðwôüw ðü÷ PýDÄíäüwÞü7 Øü÷ Šþ÷%caÎüÄ%üÿÄ%ÄåÄEøÿÄ Äe Îß ¼Îxß ¼Ä Ä õ÷ èüw�üw Œü÷‹ˆü w€üÄ|üÄíxüÄ ÷‹pü÷ jü ÷\üZüÃVüÄ ÷‹NüÃíHüà À a÷‹8ü÷‹2ü÷ ,ü„ Äm$üÄÄ%Ã%Æ÷ ÀÂw ü· þûÎ ß ¼÷‹òû÷‹ìû7 æû÷-âûàûî÷‹ÚûÀÔûÀíÐûÁÌû� @ ÷-ÂûÀû÷‹ºû Î ß ¼7 ¬û÷ ¦ûÎß ¼÷-šû˜ûõ÷ �ûÎŒûß ~÷-„û‚ûö÷‹|û÷‹vûÎ ß ¼7fûÄbûÄeÄEÄ-Vûñ÷-PûNû÷‹Hû÷ Bû ÷ <ûß ~÷2û0ûw,ûÎ(ûß ~Î ß ¼· ûàw ûÎ ß ¼÷ wûw üú· øúÀôúÀ À-îúÀèúÀ 7âú÷ÞúÜú 7Öú7ÒúwÎúw ÊúwmÄúwm¾úwºúw ¶ú÷‹²ú$÷ hû!÷ lû÷‹ ú÷ Pü÷ ÷‹’ú÷•ŠúÎß �÷•|ú÷|úvú÷EtúÎß ¦wdúw `ú7Š\ú÷Òj÷ P÷ Nú÷¥Hú7ŠBúw>úw :ú7 6úÀ2úÀ 7,ú÷ îú÷‹"ú÷ìÿú÷ìÿú÷ú ú÷úúwúw þù÷øù7 öù7 ôùwìùw èù÷‹äùÎèß Îß �÷•Ìù÷ÌùÆùÀÆùÀEÀU 7ºùÎß ¦÷•¨ùw¤ùw  ù7Šœù÷ ˜ù÷ Vÿw�ùw ŒùÎß w€ùw |ùÎ ß wpùw lùÎfß Ö wZùw VùÎfß Ö wDùw @ùÎfß Ö w.ùError message file not available /usr/lib/ex1.1stringsóó  Ô舨È"yÉIIÉ y y É    iù ™ ™   É  É ™iÉii i  y y yÉ  É É ÉiiÉùiÉiiÉi¹ùù¹¹ù¹¹¹ù ÉY  Éi¹ùY)ùY™i ù i yi  ù yy ùY)ù ÉiÉ©i yù©Éiù©i   iyii iù)ùY™ii  i)i  i iy yù¹ù¹ùùi  yi  y©™™ ÉÉ©©¹© yI ÉÉ y ¹™Yiù iù yÉÉÉ yy¸ ©©¹©©É yÉ  yÈø y( y¨X y¨ˆ yȸ _ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath#_names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _line#Ò_linp#_phadnl _termcha"~termchacsv cL5_pstart"FL6$L70_flush1"dL4P_fgoto"¶cret _flush"T~flushT_flush2"¢L10001L10002&L22L28ÔL29èL21L20ˆL25¨L27ÈL23"~flush1dlpcpcL16pL20001tL10003€L20002L20004˜_putS"~L32&L348_putch"¼L35RL36f~putS~cpL41˜L40žL20006Š~flush2¢_flusho"p_pstop"œ~fgoto¶lcL49âL50\L52.L516L20008L54,L56¾L59´L58–L20010 L62Ø_motion"pL48L63_cgoto _plod"ø_setcol" ~setcol coldelL68(L69hL10004@L71dL20012R~motionpvhcL76€L20013zL75|L77¦L10005˜L78 L10006´L80ÂL10007ÐL82ÞL83ØL84âL85î~plodøiL89L20015þL10008L93bL10009HL20017VL95xL20019lL100¬L98šL20021ŽL88ÐL102ÞL103ÔL104æ_partinp"ì~partinpì_noteinp"~noteinpL111_notech"2~notech2i~pstartFL117˜_gTTY"�_sTTY"¦~pstopœ_draino"þ_normal L120¾_termres"Â~termresÂL123úL125î~drainoþ_ostart"~ostartL133&_error _ostop"\~ostop\~flushop_fflush _putnl"€~putnl€_putchar ~gTTY�i_gtty ~sTTY¦i_stty ~putch¼c_putc ex_print.o6—¤�` &Nhw üÿDÄEÿÁ&7 þyÄ>Ä<÷‹ÔÿÎ-ß Îß ß šw¸ÿÎ$öÄ5€õÄ% Ä% Ä%ìÎ\ß Ä%Î1ß Ä?týÿÀe0ß ÄEøÿÄe0Òw bÿDÄEÿÄ5€ Á:7Š þyÄE€ÿ÷‹:ÿ ß À Î\ß ß ß wÿÃZÓ‹÷À”!ûÎ\ß Äœþÿíw ôþ÷‹ðþÎ ß ÌNæeß Ö ÷ wÐþw Ìþ÷‹ÈþÀ�Âþß Ì÷%¶þ÷ vÿÎæk)÷ ÿ÷‹šþ÷‹”þ÷ Žþ÷ Šþ÷ üþ÷‹€þ÷‹zþ÷‹tþÎ ß ÷%dþÎ ß Îænß Ö ÷‹Hþ÷‹BþÎŠß w4þw 0þ7Š,þ@�ÁJ7p þy÷%þ÷‹ þÎqß wþýw úý÷ öýNffß –%7ÞýwÚý Š$>HN€ˆ è¾ ðèðþ({)}!|^~'`%6d %s%s ˆÙ‰IÙÙ(HIÙ‰ØIÙ‰ 9™™)9iy™)9™Ø)9ØIÙ‰9‰ØIÙÙ Ø9I_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _Outchar _Putchar _listcha"L10003&L10004.L8$L6L4>L10HL11N~listchacsv cL10005L7(_outchar L20000:_normcha"šcret L10001`L10000fL13€L10007:L10008@L16èL17ÂL23¾~normchašccolpL10009¶L24â_uclette L25ì_letter L27ZL28ð_numblin"~numbliniL34_slobber"ÌL35e_printf _normlin"0~normlin0L39DL10010RL40\L41kL20002®L43r_doulg _dograph L42´_Pline L45¦L46nL38È_putchar L10012JL10013PL51ðL53èL50þ~slobberÌcL10014àL57q_lprintf"~lprintfa1a2a3P_setlist exv.o6¢¤‘d¨$¼ w üÿÆå„ ÷‹ôÿÎrß ÷ æÿÎ–ß ÷ ŠÎ¿ß ÀÊÿÀ 7ÄÿNÎezöß ô÷•´ÿ÷°ÿ®ÿ÷ ªÿ÷-¦ÿ¤ÿ ÷-žÿœÿ†÷–ÿ”ÿ÷�ÿŽÿ÷ Šÿ÷ †ÿÁ¨7* þy÷-nÿlÿÎðß 7‘^ÿ÷ Xÿ&÷-PÿNÿÎß ÷e>ÿ78ÿ7Š4ÿ÷ 0ÿ÷ ,ÿß À ãæ>Àÿ€å7ÿÀ-ÿÀ ÿÀ 7ÿ÷ ÿ7 úþ÷ öþ÷ðþ÷‹ìþ÷ æþÁâþÁíÞþ@€ r5vö÷ÎþÌþ7ŠÈþ÷ Úÿ÷5?¼þ ζþÎE?æß Ö ·Š¤þ÷  þ÷ X5xö÷ ”þÎß Nxöß À%î·ŠxþÎDÿæpþÎ ß Ö ÷ dþ7Š`þ÷ \þ÷ Xþ7ŠTþNvöß ÷ ÐwDþw @þÆå÷ ð÷•2þ÷ .þ÷ *þÀ�&þÁ¼7à þy÷ þ&À þÀíþ€åß 7üý÷ øý÷ ôý&ÀîýÀíêý€åß .ƒß Ä-Òý õÌýöÿÎß 5øÿ÷ ºýÂ`Â-²ý Î&ß Ö · ¢ýÄe÷ ˜ý&Á’ýÁíŽýÀ rÎÄ‚ý7 ~ý7 zýÂvýÄ-rýɆwöÿjý÷ fý7ŠbýÀ^ýœß ÷ &@øÿwHýw DýÎß ÷E :ýÎß w*ýw &ýÎß ÷U ýÎß w ýw ýD÷%èþüÎøüæFß Ö ÷% èüÎwß ÷%ØüÁÒüwpÎüÁ%€ÎŠß 7¼ü ÀÀ 0Äm®üƒ Ã%ö7¢ü7Šžü7 šü÷•”ü7Š�ü7ŠŒü7 ˆü÷ „ü÷Xý|üwxüw tü÷‹püÎjüæß Ö 7Š\üwXü+-.^¬žžŽÄ-.^dêzÉy( )( ™( Ù¹ùéÉi I9IyY)Y9‰ ™ Y9( ‰Ù y9( 9Y‰ ) 8 ™¹ù¹¹ùùùi x ù™ yI9iÙ™99(¸ ™É y(  )™Ù ) )9 I )X y ÉY i ‰‰ ¹ù˜ ii ‰ ¹ù˜ Ø iiø ‰ ¹ i‰ ¹ùiiyùyi9 yXH y Éx ©ˆ y Éx ©ˆ y Éé‰( é( ÙéÙ( ©˜éiYù)Ù)I ™ y É™9(¸ ™y _ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _visual _cursor _wcursor _tcursor _dir _vlast _vliny _vcline _vcnt _vch _vtube 0_vtube0 _VLINES _VCOLUMN _vmoving _vmovcol _Outchar _vholdmo _holdat _splitw _hadup _nextic _vundkin _vutmp _vulines 0_vylines 0_vresadd _vrescnt _vresCNT _vdelcnt _vrescur _vyancnt _wdkind _vSCROLL _Pline _Xhadcnt _Xcnt _lasthad _lastcnt _lastcmd _lastcp _workcmd _DEL €_INS €_vglobp _HADUP _HADZERO _CDCNT _ZERO _ogcurso _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _vop"L10001¨L10002°L14¬L13žL10ŽL16Ä~vopcsv catubezöicxölinesvöL4_error L5$L62_vok"ô_setdot L7r_nonzero _getchar L10003†L8ÌL20001¤_getnum L10005âL15¼L20002È_skipwh _peekcha _digit L17üL18_newline _vputcha L19_saveall L20\_chmod _ostart L23`_vinit"¼L21v_vmain _vigoto _vclreol _ostop _setoutt _netchHA _undiddl"ˆcret L10007¼L10008ÂL31L32dL30êL33z~vinit¼tpvoyvnyicøÿnvcöÿ_vcook"¸_vclear _getDOT L10009â_vdepth _vback L20006L28~L20008"_getline L37B_vskipwh L35�_vopen L34Š_flusho _vsync _vraw"Ö~vcook¸_gTTY _sTTY ~vrawÖ~vokôatubeiL47L48"L100108L49@L20010FL46„~undiddlˆL57 ex_vmain.o6¤‘ä:Š0`w üÿNß ÷ îÿwèÿw äÿÆå÷ ÜÿõÖÿ7 Ðÿõ•öÿ÷¥Äÿ7оÿ÷ õ¶ÿîÿ÷‹°ÿ_^À�¦ÿß XNß 7’ÿõ÷ ˆÿ÷ ‚ÿÀ%0õ•øÿ÷ \÷ jÿ÷ fÿ÷ bÿ÷ ^ÿß À ç 5�øÿ7�JÿÃ÷Bÿ÷ >ÿ7‘ò÷ 4ÿ ÀŸ.ÿ!À&ÿð‹_¾÷ ÿ ÀŸÿ!À ÿð‹f rÁ ÁeªA! þy>÷‹äþÎÞþÎ ß ÎÒþß ÷ Êþ¯÷ V÷ Àþª÷‹ºþ¥õ‹øÿ÷®þêþõ�¦þøÿ÷žþ­÷¥/ À¶À¸7†þ¡÷Š~þ�õ‹øÿ„÷ rþ÷ nþÄ^7Šdþß  rÁ ÁeTA! þy,Ã>þ7Š:þ ÷‹4þ ÷•,þÎ(þß 7� þ÷ ®ÁþÁíþ@€ rÀ ÁþÁíþ@€ rà _’ÀÀ 7àæýÃ-âý÷‹Üý÷•.ÔýÀwÌý÷àÈý_6÷ Àý_–Ä%'Ä{õªýìÿõ-¤ýìÿ‡À AìÿÁEp >ÿ õeìÿïß !ç_’õ-týìÿ%†_’õ‹øÿ ÁbýÁí^ý@€ rÃ%_’ÁFýÁíBý@€ rÀ _’ÀÀ Àm*ý5ìÿ÷ "ý÷ ° ÷•ÿÿýNìÿß Îß 7ý_6÷ üü_–ß !_’÷ t À ÁÚüÁEp>ÿ_–ÃÊüÃíÆüà à _”÷ ¸ü!õ‹øÿ÷¬üèü÷‹¤üÀžüÀíšüÀ 5ðÿ`7ŠŽü ÷‹ˆü ÷•€üÎ|üß 7�tü÷-pünü_’÷ ö Á`üÁí\ü@€ rÀ ÁLüÁíHü@€ r&À€å5àðÿõ ðÿ5 ðÿÁ(üÁí$ü@€ rÂüÂíü Ä% ƒ ÷`üÀÀ 7`úû_6ƒà€À 7`ìû·`èûÄ%÷‹Þû ÎØûæß Ö À-Ìû ÷•.ÄûÀÀ 7`¼û_,Îß Ä%_6÷-¤û¢û_6wíðÿ–û@ðÿÀ 7àŒû÷ ˆû_6À~ûÀ 7àxû7 tû_6õ‹øÿ_’Îaß ß Ä$_˜õ‹øÿ_’Îiß ß _”õ‹øÿ_’ß ÷ ûÿ‹ûÎaß _–Î$ß Äc_˜÷‹úú&õ‹øÿ_’÷ | ÷ æú÷ âú7ŠÞú÷ÚúØúÀÔúœÀ ß ·ŠÄú÷ Àú÷ºú÷ ¶ú÷•°ú_&÷ : ÷ ¤ú_–õ‹øÿ÷ ’úÀÀ ÀmŠú5ìÿÀ-‚úƒõ|úìÿõ-vúìÿ†õnúìÿõfúìÿÁŽ7ô  þy õ-Núìÿ _’õ-Búìÿ_’ 7Š4ú7‘0úwìÿ*ú_,7Š"úô÷‹úÃ%ÀúÀí úÀ _’÷ ’ Îß À_–÷ òù ÷ ìù_–Ä%\_’ÀÖùÀíÒùÀ _’÷ X ÷ ÂùÀ¾ùœõ¶ùìÿ €À �Á Ám¤ùp‚  õÎß À÷�ùŽù÷Šù7 †ù÷•€ù÷|ùzùÎæß (Ö Îjùæß Ö õ-^ùìÿ†÷ Vù÷ Rù÷-LùJùÎXß ÷‹<ù_& &ß Ö Î@ß _&÷ ~ ÷ ù÷ ùÀùœÿÿÀù÷-þøüøß _Lß _LÃ%_’÷-ØøÖø_’õ‹øÿÃ%_’÷ N ÷ ¸øÃ%ÃÁªøÁí¦ø@€ r€ À Á”øÁí�ø@€ rƒ ÷€øÀÀ ævøæß –%÷fø÷bø`ø÷\øZø÷•TøÎß 7HøÎæß (Ö ÷ ÊÎ4øŽ æÎ ß Ö ÷ p ÿ‹ ø_2÷%ø‡_2÷ ø_2ÀøÀíþ÷À _’÷ „÷ î÷÷ê÷ÀÀ æà÷æß –%÷Ò÷÷Î÷Ì÷÷È÷Æ÷÷•À÷Îræß (Ö ÷°÷®÷÷ ÷ ò7Š¢÷õ‹öÿ_bw’÷5Šöÿ_nÀ†÷Àí‚÷À _’÷ ÷ r÷Îß 5ðÿÀb÷œõZ÷ìÿ €À �Á ÁmH÷p‚  õÎß À÷4÷2÷÷.÷÷•(÷Îæß (Ö Î÷æß Ö ÷ ÷õ-÷ìÿ‡÷åþöNðÿß ŠÎß ÷‹èö ÷•àöß 7ŠÖö÷ Òö · ÌöæÆöß Ö ÷ ÷¸ö¶ö÷°ö÷ªö7Цö÷ ¢öNðÿææoß –%_–÷ ÷ „öÎß 5ðÿÄ%O ÷ nö÷åhö÷-döbö†÷ ¾÷‹Xö ÀRöÁ�Nö@à÷ Fö÷ @öÀ:ö÷ 4öÁ0öAœ@`À$öœá ÎŽàß Nðÿß ŠÎß ÷‹üõ÷ öõ · ðõæêõß Ö ÷ ,÷ÜõÚõ÷ÖõÔõ7 Ðõ÷Êõ÷•Äõ÷¾õ7Šºõ‹÷ ´õÿ‹°õ Ϊõß ß · œõ æ&_j ÷ Žõÿ¥ ˆõ΂õÎ ß ß õrõôÿé÷ jõ÷ fõÀ%_–÷‹Xõ÷ Rõ÷•qLõ÷ ÚÀÿÿ_0÷ <õ÷¥ 4õ_’÷(õÄ%pÎaÎiß _¾÷ õÀõÁõÁ @à5ìÿ÷ ŠÄ%P÷åìô÷ èôÄp÷àôÞôÀÚôÀe7Òô7 ÎôÀÊôÀ ææß –%7 ´ô÷°ô®ôΪôæß Ö 7 œô÷˜ô–ô÷•�ôUÀ�Šô ƒ_ À x6÷%tô_’÷ üÀfôÁbôÁ @à5ìÿ÷ Vô 7 PôÎLôÎeþÿæß Ö ÷ :ôÀ4ôÀ Àm.ô7*ôÀ&ôÀ æôæß –%Îæ ôß (Ö Äô÷þóüó7øó÷ôóòó÷-îóìó†÷åäóÁàóAíìÿ@€ r÷‹Îóà Ã-Äó÷•.¼ó÷¸ó¶ó_,÷å¬ó÷¨óÀÀ 7 ó÷ ü÷ –óÁ’óAœ@`Áˆó1�À~óð�zóÎß Àlóœß ÷ ^ó_6õTó7 Nó_0Îæß Ö Î8óß Îæ,óß Ö ÷ 5õ•öÿÁóÁíó@€ rÀóœ&ß Ö Àðòœa_Îlß Úõ‹øÿ_’·ŠÌòõÈò÷ T÷‹¾ò÷‹¸ò÷ ²ò æ¬òÎ ß Ö ß ÷‹šò ÷ ”òÎæŒòÎ ß Ö ÷~ò7Šzò7‘vòõròòÿ÷jòÄfòÀbòÀ Á\òAœ@àÀPòÁLòÁ p�÷Bò@ò÷ <òÀ ÷‹4ò÷¥ ,ò÷•$ò ÷òNÎeøÿæ& ß –%7ò¦Àòœ�åp�wòÿðñ7Šìñ÷‹èñ÷¥àñ÷¥Øñ÷¥Ðñ7ŠÊñ÷‹Æñw¾ñ_&÷ Nß _–÷ ¦ñ÷� ñ(õšñôÿ÷’ñÎÀ�Šñ&ß Ö Îªææß –%÷•ÿÿjñ÷ fñ%ÿ‹`ñ"ÄŸZñ· Vñ÷‹RñÄ%vÄ%zÎ¿ß ÷Ÿ8ñ6ñ· 2ñÀ�.ñÁ<7l þy 7Šñ÷•ñwôÿñ æñÎ ß Ö ÷ üð7ŠøðÀ�ôðß 5ìÿ ÎFß ÷ Üð÷ Øð†ÿ‹ÒðÛÅ÷ ÊðAìÿÁíÂð@€ rÄm´ðÀ�°ðÀ%ÿÿ÷‹¦ðÄ Ä-œðõ–ðõ•öÿ7ŠŠð7†ðwìÿ€ð_6÷‹xð÷‹rð÷ lð÷hðfðwìÿ`ðÀ�\ðÀ%ÿÿ_,_&Î&ß Ö _–w <ð÷• 6ðw0ð@À æ$ðæß –%wðw ð ÁWp CÀeÐÿ`÷ úïß À ðß ÷•âï÷ÞïÀwØïw Ôï÷ÐïÎï@À ÀmÄïÀeþÿ7¼ï·Š¸ï& ý Ö ÷Ьïw¨ïw ¤ï æÿÿß Ö Ä w-Œï“ß „ Ì‹õÄ%Ä wnïw jïÆåÎfÎeúýß Ö ÷ ´NÎeúýæß Ö À  w8ïNÎeúýß Î*ïß Àòw ïÄÃˋ̢„ ƒ Ì‹øÌ‹ Ë‹Îß À Ä%ú‡wÞîw Úî÷-ÖîÔîÀÿÿwÊîÀÆîÀ ß · ¸î ów °îÀ¬îœß wžîw šîΖîß wŽîw ŠîÎÀ�<&ß Ö wvî/ +-.^ÚÚºÈÈ®’º¼ÆÎØâîø      ˜˜n”dt˜�„Șt°˜J<B̘8à|˜n’2’¶ † +-.^â****¼^jt|Š ²¤ úÀ À ²H n ® r ²ún ²& & t vt ’ ?/é) 9 éyyy‰‰i ÈIéYiyˆYi™999))))¹ø))I™‰‰y˜ééé©™ È™   9øiYiYi™)¹9 ™YYyX¨yyIyII©¹ØÈ‰Y¨iX©™©99)©™   9øyiyiyiyi©™™ii™)ih¹¹ix¹é™i™™i™ˆ˜ˆ˜˜É9ˆˆ)ÉÙ)i9©ˆè)ù)9Y©IYYyyiYy ¹i¹)©™éY©™©™ˆii¨iÉÙù‰9 Ø™øy™©Iy8)HY™™ˆ)©™øyi©yiyiÙi¨ØùiÉ9 ‰è9ø™ø999©™©Ùi¨ØùiÉ9 ‰Éi I©™©(™ˆii¨iÉىؙø™yihx)I˜I©™iÈ9 ù9 )ø©(™iIi)¹Y)™)i™ˆ™ˆxhx)©™iÈ9 iÉÙù‰9 ©99ø¸9©99ø¸9YÙ¹ÉÈ鈩i™i™ùiÉ ¸¨ØéÙi(8ÙÉi‰‰ùi™ÙéÉ(8ùÙÉiùi¨ØØùÙùÙùÉiyiii)©¹ yi©™i™ˆ©ˆ©)ˆx™ˆ   șؙÈiI™ˆ™ˆ8Y9)Y)¹H(YI¹H9 IXI™¹©ˆ©¹ˆ©™iÙÙ©ØéÈ™©ˆˆIY©©©©Yyé998HXع9999)89¹9¹¹Y9¹H) Yx(Y™9©i™¹Y©‰ ™iY))‰yi¹ÈéÉi¸Ø9 陈ˆYi9 éi)i99 é¨éè9 éÈ(9 ØiXéÈ9 éÙé9 鍨é陈ø9 éiØ9 éx9 _ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _visual _cursor _wcursor _tcursor _dir _vlast _vliny _vcline _vcnt _vch _vtube 0_vtube0 _VLINES _VCOLUMN _vmoving _vmovcol _Outchar _vholdmo _holdat _splitw _hadup _nextic _vundkin _vutmp _vulines 0_vylines 0_vresadd _vrescnt _vresCNT _vdelcnt _vrescur _vyancnt _wdkind _vSCROLL _Pline _Xhadcnt _Xcnt _lasthad _lastcnt _lastcmd _lastcp _workcmd _DEL €_INS €_vglobp _HADUP _HADZERO _CDCNT _ZERO _ogcurso _re ª_scanre ª_subre ª_rhsbuf _loc1 _loc2 _locs _linebp _vmain"~vmaincsv ici_Vmain"_flusho cret _vscandi#Š_opºL10008ŽL10009šL106ÚL103ºL97ÈL101®L20003’L10014ªL10015ºL10016¼L10017ÆL10018ÎL10019ØL10020âL10021îL10022øL24˜L70nL58”L34dL72tL82�L38„L23ÈL41ÂL84°L90L66JL48<L31BL86ÌL298L26L61L108àL37|L632L100326L179¶ L169† L10037<L10038FL200âL204*L197¼L10042TL10043^L10044jL10045tL10046|L10047ŠL210²L157¤ L132úL161À L113 L151H L154n L159® L166r L126L183& L143t L134vL156’ ~VmainicccntihadcntøÿfirstöÿoglobpôÿOPòÿindðÿvmunddotîÿaddrìÿL80L96L10B_getDOT"bL11LL12^_vfindco"XL20000jL14b_vskipwh L13n_vmove L16–L20002z_peekkey L18¬_vgetcnt"êL21¾_obeep _TSYNC _killglo _digit _getkey L10000äL22¾L10001üL10013L27*_vsync L282_vredraw _vfixcur _vsave"’_synctmp L33RL10002rL35¶L10003vL36¸_markDOT L20004”_setwork L10041¶L42à_column L45 L10004&L474L20005,L70_getesc L49zL50RL52XL53ˆ_letter L55ÚL59¬_getline L576L65ŒL67TL75æL76ÔL77 L78HL100066_vfit _vroll _ungetke _xtrey L88òL91T_ostop _setoutt _zeq _termres _vputcha _ostart L93–L94†L96œL10010¦L10011ìL109ü_vyank"ÀL114&_setLAST L117bL20007P_delete _vremote"(_velide L120ªL121àL122À_error _vgoto _vscrap L10023øL10024üL124L20010L127@L128RL129|_copy _strend _join _vsyncCL"L_vshift"r_whitecn L136¾L20009¬L139 _geninde _vdoappe L1400 _vclrlin _voinit L141D _vopen L20015^ L20017j _vappend L144¤ L146¼ _vup1 L147î L10026È L10027Ö _vdepth _vopenup L149 L150 L152d _vgotoCL L155Š _onintr L162ð L10028ä L10029è L164 _vrestor _append L165 L181 L171 L172ú L10030> L174N L175~ L176ˆ _strcpy _strcLIN L180Ú _vundcur"à_vreopen L185N _putchar L186| _vclreol _normlin _peekbr L187ä L10033Ö L188Þ _Peekkey L189ö _vgetlin L10034*L190VL1926L193F_vsetcur L194b_compile L195æL196ÄL10039Ú_scanfor L2062_vraw L207„L208”_operate ~vyankÀcnt~vgetcntêccntL217L20022ò~vremote(cntf~vfindcoXicp_qcolumn L225€L20024nL226„_qcount L228Œ~vsave’genbufúý_strcmp L232ÈL231Ä_putmark ~vundcuràlpgpL236úL20026îL237þL20031L20030L235L20028_vrestor""~vrestor"L2446L2432~vsyncCLL~getDOTb~vshiftr_shift exs.o6 ¤‘@ZÄ w üÿæ  @�&ß ÎÖ 5�øÿ÷‹äÿ÷ Þÿ7ŠÚÿ7 Öÿ7 ÒÿÄÎÿ27 Èÿ& ß `Ö À 'õ‹øÿ ÿ‹°ÿæß `Ö À õ÷ šÿ÷m”ÿ’ÿ· Žÿß þæ@ß Ö ÀÀ `ÀÀ 7`lÿÄeÄ-dÿˆ÷ ^ÿ ÷‹Xÿ÷‹Rÿ뵧 ÎDÿæ@ÿß Ö À6ÿw2ÿw .ÿæ 5 øÿ7Š$ÿ@Á@7^ þy÷ ÿ÷ ÿß À ÎÛß  &ß Ö Îªææß –%ß ¦'À xP÷‹ÄþÎß Îªææß –%÷‹¢þÎVß Îªææîµ øÿ·Š€þ÷ |þÀÀåc Ѓ÷jþ÷ fþ÷ bþ@øÿwZþw VþÆåÄfÎeúþß Ö ÷ <þ@�€ 2€Áb7” þy ÷ þ÷  þÂ%&ÂU€Ä%ÿ‚Î…ß ”�Ü€ÁZ7J þyCÃeúþË‹ÎÄ%éƒÔ”ù·ÎýŠwÈý÷ NþåÛw ¼ýĸýÀÿÿw®ýß 7 ¤ý ÷w œýNfß Ö À  w„ýNß –À ÷ ì· pýÀñw fý÷‹býÀwXý·ŠTýAÁíLý@€ rß ÷ :ýÎ6ýÎ ß Î &ß ZÖ Î^æýÎ ÷ ýÖ á&ß ZÖ ÷ ý7Šý÷ &ÄÄ%ÿÿ÷ Ä% ÷÷ àüÃ%y½ ½w Òüæ ÎfÎeøÿ& ß –%À%Àÿÿw°ü@�øÿÀE€ÿùw ¢üõ @�ß õ øwˆüw „üæ ÄÕÄ-nüü‚7 hüh@øÿÀE€ÿÁz7Þ þyÎJüæFüæß Ж%(Q÷2ü7 .üK÷è&üù÷ü÷ü@÷èüø÷ üNøÿÎE€ÿß œ@øÿÀE€ÿ�Ã%*‚뼧 %õ5€øÿ¹õ øÿâõE€ÿøÿõ%1øÿÛÀ�DüÀe1@-øÿÔ@øÿÀ 6@øÿÀ &$æß Ж%Ö€”5øÿ×ÄŠûÀÀeÀå7|ûÃ%Ń•ûÎß wdûw `ûD�÷ Xû‘ß À ÷ Fû÷ BûÄÕ ÄÅ ‘w0ûw ,ûDCBƒ ƒÀ”ß œ�Ä%ö‚ wûüw þú÷ úúfß Ö wêúw æúDÌEà #KÃeÃ%6÷‚LwÀú&s~8ðZ€|’’’v~òÿÿ &\~..8à8ö&ELUelu²”Ôê”ÈÜ(éiù¹©)™I™™¹©ø99¹y©¹(¹9éyYix˜ø¨ø¨ùøyiY 9é(( ii™((Y9™éi9ø ié8 9™éy99I  9( I) I 9™ éÈ 9éH 9é(9Y I9Y i Y Y i Y Y ùøøIIø 9éY ˆY i 9é9é99éXX9_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _re ª_scanre ª_subre ª_rhsbuf _loc1 _loc2 _locs _linebp _xflag _gflag _scount _slines _stotal _substit"~substitcsv caddrnmarkpgsubføÿ_compsub"ÎL4&_save12 L5˜L200014_dosubco"`L7”L8bL9L_putmark"þ_getsub"@_append L12¸_error _snote cret L10001@L10002FL208L18ðL22ZL24€L10005PL29|L30’L28v~compsubÎchseofcpgsubføÿL10003è_skipwh _getchar _endcmd L19 _compile _copy _comprhs"¦L200032L21FL20005RL23h_setcoun _newline L10007ZL10008\L44L20006òL10011bL10012lL51.L548L38àL36ö~comprhs¦seofrporpcorhsbufúþ_strcpy L34ÀL522L10013ØL41L55L48üL10009L45 ~getsub@pL59RL58N_strcLIN ~dosubco`fa_execute L63|L62x_confirm"–L64�_dosub"x~confirm–acchL68¨L20009 L67¤_pline _putNFL _column _ugo"Z_flush _getch"*L69L20008 L70_noteinp ~getch*cøÿ_read L74PL73L~ugoZcntwithL77tL81d_putchar _casecnt _destcas L10017zL10018ˆL92²L20012”L95ÔL97êL94ÈL96ÜL89(~dosubxlpsprpcøÿL85ŽL20011ŒL87jL20014šL10019ª_place"ÐL93L20020ÎL20021âL100òL101_fixcase"œL20015L20017 L104ŒL20019†~fixcaseœcL10020Ê_letter L20023Æ~placeÐspl1l2L115àL116úL114ö~putmarkþaddr_putline _putmk1"~putmk1addrnmarkpL20025&L126.Version.o6í�X Version 1.1, February 1, 1978_version#ex_addr.o6’¤‘d®VLw üÿ÷ ÷‹ø÷ ¶wêÿw æÿ÷ âÿÀÜÿ7Øÿ7Ôÿ÷-ÐÿÎÿ†÷ ÈÎ;ß w¼ÿw ¸ÿ÷ ´ÿ÷ °ÿß À ÷ ¢ÿ÷œÿšÿ÷ –ÿ÷ ,Îgß À À 7`|ÿ÷-xÿvÿ†÷pÿnÿ÷ Æwfÿw bÿ ÷ ZÿWp @`ÄeÐÿ÷ Hÿß À ðw8ÿw 4ÿÎ0ÿß Øw(ÿw $ÿ÷‹ ÿ÷‹ÿ õ-ÿ‡@ÀE78ÿwÿw üþ÷-øþöþÎ‰ß wèþw äþ÷ àþ÷ÚþØþ÷ÔþÒþ÷-ÎþÌþ÷ÆþÄþ÷ Ôþwºþw ¶þ÷ ²þÎ¡ß w¤þw  þ÷-œþšþ÷ ”ÿÎÅß wˆþw „þæ 7Š‚5 øÿ  ÷ rþß À Ä Ä`þ÷•^ÀÀ `÷ êþõ øÿÀÀ `ÀÀ à5 øÿ ÷ 0þ€Á®7Þ þy ·ŠÄ à Îïß Cmøÿ5 øÿ€ rÁ ÁeÊA! þyõøÿÄ ²ÄÖý¯õÿÿøÿÄ ø©Î¦ß Ö Â%& ÷ °ýÂ%?Â%/Î ß ÷ –þŽß 4‹Î<ß †Ä~ýƒ÷ xýÂ%'Â{ Â%aÂ%zÎTß ÂåaÄNý €À ÁEp ÄeÄ-4ýó†Ä-.ý‡_ŠÎiÍ·ýà Ä ÄýÀÀ `Ä 7Š wþüÄ-úü÷ ôý@øÿÀ `Ä-èüƒÎ„ß Ä-Úü†Î¯ß åw ÈüΪææß –%IJüõ¥/ÄeÄ-¢ü†÷ ÆýÎÎß ÄŽüÄåÄ-„ü ƒ÷ ¨ýÎß Äpü& ß Ö À w\üÄ-XüÒ ù$'./?\ääèäääøÐÜê./ÞŠ~&8,ÞŠ„,88©é©9i9)9)8é©y‰˜9)89y9y9é©I‰˜é©ié©)™Yé©Iy8é©9Y)y9IyIié©98é©I)8驉˜II8iH I88yI8YXyyYiéII8y8©øˆ iy™8II™8yè éi_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _re ª_scanre ª_subre ª_rhsbuf _loc1 _loc2 _locs _linebp _bigmove_setdot"~setdotcsv _setdot1"L3_markDOT"Ècret ~setdot1L8,L7@_notempt"_error _setcoun"D~setcounDcnt_skipwh _peekcha _digit L13`L12–_getnum"šL14zL15’_nonzero"\~getnumšcntL19´L20001¢_getchar ~markDOTÈ_markpr"Ø~markprØdotL10000èL26ü~notemptL30_setall"~setallL35>L34B_setnoad"F~setnoadFL39X~nonzero\L43t_address"xL10003®L10004ºL60äL61èL54øL10009ÊL10010ÐL10011ÜL10012êL88ÞL48ŠL78~L20004&L748L70,L80„L67~addressxaddroffsetclastsignøÿL50ÌL51¦L52ÀL53ÆL10005ÜL10001ðL10008_compile L75f_scanfor"4L20005xL81–L82ªL10006¢L84ÈL20003´L85ÎL89ôL90îL91L47þL92 L93"L940~scanfor4caddr_copy L98NL100tL103�L102nL105Œ_execute L106¤L97 ex_args.o6“¤� ÐPw üÿÆåÃõøÿ÷ êÿß À Gß À óýøÿÁÐ7œ þy÷ ºÿÄU€Ã%þ†ÎVß ‘÷  ÿß À ß À Ý7†ÿŠõeøÿÇÂÊ‹ ·ÂÊ‹Î²ß Ê‹ÛÃ%þÓ‡“”ù= øÿ@øÿÁuöÿ@à@€ rw0ÿ%\`’B„LyéøéhéøYøøh¹_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _getargs"L10001ÐL10002ÖL18’L11BL15„L12L~getargscsv ccpfpdpøÿgpöÿL4_getchar _endcmd L5°_white L80L10003:L13ZL14R_error L9\L7vL20¢L20000žcret ex_ca.o6ñ¤�X² ¤w üÿÀøÿÁ²7¦ þyξæÒß Ö ÀÖÿÀe 7�¢ÀÊÿÀe 7�—ÀÒwºÿÎÃæÒß Ö Á¨ÿÀ r Àe07�oÁ–ÿÀ r Áe0@7�\Á‚ÿÀ r Àe07�LÁpÿÀ r Áe0@7�9ÎÎÍæÒß Ö ÆcHcaF¢=xx&axxcyyYOOPS™ùè  è  è_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _cgoto"L10001²L10002¶L9FL7L11¢~cgotocsv L4ÒresultÒL10003L8¾_strcpy L5>cret L10ÃL12Íex_file.o6”¤�ÜL<¼w üÿ÷ øÿß À Q÷ ðÿõ¥fÎ‚ß Îæß Ö ÷ &õ¥f_Hõ¥E_H÷‹¦ÿÎkß õ¥f_H÷-ŒÿŠÿTÎeSÎæPß Ö õ¥f÷ ¢ÿÎUß ÷ ZÿÎ_ß ÷ Lÿ×7Fÿ÷ BÿD�÷ Bÿ Ä%EÄ%eÄe7 ^ÿÀåe ‚À xL7 Hÿ÷ ÿÎæß Ö Îæ‘÷‹ìþ‘Îæ‰ÎesÁØþÁíÔþ@€ r&æt÷ ÂþÖ &ß –%w´þòî"%s" [Edited] [Modified]No file %d lin%c@in bufferIyˆù¸øèØ™é8Yy舙8Ù8ÙYéù™™ùøøØèøéèøyI98I_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _filenam"L10001LL11òL10î~filenamcsv commc_getchar _endcmd L4¶L5*_error L200012_strcpy L68L10002JL3HL20003~L23k_printf L22dL10003 L10004$L16P_lprintf L17°L18¢L19UL21__flush _getone L7ÜL13L12L25t_mesg cret ex_get.o6”¤‘¸ ,< w üÿÄøÿ 7 òÿÀŸêÿ· æÿ ÷ àÿÿ‹Úÿõ7 Ôÿ÷ÿÿØÀÿÿwÆÿÎÌß vÎæ & ß –%À%ê÷E€ÿ¬Î¨ß ÔÀ è÷% š÷ ŠÿÀ�Ýw €ÿ÷ |ÿ÷ vÿ7rÿÀnÿwjÿw fÿÆåÃ5Šöÿ÷%TÿÀ 5ôÿ÷‹Bÿ_¶÷‹8ÿ_¶À Á*ÿÁí&ÿ@€ r€ æ,ß Ö ÷‹ ÿ ÀÁÿ@xÀ _6ÎðþNmôÿß Îæ& ß –%C5Šøÿ÷¥^Êþ÷¥0Âþ&Ä%#÷¥0´þ7 ®þ÷‹ªþÎß Îß Î ß Îß Nôÿß õ•øÿ7Švþ Ä _~Ä ô¥ !Ä%÷¥.Vþ÷ Pþ ÷ Jþ  ß À%ÿÿÀÿÿw4þÎ0þß â7(þ™µŠöÿ„ 4ŠÎß Hõ‹øÿ÷‹þÎæþýß Ö 7ôýÓ• ÄåÄ%øÓ• Ä Ä û“”þà $õ ôÿ!Î2ß ÷ ¸ýÎÎàæ& ß –%Ã%°a ŠÃ%þ ƒó¥ ÿÿ#Šõ•öÿõ‹öÿã÷ xýŠÎß H÷¥.hý!÷‹cý‘ÄE€ÿ‘Ã%þ‚ÎŸß ÷ FýÄ% ãÄ%ÿÿí÷‹4ý_Ä÷ÿÿ(ý_Ä _Èw ýDÀ 7rüýCÃôýÄàÄ  wøüw ôüDCÀ”Á 7ò þy„ õÄeÄEðà Îfß Ö w¸üw ´üD Žß vÂE€ÿŽß ÔÀ õ“�•öŠwŠüw †ü÷ ¸õ¥ Îææß –%÷–w\üw Xüõ-Tü7 Lü Nß & ß Ö 74ü@w,üw (üDÄ ÷ 8ü Ä% Ä% Ä% Ä%  wüûÀû *&4CTRL(H) discarded   %4d YYY99999Éø)YYYYÉYø yiIhi™i¸øi‰(((¸)iˆÉiiiihY ø)  È YY™™ÉYØ ÉYÉY˜ ÉYIiø iÉY™É_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc# _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _junkbs6_getchar"~getcharcsv cL4L36L20001L7BL20007,cret L20005:_checkju"v_read _junk"ÔL10v_noteinp _peekcha"|~peekcha|L14Ž_lastin _gettty"–~gettty–clpgphadupøÿhadnlöÿoffsetôÿ_numblin _Pline L10000´L10001¶L50¶L19ðL20,_printf L10002úL10003þL216L20010 _setcol L20012²L10004@L25ŒL26RL27x_notech _putchar L44~L29àL30ÚL20013ÄL24Ì_gTTY L17È_backtab"âL31â_spruce"HL32*_smunch"L33L20015L36&L20017 L20018.L432_flush L20020JL46dL47®L49ˆL55ÜL52¢_error ~backtabâijL59úL60L10006 L10007L69*L68&L704~smunchcolocpcpL64L10008_strcpy ~spruceHocpcpcL74lL20022TL20024\_cntrlhm#~checkjuvcL80 _write _setin"¤~setin¤addrL85¶L86Ì_getline ~junkÔcL10009L10010þL89ex_glob.o6”¤‘Ä("4 w üÿDwòÿÀîÿÀe 7(÷âÿ$ÀÜÿÀeÿ77 ÷7 Î&&ß Ö ÷ ö · ø Ãì7 òß ÜÎß œÌ ô? Ô÷ ÖÎËß ÀÂÁ|ÿÁe @à@€ r7hÿwdÿw `ÿD Î&ß Ö À Ì‹ÃeÃ-|ñ‚ÄeÀrÀeþÿ!ç‡w$ÿw ÿÆå$ÃbDÌ¥*:Ì¥?7Ì¥[4÷%>F:ƒÀ@· <•í÷ 6Î4fß ¾Ö ?÷e_NÎeÖÿæß Ö À hÎ5æß ¾Ö ?è÷eâ· äY÷àÄ D-‚Ì¥/ùÎß ÷%@À÷ƒŸ¸· ´µ 5!ò†?Ц æß Ö ÷ ”/Îß Ø· †„ ÷ ‚æRß $Ö À ÎRæß ¾Ö ?P÷eJ· LÎæP¦ß –%À%ÜŽß ÷.?Š*wÜýw Øýý¥.ý¥. wÂýà wNfß `Ö ÷òíw œýÆå.DC•ÀE€ÿÂE€ÿ€À”5øÿÁ7� þy 5 ôÿõÿòÿÎ3ß Ë‹#Àµ òÿÀ”€ µ ôÿÀ”5öÿëÀ%]õ ôÿÊ wýõ%-öÿç@öÿ5òÿ€ éæË¥/ƒ Ä Î&ß `Ö À Ï„ Ì‹öà Þȵ øÿÚ£ ×  ÔÄõðÿ ÷%=‚ÎUß · ö?•òóÿ•/ê· æ?ŠâNÎeÌÿæß Ö À @ÐÿÀEÿŸÀ%@Ë‹Î6æß ¾Ö ?¢÷eœ· žÎß Üwðÿ’?ŠŽ�w >üÃ~DÃ-v ƒ•ÀE€ÿ�øDà Ã-^†Î†ß •÷ÄJ÷Fwüûw øûD Â’ü€�&ý Ö �÷wÚûw ÖûDÎ7&ß úÖ À ÷üw¶ûw ²û@�ÀE€ÿw¦ûw ¢ûÆå ÷ šû 3‚À x0Î¼ß À5ôÿ5öÿ5 øÿNÎeZüfÎeöÿß Ö Ddþõ fþÎ9ß ß À%?Îuß æß Ö w.ûÎøÏw $ûÄ ûNæ;ß Ö 7û÷ ûwûw ûD•C-ûÀwìú ü*/?[®0*š"rz[?*"%s"9    èè iù9˜ù9èè˜èèèèèèèHXù9ù9èùèèè˜è9èù9ù9ù9ù9¹ èèø èèù9yhyyù9ù_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _G _xargv0 _xargv _argv _xargc0 _xargc _argc _gargc _errno _gflag@_avB_stringD_strendF_ncollH_gpathpJ_globbedL_entpN_g _glob"~globcsv vg0oav_tglob"&_scan"L5fL20001R_expand"Ü_sort"œL7|_error cret ~sortœoavp1p2cL11ÌL20005¦L13¾L20003ª_strcmp ~expandÜascssgpathpdirfL19PentryPstbuffÖÿL20ìL21fL22zL244L254_cat"¾L29_stat L285L20006jL32šL20011„_open L36Â_filioer"ØL37üL20013Ê_match"$_read _close ~match$spcsentpL43>L42:_amatch"`L10003L10004"L68L61®L710L70*L52šL69"~amatch`asapspscccøÿccöÿokôÿlcòÿsgpathpðÿstbuffÌÿL47pL48„L10005’L53ÈL20024¦L62øL20025²L46ÞL20015¸L20016ÄL55âL20020ÜL63L644L65L20019L73TL20022@L75PL76²L78¬L796~cat¾as1as2s1s2L84ÒL20027ÌL86êL87òL20029ä~scantfpcL93 L92"L95~tglob&cL1007_any"úL101D_trim"J~trimJc_getone"ZL100070L110rL108z~getoneZstrgvöÿlpôÿGZü_getargs L112ÒL20030vL113®_strlen L114Â_strcpy ~filioerØcpoerrnoL118;_lprintf _ioerror ~anyúcsxL122L123L121ex_graphic.o6”¤�èR w üÿÄ(À xR÷‹ìÿÃ?ÀÀå ñƒÃ% ôÃ%ñ÷‹Èÿ Îß À Î\ß Îß Îß •ßwžÿw šÿÆåà Šõøÿ5 ôÿÄ?€ÁV7Ô þy@ôÿÀEøÿÀ%Ó• Ã%þ ƒµ ôÿñC-øÿƒÀ’ÀEÿPÃ%þ‚Îžß “�C-øÿ†õøÿµ ôÿC-øÿ‚€êÂ’ÂU€æÃ%†Ã õ ôÿ•¿=ŠøÿÎß ÄÃÂ5€ÂE€ÿ Ì•_Ë• Œ�Ë•-ƒ „ “íà Ã%‚Ë¥ ù3Šw®þT _ð�Ü®y‰Ùèøøyh˜_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _dograph"L10002RL8L6T~dographcsv lpcL4ZL20001 L20002L20005_uclette _putchar _letter cret _doulg"bL10004VL10005\L30ðL23�L27ÜL26®~doulgblpgpmaxgpøÿccswöÿcolôÿL18üL20007~L10006ˆL20¼L25ÂL32Ê_error L33ÖL28è_strcLIN L348L20009L37(L38.L364L20010<L42Jex_init.o6•¤�ü ¨lw üÿÆå. ß À  À7�âÿ÷‹Þÿ õ‹Î´ß _>Îß À õ‹ñÎß À ëõ•õ•÷5œÿ À7�Šÿ÷5ˆÿ À7�vÿ÷5tÿ À7�bÿ@�ß 5öÿÀ%x ß À ÷ @ÿß B÷ 6ÿÁÚA @@5øÿ÷ &ÿõ øÿζ&ß Ö ÷ ÿ@-øÿ"w�öÿ²÷ |æß Ö fÎeÌÿß Ö Î¸fÎeÌÿß Ö ÎfÎeÌÿß Ö w¾þw ºþÆåNÎeòÿß 5Šøÿ÷ ¤þõ‹øÿµŠøÿ fß Ö NÎeòÿß w€þw |þÆå$NÎeÖÿæªß Ö @ÚÿÀEþ7\þwXþÿ/dev/ttyxu//.exrcYȉ‰(Èȹٹ™¹©Èèù)XyˆXX¨¸ÉY)HXÉYˆIÉ_mask#¨_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM#ª_TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _vcntcol _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _errno _initopt"~initoptcsv fuidøÿttynoöÿrcioôÿHomeÌÿH_gTTY L10000L10001L56L6*L7´_setterm L4>L8\L9bL10002nL10003rL10004‚L10005†L10006–L10007š_ttyn L10Æ_hget _hsgetty _isetter"B_getuid _hgethom L12ðL13¶_strcpy L14ú_hgetuid _gettmod"€L15¸_strcat _source cret ~isetterBtypereenterøÿosetexitòÿ_getexit _setexit L19r_Setterm _resexit ~gettmod€stbufÖÿ_stat ex_io.o6•¤‘8ê²ð w üÿÆå(÷ *ÎÚß ÷€æÿ÷h÷d÷ÿÿ`7 Ðÿ÷ÿÿÊÿ÷ÿÿÄÿÎæÿæß Ö NÎeÖÿæß Ö À õžÿÔÿÎæ(ß Ö ÷ Šÿ5ŠÒÿ÷ ‚ÿõ‹ÒÿwÔÿvÿµŠÒÿ÷ ¨Îß @ÚÿÀEÿŸÀ%@÷Rÿ×7ŠLÿÎìæß Ö Îß Ã÷ ,ÿà ΀æß Ö 7þ¸÷• ÿß Îæß Ö 7Þ¨Îîþß wæþ�À r ÁU0@$�à �À r Ïw Æþ÷‹ÂþÎß 7Š´þw°þw ¬þ÷ ¨þ÷ ¢þÀ ÷ ÐÿÎß wŽþw Šþ7 †þ7 ‚þ7 €þ7 zþ7 vþ7 tþ7 nþ7 lþwfþw bþÎ^þß ÷ÿÿTþ÷ ²þ_’÷ Rÿ æBþæ<þæ8þæ5÷ 0þÆe÷ &þ×-"þÎYÎZæþæ þæþ÷ ¸Ö &æúýæ=ß Æe ÷ êý ÷ æý÷ Þý÷ Úý2Î\ß ÷ Êý÷ ÆýæÀýæºýæ_÷ ²ýÆe÷ ªý÷ ¦ýÎhß ÷ –ý÷ ’ý æŒýæ†ýæk÷ ~ýÆeÎ)ß ÷ ný÷ jý ÷ fý ÷ ^ý÷ Zý wPýÀûw Fýõ%Àuw6ýÀvûw ,ýÆåCÃeúý fß ¶Ö ÂýõE  õe€fß ¶Ö Âìü•ðNÎeúýß wÚüw ÖüÆå· ÎüCÃeøýÎß ÷ ¾üõºüøÿÎføÿß ¶Ö ¤üõEøÿ Îõe€øÿføÿß ¶Ö Â~üÔ”ïÂvüÀAÁeøý@àÀetþÿÀE€7`\ü€wVüw RüÃÂJü÷ FüÎææ8üß –%À 7,ü Ã%Îxß &ÀÿÿwüÂÃ%‚ÎÜß „”Ä ÷eöûw ðû Ä5€ ÷eäûw ÞûÄE€ÿÄ ‘Ä% ÂÁÁåÀ 7`Âûw`Àûw ºû#Š·´û· °û Ëw ¨ûæ õ¢ûøÿ÷ ýÁ˜ûAíøÿ@€ r€ 7†ûIÂÄNøÿõeøÿß Ð ÂåŽææXûß –%€ ÷ \�À 7`Bûw`@ûw :ûÂÿÄÔ”áô• ÿÿõ-$ûøÿÒ†ÂåŽææûß –%€ ÷ �À 7`úúw`øúw òúwîúw êúÎæß Ö À ÷ û÷ Îú÷ wÆúw ÂúÀ¾ú rÁ ÁeöA! þyÎß Îß Î4ß ÎHß ÎZß Îkß Î�ß Î›ß Î¬ß ÎXúæÄß Ö wJúw FúDuùÿÄEþC×tÃEþÄ%úÎÓß ÀÀà7úÄ-ú!wÝ ú÷‹ú Îææöùß b–%7Šìù7èùÎæ&ß b–%ÀÀewÎùÄ-Êùõ Ý÷ ¾ù Îææ°ùß b–%7¦ùÀÀeæw šùÎfæxß –%æfæfý ÆeÀ%÷ ¤þwfùw bù÷‹^ù ÎææPùß b–%7ŠFù÷%ÿÿ@ù Îææ2ùß b–%Îß ÷ ùÁùA @@7ùÿùùà ùĈHÌ ÀüøÀeÀE7ðøtùÿÀEþ ÷e€àø€ 7ØøôÿÿÎ&æ²ß –%Á¾øÁà@€ rÂe Â%ÂŽææ„ß –%€ ? ŒøÎ�ß ÷ ºý? |øÃeÄeÃ-pøµ†ÁjøÁífø@€ r7`øÎ& æ:ß –%ÎPææ(ß –%À%PÑw.øw *ø÷% $ø÷ ¸þ7 øwøÿÿ/ExXXXXXü  ¤\tŒœ¤dl|„”PANIC: "%s": %d/%ld %d line%s, %ld character%ss (%ld null, %ld dirtys[Incomplete last line] SYNC error:™¹ùùù 9™H(H8yHx‰™yÈy‰HèHø H8iHH©Xi™iH˜ii™¹ÙÈi™©ÉÉùÙÙééi™  ™™ÉÉùiÉÉÉÉùùhÙÙééhÙÙÙÙiééhééééi˜ © ÙÙééi™i™™™Ø i™ X i ¹™™¹¹i™™ ©  ©hiˆ ÙÙééÉÉÉ™ ù™)9ù h ÉÉÉ9 h ÉÉÉi™øè¸ ™i i™yˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ yˆ i™ˆ ™‰‰h ‰ i99h (99(™øi™‰h ‰9h (9øˆ™ÙùùIIø¹¹¹9øyh IhIyyIùøøh i™  i_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile#ê_globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _re ª_scanre ª_subre ª_rhsbuf _loc1 _loc2 _locs _linebp _errno _ichange _nleft _ninbuf _tline _cntch _cntnull _cntodd _cntln _ibuff _iblock _obuff _oblock _tfname (_tftail#ì_havetmp _fileini"~fileinicsv pijstbufÖÿserrnoÔÿdumbcntÒÿ_cleanup"6_close _strcpy _stat L5šL6^L7(_lprintf _flush _setexit L8’_ioerror":_exit L9°_strcat _strend _getpid L20000ÔL20002_creat _open _brk cret ~cleanup6L16H_unlink _onhup"P~onhupPL10000b_preserv L20f_clrstat"r~clrstatr_iostats"š~iostatsšL27’L28ÖL295_printf L30L10001êL32YL10002îL33Z_plural"¶L31=L10003*L34ŽL35\L10005>L36fL37_L10006^L39hL10007rL40†L41k_putchar _putnl L10008°L26¬~plural¶iL10010ÊL45uL44ÆL46v_getline"Ð~getlineÐtlbplpnlscratchúý_getbloc"¶L50L20004ø_unpack _putline"&~putline&bplpnltløÿscratchøý_pack _change L56‚L20006d_nextip _getfile"ª~getfileªclpfpL64¶L65ò_read L66îL67æL68xL632L61êL69_error L70L62,L71*_putfile"T~putfileTa1øÿfplpnibL74L77„L78”L80Î_write L81¶_wrerror"L83þ~wrerror_strcmp L872L10014öL10015üL10016L10017L102¤L93\L96tL99ŒL101œL94dL95lL97|L98„L100”~ioerror:L10013T~getbloc¶atliofbnooffL106àL1072L20012(L20010øL110_blkio"bL105.L20008ZL111V~blkiobbbufiofcn_seek L114–_synctmp"š~synctmpšbpacntL119¶L120Ô_time _getuid L121ŒL20015üL124.L125^L126€L127pL128�_TSYNC"Ò~TSYNCÒL131æex_libS.o6–¤�Àfäw üÿDC•þ@wèÿw äÿNf÷ Ö &ß Ö @wÆÿw ÂÿD„ Ì‹ýw°ÿw ¬ÿNæß Ö wšÿiiii_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _strcpy"~strcpycsv otofromtoL20000 cret _strcat"~strcattofrom_strend":~strend:cpL12FL20002D_strcLIN"P~strcLINPdpex_note.o6–¤�` |n|w üÿ÷ Z÷‹òÿõ-Š wâÿÀûw ØÿÁÔÿÁíÐÿ@€ r„ ß À *æ|ß Ö ÷ ¶Î¤ÿŽ ÀŸžÿ&ÎU æ…ß –%Ίÿß Àm‚ÿð¥eÿÿÎeß Îdß ÷ fÿwbÿw ^ÿÁZÿÁíVÿ@€ r@íß Àw@ÿw <ÿDÄ Ã‹Ã� ß À Îÿæ&æ•÷ ÿÖ &ß Æe÷ úþwöþw òþDCß À æ²÷ ÖþÖ &ß Ö Ã%!ÎæËß Ö ÷ ²þw®þw ªþ÷%¤þ ΞþæØ÷ –þÖ &ß Ö ÷ ˆþw„þ%d lines %c%smoreless%d %s lines@in file after %s%d subs|%d substitutions on %d lines%d files@to edit™™™é™9)H™‰‰H‰x‰˜˜©é™yI陉‰H©é™‰HH©é™YY‰H©é_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _G _xargv0 _xargv _argv _xargc0 _xargc _argc _gargc _notable"~notablecsv iL10001L10000L3cret _killed"$~killed$cntL6šL7|_printf L8–L9…_strlen L10Ž_putchar _putNFL _netchHA"ž~netchHAžcnt_netchan"À~netchanÀicpL17ÒL18‹L19ÜL20�L16L21•_mesg _snote" ~snote totallinesL24NL25²L26JL27Ë_notearg"R~noteargRL30xL32Øex_pack.o6ù¤�t(w üÿDæ Ã%Â5€!ÂE€ÿ€Á7ð þy •5øÿõ øÿ“�õ øÿùÓ• Ó•  îÓ• “�•Ù ŠÀw˜ÿw ”ÿDæ ÔÂ% ÷|ÿ ŠwvÿÂ% Â% Ë‹Â% Ë¥ ”�æÂ% Ë¥ Ë¥ À”ÀU€�Øõøÿõ%øÿƒ µ øÿÀ’€ öÂ% õ%øÿÔ•ŠÀÂ% À�À€�T�øÿ´ ,DNTù©ùi©_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _re ª_scanre ª_subre ª_rhsbuf _loc1 _loc2 _locs _linebp _unpack"L10001L10002L9,L14DL15NL7T~unpackcsv splpciøÿL4ZL20001L6XL10003$L100L116cret _pack"h~packhsplpciøÿL19vL20„L21ŠL10005–L10004¦L22ªL23ÆL24ÜL20003ÎL25âL27öL10006L10007ex_re.o6—¤‘n|0 w üÿÆåNß À Nß À Îß Ã÷ Ðÿõ%\,Án70 þy÷‹°ÿÎ{ß Îªææß P–%wŽÿ÷‹ŠÿÎ¸ß ÎªæìÎýß D-Ä% Ä%ÿÿË‹ÎB ß Ä% õ‹Îq ß Ä% 72ÿ@Í@Àeîÿ5ìÿ7Š¢ÿ7ŠŸÿÄ%^÷ ÿ·Š�ÿ7ÿÃ%~‚Σ ß ì÷ ôþD-Ä%ÿÿ @Àeîÿ@-ìÿÎÖ ß ìÓ• Í÷ RÿÄ%*Ã%  Ä%\÷ ®þÀ%*Ã%õøÿÁ¦7H þy÷ ˆþÁ~7 þy÷¥ òþÎ ß ìý�äþìÿµ ìÿÓ•Ó�Öþ·ŠÒþ£@Àeîÿ@-ìÿ‚ÎR ß ìÓ• õ ìÿSŸìÿ’Ó•�Ó•Œ÷ ¤þ_DÁ’7¤ þyÓ•_úõêÿý‹êÿ_úýµ€êÿDŸêÿÄE€ÿÄ%&Ά ß Ä%1Ä%9ι ß Ã%~‚_Ó•@ŸêÿÀE€ÿµ êÿ�ÓÃ%_Dý¥øÿý¥ øÿÎí ß ìý¥øÿ @øÿðµ€Î" ß ìýÕøÿ_úÓ•Šõèÿ÷ BýÄ%^÷ 6ýó•þÿÄ%],ÎP ß ì'Ä%\Îä÷ ý&ß Ö À ÷ ýÄU€Ä% Ä%ÿÿΖ ß ì‘µ èÿÃ%€‚_÷ ÒüÄ%]Ö@øÿp�èÿ_úÄ%ÿÿ÷ÿÿ°üÄ\HÓ•Ä% Ρ ß ìÄ%1Ä%:‘_úÄå1À�ý!Îå ß ìÀU€�_úõ‹7\ü_.Î- ß ì÷ Lü@- ÷ BüÀ%ÿÿõ‹÷ 2üÀ% Ó• _ú÷ ªü_ìÓ•Äw ü7Š üNß wüw üûDCÄ ÷ XüÀ@xÀ% Îß &&÷ ÐûÖ €% wÄûÀûw ºûõ  ÷‹5ü 9Ħû7¢û õ-œûõNß 7 ŠûÃ÷‹ü17|ûÎ&ß üÖ “�@xÀ% “ß &¦÷ TûÖ €%Î&ß üÖ À 7<ûÀw4ûœ“€ î÷ ’ûÚÔ‹ø¸Ë¥òÎ&ß üÖ À åÔ‹÷«w ûDCÆå_¸À xÆ˵€%À”ÀE€ÿ5�òÿ@�òÿÀ 5†öÿ@�òÿÀ 5˜ôÿu-ôÿöÿ‚_¸“@Ÿöÿ&ß Ö À µ öÿ„ ì“À’&ß Ö À ƒ „ _¸Ô‹_¸ wrúÌ‹û_¸7fúÀõΕ&æß Ò–%À êÀ’`_¸ •&æß Ò–%À óÜÀ”À 0†_¸À”À 0˜iÔ‹þ"„ À’“&ß Ö À ö„ ƒ ó¥ÿÿ Ε&æß Ò–%À ðÀ’`Ä Ä-Èù§Î&ß üÖ À ©„ ó‡�Ä%2“ß À Ì¥_‘�ÿÿß À Šô¥_ÿÿ†�ÿÿß À _ˆ“ß À _ˆÌ¥__ˆ“ß À _ˆÀ”Àå ‚_Îo ß ów *ùDCà  wù÷ €ù Îß À Îß •ô¥-“ÀE€ÿÀ �ÀE€ÿÀ ÄeÂå õ ×ÀÕÂ%â•ÀE€ÿÀ ð@Êw ¬øDCB Ԕ ýw’ø&/?rLLŠ()<>Œ´ÖÜâ*.[~fþ®D $*.[\~š°ÜÜÜtÜæÐî€æ  ¼ Ž–ÜÈNŽ]-^\9Øøø) ø™Yùù)ùYø)™ø¹ø)ùùùù™(øø))¹Ø )ø)YùY¹¹¹™9ù™9™ØÙ™9ùIYIÈ Yøù9ØÙ9™™9øø™IøøYøØØøØø9™™xØ9™_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _re ª_scanre ª_subre ª_rhsbuf _loc1 _loc2 _locs _linebp _compile"L10002nL10003tL12rL9LL15ŠL10010~L10011†L36ŒL38´L40ÖL41ÜL34âL10016’L10017šL53fL46þL56®L47L42DL10022¦L10023´L69šL71°L76ÜL33tL77æ~compilecsv eofoknlceplastepøÿbracketîÿbracketpìÿrhspêÿcclcntèÿ_letter L10000 _digit L4(_error _getchar L5’L10004DL10ZL20003b_copy"PL3ncret L13€L10005¤L16ÔL17°L18ÄL19ÎL20öL21úL23L24_cerror"ìL10006L254L26.L27HL10008^L29b_peekcha L10024lL10012„L37œL39ÈL43ìL10018öL48 L50HL514L10013€L54ˆL55¤L57ÒL590L20005âL62L61ä_any L10014L63L64VL66hL10019tL67zL68ŽL70¨L10020Ô~cerrorìs_same"~sameabL10025<L100266L838_execute"B~executeBgfaddrp1p2cL87`L88VL20006RL86ÈL89v_getline L91â_advance"üL20010�L93ÜL10028²L20014ÀL20012ÌL95ÐL99èL10035ÆL121ÐL108L127îL114€L123æL117 L131 L119¼L115ŽL116–L122ÜL140ÈL138NL139Ž~advanceülpepcurlpnextepøÿspöÿsp1ôÿcòÿL104¸L20029L109fL110>L20019ˆL103ŠL20025š_cclass"ÒL20027´L124èL1362L128ôL20021òL20022L10029L10030L10032f~cclassÒsetcafnL144èL20032âL143äL145_uclette L146*L20031L148@L149"L20033JL20035:~copyPtofromsizeL154jL158dex_recover.o6—¤�„„^°w üÿÆåNÎeöÿß À μ ß ÷ Þÿ7ÚÿwöÿÔÿÀ Nøÿß ÎÚ ß ÷ ¼ÿ+Îß Îß Îß Nøÿß  ææ¶ÿæŽæ„ß Æe·Š|ÿÎß Îß Îú ß Nøÿß wXÿw TÿÎß 7HÿÀ-DÿÀ%ÿÿôÀ8ÿtøÿÀEÿ7,ÿw(ÿw $ÿ÷ Èÿ÷-ÿÿ÷ ÿ7 Hÿ÷ ÿwÿw ÿ÷ ÿÎ ß ÷ îþ÷ êþ7æþÎ( ß ÷ Øþ ß ÎÌþß  æ¢æ˜ß –%·Š´þÎC ß ÷ Pÿ÷-¤þ¢þ÷ œþ ÷ –þÎæ¬ß Ö Àw€þ ü/usr/lib/exrecover/usr/lib/expreserveFile "%s" preserved. Please seek help immediately. 9Xx‰y ¨xy¨È¨Èè™Ø©¨Èx¨é9˜(‰y™™é9‰y™™‰é9ùxɉyxy¨)ÈØ©xy‰™ ø(é_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _exrecov#„_exprese#˜_recover"~recovercsv pvecöÿ_pipe L6_error _fork L7@_close L8œ_dup _execl cret _waitfor"¨~waitfor¨L14¬_wait L13Ä_revocer"Ø~revocerØL18ôL17ø_change _preserv"ü~preservüL23_synctmp L24$L25TL26€_sync L27¬_lprintf L22|ex_set.o6˜¤‘¬ò€ w üÿDÆå$÷ ðÿ÷ ìÿß À ÷ Þÿ ß FÄ Î\ ß ÷ ÆÿÁ¶7v þyÃˋ΂ ÃË‹ Η Ãˋή ß ÷ fÀ æÃ ß Ö Î&æåß –%÷ `ÿ÷ \ÿ÷ Xÿß À Â÷ JÿwFÿß À æà ß Ö CÃeÚÿ@ÀeøÿÀ ‡Îß ß �÷ ÿß À ë7üþ Š5ŠøÿCÃeÚÿÎæìß Ö À Îß ¹Îxæß Ö À Ë¥nó¥oÃeµŠøÿÂ€Î¦ß Ö À Î¦ß Ö À Âe Ê íÊ Îæ<ß Ö ÷ pþ÷ jþÀ%?÷ `þŽß R_œõ‹øÿ ò‹Žætß Ö €œ ƒ_œÀ xÆÀA�øÿ@à2_œÄ Ú÷ ôÀ Ö÷ þÀ%=Žæ�ß Ö ÷ òýß À Î¿ß  õ Öÿ÷ ÔýÀ%0Â% õÖÿupÖÿf÷ ¶ý€eÄeÐÿ÷ ªýß À ï2_œÄ š÷ tÀ –÷ ˆýÀ%=Žæöß Ö CÃeÚÿ @ÀeøÿÀ ‡Îß ÷ Xý�÷ 6À ð Šò¥NÎeÚÿß _œNÎeÚÿ¦ß Ö ò_œw ý÷ ýß À ÷ ýß À  wöüÀûw ìüÄ€Ì õ‹ � ‚À xÎ4-ß RÄe éô úöw®üw ªüD� ‚À xÔô æöæ÷æðß –% Îúß Î€ß Â÷ dü÷ `üw\üÄ% ï&æå&æßw :üDÄ týÿÀEàß ÂÀEøÿÀU0ß wüw üÄ€ ô¥ô‹4Äe Ì òwäû/bin/sh/tmpunknown@notifyÜçêô÷v :v +.v3v8v=HKVYv^vdv¤¤xvivpvuv~‡Šv‘v ˜ž¡¬¯v¶¾XÂvÈÖÙvàv!%`Nj\ºÖèhh22Fj¤¶¶autoindentaiautoprintapbeautifydirectorydireditanyeaeditederrorbellsebforkhomehushignorecaseicindicateuliulistmagicmodenumberopenoptimizeprintallpapromptscrollshellshshiftwidthswstickyttytypettytersevisualmessagevmwindowwrap%c=%s all%s%s nomode=%s=%d %s=%s ™)8Y˜Y¸øø˜˜ 9 I )8Y i x ˜˜x Yx YÈ È È È ˜I )Y˜Y˜)ˆ ˜)Y)ˆ Y˜˜Y ( ™)H )8i ™i ™è è ) 9 i ™ˆ i ™i x_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls#€_normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _shellna#_direct#:_ttytype#X_NONAME#v_NOTify#xL6ÜL7çL8êL9ôL10÷L11L12 L13L14L15L16 L17+L18.L193L208L21=L22HL23KL24VL25YL26^L27dL28iL29pL30uL31~L32‡L33ŠL34‘L35˜L36žL37¡L38¬L39¯L40¶L41¾L42ÂL43ÈL44ÖL45ÙL46à_set"L10001¶L10002¼L57NL62jL60\L55ºL10006ÆL84ÖL85èL93h~setcsv copvpnoøÿoptnameÚÿcolumnØÿbaseÖÿ_setnoad _peekcha _endcmd L50*_getchar _propts"L49¶L546_error L10003F_uxb L59zL20000v_setend"äL64ŽL65å_lprintf L66œ_flush _skipwh _eol cret _letter L67ÐL70ÖL71èL72ì_strcmp L73*L74PL75xL20002VL76|L78ŒL79ªL80 _propt"RL81ÂL86 _digit L87 L100048L91>L94ŠL95ªL20004’L97¤L98Ê_setterm _strcpy ~setendä_white L10007 L102L10010ÎL1132L114F~proptsallvpL106L105NL109:L108@L10014ÔL120jL124¤L130¶~proptRvpL118œL10011xL122öL10012|L123÷L121ðL20008€_printf L20006ˆL126ú_pro"Â_putnl L128L131~proÂiL135Þ_putchar _REset"ò~REsetòvpL139L20011üL10015 L141ex_shift.o6˜¤�Àtw üÿæ ÷‹öÿ÷ ðÿ7ŠìÿAwpÒuÄÜÿÄ-ØÿI‡ß Îß @�Àå<  ‚À xÀ÷‹®ÿ&ŽNmß 7œÿÎß 5øÿß À`À%þ‚ÎBß Nøÿæß Ö Îß ß Äe¿ ûBí ŽÒÀÑw@ÿ¦`NYÙù™)9 Hihx˜¨¸Èé_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _shift"L10003ÀL11¦L8`L10N~shiftcsv ccntaddrcpdpøÿiL4_save12 L5$L3¼_getline _whitecn L7 L20001Z_geninde L20000^_vpastwh _strlen L12†_error _strcpy _strcLIN _putmark L10000¶cret ex_source.o6™¤�0¤w üÿÆåÎæß Ö  ß Î{ß  ß  fß Ö À ¾ÿ÷‹ºÿÎæß Ö ß ß ·šÿõ `Nß [· †ÿÃ�‚ÿNÎeîÿ& ß Ö À  À7�dÿ5ŠìÿNÎeôÿß ÷ Rÿ÷‹NÿÎæß Ö õ‹ìÿ µŠìÿÎæß Ö ÷%ÿ ß ß ß ÷ ÿNÎeôÿß ÷ øþ÷�ôþ ß ß ß ÷ ÞþNÎeôÿß wÐþ9ÈØøù HÈØùh yxy¨¹ HÈè Ø yØ )_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _errno _slevel _source"~sourcecsv fileokfailosetexitôÿttyîÿsaveinpointtyoerrnoreenterìÿ_signal _dup L4(_error _close _open L5vL6V_onintr L3,_filioer _gtty L10000”L10001˜_getexit _setexit L8ÂL9Ü_command L10_resexit _reset cret ex_subr.o6™¤�îw üÿ „ ÷ òÿ÷ îÿß ŽÀ öwÞÿw ÚÿDC£Ô‹ü wÄÿ“Á˜@àúw ¸ÿDÄ%a Ä%z Ä%ZÀe w”ÿÄ%Aõ ùw †ÿD ƒ Ô‹ýÀwrÿw nÿõ¥ õ¥  wXÿÀûw Nÿõ¥0õ¥9 w8ÿÀûw .ÿõ¥Aõ¥Z wÿÀûYi‰‰‰‰‰‰‰_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _skipwh"~skipwhcsv whL4L20001_getchar _peekcha _white"Žcret _strcmp""~strcmp"leftrightL9.L10<L88_letter"D~letterDcL15lL14hL20003\L16r_strlen"v~strlenvcpiL20„L20005‚~whiteŽcL10000¨L24¤_digit"®~digit®cL10003ÂL10002ÈL27Ä_uclette"Î~ucletteÎcL10006âL10005èL30äex_tty.o6™¤�l ¼6xw üÿÎfß Ö wêÿw æÿÆåý‹õÀ NfÎeúýß Ö À% DÎÃfÎeúýß Ö @�úýA�ûýWt@P7˜ÿÎÔß 7J÷BÀ>À 7˜7–Á0À r7@7>Î×ß 7À%÷èÎÚß 7�@ÿ÷ <ÿÈ¥O7Š2ÿÎÝß 7�&ÿÎàß 7�ÿÎãß 7�ÿ÷ÿÎæß ¦7üþÎéß ¦7ðþÎìß ¦7äþÎïß ¦7ØþNfÎeúýß ^Ö æß Ö ÷ ¸þÄ Næ”ß Ö w¢þw žþDÌ¥:Ì¥|„ Ì‹÷Ì¥|„ Ë¥:Ë¥|ƒ Ë‹÷ Šw`þ@ûw VþÎfß Ö wDþèunun|unknown:0:0:?licocaambsosclndupcey©y(Xùx™™™™xÈYÙYÈiÈyȉ(9 )IèX‰¨©y©y8˜©_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES#¾_COLUMNS#¼_UPPERCA _ttytype _outline _destcol _destlin _tspace @_Tspace _ttycap _setterm"~settermcsv type_Setterm"cret ~SettermtypeprinterrbufúýunknownL7*L8À_tgetent L9VL10Ã_strcpy L11Ô_tgetnum L12|L13×L14´L15Ú_tgetfla _cgoto L16ÎL17ÝL18àL19ãL20æ_Tgetstr"¦L21éL22ìL23ï_longnam"^_termres L6Z_error ~longnam^bpdefcpL28vL20001hL29zL30 L31”L20003†L32˜L27œ~Tgetstr¦cp_tgetstr ex_unix.o6™¤� (P w üÿÆåh÷ ôÿ5ŠøÿÎfÎe’ÿß Ö ÷ ÜÿÂ% Â%ÿÿÎÜß Ä€Á(7è þyÎ<÷ ¨ÿ&ß Ö À ÷ ˜ÿÄ%d‚7ŠŒÿÎß ”�÷ ~ÿÂ%|ÚŽß À Õ ŠÄ@�øÿ&æ@ß –%wPÿCÃe’ÿË‹7ŠBÿÎCß µŠøÿË‹ØÄ%d΃ԔùÃË‹7ŠÿÎlÃË‹7Š ÿÎ—ß µŠøÿË‹¼Ä%d²ƒÀ”ÀU€�öw æþ÷ âþ÷-ÜþÚþ÷ÔþÒþ÷ ÿÎ¹ß ÷ ÀþÎCß ß ÷ ®þ÷ ÿõ‹÷‹žþÎÕß Îæmß Ö ÷ ‚þÎæß Ö ÷ nþ7jþ æß Ö Îôß ÷ Pþ$ÎJþæß Ö Î<þæß Ö  ffæræÿß Æe·ŠþÎôþæß Ö ÷ þæß Ö ÷ TþÎuß ÷ äý÷ àý÷ ÜýwØý!%\`°êPØj%`!-c[No write] |[No write since last change] !%s sh! ™ùøHø‰˜øùHØø ùHøøùøùHø™¹¹É¹É™HÙø™ùHøXhyyhHyÙhéh™¸©™HÉh™ù  _ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _uxb f_unix"L10002(L100030L16°L23êL10PL20ØL13j~unixcsv upfpcprintubøÿpuxb’ÿ_setnoad _strcpy _getchar L100002L4:_error L7>L10004HL11<_peekcha _any L14|L15pL8~_endcmd L27@_unix2"cret L17ÆL18ÊL22þL20000úL25~unix2optprintubupsavintL31RL32<_dingdon L33C_mesg _printf _flush L34~L35lL36m_lprintf _signal _fork L37¬L38úL39r_execl _waitfor L40L41u_termres _gettmod ex_vadjust.o6þ¤‘ôÈ w üÿDÂôÿ Žþÿß ÷ !ÄàÂåÂ-Öÿñ‡€wÎÿw Êÿ ß ÷%¾ÿ Á@`Àm®ÿÀ À 7r¤ÿÀw˜ÿüw �ÿ÷‹Œÿ7 †ÿ7 ‚ÿÃ~ÿóœà Ã-pÿùÀjÿp�· `ÿNß AÁíPÿ@€ rfß 4Ö À6ÿ€ À-0ÿ À*ÿÁ&ÿAœap�wÿß òùw ÿD÷-ÿÿÀúþœaÁðþAœ@àÎß ˜ÀÜþœaß ÜwÌþw Èþ fß Ö ÷ êþ÷‹²þÄ%À¦þÀ !Îmß Nß ÷%ŠþÎ$ß ÷ |þwvþw rþ õ @À @mß ÷ ˆþ`õ ðÀJþÁFþAœ@ààw8þw 4þDÄ%%÷ &þ"÷eþ· þ÷‹þ ÷ Îß ŽÀþÁþÁ p�Àöýœæìýß lÖ ÷ âýÄ Ä Üõ%÷ Ðý÷ ÌýwÈýw ÄýDÄí¼ýÄeß Ž=áß `÷ Ôw ýw œýõ À’ý@mÀ 7ˆýÁ„ýÀ 7r~ýwzý÷ výwrýw nýDÆå0Ä GÎ0æfÎeÊÿß –%Î0À àÀ @aÀeÊÿ&æß –%À fÎeÊÿÀáÀ Àe&ß –%Ãá ÎýÀÀ &ß Ö ƒ Ã%ó Áœàs�ƒ Ã-ÖüöwÐüw Ìü ÀœÀ-Àüà ÷à¶ü÷à²ü Ä-¬ü À`4œ„ öƒ Ã-–üæ ÀœÀ-ˆü÷‚üƒ Ã-|üõ÷ vüÎåß whüw dü÷‹`ü ÷‹Zü÷ TüÎþß ÀHüÁDüAœ@à5!5Ã.üƒ Ã-(ü÷ Rÿwü@Áœ`s�ðw üDÆåÎfÎeúýß Ö  ÀìûÁèûÁ @àÀœ!%ƒ ÂeÃ-ÎûöÃ-ÆûNÎeúýß Žß 3‘�Áí¨û@€ r&ß 4Ö `Âeƒ Ã-Šûßõ„ûøý÷~ûŽß ÷ ¤ûaÀ-lû ¦ß lÖ `· ZûÂeÂ-Rûê†wøýJûŽ&ß Ö „ À8ûÀ !õNÎeúýß w$ûw ûDÆå÷‹ûß ò^ÎfÎeúýß Ö  Àœ!ƒ Ã-èúøÂâú ÷‹Üú?÷‹Öú<‚ :Ã-Ìú+Àœ!'Ã-¾úNÎeúýß ÀÀíªúÀ Àm¤úß ÁšúÁí–ú@€ rÁÁíˆú@`&ß 4Ö À `ƒ ÀÀínúÀ Àmhú&ß Ö „ „ ÄNÎeúýß wJúw FúÀBú@í@-À4ú@í5@@m@í0�„ Ä-úöwíúwúw þùÎß `wòùiiÈYùi8 H ùùùi)©™©ˆˆ™™ˆ©ÈI™©©™ˆˆùié¹™ˆ™ˆ™ˆùi Y¹H X H x ‰ ùiÈ驈ùiY i™Y©¹ˆ©ˆi© É Ù ùi¹ùi¹iÉ y ùiÈØ ÈØ ÈØ ùȈˆ©ùiˆ)©™©ˆˆ©ˆé©©©H ùi)YIH ¹™ˆ™©ùˆˆiøi™ˆ©™XȈI©™™Èé™y™È¹Xùi¹øˆ©¹)Y©ˆ™X™iÈiI™™iÈXùi©©ˆˆ©©ùiù_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _visual _cursor _wcursor _tcursor _dir _vlast _vliny _vcline _vcnt _vch _vtube 0_vtube0 _VLINES _VCOLUMN _vmoving _vmovcol _Outchar _vholdmo _holdat _splitw _hadup _nextic _vundkin _vutmp _vulines 0_vylines 0_vresadd _vrescnt _vresCNT _vdelcnt _vrescur _vyancnt _wdkind _vSCROLL _Pline _Xhadcnt _Xcnt _lasthad _lastcnt _lastcmd _lastcp _workcmd _DEL €_INS €_vglobp _HADUP _HADZERO _CDCNT _ZERO _ogcurso _vback"~vbackcsv ijtpL4&L20001_getline _vdepth"2L5,cret _Putchar ~vdepth2i_column _listcha L10000HL10001LL10002hL9d_vopen"l~vopenltplijL13~L14ŒL20003„_vreopen"4L17êL20004ä_vfixope"ò~vfixopeòineedL21 _vopenup"˜_vsync"Ü~vreopen4llinenoi_vigoto L10005VL10004`L26h_error _pline L27€_putchar _vclreol _vfit"Š~vfitŠitjL31¬L20006’_vroll"È~vrollÈocntcntL37 _vcook L20008ÜL40_vup1"þ_vscroll"Ž_vcsync L354_flusho _vraw _vrollup"8~vrollup8ipi_vmoveit"`_vscrap"0~vmoveit`iL47Š_fgoto ~vscrollŽijtlinesÊÿL50,_copy L51L20010ú_vclrbyt L54&L20012~vscrap0ijL60fL200148L62dL61lL64PL67€L20016pL69~L59”~vopenup˜ijlL75´_vsave L76ÎL20017ÒL20019â_vredraw"ò~vredrawòpltptempúýovclineøý_strcpy L83.L20021 L85rL200236L88H_strcLIN L89NL90ªL20025„L91°L93ÄL20027¸_vclrlin ~vsyncÜpllimtempúýL99öL98²L100L20029 L101L103¤L200310L106ŒL107PL108bL105¢_velide"¶~velide¶cntvfirstiL113ÔL114îL20033à~vup1þex_vclear.o6š¤� Ôw üÿÎøÿß 47 ðÿ7 ìÿ7 èÿ7 äÿÁàÿwpÜÿNæÖÿß TÖ wÌÿw ÈÿDΕ&ß Ö Ì‹÷w¬ÿw ¨ÿDCà ŠÂ~w”ÿw �ÿ fß Ö ÷‹€ÿ õ-zÿ†Î~Î@ß ÷ w`ÿw \ÿ÷-XÿVÿ'ÁPÿÀ 7rJÿ7`FÿÁBÿÀ 7r<ÿw8ÿÄ4ÿDàÀ.ÿÀ C`Ë‹÷ ÿ ÷ ÿÎÿß 4æß TÖ wÿÄ üË‹úÎ ß Ä ƒ õi  iù¹ÉÙ¹iÈ ¹i¹i¨ Iyè ¹iù  ù ù ùÈIY I¹h _ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _visual _cursor _wcursor _tcursor _dir _vlast _vliny _vcline _vcnt _vch _vtube 0_vtube0 _VLINES _VCOLUMN _vmoving _vmovcol _Outchar _vholdmo _holdat _splitw _hadup _nextic _vundkin _vutmp _vulines 0_vylines 0_vresadd _vrescnt _vresCNT _vdelcnt _vrescur _vyancnt _wdkind _vSCROLL _Pline _Xhadcnt _Xcnt _lasthad _lastcnt _lastcmd _lastcp _workcmd _DEL €_INS €_vglobp _HADUP _HADZERO _CDCNT _ZERO _ogcurso _vclear"~vclearcsv ij_vputs"4_vclrbyt"Tcret ~vputs4cpL7LL20001>_putc ~vclrbytTcpiL11hL15d_vclrlin"l~vclrlinlltp_vigoto L19˜L10000�L10001”_putchar _vclreol" ~vclreol itpL22úL24þ_vcsync _vputcha ex_vcolumn.o6š¤�褀w üÿDÄ Äþ &ß Ö wâÿw ÞÿDCæ õÐÿøÿ÷vÈÿ7 ÄÿÄ �4Š ß Ä ´�à À”ß Ë‹úwøÿ’ÿÀŽÿwŠÿw †ÿ@�Á¤7  þy÷elÿ÷Efÿwbÿ· ^ÿû Žži©i))é( x )é©iéé©é_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _visual _cursor _wcursor _tcursor _dir _vlast _vliny _vcline _vcnt _vch _vtube 0_vtube0 _VLINES _VCOLUMN _vmoving _vmovcol _Outchar _vholdmo _holdat _splitw _hadup _nextic _vundkin _vutmp _vulines 0_vylines 0_vresadd _vrescnt _vresCNT _vdelcnt _vrescur _vyancnt _wdkind _vSCROLL _Pline _Xhadcnt _Xcnt _lasthad _lastcnt _lastcmd _lastcp _workcmd _DEL €_INS €_vglobp _HADUP _HADZERO _CDCNT _ZERO _ogcurso _column"~columncsv cpL4_qcolumn"cret ~qcolumnlimgpxOOøÿ_qcount"vL8H_pline L9VL11dL10hL20001\_putchar L10001¤L10002¦L18ŽL19ž~qcountvcL10003†L15šex_vcurs.o6›¤�$Ú H w üÿÎøÿß wðÿw ìÿDß ÷‹Üÿà Îß n7ÎÿwÊÿw Æÿõ 룧 w²ÿw¬ÿw¨ÿw ¤ÿΠÿæœÿß ŠÖ w’ÿw ŽÿNÀ†ÿœ&ß ŠÖ wvÿw rÿõ ÎÑß õ-`ÿAÀ 7rRÿ5`AÀ 7rDÿu÷-<ÿ:ÿÁ4ÿÀ 7r.ÿ7`*ÿÁ&ÿÀ 7r ÿwÿ÷‹ÿOõ-ÿÎþß @€ ÁüþAí@ w-îþ ÷‹èþ Îæ ß Ö 7 ÔþÀÐþÀ þÿÄmÆþ̋̕ Ε&ß Ö · ªþ w-¢þîÎæß Ö ÷ Žþw-ˆþï@7~þ7zþÀtþÀ @- õ-hþ÷‹`þNÎeß wNþwHþ÷ Dþw@þw <þæ ÷-6þ4þ ÷‹.þ÷‹(þÎ"ß ÷-þþÁþÀ 7r þ7`þÁþÀ 7rþýwúý÷-öýôý÷‹îý ÷-èýæý÷-àýÞý ÷ ØýwÔýõÐýøÿNÎeøÿß ÀÀýÀ Äm¶ý@ÁÚ7ˆ þyÎ ß À÷5”ýøÜ̋̕ · „ýÕõ% õ%õ?“@-î÷-`ý^ý÷-XýVý ÷ ¨ýÀLýÀ ÄmBýL�Îfß Ö · ,ý· (ý§ ^p~i9‰iÈ 9‰iH  ‰i ‰i™ˆ‰iH ÉÉÉÉiiÉùiÉiYùH iiyÈX i¹ÈiÈX iiÈX iii ¹¹YØ  é ‰iù )YH É  É ù éY¹ù é ‰Ø È   ùi È ÈX i_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _visual _cursor _wcursor _tcursor _dir _vlast _vliny _vcline _vcnt _vch _vtube 0_vtube0 _VLINES _VCOLUMN _vmoving _vmovcol _Outchar _vholdmo _holdat _splitw _hadup _nextic _vundkin _vutmp _vulines 0_vylines 0_vresadd _vrescnt _vresCNT _vdelcnt _vrescur _vyancnt _wdkind _vSCROLL _Pline _Xhadcnt _Xcnt _lasthad _lastcnt _lastcmd _lastcp _workcmd _DEL €_INS €_vglobp _HADUP _HADZERO _CDCNT _ZERO _ogcurso _vfixcur"~vfixcurcsv _vsetcur"cret ~vsetcurnccol_column L7(_vgotoCL"n_vigoto"6~vigoto6yxL11H_error _vcsync"X~vcsyncX_vgoto"Š~vgotoCLnx~vgotoŠyxtpL21œL22ÀL23äL24ˆL25úL10000L26,_putc L27rL20001<L30DL20003XL20¼L32¬L10001¢_vrollup _fgoto _vputcha"ÀL10006ÚL10007ÞL47^L48pL50~~vputchaÀctpyøÿL36âL37L41<L39,L10002$_obeep L35(L10008VL20004xL10003ŽL51”L10004¬L53¾ex_vkey.o6›¤� æw üÿw�öÿwòÿw îÿ÷ *�Ä‹û‘wÞÿw Úÿ÷ 7�Òÿ÷‹Îÿ wÆÿÀûw ¼ÿæ ÷‹¶ÿõ�°ÿøÿ7Šªÿ@�øÿ ÀŸ ÿ· œÿÿ‹–ÿøÀwŒÿ÷ ˆÿö÷ ‚ÿÎfÎeøÿ& ß –%À%ÎFß õÅ€ÿøÿØw Vÿ÷ `ÿÁæ72 þyß w2ÿüw *ÿ÷ 4ÿ7�"ÿÀ�ÿwÿÈÂÂÎyI™y™yII™yIIIééé™é¹ È è y™yII™_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _visual _cursor _wcursor _tcursor _dir _vlast _vliny _vcline _vcnt _vch _vtube 0_vtube0 _VLINES _VCOLUMN _vmoving _vmovcol _Outchar _vholdmo _holdat _splitw _hadup _nextic _vundkin _vutmp _vulines 0_vylines 0_vresadd _vrescnt _vresCNT _vdelcnt _vrescur _vyancnt _wdkind _vSCROLL _Pline _Xhadcnt _Xcnt _lasthad _lastcnt _lastcmd _lastcp _workcmd _DEL €_INS €_vglobp _HADUP _HADZERO _CDCNT _ZERO _ogcurso _Peekkey _ungetke"~ungetkecsv ccret _getkey"~getkeycL9_getbr"@_peekbr""~peekbr"cL10000:L126~getbr@cøÿL16tL20004VL15pL20001\L20003f_flusho _read L19ž_error _getesc"¦L10003æL10004ìL27ÈL26ÂL23Î~getesc¦cL10005ºL22Ê_peekkey"Ò~peekkeyÒex_voperate.o6¤‘ldÄ w üÿDCÆåõøÿõöÿ÷àÿÞÿ÷Øÿ5Šòÿ rÁ ÁedA! þy÷²ÿÎ@ß õøÿõNöÿ÷ ˜ÿß À _^÷ †ÿÀ%0o÷ |ÿ&ÁVpC÷pÿà e÷ ¶wdÿÎ ß µŠòÿÄ%c÷¥CLÿµŠòÿõøÿÎõøÿÊõøÿÆÎ*ÿß À Ûÿ¥ ÿ÷%ÿÎÿÎ ß ß ÷ þþ÷ öþÆß Îææþß Ö ÷•ÚþÀÖþÀ`7Ðþ÷ ÌþÎÈþæÄþß Ö  æærß –%?‘¬þ· ¨þ÷ ¤þ�÷ žþ™õ‹òÿ?‘�þ· Œþ÷ ˆþ ÀŸ‚þ!Àzþð‹_ rÁ Áe¢A! þy<ÄB÷ÿÿJþÀEßÿ7�@þuøÿôÿ÷ 4À _”à /÷ $À +Îfôÿß ÒÖ Ã ò÷ÿÿ þ÷•þuøÿôÿ÷ úÀ _”÷ îÀ Îfôÿß ÒÖ Ã Ã%òÎfôÿß ÂÖ &ý ôÿÖ _˜÷ºýuøÿôÿó÷‹Ö_”Ä�ÌÀ�Êß µŠòÿ’÷ÿÿŽý÷ Šý_˜õ‹òÿ¿�xý· tý7‘˜·�–Žß ¬À _”à à öÁ’7ä þy÷ @ýõ%øÿ¿· 4ý¼÷‹.ý÷%&ýÃe÷�ý÷•ýÎß 7 ý¨Îß øÎß À 7òüØ÷ÿÿêüuøÿôÿ÷ À _”õ%ôÿ÷ ÊÀ _”÷ ðÀ ÷m¸ü¶üà à ö÷ ÜÀ õ%ôÿ÷%šü‚_4÷í�üŽü_4Ã0u÷ÿÿ~ü÷ ªÀ _”÷ žÀ ÷mfüdüà à öuöÿôÿ_4w Pü÷ JÀ  wBü÷m>ü<ü­6üòÀôw *üD÷% üBÂüŽß Ð Î üæß šÖ À · üû÷ (À òÄ%õ%÷ À ÀŸÚûß À · Ìûò· ÆûÊ‹· ¼ûÄ%:÷ âÀ 6÷ ªû3ÀŸ¤ûß À ÷ –û÷ ÂÀ ó÷ ºÀ ΂ûß Ð Îvûæß šÖ À ÷ fû÷ ’À ò÷ ŠÀ ÎRûæß šÖ À · Bûw>ûw :ûD÷%0û3÷ ZÀ · "û÷ NÀ Îûß ÐÀŸ ûß À óìÎúúæß šÖ À · êú÷ À òõ%8Ä%5Ä%2÷ Êú/ÀŸÄúß À ζúß Ð Îªúæß šÖ À ÷ šú÷ ÆÀ ñÀŸŒúß À ÷ ~ú÷ ªÀ ó÷ ¢À · júwfúw bú@Ÿß À  Nß ÐA�@ õ÷‹:úôÀw0úw ,úDŸß À ß À Ä%_ wúÀûw þù÷‹úù ÀÀîùð‹ø wâù÷%Üùô÷%Ôùõìw Ìù÷%Æù‚ÿ‹Àù w¸ùÀûw ®ùÎæß Ö wœùjt~ 29139<�HHXÒ�¨ÊœÂTftÈÀ¼F°ÀÂÐÖàì     ”@°lr‚””v°r”î¶”l|öΔ¬|Nô¶) è ø 9IiIø ø I X I y i‰ ˜ ¹¸ È Ø 9è 9  98 H Y y ˜ ™ˆ ‰9I™ I9ˆ ¨ ©©™ Y ©©i)i)I˜ iY ©©Iè IY¸I ØIøIiè iIè IiIiiI) ‰ iII) iIII¸ IØIIIè IIØIIIIII‰ ) iIIIØII¸ ø IIØIIIIØII‰ ) Ø)‰ ) 8X ‰ ) I‰ iI) II‰ ) ȉ _ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _visual _cursor _wcursor _tcursor _dir _vlast _vliny _vcline _vcnt _vch _vtube 0_vtube0 _VLINES _VCOLUMN _vmoving _vmovcol _Outchar _vholdmo _holdat _splitw _hadup _nextic _vundkin _vutmp _vulines 0_vylines 0_vresadd _vrescnt _vresCNT _vdelcnt _vrescur _vyancnt _wdkind _vSCROLL _Pline _Xhadcnt _Xcnt _lasthad _lastcnt _lastcmd _lastcp _workcmd _DEL €_INS €_vglobp _HADUP _HADZERO _CDCNT _ZERO _ogcurso _operate"L10003dL10004jL10005tL10006~L21�L9HL10XL16ÒL12¨L15ÊL11œL14ÂL10009’L10010˜L51ÈL54ÀL52¼L20011FL10017¢L10018°L10019ÀL10020ÂL10021ÐL10022ÖL10023àL10024ìL20004”L60L39@L30°L43lL45rL64L73‚L62L69vL35îL32¶L72|L59öL56ÎL28¬L40NL36ô~operatecsv ccntimoveopøÿdeleteopöÿopôÿsubopòÿL4(lastFKND(L5*lastFCHR*_vmove _vdelete L10002@L3˜L20000^_obeep"N_peekkey _digit L22^_vgetcnt cret _ungetke L13º_vchange _vyankit _vgrabit _strlen L10000î_listcha _Putchar L18þ_column _vgotoCL _getesc L19 _vfixcur _strcpy _setLAST _vappend L24tL10016¤_edge"þL33ÒL264_word"ÒL37"L20002 L38(_eend"ÂL46ŒL47¦L20006–_find"¬L10011´L57ä_numblin L58à_vfindco L20012ð_vskipwh _strend _margin"0L66LL20008<L67PL10014`L10013lL74žL20010ŽL75¢~find¬cL80°L82¾L79º~wordÒopcntwhichiwcL87f_wordch"ÐL88L20014ð_wordof"šL89 L91L906L93D_white L86¾L20016XL98rL99¢L100šL20018†L10026º~eendÂopcntwhichiwcL1068L108ÞL20019ÚL20021òL109æL110L20023L111L105–L117‚L115fL20025RL20027pL118Š~wordofšwhichwcursorL123ÂL20028¬L122ÌL20030°L10027È~wordchÐwcursorc_letter L10029øL126ô~edgeþL130L20037L129L20034L20036~margin0L10035HL134D~obeepN_putc ex_vops.o6 ¤‘œ$þ–dw üÿõ¥#· ðÿ· ìÿ÷%æÿƒ÷Þÿ÷-ÚÿØÿ÷ Òÿ;÷ v÷ ÈÿÄÄÿÎÀÿ&ß Ö Ä%†Ì‹õ¥#Ä À ÿœÁ˜ÿÁí”ÿ@€ ræß Ö ` ÎzÿÎeæß Ö ƒ ÀhÿœÀ ñß wVÿw Rÿ÷ Nÿ÷•HÿÎæ@ÿß Ö ÷-6ÿ4ÿƒÄ.ÿ÷*ÿ(ÿ7$ÿw ÿw ÿÎß wÿw ÿÎß wÿw üþ÷%öþƒ÷îþ÷-êþèþ÷-âþàþƒÄÚþ÷ÖþÔþ7ÐþNß ý¥ ÷ ¼þw¸þw ´þ÷%®þƒ÷¦þ÷-¢þ þ÷ šþ7÷ >ÿ÷ �þÄŒþΈþÎ ß Î$ß 7vþ÷ rþÎnþæjþß Ö ÿ‹`þ ÎZþÎTþÎ ß ß ÿ¥ @þó÷ :þ ææcß Ú–%w&þw "þÆå÷‹þ÷‹þ÷ þõ  À7�üýõ¥rõôÿ5 ôÿõäýöÿ@�Áþ7Ú þy÷•ÈýÎæÀýß Ö ÷ ¾ýõ Nß  ŠÎæšýÎ ß Ö ß Ã Šõ¥o÷ xý÷ týÿ‹ný÷ hýÀ ÷‹`ý÷¥ Xý÷ Rý_÷Hý÷ Bý7Š<ýõ¥rõ ôÿ5Šøÿ%NÎeøÿæfôÿß Ì–%÷‹ý÷‹ ýÎŒ ÎŽ ß Î� ß ÷ ìü÷ èü÷Îâüß 5 ôÿ÷‹Öü÷ ØüNß 8÷‹Àü5Îß N@�&ß nÖ 5ΘüæŽ ß Ö Îæ†üß Ö ÀÀå7`vüõ ñõ¥ øÿÎŽ æ`üß Ö ÁVüÁíRü@€ rÀDüœ&ß Ö õ¥ øÿ_ðÎ’ ß ÷ ü÷¥ü÷•üwöÿ üÎüß ÷ þû7úû÷ôû÷îû÷êûèû÷ äû· àûõ÷ Þû,÷‹Ðû ÷‹ÊûÎß œ57ЏûÎŽ ß ~ß Nß  ŠÎß À`À%þ†ÃÎæß Ö ÎŽ æß Ö ÃÎß (· ^û÷‹Zû÷ Tû÷ Pû ÀJûœÿÿ`æ>ûß Ö Îß Š÷*ûÎæ"ûÎ ß Ö ß _Ä÷% û†÷ ûß ÷ úúwöúw òúDÃÓ• ÄåÄ%øÓ• Ä Ä ûÀwÈúw ÄúÎß œÎß ~Ë‹ D-÷‹¢ú7Šœúw–úÎ&÷ ˜ÿÖ &ß Ö ów ~úD„ “ß À ùwdúw `úD •Á 7b þyÃeÃEòƒ ðÀw4úw 0úDÆå =Š7 ú÷ ú7 ú7Šú7Šú7Š úÎß œ5ôÿõüùòÿõ õ õ ÷ æùõ�ðÿÀ rÁ ÁeH A! þyÎß Šw¶ù ŠÎß ~Îß œõ¥ðÿ!ÍÀÀm|ú€ ß 5ôÿß ·vù_zÎß 5ôÿ· dùðC-ôÿ"à !ñ€€ !Ê¥^Ê¥0Ê¥^ À7�.ù·&ù÷• ù÷ùI÷ ùŒÀù@íòÿÀ%…Àùð¥^þÿð¥0þÿ_Àèø€ !_ Â-Öø'ƒ÷ Ðø_7ŠÈø€œÿÿß À  Â-°øõ‡ŽÎ ß Â- ø †ŽÎ æß Ö À  ó†ø!Ö•ß „ ú‚ ŠÎæjøÎ ß Ö ß „_à ý�_BõFøøÿõ@øöÿÎ\ß ÷ 2ø÷ .øÀ rÁ Áe A! þyNøÿföÿß Ö Îß Ä%þ†Îòß Ô�÷ è÷_Îß Ã\îw Ô÷wÎ÷·ŠÊ÷ÎÆ÷æLß Ö ÷Џ÷w´÷w °÷÷ ¬÷Àÿÿw¢÷Ξ÷ß 7 –÷ öw Ž÷DÄ%þÄþÎß õ¥RÎj÷ß  À€ÀmV÷æP÷ß Ö Îß BpÁ`Á%þw.÷ÁþÁàÀ rö÷ ÷Îß ïw ÷Î ÷ß w÷corFFF2 ¸ÂÆ . 4   ?ððððððððP V d n   *þvBþJ®ª<v<þ"J4¶0^ i9IIII9Ù 9I ™ˆiIH ix ™ˆˆ ™ iÉ ‰™ 9II9I9™ iØ™ iÈ™ iIII99II9I9˜ Ù™ iIII9Ù) 9Iˆ 8 9 I9 999x ˆ 9) ™ i)Y© ¹ 9‰™ ™9( ˆ ) ééi ÙÙÙØééÙù HH9H¹ ™i¨9 9 99 iI™ˆH H© ‰‰ ™)©ÙùiÉ9ù™i¹ ¹ ˆ  ™)Ù陈i99( ˆ 99() ™ i™ i ™  iH™ i™ i9ùù ié)H™ ™h9hi9ùééé99Ù)H989X98 9( ˆ  8 ‰)¨8 ؉Hiéi(™ ié™ ééiˆ9ˆ99 ˆ™ © ØiIˆ ™ _ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _visual _cursor _wcursor _tcursor _dir _vlast _vliny _vcline _vcnt _vch _vtube 0_vtube0 _VLINES _VCOLUMN _vmoving _vmovcol _Outchar _vholdmo _holdat _splitw _hadup _nextic _vundkin _vutmp _vulines 0_vylines 0_vresadd _vrescnt _vresCNT _vdelcnt _vrescur _vyancnt _wdkind _vSCROLL _Pline _Xhadcnt _Xcnt _lasthad _lastcnt _lastcmd _lastcp _workcmd _DEL €_INS €_vglobp _HADUP _HADZERO _CDCNT _ZERO _ogcurso _vdelete"~vdeletecsv ccpiL4L5"L60_obeep L3¦_vdcMID"ª_setDEL _strcpy L7\L10000Z_vreopen L8”L20001‚_vclrlin _vsetcur cret ~vdcMIDªcp_setLAST L12Ü_vgrabit"à~vgrabità_takeout"_vyankit"ð~vyankitð~takeoutBUFcpL23L20002@L250_setBUF L22D_vchange"H~vchangeHcpiL30ZL31hL29Ö_vfixcur _putchar L32ºL20005®L20007¨_column _vgotoCL L33Æ_vappend"Ú_vaifirs L10004þL10005 L42FL472~vappendÚchcntindentigcursorescapeøÿicöÿrepcntôÿL39ò_vsave L10001üL10002L40L41L10006*L48v_geninde" _qcolumn L49ˆL10008”L10007œ_peekbr L51ºL10009ªL52²L38L55ÄL57ØL58"_vgetlin"ÌL62L10010þL60Œ L10011L61Ž _addtext L20009L64� L65P_fixinde"8L66F_strend _vmaxrep"nL69rL70¦L56ðL71’ L72_strcLIN _putline _getDOT L73„L74D_whitecn"œ_vpastwh"~_strlen L75vL76–_vdoappe"(L77²_vup1 _voinit L78È_vopen L79ü_vfixope ~geninde indentcpL83 L20011L86.L20013(~fixinde8indenticpL92jL20014d~vpastwh~cpL96ŠL20016ˆ_white L10013 L10014 L105¸L106ÂL107Æ~whitecnœcpiL101¦L10015°L10023 L10024 L10025. L100264 L156L155ðL10029H L10030P L10031V L10032d L10033n L158þL138vL114BL120JL143®L142ªL118<L127"L1304L145¶~vgetlinÌcntgcursoraescapedccpxøÿyöÿiwhiteôÿiglobpòÿchðÿ_flusho L111L113_getkey L100284_ungetke L121ž_backtab L20023~L122zL20025ŽL123èL10016ÀL10017ÊL10018ÎL10020L20022,L131LL20018<L132R_wordch L134\_wordof L140ˆL20027€_vcsync L10022è_vgoto L157L159_error _vsplitp ~vdoappe(lp_vgetspl"L_append ~vgetsplLL166^L165Z~vmaxrepnchcntlenreplenL170€L171¶L10034¤L10035¦L172ÒL20028Ì_vmove"î~vmoveîex_vset.o6œ¤�¬ > w üÿ÷ øÿ÷�òÿðÿ÷ìÿêÿ?ŠæÿÎæß Ö wÔÿw Ðÿ÷ Ìÿ÷‹Æÿ÷ŠÀÿ÷¸ÿ÷‹´ÿ÷Š®ÿõ�¨ÿ� ÿ· œÿw˜ÿw ”ÿ÷•Žÿw�ˆÿw„ÿw €ÿ÷‹|ÿ7 vÿwrÿw nÿ÷ jÿ Næß þÖ ÷¥ Tÿ7ŠNÿwJÿw FÿÎß Æw:ÿw 6ÿæ õŸ0ÿøÿ?Š*ÿ=ŠÎ"ÿfß þÖ �øÿÿõ%7 ÿwÿw þþDCÌ¥ Îß &&÷ âþÖ €e€ À%€Ì• Î&ß Ö wÂþ9¹)I9YyˆhXi9¹‰‰ˆy‰‰yyyi9‰yi9‰¹i9¹¨©ii9˜i9 ˜éi9X Y x i_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _visual _cursor _wcursor _tcursor _dir _vlast _vliny _vcline _vcnt _vch _vtube 0_vtube0 _VLINES _VCOLUMN _vmoving _vmovcol _Outchar _vholdmo _holdat _splitw _hadup _nextic _vundkin _vutmp _vulines 0_vylines 0_vresadd _vrescnt _vresCNT _vdelcnt _vrescur _vyancnt _wdkind _vSCROLL _Pline _Xhadcnt _Xcnt _lasthad _lastcnt _lastcmd _lastcp _workcmd _DEL €_INS €_vglobp _HADUP _HADZERO _CDCNT _ZERO _ogcurso _setLAST"~setLASTcsv L3(_strcpy cret _xtree _hadx _setwork",~setwork,cL7BL6dL9Z_xtrey"h~xtreyhc_killglo"|~killglo|L15Š_addtext"Ž~addtextŽcpL18²_addto"þ_setDEL"¶~setDEL¶_setBUF"Æ~setBUFÆBUFcøÿL25ú~addtoþbufstrL29:_strlen L300_strcat exa.o6�¤�0ú,w üÿæ 5 øÿwðÿ÷‹ìÿ[÷‹æÿXõ%TÀØÿÀe7Ðÿ7Ìÿ7ŠÈÿI÷-ÂÿÀÿ‚Îß À%ÿÿ÷‹¬ÿ õ% ÷žÿœÿÀ˜ÿÀe7�ÿÎß ÷e‚ÿµ øÿÄzÿÄeÃe÷ejÿ÷edÿ÷e^ÿ÷eXÿÂTÿ#„ ý‡ Žß õ%· 8ÿ÷ 4ÿý À ³@øÿw$ÿw ÿ÷‹ÿ7ŠÿÀÿ7ÿ7 ÿwÿi)˜iÙÉù™‰È˜)É9Ùø™‰iÙy‰i(8 IYù)ÙÉY_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _append"~appendcsv faa1a2rdotnlineøÿL5Ì_getsub L20003:L7~_sbrk L8xL9p_error L10°L20001®_putmark _gettty _TSYNC cret _appendn"Ü~appendnÜL15öexg.o6�¤�¬ $$w üÿÆåÁôÿÁíðÿ@€ r5öþõàÿøþ÷‹ÚÿÎ8ß ÷ Ìÿ÷ Èÿ÷ Äÿ÷ Àÿ÷ ¼ÿÎß À ÎZß  æß Ö Îªææß –%DÄeúþ÷ ‚ÿÃ% )ÀÁ07¤ þyÎ‘ß ÷ \ÿÀÁ$7x þy÷DÿÔ�@Àeøÿ!Ù‡Î¥ß ÔÔ•\ò÷$ÿ÷ ÿÔ�Š÷•ÿÂÿÊEÂ-ÿ ‚Â-ÿ ‡Ž& ß Ö @-ÊUÂeÂ-äþé†÷ ìÂÚþÊ5ÊE·Êþ@Àeúþ7ÀþÎæß Ö Â®þÂeÂ-¦þæ†7Š þ÷•šþwøþ”þNöþß ÷ÿÿ†þw‚þw ~þD÷•tþ÷pþnþÂjþÂeCÂ-\þ‚Îß À%ÿÿÎÕß ÷e>þÒ!ì†÷•2þ@Àeþÿ7&þw þÀe7þ€Àeþÿ7 þwþw þÎþæüýß ~Ö wòýw îýÎêýææýß ~Ö wÜý \¼¸Òÿÿ\˜ ¼)yI‰¸ÉÙéù ¸8øH ¸ Y¸Y™Y)9ØyYi9(IyY‰8II)ùiéy™è¸™ù¹ÉÙ‰I)9)I)yYI_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _re ª_scanre ª_subre ª_rhsbuf _loc1 _loc2 _locs _linebp _global"L10001$L10002(L8¼L14¸L16ÒL100050L100064L10˜L11 ~globalcsv kgpca1globufúþCwasøþiöþL40_error _markDOT _setall _nonzero _skipwh _getchar _endcmd L5X_compile _copy L6zL7ØL10007�L10003°_newline L18L20001ðL20_execute _saveall"L22VL20003(L24R_command _netchHA cret _save"~~save~a1a2addrdestL29ÄL20005 L31Â_sbrk L33¼_save12"ø~save12ø~saveallexh.o6ž¤�à ¤.,w üÿ æöÿß Ö 7ìÿ÷ æÿ÷ àÿwÜÿw ØÿD &æÌÿß –%Ä΀&æ¸ÿß –%À%İ÷‹¤ÿ÷•œÿ÷ ˜ÿ÷ ”ÿ÷‹�ÿ7ŠŠÿ÷ †ÿ÷ ª÷‹~ÿ÷ xÿ÷ tÿ7Špÿ7ŠlÿN ff&÷ ˜Ö &ß Æe÷ Jÿ÷‹FÿÎß ÷ 8ÿÎ& & ß –%÷‹&ÿ÷ ÿ7Šÿ7 ÿ÷%ÿÿÿ÷ ÿ÷% ÿõ7 úþ÷•ôþ÷ ðþÎêþß ÷ÿÿàþ÷ ÜþwØþw Ôþ÷ ÿ릧 wÂþw ¾þDæß Ö  Šƒ Ë‹À’Á¤7: þy÷ ’ÿîË• ì÷ †ÿèÀ€ wpþw lþ÷‹hþ Îß ÷Zþ\þÎß 7ŠLþwHþw DþÆåιfÎeøýß Ö NÎeøýß ÷ þ÷ þß À ÎÊfÎeøýß Ö !Ä ÷ øýß À ÷ êý�÷ äýß À ïŠ÷ Ôý÷ Ðýß À Îß $÷ ºý fÎeøýß Ö 7¨ýÎæaß $Ö ÷ –ý @€`0ŠøýNÎeøýæÏß Ö ÎfÎeøýænýß –%è÷ `ýw\ý@|v‚ZERROR‡‡/usr/lib/how_ex/help%sI(IiyøÉÉIIiii)™©)9ÈÙ©ø øI9IYIYY  x ‰y™ÈyX™™y©è¹©ø©yXx‰™¨Ø™¨Y™( ‰™¨9 ( Y È Iy_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _helpini"~helpinicsv _open L4_flush L3 _pstop cret _error"$~error$stri1i2i3 c_seek _read L9XL10°L11d_resetfl L12z_sync _dingdon"(L13Œ_termres _putnl _mesg">_lprintf _putNFL L14Ä_exit _undiddl L15âL16úL20001ìL17_getchar L18 _close _reset ~dingdon(L21:L23¶_printf L10001¤L10002¨L32vL35‚L29Z~mesg>strcp_strcpy L27\L20003XL20005dL26ŒL10003n_normal"�~normal�L40°_gTTY _sTTY _helpthe"¸~helpthe¸cpicpbufføýbuffcntL44¹_strend _skipwh _peekcha _endcmd L45L46Ê_strcat L47BL48L20007L49&_white _eol L51f_setnorm L52„L20009lL54Ïexj.o6ž¤�p²üw üÿà ŠÄòÿ/ß ÂÄ-âÿ"õ‹‚ Ê¥ üÊ¥ ùÊ‹Ã%†ó¥ ÿÿó¥ ÿÿ Ó• Ã%þ†Î­ß “”÷à ÄeÄ-ŽÿΆÃÂÒ”þ÷ |ÿ÷vÿ÷åpÿÎlÿæ¢ß Ö w^ÿw Zÿ÷ VÿÀRÿwNÿ))˜)è9 ù))(9)ùù9_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _jcount _join"~joincsv ca1cpcp1L4nL20004_getline L11dL8*L10000(L20002V_error L20005|_delete _jnoop"¢_append cret ~jnoop¢exm.o6ž¤�ì h w üÿÿ¥Möÿ÷ ðÿ÷-ìÿêÿÎäÿÎeþÿÎÚÿÎeß ÷ Ìÿ÷ Èÿ÷ Äÿμÿæôß Ö ÷ ®ÿÿ¥M¦ÿ& æß rÖ ÷ ’ÿwŽÿw Šÿæ DÁ€ÿÁí|ÿ@€ r€ 5øÿõ‹÷dÿbÿÃ^ÿÎÃeæÆß Ö ÂJÿ ÂDÿÃ@ÿÓEƒ ü†Ã2ÿÂeÄ ;ƒÀeÀ õ‹Îß �Áà@€ rÀ a7þþÄeÄ 'Î&ß ªÖ Žæß ªÖ Ž&7ØþÄeŽæß ªÖ ¦ß ªÖ æß ªÖ „ êƒÎ;ß ÷ ¤þ÷‹ þ"õ‹@Àe7Œþ@øÿÀ Àm‚þ7~þ÷ zþ÷•rþ÷nþlþ÷hþfþw`þ÷\þZþwVþw RþDC ”Â!û‡w:þw 6þ÷-2þ0þ†Àÿÿw&þÎ"þ÷eþß õw þ÷- þ þ†ÀÿÿwþÎüý÷eöýß ÷eìý òw äý÷ àý÷•Úý÷ ÖýwÒýw ÎýÁÊýÁíÆý@€ rÀ¸ýÀe7°ýάýæìß Ö ß w˜ý‰Ii9)9x™©¹‰Øé‰)99))Iyèy9))Øii؉ÉÉÙ¹ù)É9Ù¹y‰999I9IIX‰I9IIXIÉù)9‰yyI9è9_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _move"~movecsv adtL40_setdot1 L10000"L10001*_markpr L54_setdot _nonzero _address L6N_error _newline L10002`L10003d_move1"r_killed cret _tad1 ~move1rcflagaddrtadtad1ad2linesøÿL10¸_getcopy"Æ_append L11ÎL12ÆL20001ÂL14LL15îL17X_reverse"ªL20003DL20005$_change L9¦L21ˆ_deleten ~reverseªa1a2tL26¼L20007¸~getcopyÆL31ÚL30Ö_getline _getPUT"ì~getPUTìL35L34ü_yank"~yank_save12 _PUT".~PUT.cnt_netchan exo.o6Ÿ¤�d  < w üÿÆå„ ÷ ¦Îjß ÷‹æÿÎ�ß ÷ØÿÖÿ÷‹Òÿ÷‹Ìÿ÷ Æÿ7ŠÂÿ÷ ¾ÿ÷ ºÿ÷ ¶ÿ÷‹²ÿ÷ ¬ÿÁ¨ÿÁí¤ÿ@€ r5vö÷ ”ÿÀ%/*Î÷ †ÿ&ß Ö Îªææß –%Îhÿ& ß Ö À ÎÂß õPÿøÿõ%øÿ†ý‹øÿ õ øÿ Î6ÿß Îß š5øÿ÷ "ÿ÷ÿÿNÎexöß ÷ ÿ÷ ÿ7Šÿ÷‹ÿ ÷%ìÿøþ7 òþ÷ îþ ÷ èþÀâþÀ 7Üþ7Øþ÷•Òþ÷ÎþÌþ ÷¥.Äþ÷ ¾þÎß š5øÿ÷‹®þ÷ ¨þ7Фþ÷ ^Nøÿß À%ÿÿä÷ Žþ7ŠŠþ÷‹†þ÷ €þ÷ |þ÷ vþ÷ rþNvöß wfþw bþDô‹„ “ß À öwBþw >þ7 :þ7 6þÄ2þÄ Î,þÀ &ß Ö ÷‹þ Ä ÎþÀ &ß Ö æþýß Ö wôýé™8 )8 iIù Iyi y ‰ © yI¹ Ù è øø ) 8 9)8 Y Y9h x y‰ ùii¹ ÉY¹™‰)i  ‰¹ ‰8 I )ù¹ i Iy ˆ ™ éø ™ éùéYI( ùI( iH ™ _ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _re ª_scanre ª_subre ª_rhsbuf _loc1 _loc2 _locs _linebp _visual _cursor _wcursor _tcursor _dir _vlast _vliny _vcline _vcnt _vch _vtube 0_vtube0 _VLINES _VCOLUMN _vmoving _vmovcol _Outchar _vholdmo _holdat _splitw _hadup _nextic _vundkin _vutmp _vulines 0_vylines 0_vresadd _vrescnt _vresCNT _vdelcnt _vrescur _vyancnt _wdkind _vSCROLL _Pline _Xhadcnt _Xcnt _lasthad _lastcnt _lastcmd _lastcp _workcmd _DEL €_INS €_vglobp _HADUP _HADZERO _CDCNT _ZERO _ogcurso _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _oop"~oopcsv icøÿatubexölinesvöL4_error L5$L6:_setdot _nonzero _skipwh L7T_saveall _peekcha L8Æ_getchar _compile _copy _execute L9¬L11Ú_getline _vskipwh"š_newline _vok _vputcha _ostart L12L13_vup1 L14(L16NL200016L17n_getDOT L18X_voinit"¾_vmain _ostop L19€_flusho _setoutt _netchHA cret ~vskipwhšcpL23¬L20003¤L24¸_white ~voinit¾i_vclrbyt L28ü_vopen exr.o6Ÿ¤�Ì ¼4Üw üÿÆå& æß Ö 7èÿõ¥e À÷%Ðÿ Á@0· øÿ÷ ºÿ÷ æÿ_BNÎeÖÿæ¦ÿß Ö À ÷ ˜ÿ@ÚÿÀEÿŸÁÜ7l þyÎìß Îtÿß À Îß õ¥ãÿõ¥âÿKÎ ß Î%ß ÎfÎeÔÿæ6ÿß –% & æ&ÿß –%Ä%.@ÔÿÁ¼7Ø þyÎ1ß ÎAß ÎVß Îcß Îvß ÎŒß Î–ß õ5€€ÔÿÎ¤ß õ¥r ÷ ²þ÷ @�ß „w þ÷ œþôw –þ÷ ’þ÷ ŽþΊþæß Ö w|þw xþ÷ tþÀ õ¥e· žþõ¥e÷•Vþ÷‹Rþ7ŠLþ÷ HþwDþeÿmÿ "*ú 2 @`¼ˆ´€B9èˆ ù™ù™ ù8 H888 x ˆ88888888¹ù 9)99HXù9‰™ùiiÉù_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _errno _rop"L10006¼L10007ÊL22"L23*L17úL18L19 L20L21L242L10010ÜL10011äL14¼L11ˆL13´L10€L6B~ropcsv cistbufÖÿmagicÔÿ_open L4FL10000&L10001*L100026L10003:L5B_ioerror _fstat L7hL10012x_error _gTTY L12œL10004¬_read _seek L10008òL20000`_setall L27N_rop2"f_rop3"„cret _setdot ~rop2f_deleten _clrstat _getfile _append ~rop3„c_iostats L34œL36ªL33¸_sync exu.o6 ¤�ø pìw üÿÆå÷‹ôÿÎéß õ‹÷ È÷ Üÿ÷¥Öÿ=ÃÐÿÁÁíÊÿ@€ r÷ºÿöÿÀ À`7¬ÿÀÀeþÿ7¢ÿÃe÷˜ÿÁ”ÿw�ÿÁíŒÿ@€ rÀ À`7|ÿÂxÿÎtÿ& ß Ö ·hÿ÷xbÿ÷ ^ÿ_ÎõVÿôÿÁPÿÁíLÿ@€ r5òÿõ<ÿöÿÀ6ÿÀe5øÿÂ*ÿÃ&ÿ€Àà@€ r!Žæß Ö Nøÿ¦ß Ö Nøÿæß Ö ÷ îþ‚À 7àäþÀ 5àöÿÀÀeþÿ7ÒþÃÎþÃeÂÆþ�ÁíÀþ@€ r#C-øÿNøÿæß Ö ÂeŽføÿß Ö Žæß Ö ÷ „þ‚À 7`zþ÷vþÀ 5`öÿÀjþÀeþÿ7bþ÷^þÀ À`7TþwöÿNþNòÿß ÷¥@þ÷:þ8þwôÿ2þ÷-.þ,þ÷-&þ$þ÷þþwþw þÀ�þ 7‚À xp÷-þþý4÷-øýöý,/ÁîýÁíêý@€ r&ÁÜýÁíØý@€ r€%ÄÈýÃÄýÃeÄ-¼ý‡ÀEÁÁE@ ÄeðÎß Îß w�ýül\move¨Ùù¹Ù9É)¹)Ù¹É9ɹi‰9iyIyyÙÉxxx¹¹i¹‰yxxxÉÉiɹÉÙyÈùéiéIiyiYiéùÙɉyyI‰yYyy¨¨é_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _undo"~undocsv cijpkpdolp1øÿnewdolöÿnewadotôÿL4_error L5 _somecha"è_change L6¦L7`L8„_move1 L9x_killed L10ÎcntòÿL11._reverse L12L13’L14xL15†_netchHA L3äcret L10002pL24üL20lL25L29\~somechaèipjpL21dL20000<exw.o6£¤�¸º(w üÿÆå$  ÷ ðÿÀ%!ƒ ÷ äÿ÷ àÿ÷ Øÿ„ ÷ Òÿ÷ ÎÿÀ%>öÄ  ÷ ¼ÿß À Îªß Ä Ä%ÎÊß Îwß  ƒ_NÀ xºà V÷ °ÿÎæß Ö À ÷-^ÿ\ÿ÷-VÿTÿBÎß =NÎeÖÿæß Ö À 3@ÚÿÀEÿŸÀ% õ¥ãÿõ‹âÿ%õ¥ãÿõ¥âÿÎæß Ö 7öþ÷ ðþÎìþß À ÎæZß Ö ÎÒþß ÷ ÊþÎZÿæß Ö 7¸þ÷ ²þ÷ ®þ÷ ªþÄ%÷- þžþ÷-˜þ–þÎæß Ö À ÷¶þ÷ xþwtþÎæß Ö 7bþ Î& æVþß –%À Íà ɼ‚NŒi¹ÙéÙé¹¹(88X™øèˆY)y98è¨èØ ù è8 (9™èH ùiyY)y9øèˆ™©¹èØ  Ø_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _errno _wop"L10005ºL11‚L9NL19Œ~wopcsv cexclamblstbufÖÿ_peekcha L4_getchar _skipwh L5.L20001$L7V_endcmd _error L8h_filenam L122L13¸_strcmp L10000®_stat L15øL10001è_open L16_ioerror _gTTY L17*_close _synctmp _creat L20002J_putfile _iostats L3ˆL22„_sync cret L10003´_seek exx.o6§¤�ä> @w üÿ÷ øÿ÷‹ôÿ÷ îÿ7ŠêÿÄæÿ 7àÿß Îæß Ö @�&ý Ö Îæß Ö À ß ÄeÄ- ÿ݆wšÿw –ÿ ÃÄÌ¥ Ã%þ ƒÓ• ‚ Â5÷ Ã%þ‚Î�ß “‚ „ Ì‹çŠwRÿw Nÿæ 5 øÿ ÄÓÁ>7v þyÂeÂE.@øÿÀeÀE€ @øÿ€ € Ó• õeøÿõEøÿêµ øÿÓ• µ øÿøÌ‹õ‹æß Ö wÎþ“µ øÿ‚ „  Ô8ÞYyù)i¨¸Èè9ùÈù¸ù_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _xop"~xopcsv fcdp_nonzero L4_save12 L5\L20001_getline _strcpy _strcmp L7X_putmark cret _xpand"f~xpandfcpdpcolL12¤L20003vL15�L18|L19–L14¢L20ž_error _tabulat"®L10002>L10003BL29ÔL288L31Þ~tabulat®ccpdpdcolocoløÿL24ÂL10004ÌL26:L33 L34L10000$L352exz.o6§¤�æ<¼w üÿw�öÿ÷ òÿ7Šîÿ7Šêÿ÷ æÿ„Áæ7Ê þy ÷•Êÿ÷ Äÿ·ŠÀÿ÷ ¼ÿ€ ø÷ ´ÿ ÁWp CÀeÐÿ` ·Ššÿ ß À ÃeÐÿ÷ ‚ÿß À ãÃ-’·ŠlÿÂ%= Ãe Â%ÿÿÀ0ÀpÄ%ÿÿ7Dÿ÷ @ÿ÷<ÿ:ÿ÷ 6ÿŽæß ØÖ w(ÿw $ÿDC� À�Á7 þy ÷-ÿÿÎÄß ÷-ôþòþÎÍß Á�äþDpÁ w`Üþ÷-ØþÖþ†ÎÕß ÷eÆþ÷ÂþÀþÀ À 7`¶þ÷²þ°þ÷-¬þªþ‡÷¤þ¢þ÷-žþœþ†÷–þ”þ÷-�þŽþ†÷ˆþ†þ÷-‚þ€þ†_ˆÁvþÁírþ@€ rÀ%÷ `þÀ�À%ÿÿD÷‹TþAÎNþß Î�ß ÷•<þ?Ä „ Ã¥=Ä À*þÁ @à7 þÃ¥=Âþ·þÀ 7` þÃ¥.ª÷ þ¤Á�úýDpÁ wàòý÷-îýìýƒÎáß Ä ÀÜýÁ @à7Òý�÷‹Ìý÷ ÆýÎšß   ¦Îeþÿæ¬ýß –%÷ . ¦¦ß –%÷ €Àe7ˆý æ‚ýæ~ýß –%wtýw pý÷%èjýÀHÀ^ýÃÓ•-Ä Ä û ŠÎæß Ö w8ýw 4ý7Š0ýÎ=fß ØÖ ÷ ýwýÿÿ+-.=^b@@HH0hÿÿ+-.=^øÆÆ:%s é99)IIIIIyI)¸I¸™)™™Y)9)9Yéy9(y9(I9y9(99)99iI)Y)y9y9yiyi9)9)É9)èø‰9)9i99 I9Y9(9)) ø)h h )9)h YéÉÉ Yé)I Y_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _znoclea _zhadpr _zweight _zop"L10001æL10002òL13bL9@L12HL60L14h~zopcsv hadprclinesop_notempt _getchar L10003(L200018_peekcha L4jL20003PL16z_digit L15 L18”L20²L10004¬L10005°L21À_newline _setdot _zop2"Øcret L10007L10008L27øL29L39L34ÆL32:~zop2ØlinesopsplitL10009ð_error L30L314L20004JL25PL41^L42lL43zL24ˆL44 _pstart L450_getline _putchar L46DL35ÒL36î_markDOT L40L48x_plines _splitit"Œ~splititŒllpL10010žL10011¢L52°L20006ªL55_printf _zeq"È~zeqÈcnt_putNFL printf.o6פ�äjØw üÿÆå~wrDÄeÀŸh · b %ß ôwÐÿ7 N÷wBƒÃeÁjBí üJ  Ó•-ׯ d· ÷ F r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „( À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à • à Á” Ò‹ƒ D~‚Âeƒà&æ Ä Ãmjß Ã~Ä Ž”ß à Î ß Ã~Ö „wÖþ ÀŸ<· 8Àå0 úÿ ‚Wp `îÀe0ƒPdÜcês\l)9_printf"_putchar csv cret formp€loopndigit‚gnum>width~swtabjdecimalPcharacÜstringêlongorun\unsignedjlongŒprbufþprstrputchar.o6â¤�ÔL ÷ üÿwøÿ@><À4÷.‡À(÷"‡÷‡÷ ÈÿwÄÿ÷ Àÿw¼ÿ÷‡ù ¨h˜9I)xhxˆ_putchar"_outchar" _pline"_setlist"_setnorm" _setnumb",_normcha _termcha _normlin _numblin _listcha _Putchar#L_Outchar#N_Pline#P_putNFL"_putnl _flush _setnoad _eol _setcoun _newline _setCNL"4_setNAEO"<_setoutt"Dreset.o6ô¤�8^lwZ·X·V ‡€ÐFÐFÐ@‡€74747.‡w Èÿ@w# EûÆÅ·õw¢ÿIY_setexit"_getexit"_resexit""_reset"4csv cret sr5^spc`sspbwait.o6Þ¤�Pf…‰†wôÿ}…‡_wait"cerror eÿex.o6 ¤�2Jw üÿÆåÄôÿü¥a÷e æÿð¥dð¥d7 €÷f7 NÄe÷ ¼ÿ÷ ¸ÿ÷ ´ÿÎæß Ö 7¢ÿÎæß Ö 7�ÿÎæß Ö À5 À7�pÿ ß 7fÿ5Šøÿ5Šöÿ7÷¸ÿ7 dÿ7 õ•öÿ(ü¥-+œà ìÀÁ47h þy ·Šÿ7 èÿ·Šÿ õ•øÿ ÎÿæPß Ö ÷ öþ÷ òþÄe÷ êþÑ÷‹äþ ÷ ÞþÎcß ÷ Ðþ7ŠÌþ7Èþ÷ v5Šòÿ÷ ¼þõ‹òÿµŠòÿ÷‹®þΊæß Ö õ‹öÿ@�øÿß Îxß ÷ €þ÷ |þ÷ tþ÷ nþ÷jþhþ÷ dþ÷ ^þ÷ bþÎæß Ö ÎFþæß Ö õ•þÿôÿ÷ þ÷ .þõ‹ôÿµŠôÿ @�ôÿ&ß Ö Àå ‚À xL÷ þ¾7 üý÷ þÎæß Ö 7 ìý÷ ¬Îß ´÷ Òý÷-ÌýÊý÷ Äý ß ÷ºý¸ý÷ ¼ýÎæß Ö 7 ¨ý÷ hΘýß æŽý& ß –%«÷ €ýÁ÷exý„w rýΊæß Ö ÷ `ý÷ ZýÎ/ß wNýw JýÀFý7Bý7>ý÷:ý8ýw4ýw 0ý÷ ,ýÎ(ýÎeß Àý7ý7ý7ýÀ ýÀe7ý÷•þüÀúüÀeüÿ7òü7 îü7 $ý À ð„ Ä%÷7 ÒüwÎüanoprÞ®ðäêø|úUnknown option %s Recover which file? unY I™™™9ù (Ù(é( X©™™™¹™Øé999Øé ) (x˜©YYIYIYYùøøèøè)(YIùøøèùhYIY™¨YIùøøèùYÈYhYY(éIhùY9YI ùY9 ©H ©yIiIYù©™¹™Xyù_ruptibl _ingloba _inopen _inconf _listf _endline#2_laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _G _xargv0 _xargv _argv _xargc0 _xargc _argc _gargc _vyancnt _main"L100044L10005>L13ÞL20003®L16ðL14äL15êL17øL10008LL38|L39ú~maincsv oopøÿnopöÿiniteôÿreenteròÿaxargv0cL4L10000.L5<_draino _helpini _onhup _signal L10001ˆL10002Œ_sbrk L6L20001¤L9 L20005ºL7L10006ÖL18P_printf _flush L194L20c_rewind"²_setexit L26|L22b_onintr"ŠL23t_initopt L25x_setterm _notearg L28’L30ÊL31¶_strcpy _init"ÌL32ÒL34Ü_command L35*L41L46_error L100098L42B_cleanup _exit L43\_plural ~onintrŠ_pstop cret ~rewind²~initÌi_fileini _brk L20007ex_cmds.o6 ¤‘`6: � ¼w üÿÆå÷ ¦ õðÿøÿõ%ÿÿ_”5 Ãe÷‹Öÿ_x7ŠÌÿ_¢÷ ¼÷ p õºÿøÿ÷‹´ÿ÷ ®ÿ÷ ÷ t÷ žÿõ ÷‹’ÿ ÷‹Œÿ Î:ß õ•ôÿ÷ xÿ÷ tÿ7 pÿ÷lÿjÿ÷ fÿ÷ `ÿÄ Ã%,%ÄPÿ7LÿÃ%;Ã,7>ÿÃ%,ä÷ 4ÿ÷.ÿ,ÿÎß H À r Á Áe¾ A! þyZ÷ ÿæ÷ÿþþâ÷ øþÀ%r(ÎÈß \ ÷ æþ ÷ ø À ÃØþÃíÔþ÷ ä Ã-Ìþ/ÀÀ ÀmÂþÀÁºþÁí¶þ@à€ &æÍß –%ƒ éÎÖß \ ÷ –þ÷ ª 7�Žþ÷ ž ÷ †þ΂þß æß Ö õnþøÿ7Šhþ÷‹.õ-^þøÿ_8÷ dþ_8÷‹Hþ_8÷‹>þ_87Šþ õ0þøÿ÷-*þ(þ_8Àî À Àmþ7þ7þÀ- þ‚À-þ†ÎÜß ÷ øý_r÷ ðýÁ` 7N  þy÷ Üý÷ ØýÀ%mÎÝß v ÷ ÆýÃ%|úÎß  À õ£Îåß v ÷ ¦ýœÎêß \ ÷ –ý÷ ’ýÀ%d1Îíß v ÷%/†ý÷ � ÷ ô÷ ný÷ jýß  À ÷ pÂ÷ RýÂŽß À Žß ÷¥/8ý_”7 hý_”Î: ß v ÷ 6 7�ý÷ ýÎýß ÷ ýÎýÎeþÿ_„Î: ß \ éÎóß \ ÷ èü÷ äü÷ àü_”÷ ØüÁ| 7P  þy÷ Äü÷ ÀüÀ%p Îúß v ÷ ®üÎß _”Îß v ÷ ® À ÷ ŽüÃEÎß Ã%E÷xüvü÷ ô÷ nü÷ jü÷füdü·Š`ü÷ Îß _ŽÎß \ ÷ Fü÷ BüÀÁp 7ª  þy÷ *üÎß  À í_”÷ üÎß òÎ ß \ µÎß \ ÷ øûÎß ÷ îû_”Îß \ ÷ öÀ  Îß _ŽÎß \ ÷ ¾û÷ ºû÷ Î7�²û÷ Â÷ ªûΦûß ÎžûÎeþÿæß Ö ÷-ŒûŠû_Ž÷-€û~û‡_Ž÷tûrû_ŽÎ!ß \ ÷ z÷ \û÷ Xû÷ h÷-PûNû÷-HûFû ÷-@û>ûÎß ÷e,ûÎß _”÷ ûÀ%a.Î&ß \ ÷ û÷ ûÎß  À ÎøúæUß Ö ÷ þÎß À Î~ß ÷ Ôú÷ ÐúÀÀ ÁÈúÁEp>ÿ_”Î+ß \ _VÎ0ß \ ÷ ¤ú7Šj _Ž7Š˜ú÷•�ú÷ Œú÷ ˆú÷-‚ú€ú룧 ÷ rúÃ% ÷‹fúà À\úÀe7Tú÷PúNú÷ Jú÷ FúÎBúß Ã% Î‹ß õ‹ôÿ÷•$úÎæúæúß Ö –%_”Î5ß \ ÷ ú÷ þù5÷ øù÷•À ÷ À-÷ èùÀår =‚À xˆ Î:ß \ ÷ Ìù÷ X÷ Äù_”÷ ¼ù÷ ¸ùÀ%e ÎP ß v ÷ 6÷ ¢ù_”ÎB ß v ÷ ’ù7ŠX ÷ Šù÷ †ù°Á€ùÁí|ù@€ rÀ-pù¥Îšß  ÎB ß \ â÷ VùÀ%u Î>ß \ ÷ Dù÷ @ùÖÎEß \ ÷ 2ù÷ °÷ *ùÀ ÷"ù ùÀwùÎùæß Ö ÷ùùÀùÀe 7øø÷ ôøÀéÎJß \ ÷ âø÷ `÷ hà 7 Ðø Ø÷ ÈøÀ%ea÷ ¾ø÷ ºøÁ� 7H þyÎOß v ÷ žø÷ ÷ ªÎÎVß v ÷ ˆø÷ „ø_”ÎH ß v ÷ tøÃe÷ „À ÷ døÃEÎß Ã%E÷NøLø÷ Ê÷ Dø÷@ø>ø·Š:ø÷ ø÷ 2ø÷ .ø÷ *ø÷ &øÎß ÷-øø_Ž÷ ¾_ŽÎZ ß v ÎZ ß \ ÷ ü÷÷-î÷ì÷ÃeÎß _¤÷ Ø÷Á  7x þyÎ\ß \ ÷ ¼÷÷ ¸÷ß _”Î`ß \ ÷ ¢÷ & æfß _ìÎiß \ ÷ †÷÷ ‚÷ æß Ö _”Îpß \ ÷ f÷÷ b÷_”÷uX÷Ã%sÎN÷ß \ Îß À _”7Š_”÷ 0÷À%aÎ€ß \ ÷ 6÷ ÷Îæß ÊΉ_HÎ”ß \ ÷ øö÷ ôö÷ ÷ þÎß _”÷ ÜöÀåe ‚À x´ 몧 \ ÷ ÀöÎæ¡ß Ö ÷ ®ö_”봧 \ ÷ žö_\Î¬ß \ _&먧 \ ÷ ‚ö÷ ~ö_ŽÎ´ß \ _N뼧 \ ÷ bö÷ î÷ Zö_”÷ RöŠ÷ `÷ HöÁDöÁí@ö@€ ræ¿ß _ˆ÷ &ö_”õöÿ÷ öµ öÿ÷ öÀ ø÷ öNöÿæß _ˆõ‹_0 ß À%ÿÿ_0÷-ÚõØõ÷ Òõ÷ Îõ÷ÿÿÈõ@�ôÿß _”ÎÃß \ ÷ ®õ÷ ªõ_”Îß À ÷˜õ æÈß Œ Ö Îæºß _ˆw zõ÷ ŽÀ Àwjõ÷ fõ7 `õ7 \õÎàß ñw Lõ· Hõ÷DõBõw>õw :õ7 6õ7 2õ7 .õw*õw &õDCÎß ÁÁíõ@€ rß õ‹÷øôÃe!ê†wìôw èô÷ –÷ àô rÁ Áe†A! þy÷ Ž·Š„ê· „ú·Š®ô÷·Švô·Šnñ7Šœôîß  À ÎŒôæüß Ö Ä%ÿÿ7xô÷ Fwpôw lô÷ hô÷ dôß  À Î1ß wNôw Jô7ŠFô7Š7Š 7Š7 ÷ w.ôw *ô÷‹ò÷‹î÷ Âô÷ ô÷ ô÷‹ô÷‹Ð÷ |ô÷ öó÷ ðó÷ ìówèów äó@Á¸7– þy÷•ÊóÀwÂó7оóù ùw ´ów�€÷Ò¨ów¤ów  óÎfß Œ Ö @wŠów †óÎfß Œ Ö wtów póDÆå7dóCÃeæÿ•õ õ ú ÷ Jó“@ ÷ @ó�„ Ì‹õ÷ 4óŽß À Â%lÂ%p÷ ó�@ÀeùÿÀ †÷ óß À ñ ŠNÎeæÿæaß Ö wèòw äò÷ àò÷ ÜòÀ%!÷ ÒòÀwÊò üchangeprintrecoverpreservereaddho\f \|äÒêcx®8ò@œœ(csw€lVöehoy8RnŽ¢4 f f f V Ò Ü æ ð ø  ",    q   Z òü¢Z j Þ Z ¢$¦r Z üP† Z ’ Z F ª Z  Ö Þ 64Z ° ’$dZ ¸Þ ðÌŒ˜¢/68f  T > N ` f  Z H > ÿÿ |0 0 > D args%6d %s appendcommentCopycdchdirdeleteexpandexechoeditfileglobalinsertjoinmarkMoveopenlistputnumbernextquitrewindresetsetshell-isourcesyncsubstitutetabulateTranscribeundoversion%s visualvwritexpandyank%d help‰ ¹™¹‰ ™™9yY¨ ‰ ¹ 99)Ù é i9i)9))i9i © 9I9 9I)i99Hhx¹‰¹™Y¹Iyi9)YyÈÙi é i é yé i ùùi x)è8Xé™iy)H‰)y‰©i é i yø¹8IY© YI9iˆùé Éé ¨ © 8ÉH)ii99H9hxIiIyYi‰i9)y)YyÈ9¸i ùé ‰ÈøÈ)i9XIYYy9yiÈ©i99))i)¸¨ ‰9)y yi )Yé i yyi‰9)9¨ i y¹© ÙIY ùi9ù 9© Yi é i © ©¹© ¹8IYYI9iÙéù™IyùIy8i © ùx©¨© )èÈ©ù‰‰(i yh© ™¨i ©¨‰ é)‰Yi9I‰é i y¸ÈIyÉyYh© ùøYȉ  ¹¹Éȉ ÙÙ¹ ‰ ¹ÙÉ ‰ ¸Ii ‰ é II‰ÈY ‰ ùé È ‰ I ‰ ™¹ÈyI™   ‰ Y Y‰ ‰ ‰  ‰  ‰ ‰i é i øé i øÈ ‰ ùi é _ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _G _xargv0 _xargv _argv _xargc0 _xargc _argc _gargc _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _version _CHANGE#: _PRINT#B _RECOVER#H _PRESERV#P _READ#Z _pflagÊ_nflagÌ_kflagÎ_poffsetÐ_command"L10003` L10004f L53\L56fL46 L65L10007p L10008t L83äL82ÒL84êL10011| L10012€ L75®L718L85òL10017ˆ L130@L132œL128(L10019� L10020– L150€L148lL146VL144öL10023  L10024¨ L1608L162RL165nL167ŽL170¢L10027´ L1834 L181f L186V L10031¾ L10032Ò L10033Ü L10034æ L10035ð L10036ø L10037L10038 L10039L10040"L10041,L209Z L43 L120òL178üL114jL66 L106ÞL180 L68$L134¦L189r L89üL110PL191† L122L91L125L193’ L207F L139L195ª L204 L198Ö L200Þ L936L1424L196° L34L96’L157$L112dL124¸L103ðL174Ì~commandcsv nopromptexitoneoaddrcplchngflaøÿcntöÿhadprôÿ_resetfl"² L13”L12xL11¢L158L19BL20Œ_flush L21ˆ_putchar _TSYNC L24�_address _getchar L25°L26öL22ÂL23ÈL31Ô_tailspe"H L10030î_peekcha L35^L36È_tail"\ _setnoad _exclam" L37,_newline" L380L41Í_printf L42Ö_setdot _deleten _setin L20003„_gettty _append L20000ŽL10000ÈL10001üL17_error _setdot1 L18rL10005L47NL48Ý_tail2of"v L516_endcmd" L52åL20007V_move L54êL55|L57ÖL58íL59ŠL60Ž_quickly"‚ _skipwh L61ªL62²_getone _chdir L63Â_filioer L44Þ_setCNL _delete L67ó_appendn L100130L72^L73úL20010N_xpand _xop L74L69f_filenam L88Ž_init _sync" L20012¤_rop L76L79ºL10009Ê_putnl L77ÖL86 L90L92L10014*L20024&L10015._global L94_nonzero L97!_setcoun L98ÔL99Î_join L107DL108&L104_letter L105(L109+L20013HL1110_oop L20014\L113p_notempt L115¬L116ŠL117 _getline L118Ü_plines"Ö L20019ìL1215_setlist L20004n_setflav"Ò L129:_eol"� _PUT L131b_preserv L126jL135ÂL136>_setnumb L137E_getargs L138èL8äcret _glob L20021_rewind L140JL1410L143L10021NL147OL149V_setNAEO _REset L152¸_recover _rop2 _revocer L153â_rop3 _change"° L155L156L100250L161\_set L163`L164f_unix2 L166i_source L20022ˆL168p_synctmp L171uL172¶_substit L20023ÄL175ôL176€_tabulat L177‰L179”_markDOT _undo L184™L185¡L187¥_vop L188¬L190®_setall _wop L192´L194º_yank _zop L197¿_unix L201î L20006æ _shift _gTTY L2062 L208Ã_helpthe L32t L210È_tailof"Œ ~quickly‚ L214– L213’ L215¬ ~change° ~sync ~plinesÖ adr1adr2movedotaddrL225 L20026ä _pline L227 L10044†L10045ŒL10046˜L10047¢L245f L232 L240T L237> L239N L242` L241Z L238H ~newline cL100436 L234B L246~ L247ˆ ~eol� L250® ~resetfl² _Pline ~setflavÒ L10048è L258î L259ô _normlin L10049 L260 L261 _setnorm _setoutt L10051¸L10052¾L2680 L269> L265D ~endcmd chL10053( L200276 L264: ~tailspeH cL273ÒfoocmdÒ~tail\ comm~tail2ofv comm~tailofŒ commicpccommandæÿL283ª L20029¤ L286Ä L20031² L287È L282 L291ä L290 ~exclam L2956 L2942 exd.o6+ ¤�ôJPw üÿ÷ øÿ÷ ôÿ÷‹ðÿ÷‹êÿ÷ t÷ ÷ ÚÿwÖÿw ÒÿÄÎÿÃÊÿÃeÂÂÿÁá@€ rÀ 7à°ÿÁá@€ rÀ 7àžÿÁá@€ rÀ 7àŒÿÔƒ ý†Ä‚ÿÄ-~ÿ†Äxÿ7tÿwpÿw lÿæ Îæß Ö 5øÿ7ŠTÿÄPÿ÷LÿJÿÃFÿÀÃeÀ-<ÿÎ&ß Ö Î,ÿÎeæß Ö ÎÿÎe&ß Ö Áá@€ rÀ 7àþþÀeþÿ7ôþÄ-ðþ†Äêþ7æþNøÿæß Ö wÔþw Ðþ÷‹Ìþ7ŠÆþ÷ÂþÀþ÷¼þºþw¶þ)9)‰™)9‰‰Ùy)yyi™Xù)y‰9yxyxyxy¹yyiX™ùy‰)¹™_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _delete"~deletecsv _nonzero _change L4_deletem"�L5"_deleted"*_killed cret ~deleted*a1a2a3L11tL12ˆ~deletem�a1a2radsavintøÿ_signal L16ð_reverse L17_deleten",~deleten,L20Fex_put.o6" ¤‘�Òf w üÿ÷‹øÿ÷‹òÿ÷ 2õ¥ ÷•Þÿ÷%ê‚÷ 4�Þ· Úõ¥ ÷‹ºÿ÷ j÷ w¬ÿw ¨ÿ÷ ÷ Bwœÿw ˜ÿ?ЍÄÒ_p•€Á7¦ þyÁtÿÀ 7rnÿ7`jÿ<÷ dÿ_p÷ Zÿd÷ TÿaÎNÿß ~7 Fÿ7 Bÿ7 >ÿ7 :ÿT÷ úÿ*· .ÿN÷ îÿ$÷e ÿ÷EÿDÁÿÀ 7rÿ€ 7`ÿ÷ ÿ ÁþþÀ 7røþÁ ÷ ðþ7 ìþ-÷ æþ*÷ ¦ÿ»÷ �÷‹Öþ÷-ÐþÎþ÷ ~ÂE€ÿŽß ¼Â%÷ ´þ÷ °þ Â% Â%· žþ· šþ•Â% ÜÄ Ì‹€÷Òšw‚þw ~þõ  @Ÿµ ß ¼ý‹öw^þw Zþ÷ ÷ Â÷ êwJþw FþÀBþÀ À-<þÁ6þÀ 7r0þ7`,þÁ(þÀ 7r"þwþÀþÀ À-þ7Áþ� À 7rþ7aþÁüýÀ 7röýwòý÷‹îý Î ß ¼÷‹ÞýÎ ß ¼Ä Ä ò7 ÊýÀÆýÀ À-Àý ÀºýÁ¶ýÁ @à7à®ýÀªýÀ 7¤ýÀ ýÀ À-šý+Ä”ýÀ�ýÀ 7ŠýÀ†ýÀ À-€ýÃzý÷‹vý÷‹pý7 jý÷ ÿ÷bý Î ß ¼Ä ÷‹Rý7 LýÀHýÀ !ñ÷->ý<ý ÷‹6ý÷ 0ý÷*ý(ý÷ ”À ÷‹ý÷ Üý ÷ ýß ~÷ýý÷ýþü÷ ðwôüw ðü÷ PýDÄíäüwÞü7 Øü÷ Šþ÷%caÎüÄ%üÿÄ%ÄåÄEøÿÄ Äe Îß ¼Îxß ¼Ä Ä õ÷ èüw�üw Œü÷‹ˆü w€üÄ|üÄíxüÄ ÷‹pü÷ jü ÷\üZüÃVüÄ ÷‹NüÃíHüà À a÷‹8ü÷‹2ü÷ ,ü„ Äm$üÄÄ%Ã%Æ÷ ÀÂw ü· þûÎ ß ¼÷‹òû÷‹ìû7 æû÷-âûàûî÷‹ÚûÀÔûÀíÐûÁÌû� @ ÷-ÂûÀû÷‹ºû Î ß ¼7 ¬û÷ ¦ûÎß ¼÷-šû˜ûõ÷ �ûÎŒûß ~÷-„û‚ûö÷‹|û÷‹vûÎ ß ¼7fûÄbûÄeÄEÄ-Vûñ÷-PûNû÷‹Hû÷ Bû ÷ <ûß ~÷2û0ûw,ûÎ(ûß ~Î ß ¼· ûàw ûÎ ß ¼÷ wûw üú· øúÀôúÀ À-îúÀèúÀ 7âú÷ÞúÜú 7Öú7ÒúwÎúw ÊúwmÄúwm¾úwºúw ¶ú÷‹²ú$÷ hû!÷ lû÷‹ ú÷ Pü÷ ÷‹’ú÷•ŠúÎß �÷•|ú÷|úvú÷EtúÎß ¦wdúw `ú7Š\ú÷Òj÷ P÷ Nú÷¥Hú7ŠBúw>úw :ú7 6úÀ2úÀ 7,ú÷ îú÷‹"ú÷ìÿú÷ìÿú÷ú ú÷úúwúw þù÷øù7 öù7 ôùwìùw èù÷‹äùÎèß Îß �÷•Ìù÷ÌùÆùÀÆùÀEÀU 7ºùÎß ¦÷•¨ùw¤ùw  ù7Šœù÷ ˜ù÷ Vÿw�ùw ŒùÎß w€ùw |ùÎ ß wpùw lùÎfß Ö wZùw VùÎfß Ö wDùw @ùÎfß Ö w.ùError message file not available /usr/lib/ex1.1stringsóó  Ô舨È"yÉIIÉ y y É    iù ™ ™   É  É ™iÉii i  y y yÉ  É É ÉiiÉùiÉiiÉi¹ùù¹¹ù¹¹¹ù ÉY  Éi¹ùY)ùY™i ù i yi  ù yy ùY)ù ÉiÉ©i yù©Éiù©i   iyii iù)ùY™ii  i)i  i iy yù¹ù¹ùùi  yi  y©™™ ÉÉ©©¹© yI ÉÉ y ¹™Yiù iù yÉÉÉ yy¸ ©©¹©©É yÉ  yÈø y( y¨X y¨ˆ yȸ _ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath#_names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _line#Ò_linp#_phadnl _termcha"~termchacsv cL5_pstart"FL6$L70_flush1"dL4P_fgoto"¶cret _flush"T~flushT_flush2"¢L10001L10002&L22L28ÔL29èL21L20ˆL25¨L27ÈL23"~flush1dlpcpcL16pL20001tL10003€L20002L20004˜_putS"~L32&L348_putch"¼L35RL36f~putS~cpL41˜L40žL20006Š~flush2¢_flusho"p_pstop"œ~fgoto¶lcL49âL50\L52.L516L20008L54,L56¾L59´L58–L20010 L62Ø_motion"pL48L63_cgoto _plod"ø_setcol" ~setcol coldelL68(L69hL10004@L71dL20012R~motionpvhcL76€L20013zL75|L77¦L10005˜L78 L10006´L80ÂL10007ÐL82ÞL83ØL84âL85î~plodøiL89L20015þL10008L93bL10009HL20017VL95xL20019lL100¬L98šL20021ŽL88ÐL102ÞL103ÔL104æ_partinp"ì~partinpì_noteinp"~noteinpL111_notech"2~notech2i~pstartFL117˜_gTTY"�_sTTY"¦~pstopœ_draino"þ_normal L120¾_termres"Â~termresÂL123úL125î~drainoþ_ostart"~ostartL133&_error _ostop"\~ostop\~flushop_fflush _putnl"€~putnl€_putchar ~gTTY�i_gtty ~sTTY¦i_stty ~putch¼c_putc ex_print.o6! ¤�` &Nhw üÿDÄEÿÁ&7 þyÄ>Ä<÷‹ÔÿÎ-ß Îß ß šw¸ÿÎ$öÄ5€õÄ% Ä% Ä%ìÎ\ß Ä%Î1ß Ä?týÿÀe0ß ÄEøÿÄe0Òw bÿDÄEÿÄ5€ Á:7Š þyÄE€ÿ÷‹:ÿ ß À Î\ß ß ß wÿÃZÓ‹÷À”!ûÎ\ß Äœþÿíw ôþ÷‹ðþÎ ß ÌNæeß Ö ÷ wÐþw Ìþ÷‹ÈþÀ�Âþß Ì÷%¶þ÷ vÿÎæk)÷ ÿ÷‹šþ÷‹”þ÷ Žþ÷ Šþ÷ üþ÷‹€þ÷‹zþ÷‹tþÎ ß ÷%dþÎ ß Îænß Ö ÷‹Hþ÷‹BþÎŠß w4þw 0þ7Š,þ@�ÁJ7p þy÷%þ÷‹ þÎqß wþýw úý÷ öýNffß –%7ÞýwÚý Š$>HN€ˆ è¾ ðèðþ({)}!|^~'`%6d %s%s ˆÙ‰IÙÙ(HIÙ‰ØIÙ‰ 9™™)9iy™)9™Ø)9ØIÙ‰9‰ØIÙÙ Ø9I_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _Outchar _Putchar _listcha"L10003&L10004.L8$L6L4>L10HL11N~listchacsv cL10005L7(_outchar L20000:_normcha"šcret L10001`L10000fL13€L10007:L10008@L16èL17ÂL23¾~normchašccolpL10009¶L24â_uclette L25ì_letter L27ZL28ð_numblin"~numbliniL34_slobber"ÌL35e_printf _normlin"0~normlin0L39DL10010RL40\L41kL20002®L43r_doulg _dograph L42´_Pline L45¦L46nL38È_putchar L10012JL10013PL51ðL53èL50þ~slobberÌcL10014àL57q_lprintf"~lprintfa1a2a3P_setlist exv.o62 ¤�À0Pw üÿÎWß wðÿw ìÿ÷‹èÿÎâÿæß Ö 7ŠÔÿwÐÿYhyY™9(¸™y_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _Outchar _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _vop"~vopcsv _error cret _undiddl"~undiddlL7(_chmod ex_vmain.o6 í�ô_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol exs.o6. ¤‘@ZÄ w üÿæ  @�&ß ÎÖ 5�øÿ÷‹äÿ÷ Þÿ7ŠÚÿ7 Öÿ7 ÒÿÄÎÿ27 Èÿ& ß `Ö À 'õ‹øÿ ÿ‹°ÿæß `Ö À õ÷ šÿ÷m”ÿ’ÿ· Žÿß þæ@ß Ö ÀÀ `ÀÀ 7`lÿÄeÄ-dÿˆ÷ ^ÿ ÷‹Xÿ÷‹Rÿ뵧 ÎDÿæ@ÿß Ö À6ÿw2ÿw .ÿæ 5 øÿ7Š$ÿ@Á@7^ þy÷ ÿ÷ ÿß À ÎÛß  &ß Ö Îªææß –%ß ¦'À xP÷‹ÄþÎß Îªææß –%÷‹¢þÎVß Îªææîµ øÿ·Š€þ÷ |þÀÀåc Ѓ÷jþ÷ fþ÷ bþ@øÿwZþw VþÆåÄfÎeúþß Ö ÷ <þ@�€ 2€Áb7” þy ÷ þ÷  þÂ%&ÂU€Ä%ÿ‚Î…ß ”�Ü€ÁZ7J þyCÃeúþË‹ÎÄ%éƒÔ”ù·ÎýŠwÈý÷ NþåÛw ¼ýĸýÀÿÿw®ýß 7 ¤ý ÷w œýNfß Ö À  w„ýNß –À ÷ ì· pýÀñw fý÷‹býÀwXý·ŠTýAÁíLý@€ rß ÷ :ýÎ6ýÎ ß Î &ß ZÖ Î^æýÎ ÷ ýÖ á&ß ZÖ ÷ ý7Šý÷ &ÄÄ%ÿÿ÷ Ä% ÷÷ àüÃ%y½ ½w Òüæ ÎfÎeøÿ& ß –%À%Àÿÿw°ü@�øÿÀE€ÿùw ¢üõ @�ß õ øwˆüw „üæ ÄÕÄ-nüü‚7 hüh@øÿÀE€ÿÁz7Þ þyÎJüæFüæß Ж%(Q÷2ü7 .üK÷è&üù÷ü÷ü@÷èüø÷ üNøÿÎE€ÿß œ@øÿÀE€ÿ�Ã%*‚뼧 %õ5€øÿ¹õ øÿâõE€ÿøÿõ%1øÿÛÀ�DüÀe1@-øÿÔ@øÿÀ 6@øÿÀ &$æß Ж%Ö€”5øÿ×ÄŠûÀÀeÀå7|ûÃ%Ń•ûÎß wdûw `ûD�÷ Xû‘ß À ÷ Fû÷ BûÄÕ ÄÅ ‘w0ûw ,ûDCBƒ ƒÀ”ß œ�Ä%ö‚ wûüw þú÷ úúfß Ö wêúw æúDÌEà #KÃeÃ%6÷‚LwÀú&s~8ðZ€|’’’v~òÿÿ &\~..8à8ö&ELUelu²”Ôê”ÈÜ(éiù¹©)™I™™¹©ø99¹y©¹(¹9éyYix˜ø¨ø¨ùøyiY 9é(( ii™((Y9™éi9ø ié8 9™éy99I  9( I) I 9™ éÈ 9éH 9é(9Y I9Y i Y Y i Y Y ùøøIIø 9éY ˆY i 9é9é99éXX9_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _re ª_scanre ª_subre ª_rhsbuf _loc1 _loc2 _locs _linebp _xflag _gflag _scount _slines _stotal _substit"~substitcsv caddrnmarkpgsubføÿ_compsub"ÎL4&_save12 L5˜L200014_dosubco"`L7”L8bL9L_putmark"þ_getsub"@_append L12¸_error _snote cret L10001@L10002FL208L18ðL22ZL24€L10005PL29|L30’L28v~compsubÎchseofcpgsubføÿL10003è_skipwh _getchar _endcmd L19 _compile _copy _comprhs"¦L200032L21FL20005RL23h_setcoun _newline L10007ZL10008\L44L20006òL10011bL10012lL51.L548L38àL36ö~comprhs¦seofrporpcorhsbufúþ_strcpy L34ÀL522L10013ØL41L55L48üL10009L45 ~getsub@pL59RL58N_strcLIN ~dosubco`fa_execute L63|L62x_confirm"–L64�_dosub"x~confirm–acchL68¨L20009 L67¤_pline _putNFL _column _ugo"Z_flush _getch"*L69L20008 L70_noteinp ~getch*cøÿ_read L74PL73L~ugoZcntwithL77tL81d_putchar _casecnt _destcas L10017zL10018ˆL92²L20012”L95ÔL97êL94ÈL96ÜL89(~dosubxlpsprpcøÿL85ŽL20011ŒL87jL20014šL10019ª_place"ÐL93L20020ÎL20021âL100òL101_fixcase"œL20015L20017 L104ŒL20019†~fixcaseœcL10020Ê_letter L20023Æ~placeÐspl1l2L115àL116úL114ö~putmarkþaddr_putline _putmk1"~putmk1addrnmarkpL20025&L126.Version.o6e í�X Version 1.1, February 1, 1978_version#ex_addr.o6 ¤‘d®VLw üÿ÷ ÷‹ø÷ ¶wêÿw æÿ÷ âÿÀÜÿ7Øÿ7Ôÿ÷-ÐÿÎÿ†÷ ÈÎ;ß w¼ÿw ¸ÿ÷ ´ÿ÷ °ÿß À ÷ ¢ÿ÷œÿšÿ÷ –ÿ÷ ,Îgß À À 7`|ÿ÷-xÿvÿ†÷pÿnÿ÷ Æwfÿw bÿ ÷ ZÿWp @`ÄeÐÿ÷ Hÿß À ðw8ÿw 4ÿÎ0ÿß Øw(ÿw $ÿ÷‹ ÿ÷‹ÿ õ-ÿ‡@ÀE78ÿwÿw üþ÷-øþöþÎ‰ß wèþw äþ÷ àþ÷ÚþØþ÷ÔþÒþ÷-ÎþÌþ÷ÆþÄþ÷ Ôþwºþw ¶þ÷ ²þÎ¡ß w¤þw  þ÷-œþšþ÷ ”ÿÎÅß wˆþw „þæ 7Š‚5 øÿ  ÷ rþß À Ä Ä`þ÷•^ÀÀ `÷ êþõ øÿÀÀ `ÀÀ à5 øÿ ÷ 0þ€Á®7Þ þy ·ŠÄ à Îïß Cmøÿ5 øÿ€ rÁ ÁeÊA! þyõøÿÄ ²ÄÖý¯õÿÿøÿÄ ø©Î¦ß Ö Â%& ÷ °ýÂ%?Â%/Î ß ÷ –þŽß 4‹Î<ß †Ä~ýƒ÷ xýÂ%'Â{ Â%aÂ%zÎTß ÂåaÄNý €À ÁEp ÄeÄ-4ýó†Ä-.ý‡_ŠÎiÍ·ýà Ä ÄýÀÀ `Ä 7Š wþüÄ-úü÷ ôý@øÿÀ `Ä-èüƒÎ„ß Ä-Úü†Î¯ß åw ÈüΪææß –%IJüõ¥/ÄeÄ-¢ü†÷ ÆýÎÎß ÄŽüÄåÄ-„ü ƒ÷ ¨ýÎß Äpü& ß Ö À w\üÄ-XüÒ ù$'./?\ääèäääøÐÜê./ÞŠ~&8,ÞŠ„,88©é©9i9)9)8é©y‰˜9)89y9y9é©I‰˜é©ié©)™Yé©Iy8é©9Y)y9IyIié©98é©I)8驉˜II8iH I88yI8YXyyYiéII8y8©øˆ iy™8II™8yè éi_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _re ª_scanre ª_subre ª_rhsbuf _loc1 _loc2 _locs _linebp _bigmove_setdot"~setdotcsv _setdot1"L3_markDOT"Ècret ~setdot1L8,L7@_notempt"_error _setcoun"D~setcounDcnt_skipwh _peekcha _digit L13`L12–_getnum"šL14zL15’_nonzero"\~getnumšcntL19´L20001¢_getchar ~markDOTÈ_markpr"Ø~markprØdotL10000èL26ü~notemptL30_setall"~setallL35>L34B_setnoad"F~setnoadFL39X~nonzero\L43t_address"xL10003®L10004ºL60äL61èL54øL10009ÊL10010ÐL10011ÜL10012êL88ÞL48ŠL78~L20004&L748L70,L80„L67~addressxaddroffsetclastsignøÿL50ÌL51¦L52ÀL53ÆL10005ÜL10001ðL10008_compile L75f_scanfor"4L20005xL81–L82ªL10006¢L84ÈL20003´L85ÎL89ôL90îL91L47þL92 L93"L940~scanfor4caddr_copy L98NL100tL103�L102nL105Œ_execute L106¤L97 ex_args.o6 ¤� ÐPw üÿÆåÃõøÿ÷ êÿß À Gß À óýøÿÁÐ7œ þy÷ ºÿÄU€Ã%þ†ÎVß ‘÷  ÿß À ß À Ý7†ÿŠõeøÿÇÂÊ‹ ·ÂÊ‹Î²ß Ê‹ÛÃ%þÓ‡“”ù= øÿ@øÿÁuöÿ@à@€ rw0ÿ%\`’B„LyéøéhéøYøøh¹_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _getargs"L10001ÐL10002ÖL18’L11BL15„L12L~getargscsv ccpfpdpøÿgpöÿL4_getchar _endcmd L5°_white L80L10003:L13ZL14R_error L9\L7vL20¢L20000žcret ex_ca.o6 ¤�X² ¤w üÿÀøÿÁ²7¦ þyξæÒß Ö ÀÖÿÀe 7�¢ÀÊÿÀe 7�—ÀÒwºÿÎÃæÒß Ö Á¨ÿÀ r Àe07�oÁ–ÿÀ r Áe0@7�\Á‚ÿÀ r Àe07�LÁpÿÀ r Áe0@7�9ÎÎÍæÒß Ö ÆcHcaF¢=xx&axxcyyYOOPS™ùè  è  è_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _cgoto"L10001²L10002¶L9FL7L11¢~cgotocsv L4ÒresultÒL10003L8¾_strcpy L5>cret L10ÃL12Íex_file.o6 ¤�ÜL<¼w üÿ÷ øÿß À Q÷ ðÿõ¥fÎ‚ß Îæß Ö ÷ &õ¥f_Hõ¥E_H÷‹¦ÿÎkß õ¥f_H÷-ŒÿŠÿTÎeSÎæPß Ö õ¥f÷ ¢ÿÎUß ÷ ZÿÎ_ß ÷ Lÿ×7Fÿ÷ BÿD�÷ Bÿ Ä%EÄ%eÄe7 ^ÿÀåe ‚À xL7 Hÿ÷ ÿÎæß Ö Îæ‘÷‹ìþ‘Îæ‰ÎesÁØþÁíÔþ@€ r&æt÷ ÂþÖ &ß –%w´þòî"%s" [Edited] [Modified]No file %d lin%c@in bufferIyˆù¸øèØ™é8Yy舙8Ù8ÙYéù™™ùøøØèøéèøyI98I_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _filenam"L10001LL11òL10î~filenamcsv commc_getchar _endcmd L4¶L5*_error L200012_strcpy L68L10002JL3HL20003~L23k_printf L22dL10003 L10004$L16P_lprintf L17°L18¢L19UL21__flush _getone L7ÜL13L12L25t_mesg cret ex_get.o6 ¤‘¸ ,< w üÿÄøÿ 7 òÿÀŸêÿ· æÿ ÷ àÿÿ‹Úÿõ7 Ôÿ÷ÿÿØÀÿÿwÆÿÎÌß vÎæ & ß –%À%ê÷E€ÿ¬Î¨ß ÔÀ è÷% š÷ ŠÿÀ�Ýw €ÿ÷ |ÿ÷ vÿ7rÿÀnÿwjÿw fÿÆåÃ5Šöÿ÷%TÿÀ 5ôÿ÷‹Bÿ_¶÷‹8ÿ_¶À Á*ÿÁí&ÿ@€ r€ æ,ß Ö ÷‹ ÿ ÀÁÿ@xÀ _6ÎðþNmôÿß Îæ& ß –%C5Šøÿ÷¥^Êþ÷¥0Âþ&Ä%#÷¥0´þ7 ®þ÷‹ªþÎß Îß Î ß Îß Nôÿß õ•øÿ7Švþ Ä _~Ä ô¥ !Ä%÷¥.Vþ÷ Pþ ÷ Jþ  ß À%ÿÿÀÿÿw4þÎ0þß â7(þ™µŠöÿ„ 4ŠÎß Hõ‹øÿ÷‹þÎæþýß Ö 7ôýÓ• ÄåÄ%øÓ• Ä Ä û“”þà $õ ôÿ!Î2ß ÷ ¸ýÎÎàæ& ß –%Ã%°a ŠÃ%þ ƒó¥ ÿÿ#Šõ•öÿõ‹öÿã÷ xýŠÎß H÷¥.hý!÷‹cý‘ÄE€ÿ‘Ã%þ‚ÎŸß ÷ FýÄ% ãÄ%ÿÿí÷‹4ý_Ä÷ÿÿ(ý_Ä _Èw ýDÀ 7rüýCÃôýÄàÄ  wøüw ôüDCÀ”Á 7ò þy„ õÄeÄEðà Îfß Ö w¸üw ´üD Žß vÂE€ÿŽß ÔÀ õ“�•öŠwŠüw †ü÷ ¸õ¥ Îææß –%÷–w\üw Xüõ-Tü7 Lü Nß & ß Ö 74ü@w,üw (üDÄ ÷ 8ü Ä% Ä% Ä% Ä%  wüûÀû *&4CTRL(H) discarded   %4d YYY99999Éø)YYYYÉYø yiIhi™i¸øi‰(((¸)iˆÉiiiihY ø)  È YY™™ÉYØ ÉYÉY˜ ÉYIiø iÉY™É_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc# _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _junkbs6_getchar"~getcharcsv cL4L36L20001L7BL20007,cret L20005:_checkju"v_read _junk"ÔL10v_noteinp _peekcha"|~peekcha|L14Ž_lastin _gettty"–~gettty–clpgphadupøÿhadnlöÿoffsetôÿ_numblin _Pline L10000´L10001¶L50¶L19ðL20,_printf L10002úL10003þL216L20010 _setcol L20012²L10004@L25ŒL26RL27x_notech _putchar L44~L29àL30ÚL20013ÄL24Ì_gTTY L17È_backtab"âL31â_spruce"HL32*_smunch"L33L20015L36&L20017 L20018.L432_flush L20020JL46dL47®L49ˆL55ÜL52¢_error ~backtabâijL59úL60L10006 L10007L69*L68&L704~smunchcolocpcpL64L10008_strcpy ~spruceHocpcpcL74lL20022TL20024\_cntrlhm#~checkjuvcL80 _write _setin"¤~setin¤addrL85¶L86Ì_getline ~junkÔcL10009L10010þL89ex_glob.o6 ¤‘Ä("4 w üÿDwòÿÀîÿÀe 7(÷âÿ$ÀÜÿÀeÿ77 ÷7 Î&&ß Ö ÷ ö · ø Ãì7 òß ÜÎß œÌ ô? Ô÷ ÖÎËß ÀÂÁ|ÿÁe @à@€ r7hÿwdÿw `ÿD Î&ß Ö À Ì‹ÃeÃ-|ñ‚ÄeÀrÀeþÿ!ç‡w$ÿw ÿÆå$ÃbDÌ¥*:Ì¥?7Ì¥[4÷%>F:ƒÀ@· <•í÷ 6Î4fß ¾Ö ?÷e_NÎeÖÿæß Ö À hÎ5æß ¾Ö ?è÷eâ· äY÷àÄ D-‚Ì¥/ùÎß  ÷%@À÷ƒŸ¸· ´µ 5!ò†?Ц æß Ö ÷ ”/Îß Ø· †„ ÷ ‚æRß $Ö À ÎRæß ¾Ö ?P÷eJ· LÎæP¦ß –%À%ÜŽß ÷.?Š*wÜýw Øýý¥.ý¥. wÂýà wNfß `Ö ÷òíw œýÆå.DC•ÀE€ÿÂE€ÿ€À”5øÿÁ7� þy 5 ôÿõÿòÿÎ3ß Ë‹#Àµ òÿÀ”€ µ ôÿÀ”5öÿëÀ%]õ ôÿÊ wýõ%-öÿç@öÿ5òÿ€ éæË¥/ƒ Ä Î&ß `Ö À Ï„ Ì‹öà Þȵ øÿÚ£ ×  ÔÄõðÿ ÷%=‚ÎUß · ö?•òóÿ•/ê· æ?ŠâNÎeÌÿæß Ö À @ÐÿÀEÿŸÀ%@Ë‹Î6æß ¾Ö ?¢÷eœ· žÎß Üwðÿ’?ŠŽ�w >üÃ~DÃ-v ƒ•ÀE€ÿ�øDà Ã-^†Î†ß •÷ÄJ÷Fwüûw øûD Â’ü€�&ý Ö �÷wÚûw ÖûDÎ7&ß úÖ À ÷üw¶ûw ²û@�ÀE€ÿw¦ûw ¢ûÆå ÷ šû 3‚À x0Î¼ß À5ôÿ5öÿ5 øÿNÎeZüfÎeöÿß Ö Ddþõ fþÎ9ß ß À%?Îuß æß Ö w.ûÎøÏw $ûÄ ûNæ;ß Ö 7û÷ ûwûw ûD•C-ûÀwìú ü*/?[®0*š"rz[?*"%s"9    èè iù9˜ù9èè˜èèèèèèèHXù9ù9èùèèè˜è9èù9ù9ù9ù9¹ èèø èèù9yhyyù9ù_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _G _xargv0 _xargv _argv _xargc0 _xargc _argc _gargc _errno _gflag@_avB_stringD_strendF_ncollH_gpathpJ_globbedL_entpN_g _glob"~globcsv vg0oav_tglob"&_scan"L5fL20001R_expand"Ü_sort"œL7|_error cret ~sortœoavp1p2cL11ÌL20005¦L13¾L20003ª_strcmp ~expandÜascssgpathpdirfL19PentryPstbuffÖÿL20ìL21fL22zL244L254_cat"¾L29_stat L285L20006jL32šL20011„_open L36Â_filioer"ØL37üL20013Ê_match"$_read _close ~match$spcsentpL43>L42:_amatch"`L10003L10004"L68L61®L710L70*L52šL69"~amatch`asapspscccøÿccöÿokôÿlcòÿsgpathpðÿstbuffÌÿL47pL48„L10005’L53ÈL20024¦L62øL20025²L46ÞL20015¸L20016ÄL55âL20020ÜL63L644L65L20019L73TL20022@L75PL76²L78¬L796~cat¾as1as2s1s2L84ÒL20027ÌL86êL87òL20029ä~scantfpcL93 L92"L95~tglob&cL1007_any"úL101D_trim"J~trimJc_getone"ZL100070L110rL108z~getoneZstrgvöÿlpôÿGZü_getargs L112ÒL20030vL113®_strlen L114Â_strcpy ~filioerØcpoerrnoL118;_lprintf _ioerror ~anyúcsxL122L123L121ex_graphic.o6 ¤�èR w üÿÄ(À xR÷‹ìÿÃ?ÀÀå ñƒÃ% ôÃ%ñ÷‹Èÿ Îß À Î\ß Îß Îß •ßwžÿw šÿÆåà Šõøÿ5 ôÿÄ?€ÁV7Ô þy@ôÿÀEøÿÀ%Ó• Ã%þ ƒµ ôÿñC-øÿƒÀ’ÀEÿPÃ%þ‚Îžß “�C-øÿ†õøÿµ ôÿC-øÿ‚€êÂ’ÂU€æÃ%†Ã õ ôÿ•¿=ŠøÿÎß ÄÃÂ5€ÂE€ÿ Ì•_Ë• Œ�Ë•-ƒ „ “íà Ã%‚Ë¥ ù3Šw®þT _ð�Ü®y‰Ùèøøyh˜_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _dograph"L10002RL8L6T~dographcsv lpcL4ZL20001 L20002L20005_uclette _putchar _letter cret _doulg"bL10004VL10005\L30ðL23�L27ÜL26®~doulgblpgpmaxgpøÿccswöÿcolôÿL18üL20007~L10006ˆL20¼L25ÂL32Ê_error L33ÖL28è_strcLIN L348L20009L37(L38.L364L20010<L42Jex_init.o6 ¤�ü ¨lw üÿÆå. ß À  À7�âÿ÷‹Þÿ õ‹Î´ß _>Îß À õ‹ñÎß À ëõ•õ•÷5œÿ À7�Šÿ÷5ˆÿ À7�vÿ÷5tÿ À7�bÿ@�ß 5öÿÀ%x ß À ÷ @ÿß B÷ 6ÿÁÚA @@5øÿ÷ &ÿõ øÿζ&ß Ö ÷ ÿ@-øÿ"w�öÿ²÷ |æß Ö fÎeÌÿß Ö Î¸fÎeÌÿß Ö ÎfÎeÌÿß Ö w¾þw ºþÆåNÎeòÿß 5Šøÿ÷ ¤þõ‹øÿµŠøÿ fß Ö NÎeòÿß w€þw |þÆå$NÎeÖÿæªß Ö @ÚÿÀEþ7\þwXþÿ/dev/ttyxu//.exrcYȉ‰(Èȹٹ™¹©Èèù)XyˆXX¨¸ÉY)HXÉYˆIÉ_mask#¨_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM#ª_TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _vcntcol _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _errno _initopt"~initoptcsv fuidøÿttynoöÿrcioôÿHomeÌÿH_gTTY L10000L10001L56L6*L7´_setterm L4>L8\L9bL10002nL10003rL10004‚L10005†L10006–L10007š_ttyn L10Æ_hget _hsgetty _isetter"B_getuid _hgethom L12ðL13¶_strcpy L14ú_hgetuid _gettmod"€L15¸_strcat _source cret ~isetterBtypereenterøÿosetexitòÿ_getexit _setexit L19r_Setterm _resexit ~gettmod€stbufÖÿ_stat ex_io.o6 ¤‘8ê²ð w üÿÆå(÷ *ÎÚß ÷€æÿ÷h÷d÷ÿÿ`7 Ðÿ÷ÿÿÊÿ÷ÿÿÄÿÎæÿæß Ö NÎeÖÿæß Ö À õžÿÔÿÎæ(ß Ö ÷ Šÿ5ŠÒÿ÷ ‚ÿõ‹ÒÿwÔÿvÿµŠÒÿ÷ ¨Îß @ÚÿÀEÿŸÀ%@÷Rÿ×7ŠLÿÎìæß Ö Îß Ã÷ ,ÿà ΀æß Ö 7þ¸÷• ÿß Îæß Ö 7Þ¨Îîþß wæþ�À r ÁU0@$�à �À r Ïw Æþ÷‹ÂþÎß 7Š´þw°þw ¬þ÷ ¨þ÷ ¢þÀ ÷ ÐÿÎß wŽþw Šþ7 †þ7 ‚þ7 €þ7 zþ7 vþ7 tþ7 nþ7 lþwfþw bþÎ^þß ÷ÿÿTþ÷ ²þ_’÷ Rÿ æBþæ<þæ8þæ5÷ 0þÆe÷ &þ×-"þÎYÎZæþæ þæþ÷ ¸Ö &æúýæ=ß Æe ÷ êý ÷ æý÷ Þý÷ Úý2Î\ß ÷ Êý÷ ÆýæÀýæºýæ_÷ ²ýÆe÷ ªý÷ ¦ýÎhß ÷ –ý÷ ’ý æŒýæ†ýæk÷ ~ýÆeÎ)ß ÷ ný÷ jý ÷ fý ÷ ^ý÷ Zý wPýÀûw Fýõ%Àuw6ýÀvûw ,ýÆåCÃeúý fß ¶Ö ÂýõE  õe€fß ¶Ö Âìü•ðNÎeúýß wÚüw ÖüÆå· ÎüCÃeøýÎß ÷ ¾üõºüøÿÎføÿß ¶Ö ¤üõEøÿ Îõe€øÿføÿß ¶Ö Â~üÔ”ïÂvüÀAÁeøý@àÀetþÿÀE€7`\ü€wVüw RüÃÂJü÷ FüÎææ8üß –%À 7,ü Ã%Îxß &ÀÿÿwüÂÃ%‚ÎÜß „”Ä ÷eöûw ðû Ä5€ ÷eäûw ÞûÄE€ÿÄ ‘Ä% ÂÁÁåÀ 7`Âûw`Àûw ºû#Š·´û· °û Ëw ¨ûæ õ¢ûøÿ÷ ýÁ˜ûAíøÿ@€ r€ 7†ûIÂÄNøÿõeøÿß Ð ÂåŽææXûß –%€ ÷ \�À 7`Bûw`@ûw :ûÂÿÄÔ”áô• ÿÿõ-$ûøÿÒ†ÂåŽææûß –%€ ÷ �À 7`úúw`øúw òúwîúw êúÎæß Ö À ÷ û÷ Îú÷ wÆúw ÂúÀ¾ú rÁ ÁeöA! þyÎß Îß Î4ß ÎHß ÎZß Îkß Î�ß Î›ß Î¬ß ÎXúæÄß Ö wJúw FúDuùÿÄEþC×tÃEþÄ%úÎÓß ÀÀà7úÄ-ú!wÝ ú÷‹ú Îææöùß b–%7Šìù7èùÎæ&ß b–%ÀÀewÎùÄ-Êùõ Ý÷ ¾ù Îææ°ùß b–%7¦ùÀÀeæw šùÎfæxß –%æfæfý ÆeÀ%÷ ¤þwfùw bù÷‹^ù ÎææPùß b–%7ŠFù÷%ÿÿ@ù Îææ2ùß b–%Îß ÷ ùÁùA @@7ùÿùùà ùĈHÌ ÀüøÀeÀE7ðøtùÿÀEþ ÷e€àø€ 7ØøôÿÿÎ&æ²ß –%Á¾øÁà@€ rÂe Â%ÂŽææ„ß –%€ ? ŒøÎ�ß ÷ ºý? |øÃeÄeÃ-pøµ†ÁjøÁífø@€ r7`øÎ& æ:ß –%ÎPææ(ß –%À%PÑw.øw *ø÷% $ø÷ ¸þ7 øwøÿÿ/ExXXXXXü  ¤\tŒœ¤dl|„”PANIC: "%s": %d/%ld %d line%s, %ld character%ss (%ld null, %ld dirtys[Incomplete last line] SYNC error:™¹ùùù 9™H(H8yHx‰™yÈy‰HèHø H8iHH©Xi™iH˜ii™¹ÙÈi™©ÉÉùÙÙééi™  ™™ÉÉùiÉÉÉÉùùhÙÙééhÙÙÙÙiééhééééi˜ © ÙÙééi™i™™™Ø i™ X i ¹™™¹¹i™™ ©  ©hiˆ ÙÙééÉÉÉ™ ù™)9ù h ÉÉÉ9 h ÉÉÉi™øè¸ ™i i™yˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ yˆ i™ˆ ™‰‰h ‰ i99h (99(™øi™‰h ‰9h (9øˆ™ÙùùIIø¹¹¹9øyh IhIyyIùøøh i™  i_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile#ê_globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _re ª_scanre ª_subre ª_rhsbuf _loc1 _loc2 _locs _linebp _errno _ichange _nleft _ninbuf _tline _cntch _cntnull _cntodd _cntln _ibuff _iblock _obuff _oblock _tfname (_tftail#ì_havetmp _fileini"~fileinicsv pijstbufÖÿserrnoÔÿdumbcntÒÿ_cleanup"6_close _strcpy _stat L5šL6^L7(_lprintf _flush _setexit L8’_ioerror":_exit L9°_strcat _strend _getpid L20000ÔL20002_creat _open _brk cret ~cleanup6L16H_unlink _onhup"P~onhupPL10000b_preserv L20f_clrstat"r~clrstatr_iostats"š~iostatsšL27’L28ÖL295_printf L30L10001êL32YL10002îL33Z_plural"¶L31=L10003*L34ŽL35\L10005>L36fL37_L10006^L39hL10007rL40†L41k_putchar _putnl L10008°L26¬~plural¶iL10010ÊL45uL44ÆL46v_getline"Ð~getlineÐtlbplpnlscratchúý_getbloc"¶L50L20004ø_unpack _putline"&~putline&bplpnltløÿscratchøý_pack _change L56‚L20006d_nextip _getfile"ª~getfileªclpfpL64¶L65ò_read L66îL67æL68xL632L61êL69_error L70L62,L71*_putfile"T~putfileTa1øÿfplpnibL74L77„L78”L80Î_write L81¶_wrerror"L83þ~wrerror_strcmp L872L10014öL10015üL10016L10017L102¤L93\L96tL99ŒL101œL94dL95lL97|L98„L100”~ioerror:L10013T~getbloc¶atliofbnooffL106àL1072L20012(L20010øL110_blkio"bL105.L20008ZL111V~blkiobbbufiofcn_seek L114–_synctmp"š~synctmpšbpacntL119¶L120Ô_time _getuid L121ŒL20015üL124.L125^L126€L127pL128�_TSYNC"Ò~TSYNCÒL131æex_libS.o6 ¤�Àfäw üÿDC•þ@wèÿw äÿNf÷ Ö &ß Ö @wÆÿw ÂÿD„ Ì‹ýw°ÿw ¬ÿNæß Ö wšÿiiii_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _strcpy"~strcpycsv otofromtoL20000 cret _strcat"~strcattofrom_strend":~strend:cpL12FL20002D_strcLIN"P~strcLINPdpex_note.o6 ¤�` |n|w üÿ÷ Z÷‹òÿõ-Š wâÿÀûw ØÿÁÔÿÁíÐÿ@€ r„ ß À *æ|ß Ö ÷ ¶Î¤ÿŽ ÀŸžÿ&ÎU æ…ß –%Ίÿß Àm‚ÿð¥eÿÿÎeß Îdß ÷ fÿwbÿw ^ÿÁZÿÁíVÿ@€ r@íß Àw@ÿw <ÿDÄ Ã‹Ã� ß À Îÿæ&æ•÷ ÿÖ &ß Æe÷ úþwöþw òþDCß À æ²÷ ÖþÖ &ß Ö Ã%!ÎæËß Ö ÷ ²þw®þw ªþ÷%¤þ ΞþæØ÷ –þÖ &ß Ö ÷ ˆþw„þ%d lines %c%smoreless%d %s lines@in file after %s%d subs|%d substitutions on %d lines%d files@to edit™™™é™9)H™‰‰H‰x‰˜˜©é™yI陉‰H©é™‰HH©é™YY‰H©é_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _G _xargv0 _xargv _argv _xargc0 _xargc _argc _gargc _notable"~notablecsv iL10001L10000L3cret _killed"$~killed$cntL6šL7|_printf L8–L9…_strlen L10Ž_putchar _putNFL _netchHA"ž~netchHAžcnt_netchan"À~netchanÀicpL17ÒL18‹L19ÜL20�L16L21•_mesg _snote" ~snote totallinesL24NL25²L26JL27Ë_notearg"R~noteargRL30xL32Øex_pack.o6 ¤�t(w üÿDæ Ã%Â5€!ÂE€ÿ€Á7ð þy •5øÿõ øÿ“�õ øÿùÓ• Ó•  îÓ• “�•Ù ŠÀw˜ÿw ”ÿDæ ÔÂ% ÷|ÿ ŠwvÿÂ% Â% Ë‹Â% Ë¥ ”�æÂ% Ë¥ Ë¥ À”ÀU€�Øõøÿõ%øÿƒ µ øÿÀ’€ öÂ% õ%øÿÔ•ŠÀÂ% À�À€�T�øÿ´ ,DNTù©ùi©_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _re ª_scanre ª_subre ª_rhsbuf _loc1 _loc2 _locs _linebp _unpack"L10001L10002L9,L14DL15NL7T~unpackcsv splpciøÿL4ZL20001L6XL10003$L100L116cret _pack"h~packhsplpciøÿL19vL20„L21ŠL10005–L10004¦L22ªL23ÆL24ÜL20003ÎL25âL27öL10006L10007ex_re.o6# ¤‘n|0 w üÿÆåNß À Nß À Îß Ã÷ Ðÿõ%\,Án70 þy÷‹°ÿÎ{ß Îªææß P–%wŽÿ÷‹ŠÿÎ¸ß ÎªæìÎýß D-Ä% Ä%ÿÿË‹ÎB ß Ä% õ‹Îq ß Ä% 72ÿ@Í@Àeîÿ5ìÿ7Š¢ÿ7ŠŸÿÄ%^÷ ÿ·Š�ÿ7ÿÃ%~‚Σ ß ì÷ ôþD-Ä%ÿÿ @Àeîÿ@-ìÿÎÖ ß ìÓ• Í÷ RÿÄ%*Ã%  Ä%\÷ ®þÀ%*Ã%õøÿÁ¦7H þy÷ ˆþÁ~7 þy÷¥ òþÎ ß ìý�äþìÿµ ìÿÓ•Ó�Öþ·ŠÒþ£@Àeîÿ@-ìÿ‚ÎR ß ìÓ• õ ìÿSŸìÿ’Ó•�Ó•Œ÷ ¤þ_DÁ’7¤ þyÓ•_úõêÿý‹êÿ_úýµ€êÿDŸêÿÄE€ÿÄ%&Ά ß Ä%1Ä%9ι ß Ã%~‚_Ó•@ŸêÿÀE€ÿµ êÿ�ÓÃ%_Dý¥øÿý¥ øÿÎí ß ìý¥øÿ @øÿðµ€Î" ß ìýÕøÿ_úÓ•Šõèÿ÷ BýÄ%^÷ 6ýó•þÿÄ%],ÎP ß ì'Ä%\Îä÷ ý&ß Ö À ÷ ýÄU€Ä% Ä%ÿÿΖ ß ì‘µ èÿÃ%€‚_÷ ÒüÄ%]Ö@øÿp�èÿ_úÄ%ÿÿ÷ÿÿ°üÄ\HÓ•Ä% Ρ ß ìÄ%1Ä%:‘_úÄå1À�ý!Îå ß ìÀU€�_úõ‹7\ü_.Î- ß ì÷ Lü@- ÷ BüÀ%ÿÿõ‹÷ 2üÀ% Ó• _ú÷ ªü_ìÓ•Äw ü7Š üNß wüw üûDCÄ ÷ XüÀ@xÀ% Îß &&÷ ÐûÖ €% wÄûÀûw ºûõ  ÷‹5ü 9Ħû7¢û õ-œûõNß 7 ŠûÃ÷‹ü17|ûÎ&ß üÖ “�@xÀ% “ß &¦÷ TûÖ €%Î&ß üÖ À 7<ûÀw4ûœ“€ î÷ ’ûÚÔ‹ø¸Ë¥òÎ&ß üÖ À åÔ‹÷«w ûDCÆå_¸À xÆ˵€%À”ÀE€ÿ5�òÿ@�òÿÀ 5†öÿ@�òÿÀ 5˜ôÿu-ôÿöÿ‚_¸“@Ÿöÿ&ß Ö À µ öÿ„ ì“À’&ß Ö À ƒ „ _¸Ô‹_¸ wrúÌ‹û_¸7fúÀõΕ&æß Ò–%À êÀ’`_¸ •&æß Ò–%À óÜÀ”À 0†_¸À”À 0˜iÔ‹þ"„ À’“&ß Ö À ö„ ƒ ó¥ÿÿ Ε&æß Ò–%À ðÀ’`Ä Ä-Èù§Î&ß üÖ À ©„ ó‡�Ä%2“ß À Ì¥_‘�ÿÿß À Šô¥_ÿÿ†�ÿÿß À _ˆ“ß À _ˆÌ¥__ˆ“ß À _ˆÀ”Àå ‚_Îo ß ów *ùDCà  wù÷ €ù Îß À Îß •ô¥-“ÀE€ÿÀ �ÀE€ÿÀ ÄeÂå õ ×ÀÕÂ%â•ÀE€ÿÀ ð@Êw ¬øDCB Ԕ ýw’ø&/?rLLŠ()<>Œ´ÖÜâ*.[~fþ®D $*.[\~š°ÜÜÜtÜæÐî€æ  ¼ Ž–ÜÈNŽ]-^\9Øøø) ø™Yùù)ùYø)™ø¹ø)ùùùù™(øø))¹Ø )ø)YùY¹¹¹™9ù™9™ØÙ™9ùIYIÈ Yøù9ØÙ9™™9øø™IøøYøØØøØø9™™xØ9™_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _re ª_scanre ª_subre ª_rhsbuf _loc1 _loc2 _locs _linebp _compile"L10002nL10003tL12rL9LL15ŠL10010~L10011†L36ŒL38´L40ÖL41ÜL34âL10016’L10017šL53fL46þL56®L47L42DL10022¦L10023´L69šL71°L76ÜL33tL77æ~compilecsv eofoknlceplastepøÿbracketîÿbracketpìÿrhspêÿcclcntèÿ_letter L10000 _digit L4(_error _getchar L5’L10004DL10ZL20003b_copy"PL3ncret L13€L10005¤L16ÔL17°L18ÄL19ÎL20öL21úL23L24_cerror"ìL10006L254L26.L27HL10008^L29b_peekcha L10024lL10012„L37œL39ÈL43ìL10018öL48 L50HL514L10013€L54ˆL55¤L57ÒL590L20005âL62L61ä_any L10014L63L64VL66hL10019tL67zL68ŽL70¨L10020Ô~cerrorìs_same"~sameabL10025<L100266L838_execute"B~executeBgfaddrp1p2cL87`L88VL20006RL86ÈL89v_getline L91â_advance"üL20010�L93ÜL10028²L20014ÀL20012ÌL95ÐL99èL10035ÆL121ÐL108L127îL114€L123æL117 L131 L119¼L115ŽL116–L122ÜL140ÈL138NL139Ž~advanceülpepcurlpnextepøÿspöÿsp1ôÿcòÿL104¸L20029L109fL110>L20019ˆL103ŠL20025š_cclass"ÒL20027´L124èL1362L128ôL20021òL20022L10029L10030L10032f~cclassÒsetcafnL144èL20032âL143äL145_uclette L146*L20031L148@L149"L20033JL20035:~copyPtofromsizeL154jL158dex_recover.o6# ¤�„„^°w üÿÆåNÎeöÿß À μ ß ÷ Þÿ7ÚÿwöÿÔÿÀ Nøÿß ÎÚ ß ÷ ¼ÿ+Îß Îß Îß Nøÿß  ææ¶ÿæŽæ„ß Æe·Š|ÿÎß Îß Îú ß Nøÿß wXÿw TÿÎß 7HÿÀ-DÿÀ%ÿÿôÀ8ÿtøÿÀEÿ7,ÿw(ÿw $ÿ÷ Èÿ÷-ÿÿ÷ ÿ7 Hÿ÷ ÿwÿw ÿ÷ ÿÎ ß ÷ îþ÷ êþ7æþÎ( ß ÷ Øþ ß ÎÌþß  æ¢æ˜ß –%·Š´þÎC ß ÷ Pÿ÷-¤þ¢þ÷ œþ ÷ –þÎæ¬ß Ö Àw€þ ü/usr/lib/exrecover/usr/lib/expreserveFile "%s" preserved. Please seek help immediately. 9Xx‰y ¨xy¨È¨Èè™Ø©¨Èx¨é9˜(‰y™™é9‰y™™‰é9ùxɉyxy¨)ÈØ©xy‰™ ø(é_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _exrecov#„_exprese#˜_recover"~recovercsv pvecöÿ_pipe L6_error _fork L7@_close L8œ_dup _execl cret _waitfor"¨~waitfor¨L14¬_wait L13Ä_revocer"Ø~revocerØL18ôL17ø_change _preserv"ü~preservüL23_synctmp L24$L25TL26€_sync L27¬_lprintf L22|ex_set.o6$ ¤‘¬ò€ w üÿDÆå$÷ ðÿ÷ ìÿß À ÷ Þÿ ß FÄ Î\ ß ÷ ÆÿÁ¶7v þyÃˋ΂ ÃË‹ Η Ãˋή ß ÷ fÀ æÃ ß Ö Î&æåß –%÷ `ÿ÷ \ÿ÷ Xÿß À Â÷ JÿwFÿß À æà ß Ö CÃeÚÿ@ÀeøÿÀ ‡Îß ß �÷ ÿß À ë7üþ Š5ŠøÿCÃeÚÿÎæìß Ö À Îß ¹Îxæß Ö À Ë¥nó¥oÃeµŠøÿÂ€Î¦ß Ö À Î¦ß Ö À Âe Ê íÊ Îæ<ß Ö ÷ pþ÷ jþÀ%?÷ `þŽß R_œõ‹øÿ ò‹Žætß Ö €œ ƒ_œÀ xÆÀA�øÿ@à2_œÄ Ú÷ ôÀ Ö÷ þÀ%=Žæ�ß Ö ÷ òýß À Î¿ß  õ Öÿ÷ ÔýÀ%0Â% õÖÿupÖÿf÷ ¶ý€eÄeÐÿ÷ ªýß À ï2_œÄ š÷ tÀ –÷ ˆýÀ%=Žæöß Ö CÃeÚÿ @ÀeøÿÀ ‡Îß ÷ Xý�÷ 6À ð Šò¥NÎeÚÿß _œNÎeÚÿ¦ß Ö ò_œw ý÷ ýß À ÷ ýß À  wöüÀûw ìüÄ€Ì õ‹ � ‚À xÎ4-ß RÄe éô úöw®üw ªüD� ‚À xÔô æöæ÷æðß –% Îúß Î€ß Â÷ dü÷ `üw\üÄ% ï&æå&æßw :üDÄ týÿÀEàß ÂÀEøÿÀU0ß wüw üÄ€ ô¥ô‹4Äe Ì òwäû/bin/sh/tmpunknown@notifyÜçêô÷v :v +.v3v8v=HKVYv^vdv¤¤xvivpvuv~‡Šv‘v ˜ž¡¬¯v¶¾XÂvÈÖÙvàv!%`Nj\ºÖèhh22Fj¤¶¶autoindentaiautoprintapbeautifydirectorydireditanyeaeditederrorbellsebforkhomehushignorecaseicindicateuliulistmagicmodenumberopenoptimizeprintallpapromptscrollshellshshiftwidthswstickyttytypettytersevisualmessagevmwindowwrap%c=%s all%s%s nomode=%s=%d %s=%s ™)8Y˜Y¸øø˜˜ 9 I )8Y i x ˜˜x Yx YÈ È È È ˜I )Y˜Y˜)ˆ ˜)Y)ˆ Y˜˜Y ( ™)H )8i ™i ™è è ) 9 i ™ˆ i ™i x_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls#€_normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _shellna#_direct#:_ttytype#X_NONAME#v_NOTify#xL6ÜL7çL8êL9ôL10÷L11L12 L13L14L15L16 L17+L18.L193L208L21=L22HL23KL24VL25YL26^L27dL28iL29pL30uL31~L32‡L33ŠL34‘L35˜L36žL37¡L38¬L39¯L40¶L41¾L42ÂL43ÈL44ÖL45ÙL46à_set"L10001¶L10002¼L57NL62jL60\L55ºL10006ÆL84ÖL85èL93h~setcsv copvpnoøÿoptnameÚÿcolumnØÿbaseÖÿ_setnoad _peekcha _endcmd L50*_getchar _propts"L49¶L546_error L10003F_uxb L59zL20000v_setend"äL64ŽL65å_lprintf L66œ_flush _skipwh _eol cret _letter L67ÐL70ÖL71èL72ì_strcmp L73*L74PL75xL20002VL76|L78ŒL79ªL80 _propt"RL81ÂL86 _digit L87 L100048L91>L94ŠL95ªL20004’L97¤L98Ê_setterm _strcpy ~setendä_white L10007 L102L10010ÎL1132L114F~proptsallvpL106L105NL109:L108@L10014ÔL120jL124¤L130¶~proptRvpL118œL10011xL122öL10012|L123÷L121ðL20008€_printf L20006ˆL126ú_pro"Â_putnl L128L131~proÂiL135Þ_putchar _REset"ò~REsetòvpL139L20011üL10015 L141ex_shift.o6$ ¤�Àtw üÿæ ÷‹öÿ÷ ðÿ7ŠìÿAwpÒuÄÜÿÄ-ØÿI‡ß Îß @�Àå<  ‚À xÀ÷‹®ÿ&ŽNmß 7œÿÎß 5øÿß À`À%þ‚ÎBß Nøÿæß Ö Îß ß Äe¿ ûBí ŽÒÀÑw@ÿ¦`NYÙù™)9 Hihx˜¨¸Èé_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _shift"L10003ÀL11¦L8`L10N~shiftcsv ccntaddrcpdpøÿiL4_save12 L5$L3¼_getline _whitecn L7 L20001Z_geninde L20000^_vpastwh _strlen L12†_error _strcpy _strcLIN _putmark L10000¶cret ex_source.o6% ¤�0¤w üÿÆåÎæß Ö  ß Î{ß  ß  fß Ö À ¾ÿ÷‹ºÿÎæß Ö ß ß ·šÿõ `Nß [· †ÿÃ�‚ÿNÎeîÿ& ß Ö À  À7�dÿ5ŠìÿNÎeôÿß ÷ Rÿ÷‹NÿÎæß Ö õ‹ìÿ µŠìÿÎæß Ö ÷%ÿ ß ß ß ÷ ÿNÎeôÿß ÷ øþ÷�ôþ ß ß ß ÷ ÞþNÎeôÿß wÐþ9ÈØøù HÈØùh yxy¨¹ HÈè Ø yØ )_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _errno _slevel _source"~sourcecsv fileokfailosetexitôÿttyîÿsaveinpointtyoerrnoreenterìÿ_signal _dup L4(_error _close _open L5vL6V_onintr L3,_filioer _gtty L10000”L10001˜_getexit _setexit L8ÂL9Ü_command L10_resexit _reset cret ex_subr.o6% ¤�îw üÿ „ ÷ òÿ÷ îÿß ŽÀ öwÞÿw ÚÿDC£Ô‹ü wÄÿ“Á˜@àúw ¸ÿDÄ%a Ä%z Ä%ZÀe w”ÿÄ%Aõ ùw †ÿD ƒ Ô‹ýÀwrÿw nÿõ¥ õ¥  wXÿÀûw Nÿõ¥0õ¥9 w8ÿÀûw .ÿõ¥Aõ¥Z wÿÀûYi‰‰‰‰‰‰‰_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _skipwh"~skipwhcsv whL4L20001_getchar _peekcha _white"Žcret _strcmp""~strcmp"leftrightL9.L10<L88_letter"D~letterDcL15lL14hL20003\L16r_strlen"v~strlenvcpiL20„L20005‚~whiteŽcL10000¨L24¤_digit"®~digit®cL10003ÂL10002ÈL27Ä_uclette"Î~ucletteÎcL10006âL10005èL30äex_tty.o6& ¤�l ¼6xw üÿÎfß Ö wêÿw æÿÆåý‹õÀ NfÎeúýß Ö À% DÎÃfÎeúýß Ö @�úýA�ûýWt@P7˜ÿÎÔß 7J÷BÀ>À 7˜7–Á0À r7@7>Î×ß 7À%÷èÎÚß 7�@ÿ÷ <ÿÈ¥O7Š2ÿÎÝß 7�&ÿÎàß 7�ÿÎãß 7�ÿ÷ÿÎæß ¦7üþÎéß ¦7ðþÎìß ¦7äþÎïß ¦7ØþNfÎeúýß ^Ö æß Ö ÷ ¸þÄ Næ”ß Ö w¢þw žþDÌ¥:Ì¥|„ Ì‹÷Ì¥|„ Ë¥:Ë¥|ƒ Ë‹÷ Šw`þ@ûw VþÎfß Ö wDþèunun|unknown:0:0:?licocaambsosclndupcey©y(Xùx™™™™xÈYÙYÈiÈyȉ(9 )IèX‰¨©y©y8˜©_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES#¾_COLUMNS#¼_UPPERCA _ttytype _outline _destcol _destlin _tspace @_Tspace _ttycap _setterm"~settermcsv type_Setterm"cret ~SettermtypeprinterrbufúýunknownL7*L8À_tgetent L9VL10Ã_strcpy L11Ô_tgetnum L12|L13×L14´L15Ú_tgetfla _cgoto L16ÎL17ÝL18àL19ãL20æ_Tgetstr"¦L21éL22ìL23ï_longnam"^_termres L6Z_error ~longnam^bpdefcpL28vL20001hL29zL30 L31”L20003†L32˜L27œ~Tgetstr¦cp_tgetstr ex_unix.o6& ¤� (P w üÿÆåh÷ ôÿ5ŠøÿÎfÎe’ÿß Ö ÷ ÜÿÂ% Â%ÿÿÎÜß Ä€Á(7è þyÎ<÷ ¨ÿ&ß Ö À ÷ ˜ÿÄ%d‚7ŠŒÿÎß ”�÷ ~ÿÂ%|ÚŽß À Õ ŠÄ@�øÿ&æ@ß –%wPÿCÃe’ÿË‹7ŠBÿÎCß µŠøÿË‹ØÄ%d΃ԔùÃË‹7ŠÿÎlÃË‹7Š ÿÎ—ß µŠøÿË‹¼Ä%d²ƒÀ”ÀU€�öw æþ÷ âþ÷-ÜþÚþ÷ÔþÒþ÷ ÿÎ¹ß ÷ ÀþÎCß ß ÷ ®þ÷ ÿõ‹÷‹žþÎÕß Îæmß Ö ÷ ‚þÎæß Ö ÷ nþ7jþ æß Ö Îôß ÷ Pþ$ÎJþæß Ö Î<þæß Ö  ffæræÿß Æe·ŠþÎôþæß Ö ÷ þæß Ö ÷ TþÎuß ÷ äý÷ àý÷ ÜýwØý!%\`°êPØj%`!-c[No write] |[No write since last change] !%s sh! ™ùøHø‰˜øùHØø ùHøøùøùHø™¹¹É¹É™HÙø™ùHøXhyyhHyÙhéh™¸©™HÉh™ù  _ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _uxb f_unix"L10002(L100030L16°L23êL10PL20ØL13j~unixcsv upfpcprintubøÿpuxb’ÿ_setnoad _strcpy _getchar L100002L4:_error L7>L10004HL11<_peekcha _any L14|L15pL8~_endcmd L27@_unix2"cret L17ÆL18ÊL22þL20000úL25~unix2optprintubupsavintL31RL32<_dingdon L33C_mesg _printf _flush L34~L35lL36m_lprintf _signal _fork L37¬L38úL39r_execl _waitfor L40L41u_termres _gettmod ex_vadjust.o6 í�ô_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol ex_vclear.o6' í�ô_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol ex_vcolumn.o6( ¤�œ¤4w üÿDÄ Äþ &ß Ö wâÿw ÞÿDCæ õÐÿøÿ÷vÈÿ7 ÄÿÄ �4Š ß Ä ´�à À”ß Ë‹úwøÿ’ÿÀŽÿwŠÿw †ÿ@�Á¤7  þy÷elÿ÷Efÿwbÿ· ^ÿû ŽžY™Y))éh)é™Yéé™é_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _Outchar _column"~columncsv cpL4_qcolumn"cret ~qcolumnlimgpxOOøÿ_qcount"vL8H_pline L9VL11dL10hL20001\_putchar L10001¤L10002¦L18ŽL19ž~qcountvcL10003†L15šex_vcurs.o6( í�ô_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol ex_vkey.o6) í�ô_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol ex_voperate.o6 í�ô_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol ex_vops.o6 ¤�X| 8w üÿDÃÓ• ÄåÄ%øÓ• Ä Ä ûÀwÒÿw ÎÿD„ “ß À ùw´ÿw °ÿD •Á|7  þyÃeÃEòƒ ðÀw„ÿ hrv‰è‰‰_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _geninde"~genindecsv indentcpL4L20001L7$L20003cret _vpastwh".~vpastwh.cpL13:L200058_white _whitecn"LL10001|L10002€L22hL23rL24v~whitecnLcpiL18VL10003`ex_vset.o6* í�ô_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol exa.o6+ ¤�0ú,w üÿæ 5 øÿwðÿ÷‹ìÿ[÷‹æÿXõ%TÀØÿÀe7Ðÿ7Ìÿ7ŠÈÿI÷-ÂÿÀÿ‚Îß À%ÿÿ÷‹¬ÿ õ% ÷žÿœÿÀ˜ÿÀe7�ÿÎß ÷e‚ÿµ øÿÄzÿÄeÃe÷ejÿ÷edÿ÷e^ÿ÷eXÿÂTÿ#„ ý‡ Žß õ%· 8ÿ÷ 4ÿý À ³@øÿw$ÿw ÿ÷‹ÿ7ŠÿÀÿ7ÿ7 ÿwÿi)˜iÙÉù™‰È˜)É9Ùø™‰iÙy‰i(8 IYù)ÙÉY_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _append"~appendcsv faa1a2rdotnlineøÿL5Ì_getsub L20003:L7~_sbrk L8xL9p_error L10°L20001®_putmark _gettty _TSYNC cret _appendn"Ü~appendnÜL15öexg.o6, ¤�¬ $$w üÿÆåÁôÿÁíðÿ@€ r5öþõàÿøþ÷‹ÚÿÎ8ß ÷ Ìÿ÷ Èÿ÷ Äÿ÷ Àÿ÷ ¼ÿÎß À ÎZß  æß Ö Îªææß –%DÄeúþ÷ ‚ÿÃ% )ÀÁ07¤ þyÎ‘ß ÷ \ÿÀÁ$7x þy÷DÿÔ�@Àeøÿ!Ù‡Î¥ß ÔÔ•\ò÷$ÿ÷ ÿÔ�Š÷•ÿÂÿÊEÂ-ÿ ‚Â-ÿ ‡Ž& ß Ö @-ÊUÂeÂ-äþé†÷ ìÂÚþÊ5ÊE·Êþ@Àeúþ7ÀþÎæß Ö Â®þÂeÂ-¦þæ†7Š þ÷•šþwøþ”þNöþß ÷ÿÿ†þw‚þw ~þD÷•tþ÷pþnþÂjþÂeCÂ-\þ‚Îß À%ÿÿÎÕß ÷e>þÒ!ì†÷•2þ@Àeþÿ7&þw þÀe7þ€Àeþÿ7 þwþw þÎþæüýß ~Ö wòýw îýÎêýææýß ~Ö wÜý \¼¸Òÿÿ\˜ ¼)yI‰¸ÉÙéù ¸8øH ¸ Y¸Y™Y)9ØyYi9(IyY‰8II)ùiéy™è¸™ù¹ÉÙ‰I)9)I)yYI_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _re ª_scanre ª_subre ª_rhsbuf _loc1 _loc2 _locs _linebp _global"L10001$L10002(L8¼L14¸L16ÒL100050L100064L10˜L11 ~globalcsv kgpca1globufúþCwasøþiöþL40_error _markDOT _setall _nonzero _skipwh _getchar _endcmd L5X_compile _copy L6zL7ØL10007�L10003°_newline L18L20001ðL20_execute _saveall"L22VL20003(L24R_command _netchHA cret _save"~~save~a1a2addrdestL29ÄL20005 L31Â_sbrk L33¼_save12"ø~save12ø~saveallexh.o6, ¤�à ¤.,w üÿ æöÿß Ö 7ìÿ÷ æÿ÷ àÿwÜÿw ØÿD &æÌÿß –%Ä΀&æ¸ÿß –%À%İ÷‹¤ÿ÷•œÿ÷ ˜ÿ÷ ”ÿ÷‹�ÿ7ŠŠÿ÷ †ÿ÷ ª÷‹~ÿ÷ xÿ÷ tÿ7Špÿ7ŠlÿN ff&÷ ˜Ö &ß Æe÷ Jÿ÷‹FÿÎß ÷ 8ÿÎ& & ß –%÷‹&ÿ÷ ÿ7Šÿ7 ÿ÷%ÿÿÿ÷ ÿ÷% ÿõ7 úþ÷•ôþ÷ ðþÎêþß ÷ÿÿàþ÷ ÜþwØþw Ôþ÷ ÿ릧 wÂþw ¾þDæß Ö  Šƒ Ë‹À’Á¤7: þy÷ ’ÿîË• ì÷ †ÿèÀ€ wpþw lþ÷‹hþ Îß ÷Zþ\þÎß 7ŠLþwHþw DþÆåιfÎeøýß Ö NÎeøýß ÷ þ÷ þß À ÎÊfÎeøýß Ö !Ä ÷ øýß À ÷ êý�÷ äýß À ïŠ÷ Ôý÷ Ðýß À Îß $÷ ºý fÎeøýß Ö 7¨ýÎæaß $Ö ÷ –ý @€`0ŠøýNÎeøýæÏß Ö ÎfÎeøýænýß –%è÷ `ýw\ý@|v‚ZERROR‡‡/usr/lib/how_ex/help%sI(IiyøÉÉIIiii)™©)9ÈÙ©ø øI9IYIYY  x ‰y™ÈyX™™y©è¹©ø©yXx‰™¨Ø™¨Y™( ‰™¨9 ( Y È Iy_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _helpini"~helpinicsv _open L4_flush L3 _pstop cret _error"$~error$stri1i2i3 c_seek _read L9XL10°L11d_resetfl L12z_sync _dingdon"(L13Œ_termres _putnl _mesg">_lprintf _putNFL L14Ä_exit _undiddl L15âL16úL20001ìL17_getchar L18 _close _reset ~dingdon(L21:L23¶_printf L10001¤L10002¨L32vL35‚L29Z~mesg>strcp_strcpy L27\L20003XL20005dL26ŒL10003n_normal"�~normal�L40°_gTTY _sTTY _helpthe"¸~helpthe¸cpicpbufføýbuffcntL44¹_strend _skipwh _peekcha _endcmd L45L46Ê_strcat L47BL48L20007L49&_white _eol L51f_setnorm L52„L20009lL54Ïexj.o6, ¤�p²üw üÿà ŠÄòÿ/ß ÂÄ-âÿ"õ‹‚ Ê¥ üÊ¥ ùÊ‹Ã%†ó¥ ÿÿó¥ ÿÿ Ó• Ã%þ†Î­ß “”÷à ÄeÄ-ŽÿΆÃÂÒ”þ÷ |ÿ÷vÿ÷åpÿÎlÿæ¢ß Ö w^ÿw Zÿ÷ VÿÀRÿwNÿ))˜)è9 ù))(9)ùù9_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _jcount _join"~joincsv ca1cpcp1L4nL20004_getline L11dL8*L10000(L20002V_error L20005|_delete _jnoop"¢_append cret ~jnoop¢exm.o6- ¤�ì h w üÿÿ¥Möÿ÷ ðÿ÷-ìÿêÿÎäÿÎeþÿÎÚÿÎeß ÷ Ìÿ÷ Èÿ÷ Äÿμÿæôß Ö ÷ ®ÿÿ¥M¦ÿ& æß rÖ ÷ ’ÿwŽÿw Šÿæ DÁ€ÿÁí|ÿ@€ r€ 5øÿõ‹÷dÿbÿÃ^ÿÎÃeæÆß Ö ÂJÿ ÂDÿÃ@ÿÓEƒ ü†Ã2ÿÂeÄ ;ƒÀeÀ õ‹Îß �Áà@€ rÀ a7þþÄeÄ 'Î&ß ªÖ Žæß ªÖ Ž&7ØþÄeŽæß ªÖ ¦ß ªÖ æß ªÖ „ êƒÎ;ß ÷ ¤þ÷‹ þ"õ‹@Àe7Œþ@øÿÀ Àm‚þ7~þ÷ zþ÷•rþ÷nþlþ÷hþfþw`þ÷\þZþwVþw RþDC ”Â!û‡w:þw 6þ÷-2þ0þ†Àÿÿw&þÎ"þ÷eþß õw þ÷- þ þ†ÀÿÿwþÎüý÷eöýß ÷eìý òw äý÷ àý÷•Úý÷ ÖýwÒýw ÎýÁÊýÁíÆý@€ rÀ¸ýÀe7°ýάýæìß Ö ß w˜ý‰Ii9)9x™©¹‰Øé‰)99))Iyèy9))Øii؉ÉÉÙ¹ù)É9Ù¹y‰999I9IIX‰I9IIXIÉù)9‰yyI9è9_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _move"~movecsv adtL40_setdot1 L10000"L10001*_markpr L54_setdot _nonzero _address L6N_error _newline L10002`L10003d_move1"r_killed cret _tad1 ~move1rcflagaddrtadtad1ad2linesøÿL10¸_getcopy"Æ_append L11ÎL12ÆL20001ÂL14LL15îL17X_reverse"ªL20003DL20005$_change L9¦L21ˆ_deleten ~reverseªa1a2tL26¼L20007¸~getcopyÆL31ÚL30Ö_getline _getPUT"ì~getPUTìL35L34ü_yank"~yank_save12 _PUT".~PUT.cnt_netchan exo.o6- ¤�°€w üÿÎQß wðÿÙèù_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _re ª_scanre ª_subre ª_rhsbuf _loc1 _loc2 _locs _linebp _Outchar _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _oop"~oopcsv _error cret exr.o6. ¤�Ì ¼4Üw üÿÆå& æß Ö 7èÿõ¥e À÷%Ðÿ Á@0· øÿ÷ ºÿ÷ æÿ_BNÎeÖÿæ¦ÿß Ö À ÷ ˜ÿ@ÚÿÀEÿŸÁÜ7l þyÎìß Îtÿß À Îß õ¥ãÿõ¥âÿKÎ ß Î%ß ÎfÎeÔÿæ6ÿß –% & æ&ÿß –%Ä%.@ÔÿÁ¼7Ø þyÎ1ß ÎAß ÎVß Îcß Îvß ÎŒß Î–ß õ5€€ÔÿÎ¤ß õ¥r ÷ ²þ÷ @�ß „w þ÷ œþôw –þ÷ ’þ÷ ŽþΊþæß Ö w|þw xþ÷ tþÀ õ¥e· žþõ¥e÷•Vþ÷‹Rþ7ŠLþ÷ HþwDþeÿmÿ "*ú 2 @`¼ˆ´€B9èˆ ù™ù™ ù8 H888 x ˆ88888888¹ù 9)99HXù9‰™ùiiÉù_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _errno _rop"L10006¼L10007ÊL22"L23*L17úL18L19 L20L21L242L10010ÜL10011äL14¼L11ˆL13´L10€L6B~ropcsv cistbufÖÿmagicÔÿ_open L4FL10000&L10001*L100026L10003:L5B_ioerror _fstat L7hL10012x_error _gTTY L12œL10004¬_read _seek L10008òL20000`_setall L27N_rop2"f_rop3"„cret _setdot ~rop2f_deleten _clrstat _getfile _append ~rop3„c_iostats L34œL36ªL33¸_sync exu.o60 ¤�ø pìw üÿÆå÷‹ôÿÎéß õ‹÷ È÷ Üÿ÷¥Öÿ=ÃÐÿÁÁíÊÿ@€ r÷ºÿöÿÀ À`7¬ÿÀÀeþÿ7¢ÿÃe÷˜ÿÁ”ÿw�ÿÁíŒÿ@€ rÀ À`7|ÿÂxÿÎtÿ& ß Ö ·hÿ÷xbÿ÷ ^ÿ_ÎõVÿôÿÁPÿÁíLÿ@€ r5òÿõ<ÿöÿÀ6ÿÀe5øÿÂ*ÿÃ&ÿ€Àà@€ r!Žæß Ö Nøÿ¦ß Ö Nøÿæß Ö ÷ îþ‚À 7àäþÀ 5àöÿÀÀeþÿ7ÒþÃÎþÃeÂÆþ�ÁíÀþ@€ r#C-øÿNøÿæß Ö ÂeŽføÿß Ö Žæß Ö ÷ „þ‚À 7`zþ÷vþÀ 5`öÿÀjþÀeþÿ7bþ÷^þÀ À`7TþwöÿNþNòÿß ÷¥@þ÷:þ8þwôÿ2þ÷-.þ,þ÷-&þ$þ÷þþwþw þÀ�þ 7‚À xp÷-þþý4÷-øýöý,/ÁîýÁíêý@€ r&ÁÜýÁíØý@€ r€%ÄÈýÃÄýÃeÄ-¼ý‡ÀEÁÁE@ ÄeðÎß Îß w�ýül\move¨Ùù¹Ù9É)¹)Ù¹É9ɹi‰9iyIyyÙÉxxx¹¹i¹‰yxxxÉÉiɹÉÙyÈùéiéIiyiYiéùÙɉyyI‰yYyy¨¨é_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _undo"~undocsv cijpkpdolp1øÿnewdolöÿnewadotôÿL4_error L5 _somecha"è_change L6¦L7`L8„_move1 L9x_killed L10ÎcntòÿL11._reverse L12L13’L14xL15†_netchHA L3äcret L10002pL24üL20lL25L29\~somechaèipjpL21dL20000<exw.o65 ¤�¸º(w üÿÆå$  ÷ ðÿÀ%!ƒ ÷ äÿ÷ àÿ÷ Øÿ„ ÷ Òÿ÷ ÎÿÀ%>öÄ  ÷ ¼ÿß À Îªß Ä Ä%ÎÊß Îwß  ƒ_NÀ xºà V÷ °ÿÎæß Ö À ÷-^ÿ\ÿ÷-VÿTÿBÎß =NÎeÖÿæß Ö À 3@ÚÿÀEÿŸÀ% õ¥ãÿõ‹âÿ%õ¥ãÿõ¥âÿÎæß Ö 7öþ÷ ðþÎìþß À ÎæZß Ö ÎÒþß ÷ ÊþÎZÿæß Ö 7¸þ÷ ²þ÷ ®þ÷ ªþÄ%÷- þžþ÷-˜þ–þÎæß Ö À ÷¶þ÷ xþwtþÎæß Ö 7bþ Î& æVþß –%À Íà ɼ‚NŒi¹ÙéÙé¹¹(88X™øèˆY)y98è¨èØ ù è8 (9™èH ùiyY)y9øèˆ™©¹èØ  Ø_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _errno _wop"L10005ºL11‚L9NL19Œ~wopcsv cexclamblstbufÖÿ_peekcha L4_getchar _skipwh L5.L20001$L7V_endcmd _error L8h_filenam L122L13¸_strcmp L10000®_stat L15øL10001è_open L16_ioerror _gTTY L17*_close _synctmp _creat L20002J_putfile _iostats L3ˆL22„_sync cret L10003´_seek exx.o66 ¤�ä> @w üÿ÷ øÿ÷‹ôÿ÷ îÿ7ŠêÿÄæÿ 7àÿß Îæß Ö @�&ý Ö Îæß Ö À ß ÄeÄ- ÿ݆wšÿw –ÿ ÃÄÌ¥ Ã%þ ƒÓ• ‚ Â5÷ Ã%þ‚Î�ß “‚ „ Ì‹çŠwRÿw Nÿæ 5 øÿ ÄÓÁ>7v þyÂeÂE.@øÿÀeÀE€ @øÿ€ € Ó• õeøÿõEøÿêµ øÿÓ• µ øÿøÌ‹õ‹æß Ö wÎþ“µ øÿ‚ „  Ô8ÞYyù)i¨¸Èè9ùÈù¸ù_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _xop"~xopcsv fcdp_nonzero L4_save12 L5\L20001_getline _strcpy _strcmp L7X_putmark cret _xpand"f~xpandfcpdpcolL12¤L20003vL15�L18|L19–L14¢L20ž_error _tabulat"®L10002>L10003BL29ÔL288L31Þ~tabulat®ccpdpdcolocoløÿL24ÂL10004ÌL26:L33 L34L10000$L352exz.o66 ¤�æ<¼w üÿw�öÿ÷ òÿ7Šîÿ7Šêÿ÷ æÿ„Áæ7Ê þy ÷•Êÿ÷ Äÿ·ŠÀÿ÷ ¼ÿ€ ø÷ ´ÿ ÁWp CÀeÐÿ` ·Ššÿ ß À ÃeÐÿ÷ ‚ÿß À ãÃ-’·ŠlÿÂ%= Ãe Â%ÿÿÀ0ÀpÄ%ÿÿ7Dÿ÷ @ÿ÷<ÿ:ÿ÷ 6ÿŽæß ØÖ w(ÿw $ÿDC� À�Á7 þy ÷-ÿÿÎÄß ÷-ôþòþÎÍß Á�äþDpÁ w`Üþ÷-ØþÖþ†ÎÕß ÷eÆþ÷ÂþÀþÀ À 7`¶þ÷²þ°þ÷-¬þªþ‡÷¤þ¢þ÷-žþœþ†÷–þ”þ÷-�þŽþ†÷ˆþ†þ÷-‚þ€þ†_ˆÁvþÁírþ@€ rÀ%÷ `þÀ�À%ÿÿD÷‹TþAÎNþß Î�ß ÷•<þ?Ä „ Ã¥=Ä À*þÁ @à7 þÃ¥=Âþ·þÀ 7` þÃ¥.ª÷ þ¤Á�úýDpÁ wàòý÷-îýìýƒÎáß Ä ÀÜýÁ @à7Òý�÷‹Ìý÷ ÆýÎšß   ¦Îeþÿæ¬ýß –%÷ . ¦¦ß –%÷ €Àe7ˆý æ‚ýæ~ýß –%wtýw pý÷%èjýÀHÀ^ýÃÓ•-Ä Ä û ŠÎæß Ö w8ýw 4ý7Š0ýÎ=fß ØÖ ÷ ýwýÿÿ+-.=^b@@HH0hÿÿ+-.=^øÆÆ:%s é99)IIIIIyI)¸I¸™)™™Y)9)9Yéy9(y9(I9y9(99)99iI)Y)y9y9yiyi9)9)É9)èø‰9)9i99 I9Y9(9)) ø)h h )9)h YéÉÉ Yé)I Y_ruptibl _ingloba _inopen _inconf _listf _endline _laste _intty _shudclo _diddle _die _chngfla _xchngfl _tchngfl _file @_altfile @_linebuf _genbuf _addr1 _addr2 _zero _one _dot _dol _unddol _endcore _fendcor _unddel _undap1 _undap2 _undadot _undkind _io _erfile _tfile _globp _erpath _names 6_outcol _home _Command _varbls _normtty _normf _obuf _oldhup _oldquit _header P_dirtcnt _recov _TTYNAM _TMODE _lastc _peekc _aiflag _pid _rpid _status _tty _allredr _pfast _mask _vcntcol _TTY _CLEAR _NDSPACE _UPLINE _HSTR _CE _CA _AM _BS _OS _PT _NOCR _LINES _COLUMNS _UPPERCA _ttytype _outline _destcol _destlin _znoclea _zhadpr _zweight _zop"L10001æL10002òL13bL9@L12HL60L14h~zopcsv hadprclinesop_notempt _getchar L10003(L200018_peekcha L4jL20003PL16z_digit L15 L18”L20²L10004¬L10005°L21À_newline _setdot _zop2"Øcret L10007L10008L27øL29L39L34ÆL32:~zop2ØlinesopsplitL10009ð_error L30L314L20004JL25PL41^L42lL43zL24ˆL44 _pstart L450_getline _putchar L46DL35ÒL36î_markDOT L40L48x_plines _splitit"Œ~splititŒllpL10010žL10011¢L52°L20006ªL55_printf _zeq"È~zeqÈcnt_putNFL printf.o6 ¤�äjØw üÿÆå~wrDÄeÀŸh · b %ß ôwÐÿ7 N÷wBƒÃeÁjBí üJ  Ó•-ׯ d· ÷ F r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „( À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à • à Á” Ò‹ƒ D~‚Âeƒà&æ Ä Ãmjß Ã~Ä Ž”ß à Î ß Ã~Ö „wÖþ ÀŸ<· 8Àå0 úÿ ‚Wp `îÀe0ƒPdÜcês\l)9_printf"_putchar csv cret formp€loopndigit‚gnum>width~swtabjdecimalPcharacÜstringêlongorun\unsignedjlongŒprbufþprstrputchar.o6 ¤�ÔL ÷ üÿwøÿ@><À4÷.‡À(÷"‡÷‡÷ ÈÿwÄÿ÷ Àÿw¼ÿ÷‡ù ¨h˜9I)xhxˆ_putchar"_outchar" _pline"_setlist"_setnorm" _setnumb",_normcha _termcha _normlin _numblin _listcha _Putchar#L_Outchar#N_Pline#P_putNFL"_putnl _flush _setnoad _eol _setcoun _newline _setCNL"4_setNAEO"<_setoutt"Dreset.o6@ ¤�8^lwZ·X·V ‡€ÐFÐFÐ@‡€74747.‡w Èÿ@w# EûÆÅ·õw¢ÿIY_setexit"_getexit"_resexit""_reset"4csv cret sr5^spc`sspbwait.o6 ¤�Pf…‰†wôÿ}…‡_wait"cerror _setcoun _newline _setCNL"4_setNAEO"<_setoutt"Dreset.o6@ ¤�8^lwZ·X·V ‡€ÐFÐFÐ@‡€74747.‡w Èÿ@w# EûÆÅ·õw¢ÿIY_setexit"_getexit"_resexit""_reset"4csv cret sr5^spc`sspbwait.o6 ¤�Pf…‰†wôÿ}…‡_wait.nr LL 7.5i .ce Update to Ex Version 1.1 Documentation .ce .DA .sp 2 .LP This sheet is a quick update to Ex version 1.1 documentation for features which were added after the documentation was prepared. .SH Crash Recovery .PP The crash recovery mechanism has been improved to recover mangled buffers and to mail to users that their files were lost after a crash. More information is available in ex "help". It is also possible to recover a buffer which had no current file name; it is saved as though it were named "LOST". .SH Smaller Screens in Visual .PP A new, partially implemented feature, is smaller visual screens. You can specify a smaller window size for visual by .DS set window=10 .DE or on the "visual" command, similarly to the "z" command, i.e.: .DS vi.5 .DE .SH Visual features \- Unimplemented, 11/34's and 11/40's .PP The visual operations ``e'', ``E'', ``<'' and ``>'', which were .I unimplemented in the documentation are, in fact, available on 11/45's and 11/70's but not on 11/34's and 11/40's due to space problems. In addition, the sequences ``^CTRL(d)'' and ``0CTRL(d)'' are not available with .I autoindent in .I visual and .I open modes on the smaller machines. .SH Future visual changes .PP The following additions to .I visual are contemplated: .IP 1) An operation `V' to dynamically respecify the window size. With no argument, `V' will set the window size to the maximum possible, this being rather innocuous. .IP 2) Operations to deal with LISP S-Expressions. .IP 3) Handling of intelligent terminals. spaF ´4 ð€&Ð 6÷ ß â‰w ÔÆåõ%õ# Î$æL æß À–%Îß â ß ~õ#@Àq 7” ÎæŒ ß ”Ö À Î~ ß BÎß â@ß ðuðÿ & & ß œ–%Îæü & ß ²–%À%_È÷%8 ÷% 0 Îw æ$ ß BÖ Îß â@ß ~Áe@ uøÿ5öÿ5òÿuôÿÀò Àå ‚À xF Áà ÁeÿÁEÿÁíÔ À 5àòÿuàôÿµ òÿ fôÿfòÿ& ß ÆeÀ · æ¢ ß dÖ Îß âÎfÎeîÿ& ß ²–%À%% fôÿfòÿ& ß ÆeÀ ÝÎfÎeðÿ& ß À–%À% Nðÿfîÿæ“ ß Ì–%Îß âÎ. ß BÎß âw Á À 5`òÿu`ôÿu òÿ¤w üÆå5 öÿ5 øÿý¥7Aøÿ@öÿvCŸÃeÐÿ µ ÁP€P5öÿuøÿý¥0åý‹ Î æ¢ æß À–%Îß âAøÿ@öÿw˜w ˆ7 ¤ wNß Bw~w nÆå æ& ß œ–%Îæb & & ß ÆeÎæP & & ß Æe5 øÿ5 öÿ@øÿAAmöÿp’ @@möÿÈ‹µ öÿµ øÿõ%øÿê ß Ô7 Î æ & ß $ –%5ôÿ ί æà ß dÖ Îß âAôÿWp Nß Ô7Ò AôÿWp NæÄ & ß ²–%AôÿWp @ μ æ– ß dÖ Îß â5 øÿ5 öÿÀŒ @möÿAöÿH¬ µ öÿõ%öÿñõ%öÿ ÷e d µ øÿu-ôÿøÿâu-ôÿøÿ ÎÊ fß dÖ Îß âÀ6 ÀEàÿ5öÿÀ%õöÿõ öÿÀ ð õöÿÀ ð5 õ%öÿ ÎÛ fß dÖ Îß âÀÚ & ß Ö wºw ªÄð ÷-jÀÀºÀ t Nß ´Îfæß À–%Îæþ æß À–%ß ´&æß À–%Îæ æß À–%wHw 8DÔ‹þ@íÀ w0w Æå~wDDÄeÀŸ: · 4 %ß ôw7 7 ׯ-· · ÷¸w7  .÷¦wöƒÃeÁ BÚ üJ Ó•-ÀŸÌ· È o^ xU d÷ ²÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁ0 ÂH ŒÒ‹ƒ D~C Â<  ÂB v÷ öÓ•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡À¼Â¶÷ ” À®Â¨÷ †7˜wVþ‚Âeƒà&æ Ä Ãm|÷ zß Ã~Ä Ž”ß à Î ß Ã~Ö „wþ7 N ÀŸD· @Àå0 úÿ ‚· ,Wp `ìÀe0ƒÄeÓ•?‡f…À÷ ,À P�· ÷ ú÷ @…‡f…÷ …‡ÀÞ Àå, 7þÀÌ€ ‰P ÷, Â÷º×-´‚÷¬‡f…@‰†w† …‡f…wºw¶‰V †wf…‡f…@wžwš‰\ †wD…‡f…÷Іwm€‰b †w&Àtwmn…‡f…w^‰b †wwP …‡w Ðõ õ õ%ÿÿ õ  N ffß œ–%õ% @tAWt÷ÿÁE€ÿ@PN Îe&fß œ–%À ÀÿÿwnÎfÎEþÓf…@wÀw¼‰h †wZ …‡f…@w¢wž‰n †w6…‡f…÷ 8@‰@…&æ¦È B„ƒ‚F…‡€�‡7øÀÿÿF…‡‡€�6rwø‡€�6r@‡8ÜUsage: patchd symbol value [ file ] a.outNot object fileSeek failedWas %o now %o Bad number. No name listError readingSymbol not foundInappropriate symbolUnknown error: BdoxdfreâcðsNlnu€r’DO Xüÿðÿðýÿøÿà(null)‰, ‰‰‰.‰‰º Â Ñ ë û   7 I [ k w ‰ ™ « ´ Ê Ü è ú  ( 9 M a r � � ¨ µ Ë Ú æ "Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-de/* * patchd symbol value [ file ] * * Like a db ! but works separate i/d. */ long geto(), getsym(), itol(); char *file; struct header { int magic; int txt_size; int data_size; int bss_size; int sym_size; int entry_loc; int unused; int no_reloc; } header; struct nl { char name[8]; int typ; int *val; } *nlp; int *initbrk; main(argc, argv) int argc; char *argv[]; { long iaddr, addr; int value, word; int i; if (argc != 3 && argc != 4) { write(2, "Usage: patchd symbol value [ file ]\n", 36); exit(1); } close(0); file = argc == 4 ? argv[3] : "a.out"; if (open(file, 2) < 0) { perror(file); exit(1); } value = geto(argv[2]); seek(0, 0, 0); if (read(0, &header, sizeof header) != sizeof header) goto oops; if (header.magic < 0407 || header.magic > 0411) { perror(file, "Not object file"); exit(1); } addr = iaddr = getsym(argv[1]) + 16; switch (header.magic) { case 0407: /* Non-shared */ /* Just skip past header */ break; case 0410: /* Shared */ /* Round to 4kW boundary */ addr -= ((header.txt_size + 8191) &~ 8191) - header.txt_size; break; case 0411: /* Separate i/d */ addr += header.txt_size; break; } if (lseek(0, addr, 0)) { seekerr: Perror(file, "Seek failed"); exit(1); } if (read(0, &word, 2) != 2) goto oops; if (lseek(0, addr, 0)) goto seekerr; if (write(0, &value, 2) != 2) goto oops; printf("Was %o now %o\n", word, value); exit(1); oops: perror(file); exit(1); } long geto(cp) char *cp; { long i; for (i = 0; *cp >= '0' && *cp <= '7'; i = (i << 3) | *cp++ - '0') continue; if (*cp) { write(2, "Bad number.\n", 12); exit(1); } return (i); } Perror(cp, dp) char *cp, *dp; { extern int errno; extern char *sys_errlist[]; errno = 0; sys_errlist[0] = dp; perror(cp); } long getsym(cp) char *cp; { static char symbol[8]; int i, j, n; seek(0, sizeof header, 0); lseek(0, 0, header.txt_size, 1); lseek(0, 0, header.data_size, 1); for (i = 0, j = 0; i < 8; i++) { symbol[i] = cp[j]; if (cp[j]) j++; } initbrk = sbrk(0); n = ldiv(0, header.sym_size, 12); if (n == 0) { Perror(file, "No name list"); exit (1); } nlp = sbrk(n * 12); if (read(0, nlp, n * 12) != n * 12) { Perror(file, "Error reading"); exit (1); } for (i = 0; i < n; i++) { for (j = 0; j < 8; j++) if (nlp->name[j] != symbol[j]) break; if (j == 8) break; nlp++; } if (i == n) { Perror(cp, "Symbol not found"); exit(1); } j = nlp->typ & 037; if (j > 4) j = 1; if (j == 0 && nlp->val) j = 5; if (!(nlp->typ&040) || j != 3) { Perror(cp, "Inappropriate symbol"); exit(1); } return (itol(0, nlp->val)); } exit (1); } nlp = sbrk(n * 12); if (read(0, nlp, n * 12) != n * 12) { Perror(file, "Error reading"); exit (1); } for (i = 0; i < n; i++) { for (j = 0; j < 8; j++) if (nlp->name[j] != symbol[j]) break; if (j == 8) break; nlp++; } if (i == n) { Perror(cp, "Symbol not found"); exit(1); } j = nlp->typ & 037; if (j > 4) j = 1; if (j == 0 && nlp->val) j = 5; if (!(nlp->typ&040) || January 30, 1977 There is a binary for ex1.1 in this directory (a.out) which can be "installed" if you have a full load of user core and an 11/45 or 11/70. If you have an 11/34 or 11/40 with 64K bytes of user space, you can "mv a.outNOID a.out" and then "install". If you prefer an ex without open and visual modes (for whatever reason) choose between "a.outNOVISUAL" and "a.outNOVISNOID". If you have a Berkeley type system (with full word significant user id's) then you should use the "patchd" program in this directory on the binaries you wish to use. This is just a db "!" patch, but db doesn't work on separate i/d programs. Thus a typical installation, using just "a.out", on a standard UNIX system would be: sh install or to install the smallest ex here on an 11/34 or 11/40 mv a.outNOVISNOID a.out sh install This process will give you a basic editor (without any of its data bases) which you can try. Other files (other than /usr/bin/ex and /usr/bin/edit): The editor keeps its error messages in a file.  This file is "/usr/lib/ex1.1strings", and must be present or all errors will be diagnosed as "ERROR". The data base for the editor "help" command lives in "/usr/lib/how_ex" (a directory)... the files in how_ex go there. The programs "expreserve" and "exrecover" (from ../exrecover) should be setuserid root and go in /usr/lib. There should be a directory /usr/preserve owned by root, mode 755 for use by these programs. If you clean out /tmp in /etc/rc there should be a line /usr/lib/expreserve -a before you do this. This editor needs a number of hooks into the rest of the system to get information about teletype types. The changes needed in the system at large to support this are described in the file SETUP. The editor uses the data base "/etc/ttycap" to discern capabilities of terminals, mapping a two character code it gleaned from the "htmp" data base (described below) to the characteristics of that terminal. You can add new terminals to /etc/ttycap quite easily... look at ../s6/ttycap.5. Adding a cursor addressible terminal requires an editor recompilation if you want to use the cursor addressing. Only a straightforward change to ex_ca.c is necessary. There is a system data base "/etc/ttytype" which maps terminals to 2 character type codes... see ../s6/ttytype.5. Look at ../etc/ttytype for a sample of this data base... you should change this file to correspond to your system. You can add new types as necessary to "/etc/ttycap" in this process or simply leave some terminals "unknown" for now. The editor uses a data base "/etc/htmp" to determine a user's home directory and his terminal type. This is necessary for terminal types to handle dial-ups and for home directories to allow them to be changed and to avoid password file searches on systems with large password files. The best way to implement the maintenance of "/etc/htmp" is to have the "login" program maintain it. There is a set of routines in ../s7 (libX.a) which make this trivial. The "htmp" routines can be used to access htmp, the "typeof" routines to extract types from /etc/ttytype. If you don't have "login" do this, you will have to do it by hand every time you login, or the editor may have the wrong terminal type and will not be able to find your start_up file. A login and an su program changed to handle the maintenance of "htmp" are given in ../s1. If you need to recompile: This directory contains all of the source for "ex" version 1.1. To recompile the editor you will need a version 7 C compiler as well as the following non-standard programs: mkstr create string message file lnall link a number of files to a directory in one blow mvall move all of a number of files rmtree remove a hierarchical subtree cxref a shell script giving a list of routine defn points All of these programs are on this tape (except the C compiler) and of the others, only mkstr is truly essential. (Recompilation should not be necessary unless you wish to change the editor or have a Version 7 UNIX system.) System dependencies: The only major problems here are the format of "/etc/utmp", the form of teletype names, and the meaning of user/group id's. Several of the programs in ../s6, notably "ttytype" and "sethome", assume that "utmp" is accessed as a array indexed by the letter of the terminal in use, treated as a number. Other systems have slots arranged '0', '1', ... '9', 'A', ... . If you have the latter format you'll have to change these programs. If you treat a user/id as being significant in all 16 bits returned from "getuid()" in determining if two people are the same person (i.e. if you have "newgrp") then should use the program "patchd" to change the initial value of "mask" to be 0177777, i.e.: patchd _mask 177777 a.out This is trivial, but essential. Note that you must also change the source for the ttytype and sethome programs to not mask off these bits and recompile (or use patchd) Finally the editor (and all other programs here) assume ttynames of the form "/dev/ttyx" with x a single letter. If you are having system related problems or have questions please feel free to give me a call. Other, less serious, dependencies are: 1. This editor assumes that you have a restricted, 512 byte argument list. If your system gives larger lists that is no problem, but the "next" command will allow at most 512 character lists on subsequent matchings. 2. The major and minor device numbers of /dev/null and /dev/tty are used and are given in ex_io.h. Also the system error codes are mapped from magic numbers to names here. If your system has additional codes these numbers will have to be extended and new cases will have to be added to the switch on page 6 of ex_io.c. 3. To add a cursor addressible terminal in this version, you must recompile. A simple change is required to the routines in "ex_ca.c", with a return code of 1 being supplied for the new known type, and a string doing the addressing being returned from cgoto. This information should be put in /etc/ttycap, but I haven't seen enough terminals to know a good encoding. 4. This version of the editor needs a printf which prints through putchar. Such a printf exists in printf.s in this directory. 5. The read routine rop in exr.c knows about special binary files. Thus if you have any more binary files with different magic numbers it makes sense to add them here so the editor will give better diagnostics. I would like to hear of other dependencies/problems you encounter. Scripts: The following scripts are in this directory of general interest makeex make a new binary and string file comp recompile and load one or more files install put new ex in /usr/bin... you may want to change the path names The shell used for these scripts is in the directory ../ashell, with documentation in ../s6/sh.6. If you comment out the "set" commands or make a dummy set command which does nothing then any other shell should do fine. Note also that the scripts making ex use a "version" shell script which uses ex. If you have no ex, the script will fail in a safe way. In order for the option setting for "edit" to work either the second or third character of its name must be a 'd'. Thus "edit" and "nedit" are fine. This is naive, but easy to change... look at the first few lines of ex.c. To complete the installation of ex you must also install exrecover and expreserve see the directory ../exrecover. I would appreciate hearing of any problems you have with the editor or of any improvements you make. One thing which would be nice to have is the ability to drive terminals with more intelligent operations such as add or delete a line on the screen or insert characters pushing them to the right. I havent done this because we have only 2 such terminals both of which are hard-wired at 9600 baud (and private terminals). The changes needed to do this are almost all localized in the routine "ex_vadjust.c". Bill Joy CS Division Department of EE and CS UC Berkeley Berkeley, California 94704 (415) 524-4510 [HOME] (415) 642-4948 [SCHOOL] rminals with more intelligent operations such as October 12, 1977 The editor uses the following data bases: /etc/ttytype gives teletype types of hardwire ports /etc/ttycap gives capabilities of teletypes /etc/htmp gives home directories and teletype types The implications of the absence of these are as follows: /etc/ttycap Editor will think all terminals are model 33 teletypes, essentially, as they will be "unknown." You'll have no way of specifying the capabilities of your terminal. /etc/ttytype You will have to tell the editor the type of the terminal you are on every time you log in, unless you trust that the way the last user of your port set your terminal type is correct. /etc/htmp Editor start-up files cannot work; you won't be able to specify your terminal type once per login... you have to do it each time you enter the editor. These data bases are maintained and used in the following ways: HTMP data base: The file /etc/htmp contains a structure described by htmp (V). It contains, for each user, his "home" directory, normally the login directory, his user-id, and the type of terminal he is on. The home directory is here because on large systems searching the password file is unreasonably slow. Its presence in this data base also allows it to be changed. The tty type information is necessary here because users who dial in on a dialup port need to be able to specify it. TTYTYPE data base: The file /etc/ttytype is organized similarly to /etc/ttys and maps tty names to 2 character codes. This data base is used both by the editor and by the program "tset", and can be used by other programs. TTYCAP data base: The file /etc/ttycap allows programs to map a terminal's type code to its characteristics. This allows addition of new terminals to the system without changing any existing programs - only the data base needs to be updated. (Note that currently cursor addressing information is not recorded here requiring changes to the editor to add new such terminals.) The following utility programs are included with the editor: SETHOME Set the home directory entry in /etc/htmp. TTYTYPE Set the teletype type entry in /etc/htmp. The following changes to support the editor are suggested: LOGIN So that naive users may login on dial up ports and have their home directory and terminal-type set to reasonable values at initialization without any action on their part, the program login should be changed to write the initial entry in /etc/htmp. The work involved is in getting the terminal type from the file /etc/ttytype and writing it into /etc/htmp. The overhead should be negligible, especially since the operations of reading /etc/passwd and looking for mail in /usr/mail are typically much more expensive. This change is simple to make, just calling some of the routines in the supplied library htmp (V) .. SU So that the home directory will be correct after a su command, the command should be changed to save and restore this entry in /etc/htmp before and after the su. This is similar to the saving and restoring of the utmp user byte entry to allow who to print out the name of the person one is su'd to. (This latter change has been made at Berkeley.) For more information on formats and programs see the following documents Section V: htmp, ttycap, ttytype Section VI: sethome, ttytype Section VII: htmp, typeof, ttycap Bill Joy CS Division Department of EE and CS UC Berkeley Berkeley, California 94704 (415) 524-4510 [home] (415) 642-4948 [school] ving and restoring of the utmp user byte entry to allow who to print out the name of the person one is su'd to. (This latter change has been made at Berkeley.) For more information on formats and programs see the following documents Section V: htmp, ttycap, ttytype Section VI: sethome, ttytype Section VII: htmp, typeof, ttycap Bill Joy CS Division Department of EE and CS UC Berkeley Berkeley, California 94704 (415) 524-4510 Ex will start much faster if it doesn't have to do a "ttyn". This can be (essentially) eliminated by using the program "makeTtyn" to generate a "Ttyn" which hashes major and minor device number. All you have to do then is change the (one) ttyn call in ex_init.c to call "Ttyn". The startup speed change can be striking. on VI: sethome, ttytype Section VII: htmp, typeof, ttycap Bill Joy CS Division Department of EE and CS UC Berkeley Berkeley, California 94704 (415) 524-4510 November 9, 1977 KNOWN SYSTEM DEPENDENCIES / MAGIC NAMES IN EX-1.1 Globally: 1. Needs a printf which prints through putchar. 2. Wants the data bases described in SETUP. 3. Needs a large amount of core; separate i/d preferred. 4. Needs a version 7 C compiler. 5. Assumes (in the library routines and the way it deals with ttyn e.g. for the visualmessage option) that teletype names are single characters, and that /etc/utmp is indexed by this character. (More on this below.) --------------------------------------------- In the HEADERS: ex.h Defines ECHO and RAW for stty. Defines TTYNAM which is initialized in ex_tty.c and there assumes that single char teletype names are used. Note that ex does not catch the TERMINATE signal of version 7 UNIX... it should be defined here. ex_glob.h The definitions here limit the argument list size possible with the next command. This does not limit the size of entry argument list however... if invoked with a longer list that is ok (although it has never been tested of course!) ex_io.h The basic stat buffer structure is assumed here. Also the error codes for errno from system error returns on i/o are defined here... if you have more error codes you should add them... ex does not use "perror" because this way puts the messages in the string message file saving space. ex_vis.h The definitions of TUBELINES, TUBECOLS, and TUBESIZE here limit the kinds of terminals on which open and visual are possible. The areas are allocated, with fixed size, on the stack at entry to the routines in exo.c and exv.c. Variable sized screens would be possible if you added an assembly language intermediary here, or you can make these numbers larger, at the expense of allocating these larger buffers on terminals with small screens. --- CODE files: ex.c /erpath =+ 9/ Assumes that the error path contains a prefix like "/usr/lib" so that adding 9 bytes will give the last portion of the error file name for testing "a.out". /== 'd'/ Here derive the properties of "edit". /signal/ New caught signals should be added here, notably the signal TERMINATE for a version 7 system. ex_ca.c To add a cursor addressible terminal you must add it to the routine canCA and change cgoto to return a string. All terminals which are to be added must have their properties recorded in /etc/ttycap. ex_glob.c This glob routine supports constructs in all portions of path names, e.g. "/*/bill/a.out"; it also interprets trailing slashes as forcing a directory match - eg "*/" matches all subdirectory names. This corresponds to the glob which is glob2.c in ../s6 and also the glob built into ../ashell. ex_tty.c This routine assumes the version 6 structure of teletype names in its handling of TTYNAM. This can be easily changed by forming the value of TTYNAM in a slightly different way. ex_io.c The routine ioerror embodies the strings from "perror" which are related to input/output. These should be added to or changed as appropriate to your system. Perror is not used because it is desired to have the error messages in the string message file (this saves ~~ 200 bytes per editor user in the swap image.) ex_put.c Note the routine "setcol" which fixes UNIX's notion of the tab column position after a cursor addressing sequence on an ADM-3A. This is hard, in general. If you wish to perform a similar fix for your terminals this is the place to do it. ex_recover.c The routines here assume that you have installed the exrecover and expreserve routines from ../exrecover, and that when the system crashes you run expreserve in /etc/rc to save the stuff from /tmp so that people can continue where they left off. If this is not true, no harm is done... as long as you don't ever crash! ex_set.c Note that the default directory and shell are initialized here. ex_tty.c Here the capabilities of the terminal which interest us are extracted. These are used by the print routines in ex_put.c, and more exten- sively by the visual and open mode routines. Currently, we are running visual on ADM-3A's (its native terminal) and also on HP2645's. For the latter, the editor makes use only of the clear to end-of-line operation. I have not put in the use of the add and delete line operations (although they are read here into AL and DL). If you have a number of intelligent terminals you may wish to try to add the intelligent terminal driving to visual... it is not hard. I have not done it since we have only 2 HP2645's and both are at 9600 baud where it matters little if it knows about the intelligence. The routines most likely to be changed in such an addition are all in the file ex_vadjust.c... they are mentioned below. ex_unix.c It is here assumed that the shell understands the option "-c", and also the option "-i" to give a login type shell. Both of the shells from Berkeley, and also the Version 7 shell from Bell have this property. Note also that substituted file names are given high-order bits set so that glob will not be a nuisance... it is better of course not to edit files with funny names. ex_vadjust.c This is where the work is required to add the AL (add line) and DL (delete line) capabilities of the terminal to open and visual. Likely candidates for change are the routines "vopen", "vsync", and "vredraw"... with these capabilities you may well want to always use "vredraw"... "vsync" is the routine which leaves the dirty "@" lines on the screen. If you do any work here I would like to hear of it as I am not planning to do this but would like to have working code for it. ex_vcurs.c Note that the routine "vputchar" assumes that you can simply overwrite and have no trouble (that overstrking an "a" with a "b" works leaving a "b"). If you have terminals where this is not true (i.e. that have OS) you can send a blank to clear the position first... rumor has it that there are some ITT beasts of this flavor (at UCLA?). exr.c Sensibility detection by decoding the flags bit of a stat buffer an by looking at the magic numbers of PLAIN files should be changed to reflect the kinds of stuff you have in your file system. exw.c Note the explicit checks for /dev/tty and /dev/null by major and minor device number here. -------------------------------------------------- I would be glad to learn of any other problems you have or changes you make to ex. I will be glad to answer questions by mail or phone, and would be glad to know of any fixes and changes. Bill Joy CS Division Department of EE and CS UC Berkeley Berkeley, California 94704 (415) 524-4510 [home] (415) 642-4948 [school] w.c Note the explicit checks for /dev/tty and /dev/null by major and minor device number here. ------------------------------------------eÿREAD_ME34n¤�kNovember 17, 1977 To have a fully functioning recovery mechanism you should place a command of the form /usr/lib/expreserve -a in /etc/rc if you clean out the directory /tmp there. For full security, exrecover and expreserve should be setuid root and the directory /usr/preserve should be mode 700. If you don't need or want this, change "install" and "setup". cleanup35ní�#rm *.h *.o rm expreserve exrecover fexpreserve.c5+ù¤‘&#define FNSIZE 64 /* * Expreserve - preserve a file in /usr/preserve * Bill Joy UCB November 13, 1977 * * This routine is very naive - it doesn't remove anything from * /usr/preserve... this may mean that we will be unable to preserve * stuff there... the danger in doing anything with /usr/preserve * is that the clock may be screwed up and we may get confused. * * We are called in two ways - first from the editor with no argumentss * and the standard input open on the temp file. Second with an argument * to preserve the entire contents of /tmp (root only). */ struct stbuff { char major, minor; int inumber; int flags; char nlinks; char uid, gid; char size0; int size1; int addr[8]; long actime, modtime; } stbuff; int mask 0377; main(argc, argv) int argc; char *argv[]; { int tf; struct { int inum; char name[16]; } dirent; char name[30]; if (argc == 1) { if (copyout(0)) exit(1); exit(0); } if (getuid() & mask) { write(2, "NOT super user\n", 15); exit(1); } if (chdir("/tmp") < 0) { perror("/tmp"); exit(1); } tf = open(".", 0); if (tf < 0) { perror("/tmp"); exit(1); } dirent.name[14] = 0; while(read(tf, &dirent, sizeof dirent - 2) == sizeof dirent - 2) { if (dirent.inum == 0) continue; #define eq(a, b) strcmp(a, b) == 0 if (eq(dirent.name, ".")) continue; if (eq(dirent.name, "..")) continue; if (eq(dirent.name, ".q")) continue; if (stat(dirent.name, &stbuff)) continue; if ((stbuff.flags & 060000) != 0) continue; if (dirent.name[0] != 'E' || dirent.name[1] != 'x') continue; copyout(dirent.name); } exit(0); } char pattern[] "/usr/preserve/Exaa`XXXXX"; copyout(name) char *name; { int i; static char reenter; char buf[512]; struct header { int Atime[2]; int Auid; int Alines; int Afname[FNSIZE]; int Ablocks[100]; } header; char *cp; if (reenter == 0) { mkdigits(pattern); reenter++; } if (name != 0) { close(0); if (open(name, 2) < 0) return (-1); } seek(0, 0, 0); if (read(0, &header, sizeof header) != sizeof header) { format: if (name == 0) write(2, "Buffer format error\n", 20); return (-1); } if (header.Alines < 0) goto format; if (header.Ablocks[0] != 1 || header.Ablocks[1] != 2) goto format; if (name == 0 && header.Auid != (getuid() & mask)) goto format; if (seek(0, 0, 0)) goto format; if (header.Afname[0] == 0) { strcpy(header.Afname, "LOST"); write(0, &header, sizeof header); header.Afname[0] = 0; seek(0, 0, 0); } mknext(pattern); close(1); if (creat(pattern, 0600) < 0) { if (name == 0) perror(pattern); return (1); } chown(pattern, header.Auid); for (;;) { i = read(0, buf, 512); if (i < 0) { if (name) perror("Buffer read error"); unlink(cp); return (-1); } if (i == 0) { if (name) { unlink(name); notify(header.Auid, header.Afname); } return (0); } if (write(1, buf, i) != i) { if (name == 0) perror(pattern); unlink(cp); return (-1); } } } strcpy(to, from) char *to, *from; { while (*to++ = *from++) continue; } strcmp(a, b) register char *a, *b; { while (*a && *b && *a == *b) a++, b++; if (*a == 0 && *b == 0) return (0); return (*a - *b); } mkdigits(cp) char *cp; { register int i, j; for (i = getpid(), j = 5, cp =+ strlen(cp); j > 0; i =/ 10, j--) *--cp = i % 10 | '0'; } mknext(cp) char *cp; { char *dcp; int spbuf[18]; dcp = cp + strlen(cp) - 1; while (digit(*dcp)) dcp--; whoops: if (dcp[0] == 'z') { dcp[0] = 'a'; if (dcp[-1] == 'z') { dcp[-1] = 'a'; if (dcp[-2] == 'z') write(2, "Can't find a name\n", 17); dcp[-2]++; } else dcp[-1]++; } else dcp[0]++; if (stat(cp, spbuf) == 0) goto whoops; } digit(c) char c; { return (c >= '0' && c <= '9'); } notify(nuid, nfname) int nuid; char *nfname; { register char *cp; char pwbuf[512]; int pid, pvec[2]; extern int fout; if (getpw(nuid, pwbuf) < 0) return; if (pipe(pvec) < 0) return; for (cp = pwbuf; *cp && *cp != ':'; cp++) continue; *cp = 0; pid = fork(); if (pid < 0) return; if (pid == 0) { close(0); close(pvec[1]); dup(pvec[0]); close(pvec[0]); close(1); dup(2); execl("/bin/mail", "mail", pwbuf, 0); execl("/usr/bin/mail", "mail", pwbuf, 0); while (read(0, &pwbuf, 512) > 0) continue; exit(1); } close(pvec[0]); fout = pvec[1]; if (nfname[0] == 0) printf( "A copy of an editor buffer of yours was saved when the system went down.\n\ No name was associated with this buffer so it has been named \"LOST\".\n" ); else printf( "A copy of an editor buffer of your file \"%s\"\n\ was saved when the system went down.\n", nfname); printf( "This buffer can be retrieved using the \"recover\" command of the editor.\n\ For more information enter the editor (edit or ex) and type \"help recover\".\n" ); flush(); close(pvec[1]); wait(); } exrecover.c5oø¤‘-#include "ex.h" #include "ex_io.h" /* * Ex recovery program - "exrecover dir name" * Bill Joy UCB October 1977 * * This program searches through the specified directory and then * the directory /usr/preserve looking for an instance of the specified * file from a crashed editor or a crashed system. * If this file is found, it is unscrambled and written to * the standard output. * This program normally lives in /usr/lib/exrecover, and is invoked * by the ex "recover" command. * If this program terminates without a "broken pipe" diagnostic * (i.e. the editor doesn't die right away) then the buffer we are * writing from is removed when we finish. This is potentially a mistake * as there is not enough handshaking to guarantee that the file has actually * been recovered, but should suffice for most cases. */ char nabuf[100]; extern int iblock, oblock; int mask 0377; main(argc, argv) int argc; char *argv[]; { char *cp; extern int tfile, fout; int b, i; fout = 2; fendcore = sbrk(0); dot = zero = dol = fendcore; one = zero + 1; endcore = fendcore - 2; iblock = oblock = -1; if (argc != 3) error(" Wrong number of arguments to exrecover"); strcpy(file, argv[2]); findtmp(argv[1]); cp = ctime(header.Atime); cp[19] = 0; fout = 2; printf(" [Dated: %s]", cp); header.Alines++; if (sbrk(header.Alines * 2) == -1) error(" Not enough core for lines"); for (b = 0; header.Alines > 0; b++, header.Alines =- 256) { seek(tfile, blocks[b], 3); i = header.Alines < 256 ? header.Alines * 2 : 512; if (read(tfile, dot, i) != i) ioerror(); dot =+ i / 2; } dot--; dol = dot; scrapbad(); if (dol > zero) { addr1 = one; addr2 = dol; io = 1; putfile(); } unlink(nabuf); exit(0); } error(str, inf) char *str; { printf(str, inf); putchar('\n'); exit(1); } /* * Routines to keep ex_io.c happy */ struct varbl varbls[1]; /* sham */ strcpy(to, from) char *to, *from; { register char *ato; ato = to; while (*to++ = *from++) continue; return (ato); } strcat(after, what) char *after, *what; { register char *both; both = after; while (*after) after++; strcpy(after, what); return (both); } lprintf(a1, a2, a3) { printf(a1, a2, a3); } change() { /* more sham */ } strcmp(cp, dp) char *cp, *dp; { while (*cp && *dp && *cp == *dp) cp++, dp++; return (*cp - *dp); } findtmp(dir) char *dir; { if (searchdir(dir)) return; if (searchdir("/usr/preserve")) return; error(" File not found"); } searchdir(dirname) char *dirname; { struct dirent { int ino; char xxxx[14]; } dirent0; struct { int ino; char name[16]; } dirent; int dir; dir = open(dirname, 0); if (dir < 0) return (0); while (read(dir, &dirent, sizeof dirent0) == sizeof dirent0) { if (dirent.ino == 0) continue; if (dirent.name[0] != 'E') continue; strcpy(nabuf, dirname); strcat(nabuf, "/"); strcat(nabuf, dirent.name); if (yeah(nabuf)) { close(dir); return (1); } } close(dir); return (0); } yeah(name) char *name; { extern int tfile; tfile = open(name, 2); if (tfile < 0) return (0); if (read(tfile, &header, sizeof header) != sizeof header) { nope: close(tfile); return (0); } if (!eq(savedfile, file)) goto nope; if ((getuid() & mask) != header.Auid) goto nope; seek(tfile, 504, 0); write(tfile, "LOST", 5); return (1); } putnl() { putchar('\n'); } char TTYNAM[20]; preserve() { } strend(cp) char *cp; { while (*cp) cp++; return (cp); } scrapbad() { register int *ip; char *jp; struct stb stbuf; long size; int bno, cnt, bad, was; char bk[512], *maxt; static char header; extern int fout; fout = 2; fstat(tfile, &stbuf); size = stbuf.size0 & 0377; size =<< 16; size =| stbuf.size1; maxt = (size >> 2) | 7; bno = (maxt >> 7) & 0777; /* printf("size %ld, maxt %o, bno %d\n", size, maxt, bno); */ while (bno > 0) { seek(tfile, bno, 3); cnt = read(tfile, bk, 512); while (cnt > 0) if (bk[--cnt] == 0) goto null; bno--; } null: maxt = ((bno << 7) | (cnt >> 2)) & 0177776; /* printf("bno %d, cnt %d, maxt %o\n", bno, cnt, maxt); */ was = bad = 0; for (ip = one; ip <= dol; ip++) if (*ip > maxt) { /* printf("%d bad, %o > %o\n", ip - zero, *ip, maxt); */ if (was == 0) was = ip - zero; *ip = 0176; } else if (was) { if (bad == 0) printf(" [Lost line(s):"); printf(" %d", was); if ((ip - 1) - zero > was) printf("-%d", (ip - 1) - zero); bad++; was = 0; } if (was != 0) { if (bad == 0) printf(" [Lost line(s):"); printf(" %d", was); if (dol - zero != was) printf("-%d", dol - zero); bad++; } if (bad) putchar(']'); } pinstall34ní�âcp exrecover /usr/lib chown root /usr/lib/exrecover chmod 4711 /usr/lib/exrecover echo New exrecover installed cp expreserve /usr/lib chown root /usr/lib/expreserve chmod 4711 /usr/lib/expreserve echo New expreserve installed makepreserve35ní�^cc expreserve.c -o expreserve echo \"install\" when you have a \"preserve\" and a \"recover\" makerecover5öùí�/chdir ../ex-1.1 cc -c -O ex_io.c ex_pack.c mvall ex_io.o ex_pack.o ../exrecover chdir ../exrecover cpall ../ex-1.1/ex.h ../ex-1.1/ex_io.h ../ex-1.1/ex_vars.h . cc -O exrecover.c ex_io.o ex_pack.o -o exrecover rm ex*.h rm ex_io.o ex_pack.o echo \"install\" when you have a \"recover\" and a \"preserve\" zsetup5ˆûí�÷rm *.h mkdir /usr/preserve chmod 700 /usr/preserve : quot /usr/preserve 1000 chown root /usr/preserve echo Put a command \"/usr/lib/expreserve -a\" in /etc/rc if you clean /tmp there. echo You are now ready to \"makepreserve\" and \"makerecover\" cexpreserve59ûí‘” l> ð€&Ð 6÷ ß : ‰w ˜ _Hõ%  ß PÀ Îß :  ß : ÷  À=À Îæ$ æß  –%Îß : Î4 ß ô À Î9 ß ¸Îß :  æ> ß \ Ö 5øÿõ øÿÎ@ ß ¸Îß : 5ŠöÿÎfÎeæÿføÿß ˜ –%À%=õ æÿðÎE fÎeèÿß VÖ À æÎG fÎeèÿß VÖ À ÜÎJ fÎeèÿß VÖ À ÒÎtfÎeèÿß Ø Ö À È÷5`XÄõ¥EèÿÀõ¥xéÿ¼NÎeèÿß P¶ ß : wx Æå2_ w ` _*÷‹@Î ß �·Š2õ  ß . Îfß \ Ö À Àÿÿ_& & & ß º –%ÎPfÎe¨ü& ß ˜ –%À%Põ  ÎæM æß  –%Àÿÿ_&õ ®üíõ%0ýéõ%2ýåõ  ÷ ^ Á A @@@-¬üÙ & & ß º –%À Ñõ °üÎb fÎe°üß 2Ö ÎPfÎe¨ü& ß  –%5 °ü & & ß º –%Î ß ÚÎß . ΀æ ß D Ö À õ Î ß ¸ÀSN¬üæ ß  Ö ÎfÎeøý& ß ˜ –%5øÿõ øÿõ Îg ß ¸N¦üß Þ Àÿÿ0õ øÿõ  Nß Þ NÎe°üf¬üß ¤Ö NøÿfÎeøýæß  –%@-øÿõ Î ß ¸N¦üß Þ Àÿÿ´w– ÆåT_Xw ~ @µ Aµ H’õôwl ñw Z DC̋ˋ̢„ ƒ ÷̋ˋ “Á’@àw2 êw !÷ 4 ÃNß *5`à õ À r ÁU0@=�À r à ìwèÞw ÖLNß *@mÀ 5øÿ@Ÿøÿß ~À õ øÿöý¥zøÿ'ý•aøÿ@øÿð¥zÿÿ@øÿð•aÿÿ@øÿð¥zþÿ Îæy æß  –%@øÿ°Šþÿ@øÿ°Šÿÿ½ŠøÿNÎeÔÿfß Ø Ö À ÉwHÆå&±w 2õ¥0õ¥9 Àwðw _ÊNÎeúýfß ÒÖ À _ÆNÎeôýß z À _ÆDÄeúý̥̋:„ ø Š÷  5øýõ øýeõ øý@ ß . Nöýß . Nôýß b Nôýß . Îß . Îß b  fÎeúýæ– æŒ ß v Æe fÎeúýæ© æ› ß v ÆeÎfÎeúý& ß ˜ –%À ôóÎß : Nôýß . wöý ý‹Î® ß BNæ=ß BÖ Î�ß B÷ øNöýß . ÷ 2wöÆå_¬w ÞÆå÷ À  æ&ß \ Ö 7® ÷ ª Àw & æ˜ ß º –%õŽ ôý5 öý5 øýBà éÒ�NÎeôýß  Ã% ôŠBÄÄ ƒ”Ã%:úà úу”Ã%:Ã%0ùÃ%9öWp DÄ`ÄeÐÿî5 òýÃ%0 Ã%9 AòýWp Á`ÁeÐÿuòýƒ”Ã%:í@òýtQ@-³ ¡w øÄ2÷-V Ò ÀÌ À ÖNß *Îfæß  –%Îæ@æß  –%ß *&æß  –%ÎæCæß  –%w–w †DÔ‹þ@íÀ w~w nÆå~wR DÄeÀŸH · B  %ß „ ôwN7 . 7 . ׯ$ -·  ·  ÷¸w 7   .÷¦w ƒÃeÁFBÚ üJ Ó•-ÀŸÚ · Ö  o^ xU d÷ À ÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁ>  ŠŒÒ‹ƒ D~C Â~ „v÷  Ó•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡ÀÊ ÂÄ ÷ ” À¼ ¶ ÷ †7¦ wVþ‚Âeƒà&æ Ä ÃmŠ ÷ ˆ ß „ Ã~Ä Ž”ß „ à Î ß „ Ã~Ö „wþ7 \  ÀŸR · N Àå0 úÿ ‚· : Wp `ìÀe0ƒÄeÓ•?‡f…À" ÷ ,À P�·  ÷  ÷ @…‡f…÷ …‡Àì Àå°7ÊÀÚ€ ‰’÷°Ð÷È×-‚÷º‡f…wœ‰˜†wð …‡f…w†w‚‰œ†wÐ …‡f…@‰†wº …‡f…wVwR‰¢†wš…‡f…@)‰†w†…‡f…w*@Àe7"‰¨wff…‰†wX7 …‡f…wü‰®J‡A …‡7 Ìf…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7~1@‰´‡À �1‡w¦f…‰…‡f…wVwR‰º†w‚…‡f…*‰†wr¦BJ ‚…‡f…@ww‰À†wB…‡f…@wwü‰Æ†w  …‡f…wæ‰Ì†w …‡f…÷ H&‰†Ö wìÖ }…‡f…@w¬w¨‰Ð†wÂ…‡f…÷ Ä@‰fA… w,üÿÀw"þÀe"w"ôÀew"ê@lw"âAlÁeæw¬Õ &@Àtùÿ`Áe€Ø€ …‡@…&æ¦È B„ƒ‚F…‡f…‰…‡f…wŽwЉn†w …‡7œÀÿÿF…‡‡ÿ/usr/preserve/Exaa`XXXXXNOT super user /tmp/tmp./tmp....qBuffer format error LOSTBuffer read errorCan't find a name /bin/mailmail/usr/bin/mailmailA copy of an editor buffer of yours was saved when the system went down. No name was associated with this buffer so it has been named "LOST". A copy of an editor buffer of your file "%s" was saved when the system went down. This buffer can be retrieved using the "recover" command of the editor. For more information enter the editor (edit or ex) and type "help recover". /etc/passwdUnknown error: ¸d’o†xÚfèeXcfsÄläuörDŽO‚Xüÿðÿðýÿøÿà(null)‰° ‰‰‰ ‰‰‰‰‰‰ ‰‰$3M]u™«½ÍÙëû ,>J\k{Š›¯ÃÔãò -<H"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceededß Ö –%Æew”íÿ‰crt0.ostartexpreser~mainargcargvtføÿdirentæÿnameÈÿ~copyoutPnameiøÿreenterœbuføýheader¨ücp¦ü~strcpy2tofrom~strcmpVab~mkdigit�cpij~mknextÚcpdcpøÿspbufÔÿ~digit~c~notify¤nuidnfnamecppwbufúýpidøýpvecôýgetpw.oÒ~getpwÒbufuidpwfžcmòýnpbufôýbpperror.o¸~perror¸cns~strlen*sstrprintf.oBformp¢loopVrjust¤ndigit¨gnumF width ndfnd¦swtabFdecimal¸octal’hex†floatÚscienècharacXstringflongorunÄunsignedäremoteölongloctŽlhex‚prbuf nulstrŠprstr ffltpr.oz putchr.o„ fl¾ chdir.oô chown.o close.o. creat.oD dup.ob dup)execl.ov fork.o’ getc.oª indirbadretN fill. getuid.oR open.o\ pipe.oz pipe*read.o˜ seek.oº unlink.oÞ wait.oø write.o errlst.o: exit.o: nargs.oH jsrsd\tsti`cmpibaddidjmpihbrilcsv.o´ getpid.oÎ getpidstat.oØ cerror.oø cleanup. savr5$š_exit": _main"_stbuff$t_mask# csv"´ _copyout"P_getuid"R _write" _chdir"ô _perror"¸_open"\ _read"˜ _strcmp"V_stat"Ø cret"À _pattern# _mkdigit"�_close". _seek"º _strcpy"2_mknext"Ú_creat"D _chown" _unlink"Þ _notify"¤_getpid"Î _strlen"*_digit"~_getpw"Ò_pipe"z _fork"’ _dup"b _execl"v _fout$ª_printf"B_flush"² _wait"ø _getc" _errno$˜_sys_ner#_sys_err#Öpfloat"z pscien"z _putchar"„ cerror"ø _par_uid$°_getw"È _fopen"ª _nargs"H __cleanu" exrecover5­úí‘+Zpª4 ð€&Ð 6÷ ß „‰w ®Æå÷0* ß Æ7F7<7272À*Àe7$À*Àeüÿ7 Àÿÿ7†"7„"õ%Î\ß €@ææß ¦Ö @ß BÎú ß ²5øÿ0Š÷²)Nøÿæ„ß xÖ · J ÀF À ß ÆÀ%ÿÿÎ‘ß €5 öÿ2Î@öÿÀ &‚!æß –%÷% À À À5ôÿæbæòß ¤–%@-ôÿ÷ ¸ AôÿÀ rÀ 7`>µ öÿ÷åÆ÷ ÂË÷å(÷$$÷ n÷- †÷÷÷÷ „Î~"ß H ß „wVw FNfß xÖ Î ß ºÎß „w0w D@µ Aµ H’öww þDµ ý‹ûNfß ¦Ö wæw ÖNffß x–%wÌw ¼wÄw ´ ý‹ }¯µ µ ý‹ò@ŸAŸ@àw”w „Nß jÀ Î¬ß jÀ 뼧 €wlw \Æå$ fß †Ö 5Öÿ- )õ Øÿ(õ¥EÚÿ$Næ~"ß ¦Ö ÎÊæ~"ß ÈÖ NÎeÚÿæ~"ß ÈÖ Î~"ß À NÖÿß *ÀwøÎfÎeØÿfÖÿß ¤–%À%ÈNÖÿß *Áw ÄÎfß †Ö 7ê 6Îàß *ùÎPæú æÎß ¤–%À%PïÎææ!ß Ö À æ÷ &ÁA @@À-œÝ æøæ”ß –%ÎæÌæ‚ß b–%ÀwHw 8Î ß ºw8w (w0w µ ý‹û@ww Æå4÷Š&NÎeÔÿæ,ß ^Ö @�ÝÿÀEÿ5Òÿõ Ðÿ@Ðÿv5ÐÿuÒÿAÞÿÀ 5PÐÿuPÒÿAÒÿ@ÐÿvþÿÁUuÆý@tùÿÀEþ5Îÿ#ÎfÎÿæÆß –%ÎfÎeÈýæ²ß ¤–%5Ìÿõ Ìÿ@Ìÿ@að‹Èýõ Ìÿõõ Îÿõ ÎÿÚ@ÎÿtAÌÿWtþÿ@PÀE5Æý 5Êÿ5ÈÿÄÈDL-Æý†õ Èÿ Áí²@€ r5ÈÿÌ~0õ Èÿ-õ ÊÿÎÑß xNÈÿæáß xÖ ÁeþÿÁít@€ r@-ÈÿÁeþÿÁí\@€ ræåß xÖ µ Êÿ5 ÈÿÄeÄ->¹†õ Èÿ)õ ÊÿÎéß xNÈÿæùß xÖ ÁÁí @€ r@-ÈÿÁÁíö@€ ræýß xÖ µ Êÿõ ÊÿÎ]ß ºw8w (Æå(÷ *ÎTß *÷€: ÷Ä÷À÷ÿÿ¼7 |÷ÿÿ÷ÿÿÎ*æ*ß ¦Ö NÎeÖÿæ*ß îÖ À õ|ÔÿÎ*æ@ß ðÖ ÷ Ô 5ŠÒÿ÷ v õ‹ÒÿwÔÿTµŠÒÿ÷ ¨Îß „@ÚÿÀEÿŸÀ%@÷0×7ŠšÎæ*ß ÈÖ Î*ß ¦Ã÷ rà ΀æ*ß @Ö 7x¸÷•˜#ß *Îæ*ß †Ö 7X¨ÎÆß îw�À r ÁU0@$�à �À r Ïw ò÷‹N#Î*ß H7Š@#wèw Ø÷ ê÷ ¢üÀ ÷ ÐÿÎß „wÆw ¶7 Ø7 Ø7 Ö7 Ü7 Ð7 Î7 Ì7 Êwžw ŽÎBß *÷ÿÿ8÷ ö_0÷ – æ˜æ’æšæM÷ Æe÷ |×-xÎqÎræfæ`æh÷ ¸Ö &æ\æUß xÆe ÷ D ÷ @÷ <÷ 82Îtß x÷ $÷ æææw÷ ŒÆe÷ ÷ Î€ß x÷ ô÷ ð æêæäæƒ÷ XÆeÎ)ß º÷ ^û÷ Ä ÷ À ÷ ¼÷ ¸ wˆ Àûw r õ%À�wn ÀŽûw X ÆåCÃeúý fß T Ö Â`õE  õe€fß T Ö Â<•ðNÎeúýß ˆ w w  Æå· zCÃeøýÎß æ ÷ *ùõøÿÎføÿß T Ö ÂôõEøÿ Îõe€øÿføÿß T Ö ÂÎÔ”ïÂÊÀAÁeøý@àÀetþÿÀE€7`°€wŽ w ~ ÃfÂØ ÷ ˜Îæfæß ¤–%À 7~ Ã%fÎ�ß x&ÀÿÿwJ ÂfÃ%f‚묧 €„”Ä ÷ePw J Ä5€ ÷eBw <ÄE€ÿÄ ‘Ä% ÂÁÁåfÀ 7`w`w #Š·B ·  Ëw Ô æ õjøÿ÷ ýÁbAíøÿ@€ r€ 7èIÂÄfNøÿõeøÿß n ÂåfŽæfæ<ß b–%€ ÷ \�À 7`˜w`–w �ÂÿÄfÔ”áô• ÿÿõ-îøÿÒ†ÂåfŽæfæôß b–%€ ÷ �À 7`Pw`Nw Hw& w  Î!ææß Ö À ÷ R÷ :÷÷ wþ w î Àœ rÁ ÁeA! þyÎÎß €Îéß €Îýß €Îß €Î!ß €Î1ß €ÎFß €Î_ß €Îoß €Î6æ†ß €Ö w‚ w r DuùÿÄEþC×tÃEþÄ%úÎ”ß €ÀÀà7fÄ-X!wÝX÷‹R Îbæ&æ<ß –%7Š:7.Τæ&&ß –%ÀÀe&w Ä-õ Ý÷  Îbæ(æôß –%7êÀÀe(æw Æ Îfæò ß –%æfæà ý ÆeÀ%÷ ¤þwž w Ž ÷‹¬ Îbæ&æ–ß –%7Š”÷%ÿÿ„ Îbæ(ævß –%Îú ß 2÷ þÁØ A @@7tÿnÚÃÖÄ‚!HÌ ÀPÀeÀE7DtùÿÀEþ ÷e€4€ 7ôÿÿÎ&æ, ß –%Á�Áà@€ rÂe Â%ÂŽææþ ß b–%€ ? X묧 x÷ ºý? HÃeÄeÃ-Bµ†Á<Áí2@€ r7¼Î& æ´ ß –%ÎPæú æ¢ ß b–%À%PÑwfw V÷% Ð÷ ¸þ7 ÆwNw >Dæ Ãf Â5€ÂE€ÿ€Á´7  þy •5øÿõ øÿ “�õ øÿù óÓ• “�•Þ ŠÀfwðw àDæ Ãf”Â% ÷è ŠwÎÂ% Â% Ë‹Â% Ë¥ ”�æÂ% Ë¥ Ë¥ À”ÀU€�Øõøÿõ%øÿƒ µ øÿÀ’€ öÂ% À�À€�T�øÿ¾w NÆå~wÈDÄeÀŸ¾ · ¸ %ß ºôw.7 ¤7 ¤ׯš-· ’· �÷¸w„7 † .÷¦wzƒÃeÁÀBÚ üJ Ó•-ÀŸP· L o^ xU d÷ 6÷ w r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „k À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •Oà MÁ´ Œҋƒ D~C Âø Âþv÷ zÓ•0÷ (f v€Lv÷ îÿ€€LÀe0 9Àe�‡À@Â:÷ ” À2Â,÷ †7wVþ‚Âeƒà&æ Ä Ãm÷ þß ºÃ~Ä Ž”ß ºà Î ß ºÃ~Ö „wþ7 Ò ÀŸÈ· ÄÀå0 úÿ ‚· °Wp `ìÀe0ƒÄeÓ•?‡f…À˜÷ ,ÀŽP�· „÷ ~÷ @…‡f…÷ …‡Àb Àå\*7ÀP€ ‰ ÷\*F÷>×-8‚÷0‡f…@‰†wÔ …‡f…wÊwƉ†w´…‡f…@w®‰†w˜ …‡f…‰…‡f…wŽwЉ†wn…‡f…@wrwn‰"†wL…‡f…÷^ZwmT‰(†w.ÀHwmB…‡f…w2‰(†w w$ …‡f…@ww‰.†wâ …‡f… ‰¦BR‚…‡f…wä‰4†w² …‡f…@wÊwƉ8†wŽ…‡f…÷ �@‰w 4wÂw¾w2Å´õ²w$w Nß Èß ¾ww þÆåDÄeòÿL@4Àn &ß @Ö ß âÂõwøÿõ/öÿó%J ó%K À t56øÿÀ t58öÿNøÿæß ¤Ö 5øÿNöÿæß ¤Ö 5öÿ÷  B-øÿB-øÿó%B-öÿB-öÿó% Î&ß @Ö ß â³ Àw2w "DCÃ%: ß `Àe“þ`Áím Áe¼À rfÀ€åwôw ä΀p@&fß –%ÃpÂ`,ÁÀ r<RÁÀ r<ÁÀ r<RÁÀ r<À rWtC`À rÒÁeÀ rwÃFÎß `àƒ Îß `!ö÷ô7ôÎß `À%n÷´ ÀÀ ì>ƒ ÀÀ 0!>ö÷–€ Ò7 ºÀ`,ww Ä.*ÃnÔ”þAA WpCÃeˆÄ.*Ô”Ô”Ô”„ BÂe�WpCÃežÔ”Ô”Ô”Ž&ß €Ö ŽÎed&ß €Ö ŽÎed&ß €Ö ŽÎed&ß €Ö Äe@ &ß €Ö À.*wvw fAÀ rÁ Ànw\Àmûw FD„ õ% AÀ r À r Áe0@�Ô• AÀ r Áe0@�w @…&æ¦È B„ƒ‚F…‡f…‰…‡f…wÎwʉĆw …‡7j ÀÿÿF…‡‡€�6rwD‡€�6r@‡f…@õ Á P`Hm` …‡ÿ Wrong number of arguments to exrecover [Dated: %s] Not enough core for lines/usr/preserve File not found/LOST [Lost line(s): %d-%d [Lost line(s): %d-%dÿÿ/ExXXXXX*  B ú  * : B   " 2 PANIC: "%s": %d/%ld %d line%s, %ld character%ss (%ld null, %ld dirtys[Incomplete last line] Line too long@- limit 512 characters No such file or directory Physical I/O error Permission denied Not a directory Is a directory File table overflow No space left on device Quota exceeded Read-only file system I/O error %d Tmp file too largeSYNC error: ´ Ì Ò îdÈo¼xfeŽcœsúlu,r>DÄO¸Xüÿðÿðýÿøÿà(null)‰\*‰‰‰‰‰t,‰ ‰‰€pfjM:/PSTPDTDay Mon 00 00:00:00 1900 SunMonTueWedThuFriSatJanFebMarAprMayJunJulAugSepOctNovDec‰crt0.ostartexrecove~mainargcargvcpøÿböÿiôÿ~error€strinf~strcpy¦tofromato~strcatÈafterwhatboth~lprintfða1a2a3~change ~strcmpcpdp~findtmpBdir~searchdjdirnamedirent0êÿdirentØÿdirÖÿ~yeahname~putnlŽ~preservž~strend¦cp~scrapba¾ipjpøÿstbufÔÿsizeÐÿbnoÎÿcntÌÿbadÊÿwasÈÿbkÈýmaxtÆýheaderJ*ex_io.ož~fileinižpijstbufÖÿserrnoÔÿdumbcntÒÿ~cleanupÔ~onhupî~clrstat~iostats8~pluralTi~getlinentlbplpnlscratchúý~putlineÄbplpnltløÿscratchøý~getfileH clpfp~putfileò a1øÿfplpnib~wrerror° ~ioerrorØ ~getblocT atliofbnooff~blkio bbufiofcn~synctmp8 bpacnt~TSYNCp ex_pack.ˆ ~unpackˆ splpciøÿ~packæ splpciøÿprintf.oxformpN*loopŒrjustP*ndigitT*gnum|widthL*ndfndR*swtabÀdecimalîoctalÈhex¼floatsciencharacŽstringœlongorunúunsignedremote,long>loctÄlhex¸prbuf6nulstrprstr>ffltpr.o°putchr.oºflôclose.o*creat.o@fstat.o^getuid.o|open.o†read.o¤sbrk.oÆnd,seek.otime.o2unlink.oHwrite.obexit.o„reset.o’sr5\,spc^,ctime.o²~ctime²at~localtiÈctdaylbegiøÿttimdaylendöÿdaynocopytòÿ~sunday¤atdtad~gmtimeâtptimd0d1xtime`,~asctime¾cptptncp~dysize`y~ct_numb€cpacpncsv.oÊgetpid.oägetpidstat.oîcerror.ocleanup.ldiv.odpadd.o@savr5$H*_exit"„_main"_ruptibl$Ê_ingloba$Ì_inopen$Î_inconf$Ð_listf$Ò_endline$Ô_laste$Ö_intty$Ø_shudclo$Ú_diddle$Ü_die$Þ_chngfla$à_xchngfl$â_tchngfl$ä_file$æ_altfile$&_linebuf$f_genbuf$f_addr1$f_addr2$h_zero$j_one$l_dot$n_dol$p_unddol$r_endcore$t_fendcor$v_unddel$x_undap1$z_undap2$|_undadot$~_undkind$€_io$‚_erfile$„_tfile#_globp$†_erpath$ˆ_names$Š_outcol$À_home$Â_Command$à_varbls$â_normtty$ì_normf$î_obuf$ð_oldhup$ö _oldquit$ø _header$ú _dirtcnt$J"_recov$L"_TTYNAM$N"_TMODE$b"_lastc$d"_peekc$f"_aiflag$h"_pid$j"_rpid$l"_status$n"_tty$p"_allredr$v"_pfast$x"_mask#Z_vcntcol$z"_errno$|"_nabuf$~"csv"Ê_fout$V*_sbrk"Æ_oblock$â"_iblock$ä"_error"€_strcpy"¦_findtmp"B_ctime"²_printf"x_seek"_read"¤_ioerror"Ø _scrapba"¾_putfile"ò _unlink"Hcret"Ö_putchar"º_strcat"È_lprintf"ð_change" _strcmp"_searchd"j_open"†_yeah"_close"*_getuid"|_write"b_putnl"Ž_preserv"ž_strend"¦_fstat"^_re$æ"_scanre$�#_subre$:$_rhsbuf$ä$_loc1$ä%_loc2$æ%_locs$è%_linebp$ê%_ichange$ì%_nleft$î%_ninbuf$ð%_tline$ò%_cntch$ô%_cntnull$ø%_cntodd$ü%_cntln$&_ibuff$&_obuff$(_tfname$*_tftail#_havetmp$**_fileini"ž_cleanup"Ô_stat"î_flush"è_setexit"’_getpid"ä_creat"@_brk"î_onhup"î_clrstat"_iostats"8_plural"T_getline"n_getbloc"T _unpack"ˆ _putline"Ä_pack"æ _nextip$,*_getfile"H _wrerror"° _blkio" _synctmp"8 _time"2_TSYNC"p pfloat"°pscien"°cerror"_end$t,__cleanu"_reset"¤_cbuf$.*_dmsize#>_timezon#V_tzname#X_dayligh#\_daytab#^_localti"È_asctime"¾_dpadd"@_gmtime"â_sunday"¤_dysize"`_ldiv"_ldivr$r,_ct_numb"€_lrem"0sh"è_setexit"’_getpid"ä_creat"@_brk"î_onhup"î_clrstat"_iostats"8_plural"T_getline"n_getbloc"T _unpack"ˆ _putline"Ä_pack"æ _nextip$,*_getfile"H _wrerror"° _blkio" _synctmp"8 _time"2_TSYNC"p pfloat"°pscienNovember 17, 1977 To have a fully functioning recovery mechanism you should place a command of the form /usr/lib/expreserve -a in /etc/rc if you clean out the directory /tmp there. For full security, exrecover and expreserve should be setuid root and the directory /usr/preserve should be mode 700. If you don't need or want this, change "install" and "setup". tbloc"T _unpack"ˆ _putline"Ä_pack"æ _nextip$,*_getfile"H _wrerror"° _blkio" _synctmp"8 _time"2_TSYNC"p pfloat"°pscieneÿ1.0to1.1ßo¬% ¤‘Å/.LG .LG .LG  .sp 5 .B .ce Ex changes \- Version 1.0 to 1.1 .R .sp 5 .NL .SH .LG .LG Changes to existing features .NL .sp 2 .IP 1) The command form consisting of a single `!' which yielded an interactive shell has been eliminated. A command .I shell has been added in its place. .IP 2) The actions in .I autoindent mode have been changed slightly. In the non-open, non-visual .I ai you no longer return to command mode when you backtab at the left margin. In .I visual and .I open, .I autoindent has been changed to be more like it is in command mode. You no longer can backspace over the indent, an erase via `@' does not kill the indent, and backtabs will not work except over the supplied indent. This change makes .I ai more consistent and also allows a consistent interpretation of repeated multi-line textual inputs in .I open and .I visual as described below. .IP 3) The processing of hangup signals is now different\fB...\fR see the discussion of crash recovery below. .IP 4) A number of changes have been made to .I open and .I visual modes. The ones which affect previously existing commands are: .RS .IP a) The digit `0' is now an operation referring to the first column of the current line. .IP b) A single .SM DELETE .NL character no longer drops you out of .I visual or .I open . Two successive .SM DELETE .NL characters still get you out of .I open or .I visual so that it is still true that you can get to command mode by hitting .SM DELETE .NL enough. .IP c) Scans via `/' and `?' are now cancelled by hitting a .SM DELETE .NL instead of erasing them with `@' as before. Failed searches no longer drop you out of .I visual \|; instead the scan delimiter, `/' or `?', is replaced with `F' (for failed search), the terminal bell is rung, typeahead is discarded, and the cursor is returned to its previous position. .IP d) The character \s-2CTRL\s0(Z) in text insert mode no longer has any effect. .RE .IP 5) The editor temporary file now has twice the capacity of before, holding up to 256K characters. Blanks and tabs are now compressed in the temporary allowing much larger files to be edited if they are, e.g., card images. .bp  .sp 3 .SH .LG .LG New features .NL .sp 2 .LP The major additions in this version of the editor are in the area of crash recovery and .I visual and .I open mode polish. We first give a general description of the changes, and then give the specific commands and operations. .SH Crash Recovery .LP The editor has been changed so that the contents of the buffer file may be used to recover the editing state after an editor or system crash. The buffer file is synchronized with the editing progress when a change of twenty of more lines has accumulated in the buffer, or when a .I sync command (or \s-2CTRL\s0(S) operation in .I open or .I visual \|) occurs. Thus if the editor or system crashes, you can use the .I recover command of the editor to retrieve the file you were working on. For example, if a crash occurred when you were editing the file .I resume you can enter .I ex and issue the command: .DS .B recover \ \c resume .DE Another, more convenient, way of doing this is to specify the .B \-r option on the command line, i.e.: .DS .B ex \-r \c .R resume .DE The editor will look for the buffer you were editing either in the directory where it was being kept, or in the directory .B /usr/recover where such files are placed after a system crash. After recovering the file you should check that it is indeed ok before writing it over its previous contents. If an error occurs during the recovery operation this means that the buffer was not in a consistent state at the time of the crash and that you will not be able to recover in this way. After a successful .I recover command the saved buffer is discarded. You should therefore write out the contents of the buffer if you want to preserve them. .SH Hangup .LP When a hangup occurs and the buffer has been modified since it was written out, .I ex first tries a .I preserve command; if this fails, then .I ex will not unlink the editor buffer in the .I directory where it was. In either case a .I recover command as above should continue the work where it left off. .SH ``Quota Exceeded'' and ``No Space on Device'' .LP A new command .I preserve has been added for use in emergencies. If you are using the editor and get one of the messages ``Quota exceeded'' or ``No space on device'' you may wish to save your file in a safe place and seek help. The .I preserve command will save the file as though the editor had just crashed. After preserving your file you should immediately seek help. .bp  .sp 3 .SH .LG .LG New commands .sp 2 .IP .RS .IP "\fBcd \fIdirectory\fR" .br A synonym for the .I chdir command. .IP "\fBhelp \fItopic\fR" .br The .I help command is now implemented. It accepts single word arguments and looks in the directory .B /usr/lib/how_ex for files of the given name supplying information about the given argument. No files of information have been prepared as yet. .IP \fBpreserve\fR .br The current editor buffer is saved as though the editor had just crashed. This command is for use only in emergencies when a .I write command has resulted in an error and you don't know how to save your work. After a .I preserve you should seek help immediately. .IP "( \fB.\fR )\|\fBput\fR" .br The lines removed from the editing buffer by the last command which had the ability to change the buffer are restored after the addressed line. .I Put can be used, e.g., after a .I change command to retrieve the lines changed away when you decide that you want both these and the lines you replaced them with. A .I delete command and a .I put command effect a .I move . Note that .I put is very similar to its .I open and .I visual mode counterpart. .IP \fBrecover\fR \fIfile\fR .br The command .I recover may be used to retrieve the contents of the editor buffer after a system crash, editor crash, or a .I preserve command. A .I recover also occurs implicitly when the .B \-r option is specified on the command line. A file name should be given to .I recover unless the file of the current name is to be recovered. A .I recover results in the removal of the saved buffer. The recovered buffer contents should be checked for sensibility and then saved. It is not possible to recover from errors occurring during a .I recover . .IP \fBreset\fR .br The command .I reset restores all numeric and Boolean valued options to their default settings. .IP \fBshell\fR .br The .I shell command forks an interactive shell. When this shell is terminated, editing resumes. .IP \fBsync\fR .br The .I sync command causes the contents of the editor temporary file to be synchronized to reflect the current state of editing. .I Sync commands are as useful as .I write commands, and much faster, for those who are worried about losing work due to an editor or system crash. .IP "( \fB.\fR , \fB.\fR )\|\fByank \fIcount\fR" .br The .I yank command causes the contents of the addressed lines to define the text to be .I put by a .I put command. The addressed lines are not affected. A .I yank and a .I put can be used instead of a .I copy command. .RE .bp  .sp 3 .SH .LG .LG New open and visual mode features .NL .sp 2 .SH Memory .LP The most important new features relate to memory \- the editor remembers the previous command in each of several categories and allows it to be repeated by a very short (one-character) sequence. The remembered information includes: .IP .B Last single character scan. .R The last of the targeting operations .I f , .I F , .I t , and .I T are remembered as is the target character therewith. This combination may be used again by the abbreviation `;'. .IP .B Last pattern scan. .R The last of the pattern scans with `/' or `?' is remembered and may be repeated with the operation .I n in both open and visual. (The previous meaning of .I n in open is no longer available as .I n now is simply a repeated `/' or `?' operation.) .IP .B Last modifying command. .R The last command which modified the buffer is remembered and may be repeated by the command form `\fB.\fR'. (This may be remembered easily by association with an ellipsis `\fB...\fR'.) .IP .B Last inserted text. .R The text of the last insertion (up to 128 characters) is remembered and may be specified in future operations by a null character, generated by a \s-2CTRL\s0(@). This is given when .I text would begin, instead of text; the .SM ESCAPE .NL terminating the .I text is not needed. If there is no previous inserted text, or if the previous inserted text was longer than 128 characters, the bell is rung and the operation completes inserting no text. If the operation was a scan via `/' or `?' it aborts as though it had been cancelled with a .SM DELETE .NL character. .IP .B Last deleted text. .R The last deleted text which was part of a single line (up to 128 characters) is remembered. Previously, deleted lines were remembered but not deleted parts of lines. Note that some commands (such as those involving a .I change operation) will set both the deleted and inserted text. The .I p and .I P operations have been generalized so that if the last deleted text was part of a line, then that text will be put after or before the current cursor position respectively by these operations. .RE .SH Yank and grab. .LP There are two new operators yank .I y and grab .I g which take a target and pretend it was the previous inserted or deleted text respectively. The grab .I g operation is especially useful when you wish to scan for something on the screen \- you can .I grab it, and then do a scan defaulting the search with a null character. The .I y operation complements .I Y in working with .I p and .I P . .SH Motion sequences. .LP There are a number of new motion sequences in .I visual and .I open. The operation .I G causes the line specified by the preceding count to become the current line. If the line is on the screen, the screen is not redrawn. The default line for .I G if no count is given is the last line of the file. The sequences `\(aa\fIx\fR' where .I x is a single lower case letter cause the display to return to the specified marked line, with the marked line in the center. The previous context mark `\(aa\(aa' may also be addressed here, and it is set by the searching operations `/' and `?', the .I G operation, the mark operations `\(aa\fIx\fR' and the .I z or .I v operations if a count is given. Marks may be set while in .I visual or .I open by using the .I K operation and following it by a single lower case letter specifying the register to be marked. .bp  .sp 3 .SH .LG .LG Miscellaneous changes to open and visual .NL .sp 2 .IP 1) An .SM ESC .NL at the top level, not cancelling or ending a command, now feeds back a bell to let you know where you are. .IP 2) You now need two .SM DELETE .NL characters in a row to get out of .I visual or .I open . One .SM DELETE .NL acts as a .I cancel operation much as .SM ESCAPE .NL does. .IP 3) The operation \s-2CTRL\s0(S) does a .I sync command while remaining in .I visual or .I open . .IP 4) The operation \s-2CTRL\s0(X) is now equivalent to the operation `@'. This is also usable as a input kill in text insert mode within .I open and .I visual . .IP 5) The operation \s-2CTRL\s0(W) is equivalent to .I B , acting as an operation as it does while inserting text. .IP 6) The operation `0' now addresses the first position of the line. This was difficult to refer to previously. .IP 7) A new operation .I S replaces a specified number of lines with the following input text up to an \s-2ESC\s0 like the combination of `\e\e' and an .I o or .I O as appropriate. .IP 8) A multicharacter replace operation .I R replaces the following characters one-for-one with the text input characters in an ``overstrike'' fashion. The .I R operation is terminated with an \s-2ESC\s0. .IP 9) A new operation .I L is like .I H but to the last screen line. .IP 10) The .I visualmessage option is now implemented. The default .I novm prohibits interconsole messages during a .I visual . .IP 11) With .I autoindent , a `0' followed by a \s-2CTRL\s0(D) acts much like an `^' followed by a \s-2CTRL\s0(D), except that subsequent text is aligned at the margin. wexrefm0.nß}«% ¤�: .nr xx 1 .so tmac.e .RP .TL Ex Reference Manual .br Version 1.1 \- November, 1977 .AU William N. Joy .AI Computer Science Division .br Department of Electrical Engineering and Computer Science .br University of California, Berkeley .br Berkeley, California 94720 .AB .Ex is a .UX text editor, based on and largely compatible with the standard .UX editor .ED . .Ex is a line oriented editor and has a .I command mode similar to .ED . .Ex also has an .I open mode which allows intraline editing on video terminals, and a .I visual mode for screen oriented editing on cursor-addressible terminals such as the .SM "LSI ADM-3A" and .SM "HP 2645" . .Ex gives a great deal of feedback to the user prompting for command input, indicating the scope of changes performed by commands, and giving diagnostics for all error conditions. For more experienced users, .EX can be made more .I terse . The .EX user is protected against accidental loss of work by the .I undo command, which can reverse the effect of the last buffer modifying command, and by sensibility restrictions on the .I write command, which prevent loss of the current file and the accidental overwriting of other files. .Ex has a recovery mechanism which allows work to be saved to within a few lines of changes after system or editor crashes. .PP The .I "Reference Manual" provides a concise description of all features of .I ex , summarizing commands, command variants, options and .I open and .I visual modes. .AE .LP .SH Introduction .PP The reference manual summarizes, in a concise form, the features of the text editor .I ex. .SH History of the editor .PP .ND .Ex is heavily based on the text editor .ED . The first versions of .EX were modifications of a text editor .I em developed at Queen Mary's College in England. .I Em was a modified .I ed which had some added features which were useful on high-speed terminals. The earlier versions of .I ex also included features from the modified .ED in use at .SM UCLA , and the ideas of the present author and Charles Haley, who implemented most of the modifications to .I em which resulted in these early versions of .EX . Versions of .EX have been in use since September, 1976. Version 1.1 of .EX results from a redesign of .EX implemented by the present author in the summer and fall of 1977. .SH Acknowledgements .PP The author would like to thank Chuck Haley, who collaborated on the earlier versions of .EX and acted as mentor for the design of this version; Bruce Englar, who stimulated the redesign of .EX and convinced the author of the worth of the intraline editing facilities; and his faculty advisor Susan L. Graham. In addition, a large number of people have contributed ideas to the development of .EX , aided in its debugging and in the preparation of documentation. The author would like to thank Eric Allman, Ricki Blau, Rich Blomseth, Clint Gilliam, Steve Glanville, Ed Gould, Mike Harrison, James Joyce, Howard Katseff, Ivan Maltz, Doug Merritt, David Mosher, Dick Peters, Bill Rowan, Genji Schmeder, Eric Schmidt, Jeff Schriebman, Kurt Shoens, Bob Tidd, Bob Toxen, Mike Ubell, and Vance Vaughan. .bp exrefm1.nß«% ¤�â .if !\n(xx .so tmac.e .SH Options .PP Each instance of the editor has a set of options, which can be set to tailor it to your liking. The command .I edit invokes a version of .I ex designed for more casual or beginning users by changing the default settings of some of these options. .PP There are three kinds of options: Boolean, numeric, and string options. Options are controlled by the .I set command which can be used to show their current values or to assign new values. The options, their defaults, and a short description of each are given in the following table. A more complete description of each option will be given near the end of this reference manual. .TS box; c s s s c | c | l | l lI | lI | l | lR. Editor options _ Name Abbr Default Description _ autoindent ai \fInoai\fR Automatic indentation autoprint ap \fIap\fR Automatic print after change beautify \fR-\fP \fInobeautify\fR Discard most non-graphic characters directory dir \fIdir\fR=/tmp Directory for editor buffer file editany ea \fInoea\fR Allow editing of any file edited \fR-\fP \fR-\fP Current file is \fIedited\fR errorbells eb \fIeb\fR Ring terminal bell on errors fork \fR-\fP \fIfork\fR Allow shell escape without write home \fR-\fP \fIhome\fR=homedir\u\s-2\(dg\s0\d Home directory hush \fR-\fP \fInohush\fR Inhibit all feedback ignorecase ic \fInoic\fP Ignore upper/lower case in matching indicateul iu \fInoiu\fP Indicate underlining on \s-2CRT\s0's list \fR-\fP \fInolist\fP Print lines (more) unambiguously magic \fR-\fP \fImagic\fP\u\s-2\(dd\s0\d More magic characters in regular expressions \mode \fR-\fP \fImode\fP=644* Default create mode for files notify \fR-\fP \fInotify\fP=5\u\s-2\(dd\s0\d Feedback threshold on changes number \fR-\fP \fInonumber\fP Number all (input and output) lines open \fR-\fP \fIopen\fP\u\s-2\(dd\s0\d Allow open and visual commands optimize \fR-\fP \fIoptimize\fP Enhance throughput (but lose some typeahead) printall pa \fIprintall\fP Print all characters prompt \fR-\fP \fIprompt\fP Prompt for input scroll \fR-\fP \fIscroll\fP=12 Number of logical lines in a scroll shell sh \fIsh\fP=/bin/sh Shell for \s-2UNIX\s0 escape shiftwidth sw \fIsw\fP=8 Shift width (tab stop for \fIautoindent\fP) sticky \fR-\fP \fInosticky\fP Post command flags stick around terse \fR-\fP \fInoterse\fP Shorter error diagnostics ttytype tty \fItty\fR=unknown\u\s-2\(dg\s0\d Terminal type visualmessage vm \fInovm\fR \fRInterconsole message inhibition during \fIvisual\fR window \fR-\fP \fIwindow\fP=23 Window size for \fIz\fR command wrap \fR-\fP \fIwrap\fP Context addressing searches go past top/bottom _ .T& lp-2 s s s. \(dg User-dependent (from \fIhtmp\fR data base) \(dd \fINomagic\fR, \fInotify\fR=1, \fInoopen\fR if invoked as \fIedit\fR * Always set and given in octal .TE .bp exrefm2.n߃«% ¤‘ .if !\n(xx .so tmac.e .SH Initialization .PP When it is first invoked, .EX will use the home directory data base .I htmp to set the .I home directory option and to set the .I ttytype option, reflecting the kind of terminal in use. If there is a file .B \&.exrc in the user's home directory, then .EX will .I source to that file. Options setting commands placed there will thus be executed before each editor session. .SH Entering the editor .PP .Ex is entered by a command of the form .DS \fBex\fR [ \fB\-\fR ] [ \fB\-o\fR ] [ \fB\-n\fR ] [ \fB\-p\fR ] [ [ \fB\-r\fR ] \fIname\fR ... ] .DE Brackets here indicate optional arguments. The .B \- option suppresses all interactive-user feedback and is useful in processing editor scripts in command files. The .B \-p option suppresses the .I prompt . The .B \-n option is implied by the .B \- option and causes the editor to do no .B \&.exrc or terminal-type dependent start-up processing. The .B \-o option causes .EX to set the terminal type dependent options based on the characteristics of the diagnostic output if the standard output is not a terminal. Finally, the .B \-r option is used in recovering after an editor or system crash. See the section on crash recovery below. .SH File manipulation .PP .Ex is normally editing the contents of a single file, whose name is recorded in the .I current file name. .Ex performs all editing actions in a buffer (actually a temporary file) into which the text of the file is initially read. Changes made to the buffer have no effect on the file being edited unless and until the buffer contents are written out to the file with a .I write command. After the buffer contents are written, the previous contents of the written file are no longer accessible. .PP A file argument on the command line causes that file to be initially edited. Its name becomes the current file name, and its contents are read into the buffer. .SH Edited file notion .PP Most of the time the current file is considered to be .I edited . This means that the contents of the buffer are logically connected with the current file name, so that writing the current buffer contents onto that file, even if it exists, is a reasonable action. If the current file is not .I edited then .EX will not normally write on it if it already exists. This protects the user against accidental destruction of files. In all normal editing patterns, the current file is considered .I edited . .SH Alternate file .PP Each time a new value is given to the current file, the previous current file is saved as the .I alternate file. Similarly if a file is mentioned but does not become the current file, it is saved as the alternate file. The character `\(ga' substitutes for the alternate file in forming new filenames. This makes it easy to deal alternately with two files and eliminates the need for retyping the name supplied on an .I edit command after a ``No write since last change'' diagnostic is received. .SH Filename formation .PP Filenames within the editor may be specified using the normal .UX expansion conventions: `\*(**' matches any sequence of characters in a file name, `?' matches any single character, and `[\fIclass\fR]' matches the set of characters in the class, with single characters specifying themselves, and ranges of the form `a\-z' permitted, this example matching all letters.\u\s-2\(dg\s0\d .FS \(dg Note that an initial character `.' in a filename must always be specified explicitly, as must all `/'s in path names. .FE .PP In addition to these metacharacters, the character `%' in filenames is replaced by the .I current file name and the character `\`' by the .I alternate file name. If it is necessary for one of the characters `*', `?' `[' `%', `\`' or `\e' to appear in a filename, it may be escaped by preceding it with a `\e'. .SH Multiple files .PP If more than one file is given on the command line, then the first file is edited as described above. The remaining arguments are placed with the first file in the .I "argument list" . The current argument list may be displayed with the .I args command. The next file in the argument list may be edited with the .I next command. The argument list may also be respecified by specifying a list of names to the .I next command. These names are expanded, the resulting list of names becomes the new argument list, and .EX edits the first file on the list. .SH Errors .PP When errors occur .I ex normally rings the terminal bell and prints an error diagnostic. If the primary input is from a file, editor processing will terminate. .SH Interrupts .PP If .EX receives an interrupt signal (\s-2ASCII DEL\s0) it prints ``Interrupt'' and returns to its command level. If the primary input is a file, then .I ex will exit when this occurs. .SH Hangups .PP If a hangup signal is received and the buffer has been modified since it was last written out .EX attempts a .I preserve command. If this command fails then .EX will not unlink the editor buffer in the directory where it was being kept. In either case a .I recover command can be used to continue the work where it left off. .SH Crash recovery .PP If the editor or system crashes, or if the phone is hung up accidentally, then you should be able to recover the work you were doing, to within a few (maximum of 15) lines of changes of the place where you were. To recover a file you can use the .I recover command, or the .B \-r option, as in .DS .B "ex \-r resume" .DE if you were editing the file .I resume . In order to recover you must have had a current file name when the crash occurred, and respecify this name. After recovering the file you should check that it is indeed ok before writing it over its previous contents. If an error occurs during the recovery operation this means that the buffer was not in a consistent state at the time of the crash and that you will not be able to recover in this way. vexrefm3.nß„«% ¤‘v.if !\n(xx .so tmac.e .SH Modes .PP .Ex has five distinct modes. The primary mode is .I command mode. Commands are entered in command mode when a `:' prompt is present, and are executed each time a complete line is sent. In .I "text input" mode .I ex gathers input lines and places them in the file. The .I append , .I insert , and .I change commands use text input mode. No prompt is printed when you are in text input mode. This mode is left by typing a `.' alone at the beginning of a line, or by typing an end-of-file (\s-2CTRL\s0(D) at the beginning of a line.) .PP The last three related modes are .I open and .I visual modes, entered by the commands of the same name, and, within .I open and .I visual , .I "text insertion" mode. .I Open and .I visual mode allow local editing operations to be performed on the text of a line. .I Open deals with one line at a time on soft-copy terminals while .I visual works on (unintelligent) soft-copy terminals with full-screen addressible cursors. .I Visual uses the entire screen as a (single) window for file editing changes. .br .ne 10 .SH Command structure .PP Most commands have alphabetic names, and initial prefixes of the names are accepted. The ambiguity of short names is resolved in favor of the more commonly used commands, always those of the editor .ED . Thus the command .I print can be abbreviated `p' while the shortest available abbreviation for the .I preserve command is `pre'. .PP Most commands accept prefix addresses specifying the lines in the file upon which they are to have effect. The forms of these addresses will be discussed below. A number of commands also may take a trailing .I count specifying the number of lines to be involved in the command. Thus the command `10p' will print the tenth line in the buffer while `delete 5' will delete five lines from the buffer, starting with the current line. .PP Some commands take other information or parameters, this information always being given after the command name. Examples would be option names in a .I set command i.e. `set number', a file name in an .I edit command, a regular expression in a .I substitute command, or a target address for a .I copy command, i.e. `1,5 copy 25'. .SH Feedback .PP Most commands which change the contents of the editor buffer give feedback if the scope of the change exceeds a threshold given by the .I notify option.\u\s-2\(dg\s0\d .FS \(dg Current notable exceptions are .I tabulate , .I expand , and the shift commands `<' and `>'. .FE This feedback helps to detect undesirably large changes so that they may be quickly and easily reversed with an .I undo . Thus if a .I delete command eliminates 100 lines you will be informed by a message of the form ``100 lines deleted.'' Similarly, after commands with more global effect such as .I global or .I visual , you will be informed if the net change in the number of lines in the buffer during this command exceeds this threshold. .SH Command variants .PP A number of commands have two distinct variants. The variant form of the command is invoked by placing an `!' character after the command name. Some of the default variants may be controlled by options; in this case, the `!' serves to toggle the default. Useful variants are `quit !' which suppresses warnings about the buffer not having been written out, and `write !' which allows overwriting of an existing file which is not the edited file. .SH Command flags .PP The characters `#' and `:', and the letters `p' and `l' may be placed after many commands in any combination. In this case, the command abbreviated by these characters is executed after the command completes. Any number of `+' or `\-' characters may also be given with the option flags. If they appear, the specified offset is applied to the current line value before the printing command is executed. The option .I autoprint makes most trailing `p' characters supplied by .I ed users superfluous; as .I autoprint is suppressed during .I global commands, these flags are still often necessary. .SH Multiple commands on a line .PP More than one command may be placed on a line by separating each pair of commands by a `|' character. However the .I global commands, and the shell escape `!' must be the last command on a line, as they are not terminated by a `|'. Thus the command form `write | next', which can be abbreviated `w\||\|n', will .I write the current file and then edit the .I next file in the argument list. .br .ne 20 exrefm4.nß„«% ¤‘y.if !\n(xx .so tmac.e .SH Command addressing .PP As previously mentioned, many commands accept address specifications before the command itself is given. These consist of a series of addressing primitives, described below, separated by `,' or `;'. Such address lists are evaluated left-to-right. When addresses are separated by `;' the current line `.' is set to the value of the previous addressing expression before the next address is interpreted. If more addresses are given than the command requires, then all but the last one or two are ignored. If the command takes two addresses, the first addressed line must precede the second in the buffer. Null address specifications are permitted in a list of addresses, the default in this case is the current line `.'; thus `,$' is equivalent to `\fB.\fR,$'. It is an error to give a prefix address to a command which expects none. .PP A simple example of command addressing is the command `1,$print' which prints all the lines in the buffer, the first `1' to the last `$'. The command `/^Thesis/;/Example' will search forward to the first line beginning with the string `Thesis', set the current line to be this line, and then search forward from this line for the string `Example'. If such a line is found, it is printed. .SH Addressing primitives .PP .B "Current and last lines." The current line is refered to symbolically by `\fB.\fR', the last line by `$'. The default address for most commands is the current line, thus `\fB.\fR' is rarely used alone as an address. Most commands leave the current line as the last line which they affect. .PP .B "Line numbers." The lines in the editing buffer are numbered sequentially from 1; the last line in the buffer may be referred symbolically to as `$'. The most primitive form of addressing refers to lines by their line numbers in the file. Some commands also allow reference to a hypothetical line 0. These commands operate before the first line of the buffer. Thus `0\ read\ header' places a copy of the contents of the file .I header before the first buffer line. .PP .B "Relative addresses." Addresses may also be specified relative to the current buffer line. Thus `\-5' refers to the fifth line preceding the current line while `\+5' refers to the fifth line after it. Similarly a single `\-' addresses the line before the current line while `++' addresses the second following line. Note that the forms `\fB.\fR+2', `+2' and `++' are all equivalent; if the current line is line 100 they all address line 102. .PP .B "Context searching." One of the most convenient ways of addressing the lines in the buffer is via ``content addressing'' or ``context searching.'' Here we pick out a pattern in the line we wish to refer to and specify that pattern after the search delimiter `/' to search forwards or `?' to search backwards. If we are simply looking for this pattern, then this is all we need to do; `/Thesis' will search forward in the file and then print the first line, if any, containing the string `Thesis'. If we wish to give a command to be executed at this line we must close off the search string with a matching delimiter. Thus the command `/Thesis/delete' will delete the next line containing the string `Thesis'. The pattern here may actually be a regular expression. This allows, e.g. searching for a string at the beginning or end of a line. It is possible to search again for the same pattern by giving a null regular expression; that is either a form such as `//', or a single `/' or `?' immediately followed by a newline character. Context searches normally wrap around past the end of the file if necessary to continue the search.\u\s-2\(dg\s0\d .FS \(dg It is also possible to use the previous scanning or substitute regular expression for the scan; the forms are `\e/' and `\e&/' to scan forwards, `\e?' and `\e&?' to scan backwards respectively. .FE .PP .B "Marks." The final way of specifying a line in the buffer is with a .I mark . The .I mark command may be used to give a line a mark, which is denoted by a single lower case letter. Thus `mark a' will mark the current line with tag .I a . This line may be subsequently referred to in addressing as `\(aa\fIa\fR'. .PP .B "Previous context mark." One mark is automatically set by the editor. This is the previous context mark, referred to in addressing expressions via `\(aa\(aa'. Before each non-relative motion of the current line `\fB.\fR', the previous current line is marked with this special tag.\u\s-2\(dd\s0\d .FS \(dd This makes it easy to refer or return to this previous context. Thus if you specify a context search which leads you to a line other than you intended, you may return to the previous current line via `\(aa\(aa'. .FE .bp texrefm5.n߆«% ¤‘H.if !\n(xx .so tmac.e .SH Command summary .PP Summarizing the discussion above, the general form of an .EX command is: .tr ** .DS \fIaddress\fR \fBcommand\fR \fI! parameters count flags\fR .DE All parts are optional; the degenerate case is the empty command which prints the next line in the file. .PP The following table summarizes .EX command formats and the shortest allowable abbreviations for commands. Except as noted, all commands which take addresses assume the current line as default if no addresses are given. Each command will be discussed in more detail in the next section. .TS H center box; c s s a | l | l aB | lB | l. Command summary _ Prototype Abbr. Description _ .TH append \fI!\fR a \fRAppend text after addressed lines\fR\fR args \fI!\fR ar \fRPrint argument list\fR\fR cd \fIdir\fR cd \fRSynonym for \fIchdir\fR\fR change \fI!\fR c \fRChange text of specified lines\fR\fR chdir \fIdir\fR chd \fRChange working directory\fR\fR copy \fIaddr\fR co \fRMake a copy of specified lines after \fIaddr\fR\fR\fR delete \fIcount\fR d \fRDelete specified lines\fR\fR echo \fItext\fR ec \fREcho \fItext\fR to output\fR\fR edit \fIfile\fR ed \fRSynonym for \fIex\fR\fR\fR ex \fIfile\fR e \fREdit specified file\fR\fR expand \fIcount\fR exp \fRExpand tabs to spaces\fR\fR file \fIfile\fR f \fRDisplay/change current file\fR\fR global \fI/pat\|\fR/ \fIcmds\fR\|\u\s-2\(dg\s0\d\|\u\s-2\(dd\s0\d g \fRExecute \fIcmds\fR on lines matching \fIpat\fR\fR\fR help \fItopic\fR h \fRProvide information on \fItopic\fR\fR insert \fI!\fR i \fRInsert text before addressed line\fR\fR join \fI!\fR \fIcount\fR j \fRJoin lines together\fR\fR k \fIx\fR k \fRSynonym for \fImark\fR\fR\fR list \fIcount\fR l \fRPrint lines more unambiguously\fR\fR mark \fIx\fR ma \fRMark addressed line with letter \fIx\fR\fR\fR move \fIaddr\fR m \fRMove specified lines after \fIaddr\fR\fR\fR next \fI!\fR n \fREdit next file in argument list\fR\fR next \fI!\fR \fIfilelist\fR n \fRRespecify argument list; edit first file\fR\fR open \fI/pat\fR\|/ o \fRIntraline edit of specified line\fR\fR preserve pre \fRSave buffer when disaster strikes\fR\fR print \fIcount\fR p \fRPrint addressed lines\fR\fR put pu \fRRestore lines\fR\fR quit \fI!\fR q \fRTerminate editor session\fR\fR read \fIfile\fR r \fRRead \fIfile\fR into buffer after current line\fR\fR recover \fIfile\fR rec \fRRecover editing buffer after disaster\fR\fR reset res \fRRestore option default values\fR\fR rewind rew \fRRewind argument list; edit first file\fR\fR set \fIparams\fR se \fRSet/interrogate options\fR\fR shell sh \fRInvoke another, interactive, shell\fR\fR source \fIfile\fR so \fRRead editor commands from \fIfile\fR\fR\fR substitute\fI/pat\|\fR/\fIrepl\|\fR/ \fIflags\fR \fIcount\fR\|\u\s-2\(dg\s0\d su \fRSubstitute \fIrepl\fR for \fIpat\fR\fR\fR sync sy \fRSynchronize the temporary file\fR\fR tabulate \fIcount\fR ta \fRConvert (leading) blanks to tabs\fR\fR transcribe \fIaddr\fR t \fRSynonym for \fIcopy\fR\fR\fR undo \fI!\fR u \fRReverse effect of last command\fR\fR v\u\s-2\(dg\s0\d v \fR\fRSynonym for ``\fIglobal!\fR\|'' variant\fR\fR version ve \fRPrint current version information\fR\fR visual \fItype\fR vi \fREnter visual mode\fR\fR write \fI!\fR \fIfile\fR\|\u\s-2\(dd\s0\d w \fRWrite specified lines to \fIfile\fR\fR\fR write \fI!\fR >> \fIfile\fR\|\u\s-2\(dd\s0\d w \fRWrite addressed lines at end of \fIfile\fR\fR\fR xpand \fIcount\fR x \fRSynonym for \fIexpand\fR\fR\fR yank \fIcount\fR ya \fRDefine lines to be \fIput\fR\fR z \fItype count\fR z \fRContext display\fR\fR ! \fIcommand\fR - \fRSend \fIcommand\fR to a shell\fR\fR =\fR\u\s-2\(dd\s0\d - \fRShow line number in buffer\fR\fR > \fIcount\fR - \fRRight shift\fR\fR < \fIcount\fR - \fRLeft shift\fR\fR \s-2EOF\s0 - \fRScroll (\s-2EOF\s0 is generated by \s-2CTRL\s0(D))\fR\fR \s-2CR\s0 \fRor\fB \s-2NL\s0 \fB- \fRNull command prints addressed (next) line\fR\fR # \fIcount\fR - \fRSynonym for \fInumber\fR\fR\fR : \fIcount\fR - \fRPrint inhibiting \fIlist\fR and \fInumber\fR options.\fR\fR & \fIflags\fR \fIcount\fR - \fRRepeat last \fIsubstitute\fR command\fR\fR \s+2\d~\u\s0 \fIflags\fR \fIcount\fR - \fRSubstitute last \fIrepl\fR for last pattern\fR\fR |\fR - \fRMultiple command per line separator\fR\fR _ .T& lp-2 s s. T{ \(dg \fIPat\fR may be delimited by other characters; `\e/' and `\e&/' are also permitted as in address formation, and with these forms .I repl is terminated by `/' in a .I substitute . T} \(dd Default address is entire buffer (last line for `='). .TE .SH Command variants .PP A number of command have variants, introduced by following the command name with a `!'. These variants are summarized in the following table. .KS .TS center box; c s l | l a | l. Command variants _ Variant Description _ \fBappend\fR \fI!\fR Toggle \fIautoindent\fR during \fIappend\fR \fBargs\fR \fI!\fR Print all arguments, not just those remaining \fBchange\fR \fI!\fR \fIcount\fR Like \fIappend!\fR \fBex\fR \fI!\fR \fIfile\fR Suppress ``No write'' complaint before executing \fBedit\fR \fI!\fR \fIfile\fR Like \fIex!\fR \fBglobal\fR \fI!\fR /\fIpat\fR/ \fIcmds\fR Execute \fIcmds\fR on lines not matching \fIpat\fR \fBinsert\fR \fI!\fR Like \fIappend!\fR \fBjoin\fR \fI!\fR \fIcount\fR Join lines without massaging blank space \fBnext\fR \fI!\fR Like \fIex!\fR \fBquit\fR \fI!\fR Suppress ``More files'' and ``No write'' complaints \fBtabulate\fR \fI!\fR \fIcount\fR Convert all blanks to tabs, not just initial \fBundo\fR \fI!\fR No error if ``Nothing to undo'' or ``No change'' \fBwrite\fR \fI!\fR \fIfile\fR Suppress \fIwrite\fR checks (i.e. overwrite file) \fBwrite\fR \fI!\fR >> \fIfile\fR Like \fIwrite!\fR (\fIfile\fR can be non-existent) .TE .KE .bp .tr *\(** exrefm6.n߆«% ¤‘÷!.if !\n(xx .so tmac.e .SH Command descriptions .PP In the following command descriptions, the default addresses are shown in parentheses, which are .I not , however, part of the command. The variant flags .I ! , .I counts and .I flags are always optional. .LC .nf ( \fB.\fR ) \fBappend\fR \fI!\fR .br \fItext\fR .br \&\fB.\fR .fi .HP The .I append command reads the input text and places it after the specified line. After the command, `\fB.\fR' addresses the last line input or the specified line if no lines were input. If address `0' is given, text is placed at the beginning of the buffer. The variant flag toggles the setting for .I autoindent during the input of .I text . .LC .nf \fBargs\fR \fI!\fR .fi .HP The members of the argument list are given starting with the current one or, if the variant is given, starting with the beginning of the argument list. .LC .nf \fBcd\fR \fIdirectory\fR .fi .HP The .I cd command is a synonym for .I chdir . .LC .nf ( \fB.\fR , \fB.\fR ) \fBchange\fR \fI!\fR \fIcount\fR .br \fItext\fR .br \&\fB.\fR .fi .HP The .I change command replaces the specified lines with the input \fItext\fR. The current line becomes the last line input; if no lines were input it is left as for a \fIdelete\fR. The variant toggles .I autoindent as in a .I append . .LC .nf \fBchdir\fR \fIdirectory\fR .fi .HP The specified \fIdirectory\fR becomes the current directory. If no directory is specified, the current value of the .I home option is used as the target directory. After a .I chdir the current file is not considered to have been .I edited so that write restrictions on pre-existing files apply. .LC .nf ( \fB.\fR , \fB.\fR )\|\fBcopy\fR \fIaddr\fR \fIflags\fR .fi .HP A .I copy of the specified lines is placed after .I addr , which may be `0'. The current line `\fB.\fR' addresses the last line of the copy. The command .I transcribe , `t', is a synonym for .I copy . .LC .nf ( \fB.\fR , \fB.\fR )\|\fBdelete\fR \fIcount\fR \fIflags\fR .fi .HP The .I delete command removes the specified lines from the buffer. The line after the last line deleted becomes the current line; if the lines deleted were originally at the end, the new last line becomes the current line. .LC .nf \fBecho\fR \fItext\fR .fi .HP .I Text is echoed onto the standard output up to a `|' or newline character. These (and any) characters may be included in .I text by preceding them with a `\e'. Initial blanks are stripped from \fItext\fR. .LC .nf \fBedit\fR \fI!\fR \fIfilename\fR .br \fBex\fR \fI!\fR \fIfilename\fR .fi .HP The .I edit command is used to begin an editing session on a new file and is composed of several distinct actions. .I Edit first checks to see if the buffer has been modified since the last .I write command was issued. If it has been, a warning is issued and the .I edit command is never begun. In this case, the user has a second and last chance to write out the buffer. If another .I edit (or .I next or .I quit) command is executed without a .I write and before any further modifications to the buffer, the editing changes to the buffer will be lost. This entire warning procedure is suppressed if the variant flag is given. .IP The .I edit command next deletes the entire contents of the editor buffer making the named file the current file and printing its name. After insuring that this file is sensible, i.e. that it is not a binary file such as a directory, a block or character special file other than .B /dev/tty , a terminal, or a binary or executable file (as indicated by the first word), .I ex reads the file into the editor buffer. .IP If the read of the file completes without error, the number of lines and characters read is typed. If there were any dirty (non-\s-2ASCII\s0) characters in the file they are stripped of their non-\s-2ASCII\s0 high bits, and any null characters in the file are discarded. If none of these errors occurred, the file is considered .I edited . If the last line of the input file is missing the trailing newline character, it will be supplied and a complaint will be issued. This command leaves the current line `\fB.\fR' at the last line read. .LC .nf ( \fB.\fR , \fB.\fR ) \fBexpand\fR \fI!\fR \fIcount\fR \fIflags\fR .fi .HP The .I expand command processes the text of the specified lines, converting tabs to an appropriate number of spaces. The current line is left at the last line which had a tab expanded. .LC .nf \fBfile\fR .fi .HP The current filename is displayed along with an indication of whether it is considered `[Edited]', whether it has been `[Modified]' since the last .I write command, and the number of lines in the buffer. .LC .nf \fBfile\fR \fIfilename\fR .fi .HP The current file is changed to .I filename which is not considered .I edited . .LC .nf ( 1 , $ ) \fBglobal\fR \fI!\fR /\fIpat\|\fR/ \fIcmds\fR .fi .HP The .I global command first marks each line among those specified which matches the given regular expression. Then the given command list is executed with `\fB.\fR' initially set to each marked line. In the variant form the list is executed at each line not matching the given regular expression. .IP The command list consists of the remaining commands on the current input line and may continue to multiple lines by ending all but the last such line with a `\e'. .I Append , .I insert , and .I change commands and associated input are permitted; the `\fB.\fR' terminating input may be omitted if it would be on the last line of the command list. .I Open and .I visual commands are permitted in the command list and take input from the terminal. .IP The .I global command itself may not appear in .I cmds. The .I undo command is also not permitted there, as .I undo instead can be used to reverse the entire .I global command. The options .I autoprint and .I autoindent are inhibited during a .I global , and the value of the .I notify option is temporarily infinite, in deference to a \fInotify\fR for the entire global. Finally, the context mark `\'\'' is set to the value of `.' before the global command begins and is not changed during a global command, except perhaps by an .I open or .I visual within the .I global . .LC .nf \fBhelp\fR \fItopic\fR .fi .HP The .I help command accepts keywords related to the editor and, if there is information in its data base about that .I topic supplies the information. A list of topics can be had by .I help\ index . The data files for help are kept in the directory .B /usr/lib/how_ex . .LC .nf ( \fB.\fR )\|\fBinsert\fR \fI!\fR .br \fItext\fR .br \&\fB.\fR .HP The .I insert command places the given text before the specified line. The current line is left at the last line input; if there were none input it is left at the line before the addressed line. This command differs from .I append only in the placement of text. The variant toggles .I autoindent during the .I insert . .LC .nf ( \fB.\fR , \fB.\fR+1 ) \fBjoin\fR \fI!\fR \fIcount\fR \fIflags\fR .fi .HP The .I join command places the text from a specified range of lines together on one line. White space is adjusted at each junction to provide at least one blank character. If there is already white space at the end of the line, then the white space at the start of the next line will be discarded. The variant causes a simpler .I join with no white space processing. .LC .nf ( \fB.\fR ) \fBk\fR \fIx\fR .fi .HP The .I k command is a synonym for .I mark . .LC .nf ( \fB.\fR , \fB.\fR ) \fBlist\fR \fIcount\fR \fIflags\fR .fi .HP The .I list command prints the specified lines in a more unambiguous way; non-graphic characters are escaped in octal, tabs and backspaces are printed as \o'>\-' and \o'<\-' with the overstruck `\-' being omitted if the terminal can not overstrike. The end of each line is marked with a trailing `$'. The current line is left at the last line printed. .LC .nf ( \fB.\fR ) \fBmark\fR \fIx\fR .fi .HP The .I mark command gives the specified line mark .I x , a single lower case letter. (The .I x must be preceded by a blank or a tab.) Subsequently, the addressing form `\'x' addresses this line. The current line is not affected by this command. .LC .nf ( \fB.\fR , \fB.\fR ) \fBmove\fR \fIaddr\fR .fi .HP The .I move command repositions the specified lines after .I addr . The first of the moved lines becomes the current line. .LC .nf \fBnext\fR \fI!\fR .fi .HP The next file from the command line argument list is edited. The variant suppresses ``No write since last change'' warnings before performing the .I next as for the .I edit command. .LC .nf \fBnext\fR \fI!\fR \fIfilelist\fR .fi .HP The specified .I filelist is expanded and the resulting list replaces the current argument list; the first file in the new list is then edited. oexrefm7.n߆«% ¤‘ 4.if !\n(xx .so tmac.e .LC .nf ( \fB.\fR , \fB.\fR ) \fBnumber\fR \fIcount\fR \fIflags\fR .fi .HP The .I number command prints each specified line preceded by its buffer line number. The current line is left at the last line printed. .LC .nf ( \fB.\fR ) \fBopen\fR \fIflags\fR .br ( \fB.\fR ) \fBopen\fR /\fIpat\|\fR/ \fIflags\fR .HP The .I open command enters intraline editing mode at each addressed line. If .I pat is given, then the cursor will be placed initially at the beginning of the string matched by the pattern.\u\s-2\(dg\s0\d .FS \(dg The .I pat may be delimited only by `/' characters; the forms `\e/' and `\e&/' are also not allowed here. .FE Further lines containing .I pat may be opened using the .I next `n' operation without leaving open. The current line is left at the last line opened. See the .I open and .I visual mode description below for more details. .LC .nf \fBpreserve\fR .fi .HP The current editor buffer is saved as though the editor had just crashed. This command is for use only in emergencies when a .I write command has resulted in an error and you don't know how to save your work. After a .I preserve you should seek help immediately. .LC .nf ( \fB.\fR , \fB.\fR )\|\fBprint\fR \fIcount\fR \fIflags\fR .fi .HP The .I print command prints the specified lines with non-printing characters normally escaped as `?'. The current line is left at the last line printed. .LC .nf ( \fB.\fR )\|\fBput\fR .fi .HP The lines removed from the editing buffer by the last command which had the ability to change the buffer are restored after the addressed line. .I Put can be used, e.g., after a .I change command to retrieve the lines changed away when you decide that you want both these and the lines you replaced them with. A .I delete command and a .I put command effect a .I move . Note that .I put is very similar to its .I open and .I visual mode counterpart. .LC .nf \fBquit\fR \fI!\fR .fi .HP The .I quit command causes .EX to exit. No automatic write of the editor buffer to a file is performed. However, .EX issues a warning message if the file has changed since the last write command was issued and it offers a second chance to .I write . .Ex will also complain if there are more files in the argument list. The variant form suppresses these complaints. .LC .nf ( \fB.\fR ) \fBread\fR \fIfilename\fR .fi .HP The .I read command places a copy of the text of the given file in the editing buffer after the specified line. If no .I filename is given the current file name is used. The current file name is not changed unless there is none in which case .I filename becomes the current name. The sensibility restrictions for the .I edit command apply here also. If the file buffer is empty and there is no current name then .I ex treats this as an .I edit command. .IP Address `0' is legal for this command and causes the file to be read at the beginning of the buffer. Statistics are given as for the .I edit command when the .I read successfully terminates. After a .I read the current line is the last line read. .LC .nf \fBrecover \fIfile\fR .fi .HP The command .I recover may be used to retrieve the contents of the editor buffer after a system crash, editor crash, or a .I preserve command. A .I recover also occurs implicitly when the .B \-r option is specified on the command line. A file name should be given to .I recover unless the file of the current name is to be recovered. Thus a name is always required on the command line. A .I recover results in the removal of the saved buffer. The recovered buffer contents should be checked for sensibility and then saved. It is not possible to recover from errors occurring during a .I recover . .LC .nf \fBreset\fR .fi .HP The .I reset command restores the default settings of all numeric and Boolean valued options. .LC .nf \fBset\fR \fIparameter\fR .fi .HP The .I set command may be used to interrogate and to give new values to options. With no arguments it prints those options whose values have been changed from their defaults; with parameter .I all it prints all of the option values .IP By giving an option name followed by a `?' the current value of a single option may be interrogated. The `?' is unnecessary unless the option is Boolean valued. Boolean options are given values either by the form `set option' to set them on or `set nooption' to set them off; string and numeric options are assigned via the form `set option=value'. More than one parameter may be given to .I set \|; they are interpreted left-to-right. .IP It is also possible to interrogate the current values of the current and alternate file names, and the previous .SM UNIX shell escape command by supplying the parameter `%', `\(ga', or `!' respectively. .LC .nf \fBshell\fR .fi .HP A new .I shell is created. This shell is .I interactive , like a login shell. When it terminates, editing resumes. .LC .nf \fBsource\fR \fIfile\fR .fi .HP The .I source command causes .I ex to read commands from the specified file. .I Source commands may be nested. .LC .nf ( \fB.\fR , \fB.\fR ) \fBsubstitute\fR /\fIpat\fR\|/\fIrepl\fR\|/ \fIoptions\fR \fIcount\fR \fIflags\fR .fi .HP On each specified line, the first instance of pattern .I pat is replaced by replacement pattern .I repl . If the .I global indicator option character `g' appears, then all instances are substituted; if the .I confirm indication character `c' appears, then before each substitution the line to be substituted is typed with the string to be substituted marked with `\(ua' characters. By typing an `y' one can cause the substitution to be performed, otherwise no change takes place. After a substitute the current line is the last line substituted. .IP See the regular expression description for an explanation of metasequences available in .I repl . In addition to these sequences, lines may be split by substituting new-line characters into them. The newline in .I repl must be escaped by preceding it with a `\e'. (If the .I substitute is within a .I global , then two escaping `\e' characters will be needed.) .LC .nf \fBsync\fR .fi .HP The .I sync command causes the contents of the editor temporary file to be synchronized to reflect the current state of editing. .I Sync commands are done automatically whenever there is a difference of 15 lines or more between the in-core buffer and the temporary. They are as useful as .I write commands, and much faster, for those who are worried about losing work due to an editor or system crash. .LC .nf ( \fB.\fR , \fB.\fR ) \fBtabulate\fR \fI!\fR \fIcount\fR \fIflags\fR .fi .HP The .I tabulate command causes leading white space to be converted to tabs on the specified lines. The variant causes this tabulation to occur throughout each line. The current line is left at the last line where a change occurred. .LC .nf ( \fB.\fR , \fB.\fR ) \fBtranscribe\fR \fIaddr\fR .fi .HP The .I transcribe command is a synonym for .I copy . .LC .nf \fBundo \fI!\fI .fi .HP The .I undo command reverses the changes made in the buffer by the last buffer editing command. Note that .I global commands are considered a single command for the purpose of .I undo (as are .I open and .I visual.) Also, the commands .I write and .I edit which interact with the .UX file system cannot be undone. .I Undo is its own inverse. After an .I undo the current line is the first line restored or the line before the first line deleted if no lines were restored. For commands with more global effect, such as .I global and .I visual the current line regains it pre-command value after an .I undo. .I Undo always marks the previous value of the current line `\fB.\fR' as `\'\''. .LC .nf ( 1 , $ ) \fBv\fR /\fIpat\fR\|/ \fIcmds\fR .fi .HP The .I v command is a synonym for the .I global command variant `global!'. .LC .nf \fBversion\fR .fi .HP The .I version command prints the current version number of the editor as well as the date the binary was created. .LC .nf ( \fB.\fR ) \fBvisual\fR \fItype\fR \fIflags\fR .fi .HP The .I visual command enters \fIvisual\fR mode at the specified line. .I Type is optional and may be `+', `\-' , `\(ua' (`^') or `\fB.\fR' as in the .I z command to specify the placement of the specified line on the screen. By default, if .I type is omitted, the specified line is placed as the first on the screen. After a .I visual , the current line is the last line the cursor was on when it ended. See the section describing .I visual and .I open for more details. .LC .nf ( 1 , $ ) \fBwrite\fR \fI!\fR \fIfile\fR .br ( 1 , $ ) \fBwrite\fR \fI!\fR >> \fIfile\fR .fi .HP The .I write command places data from the file buffer back into the file system. The first form of the command will write to a file only if it is the current file and is .I edited , if the file does not exist, or if the file is actually a teletype, .B /dev/tty or .B /dev/null . If the file does not exist it is created. The current file name is changed only if there is no current file name. The current line is unchanged by this command, and feedback is given as to the number of lines and characters written as for the .I edit command. The second form is used to write the buffer contents at the end of an existing file. For both forms, the variant suppresses the file existence and type checks. .IP If an error occurs while writing the current and .I edited file, .I ex considers that there has been ``No write since last change'' even if the buffer had not previously been modified. .LC .nf ( \fB.\fR , \fB.\fR ) \fBxpand\fR \fIcount\fR \fIflags\fR .fi .HP The .I xpand command is a synonym for .I expand . .LC .nf ( \fB.\fR , \fB.\fR )\|\fByank\fR \fIcount\fR .fi .HP The .I yank command causes the contents of the addressed lines to define the text to be placed in the buffer by a succeeding .I put command. The addressed lines are not affected. A .I yank and a .I put can be used instead of a .I copy command. .LC .nf ( \fB.\fR ) \fBz\fR \fItype\fR \fIcount\fR .fi .HP The .I z command gives access to windows of text. The default number of logical lines in a window is given by the numeric .I window option or may be given explicitly by the .I count after the command. The various types and their meanings are: .TS center; c l. \fB\&.\fR window around the current line \- window ending at the current line + window starting after the current line omitted window starting at the current line \(ua or ^ window before this window .TE In addition, the form \fIz\fR= displays a window of text with the current line in the center delimited by lines of `\-' characters. For all commands forms except \fIz\fR= the current line is left at the last line printed; for .I z= `\fB.\fR' addresses the bracketed line. .IP The characters `+', `^' and `\-' may be repeated for cumulative effect. On a \s-2CRT\s0 the screen is cleared before display begins unless a count which is less than the screen size is given. .LC .nf \fB!\fIcommand\fR\fR .fi .HP The remainder of the line after the `!' character is sent to a shell to be executed. The current line is unchanged by this command. Within the text of .I command the characters `%' and `\`' are expanded as in filenames and the character `!' is replaced with the text of the previous command. Thus, in particular, `!!' repeats the last such shell escape. If any such expansion is performed, the expanded line will be echoed. .IP If there has been ``No write'' of the buffer contents since the last change to the editing buffer, then a diagnostic will be produced before the command is executed as a warning. A single `!' is printed when the command completes. .LC .nf ( $ ) \fB=\fR .fi .HP The `=' command prints the line number of the addressed line. The current line is unchanged. .LC .nf ( \fB.\fR , \fB.\fR ) \fB>\fR \fIcount\fR \fIflags\fR .br ( \fB.\fR , \fB.\fR ) \fB<\fR \fIcount\fR \fIflags\fR .fi .HP The `>' right shift and `<' left shift commands perform intelligent shifting on the specified lines. The quantity of shift is determined by the .I shiftwidth option and the repetition of the specification character. Thus `>>' causes the current line to be right shifted two tab stops. Only white space is shifted; no non-white space characters are discarded in a left-shift.\u\s-2\(dg\s0\d .FS \(dg White space characters are blank and tab. .FE The current line becomes the last line which changed due to the shifting. .LC .nf \s-2EOF\s0 .fi .HP If .EX receives an end-of-file (control-d) from a terminal input, it interprets this as being a request for a scroll through the file and sends the next .I scroll logical lines of text, normally a half .I window . .LC .nf ( \fB.\fR+1 ) \s-2NL\s0 .br ( \fB.\fR+1 ) | .fi .HP An address alone causes the addressed line to be printed. A blank line alone is thus useful for stepping through text. .LC .nf ( \fB.\fR , \fB.\fR ) \fB:\fR \fIcount\fR \fIflags\fR .fi .HP The .I colon command is used to override the options .I number and .I list so as to print a line without these features while the options remain set. .LC .nf ( \fB.\fR , \fB.\fR ) \fB&\fR \fIoptions\fR \fIcount\fR \fIflags\fR .fi .HP The `&' command repeats the previous .I substitute command. .LC .nf ( \fB.\fR , \fB.\fR ) \fB\s+2~\s0\fR \fIoptions\fR \fIcount\fR \fIflags\fR .fi .HP The `\s+2~\s0' command replaces the previous regular expression with the previous replacement pattern from a substitution. .bp exrefm8.nß]­% ¤‘²[.if !\n(xx .so tmac.e .SH Visual and open modes .PP .Ex has two modes, .I visual and .I open , which are quite different from command mode. In command mode, one prepares command lines which are then executed as they are sent to the editor. The editor maintains only a notion of a current line in command mode, not of a current position within that line. .PP In .I open and .I visual modes, there is both a current line and a current position within that line. The cursor appears on the current line, and indicates the current position within that line by its position. One then forms .I operations consisting of one or more operation characters which are immediately acted upon by the editor. Most operation characters do not show on the screen, rather their effect on the contents of the buffer is shown. Operation sequences do not form ``lines'' of input, and do not need to be terminated by a new-line character. .PP .B Operations. Becoming proficient at using .I open or .I visual thus requires learning a set of .I operations which you can use to modify the text of your file. There are a large number of operations. They are associated with keys so as to suggest their function. Related functions are often performed by the upper case counterpart of a lower case operation. Thus the `f' find operation moves the cursor to the following specified character in the forward direction within the line, while `F' performs the same function in the backward direction. Similarly, `r' replaces the character under the cursor with the single following character, while `R' replaces successive text line characters with the input characters up to a terminating \s-2ESC\s0. It is not necessary to learn all or nearly all of the available operations in .I open and .I visual . As you become more proficient with .I open and .I visual you may find use for more of them. .PP .B "Intraline operations." There are two major kinds of operations in .I visual and .I open \- those dealing with the characters of a single line, and those dealing with the lines themselves. The intraline operations deal with the text of a single line. The editor has facilities for referring to the line in terms of a number of characters, a column position, a number of ``words'', a target character, the beginning of the line, the first non-blank character on the line, the end of the line, etc. In addition these operations will take .I counts repeating their effect whenever appropriate. Thus the word move operation `w' will advance the cursor to the beginning of the next word in the current input line, while the operation `3w' will advance three words. .PP .B "Interline operations." Interline operations allow the introduction of new lines, the movement of lines, making copies of existing lines, joining together text from several lines to form one new line, substitution of new lines for old, and the deletion of lines. Most of these operations ignore the cursor position within the current line. It is also possible to introduce new lines into the file by inserting text within a line and including a new-line character in this text. This has the effect of ``splitting'' the line into two new lines. .PP .B "Open mode display." In .I open mode, the text of the current line is displayed with the cursor initially at the first non-blank position of the line. If a regular expression is given following the .I open command then the first character which matched this expression is the character under the cursor. The single displayed logical line usually occupies one physical line on the screen but may, on a cursor-addressible terminal, occupy several lines.\u\s-2\(dg\s0\d .FS \(dg On cursor addressible terminals, the second to the last line is used instead of the last line. This avoids screen roll-up problems often associated with the last column of the last line. On terminals without cursor-addressing capability, an error will occur if the line is too long to fit on one physical screen line. .FE .PP .B "Visual mode display." In .I visual mode, a number of logical lines are placed on the screen, with long lines folded to occupy several physical lines. The cursor may be moved between these lines and each can be edited as with .I open . In addition, the interline operations listed above may be conveniently performed in .I visual mode. .PP .B "Empty lines." Physical lines in the display which are not occupied by any portion of logical lines are represented by the character `@' alone at the beginning of the line. Physical lines past the end of file are displayed using the character `~' instead of `@'. .PP .B "Cleaning up the screen." If you have made a number of line changes, creating empty physical lines displayed as `@', you may wish to maximize the information on the screen. You can do this with the \s-2CTRL\s0(Z) operation. .PP .B "Operation errors." If an operation formation or execution error occurs the terminal bell is rung and any partially formed command is discarded. The bell is also rung when a \s-2DELETE\s0 is used to cancel an operation and when an \s-2ESC\s0 is sent when no operation is in progress. .PP .B Escape. The \s-2ESC\s0 escape character is extensively used in .I open and .I visual . As we saw above, it is used to terminate text input. It is also used to abort partially formed commands. Thus `4\s-2ESC\s05x' will delete 5 characters; here we changed our mind after typing a `4' and cancelled it with \s-2ESC\s0 to start anew with a `5'. If \s-2ESC\s0 is hit when there is no partially formed command in progress, the editor will ring the bell to let you know that nothing is happening. .PP .B "Getting out." To get out of .I open or .I visual you should use the `q' quit operation. If you hit two successive \s-2DELETE\s0 (i.e. \s-2RUBOUT\s0) characters or a single \s-2QUIT\s0 character, you will also drop out of .I open or .I visual . .PP .B "Bombing out." If you find a bug in the editor, or if a problem occurs in the system you may find the editor ungracefully terminating either just an .I open or .I visual command or the entire session. In this case, you may be left with the terminal in a funny state so that keys do not echo when you hit them. The thing to note in this situation is that your normal erase character and kill line sequences will, most likely, not work, and also that the carriage return character may be different from the new-line character, the former being, quite often, non-functional. The way to recover from this is to type the command:\u\s-2\(dg\s0\d .DS .B "stty cooked echo \-nl" .DE .FS \(dg If you are lucky, your system may have the .I tset command which performs this function without requiring any arguments. Then all you will have to do is type `tset' followed by a new line character, possibly preceded by a `!' if the editor is still with you. .FE If you are still talking to the editor you will have to put the escape `!' in front of this command. Note especially that you must type this command without mistakes, and that you must terminate it with a newline. (This entire operation may be difficult because you won't be getting any echo from the system.) If you make a mistake, just send the mangled line with a newline and start over. If you stick a single, unmatched `\(aa' on the end of the line, the shell will scream about the syntax error and not execute the garbage you typed. .PP .B Sync. If you have made a number of changes and wish to insure them against a system crash, you can invoke the .I sync command from within .I visual or open via the \s-2CTRL\s0(S) operation. .br .ne 30 .bp .SH Operation descriptions .PP .B "Scope of operation." All changes in .I open or .I visual are limited in scope to the visible screen text. Each single change may be reversed with the undo `u' operation. In addition, a disastrous .I open or .I visual command may be completely undone at the command level. .PP .B "Format of the operations." Most operations take an optional preceding count, given as a decimal number (not starting with a digit `0'). A number of operations take a following .I text string which is inserted into the buffer as specified by the operation. Some operations take a following operation, called the targeting operation, to indicate the scope on which they are to have effect. This second ``targeting'' operation specifies the cursor motion for the first operation. Thus a simple operation would be `x' deleting the (single) character under the cursor. We could delete two characters by specifying `2x' or `xx', the former being preferred. An example of an operation which takes targeting is delete `d', thus `dw' will delete a word. Finally, the insert operation is typified by `ifoo\s-2ESC\s0' where here the text `foo' is inserted before the current cursor position. The character \s-2ESC\s0 here is used to terminate the text input. .PP .B "Definition of ``word''." There are two different definitions of ``word'' used in .I open and .I visual . The primary definition is a sequence of letters, digits, and underscores, or a sequence of other (non-white) characters followed by trailing white space (blanks and tabs). This is the conservative definition of word. The other, liberal, definition of a ``word'' treats it simply as a maximal sequence of non-blanks with trailing white space. There are two sets of word operations; `w' and `b' are conservative, `W' and `B' liberal. The back word \s-2CTRL\s0(W) operation in text insert mode is liberal; it is especially useful for fast typists who want to quickly and accurately back over several mangled input words. .PP .B "Intraline motion operations." There are four basic kinds of intraline motion operations \- those dealing with characters, those dealing with ``words'', those dealing with targets (either single characters or specified column positions), and, finally, special motions e.g. to the beginning of, first non-blank character of, or end of a line. The basic character oriented operations are \s-2SPACE\s0 advancing one position to the right and \s-2CTRL\s0(H) a backspace which backs up to the right.\u\s-2\(dg\s0\d .FS \(dg On the \s-2ADM-3A\s0 the control functions of the keys `h', `j', `k', and `l' perform the left, down, up, and right cursor motions respectively. Hence, for convenience on this most commonly available terminal, the operations `h', `j', `k' and `l' perform as their control-key counterparts in repositioning the cursor. Thus, in the present cases, `h' works as well as \s-2CTRL\s0(H), and `l' is equivalent to \s-2SPACE\s0. .FE The basic word oriented operations are `w' moving forward to the beginning of the next word, and `b' moving backward to the beginning of the preceding word. .PP .B "Single character targets." The character targeting operations are `f', `F', `t' and `T'. Each takes a single following character and searches the current line for that character. The lower case operations search to the right, the upper case operations to the left. The `f' and `F' (find) operations are inclusive; that is, they reference through to the specified characters. The `t' and `T' (to) operations are not inclusive but rather move the cursor up to the specified target. .PP .B "Special motions." The special intraline motion sequences are `^' specifying the first non-blank character on the line; `$' specifying the last character on the line; and `0' specifying the first position on the line. Finally, there is an operation `|', used with a preceding count, which references the column position specified by the count, much as a `f' operation would. .PP .B "Operators and targeting operations." Some operations are actually prefix operators, taking another operation, called the targeting operation or .I target after them to indicate the scope on which they are to have effect. There are four such operations \- `c' change, `d' delete, `g' grab, and `y' yank. The first two are by far the most important. The targeting operation must be a intraline motion sequence. Thus `c2w' could begin an operation changing the next two words in the current line, while `dt)' would delete the text up to the next `)' character in the current line. .PP .B "Interline motions." The most primitive interline motion operations are those which advance integral numbers of lines, typified by a carriage return \s-2CR\s0 or new line \s-2NL\s0. There are two kinds of such operations in each direction \- the pure cursor motion operations which maintain the current column position as much as possible, and the motion sequences which advance to the first non-blank position of the target line. .PP Interline motions which respect the current column position include `k' (also \s-2CTRL\s0(K) on an \s-2ADM-3A\s0) moving up a line, and \s-2NL\s0 or `j' or \s-2CTRL\s0(J) moving down a line. Motion sequences which place the cursor in the first non-blank position are `+' or \s-2CR\s0 moving down, and `\-' moving up. These motion sequences take counts thus `5\-' will move back five lines. There are also special sequences `H' for home which returns the cursor to the first non-blank character of the first line on the screen, and `L' to the first non-blank character of the last. .PP .B Insertion. Text insertion is indicated by .I text in the operation descriptions below. Pure text insertion is begun with the `i' or `a' operations and continues to an \s-2ESC\s0. If the first character of .I text is the null character, generated by a \s-2CTRL\s0(@), then the previous inserted text is re-used. .I Text may contain new-line characters which cause the current line to be split and a new line to be added to the buffer. A number of control characters may be used to edit the inserted text while inserting. These include \s-2CTRL\s0(H) to back over a character, \s-2CTRL\s0(W) to back over a word (liberal definition), `@' to delete the (current line portion) of the input. Also, the character \s-2CTRL\s0(X) is interchangeable with `@' here and as an deleting operation. To enter any of these special characters into the input line they must be preceded by a `\e'. This applies also to the \s-2DELETE\s0, \s-2QUIT\s0 and \s-2CTRL\s0(D) characters. The first two normally cause termination of the text insert; \s-2CTRL\s0(D) is used as a backtab in .I autoindent and otherwise normally ignored. .PP Convenient intraline insertion abbreviations are `I' adding text before the first non-blank of the current line, and `A' adding text at the end of the line. These are similar to the two character sequences `^i' and `$a' respectively. .PP .B Deletion. The deletion operator `d' may be placed before any intraline motion sequence to form a deleting operation, deleting the moved over text from the current line. Thus `dw' will delete a word while `d40|' will delete to column 40. Convenient deletion abbreviations are `x' deleting characters, `X' deleting the specified number of preceding characters, and `#', similar to `X' except that it deletes the character at the cursor while `X' deletes the character before the cursor. Finally there are the abbreviations `D' which deletes to the end of the line, i.e. `d$', and `@' which deletes to the beginning of the line, i.e. `d0'. Note also that the operation \s-2CTRL\s0(X) is a synonym for `@'. .PP .B Change. Similar to the delete operations are the change operations, which are formed with `c' and any motion sequence. The specified text is deleted, indicated by marking the right end of it with a `$' character, and then the input up to an \s-2ESC\s0 replaces it. Thus `cwfoo\s-2ESC\s0' will replace the current word with the word `foo'. Useful abbreviated changes are `C' which changes the rest of the line, i.e. `c$', and `s' which changes the number of characters specified by the preceding count. .PP .B Replace. There are two forms of the replace operation. The first, `r', replaces the single character under the cursor with the single following character (no terminating \s-2ESC\s0 is required.) The second form `R' replaces as many following characters as are typed with the new input characters. This operation is essentially an ``overstrike'' much as a normal terminal display functions. It is useful in editing pictures and other data where a fixed field size is to be maintained. .PP .B "Interline inserts." Some operations add a new line to the buffer. These ignore the cursor position on the current line, and do not split it, rather creating a new line. The two operations of this type are `o' which adds a new line after the current line and `O' which adds a new line before the current line. In both cases, following text up to an \s-2ESC\s0 defines one or more new lines. A count may be usefully given before `o' or `O' indicating the number of physical lines to be opened up. If this is an estimate of the number of lines to be added it can help to minimize the output required to redraw the screen on terminals which are unintelligent. Thus an appropriate beginning of a sequence to add three new lines after the current line would be `3o'. .PP .B "Line deletes, joins." Lines may be deleted from the buffer using the command `\e\e' (two backslashes) or joined together using `J'. A specified number of lines may be replaced with new text conveniently using the line substitute operation `S'. .PP .B "Interline scans." It is possible to scan between lines for text specified by a regular expression and, in .I visual , to specify where this line is to appear on the screen if it must be redrawn. Forward scans are begun with `/' and backward scans with `?'. After hitting `/' or `?' you enter the pattern you wish to scan for and it is shown on the bottom line of the screen. You can terminate the pattern either with an \s-2ESC\s0 or a \s-2CR\s0 or \s-2NL\s0; to abort a partially formed scanning operation you can type a \s-2DELETE\s0 or \s-2RUBOUT\s0 character. If the search fails the bell is rung, the scan delimiter `/' or `?' is replaced with a `F' indicating a failed search, and the cursor returns to its previous position with typeahead discarded. If the search succeeds then the cursor is placed at the beginning of the string which matched. The screen is redrawn with the line matched in the center unless (in .I visual only) a specific positioning request has been made by following the pattern with `z' or `v' and then one of `\(ua', `-', `.', or a \s-2CR\s0 or \s-2NL\s0 specifing the top of the screen. .PP .B "Scrolling." The operation \s-2CTRL\s0(D) may be used, as in command mode, to effect a scroll. The number of lines to be scrolled may be specified by a preceding count; this count will hold for succeeding .I open and .I visual scrolls until respecified. .PP .B "Context displays." Sequences `z\fItype\fR' and `v\fItype\fR' may be equivalently used to specify context display as in command mode. In .I open mode the .I type is not required and a command mode like `z=' command is always done. In .I visual .I type may be any of `\(ua', `-', `\fB.\fR' or \s-2CR\s0 or \s-2NL\s0 specifying the top of the screen. .PP .B Memory. The editor remembers the last .I visual or .I open command and associated data in each of several categories and allows it to be respecified by a very short, one character sequence. .IP .B "Last single character scan." The last of the targeting operations .I f , .I F , .I t , and .I T is remembered with the character supplied to it. This combination is used again through the operation `;'. .IP .B "Last interline scan." The last of the interline scans using `/' or `?' is remembered and may be repeated with the operation .I n (next.) .IP .B "Last modifying command." The last command which modified the buffer is remembered and may be repeated by the command form `\fB.\fR'. .IP .B "Last inserted text." The text which was last inserted (up to 128 characters) is remembered and may be specified in future operation by a null character, generated by a \s-2CTRL\s0(@). This is given when .I text would begin, instead of .I text. The \s-2ESC\s0 terminating the .I text is not needed. If there is no previous inserted text, or if the previous inserted text was longer than 128 characters, the bell is rung and the operation completes inserting no text. If the aborted operation was a scan via `/' or `?', then it aborts as though it had been cancelled with a \s-2DELETE\s0 character. .IP .B "Last deleted text." The last deleted text which was part of a single line (up to 128 characters) is remembered. If the last thing deleted was one or more lines, then this will be remembered instead. There are put operations `p' and `P' which allow this deleted text to be returned to the buffer. Note that a number of operations set both the deleted and inserted text (notably change operations.) .sp .PP .B "Grab, yank, and put." There are two related operators yank `y' and grab `g' which take a motion sequence target and pretend it was the previous inserted or deleted text respectively. The grab `g' operation is especially useful when you wish to search for something on the screen \- you can grab it, e.g. if it is a word with `gw', and then do a scan defaulting the search with a null character, i.e.: `/\s-2CTRL\s0(@)'. There are also operations `p' and `P' which put text which was deleted back into the buffer. If the previous deletion was of lines, then these operations will add new lines with the same text after or before the current line respectively. Similarly if the previous deletion was a part of a line, then the text will be put after/before the cursor position in the current line. There is also an operation `Y' which yanks a specified number of lines as though they had been deleted but does not delete them. This can be used to copy lines. As an example, the sequence `Yp' places a copy of the current line after the current line. .PP .B "Interline motions." The are a number of interline motion sequences dealing with the mark registers and specific line numbers. The operation `G' causes the line specified by the preceding count to become the current line. If this line is on the screen, then the screen is not redrawn. The default line for `G' if no count is given is the last line of the file. Thus `G' is the easiest way to get to the end of the file. .PP The sequences `\(aa\fIx\fR' where \fIx\fR is a single lower case letter cause the display to return to the specified marked line, with the marked line in the center. The previous context mark `\(aa\(aa' may also be requested here, and it is set by the searching operations `/' and `?', the `G' operation, the mark operations `\(aa\fIx\fR', and the `v' or `z' operations when a count is given. Marks may be set while in .I visual or .I open by using the .I K operation and following it by a single lower case letter specifying the register to be marked. .SH Miscellaneous notes on visual and open .PP The options .I beautify and .I indicateul are suppressed in .I open and .I visual . All the features of .I autoindent are available. If the cursor is at a tab character in the line which is represented by a number of blanks, it is placed at the last blank. Lines yanked with `Y' or deleted with `\e\e' may be put with `p' or `P' in a later .I visual or .I open command only so long as no .I edit or .I next command intervenes. It is not possible to .I undo an appending operation in .I open or .I visual which resulted in the creation of more than a screen full of lines. An operation affecting only the text within a single line is undoable only while the cursor remains on that line. .bp exrefm9.nßu­% ¤‘£.if !\n(xx .so tmac.e .SH Visual and open mode summary .PP The following table summarizes the .I visual and .I open operations. For each operation we indicate its general form, whether it can take a .I count , and whether it can be used as a .I targeting operation. .TS H allbox; c s s s l | c | c | lw(45) l | l | l | l. Open and visual operations _ Operation Count? Target? Description _ .TH a\fItext\|\fR\s-2ESC\s0 yes no Append \fItext\fR after cursor b yes yes Backwards words c\fItarget\fR\|\fItext\|\fR\s-2ESC\s0 no no \fRChange \fItarget\fR to \fItext\fR d\fItarget\fR yes no Delete \fItarget\fR e yes yes To end of word (unimplemented) f\fIchar\fR yes yes Find \fIchar\fR to right of cursor g\fItarget\fR no no Define previous inserted text h (\(<-) yes yes Backwards characters (like \s-2CTRL\s0(H)) i\fItext\|\fR\s-2ESC\s0 yes no Insert \fItext\fR before cursor j (\(da) yes no Cursor down lines, same column if possible k (\(ua) yes no Cursor up lines, same column l (\(->) yes yes Forwards character n no no T{ To next line matching the previous .I scanning regular expression (as described below) in the direction of the previous .I open or .I visual intraline search using `/' or `?'. T} o\fItext\fR\|\s-2ESC\s0 yes no T{ Open a new line after the current line leaving room for the specified number of physical lines. Enter text insert mode on that line. T} p no no T{ Put the text lines last deleted with `\e\e' or the last yanked `Y' lines after the current line. If the last deletion was of part of a line rather than a `Y' or `\e\e' then that deleted text is place in the current line after the cursor. T} q no no T{ Quit \fIopen\fR or \fIvisual\fR, returning to command mode. The command level .I undo can reverse the entire .I open or .I visual command. T} r\fIchar\fR yes no T{ Replace each of the specified number of characters with a \fIchar\fR T} s\fItext\fR\|\s-2ESC\s0 yes no T{ Replace the specified number of characters with the specified \fItext\fR T} t\fIchar\fR yes yes Cursor right to just before \fIchar\fR u no no Undo last change v no no T{ (In \fIopen\fR) do command mode `z=' returning to \fIopen\fR mode on current line. T} v\fIspec\fR yes no T{ (In .I visual ) with \fIspec\fR one of `\fB.\fR', `\-', `\(ua' or `^', `+', or .SM CR or .SM NL does the specified type of .I visual command at the specified line, defaulting to the current line T} w yes yes Forward to beginning of each word x yes no Delete characters y\fItarget\fR no no Define previous deleted text z - - Synonym for \fIv\fR A\fIstr\fR\|\s-2ESC\s0 yes no Append at end (short for `$a') B yes yes Back word (simple blank/non-blank) C\fIstr\fR\|\s-2ESC\s0 no no Change to end (short for `c$') D no no Delete to end (short for `d$') E yes yes Back to end of previous word (unimplemented) F\fIchar\fR yes yes Find \fIchar\fR to left of cursor G yes no Goto specified line; last line default H no no To first non-blank on first screen line I yes no Insert before first non-blank character (i.e. `^i') J yes no Join lines K\fIx\fR no no Mark current line in mark register \fIx\fR L no no To first non-blank character on last screen line O\fItext\fR\|\s-2ESC\s0 yes no Like \fIo\fR but before current line P no no Like \fIp\fR but before current line or before cursor R\fItext\fR\|\s-2ESC\s0 no no Replace (overstrike) with input \fItext\fR S\fItext\fR\|\s-2ESC\s0 yes no Replace specified number of lines T yes yes Like \fIt\fR but scanning to left of cursor W yes yes Forward word (simple blank/non-blank) X yes no Delete preceding characters Y yes no T{ Yank lines, copying them without deleting them so that they may be put with \fIp\fR or \fIP\fR. T} \s-2SPACE\s0 yes yes Right one character 0 no yes To first character of line \(ua or ^ no yes To first non-white character $ no yes To end-of-line @ no no Delete characters before cursor # yes no T{ Delete characters backwards, starting with the character under the cursor T} \&\fB.\fR no no Repeat last modifying command ; yes yes Repeat last \fIf\fR, \fIF\fR, \fIt\fR, or \fIT\fR operation \e\e yes no Delete lines + or \s-2CR\s0 yes no Forward lines to first non-blank \- yes no Backwards lines to first non-blank /\fIre\fR\|\s-2ESC\s0 no no T{ Forward to first line matching \fIre\fR. To cancel the search, send a \s-2DELETE\s0 or \s-2RUBOUT\s0. T} ?\fIre\fR\|\s-2ESC\s0 no no To previous line matching \fIre\fR /\fIre\fR\|/z\fItype\fR\|\s-2ESC\s0 no no T{ (In visual) performs the specified type of a .I z or .I v command before the target specified with /\fIre\|\fR/ or ?\fIre\fR?. T} | yes yes T{ To specified column or column before last up/down line movement T} \s-2CTRL\s0(D) yes no T{ Down \fIscroll\fR lines; in \fIvisual\fR hold the cursor's relative position on the screen. If a count is given it becomes the number of logical lines to scroll in .I open or .I visual until another such count is given. T} \s-2CTRL\s0(S) no no Do a \fIsync\fR command \s-2CTRL\s0(W) yes yes Synonym for `B' \s-2CTRL\s0(X) no no Synonym for `@' \s-2CTRL\s0(Z) no no Maximize information on screen (clean-up) \s-2ESC\s0 - - Cancel partially formed command \s-2RUB\s0 - - T{ Cancel a partially formed command. If repeated, drop out to \fIcommand\fR mode T} \s-2QUIT\s0 - - Drop out to \fIcommand\fR mode .TE .SH Text insertion mode corrections .PP The following sequences are used in making corrections to text being added in .I "text insertion" mode. They are also used when entering the regular expression .I re for a interline search using `/' or `?'. .TS box center; c s l | l a | l. Text insertion mode editing sequences _ Sequence Action _ \s-2CTRL\s0(H) Back a character @ Delete all input on current line \s-2CTRL\s0(X) Synonym for `@' \s-2CTRL\s0(W) Delete a word (simple blank/non-blank definition) \s-2RUB\s0 Drop out of text insert, and also \fIvisual\fR or \fIopen\fR \s-2QUIT\s0 Like \s-2RUB\s0 \e\fIspecial\fR With special any of the above chars, gives \fIspecial\fR \s-2CR\s0 or \s-2NL\s0 End current line, rest of text to a new, following line \s-2ESC\s0 Terminate the \fItext\fR .TE .bp iexrefma.nß„«% ¤‘Ú.if !\n(xx .so tmac.e .SH Substitute replacement patterns .PP There are several metacharacters which may be used in substitute replacement patterns. As is the case for the regular expression metacharacters, there are fewer replacement pattern metacharacters if .I nomagic is set. This is discussed more below. In fact, with .I nomagic the only replacement pattern metacharacter is the escaping `\e' (this is the default for \fIedit\fR). .PP The basic metacharacters for the replacement pattern are `&' and `~'. These are given as `\e&' and `\e~' when .I nomagic is set. The metacharacter `&' is by far the most important of these. Each instance of this metacharacter is replaced by the characters which the regular expression matched. Thus the substitute command .DS \fBsubstitute\fR/some/& other/ .DE will replace the string `some' with the string `some other' the first time it occurs on the current line. The metacharacter `~' stands, in the replacement pattern, as it did in regular expression formation, for the defining text of the previous replacement pattern. .PP Other metasequences are possible in the replacement pattern, and are introduced by the escaping character `\e'; this is the default for .I edit . The sequence `\e\fIn\fR' is replaced by the text matched by the \fIn\fR-th regular subexpression enclosed between `\e(' and `\e)'.\u\s-2\(dg\s0\d .FS \(dg When nested, parenthesized subexpressions are present, \fIn\fR is determined by counting occurrences of `\e(' starting from the left. .FE The metasequences `\eu', `\el', `\eU', `\eL', and `\eE' and `\ee' are used to perform systematic case conversion of letters. The sequences `\eu' and `\el' cause the immediately following character in the replacement to be converted to upper- or lower-case respectively if this character is a letter. The sequences `\eU' and `\eL' turn such conversion on, either until `\eE' or `\ee' is encountered, or until the end of the replacement pattern. By bracketing selected portions of a regular expression with `\e(' and `\e)' and using `\eU' or `\eL' it is possible to systematically capitalize entire words or phrases. .SH Regular expressions .PP .Ex supports a form of regular expression notation. A regular expression specifies a set of strings of characters. A member of this set of strings is said to be .I matched by the regular expression. Regular expressions may be used in locating or selecting lines by their content, in .I open and .I visual modes to position the cursor within the file, and in the .I substitute command to select the portion of a line to be substituted. .PP .Ex remembers two previous regular expressions: the previous regular expression used in a .I substitute command and the previous regular expression used elsewhere (referred to as the previous \fIscanning\fR regular expression.) The previous regular expression can always be referred to by a null \fIre\fR, e.g. `//' or `??'. .SH Magic and nomagic .PP The regular expressions allowed by .I ex are constructed in one of two ways depending on the setting of the .I magic option. The .I ex default setting of .I magic gives quick access to a powerful set of regular expression metacharacters. The disadvantage of .I magic is that the user must remember that these metacharacters are .I magic and precede them with the character `\e' to use them as ``ordinary'' characters. With .I nomagic , the default for .I edit , regular expressions are much simpler, there being only two metacharacters. The power of the other metacharacters is still available by preceding the (now) ordinary character with a `\e'. Note that `\e' is thus always a metacharacter. .PP The remainder of the discussion of regular expressions assumes that that the setting of this option is .I magic . To discern what is true with .I nomagic it suffices to remember that the only special characters in this case will be `\(ua' at the beginning of a regular expression, `$' at the end of a regular expression, and `\e'.\u\s-2\(dd\s0\d .FS \(dd With .I nomagic the characters `\s+2~\s0' and `&' also lose their special meanings related to the replacement pattern of a substitute. .FE .SH Basic regular expression summary .PP The following basic constructs are used to construct .I magic mode regular expressions. .TS H allbox center; c s c l c aw(65). Basic regular expression forms Form Meaning .TH char T{ An ordinary character which matches itself. The character `\(ua' (`^') at the beginning of a line, `$' at the end of line, `*' as any character other than the first, `.', `\e', `[', and `\s+2~\s0' are not ordinary characters and must be escaped (preceded) by `\e' to be treated as such. T} \(ua T{ Up-arrow (or circumflex `^') at the beginning of a pattern forces the match to succeed only at the beginning of a line. T} $ T{ At the end of a regular expression forces the match to succeed only at the end of the line. T} \&\fB.\fR T{ A period character matches any single character except the new-line character. T} \e< T{ This sequence in a regular expression forces the match to occur only at the beginning of a ``variable'' or ``word''; that is, either at the beginning of a line, or just before a letter, digit, or underline and after a character not one of these. T} \e> T{ Similar to `\e<', but matching the end of a ``variable'' or ``word'', i.e. either the end of the line or before character which is neither a letter, nor a digit, nor the underline character. T} [\fIstring\fR] T{ A string of characters enclosed in square brackets matches any (single) character in the class defined by .I string . Most characters in .I string define themselves. A pair of characters separated by `\-' in .I string defines the set of characters collating between the specified lower and upper bounds, thus `[a\-z]' as a regular expression matches any (single) lower-case letter. If the first character of .I string is an `\(ua' or `^' then the construct matches those characters which it otherwise would not; thus `[^a\-z]' matches anything but a lower-case letter (and of course a newline). To place any of the characters `\(ua', `^', `[', or `\-' in .I string you may escape them by preceding them with a `\e'. T} .TE .PP More complicated regular expressions are built by putting these simple pieces together. The concatenation of two regular expressions matches the longest string which can be divided with the first piece matching the first regular expression and the second piece matching the second. Thus the regular expression `\fB..\fRe' will match any three characters ending in the character `e', while `^[aeiou]' matches any vowel which appears at the beginning of a line. .PP Any of the (single character matching) regular expressions mentioned above may be followed by the character `*' to form a regular expression which matches any number of adjacent occurrences (including 0) of characters matched by the regular expression it follows. The character `\s+2~\s0' may be used in a regular expression, and matches the text which defined the replacement part of the last .I substitute command. A regular expression may be enclosed between the sequences `\e(' and `\e)' with side effects in the .I substitute command, and an escaped digit, e.g. `\e1', matches the text which was matched by the corresponding previous `\e(' and `\e)' bracketed expression, numbered in order of occurrence of the `\e(' delimiters. .bp exrefmb.nß„«% ¤‘5'.if !\n(xx .so tmac.e .SH Option descriptions .LC autoindent, ai default: noai .HP The .I autoindent option can be used to ease the preparation of structured program text. At the beginning of each .I append , .I change or .I insert command or when a new line is .I opened or created by an .I append , .I change , .I insert , or .I substitute operation within .I open or .I visual mode, .EX looks at the line being appended after, the first line .I changed or the line inserted before and calculates the amount of white space at the start of the line. It then aligns the cursor at the level of indentation so determined. .IP If the user then types lines of text in, they will continue to be justified at the displayed indenting level. If more white space is typed at the beginning of a line, the following line will start aligned with the first non-white character of the previous line. To back the cursor up to the preceding tab stop one can hit \s-2CTRL\s0(D). The tab stops going backwards are defined at multiples of the .I shiftwidth option. You .B cannot backspace over the indent, except by sending an end-of-file with a \s-2CTRL\s0(D). .IP Specially processed in this mode is a line with no characters added to it, which turns into a completely blank line (the white space provided for the .I autoindent is discarded.) Also specially processed in this mode are lines beginning with an `^' or `\(ua' and immediately followed by a \s-2CTRL\s0(D). This causes the input to be repositioned at the beginning of the line, but retaining the previous indent for the next line. Similarly, a `0' followed by a \s-2CTRL\s0(D) repositions at the beginning but without retaining the previous indent. .IP .I Autoindent doesn't happen in .I global commands or when the input is not a terminal. .LC autoprint, ap default: ap .HP The .I autoprint option causes the current line to be printed after each .I delete , .I copy , .I join , .I move , .I substitute , .I tabulate , .I transcribe , .I undo , .I xpand or shift command. This has the same effect as supplying a trailing `p' to each such command. .I Autoprint is suppressed in globals, and only applies to the last of many commands on a line. .LC beautify default: nobeautify .HP Causes all control characters except tab, newline and form-feed to be discarded from the input. A complaint is registered the first time a backspace character is discarded. .I Beautify does not apply to command input, or to text insertion mode. It applies only when you have entered text input mode by issuing a .I insert , .I delete , or .I change command from command mode. .LC directory, dir default: dir=/tmp .HP The .I directory option specifies the directory in which .I ex places it buffer file. If this directory in not writable, then the editor will exit abruptly when it fails to be able to create its buffer there. .LC edited no default .HP The current file is considered to be .I edited when the buffer contents are directly related to it. In this case the .I write command will write to the file even though it exists. In all normal editing patterns the current file is considered .I edited . .IP When the current file name is explicitly changed by the .I file command, then the file is not considered .I edited to protect a previous existing file of the same name from accidental destruction. .IP If a file is not successfully read in by an .I edit command, then it is not considered .I edited so that the possibly incomplete image of the file in the editing buffer will not be accidentally written over its contents. .LC editany, ea default: noea .HP Disables the .I edit and .I read command file sensibility checks. .LC errorbells, eb default: eb .HP If .I eb then error messages are preceded by two bells. The bell ringing in .I open and .I visual on errors is not suppressed by setting .I noeb . .LC fork default: fork .HP If .I nofork shell escapes will be inhibited the first time they are attempted if there has been ``No write'' of the buffer since the last change occurred. In this case, the aborted command can be repeated by using the command form `!!'. If .I fork , the default, a warning is given, but the command is given to a shell for execution anyways. .LC home default: user-dependent .HP The .I home directory is an image of the user's entry in the .I htmp data base. It is used initially as the origin of the file .B \&.exrc and is the default directory for the .I chdir command. .LC hush default: nohush .HP Inhibits interactive diagnostic information including prompts, printing of file names, line and character counts, command feedback, and echoing by the `!' shell escape. .LC ignorecase, ic default: noic .HP If .I ignorecase is set, all upper case characters in the text are mapped to lower case in regular expression matching. In addition, all upper case characters in regular expressions are mapped to lower case except in character class specifications. .LC indicateul, iu default: noiu .HP If .I indicateul is set, non-blank characters overstruck with underlines (and vice-versa) cause output lines to be split into two parts for printing \- the text and the underlining. .LC list default: nolist .HP If .I list is set, all printed lines will be displayed (more) unambiguously, as is done by the .I list command. .LC magic default: magic\u\s-2\(dg\s0\d .FS \(dg Default is \fInomagic\fR for \fIedit\fR. .FE .HP If .I nomagic is set, the number of regular expression metacharacters is greatly reduced, with only `\(ua' or `^' and `$' having magic effects. In addition the metacharacters `~' and `&' of the replacement pattern are treated as normal characters. All the normal metacharacters may be made .I magic when .I nomagic is set by preceding them with a `\e'. .LC mode default: mode=644 .HP .I Mode is the value the permission bits of any file created by the .I write command will have initially. The default allows reading and writing of the created file by its owner, as well as reading of the file by others. .LC notify default: notify=5\u\s-2\(dd\s0\d .FS \(dd \fINotify\fR=1 for \fIedit\fR. .FE .HP The .I notify option specifies a threshold for feedback from commands. Any command which modifies more than the specified number of lines will provide feedback as to the scope of its changes. For commands such as .I global , .I open , .I undo , and .I visual which have potentially more far reaching scope, the net change in the number of lines in the buffer is presented at the end of the command, subject to this same threshold. Thus notification is suppressed during a .I global command on the individual commands performed. .LC number default: nonumber .HP The .I number option may be set to cause all output lines to be printed with their line numbers. In addition each input line will be prompted for by supplying the line number it will have. .LC open default: open\u\s-2\(dg\s0\d .FS \(dg \fINoopen\fR for \fIedit\fR. .FE .HP If .I noopen then the commands .I open and .I visual are not permitted. This is set for .I edit to prevent confusion resulting from accidental entry to .I open or .I visual mode. .LC optimize default: optimize .HP If .I optimize is set, and the terminal permits, throughput of text is expedited by setting the terminal to not do automatic carriage returns and to .I noecho mode when printing more than one (logical) line of output. This can greatly speed output on terminals without addressible cursors if leading blanks are present, but causes all type-ahead to be lost. With .I optimize , after a multi-line print you cannot type ahead until the prompt reappears. .LC printall, pa default: noprintall .HP If .I printall is set then all characters will be printed in the output as they appear in the line when the .I print command is used. Normally, the blanks and tabs in the line may be rearranged or replaced with cursor addressing to improve throughput, and non-printing characters are printed as `?'. With .I printall these modifications to the pure line text are suppressed. .LC prompt default: prompt .HP Command mode input is prompted for with a `:' if the .I prompt option is set. .LC scroll default: scroll=12 .HP The .I scroll option determines the number of logical lines scrolled when an end-of-file is received from a terminal input. .LC shell, sh default: sh=/bin/sh .HP The .I shell option gives the path name of the shell forked for the shell escape command `!'. .LC shiftwidth, sw default: sw=8 .HP The .I shiftwidth option gives the width a software tab stop. This is used in reverse tabbing with \s-2CTRL\s0(D) when using .I autoindent to append text, and by the shift commands. Note that the tab character always references tab stops every eight positions and is .B not affected by this option. .LC sticky default: nosticky .HP If .I sticky is set then flags like `l', `#' and `:', given after a command, stick around until new flags are specified, allowing more lines to be printed in the same way without permanently changing options or continually hitting these keys. .LC terse default: noterse .HP If .I terse is set, shorter error diagnostics are produced. These are designed for the experienced user. .LC ttytype, tty default: terminal dependent .HP This option gives the terminal type of the output device. Setting .I ttytype indicates the special capabilities of the terminal in use. Current terminal types are defined by the .I ttycap data base. This data base is conveniently handled using the .I ttytype program. For most hard-wired ports, .I ttytype should be set correctly automatically. A mechanism exists using .I ttytype (VI) for setting the type semi-automatically on dial-up lines. .LC visualmessage, vm default: novm .HP Interconsole messages are prohibited during .I visual commands if .I novm is set. .LC window default: window=23 .HP The number of lines in a text window for the .I z command is specified by the .I window option. .LC wrap default: wrap .HP If .I nowrap then searches using the regular expressions in addressing will not wrap around past the end of the file. aexrefmc.nß„«% ¤�€.if !\n(xx .so tmac.e .SH Limits .PP The editor limits that the user is likely to encounter are as follows: 512 characters per line, 256 characters per global command list, 64 characters per file name, 128 characters in the previous inserted and deleted text in .I open or .I visual, 100 characters in a shell escape command, 30 characters in a string valued option, and 256K characters in the temporary file.\u\s-2\(dg\s0\d .FS \(dg Repeated blanks and tabs are compressed in the temporary file, as are blanks between ``words''. This makes the buffer effectively larger than 256K characters; if the file being edited contains many repeated blanks, it may be editable even if it is larger than 256K. .FE The limit on the number of lines depends on the amount of core: each line takes at least 1 word, and to effect .I undo occasionally up to 2. This editor is much larger than .I ed and on \s-2PDP\s0 11/40's which do not have separate instruction and data space it is limited to about 2000 lines if .I visual or .I open are ever used. If a full core load of user space is not available .EX may not be usable. On a \s-2PDP\s0 11/45 or 11/70 the size of the editor is not a problem as it can run with separate instruction and data. .SH Notes on temporary file overflow .PP This editor uses a temporary file as a workspace. The management of this file is done in the same way as in .I ed . Each line in the file is represented by an in-core pointer to the image of that line on the disk. .PP The important point to note here is that the editor does .I not reclaim space in this temporary file used by lines which are deleted or changed. This means that files which are larger than 128K characters may be difficult to edit. Similarly systematic changes on large numbers of lines may run the editor out of temporary file space. .PP If the editor runs out of temporary space you can write the file and then use an .I edit command to read it back in. This will reclaim the lost space. A better solution is to split the file into smaller pieces or to use a stream editor such as .I gres on the file. .I Gres is described in section I of the .I UNIX Programmers Manual. .R .br .ne 30 tmac.eß„«% ¤�¶'so /usr/lib/tmac.s .if t .tr \(rh- .bd S B 3 .de SM .if "\\$1"" .ps -2 .if !"\\$1"" \s-2\\$1\s0\\$2 .. .de LG .if "\\$1"" .ps +2 .if !"\\$1"" \s+2\\$a\s0\\$2 .. .de HP .nr pd \\n(PD .nr PD 0 .if \\n(.$=0 .IP .if \\n(.$=1 .IP "\\$1" .if \\n(.$>=2 .IP "\\$1" "\\$2" .nr PD \\n(pd .rm pd .. .de LS \"LS - Literal display, ASCII .if \\n(.$=0 .DS .if \\n(.$=1 \\$1 .if \\n(.$>1 \\$1 "\\$2" .if t .tr '\'`\`^\(ua-\(mi .if t .tr _\(ul .. .de LE \"LE - End literal display .DE .tr ''``__--^^ .. .de UX \s-2UNIX\s0\\$1 .. .de PD \s-2PDP\s0 .if \\n(.$=0 11/70 .if \\n(.$>0 11/\\$1 .. .de DK Digital Equipment Corporation\\$1 .. .de UM .I User's Manual .R .. .de EX .I ex \\$1 .. .de Ex .I Ex \\$1 .. .de ED .I ed \\$1 .. .de Ed .I Ed \\$1 .. .de AK The financial support of \\$1 the National Science Foundation under grant MCS74-07644-A03 and .SM IBM under a .SM IBM Fellowship are gratefully acknowledged. .. .de RM .rm AK .rm RM .. .if n .ds dg + .if t .ds dg \(dg .if n .ds dd ~ .if t .ds dd \(dd .if n .ds ** * .if t .ds ** \(** .if n .ds # \u#\d .if t .ds # \u\s-2#\s0\d .if n .nr FM 1.12i .if t .ds b \\fB .if n .ds b \\fI .ds i \\fI .de LC .br .ne 7 .LP .ta 3.0i .. .if !\n(xx .ND .nr xx 1 .if t .tr /\(sl de ED .I ed \\$1 .. .de Ed .I Ed \\$1 .. .de AK The financial support of \\$1 the National Science Foundation under grant MCS74-07644-A03 and .SM IBM under a .SM IBM Fellowship are gratefully acknowledged. .. .de RM .rm AK .rm RM .. .if n .ds dg + .if t .ds dg \(dg .if n .ds dd ~ .if t .ds dd \(dd .if n .ds ** * .if t .ds ** \(** .if n .ds # \u#\d .if t .ds # \u\s-2#\s0\d .if n .nr FM 1.12i .if t .ds b \\fB .if neÿREAD_MEÙ]ø¤�%August 28, 1977 This directory contains source for a version of yacc needed by the Pascal parser. The differences between this yacc and a stadard version 6 yacc are indicated in a comment in y1.c. Note that the standard yacc parser will not work on the tables produced by "eyacc" and also that these changes are really useful only with a fairly large set of error recovery routines which are part of both "pi" and "pxp". The routines are language independent, but the method will only work on languages which have some redundancy in them... it is probably ill suited for C, but would work fine in ALGOL-60, ALGOL-W, EUCLID, LIS, SP/K, PL/1, ALPHARD, CLU, ... I am working on a short document describing the internals of the error recovery technique used in "pi"... It is a simple modification of the Graham/Rhodes technique described in a recent article in the CACM. Bill Joy Computer Science Division EECS Department University of California, Berkeley Berkeley, California 94704 Office: (415) 642-4948 Home: (415) 524-4510 sey.hÙ]ø¤‘:# /* MANIFEST CONSTANT DEFINITIONS */ # define NTBASE 010000 /* internal codes for error and accept actions */ # define ERRCODE 8190 # define ACCEPTCODE 8191 # define errfileno 1 /* file number for erros and reduction message */ # define _tbitset 6 /* 16*_tbitset - 1 >= _nterms */ extern int tbitset; /* number of wds of lookahead vector */ extern int nolook; /* flag to turn off lookahed computations */ struct looksets { int lset[ _tbitset ]; } ; struct item { int *pitem; struct looksets *look; } ; /* output actions */ # define ERRACT 4096 # define SHIFTACT 8192 # define REDUCACT 12288 # define ACCEPTACT 16384 # define _REGISTER register extern int nstate ; /* number of states */ extern struct item *pstate[]; /* pointers to the descriptions of the states */ extern int apstate[]; /* index to actions in amem by state */ extern int actsiz; /* size of the action table array */ extern int tystate[]; /* contains type information about the states */ /* 0 = simple state, completely generated 1 = state awaiting generation 2 = state with an empty production in closure */ extern int stsize ; /* maximum number of states, at present */ extern int memsiz ; /* maximum size for productions and states */ extern int mem0[] ; /* added production */ extern int *mem ; extern int amem[]; /* action table storage */ extern int actsiz; /* action table size */ extern int memact ; /* next free action table position */ extern int nprod ; /* number of productions */ extern int *prdptr[]; /* pointers to descriptions of productions */ extern int prdlim; /* the number of productions allowed */ extern int levprd[] ; /* contains production levels to break conflicts */ /* last two bits code associativity: 0 = no definition 1 = left associative 2 = binary 3 = right associative bit 04 is 1 if the production has an action the high 13 bits have the production level */ extern int nterms ; /* number of terminals */ extern int nerrors; /* number of errors */ extern int fatfl; /* if on, error is fatal */ /* the ascii representations of the terminals */ extern int extval; /* start of output values */ extern struct sxxx1 {char *name; int value;} trmset[]; extern char cnames[]; extern int cnamsz; extern char *cnamp; extern int maxtmp ; /* the size of the temp arrays */ /* temporary vectors, indexable by states, terms, or nterms */ extern int temp1[]; extern int temp2[]; extern int trmlev[]; /* vector with the precedence of the terminals */ /* The levels are the same as for levprd, but bit 04 is always 0 */ /* the ascii representations of the nonterminals */ extern struct sxxx2 { char *name; } nontrst[]; extern int indgo[]; /* index to the stored goto table */ extern int ***pres; /* vector of pointers to the productions yielding each nonterminal */ extern struct looksets **pfirst; /* vector of pointers to first sets for each nonterminal */ extern int *pempty ; /* table of nonterminals nontrivially deriving e */ extern int nnonter ; /* the number of nonterminals */ extern int lastred ; /* the number of the last reduction of a state */ extern int ftable; /* y.tab.c file */ extern int foutput; /* y.output file */ extern int cin; /* current input file */ extern int cout; /* current output file */ extern int arrndx; extern int zzcwset; extern int zzpairs ; extern int zzgoent ; extern int zzgobest ; extern int zzacent ; extern int zzacsave ; extern int zznsave ; extern int zzclose ; extern int zzrrconf ; extern int zzsrconf ; extern char *ctokn; struct {int **ppi;} ; extern int ntlim ; /* maximum number of nonterminals */ extern int tlim ; /* maximum number of terminals */ extern int lineno; /* current line number */ extern int peekc; /* look-ahead character */ extern int tstates[]; extern int ntstates[]; extern int mstates[]; extern struct looksets clset; extern struct looksets lkst[]; extern int nlset; /* next lookahead set index */ extern int lsetsz; /* number of lookahead sets */ extern struct wset { int *pitem, flag, ws[ _tbitset ]; } wsets[]; extern int cwset; extern int wssize; extern int numbval; /* the value of an input number */ extern int rflag; /* ratfor flag */ extern int oflag; /* optimization flag */ extern int ndefout; /* number of defined symbols output */ extern int machine; # define UNIX 1 # define GCOS 2 # define IBM 3 struct looksets *flset(); ey0.cÙ]ø¤�ˆ# define _actsize 2500 # define _memsize 3000 # define _nstates 700 # define _nterms 95 # define _nprod 300 # define _nnonterm 150 # define _tempsize 700 # define _cnamsz 3500 # define _lsetsize 600 # define _wsetsize 400 # define _tbitset 6 int tbitset; /* size of lookahed sets */ int nolook 0; /* flag to suppress lookahead computations */ struct looksets { int lset[ _tbitset ]; } ; struct item { int *pitem; } ; /* this file contains the definitions for most externally known data */ int nstate 0; /* number of states */ struct item *pstate[_nstates]; /* pointers to the descriptions of the states */ int apstate[_nstates]; /* index to the actions for the states */ int tystate[_nstates]; /* contains type information about the states */ int stsize _nstates; /* maximum number of states, at present */ int memsiz _memsize; /* maximum size for productions and states */ int mem0[_memsize] ; /* production storage */ int *mem mem0; int amem[_actsize]; /* action table storage */ int actsiz _actsize; /* action table size */ int memact 0; /* next free action table position */ int nprod 1; /* number of productions */ int *prdptr[_nprod]; /* pointers to descriptions of productions */ int prdlim _nprod ; /* the maximum number of productions */ /* levprd - productions levels to break conflicts */ int levprd[_nprod] {0,0}; /* last two bits code associativity: 0 = no definition 1 = left associative 2 = binary 3 = right associative bit 04 is 1 if the production has an action the high 13 bits have the production level */ int nterms 0; /* number of terminals */ int tlim _nterms ; /* the maximum number of terminals */ /* the ascii representations of the terminals */ int extval 0; /* start of output values */ struct sxxx1 {char *name; int value;} trmset[_nterms]; char cnames[_cnamsz]; int cnamsz _cnamsz; char *cnamp; int maxtmp _tempsize; /* the size of the temp1 array */ int temp1[_tempsize]; /* temporary storage, indexed by terms + nterms or states */ int temp2[_nnonterm]; /* temporary storage indexed by nonterminals */ int trmlev[_nterms]; /* vector with the precedence of the terminals */ /* The levels are the same as for levprd, but bit 04 is always 0 */ /* the ascii representations of the nonterminals */ struct sxxx2 { char *name; } nontrst[_nnonterm]; int ntlim _nnonterm ; /* limit to the number of nonterminals */ int indgo[_nstates]; /* index to the stored goto table */ int ***pres; /* vector of pointers to the productions yielding each nonterminal */ struct looksets **pfirst; /* vector of pointers to first sets for each nonterminal */ int *pempty 0 ; /* table of nonterminals nontrivially deriving e */ int nnonter -1; /* the number of nonterminals */ int lastred 0; /* the number of the last reduction of a state */ int ftable; /* y.tab.c file */ int foutput; /* y.output file */ int arrndx; /* used in the output of arrays on y.tab.c */ int zzcwset 0; int zzpairs 0; int zzgoent 0; int zzgobest 0; int zzacent 0; int zzacsave 0; int zznsave 0; int zzclose 0; int zzsrconf 0; int zzrrconf 0; char *ctokn; int lineno 1; /* current input line number */ int peekc -1; /* look-ahead character */ int tstates[ _nterms ]; /* states generated by terminal gotos */ int ntstates[ _nnonterm ]; /* states generated by nonterminal gotos */ int mstates[ _nstates ]; /* chain of overflows of term/nonterm generation lists */ struct looksets clset; struct looksets lkst [ _lsetsize ]; int nlset 0; /* next lookahead set index */ int lsetsz _lsetsize; /* number of lookahead sets */ struct wset { int *pitem, flag, ws[_tbitset]; } wsets[ _wsetsize ]; int cwset; int wssize _wsetsize; int numbval; /* the value of an input number */ int rflag 0; /* ratfor flag */ int oflag 0; /* optimization flag */ int ndefout 3; /* number of defined symbols output */ int nerrors 0; /* number of errors */ int fatfl 1; /* if on, error is fatal */ int machine; /* has a number describing the machine */ ey1.cÙ]ø¤‘ƒ# include "ey.h" /* * * * * e y a c c * * * * */ /**** NB ----- * * This version of yacc, known as "eyacc" has been slightly but * importantly modified to allow error recovery in the UNIX Pascal * translator "pi" and also in "pix". * * Changes here include: * * 1) Enumeration of test actions when "error" is an input token. * * 2) Change to the encoding of the action entries. Test entries * are encoded as the arithmetic inverse of the symbol being tested * for. This is an optimization that makes the parser run at the * same speed even though, with error productions and enumerated * lookaheads, it would normally be much slower. Of course the * same thing could be done to the regular yacc... * * 3) Different table sizes * * 4) Recognizes form feeds * * 5) Also most of the numbers for the sizes of the tables have been * increased, to an extent to allow for "eyacc"ing of the Pascal grammar * and of a grammar which I have for "EUCLID". * * There seem to be subtle dependencies between the various magic * numbers... I found some of them but to be safe most of the limits * are very generous... for this reason "eyacc" will most likely * have to run separate i/d... no matter. * * Bill Joy * Computer Science Division * EECS Department * University of California, Berkeley * Berkeley, California 94704 * * Office: (415) 642-4948 * Home: (415) 524-4510 ****/ /* features to be fixed up ... *** Print estimate of total space needed for parser *** Either list inputs on y.output, or list empty prdn's in states *** Mention nonterms not used (or, rules. not reduced) as nonfatal error *** Output states where conflicts were found by default on y.output *** Engage in newspeak: production=>grammar rules, term=>token, etc. *** handle # define, #ifdef, etc., in yacc actions, %{ %} */ /* new features to be added *** reductions by single productions ( by request ) *** follow sets for start symbol *** option to only do slr(1) *** easily changed array names on output *** allocate core, rather than predefined *** input controlled by a grammar *** support multiple choices for conflicts *** better conflict diagnostics */ main(argc,argv) int argc; char *argv[]; { auto int n; whereami(); setup(argc,argv); /* initialize and read productions */ tbitset = (nterms+16)/16; cpres(); /* make table of which productions yield a given nonterminal */ cempty(); /* make a table of which nonterminals can match the empty string */ cpfir(); /* make a table of e free first lists */ stagen(); /* generate the states */ output(); /* write the states and the tables */ go2out(); summary(); windup(); } whereami(){ /* sets the variable machine to UNIX, GCOS, or IBM */ int i; i = 1; i = i << 30; if( i == 0 ) { machine = UNIX; return; } i = i << 4; if( i == 0 ){ machine = IBM; return; } machine = GCOS; } windup(){ /* no errors, do the optimization if appropriate */ char *cp; int i; cflush(1); if( !oflag ) cexit(0); for( i=3; i<10; ++i ) cclose(i); switch( machine ){ case GCOS: if( rflag ){ if( foutput<0 ) system( "./yopt -r" ); else system( "./yopt -rv" ); } else { if( foutput<0 ) system( "./yopt" ); else system( "./yopt -v" ); } cexit(0); /* terminate */ case UNIX: cp = "/usr/nlib/yaccopt"; if( rflag ) execl( cp, cp, (foutput<0)?"-r":"-rv", 0 ); else if( foutput<0 ) execl( cp, cp, 0 ); else execl( cp, cp, "-v", 0 ); error( "optimization execl call fails" );  case IBM: if( rflag ){ if( foutput<0 ) system( "MH2019.yaccopt -r" ); else system( "MH2019.yaccopt -rv" ); } else { if( foutput<0 ) system( "MH2019.yaccopt" ); else system( "MH2019.yaccopt -v" ); } cexit(0); } } settty() /* sets the output file to y.output */ { cflush( foutput ); /* a bit of a cheat */ cout = foutput; } settab(){ /* sets the output file to y.tab.c */ cflush( ftable ); cout = ftable; } char *chcopy( p, q ) char *p, *q; { /* copies string q into p, returning next free char ptr */ while( *p = *q++ ) ++p; return( p ); } char *writem(pp) struct item *pp; { /* creates output string for item pointed to by pp */ int i,*p; static char sarr[100]; char *q; for( p=pp->pitem; *p>0 ; ++p ) ; p = prdptr[-*p]; q = chcopy( sarr, nontrst[*p-NTBASE].name ); q = chcopy( q, " : " ); for(;;){ *q++ = ++p==(pp->pitem) ? '_' : ' '; if((i = *p) <= 0) break; q = chcopy( q, symnam(i) ); } *q = '\0' ; return( sarr ); } char *symnam(i){ /* return a pointer to the name of symbol i */ char *cp; cp = (i>=NTBASE) ? nontrst[i-NTBASE].name : trmset[i].name ; if( *cp == ' ' ) ++cp; return( cp ); } summary(){ /* output the summary on the tty */ int i, s, *pn; if( !rflag ){ settab(); printf("\nint nterms %d;",nterms); printf("\nint nnonter %d;", nnonter); printf("\nint nstate %d;", nstate); printf("\nchar *yysterm[] {"); for (i=1;i<=nterms;i++) if( trmset[i].value >= 0400 ) printf("\n\"%s\",",symnam(i)); printf( "\n0 };\n" ); printf("\nchar *yysnter[] {"); for (i=0;i= memsiz) error("memory overflow"); return(omem); } aryfil( v, n, c ) int *v,n,c; { /* set elements 0 through n-1 to c */ int i; for( i=0; ilset; if( pp == 0 ) printf("\tNULL"); else { printf(" { " ); for( j=1; j<=nterms; ++j ){ if( (pp[j>>4]>>(j&017) )&01 != 0 ) printf( "%s ", symnam(j) ); } printf( "}" ); } } cey2.cÙ]ø¤‘/# include "ey.h" # define IDENTIFIER 257 # define MARK 258 # define TERM 259 # define LEFT 260 # define BINARY 261 # define RIGHT 262 # define PREC 263 # define LCURLY 264 # define C_IDENTIFIER 265 /* name followed by colon */ # define NUMBER 266 setup(argc,argv) int argc; char *argv[]; { int i,j,lev,t; int c; foutput = -2; i = 1; while( argc >= 2 && argv[1][0] == '-' ) { while( *++(argv[1]) ){ switch( *argv[1] ){ case 'v': case 'V': foutput = copen("y.output", 'w' ); if( foutput < 0 ) error( "cannot open y.output"); continue; case 'o': case 'O': oflag = 1; continue; case 'r': case 'R': oflag = 1; rflag = 1; continue; default: error( "illegal option: %c", *argv[1]); } } argv++; argc--; } ftable = copen( oflag ? "yacc.tmp" : "y.tab.c" , 'w' ); if( ftable<0 ) error( "cannot open table file" ); if( argc > 1 ) cin = copen( argv[1], 'r' ); if( cin < 0 ) error( "cannot open input" ); settab(); printf("#\n"); ctokn = "$end"; defin(0); /* eof */ extval = 0400; /* beginning of assigned values */ ctokn = "error"; defin(0); ctokn = "$accept"; defin(1); mem=mem0; cnamp = cnames; lev=0; i=0; while( t = gettok() ){ switch( t ){ case IDENTIFIER: j = chfind(0); trmlev[j] = lev;  continue; case ',': case ';': continue; case TERM: lev=0; continue; case LEFT: lev=(++i<<3)|01; continue; case BINARY: lev=(++i<<3)|02; continue; case RIGHT: lev=(++i<<3)|03; continue; case MARK: defout(); if( rflag ){ /* RATFOR */ printf( "define yyerrok yyerrf = 0\n" ); printf( "define yyclearin yychar = -1\n" ); printf( "subroutine yyactr(yyprdn)\n"); printf( "common/yycomn/yylval,yyval,yypv,yyvalv(150)\n" ); printf( "common/yylcom/yychar,yyerrf,yydebu\n" ); printf( "integer yychar, yyerrf, yydebu\n" ); printf( "integer yyprdn,yyval,yylval,yypv,yyvalv\n" ); } else { printf( "#define yyclearin yychar = -1\n" ); printf( "#define yyerrok yyerrflag = 0\n" ); printf( "extern int yychar, yyerrflag;\n" ); printf("\nint yyval 0;\nint *yypv;\nint yylval 0;"); printf("\nyyactr(__np__){\n"); } break; case LCURLY: defout(); cpycode(); continue; case NUMBER: trmset[j].value = numbval; if( j < ndefout && j>2 ) error("please define type # of %s earlier", trmset[j].name ); continue; default: error("bad precedence syntax, input %d", t ); } break; } prdptr[0]=mem; /* added production */ *mem++ = NTBASE; *mem++ = NTBASE+1; *mem++ = 1; *mem++ = 0; prdptr[1]=mem; i=0; /* i is 0 when a rule can begin, 1 otherwise */ for(;;) switch( t=gettok() ) { case C_IDENTIFIER: if( mem == prdptr[1] ) { /* first time */ if( rflag ){ printf( "goto 1000\n" ); } else printf("\nswitch(__np__){\n"); } if( i != 0 ) error( "previous rule not terminated" ); *mem = chfind(1); if( *mem < NTBASE )error( "token illegal on lhs of grammar rule" ); i=1; ++mem; continue; case IDENTIFIER: *mem=chfind(1); if(*mem < NTBASE)levprd[nprod]=trmlev[*mem]; mem++; if(i==0) error("missing :"); continue; case '=': levprd[nprod] =| 04; if( i==0 ) error("semicolon preceeds action"); printf( rflag?"\n%d ":"\ncase %d:", nprod ); cpyact(); printf( rflag ? " return" : " break;" ); case '|': case ';': if(i){ *mem++ = -nprod; prdptr[++nprod] = mem; levprd[nprod]=0; i=0;} if (t=='|'){i=1;*mem++ = *prdptr[nprod-1];} continue; case 0: /* End Of File */ case MARK: if( i != 0 ) error( "rule not terminated before %%%% or EOF" ); settab(); finact(); /* copy the programs which follow the rules */ if( t == MARK ){ while (c=getchar()) putchar(c); } return; case PREC: if( i==0 ) error( "%%prec must appear inside rule" ); if( gettok()!=IDENTIFIER)error("illegal %%prec syntax" ); j=chfind(2); if(j>=NTBASE)error("nonterminal %s illegal after %%prec", nontrst[j-NTBASE].name); levprd[nprod]=trmlev[j]; continue; case LCURLY: if( i!=0 ) error( "%%{ appears within a rule" ); cpycode(); continue; default: error( "syntax error, input %d", t ); } } finact(){ /* finish action routine */ register i; if( rflag ){ printf( "\n1000 goto(" ); for( i=1; i= ntlim ) error("too many nonterminals, limit %d",ntlim); nontrst[nnonter].name = ctokn; return( NTBASE + nnonter ); } else { if( ++nterms >= tlim ) error("too many terminals, limit %d",tlim ); trmset[nterms].name = ctokn; if( ctokn[0]==' ' && ctokn[2]=='\0' ) /* single character literal */ trmset[nterms].value = ctokn[1]; else if ( ctokn[0]==' ' && ctokn[1]=='\\' ) { /* escape sequence */ if( ctokn[3] == '\0' ){ /* single character escape sequence */ switch ( ctokn[2] ){ /* character which is escaped */ case 'n': trmset[nterms].value = '\n'; break; case 'r': trmset[nterms].value = '\r'; break; case 'b': trmset[nterms].value = '\b'; break; case 't': trmset[nterms].value = '\t'; break; case '\'': trmset[nterms].value = '\''; break; case '"': trmset[nterms].value = '"'; break; case '\\': trmset[nterms].value = '\\'; break; default: error( "invalid escape" ); } } else if( ctokn[2] <= '7' && ctokn[2]>='0' ){ /* \nnn sequence */ if( ctokn[3]<'0' || ctokn[3] > '7' || ctokn[4]<'0' || ctokn[4]>'7' || ctokn[5] != '\0' ) error("illegal \\nnn construction" ); trmset[nterms].value = 64*(ctokn[2]-'0')+8*(ctokn[3]-'0')+ctokn[4]-'0'; if( trmset[nterms].value == 0 ) error( "'\\000' is illegal" ); } } else { trmset[nterms].value = extval++; } trmlev[nterms] = 0; return( nterms ); } } defout(){ /* write out the defines (at the end of the declaration section) */ _REGISTER int i, c; _REGISTER char *cp; for( i=ndefout; i<=nterms; ++i ){ cp = trmset[i].name; if( *cp == ' ' ) ++cp; /* literals */ for( ; (c= *cp)!='\0'; ++cp ){ if( c>='a' && c<='z' || c>='A' && c<='Z' || c>='0' && c<='9' || c=='_' ) ; /* VOID */ else goto nodef; } /* define it */ printf( "%c define %s %d\n", rflag?' ':'#', trmset[i].name, trmset[i].value ); nodef: ; } ndefout = nterms+1; } chstash( c ){ /* put character away into cnames */ if( cnamp >= &cnames[cnamsz] ) error("too many characters in id's and literals" ); else *cnamp++ = c; } int gettok() { int j, base; static int peekline; /* number of '\n' seen in lookahead */ auto int c, match, reserve; begin: reserve = 0; if( peekc>=0 ) { c = peekc; lineno =+ peekline; peekc = -1; peekline = 0; } else c = getchar(); while( c==' ' || c=='\n' || c=='\t' || c == '\014'){ if( c == '\n' ) ++lineno; c=getchar(); } if (c=='/') {if (getchar()!='*')error("illegal /"); c=getchar(); while(c) { if( c == '\n' ) ++lineno; if (c=='*') {if((c=getchar())=='/')break;} else c=getchar();} if (!c) return(0); goto begin;} j=0; switch(c){ case '"': case '\'': match = c; ctokn = cnamp; chstash( ' ' ); while(1){ c = getchar(); if( c == '\n' || c == '\0' ) error("illegal or missing ' or \""); if( c == '\\' ){ c = getchar(); chstash( '\\' ); } else if( c == match ) break; chstash( c ); } break; case '%': case '\\': switch(c=getchar()) {case '0': return(TERM); case '<': return(LEFT); case '2': return(BINARY); case '>': return(RIGHT); case '%': case '\\': return(MARK); case '=': return(PREC); case '{': return(LCURLY); default: reserve = 1; } default: if( c >= '0' && c <= '9' ){ /* number */ numbval = c-'0' ; base = (c=='0') ? 8 : 10 ; for( c=getchar(); c>='0' && c<='9'; c=getchar() ){ numbval = numbval*base + c - '0'; } peekc = c; return(NUMBER); } else if( (c>='a'&&c<='z')||(c>='A'&&c<='Z')||c=='_'||c=='.'||c=='$'){ ctokn = cnamp; while( (c>='a'&&c<='z') || (c>='A'&&c<='Z') || (c>='0'&&c<='9') || c=='_' || c=='.' || c=='$' ) { chstash( c ); if( peekc>=0 ) { c = peekc; peekc = -1; } else c = getchar(); } } else return(c); peekc=c; } chstash( '\0' ); if( reserve ){ /* find a reserved word */ if( compare("term")) return( TERM ); if( compare("TERM")) return( TERM ); if( compare("token")) return( TERM ); if( compare("TOKEN")) return( TERM ); if( compare("left")) return( LEFT ); if( compare("LEFT")) return( LEFT ); if( compare("nonassoc")) return( BINARY ); if( compare("NONASSOC")) return( BINARY ); if( compare("binary")) return( BINARY ); if( compare("BINARY")) return( BINARY ); if( compare("right")) return( RIGHT ); if( compare("RIGHT")) return( RIGHT ); if( compare("prec")) return( PREC ); if( compare("PREC")) return( PREC ); error("invalid escape, or illegal reserved word: %s", ctokn ); } /* look ahead to distinguish IDENTIFIER from C_IDENTIFIER */ look: while( peekc==' ' || peekc=='\t' || peekc == '\n' || peekc == '\014' ) { if( peekc == '\n' ) ++peekline; peekc = getchar(); } if( peekc != ':' ) return( IDENTIFIER ); peekc = -1; lineno =+ peekline; peekline = 0; return( C_IDENTIFIER ); } chfind(t) { int i,j; if (ctokn[0]==' ')t=0; for(i=1;i<=nterms;i++) if(compare(trmset[i].name)){ cnamp = ctokn; return( i ); } for(i=1;i<=nnonter;i++) if(compare(nontrst[i].name)) { cnamp = ctokn; return( i+NTBASE ); } /* cannot find name */ if( t>1 && ctokn[0] != ' ' ) error( "%s should have been defined earlier", ctokn ); return( defin( t ) ); } cpycode(){ /* copies code between \{ and \} */ int c; c = getchar(); if( c == '\n' ) { c = getchar(); lineno++; } while( c ){ if( c=='\\' ) if( (c=getchar()) == '}' ) return; else putchar('\\'); if( c=='%' ) if( (c=getchar()) == '}' ) return; else putchar('%'); putchar( c ); if( c == '\n' ) ++lineno; c = getchar(); } error("eof before %%}"); } cpyact(){ /* copy C action to the next ; or closing } */ int brac, c, match, *i, j, s; brac = 0; loop: c = getchar(); swt: switch( c ){ case ';': if( brac == 0 ){ putchar( c ); return; } goto lcopy; case '{': brac++; goto lcopy; case '$': s = 1; c = getchar(); if( c == '$' ){ printf("yyval"); goto loop; } if( c == '-' ){ s = -s; c = getchar(); } if( c>='0' && c <= '9' ){ j=0; while( c>='0' && c<= '9' ){ j= j*10+c-'0'; c = getchar(); }  if( rflag ) printf( "yyvalv(yypv%c%d)", s==1?'+':'-', j ); else printf("yypv[%d]", s*j ); goto swt; } putchar( '$' ); if( s<0 ) putchar('-'); goto swt; case '}': brac--; if( brac == 0 ){ putchar( c ); return; } goto lcopy; case '/': /* look for comments */ putchar( c ); c = getchar(); if( c != '*' ) goto swt; /* it really is a comment */ putchar( c ); while( c=getchar() ){ if( c=='*' ){ putchar( c ); if( (c=getchar()) == '/' ) goto lcopy; } putchar( c ); } error( "EOF inside comment" ); case '\'': /* character constant */ match = '\''; goto string; case '"': /* character string */ match = '"'; string: putchar( c ); while( c=getchar() ){ if( c=='\\' ){ putchar( c ); c=getchar(); } else if( c==match ) goto lcopy; putchar( c ); } error( "EOF in string or character constant" ); case '\0': error("action does not terminate"); case '\n': ++lineno; goto lcopy; } lcopy: putchar( c ); goto loop; } ey3.cÙ]ø¤‘³%# include "ey.h" cpres(){ /* conpute an array with the beginnings of productions yielding given nonterminals The array pres points to these lists */ int i,j,c; pres = yalloc(nnonter+1); for(i=0;i<=nnonter;i++){ c = i+NTBASE; pres[i] = mem; fatfl = 0; /* make undefined symbols nonfatal */ for(j=0;j 0 ; ++p ) { if( ch < NTBASE ) { wsets[i].ws[ch>>4] =| (1 << (ch&017) ); break; } else if( !pempty[ch-NTBASE] ) break; } } } /* now, reflect transitivity */ changes = 1; while( changes ){ changes = 0; for( i=0; i<=nnonter; ++i ){ t = pres[i+1]; for( s=pres[i]; s= 0; ++p ) { changes =| union( wsets[i].ws, wsets[i].ws, wsets[ch].ws ); if( !pempty[ch] ) break; } } } } for( i=0; i<=nnonter; i++ ) pfirst[i] = flset( wsets[i].ws ); if( !indebug ) return; settty(); for( i=0; i<=nnonter; i++ ){ printf( "\n%s: ", nontrst[i].name ); prlook( pfirst[i] ); printf( " %d\n", pempty[i] ); } } state(c){ /* sorts last state,and sees if it equals earlier ones. returns state number */ int s,size1,size2; _REGISTER i; struct item *p1, *p2, *k, *l, *q1, *q2; p1 = pstate[nstate]; p2 = pstate[nstate+1]; if(p1==p2) return(0); /* null state */ /* sort the items */ for(k=p2-1;k>p1;k--) { /* make k the biggest */ for(l=k-1;l>=p1;--l)if( l->pitem > k->pitem ){ s = k->pitem; k->pitem = l->pitem; l->pitem = s; s = k->look; k->look = l->look; l->look = s; } } size1 = p2 - p1; /* size of state */ for( i= (c>=NTBASE)?ntstates[c-NTBASE]:tstates[c]; i != 0; i = mstates[i] ) { /* get ith state */ q1 = pstate[i]; q2 = pstate[i+1]; size2 = q2 - q1; if (size1 != size2) continue; k=p1; for(l=q1;lpitem != k->pitem ) break; ++k; } if (l != q2) continue; /* found it */ pstate[nstate+1] = pstate[nstate]; /* delete last state */ /* fix up lookaheads */ k=p1; for( l=q1; llook->lset, k->look->lset ) ) { tystate[i] = 1; /* register the new set */ l->look = flset( &clset ); } ++k; } return (i); } /* state is new */ pstate[nstate+2] = p2; if(nstate+1 >= stsize) error("too many states"); if( c >= NTBASE ){ mstates[ nstate ] = ntstates[ c-NTBASE ]; ntstates[ c-NTBASE ] = nstate; } else { mstates[ nstate ] = tstates[ c ]; tstates[ c ] = nstate; } tystate[nstate]=1; return(nstate++); } int pidebug 0; /* debugging flag for putitem */ putitem ( ptr, lptr ) int *ptr; struct looksets *lptr;{ int *jip, k; struct item *i, *j; if( pidebug ) { settty(); printf("putitem(%s), state %d\n", writem(&ptr), nstate ); } /* see if it's there */ j = pstate[nstate+1]; for( i=pstate[nstate]; ipitem == ptr) { error("yacc error--duplicate item"); } /* not there */ j->pitem = ptr; j->look = flset( lptr ); pstate[nstate+1] = ++j; jip = j; if(jip-mem0 >= memsiz) error("out of state space"); } cempty(){ /* mark nonterminals which derive the empty string */ int i, *p; /* set pempty to 0 */ pempty = yalloc( nnonter ); aryfil( pempty, nnonter+1, 0 ); for( i=1; i=NTBASE && pempty[*p-NTBASE]!=0 ; ++p ) ; if( *p < 0 ){ /* we have a nontrivially empty nonterminal */ pempty[*prdptr[i]-NTBASE] = 1; goto again; /* got one ... try for another */ } } } } int gsdebug 0; stagen(){ /* generate the states */ int i, j, k, c; /* initialize */ nstate = 0; pstate[0] = pstate[1] = mem; aryfil( clset.lset, tbitset, 0 ); putitem( prdptr[0]+1, &clset ); tystate[0] = 1; nstate = 1; pstate[2] = pstate[1]; memact = 0; aryfil( amem, actsiz, 0 ); /* now, the main state generation loop */ more: for( i=0; ipitem; wsets[cwset].flag = 1; /* this item must get closed */  for( k=0; klook->lset[k]; ++cwset; } /* now, go through the loop, closing each item */ work = 1; while( work ){ work = 0; for( j=0; j0 ){ if( ch < NTBASE ){ /* terminal symbol */ clset.lset[ch>>4] =| (1<<(ch&017)); break; } /* nonterminal symbol */ union( clset.lset, clset.lset, pfirst[ch-NTBASE] ); if( !pempty[ch-NTBASE] ) break; } if( ch<=0 ) union( clset.lset, clset.lset, wsets[k].ws ); } } /* now loop over productions derived from c */ c =- NTBASE; /* c is now nonterminal number */ t = pres[c+1]; for( s=pres[c]; s= wssize ) error( "working set overflow" ); wsets[cwset].pitem = *s; wsets[cwset].flag = 1; if( nolook ){ cwset++; goto nexts; } work = 1; for( k=0; k zzcwset ) zzcwset = cwset; if( !cldebug ) return; settty(); printf("\nState %d, nolook = %d\n", i, nolook ); for( j=0; jlset; v = lkst[i].lset; w = & v[tbitset]; while( v= lsetsz )error("too many lookahead sets"); for( j=0; jlset[j]; } return( & lkst[nlset++]); } iey4.cÙ^ø¤‘Ø'# include "ey.h" output(){ /* print the output for the states */ int i, j, k, c; settab(); arrset("yyact"); for( i=0; i0 && c>4])&(1<<(k&017))) != 0 ) { if( temp1[k] == 0 ) temp1[k] = c; else if( temp1[k]<0 ){ /* reduce/reduce conflict */ settty(); printf("\n%d: reduce/reduce conflict (red'ns %d and %d ) on %s", i, -temp1[k], lastred, symnam(k) );  if( -temp1[k] > lastred ) temp1[k] = -lastred; ++zzrrconf; settab(); } else { /* potential shift/reduce conflict */ switch( precftn( lastred, k ) ) { case 0: /* precedence does not apply */ settty(); printf("\n%d: shift/reduce conflict (shift %d, red'n %d) on %s", i, temp1[k], lastred, symnam(k) ); ++zzsrconf; settab(); break;  case 1: /* reduce */ temp1[k] = -lastred; break; case 2: /* error, binary operator */ temp1[k] = ERRCODE; break; case 3: /* shift ... leave the entry alone */ break; } } } } } } wract(i); } settab(); arrdone(); /* now, output the pointers to the action array */ /* also output the info about reductions */ prred();  } prred(){ /* print the information about the actions and the reductions */ int index, i; arrset("yypact"); index = 1; /* position in the output table */ for( i=0; i0 ){ /* the state is real */ temp1[i] = index; arrval( index ); index =+ tystate[i]; } else { arrval( temp1[-tystate[i]] ); } } arrdone(); arrset("yyr1"); for( i=1; i j ){ /* no actions */ return(0); } j =- off; for( k=0; k= actsiz ) error("action table overflow"); if( k+l >= memact ) memact = k+l; amem[k+l] = p[off+l]; } } if( pkdebug ){ for( k=0; k times ){ best = cbest; times = count; } } /* best is now the default entry */ zzgobest =+ (times-1)*2; settab(); for( j=0; j<=nstate; ++j ){ if( tystate[j] != 0 && tystate[j]!=best ){ arrval( j ); arrval( tystate[j] ); offset =+ 2; zzgoent =+ 2; } } /* now, the default */ zzgoent =+ 2; arrval( -1 ); arrval( best ); offset =+ 2; } arrdone(); arrset("yypgo"); for( i=1; i<=nnonter; ++i ) arrval( temp2[i] ); arrdone(); } int g2debug 0; go2gen(c){ /* output the gotos for nonterminal c */ int i, work, cc; struct item *p, *q; /* first, find nonterminals with gotos on c */ aryfil( temp1, nnonter+1, 0 ); temp1[c] = 1; work = 1; while( work ){ work = 0; for( i=0; i= 0 ){ /* cc is a nonterminal */ if( temp1[cc] != 0 ){ /* cc has a goto on c */ cc = *prdptr[i]-NTBASE; /* thus, the left side of production i does too */ if( temp1[cc] == 0 ){ work = 1; temp1[cc] = 1; } } } } } /* now, we have temp1[c] = 1 if a goto on c in closure of cc */ if( g2debug ){ settty(); printf("%s: gotos on ", nontrst[c].name ); for( i=0; i<=nnonter; ++i ) if( temp1[i]) printf("%s ", nontrst[i].name); printf("\n"); } /* now, go through and put gotos into tystate */ aryfil( tystate, nstate, 0 ); settty(); printf("\nnonterminal %s\n", nontrst[c].name ); for( i=0; ipitem) >= NTBASE ){  if( temp1[cc =- NTBASE] ){ /* goto on c is possible */ tystate[i] = amem[indgo[i]+c]; break; } } } if( tystate[i] ) printf("\t%d\t%d\n", i, tystate[i]); } } precftn(r,t){ /* decide a shift/reduce conflict by precedence. Returns 0 if action is 'do nothing',1 if action is reduce, 2 if the action is 'error,binary operator' and 3 if the action is 'reduce'. */ int lp,lt; lp = levprd[r]; lt = trmlev[t]; if ((lt==0)||((lp&03)==0))return(0); if((lt>>3) == (lp>>3)){ return(lt&03); } if((lt>>3) > (lp>>3)) return(3); return(1); } int cdebug 0; /* debug for common states */ wract(i){ /* output state i */ /* temp1 has the actions, lastred the default */ int p, p0, p1, size; int ntimes, tred, count, j; struct item *q0, *q1; /* find the best choice for lastred */ lastred = 0; ntimes = 0; /***** UCB MOD - full state spec if shift on error *****/ if (temp1[2] <= 0) for( j=1; j<=nterms; ++j ){ if( temp1[j] >= 0 ) continue; if( temp1[j]+lastred == 0 ) continue; /* count the number of appearances of temp1[j] */ count = 0; tred = -temp1[j]; for( p=1; p<=nterms; ++p ){ if( temp1[p]+tred == 0 ) ++count; } if( count >ntimes ){ lastred = tred; ntimes = count; } } /* clear out entries in temp1 which equal lastred */ for( p=1; p<= nterms; ++p ) if( temp1[p]+lastred == 0 )temp1[p]=0; /* write out the state */ /* first, check for equality with another state */ /* see if there is a nonterminal with all dots before it. */ p0 = 0; q1 = pstate[i+1]; for( q0=pstate[i]; q0pitem) ) < NTBASE ) goto standard; if( p0 == 0 ) p0 = p1; else if( p0 != p1 ) goto standard; } /* now, all items have dots before p0 */ if( cdebug ){ settty(); printf("state %d, pre-nonterminal %s\n",i,nontrst[p0-NTBASE].name); } for( j=0; jpitem) != p0 ) goto nextj; } /* we have a match with state j ! */ tystate[i] = -j; zzacsave =+ tystate[j]; zznsave++; wrstate(i); return; nextj: ; } standard: tystate[i] = 2; wrstate(i); size = 0; for( p0=1; p0<=nterms; ++p0 )  if( (p1=temp1[p0])!=0 ) { /***** UCB MOD - test actions are negative of symbol to be tested this speeds up the parser as it is easy to check for *****/ arrval( -trmset[p0].value ); if( p1 < 0 ) arrval( REDUCACT - p1 ); else if( p1 == ACCEPTCODE ) arrval( ACCEPTACT ); else if( p1 == ERRCODE ) arrval( ERRACT ); else arrval( SHIFTACT + p1 ); size =+ 2; } if( lastred ) arrval( REDUCACT + lastred ); else arrval( ERRACT ); tystate[i] = size+1; /* store entry size in tystate */ zzacent =+ (size+1); return; } wrstate(i){ /* writes state i */ int j0,j1,s; struct item *pp, *qq; settty(); printf("\nstate %d\n",i); qq = pstate[i+1]; for( pp=pstate[i]; pp0 ){ /* shift, error, or accept */ if( j1 == ACCEPTCODE ) printf( "accept" ); else if( j1 == ERRCODE ) printf( "error" ); else printf( "shift %d", j1 ); } else printf("reduce %d",-j1 ); } /* output the final production */ if( lastred ) printf("\n\t. reduce %d\n\n", lastred ); else printf("\n\t. error\n\n" ); ret: settab(); } ey5.cÙ^ø¤�=/* fake portable I/O routines, for those sites so backward as to not have the port. library */ int cin, cout; extern int fin, fout; copen( s, c ) char *s; { int f; if( c == 'r' ){ fin = f = open( s, 0 ); } else if( c == 'a' ){ f = open( s, 1 ); seek( f, 0, 2 ); } else { /* c == w */ f = creat( s, 0666 ); } return( f ); } cflush(x){ /* fake! sets file to x */ flush(); fout = x; } system(){ error( "The function \"system\" is called" ); } cclose(i){ close(i); } cexit(i){  flush(); exit(i); } dprinteyaccÙ^øí�pr READ_ME pr *.h *.c in, cout; extern int fin, fout; copen( s, c ) char *s; { int f; if( c == 'r' ){ fin = f = open( s, 0 ); } else if( c == 'a' ){ f = open( s, 1 ); seek( f, 0, 2 ); } else { /* c == w */ f = creat( s, 0666 ); } return( f ); } cflush(x){ /* fake! sets file to x */ flush(); fout = x; } system(){ error( "The function \"system\" is called" ); } cclose(i){ close(i); } cexit(i){ August 28, 1977 This directory contains source for a version of yacc needed by the Pascal parser. The differences between this yacc and a stadard version 6 yacc are indicated in a comment in y1.c. Note that the standard yacc parser will not work on the tables produced by "eyacc" and also that these changes are really useful only with a fairly large set of error recovery routines which are part of both "pi" and "pxp". The routines are language independent, but the method will only work on languages which have some redundancy in them... it is probably ill suited for C, but would work fine in ALGOL-60, ALGOL-W, EUCLID, LIS, SP/K, PL/1, ALPHARD, CLU, ... I am working on a short document describing the internals of the error recovery technique used in "pi"... It is a simple modification of the Graham/Rhodes technique described in a recent article in the CACM. Bill Joy Computer Science Division EECS Department University of California, Berkeley Berkeley, California 94704 Office: (415) 642-4948 Home: (415) 524-4510 s probably ill suited for C, but would work fine in ALGOL-60, ALGOL-W, EUCLID, LIS, SP/K, PL/1, ALPHARD, CLU, ... I am working on a short document describing the internals of the error recovery technique used in "pi"... It is a simple modification of the Graham/Rhodes technique described in a recent article in the CACM. Bill Joy Computer Science Division EECS Department University of California, Berkeley Berkeley, California 94704 Office: (41eÿREAD_MEÙbø¤�ÀNovember 13, 1977 This directory contains the source for a floating point interpreter modified to work in separate i/d space with a system call "fetchi" as described in ../SETUP. The interpreter assumes that the system call in number 61. If you have to add this call because you don't have floating point hardware, and you cannot make it call 61. you don't have to remake all the Pascal stuff... simply running the "load" scripts in ../pi, ../pxp and ../px is sufficient... these don't require that you have a version 7 C compiler. Bill Joy CS Division Department of EE and CS UC Berkeley Berkeley, California 94704 (415) 524-4510 [HOME] (415) 642-4948 [SCHOOL] fp.oÙbøí‘àÐp~P€÷ ÷U¨ ‡÷ ÷U𠇄÷ ÷UŒ ‡†÷ ÷U~ ‡÷Àv ‡÷ ¼ÿ¦öj Îe÷ ê·V ·T 7@ À¦ P�ÐP�Æå&Àå=‰€7 èDÄEÿ!ð wè÷e Æ Æå÷E€ÂÅEðDÄ5!Ä5À! ƒw¸Ä |ÐW!Áæ÷ Áê÷ ÅÄ Ä ŠÄÄ ü îwŒW! BŠ— Âå— Áþ÷ Ü— Á ÷ Ì Á ÷ ÂÁ ÷ ¸÷ ¢…ŠÄÄ ü  ÀÀEðÿ7T÷E€÷U€÷E@ø÷U@ð· ì Àp ÈEÍ €ÈUÈU÷ Î À=‰DÄEÿÄ%ð_šÀ¦ ÀÒæÞæØ÷ ”· ZBÂE?ÿ‚ ‚ ‚ Âet ‡CÃEøÿà Ãe¤ @ÀEÇÿ€ € x. À÷5€RÀe‡À÷5€@Àå‡À‡À÷5@(Àe‡YÃå¤ × W†Ã à Ãet Ñ ‡÷5@M× ° J†Ñ ‡× ² EÃE× ² À=‰7$À `ö 8æù  `ƒ2× ² &À=‰Ëe€'æËeƒ!× ² ù  àÃ× ² ËåÃ&ÀÀ=‰÷e¸Àb€÷ æÿÃwtþÃ5û‡ÀX ÷ ÂÀd  �f � Ð ÁE€ÿÁU€ P�÷5€&��  �Á ŠÁÁå€P‡ÀZ fŽPÎPQ7 ؇Á5ÿ¡    ˆ öÁ5€Ä C B A È ÷ à `‡ÒÒ÷5€´ÒÒ‡  ‡““÷5€œ““‡  ÷5€Š  ‡Ë Ëe€‡ËE€‡‡ÅZ Ê Ë ‹"“$ “$÷5€N “$“$‚͇Íÿÿ‡ ‡ÒÒ÷5€(ÒÒ‡  ‡““÷5€  ‡ÀX ÐÐ÷5@øÐ  ÐwL   Èw>ÅÀX ÷ „þÀZ À´ (¡   € ÷Á ÷5@¤ ÷ † B ‡ �õ‡Â ÷ l ͇÷Uvw¢üÀX ÷ þ÷X÷ üwvüÀX ÷ þËDÅwdü÷HwtüË@wlü÷ Þý÷ Øý7 "÷ a÷ UÁÁíW 8UÀf  W 8EÀZ fˆc¡    Î ù à `Ö Áb Ân À÷-²¼ ¡a ‡‰hÀ û‰h±ú ¡¡ ‡‰èÀ û‰è±úÁZ É Áb À¡a ‡ À û! ÷ pý Ád ÂX ÀRÀ ýBÀX È ÁJW !W �ÿÁe€Á¡ Ð ÁU€ÈE€ÿTR÷5€*‡  ÷5€  ‡÷U w6û÷ ²÷ ü÷ îüÀX Ád  ý Á€ 7 Ìr@Z r@f € ¡ ôÁ€Âe— í÷ ªü÷ JÿW!| W!Œ ÷5€”7 ŒÅe÷ ÿÅå‡÷ ,ü÷ v¸÷ízl÷ ¾fÀZ     ÅZ æÀf $ $‡‚$‡‚$ ‚Àn èƒ ‚ � è‚ � è� è�SÄ C B A ¡ ß΀ÅeW!b Ø‡Ö …wdþ÷ ¢û÷möè÷ ä÷ 6fÅj ÷5€â0     À € å   W!f ‚ÀZ P�Ð…‡¡    0ç&ÀZ d& dN & dN dC N ‚eN �e€ÕÅ@ ÁbÂ`Ã^Ä\U•Õ¡Ä C B A U•ÕÀb ÷ |U•Õ    Ål æ@ ¡    ¡    ÀEüÿtÀe@ ÷ 8Î èW!h ÎÎå W!f Ü†Ö ¡    ÀZ P�Ð…‡hC B A hB A hA h‡÷-œ¦÷ÿÿ’‡÷ЇTbr‚‚‚‚‚‚jzv8R‚$,‚Üþøîv8h>R&R‚‚jp4²:Êæ–Vþh>Pz„ªÌÜìrtibptfetchi=m.ext€m.lngi@fptrap"Pfpjsr"@_reenter#> ac0$t ac1$| ac2$„ ac3$Œ sps´ spc² sr0¤ sr1¦ trapinsr badins‚lookaheašssp° fpsrp class3üclass2Ði.cfccTi.setfbi.setiri.setdji.setlzfsrcúmod0rxvmod2428mod0fRmod24fsretˆi.ldfps$i.stfps,i.clrxÜi.tstxþi.absxøi.negxîmod0rahmod24i>mod24d&fregèi.mulxji.modxpi.addx4i.ldx²i.subx:i.cmpxi.stxÊi.divxæi.stexpi.stcxj–i.stcxyVi.ldexpþi.ldcjxhi.ldcyx>ret mod0Pmod1zmod2„mod3ªmod4Ìmod5Ümod6ìmod7badi1 mod0rpcheckpctmp¶ setabasignX seta$bsignd normfaregZ saretÔaexpb xofloôreta retbøbregf unfloNovflo`i.mulpbexpn xorsign¸bins@ addr¢ac4” ac5œ fp1.sÙbø$‘/ fp1 -- floating point simulator rti = 2 bpt = 3 fetchi = 61. m.ext = 200 / long mode bit m.lngi = 100 / long integer mode .globl fptrap, fpjsr, _reenter .globl ac0, ac1, ac2, ac3 2: bpl 1f jsr pc,1f bis $10,sps rts pc 1: bne 1f jsr pc,1f bis $4,sps rts pc 1: bvc 1f jsr pc,1f bis $2,sps rts pc 1: bcc 1f jsr pc,1f bis $1,sps rts pc 1: mov $140000,sps rts pc fpjsr: jsr pc,2b mov (sp),-(sp) mov sps,2(sp) add $2,(sp) fptrap: dec _reenter bge 1f 4 / _reentered! 1: mov (sp)+,spc mov (sp)+,sps mov r0,sr0 mov $sr1,r0 mov r1,(r0)+ mov r2,(r0)+ mov r3,(r0)+ mov r4,(r0)+ mov r5,(r0)+ mov sp,(r0)+ sub $8,sp / room for double push mov r0,-(sp) / ??? mov (r0),r0 sub $2,r0 sys fetchi mov r0,r5 / instruction mov (sp)+,r0 / ??? clr trapins mov r5,r4 bic $7777,r4 cmp r4,$170000 beq 1f jmp badins lookahead: add $2,spc mov ssp,sp sub $8,sp 1: bic $100000,fpsr / clear fp error bic $170000,r5 mov r5,r4 bit $7000,r4 bne class3 bit $700,r4 bne class2 cmp r4,$12 blos 1f jmp badins 1: asl r4 jmp *1f(r4) .data 1: i.cfcc / 170000 i.setf / 170001 i.seti / 170002 badins badins badins badins badins badins i.setd / 170011 i.setl / 170012 .text class2: cmp r5,$400 bge 1f mov $0f,r1 jsr pc,fsrc .data 0: mod0rx; mod242 .text br 2f 1: mov $0f,r1 jsr pc,fsrc .data 0: mod0f; mod24f .text 2: mov r3,r5 asl r4 asl r4 clrb r4 swab r4 asl r4 jsr pc,*1f(r4) jmp sret .data 1: badins / 1700xx i.ldfps / 1701xx i.stfps / 1702xx badins / 1703xx - stst i.clrx / 1704xx i.tstx / 1705xx i.absx / 1706xx i.negx / 1707xx .text class3: cmp r5,$5000 blt 1f mov r5,r2 clrb r2 cmp r2,$6400 blt 2f sub $1400,r2 2: cmp r2,$5000 bne 2f mov $0f,r1 jsr pc,fsrc .data 0: mod0rx; mod242 .text br 3f 2: cmp r2,$5400 bne 2f mov $0f,r1 jsr pc,fsrc .data 0: mod0ra; mod24i .text br 3f 2: mov $0f,r1 jsr pc,fsrc .data 0: mod0f; mod24d .text br 3f 1: mov $0f,r1 jsr pc,fsrc .data 0: mod0f; mod24f .text 3: jsr pc,freg mov r2,r5 clrb r4 swab r4 asl r4 jsr pc,*1f(r4) br sret .data 1: badins / 1700xx badins / 1704xx i.mulx / 1710xx i.modx / 1714xx i.addx / 1720xx i.ldx / 1724xx i.subx / 1730xx i.cmpx / 1734xx i.stx / 1740xx i.divx / 1744xx i.stexp / 1750xx i.stcxj / 1754xx i.stcxy / 1760xx i.ldexp / 1764xx i.ldcjx / 1770xx i.ldcyx / 1774xx .text i.cfcc: mov fpsr,r0 bic $!17,r0 mov r0,sps br ret i.setf: bic $m.ext,fpsr br ret i.setd: bis $m.ext,fpsr br ret i.seti: bic $m.lngi,fpsr br ret i.setl: bis $m.lngi,fpsr br ret badins: inc trapins br ret sret: mov $fpsr,r0 bic $17,(r0) tst (r5) bpl 1f bis $10,(r0) br ret 1: bne ret bis $4,(r0) ret: tst trapins bne 1f mov spc,r0 sys fetchi mov r0,r5 mov r5,r4 bic $7777,r4 cmp $170000,r4 jeq lookahead 1: mov $sr1,r0 mov (r0)+,r1 mov (r0)+,r2 mov (r0)+,r3 mov (r0)+,r4 mov (r0)+,r5 mov (r0)+,sp mov sr0,r0 mov sps,-(sp) mov spc,-(sp) tst trapins bne 1f inc _reenter rti 1: bpt freg: mov r5,r2 bic $!300,r2 asr r2 asr r2 asr r2 add $ac0,r2 rts pc fsrc: mov r5,r3 bic $!7,r3 / register asl r3 add $sr0,r3 mov r5,r0 bic $!70,r0 / mode asr r0 asr r0 jmp *1f(r0) .data 1: mod0 mod1 mod2 mod3 mod4 mod5 mod6 mod7 .text mod24f: mov $4,r0 bit $m.ext,fpsr beq 1f add $4,r0 1: rts pc mod24d: mov $8,r0 bit $m.ext,fpsr beq 1f sub $4,r0 1: rts pc mod242: mov $2,r0 rts pc mod24i: mov $2,r0 bit $m.lngi,fpsr beq 1f add $2,r0 1: rts pc mod0: jmp *(r1)+ mod0f: sub $sr0,r3 / get fp ac cmp r3,$6*2 bhis badi1 asl r3 asl r3 add $ac0,r3 tst (r1)+ rts pc mod0ra: bit $m.lngi,fpsr bne badi1 mod0r: cmp r3,$ssp bhis badi1 mod0rx: tst (r1)+ rts pc mod1: cmp r3,$spc beq badi1 mov (r3),r3 br check mod2: cmp r3,$spc bne 1f / $n mov (r3),r0 sys fetchi mov r0,pctmp mov $2,r0 add r0,(r3) mov $pctmp,r3 br check / (rn)+ 1: mov (r3),-(sp) jsr pc,*2(r1) add r0,(r3) mov (sp)+,r3 br check mod3: cmp r3,$spc bne 1f / *$n mov r0,-(sp) mov (r3),r0 sys fetchi add $2,(r3) mov r0,r3 mov (sp)+,r0 br check / *(rn)+ 1: mov *(r3),-(sp) add $2,(r3) mov (sp)+,r3 br check mod4: cmp r3,$spc / test pc beq badi1 jsr pc,*2(r1) sub r0,(r3) mov (r3),r3 br check mod5: cmp r3,$spc beq badi1 sub $2,(r3) mov *(r3),r3 br check mod6: mov r0,-(sp) mov spc,r0 sys fetchi add $2,spc add (r3),r0 /shouldn't happen separate i and d !!! mov r0,r3 mov (sp)+,r0 br check mod7: jsr pc,mod6 mov (r3),r3 br check badi1: jmp badins check: bit $1,r3 bne badi1 rts pc setab: mov $asign,r0 jsr pc,seta mov r3,r2 mov $bsign,r0 seta: clr (r0) mov (r2)+,r1 mov r1,-(sp) beq 1f blt 2f inc (r0)+ br 3f 2: dec (r0)+ 3: bic $!177,r1 bis $200,r1 br 2f 1: clr (r0)+ 2: mov r1,(r0)+ mov (r2)+,(r0)+ bit $m.ext,fpsr beq 2f mov (r2)+,(r0)+ mov (r2)+,(r0)+ br 3f 2: clr (r0)+ clr (r0)+ 3: mov (sp)+,r1 asl r1 clrb r1 swab r1 sub $200,r1 mov r1,(r0)+ / exp rts pc norm: mov $areg,r0 mov (r0)+,r1 mov r1,-(sp) mov (r0)+,r2 bis r2,(sp) mov (r0)+,r3 bis r3,(sp) mov (r0)+,r4 bis r4,(sp)+ bne 1f clr asign rts pc 1: bit $!377,r1 beq 1f clc ror r1 ror r2 ror r3 ror r4 inc (r0) br 1b 1: bit $200,r1 bne 1f asl r4 rol r3 rol r2 rol r1 dec (r0) br 1b 1: mov r4,-(r0) mov r3,-(r0) mov r2,-(r0) mov r1,-(r0) rts pc fp2.sÙbø$�™/ fp2 -- floating point simulation i.ldx: mov (r3)+,(r2)+ mov (r3)+,(r2)+ bit $m.ext,fpsr beq 1f mov (r3)+,(r2)+ mov (r3)+,(r2)+ rts pc 1: clr (r2)+ clr (r2)+ rts pc i.stx: mov (r2)+,(r3)+ mov (r2)+,(r3)+ bit $m.ext,fpsr beq 1f mov (r2)+,(r3)+ mov (r2)+,(r3)+ 1: rts pc i.clrx: clr (r3)+ clr (r3)+ bit $m.ext,fpsr beq 1f clr (r3)+ clr (r3)+ 1: rts pc i.negx: tst (r3) beq 1f add $100000,(r3) 1: rts pc i.absx: bic $!77777,(r3) rts pc i.tstx: rts pc i.cmpx: mov $areg,r5 tst (r2) bge 1f tst (r3) bge 1f cmp (r2),(r3) bgt 4f blt 3f 1: cmp (r2)+,(r3)+ bgt 3f blt 4f cmp (r2)+,(r3)+ bne 1f bit $m.ext,fpsr beq 2f cmp (r2)+,(r3)+ bne 1f cmp (r2)+,(r3)+ beq 2f 1: bhi 3f 4: mov $1,(r5) rts pc 3: mov $-1,(r5) rts pc 2: clr (r5) rts pc i.ldcyx: mov (r3)+,(r2)+ mov (r3)+,(r2)+ bit $m.ext,fpsr bne 1f mov (r3)+,(r2)+ mov (r3)+,(r2)+ rts pc 1: clr (r2)+ clr (r2)+ rts pc i.stcxy: mov (r2)+,(r3)+ mov (r2)+,(r3)+ bit $m.ext,fpsr bne 1f clr (r3)+ clr (r3)+ 1: rts pc i.ldcjx: mov $asign,r0 mov $1,(r0)+ mov (r3)+,(r0)+ bit $m.lngi,fpsr beq 1f mov (r3)+,(r0)+ clr (r0)+ clr (r0)+ mov $32.-8,(r0)+ jmp saret 1: clr (r0)+ clr (r0)+ clr (r0)+ mov $16.-8,(r0) jmp saret i.stcxj: mov r3,r5 mov $asign,r0 jsr pc,seta mov $areg,r0 mov (r0)+,r1 mov (r0)+,r2 mov (r0)+,r3 mov aexp,r0 1: cmp r0,$48.-8 bge 1f clc ror r1 ror r2 ror r3 inc r0 br 1b 1: bgt xoflo tst r1 bne xoflo 1: bit $m.lngi,fpsr beq 1f tst asign bge 2f neg r3 adc r2 bcs 2f neg r2 2: mov r2,(r5) mov r3,2(r5) rts pc 1: tst r2 bne xoflo tst asign bge 2f neg r3 2: mov r3,(r5) rts pc xoflo: bis $1,fpsr / set fixed overflow (carry) jmp ret i.ldexp: mov $asign,r0 jsr pc,seta mov (r3),aexp jsr pc,reta jmp sret i.stexp: mov $asign,r0 jsr pc,seta mov aexp,(r3) mov r3,r5 jmp sret i.ldfps: mov (r3),fpsr jmp ret i.stfps: mov fpsr,(r3) jmp ret fp3.sÙbø$‘™/ fp3 -- floating simulation i.addx: jsr pc,setab br 1f i.subx: jsr pc,setab neg bsign 1: tst bsign beq reta tst asign beq retb mov areg+8,r1 sub breg+8,r1 blt 1f beq 2f cmp r1,$56. bge reta mov $breg,r0 br 4f 1: neg r1 cmp r1,$56. bge retb mov $areg,r0 4: mov r1,-(sp) mov (r0)+,r1 mov (r0)+,r2 mov (r0)+,r3 mov (r0)+,r4 add (sp),(r0) 1: clc ror r1 ror r2 ror r3 ror r4 dec (sp) bgt 1b mov r4,-(r0) mov r3,-(r0) mov r2,-(r0) mov r1,-(r0) tst (sp)+ 2: mov $areg+8,r1 mov $breg+8,r2 mov $4,r0 cmp asign,bsign bne 4f clc 1: adc -(r1) bcs 3f add -(r2),(r1) 2: dec r0 bne 1b br 5f 3: add -(r2),(r1) sec br 2b br 5f 4: clc 1: sbc -(r1) bcs 3f sub -(r2),(r1) 2: dec r0 bne 1b br 5f 3: sub -(r2),(r1) sec br 2b saret: mov $areg,r1 5: tst (r1) bge 3f mov $areg+8,r1 mov $4,r0 clc 1: adc -(r1) bcs 2f neg (r1) 2: dec r0 bne 1b neg -(r1) 3: jsr pc,norm br reta retb: mov $bsign,r1 mov $asign,r2 mov $6,r0 1: mov (r1)+,(r2)+ dec r0 bne 1b reta: mov r5,r2 mov $asign,r0 tst (r0) beq unflo mov aexp,r1 cmp r1,$177 bgt ovflo cmp r1,$-177 blt unflo add $200,r1 swab r1 clc ror r1 tst (r0)+ bge 1f bis $100000,r1 1: bic $!177,(r0) bis (r0)+,r1 mov r1,(r2)+ mov (r0)+,(r2)+ bit $m.ext,fpsr beq 1f mov (r0)+,(r2)+ mov (r0)+,(r2)+ 1: rts pc unflo: clr (r2)+ clr (r2)+ bit $m.ext,fpsr beq 1f clr (r2)+ clr (r2)+ 1: rts pc ovflo: bis $2,fpsr / set v-bit (overflow) jmp ret i.mulx: jsr pc,i.mul br saret i.modx: jsr pc,i.mul jsr pc,norm mov $asign,r0 mov $bsign,r1 mov $6,r2 1: mov (r0)+,(r1)+ dec r2 bne 1b clr r0 / count mov $200,r1 / bit clr r2 / reg offset 1: cmp r0,aexp bge 2f / in fraction bic r1,areg(r2) br 3f 2: bic r1,breg(r2) 3: inc r0 clc ror r1 bne 1b mov $100000,r1 add $2,r2 cmp r2,$8 blt 1b jsr pc,norm jsr pc,reta cmp r5,$ac1 beq 1f cmp r5,$ac3 beq 1f bit $200,breg bne 2f clr bsign 2: add $8,r5 jsr pc,retb sub $8,r5 1: rts pc i.divx: jsr pc,setab tst bsign beq ovflo sub bexp,aexp jsr pc,xorsign mov r5,-(sp) mov $areg,r0 mov (r0),r1 clr (r0)+ mov (r0),r2 clr (r0)+ mov (r0),r3 clr (r0)+ mov (r0),r4 clr (r0)+ mov $areg,r5 mov $400,-(sp) 1: mov $breg,r0 cmp (r0)+,r1 blt 2f bgt 3f cmp (r0)+,r2 blo 2f bhi 3f cmp (r0)+,r3 blo 2f bhi 3f cmp (r0)+,r4 bhi 3f 2: mov $breg+10,r0 sub -(r0),r4 sbc r3 sbc r2 sbc r1 sub -(r0),r3 sbc r2 sbc r1 sub -(r0),r2 sbc r1 sub -(r0),r1 bis (sp),(r5) 3: asl r4 rol r3 rol r2 rol r1 clc ror (sp) bne 1b mov $100000,(sp) add $2,r5 cmp r5,$areg+8 blo 1b tst (sp)+ mov (sp)+,r5 jmp saret i.mul: jsr pc,setab add bexp,aexp dec aexp jsr pc,xorsign mov r5,-(sp) mov $breg+4,r5 bit $m.ext,fpsr bne 3f 1: clr r0 clr r1 clr r2 clr r3 clr r4 1: asl r0 bne 2f inc r0 tst -(r5) 2: cmp r0,$400 bne 2f cmp r5,$breg bhi 2f mov $areg,r0 mov r1,(r0)+ mov r2,(r0)+ mov r3,(r0)+ mov r4,(r0)+ mov (sp)+,r5 rts pc 2: clc ror r1 ror r2 ror r3 ror r4 bit r0,(r5) beq 1b mov r0,-(sp) mov $areg,r0 add (r0)+,r1 clr -(sp) add (r0)+,r2 adc (sp) clr -(sp) add (r0)+,r3 adc (sp) add (r0)+,r4 adc r3 adc (sp) add (sp)+,r2 adc (sp) add (sp)+,r1 mov (sp)+,r0 br 1b 3: mov $bins,r5 mov areg,r1 mov areg+2,r2 mov areg+4,r3 mov areg+6,r4 mov r1,(r5)+ mov r2,(r5)+ mov r3,(r5)+ mov r4,(r5)+ clc asl r4 rol r3 rol r2 rol r1 mov r1,(r5)+ mov r2,(r5)+ mov r3,(r5)+ mov r4,(r5)+ mov $areg+10,r0 jsr pc,addr mov r1,(r5)+ mov r2,(r5)+ mov r3,(r5)+ mov r4,(r5)+ clr r1 clr r2 clr r3 clr r4 mov $breg+6,r5 mov $10,-(sp) 4: mov (r5),r0 ror (r5) ror (r5) clc ror r1 ror r2 ror r3 ror r4 clc ror r1 ror r2 ror r3 ror r4 bic $177774,r0 beq 1f ash $3,r0 add $bins,r0 jsr pc,addr 1: dec (sp) bne 4b cmp r5,$breg+2 beq 1f mov $10,(sp) br 2f 1: mov $4,(sp) 2: tst -(r5) cmp r5,$breg bhis 4b tst (sp)+ clc ror r1 ror r2 ror r3 ror r4 mov $areg,r0 mov r1,(r0)+ mov r2,(r0)+ mov r3,(r0)+ mov r4,(r0)+ mov (sp)+,r5 rts pc addr: add -(r0),r4 adc r3 adc r2 adc r1 add -(r0),r3 adc r2 adc r1 add -(r0),r2 adc r1 add -(r0),r1 rts pc xorsign: cmp asign,bsign beq 1f mov $-1,asign rts pc 1: mov $1,asign rts pc 7fpx.sÙbø$�j/ fpx -- floating point simulation .globl _reenter .data _reenter: 1 .bss bins: .=.+30 asign: .=.+2 areg: .=.+8 aexp: .=.+2 bsign: .=.+2 breg: .=.+8 bexp: .=.+2 fpsr: .=.+2 trapins: .=.+2 ac0: .=.+8. ac1: .=.+8. ac2: .=.+8. ac3: .=.+8. ac4: .=.+8. ac5: .=.+8. sr0: .=.+2 sr1: .=.+2 .=.+2 .=.+2 .=.+2 .=.+2 ssp: .=.+2 spc: .=.+2 sps: .=.+2 pctmp: .=.+8 -(r0),r2 adc r1 add -(r0),r1 rts pc xorsign: cmp asign,bsign beq 1f mov $-1,asign rts pc 1: mov $1,asign rts pc 7fpx.sÙbø$�j/ fpx -- floating point simulation .globl _reenter .data _reenter: 1 .bss bins: .=.+30 asign: .=.+2 areg: .=.+November 13, 1977 This directory contains the source for a floating point interpreter modified to work in separate i/d space with a system call "fetchi" as described in ../SETUP. The interpreter assumes that the system call in number 61. If you have to add this call because you don't have floating point hardware, and you cannot make it call 61. you don't have to remake all the Pascal stuff... simply running the "load" scripts in ../pi, ../pxp and ../px is sufficient... these don't require that you have a version 7 C compiler. Bill Joy CS Division Department of EE and CS UC Berkeley Berkeley, California 94704 (415) 524-4510 [HOME] (415) 642-4948 [SCHOOL] eter assumes that the system call in number 61. If you have to add this call because you don't have floating point hardware, and you cannot make it call 61. you don't have to remake all the Pascal stuff... simply running the "load" scripts in ../pi, ../pxp and ../px is sufficient... these don't require that you have aeÿeditGø¤�I "EDIT" TEXT EDITOR Edit is the name of a version of the editor ex which is designed for beginning or casual users. When the editor is invoked as "edit" rather than as "ex" the default setting of certain options is changed, making the editing environment less complicated and more informative. Edit is the recommended editor for people who are learning text editing. Users who have experience with an editor such as ed or nex may also prefer to use edit, but they should be aware that the option settings of edit introduce some differences in the way the editor behaves. The option settings which differ in edit are: nomagic: When the "magic" option is set (as in ex), several characters have special meanings in regular expressions (the character strings specified when searching the buffer or indicating the characters to be changed by a substitute command). However, in edit the "nomagic" option in effect, and only the characters  $ ^ \ have special meanings. In this respect, edit is different from the editor ed as well as from ex. noopen: This option prevents the user from accidently entering open and visual modes, in which the editor behaves quite differently than in normal command mode. notify=1: The editor gives feedback whenever a command modifies more than a specified number of lines, set to 1 line in edit. With ex, the user is not notified unless the number of lines modified is greater than 5. Type "help ex" for more information about ex. fexDø¤‘ˆ "EX" TEXT EDITOR The text editor ex is based on, and is essentially compatible with the Unix editor ed. Ex accepts the commands used with ed and offers many additional features. The most noticeable difference between the edi- tors is the feedback provided by ex: it prompts for commands by print- ing ":" and gives useful diagnostic messages. Many features help protect the ex user from the loss of work. Under most circumstances, ex's recovery mechanism is able to save work to within a few lines of changes after a crash or if the phone is hung up accidentally. The undo command can reverse the effects of the last buffer-editing command, and the write command has certain checks which make it more difficult to accidentally destroy files. Users of ed can switch to ex and benefit from these features while continuing to use the same editing commands. Edit is the name of a version of ex which is designed for beginning and casual users. Type "help edit" for more information. Documentation: The Ex Reference Manual (Version 1.1), is available from the Computer Center Library, 218 Evans. A tutorial for beginning users, ``Edit: A tutorial'', can also be obtained there. This write-up ("help ex") is intended to introduce users of the older editors to some of ex's most significant features. Commands: Descriptions of all ex commands are given on pages 7-15 of the Ex Reference Manual. A command may be given by typing either its full name (generally a word which describes its function), or an abbreviation. All one-letter ed commands are valid abbrevia- tions in ex and work the same way in ex with one minor exception: read (r) by default places the contents of the file read after the current line (.). (The default in ed is at the end of the buffer.) The summaries that follow introduce a few useful commands that have no equivalent in ed. help: provides information about the editor in a way similar to Unix help. Enter the editor and type "help index" for more informa- tion. New topics may be added periodically. recover: is used to recover a buffer lost in a crash or when the phone is accidentally hung up. Enter the editor and use the help command to find out more: "help recover" and "help saferecover". preserve: Saves the buffer as if the editor had just crashed. Used in emergencies when a write command has resulted in an error and you don't know how to save your work. After a preserve you should seek help. undo (u): reverses the effects of the last command which had the poten- tial of changing the buffer. Among the commands which can be un- done are append (a), change (c), copy (co), delete (d), global (g), move (m), substitute (s). The commands edit (e) and write (w) cannot be undone. z: print segments of text (enough to fill the screen of a crt termi- nal). By default, start with the current line, or specify a dif- ferent position (e.g., "1z"). Other options available; see page 14 of the Ex Reference Manual. join (j): join lines, adjusting blank space. By default, join the current line to the one after it, or specify another range (e.g., "3,7j"). Open and Visual Modes: alternative modes of editing entered with the commands open (o) and visual (vi) respectively. They are described on pages 16-24 of the Ex Reference Manual. The editor behaves differently in open and visual modes, keeping track of a current position in the line, as reflected by the position of the cursor. Commands are not displayed on the terminal, but their ef- fects on the text are shown immediately. If the editor behaves strangely, you may have accidentally entered open mode by typing "o". Type a "q" to get out of open or visual mode and back into the regular editor command mode. Options: Ex has a set of options which allow the user to change the editing environment. A summary of the available options is on page 2 of the reference manual, and descriptions are given on pages 27-30. Options are set with the command "set". For exam- ple, typing "set noopen" sets an option which will not allow the user to enter open or visual mode (accidental or otherwise). "set open" reverses the option. exdocbugsFø¤�¿ EXCORRECTIONS Ex documentation corrections _T_a_b_l_e _o_f _C_o_n_t_e_n_t_s On page ii under _S_u_m_m_a_r_y _T_a_b_l_e_s change _O_p_e_n _a_n_d _v_i_s_u_a_l _t_a_r_g_e_t_s to _O_p_e_n _a_n_d _v_i_s_u_a_l _o_p_e_r_a_t_i_o_n_s. _C_r_a_s_h _R_e_c_o_v_e_r_y It is no longer true that you must have had a current file name to recover after a crash; files with no name are arbitrarily named ``LOST''. Also note that if the system crashes you will receive mail when it comes up telling you of the name of the file saved for you if you were in the editor. _F_i_l_e _c_o_m_m_a_n_d The _f_i_l_e command description should begin ``The current filename'' not ``The current file'' as the editor does not have a current file, only a current filename associated with a buffer. _V_i_s_u_a_l _C_o_m_m_a_n_d The _v_i_s_u_a_l command may take a trailing count indicating the number of lines to be used (physical) in the window. The default for this count is the value of the _w_i_n_d_o_w option. _V_i_s_u_a_l _O_p_e_r_a_t_i_o_n_s The operations ``e'', ``E'', ``<'' and ``>'' are implemented unless you are on a machine without separate I/D space (Evans "D" system) in which case the features ``0CTRL(d)'' and ``^CTRL(d)'' with _a_u_t_o_i_n_d_e_n_t in _o_p_e_n and _v_i_s_u_a_l also don't work. _E_x _m_a_n_u_a_l _s_e_c_t_i_o_n Add the following bugs: Lines which are _c_h_a_n_g_e_d or _j_o_i_n_e_d lose marks; it would be better for the marks to be attached to the (first) new line. There should be an option for maintaining a perfectly clean screen in _v_i_s_u_a_l and open on very fast (or intelligent) terminals. _T_t_y_c_a_p _d_a_t_a _b_a_s_e In the descripton of the ttycap data base, change ``set and cleared'' to ``cleared and set'' in the second line of the third paragraph. Refer to stty (II) for more information about the flags described in this paragraph. January 14, 1978 tpascal6š¤�³ P A S C A L N E W S 19 January 77 >> Bug in pxp manual section << There is a bug in the description of the `d' option in the pxp manual section. Its description should read ``Don't include declaration parts in a profile'' rather than ``Include declaration parts in a profile.'' 26 September 77 >> Known bugs << The following bugs in the Pascal system are known. As they are rela- tively minor they may not be fixed for some time. 1) Due to a bug in the parser generator used to generate "pi" an empty "then" part of an "if" statement is diagnosed as a syntax error. 2) The name of the containing include file is occasionally not printed before a semantic error diagnostic from an include file when the error occurs on the last routine in that file. 3) Right marginal comments which are past the margin in pxp are folded onto the next line; however, the next time the program is reformatted they will be treated as aligned comments. They should be recognized as still being right marginal comments. 4. If a single input file is larger than 65,000 characters then lines may be printed incorrectly in error listings as the compiler keeps pointers into the source file in 16 bits. If you have files this large you should use "include" files. 5. On machines without floating point the interpreter will occasionally terminate abnormally with an "IOT trap -- Core dumped" when interrupted and while printing out the last statistics. This happens if it is int- errupted in the floating point interpreter, because the floating point interpreter gets mad when it is "reentered". This problem may be fixed shortly. This list of bugs will be updated if new bugs are discovered. ile in 16 bits. If you have files this large you should use "include" files. 5.eÿREAD_MEÙ`ø¤�EThe routines in libX.a are from ../s7 and are used by ex and ashell. flt40Ù_øí�¦$rP ð€&Ð 6÷ –%ß ò‰w ÞÆåõ%Îæôß 6Ö õeuôÿõeuòÿΖfôÿß €Ö 5øÿNôÿæß 6Ö Îœ fòÿß (Ö 5öÿNòÿæß 6Ö  .Μ ß ¨ ß òw^÷ Î$ß –÷ ÷‹¨ Ä ÄÎj ß –Î2ß –΢ ß –Î NÎeòýß –NÎeòýß êÀ ËNÎeòýß Î¢ ß ¸À É çw Ü DÌ¥:ƒ „ Ì‹øÂj à DÄ “„ ûC ŠÂ¢ Ḁ̈̋ Ä“„ Ì¥ ûÒ• „  ŠÂ ÄÌ‹“„ û„ åŠwrw bDΜ À�&ß „Ö •ËöwPw @C ÎÀ &$ß Ö À Àw*„ Ä%î øw DÎ–ß ä�Ë Ô�Ã¥ õŠÀwö üw âDC£Ô‹üÀwÖ üw ÂNfæ@ß X–%Îß òw°w  Æå~wp DÄeÀŸf · `  %ß ôw€7 L 7 L ׯB -· : · 8 ÷(w, 7 .  .÷w" ƒÃeÁHBÚ üJ Ó•-÷ R r f÷ ðÿ€Àe0�‡•à •@à >ÁÎ  Ò‹ƒ D~8ÂpÂt÷ ¬ Ó•0 ÷ $f v÷ öÿ€€LÀe0 9Àe�‡Àx Âr ÷ ” Àj Âd ÷ †7T wæþ‚Âeƒà&æ Ä Ãm8 ÷ 6 ß Ã~Ä Ž”ß à Î ß Ã~Ö „w þ7  ÀŸ · üÀå0 úÿ ‚· èWp `ìÀe0ƒÄeÓ•?‡f…ÀÐ÷ ,ÀÆP�· ¼÷ ¶÷ @…‡f…÷ …‡Àš Àåä 7*Àˆ€ ‰x†7l÷ä x÷p×-j‚÷b‡f…wö‰~J‡A …‡7 .f…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7x1@‰„‡À �1‡wîf…wZAɉŠT‡  Rf…Añ ÷ ^ñ y�± ñ ÷ Fñ y�± @3f…Añ ÷ ñ @9�± !f…A÷ @Àe&7ÐwÌ7àÆ@‰�†7 ±ñ‡w,7 â…‡f…@‰@…&æ¦È B„ƒ‚F…‡7¶ÀÿÿF…‡V\bhntz€†Œ’™ §®µ¼ÂÈÎÔÚàçîcfcc setf setd seti setl clrf negf absf tstf movf movif movfi movof movfo movie movei addf subf mulf divf cmpf modf ldfps stfps stst FLT40 FILEI FILEOCan't open fileCan't create.globl fpjsr jsr pc,fpjsr;%s %s Îd$ox`fneüc sÚl|rüÿðÿýÿøÿ‰ä ‰‰‰¶‰how_piÙ`ø¤�3To translate a program using pi, place the source in a file whose name ends in the characters ".p", i.e. "prog.p". The command pi prog.p will translate the program into interpreter code which will be left in the file "obj" in the current directory. This code can be executed by typing obj or px The program "pix" can be used for load and go Pascal. The complete command line syntax for pi is pi [ -blnpstuw ] [ -i file ... ] name.p The command "man pi" will give information as to the options of pi. Refer to the UNIX Pascal User's Manual for more details. nhow_pixÙ`ø¤�]To translate and execute a program with pix, place the source in a file whose name ends in the characters ".p", i.e. "prog.p". The command pix prog.p will translate the program into interpreter code which will be then be executed If there are compilation errors `E', then execution will be suppressed. To create a permanent "obj" file which you can interpret, use "pi". Type "pi" for basic information on pi. The complete command line syntax for pix is pix [ -blnpstuw ] [ -i file ... ] name.p [ arg ... ] Here the trailing arguments are passed to your Pascal program. This command is equivalent to pi [ -blnpstuw ] [ -i file ... ] name.p and then px scratch [ arg ... ] where scratch is a temporary file which is then removed. The command "man pi" will give information as to the options of pix. Refer to the UNIX Pascal User's Manual for more details. nhow_pxpÙ`ø¤�ITo profile a program do pxp -z name.p after a translation specifying this option to pi and an execution, i.e.: pi -z name.p px or pix -z name.p To use pxp to reformat a program you can use the command: pxp name.p >newname.p The complete format for using pxp is pxp [ -acdefjntuw_ ] [ -23456789 ] [ -z [ name ... ] ] name.p llibX.aÙ`ø¶‘eÿtypeof.oȇª¤�ðØw üÿÆåNÎeôýæØß Ö À NÎeôýß Ä% Ä%ÿÿ)Nôýß Àuk NÎeôýß Ä% ðÄ%ÿÿíNÎeôýß Ã% äÃ%ÿÿáNôýß ÀtQwzÿ@�!ÚNÎeôýß Ä% ¾Ä%ÿÿôºw TÿNß 5ÀEÿ7�&@tøÿÀEÿ7�Àæw(ÿ/etc/ttytype9ˆ¸Ø¸¸Ø ¸9 _ttytype#Ø_typeof"~typeofcsv ttycc2ibufôý_fopen L54L6_getc L8†_close L4‚L20001Bcret L12Ž_stypeof"¨~stypeof¨ttyL16æstypeættycap.oÊb¤�” úFw üÿÆåwòÿNÎeôýæúß Ö Àÿÿ  ŠÂ%ÿÿ Nôýß wÂÿDD-ï†ô¥\ÿÿëÄ NÎeôýß Â%ÿÿáÂ% ì”�òNß ŠÀ áNôýß ÀØw rÿÃnÿ-Ë¥:,D Ë¥| Ë¥: £ƒ „ Ì‹ôÌ‹ Ë¥|Ë¥:Ë‹Àw,ÿˋ˥:Ë¥|ƒ öË‹ƒ Ë‹Ñ íw ÿDC Ì¥:„ Ì‹úÌ¥:„ à à ÷wÜþw ØþÎæÐþß öÖ Ê‹Àÿÿ'R¯&Ê‹$€”AAœ@ Ê¥#‚ à ʥ0à ʥ9 CpD€”ÀeÐÿ`Ê¥0ówlþΦÊw `þÎæXþß öÖ Ì‹ T¯ Ì‹ @0£Àw,þÎ&æw þÎæþß öÖ Ê‹ R¯Ê‹€”AAœ@ Ê¥= ‚ N¦ß 0Ö wØýΦÜw ÌýDæ C•TÂ%:Q€Àå\  ‚À x:Ì¥aÌ¥z•ÂEàÿ“�ç“ rÁ ÁeA! þy„ Âì „ è û øÂõÌ¥0Ì¥9 õøÿ—t•ÀeÐÿPõ øÿÌÌ¥0ÉÌ¥9ñÅ̋ÕÁŠDýwý/etc/ttycap$& $&®Œœ®ææ®æ¨”¢plZI¸HIIIIII_ttycap#ú_tbuf _tgetent"~tgetentcsv bpnamecpcapcibufôý_fopen L6>L4:L9(L13p_close cret L20003TL20008D_getc _tnamatc"Š~tnamatcŠnpNpBpL18îL20012”L19òL21´L20010 L22¸L25ÔL10000ÌL17ÐL26è_tskip"ö~tskipöbpiL30L20014L34L33 L32_tgetnum"$~tgetnum$idibasebpL200210L20023BL38�L41”L42pL43ˆL20018tL44Ž_tgetfla"œ~tgetflaœidbpL20026¨L20028¸L47ÐL50Ô_tgetstr"Ü~tgetstrÜidareacpibpL20031èL20033øL54$L57(_tdecode"0L10004L10005L10006L10007L10008$L78®L70ŒL75œL73æL77¨L74”L76¢L10010:L67pL63lL65Z~tdecode0strareacpciøÿL61>L62êL10003„L20034˜L79âL82Âttycap2.oÊš ¤�¨lÀw üÿÎæôÿß Ö  Ë¥0 Ë¥9uÀ”ÀeÐÿPË‹ò=Ë¥:ƒ  Ë¥0 Ë¥9uÀ”ÀeÐÿPË‹ò@0w”ÿ)ixù_tgetmod"~tgetmodcsv tmvecibp_tbuf _tskip L40L20001L54L6@L7\L20003DL8`cret htmpg.oÈMª¤�ĺ ,w üÿ æºß Ö ' @�t&&ß –%À Î æ&ß –%À% 7 ºÿ÷•/¶ÿ7гÿ÷unÈÿß wžÿß Àÿÿøw ŽÿÀw†ÿw ‚ÿÀ~ÿwzÿw vÿÀ�ÿwnÿw jÿÀ„ÿÀEÿ7�"ÀxÿtøÿÀEÿ7�ÀÄwFÿ/etc/htmpIx˜¨ ÈéÈIéI éI éI  é_hentry _htmp#º_hget"~hgetcsv ttyhunit_open L5b_seek _read L6V_close L4^cret _hgethom"n~hgethomn_hgetuid"z~hgetuidz_hgettyp"†~hgettyp†_hsgetty"’~hsgetty’L19ÄttypeÄhtmps.oÖ›<¤�  Pw üÿÎæß Ö Àÿÿwâÿ @�t&&ß –%Î æ&ß –%À% ß äß Þw ¢ÿ @aÈ‹ @a4’„ Ä%ò4Šw|ÿw xÿwrÿwnÿw jÿw‚ÿw`ÿIx¹ÈØøøI¹I ¹I ¹_hentry _htmp _hput"~hputcsv ttyhunit_open L4L20000L3cret _seek _write L5R_close _hsethom"Z~hsethomZcpiL20002`L10|_hsetuid"„~hsetuid„uid_hsettyp"’~hsettyp’typepascalsÙ`øí‘} ¼q} ®ýerrormsg/®ý€- :† undef id ' /®ý€- :† multi def ' /®ý€- :† identifier' /®ý€- :† program ' /®ý€- :† ) ' /®ý€- :† : ' /®ý€- :† syntax ' /®ý€- :† ident, var' /®ý€- :† of ' /®ý€ - :† ( ' /®ý€ - :† id, array ' /®ý€ - :† [ ' /®ý€ - :† ] ' /®ý€ - :† .. ' /®ý€- :† ; ' /®ý€- :† func. type' /®ý€- :† = ' /®ý€- :† boolean ' /®ý€- :† convar typ' /®ý€- :† type ' /®ý€- :† prog.param' /®ý€- :† too big ' /®ý€- :† .  ' /®ý€- :† typ (case)' /®ý€- :† character ' /®ý€- :† const id ' /®ý€- :† index type' /®ý€- :† indexbound' /®ý€- :† no array ' /®ý€- :† type id ' /®ý€- :† undef type' /®ý€- :† no record ' /®ý€ - :† boole type' /®ý€!- :† arith type' /®ý€"- :† integer ' /®ý€#- :† types ' /®ý€$- :† param type' /®ý€%- :† variab id ' /®ý€&- :† string ' /®ý€'- :† no.of pars' /®ý€(- :† type ' /®ý€)- :† type ' /®ý€*- :† real type ' /®ý€+- :† integer ' /®ý€,- :† var, const' /®ý€-- :† var, proc ' /®ý€.- :† types (:=)' /®ý€/- :† typ (case)' /®ý€0- :† type ' /®ý€1- :† store ovfl' /®ý€2- :† constant ' /®ý€3- :† := ' /®ý€4- :† then ' /®ý€5- :† until ' /®ý€6- :† do ' /®ý€7- :† to downto ' /®ý€8- :† begin ' /®ý€9- :† end ' /®ý€:- :† factor ' /üÿ€"Î×Ά key wordsÕ ×{Vÿø¬: t{Vÿzüÿ»®: /üÿzüÿ€2! ÚÿÎzüÿц Õ/®ýzüÿ :… Õ ×/Vÿ{Vÿøzüÿ» ¬:©ø' zÿ error ,zRÿ€ Ά **** ÕzfÿzRÿ JÎzfÿzRÿ9€ Ó€^Ó€zÑ/Rÿzfÿ€2!/Vÿ{Vÿøz» ¬:¨' ºÿfatal 5Îתø/ºÿ€- † identifier' /ºÿ€- † procedures' /ºÿ€- † reals ' /ºÿ€- † arrays ' /ºÿ€- † levels ' /ºÿ€- † code ' /ºÿ€- † strings ' Ά compiler table for Õ/ºÿz … Õ † is too small Õ × ¦÷ nextch zfÿz^ÿ ÖyþÿÄ ,Î×Ά program incomplete Õ×X÷ P÷zRÿ€ Î×/Rÿ€"΀zbÿц Õ/^ÿ€"/fÿ€"yþÿÅ 8/^ÿz^ÿ€2!Í/âÿË(ÎxâÿÓ/jÿz^ÿ&xâÿ( ÀÿÎ×/^ÿz^ÿ€2!Í/jÿz^ÿ&Ë(/fÿzfÿ€2!/âÿ/jÿzfÿ&|( °º²2 øÿreadscalÄþ/øÿ€"/üÿ€"xâÿ€+ ¤þ xâÿ€- �þ/øÿ€`!€9€0€xâÿ« "/üÿ€ züÿCxâÿ2€0:!Zþ Òÿ/ðÿzüÿzøÿAzðÿ1! ìÿadjustsc%zôÿzðÿ1�B €¸pü  Òzôÿzðÿ1�Üþ /èÿ€* ²/üÿzðÿI!/ìÿƒ€@$/ôÿƒ B$züÿñ /üÿzüÿ€R!/ôÿ{ôÿý$ Øÿ/üÿzüÿ€:!/ìÿ{ôÿ{ìÿN$züÿ€ ®ÿzðÿ€ /èÿ{èÿ{ìÿN$ /èÿ{èÿ{ìÿO$ðÿinsymbol/xâÿ€ xâÿ€  ý äÿ€z€a€xâÿ« "/ôÿ€"/ôÿ† ' zôÿ€  "/ôÿzôÿ€2!/ôÿzôÿ&xâÿ(²ü€z€a€9€0€xâÿ« ¼ÿ/üÿ€"/øÿ€"/ôÿzüÿzøÿ1€R!„ôÿ /þzôÿ …  /øÿzôÿ€:!„ôÿ /þzôÿ …  /üÿzôÿ€2!züÿzøÿ ˆÿzüÿ€:zøÿ /þÿ/òýzôÿ&|( /þÿ€$( <€9€0€xâÿ« t/ôÿ€"/ðÿ€"/þÿ€(/ðÿzðÿ€ Bxâÿ2€0:!/ôÿzôÿ€2!Šû€9€0€xâÿ« Æÿzôÿ€zðÿ‚ÿÿÿ €¸¶ù /ðÿ€"/ôÿ€"xâÿ€. ¢4ûxâÿ€. /âÿ€:( ‚/þÿ€(/èÿzðÿ+/ðÿ€"€9€0€xâÿ« 8/ðÿzðÿ€:!/èÿƒ B{èÿNxâÿ€085$Àú ¼ÿxâÿ€e Ôûzðÿ€ `ü <xâÿ€e 0/þÿ€(/èÿzðÿ+/ðÿ€"–ûzðÿ€ "ü ºxâÿ R~Æò0€€€€€€€€€€€€œœœœœœœœ:<>.'(+-*/)=,[]#&;$\!?@_"^ bþùxâÿ€= /þÿ€(æù /þÿ€( ÒÿÒùxâÿ€= /þÿ€(ºù &xâÿ€> /þÿ€(žù /þÿ€( ŠÿŠùxâÿ€= /þÿ€(rù /þÿ€( ^ÿ^ùxâÿ€. /þÿ€(Fù /þÿ€( 2ÿ/ôÿ€"*ùxâÿ€' ùxâÿ€'  .úzbýzôÿ1�� €¸Ò÷ /Àëzbýzôÿ1&xâÿ(/ôÿzôÿ€2!zfÿ€ /ôÿ€"  Êùzôÿ€ "/þÿ€(/ðÿ/Àëzbý&|" Xzôÿ€ €&¸Êö /þÿ€(/ðÿ€" ./þÿ€(/ðÿzbý!/äÿzôÿ!/býzbýzôÿ1! þ øxâÿ€* /þÿ€( 2øxâÿ€*  ô÷ îÿì÷xâÿ€) ÞÿÜ÷ ôø Ðý/þÿ/rýxâÿ%|(¼÷ ´ý€¸ö ª÷ Âø žý þÿenter /nýzný€2!/þÿ/bñzný d yþÿ„ ' yþÿ, zný€:!yþÿ,x(yþÿ,x(yþÿ,€"yþÿ,€(yþÿ,€(yþÿ,z! þÿenterarr zz €¸Dõ zI‚ÿÿzI‚ÿÿ €¸õ /€"/€"zjý€ €¸võ  F/jýzjý€2!/þÿ/’îzjý  yþÿx(yþÿ,z!yþÿ, z! enterblozfý€ €¸õ  6/fýzfý€2!/Rízfý €"/Rízfý ,€" enterreazZý€€8 €¸žô  b/ ëzZý€2&{$/^ý€"/ ëz^ý&{ /^ýz^ý€2! Øÿz^ýzZý /Zýz^ý! emit &zbÿ�è €¸ô /ØËzbÿ&z)/bÿzbÿ€2! þÿemit1 +zbÿ�è €¸Âó /þÿ/ØËzbÿ& yþÿz)yþÿ,z!/bÿzbÿ€2! þÿemit2 2zbÿ�è €¸`ó /þÿ/ØËzbÿ& yþÿz)yþÿ,z)yþÿ,z!/bÿzbÿ€2! îÿprinttab:Ά80identifiers link obj typ ref nrm lev adrÕ8×/üÿ/Rí€-~€2!/ðÿzný!züÿzðÿ Ž/îÿ/bñzüÿ d ÎzüÿÑ€ Óyîÿ… Õ €yîÿ, ~Ñ€yîÿ,|Ѐyîÿ,|Ѐyîÿ,~Ñ€yîÿ,|Ѐyîÿ,|Ѐyîÿ,~Ñ×zðÿ/üÿ²vÿΆ0blocks last lpar psze vszeÕ×/üÿ€"/ðÿzfý!züÿzðÿ Z/îÿ/Rízüÿ  ÎzüÿÑ€yîÿ~Ñ€yîÿ,~Ñ€yîÿ,~Ñ€yîÿ, ~Ñ×zðÿ/üÿ²ªÿΆ-0arrays xtyp etyp eref low high elsz size Õ-×/üÿ€"/ðÿzjý!züÿzðÿ ~/îÿ/’îzüÿ  ÎzüÿÑ€yîÿ|Ѐyîÿ,|Ѐyîÿ,~Ñ€yîÿ,~Ñ€yîÿ, ~Ñ€yîÿ,~Ñ€yîÿ,~Ñ×zðÿ/üÿ²†ÿΆ0code:Õ×/üÿ€"/ðÿzbÿ€:!züÿzðÿ ¨züÿ€Z€ Î×΀züÿÑ/ôÿ/ØËzüÿ&'΀/ôÿ|Ð/ôÿ|€ :/ôÿ|€ ΀/öÿ|Ѐ/øÿ~Ñ ΀/øÿ~Ñ Ά Õ΀,Ózðÿ/üÿ²\ÿÎ× 8 skip zï „xþÿ®2 °ñ äÿ test „xþÿ®2 „„¨zˆÿ  testsemixþÿ€ Fñ $€¸‚î € € €xþÿ«  ñù€$ ¬2„,ÿ¨„€¸Tÿ  öÿenter !zný€d €¸žî  "/bñ€-d„ ' /üÿ/Rí/8ýz&~ ~!/øÿzüÿ!/bñzüÿ d… „  /üÿ/bñzüÿ d, ~! Èÿzüÿ€ €¸ˆí  �/nýzný€2!/öÿ/bñzný d yöÿ„ ' yöÿ, zøÿ!yöÿ,x(yöÿ,€(yöÿ,€"yöÿ,z)yöÿ,€"/Rí/8ýz&~ zný! øÿloc 2/üÿz!/bñ€-d„ ' /øÿ/Rí/8ýzüÿ&~ ~!/bñzøÿ d… „  /øÿ/bñzøÿ d, ~! Èÿ/üÿzüÿ€:!züÿ€zøÿ€ „ÿzøÿ€ €¸0ì /zøÿ! entervar;xþÿ€$ „ôÿ €ºý ªî €¸æë  øÿconstantCy€(y,€"„<ÿ„€2¸ºü „<ÿxþÿ®2 ¶xþÿ€ y€(y,zðÿ!(î t/øÿ€"€ € €xþÿ« xþÿ€ /øÿ€`!îíxþÿ€$ Æ/üÿü„ôÿ *þ !züÿ€ ž/bñzüÿ d,|€ €¸èê  vy/bñzüÿ d,|(y|€ 0y,zøÿ/ ë/bñzüÿ d,~&G$ "y,zøÿ/bñzüÿ d,~A!"í nxþÿ€ $y€(y,zøÿzðÿA!ôì @xþÿ€ $y€(y,zøÿ{èÿG$Æì „€2¸Ðú „ù¬2€¸òú  ö àÿarraytypnù€ € € €. ¬2„¨/ôÿ¾ý /ôÿ|€ €¸†é /ôÿ€(/öÿ€"xþÿ€ ì € ¸Xé ù€ € € €. ¬2„¨/êÿLý /êÿ|/ôÿ| €¸é /ìÿ/öÿ~!/ôÿ|/öÿ~/ìÿ~‚ó yzjý!xþÿ€ ˆë/þÿ€(/æÿ/âÿäþ  fxþÿ€ ^ë € ¸šè xþÿ€ @ëxþÿ€. 0ë €¸lè „/þÿ/æÿ/âÿxþ /àÿ/’îy~  yyàÿ, ~yàÿ,~9€2zâÿA!yàÿ,y~!yàÿ,xþÿ(yàÿ,zæÿ!yàÿ,zâÿ!äÿtyp †y€(y€"y€"„4ÿ„€ ¸¼ø „4ÿxþÿ®2 .xþÿ€$ ž/üÿü„ôÿ Šú !züÿ€ v/äÿ/bñzüÿ d yäÿ,|€ €¸>ç  Dyyäÿ,|(yyäÿ,~!yyäÿ,~!y|€ €¸øæ ªé lxþÿ€! N–éxþÿ€ †é € ¸Âæ xþÿ€ héy€(yyÄü  Jéêñy€(yzfý!z€ €¸ìæ /z€2!/8ýz&zfý!/îÿ€"xþÿ€+ fxþÿ€$ ö/êÿzný!øùxþÿ€ Àèäù êÿxþÿ€ ¨è €¸äå /æÿzný!„ù€ €+ € €$ ¬2¨/úÿ/öÿ/òÿÊû zêÿzæÿ f/êÿzêÿ€2!/äÿ/bñzêÿ d yäÿ,xúÿ(yäÿ,zöÿ!yäÿ,€(yäÿ,zîÿ!/îÿzîÿzòÿ1! �ÿxþÿ€+ Vxþÿ€ Îç €¸ å xþÿ€ °çù€$ €+ € ¬2„€¸äõ  ’þ/Ríy~ , zîÿ!yzîÿ!/Ríy~ ,€"Jç/z€:!„ù¬2€¸|õ  êÿparameteÈ ç/þÿ€(/úÿ€"/öÿ€"ù€$ € ¬2„ù€ ¬2¨€¸õ €$ € €xþÿ« >xþÿ€ /ìÿ€( �æ/ìÿ€(/îÿzný!¢÷xþÿ€ jæŽ÷ êÿxþÿ€ îRæxþÿ€$ €¸†ã  –/òÿü„ôÿ €ö ! æzòÿ€ r/êÿ/bñzòÿ d yêÿ,|€ €¸0ã  @/þÿyêÿ,|(/úÿyêÿ,~!xìÿ /öÿyêÿ,~! /öÿ€"ù€ € ¬2ù€ €$ ¬2„¨€¸Èó  €¸ªâ zîÿzný t/îÿzîÿ€2!/êÿ/bñzîÿ d yêÿ,xþÿ(yêÿ,zúÿ!yêÿ,xìÿ(yêÿ,züÿ!yêÿ,z)/üÿzüÿzöÿ1! ‚ÿxþÿ€ bxþÿ€ Ää €¸â xþÿ€ ¦äù€$ € ¬2ù€ ¬2„¨€¸Îò  ²ýxþÿ€ ,`äù€ € ¬2„€¸˜ò  €¸zá  öÿconstantùäù€$ ¬2„,ÿ€¸Tò xþÿ€$ ê„ôÿ €ìò Üãxþÿ€  Ìã €¸á xþÿ€ ®ãù€ € €$ ¬2„¨/öÿðô /bñzný d,/öÿ|(/bñzný d,€"/öÿ|€ (/øÿHì /bñzný d,z^ý! /bñzný d,/øÿ~!¤ñ ÿ ðÿtypedecl îâù€$ ¬2„,ÿ€¸*ñ xþÿ€$ ¼„ôÿ €Âñ /òÿzný!¨âxþÿ€  ˜â €¸Ôß xþÿ€ zâù€ € €$ ¬2„¨/þÿ/úÿ/öÿ¸õ /ðÿ/bñzòÿ d yðÿ,xþÿ(yðÿ,zúÿ!yðÿ,zöÿ!¨ð <ÿ ìÿvariableòáxþÿ€$ /üÿzný!óxþÿ€ Èáìò êÿxþÿ€ °á €¸ìÞ /øÿzný!ù€ € €$ ¬2„¨/îÿ/ôÿ/ðÿÖô züÿzøÿ r/üÿzüÿ€2!/ìÿ/bñzüÿ d yìÿ,xîÿ(yìÿ,zôÿ!yìÿ,z)yìÿ,züÿ!yìÿ,€(/üÿzüÿzðÿ1! „ÿ€ï òþ þÿprocdecl6/þÿxþÿ€(¼àxþÿ€$ €¸ðÝ /ôÿ† ' xþÿ „ôÿ €Šï „ôÿ €xï /bñzný d,€(Tàù€ ¬2„¨xþÿz€2Fî xþÿ€ à €¸XÝ € xþÿ0šé  d$ ¤ òÿselectorIxþÿ€ &Ôßxþÿ€$ €¸Ý  y|€ €¸ìÜ  ä/òÿ/Ríy,~ ~!/bñ€-d„ôÿ ' /bñzòÿ d… „ôÿ  /òÿ/bñzòÿ d, ~! Èÿzòÿ€ €¸jÜ y/bñzòÿ d,|(y,/bñzòÿ d,~!/öÿ/bñzòÿ d,~!zöÿ€ € ¸zöÿ¢è ¸Þ :xþÿ€ € ¸èÛ šÞ„ù€ € ¬2¨/úÿ€þ y|€ €¸¨Û  ¦/öÿy,~!/’îzöÿ |/úÿ| €¸pÛ  </’îzöÿ ,~€ €¸zöÿàç  €¸zöÿÎç y/’îzöÿ ,|(y,/’îzöÿ ,~!xþÿ€ ÿxþÿ€ šÝ € ¸ÖÚ xþÿ€ |Ý€ € € €xþÿ« €ý„ù¬2€¸¢ë  îÿcall p€¸z ç /öÿ/Rí/bñz d,~ ,~!/òÿz!xþÿ€ HæÜzòÿzöÿ €'¸Ú  Ü/òÿzòÿ€2!/bñzòÿ d,| („ù€ € € ¬2¨/úÿˆü /úÿ|/bñzòÿ d,| Ž/üÿ~/bñzòÿ d,~ €$¸‚Ù  ^/úÿ|€ $€¸/’î/üÿ~ ,~îå  ./úÿ|€ €¸/Rí/üÿ~ , ~¾å  R/úÿ|€/bñzòÿ d,|€ €¸€¸†å  /úÿ|€ €$¸ÎØ  ’xþÿ€$ €¸´Ø  x/îÿü„ôÿ ®ë !NÛzîÿ€ T/bñzîÿ d,|€ €%¸hØ /úÿ/bñzîÿ d,|(/üÿ/bñzîÿ d,~!/bñzîÿ d,| 6€¸/bñzîÿ d,|¸/bñzîÿ d,~ðä 2€¸/bñzîÿ d,|¸/bñzîÿ d,~¼ä € € € €xþÿ« *„ù€ € € ¬2¨/úÿBú /úÿ|/bñzòÿ d,|/üÿ~/bñzòÿ d,~ €$¸:× ù€ € ¬2„€¸(è xþÿ€ Úüxþÿ€ ²Ù €¸îÖ zòÿzöÿ €'¸ÖÖ €¸/Rí/bñz d,~ ,~€:Dã /bñz d,|z $€¸/bñz d,|¸zhã  resulttyžx€x€ €!¸6Ö /€( „x€x€ /€( bx€ 4x€ /€( /€(€¸€¸jâ  $/€(x€ €¸€¸Dâ  ü x ~ þÿstandfct»xþÿ€ .Ø € ¸jÕ z€ ¶„ù€ ¬2¨yþ÷ z¢^^®®Æüü  ð/þÿÿ€ € ¬'/bñzüÿ d,y|(y|€ /z€2! ®ÿ/þÿÿ€ ¬' –ÿy|€ /€"/þÿÿ€ € € ¬' `ÿ/þÿÿ€ ¬' Hÿ/þÿÿ€ € ¬'y|€ €¸€¸Œà  ÿxþÿy|® €¸zfà  y|€ €0¸®Ó  Vxþÿ€$ €¸”Ó  .„ôÿ † input  €¸lÓ  Ö€¸zòß y/bñzüÿ d,|(xþÿ€ äÕ €¸ Ó öÿfactor Ùy€(y,€"„$ÿ„€:¸øã „$ÿxþÿ®2 ¬xþÿ€$ J/üÿü„ôÿ Æå !fÕ/öÿ/bñzüÿ d yöÿ,|  ¼¼Ê üyyöÿ,|(y,€"y| &<R Z€¸yöÿ,~ØÞ  èÿ€¸yöÿ,~ÂÞ  Òÿ€@¸yöÿ,~¬Þ  ¼ÿ€A¸yöÿ,~–Þ  ¦ÿ rÿyyöÿ,|(y,yöÿ,~!€ € € €xþÿ« pyöÿ,| /øÿ€" /øÿ€"zøÿyöÿ,|¸yöÿ,~~Þ „y4ô xXýy|® €"¸¢Ý  vxXýy|® &yöÿ,| /øÿ€" /øÿ€" "yöÿ,| /øÿ€" /øÿ€"zøÿyöÿ,|¸yöÿ,~ØÝ Vþ€,¸ÌÐ  Hþyyöÿ,|(yöÿ,|€ „züÿö yöÿ,~òú  þ >€ € € €xþÿ« €xþÿ€ &y€({èÿÜ €¸z^ýØÜ  >xþÿ€ y€(€A¸zðÿ²Ü  y€(€¸zðÿ˜Ü y,€"¤Ò ¨xþÿ€ H�Ò„ù€ ¬2¨yzò xþÿ€ `Ò €¸œÏ  Vxþÿ€ J>Ò„y Þù y|€ €#¸°Û  y|€ € ¸DÏ „„$ÿ€¸>à  Düøÿterm „ ù€ € € € € ¬2¨y  Pù € € € € € €xþÿ« "/ øÿxþÿ(rÑ„ ù€ € € € € ¬2¨/ úÿ òø x øÿ€ Vy þy |/ úÿ|ø (y |   " úÿ€9¸’Ú  ìÿ€<¸„Ú  Þÿ €x øÿ€  ¢y |€ €¸€¸ Ú y €(/ úÿ|€ €¸€¸|Ú / úÿ€(y |€/ úÿ|€ €=¸Ú  .y |€/ úÿ|€ €!¸ŒÍ y €( Ôx øÿ€  Zy |€/ úÿ|€ €8¸ Ù  .y |€/ úÿ|€ € ¸(Í y €( py |€/ úÿ|€ *x øÿ€ €:¸<Ù  €;¸.Ù  .y |€/ úÿ|€ €"¸¶Ì y €( ÂýøÿsimpleexH€ € €xþÿ« †/ øÿxþÿ(.Ï„ ù€ € ¬2¨y  ¶ö y |€ €!¸<Ì  4x øÿ€ (y |€ €B¸dØ  €$¸VØ  *„ ù€ € € ¬2¨y  <ö € € € €xþÿ« $/ øÿxþÿ(j΄ ù€ € € ¬2¨/ úÿ îõ x øÿ€  Zy |€/ úÿ|€ €3¸¬×  .y |€/ úÿ|€ € ¸4Ë y €( †y þy |/ úÿ|¬ô (y | : V úÿx øÿ€ €4¸.×  €5¸ ×  Òÿx øÿ€ €6¸×  €7¸øÖ  ªÿ Èþøÿexpressil„ù€ € € € € € ¬2¨yºô € € € € € € €xþÿ« ®/øÿxþÿ(àÌ„/úÿxô € € € € €y|«y|/úÿ| vxøÿ $2@N\  V€-¸Ö  ðÿ€.¸Ö  âÿ€/¸úÕ  Ôÿ€0¸ìÕ  Æÿ€1¸ÞÕ  ¸ÿ€2¸ÐÕ  ªÿ æy|€ y€(€¸€¸ðÕ  &/úÿ|€ /úÿ€(€¸€¸ÈÕ y|€/úÿ|€ vxøÿ $2@N\  V€'¸<Õ  ðÿ€(¸.Õ  âÿ€)¸ Õ  Ôÿ€*¸Õ  Æÿ€+¸Õ  ¸ÿ€,¸öÔ  ªÿ €#¸”È y€( ðÿassignme•/úÿ/bñzüÿ d,|(/üÿ/bñzüÿ d,~!/bñzüÿ d,| /ðÿ€" /ðÿ€"zðÿzz Õ € € € €xþÿ« &ù€ € ¬2„¨/úÿ”ê xþÿ€ vÊ €3¸²Ç xþÿ€  XÊ„/ôÿRê /úÿ|/ôÿ| –xXý/úÿ|® €&¸²Ó  p/üÿ~/öÿ~ €.¸BÇ  P/úÿ|€ $€¸/’î/üÿ~ ,~®Ó  €¸/Rí/üÿ~ , ~ŒÓ  \/úÿ|€/ôÿ|€ €¸€¸`Ó €&¸ Ó  &/úÿ|€/ôÿ|€ €.¸’Æ  compound¬0Éù€ €+ ¬2„¨é ù€ ¬2„ÿ¨xþÿ®2 Dxþÿ€ ÜÈ €¸Æ ù€ €+ ¬2„¨´è  œÿxþÿ€+ šÈ €9¸ÖÅ  òÿifstatem·tÈ„ù€2 €/ ¬2¨/úÿZè € € €/úÿ|« €¸xÅ /öÿzbÿ!€ ¸´Ñ xþÿ€2  È €4¸FÅ xþÿ€/ ìÇ„ù€, ¬2¨Öç xþÿ€, RÀÇ/òÿzbÿ!€ ¸FÑ /ØËzöÿ&,zbÿ!„’ç /ØËzòÿ&,zbÿ! /ØËzöÿ&,zbÿ! ž òÿcaselabeÏ„ù€ € ¬2¨/ öÿŽØ / öÿ|/úÿ| €/¸RÄ  šzöÿ€ €¸¼Ä  €/öÿzöÿ€2!/ òÿ€"/úþzöÿ&/ øÿ~!/úþzöÿ&,zbÿ!/ òÿz òÿ€2!/úþz òÿ&~/ øÿ~ Úÿz òÿzöÿ €¸¶Ã  onecase Ú„<ÿxþÿ®2 †èþxþÿ€ 0ÆÔþ êÿxþÿ€ Æ €¸Tà ù€ €+ ¬2„¨ðå /òÿzòÿ€2!/‚þzòÿ&zbÿ!€ ¸ZÏ ~þcasestatã¬Å/öÿ€"/òÿ€"„ù€. € € ¬2¨/úÿ~å € € € € €/úÿ|« €¸” /êÿzbÿ!€ ¸ÐÎ xþÿ€. &Å €¸b ¬þxþÿ€ Řþ êÿ/ØËzêÿ&,zbÿ!/îÿ€"/~þzöÿ!zîÿz~þ @€ ¸/úþzîÿ&~–Î € ¸/úþzîÿ&,~|Î z~þ/îÿ²Äÿ€ ¸€¸bÎ /îÿ€"/~þzòÿ!zîÿz~þ ,/ØË/‚þzîÿ&~&,zbÿ!z~þ/îÿ²Øÿxþÿ€+ "Ä €9¸^Á  öÿrepeatstù/öÿzbÿ!òÃù€ €- ¬2„¨Øã ù€ ¬2„ÿ¨xþÿ®2 Dxþÿ€ žÃ €¸ÚÀ ù€ €- ¬2„¨vã  œÿxþÿ€- J\Ä/úÿVã € € €/úÿ|« €¸tÀ € ¸zöÿÍ  €5¸XÀ  òÿwhilesta öÂ/öÿzbÿ!„ù€/ ¬2¨/úÿÖâ € € €/úÿ|« €¸ô¿ /òÿzbÿ!€ ¸0Ì xþÿ€/ †Â €6¸¿ „râ € ¸zöÿDÌ /ØËzòÿ&,zbÿ! èÿforstate2Âxþÿ€$ ü/ôÿü„ôÿ nÒ !Âzôÿ€ /þÿ€( È/bñzôÿ d,|€ œ/þÿ/bñzôÿ d,|(/bñzôÿ d,| €%¸ì¾  2€¸/bñzôÿ d,|¸/bñzôÿ d,~¶Ë € € € € €xþÿ« €¸�¾  €%¸‚¾ /þÿ€( .ù€ €0 €1 €/ ¬2„¨€¸Ï xþÿ€ LðÀù€0 €1 €/ ¬2„¨/øÿÒà /øÿ|xþÿ €¸ø½  *ù€0 €1 €/ ¬2„¨€3¸ Î /ðÿ€"€0 €1 €xþÿ« Xxþÿ€1 /ðÿ€"NÀù€/ ¬2„¨/øÿ8à /øÿ|xþÿ €¸^½  "ù€/ ¬2„¨€7¸Î /ìÿzbÿ!zðÿvÉ xþÿ€/ Ì¿ €6¸½ /èÿzbÿ!„®ß zðÿ€2zèÿ|É /ØËzìÿ&,zbÿ! ìÿstandpro4z¢ ´xFÿ €¸‚¼ /Fÿ€(xþÿ€ ¼ ¿xþÿ€$ €¸T¼  R/üÿü„ôÿ NÏ !î¾züÿ€ ./bñzüÿ d,|€ €%¸¼  /òÿ/bñzüÿ d,|(/ôÿ/bñzüÿ d,~!/bñzüÿ d,| /øÿ€" /øÿ€"zøÿ/bñzüÿ d,|¸/bñzüÿ d,~xÈ € € € €xþÿ« &„ù€ € ¬2¨/òÿÞ € € € € €/òÿ|« €¸/òÿ|¸ªÇ  €(¸» ù€ € ¬2„€¸îË xþÿ€ fþxþÿ€ x½ €¸´º z€ €>¸îÆ  þxþÿ€ ’@½xþÿ€ &€¸zäÿ Ç €¸zðÿþÆ ½ 4„ù€ € € ¬2¨/òÿòÜ xXý/òÿ|® €)¸º xþÿ€ θ¼„ù€ € € ¬2¨/ìÿšÜ /ìÿ|€ €+¸¹ xþÿ€ h/òÿ|€ €*¸ž¹ P¼„ù€ € ¬2¨/ìÿ6Ü /ìÿ|€ €+¸^¹ €%¸¤Å  €¸/òÿ|¸ÚÅ  €¸/òÿ|¸ÄÅ xþÿ€ �þxþÿ€ » €¸þ¸ z€ €?¸8Å  Lüüÿstatemenl„ÿù€$ ¬2¨xþÿ®2 ‚xþÿ JRZbjr$%&')(* b/üÿü„ôÿ ŽË !.»züÿ€ /bñzüÿ d,| "Rœ â€-¸:¸  ðÿ/bñzüÿ d,|¸/bñzüÿ d,~„ï  Àÿ/bñzüÿ d,|€ „züÿPÝ /bñzüÿ d,~úú  vÿ/bñzüÿ d,~/8ýz&~ &/bñzüÿ d,|€0€¸ðî  €-¸h·  ÿ ÎþÎð Æþ‚ñ ¾þ¦ò ¶þðö ®þâõ ¦þ¤÷ žþ„ù¬2€¸&È ðÿblock ˆ/üÿ€"/øÿzný!z€ €¸b· ù€ € € ¬2„€¸ÈÇ Â/8ýz&zfý!/ôÿzfý!/bñzøÿ d,€(/bñzøÿ d,zôÿ!xþÿ€ öÑ/Rízôÿ ,zný!/Rízôÿ ,züÿ!x îxþÿ€ Øиxþÿ€$ ¤/ðÿü„ôÿ  É !¬¸zðÿ€ |/bñzðÿ d,|€ €¸Ƶ  TxXý/bñzðÿ d,|® */bñzøÿ d,/bñzðÿ d,|( €¸pµ  "ù€ ¬2„¨€¸ Æ €¸>µ xþÿ€ ä· €¸ µ xþÿ€ šÓxþÿ€ ´Ôxþÿ€  Õ/Rízôÿ , züÿ!€ € €xþÿ« šÖ æÿù€% ¬2„,ÿ„ÿ¨€8¸¨Å „ÿxþÿ®2 fÿ/bñzøÿ d,zbÿ! ·ù€ €+ ¬2„¨× ù€ ¬2„ÿ¨xþÿ®2 Dxþÿ€ ̶ €¸´ ù€ €+ ¬2„¨¤Ö  œÿxþÿ€+ ж €9¸Ƴ „ù€ ¬2¨ù¬2€¸¬Ä  óinterpre /ó€%€"/ó€%€"/ó€%€`!/ó€%/Rí€-~!/êÿ€"/žÿ€%€"/îÿ/Rí€-, ~€:!/ôÿ/bñ/ó€%~ d,~!/òÿ€(/æÿ€"/âÿ€"/Úÿ€"/ºÿ€%€ "/ºÿ€%€"/ºÿ€%€ "/ºÿ€%€"/øÿ/ØËzôÿ&'/ôÿzôÿ€2!/âÿzâÿ€2!/øÿ| >¾lÒ>Àèø*èZÖHÄL € 4 ü ˜ 2 r ¼ ¼ þ 0ÖhPZf¨æ2Tvö2t¶ø:|¾B„ÆJŒÎR”Ö€è*š¸ @A !"#$B%&'()*+,-./0123456789:;<=>? 0/îÿzîÿ€2!zîÿ�� /òÿ€( (/ózîÿ&/žÿ/úÿ|%~/üÿ~1! ¬ÿ/îÿzîÿ€2!zîÿ�� /òÿ€( 2/ózîÿ&/ó/žÿ/úÿ|%~/üÿ~1&' Pÿ/îÿzîÿ€2!zîÿ�� /òÿ€( </ózîÿ&/ó/ó/žÿ/úÿ|%~/üÿ~1&~&' êþ/Öÿ/üÿ~!/Òÿ/úÿ|"/Îÿzêÿ!/žÿzÖÿ&zÎÿ!/ÖÿzÖÿ€:!/Îÿ/ózÎÿ€2&~!zÖÿzÒÿ ¼ÿ ~þ/üÿ~¢|žÀâ&~žÀâ&HjŒ®Ðò2r  ü/ózîÿ&/ózîÿ&~I! Üÿ/ózîÿ&/ózîÿ&J$ ºÿ/ózîÿ&/ózîÿ&~ü! ˜ÿ/ózîÿ&/ózîÿ&ý$ vÿ/ózîÿ&/ózîÿ&~ñ( Tÿ/ózîÿ&~€/ózîÿ&~€ /òÿ€( /ózîÿ&/ózîÿ&~ï( üþ/ózîÿ&/ózîÿ&|" Üþ/ózîÿ&/ózîÿ&|õ( ºþ/ózîÿ&/ózîÿ&|ò( ˜þ/ózîÿ&/ózîÿ&þ! vþ/ózîÿ&/ózîÿ&ÿ! Tþ/ózîÿ&/ózîÿ&ì$ 2þ/ózîÿ&/ózîÿ&é$ þ/ózîÿ&/ózîÿ&ê$ îý/ózîÿ&/ózîÿ&ë$ Ìý/ózîÿ&/ózîÿ&í$ ªý/ózîÿ&/ózîÿ&è$ ˆý/îÿzîÿ€2!zîÿ�� /òÿ€( /ózîÿ&yþÿÄ( Hý/îÿzîÿ€2!zîÿ�� /òÿ€( /ózîÿ&yþÿÅ( ý ý üú/ózîÿ&/ózîÿ&~/üÿ~1! Ôú/ôÿ/üÿ~! Äú/ózîÿ&| /ôÿ/üÿ~!/îÿzîÿ€:! ’ú/Öÿ/ózîÿ&~!/îÿzîÿ€:!/Òÿ/üÿ~!/Îÿ€"/ØËzÒÿ&|€  /Îÿ€"/òÿ€( P/ØËzÒÿ&,~zÖÿ (/Îÿ€"/ôÿ/ØËzÒÿ€2&,~! /ÒÿzÒÿ€2!zÎÿ€ ~ÿ Ôù/Öÿ/ózîÿ€:&~!zÖÿ/ózîÿ&~ &/ó/ózîÿ€:&~&zÖÿ! /îÿzîÿ€:!/ôÿ/üÿ~! bù/Òÿ/ózîÿ€:&~!/Öÿ/ózÒÿ&~€2!zÖÿ/ózîÿ&~ $/ózÒÿ&zÖÿ!/ôÿ/üÿ~! /îÿzîÿ€:! æø/Öÿ/ózîÿ€:&~!zÖÿ/ózîÿ&~ &/ó/ózîÿ€:&~&zÖÿ! /ôÿ/üÿ~!/îÿzîÿ€:! tø/Òÿ/ózîÿ€:&~!/Öÿ/ózÒÿ&~€:!zÖÿ/ózîÿ&~ $/ózÒÿ&zÖÿ!/ôÿ/üÿ~! /îÿzîÿ€:! ø÷/Öÿ/Rí/bñ/üÿ~ d,~ , ~!zîÿzÖÿ1�� /òÿ€( >/îÿzîÿ€2!/ózîÿ€:&zÖÿ€:!/ózîÿ&/üÿ~! p÷/Öÿzîÿ/üÿ~9!/Òÿ/ózÖÿ€2&~!/Îÿ/bñzÒÿ d,|"/žÿzÎÿ€2&zÖÿ!/Êÿ/ózÖÿ€2&~zÖÿ1!/ózÖÿ€2&zôÿ!/ózÖÿ€2&/žÿzÎÿ&~!/ózÖÿ€2&zêÿ!/Îÿzîÿ€2!/ózÊÿ!zÎÿzó /ózÎÿ&€"zó/Îÿ²æÿ/êÿzÖÿ!/îÿzÊÿ!/ôÿ/bñzÒÿ d,~! <ö/Öÿ/üÿ~!/Òÿ/’îzÖÿ ,~!/Îÿ/ózîÿ&~!zÎÿzÒÿ /òÿ€( `zÎÿ/’îzÖÿ , ~ /òÿ€( 8/îÿzîÿ€:!/ózîÿ&/ózîÿ&~zÎÿzÒÿ91! ˆõ/Öÿ/üÿ~!/Òÿ/’îzÖÿ ,~!/Îÿ/ózîÿ&~!zÎÿzÒÿ /òÿ€( tzÎÿ/’îzÖÿ , ~ /òÿ€( L/îÿzîÿ€:!/ózîÿ&/ózîÿ&~zÎÿzÒÿ9/’îzÖÿ ,~A1! Àô/Öÿ/ózîÿ&~!/îÿzîÿ€:!/Òÿ/üÿ~zîÿ1!zÒÿ�� /òÿ€( LzîÿzÒÿ >/îÿzîÿ€2!/ózîÿ&/ózÖÿ&'/ÖÿzÖÿ€2! ¸ÿ $ô/Öÿ/ózîÿ€:&~!/Òÿ/ózîÿ&~!/ÎÿzÖÿ/üÿ~1!zÖÿzÎÿ >/ózÖÿ&/ózÒÿ&'/ÖÿzÖÿ€2!/ÒÿzÒÿ€2! ¸ÿ/îÿzîÿ€:! Šó/îÿzîÿ€2!zîÿ�� /òÿ€( /ózîÿ&/üÿ~! Jó/îÿzîÿ€2!zîÿ�� /òÿ€( /ózîÿ&/ ë/üÿ~&$ ó/îÿzîÿ€2!zîÿ�� /òÿ€( /ózîÿ&/üÿ~ï( ¾ò/Öÿzîÿ/üÿ~9!/ózÖÿ&/ózÖÿ&~+ ŒòyþÿÄ /òÿ€( €/üÿ~¢6V bÍ/ó/ózîÿ&~&É! ÞÿÍ/ó/ózîÿ&~&Ì$ ¾ÿÍ/ó/ózîÿ&~&Ë( žÿ/îÿzîÿ€:! æñ/Öÿ/ózîÿ&~!/Òÿ/üÿ~!/îÿzîÿ€:!/ÚÿzÚÿzÖÿ1!zÚÿ�ˆ /òÿ€(Î/ÀëzÒÿ&|Ó/ÖÿzÖÿ€:!/ÒÿzÒÿ€2!zÖÿ€ Èÿ Tñ/ÚÿzÚÿ/ºÿ/üÿ~&~1!zÚÿ�ˆ /òÿ€( ¢/üÿ~¢>`‚ ~Î/ºÿ€%~/ózîÿ&~Ñ ÜÿÎ/ºÿ€%~/ózîÿ&Ô ºÿÎ/ºÿ€%~/ózîÿ&|Ò ˜ÿÎ/ózîÿ&|Ó ‚ÿ/îÿzîÿ€:! lð/ÚÿzÚÿ/ózîÿ&~1!zÚÿ�ˆ /òÿ€( Æ/üÿ~¢Dl” ¢Î/ózîÿ&~/ózîÿ€:&~Ñ ÖÿÎ/ózîÿ&~/ózîÿ€:&Ô ®ÿÎ/ózîÿ&~/ózîÿ€:&|Ò †ÿÎ/ózîÿ&~/ózîÿ€:&|Ó ^ÿ/îÿzîÿ€:! bï/òÿ€( Vï/îÿzêÿ€:!/ôÿ/ózêÿ€2&~!/êÿ/ózêÿ€2&~! ï/îÿzêÿ!/ôÿ/ózêÿ€2&~!/êÿ/ózêÿ€2&~! Öî/ózîÿ&/ó/ózîÿ&~&' ¬î/ózîÿ&/ózîÿ&|( Šî/ózîÿ&/ózîÿ&~a! hî/ózîÿ&/ózîÿ&b$ Fî/ÚÿzÚÿ/ózîÿ€:&~1!zÚÿ�ˆ /òÿ€( 8Î/ózîÿ&~/ózîÿ€:&~/ózîÿ€:&Ö$/îÿzîÿ€:! Æí/ó/ózîÿ€:&~&/ózîÿ&'/îÿzîÿ€:! Ší/îÿzîÿ€:!/ózîÿ&/ózîÿ&/ózîÿ€2&( Hí/îÿzîÿ€:!/ózîÿ&/ózîÿ&/ózîÿ€2&( í/îÿzîÿ€:!/ózîÿ&/ózîÿ&/ózîÿ€2&( Äì/îÿzîÿ€:!/ózîÿ&/ózîÿ&/ózîÿ€2&( ‚ì/îÿzîÿ€:!/ózîÿ&/ózîÿ&/ózîÿ€2&( @ì/îÿzîÿ€:!/ózîÿ&/ózîÿ&/ózîÿ€2& ( þë/îÿzîÿ€:!/ózîÿ&/ózîÿ&~/ózîÿ€2&~( ¼ë/îÿzîÿ€:!/ózîÿ&/ózîÿ&~/ózîÿ€2&~( zë/îÿzîÿ€:!/ózîÿ&/ózîÿ&~/ózîÿ€2&~( 8ë/îÿzîÿ€:!/ózîÿ&/ózîÿ&~/ózîÿ€2&~( öê/îÿzîÿ€:!/ózîÿ&/ózîÿ&~/ózîÿ€2&~( ´ê/îÿzîÿ€:!/ózîÿ&/ózîÿ&~/ózîÿ€2&~ ( rê/îÿzîÿ€:!/ózîÿ&/ózîÿ&|/ózîÿ€2&|( 0ê/îÿzîÿ€:!/ózîÿ&/ózîÿ&~/ózîÿ€2&~1! îé/îÿzîÿ€:!/ózîÿ&/ózîÿ&~/ózîÿ€2&~9! ¬é/îÿzîÿ€:!/ózîÿ&/ózîÿ&/ózîÿ€2&L$ jé/îÿzîÿ€:!/ózîÿ&/ózîÿ&/ózîÿ€2&M$ (é/îÿzîÿ€:!/ózîÿ&/ózîÿ&|/ózîÿ€2&|( æè/îÿzîÿ€:!/ózîÿ&/ózîÿ&~/ózîÿ€2&~A! ¤è/îÿzîÿ€:!/ózîÿ€2&~€ /òÿ€( 2/ózîÿ&/ózîÿ&~/ózîÿ€2&~Q! <è/îÿzîÿ€:!/ózîÿ€2&~€ /òÿ€( 2/ózîÿ&/ózîÿ&~/ózîÿ€2&~Y! Ôç/îÿzîÿ€:!/ózîÿ&/ózîÿ&/ózîÿ€2&N$ ’ç/îÿzîÿ€:!/ózîÿ€2&ƒ /òÿ€( 2/ózîÿ&/ózîÿ&/ózîÿ€2&O$ "çyþÿÄ /òÿ€( ÍÏ çÎ×/æÿzæÿ€2!/Úÿ€"zæÿ�È /òÿ€( Ðæxòÿ€ Òåxòÿ€ <Î×Ά0halt atÕ€zôÿц because of Õ xòÿ 6RnŒªÆ ÔΆundefined caseÕ× âÿΆ division by 0 Õ × ÆÿΆ invalid index Õ × ªÿΆstorage overflowÕ× ŒÿΆtoo much output Õ× nÿΆ line too long Õ × RÿΆreading past end of fileÕ× ,ÿ/Öÿzêÿ!/Þÿ€ "Î×/ÞÿzÞÿ€:!zÞÿ€ /Öÿ€"/Òÿ/ózÖÿ€2&~!zÖÿ€ D΀ Ó/bñzÒÿ d… Õ † called atÕ €/ózÖÿ€2&~Ñ×/Òÿ/Rí/bñzÒÿ d,~ ~!zÒÿ€ */ó/bñzÒÿ d yó,|€ ôxXýyó,|® ÞΆ Õyó… Õ † = Õyó,| /ÎÿzÖÿyó,~1! /Îÿ/ózÖÿyó,~1&~!yó,| (@X bÎ/ózÎÿ&~Ñ× æÿÎ/ózÎÿ&Ô× ÎÿÎ/ózÎÿ&|Ò× ¶ÿÎ/ózÎÿ&|Ó× žÿ/Òÿyó, ~! Îþ/Öÿ/ózÖÿ€2&~!zÖÿ€ úýÎ×Îzâÿц stepsÕ×ÖËpascals 8Î×/þ€- † and ' /þ€- † array ' /þ€- † begin ' /þ€- † case ' /þ€- † const ' /þ€- † div ' /þ€- † downto ' /þ€- † do ' /þ€ - † else ' /þ€ - † end ' /þ€ - † for ' /þ€ - † function ' /þ€ - † if ' /þ€- † mod ' /þ€- † not ' /þ€- † of ' /þ€- † or ' /þ€- † procedure ' /þ€- † program ' /þ€- † record ' /þ€- † repeat ' /þ€- † then ' /þ€- † to ' /þ€- † type ' /þ€- † until ' /þ€- † var ' /þ€- † while ' /òý€%€ (/òý€%€!(/òý€%€%(/òý€%€'(/òý€%€(/òý€%€(/òý€%€1(/òý€%€/(/òý€ %€,(/òý€ %€+(/òý€ %€*(/òý€ %€(/òý€ %€&(/òý€%€ (/òý€%€(/òý€%€.(/òý€%€ (/òý€%€ (/òý€%€#(/òý€%€"(/òý€%€((/òý€%€2(/òý€%€0(/òý€%€(/òý€%€-(/òý€%€(/òý€%€)(/rý€+%€(/rý€-%€(/rý€*%€(/rý€/%€ (/rý€(%€(/rý€)%€(/rý€=%€ (/rý€,%€(/rý€[%€(/rý€]%€(/rý€#%€(/rý€&%€ (/rý€;%€(/<ÿù€ € € € € €$ ¬2'/4ÿù€$ €! €" ¬2'/,ÿù€ € € € € €% ¬2'/$ÿù€ € € €$ € € ¬2'/ÿù€% €& €) €( €* €' ¬2'/Xýÿ€ € € € € ¬'/bÿ€"/^ÿ€"/fÿ€"/âÿ€ (/Rÿ€"/Vÿø¬:'¢‘/ný€`!/jý€"/fý€"/bý€"/Zý€"/8ý€%€"/Fÿ€(/Dÿ€(xþÿ€# €¸ŽŽ  <‘xþÿ€$ €¸pŽ  â/Hÿ„ôÿ ' ‘xþÿ€ € ¸FŽ  †ô�xþÿ€$ €¸(Ž  \„ôÿ † input  /Fÿ€( 2„ôÿ † output  /Dÿ€( €¸Î� €�xþÿ€ ~ÿxþÿ€ d� €¸ � xDÿ €¸Œ� † €€€¸t— † false €€€¸Z— † true €€€¸@— † real €€€¸&— † char €€€¸ — † boolean €€€¸ò– † integer €€€¸Ø– † abs €€€¸¾– † sqr €€€¸¤– † odd €€€¸Š– † chr €€€¸p– † ord €€€¸V– † succ €€€¸<– † pred €€€¸"– † round €€€ ¸– † trunc €€€ ¸î• † sin €€€ ¸Ô• † cos €€€ ¸º• † exp €€€ ¸ • † ln €€€¸†• † sqrt €€€¸l• † arctan €€€¸R• † eof €€€¸8• † eoln €€€¸• † read €€€¸• † readln €€€¸ê” † write €€€¸Д † writeln €€€¸¶” † €€€¸œ” /ÖË/Rí€- yÖËzný!yÖË,€"yÖË,€"yÖË, €"„,ÿ„ÿ¨€€¸› xþÿ€ €¸0Š €¸v– /Rí€-, ~�� €1¸Š „Hÿ † test0  N—{Vÿø¬: Ά (eof)Õ×"Ö ö‚pi_stringsÙaø¶‘|+8 or 9 in octal number Number too large for this implementation Not enough arguments to %s Expression given (variable required) for var parameter %s of %s Parameter type not identical to type of var parameter %s of %s Expression type clashed with type of value parameter %s of %s Too many arguments to %s Case selectors cannot be %ss Ran out of memory (case) Case label type clashed with case selector expression type Case label out of range Multiply defined label in case, lines %d and %d Oct/hex allowed only on writeln/write calls Width expressions allowed only in writeln/write calls Constant declarations must precede type and variable declarations All constants must be declared in one const part %s is a %s, not a constant as required Constant too large for this implementation %s constants cannot be signed Type clash: real is incompatible with integer This resulted because you used '/' which always returns real rather than 'div' which divides integers and returns integers Type clash: non-identical scalar types Type clash: unequal length strings Type clash: files not allowed in this context Type clash: non-identical %s types Type clash: %ss with file components not allowed in this context Type clash: %s is incompatible with %s Sets may not have 'real' elements Set elements must be scalars, not %ss Set default type "intset" is not a set Constant set involved in non set context Upper bound of element type clashed with set type in constant set Lower bound of element type clashed with set type in constant set Element type clashed with set type in constant set Function type should be given only in forward declaration Procedures do not have types, only functions do Function type must be specified Function type can be specified only by using a type identifier Functions should not return %ss Procedure/function nesting too deep Types for arguments can be specified only by using type identifiers Files cannot be passed by value Files cannot be a component of %ss passed by value Procedure/function parameters not implemented Too many levels of function/procedure nesting File %s listed in program statement but not declared File %s listed in program statement but declared as a %s File %s listed in program statement but defined as %s The file output must appear in the program statement file list Input is used but not defined in the program statement %s %s is neither used nor set %s %s is never used %s %s is used but never set %s undefined on line%s %s improperly used on line%s Unresolved forward declaration of %s %s label %s was declared but not defined No assignment to the function variable Storage requirement of %ld bytes exceeds hardware capacity %s is not a function %s is a nonstandard function %s takes no arguments %s takes either zero or one argument %s takes exactly one argument %s's argument must be integer or real, not %s seed's argument must be an integer, not %s %s's argument must be a real, not %s %s's argument must be an integer or real, not %s ord's argument must be of scalar type, not %s %s is forbidden for reals %s's argument must be of scalar type, not %s odd's argument must be an integer, not %s chr's argument must be an integer, not %s Argument to card must be a set, not %s Argument to eoln must be a text file, not %s Argument to eof must be file, not %s %s is an unimplemented 6000-3.4 extension Ran out of memory (hash) Ran out of hash tables Label declarations must precede const, type and var declarations All labels must be declared in one label part Goto %s is into a structured statement Label %s not defined in correct block Label %s redefined Goto %s from line %d is into a structured statement %s is undefined Variable required %s %s found where variable required Can't modify the for variable %s in the range of the loop ^ allowed only on files and pointers, not on %ss %s is a %s, not a function Illegal function qualificiation Pascal uses [] for subscripting, not () Subscripting allowed only on arrays, not on %ss . allowed only on records, not on %ss %s is not a field in this record Error occurred on qualification of %s Too few subscripts (%d given, %d required) Array index type incompatible with declared index type Error occurred on index number %d Too many subscripts (%d given, %d required) Ran out of memory (defnl) Ran out of name list tables Pre-defined files input and output must not be redefined %s is already defined in this block Can't call %s, its %s not a procedure %s is a nonstandard procedure null takes no arguments flush takes at most one argument flush's argument must be a file, not %s Write widths allowed only with text files Second write width must be integer, not %s First write width must be integer, not %s Oct/hex allowed only on text files Write widths allowed only on text files Type mismatch in write to non-text file Only reals can have two write widths Oct and hex are non-standard Can't write %ss with oct/hex Can't write %ss to a text file Write requires an argument Message requires an argument Can't 'writeln' a non text file Arguments to %s must be variables, not expressions Type mismatch in read from non-text file Can't read %ss from a text file Can't 'readln' a non text file read requires an argument %s expects one argument Argument to %s must be a file, not %s %s expects one or two arguments Two argument forms of reset and rewrite are non-standard First argument to %s must be a file, not %s Second argument to %s must be a string, not %s File name too long %s expects at least one argument (First) argument to %s must be a pointer, not %s Record required when specifying variant tags Too many tag fields Second and successive arguments to %s must be constants Specified tag constant type clashed with variant case selector type No variant case label value equals specified constant value %s expects one argument Argument to %s must be a alfa, not %s halt takes no arguments argv takes two arguments argv's first argument must be an integer, not %s argv's second argument must be a string, not %s stlimit requires one argument stlimit's argument must be an integer, not %s remove expects one argument remove's argument must be a string, not %s linelimit expects two arguments linelimit's first argument must be a text file, not %s linelimit's second argument must be an integer, not %s page expects one argument Argument to page must be a text file, not %s pack expects three arguments unpack expects three arguments %s requires a to be an unpacked array, not %s %s requires z to be a packed array, not %s %s requires a and z to be arrays of the same type %s requires a and z to be single dimension arrays %s cannot have more elements in a (%d) than in z (%d) %s is an unimplemented 6400 extension %s is a duplicate field name in this record Variant label type incompatible with selector type Duplicate variant case label in record %s is a constant and cannot be qualified Constant string too long Type names (e.g. %s) allowed only in declarations Procedure %s found where expression required Operand of %s must be integer or real, not %s not must operate on a Boolean, not %s Left operand of %s must be Boolean, not %s Right operand of %s must be Boolean, not %s Left operand of / must be integer or real, not %s Right operand of / must be integer or real, not %s Set types of operands of %s must be identical Left operand of %s must be integer, real or set, not %s Right operand of %s must be integer, real or set, not %s Cannot mix sets with integers and reals as operands of %s Left operand of %s must be integer, not %s Right operand of %s must be integer, not %s %s not allowed on pointers. only allow = and <> Strings not same length in %s comparison %ss and %ss cannot be compared - operator was %s %s types must be identical in comparisons - operator was %s ... in [] makes little sense, since it is always false! Right operand of 'in' must be a set, not %s Index type clashed with set component type for 'in' Constant too large for this implementation %ss may not participate in comparisons Unreachable statement Variable in with statement refers to %s, not to a record Type of expression clashed with type of variable in assignment For variable must be unqualified For variables cannot be %ss Limit type clashed with index type in 'for' statement Type of expression in if statement must be Boolean, not %s Type of expression in while statement must be Boolean, not %s Until expression type must be Boolean, not %s, in repeat statement Assert statement is non-standard Assert expression must be Boolean, not %ss Ran out of memory (string) Ran out of memory (tralloc) Ran out of tree tables Type declarations must precede var declarations All types must be declared in one type part %s is a %s, not a type as required Files cannot be members of files Set of real is not allowed Set type must be range or scalar, not %s Implementation restriction: sets must be indexed by 16 bit quantities Can't mix %ss and %ss in subranges scalar types must be identical in subranges Range lower bound exceeds upper bound Subrange of real is not allowed Subrange bounds must be Boolean, character, integer or scalar, not %s Index type for arrays cannot be real Array index type is a %s, not a range or scalar as required Value of dimension specifier too large or small for this implementation Files cannot be members of dynamic structures All variables must be declared in one var part Malformed program statement Malformed declaration Malformed const declaration Malformed type declaration Malformed var declaration Malformed record declaration Malformed record declaration Deleted ';' before keyword else Malformed statement in case Malformed statement Missing/malformed expression Too many syntax errors - QUIT End matched %s on line %d Inserted keyword end matching %s on line %d Input line too long - QUIT Include syntax error - expected ' or " not found - QUIT Missing closing %c for include file name - QUIT Garbage after filename in include Include filename must end in .i Absurdly deep include nesting - QUIT Ran out of memory (include) Octal constants are non-standard Digits required after decimal point Digits required in exponent Character/string delimiter is ' Unmatched %c for string Null string not allowed Digits required before decimal point { in a { ... } comment Comment does not terminate - QUIT (* in a (* ... *) comment Illegal character Declaration found when statement expected Expected keyword begin after declarations, before statements Parsing resumes Parse stack overflow Unrecoverable syntax error - QUIT Point of error Undefined identifier Improper %s identifier Deleted %s%s Replaced %s%s with a %s%s Inserted %s%s Expected %s%s Undefined %s Replaced %s id with a %s id End-of-file expected - QUIT Unexpected end-of-file - QUIT --------------------------------------------------------------------------------- pxrefÙ`ø¤�º Þd¬ letter +/x€a x€zx€A x€Z( digit 0/x€0 x€9( ôÿnokey 7/üÿ€"/øÿ€$"/ôÿzüÿzøÿ1€R!/€Ìzôÿ #… „  /üÿzôÿ€2!/€Ìzôÿ #… „  /øÿzôÿ€:!züÿzøÿ ˆÿ//€Ìzôÿ #… „  ( newline Ezäÿ�' ./äÿzäÿ€2!xðÿ ΀zäÿц Õ Ά text too longÕ× hþ øÿsearch U/þÿ/Òÿ~�R�Z#/øÿ€(/üÿ€ /ÜÿzÜÿ€2!/úÿäyúÿ.zäÿ#yúÿ.,€ /èÍyþÿ-… /Òÿ…  @/øÿ€(/èÍyþÿ-, }.,yúÿ /èÍyþÿ-, yúÿ /èÍyþÿ-… †  ~/øÿ€(/àÿzàÿ€2!/èÍyþÿ-/Òÿ… ' /èÍyþÿ-, yúÿ /èÍyþÿ-, yúÿ /èÍyþÿ-,yüÿ /üÿyþÿ n/þÿyþÿyüÿ0#/üÿyüÿ€0#yþÿ� /þÿyþÿ�8#yüÿ� $Î×Ά **** table fullÕ× ˜üxøÿ ’þ úÿprintwor|΀ Ó/… Õ /úÿ/} /üÿ€"züÿ€ $/üÿ€"Î×΀ Ó† Õ /üÿzüÿ€2!΀yúÿ.}Ð/úÿyúÿ.,} yúÿ€ œÿÎ× úÿprinttab�/þÿyüÿ yþÿ� (/úÿyþÿ /üÿ/èÍyþÿ-,} yüÿ� P/èÍyüÿ-… /èÍyúÿ-…  /úÿyüÿ /üÿ/èÍyüÿ-,} ¦ÿ/èÍyúÿ-…¤þ yúÿyþÿ j/èÍyúÿ-/èÍyþÿ-… ' /èÍyúÿ-, /èÍyþÿ-, } /èÍyúÿ-, /èÍyþÿ-, } /þÿ/èÍyþÿ-,} Îþ Àÿopeninpu§z»/Àÿß@/þÿ„Àÿ@Æ@ lwriteln­xðÿ Î× lwrite ³xðÿ ÎxÓ|Ìxref ·¼/ðÿ€(Þ€ `€/òÿß /òÿ€%|€-/òÿ€%|€  (Άusage: pxref [ - ] file Õ× ²ù/ðÿ€(Þ€Þ€ (Άusage: pxref [ - ] file Õ× rùxðÿ €¸Æþ  €¸¸þ /þÿ€ /|Ì�€8!yþÿz|Ì */èÍyþÿ-† ' z|Ì/þÿ±Úÿ/àÿ€"/Üÿ€"/€Ì€- #† and ' /€Ì€- #† array ' /€Ì€- #† assert ' /€Ì€- #† begin ' /€Ì€- #† case ' /€Ì€- #† const ' /€Ì€- #† div ' /€Ì€- #† do ' /€Ì€ - #† downto ' /€Ì€ - #† else ' /€Ì€ - #† end ' /€Ì€ - #† file ' /€Ì€ - #† for ' /€Ì€- #† function ' /€Ì€- #† hex ' /€Ì€- #† if ' /€Ì€- #† in ' /€Ì€- #† mod ' /€Ì€- #† nil ' /€Ì€- #† not ' /€Ì€- #† oct ' /€Ì€- #† of ' /€Ì€- #† or ' /€Ì€- #† packed ' /€Ì€- #† procedure ' /€Ì€- #† program ' /€Ì€- #† record ' /€Ì€- #† repeat ' /€Ì€- #† set ' /€Ì€- #† then ' /€Ì€- #† to ' /€Ì€ - #† type ' /€Ì€!- #† until ' /€Ì€"- #† var ' /€Ì€#- #† while ' /€Ì€$- #† with ' /äÿ€"/üÿ� /èÿ€ "yþÿÄ ŠyþÿÅ Fö /äÿzäÿ€2!yþÿÃ|€# ByþÿÅ yþÿÃ|’ú yþÿÊÀ Üÿ/Òÿ† #include ' Rö yþÿÅ üyþÿÃ|€ yþÿÃ|€  yþÿÃ|4ú yþÿÊÀ ÀþyþÿÃ|hô  ì/ìÿ€"yþÿÃ|þù zìÿ€  &/ìÿzìÿ€2!/Èÿzìÿ&yþÿÃ|(yþÿÊÀþyþÿÃ|ô þyþÿÃ|6ô  ”ÿzìÿzèÿ /èÿzìÿ! ./Èÿzèÿ&€ (/èÿzèÿ€:!zèÿzìÿ Öÿ€/Èÿ/ÒÿÛ þ/Òÿ… òó õ ÂþyþÿÃ|ªó  2yþÿÃ|ù yþÿÊÀþyþÿÃ|€ó  Öÿ ~yþÿÃ|€' <yþÿÃ|Èø yþÿÊÀyþÿÃ|€' Üÿ€'¨ø yþÿÊÀ 4yþÿÃ|€{ ZyþÿÃ|~ø yþÿÊÀyþÿÅ FøyþÿÊÀÔó äÿyþÿÃ|€} ¾ÿ€}@ø yþÿÊÀ ÌyþÿÃ|€( ¦€(ø yþÿÊÀyþÿÃ|€* ‚€*ü÷ yþÿÊÀyþÿÃ|€* 2yþÿÅ ´÷Jó yþÿÃ|À÷ yþÿÊÀ Âÿ€*¬÷ yþÿÊÀyþÿÃ|€) ¢ÿ€)Œ÷ yþÿÊÀ yþÿÃ|r÷ yþÿÊÀ üü@÷yþÿÊÀ nüxðÿ yüÿÊùžõ÷Îzàÿц identifiersÕ zÜÿц occurrencesÕ ×tset.dtc_tabsè9°¤�X T1T1T1T 1T(1T01T81T@1TH1TP1TX1T`1Th1Tp1Tx1 1 |€{ ZyþÿÃ|~ø yþÿÊÀyþÿÅ FøyþÿÊÀÔó äÿyþÿÃ|€} ¾ÿ€}@ø yþÿÊÀ ÌyþÿÃ|€( ¦€(øeÿtypeof.oȇª¤�ðØw üÿÆåNÎeôýæØß Ö À NÎeôýß Ä% Ä%ÿÿ)Nôýß Àuk NÎeôýß Ä% ðÄ%ÿÿíNÎeôýß Ã% äÃ%ÿÿáNôýß ÀtQwzÿ@�!ÚNÎeôýß Ä% ¾Ä%ÿÿôºw TÿNß 5ÀEÿ7�&@tøÿÀEÿ7�Àæw(ÿ/etc/ttytype9ˆ¸Ø¸¸Ø ¸9 _ttytype#Ø_typeof"~typeofcsv ttycc2ibufôý_fopen L54L6_getc L8†_close L4‚L20001Bcret L12Ž_stypeof"¨~stypeof¨ttyL16æstypeættycap.oÊb¤�” úFw üÿÆåwòÿNÎeôýæúß Ö Àÿÿ  ŠÂ%ÿÿ Nôýß wÂÿDD-ï†ô¥\ÿÿëÄ NÎeôýß Â%ÿÿáÂ% ì”�òNß ŠÀ áNôýß ÀØw rÿÃnÿ-Ë¥:,D Ë¥| Ë¥: £ƒ „ Ì‹ôÌ‹ Ë¥|Ë¥:Ë‹Àw,ÿˋ˥:Ë¥|ƒ öË‹ƒ Ë‹Ñ íw ÿDC Ì¥:„ Ì‹úÌ¥:„ à à ÷wÜþw ØþÎæÐþß öÖ Ê‹Àÿÿ'R¯&Ê‹$€”AAœ@ Ê¥#‚ à ʥ0à ʥ9 CpD€”ÀeÐÿ`Ê¥0ówlþΦÊw `þÎæXþß öÖ Ì‹ T¯ Ì‹ @0£Àw,þÎ&æw þÎæþß öÖ Ê‹ R¯Ê‹€”AAœ@ Ê¥= ‚ N¦ß 0Ö wØýΦÜw ÌýDæ C•TÂ%:Q€Àå\  ‚À x:Ì¥aÌ¥z•ÂEàÿ“�ç“ rÁ ÁeA! þy„ Âì „ è û øÂõÌ¥0Ì¥9 õøÿ—t•ÀeÐÿPõ øÿÌÌ¥0ÉÌ¥9ñÅ̋ÕÁŠDýwý/etc/ttycap$& $&®Œœ®ææ®æ¨”¢plZI¸HIIIIII_ttycap#ú_tbuf _tgetent"~tgetentcsv bpnamecpcapcibufôý_fopen L6>L4:L9(L13p_close cret L20003TL20008D_getc _tnamatc"Š~tnamatcŠnpNpBpL18îL20012”L19òL21´L20010 L22¸L25ÔL10000ÌL17ÐL26è_tskip"ö~tskipöbpiL30L20014L34L33 L32_tgetnum"$~tgetnum$idibasebpL200210L20023BL38�L41”L42pL43ˆL20018tL44Ž_tgetfla"œ~tgetflaœidbpL20026¨L20028¸L47ÐL50Ô_tgetstr"Ü~tgetstrÜidareacpibpL20031èL20033øL54$L57(_tdecode"0L10004L10005L10006L10007L10008$L78®L70ŒL75œL73æL77¨L74”L76¢L10010:L67pL63lL65Z~tdecode0strareacpciøÿL61>L62êL10003„L20034˜L79âL82Âttycap2.oÊš ¤�¨lÀw üÿÎæôÿß Ö  Ë¥0 Ë¥9uÀ”ÀeÐÿPË‹ò=Ë¥:ƒ  Ë¥0 Ë¥9uÀ”ÀeÐÿPË‹ò@0w”ÿ)ixù_tgetmod"~tgetmodcsv tmvecibp_tbuf _tskip L40L20001L54L6@L7\L20003DL8`cret htmpg.oÈMª¤�ĺ ,w üÿ æºß Ö ' @�t&&ß –%À Î æ&ß –%À% 7 ºÿ÷•/¶ÿ7гÿ÷unÈÿß wžÿß Àÿÿøw ŽÿÀw†ÿw ‚ÿÀ~ÿwzÿw vÿÀ�ÿwnÿw jÿÀ„ÿÀEÿ7�"ÀxÿtøÿÀEÿ7�ÀÄwFÿ/etc/htmpIx˜¨ ÈéÈIéI éI éI  é_hentry _htmp#º_hget"~hgetcsv ttyhunit_open L5b_seek _read L6V_close L4^cret _hgethom"n~hgethomn_hgetuid"z~hgetuidz_hgettyp"†~hgettyp†_hsgetty"’~hsgetty’L19ÄttypeÄhtmps.oÖ›<¤�  Pw üÿÎæß Ö Àÿÿwâÿ @�t&&ß –%Î æ&ß –%À% ß äß Þw ¢ÿ @aÈ‹ @a4’„ Ä%ò4Šw|ÿw xÿwrÿwnÿw jÿw‚ÿw`ÿIx¹ÈØøøI¹I ¹I ¹_hentry _htmp _hput"~hputcsv ttyhunit_open L4L20000L3cret _seek _write L5R_close _hsethom"Z~hsethomZcpiL20002`L10|_hsetuid"„~hsetuid„uid_hsettyp"’~hsettyp’typenÿw jÿw‚ÿw`ÿIx¹ÈØøøI¹I ¹I ¹_hentry _htmp _hput"~hputcsv ttyhunit_open L4L20000L3cret _seek _write L5R_close _hsethom"Z~hsethomZcpiL20002`L10|_hsetuid"„~hsetuid„uid_hsettyp"’~hseThe routines in libX.a are from ../s7 and are used by ex and ashell. ÈØøøI¹I ¹I ¹_hentry _htmp _hput"~hputcsv ttyhunit_open L4L20000L3cret _seek _write L5R_close _hsethom"Z~hsethomZcpiL20002`L10|_hsetuid"„~hsetuid„uid_hsettyp"’~hseeÿcd.1Ùiø¤�ù.th CD I 10/15/76 .sh NAME cd \*- change working directory .sh SYNOPSIS .bd cd directory .sh DESCRIPTION .it Directory becomes the new working directory. The process must have execute (search) permission in .it directory. .s3 Because a new process is created to execute each command, .it cd would be ineffective if it were written as a normal command. It is therefore recognized and executed by the Shell. .it Cd is exactly equivalent to .it chdir (I). .sh "SEE ALSO" sh (I), pwd (I), chdir (I) .sh BUGS lib.1Ùiø¤�.th LIB I 10/14/76 .sh NAME lib \*- specify user libraries .sh SYNOPSIS .bd lib directory ... .sh DESCRIPTION .it Lib is used to specify user libraries to be searched by the shell. The libraries are searched after the current directory and before the system libraries `/bin' and `/usr/bin'. .it Lib with no arguments prints the current library. To specify no libraries do: .s2 .ti 10 lib "" .br .s3 .it Lib is executed within the Shell. .sh "SEE ALSO" sh (I), glob2 (VIII) .sh BUGS Other than the shell and .it glob2 (VIII) which receives the library names explicitly, there is no access to the current library names for user or other system commands. Thus .it time (I), .it nice (I), .it nohup (I), .it if (I), .it find (I), and .it repeat (VI) among others don't act as one would first expect. blogin.1Ùiø€�´.th LOGIN I 3/15/72 .sh NAME login \*- sign onto UNIX .sh SYNOPSIS .bd login [ username ] .sh DESCRIPTION The .it login command is used when a user initially signs onto UNIX, or it may be used at any time to change from one user to another. The latter case is the one summarized above and described here. See `How to Get Started' for how to dial up initially. .s3 If .it login is invoked without an argument, it asks for a user name, and, if appropriate, a password. Echoing is turned off (if possible) during the typing of the password, so it will not appear on the written record of the session. .s3 After a successful login, accounting files are updated and the user is informed of the existence of .it /usr/mail/username and message-of-the-day files. .it Login initializes the user and group IDs and the working directory, then executes a command interpreter (usually .it sh (I)) according to specifications found in a password file. .s3 Login is recognized by the Shell and executed directly (without forking). .sh FILES /etc/utmp accounting .br /usr/adm/wtmp accounting .br .li /usr/mail/username mail .br /etc/motd message-of-the-day .br /etc/passwd password file .sh "SEE ALSO" init (VIII), getty (VIII), mail (I), passwd (I), passwd (V) .sh DIAGNOSTICS `login incorrect,' if the name or the password is bad. `No Shell,', `cannot open password file,' `no directory': consult a UNIX programming counselor. .sh BUGS Login is currently disabled at UCB. sh.1Ùiø¤‘j+.th SH I 10/28/76 .sh NAME sh \*- shell (command interpreter) .sh SYNOPSIS .bd sh [ .bd \*-tciv ] [ name [ arg1 ... [ arg9 ... ] ] ] .sh DESCRIPTION .it Sh is the standard command interpreter. It is the program which reads and arranges the execution of the command lines typed by most users. It may itself be called as a command to interpret files of commands. Before discussing the arguments to the Shell used as a command, the structure of command lines themselves will be given. .s3 .bd "Commands." Each command is a sequence of non-blank command arguments separated by blanks. The first argument specifies the name of a command to be executed. Except for certain types of special arguments discussed below, the arguments other than the command name are passed without interpretation to the invoked command. .s3 If the first argument is the name of an executable file, it is invoked; If the first argument is not the name of an executable file, and it does not contain the character `/', the shell will search other directories for the command. First it tries each user-specified library (see lib (I)). If it still has not found the command, tries the standard system library `/bin'. (In this way most of the standard UNIX commands, which reside in `/bin', are found.) If this fails, it finally tries the library `/usr/bin', where lesser-used UNIX commands live. .s3 If a non-directory file has executable mode, but not the form of an executable program (does not begin with the proper magic number) then it is examined to see if it is a Pascal object (first word 0404 - a magic number). If it is, then a new pascal interpreter is created to interpret it. Otherwise, it is assumed to be an ASCII file of commands and a new Shell is created to execute it. See ``Argument passing'' below. .s3 If the file cannot be found, a diagnostic is printed. .s3 .bd "Command lines." One or more commands separated by `|' or `^' constitute a chain of .it filters. The standard output of each command but the last is taken as the standard input of the next command. Each command is run as a separate process, connected by pipes (see pipe(II)) to its neighbors. A command line contained in parentheses `( )' may appear in place of a simple command as a filter. .s3 A .it "command line" consists of one or more pipelines separated, and perhaps terminated by `\fB;\fR' or `&'. The semicolon designates sequential execution. The `&' causes the preceding command line to be executed without waiting for it to finish. The process id of such a command line is reported, so that it may be used if necessary for a subsequent .it wait or .it kill. If, however, the `&' is followed by a `*', i.e. `&*', then the preceding set of `;' separated commands is put in the background, as a group. Thus `cc sh.c ; mv a.out sh &*' is equivalent to `(cc sh.c ; mv a.out sh)&'. .s3 .bd "Termination Reporting." If a command (not followed by `&') terminates abnormally, a message is printed. (All terminations other than exit and interrupt are considered abnormal.) Termination reports for commands followed by `&' are given upon receipt of the first command subsequent to the termination of the command, or when a .it wait is executed. The following is a list of the abnormal termination messages: .s3 .nf Bus error Trace/BPT trap Illegal instruction IOT trap EMT trap Bad system call Quit Floating exception Memory fault Killed .s3 .fi If a core image is produced, `\*- Core dumped' is appended to the appropriate message. .s3 .bd "Redirection of I/O." There are three character sequences that cause the immediately following string to be interpreted as a special argument to the Shell itself. Such an argument may appear anywhere among the arguments of a simple command, or before or after a parenthesized command list, and is associated with that command or command list. .s3 An argument of the form `file' causes file `file' to be used as the standard output (file descriptor 1) for the associated command. `File' is created if it did not exist, and in any case is truncated at the outset. .s3 An argument of the form `>>file' causes file `file' to be used as the standard output for the associated command. If `file' did not exist, it is created; if it did exist, the command output is appended to the file. .s3 For example, either of the command lines .s3 ls >junk; cat tail >>junk .br ( ls; cat tail ) >junk .s3 creates, on file `junk', a listing of the working directory, followed immediately by the contents of file `tail'. .s3 Either of the constructs `>file' or `>>file' associated with any but the last command of a pipeline is ineffectual, as is `* file', `>>* file', and `|* ...' cause both units 1 and 2 to refer to the specified file or put through the pipe. .s3 .bd "Generation of argument lists." If any argument contains any of the characters `?', `*' or `[', it is treated specially as follows. The current directory is searched for files which .it match the given argument. .s3 The character `*' in an argument matches any string of characters in a file name (including the null string). .s3 The character `?' matches any single character in a file name. .s3 Square brackets `[...]' specify a class of characters which matches any single file-name character in the class. Within the brackets, each ordinary character is taken to be a member of the class. A pair of characters separated by `\*-' places in the class each character lexically greater than or equal to the first and less than or equal to the second member of the pair. .s3 Other characters match only the same character in the file name. .s3 For example, `*' matches all file names; `?' matches all one-character file names; `[ab]*.s' matches all file names beginning with `a' or `b' and ending with `.s'; `?[zi\*-m]' matches all two-character file names ending with `z' or the letters `i' through `m'. .s3 If the argument with `*', `?', or `[' also contains a `/', a slightly different procedure is used: instead of the current directory, the directory used is the one obtained by taking the argument up to the last `/' before a `*' or `?'. If a `/' appears thereafter, then the intervening string is matched against the subdirectories of the derived directory. If there is no following `/', the matching process matches the remainder of the argument after this `/' against the files in the derived directory. For example: `/usr/dmr/a*.s' matches all files in directory `/usr/dmr' which begin with `a' and end with `.s'; `/mnt*/*/.q' matches e.g. `/mnt/ken/.q' and `/mnt/chuck/.q' among others. .s3 In any event, a list of names is obtained which match the argument. This list is sorted into alphabetical order, and the resulting sequence of arguments replaces the single argument containing the `*', `[', or `?'. The same process is carried out for each argument (the resulting lists are .it not merged) and finally the command is called with the resulting list of arguments. .s3 .bd "Quoting." The character `\\' causes the immediately following character to lose any special meaning it may have to the Shell; in this way `<', `>', and other characters meaningful to the Shell may be passed as part of arguments. A special case of this feature allows the continuation of commands onto more than one line: a new-line preceded by `\\' is translated into a blank. .s3 Sequences of characters enclosed in double (") or single (\*a) quotes are also taken literally. For example: .s3 ls | pr \*-h "My directory" .s3 causes a directory listing to be produced by .it ls, and passed on to .it pr to be printed with the heading `My directory'. Quotes permit the inclusion of blanks in the heading, which is a single argument to .it pr. .s3 .bd "Argument passing." When the Shell is invoked as a command, it has additional string processing capabilities. Recall that the form in which the Shell is invoked is .s3 sh [ name [ arg1 ... [ arg9 ... ] ] ] .s3 The .it name is the name of a file which is read and interpreted. If not given, this subinstance of the Shell continues to read the standard input file. .s3 In command lines in the file (not in command input), character sequences of the form `$n', where .it n is a digit, are replaced by the \fIn\fRth argument to the invocation of the Shell (argn). `$0' is replaced by .it name. Finally `$*' is replaced by the remaining arguments starting with `$1'. .s3 The argument `\*-t,' causes .it sh to read the standard input for a single line, execute it as a command, and then exit. This facility replaces the older `mini-shell.' It is useful for interactive programs which allow users to execute system commands. .s3 The argument `\*-c' (used with one following argument) causes the next argument to be taken as a command line and executed. No new-line need be present, but new-line characters are treated appropriately. This facility is useful as an alternative to `-t' where the caller has already read some of the characters of the command to be executed. .s3 The argument `\*-i' causes the shell to be `interactive', that is, the shell ignores interrupts and quits. Login shells are interactive, as are all shells whose input and output are both ttys. Interactive shells also have interruptible waits (see wait(I)). .s2 The argument `-v' causes the shell to echo each command line, with a prompt, as it is printed. .s3 .bd "End of file." An end-of-file in the Shell's input causes it to exit. A side effect of this fact means that the way to log out from UNIX is to type an EOT. .s3 .bd "Special commands." The following commands are treated specially by the Shell. .s3 .it chdir is done without spawning a new process by executing .it "sys chdir" (II). "cd" is a useful abbreviation for "chdir". .s3 .it login is done by executing /bin/login without creating a new process. .s3 .it wait is done without spawning a new process by executing .it "sys wait" (II). .s3 .it shift is done by manipulating the arguments to the Shell. .s3 .it lib is done by manipulating internal data. .s3 `\fB:\fR' is simply ignored. .s3 .bd "Command file errors; interrupts." Any Shell-detected error, or an interrupt signal, during the execution of a command file causes the Shell to cease execution of that file. .s3 Processes that are created with `&' ignore interrupts. Also if such a process has not redirected its input with a `<', its input is automatically redirected to the zero length file /dev/null. .sh FILES /etc/glob2, which interprets `*', `?', and `['. .br /dev/null as a source of end-of-file. .br /bin/px the Pascal interpreter. .sh "SEE ALSO" `The UNIX Time-Sharing System', CACM, July, 1974. .s2 chdir (I), login (I), wait (I), shift (I), glob (VIII), cd (I), lib (I) su.8Ùiø€�«.th SU VIII 10/31/73 .sh NAME su \*- become privileged user .sh SYNOPSIS .bd su .sh DESCRIPTION .it Su allows one to become the super-user, who has all sorts of marvelous (and correspondingly dangerous) powers. In order for \fIsu\fR to do its magic, the user must supply a password. If the password is correct, \fIsu\fR will execute the Shell with the UID set to that of the super-user. To restore normal UID privileges, type an end-of-file to the super-user Shell. .s3 The password demanded is that of the entry ``root'' in the system's password file. .s3 To remind the super-user of his responsibilities, the Shell substitutes `#' for its usual prompt `%'. .sh "SEE ALSO" sh (I) swait.1Ùiø¤�€.th WAIT I 4/9/73 .sh NAME wait \*- await completion of process .sh SYNOPSIS .bd wait .sh DESCRIPTION Wait until all processes started with .bd `&' have completed, and report on abnormal terminations. .s3 Because .it "sys wait" must be executed in the parent process, the Shell itself executes .it wait, without creating a new process. .sh "SEE ALSO" sh (I) .sh BUGS After executing .it wait in a non-interactive shell you are committed to waiting until termination, because interrupts and quits are ignored by all processes concerned. The only out, if the process does not terminate, is to .it kill it from another terminal or to hang up. eÿhtmp.5ß2¯¤�2.th HTMP V 9/24/77 .sh NAME htmp \- home directory and teletype data base .sh DESCRIPTION The home directory and teletype data base .it htmp is maintained by .it login (I) and .it su (VIII) and may also be modified by .it ttytype (VI) and .it sethome (VI). The file consists of an array of structures of the form: .s3 .dt \fBstruct\fR htmp { .br \fBint\fR uid; .br \fBchar\fR home[28]; .br \fBint\fR ttytype; .br }; .s3 The .it ttytype is actually a two character code. See .it ttytype (VI) for a list. .s3 The file is indexed by the various teletypes in a version-dependent fashion. For version 6 systems, the file is indexed by the result of a call to .it ttyn (III). .sh FILES .dt /etc/htmp data base .sh "SEE ALSO" sethome (VI), ttytype (VI), ex (VI), sh (VI), tset (VI), htmp (VII) .sh AUTHOR William Joy ttycap.5ß4¯¤�Û .th TTYCAP V 11/16/77 .sh NAME ttycap \- tty capability data base .sh DESCRIPTION The .it ttycap data base gives capabilities of terminals. Used with .it ttytype and .it htmp it allows the use of special terminal features and the adaptation of programs to their input/output environment. The .it ttycap file is organized in a manner similar to .it passwd. Each line in the file gives a terminal, and then information as to capabilities of that terminal, in fields separated by `:' characters. .s3 The first field gives the two character terminal code used in .it ttytype to describe the terminal, and then a series of one or more names for this terminal separated by `|' characters. For example, the entry for an \s-2LSI-ADM3A\s0 might be: .s3 .dt ca\||\|adm3a\||\|3a:0:0:li#24:co#80:cl=^z:nd=^l:up=^k:am:bs:ca .s3 Here the internal code for this terminal is seen to be `ca', and it is known as an `adm3a' or a `3a'. The next two fields give the modes which are to be set and cleared respectively to return the terminal to a `standard' form. The rest of the fields are indicated by a two-character code, and are of three kinds: numeric valued, string valued, and yes/no capabilities. Numeric valued parameters are given with an `#' and the value, e.g. `li#24'. The numeric valued paramters are: .s3 .dt li number of lines (on a \s-2CRT\s0 screen) .br co number of columns .s3 String valued parameters are given with an `=' and then a string up to a `:'. The following escapes are recognized in the string: .s3 .nf ^\fIl\fR with \fIl\fR a lower case letter gives control-\fIl\fR \e^ gives ^ \e: gives : \eE gives an \s-2ESCAPE\s0 \e\e gives a backslash `\e' \e\fInnn\fR gives character with octal representation \fInnn\fR \en gives a newline \er gives a carriage return \et gives a tab \eb gives a backspace .fi .s3 In addition, if any line in the file ends with a backslash, then that newline is ignored, effectively continuing the line onto the next. String valued options are: .s3 .dt cl clear screen sequence .br hd half-line down sequence .br ho home sequence .br hu half-line up sequence .br is initialization sequence (set tabs, etc.) .br if file name containing initialization sequence .br nd non-destructive space sequence .br up up-line (reverse line feed sequence) .br al add new blank line where cursor is (open) .br dl delete the line where the cursor is (close) .br ce clear to end of line .br cd clear to end of display .br gu garbage may come up from below when we \fIdl\fR .s3 Finally, the following capabilities are recognized: .s3 it intelligent terminal .br ca cursor addressible .br pt plotting terminal .br am automatic margins (auto-new-line) .br bs backspace capability .br os overstrike capability .br pa all characters will print .br pt tabs will print .s3 The set of routines in .it ttycap (VII) may be used to conveniently deal with the .it ttycap data. .sh LIMITATIONS A maximum of 512 characters in a single terminal entry are allowed. .sh FILES /etc/ttycap capability file .br /etc/ttytype terminal type file .sh SEE\ ALSO htmp (V), ttytype (V), sethome (VI), ttytype (VI), htmp (VII), ttycap (VII), typeof (VII) .sh AUTHOR William Joy .sh BUGS Cursor addressing information should be encoded in a string valued .it ca option. lttytype.5ß7¯¤�™.th TTYTYPE V 9/25/77 .sh NAME ttytype \- tty type database .sh DESCRIPTION .it Ttytype is a file which map teletypes to their types. A line in the file is devoted to each teletype. The first character of each line gives the teletype letter as returned by .it ttyn (III). This is followed by a two character code giving the teletype type. The teletype types are mapped to their capabilities by the data base .it ttycap (V). .s3 The format also allows descriptive information to be placed at the end of the file following a completely empty line. .sh FILES /etc/ttytype data base .sh SEE\ ALSO ttycap (V), ttytype (VI), typeof (VII) .sh AUTHOR William Joy .sh FILES is devoted to each teletype. The first character of each line gives the teletype letter as returned by .it ttyn (III). This is followed by a two character code giving the teletype type. The teletype types are mapped to their capabilities by the data base .it ttycapeÿashell.6Ùø¤� See sh.6 biorhythm.6Ùø¤�â.th BIORHTYHM VI 8/5/77 .sh NAME biorhythm \- show biorhythmic transition dates .sh SYNOPSIS .bd /usr/games/biorhythm mmddyy [ y1 ] [ y2 ] .sh DESCRIPTION .it Biorhythm calculates the biorhythmic transition dates for you based on the month, day and year of your birth, supplied in two digit format as .it mm, .it dd and .it yy. .it Y1 specifies the starting year and .it y2 the ending relative to 1900. Thus for a prediction for someone born September 27, 1952 in the year 1977: .s3 .dt biorhythm 092752 77 77 .s3 Physical (ph) states have a period of 23 days, emotional (em) states 28 days, intellectual (in) states 33 days. .s3 If no years are given the prediction starts at the date of your birth. .sh AUTHOR Jeff Schriebman .sh BUGS block.6Ùø¤�o.th BLOCK VI 8/5/77 .sh NAME block \- block character generator .sh SYNOPSIS .bd block spacing plotchar line1 line2 ... .sh DESCRIPTION .it Block converts its line arguments into 6x5 dot-matrix format, and prints them on the standard output. The matrix is constructed using `plotchar' as the print element; each block-character is separated by `spacing' blanks. Thus .s3 .dt block 1 x "Que pasa," " Baby ?" .s3 prints .s3 .ci +5 .nf .dt .cs R 18 xxxxx x x xxxxx xxxx x xxxx x x x x x x x x x x x x x x x x x xxx xxxx xxxxx xxx xxxxx x x x x x x x x x x x x xx xxxxx xxx xxxxx x x x xxxx x x xx x x xxxx x xxxx x x xxx x x x x x x x x x x xxxx xxxxx xxxx x xx x x x x x x x x xxxx x x xxxx x x .cs R .fi .s2 .sh DIAGNOSTICS Block without arguments prints its argument conventions. .sh BUGS There are no lower case characters; all characters are treated as though upper case. Also, non-printing ASCII characters are treated as blanks. .s3 It is not a bug, but to use `*' as the plotchar you must quote it, i.e. .s3 .dt block 2 \e* Boo! box.6Ùø¤�·.th BOX VI 8/25/77 .sh NAME box \- put text in a box of `*' characters .sh SYNOPSIS .bd box arg ... .sh DESCRIPTION .it Box is a shell script which places its arguments in a box of `*' characters of the appropriate size and then writes it to the standard output. It can be used to send highly visible messages, i.e.: .s3 .dt box Im waiting in Evans | write katseff .sh SEE\ ALSO block (VI) .sh AUTHOR Howard Katseff .sh BUGS Box is slow. cat3a.6Ùø¤�£.th CAT3A VI 8/23/77 .sh NAME cat3a \- quick cat for an \s-2ADM-3A\s0 terminal .sh SYNOPSIS .bd cat3a [ .bd \- ] [ file ... ] .sh DESCRIPTION This filter optimizes throughput of text for a \s-2LSI ADM-3A\s0 terminal. The optional .bd \- causes .it cat3a to clear the screen before it begins. .s3 Except for the throughput optimizations, .it cat3a is like .it cat. .sh "SEE ALSO" cat (I) .sh AUTHOR William Joy .sh BUGS hchownall.6Ùø¤�¨.th CHOWNALL VIII 8/1/77 .sh NAME chownall \- systematic ownership change on a subtree .sh SYNOPSIS .bd chownall [ .bd \- ] [ \fB\-n\fRname ] [ .bd \-a ] [ \fB\-g\fR# ] [ \fB\-u\fR# ] directory ... .sh DESCRIPTION .it Chownall systematically changes ownerships of files in the subtree rooted at each base directory. The format of the changes is determined by the ownership of the base directory and well as the options specified. The options are .bd \- for terse, .bd \-a for all, and .bd \-g and .bd \-u for specifying new decimal user and group options. The .bd \-n option can be used to conveniently give the new user number via a user name. Four uses can be distinguished: .s2 .lp +5 5 1) Only \fB\-g\fR flag specified .br The base directory must be owned by user 0 in a group other than group 0. All files in the subtree owned by any user of this group are changed to be owned by the same user (numerically) in the specified new group. .sp .lp +5 5 2) Only \fB\-u\fR flag specified .br The base directory must be owned by a person who is not user number 0 in his group. All files in the subtree owned by this person are changed to be owned by the specified new user number in the same group. .sp .lp +5 5 3) Both \fB\-g\fR and \fB\-u\fR flags specified .br All files in the subtree owned by the owner of the base directory become owned by the specified group and user. .sp .lp +5 5 4) \fB\-A\fR, \fB\-g\fR, and \fB\-u\fR flags specified, or \fB\-n\fR flag given .br All files in the subtree rooted at the given directory are changed to be owned by the newly specified user and group. This option requires confirmation which may be given on the command line via the `-' terse option. .i0 .sh EXAMPLES .lp +6 6 chownall \-g64 /mnt/comc .br If /mnt/compc is owned by group 138 user 0, this command changes all files in the tree rooted there which are presently owned by members of group 138 to be owned by the same relative user in group 64. .br .i0 chownall \-nbill /mnt/bill .i0 .sh "SEE ALSO" chown (I), chown (II) .sh AUTHOR William Joy .sh BUGS Shouldn't need .bd \-n as it should be the ``default'' so that .it chownall would work like .it chown. .s3 The .bd \-g and .bd \-u flags are of questionable value. clock.6Ùø¤�!.th CLOCK VI 8/25/77 .sh NAME clock \- continually print the time of the day .sh SYNOPSIS .bd clock .sh DESCRIPTION .it Clock continually prints the time of day. .it Clock should be run on a \s-2CRT\s0 for best effect. .s3 A quit signal stops the clock; another quit restarts it. .sh BUGS tcolcrt.6Ùø¤�™.th COLCRT VI 8/24/77 .sh NAME colcrt \- simulate model 37 tty with a soft-copy terminal .sh SYNOPSIS .bd colcrt [ .bd \- ] [ .bd \-2 ] [ file ... ] .sh DESCRIPTION .it Colcrt provides virtual half-line and reverse line feed sequences for terminals without such capability, and on which overstriking is destructive. Half-line characters and underlining (changed to dashing `\-') are placed on new lines in between the normal output lines. .s3 The optional .bd \- suppresses all underlining. It is especially useful for previewing .it allboxed tables from .it tbl (I). .s3 The option .bd \-2 causes all half-lines to be printed, effectively double spacing the output. Normally, a minimal space output format is used which will suppress empty lines. The program never suppresses two consecutive empty lines, however. The .bd \-2 option is useful for sending output to the line printer when the output contains superscripts and subscripts which would otherwise be invisible. .s3 A typical use of .it colcrt would be .s3 .dt tbl exum2.n | nroff \-ms | colcrt \- | cr3 .sh "SEE ALSO" col (VI), nroff/troff (I), collpr (VI), cr3 (VI) .sh AUTHOR William Joy .sh BUGS Should fold `_'s onto blanks even with the `\fB\-\fR' option so that a true underline character would show; if we did this, however, .it colcrt wouldn't get rid of .it cu'd underlining completely. .s3 Can't back up more than 102 lines. .s3 General overstriking is lost; as a special case `|' overstruck with `\-' or `_' becomes `+'. .s3 Lines are trimmed to 132 characters. .s3 Some provision should be made for processing superscripts and subscripts in documents which are already double-spaced, either here or in .it collpr. scollpr.6Ùø¤�Å.th COLLPR VI 8/24/77 .sh NAME collpr \- simulate model 37 tty on the line printer .sh SYNOPSIS .bd collpr [ .bd \- ] [ file ... ] .sh DESCRIPTION .it Collpr simulates a model 37 teletype for doing .it nroff output on the line printer. Pages are buffered and reverse line-feed and half-line feed sequences are interpreted. .s3 Half-line up material is overstruck on the previous line, half-line down material is struck on the current line. In general, though, overstruck characters are lost, except for underlining. Combinations of `\-' or `_' and `|' are turned into `+', i.e. at the corner of boxes. .s3 The optional argument .bd \- causes the output to be sent to the standard output. By default it is sent to an instance of the line printer daemon, .it lpr (I). .s3 A typical usage of .it collpr would be .s3 .dt tbl exum2.n | nroff \-ms | collpr .s3 to .it nroff the document in the file .it exum2.n and send it to the line printer with a approximation of the tables printing there. .sh SEE\ ALSO lpr (I), nroff (I), troff (I), col (VI), colcrt (VI) .sh AUTHOR William Joy .sh BUGS Output can't be backed up more than 102 lines. .s3 Overstriking is lost. .s3 Lines are trimmed to 132 characters. .s3 Superscripts of the first output line are lost. .s3 If more than one file is specified, the program does not pad the files out with a form feed as .it lpr would do. .s3 Should move subscripts down a line rather than printing them on the same line as the normal material. colrm.6Ùø¤�f.th COLRM VI 8/5/77 .sh NAME colrm \- remove columns from a file .sh SYNOPSIS .bd colrm [ start.col [ end.col ] ] .sh DESCRIPTION .it Colrm removes selected columns from a file. Input is taken from standard input. Output is sent to standard output. .s3 If called with one parameter the columns of each line will be removed starting with the specified column. If called with two parameters the columns from the first column to the last column will be removed. .s3 Column numbering starts with column 1. .sh SEE\ ALSO expand (VI) .sh AUTHOR Jeff Schriebman .sh BUGS Tabs are treated as one character and one column. continue.6Ùø¤�¬.th CONTINUE VI 8/5/77 .sh NAME continue \- continue execution at a specified time .sh SYNOPSIS .bd continue mmddhhmm[yy] .sh DESCRIPTION .it Continue sleeps until the time mmddhhmm[yy]. Thus to resume execution on March 3 at 09:43 .s3 .dt continue 03030943 .s3 If the current date and time is greater than the given date return is immediate. .sh BUGS Continuation may occur anytime within 5 minutes after the specified time. cpall.6Ù ø¤�.th CPALL VI 8/23/77 .sh NAME cpall \- copy files into a specified target directory .sh SYNOPSIS .bd cpall file [ file ... ] directory .sh DESCRIPTION Each argument .it file is copied to a file with the same name in the target .it directory, using .it cp (I). The leading part of the .it files path name is stripped off, thus .dt .s3 cpall /mnt/chuck/cstuff/m*.c /mnt/bill/cprogs .s3 will create, among others, .s3 /mnt/bill/cprogs/multiprint.c .sh "SEE ALSO" mvall (VI), lnall (VI), cptree (VI), lntree (VI), rmtree (VI) .sh BUGS .cptree.6Ù ø¤�Á .th CPTREE VI 8/22/77 .sh NAME cptree \- make a duplicate tree .sh SYNOPSIS .bd cptree [ .bd \- ] [ .bd \-y ] [ .bd \-q ] source dest .sh DESCRIPTION A copy of the tree rooted at .it source is made with its root at .it dest. The existing link structure of the subtree is preserved. .it Dest must already exist. The source and destination directories need not be on the same device, but the subtree must encompass only one device. If the source and destination directories are on the same device .it lntree (VI) would run much faster, but will have a very different effect unless .it source is to be removed, e.g. with .it rmtree (VI). .s3 .it Cptree diagnoses the fact that .it dest is a subdirectory of .it source, and does no copying as such would not terminate. .s3 .it Cptree first makes a pass at the subtree rooted at source, checking that it can indeed transverse the directory structure and copy all the named files. It checks on the prepass for .it dest a subdirectory of .it source and also records the inode numbers of files it encounters which have link counts greater than 1. It will complain on this pass and forego pass 2 if it finds any unreadable subdirectories, any files it will not be able to copy, or any special files. .s3 After this prepass, if there are any files whose link count is not totally accounted for in the subtree rooted at source, .it cptreee lists the inode number of each together with the number of dangling links and all known names for the inode. The user is then asked to confirm that the copy is still to be made. The .bd \-y option can be used to answer this question affirmatively on the command line. The question is not asked if the standard input is not a teletype. The .bd \- option suppresses all link diagnositics and prompting and makes the new tree regardless. .s3 .it Cptree finally makes a second pass, forking a .it cp (I) to do each copy, and linking via .it ln (II) when appropriate. .s3 For the super-user .it cptree normally makes new quota files with the same maximum quota as in the source tree. This feature is disabled by the .bd \-q option. If the super-user is copying, the ownership of each file in the copy corresponds to that in the original. .sh "SEE ALSO" mkdir (I), quot(I), cp (I), ln(II), cpall(VI), lntree(VI), rmtree(VI) .sh AUTHOR William Joy .sh BUGS Missing link information, while potentially useful, is rarely a concern, so that the prompting for confirmation when links are ``dangling'' is most often a nuisance. cr3.6Ù ø¤�y.th CR3 VI 8/24/77 .sh NAME cr3 \- controlled output flow filter for crt previewing .sh SYNOPSIS .bd cr3 [ name ... ] .sh DESCRIPTION .it Cr3 is a filter which allows causual examination of a continuous text on a soft-copy terminal. It normally pauses after each 23 lines of output. If the user then hits a carriage-return, 23 more lines are displayed. If the user hits control-d, 11 more lines are displayed (a ``scroll''). .s3 It is also possible to type positive numbers to cr3 causing that many lines to be printed, or negative numbers causing that many lines to be discarded followed by a scroll. .s3 The terminal is set to .it noecho mode by this program so that the output can be continuous. The numbers and carriage returns you type will thus not show on your terminal. .s3 .dt A sample usage of .it cr3 in previewing .it nroff output would be .s3 nroff \-ms +2 doc.n | cr3 .sh SEE\ ALSO page (VI) .sh AUTHOR William Joy .sh BUGS The function of .it cr3 should be done optionally by the teletype driver in the system. .it Cr3 has its unusual name because Charles Haley implemented such a feature, which was enabled by .dt .s3 stty cr3 ncrazy.6Ù ø¤�Û.th CRAZY VI 8/24/77 .sh NAME crazy \- a crazy program .sh SYNOPSIS .bd crazy .sh DESCRIPTION This program is a \s-2CRT\s0 hack to amuse the bored programmer. .sh SEE\ ALSO funny (VI) .sh AUTHOR Howard Katseff .sh BUGS cxref.6Ù ø¤�R.th CXREF VI 11/13/77 .sh NAME cxref \- a simple C routine referencing program .sh SYNOPSIS .bd cxref file ... .sh DESCRIPTION .it Cxref is a simple shell script which uses .it gres (VI) and .it ex (VI) and .it sort (I) to make a listing of the routines in the specified C program files and the lines on which they are defined. It is useful as a summary when prowling in a large program, especially since .it cref has a habit of looping on large program input. .sh SEE\ ALSO cref (I) .sh AUTHOR William Joy .sh BUGS .it Cxref assumes that routines begin in the first column of lines, and that type names are given on different lines than the routine names. If you have a program which is in a different format than this, .it cxref will fail miserably. The operating system, C compiler, Pascal translator, .it ex editor, etc. all work with .it cxref. dates.6Ù ø¤�..th DATES VI 8/25/77 .sh NAME dates \- display and update system events calendar .sh SYNOPSIS .bd dates [ date [ identifier [ description ] ] ] .sh DESCRIPTION .it Dates displays and modifies the system calendar of events. The command .s3 .dt dates .s3 will display the calendar. .s3 .it Dates normally dispalys only events which will or have happened today, or will happen in the future. By specifying two arguments, you can ask .it dates to start at a different date. Thus .s3 dates 11/4.11:30 .s3 asks for events happening after 11:30 am on December 4, while .s3 dates 1/1/78 .s3 asks for events starting with the first one in 1978. The year and time are optional. .s3 The class master accounts and the super-user may add events to the calendar and delete events. To add an event one specifies three arguments, the second and third arguments being an identifying tag for this entry and a description, i.e.: .s3 dates 12/31/77 "New years eve" "A holiday" .s3 or more seriously .s3 dates 9/27 "CS40 Assignment 1" "Fibbonnaci numbers" .s3 The identifying tag and description are limited to 30 characters. .s3 To delete an entry just give the first three arguments, thus .s3 dates 9/27 "CS40 Assignment 1" .s3 Would delete the last entry above. .ti 15 .sh "FILES" /usr/lib/dates data base .sh AUTHOR William Joy .sh BUGS double.6Ù)ø¤� .th DOUBLE VI 11/20/77 .sh NAME double \- double strike output for faint ribbons .sh SYNOPSIS .bd double [ file ... ] .sh DESCRIPTION .it Double double strikes each of the specified files, or the standard input for printing dark copies with faint ribbons. .sh AUTHOR William Joy .sh BUGS edit.6ÝÖ1¤� .th EDIT VI 11/16/77 .sh NAME edit \- text editor (variant of \fIex\fR\|) .sh SYNOPSIS .bd edit [ [ .bd \-r ] name ... ] .sh DESCRIPTION .it Edit is a variant of the text editor .it ex recommended for new or casual users. With .it edit, the default settings of the options are changed so that there are fewer ``magic'' characters in regular expressions (\fInomagic\fR), so that more feedback is given in command changes (\fInotify\fR\|=1), and so that accidental entry to .it open or .it visual is prevented (\fInoopen\fR). This provides a more hospitable editing environment. .s3 Except for the default settings of these options, .it edit is identical to .it ex; the two may be used interchangeably. .sh SEE\ ALSO ``Ex Reference Manual'', ex (VI) .sh AUTHOR William Joy .sh BUGS ex.6Ý×1¤‘;.th EX VI 11/15/77 .sh NAME ex \*- text editor .sh SYNOPSIS .bd ex [ .bd \- ] [ .bd \-n ] [ .bd \-o ] [ .bd \-p ] [ [ .bd \-r ] name ... ] .sh DESCRIPTION .it Ex is a text editor based on .it ed (I). A complete description of .it ex is given in the .it "Ex Reference Manual." .s3 .bd "Getting out of the editor." The only way to leave .it ex is to type `quit' in command mode (with a `:' prompt.) You can always get to command mode by typing one or more interrupts, generated by the \s-2DELETE\s0 (\s-2RUBOUT\s0) character. You may have to type `quit' more than once if you have made changes to the file editing buffer since you have written it out. .s3 .bd "Quota exceeded." If you are writing out a file and you get the message ``Quota exceeded'' .cu \fIproceed with extreme caution\fR. It is likely that only a part of the editor's buffer is now present in the file you tried to write. In this case you should use the shell escape from the editor to remove some of your files which you don't need and try to write the file again. If you do not know how to do this, and cannot find someone to help, you should use the editor .it preserve command to save the editing buffer and then seek help immediately. .bd "Do not simply leave the editor." If you do you may not be able to save your file. .s3 .bd "No space on device." If you are writing out a file and get this message, the system has run out of space. As with ``Quota exceeded'' you may not have a complete copy of your file. This situation is less stable than the quota problem one, however, so you may not be able to recover as described above. It cannot hurt to try. .s3 .bd "Crashes." After a crash it is usually possible to recover the work you were doing to within a few lines of changes of where you were. This applies both to editor crashes and system crashes. Change, using .it chdir (I) to the directory where you were editing and enter the editor specifying the .bd "\-r" option, i.e.: .s3 .dt \fBex\fR \fB\-r\fR resume .s3 if you were editing the file .it resume. This should allow you to continue where you left off. This is also the way to recover a file saved by .it preserve. .sh FILES .nf .dt /usr/lib/ex1.1strings error messages /etc/ttycap tty capability data base /etc/htmp home directory and teletype type data base \&.exrc start-up file in home directory /tmp/Ex\fInnnnn\fR editor temporary (\fInnnnn\fR is decimal pid) /usr/lib/how_ex/* help command data base /usr/lib/expreserve routine implementing \fIpreserve\fR command /usr/lib/exrecover routine implementing \fIrecover\fR command /usr/preserve preservation directory .fi .sh SEE\ ALSO ``Ex Reference Manual'' by William Joy .br Topic \fIex\fR in the system news .br ed (I), htmp (V), sethome (V), tset(VI), ttycap (V), ttytype (V), edit (VI), grep (VI), sethome (VI), ttytype (VI) .sh AUTHOR William Joy .sh BUGS The commands .it expand or .it xpand, .it tabulate and the shifts `<' and `>' do not give feedback that more than .it notify lines were changed, and print nothing if nothing changes. The shift commands tend to right shift ``labels'' in C programs annoyingly. It would be nice if the labels were held at the margins. .s3 There should be a way to say that, although you have a terminal which prints 132 columns, you have a box of 80 column paper. .s3 The set of primitives for dealing with the editor argument list is too primitive. .s3 A diagnostic should be given when temporary file space is low or when a file being edited is so large that that the editor limits are being strained. .s3 There is no easy way to do a single addressing search or .it substitute ignoring case. .s3 Adding cursor-addressible terminals to the editor requires recompilation. A data string encoding the cursor addressing information could be part of the .it ttycap data base. .s3 The option .it optimize, although greatly speeding throughput of text with leading blanks on non-cursor addressible terminals, tends to be mysterious and sometimes annoying, as it causes typeahead during output to be lost. It currently ``pessimises'' on terminals which can tab. .s3 The .it undo comand causes all marks to be lost on lines changed and then restored if the marked lines were changed. .it Undo never clears the buffer modified condition. .s3 The .it z command prints a number of logical rather than physical lines. More than a screen full of output may result if long lines are present. .s3 The .it R operation in .it visual and .it open does not set the previous deleted text. The .it e and .it E operations are unimplemented. Changes completely within the text of a single line can be undone only while the cursor remains on that line. hexpand.6Ù ø¤�'.th EXPAND VI 8/5/77 .sh NAME expand \- expand tabs to spaces in a file like the \fIex\fR xpand command .sh SYNOPSIS .bd expand [ file ... ] .sh DESCRIPTION .it Expand processes the named files or the standard input writing the standard output with tabs changed into blanks. Backspace characters are preserved into the output and decrement the column count for tab calculations. .s3 .it Expand is useful for pre-processing character files (before sorting, looking at specific columns, etc.) that contain tabs. .sh SEE\ ALSO list (VI), p (VI) .sh BUGS eyacc.6Ù ø¤�E .th EYACC VI 8/28/77 .sh NAME eyacc \- modified yacc allowing much improved error recovery .sh SYNOPSIS .bd eyacc [ .bd \-v ] [ grammar ] .sh DESCRIPTION .it Eyacc converts a context-free grammar into a set of tables for a simple automaton which executes an LR(1) parsing algorithm. The grammar may be ambiguous; specified precedence rules are used to break ambiguities. .s3 The output is .it y.tab.c, which must be compiled by the C compiler and loaded with any other routines required. If the .bd \-v flag is given, the file .it y.output is prepared, which contains a description of the parsing tables and a report on conflicts generated by ambiguities in the grammar. .s3 .it Eyacc is a slightly but significantly modified version of .it yacc (I). The most important change is that .it eyacc fully enumerates test actions in its parser when an error token is in the look-ahead set. This prevents the parser from making undesirable reductions when an error occurs before the error is detected. .it Eyacc also uses a different encoding for the action tables to allow the parser to run faster. Because of the change in enumerating look-aheads, there are more frequently a series of ``test'' states in the parse tables. For this reason, test states are encoded as the arithmetic inverse of the value of the token to be tested for. This allows a much tighter inner loop in the parser and more than compensates for the extra tests required. (Of course, the same change could be made to the tables of .it yacc and it would then run significantly faster than .it eyacc, but error recovery of the kind performed using .it eyacc would not be possible without the enumerated look-aheads.) .s3 Minor changes to .it yacc in .it eyacc include the recognition of a form-feed as a white space character, increased table size so as to handle larger grammars, and a change of the code for the error action (from 0 to 1) because of the change in the testing outlined above. For this reason it is not possible to use the standard .it yacc library with .it eyacc. This would be pointless in any case, because a different set of recovery routines is needed. .s3 A document describing the error recovery method used with .it eyacc in the Pascal translator .it pi (VI) is in preparation. .sh "SEE ALSO" ``LR Parsing'', by A. V. Aho and S. C. Johnson, Computing Surveys, June, 1974. .s3 ``The YACC Compiler-compiler'', internal memorandum. .s3 ``Practical syntactic error recovery'', by Susan L. Graham and Stephen P. Rhodes, CACM, November 1975. .s3 pi (VI), yacc (I) .sh AUTHOR S. C. Johnson .s3 .it Eyacc modifications by Charles Haley and William Joy. .sh FILES y.output .br y.tab.c .br .sh DIAGNOSTICS The number of reduce-reduce and shift-reduce conflicts is reported on the standard output; a more detailed report is found in the .it y.output file. .sh BUGS A .it eyacc library should be available. Afile.6Ù ø¤�*.th FILE VI 8/27/77 .sh NAME file \- determine file type .sh SYNOPSIS .bd file file ... .sh DESCRIPTION .it File performs a series of tests on each argument in an attempt to classify it. If an argument appears to be \s-2ASCII\s0, .it file examines the first 512 bytes and tries to guess its language. .s3 Classification currently known to .it file are: .s3 .dt .br directory .br ( character | block ) special file .br quota file .br [ pure | separate ] executable [ not stripped ] .br pascal object .br [ old ] archive .s3 The following text file classifications may indicate ``with garbage'' if there are non-\s-2ASCII\s0 characters in the file. .s3 ( c | fortran | pascal | assembler ) program .br roff, nroff, or eqn input .br commands .br data .br probably text .sh SEE\ ALSO head (VI) .sh BUGS fix.6Ù ø¤�.th FIX VI 8/24/77 .sh NAME fix \- clean up data .sh SYNOPSIS .bd fix [ .bd \-bcfhlnoqr ] [ file ... ] .sh DESCRIPTION .it Fix is a filter which reads the argument files or the standard input removing ``bad'' characters in the copy on the standard output. .it Fix optionally makes a report of the problems it finds in the input. There are scads of options: .s3 .lp +7 6 \fB\-b\fP Bells are bad characters. .s3 .lp +7 6 \fB\-c\fP Carriage returns are bad characters. .s3 .lp +7 6 \fB\-f\fP Form feeds are bad characters. .s3 .lp +7 6 \fB\-h\fP Do the processing which would be implied if the input were typed to the system with erase processing character control-h. .s3 .lp +7 6 \fB\-l\fP Number lines in the report of bad lines. .s3 .lp +7 6 \fB\-n\fP Do not produced fixed output; only produce a report of problems on the diagnostic output. .s3 .lp +7 6 \fB\-o\fP Print bad characters in octal in the report instead of as the character `?'. .s3 .lp +7 6 \fB\-q\fP With multiple file arguments, don't print file names in the report. .s3 .lp +7 6 \fB\-r\fP Carriage returns are bad characters. .i0 .s3 Thus to clean up the file `dirty' after typing it in when you thought your erase character was control-h. .s3 .dt fix dirty >clean .s3 To just get a report of the problems in the file dirty: .s3 fix \-n dirty .s3 To send output to the printer discarding dirty characters: .s3 a.out | fix | lpr .sh SEE\ ALSO list (VI), p (VI) .sh AUTHOR Kurt Shoens .sh BUGS Null characters are turned into delete characters. This can be construed as a bug or as a feature. \fixit.6Ù ø¤�Ø.th FIXIT VI 8/24/77 .sh NAME fixit \- recover macro assembler source from a listing .sh SYNOPSIS .bd fixit name .sh DESCRIPTION .it Fixit is a shell script which can be used to recover a \s-2DEC\s0 macro assembler source file from the ``.lst'' listing file. If the file ``lost.lst'' is the listing of the program which is lost the command .dt .s3 fixit lost .s3 will recover the source corresponding to this file in the file ``newlost''. .sh AUTHOR Kurt Shoens .sh BUGS flt40.6Ù ø¤�ø.th FLT40 VI 8/22/77 .sh NAME flt40 \- floating point assembly language speed up massager .sh SYNOPSIS .bd flt40 slowcode fastcode .sh DESCRIPTION .it Flt40 reads the assembly language program off the file .it slowcode and writes a transformed program on .it fastcode. The transformation consists of placing the statement .s3 .dt jsr pc,fpjsr .s3 before each group of floating point operations. On machines which don't have floating point hardware, this can speed execution time significantly, as the system overhead associated with floating point interpretation is eliminated. .s3 .it Flt40 is most appropriately called directly from the C compiler pre-processor .it cc; an option .bd \-F to call .it flt40 is a useful addition on machines without floating point hardware. .sh AUTHOR Jeff Schriebman .sh BUGS The name .it flt40 is an anachronism; the program works perfectly well on 11/45's and 70's. .s3 The input is recognized only if it is in C format; thus there can be no leading tabs before operation codes. fold.6Ù ø¤�`.th FOLD VI 8/24/77 .sh NAME fold \- fold long lines for finite width output device .sh SYNOPSIS .bd fold [ \-width ] [ file ... ] .sh DESCRIPTION .it Fold is a filter which will fold the contents of the specified files, or the standard input if no files are specified, breaking the lines to have maximum width .it width. The default for .it width is 80. .it Width should be a multiple of 8 if tabs are present, or the tabs should be expanded using .it expand (VI) before coming to .it fold. .sh SEE\ ALSO expand (VI) .sh AUTHOR William Joy .sh BUGS If underlining is present it may be messed up by folding. froc.6Ù ø¤�j.th FROC VI 8/24/77 .sh NAME froc \- recover data from card image format .sh SYNOPSIS .bd froc [ file ] .sh DESCRIPTION .it Froc recovers the original data from data encoded by .it toc (VI). The original data is written on the standard output. If no file is specified, .it froc reads the standard input. .sh SEE\ ALSO toc (VI) .sh AUTHOR Howard Katseff .sh BUGS funny.6Ù ø¤�e.th FUNNY VI 8/24/77 .sh NAME funny \- a funny program .sh SYNOPSIS .bd funny [ .bd \- ] [ string ] .sh DESCRIPTION .it Funny is yet another \s-2CRT\s0 hack program to amuse you when you are bored. It has to be seen to be appreciated. The optional .bd \- makes .it funny funnier on an \s-2ADM-3A\s0. .sh SEE\ ALSO crazy (VI) .sh AUTHOR Kurt Shoens .sh BUGS Bgres.6Ùø€� .th GRES I 6/12/75 .sh NAME gres \*- substitute for patterns throughout a file or files .sh SYNOPSIS .bd "gres" [ .bd \*-g ] [ .bd \*-v ] [ .bd \*-f patternfile ] ... [ [ .bd \*-e ] re1 re2 rhs ] ... [ file ] ... .sh DESCRIPTION .it Gres copies the input .it files (standard input default) to the standard output, performing substitutions for instances of one or more regular expressions. The intention is to simulate a series of editor commands of the form: .sp g/re1/s/re2/rhs/ .sp on one or more files (see .it ed (I)). .s3 A .bd \*-e flag says that the next three arguments are to be used as an .it re1, .it re2, and .it rhs. .s3 A .bd \*-f flag says that the next argument is a .it patternfile, in which the first line is an .it re1, the second an .it re2, and the third an .it rhs. Successive groups of three lines are interpreted similarly. .s3 The .bd \*-e and .bd \*-f groups of arguments may be intermixed in any order. The order of the simulated .it g commands is the order in which the program sees the pattern-triples; that is, the order in the command line, and within a .bd \*-f group, the order in the pattern-file. .s3 If no .bd \*-e or .bd \*-f flags are given, the first three arguments are used as .it re1, .it re2, and .it rhs. .s3 When the first argument not in the scope of a flag is encountered, it and all succeeding arguments are taken as input files. For each line of input, an attempt is made to match the first .it re1. If the attempt succeeds, an attempt is made to replace a match or matches of .it re2 by .it rhs. Whether or not either attempt succeeds, the line as it exists after the action of the first .it "re1, re2," and .it rhs is used as input to the next .it "re1, re2," and .it rhs, etc. .s3 Normally only the first match of an .it re2 in a line is replaced; but with a .bd \*-g all instances of matches to .it re2 are replaced by .it rhs. .s3 The .bd \*-v flag causes the substitution to be attempted only on lines which do .it not contain matches of .it re1. .sh FILES .sh "SEE ALSO" ed (I) .sh DIAGNOSTICS .sh BUGS head.6Ù ø¤�`.th HEAD VI 8/24/77 .sh NAME head \- give first few lines of a stream .sh SYNOPSIS .bd head [ \fB\-\fRcount ] [ file ... ] .sh DESCRIPTION This filter gives the first .it count lines of each of the specified files, or of the standard input. If .it count is omitted it defaults to 10. .sh SEE\ ALSO linerm (VI), tail(VI) .sh AUTHOR William Joy .sh BUGS iul.6Ù ø¤�©.th IUL VI 8/24/77 .sh NAME iul \- indicate underlining .sh SYNOPSIS .bd iul [ file ... ] .sh DESCRIPTION This filter provides the same function as the .it indicateul option of .it ex (VI) breaking underlining onto separate lines as dashing with `\-'. It is handy when you want to look at the underlining which is present in an .it nroff output stream on a soft-copy terminal. A typical usage of .it iul would be .dt .s3 nroff \-ms pcxin1.n | iul .sh SEE\ ALSO colcrt (VI), ex (VI) .sh BUGS Overstriking is lost. .s3 The program .it colcrt has all of the features of .it iul, so that .it iul is superfluous is some sense. .it Iul is, however, much more efficient that .it colcrt. tlast.6Ù ø¤�©.th LAST VI 8/25/77 .sh NAME last \- indicate last logins of users and teletypes .sh SYNOPSIS .bd last [ .bd \- ] [ name ... ] [ tty ... ] .sh DESCRIPTION .it Last will look back in the .it wtmp file which records all logins and logouts for information about a user, a teletype or any group of users and/or teletypes. A single character argument specifies a teletype of interest, multi-character arguments specify users of interest. .it Last will print the sessions of the specified users and teletypes, most recent first, indicating the times at which the session began, the duration of the session, and the teletype which the session took place on. If the session is still continuing or was cut short by a crash, .it last so indicates. .s3 The teletype .bd ~ records the crashes of the system; thus .dt .s3 last ~ .s3 will give an indication of the reliability of the system. .s3 .it Last with no arguments prints a record of all logins and logouts, in reverse order. The special argument .bd \- suppresses all sessions by users who have the character `\-' in their login names or whose login names begin with a digit. This can be used to suppress student accounts, which have this format on the Cory Hall system at UC Berkeley. .s3 If .it last is interrupted, it indicates how far the search has progressed in .it wtmp. .sh FILES .dt /usr/adm/wtmp login data base .sh SEE\ ALSO sess (VI), ac (VIII), wtmp (V) .sh AUTHOR Howard Katseff .sh BUGS nlinerm.6Ù ø¤�À.th LINERM VI 8/5/77 .sh NAME linerm \- remove lines from a file .sh SYNOPSIS .bd linerm \fB\-\fRn [ \fB+\fRn \fR\-\fRn \&... ] .sh DESCRIPTION .it Linerm will remove the indicated lines from its standard input writing the result to the standard output. .s3 There can be at most 50 parameters each of which consists of a `+' or `\-' followed by a number (the `+' is optional). The numbers define the starting line number where lines are to be copied to the output file or thrown away. `+n' or `n' means begin to copy data; `\-n' means begin to throw away data. .s3 To get the first 10 lines of a file one can do .dt .s3 linerm \-11 < file .s3 To extract the middle 20 lines of .it file you can use the command .s3 linerm \-1 30 \-50 ''; other non-graphic characters are escaped in octal. The end of each line is marked with the character `$'. If the option .bd \- is given, the ends of lines are not marked. .sh SEE\ ALSO ex (VI), expand (VI), iul (VI), list (VI), number (VI), p (VI) .sh AUTHOR William Joy .sh BUGS elnall.6Ù ø¤�F.th LNALL VI 8/23/77 .sh NAME lnall \- make links to a number of specified files .sh SYNOPSIS .bd lnall file [ file ... ] directory .sh DESCRIPTION A link is made to each argument .it file in .it directory, using .it ln (II). The leading part of the .it files path name is stripped off, and the remainder is used to give the file its new name. Thus .dt .s3 lnall ../*.h . .s3 will create the files .s3 0.h .br yy.h .s3 in the current directory, if these files exist in the parent directory. .sh "SEE ALSO" cpall (VI), mvall (VI), cptree (VI), lntree (VI), rmtree (VI) .sh BUGS lntree.6Ù ø¤� .th LNTREE VI 8/5/77 .sh NAME lntree \- make a duplicate tree using links .sh SYNOPSIS .bd lntree [ .bd \- ] [ .bd \-q ] source dest .sh DESCRIPTION The tree rooted at .it source is duplicated, using .it mkdir (I) and .it link (II) in a copy rooted at the directory .it dest, which must already exits. Both .it source and .it dest must be on the same file system. .it Cptree (I) can be used if they are not, but the effects of .it lntree and .it cptree are quite different. It is an extremely fatal error for .it dest to be a subdirectory of .it source. .it Lntree makes a prepass at the .it source subtree to insure that this is not the case. .s3 If special files are present in the source, .it lntree requires confirmation that the links are really to be made. The .bd \- option suppresses the request for confirmation; .it lntree then links to special file without complaint. .s3 For the super-user, .it lntree will also make new quota files corresponding to any old ones it finds, and change the ownership of all the directories and quota files it makes to the owner of the corresponding files in the .it source tree. The .bd \-q option suppresses creation of new quota files. .sh "SEE ALSO" mkdir (I), chown (II), quot(I), cptree (VI), rmtree (VI), lnall (VI) .sh AUTHOR William Joy ils.6Ù ø¤‘#.th LS VI 9/3/77 .sh NAME ls \- list contents of directory .sh SYNOPSIS .bd ls [ .bd \-lntasdruifm1cqx ] name ... .sh DESCRIPTION For each directory argument, .it ls lists the contents of the directory; for each file argument, .it ls repeats its name and any other information requested. The output is sorted alphabetically by default. When no argument is given, the current directory is listed. When several arguments are given, the arguments are first sorted appropriately, but file arguments appear before directories and their contents. .s3 .it Ls has three possible listing formats. The format chosen depends on whether the output is going to a teletype, and may also be controlled by option flags. The default format for a teletype is to list the contents of directories in multi-column format, with the entries sorted down the columns. (See also the .bd \-x option below.) If the standard output is not a teletype, the default format is to list one entry per line. This is the way older versions of .it ls worked. Finally, there is a stream output format in which files are listed across the page, separated by `,' characters. The .bd \-m flag enables this format. .s3 .bd "Important note:" Files which are not the contents of a directory being interpreted are always sorted across the page rather than down the page in columns. This is because the individual file names may be arbitrarily long. .s3 There are scads of options: .s3 .lp +4 4 \fB\-l\fR list in long format, giving mode, number of links, owner, size in bytes, and time of last modification for each file. (See below.) If the file is a special file the size field will instead contain the major and minor device numbers. .s3 .lp +4 4 \fB\-n\fR long format like \fB\-l\fR but without looking up the string name of the owner; the owner is given as decimal group and user id. This is much faster on a system with a large password file when many different people own the files being listed. .s3 .lp +4 4 \fB\-t\fR sort by time modified (latest first) instead of by name, as is normal .s3 .lp +4 4 \fB\-a\fR list all entries; usually those beginning with `\fB.\fR' are suppressed .s3 .lp +4 4 \fB\-s\fR give size in blocks for each entry. If l is also specified the size in blocks appears after the size in bytes. .s3 .lp +4 4 \fB\-d\fR if argument is a directory, list only its name, not its contents (mostly used with .bd \-l to get status on directory) .s3 .lp +4 4 \fB\-r\fR reverse the order of sort to get reverse alphabetic or oldest first as appropriate .s3 .lp +4 4 \fB\-u\fR use time of last access instead of last modification for sorting (\fB\-t\fR) or printing (\fB\-l\fR) .s3 .lp +4 4 \fB\-i\fR print i-number in first column of the report for each file listed .s3 .lp +4 4 \fB\-f\fR force each argument to be interpreted as a directory and list the name found in each slot. This option turns off .bd \-l, .bd \-t, .bd \-s, and .bd \-r, and turns on .bd \-a; the order is the order in which entries appear in the directory. .s3 .lp +4 4 \fB\-m\fR force stream output format .s3 .lp +4 4 \fB\-1\fR force one entry per line output format, e.g. to a teletype .s3 .lp +4 4 \fB\-c\fR force multi-column output, e.g. to a file or a pipe .s3 .lp +4 4 \fB\-q\fR force printing of non-graphic characters in file names as the character `?'; this normally happens only if the output device is a teletype .s3 .lp +4 4 \fB\-x\fR force columnar printing to be sorted across rather than down the page; this is the default if the last character of the name the program is invoked with is not an `l' or an `s'. .s3 .i0 The mode printed under the .bd \-l option contains 7 characters which are interpreted as follows: the first character is .s3 .lp +3 3 \fBd\fR if the entry is a directory; .lp +3 3 \fBq\fR if the entry is a quota file; .lp +3 3 \fBb\fR if the entry is a block-type special file; .lp +3 3 \fBc\fR if the entry is a character-type special file; .lp +3 3 \fB\-\fR if the entry is a plain file. .s3 .i0 The next 6 characters are interpreted as two sets of three bits each. The first set refers to owner permissions; and the second to others. Within each set the three characters indicate permission respectively to read, to write, or to execute the file as a program. For a directory, `execute' permission is interpreted to mean permission to search the directory for a specified file. The permissions are indicated as follows: .s3 .lp +3 3 \fBr\fR if the file is readable .lp +3 3 \fBw\fR if the file is writable .lp +3 3 \fBx\fR if the file is executable .lp +3 3 \fB\-\fR if the indicated permission is not granted .s3 .i0 The user-execute permission character is given as .bd s if the file has set-user-ID mode. .s3 The last character of the mode is printed as ``t'' if the 1000 bit of the mode is on. See .it "chmod (I)" for the current meaning of this mode. .sh FILES /etc/passwd to get user ID's for \fBls \-l\fR. .sh BUGS Newline and tab are considered printing characters in file names. .s3 Output device is assumed to be 80 columns wide. Columns are basically 15 characters wide, 20 characters wide if \fB\-i\fR or \fB\-s\fR is specified, 25 characters wide if both \fB\-i\fR and \fB\-s\fR are specified. In any case where \fB\-l\fR or \fB\-n\fR is specified, we assume only one entry will fit per line. .s3 The option setting based on whether the output is a teletype is undesirable as: .s3 .dt ls \-s | lpr .s3 is much different than .s3 ls \-s .s3 On the other hand, not doing this setting would make old shell scripts which used .it ls almost certain losers, and then one could no longer do, e.g.: .s3 ls \-s | sort \-nr .s3 but would have to do .s3 ls \-s \-1 | sort \-nr \man.6Ùø¤�a.th MAN VI 8/25/77 .sh NAME man \- run of section of UNIX manual .sh SYNOPSIS .bd man [ .bd \- ] [ section ] title ... .sh DESCRIPTION .it Man is a program which prints sections of the manual. .it Section is an option arabic section number, i.e. 3. If it is given .it man looks in the specified section of the manual for the given .it titles. If .it section is omitted, .it man looks through the sections of the manual and gives the first section with each given title. .s3 If the standard output is a teletype, or if the flag .bd \- is given, then .it man pipes its output through .it ssp (VI) to crush out useless blank lines. .sh FILES /usr/man/man?/* .sh SEE\ ALSO ssp (VI) .sh AUTHOR William Joy .sh BUGS The manual is supposed to be reproducible either on the phototypesetter or on a typewriter. However, on a typewriter some information is neccesarily lost. tmanwhere.6Ùø¤�Þ.th MANWHERE VI 8/29/77 .sh NAME manwhere \- locate specific commands in the manual .sh SYNOPSIS .bd manwhere [ .bd \- ] name ... .sh DESCRIPTION .it Manwhere will look for each of the specified commands in the on-line manual. If it exists in any section of the manual, the number of that section will be printed. If it is not in any section of the manual, .it manwhere will so indicate. The optional .bd \- causes only undocumented commands to be listed. It can be used, e.g.: .s3 .dt chdir /bin .br manwhere \- * .s3 to see that a set of commands are all documented. .s3 If a command is documented in an as yet uninstalled section of the manual, it will be preceded by a string indicating the location of this documentation. For Cory UNIX, the character `P' indicates that documentation is in preparation for the section in question. .sh FILES .dt /usr/man/man?/* on-line manual .br /*/pascal/man?/* new version of manual sections .sh SEE\ ALSO man (VI) .sh AUTHOR William Joy .sh BUGS mkstr.6Ùø¤�u .th MKSTR VI 8/22/77 .sh NAME mkstr \- create an error message file by massaging C source .sh SYNOPSIS .bd mkstr [ .bd \- ] message-file prefix file ... .sh DESCRIPTION .it Mkstr is used to create files of error messages. Its use can make programs with large numbers of error diagnostics much smaller, and reduce system overhead in running the program as the error messages do not have to be constantly swapped in and out. .s3 .it Mkstr will process each of the specified .it files, placing a massaged version of the input file in a file whose name consists of the specified .it prefix and the original name. A typical usage of .it mkstr would be .dt .s3 mkstr pi_strings temp/ *.c .s3 This command would cause all the error messages from the C source files in the current directory to be placed in the file .it pi_strings and processed copies of the source for these files to be placed in the (existing) directory .it temp. .s3 To process the error messages in the source to the message file .it mkstr keys on the string \%``error("'' in the input stream. Each time it occurs, the C string starting at the `"' is placed in the message file followed by a null character and a new-line character; the null character terminates the message so it can be easily used when retrieved, the new-line character makes it possible to sensibly .it cat the error message file to see its contents. The massaged copy of the input file then contains a .it seek pointer into the file which can be used to retrieve the message, i.e.: .s3 \fBchar\fR efilname[] "/usr/lib/pi_strings"; \fBint\fR efil -1; error(a1, a2, a3, a4) { char buf[256]; \fBif\fR (efil < 0) { efil = open(efilname, 0); \fBif\fR (efil < 0) { .br oops: perror(efilname); exit(1); } }  \fBif\fR (seek(efil, a1, 0)) \fBgoto\fR oops; \fBif\fR (read(efil, buf, 256) <= 0) \fBgoto\fR oops; printf(buf, a2, a3, a4); } .s3 The optional .bd \- causes the error messages to be placed at the end of the specified message file for recompiling part of a large \fImkstr\fR\|ed program. .sh SEE\ ALSO seek (II) .sh AUTHORS William Joy and Charles Haley .sh BUGS mvall.6Ùø¤�ö.th MVALL VI 8/23/77 .sh NAME mvall \- move files into a specified target directory .sh SYNOPSIS .bd mvall file [ file ... ] directory .sh DESCRIPTION Each argument .it file is moved to a file with the same name in the target .it directory, using .it mv (I). The leading part of the .it files path name is stripped off, thus .dt .s3 mvall /mnt/jeff/adm/*.c /c/adm .s3 will create, among others, .s3 /c/adm/procp.c .sh "SEE ALSO" cpall (VI), lnall (VI), cptree (VI), lntree (VI), rmtree (VI) .sh BUGS naaÙø¤�/.ns .nr in 5 .de i0 .in \n(in .. .de lp .i0 .ta \\$2 .in \\$1 .ti -\\$2 .. .de s1 .sp 1 .ne 4 .. .de s2 .sp 1 .. .de s3 .sp 1 .. .de fo 'sp 2 'tl ''- % -'' 'bp .. .de th .de x1 .rs 'sp 4 'tl '\\$1(\\$2)'\\$3'\\$1(\\$2)' 'sp 2 \\.. .wh -7 fo .wh 0 x1 .pn 1 'fi 'ad .bp .in \n(in .. .de sh .s1 .ne 5 .ti 0 \\$1 .br .. .de bd .tr __ .cu .li \\$1 .. .de bn .tr __ .ul \\$1\\t .. .de it .tr __ .ul .li \\$1 .. .de dt .ta 8 16 24 32 40 48 56 64 .. .ds b B .ds G G .ds a ' .ds - - .ds _ _ .ds v | .ds p J .ds r .ds g ` .ds X X .ds u u .ds > -> .ds | .hy 14 nm.6Ùø¤�À.th NM VI 8/24/77 .sh NAME nm \- print name list .sh SYNOPSIS .bd nm [ .bd \-cnrupg ] [ name ... ] .sh DESCRIPTION .it Nm prints the symbol table from the output file of an assembler or loader run. Each symbol name is preceded by its value (blanks if undefined) and one of the letters \fBU\fR (undefined) \fBA\fR (absolute) \fBT\fR (text segment symbol), \fBD\fR (data segment symbol), \fBB\fR (bss segment symbol), or \fBC\fR (common symbol). If the symbol is local (non-external) the type letter is in lower case. The output is sorted alphabetically. .s3 If no file is given, the symbols in .it a.out are listed. If more than one file is given, each file name is printed preceding the name list. The ability to .it nm multiple files is most useful with the options .bd \-c or .bd \-u. .s3 Options are: .s3 .lp +4 4 \fB\-c\fR list only C-style external symbols, that is those beginning with underscore `\*_'. .s3 .lp +4 4 \fB\-g\fR print only global (external) symbols .s3 .lp +4 4 \fB\-n\fR sort by value instead of by name .s3 .lp +4 4 \fB\-p\fR don't sort; print in symbol-table order .s3 .lp +4 4 \fB\-r\fR sort in reverse order .s3 .lp +4 4 \fB\-u\fR print only undefined symbols. .i0 .sh FILES a.out .sh BUGS number.6Ùø¤�¾.th NUMBER VI 8/24/77 .sh NAME number \- number lines like the \fIex\fR `#' command .sh SYNOPSIS .bd number [ file ... ] .sh DESCRIPTION The lines in the specified files, or the standard input, are copied to the standard output preceded by line numbers. Tabs remain aligned in the output as the lines are printed preceded by the number blank padded to six digits and then 2 spaces. .sh SEE\ ALSO list (VI), p (VI) .sh AUTHOR William Joy .sh BUGS pascals.6Ùø¤�ß.th PASCALS VI 8/25/77 .sh NAME pascals \- Pascal subset interpreter .sh SYNOPSIS .bd pascals program .sh DESCRIPTION .it Pascals is Wirth's Pascal subset interpreter. It is a Pascal program, hence rather slow as it is interpreted. It is interesting mostly to students studying his top-down error recovery techniques .sh FILES .dt /usr/lib/pascals actual pascal object .sh SEE\ ALSO ``Algorithms + Data Structures = Programs'' by Niklaus Wirth .sh AUTHOR Niklaus Wirth .sh BUGS Rpcc.6Ùø¤�`.th PCC VI 9/10/77 .sh NAME pcc \- interpret Pascal carriage control .sh SYNOPSIS .bd pcc [ name ... ] .sh DESCRIPTION .it Pcc is a filter which interprets Pascal carriage control. The first character of each line to .it pcc should be one of the following carriage control characters, indicating the action to be taken before printing: .s3 .nf .ta 1iC 2i blank single space 0 double space 1 top of form + no space .fi .s3 If the initial character is not a valid control, it is treated as if it were a blank. .sh SEE\ ALSO UNIX Pascal User's Manual .br pi (VI), px (VI) .sh AUTHOR William N. Joy .sh BUGS pi.6Ú"ˆ¤�¨.th PI VI 11/16/77 .sh NAME pi \- Pascal interpreter code translator .sh SYNOPSIS .bd pi [ .bd \-blnpstuwz ] [ .bd \-i name ... ] name.p .sh DESCRIPTION .it Pi translates the program in the file .it name.p leaving interpreter code in the file .it obj in the current directory. The interpreter code can be executed using .it px. .it Pix performs the functions of .it pi and .it px for ``load and go'' Pascal. .s3 The following flags are interpreted by .it pi; the associated options can also be controlled in comments within the program as described in the .it "UNIX Pascal User's Manual." .s3 .lp +6 5 \fB\-b\fP Block buffer the file .it output. .s3 .lp +6 5 \fB\-i\fP Enable the listing for any specified procedures and functions and while processing any specified .bd include files. .s3 .lp +6 5 \fB\-l\fR Make a program listing during translation. .s3 .lp +6 5 \fB\-n\fR Begin each listed .bd include file on a new page with a banner line. .s3 .lp +6 5 \fB\-p\fR Suppress the post-mortem control flow backtrace if an error occurs; suppress statement limit counting. .s3 .lp +6 5 \fB\-s\fR Accept standard Pascal only; non-standard constructs cause warning diagnostics. .s3 .lp +6 5 \fB\-t\fR Suppress runtime tests of subrange variables and treat .bd assert statements as comments. .s3 .lp +6 5 \fB\-u\fR Card image mode; only the first 72 characters of input lines are used. .s3 .lp +6 5 \fB\-w\fR Suppress warning diagnostics. .s3 .lp +6 5 \fB\-z\fR Allow execution profiling with .it pxp by generating statement counters, and arranging for the creation of the profile data file .it pmon.out when the resulting object is executed. .i0 .dt .sh "FILES" file.p input file .br file.i \fBinclude\fR file(s) .br /usr/lib/pi_strings text of the error messages .br .nf /usr/lib/how_pi* basic usage explanation .fi obj interpreter code output .sh "SEE ALSO" UNIX Pascal User's Manual .br pix (VI), px (VI), pxp (VI), pcc (VI), pxref (VI) .sh DIAGNOSTICS For a basic explanation do .s3 .bd pi .s3 In the diagnostic output of the translator, lines containing syntax errors are listed with a flag indicating the point of error. Diagnostic messages indicate the action which the recovery mechanism took in order to be able to continue parsing. Some diagnostics indicate only that the input is ``malformed.'' This occurs if the recovery can find no simple correction to make the input syntactically valid. .s3 Semantic error diagnostics indicate a line in the source text near the point of error. Some errors evoke more than one diagnostic to help pinpoint the error; the follow-up messages begin with an ellipsis ``...''. .s3 .ne 8 The first character of each error message indicates its class: .s3 .ta 1ic 2.i E Fatal error; no code will be generated. .br e Non-fatal error. .br w Warning \- a potential problem. .br s Non-standard Pascal construct warning. .s3 If a severe error occurs which inhibits further processing, the translator will give a diagnostic and then ``QUIT''. .sh AUTHORS Charles B. Haley, William N. Joy, and Ken Thompson .sh BUGS Formal parameters which are procedures and functions are not supported. .s3 The keyword .bd packed and the function .it dispose are recognized but have no effect. .s3 For clarity, semantic errors should be flagged at an appropriate place in the source text, and multiple instances of the ``same'' semantic error should be summarized at the end of a .bd procedure or .bd function rather than evoking many diagnostics. .s3 When .bd include files are present, diagnostics relating to the last procedure in one file may appear after the beginning of the listing of the next. .s3 .it Pi is too large to run without separate instruction and data spaces; hence it will not run on an 11/34 or 11/40. pix.6Ú�‰¤�µ.th PIX VI 11/16/77 .sh NAME pix \- Pascal interpreter and executor .sh SYNOPSIS .bd pix [ .bd \-blnpstuwz ] [ .bd \-i name ... ] name.p [ argument ... ] .sh DESCRIPTION .it Pix is a ``load and go'' version of Pascal which combines the functions of the interpreter code translator .it pi and the executor \fIpx\fR. It uses .it pi to translate the program in the file .it name.p and, if there were no fatal errors during translation, causes the resulting interpreter code to be executed by .it px with the specified arguments. A temporary file is used for the object code; the file .it obj is neither created nor destroyed. .sh FILES .dt /usr/bin/pi Pascal translator .br /usr/bin/px Pascal executor .br /tmp/pix????? temporary .br /usr/lib/how_pix basic explanation .sh SEE\ ALSO UNIX Pascal User's Manual .br pi (VI), px (VI) .sh DIAGNOSTICS For a basic explanation do .s3 .dt .bd pix .sh AUTHORS Susan L. Graham and William N. Joy .sh BUGS epq.6Ùø¤�.th PQ VI 8/24/77 .sh NAME pq \- print quota .sh SYNOPSIS .bd pq .sh DESCRIPTION .it Pq searches up the path from your current directory and finds the nearest quota file. It then prints the used and maximum quota of this quota file, and expresses this as a percentage. .it Pq is useful when you are several levels deep in your account and wish to find out what your quota is. .sh AUTHOR Kurt Shoens .sh BUGS .it Pq should find the most restrictive quota on the path to the root and print that, perhaps with its name, ala .it pwd. print.6Ùø¤� .th PRINT VI 8/27/77 .sh NAME print \- pr to the line printer .sh SYNOPSIS .bd print file ... .sh DESCRIPTION .it Print .it pr's a copy of each named file on the line printer. It is a one line shell script: .s3 .dt pr $* | lpr .sh SEE\ ALSO lpr (I), pr (I) .sh BUGS .printman6Ùøí�\nroff naa [a-e]*.[1-9] nroff naa [f-m]*.[1-9] nroff naa [n-p]*.[1-9] nroff naa [q-z]*.[1-9] procp.6Ùø¤�Ê.th PROCP VI 8/27/77 .sh NAME procp \- print information about a process .sh SYNOPSIS procp [ pid ] .sh DESCRIPTION .it Procp is a program which prints out the system information about a process. The argument process id is used, or if none is given, .it procp prints out information about itself. Thus a .it procp of a pascal translation with .it pi running in the background might give the following output: .s3 .nf .dt .dt .cs R 24 PID = 11998 stat nice sig uid gid pgrp ppid wchan clock 3 0 0 7 0 10237 10771 0 0 ruid rgid direct inode tty dev cdir 7 0 error.i 7295 0/2 1/65 7282 files inodes num type count count dev inum uid gid 0 R 1 1 65/1 557 7 0 1 RW 13 1 8/5 291 0 0 2 RW 13 1 8/5 291 0 0 3 W 1 1 65/1 8795 7 0 4 R 1 1 64/1 548 7 0 5 R 1 1 65/1 7295 7 0 signals 2 1 ignored 3 1 ignored .cs R .fi .sp Here the first line gives the process number, the second and third lines information from the process table entry, the fourth and fifth lines information from the .it "u dot." These are followed by information about each file which the process has open, and finally a listing of signals which have other than their default actions. .sh SEE\ ALSO ps (I) .sh AUTHOR Jeff Schriebman .sh BUGS Status should be given by the code used by .it ps. pss.6Ùø¤�}.th PSS VI 8/27/77 .sh NAME pss \- show active processes .sh SYNOPSIS .bd pss .sh DESCRIPTION .it Pss is a shell script which does a .it "ps axl" and processes the output, removing login shells and instances of .it getty. The result is then sorted by teletype. .it Pss is useful for seeing what is going on in the system. .sh SEE\ ALSO procp (VI), ps (I) .sh BUGS .it Pss is a shell script which uses .it grep and .it sort. Because of the .it sort .it pss must finish all processing before any output occurs. On a heavily loaded system, this may take a large amount of time. .it Pss would be much faster if it were an option of .it ps. public.6Ùø¤�.th PUBLIC VI 8/5/77 .sh NAME public \- make files available to the rest of the world .sh SYNOPSIS .bd public file ... .sh DESCRIPTION .it Public places copies of the argument files in the directory .it /usr/public changing the ownership of the files to the user ``public.'' All users of the system can then access these files. Mode bits are preserved by the copy. .sh FILES /usr/public/* .sh WARNING Don't use public as a garbage can. To much of this will make public (and perhaps the offending user) go away. .sh AUTHOR Charles Haley Npx.6Ùø¤��.th PX VI 9/10/77 .sh NAME px \- Pascal interpreter .sh SYNOPSIS .bd px [ obj [ argument ... ] ] .sh DESCRIPTION .it Px interprets the abstract machine code generated by .it pi. The first argument is the file to be interpreted, and defaults to \fIobj\fR\|; remaining arguments are available to the Pascal program using the built-ins .it argv and .it argc. .it Px is also invoked by .it pix when running ``load and go''. .s3 If the program terminates abnormally an error message and a control flow backtrace are printed. The number of statements executed and total execution time are printed after normal termination. The .bd p option of .it pi suppresses all of this except the message indicating the cause of abnormal termination. .sh FILES .dt obj default object file .br pmon.out profile data file .sh "SEE ALSO" UNIX Pascal User's Manual .br pi (VI), pix (VI) .sh DIAGNOSTICS Most run-time error messages are self-explanatory. Some of the more unusual ones are: .s3 .lp +6 3 Reference to an inactive file .br A file other than .it input or .it output was used before a call to .it reset or .it rewrite. .s3 .lp +6 3 Statement count limit exceeded .br The limit of 500,000 executed statements (which prevents excessive looping or recursion) has been exceeded. .s3 .lp +6 3 Bad data found on integer read .lp +6 3 Bad data found on real read .br Usually, non-numeric input was found for a number. For reals, Pascal requires digits before and after the decimal point so that numbers like `.1' or `21.' evoke the second diagnostic. .s3 .lp +6 3 panic: \fISome message\fP .br Indicates a internal inconsistency detected in .it px probably due to a Pascal system bug. .i0 .sh AUTHORS Charles B. Haley, William N. Joy, and Ken Thompson .sh BUGS Calls to the procedures .it dispose and .it linelimit are ignored. .s3 Post-mortem traceback is not limited; infinite recursion leads to almost infinite traceback. .s3 Because interrupts sometimes find the system in the middle of a .bd procedure or .bd function entry or exit, the error backtrace on an interrupt is occasionally meaningless. The current line is, however, always correct; only the call backtrace and the name of the current routine may be lost. .pxp.6ÚŠ¤�ò .th PXP VI 11/16/77 .sh NAME pxp \- Pascal execution profiler .sh SYNOPSIS .bd pxp [ \fB\-acdefjnstuw_\fR ] [ .bd \-23456789 ] [ .bd \-z [ name ... ] ] name.p .sh DESCRIPTION .it Pxp can be used to obtain execution profiles of Pascal programs or as a pretty-printer. To produce an execution profile all that is necessary is to translate the program specifying the .bd z option to .it pi or .it pix, to execute the program, and to then issue the command .dt .s3 \fBpxp \-z\fR name.p .s3 A reformatted listing is output if none of the \fBc\fR, \fBt\fR, or \fBz\fR options are specified; thus .s3 \fBpxp\fR old.p > new.p .s3 places a pretty-printed version of the program in `old.p' in the file `new.p'. .s3 The use of the following options of .it pxp is discussed in sections 2.6, 5.4, 5.5 and 5.10 of the \fIUNIX Pascal User's Manual\fR. .s3 .lp +6 5 \fB\-a\fR Print the bodies of all procedures and functions in the profile; even those which were never executed. .s3 .lp +6 5 \fB\-c\fR Extract profile data from the file \fIcore\fR. .s3 .lp +6 5 \fB\-d\fR Include declaration parts in a profile. .s3 .lp +6 5 \fB\-e\fR Eliminate .bd include directives when reformatting a file; the .bd include is replaced by the reformatted contents of the specified file. .s3 .lp +6 5 \fB\-f\fR Fully parenthesize expressions. .s3 .lp +6 5 \fB\-j\fR Left justify all procedures and functions. .s3 .lp +6 5 \fB\-n\fR Eject a new page as each file is included; in profiles, print a blank line at the top of the page. .s3 .lp +6 5 \fB\-s\fR Strip comments from the input text. .s3 .lp +6 5 \fB\-t\fR Print a table summarizing \fBprocedure\fR and \fBfunction\fR call counts. .s3 .lp +6 5 \fB\-u\fR Card image mode; only the first 72 characters of input lines are used. .s3 .lp +6 5 \fB\-w\fR Suppress warning diagnostics. .s3 .lp +6 5 \fB\-z\fR Generate an execution profile. If no \fIname\fR\|s, are given the profile is of the entire program. If a list of names is given, then only any specified \fBprocedure\fRs or \fBfunction\fRs and the contents of any specified .bd include files will appear in the profile. .s3 .lp +6 5 \fB\-\_\fR Underline keywords. .s3 .lp +6 5 \fB\-\fId\fR With \fId\fR a digit, 2 \(<= \fId\fR \(<= 9, causes .it pxp to use \fId\fP spaces as the basic indenting unit. The default is 4. .i0 .sh FILES .dt name.p input file .br name.i include file(s) .br pmon.out profile data .br core profile data source with \fB\-c\fR .br /usr/lib/how_pxp information on basic usage .br .ne 8 .sh "SEE ALSO" UNIX Pascal User's Manual .br pi (VI), px (VI) .ne 5 .sh DIAGNOSTICS For a basic explanation do .s3 .dt .bd pxp .s3 Error diagnostics include ``No profile data in file'' with the .bd c option if the .bd z option was not enabled to .it pi; ``Not a Pascal system core file'' if the core is not from a .it px execution; ``Program and count data do not correspond'' if the program was changed after compilation, before profiling; or if the wrong program is specified. .i0 .sh AUTHOR William N. Joy .sh BUGS Does not place multiple statements per line. pxref.6Ùø¤�.th PXREF VI 9/10/77 .sh NAME pxref \- Pascal cross-reference program .sh SYNOPSIS .bd pxref [ \fB\-\fR ] name .sh DESCRIPTION .it Pxref makes a line numbered listing and a cross-reference of identifier usage for the program in .it name. The optional `\fB\-\fP' argument suppresses the listing. The keywords .bd goto and .bd label are treated as identifiers for the purpose of the cross-reference. .bd Include directives are not processed, but cause the placement of an entry indexed by `#include' in the cross-reference. .sh "SEE ALSO" UNIX Pascal User's Manual .sh AUTHOR Niklaus Wirth .sh BUGS Identifiers are trimmed to 10 characters. .repeat.6Ùø¤�š.th REPEAT VI 8/28/77 .sh NAME repeat \- repeat a command a specified number of times .sh SYNOPSIS .bd repeat number command [ arg ... ] .sh DESCRIPTION .it Repeat will execute a command a specified number of times. Examples would be: .dt .s3 repeat 25 ps .br repeat 3 who .sh SEE\ ALSO if (I), goto (I), sh (I) .sh AUTHOR Jeff Schriebman .sh BUGS .it Command cannot be the name of an executable shell file. reset.6Ùø¤��.th RESET VI 8/24/77 .sh NAME reset \- reset the teletype bits to a sensible state .sh SYNOPSIS .bd reset .sh DESCRIPTION .it Reset sets the teletype bits to ``soft-copy terminal standard mode'' with the erase character set to control-h and the kill character to `@'. .it Reset is most useful when you crap out in raw mode. .sh SEE\ ALSO stty (I), stty(II), gtty(II) .sh AUTHOR Kurt Shoens .sh BUGS hrmtree.6Ù!ø¤�N.th RMTREE VI 8/23/77 .sh NAME rmtree \- remove a subtree of the file system .sh SYNOPSIS .bd rmtree [ .bd \-acfsv ] directory ... .sh DESCRIPTION .it Rmtree can be used to quicky remove subtrees of the file system. As this is a potentially disastrous action, .it rmtree will ask for confirmation of each removal, unless the standard input is not a teletype. .s3 Flags interpreted by .it rmtree include: .lp +7 6 .s3 \fB\-a\fP Remove the final directory. .s3 .lp +7 6 \fB\-c\fP \fIChmod\fP encountered directories so as to be able to remove files in them if they are not writeable. .s3 .lp +7 6 \fB\-f\fP Don't ask for confirmation. .s3 .lp +7 6 \fB\-s\fP Ask for confirmation. .s3 .lp +7 6 \fB\-v\fP Do not remove the directory itself, only its contents and the contents of its contents, etc. Also don't unlink quota files. .i0 .s3 Options and arguments may be mixed in any order. The default options are .bd \-a and .bd \-s. .sh "SEE ALSO" find (I), rm (I), cptree (VI), lntree (VI) .sh AUTHOR Kurt Shoens .sh BUGS This program is almost too dangerous to exist. It should be used with great caution. rout.6Ùø¤�S.th ROUT VI 11/13/77 .sh NAME rout \*- rout the garbage out of /tmp .sh SYNOPSIS .bd rout .sh DESCRIPTION .it Rout removes files which are more than three hours old from the directory /tmp. .sh SEE\ ALSO find (I) .sh AUTHOR William Joy .sh BUGS If you've been in the editor for three hours, your editor temporary may look three hours old. nsess.6Ù%ø¤�‹.th SESS VI 8/24/77 .sh NAME sess \- login session length summary .sh SYNOPSIS .bd sess [ tty ] [ user ] .sh DESCRIPTION .it Sess will show how long the specified .it tty has been in use for the current session; the default is your teletype. Instead of a teletype, you may also give a .it user name. If the teletype (user) is not currently logged in, .it sess will indicate the length of time since the last logout of the teletype (user). .s3 If .it sess is interrupted before it completes it indicates how far back in time it had looked. .sh FILES .dt /usr/adm/wtmp login history data base .sh SEE\ ALSO last (VI) .sh AUTHOR Howard Katseff .sh BUGS sethome.6Ý×1¤�å.th SETHOME VI 9/24/77 .sh NAME sethome \- show (or specify alternate) home directory .sh SYNOPSIS .bd sethome [ homedir ] .sh DESCRIPTION The system maintains a data base giving the .it home directory and terminal type for each user. This information is initialized at login \- the home directory defaults to the user's login directory as given in the password file, and the terminal type is determined from the information in the .it ttytype data base. .s3 If no .it homedir is given, the current home directory is typed, otherwise the home directory entry is changed to the specified home directory. .sh FILES .dt /etc/htmp data base .br /etc/utmp who file .sh "SEE ALSO" htmp (V), ttytype (VI), htmp (VI) .sh AUTHOR William Joy .sh BUGS ush.6Ù ø¤‘ W.th SH VI 9/15/77 .if t .tr *\(** .sh NAME sh \- a shell (command interpreter) .sh SYNOPSIS .bd sh [ .bd \-V ] [ .bd \-v ] [ .bd \-t ] [ .bd \-c ] [ .bd \-i ] [ name [ arg ... ] ] .sh DESCRIPTION .it Sh is a command interpreter. It arranges and interprets command lines and the contents of command files. It is a modification of the standard shell .it sh (I), and almost completely upward compatible therewith. The intent, in working on a new shell, is to provide an environment which is more easily tailored to the wishes of each individual user. Most new features of this shell, especially the .it alias feature, are toward this end. Later versions of this shell may include improvements to the command language of the shell and allow more easy repetition of commands. The intent here is to make the command language more resemble a high-level language \- C being the natural choice for \s-2UNIX\s0, and to provide some means of repeating modified commands without retyping, perhaps akin to the \s-2INTERLISP\s0 .it redo feature. The eventual goal is a C\-shell, .it csh (or ``seashell'' if you prefer.) .s3 .bd "Notes:" this shell is currently available as .it "/usr/pascal/sh" on the Cory and Evans \s-2UNIX\s0 systems at UC Berkeley. We discuss the major features of the shell beginning with the objects of the shell world, then the lexical structure of the shell input, the syntactic structure, details on command execution, pre-defined variables, start-up processing, options, and finally a list of the built-in commands with a simple description of each. This documentation is neither fully polished nor devoid of forward references. .it Sh was a ``working'' version of the new .it csh which became useful when the completion of .it csh was delayed. It is hoped that this documentation will serve as a reference for .it sh users who have lived, to this point, by word-of-mouth information. .s3 .bd "Objects." The major .it objects of the shell world are the .it variables and the .it "argument list" which consists of specially named and initialized variables. The variables in the argument list have numeric names, e.g. `1' and `2'. The other variables have alphabetic names, composed of upper and lower case letters. Variable names may be up to 20 characters long. There is a distinction between a variable existing and not existing, akin to a variable being on the .it "a-list" in \s-2LISP\s0. Initially, no variables exist; in shell terminology, no variables are .it set. Variables have string values only; some numeric operations are defined on variables, but the representation of variables is always as a string. Some variables have special meaning to the shell; thus .it pid is the process id of the shell, set to a string with this value when the shell is created. These variables have, however, no special status. They may be manipulated as any other variables are, with the caveat being that these manipulations may directly affect the behavior of the shell. One other point to be noted is that some of the built-in variables are essentially `toggles'; that is, the shell cares only if they are set or not, not what their value is. The standard way to set such a variable is to set it to be the null string. .s3 .bd "Lexical structure." The primary lexical structuring of the input to the shell is the line. A new-line character is thus normally of syntactic significance, although it may be escaped with a `\e' as described below. The most fundamental delimiters for the shell are the blank and the tab character, generated by a control-i. There are also a number of characters which have special significance as they define tokens which are part of the command language of the shell: `>' and `<' which denote input and output redirection, `(' and `)' which are used to delimit command lists, `;' which is used to separate commands for sequential execution, and `|' and `^' which are completely equivalent ways of specifying a .it pipe in a .it pipeline. The ways in which these are used in construction of shell commands will be discussed in the next section. .s3 At the syntactic level, there is also a .it "parameter substitution" facility, which can be used to substitute variables. Parameter substitution is introduced by the character `$' and has several different forms, each of which yields zero or more characters into the input stream replacing it. We describe each such construct in turn. .s3 .lp +22 20 $number Substitutes the number'th argument in the currently positioned argument list. The accessing of the argument will be described later. .s3 .lp +22 20 $* Substitutes all arguments in the current argument list, starting at the first `$1'; successive arguments are separated by blanks. .s3 .lp +22 20 $name .lp +22 20 ${name} Substitutes the value of the shell variable .it name. The second form can be used when this construct is immediately followed by a letter. .s3 .lp +22 20 $$ Equivalent to `${pid}'. .s3 .lp +22 20 ${name?str1:str2} Substitutes .it str1 if name is set else substitutes .it str2. Currently only quoting with `\e' works correctly within .it str1 and .it str2. In particular, `$' constructs and quoting via `\'' and `"' within these strings is unreliable as it is badly implemented. .s3 .lp +22 20 ${name:default} Substitutes the value of .it name if this variable is set, else substitutes the string .it default. .s3 .lp +22 20 ${name?str} Substitutes the string .it str if the variable .it name is set, else substitutes nothing. .i0 .s3 Whenever a paramter is being substituted a slightly different effect occurs if the `$' is immediately followed by a `.'. In this case, any substitution from parameters trims suffices from the parameter. Thus if `$0' gives `a.out', then `$.0' will give `a', and if `$prog' would give `foo.p' then `$.prog' would give `foo'. Also if the `$' character is not followed by any character described above then that character is returned. .s3 It is possible to .it quote special characters to prevent their special meaning. Before describing the various ways to do this, we should note that the characters `[', `*' and `?' have special meaning in command contexts where they cause .it "filename expansion," a kind of pattern matching of an lexical token against file names. These characters also often need to be quoted. The most simple kind of quoting is that with the character `\e', thus `\e>' is the same as the character `>', but will not be recognized as a syntactic metacharacter for output file redirection. There is a way to quote longer strings using either the delimiter `\'' or `"'. Thus the construct: .dt .s3 echo "*** NOTES ***" .s3 could be used to prevent the spaces and `*'s from having their special meaning. It should be noted that no quoting, expansion or substitution of any kind occurs within `\''s or `"'s, and that the quoting must terminate before an end of line. It is also possible in the shell to escape the newline character with a `\e', this causing the newline to be effectively replaced by a blank. .s3 .bd "Syntactic structure." The syntactic structure of the input to .it sh is essentially the same as that to .it sh (I). The fundamental component of a command is a .it pipeline, which consists of one or more commands separated by the character `|' or `^', with the separator optionally followed by the character `*', i.e. `|*' or `^*'. Each command in the pipeline has its standard output connected to the standard input of the next. The forms with the character `*' cause the diagnostic output to go through the pipe with the standard output. .s3 More than one pipeline may be given on a single line if they are separated by the sequential execution separator `;'. The separator `&' termiates such a list of commands and causes the entire list to be executed without waiting for termination. The variable .it pcs is set to the process id of the shell co-ordinating the execution of the command list, and this number is typed on the shells diagnostic output. When the command terminates, .it pcs is .it unset. Note that the command .s3 date ; echo boo & .s3 is thus equivalent to .s3 (date ; echo boo) & .s3 rather than like .s3 date ; (echo boo&) .s3 as it is in .it sh (I). .s3 Finally, the basic commands are composed of a command name and a list of (zero or more) arguments. There may also be input or output redirection specifiers of the form `<', `>' or `>>', possibly followed by `*', and then a parameter specifying a file name. The `*' here, as in the pipe specifiers above, specifies that diagnostic output is to be redirected with standard output (and is thus not allowed with `<'.) The form `< name' causes the standard input to be taken from the file .it name, which is first subjected to .it "filename expansion" as described below if it contains any of the characters `*', `?' or `['. The form `> name' causes the standard output to be put in the file .it name which is created, or truncated to length zero before execution begins if it exists. The form `>> name' is like `> name' but output is put at the end of .it name if it already exists. It should be noted that when a pipeline is executed in the background, the first element of the pipeline will take input from .it /dev/null unless the input is otherwise redirected. .s3 A final syntactic structuring is provided by parentheses `(' and `)'. A command may be given as a ny of the forms given above thus enclosed and participate in a pipeline. Thus, .s3 (date; time; echo "***") | lpr .s3 executes the commands .it date, .it time, and echoes the character string `***' to the line printer daemon .it lpr. .s3 .bd "Command execution." When a command is to be executed, the shell first examines the command name to see if it is a name of a built-in command. If it is not, then the shell will see if the name is actually an .it alias of another name. If it is, then the process starts over again, wiht the command name replaced by its .it alias. This process of alternately checking for built-in commands and for aliases will continue up to 100 times to allow multiple aliases. If this process terminates with the recognition of a built-in command then that command will be performed. If not, then the shell will attempt to find the resulting command in the directories in its search path as defined by the value of the variable .it path. This variable consists of a sequence of directory names separated by the character `\-'. The default value for .it path is `\-/bin\-/usr/bin' where here the initial `\-' signals that the first directory to be searched is `.', which is the same as the null string. After this, we are to search the directories `/bin' and `/usr/bin' for commands. If the variable .it path is not set, then the value `\-' is assumed, causing only the current directory to be searched. If the given command name includes the character `/', then it will be executed if and only if the path includes a null directory specification, and never from other prefixes in the path. Thus even if there is a `/bin/bin/date', `bin/date' will not find it with the default path. If the command name contains `*', '?' or `[', then it will undergo .it "filename expansion" as described below and will be interpreted only relative to the current directory or as a full path name. .s3 There is a general process of .it "filename expansion" applied to the arguments to the command. In this process the characters `*', `?' and `[' have special meaning. The character `*' will match any sequence of characters in a file name, the character `?' any single character, and the construct `[chars]' will match any of the characters in .it chars with the construct `x\-y' within chars standing for all characters between and including `x' and `y'. This process applies to arbitrary path names, and is subject to two restrictions. First, each `/' in such a path name must appear explicitly in the pattern \- `/'s are never matched by `*', `/' or a `[' construct. Similarly, if the first character of a file name is the character `.', it must be matched explicitly with a character `.' in the pattern. If, during command argument expansion, some arguments specify filename expansion, but none of these arguments matches any file name, then a diagnostic ``No match'' will be given and the command will be suppressed. .s3 A special variant of this filename substitution occurs in input redirect filenames, command names, and arguments to the built-in command .it chdir. Here the expansion must result in exactly one filename or a diagnostic will be printed indicating that the given pattern is ``Ambiguous''. .s3 If the shell finds a file which is executable but is not recognized by the system as an object file, then it will be examined to see if it is appropriate to be used as a shell script or by one of the interpreters the shell knows about. If the first word of the file contains the magic number of one of the interpreters, e.g. 0404 octal for the Pascal interpreter .it px (VI), then this interpreter will be forked with the arguments shifted to the right, the name of the file becoming the first argument. If the first word of the file does not indicate any of the interpreters, yet contains \s-2ASCII\s0 characters then a shell will be invoked as an interpreter. The path name for this shell may be specified using the .it shell variable. .s3 When a command terminates, if it terminates abnormally, a message will be printed indicating the cause of abnormal termination. If the command was not the one being waited for, i.e. if a background process started with `&' terminates abnormally, its process number will also be given. Finally, a time statistics line may be printed at command termination. This is described with the .it time variable below. .s3 .bd "Predefined and special variables." The following variables have special meaning to the shell and affect its behavior or are set as side effects of various commands. .s3 .lp +15 12 home Set to the users home directory as given in the .it htmp data base. Usually the directory where the user logs in, this is the default destination for a .it chdir command. .s3 .lp +15 12 nargs Maintained as the number of arguments in the current argument list. .s3 .lp +15 12 nice If given a numeric value, each executed command will be .it niced to this priority immediately before execution. .s3 .lp +15 12 path Specifies the search path for command executions as described above. .s3 .lp +15 12 pcs The process number of the last command started with `&'. Unset when this command completes. .s3 .lp +15 12 pid The process number of the shell; used in `$$'. .s3 .lp +15 12 prompt The prompt which preceded each command line interactively. If the shell is not interactive, then this variable is not set. .s3 .lp +15 12 shell The shell which is the default interpreter for executable files not recognized by the system. Defaults to `/usr/pascal/sh', the current home of .it sh. .s3 .lp +15 12 time When set, causes a command statistic line to be given following each executed command. This line includes the number of user cpu seconds, system cpu seconds, real time in hours minutes and seconds, and the machine utilization over this period expressed as a percentage. If given a numeric value, statistics will be given only for commands requiring more than this many total cpu seconds. .i0 .s3 .bd "Start up processing." When a new shell is created it first sets the .it home variable from the .it htmp database, initializes the .it prompt, .it shell, and .it pid variables and sets up any default aliases and interpreters. (Current default \fIalias\fR is ``time'' for ``tyme'', interpreter is ``/bin/px'' on value 0404.) The shell then process the command line arguments as follows: .s3 .lp +7 5 \fB\-V\fR Causes the shell to be .it verbose like \fB\-v\fR, but even when processing the startup files, e.g. .it \&.profile. .s3 .lp +7 5 \fB\-v\fR Causes the shell to be verbose; command input is echoed to the output with indication of the arguments which were substituted for parameters with the `$' mechanisms; such substitutions are bracketed with `[' and `]' for visibility. .s3 .lp +7 5 \fB\-c\fR Causes the shell to take as input the contents of the immediately following string. .s3 .lp +7 5 \fB\-t\fR Causes the shell to read exactly one line of input from its standard input. .s3 .lp +7 5 \fB\-i\fR Causes the shell to be interactive: the remaining arguments are \fInot\fR interpreted as a file to be executed and parameters, and the shell ignores interrupts and quits and prompts for input. Shells which have standard input and output teletypes also are interactive in the sense that they ignore interrupts and quits. .i0 .s3 If either the .bd \-c or .bd \-t flag is given, then the shell does not prompt, i.e. .it prompt is unset. If none of the \fB\-c\fR, \fB\-i\fR, or \fB\-t\fR flags are given, then the first argument argument is taken to be the name of a file containing commands to be executed. This argument becomes available as the 0'th parameter during interpretation, i.e. `$0'. Its value is immune to .it shift and .it rewind operations. The remaining arguments become the positional parameters, `$1', `$2', etc. The number of such positional parameters will be given by the variable .it nargs. These parameters may be manipulated by .it rewind and .it shift and given new values by .it set. .s3 After setting up all of this, the shell will read commands from the file .it \&.profile in the user's home directory. This file is typically used to set aliases and variables that the user wishes and also to change the value of .it path. If the shell is a login shell, defined as having been invoked with a name which started with `\-', the shell will then read commands from the file `.login' in the same directory. Shells normally terminate when they receive an end-of-file from their standard input; login shells will print ``logout'' when this occurs and execute the commands from the file `.logout' in the home directory. The home directory for the purpose of finding `.logout' is independent of the current value of the variable .it home. .s3 .bd "Built-in commands." The following commands are built into the shell. Input and output redirections have no effect on these commands, and are not allowed. Note also that since the command .it if (I) is not done within the shell, it cannot, in general, be used to qualify a built-in command. In general, therefore, the shell control structure must be used like \s-2FORTRAN\-II\s0 with only .it goto (I) commands on .it if (I) commands. .s3 .lp +12 10 abort Terminate abnormally. Useful only for shell debugging or fits of frenzy. .s3 .lp +12 10 alias Specify an alias for a command. When given two arguments the first argument is given alias the second argument. When given one argument the alias for that argument will be given. When given no arguments all aliases are given. .s3 .lp +12 10 chdir Change directory. If no argument is given change to the directory in the variable .it home. The argument may contain the metacharacters `*', `?' and `[' which are interpreted as for executed commands. This is the only built-in function which takes such arguments. .s3 .lp +12 10 interp Specify interpreters. Same as .it alias except that the first argument is the value of the first word of a file for this interpreter, i.e. its magic number, and the second is the name of the interpreter. .s3 .lp +12 10 logout Same as a control-d. .s3 .lp +12 10 noquit Causes the shell to ignore \s-2QUIT\s0 signals. This is the default. .s3 .lp +12 10 quit Causes the shell to not ignore \s-2QUIT\s0 signals for the purposes of debugging. .s3 .lp +12 10 rewind Causes the shell to reset the argument list to the state at entry, reversing the effect of all .it shifts. .s3 .lp +12 10 set Give one or more variables or parameters new values. With no arguments types the names and values of all variables. The simples kind of set is to set a variable `on', i.e. to the null string. To do this you can just mention its name, i.e. .s3 set time .s3 It is also possible to give variables string values by specifying the value after an `=', thus .s3 set time= prompt="+ " .s3 sets .it time in the same was as the previous example, and also changes the .it prompt. Finally, it is possible to do arithmetic in the .it set command. Operators available are `+=', `\-=', `*=', `/=', `|=', `&=', `%=', `=', `++' and `\-\-'. Thus .s3 set i++ j*=$i .s3 increments the value of variable .it i and then multiples the value of the variable .it j by the value of the variable .it i. Note that the operators `|' and `&' must be quoted, i.e.: .s3 set i\e|=1 .s3 to make the value of .it i be odd. One final operator is `@' which is equivalent to an .it unset. All of these operators except `@' may be applied to parameters, e.g.: .s3 set 0=a.out 1=$.1 .s3 .lp +12 10 shift Causes the argument list to be right shifted, argument 2 becoming argument 1, etc. May be given a count, possibly negative, for multiple right or left shifts, i.e. `shift \-1' for a left shift. .s3 .lp +12 10 tyme An internal version of \fItime\fR corresponding to ``set time'' for the course of the command. Does not work correctly for `&' processes. Note that \fItime\fR is aliased to .it tyme by default. .s3 .lp +12 10 unalias Given a parameter, removes that alias from the list of aliases. .s3 .lp +12 10 uninterp Like unalias for interpreters, takes the magic number and removes the corresponding entry. .s3 .lp +12 10 unset Removes the specified variables. .s3 .lp +12 10 wait Wait for all processes to terminate, or for the specified process to terminate. .it Wait may be aborted with an \s-2INTERRUPT\s0. .s3 .lp +12 10 : Label marker for .it goto targets. .i0 .sh FILES .dt /etc/htmp home directory data base .br /etc/passwd home directory data when not in \fIhtmp\fR .br \&.login start-up for login shells .br \&.logout prologue for login shells .br \&.profile beginning script for all shells .br /dev/null source of end-of-file .sh SEE\ ALSO sh (I), chdir (I), chdir (II), if (I), goto (I) .sh AUTHOR William N. Joy .sh BUGS As this is an experimental shell, there are probably several. Mostly, the design has a lot of rough edges and the new features don't always ``like'' each other. Some of them can't be successfully mixed. size.6Ù'ø¤�T.th SIZE VI 9/24/77 .sh NAME size \- size of an object file .sh SYNOPSIS .bd size [ object ... ] .sh DESCRIPTION .it Size prints the (decimal) number of bytes required by the text, data, and bss portions, and their sum in octal and decimal, of each object-file argument. If no file is specified, .it a.out is used. .sh FILES a.out .sh BUGS soelim.6Ù'ø¤�Æ.th SOELIM VI 8/24/77 .sh NAME soelim \- eliminate source directives from a \fInroff\fR or \fItroff\fR stream .sh SYNOPSIS .bd soelim [ file ... ] .sh DESCRIPTION .it Soelim reads the specified files or the standard input and performs the textual inclusion implied by the .it nroff directives of the form .s3 .dt .so somefile .s3 when they appear at the beginning of input lines. This is useful since programs such as .it tbl do not normally do this; it allows the placement of individual tables in separate files to be run as a part of a large document. .s3 Note that inclusion can be suppressed by using `\'' instead of `\.', i.e. .s3 .dt \'so /usr/lib/tmac.s .s3 A sample usage of .it soelim would be .s3 soelim exum?.n | tbl | nroff -ms | collpr .sh SEE\ ALSO colcrt (VI), collpr (VI), cr3 (VI) .sh AUTHOR William Joy .sh BUGS The format of the source commands must involve no strangeness \- exactly one blank must precede and no blanks follow the file name. squash.6Ù'ø¤�C.th SQUASH VI 8/24/77 .sh NAME squash \- reduce object file size .sh SYNOPSIS .bd squash file ... .sh DESCRIPTION .it Squash invokes the loader to reduce the size of the argument files. It is equivalent to the shell script: .s3 .dt .nf : loop if $1x = x exit ld \-S \-X \-r \-o x.out $1 mv x.out $1 goto loop .fi .s3 but is faster and checks for errors. The resulting objects will load faster. .it Squash is especially appropriate for routines which are to be in a library. .sh SEE\ ALSO ld (I) .sh AUTHOR William Joy .sh BUGS Squash will break links to the squashed files. hssp.6Ù'ø¤�&.th SSP VI 8/25/77 .sh NAME ssp \- limit to single spacing .sh SYNOPSIS .bd ssp [ .bd \- ] [ file ... ] .sh DESCRIPTION .it Ssp compresses consecutive blank lines to at most one blank line to produce more compact output for a \s-2CRT\s0 or to save paper on the printer. If the optional .bd \- is given .it ssp is even more zealous, getting rid of all empty lines. .s3 .it Ssp is useful for compressing text with blank lines onto a \s-2CRT\s0, and is used by .it man (VI). .sh SEE\ ALSO colcrt (VI), cr3 (VI), man (VI) .sh AUTHOR William Joy .sh BUGS strip.6Ù'ø¤�—.th STRIP VI 8/24/77 .sh NAME strip \- strip object file .sh SYNOPSIS .bd strip [ .bd \-t ] [ name ... ] .sh DESCRIPTION .it Strip removes the symbol table and relocation bits ordinarily attached to the output of the assembler and loader. This is useful to save space after a program has been debugged. .s3 The effect of .it strip is the the same as use of the .bd \*-s option of .it ld. .s3 The .bd \-t option of .it strip can be used to remove text and data segments leaving only the symbol table. This can be used when an executable program is not needed, i.e. for the system namelist. .sh FILES /tmp/stm? temporary file .sh "SEE ALSO" ld (I), as (I) .sh BUGS asyswatch.6Ù'ø¤�.th SYSWATCH VI 8/24/77 .sh NAME syswatch \- record logins/logouts on system .sh SYNOPSIS .bd syswatch .sh DESCRIPION .it Syswatch makes a transcript of all logins and logouts on the system by watching the .it utmp ``who'' file. When you log out, .it syswatch goes away automatically. It is not necessary to start .it syswatch with an `&' to the shell; .it syswatch goes into the ``background'' automatically, and reports its process number. .sh FILES /etc/utmp who file .sh SEE\ ALSO watch (VI) .sh AUTHOR Howard Katseff .sh BUGS 4taaÙ(ø¤�E.rn bd Bd .Bd S B 3 .nr in .5i .de i0 .in \n(inu .. .de lp .tc  .tr  .i0 .ta \\$2/2u .in \\$1/2u .ti -\\$2/2u .. .de s1 .sp .10i .ne 2 .. .de s2 .sp .07i .. .de s3 .sp .07i .ne 2 .. .de fo 'ft R 'ps 10 'sp .50i 'tl ''- % -'' 'ft 'ps 'bp .. .de th .ch x1 .bp 1 .de x1 .po 0 .lt 7.6i .tl '\(rn''\(rn' .lt .po 'ft R 'ps 10 'sp .50i 'tl '\\$1\|(\|\\$2\|)'\\$3'\\$1\|(\|\\$2\|)' 'ft 'ps 'sp .50i \\.. .wh -1i fo .x1 .wh 0 x1 .ft R .ps 10 .vs 11p .in \n(inu .. .wh 0 x1 .de sh .s1 .ft B .ps 8 .ti 0 \\$1 .ft .ps .br .. .de it 'ft I 'li \\$1 'ft .. .de bd 'ft B \\$1 'ft .. .de bn 'ft B \\$1 \\fR\\ .. .ds b \(*b .ds _ \(ul .ds - \(mi .ds a \(aa .ds v \(bv .ds p \(*p .ds r \(rg .ds g \(ga .ds | \| .ds X \(mu .ds u \(*m .ds G \(*G .ds > \(-> .ds s \\s-2UNIX\\s+2 .ds S U\\s-2NIX\\s+2 .de dt .ta .5i 1i 1.5i 2i 2.5i 3i 3.5i 4i 4.5i 6i .. .lg toc.6Ù(ø¤�@.th TOC VI 8/24/77 .sh NAME toc \- transform data to card-image format .sh SYNOPSIS .bd toc [ file ] .sh DESCRIPTION .it Toc converts the specified file or its standard input into 80 column card image format. The character used are those common to \s-2BCD\s0, \s-2EBCDIC\s0, and \s-2ASCII\s0 so that the result can be transmitted over most media, especially the RCS link which is unfriendly to many characters. The resulting card images are written on the standard output and can be recovered by using .it froc (VI). .sh SEE\ ALSO froc (VI) .sh AUTHOR Howard Katseff .sh BUGS transcribe.6Ù(ø¤�Ÿ.th TRANSCRIBE VI 8/24/77 .sh NAME transcribe \- copy out a file as it grows .sh SYNOPSIS .bd transcribe [ .bd \- ] [ \-interval ] [ +limit ] file .sh DESCRIPTION .it Transcribe will copy out the contents of a file which is growing as it grows. It alternately copies out the new material in the file and sleeps for .it interval seconds, the default .it interval is 15 seconds. .it Limit can be given to limit the total running time of the .it transcribe, the default is effectively infinite. .s3 .it Transcribe normally copies out all the text currently in the file before beginning to watch for new text. The option .bd \- alone causes only new material to be given. .s3 .it Transcribe is particularly useful for alternately watching the output file being written by a long shell script or a long-running program and doing real work. .sh AUTHOR William Joy .sh BUGS Can't handle files which are larger than 32,000 characters. ttset.6Ý"/¤�÷.th TSET VI 11/18/77 .sh NAME tset \- set terminal modes .sh SYNOPSIS .bd tset [ .bd \-e ] [ .bd \-k ] [ .bd \-f\fItype\fR\fR ] [ .bd \-d\fItype\fR\fR ] [ .bd \-h ] [ .bd \-u ] [ .bd \-t\fIx\fR\fR ] .sh DESCRIPTION .it Tset causes terminal dependent processing such as setting erase and kill characters, setting or resetting delays, and the like. It is driven by the .it /etc/ttytype and .it /etc/ttycap files. .s3 The type of terminal is specified by the .bd \-f flag. The type may be any type given in .it /etc/ttycap. If .it type is not specified, it defaults to a \s-2DTC\s0 terminal. If .bd \-f is not specified, the terminal type is read from .it /etc/htmp (the home directory and terminal type database) if .bd \-h is specified, otherwise it is looked up in .it /etc/ttytype based on the terminal id. The terminal id is specified by the .bd \-t flag or from a .it ttyn (III) call on the standard output. .s3 If the type turns out to be a dialup and the .bd \-d flag is specified, the terminal type is taken to be the named type. .s3 On terminals that can backspace but not overstrike (such as a \s-2CRT\s0) the erase character is changed to a \s-2CTRL\s0(H) (backspace). The .bd \-e flag sets the erase character to be the named character .it c on all terminals, so to override this option one can say \fB\-e\fR#. The default for .it c is \s-2CTRL\s0(H). The .bd \-k option works similarly, with .it c defaulting to \s-2CTRL\s0(X). No kill processing is done if .bd \-k is not specified. .s3 The terminal type specified in .it htmp is updated if .bd \-u is specified or if the .bd \-d flag took effect. .s3 .it Tset is most useful when included in the .bd \&.start_up file executed automatically at login, with .bd \-d used to specify the terminal type you most frequently dial in on. .sh FILES .dt /etc/htmp Terminal type database .br /etc/ttytype Terminal id to type map database .br /etc/ttycap Terminal capability database .sh SEE\ ALSO sethome (VI), ttytype (VI), ttytype (V), ttycap (V) .sh AUTHOR Eric P. Allman .sh BUGS ittytype.6Ý×1¤�[.th TTYTYPE VI 11/15/77 .sh NAME ttytype \- indicate (or inquire about) terminal type in system data base .sh SYNOPSIS .bd ttytype [ .bd \-n ] [ [ .bd \-d ] type ] .sh DESCRIPTION The system maintains a data base giving the type of each terminal and the home directory of the user logged in on that terminal. This information is initialized at login \- the terminal type from the .it ttytype data base, and the home directory from the user's entry in the password file. .it Ttytype can be used to interrogate and change the teletype type portion of this information. The most common use for .it ttytype is when using a dial-up port. .it Ttytype is necessary in this case because the system cannot know the type of terminal being used. .s3 The options of .it ttytype are: .s3 .lp +6 5 \fB\-d\fR Perform the action implied by the rest of the command only if the terminal in use is a dial-up port. .s3 .lp +6 5 \fB\-n\fR Print the type codes for terminals on this system. .s3 .i0 If .it ttytype is given no arguments, it prints the type recorded in the data base for this terminal. If given a .it type the type recorded in the data base will be changed to that type. Thus to tell the system that you dialed up on an \s-2LSI ADM-3A\s0 you could use the command .s3 .dt .bd " ttytype adm3a" .s3 If you frequently dial-up on a \s-2DECWRITER\-II\s0 you could put the command .s3 .dt .bd " ttytype \-d decwriter" .s3 in your .bd \&.start_up file. .s3 The more common types and abbreviations at UC Berkeley are: .s3 .ta .75i 1.5i 2.25i 3i 3.75i .nf adm3a 3a adm3 3 dw2 decwriter diablo dtc dialup gt40 40 gt42 42 hazeltine 2000 hp2645 2645 ti700 ti733 7 tty tty33 tty35 teletype unknown u .fi .s3 .sh FILES /etc/htmp data base .br /etc/utmp who file .br /etc/ttycap for \fB\-n\fR option .sh "SEE ALSO" sethome (VI), htmp (V), tset (VI), htmp (VII) .sh AUTHOR William Joy .sh BUGS ulpr.6Ù(ø¤�h.th ULPR VI 8/24/77 .sh NAME ulpr \- fix underlining to go quickly on the line printer .sh SYNOPSIS .bd ulpr .sh DESCRIPTION .it Ulpr is a filter which takes the output of the new version of .it nroff and rearranges the underlining so that the output will print at a reasonable speed with the current line printer daemon, which is unhappy with the way .it nroff underlines. .s3 A typical usage of .it ulpr would be .s3 .dt nroff \-ms paper.n | ulpr .sh SEE\ ALSO collpr (VI) .sh AUTHOR William Joy .sh BUGS General overstriking is lost; only two characters of overstrike or one character with an underline survive. watch.6Ù)ø¤�¹.th WATCH VI 8/24/77 .sh NAME watch \- watch for logins/logouts of specified users .sh SYNOPSIS .bd watch [ name ... ] .sh DESCRIPTION .it Watch watches for the specified users to log in or out and tells you when they do. If no arguments are specified, .it watch forks its companion routine .it syswatch to watch logins and logouts system-wide. .sh FILES .dt /etc/utmp who file .sh SEE\ ALSO syswatch (VI) .sh AUTHOR Howard Katseff .sh BUGS nwc.6Ù)ø¤�d.th WC VI 8/25/77 .sh NAME wc \*- word count .sh SYNOPSIS .bd wc [ .bd \- ] [ name ... ] .sh DESCRIPTION .it Wc counts lines, words, and characters in the named files, or in the standard input if no name appears. A word is a maximal string of printing characters delimited by spaces, tabs or newlines. All other characters are simply ignored. .s3 The optional .bd \- suppresses all the garbage for a word count only. .s3 If the file .it sentence contains .s3 .dt Now is the time for all good men to come .br to the aid of their party. .s3 on two lines then .it "wc sentence" would give .s3 2 16 68 sentence .s3 indicating that there are 2 lines, 16 words and 68 characters in sentence. Note that the counts are for successively smaller pieces of the file, although occasionally a file will have more lines than words. .sh SEE\ ALSO grep (I) .sh BUGS where.6Ù)ø¤�L.th WHERE VI 8/5/77 .sh NAME where \- what terminal are specified users on .sh SYNOPSIS .bd where user ... .sh DESCRIPTION .it Where tells you where the specified users are. Thus .dt .s3 where cohen .s3 where are root pascal ken .s3 where is chuck .sh SEE\ ALSO last (VI), sess (VI), whoison (VI) .sh AUTHOR Ellis Cohen .sh BUGS whoison.6Ý!/¤�G .th WHOISON VI 8/24/77 .sh NAME whoison \- give information about who is on the system .sh SYNOPSIS .bd whoison [ .bd \- ] [ .bd \-pufnds ] [ name ... ] [ terminal ... ] [ location ] .sh DESCRIPTION .it Whoison is a program which summarizes the current users of a large system quickly and sensibly. Options are: .s3 .dt .st \fB\-p\fR list people .br \fB\-u\fR break down used teletypes .br \fB\-f\fR break down free teletypes .br \fB\-n\fR break down unavailable teletypes .br \fB\-d\fR give ``classwise'' distribution of users .br \fB\-s\fR summarize used and free .s3 The default is .bd \-pdfs. The option .bd \- only turns all information on. .s3 .it Whoison uses a data file .it winfo to break the teletypes on the system into classes, to give patterns, ala .it glob (VIII), for grouping users into .it classes, and to map users who are .it su'd to the character names of super-users. .s3 A typical .it winfo file would be .nf evans:ABCDEFGHIJKLQRST cory:abcdefghijklmnopvwyz+-, phone:01234 11/10:679 private:58hq.=_%MNOPUVWX#! guest:guest*\||\|lhs* cc:cc\-* root:0:0 jeff:11:10 chuck:25:10 bill:37:10 ken:12:10 .fi .i0 .s3 The first group of lines, up to a null line, gives the distribution of the teletypes, given by the name of the class followed by a `:' and then the teletypes in the group. The second group gives the .it class names, followed by a `:' and then patterns to match the class names separated by `|' characters. Here any user whose login name begins with `guest' or `lhs' is considered to be a guest. Finally, the rest of the file is a miniature .it /etc/passwd to speed up user name searches. .s3 If non-flag arguments are given on the command line, these are used instead of the patterns here, and only users specified by these arguments are given. The effect is that of specifying the option .bd \-p for these people only, or if the pattern is a single character teletype name, for the person on that terminal only. The pattern may also be a location name, i.e. `evans' in the example above. Thus `whoison evans' will give the names of the users on the `evans' terminals. .s3 A typical output for the Cory System with this data base would be .s3 .nf broderse on c, conn on I and J, csgsa on L, devel on h, englar on 1, guest on R, jeff on 8, joyce on C and D, kaarto on o (as root), mosher on T, root on 5 (as pascal), so on - 15 used (1 guest), 45 free (8 evans, 19 cory, 4 phone, 3 11/10, 11 private) .fi .i0 .sh FILES .dt /etc/winfo data base .br /etc/utmp who data base .br /etc/ttys tty on/off information .sh SEE\ ALSO last (VI), sess (VI) .sh AUTHOR William Joy .sh BUGS .Print.6Ý"/¤�Ç.th PRINT VI 8/24/77 .sh NAME Print \- print with all graphic characters like \fIex\fR print command .sh SYNOPSIS .bd Print [ file ... ] .sh DESCRIPTION .it Print copies the argument files or the standard input to the standard output replacing non-graphic characters by `?' characters. .sh SEE\ ALSO ex (VI), list (VI), number (VI) .sh AUTHOR William Joy .sh BUGS The name of this program should be .it print but there already is a .it print at Berkeley. / AUTHOR William Joy .sh BUGS .Print.6Ý"/¤�Ç.th PRINT VI 8/24/77 .sh NAME Print \- print with all graphic characters like \fIex\fR print command .sh SYNOPSIS .bd Print [ file ... ] .sh DESCRIPTION .it Print copies the argumeeÿhtmp.7ߪ®¤� .th HTMP VII 9/24/77 .sh NAME htmp \- routines for easily dealing with htmp data base .sh DESCRIPTION This set of routines allows easy use of the .it htmp (V) data base and insulates programs from changes to its structure. The routines all deal with the contents of one .it htmp structure which has the following form: .s3 .dt \fBstruct\fR htmp { .br \fBint\fR uid; .br \fBchar\fR home[28]; .br \fBint\fR ttytype; .br } hentry; .s3 The entry points defined are: .s3 .lp +10 8 hget(tty) .lp +10 8 \fBint\fR tty; .br Get the entry for the .it tty specified from the data base and place it in .it hentry. Returns 0 if success, -1 if failure. If this call fails, .it perror (III) can be used to generate an appropriate diagnostic. .s3 .lp +10 8 hput(tty) .lp +10 8 \fBint\fR tty; .br Like .it hget but updates the entry for .it tty in the data base from .it hentry. .s3 .lp +10 8 \fBchar\fR * .lp +10 8 hgethome() .br Returns a pointer to the home directory entry for .it hentry. .s3 .lp +10 8 hsethome(cp) .lp +10 8 \fBchar\fR *cp; .br Sets the home directory entry in .it hentry to be the string pointed to by .it cp. This string will be truncated if it is too long. .s3 .lp +10 8 hgetuid() .br Returns the .it uid from .it hentry. .s3 .lp +10 8 hsetuid(uid) .lp +10 8 \fBint\fR uid; .br Sets the .it uid in .it hentry to be .it uid. .s3 .lp +10 8 hgettype() .br Returns the .it ttytype from .it hentry. .s3 .lp +10 8 \fBchar\fR * .lp +10 8 hsgettype() .br Returns a pointer to the type as a string. The pointer is in a static place and must be saved if .it hsgettype is to be called again. .s3 .lp +10 8 hsettype(type) .lp +10 8 \fBint\fR type; .br Sets the .it ttytype in .it hentry to be .it type. .i0 .sh FILES .dt /etc/htmp htmp data base .sh SEE\ ALSO htmp (V), sethome (VI), ttytype (VI) .sh AUTHOR William Joy ttycap.7߬®¤�Í.th TTYCAP VII 11/16/77 .sh NAME ttycap \- routines to easily deal with \fIttycap\fR data base .sh DESCRIPTION This set of routines allows easy use of the .it ttycap (V) data base and insulates programs from changes to its structure. The entry points defined are: .s3 .lp +10 8 tgetent(buf, name) .lp +10 8 \fBchar\fR buf[], *name; .br Get the entry for the teletype whose name is \fIname\fR into the buffer \fIbuf\fR. Returns \-1 if an error occurs opening .it ttycap in which case the character variable .it ttycap may be used with .it perror (III) to produce an appropriate diagnostic. Returns 0 if the .it ttycap file is available, but no entry for the given .it name could be found. Returns 1 if the entry was found. It is placed in .it buf and the address of .it buf is remembered for use by the rest of the routines here. .s3 .lp +10 8 tgetmodes(mdvec) .lp +10 8 \fBint\fR mdvec[]; .br Get the modes from the current buffer and place them in positions 0 and 1 of the array .it mdvec. .s3 .lp +10 8 tgetnum(id); .lp +10 8 \fBchar\fR *id; .br Get the value of the numeric option .it id and return it as value. Returns \-1 if there is no such option. .s3 .lp +10 8 tgetflag(id); .lp +10 8 \fBchar\fR *id; .br Return the value of the flag .it id. Zero means the flag does not appear, 1 means it does. .s3 .lp +10 8 tgetstr(id, area) .lp +10 8 \fBchar\fR *id, **area; .br Get the string value of .it id and return a pointer to it. All decoding is done for escapes. The string is placed in .it area which is updated to point to the next location after the end of the string. A 0 (\s-2NIL\s0) pointer is returned if there is no such string value defined for this terminal type entry. .i0 .sh LIMITATIONS To insure no buffer overflow, .it buf should be 512 characters large. Actually, the maximum length of any entry in .it /etc/ttycap is large enough. .sh FILES .dt /etc/ttycap capability data base .sh SEE\ ALSO ttycap (V), ttytype (V), ttytype (VI), typeof (VII) .sh AUTHOR William Joy .sh BUGS etypeof.7ß±®¤�Ñ.th TYPEOF VII 11/13/77 .sh NAME typeof \- get the typeof of a terminal from the \fIttytype\fR data base .sh SYNOPSIS typeof(tty) .br \fBchar\fR tty; .s3 \fBchar\fR * .br stypeof(tty) .br \fBchar\fR tty; .sh DESCRIPTION These routines extract the terminal type from the .it ttytype data base given a single character terminal character such as returned from .it ttyn (III). The only difference between the two routines is that .it typeof returns two characters packed into an integer, while .it stypeof returns a pointer to a string; the string is in a static place so it must be saved if .it stypeof is to be called again. .sh FILES .dt /etc/ttytype data base .sh SEE\ ALSO ttytype (V) .sh AUTHOR William Joy .sh BUGS ESCRIPTION These routines extract the terminal type from the .it ttytype data base given a single character terminal character such as returned from .it ttyn (III). The only difference between the two routines is that .it typeof returns two characters packed into an integer, while .it stypeof returns a pointer to a string; the string is in a static place so it must be saved if .it stypeof is to be called again. .sh FILES .dt /etc/ttytype data base .sh SEE\ ALSO ttytype (V) .sh AUTHOR Williaeÿglob2.8Ùjø¤�".th GLOB2 VIII 10/15/76 .sh NAME glob2 \*- generate command arguments .sh SYNOPSIS .bd /etc/glob2 libs command [ arguments ] .sh DESCRIPTION .it Glob2 is used to expand arguments to the shell containing ``*'', ``['', or ``?''. It is passed the argument list containing the metacharacters; .it glob2 expands the list and calls the indicated command. The libs argument is a string containing all the current user library names separated by blanks. The actions of .it glob2 are detailed in the Shell writeup. .sh SEE ALSO" sh (I), lib (I) .sh BUGS quotfix.8Ùjø¤�(.th QUOTFIX VIII 8/28/77 .sh NAME quotfix \- correct block quota files on a subtree .sh SYNOPSIS .bd quotfix [ .bd \- ] [ .bd \-a ] [ .bd \-n ] [ dirname ... ] .sh DESCRIPTION .it Quotfix recursively descends the directory structure starting at each named directory and corrects any block quota files which deviate from the correct quota. The current directory is the default if no directories are specified. Use of quotfix requires super-user privileges. .s3 By default, .it quotfix lists subdirectories which had incorrect quotas and those which have exceeded their quota. Directories with incorrect quotas are represented on a line with an `e' in the first column, those with the quota exceeded have a `>' in column 2. .s3 The \fB\-\fR option suppresses all output. .s3 The \fB\-n\fR option causes no corrections to be made. The function is that of a `check'. .s3 The \fB\-a\fR option causes .it quotfix to break the summary down with a listing for each quota file encountered. The result is an indented representation of the file system usage for the subtree rooted at the specified directory. .sh SEE\ ALSO quot (I), du (I) .sh BUGS If there is any activity in the subtree while the program is running, the result is likely to be incorrect. .s3 .it Quotfix's algorithm for setting quota's charges for each directory entry regardless of the presence of multiple links. The quota it determines agrees with the result of .it du (I) only in the absence of links. In certain cases this makes .it quotfix almost useless; .it quotfix should be changed to work like .it du. ree rooted at the specified directory. .sh SEE\ ALSO quot (I), du (I) .sh BUGS If there is any activity in the subtree while the program is running, the result is likely to be incorrect. .s3 .it Quotfix's algorithm for setting quota's charges for each directory entry regardless of the presence of multiple links. The quota it determines agrees with the result of .it du (I) only in teÿOPnames.h$¤�µ "", "HALT", "NULL", "NODUMP", "BEG", "END", "CALL", "TRACNT", "PUSH", "POP", "INX4", "SDUP", "IF", "TRA", "LINO", "GOTO", "REL2", "REL4", "REL24", "REL42", "REL8", "RELG", "RELT", 0, "REL28", "REL48", "REL82", "REL84", "AND", "OR", "NOT", 0, "AS2", "AS4", "AS24", "AS42", "AS8", "INX2P2", "INX4P2", "AS", "AS21", "AS41", "AS28", "AS48", "OFF", "INX2", "NIL", "LV", "ADD2", "ADD4", "ADD24", "ADD42", "ADD28", "ADD48", "ADD82", "ADD84", "SUB2", "SUB4", "SUB24", "SUB42", "SUB28", "SUB48", "SUB82", "SUB84", "MUL2", "MUL4", "MUL24", "MUL42", "MUL28", "MUL48", "MUL82", "MUL84", "ABS2", "ABS4", "ABS8", 0, "ADD8", "SUB8", "MUL8", "DVD8", "DIV2", "DIV4", "DIV24", "DIV42", 0, 0, 0, 0, "MOD2", "MOD4", "MOD24", "MOD42", 0, 0, 0, 0, "NEG2", "NEG4", "NEG8", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "DVD2", "DVD4", "DVD24", "DVD42", "DVD28", "DVD48", "DVD82", "DVD84", "RV1", "RV2",  "RV4", "RV8", "IND1", "IND2", "IND4", "IND8", "CON1", "CON2", "CON4", "CON8", "RV", "IND", "CON", 0, "RANG2", "RANG42", "RSNG2", "RSNG42", "RANG4", "RANG24", "RSNG4", "RSNG24", 0, 0, 0, 0, 0, 0, 0, 0, "CONC", "CASEBEG", "CASE1", "CASE2", "CASE4", "CASEEND", "CONG", "ORD2", "CASE1OP", "CASE2OP", "CASE4OP", "PXPBUF", "COUNT", 0, 0, 0, "ADDT", "SUBT", "MULT", "INCT", "CTTOT", "CARD", "IN", "ASRT", "FOR1U", "FOR2U", "FOR4U", "FOR1D", "FOR2D", "FOR4D",  "STLIM", "SCLCK", "STOI", "STOD", "ITOD", "ITOS", "BUFF", "WCLCK", "WRHEX2", "WRHEX4", "GET", "PUT", "MESSAGE", "FNIL", "EOF", "EOLN", "RESET", "REWRITE", "REMOVE", "READ4", "UNIT", "READC", "READ8", "UNITINP", "UNITOUT", "READLN", "WRIT2", "WRIT4", "WRITB", "WRITC", "WRIT8", "WRITG", "WRIT82", "WRITLN", "WROCT2", "WROCT4", "FLUSH", "PACK", "UNPACK", "LLIMIT", "ARGC", "ARGV", "CLCK", "SEED", "RANDOM", "DISPOSE", "NEW", "EXPO", "DATE", "TIME", "ATAN", "COS", "EXP", "LN", "SIN", "SQRT", "CHR2", "CHR4", "ODD2", "ODD4", "PRED2", "PRED4", "PRED24", "SUCC2", "SUCC4", "SUCC24", "DEFNAME", "PAGE", "UNDEF", "SQR2", "SQR4", "SQR8", "ROUND", "TRUNC" CREAD_MEë¤�ªAugust 18, 1977 Contents of this directory are as follows: opc.d Description of machine opcodes. OPnames.h Opcode data for put.c - comes from opc.d via makeopc. opcode.h Opcode #defines - made from opc.d by makeopc. picture Pretty picture of abstract machine opcodes. trdata Data pertaining to the parse tree. tree.h Tree defines from trdata out of maketrdata. TRdata.c Tree description and printing names of operators. TRdata.c#XÛ¤�Ä/* char *trnames[] { 0, "MINUS", "MOD", "DIV", "DIVD", "MULT", "ADD", "SUB", "EQ", "NE", "LT", "GT", "LE", "GE", "NOT", "AND", "OR", "ASGN", "PLUS", "IN", "LISTPP", "PDEC", "FDEC", "PVAL", "PVAR", "PFUNC", "PPROC", "NIL", "STRNG", "CSTRNG", "PLUSC", "MINUSC", "ID", "INT", "FINT", "CINT", "CFINT", "TYPTR", "TYPACK", "TYSCAL", "TYRANG", "TYARY", "TYFILE", "TYSET", "TYREC", "TYFIELD", "TYVARPT", "TYVARNT", "CSTAT", "BLOCK", "LABEL", "PCALL", "FCALL", "CASE", "WITH", "WHILE", "REPEAT", "FORU", "FORD", "GOTO", "IF", "ASRT", "CSET", "RANG", "VAR", "ARGL", "ARY", "FIELD", "PTR", "WEXP", "PROG", "BINT", "CBINT", "IFEL", "IFX", "TYID" }; */ /* char *trdesc[] { 0, "np", "dpp", "dpp", "dpp", "dpp", "dpp", "dpp", "dpp", "dpp", "dpp", "dpp", "dpp", "dpp", "np", "dpp", "dpp", "d\"p", "np", "dpp", "pp", "n\"pp", "n\"pp", "pp", "pp", "pp", "p", "d", "d\"", "\"", "p", "p", "p", "d\"", "d\"", "\"", "\"", "p", "p", "p", "pp", "pp", "p", "p", "p", "pp", "ppp", "pp", "dpp", "dp", "d\"p", "d\"p", "d\"p", "dpp", "dpp", "dpp", "dpp", "dppp", "dppp", "d\"", "dppp", "dp", "dp", "pp", "d\"p", "p", "p", "pp", "", "ppp", "n\"pp", "\"", "\"", "dppp", "dppp", "dpp" }; */ char *opnames[] { 0, "unary -", "mod", "div", "/", "*", "+", "-", "=", "<>", "<", ">", "<=", ">=", "not", "and", "or", ":=", "unary +", "in" }; TRdata.o#nÛÿ�Ðhð(048:<>@BEGILOSWZ]eunary -moddiv/*+-=<><><=>=notandor:=unary +in_opnames#L1(L20L34L48L5:L6<L7>L8@L9BL10EL11GL12IL13LL14OL15SL16WL17ZL18]L19eTYnamesë¤�¡"p", "dpp", "dpp", "dpp", "dpp", "dpp", "dpp", "dpp", "dpp", "dpp", "dpp", "dpp", "dpp", "p", "dpp", "dpp", "d"p", "p", "dpp", "pdd", "pp", LISTNQPP d"p, "dpp", "n"pp", "n"pp", "pp", "pp", "pp", "p", "d"", "p", "p", "p", "d"", "d"", "p", "p", "p", "pp", "pp", "p", "p", "p", "pp", "ppp", "pp", "dpp", "dp", "d"p", "dp", "dpp", "dpp", "dpp", "dpp", "dppp", "dppp", "d"", "dppp", "dp", "pp", ""p", "p", "p", """, PTR, 1make#›Úí�&makeopc makepic makepnames maketrdata makeopc#›Úí�Îcp opc.d junk ed - junk >junk2 g/^...[ ]*$/d = v/\*/d = v/.........../s/$/ / g/^0*/s//0/ g/\(.*\)\*\(.*\)/s//#define O\2 \1/ 1i /* * operations */ . w opcode.h q ed - junk g/^\(23.\).*/s//\1/ g/_/s/..../ / v/_/s/.*/ badop/ 1s/^/optab:\ / 130,$m0 1i .data . $a .text . /NULL/c badop . w opcode.s q ed - opcode.h >>opcode.s /WRITC/s/#define // s/[ ]/ = /p w /dev/null q ed - junk2 -s/$/\/256 opcodes assigned/p +s/$/\/256 opcodes #defined/p w q rm junk junk2 makepic#›Úí�hsplit -32 opc.d pr -t -w132 -l60 -m x* >picture rm x* ed - picture /^007/a . /^017/a . /^027/a . w q makepnames#›Úí�_ed - opc.d g/^...[ ]*$/s// 0,/ g/_/s/^\(.*\)_\(.*\)/ "\2",/ $s/,// 1s/ABORT//p w OPnames.h q amaketrdata#›Úí�ed - trdata v/ .* /d 1,$s/.* .* // 1,$s/.*/ "&",/ $s/,// 1i char *opnames[] { 0, . $a }; . w .foefum e v/./d g/ .* /s/ [^ ]*$// g/^[^ ]* /s/// g/"/s//\\"/ 1,$s/.*/ "&",/ $s/,// 1i /* char *trdesc[] { 0, . $a }; */ . $r .foefum w .foefum e v/./d 1,$s/ .*// 1,$s/.*/ "&",/ $s/,// 1i /* char *trnames[] { 0, . $a }; */ . $r .foefum !rm .foefum w TRdata.c e v/./d g/ .*/s/// w .foefum !grep -n "^" .foefum >.fiefum e .fiefum 1,$s/\([0123456789]*\):\(.*\)/#define T_\2 \1/ w tree.h !rm .fiefum .foefum q /usr/bin/cc -c TRdata.c .opc.d#ÕÙ¤�– 000 _ABORT 001*_HALT 002*_NULL 003*_NODUMP 004*_BEG 005*_END 006*_CALL 007*_TRACNT 010*_PUSH 011*_POP 012*_INX4 013*_SDUP 014*_IF 015*_TRA 016*_LINO 017*_GOTO 020*_REL2 021*_REL4 022*_REL24 023*_REL42 024*_REL8 025*_RELG 026*_RELT 027 030*_REL28 031*_REL48 032*_REL82 033*_REL84 034*_AND 035*_OR 036*_NOT 037 040*_AS2 041*_AS4 042*_AS24 043*_AS42 044*_AS8 045*_INX2P2 046*_INX4P2 047*_AS 050*_AS21 051*_AS41 052*_AS28 053*_AS48 054*_OFF 055*_INX2 056*_NIL 057*_LV 060*_ADD2 061*_ADD4 062*_ADD24 063*_ADD42 064*_ADD28 065*_ADD48 066*_ADD82 067*_ADD84 070*_SUB2 071 _SUB4 072 _SUB24 073 _SUB42 074 _SUB28 075 _SUB48 076 _SUB82 077 _SUB84 100*_MUL2 101 _MUL4 102 _MUL24 103 _MUL42 104 _MUL28 105 _MUL48 106 _MUL82 107 _MUL84 110*_ABS2 111 _ABS4 112*_ABS8 113 114*_ADD8 115*_SUB8 116*_MUL8 117*_DVD8 120*_DIV2 121 _DIV4 122 _DIV24 123 _DIV42 124 125 126 127 130*_MOD2 131 _MOD4 132 _MOD24 133 _MOD42 134 135 136 137 140*_NEG2 141 _NEG4 142*_NEG8 143 144 145 146 147 150 151 152 153 154 155 156 157 160*_DVD2 161 _DVD4 162 _DVD24 163 _DVD42 164 _DVD28 165 _DVD48 166 _DVD82 167 _DVD84 170*_RV1 171*_RV2 172*_RV4 173*_RV8 174*_IND1 175*_IND2 176 _IND4 177 _IND8 200*_CON1 201*_CON2 202*_CON4 203*_CON8 204*_RV 205*_IND 206*_CON 207 210*_RANG2 211*_RANG42 212*_RSNG2 213*_RSNG42 214*_RANG4 215 _RANG24 216*_RSNG4 217*_RSNG24 220 221 222 223 224 225 226 227 230*_CONC 231*_CASEBEG 232*_CASE1 233*_CASE2 234*_CASE4 235*_CASEEND 236*_CONG 237*_ORD2 240*_CASE1OP 241*_CASE2OP 242*_CASE4OP 243*_PXPBUF 244*_COUNT 245 246 247 250*_ADDT 251*_SUBT 252*_MULT 253*_INCT 254*_CTTOT 255*_CARD 256*_IN 257*_ASRT 260*_FOR1U 261*_FOR2U 262*_FOR4U 263*_FOR1D 264*_FOR2D 265*_FOR4D 266*_STLIM 267*_SCLCK 270*_STOI 271*_STOD 272*_ITOD 273*_ITOS 274*_BUFF 275*_WCLCK 276*_WRHEX2 277 _WRHEX4 300*_GET 301*_PUT 302*_MESSAGE 303*_FNIL 304*_EOF 305*_EOLN 306*_RESET 307*_REWRITE 310*_REMOVE 311*_READ4 312*_UNIT 313*_READC 314*_READ8 315*_UNITINP 316*_UNITOUT 317*_READLN 320*_WRIT2 321*_WRIT4 322*_WRITB 323*_WRITC 324*_WRIT8 325*_WRITG 326*_WRIT82 327*_WRITLN 330*_WROCT2 331 _WROCT4 332*_FLUSH 333*_PACK 334*_UNPACK 335*_LLIMIT 336*_ARGC 337*_ARGV 340*_CLCK 341*_SEED 342*_RANDOM 343*_DISPOSE 344*_NEW 345*_EXPO 346*_DATE 347*_TIME 350*_ATAN 351*_COS 352*_EXP 353*_LN 354*_SIN 355*_SQRT 356*_CHR2 357 _CHR4 360*_ODD2 361 _ODD4 362*_PRED2 363 _PRED4 364*_PRED24 365*_SUCC2 366 _SUCC4 367 _SUCC24 370*_DEFNAME 371*_PAGE 372*_UNDEF 373*_SQR2 374 _SQR4 375 _SQR8 376*_ROUND 377*_TRUNC opcode.h$¤�¢/* * operations */ #define O_HALT 01 #define O_NULL 02 #define O_NODUMP 03 #define O_BEG 04 #define O_END 05 #define O_CALL 06 #define O_TRACNT 07 #define O_PUSH 010 #define O_POP 011 #define O_INX4 012 #define O_SDUP 013 #define O_IF 014 #define O_TRA 015 #define O_LINO 016 #define O_GOTO 017 #define O_REL2 020 #define O_REL4 021 #define O_REL24 022 #define O_REL42 023 #define O_REL8 024 #define O_RELG 025 #define O_RELT 026 #define O_REL28 030 #define O_REL48 031 #define O_REL82 032 #define O_REL84 033 #define O_AND 034 #define O_OR 035 #define O_NOT 036 #define O_AS2 040 #define O_AS4 041 #define O_AS24 042 #define O_AS42 043 #define O_AS8 044 #define O_INX2P2 045 #define O_INX4P2 046 #define O_AS 047 #define O_AS21 050 #define O_AS41 051 #define O_AS28 052 #define O_AS48 053 #define O_OFF 054 #define O_INX2 055 #define O_NIL 056 #define O_LV 057 #define O_ADD2 060 #define O_ADD4 061 #define O_ADD24 062 #define O_ADD42 063 #define O_ADD28 064 #define O_ADD48 065 #define O_ADD82 066 #define O_ADD84 067 #define O_SUB2 070 #define O_MUL2 0100 #define O_ABS2 0110 #define O_ABS8 0112 #define O_ADD8 0114 #define O_SUB8 0115 #define O_MUL8 0116 #define O_DVD8 0117 #define O_DIV2 0120 #define O_MOD2 0130 #define O_NEG2 0140 #define O_NEG8 0142 #define O_DVD2 0160 #define O_RV1 0170 #define O_RV2 0171 #define O_RV4 0172 #define O_RV8 0173 #define O_IND1 0174 #define O_IND2 0175 #define O_CON1 0200 #define O_CON2 0201 #define O_CON4 0202 #define O_CON8 0203 #define O_RV 0204 #define O_IND 0205 #define O_CON 0206 #define O_RANG2 0210 #define O_RANG42 0211 #define O_RSNG2 0212 #define O_RSNG42 0213 #define O_RANG4 0214 #define O_RSNG4 0216 #define O_RSNG24 0217 #define O_CONC 0230 #define O_CASEBEG 0231 #define O_CASE1 0232 #define O_CASE2 0233 #define O_CASE4 0234 #define O_CASEEND 0235 #define O_CONG 0236 #define O_ORD2 0237 #define O_CASE1OP 0240 #define O_CASE2OP 0241 #define O_CASE4OP 0242 #define O_PXPBUF 0243 #define O_COUNT 0244 #define O_ADDT 0250 #define O_SUBT 0251 #define O_MULT 0252 #define O_INCT 0253 #define O_CTTOT 0254 #define O_CARD 0255 #define O_IN 0256 #define O_ASRT 0257 #define O_FOR1U 0260 #define O_FOR2U 0261 #define O_FOR4U 0262 #define O_FOR1D 0263 #define O_FOR2D 0264 #define O_FOR4D 0265 #define O_STLIM 0266 #define O_SCLCK 0267 #define O_STOI 0270 #define O_STOD 0271 #define O_ITOD 0272 #define O_ITOS 0273 #define O_BUFF 0274 #define O_WCLCK 0275 #define O_WRHEX2 0276 #define O_GET 0300 #define O_PUT 0301 #define O_MESSAGE 0302 #define O_FNIL 0303 #define O_EOF 0304 #define O_EOLN 0305 #define O_RESET 0306 #define O_REWRITE 0307 #define O_REMOVE 0310 #define O_READ4 0311 #define O_UNIT 0312 #define O_READC 0313 #define O_READ8 0314 #define O_UNITINP 0315 #define O_UNITOUT 0316 #define O_READLN 0317 #define O_WRIT2 0320 #define O_WRIT4 0321 #define O_WRITB 0322 #define O_WRITC 0323 #define O_WRIT8 0324 #define O_WRITG 0325 #define O_WRIT82 0326 #define O_WRITLN 0327 #define O_WROCT2 0330 #define O_FLUSH 0332 #define O_PACK 0333 #define O_UNPACK 0334 #define O_LLIMIT 0335 #define O_ARGC 0336 #define O_ARGV 0337 #define O_CLCK 0340 #define O_SEED 0341 #define O_RANDOM 0342 #define O_DISPOSE 0343 #define O_NEW 0344 #define O_EXPO 0345 #define O_DATE 0346 #define O_TIME 0347 #define O_ATAN 0350 #define O_COS 0351 #define O_EXP 0352 #define O_LN 0353 #define O_SIN 0354 #define O_SQRT 0355 #define O_CHR2 0356 #define O_ODD2 0360 #define O_PRED2 0362 #define O_PRED24 0364 #define O_SUCC2 0365 #define O_DEFNAME 0370 #define O_PAGE 0371 #define O_UNDEF 0372 #define O_SQR2 0373 #define O_ROUND 0376 #define O_TRUNC 0377 opcode.s#Û¤�ˆ.data _CON1 _CON2 _CON4 _CON8 _RV _IND _CON badop _RANG2 _RANG42 _RSNG2 _RSNG42 _RANG4 _RANG24 _RSNG4 _RSNG24 badop badop badop badop badop badop badop badop badop badop badop badop badop badop badop badop _CASE1OP _CASE2OP _CASE4OP _PXPBUF _COUNT badop badop badop _ADDT _SUBT _MULT _INCT _CTTOT _CARD _IN _ASRT _FOR1U _FOR2U _FOR4U _FOR1D _FOR2D _FOR4D _STLIM _SCLCK _STOI _STOD _ITOD _ITOS _BUFF _WCLCK _WRHEX2 _WRHEX4 _GET _PUT _MESSAGE _FNIL _EOF _EOLN _RESET _REWRITE _REMOVE _READ4 _UNIT _READC _READ8 _UNITINP _UNITOUT _READLN _WRIT2 _WRIT4 _WRITB _WRITC _WRIT8 _WRITG _WRIT82 _WRITLN _WROCT2 _WROCT4 _FLUSH _PACK _UNPACK _LLIMIT _ARGC _ARGV _CLCK _SEED _RANDOM _DISPOSE _NEW _EXPO _DATE _TIME _ATAN _COS _EXP _LN _SIN _SQRT _CHR2 _CHR4 _ODD2 _ODD4 _PRED2 _PRED4 _PRED24 _SUCC2 _SUCC4 _SUCC24 _DEFNAME _PAGE _UNDEF _SQR2 _SQR4 _SQR8 _ROUND _TRUNC optab: _ABORT _HALT badop _NODUMP _BEG _END _CALL _TRACNT _PUSH _POP _INX4 _SDUP _IF _TRA _LINO _GOTO _REL2 _REL4 _REL24 _REL42 _REL8 _RELG _RELT badop _REL28 _REL48 _REL82 _REL84 _AND _OR _NOT badop _AS2 _AS4 _AS24 _AS42 _AS8 _INX2P2 _INX4P2 _AS _AS21 _AS41 _AS28 _AS48 _OFF _INX2 _NIL _LV _ADD2 _ADD4 _ADD24 _ADD42 _ADD28 _ADD48 _ADD82 _ADD84 _SUB2 _SUB4 _SUB24 _SUB42 _SUB28 _SUB48 _SUB82 _SUB84 _MUL2 _MUL4 _MUL24 _MUL42 _MUL28 _MUL48 _MUL82 _MUL84 _ABS2 _ABS4 _ABS8 badop _ADD8 _SUB8 _MUL8 _DVD8 _DIV2 _DIV4 _DIV24 _DIV42 badop badop badop badop _MOD2 _MOD4 _MOD24 _MOD42 badop badop badop badop _NEG2 _NEG4 _NEG8 badop badop badop badop badop badop badop badop badop badop badop badop badop _DVD2 _DVD4 _DVD24 _DVD42 _DVD28 _DVD48 _DVD82 _DVD84 _RV1 _RV2 _RV4 _RV8 _IND1 _IND2 _IND4 _IND8 .text O_WRITC = 0323 picture#2Û¤�ß 000 _ABORT 040*_AS2 100*_MUL2 140*_NEG2 200*_CON1 240*_CASE1OP 300*_GET 340*_CLCK 001*_HALT 041*_AS4 101 _MUL4 141 _NEG4 201*_CON2 241*_CASE2OP 301*_PUT 341*_SEED 002*_NULL 042*_AS24 102 _MUL24 142*_NEG8 202*_CON4 242*_CASE4OP 302*_MESSAGE 342*_RANDOM 003*_NODUMP 043*_AS42 103 _MUL42 143 203*_CON8 243*_PXPBUF 303*_FNIL 343*_DISPOSE 004*_BEG 044*_AS8 104 _MUL28 144 204*_RV 244*_COUNT 304*_EOF 344*_NEW 005*_END 045*_INX2P2 105 _MUL48 145 205*_IND 245 305*_EOLN 345*_EXPO 006*_CALL 046*_INX4P2 106 _MUL82 146 206*_CON 246 306*_RESET 346*_DATE 007*_TRACNT 047*_AS 107 _MUL84 147 207 247 307*_REWRITE 347*_TIME 010*_PUSH 050*_AS21 110*_ABS2 150 210*_RANG2 250*_ADDT 310*_REMOVE 350*_ATAN 011*_POP 051*_AS41 111 _ABS4 151 211*_RANG42 251*_SUBT 311*_READ4 351*_COS 012*_INX4 052*_AS28 112*_ABS8 152 212*_RSNG2 252*_MULT 312*_UNIT 352*_EXP 013*_SDUP 053*_AS48 113 153 213*_RSNG42 253*_INCT 313*_READC 353*_LN 014*_IF 054*_OFF 114*_ADD8 154 214*_RANG4 254*_CTTOT 314*_READ8 354*_SIN 015*_TRA 055*_INX2 115*_SUB8 155 215 _RANG24 255*_CARD 315*_UNITINP 355*_SQRT 016*_LINO 056*_NIL 116*_MUL8 156 216*_RSNG4 256*_IN 316*_UNITOUT 356*_CHR2 017*_GOTO 057*_LV 117*_DVD8 157 217*_RSNG24 257*_ASRT 317*_READLN 357 _CHR4 020*_REL2 060*_ADD2 120*_DIV2 160*_DVD2 220 260*_FOR1U 320*_WRIT2 360*_ODD2 021*_REL4 061*_ADD4 121 _DIV4 161 _DVD4 221 261*_FOR2U 321*_WRIT4 361 _ODD4 022*_REL24 062*_ADD24 122 _DIV24 162 _DVD24 222 262*_FOR4U 322*_WRITB 362*_PRED2 023*_REL42 063*_ADD42 123 _DIV42 163 _DVD42 223 263*_FOR1D 323*_WRITC 363 _PRED4 024*_REL8 064*_ADD28 124 164 _DVD28 224 264*_FOR2D 324*_WRIT8 364*_PRED24 025*_RELG 065*_ADD48 125 165 _DVD48 225 265*_FOR4D 325*_WRITG 365*_SUCC2 026*_RELT 066*_ADD82 126 166 _DVD82 226 266*_STLIM 326*_WRIT82 366 _SUCC4 027 067*_ADD84 127 167 _DVD84 227 267*_SCLCK 327*_WRITLN 367 _SUCC24 030*_REL28 070*_SUB2 130*_MOD2 170*_RV1 230*_CONC 270*_STOI 330*_WROCT2 370*_DEFNAME 031*_REL48 071 _SUB4 131 _MOD4 171*_RV2 231*_CASEBEG 271*_STOD 331 _WROCT4 371*_PAGE 032*_REL82 072 _SUB24 132 _MOD24 172*_RV4 232*_CASE1 272*_ITOD 332*_FLUSH 372*_UNDEF 033*_REL84 073 _SUB42 133 _MOD42 173*_RV8 233*_CASE2 273*_ITOS 333*_PACK 373*_SQR2 034*_AND 074 _SUB28 134 174*_IND1 234*_CASE4 274*_BUFF 334*_UNPACK 374 _SQR4 035*_OR 075 _SUB48 135 175*_IND2 235*_CASEEND 275*_WCLCK 335*_LLIMIT 375 _SQR8 036*_NOT 076 _SUB82 136 176 _IND4 236*_CONG 276*_WRHEX2 336*_ARGC 376*_ROUND 037 077 _SUB84 137 177 _IND8 237*_ORD2 277 _WRHEX4 337*_ARGV 377*_TRUNC Pprintopcodesëä�Hpr printopcodes pr READ_ME pr make* pr picture pr -2 trdata pr -3 opc.d trdataëä�ÆMINUS np unary - MOD dpp mod DIV dpp div DIVD dpp / MULT dpp * ADD dpp + SUB dpp - EQ dpp = NE dpp <> LT dpp < GT dpp > LE dpp <= GE dpp >= NOT np not AND dpp and OR dpp or ASGN d"p := PLUS np unary + IN dpp in LISTPP pp PDEC n"pp FDEC n"pp PVAL pp PVAR pp PFUNC pp PPROC p NIL d STRNG d" CSTRNG " PLUSC p MINUSC p ID p INT d" FINT d" CINT " CFINT " TYPTR p TYPACK p TYSCAL p TYRANG pp TYARY pp TYFILE p TYSET p TYREC p TYFIELD pp TYVARPT ppp TYVARNT pp CSTAT dpp BLOCK dp LABEL d"p PCALL d"p FCALL d"p CASE dpp WITH dpp WHILE dpp REPEAT dpp FORU dppp FORD dppp GOTO d" IF dppp ASRT dp CSET dp RANG pp VAR d"p ARGL p ARY p FIELD pp PTR WEXP ppp PROG n"pp BINT " CBINT " IFEL dppp IFX dppp TYID dpp tree.h$¤�H#define T_MINUS 1 #define T_MOD 2 #define T_DIV 3 #define T_DIVD 4 #define T_MULT 5 #define T_ADD 6 #define T_SUB 7 #define T_EQ 8 #define T_NE 9 #define T_LT 10 #define T_GT 11 #define T_LE 12 #define T_GE 13 #define T_NOT 14 #define T_AND 15 #define T_OR 16 #define T_ASGN 17 #define T_PLUS 18 #define T_IN 19 #define T_LISTPP 20 #define T_PDEC 21 #define T_FDEC 22 #define T_PVAL 23 #define T_PVAR 24 #define T_PFUNC 25 #define T_PPROC 26 #define T_NIL 27 #define T_STRNG 28 #define T_CSTRNG 29 #define T_PLUSC 30 #define T_MINUSC 31 #define T_ID 32 #define T_INT 33 #define T_FINT 34 #define T_CINT 35 #define T_CFINT 36 #define T_TYPTR 37 #define T_TYPACK 38 #define T_TYSCAL 39 #define T_TYRANG 40 #define T_TYARY 41 #define T_TYFILE 42 #define T_TYSET 43 #define T_TYREC 44 #define T_TYFIELD 45 #define T_TYVARPT 46 #define T_TYVARNT 47 #define T_CSTAT 48 #define T_BLOCK 49 #define T_LABEL 50 #define T_PCALL 51 #define T_FCALL 52 #define T_CASE 53 #define T_WITH 54 #define T_WHILE 55 #define T_REPEAT 56 #define T_FORU 57 #define T_FORD 58 #define T_GOTO 59 #define T_IF 60 #define T_ASRT 61 #define T_CSET 62 #define T_RANG 63 #define T_VAR 64 #define T_ARGL 65 #define T_ARY 66 #define T_FIELD 67 #define T_PTR 68 #define T_WEXP 69 #define T_PROG 70 #define T_BINT 71 #define T_CBINT 72 #define T_IFEL 73 #define T_IFX 74 #define T_TYID 75 47 #define T_CSTAT 48 #define T_BLOCK 49 #define T_LABEL 50 #define T_PCALL 51 #define T_FCALL 52 #define T_CASE 53 #define T_WITH 54 #define T_WHILE 55 #define T_REPEAT 56 #define T_FORU 57 #define T_FORD 58 #define T_GOTO 59 #define T_IF 60 #define T_ASRT 61 #define T_CSET 62 #define T_RANG 63 #define T_VAR 64 #define T_ARGL 65 #define T_ARY 66 #define T_FIELD 67 #define T_PTR 68 #define T_WEXP 69 #define T_PROG 70 #define T_BINT 71 #define T_CBINT 72 #define T_IFEL 73 #define T_IFX 7August 18, 1977 Contents of this directory are as follows: opc.d Description of machine opcodes. OPnames.h Opcode data for put.c - comes from opc.d via makeopc. opcode.h Opcode #defines - made from opc.d by makeopc. picture Pretty picture of abstract machine opcodes. trdata Data pertaining to the parse tree. tree.h Tree defines from trdata out of maketrdata. TRdata.c Tree description and printing names of operators. efine T_PROG 70 #define T_BINT 71 #define T_CBINT 72 #define T_IFEL 73 #define T_IFX 7eÿREAD_MEÙ_ø¤�¡November 13, 1977 This directory contains the source for the Pascal program pascals. It should be put in /usr/lib/pascals, the C program in in ../s6/pascals.c should be put in /usr/bin/pascals... this C driver hunts up "px" and executes the /usr/lib/pascals. For this program to run at any sort of reasonable speed it should be compiled with the options "-p" and "-t" and preferably "-b", i.e.: pi -pbt pascals.p block.iÙ^ø¤‘=…procedure block(fsys: symset; isfun: boolean; level: integer); type conrec = record case tp: types of ints,chars,bools: (i: integer); reals: (r: real) end ; var dx: integer; (*data allocation index*) prt: integer; (*t-index of this procedure*) prb: integer; (*b-index of this procedure*) x: integer; procedure skip(fsys: symset; n: integer); begin error(n); while not (sy in fsys) do insymbol end (*skip*) ; procedure test(s1,s2: symset; n: integer);  begin if not (sy in s1) then skip(s1+s2,n) end (*test*) ; procedure testsemicolon; begin if sy = semicolon then insymbol else begin error(14); if sy in [comma,colon] then insymbol end ; test([ident]+blockbegsys, fsys, 6) end (*testsemicolon*) ; procedure enter(id: alfa; k: object); var j,l: integer; begin if t = tmax then fatal(1) else begin tab[0].name := id; j := btab[display[level]].last; l := j;  while tab[j].name <> id do j := tab[j].link; if j <> 0 then error(1) else begin t := t+1; with tab[t] do begin name := id; link := l; obj := k; typ := notyp; ref := 0; lev := level; adr := 0 end ; btab[display[level]].last := t end end end (*enter*) ; function loc(id: alfa): integer; var i,j: integer; (*locate id in table*) begin i := level; tab[0].name := id; (*sentinel*) repeat j := btab[display[i]].last; while tab[j].name <> id do j := tab[j].link; i := i-1; until (i<0) or (j<>0); if j = 0 then error(0); loc := j end (*loc*) ; procedure entervariable; begin if sy = ident then begin enter(id,variable); insymbol end else error(2) end (*entervariable*) ; procedure constant(fsys: symset; var c: conrec); var x, sign: integer; begin c.tp := notyp; c.i := 0; test(constbegsys, fsys, 50); if sy in constbegsys then begin if sy = charcon then begin c.tp := chars; c.i := inum; insymbol end else begin sign := 1; if sy in [plus,minus] then begin if sy = minus then sign := -1; insymbol end ; if sy = ident then begin x := loc(id); if x <> 0 then if tab[x].obj <> konstant then error(25) else begin c.tp := tab[x].typ; if c.tp = reals then c.r := sign*rconst[tab[x].adr] else c.i := sign*tab[x].adr end ; insymbol end else if sy = intcon then begin c.tp := ints; c.i := sign*inum; insymbol end else if sy = realcon then begin c.tp := reals; c.r := sign*rnum; insymbol end else skip(fsys,50) end; test(fsys, [], 6) end end (*constant*) ; procedure typ(fsys: symset; var tp: types; var rf, sz: integer); var x: integer; eltp: types; elrf: integer; elsz, offset, t0,t1: integer; procedure arraytyp(var aref,arsz: integer); var eltp: types; low, high: conrec; elrf, elsz: integer; begin constant([colon,rbrack,rparent,ofsy]+fsys, low); if low.tp = reals then begin error(27); low.tp := ints; low.i := 0 end ; if sy = colon then insymbol else error(13); constant([rbrack,comma,rparent,ofsy]+fsys, high); if high.tp <> low.tp then begin error(27); high.i := low.i end ; enterarray(low.tp, low.i, high.i); aref := a; if sy = comma then begin insymbol; eltp := arrays; arraytyp(elrf,elsz) end else begin if sy = rbrack then insymbol else begin error(12); if sy = rparent then insymbol end ; if sy = ofsy then insymbol else error(8); typ(fsys,eltp,elrf,elsz) end ; with atab[aref] do begin arsz := (high-low+1)*elsz; size := arsz; eltyp := eltp; elref := elrf; elsize := elsz end ; end (*arraytyp*) ; begin (*typ*) tp := notyp; rf := 0; sz := 0; test(typebegsys, fsys, 10); if sy in typebegsys then  begin if sy = ident then begin x := loc(id); if x <> 0 then with tab[x] do if obj <> type1 then error(29) else begin tp := typ; rf := ref; sz := adr; if tp = notyp then error(30) end ; insymbol end else if sy = arraysy then begin insymbol; if sy = lbrack then insymbol else begin error(11); if sy = lparent then insymbol end ; tp := arrays; arraytyp(rf,sz) end else begin (*records*) insymbol; enterblock; tp := records; rf := b; if level = lmax then fatal(5); level := level+1; display[level] := b; offset := 0; while sy <> endsy do begin (*field section*) if sy = ident then begin t0 := t; entervariable; while sy = comma do begin insymbol; entervariable  end ; if sy = colon then insymbol else error(5); t1 := t; typ(fsys+[semicolon,endsy,comma,ident],eltp,elrf,elsz); while t0 < t1 do begin t0 := t0+1; with tab[t0] do begin typ := eltp; ref := elrf; normal := true; adr := offset; offset := offset + elsz end end end ; if sy <> endsy then begin if sy = semicolon then insymbol else begin error(14); if sy = comma then insymbol end ; test([ident,endsy,semicolon], fsys, 6) end end ; btab[rf].vsize := offset; sz := offset; btab[rf].psize := 0; insymbol; level := level-1 end ; test(fsys, [], 6) end end (*typ*) ; procedure parameterlist; (*formal parameter list*) var tp: types; rf, sz, x, t0: integer; valpar: boolean; begin insymbol; tp := notyp; rf := 0; sz := 0; test([ident, varsy], fsys+[rparent], 7); while sy in [ident,varsy] do begin if sy <> varsy then valpar := true else begin insymbol; valpar := false end ; t0 := t; entervariable; while sy = comma do begin insymbol; entervariable; end ; if sy = colon then begin insymbol; if sy <> ident then error(2) else begin x := loc(id); insymbol; if x <> 0 then with tab[x] do if obj <> type1 then error(29) else begin tp := typ; rf := ref; if valpar then sz := adr else sz := 1 end ; end ; test([semicolon,rparent], [comma,ident]+fsys, 14) end else error(5); while t0 < t do begin t0 := t0+1; with tab[t0] do begin typ := tp; ref := rf; normal := valpar; adr := dx; lev := level; dx := dx + sz end end ; if sy <> rparent then begin if sy = semicolon then insymbol else begin error(14); if sy = comma then insymbol end ; test([ident,varsy], [rparent]+fsys, 6) end end (*while*) ; if sy = rparent then begin insymbol; test([semicolon,colon], fsys, 6) end else error(4) end (*parameterlist*) ; procedure constantdeclaration; var c: conrec; begin insymbol; test([ident], blockbegsys, 2); while sy = ident do begin enter(id,konstant); insymbol; if sy = eql then insymbol else begin error(16); if sy = becomes then insymbol end ; constant([semicolon,comma,ident]+fsys,c); tab[t].typ := c.tp; tab[t].ref := 0; if c.tp = reals then begin enterreal(c.r); tab[t].adr := c1 end else tab[t].adr := c.i; testsemicolon end end (*constantdeclaration*) ; procedure typedeclaration; var tp: types; rf, sz, t1: integer; begin insymbol; test([ident], blockbegsys, 2); while sy = ident do begin enter(id,type1); t1 := t; insymbol; if sy = eql then insymbol else begin error(16); if sy = becomes then insymbol end ;  typ([semicolon,comma,ident]+fsys, tp, rf, sz); with tab[t1] do begin typ := tp; ref := rf; adr := sz end ; testsemicolon end end (*typedeclaration*) ; procedure variabledeclaration; var t0, t1, rf, sz: integer; tp: types; begin insymbol; while sy = ident do begin t0 := t; entervariable; while sy = comma do begin insymbol; entervariable; end ; if sy = colon then insymbol else error(5); t1 := t; typ([semicolon,comma,ident]+fsys, tp, rf, sz); while t0 < t1 do begin t0 := t0+1; with tab[t0] do begin typ := tp; ref := rf; lev := level; adr := dx; normal := true; dx := dx + sz end end ; testsemicolon end end (*variabledeclaration*) ; procedure procdeclaration; var isfun: boolean; begin isfun := sy = functionsy; insymbol; if sy <> ident then begin error(2); id := ' ' end ; if isfun then enter(id,funktion) else enter(id,prozedure); tab[t].normal := true; insymbol; block([semicolon]+fsys, isfun, level+1); if sy = semicolon then insymbol else error(14); emit(32+ord(isfun)) (*exit*) end (*proceduredeclaration*) ; (*---------------------------------------------------------statement--*) procedure statement(fsys: symset); var i: integer; procedure expression(fsys: symset; var x: item); forward; procedure selector(fsys: symset; var v:item); var x: item; a,j: integer; begin (*sy in [lparent, lbrack, period]*) repeat if sy = period then begin insymbol; (*field selector*) if sy <> ident then error(2) else begin if v.typ <> records then error(31) else begin (*search field identifier*) j := btab[v.ref] .last; tab[0].name := id; while tab[j].name <> id do j := tab[j].link; if j = 0 then error(0); v.typ := tab[j].typ; v.ref := tab[j].ref; a := tab[j].adr; if a <> 0 then emit1(9,a) end ; insymbol end end else begin (*array selector*) if sy <> lbrack then error(11); repeat insymbol; expression(fsys+[comma,rbrack], x); if v.typ <> arrays then error(28) else begin a := v.ref;  if atab[a].inxtyp <> x.typ then error(26) else if atab[a].elsize = 1 then emit1(20,a) else emit1(21,a); v.typ := atab[a].eltyp; v.ref := atab[a].elref end until sy <> comma; if sy = rbrack then insymbol else begin error(12); if sy = rparent then insymbol end end until not (sy in [lbrack,lparent,period]); test(fsys, [], 6) end (*selector*) ; procedure call(fsys: symset; i: integer); var x: item; lastp, cp, k: integer; begin emit1(18,i); (*mark stack*) lastp := btab[tab[i].ref].lastpar; cp := i; if sy = lparent then begin (*actual parameter list*) repeat insymbol; if cp >= lastp then error(39) else begin cp := cp+1; if tab[cp].normal then begin (*value parameter*) expression(fsys+[comma,colon,rparent], x);  if x.typ=tab[cp].typ then begin if x.ref <> tab[cp].ref then error(36) else if x.typ = arrays then emit1(22,atab[x.ref].size) else if x.typ = records then emit1(22,btab[x.ref].vsize) end else if (x.typ=ints) and (tab[cp].typ=reals) then emit1(26,0) else if x.typ<>notyp then error(36); end else begin (*variable parameter*) if sy <> ident then error(2) else begin k := loc(id); insymbol; if k <> 0 then begin if tab[k].obj <> variable then error(37); x.typ := tab[k].typ; x.ref := tab[k].ref; if tab[k].normal then emit2(0,tab[k].lev,tab[k].adr) else emit2(1,tab[k].lev,tab[k].adr); if sy in [lbrack,lparent,period] then selector(fsys+[comma,colon,rparent], x); if (x.typ<>tab[cp].typ) or (x.ref<>tab[cp].ref) then error(36) end end end end ; test([comma,rparent], fsys, 6) until sy <> comma; if sy = rparent then insymbol else error(4) end ; if cp < lastp then error(39); (*too few actual parameters*) emit1(19, btab[tab[i].ref].psize-1); if tab[i].lev < level then emit2(3, tab[i].lev, level) end (*call*) ; function resulttype(a,b: types): types; begin if (a>reals) or (b>reals) then begin error(33); resulttype := notyp end else if (a=notyp) or (b=notyp) then resulttype := notyp else if a=ints then if b=ints then resulttype := ints else begin resulttype := reals; emit1(26,1) end else begin resulttype := reals; if b=ints then emit1(26,0) end end (*resulttype*) ; procedure expression; var y:item; op:symbol; procedure simpleexpression(fsys:symset; var x:item); var y:item; op:symbol; procedure term(fsys:symset; var x:item); var y:item; op:symbol; procedure factor(fsys:symset; var x:item); var i,f: integer; procedure standfct(n: integer); var ts: typset; begin (*standard function no. n*) if sy = lparent then insymbol else error(9); if n < 17 then begin expression(fsys+[rparent],x); case n of (*abs,sqr*) 0,2: begin ts := [ints,reals]; tab[i].typ := x.typ; if x.typ = reals then n := n+1 end ; (*odd,chr*) 4,5: ts := [ints]; (*ord*) 6: begin if x.typ = ints then n := 19; ts := [ints,bools,chars]; end; (*succ,pred*) 7,8: ts := [chars]; (*round,trunc*) 9,10,11,12,13,14,15,16: (*sin,cos,...*) begin ts := [ints,reals]; if x.typ = ints then emit1(26,0) end ; end ; if x.typ in ts then emit1(8,n) else if x.typ <> notyp then error(48); end else (*eof,eoln*) begin (*n in [17,18]*) if sy <> ident then error(2) else if id <> 'input ' then error(0) else insymbol; emit1(8,n); end ; x.typ := tab[i].typ; if sy = rparent then insymbol else error(4) end (*standfct*) ; begin (*factor*) x.typ := notyp; x.ref := 0; test(facbegsys, fsys, 58); while sy in facbegsys do begin if sy = ident then begin i := loc(id); insymbol; with tab[i] do case obj of konstant: begin x.typ := typ; x.ref := 0; case x.typ of ints: emit1(24,adr); reals: emit1(25,adr); bools: emit1(64,adr); chars: emit1(65,adr); end; end ; variable: begin x.typ := typ; x.ref := ref; if sy in [lbrack,lparent,period] then begin if normal then f := 0 else f := 1; emit2(f, lev, adr); selector(fsys,x); if x.typ in stantyps then emit(34) end else begin if x.typ in stantyps then if normal then f := 1 else f := 2 else if normal then f := 0 else f := 1; emit2(f, lev, adr) end end ; type1, prozedure: error(44); funktion :begin x.typ := typ; if lev <> 0 then call(fsys, i) else standfct(adr) end end (*case,with*) end else if sy in [charcon,intcon,realcon] then begin if sy = realcon then begin x.typ := reals; enterreal(rnum); emit1(25, c1) end else begin if sy = charcon then begin x.typ := chars; emit1(65, inum); end else begin x.typ := ints; emit1(24, inum); end; end ; x.ref := 0; insymbol end else if sy = lparent then begin insymbol; expression(fsys+[rparent], x); if sy = rparent then insymbol else error(4) end else if sy = notsy then begin insymbol; factor(fsys,x);  if x.typ=bools then emit(35) else if x.typ<>notyp then error(32) end ; test(fsys, facbegsys, 6) end (*while*) end (*factor*) ; begin (*term*) factor(fsys+[times,rdiv,idiv,imod,andsy], x); while sy in [times,rdiv,idiv,imod,andsy] do begin op := sy; insymbol; factor(fsys+[times,rdiv,idiv,imod,andsy], y); if op = times then  begin x.typ := resulttype(x.typ, y.typ); case x.typ of notyp: ; ints : emit(57); reals: emit(60); end end else if op = rdiv then begin if x.typ = ints then begin emit1(26,1); x.typ := reals end ; if y.typ = ints then begin emit1(26,0); y.typ := reals  end ; if (x.typ=reals) and (y.typ=reals) then emit(61) else begin if (x.typ<>notyp) and (y.typ<>notyp) then error(33); x.typ := notyp end end else if op = andsy then begin if (x.typ=bools) and (y.typ=bools) then emit(56) else begin if (x.typ<>notyp) and (y.typ<>notyp) then  error(32); x.typ := notyp end end else begin (*op in [idiv,imod]*) if (x.typ=ints) and (y.typ=ints) then if op=idiv then emit(58) else emit(59) else begin if (x.typ<>notyp) and (y.typ<>notyp) then error(34); x.typ := notyp end  end end end (*term*) ; begin (*simpleexpression*) if sy in [plus,minus] then begin op := sy; insymbol; term(fsys+[plus,minus], x); if x.typ > reals then error(33) else if op = minus then if x.typ = reals then emit(66) else emit(36) end else term(fsys+[plus,minus,orsy], x); while sy in [plus,minus,orsy] do begin op := sy; insymbol; term(fsys+[plus,minus,orsy], y); if op = orsy then begin if (x.typ=bools) and (y.typ=bools) then emit(51) else begin if (x.typ<>notyp) and (y.typ<>notyp) then error(32); x.typ := notyp end end else begin x.typ := resulttype(x.typ, y.typ); case x.typ of notyp: ; ints : if op = plus then emit(52) else emit(53); reals: if op = plus then emit(54) else emit(55) end end end end (*simpleexpression*) ; begin (*expression*) simpleexpression(fsys+[eql,neq,lss,leq,gtr,geq], x); if sy in [eql,neq,lss,leq,gtr,geq] then begin op := sy; insymbol; simpleexpression(fsys, y); if (x.typ in [ notyp,ints,bools,chars]) and (x.typ = y.typ) then case op of eql: emit(45); neq: emit(46); lss: emit(47); leq: emit(48); gtr: emit(49); geq: emit(50); end else begin if x.typ = ints then begin x.typ := reals; emit1(26,1) end else if y.typ = ints then begin y.typ := reals; emit1(26,0) end ; if (x.typ=reals) and (y.typ=reals) then case op of eql: emit(39); neq: emit(40); lss: emit(41); leq: emit(42); gtr: emit(43); geq: emit(44); end else error(35) end ; x.typ := bools end end (*expression*) ; procedure assignment(lv,ad: integer);  var x,y: item; f: integer; (*tab[i].obj in [variable,prozedure]*) begin x.typ := tab[i].typ; x.ref := tab[i].ref; if tab[i].normal then f := 0 else f := 1; emit2(f, lv, ad); if sy in [lbrack,lparent,period] then selector([becomes,eql]+fsys, x); if sy = becomes then insymbol else begin error(51); if sy = eql then insymbol end ; expression(fsys, y); if x.typ = y.typ then if x.typ in stantyps then emit(38) else if x.ref <> y.ref then error(46) else if x.typ = arrays then emit1(23, atab[x.ref].size) else emit1(23, btab[x.ref].vsize) else if (x.typ=reals) and (y.typ=ints) then begin emit1(26,0); emit(38) end else if (x.typ<>notyp) and (y.typ<>notyp) then error(46) end (*assignment*) ; procedure compoundstatement; begin insymbol; statement([semicolon,endsy]+fsys); while sy in [semicolon]+statbegsys do begin if sy = semicolon then insymbol else error(14); statement([semicolon,endsy]+fsys) end ; if sy = endsy then insymbol else error(57) end (*compoundstatemenet*) ; procedure ifstatement; var x: item; lc1,lc2: integer; begin insymbol; expression(fsys+[thensy,dosy], x); if not (x.typ in [bools,notyp]) then error(17); lc1 := lc; emit(11); (*jmpc*) if sy = thensy then insymbol else begin error(52); if sy = dosy then insymbol end ; statement(fsys+[elsesy]); if sy = elsesy then begin insymbol; lc2 := lc; emit(10); code[lc1].y := lc; statement(fsys); code[lc2].y := lc end else code[lc1].y := lc end (*ifstatement*) ; procedure casestatement; var x: item; i,j,k,lc1: integer; casetab: array [1..csmax] of packed record val, lc: index end ; exittab: array [1..csmax] of integer; procedure caselabel; var lab: conrec; k: integer; begin constant(fsys+[comma,colon], lab); if lab.tp <> x.typ then error(47) else if i = csmax then fatal(6) else begin i := i+1; k := 0; casetab[i].val := lab.i; casetab[i].lc := lc; repeat k := k+1 until casetab[k].val = lab.i; if k < i then error(1); (*multiple definition*) end end (*caselabel*) ; procedure onecase; begin if sy in constbegsys then begin caselabel; while sy = comma do begin insymbol; caselabel end ; if sy = colon then insymbol else error(5); statement([semicolon,endsy]+fsys); j := j+1; exittab[j] := lc; emit(10) end end (*onecase*) ; begin insymbol; i := 0; j := 0; expression(fsys+[ofsy,comma,colon], x);  if not (x.typ in [ints,bools,chars,notyp]) then error(23); lc1 := lc; emit(12); (*jmpx*) if sy = ofsy then insymbol else error(8); onecase; while sy = semicolon do begin insymbol; onecase end ; code[lc1].y := lc; for k := 1 to i do begin emit1(13,casetab[k].val); emit1(13,casetab[k].lc) end ; emit1(10,0); for k := 1 to j do code[exittab[k]].y := lc; if sy = endsy then insymbol else error(57) end (*casestatement*) ; procedure repeatstatement; var x: item; lc1: integer; begin lc1 := lc; insymbol; statement([semicolon,untilsy]+fsys); while sy in [semicolon]+statbegsys do begin if sy = semicolon then insymbol else error(14); statement([semicolon,untilsy]+fsys) end ; if sy = untilsy then begin insymbol; expression(fsys, x); if not (x.typ in [bools,notyp]) then error(17); emit1(11,lc1) end else error(53) end (*repeatstatement*) ; procedure whilestatement; var x: item; lc1,lc2: integer; begin insymbol; lc1 := lc; expression(fsys+[dosy], x); if not (x.typ in [bools,notyp]) then error(17); lc2 := lc; emit(11); if sy = dosy then insymbol else error(54); statement(fsys); emit1(10,lc1); code[lc2].y := lc end (*whilestatement*) ; procedure forstatement; var cvt: types; x: item; i,f,lc1,lc2: integer; begin insymbol; if sy = ident then begin i := loc(id); insymbol; if i = 0 then cvt := ints else if tab[i].obj = variable then begin cvt := tab[i].typ; if not tab[i].normal then error(37) else emit2(0, tab[i].lev, tab[i].adr); if not (cvt in [notyp,ints,bools,chars]) then error(18) end else begin error(37); cvt := ints  end end else skip([becomes,tosy,downtosy,dosy]+fsys, 2); if sy = becomes then begin insymbol; expression([tosy,downtosy,dosy]+fsys, x); if x.typ <> cvt then error(19); end else skip([tosy,downtosy,dosy]+fsys, 51); f := 14; if sy in [tosy, downtosy] then begin if sy = downtosy then f := 16; insymbol; expression([dosy]+fsys, x); if x.typ <> cvt then error(19) end else skip([dosy]+fsys, 55); lc1 := lc; emit(f); if sy = dosy then insymbol else error(54); lc2 := lc; statement(fsys); emit1(f+1,lc2); code[lc1].y := lc end (*forstatement*) ; procedure standproc(n: integer); var i,f: integer; x,y: item; begin case n of 1,2: begin (*read*) if not iflag then begin error(20); iflag := true end ; if sy = lparent then begin repeat insymbol; if sy <> ident then error(2) else begin i := loc(id); insymbol; if i <> 0 then if tab[i].obj <> variable then error(37) else begin x.typ := tab[i].typ; x.ref := tab[i].ref; if tab[i].normal then f := 0 else f := 1; emit2(f, tab[i].lev, tab[i].adr); if sy in [lbrack,lparent,period] then selector(fsys+[comma,rparent], x); if x.typ in [ints,reals,chars,notyp] then emit1(27, ord(x.typ)) else error(40) end end ; test([comma,rparent], fsys, 6); until sy <> comma; if sy = rparent then insymbol else error(4) end ; if n = 2 then emit(62) end ; 3,4: begin (*write*) if sy = lparent then begin repeat insymbol; if sy = string then begin emit1(24,sleng); emit1(28,inum); insymbol end else begin expression(fsys+[comma,colon,rparent], x); if not (x.typ in stantyps) then error(41); if sy = colon then begin insymbol; expression(fsys+[comma,colon,rparent], y); if y.typ <> ints then error(43); if sy = colon then begin if x.typ <> reals then error(42); insymbol; expression(fsys+[comma,rparent], y);  if y.typ <> ints then error(43); emit(37) end else emit1(30, ord(x.typ)) end else emit1(29, ord(x.typ)) end until sy <> comma; if sy = rparent then insymbol else error(4) end ; if n = 4 then emit(63) end ; end (*case*) end (*standproc*) ; begin (*statement*) if sy in statbegsys+[ident] then case sy of ident: begin i := loc(id); insymbol; if i <> 0 then case tab[i].obj of konstant, type1: error(45); variable: assignment(tab[i].lev, tab[i].adr); prozedure: if tab[i].lev <> 0 then call(fsys, i) else standproc(tab[i].adr); funktion: if tab[i].ref = display[level] then assignment(tab[i].lev+1, 0) else error(45) end end ; beginsy: compoundstatement; ifsy: ifstatement; casesy: casestatement; whilesy: whilestatement; repeatsy: repeatstatement; forsy: forstatement; end; test(fsys, [], 14) end (*statement*) ; begin (*block*) dx := 5; prt := t; if level > lmax then fatal(5); test([lparent,colon,semicolon], fsys, 7); enterblock; display[level] := b; prb := b; tab[prt].typ := notyp; tab[prt].ref := prb; if sy = lparent then parameterlist; btab[prb].lastpar := t; btab[prb].psize := dx; if isfun then if sy = colon then begin insymbol; (*function type*) if sy = ident then begin x := loc(id); insymbol; if x <> 0 then if tab[x].obj <> type1 then error(29) else if tab[x].typ in stantyps then tab[prt].typ := tab[x].typ else error(15) end else skip([semicolon]+fsys, 2) end else error(5); if sy = semicolon then insymbol else error(14); repeat if sy = constsy then constantdeclaration; if sy = typesy then typedeclaration; if sy = varsy then variabledeclaration; btab[prb].vsize := dx; while sy in [proceduresy,functionsy] do procdeclaration; test([beginsy], blockbegsys+statbegsys, 56) until sy in statbegsys; tab[prt].adr := lc; insymbol; statement([semicolon,endsy]+fsys); while sy in [semicolon]+statbegsys do begin if sy = semicolon then insymbol else error(14); statement([semicolon,endsy]+fsys) end ; if sy = endsy then insymbol else error(57); test(fsys+[period], [], 6) end (*block*) ; rerror.iÙ^ø¤�› procedure errormsg; var k: integer; msg: array [0..ermax] of alfa; begin msg[ 0] := 'undef id '; msg[ 1] := 'multi def '; msg[ 2] := 'identifier'; msg[ 3] := 'program '; msg[ 4] := ') '; msg[ 5] := ': '; msg[ 6] := 'syntax '; msg[ 7] := 'ident, var'; msg[ 8] := 'of '; msg[ 9] := '( '; msg[10] := 'id, array '; msg[11] := '[ '; msg[12] := '] '; msg[13] := '.. '; msg[14] := '; '; msg[15] := 'func. type'; msg[16] := '= '; msg[17] := 'boolean '; msg[18] := 'convar typ'; msg[19] := 'type '; msg[20] := 'prog.param'; msg[21] := 'too big '; msg[22] := '. '; msg[23] := 'typ (case)'; msg[24] := 'character '; msg[25] := 'const id '; msg[26] := 'index type'; msg[27] := 'indexbound'; msg[28] := 'no array '; msg[29] := 'type id '; msg[30] := 'undef type'; msg[31] := 'no record '; msg[32] := 'boole type'; msg[33] := 'arith type'; msg[34] := 'integer '; msg[35] := 'types '; msg[36] := 'param type'; msg[37] := 'variab id '; msg[38] := 'string '; msg[39] := 'no.of pars'; msg[40] := 'type '; msg[41] := 'type '; msg[42] := 'real type '; msg[43] := 'integer '; msg[44] := 'var, const'; msg[45] := 'var, proc '; msg[46] := 'types (:=)'; msg[47] := 'typ (case)'; msg[48] := 'type '; msg[49] := 'store ovfl'; msg[50] := 'constant '; msg[51] := ':= '; msg[52] := 'then '; msg[53] := 'until '; msg[54] := 'do '; msg[55] := 'to downto '; msg[56] := 'begin '; msg[57] := 'end '; msg[58] := 'factor '; k := 0; writeln; writeln(' key words'); while errs <> [] do begin while not (k in errs) do k := k+1; writeln(k,' ',msg[k]); errs := errs - [k] end end (*errormsg*) ; procedure error(n: integer); begin if errpos = 0 then write(' ****'); if cc > errpos then begin write(' ': cc-errpos, '^', n:2); errpos := cc+3; errs := errs + [n] end end (*error*) ; procedure fatal(n: integer); var msg: array [1..7] of alfa; begin writeln; errormsg; msg[ 1] := 'identifier'; msg[ 2] := 'procedures'; msg[ 3] := 'reals '; msg[ 4] := 'arrays ';  msg[ 5] := 'levels '; msg[ 6] := 'code '; msg[ 7] := 'strings '; writeln(' compiler table for ', msg[n], ' is too small'); goto 99 (* terminate compilation*) end (*fatal*) ; gglobals.iÙ^ø¤�\ label 99; const nkw = 27; (*no. of key words*) TAB = tab; alng = 10; (*no. of significant chars in identifiers*) llng = 120; (*input line length*) emax = 322; (*max exponent of real numbers*) emin =-292; (*min exponent*) kmax = 15; (*max no. of significant digits*) tmax = 100; (*size of table*) bmax = 20; (*size of block-table*) amax = 30; (*size of array-table*) c2max = 20; (*size of real constant table*) csmax = 30; (*max no. of cases*) cmax = 500; (*size of code*) lmax = 7; (*maximum level*) smax = 400; (*size of string-table*) ermax = 58; (*max error no.*) omax = 66; (*highest order code*) xmax = 131071; (*2**17 - 1*) { shit, look at this number!!!!! nmax = 281474976710655; (*2**48-1*) } nmax = maxint; lineleng = 136; (*output line length*) linelimit = 200; stacksize = 200; type symbol = (intcon,realcon,charcon,string, notsy,plus,minus,times,idiv,rdiv,imod,andsy,orsy, eql,neq,gtr,geq,lss,leq, lparent,rparent,lbrack,rbrack,comma,semicolon,period, colon,becomes,constsy,typesy,varsy,functionsy, proceduresy,arraysy,recordsy,programsy,ident, beginsy,ifsy,casesy,repeatsy,whilesy,forsy, endsy,elsesy,untilsy,ofsy,dosy,tosy,downtosy,thensy); index = -xmax .. +xmax; alfa = packed array [1..alng] of char; object = (konstant,variable,type1,prozedure,funktion); types = (notyp,ints,reals,bools,chars,arrays,records); symset = set of symbol; typset = set of types; item = record typ: types; ref: index; end ; order = packed record f: -omax..+omax; x: -lmax..+lmax; y: -nmax..+nmax; end ; var sy: symbol; (*last symbol read by insymbol*) id: alfa; (*identifier from insymbol*) inum: integer; (*integer from insymbol*) rnum: real; (*real number from insymbol*) sleng: integer; (*string length*) ch: char; (*last character read from source program*) line: array [1..llng] of char; cc: integer; (*character counter*) lc: integer; (*program location counter*) ll: integer; (*length of current line*) errs: set of 0..ermax; errpos: integer; progname: alfa; iflag, oflag: boolean; constbegsys,typebegsys,blockbegsys,facbegsys,statbegsys: symset; key: array [1..nkw] of alfa; ksy: array [1..nkw] of symbol; sps: array [char] of symbol; (*special symbols*) t,a,b,sx,c1,c2: integer; (*indices to tables*) stantyps: typset; display: array [0 .. lmax] of integer; tab: array [0 .. tmax] of (*identifier table*) packed record name: alfa; link: index; obj: object; typ: types; ref: index; normal: boolean; lev: 0 .. lmax; adr: integer; end ; atab: array [1 .. amax] of (*array-table*) packed record inxtyp, eltyp: types; elref, low, high, elsize, size: index; end ; btab: array [1 .. bmax] of (*block-table*) packed record last, lastpar, psize, vsize: index end ; stab: packed array [0..smax] of char; (*string table*) rconst: array [1 .. c2max] of real; code: array [0 .. cmax] of order; installpcsÙ_ø¤�gcd ../s6 cc -n -O pascals.c -o /usr/bin/pascals -s cd ../pcs pi -pbt pascals.p mv obj /usr/lib/pascals ]interpret.iÙ^ø¤‘)procedure interpret; (*global code, tab, btab*) var ir: order; (*instruction buffer*) pc: integer; (*program counter*) ps: (run,fin,caschk,divchk,inxchk,stkchk,linchk,lngchk,redchk); t: integer; (*top stack index*) b: integer; (*base index*)  lncnt, ocnt, blkcnt, chrcnt: integer; (*counters*) h1,h2,h3,h4: integer; fld: array [1..4] of integer; (*default field widths*) display: array [1..lmax] of integer; s: array [1..stacksize] of (*blockmark: *) record case types of (* s[b+0] = fct result *) ints: (i: integer); (* s[b+1] = return adr *) reals: (r: real); (* s[b+2] = static link *) bools: (b: boolean); (* s[b+3] = dynamic link*) chars: (c: char) (* s[b+4] = table index *) end ; begin (*interpret*) s[1].i := 0; s[2].i := 0; s[3].i := -1; s[4].i := btab[1].last; b := 0; display[1] := 0; t := btab[2].vsize - 1; pc := tab[s[4].i].adr; ps := run; lncnt := 0; ocnt := 0; chrcnt := 0; fld[1] := 10; fld[2] := 22; fld[3] := 10; fld[4] := 1; repeat ir := code[pc]; pc := pc+1; ocnt := ocnt + 1; case ir.f of 0: begin (*load address*) t := t+1; if t > stacksize then ps := stkchk else s[t].i := display[ir.x] + ir.y end ; 1: begin (*load value*) t := t+1; if t > stacksize then ps := stkchk else s[t] := s[display[ir.x] + ir.y] end ; 2: begin (*load indirect*) t := t+1; if t > stacksize then ps := stkchk else s[t] := s[s[display[ir.x] + ir.y].i] end ; 3: begin (*update display*) h1 := ir.y; h2 := ir.x; h3 := b; repeat display[h1] := h3; h1 := h1-1; h3 := s[h3+2].i until h1 = h2 end ; 8: case ir.y of 0: s[t].i := abs(s[t].i); 1: s[t].r := abs(s[t].r); 2: s[t].i := sqr(s[t].i); 3: s[t].r := sqr(s[t].r); 4: s[t].b := odd(s[t].i); 5: begin if (s[t].i < 0) or (s[t].i > 127) then ps := inxchk else s[t].c := chr(s[t].i) end ; 6: s[t].i := ord(s[t].c) ; 7: s[t].c := succ(s[t].c); 8: s[t].c := pred(s[t].c); 9: s[t].i := round(s[t].r); 10: s[t].i := trunc(s[t].r); 11: s[t].r := sin(s[t].r); 12: s[t].r := cos(s[t].r); 13: s[t].r := exp(s[t].r); 14: s[t].r := ln(s[t].r); 15: s[t].r := sqrt(s[t].r); 16: s[t].r := arctan(s[t].r); 17: begin t := t+1; if t > stacksize then ps := stkchk else s[t].b := eof(input) end ; 18: begin t := t+1; if t > stacksize then ps := stkchk else s[t].b := eoln(input) end ; 19: end ; 9: s[t].i := s[t].i + ir.y; (*offset*) 10: pc := ir.y; (*jump*) 11: begin (*conditional jump*) if not s[t].b then pc := ir.y; t := t-1 end ; 12: begin (*switch*) h1 := s[t].i; t := t-1; h2 := ir.y; h3 := 0; repeat if code[h2].f <> 13 then begin h3 := 1; ps := caschk end else if code[h2].y = h1 then begin h3 := 1; pc := code[h2+1].y end else h2 := h2 + 2 until h3 <> 0 end ; 14: begin (*for1up*) h1 := s[t-1].i; if h1 <= s[t].i then s[s[t-2].i].i := h1 else begin t := t-3; pc := ir.y end end ; 15: begin (*for2up*) h2 := s[t-2].i; h1 := s[h2].i + 1; if h1 <= s[t].i then begin s[h2].i := h1; pc := ir.y end else t := t-3; end ; 16: begin (*for1down*) h1 := s[t-1].i; if h1 >= s[t].i then s[s[t-2].i].i := h1 else begin pc := ir.y; t := t-3 end end ; 17: begin (*for2down*) h2 := s[t-2].i; h1 := s[h2].i - 1; if h1 >= s[t].i then  begin s[h2].i := h1; pc := ir.y end else t := t-3; end ; 18: begin (*mark stack*) h1 := btab[tab[ir.y].ref].vsize; if t+h1 > stacksize then ps := stkchk else begin t := t+5; s[t-1].i := h1-1; s[t].i := ir.y end end ; 19: begin (*call*) h1 := t - ir.y; (*h1 points to base*) h2 := s[h1+4].i; (*h2 points to tab*) h3 := tab[h2].lev; display[h3+1] := h1; h4 := s[h1+3].i + h1; s[h1+1].i := pc; s[h1+2].i := display[h3]; s[h1+3].i := b; for h3 := t+1 to h4 do s[h3].i := 0; b := h1; t := h4; pc := tab[h2].adr end ; 20: begin (*index1*) h1 := ir.y; (*h1 points to atab*) h2 := atab[h1].low; h3 := s[t].i; if h3 < h2 then ps := inxchk else if h3 > atab[h1].high then ps := inxchk else begin t := t-1; s[t].i := s[t].i + (h3-h2) end end ; 21: begin (*index*) h1 := ir.y; (*h1 points to atab*) h2 := atab[h1].low; h3 := s[t].i; if h3 < h2 then ps := inxchk else if h3 > atab[h1].high then ps := inxchk else begin t := t-1; s[t].i := s[t].i + (h3-h2)*atab[h1].elsize end end ; 22: begin (*load block*) h1 := s[t].i; t := t-1; h2 := ir.y + t; if h2 > stacksize then ps := stkchk else while t < h2 do begin t := t+1; s[t] := s[h1]; h1 := h1+1 end end ; 23: begin (*copy block*) h1 := s[t-1].i; h2 := s[t].i; h3 := h1 + ir.y; while h1 < h3 do begin s[h1] := s[h2]; h1 := h1+1; h2 := h2+1 end ; t := t-2 end ; 24: begin (*literal*) t := t+1; if t > stacksize then ps := stkchk else s[t].i := ir.y end ; 25: begin (*load real*) t := t+1; if t > stacksize then ps := stkchk else s[t].r := rconst[ir.y] end ; 64,65: begin t := t + 1; if t > stacksize then ps := stkchk else s[t].c := chr(ir.y) end; 26: begin (*float*) h1 := t - ir.y; s[h1].r := s[h1].i end ; 27: begin (*read*) if eof(input) then ps := redchk else case ir.y of 1: read(s[s[t].i].i); 2: read(s[s[t].i].r); 4: read(s[s[t].i].c); end ; t := t-1 end ; 28: begin (*write string*) h1 := s[t].i; h2 := ir.y; t := t-1; chrcnt := chrcnt+h1; if chrcnt > lineleng then ps := lngchk; repeat write(stab[h2]); h1 := h1-1; h2 := h2+1 until h1 = 0 end ; 29: begin (*writ1*) chrcnt := chrcnt + fld[ir.y]; if chrcnt > lineleng then ps := lngchk else case ir.y of 1: write(s[t].i: fld[1]); 2: write(s[t].r: fld[2]); 3: write(s[t].b: fld[3]); 4: write(s[t].c); end ; t := t-1 end ; 30: begin (*write2*) chrcnt := chrcnt + s[t].i; if chrcnt > lineleng then ps := lngchk else case ir.y of 1: write(s[t-1].i: s[t].i); 2: write(s[t-1].r: s[t].i); 3: write(s[t-1].b: s[t].i); 4: write(s[t-1].c: s[t].i); end ; t := t-2 end ; 31: ps := fin; 32: begin (*exit procedure*) t := b-1; pc := s[b+1].i; b := s[b+3].i end ; 33: begin (*exit function*) t := b; pc := s[b+1].i; b := s[b+3].i end ; 34: s[t] := s[s[t].i]; 35: s[t].b := not s[t].b; 36: s[t].i := - s[t].i; 66: s[t].r := - s[t].r; 37: begin chrcnt := chrcnt + s[t-1].i; if chrcnt > lineleng then ps := lngchk else write(s[t-2].r: s[t-1].i: s[t].i); t := t-3 end ; 38: begin (*store*) s[s[t-1].i] := s[t]; t := t-2 end ; 39: begin t := t-1; s[t].b := s[t].r = s[t+1].r end ; 40: begin t := t-1; s[t].b := s[t].r <> s[t+1].r end ; 41: begin t := t-1; s[t].b := s[t].r < s[t+1].r end ; 42: begin t := t-1; s[t].b := s[t].r <= s[t+1].r end ; 43: begin t := t-1; s[t].b := s[t].r > s[t+1].r end ; 44: begin t := t-1; s[t].b := s[t].r >= s[t+1].r end ; 45: begin t := t-1; s[t].b := s[t].i = s[t+1].i end ; 46: begin t := t-1; s[t].b := s[t].i <> s[t+1].i end ; 47: begin t := t-1; s[t].b := s[t].i < s[t+1].i end ; 48: begin t := t-1; s[t].b := s[t].i <= s[t+1].i end ; 49: begin t := t-1; s[t].b := s[t].i > s[t+1].i end ; 50: begin t := t-1; s[t].b := s[t].i >= s[t+1].i end ; 51: begin t := t-1; s[t].b := s[t].b or s[t+1].b end ; 52: begin t := t-1; s[t].i := s[t].i + s[t+1].i end ; 53: begin t := t-1; s[t].i := s[t].i - s[t+1].i end ; 54: begin t := t-1; s[t].r := s[t].r + s[t+1].r; end ; 55: begin t := t-1; s[t].r := s[t].r - s[t+1].r; end ; 56: begin t := t-1; s[t].b := s[t].b and s[t+1].b end ; 57: begin t := t-1; s[t].i := s[t].i * s[t+1].i end ; 58: begin t := t-1; if s[t+1].i = 0 then ps := divchk else s[t].i := s[t].i div s[t+1].i end ; 59: begin t := t-1; if s[t+1].i = 0 then ps := divchk else s[t].i := s[t].i mod s[t+1].i end ; 60: begin t := t-1; s[t].r := s[t].r * s[t+1].r; end ; 61: begin t := t-1; if s[t+1].r = 0.0 then ps := divchk else s[t].r := s[t].r / s[t+1].r; end ; 62: if eof(input) then ps := redchk else readln; 63: begin writeln; lncnt := lncnt + 1; chrcnt := 0; if lncnt > linelimit then ps := linchk end end (*case*) ; until ps <> run; if ps <> fin then begin writeln; write('0halt at', pc:5, ' because of '); case ps of caschk: writeln('undefined case'); divchk: writeln('division by 0'); inxchk: writeln('invalid index'); stkchk: writeln('storage overflow');  linchk: writeln('too much output'); lngchk: writeln('line too long'); redchk: writeln('reading past end of file'); end ; h1 := b; blkcnt := 10; (*post mortem dump*) repeat writeln; blkcnt := blkcnt - 1; if blkcnt = 0 then h1 := 0; h2 := s[h1+4].i; if h1<>0 then writeln(' ', tab[h2].name, ' called at', s[h1+1].i: 5); h2 := btab[tab[h2].ref].last; while h2 <> 0 do with tab[h2] do begin if obj = variable then if typ in stantyps then begin write(' ', name, ' = '); if normal then h3 := h1+adr else h3 := s[h1+adr].i; case typ of ints: writeln(s[h3].i); reals: writeln(s[h3].r); bools: writeln(s[h3].b); chars: writeln(s[h3].c); end end ; h2 := link end ; h1 := s[h1+3].i until h1 < 0; end ; writeln; writeln(ocnt, ' steps') end (*interpret*) ; pascals.pÙ^ø¤‘»program pascals(input,output); (*1.7.75*) (*$t-,p- n.wirth, e.t.h. clausiusstr.55 ch-8006 zurich *) #include "globals.i" #include "error.i" #include "scanner.i" #include "tables.i" #include "block.i" #include "interpret.i" begin writeln; key[ 1] := 'and '; key[ 2] := 'array '; key[ 3] := 'begin '; key[ 4] := 'case '; key[ 5] := 'const '; key[ 6] := 'div '; key[ 8] := 'downto '; key[ 7] := 'do '; key[ 9] := 'else '; key[10] := 'end '; key[11] := 'for '; key[12] := 'function '; key[13] := 'if '; key[14] := 'mod '; key[15] := 'not '; key[16] := 'of '; key[17] := 'or '; key[18] := 'procedure '; key[19] := 'program '; key[20] := 'record '; key[21] := 'repeat '; key[22] := 'then '; key[23] := 'to '; key[24] := 'type '; key[25] := 'until '; key[26] := 'var '; key[27] := 'while '; ksy[ 1] := andsy; ksy[ 2] := arraysy; ksy[ 3] := beginsy; ksy[ 4] := casesy; ksy[ 5] := constsy; ksy[ 6] := idiv; ksy[ 8] := downtosy; ksy[ 7] := dosy; ksy[ 9] := elsesy; ksy[10] := endsy; ksy[11] := forsy; ksy[12] := functionsy; ksy[13] := ifsy; ksy[14] := imod; ksy[15] := notsy; ksy[16] := ofsy; ksy[17] := orsy; ksy[18] := proceduresy; ksy[19] := programsy; ksy[20] := recordsy; ksy[21] := repeatsy; ksy[22] := thensy; ksy[23] := tosy;  ksy[24] := typesy; ksy[25] := untilsy; ksy[26] := varsy; ksy[27] := whilesy; sps['+'] := plus; sps['-'] := minus; sps['*'] := times; sps['/'] := rdiv; sps['('] := lparent; sps[')'] := rparent; sps['='] := eql; sps[','] := comma; sps['['] := lbrack; sps[']'] := rbrack; sps['#'] := neq; sps['&'] := andsy; sps[';'] := semicolon; constbegsys := [plus,minus,intcon,realcon,charcon,ident]; typebegsys := [ident,arraysy,recordsy]; blockbegsys := [constsy,typesy,varsy,proceduresy,functionsy,beginsy]; facbegsys := [intcon,realcon,charcon,ident,lparent,notsy]; statbegsys := [beginsy,ifsy,whilesy,repeatsy,forsy,casesy]; stantyps := [notyp,ints,reals,bools,chars]; lc := 0; ll := 0; cc := 0; ch := ' '; errpos := 0; errs := []; insymbol; t := -1; a := 0; b := 1; sx := 0; c2 := 0; display[0] := 1; iflag := false; oflag := false; if sy <> programsy then error(3) else begin insymbol; if sy <> ident then error(2) else begin progname := id; insymbol; if sy <> lparent then error(9) else repeat insymbol; if sy <> ident then error(2) else begin if id = 'input ' then iflag := true else if id = 'output ' then oflag := true else error(0); insymbol end until sy <> comma; if sy = rparent then insymbol else error(4); if not oflag then error(20) end end ; enter(' ', variable, notyp, 0); (*sentinel*) enter('false ', konstant, bools, 0); enter('true ', konstant, bools, 1); enter('real ', type1, reals, 1); enter('char ', type1, chars, 1); enter('boolean ', type1, bools, 1); enter('integer ', type1, ints , 1); enter('abs ', funktion, reals,0); enter('sqr ', funktion, reals,2); enter('odd ', funktion, bools,4); enter('chr ', funktion, chars,5); enter('ord ', funktion, ints, 6); enter('succ ', funktion, chars,7); enter('pred ', funktion, chars,8); enter('round ', funktion, ints, 9); enter('trunc ', funktion, ints, 10); enter('sin ', funktion, reals, 11); enter('cos ', funktion, reals, 12); enter('exp ', funktion, reals, 13); enter('ln ', funktion, reals, 14); enter('sqrt ', funktion, reals, 15); enter('arctan ', funktion, reals, 16); enter('eof ', funktion, bools, 17); enter('eoln ', funktion, bools, 18); enter('read ', prozedure, notyp, 1); enter('readln ', prozedure, notyp, 2); enter('write ', prozedure, notyp, 3); enter('writeln ', prozedure, notyp, 4); enter(' ', prozedure, notyp, 0); with btab[1] do begin last := t; lastpar := 1; psize := 0; vsize := 0 end ; block(blockbegsys+statbegsys, false, 1); if sy <> period then error(22); emit(31); (*halt*) if btab[2].vsize > stacksize then error(49); if progname = 'test0 ' then printtables; if errs = [] then begin { must block all of this out for now. if iflag then begin getseg(input); if eof(input) then writeln(' input data missing') else begin writeln(' (eor)'); (*copy input data*) while not eof(input) do begin write(' '); while not eoln(input) do begin read(ch); write(ch) end ; writeln; read(ch) end ; getseg(input,0) end end ; all this because of segmented file repositioning!! } writeln(' (eof)'); interpret end else errormsg; 99: end . eprintpcsÙ^øí�?cd ../s6 ; pr pascals.c ; cd ../pcs pi -nl pascals.p rm -f obj ascanner.iÙ_ø¤‘Ìprocedure nextch; (*read next character; process line end*) begin if cc = ll then begin if eof(input) then begin writeln; writeln(' program incomplete'); errormsg; goto 99 end ; if errpos <> 0 then begin writeln; errpos := 0 end ; write(lc:6, ' '); ll := 0; cc := 0; while not eoln(input) do begin ll := ll+1; read(ch); write(ch); line[ll] := ch end ; writeln; ll := ll+1; read(line[ll]) end ; cc := cc+1; ch := line[cc]; end (*nextch*) ; procedure insymbol; (*reads next symbol*) label 1,2,3; var i,j,k,e: integer; procedure readscale; var s, sign: integer; begin nextch; sign := 1; s := 0; if ch = '+' then nextch else if ch = '-' then begin nextch; sign := -1 end ; while ch in ['0'..'9'] do begin s := 10*s + ord(ch) - ord('0'); nextch end ; e := s*sign + e end (*readscale*) ; procedure adjustscale; var s: integer; d,t: real; begin if k+e > emax then error(21) else if k+e < emin then rnum := 0 else begin s := abs(e); t := 1.0; d := 10.0; repeat while not odd(s) do begin s := s div 2; d := sqr(d) end ; s := s-1; t := d*t until s = 0; if e >= 0 then rnum := rnum*t else rnum := rnum/t end end (*adjustscale*) ; begin (*insymbol*) 1: while (ch = ' ') or (ch = TAB) do nextch; if ch in ['a'..'z'] then begin (*identifier or wordsymbol*) k := 0; id := ' '; repeat if k < alng then begin k := k+1; id[k] := ch end ; nextch until not (ch in ['a'..'z','0'..'9']); i := 1; j := nkw; (*binary search*) repeat k := (i+j) div 2; if id <= key[k] then j := k-1; if id >= key[k] then i := k+1 until i > j;  if i-1 > j then sy := ksy[k] else sy := ident end else if ch in ['0'..'9'] then begin (*number*) k := 0; inum := 0; sy := intcon; repeat inum := inum*10 + ord(ch) - ord('0'); k := k+1; nextch until not (ch in ['0'..'9']); if (k > kmax) or (inum > nmax) then begin error(21); inum := 0; k := 0 end ; if ch = '.' then begin nextch; if ch = '.' then ch := ':' else begin sy := realcon; rnum := inum; e := 0;  while ch in ['0'..'9'] do begin e := e-1; rnum := 10.0*rnum + (ord(ch)-ord('0')); nextch end ; if ch = 'e' then readscale; if e <> 0 then adjustscale end end else if ch = 'e' then begin sy := realcon; rnum := inum; e := 0; readscale; if e <> 0 then adjustscale end ; end else case ch of ':' : begin nextch; if ch = '=' then begin sy := becomes; nextch  end else sy := colon end ; '<' : begin nextch; if ch = '=' then begin sy := leq; nextch end else if ch = '>' then begin sy := neq; nextch end else sy := lss end ; '>' : begin nextch; if ch = '=' then begin sy := geq; nextch end else sy := gtr end ; '.' : begin nextch; if ch = '.' then begin sy := colon; nextch end else sy := period end ; '''': begin k := 0; 2: nextch; if ch = '''' then begin nextch; if ch <> '''' then goto 3 end ; if sx+k = smax then fatal(7); stab[sx+k] := ch; k := k+1; if cc = 1 then begin (*end of line*) k := 0; end else goto 2; 3: if k = 1 then begin sy := charcon; inum := ord(stab[sx]) end else if k = 0 then begin error(38); sy := charcon; inum := 0 end else begin sy := string; inum := sx; sleng := k; sx := sx+k  end end ; '(' : begin nextch; if ch <> '*' then sy := lparent else begin (*comment*) nextch; repeat while ch <> '*' do nextch; nextch until ch = ')'; nextch; goto 1 end end ; '+', '-', '*', '/', ')', '=', ',', '[', ']', '#', '&', ';' : begin sy := sps[ch]; nextch end ; '$', '\', '!', '?', '@', '_', '"', '^' : begin error(24); nextch; goto 1 end end; end (*insymbol*) ; tables.iÙ_ø¤�Ç procedure enter(x0: alfa; x1: object; x2: types; x3: integer); begin t := t+1; (*enter standard identifier*) with tab[t] do begin name := x0; link := t-1; obj := x1; typ := x2; ref := 0; normal := true; lev := 0; adr := x3 end end (*enter*) ; procedure enterarray(tp: types; l,h: integer); begin if l > h then error(27); if (abs(l)>xmax) or (abs(h)>xmax) then begin error(27); l := 0; h := 0; end ; if a = amax then fatal(4) else begin a := a+1; with atab[a] do begin inxtyp := tp; low := l; high := h end end end (*enterarray*) ; procedure enterblock; begin if b = bmax then fatal(2) else begin b := b+1; btab[b].last := 0; btab[b].lastpar := 0 end end (*enterblock*) ; procedure enterreal(x: real); begin if c2 = c2max-1 then fatal(3) else begin rconst[c2+1] := x; c1 := 1; while rconst[c1] <> x do c1 := c1+1; if c1 > c2 then c2 := c1 end end (*enterreal*) ; procedure emit(fct: integer); begin if lc = cmax then fatal(6); code[lc].f := fct; lc := lc+1 end (*emit*) ; procedure emit1(fct,b: integer); begin if lc = cmax then fatal(6); with code[lc] do begin f := fct; y := b end ; lc := lc+1 end (*emit1*) ; procedure emit2(fct,a,b: integer); begin if lc = cmax then fatal(6); with code[lc] do begin f := fct; x := a; y := b end ; lc := lc+1 end (*emit2*) ; procedure printtables; var i: integer; o: order; begin writeln('0identifiers link obj typ ref nrm lev adr'); for i := btab[1].last +1 to t do with tab[i] do writeln(i,' ',name,link:5, ord(obj):5, ord(typ):5, ref:5, ord(normal):5, lev:5, adr:5); writeln('0blocks last lpar psze vsze'); for i := 1 to b do with btab[i] do writeln(i, last:5, lastpar:5, psize:5, vsize:5); writeln('0arrays xtyp etyp eref low high elsz size'); for i := 1 to a do with atab[i] do writeln(i, ord(inxtyp):5, ord(eltyp):5, elref:5, low:5, high:5, elsize:5, size:5); writeln('0code:'); for i := 0 to lc-1 do begin if i mod 5 = 0 then begin writeln; write(i:5) end ; o := code[i]; write(o.f:5); if o.f < 31 then if o.f < 4 then write(o.x:2, o.y:5) else write(o.y:7) else write(' '); write(',') end ; writeln end (*printtables*) ; for i := 1 to a dNovember 13, 1977 This directory contains the source for the Pascal program pascals. It should be put in /usr/lib/pascals, the C program in in ../s6/pascals.c should be put in /usr/bin/pascals... this C driver hunts up "px" and executes the /usr/lib/pascals. For this program to run at any sort of reasonable speed it should be compiled with the options "-p" and "-t" and preferably "-b", i.e.: pi -pbt pascals.p '); write(',') end ; writeln end (*printtables*) ; for i := 1 to a deÿ0.h$¤‘æ:/*define DEBUG */ #define CHAR #define STATIC /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy * University of California, Berkeley (UCB) * Version 1.0 August, 1977 */ /* * Option flags * * The following options are recognized in the text of the program * and also on the command line: * * b block buffer the file output * * i make a listing of the procedures and functions in * the following include files * * l make a listing of the program * * n place each include file on a new page with a header * * p disable post mortem and statement limit counting * * t disable run-time tests * * u card image mode; only first 72 chars of input count * * w suppress special diagnostic warnings * * z generate counters for an execution profile */ #ifdef DEBUG char fulltrace, errtrace, testtrace, yyunique; #endif /* * Each option has a stack of 17 option values, with opts giving * the current, top value, and optstk the value beneath it. * One refers to option `l' as, e.g., opt('l') in the text for clarity. */ char opts[26]; int optstk[26]; #define opt(c) opts[c-'a'] /* * Monflg is set when we are generating * a profile */ char monflg; /* * NOTES ON THE DYNAMIC NATURE OF THE DATA STRUCTURES * * Pi uses expandable tables for * its namelist (symbol table), string table * hash table, and parse tree space. The following * definitions specify the size of the increments * for these items in fundamental units so that * each uses approximately 1024 bytes. */ #define STRINC 1024 /* string space increment */ #define TRINC 512 /* tree space increment */ #define HASHINC 509 /* hash table size in words, each increment */ #define NLINC 56 /* namelist increment size in nl structs */ /* * The initial sizes of the structures. * These should be large enough to compile * an "average" sized program so as to minimize * storage requests. * On a small system or and 11/34 or 11/40 * these numbers can be trimmed to make the * compiler smaller. */ #define ITREE 2000 #define INL 200 #define IHASH 509 /* * The following limits on hash and tree tables currently * allow approximately 1200 symbols and 20k words of tree * space. The fundamental limit of 64k total data space * should be exceeded well before these are full. */ #define MAXHASH 4 #define MAXNL 12 #define MAXTREE 30 #define MAXDEPTH 150 /* * ERROR RELATED DEFINITIONS */ /* * Exit statuses to pexit * * AOK * ERRS Compilation errors inhibit obj productin * NOSTART Errors before we ever got started * DIED We ran out of memory or some such */ #define AOK 0 #define ERRS 1 #define NOSTART 2 #define DIED 3 char Recovery; #define eholdnl() Eholdnl = 1 #define nocascade() Enocascade = 1 char Eholdnl, Enocascade; /* * The flag eflg is set whenever we have a hard error. * The character in errpfx will precede the next error message. * When cgenflg is set code generation is suppressed. * This happens whenver we have an error (i.e. if eflg is set) * and when we are walking the tree to determine types only. */ int eflg; char errpfx; #define setpfx(x) errpfx = x #define standard() setpfx('s') #define warning() setpfx('w') #define recovered() setpfx('e') int cgenflg; /* * The flag syneflg is used to suppress the diagnostics of the form * E 10 a, defined in someprocedure, is neither used nor set * when there were syntax errors in "someprocedure". * In this case, it is likely that these warinings would be spurious. */ char syneflg; /* * The compiler keeps its error messages in a file. * The variable efil is the unit number on which * this file is open for reading of error message text. * Similarly, the file ofil is the unit of the file * "obj" where we write the interpreter code. */ char efil, ofil; int obuf[259]; #define elineoff() Enoline++ #define elineon() Enoline = 0 char Enoline; /* * SYMBOL TABLE STRUCTURE DEFINITIONS * * The symbol table is henceforth referred to as the "namelist". * It consists of a number of structures of the form "nl" below. * These are contained in a number of segments of the symbol * table which are dynamically allocated as needed. * The major namelist manipulation routines are contained in the * file "nl.c". * * The major components of a namelist entry are the "symbol", giving * a pointer into the string table for the string associated with this * entry and the "class" which tells which of the (currently 19) * possible types of structure this is. * * Many of the classes use the "type" field for a pointer to the type * which the entry has. * * Other pieces of information in more than one class include the block * in which the symbol is defined, flags indicating whether the symbol * has been used and whether it has been assigned to, etc. * * A more complete discussion of the features of the namelist is impossible * here as it would be too voluminous. Refer to the "PI 1.0 Implementation * Notes" for more details. */ /* * The basic namelist structure. * There are also two other variants, defining the real * field as longs or integers given below. * * The array disptab defines the hash header for the symbol table. * Symbols are hashed based on the low 6 bits of their pointer into * the string table; see the routines in the file "lookup.c" and also "fdec.c" * especially "funcend". */ struct nl { char *symbol; char class, nl_flags; struct nl *type; struct nl *chain, *nl_next; double real; } nl[], *nlp, *disptab[077+1]; struct { char *symbol; char class, nl_block; struct nl *type; struct nl *chain, *nl_next; long range[2]; }; struct { char *symbol; char class, nl_flags; struct nl *type; struct nl *chain, *nl_next; int value[4]; }; /* * NL FLAGS BITS * * Definitions of the usage of the bits in * the nl_flags byte. Note that the low 5 bits of the * byte are the "nl_block" and that some classes make use * of this byte as a "width". * * The only non-obvious bit definition here is "NFILES" * which records whether a structure contains any files. * Such structures are not allowed to be dynamically allocated. */ #define NPACKED 0200 #define NUSED 0100 #define NMOD 0040 #define NFORWD 0200 #define NFILES 0200 /* * Definition of the commonly used "value" fields. * The most important ones are NL_LOC which gives the location * in the code of a label or procedure, and NL_OFFS which gives * the offset of a variable in its stack mark. */ #define NL_OFFS 0 #define NL_LOC 1 #define NL_FVAR 3 #define NL_GOLEV 2 #define NL_GOLINE 3 #define NL_FORV 1 #define NL_FLDSZ 1 #define NL_VARNT 2 #define NL_VTOREC 2 #define NL_TAG 3 /* * For BADUSE nl structures, NL_KINDS is a bit vector * indicating the kinds of illegal usages complained about * so far. For kind of bad use "kind", "1 << kind" is set. * The low bit is reserved as ISUNDEF to indicate whether * this identifier is totally undefined. */ #define NL_KINDS 0 #define ISUNDEF 1 /* * NAMELIST CLASSES * * The following are the namelist classes. * Different classes make use of the value fields * of the namelist in different ways. * * The namelist should be redesigned by providing * a number of structure definitions with one corresponding * to each namelist class, ala a variant record in Pascal. */ #define BADUSE 0 #define CONST 1 #define TYPE 2 #define VAR 3 #define ARRAY 4 #define PTRFILE 5 #define RECORD 6 #define FIELD 7 #define PROC 8 #define FUNC 9 #define FVAR 10 #define REF 11 #define PTR 12 #define FILE 13 #define SET 14 #define RANGE 15 #define LABEL 16 #define WITHPTR 17 #define SCAL 18 #define STR 19 #define PROG 20 #define IMPROPER 21 #define VARNT 22 /* * Clnames points to an array of names for the * namelist classes. */ char **clnames; /* * PRE-DEFINED NAMELIST OFFSETS * * The following are the namelist offsets for the * primitive types. The ones which are negative * don't actually exist, but are generated and tested * internally. These definitions are sensitive to the * initializations in nl.c. */ #define TFIRST -7 #define TFILE -7 #define TREC -6 #define TARY -5 #define TSCAL -4 #define TPTR -3 #define TSET -2 #define TSTR -1 #define NIL 0 #define TBOOL 1 #define TCHAR 2 #define TINT 3 #define TDOUBLE 4 #define TNIL 5 #define T1INT 6 #define T2INT 7 #define T4INT 8 #define T1CHAR 9 #define T1BOOL 10 #define T8REAL 11 #define TLAST 11 /* * SEMANTIC DEFINITIONS */ /* * NOCON and SAWCON are flags in the tree telling whether * a constant set is part of an expression. */ #define NOCON 0 #define SAWCON 1 /* * The variable cbn gives the current block number, * the variable bn is set as a side effect of a call to * lookup, and is the block number of the variable which * was found. */ int bn, cbn; /* * The variable line is the current semantic * line and is set in stat.c from the numbers * embedded in statement type tree nodes. */ int line; /* * The size of the display * which defines the maximum nesting * of procedures and functions allowed. * Because of the flags in the current namelist * this must be no greater than 32. */ #define DSPLYSZ 20 /* * The following structure is used * to keep track of the amount of variable * storage required by each block. * "Max" is the high water mark, "off" * the current need. Temporaries for "for" * loops and "with" statements are allocated * in the local variable area and these * numbers are thereby changed if necessary. */ struct om { long om_off; long om_max; } sizes[DSPLYSZ]; /* * Structure recording information about a constant * declaration. It is actually the return value from * the routine "gconst", but since C doesn't support * record valued functions, this is more convenient. */ struct { int ctype; int cival; double crval; } con; /* * The set structure records the lower bound * and upper bound with the lower bound normalized * to zero when working with a set. It is set by * the routine setran in var.c. */ struct { int lwrb, uprbp; } set; /* * The following flags are passed on calls to lvalue * to indicate how the reference is to affect the usage * information for the variable being referenced. * MOD is used to set the NMOD flag in the namelist * entry for the variable, ASGN permits diagnostics * to be formed when a for variable is assigned to in * the range of the loop. */ #define NOMOD 0 #define MOD 01 #define ASGN 02 #define NOUSE 04 #define MAXINT 2147483647. #define MININT -2147483648. /* * Variables for generation of profile information. * Monflg is set when we want to generate a profile. * Gocnt record the total number of goto's and * cnts records the current counter for generating * COUNT operators. */ int gocnt; int cnts; /* * Most routines call "incompat" rather than asking "!compat" * for historical reasons. */ #define incompat !compat /* * Parts records which declaration parts have been seen. * The grammar allows the "const" "type" and "var" * parts to be repeated and to be in any order, so that * they can be detected semantically to give better * error diagnostics. */ int parts; #define LPRT 01 #define CPRT 02 #define TPRT 04 #define VPRT 08 /* * Flags for the "you used / instead of div" diagnostic */ char divchk; char divflg; int errcnt[DSPLYSZ]; /* * Forechain links those types which are * ^ sometype * so that they can be evaluated later, permitting * circular, recursive list structures to be defined. */ struct nl *forechain; /* * Withlist links all the records which are currently * opened scopes because of with statements. */ struct nl *withlist; char *intset; char *input, *output; struct nl *program; /* * STRUCTURED STATEMENT GOTO CHECKING * * The variable level keeps track of the current * "structured statement level" when processing the statement * body of blocks. This is used in the detection of goto's into * structured statements in a block. * * Each label's namelist entry contains two pieces of information * related to this check. The first `NL_GOLEV' either contains * the level at which the label was declared, `NOTYET' if the label * has not yet been declared, or `DEAD' if the label is dead, i.e. * if we have exited the level in which the label was defined. * * When we discover a "goto" statement, if the label has not * been defined yet, then we record the current level and the current line * for a later error check. If the label has been already become "DEAD" * then a reference to it is an error. Now the compiler maintains, * for each block, a linked list of the labels headed by "gotos[bn]". * When we exit a structured level, we perform the routine * ungoto in stat.c. It notices labels whose definition levels have been * exited and makes them be dead. For labels which have not yet been * defined, ungoto will maintain NL_GOLEV as the minimum structured level * since the first usage of the label. It is not hard to see that the label * must eventually be declared at this level or an outer level to this * one or a goto into a structured statement will exist. */ int level; struct nl *gotos[DSPLYSZ]; #define NOTYET 10000 #define DEAD 10000 /* * Noreach is true when the next statement will * be unreachable unless something happens along * (like exiting a looping construct) to save * the day. */ int noreach; /* * UNDEFINED VARIABLE REFERENCE STRUCTURES */ struct udinfo { int ud_line; struct udinfo *ud_next; char nullch; }; /* * CODE GENERATION DEFINITIONS */ /* * NSTAND is or'ed onto the abstract machine opcode * for non-standard built-in procedures and functions. */ #define NSTAND 0400 #define codeon() cgenflg++ #define codeoff() --cgenflg /* * Offsets due to the structure of the runtime stack. * DPOFF1 is the amount of fixed storage in each block allocated * as local variables for the runtime system. * DPOFF2 is the size of the block mark. */ #define DPOFF1 0 #define DPOFF2 16 /* * Codeline is the last lino output in the code generator. * It used to be used to suppress LINO operators but no * more since we now count statements. * Lc is the intepreter code location counter. * int codeline; */ char *lc; /* * Routines which need types * other than "integer" to be * assumed by the compiler. */ double atof(); long lwidth(); long aryconst(); long a8tol(); struct nl *lookup(); double atof(); int *tree(); int *hash(); char *alloc(); /* * Funny structures to use * pointers in wild and wooly ways */ struct { char pchar; }; struct { int pint; int pint2; }; struct { long plong; }; struct { double pdouble; }; #define OCT 1 #define HEX 2 /* * MAIN PROGRAM VARIABLES, MISCELLANY */ /* * Variables forming a data base referencing * the command line arguments with the "i" option, e.g. * in "pi -i scanner.i compiler.p". */ char **pflist; int pflstc; int pfcnt; char *filename; /* current source file name */ int tvec[2]; /* mod time of the source file */ char snark[]; /* SNARK */ char *classes[]; /* maps namelist classes to string names */ OPnames.h$¤�µ "", "HALT", "NULL", "NODUMP", "BEG", "END", "CALL", "TRACNT", "PUSH", "POP", "INX4", "SDUP", "IF", "TRA", "LINO", "GOTO", "REL2", "REL4", "REL24", "REL42", "REL8", "RELG", "RELT", 0, "REL28", "REL48",  "REL82", "REL84", "AND", "OR", "NOT", 0, "AS2", "AS4", "AS24", "AS42", "AS8", "INX2P2", "INX4P2", "AS", "AS21", "AS41", "AS28", "AS48", "OFF", "INX2", "NIL", "LV", "ADD2", "ADD4", "ADD24", "ADD42", "ADD28", "ADD48", "ADD82", "ADD84", "SUB2", "SUB4", "SUB24", "SUB42", "SUB28", "SUB48", "SUB82", "SUB84", "MUL2", "MUL4", "MUL24", "MUL42", "MUL28", "MUL48", "MUL82", "MUL84", "ABS2", "ABS4", "ABS8", 0, "ADD8", "SUB8", "MUL8", "DVD8", "DIV2", "DIV4", "DIV24", "DIV42", 0, 0, 0, 0, "MOD2", "MOD4", "MOD24", "MOD42", 0, 0, 0, 0, "NEG2", "NEG4", "NEG8", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "DVD2", "DVD4", "DVD24", "DVD42", "DVD28", "DVD48", "DVD82", "DVD84", "RV1", "RV2", "RV4", "RV8", "IND1", "IND2", "IND4", "IND8", "CON1", "CON2", "CON4", "CON8", "RV", "IND", "CON", 0, "RANG2", "RANG42", "RSNG2", "RSNG42", "RANG4", "RANG24", "RSNG4", "RSNG24", 0, 0, 0, 0, 0, 0, 0, 0, "CONC", "CASEBEG", "CASE1", "CASE2", "CASE4", "CASEEND", "CONG", "ORD2", "CASE1OP", "CASE2OP", "CASE4OP", "PXPBUF", "COUNT", 0, 0, 0, "ADDT", "SUBT", "MULT", "INCT", "CTTOT", "CARD", "IN", "ASRT", "FOR1U", "FOR2U", "FOR4U", "FOR1D", "FOR2D", "FOR4D", "STLIM", "SCLCK", "STOI", "STOD", "ITOD", "ITOS", "BUFF", "WCLCK", "WRHEX2", "WRHEX4", "GET", "PUT", "MESSAGE", "FNIL", "EOF", "EOLN", "RESET", "REWRITE", "REMOVE", "READ4", "UNIT", "READC", "READ8", "UNITINP", "UNITOUT", "READLN", "WRIT2", "WRIT4", "WRITB", "WRITC", "WRIT8", "WRITG", "WRIT82", "WRITLN", "WROCT2", "WROCT4", "FLUSH", "PACK", "UNPACK", "LLIMIT", "ARGC", "ARGV", "CLCK", "SEED", "RANDOM", "DISPOSE", "NEW", "EXPO", "DATE", "TIME", "ATAN", "COS", "EXP", "LN", "SIN", "SQRT", "CHR2", "CHR4", "ODD2", "ODD4", "PRED2", "PRED4", "PRED24", "SUCC2", "SUCC4", "SUCC24", "DEFNAME", "PAGE", "UNDEF", "SQR2", "SQR4", "SQR8", "ROUND", "TRUNC" CVersion.c$$¤�#char version[] "January 18, 1978"; Dato.cëJ¤�§# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" long a8tol(cp) char *cp; { int err; long l; register CHAR c; l = 0; err = 0; while ((c = *cp++) != '\0') { if (c == '8' || c == '9') if (err == 0) { error("8 or 9 in octal number"); err++; } c =- '0'; if (((&l)->pint & 0160000) != 0) if (err == 0) { error("Number too large for this implementation"); err++; } l = (l << 3) | c; } return (l); } /* * Note that the version of atof * used in this compiler does not * (sadly) complain when floating * point numbers are too large. */ rcall.cëJ¤�2# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" #include "opcode.h" /* * Call generates code for calls to * user defined procedures and functions * and is called by proc and funccod. * P is the result of the lookup * of the procedure/function symbol, * and porf is PROC or FUNC. * Psbn is the block number of p. */ call(p, argv, porf, psbn) struct nl *p; int *argv, porf, psbn; { register struct nl *p1, *q; int *r; if (porf == FUNC) /* * Push some space * for the function return type */ put2(O_PUSH, even(-width(p->type))); /* * Loop and process each of * arguments to the proc/func. */ for (p1 = p->chain; p1 != NIL; p1 = p1->chain) { if (argv == NIL) { error("Not enough arguments to %s", p->symbol); return (NIL); } switch (p1->class) { case REF: /* * Var parameter */ r = argv[1]; if (r != NIL && r[0] != T_VAR) { error("Expression given (variable required) for var parameter %s of %s", p1->symbol, p->symbol); break; } q = lvalue(argv[1], MOD); if (q == NIL) break; if (q != p1->type) { error("Parameter type not identical to type of var parameter %s of %s", p1->symbol, p->symbol); break; } break; case VAR: /* * Value parameter */ q = rvalue(argv[1], p1->type); if (q == NIL) break; if (incompat(q, p1->type, argv[1])) { cerror("Expression type clashed with type of value parameter %s of %s", p1->symbol, p->symbol); break; } if (isa(p1->type, "bcsi")) rangechk(p1->type, q); if (q->class != STR) convert(q, p1->type); break; default: panic("call"); } argv = argv[2]; } if (argv != NIL) { error("Too many arguments to %s", p->symbol); rvlist(argv); return (NIL); } put2(O_CALL | psbn << 9, p->value[NL_LOC]); put2(O_POP, p->value[NL_OFFS]-DPOFF2); return (p->type); } rvlist(al) register int *al; { for (; al != NIL; al = al[2]) rvalue(al[1], NIL); } case.cëJ¤�¬ # /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" #include "opcode.h" /* * The structure used to * hold information about * each case label. */ struct ct { long clong; int cline; }; /* * Caseop generates the * pascal case statement code */ caseop(r) int *r; { register struct nl *p; register struct ct *ctab; register *cs; int *cl; double low, high; int *brtab; char *brtab0; char *csend; int w, i, j, m, n; int nr, goc; goc = gocnt; /* * Obtain selector attributes: * p type * w width * low lwb(p) * high upb(p) */ p = rvalue(r[2], NIL); if (p != NIL) { if (isnta(p, "bcsi")) { error("Case selectors cannot be %ss", nameof(p)); p = NIL; } else { cl = p; if (p->class != RANGE) cl = p->type; if (cl == NIL) p = NIL; else { w = width(p); low = cl->range[0]; high = cl->range[1]; } } } /* * Count # of cases */ n = 0; for (cl = r[3]; cl != NIL; cl = cl[2]) { cs = cl[1]; if (cs == NIL) continue; for (cs = cs[2]; cs != NIL; cs = cs[2]) n++; } /* * Allocate case table space */ ctab = i = alloc(n * sizeof *ctab); if (i == -1) { error("Ran out of memory (case)"); pexit(DIED); } /* * Check the legality of the * labels and count the number * of good labels */ m = 0; for (cl = r[3]; cl != NIL; cl = cl[2]) { cs = cl[1]; if (cs == NIL) continue; line = cs[1]; for (cs = cs[2]; cs != NIL; cs = cs[2]) { gconst(cs[1]); if (p == NIL || con.ctype == NIL) continue; if (incompat(con.ctype, p, NIL)) { cerror("Case label type clashed with case selector expression type");  continue; } if (con.crval < low || con.crval > high) { error("Case label out of range"); continue; } ctab[m].clong = con.crval; ctab[m].cline = line; m++; } } /* * Check for duplicate labels */ for (i = 0; i < m; i++) for (j = 0; j < m; j++) if (ctab[i].clong == ctab[j].clong) { if (i == j) continue; if (j < i) break; error("Multiply defined label in case, lines %d and %d", ctab[i].cline, ctab[j].cline); } /* * Put out case operator and * leave space for the * branch table */ if (p != NIL) { put2(O_CASE1OP + (w >> 1), n); brtab = brtab0 = lc; putspace(n * 2); put1(O_CASEBEG); for (i=0; i> 1), ctab[i].clong); put1(O_CASEEND); } csend = getlab(); put2(O_TRA, csend); /* * Free the case * table space. */ free(ctab); /* * Generate code for each * statement. Patch branch * table to beginning of each * statement and follow each * statement with a branch back * to the TRA above. */ nr = 1; for (cl = r[3]; cl != NIL; cl = cl[2]) { cs = cl[1]; if (cs == NIL) continue; if (p != NIL) for (cs = cs[2]; cs != NIL; cs = cs[2]) { patchfil(brtab - 1, lc - brtab0); brtab++; } cs = cl[1]; putcnt(); level++; statement(cs[3]); nr =& noreach; noreach = 0; put2(O_TRA, csend); level--; if (gotos[cbn]) ungoto(); } /* * Patch the termination branch */ patch(csend); noreach = nr; if (goc != gocnt) putcnt(); } clas.cëJ¤�£ # /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" #include "opcode.h" /* * This is the array of class * names for the classes returned * by classify. The order of the * classes is the same as the base * of the namelist, with special * negative index entries for structures, * scalars, pointers, sets and strings * to be collapsed into. */ char *clnxxxx[] { "file", /* -7 TFILE */ "record", /* -6 TREC */ "array", /* -5 TARY */ "scalar", /* -4 TSCAL */ "pointer", /* -3 TPTR */ "set", /* -2 TSET */ "string", /* -1 TSTR */ snark, /* 0 NIL */ "Boolean", /* 1 TBOOL */ "char", /* 2 TCHAR */ "integer", /* 3 TINT */ "real", /* 4 TREAL */ "\"nil\"", /* 5 TNIL */ }; char **clnames &clnxxxx[-(TFIRST)]; /* * Classify takes a pointer * to a type and returns one * of several interesting group * classifications for easy use. */ classify(p1) struct nl *p1; { register struct nl *p; p = p1; swit: if (p == NIL) { nocascade(); return (NIL); } if (p == &nl[TSTR]) return (TSTR); switch (p->class) { case PTR: return (TPTR); case ARRAY: if (p->type == nl+T1CHAR) return (TSTR); return (TARY); case STR: return (TSTR); case SET: return (TSET); case RANGE: p = p->type; goto swit; case TYPE: if (p <= nl+TLAST) return (p - nl); panic("clas2"); case FILE: return (TFILE); case RECORD: return (TREC); case SCAL: return (TSCAL); default: panic("clas"); } } /* * Is p a text file? */ text(p) struct nl *p; { return (p != NIL && p->class == FILE && p->type == nl+T1CHAR); } /* * Scalar returns a pointer to * the the base scalar type of * its argument if its argument * is a SCALar else NIL. */ scalar(p1) struct nl *p1; { register struct nl *p; p = p1; if (p == NIL) return (NIL); if (p->class == RANGE) p = p->type; if (p == NIL) return (NIL); return (p->class == SCAL ? p : NIL); } /* * Isa tells whether p * is one of a group of * namelist classes. The * classes wanted are specified * by the characters in s. * (Note that s would more efficiently, * if less clearly, be given by a mask.) */ isa(p, s) struct nl *p; char *s; { register i; register char *cp; if (p == NIL) return (NIL); /* * map ranges down to * the base type */ if (p->class == RANGE) p = p->type; /* * the following character/class * associations are made: * * s scalar * b Boolean * c character * i integer * d double (real) * t set */ switch (p->class) { case SET: i = TDOUBLE+1; break; case SCAL: i = 0; break; default: i = p - nl; } if (i >= 0 && i <= TDOUBLE+1) { i = "sbcidt"[i]; cp = s; while (*cp) if (*cp++ == i) return (1); } return (NIL); } /* * Isnta is !isa */ isnta(p, s) { return (!isa(p, s)); } /* * "shorthand" */ nameof(p) { return (clnames[classify(p)]); } nowexp(r) int *r; { if (r[0] == T_WEXP) { if (r[2] == NIL) error("Oct/hex allowed only on writeln/write calls"); else error("Width expressions allowed only in writeln/write calls"); return (1); } return (NIL); } const.cëJ¤�« # /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" /* * Const enters the definitions * of the constant declaration * part into the namelist. */ constbeg() { if (parts & (TPRT|VPRT)) error("Constant declarations must precede type and variable declarations"); if (parts & CPRT) error("All constants must be declared in one const part"); parts =| CPRT; } const(cline, cid, cdecl) int cline; char *cid; int *cdecl; { register struct nl *np; line = cline; gconst(cdecl); np = enter(defnl(cid, CONST, con.ctype, con.cival)); np->nl_flags =| NMOD; if (con.ctype == NIL) return; if (isa(con.ctype, "i")) np->range[0] = con.crval; else if (isa(con.ctype, "d")) np->real = con.crval; } constend() {  } /* * Gconst extracts * a constant declaration * from the tree for it. * only types of constants * are integer, reals, strings * and scalars, the first two * being possibly signed. */ gconst(r) int *r; { register struct nl *np; register *cn; char *cp; int negd, sgnd; long ci; con.ctype = NIL; cn = r; negd = sgnd = 0; loop: if (cn == NIL || cn[1] == NIL) return (NIL); switch (cn[0]) { default: panic("gconst"); case T_MINUSC: negd = 1 - negd; case T_PLUSC: sgnd++; cn = cn[1]; goto loop; case T_ID: np = lookup(cn[1]); if (np == NIL) return; if (np->class != CONST) { error("%s is a %s, not a constant as required", cn[1], classes[np->class]); return; } con.ctype = np->type; switch (classify(np->type)) { case TINT: con.crval = np->range[0]; break; case TDOUBLE: con.crval = np->real; break; case TBOOL: case TCHAR: case TSTR: case TSCAL: con.cival = np->value[0]; con.crval = con.cival;  break; case NIL: con.ctype = NIL; return; default: panic("gconst2"); } break; case T_CBINT: con.crval = a8tol(cn[1]); goto restcon; case T_CINT: con.crval = atof(cn[1]); if (con.crval > MAXINT || con.crval < MININT) { error("Constant too large for this implementation"); con.crval = 0; } restcon: ci = con.crval; if (bytes(ci, ci) <= 2) con.ctype = nl+T2INT; else con.ctype = nl+T4INT; break; case T_CFINT: con.ctype = nl+TDOUBLE; con.crval = atof(cn[1]); break; case T_CSTRNG: cp = cn[1]; if (cp[1] == 0) { con.ctype = nl+T1CHAR; con.cival = cp[0]; con.crval = con.cival; break; } con.ctype = nl+TSTR; con.cival = savestr(cp); con.crval = con.cival; break; } if (sgnd) { if (isnta(con.ctype, "id")) error("%s constants cannot be signed", nameof(con.ctype)); else { if (negd) con.crval = -con.crval; ci = con.crval; if (bytes(ci, ci) <= 2) con.ctype = nl+T2INT; }  } } isconst(r) register int *r; { if (r == NIL) return (1); switch (r[0]) { case T_MINUS: r[0] = T_MINUSC; r[1] = r[2]; return (isconst(r[1])); case T_PLUS: r[0] = T_PLUSC; r[1] = r[2]; return (isconst(r[1])); case T_VAR: if (r[3] != NIL) return (0); r[0] = T_ID; r[1] = r[2]; return (1); case T_BINT: r[0] = T_CBINT; r[1] = r[2]; return (1); case T_INT: r[0] = T_CINT; r[1] = r[2]; return (1); case T_FINT: r[0] = T_CFINT; r[1] = r[2]; return (1); case T_STRNG: r[0] = T_CSTRNG; r[1] = r[2]; return (1); } return (0); } rconv.c#°Ù¤�… #include "whoami" #ifdef PI #include "0.h" #include "opcode.h" /* * Convert a p1 into a p2. * Mostly used for different * length integers and "to real" conversions. */ convert(p1, p2) struct nl *p1, *p2; { if (p1 == NIL || p2 == NIL) return; switch (width(p1) - width(p2)) { case -7: case -6: put1(O_STOD); return; case -4: put1(O_ITOD); return; case -3: case -2: put1(O_STOI); return; case -1: case 0: case 1: return; case 2: case 3: put1(O_ITOS); return; default: panic("convert"); } } /* * Compat tells whether * p1 and p2 are compatible * types for an assignment like * context, i.e. value parameters, * indicies for 'in', etc. */ compat(p1, p2, t) struct nl *p1, *p2; { register c1, c2; c1 = classify(p1); if (c1 == NIL) return (NIL); c2 = classify(p2); if (c2 == NIL) return (NIL); switch (c1) { case TBOOL: case TCHAR: if (c1 == c2) return (1); break; case TINT: if (c2 == TINT) return (1); case TDOUBLE: if (c2 == TDOUBLE) return (1); if (c2 == TINT && divflg == 0) { divchk= 1; c1 = classify(rvalue(t, NIL)); divchk = NIL; if (c1 == TINT) { error("Type clash: real is incompatible with integer"); cerror("This resulted because you used '/' which always returns real rather"); cerror("than 'div' which divides integers and returns integers"); divflg = 1; return (NIL); } } break; case TSCAL: if (c2 != TSCAL) break; if (scalar(p1) != scalar(p2)) { error("Type clash: non-identical scalar types"); return (NIL); } return (1); case TSTR: if (c2 != TSTR) break; if (width(p1) != width(p2)) { error("Type clash: unequal length strings"); return (NIL); } return (1); case TNIL: if (c2 != TPTR) break; return (1); case TFILE: if (c1 != c2) break; error("Type clash: files not allowed in this context"); return (NIL); default: if (c1 != c2) break; if (p1 != p2) { error("Type clash: non-identical %s types", clnames[c1]); return (NIL); } if (p1->nl_flags & NFILES) { error("Type clash: %ss with file components not allowed in this context", clnames[c1]); return (NIL); } return (1); } error("Type clash: %s is incompatible with %s", clnames[c1], clnames[c2]); return (NIL); } /* * Rangechk generates code to * check if the type p on top * of the stack is in range for * assignment to a variable * of type q. */ rangechk(p, q) struct nl *p, *q; { register struct nl *rp; register op; int wq, wrp; if (opt('t') == 0) return; rp = p; if (rp == NIL) return; if (q == NIL) return; /* * When op is 1 we are checking length * 4 numbers against length 2 bounds, * and adding it to the opcode forces * generation of appropriate tests. */ op = 0; wq = width(q); wrp = width(rp); op = wq != wrp && (wq == 4 || wrp == 4); if (rp->class == TYPE) rp = rp->type; switch (rp->class) { case RANGE: if (rp->range[0] != 0) { if (wrp <= 2) put3(O_RANG2+op, rp->value[1], rp->value[3]); else if (rp != nl+T4INT) put(5, O_RANG4+op, rp->range[0], rp->range[1]); break; } /* * Range whose lower bounds are * zero can be treated as scalars. */ case SCAL: if (wrp <= 2) put2(O_RSNG2+op, rp->value[3]); else put3(O_RSNG4+op, rp->range[1]); break; default: panic("rangechk"); } } #endif acset.cëJ¤�Æ # /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" #include "opcode.h" /* * Constant set constructor. * settype is the type of the * set if we think that we know it * if not we try our damndest to figure * out what the type should be. */ cset(r, settype, x) int *r; struct nl *settype; int x; { register *e; register struct nl *t, *exptype; int n, *el; if (settype == NIL) { /* * So far we have no indication * of what the set type should be. * We "look ahead" and try to infer * The type of the constant set * by evaluating one of its members. */ e = r[2]; if (e == NIL) return (nl+TSET); /* tenative for [] */ e = e[1]; if (e == NIL) return (NIL); if (e[0] == T_RANG) e = e[1]; codeoff(); t = rvalue(e, NIL); codeon(); if (t == NIL) return (NIL); /* * The type of the set, settype, is * deemed to be a set of the base type * of t, which we call exptype. If, * however, this would involve a * "set of integer", we cop out * and use "intset"'s current scoped * type instead. */ if (isa(t, "r")) { error("Sets may not have 'real' elements"); return (NIL); } if (isnta(t, "bcsi")) { error("Set elements must be scalars, not %ss", nameof(t)); return (NIL); } if (isa(t, "i")) { settype = lookup(intset); if (settype == NIL) panic("intset"); settype = settype->type; if (settype == NIL) return (NIL); if (isnta(settype, "t")) { error("Set default type \"intset\" is not a set"); return (NIL); } exptype = settype->type; } else { exptype = t->type; if (exptype == NIL) return (NIL); if (exptype->class != RANGE) exptype = exptype->type; settype = defnl(0, SET, exptype, 0); } } else { if (settype->class != SET) { /* * e.g string context [1,2] = 'abc' */ error("Constant set involved in non set context"); return (NIL); } exptype = settype->type; } if (x == NIL) put2(O_PUSH, -width(settype)); n = 0; for (el=r[2]; el; el=el[2]) { n++; e = el[1]; if (e == NIL) return (NIL); if (e[0] == T_RANG) { t = rvalue(e[2], NIL); if (t == NIL) { rvalue(e[1], NIL); continue; } if (incompat(t, exptype, e[2])) cerror("Upper bound of element type clashed with set type in constant set"); else convert(t, nl+T2INT); t = rvalue(e[1], NIL); if (t == NIL) continue; if (incompat(t, exptype, e[1])) cerror("Lower bound of element type clashed with set type in constant set"); else convert(t, nl+T2INT); } else { t = rvalue(e, NIL); if (t == NIL) continue; if (incompat(t, exptype, e)) cerror("Element type clashed with set type in constant set"); else convert(t, nl+T2INT); put1(O_SDUP); } } if (x == NIL) { setran(exptype); put(4, O_CTTOT, n, set.lwrb, set.uprbp); } else put1(O_CON2, n); return (settype); } error.cëJ¤�ù# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" #ifdef PXP extern int yyline; extern char errout; #endif char errpfx 'E'; extern int yyline; /* * Panic is called when impossible * (supposedly, anyways) situations * are encountered. #ifdef PI * Panic messages should be short * as they do not go to the message * file. #endif */ panic(s) char *s; { #ifdef DEBUG printf("Snark (%s) line=%d yyline=%d\n", s, line, yyline); #endif #ifdef PXP Perror( "Snark in pxp", s); #endif #ifdef PI Perror( "Snark in pi", s); #endif pexit(DIED); } extern char *errfile; /* * Error is called for * semantic errors and * prints the error and * a line number. */ error(a1, a2, a3, a4) { #ifdef PI char buf[256]; register int i; #endif #ifdef PXP int ofout; #endif if (errpfx == 'w' && opt('w') != 0) return; #ifdef PXP xflush(); ofout = fout[0]; fout[0] = errout; #endif #ifdef PI Enocascade = 0; geterr(a1, buf); a1 = buf; #endif if (line < 0) line = -line; yySsync(); yysetfile(filename); #ifdef PI if (errpfx == ' ') { printf(" "); for (i = line; i >= 10; i =/ 10) putchar(' '); printf("... "); } else if (Enoline) printf(" %c - ", errpfx); else #endif printf("%c %d - ", errpfx, line); printf(a1, a2, a3, a4); if (errpfx == 'E') #ifdef PI eflg++, cgenflg++; #endif #ifdef PXP eflg++; #endif errpfx = 'E'; #ifdef PI if (Eholdnl) Eholdnl = 0; else #endif putchar('\n'); #ifdef PXP xflush(); fout[0] = ofout; #endif } #ifdef PI cerror(a1, a2, a3, a4) { if (Enocascade) return; setpfx(' '); error(a1, a2, a3, a4); } #endif ifdec.cëJ¤‘ +# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" #include "opcode.h" int cntpatch; int nfppatch; /* * Funchdr inserts * declaration of a the * prog/proc/func into the * namelist. It also handles * the arguments and puts out * a transfer which defines * the entry point of a procedure. */ funchdr(r) int *r; { register struct nl *p; register *il, **rl; int *rll; struct nl *cp, *dp, *sp; int o, *pp; if (inpflist(r[2])) { opush('l'); yyretrieve(); /* kludge */ } pfcnt++; line = r[1]; if (r[3] == NIL && (p=lookup1(r[2])) != NIL && bn == cbn) { /* * Symbol already defined * in this block. it is either * a redeclared symbol (error) * or a forward declaration. */ if ((p->class == FUNC || p->class == PROC) && (p->nl_flags & NFORWD) != 0) { /* * Grammar doesnt forbid * types on a resolution * of a forward function * declaration. */ if (p->class == FUNC && r[4]) error("Function type should be given only in forward declaration"); putcnt(); return (p); } } /* * Declare the prog/proc/func */ switch (r[0]) { case T_PROG: if (opt('z')) monflg++; program = p = defnl(r[2], PROG, 0, 0); p->value[3] = r[1]; break; case T_PDEC: if (r[4] != NIL) error("Procedures do not have types, only functions do"); p = enter(defnl(r[2], PROC, 0, 0)); p->nl_flags =| NMOD; break; case T_FDEC: il = r[4]; if (il == NIL) error("Function type must be specified"); else if (il[0] != T_TYID) { il = NIL; error("Function type can be specified only by using a type identifier"); } else il = gtype(il); p = enter(defnl(r[2], FUNC, il, NIL)); p->nl_flags =| NMOD; /* * An arbitrary restriction */ switch (o = classify(p->type)) { case TFILE: case TARY: case TREC: case TSET: case TSTR: warning(); if (opt('s')) standard(); error("Functions should not return %ss", clnames[o]); } break; default: panic("funchdr"); } if (r[0] != T_PROG) { /* * Mark this proc/func as * begin forward declared */ p->nl_flags =| NFORWD; /* * Enter the parameters  * in the next block for * the time being */ if (++cbn >= DSPLYSZ) { error("Procedure/function nesting too deep"); pexit(ERRS); } /* * For functions, the function variable */ if (p->class == FUNC) { cp = defnl(r[2], FVAR, p->type, 0); cp->chain = p; p->value[NL_FVAR] = cp; } /* * Enter the parameters * and compute total size */ cp = sp = p; o = 0; for (rl = r[3]; rl != NIL; rl = rl[2]) { p = NIL; if (rl[1] == NIL) continue; /* * Parametric procedures * don't have types !?! */ if (rl[1][0] != T_PPROC) { rll = rl[1][2]; if (rll[0] != T_TYID) { error("Types for arguments can be specified only by using type identifiers"); p = NIL; } else p = gtype(rll); } for (il = rl[1][1]; il != NIL; il = il[2]) { switch (rl[1][0]) { default: panic("funchdr2"); case T_PVAL: if (p != NIL) { if (p->class == FILE) error("Files cannot be passed by value"); else if (p->nl_flags & NFILES) error("Files cannot be a component of %ss passed by value", nameof(p)); } dp = defnl(il[1], VAR, p, o=- even(width(p))); dp->nl_flags =| NMOD; break; case T_PVAR: dp = defnl(il[1], REF, p, o=- 2); break; case T_PFUNC: case T_PPROC: error("Procedure/function parameters not implemented"); break; } if (dp != NIL) { cp->chain = dp; cp = dp; } } } cbn--; p = sp; p->value[NL_OFFS] = -o+DPOFF2; /* * Correct the naievity * of our above code to * calculate offsets */ for (il = p->chain; il != NIL; il = il->chain) il->value[NL_OFFS] =+ p->value[NL_OFFS]; } else { /* * The wonderful * program statement! */ if (monflg) { cntpatch = put2(O_PXPBUF, 0); nfppatch = put3(NIL, 0, 0); } cp = p; for (rl = r[3]; rl; rl = rl[2]) { if (rl[1] == NIL) continue; dp = defnl(rl[1], VAR, 0, 0); cp->chain = dp; cp = dp; } } /* * Define a branch at * the "entry point" of * the prog/proc/func. */ p->value[NL_LOC] = getlab(); if (monflg) { put2(O_TRACNT, p->value[NL_LOC]); putcnt(); } else put2(O_TRA, p->value[NL_LOC]); return (p); } funcfwd(fp) struct nl *fp; { return (fp); } /* * Funcbody is called * when the actual (resolved) * declaration of a procedure is * encountered. It puts the names * of the (function) and parameters * into the symbol table. */ funcbody(fp) struct nl *fp; { register struct nl *q, *p; cbn++; if (cbn >= DSPLYSZ) { error("Too many levels of function/procedure nesting"); pexit(ERRS); } sizes[cbn].om_off = 0; sizes[cbn].om_max = 0; gotos[cbn] = NIL; errcnt[cbn] = syneflg; parts = NIL; if (fp == NIL) return (NIL); /* * Save the virtual name * list stack pointer so * the space can be freed * later (funcend). */ fp->value[2] = nlp; if (fp->class != PROG) for (q = fp->chain; q != NIL; q = q->chain) enter(q); if (fp->class == FUNC) { /* * For functions, enter the fvar */ enter(fp->value[NL_FVAR]); } return (fp); } struct nl *Fp; int pnumcnt; /* * Funcend is called to * finish a block by generating * the code for the statements. * It then looks for unresolved declarations * of labels, procedures and functions, * and cleans up the name list. * For the program, it checks the * semantics of the program * statement (yuchh). */ funcend(fp, bundle, endline) struct nl *fp; int *bundle; int endline; { register struct nl *p; register int i, b; int var, inp, out, chkref, *blk; struct nl *iop; char *cp; extern int cntstat; cntstat = 0; /* yyoutline(); */ if (program != NIL) line = program->value[3]; blk = bundle[1]; if (fp == NIL) { cbn--; return; } /* * Patch the branch to the * entry point of the function */ patch(fp->value[NL_LOC]); /* * Put out the block entrance code and the block name. * the CONG is overlaid by a patch later! */ var = put1(cbn == 1 && opt('p') == 0 ? O_NODUMP: O_BEG); put3(O_CONG, 8, fp->symbol); put2(NIL, bundle[0]); if (fp->class == PROG) { /* * The glorious buffers option. * 0 = don't buffer output * 1 = line buffer output * 2 = 512 byte buffer output */ if (opt('b') != 1) put1(O_BUFF | opt('b') << 8); inp = 0; out = 0; for (p = fp->chain; p != NIL; p = p->chain) { if (strcmp(p->symbol, "input") == 0) { inp++; continue; } if (strcmp(p->symbol, "output") == 0) { out++; continue; } iop = lookup1(p->symbol); if (iop == NIL || bn != cbn) { error("File %s listed in program statement but not declared", p->symbol); continue; } if (iop->class != VAR) { error("File %s listed in program statement but declared as a %s", p->symbol, classes[iop->class]); continue; } if (iop->type == NIL) continue; if (iop->type->class != FILE) { error("File %s listed in program statement but defined as %s", p->symbol, nameof(iop->type)); continue; } put2(O_LV | bn << 9, iop->value[NL_OFFS]); b = p->symbol; while (b->pchar != '\0') b++; i = b - p->symbol; put3(O_CONG, i, p->symbol); put2(O_DEFNAME | i << 8, text(iop->type) ? 0: width(iop->type->type)); } if (out == 0 && fp->chain != NIL) { recovered(); error("The file output must appear in the program statement file list"); } } /* * Process the prog/proc/func body */ noreach = 0; line = bundle[0]; statlist(blk); if (cbn== 1 && monflg != 0) { patchfil(cntpatch, cnts); patchfil(nfppatch, pfcnt); } if (fp->class == PROG && inp == 0 && (input->nl_flags & (NUSED|NMOD)) != 0) { recovered(); error("Input is used but not defined in the program statement"); } /* * Clean up the symbol table displays and check for unresolves */ line = endline; b = cbn; Fp = fp; chkref = syneflg == errcnt[cbn] && opt('w') == 0; for (i = 0; i <= 077; i++) { for (p = disptab[i]; p != NIL && (p->nl_block & 037) == b; p = p->nl_next) { /* * Check for variables defined * but not referenced */ if (chkref && p->symbol != NIL) switch (p->class) { case FIELD: /* * If the corresponding record is * unused, we shouldn't complain about * the fields. */ default: if ((p->nl_flags & (NUSED|NMOD)) == 0) { warning(); nerror("%s %s is neither used nor set", classes[p->class], p->symbol); break; } /* * If a var parameter is either * modified or used that is enough. */ if (p->class == REF) continue; if ((p->nl_flags & NUSED) == 0) { warning(); nerror("%s %s is never used", classes[p->class], p->symbol); break; } if ((p->nl_flags & NMOD) == 0) { warning(); nerror("%s %s is used but never set", classes[p->class], p->symbol); break; } case LABEL: case FVAR: case BADUSE: break; } switch (p->class) { case BADUSE: cp = "s"; if (p->chain->ud_next == NIL) cp++; eholdnl(); if (p->value[NL_KINDS] & ISUNDEF) nerror("%s undefined on line%s", p->symbol, cp); else nerror("%s improperly used on line%s", p->symbol, cp); pnumcnt = 10; pnums(p->chain); putchar('\n'); break; case FUNC: case PROC: if (p->nl_flags & NFORWD) nerror("Unresolved forward declaration of %s %s", classes[p->class], p->symbol); break; case LABEL: if (p->nl_flags & NFORWD) nerror("label %s was declared but not defined", p->symbol); break; case FVAR: if ((p->nl_flags & NMOD) == 0) nerror("No assignment to the function variable"); break; } } /* * Pop this symbol * table slot */ disptab[i] = p; } put1(O_END); #ifdef DEBUG dumpnl(fp->value[2], fp->symbol); #endif /* * Restore the * (virtual) name list * position */ nlfree(fp->value[2]); /* * Proc/func has been * resolved */ fp->nl_flags =& ~NFORWD; /* * Patch the beg * of the proc/func to * the proper variable size */ i = sizes[cbn].om_max; if (sizes[cbn].om_max < -50000.) nerror("Storage requirement of %ld bytes exceeds hardware capacity", -sizes[cbn].om_max); if (Fp == NIL) elineon(); patchfil(var, i); cbn--; if (inpflist(fp->symbol)) { opop('l'); } } pnums(p) struct udinfo *p; { if (p->ud_next != NIL) pnums(p->ud_next); if (pnumcnt == 0) { printf("\n\t"); pnumcnt = 20; } pnumcnt--; printf(" %d", p->ud_line); } nerror(a1, a2, a3) { if (Fp != NIL) { yySsync(); printf("In %s %s:\n", classes[Fp->class], Fp->symbol); Fp = NIL; elineoff(); } error(a1, a2, a3); } func.cëJ¤‘ù# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" #include "opcode.h" /* * Funccod generates code for * built in function calls and calls * call to generate calls to user * defined functions and procedures. */ funccod(r) int *r; { struct nl *p; register struct nl *p1; register int *al; register op; int argc, *argv; int tr[2], tr2[4]; /* * Verify that the given name * is defined and the name of * a function. */ p = lookup(r[1]); if (p == NIL) { rvlist(r[2]); return (NIL); } if (p->class != FUNC) { error("%s is not a function", p->symbol); rvlist(r[2]); return (NIL); } argv = r[2]; /* * Call handles user defined * procedures and functions */ if (bn != 0) return (call(p, argv, FUNC, bn)); /* * Count the arguments */ argc = 0; for (al = argv; al != NIL; al = al[2]) argc++; /* * Built-in functions have * their interpreter opcode * associated with them. */ op = p->value[0] &~ NSTAND; if (opt('s') && (p->value[0] & NSTAND)) { standard(); error("%s is a nonstandard function", p->symbol); } switch (op) { /* * Parameterless functions */ case O_CLCK: case O_SCLCK: case O_WCLCK: case O_ARGC: if (argc != 0) { error("%s takes no arguments", p->symbol); rvlist(argv); return (NIL); } put1(op); return (nl+T4INT); case O_EOF: case O_EOLN:  if (argc == 0) { argv = tr; tr[1] = tr2; tr2[0] = T_VAR; tr2[2] = input->symbol; tr2[1] = tr2[3] = NIL; argc = 1; } else if (argc != 1) { error("%s takes either zero or one argument", p->symbol); rvlist(argv); return (NIL); } } /* * All other functions take * exactly one argument. */ if (argc != 1) { error("%s takes exactly one argument", p->symbol); rvlist(argv); return (NIL); } /* * Evaluate the argmument */ p1 = rvalue(argv[1], NIL); if (p1 == NIL) return (NIL); switch (op) { case O_EXP: case O_SIN: case O_COS: case O_ATAN: case O_LN: case O_SQRT: case O_RANDOM: case O_EXPO: case O_UNDEF: if (isa(p1, "i")) convert(p1, nl+TDOUBLE); else if (isnta(p1, "d")) { error("%s's argument must be integer or real, not %s", p->symbol, nameof(p1)); return (NIL); } put1(op); if (op == O_UNDEF) return (nl+TBOOL); else if (op == O_EXPO) return (nl+T4INT); else return (nl+TDOUBLE); case O_SEED: if (isnta(p1, "i")) { error("seed's argument must be an integer, not %s", nameof(p1)); return (NIL); } convert(p1, nl+T4INT); put1(op); return (nl+T4INT); case O_ROUND: case O_TRUNC: if (isnta(p1, "d")) { error("%s's argument must be a real, not %s", p->symbol, nameof(p1)); return (NIL); } put1(op); return (nl+T4INT); case O_ABS2: case O_SQR2: if (isa(p1, "d")) { put1(op + O_ABS8-O_ABS2); return (nl+TDOUBLE); } if (isa(p1, "i")) {  put1(op + (width(p1) >> 2)); return (nl+T4INT); } error("%s's argument must be an integer or real, not %s", p->symbol, nameof(p1)); return (NIL); case O_ORD2: if (isa(p1, "bcis")) switch (width(p1)) { case 1: return (nl+T1INT); case 2: return (nl+T2INT); case 4: return (nl+T4INT); } error("ord's argument must be of scalar type, not %s", nameof(p1)); return (NIL); case O_SUCC2: case O_PRED2: if (isa(p1, "bcs")) { put1(op); return (p1); } if (isa(p1, "i")) { if (width(p1) == 2) op =+ O_PRED24-O_PRED2; else op++; put1(op); return (nl+T4INT); } if (isa(p1, "id")) { error("%s is forbidden for reals", p->symbol); return (NIL); } error("%s's argument must be of scalar type, not %s", p->symbol, nameof(p1)); return (NIL); case O_ODD2: if (isnta(p1, "i")) { error("odd's argument must be an integer, not %s", nameof(p1)); return (NIL); } put1(op + (width(p1) >> 2));  return (nl+TBOOL); case O_CHR2: if (isnta(p1, "i")) { error("chr's argument must be an integer, not %s", nameof(p1)); return (NIL); } put1(op + (width(p1) >> 2)); return (nl+TCHAR); case O_CARD: if (isnta(p1, "t")) { error("Argument to card must be a set, not %s", nameof(p1)); return (NIL); } put2(O_CARD, width(p1)); return (nl+T2INT); case O_EOLN: if (!text(p1)) { error("Argument to eoln must be a text file, not %s", nameof(p1)); return (NIL); }  put1(op); return (nl+TBOOL); case O_EOF: if (p1->class != FILE) { error("Argument to eof must be file, not %s", nameof(p1)); return (NIL); } put1(op); return (nl+TBOOL); case 0: error("%s is an unimplemented 6000-3.4 extension", p->symbol); default: panic("func1"); } } gen.cëK¤�î # /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" #include "opcode.h" /* * This array tells the type * returned by an arithmetic * operation. It is indexed * by the logarithm of the * lengths base 2. */ char arret[] { T4INT, T4INT, T4INT, TDOUBLE, T4INT, T4INT, T4INT, TDOUBLE, T4INT, T4INT, T4INT, TDOUBLE, TDOUBLE, TDOUBLE, TDOUBLE, TDOUBLE }; /* * These array of arithmetic and set * operators are indexed by the * tree nodes and is highly dependent * on their order. They thus take * on the flavor of magic. */ int arop[] { 0, O_NEG2, O_MOD2, O_DIV2, O_DVD2, O_MUL2, O_ADD2, O_SUB2, O_REL2, O_REL2, O_REL2, O_REL2, O_REL2, O_REL2 }; int setop[] { O_MULT, O_ADDT, O_SUBT, O_RELT, O_RELT, O_RELT, O_RELT, O_RELT, O_RELT, }; /* * The following array is * used when operating on * two reals since they are * shoved off in a corner in * the interpreter table. */ int ar8op[] { O_DVD8, O_MUL8, O_ADD8, O_SUB8, O_REL8, O_REL8, O_REL8, O_REL8, O_REL8, O_REL8, }; /* * The following arrays, which are linearizations * of two dimensional arrays, are the offsets for * arithmetic, relational and assignment operations * indexed by the logarithms of the argument widths. */ char artab[]{ O_ADD2-O_ADD2, O_ADD2-O_ADD2, O_ADD42-O_ADD2, O_ADD82-O_ADD2, O_ADD2-O_ADD2, O_ADD2-O_ADD2, O_ADD42-O_ADD2, O_ADD82-O_ADD2, O_ADD24-O_ADD2, O_ADD24-O_ADD2, O_ADD4-O_ADD2, O_ADD84-O_ADD2, O_ADD28-O_ADD2, O_ADD28-O_ADD2, O_ADD48-O_ADD2, -1 }; char reltab[] { O_REL2-O_REL2, O_REL2-O_REL2, O_REL42-O_REL2, O_REL82-O_REL2, O_REL2-O_REL2, O_REL2-O_REL2, O_REL42-O_REL2, O_REL82-O_REL2, O_REL24-O_REL2, O_REL24-O_REL2, O_REL4-O_REL2, O_REL84-O_REL2, O_REL28-O_REL2, O_REL28-O_REL2, O_REL48-O_REL2, O_REL8-O_REL2 }; char asgntab[] { O_AS21-O_AS2, O_AS21-O_AS2, O_AS41-O_AS2, -1, O_AS2-O_AS2, O_AS2-O_AS2, O_AS42-O_AS2, -1, O_AS24-O_AS2, O_AS24-O_AS2, O_AS4-O_AS2, -1, O_AS28-O_AS2, O_AS28-O_AS2, O_AS48-O_AS2, O_AS8-O_AS2, }; /* * Gen generates code for assignments, * and arithmetic and string operations * and comparisons. */ gen(p, o, w1, w2) int p, o, w1, w2; { register i, j; int op, off; switch (p) { case O_AS2: case NIL: i = j = -1; /* * Take the log2 of the widths * and linearize them for indexing. * width for indexing. */ do i++; while (w1=>> 1); do j++; while (w2=>> 1); i =<< 2; i =| j; if (p == O_AS2) { put1(O_AS2 + asgntab[i]); return (NIL); } op = arop[o]; if (op == O_REL2) { put1((op + reltab[i]) | (o - T_EQ) << 9); return (nl+TBOOL); } put1(i == 15 ? ar8op[o-T_DIVD] : op | artab[i]); return (op == O_DVD2 && !divchk ? nl+TDOUBLE : nl+arret[i]); case TSTR: put2(O_RELG | (o - T_EQ) << 9, w1); return (nl+TBOOL); case TSET: op = setop[o-T_MULT]; if (op == O_RELT) op =| (o - T_EQ)<<9; put2(op, w1); return (o >= T_EQ ? nl+TBOOL : nl+TSET); default: panic("gen"); } } hash.cëK¤�Ÿ # /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" /* * The definition for the segmented hash tables. */ struct ht { int *ht_low; int *ht_high; int ht_used; } htab[MAXHASH]; /* * This is the array of keywords and their * token values, which are hashed into the table * by inithash. */ struct kwtab yykey[] { "and", YAND, "array", YARRAY, "assert", YASSERT, "begin", YBEGIN, "case", YCASE, "const", YCONST, "div", YDIV, "do", YDO, "downto", YDOWNTO, "else", YELSE, "end", YEND, "file", YFILE, "for", YFOR, "forward", YFORWARD, "function", YFUNCTION, "goto", YGOTO, "if", YIF, "in", YIN, "label", YLABEL, "mod", YMOD, "nil", YNIL, "not", YNOT, "of", YOF, "or", YOR, "packed", YPACKED, "procedure", YPROCEDURE, "program", YPROG, "record", YRECORD, "repeat", YREPEAT, "set", YSET, "then", YTHEN, "to", YTO, "type", YTYPE, "until", YUNTIL, "var", YVAR, "while", YWHILE, "with", YWITH, "oct", YOCT, /* non-standard Pascal */ "hex", YHEX, /* non-standard Pascal */ 0 }; char *lastkey &yykey[sizeof yykey/sizeof yykey[0]]; /* * Inithash initializes the hash table routines * by allocating the first hash table segment using * an already existing memory slot. */ inithash() { register int *ip; static int hshtab[HASHINC]; htab[0].ht_low = hshtab; htab[0].ht_high = &hshtab[HASHINC]; for (ip = yykey; *ip; ip =+ 2) hash(ip[0], 0)[0] = ip; } /* * Hash looks up the s(ymbol) argument * in the string table, entering it if * it is not found. If save is 0, then * the argument string is already in * a safe place. Otherwise, if hash is * entering the symbol for the first time * it will save the symbol in the string * table using savestr. */ int *hash(s, save) char *s; int save; { register int *h; register i; register char *cp; int *sym; struct ht *htp; int sh; /* * The hash function is a modular hash of * the sum of the characters with the sum * doubled before each successive character * is added. */ cp = s; if (cp == NIL) cp = token; /* default symbol to be hashed */ i = 0; while (*cp) i = i*2 + *cp++; sh = (i&077777) % HASHINC; cp = s; if (cp == NIL) cp = token; /* * There are as many as MAXHASH active * hash tables at any given point in time. * The search starts with the first table * and continues through the active tables * as necessary. */ for (htp = htab; htp < &htab[MAXHASH]; htp++) { if (htp->ht_low == NIL) { cp = calloc(2, HASHINC); if (cp == -1) { yerror("Ran out of memory (hash)"); pexit(DIED); } htp->ht_low = cp; htp->ht_high = htp->ht_low + HASHINC; cp = s; if (cp == NIL) cp = token; } h = htp->ht_low + sh; /* * quadratic rehash increment * starts at 1 and incremented * by two each rehash. */ i = 1; do { if (*h == 0) { if (htp->ht_used > (HASHINC * 3)/4) break; htp->ht_used++; if (save != 0) { *h = savestr(cp); } else *h = s; return (h); } sym = *h; if (sym < lastkey && sym >= yykey) sym = *sym; if (sym->pchar == *cp && strcmp(sym, cp) == 0) return (h); h =+ i; i =+ 2; if (h >= htp->ht_high) h =- HASHINC; } while (i < HASHINC); } yerror("Ran out of hash tables"); pexit(DIED); } elab.cëK¤�Ë# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" #include "opcode.h" /* * Label enters the definitions * of the label declaration part * into the namelist. */ label(r) int *r; { register *ll; register struct nl *p, *lp; int l; lp = NIL; if (parts & (CPRT|TPRT|VPRT)) error("Label declarations must precede const, type and var declarations"); if (parts & LPRT) error("All labels must be declared in one label part"); parts =| LPRT; for (ll = r; ll != NIL; ll = ll[2]) { l = getlab(); p = enter(defnl(ll[1], LABEL, 0, l)); /* * Get the label for the eventual target */ p->value[1] = getlab(); p->chain = lp; p->nl_flags =| (NFORWD|NMOD); p->value[NL_GOLEV] = NOTYET; lp = p; /* * This operator is between * the bodies of two procedures * and provides a target for * gotos for this label via TRA. */ putlab(l); put2(O_GOTO | cbn<<9, p->value[1]); } gotos[cbn] = lp; } /* * Gotoop is called when * we get a statement "goto label" * and generates the needed tra. */ gotoop(s) char *s; { register struct nl *p; gocnt++; p = lookup(s); if (p == NIL) return (NIL); put2(O_TRA, p->value[0]); if (bn == cbn) if (p->nl_flags & NFORWD) { if (p->value[NL_GOLEV] == NOTYET) { p->value[NL_GOLEV] = level; p->value[NL_GOLINE] = line; } } else if (p->value[NL_GOLEV] == DEAD) { recovered(); error("Goto %s is into a structured statement", p->symbol); } } /* * Labeled is called when a label * definition is encountered, and * marks that it has been found and * patches the associated GOTO generated * by gotoop. */ labeled(s) char *s; { register struct nl *p; p = lookup(s); if (p == NIL) return (NIL); if (bn != cbn) { error("Label %s not defined in correct block", s); return; } if ((p->nl_flags & NFORWD) == 0) { error("Label %s redefined", s); return; } p->nl_flags =& ~NFORWD; patch(p->value[1]); if (p->value[NL_GOLEV] != NOTYET) if (p->value[NL_GOLEV] < level) { recovered(); error("Goto %s from line %d is into a structured statement", s, p->value[NL_GOLINE]); } p->value[NL_GOLEV] = level; } (lookup.c".æ¤�z# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" /* * Lookup is called to * find a symbol in the * block structure symbol * table and returns a pointer to * its namelist entry. */ struct nl *lookup(s) char *s; { register struct nl *p; register struct udinfo *udp; if (s == NIL) { nocascade(); return (NIL); } p = lookup1(s); if (p == NIL) { error("%s is undefined", s); return (NIL); } if (p->class == FVAR) { p = p->chain; bn--; } return (p); } int flagwas; /* * Lookup1 is an internal lookup. * It is not an error to call lookup1 * if the symbol is not defined. Also * lookup1 will return FVARs while * lookup never will, thus asgnop * calls it when it thinks you are * assigning to the function variable. */ lookup1(s) char *s; { register struct nl *p, *q; register i; if (s == NIL) return (NIL); bn = cbn; /* * We first check the field names * of the currently active with * statements (expensive since they * are not hashed). */ for (p = withlist; p != NIL; p = p->nl_next) { q = p->type; if (q == NIL) continue; if (reclook(q, s) != NIL) /* * Return the WITHPTR, lvalue understands. */ return (p); } /* * Symbol table is a 64 way hash * on the low bits of the character * pointer value. (Simple, but effective) */ i = s & 077; for (p = disptab[i]; p != NIL; p = p->nl_next) if (p->symbol == s && p->class != FIELD && p->class != BADUSE) {  bn = (p->nl_block & 037); flagwas = p->nl_flags; p->nl_flags =| NUSED; return (p); } return (NIL); } lval.cëK¤‘º# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" #include "opcode.h" extern int flagwas; /* * Lvalue computes the address * of a qualified name and * leaves it on the stack. */ lvalue(r, modflag) int *r, modflag; { register struct nl *p; struct nl *firstp, *lastp; register *c, *co; int f, o; /* * Note that the local optimizations * done here for offsets would more * appropriately be done in put. */ int tr[2], trp[3]; if (r == NIL) return (NIL); if (nowexp(r)) return (NIL); if (r[0] != T_VAR) { error("Variable required"); /* Pass mesgs down from pt of call ? */ return (NIL); } firstp = p = lookup(r[2]); if (p == NIL) return (NIL); if (modflag & NOUSE) p->nl_flags = flagwas; if (modflag & MOD) p->nl_flags =| NMOD; /* * Only possibilities for p->class here * are the named classes, i.e. CONST, TYPE * VAR, PROC, FUNC, REF, or a WITHPTR. */ c = r[3]; switch (p->class) { case WITHPTR: /* * Construct the tree implied by * the with statement */ trp[0] = T_LISTPP; trp[1] = tr; trp[2] = r[3]; tr[0] = T_FIELD; tr[1] = r[2]; c = trp; case REF: /* * Obtain the indirect word * of the WITHPTR or REF * as the base of our lvalue */ put2(O_RV2 | bn << 9, p->value[0]); f = 0; /* have an lv on stack */ o = 0; break; case VAR: f = 1; /* no lv on stack yet */ o = p->value[0]; break; default: error("%s %s found where variable required", classes[p->class], p->symbol); return (NIL); } /* * Loop and handle each * qualification on the name */ if (c == NIL && modflag & ASGN && p->value[NL_FORV]) { error("Can't modify the for variable %s in the range of the loop", p->symbol); return (NIL); } for (; c != NIL; c = c[2]) { co = c[1]; if (co == NIL) return (NIL); lastp = p; p = p->type; if (p == NIL) return (NIL); switch (co[0]) { case T_PTR: /* * Pointer qualification. */ lastp->nl_flags =| NUSED; if (p->class != PTR && p->class != FILE) { error("^ allowed only on files and pointers, not on %ss", nameof(p)); goto bad; } if (f) put2(O_RV2 | bn<<9, o); else { if (o) put2(O_OFF, o); put1(O_IND2); } /* * Pointer cannot be * nil and file cannot * be at end-of-file. */ put1(p->class == FILE ? O_FNIL : O_NIL); f = o = 0; continue; case T_ARGL: if (p->class != ARRAY) { if (lastp == firstp) error("%s is a %s, not a function", r[2], classes[firstp->class]); else error("Illegal function qualificiation"); return (NIL); } recovered(); error("Pascal uses [] for subscripting, not ()"); case T_ARY: if (p->class != ARRAY) { error("Subscripting allowed only on arrays, not on %ss", nameof(p)); goto bad; } if (f) put2(O_LV | bn<<9, o); else if (o) put2(O_OFF, o); switch (arycod(p, co[1])) { case 0: return (NIL); case -1: goto bad; } f = o = 0; continue; case T_FIELD: /* * Field names are just * an offset with some * semantic checking. */ if (p->class != RECORD) { error(". allowed only on records, not on %ss", nameof(p)); goto bad; } if (co[1] == NIL) return (NIL);  p = reclook(p, co[1]); if (p == NIL) { error("%s is not a field in this record", co[1]); goto bad; } if (modflag & MOD) p->nl_flags =| NMOD; else p->nl_flags =| NUSED; o =+ p->value[0]; continue; default: panic("lval2"); } } if (f) put2(O_LV | bn<<9, o); else if (o) put2(O_OFF, o); return (p->type); bad: cerror("Error occurred on qualification of %s", r[2]); return (NIL); } /* * Arycod does the * code generation * for subscripting. */ arycod(np, el) struct nl *np; int *el; { register struct nl *p, *ap; int i, d, v, v1; int w; p = np; if (el == NIL) return (0); d = p->value[0]; /* * Check each subscript */ for (i = 1; i <= d; i++) { if (el == NIL) { error("Too few subscripts (%d given, %d required)", i-1, d); return (-1); } p = p->chain; ap = rvalue(el[1], NIL); if (ap == NIL) return (0); if (incompat(ap, p->type, el[1])) { cerror("Array index type incompatible with declared index type"); if (d != 1) cerror("Error occurred on index number %d", i); return (-1); } w = aryconst(np, i); if (opt('t') == 0) switch (w) { case 8: w = 6; case 4: case 2: case 1: put2((width(ap) != 4 ? O_INX2P2 : O_INX4P2) | (w &~ 1) << 7, p->value[1]); el = el[2]; continue; } put(4, width(ap) != 4 ? O_INX2 : O_INX4, w, p->value[1], p->value[3]-p->value[1]); el = el[2]; } if (el != NIL) { do { el = el[2]; i++; } while (el != NIL); error("Too many subscripts (%d given, %d required)", i-1, d); return (-1); } return (1); } main.cëK¤‘# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" /* * This program is described in detail in the "PI 1.0 Implementation Notes" * * This version of pi has been in use at Berkeley since May 1977 * and is very stable, except for the syntactic error recovery which * has just been written. Please report any problems with the error * recovery to the second author at the address given in the file * READ_ME. The second author takes full responsibility for any bugs * in the syntactic error recovery. */ char piusage[] "pi [ -blnpstuw ] [ -i file ... ] name.p"; char pixusage[] "pix [ -blnpstuw ] [ -i file ... ] name.p [ arg ... ]"; char *usageis piusage; char *obj "obj"; /* * Be careful changing errfile and howfile. * There are the "magic" constants 9 and 15 immediately below. */ char *errfile "/usr/lib/pi_strings"; char *howfile "/usr/lib/how_pi\0"; int onintr(); extern int ibuf[259]; extern char *lastname; /* * Main program for pi. * Process options, then call yymain * to do all the real work. */ main(argc, argv) int argc; char *argv[]; { register char *cp; register c; int i; if (argv[0][0] == 'a') errfile =+ 9, howfile =+ 9; if (argv[0][0] == '-' && argv[0][1] == 'o') { obj = &argv[0][2]; usageis = pixusage; howfile[15] = 'x'; ofil = 3; } else { ofil = creat(obj, 0755); if (ofil < 0) { perror(obj); pexit(NOSTART); } } argv++, argc--; if (argc == 0) { i = fork(); if (i == -1) goto usage; if (i == 0) { execl("/bin/cat", "cat", howfile, 0); goto usage; } while (wait(&i) != -1) continue; pexit(NOSTART); } opt('p') = opt('t') = opt('b') = 1; while (argc > 0) { cp = argv[0]; if (*cp++ != '-') break; while (c = *cp++) switch (c) { #ifdef DEBUG case 'c': case 'r': case 'y': togopt(c); continue; case 'C': yycosts(); pexit(NOSTART); case 'A': testtrace++; case 'F': fulltrace++; case 'E': errtrace++; opt('r')++; continue; case 'U': yyunique = 0; continue; #endif case 'b': opt('b') = 2; continue; case 'i': pflist = argv + 1; pflstc = 0; while (argc > 1) { if (dotted(argv[1], 'p')) break; pflstc++, argc--, argv++; } if (pflstc == 0) goto usage; continue; case 'l': case 'n': case 'p': case 's': case 't': case 'u': case 'w': togopt(c); continue; case 'z': monflg++; continue; default: usage: Perror( "Usage", usageis); pexit(NOSTART); } argc--, argv++; } if (argc != 1) goto usage; efil = open(errfile, 0); if (efil < 0) perror(errfile), pexit(NOSTART); filename = argv[0]; if (!dotted(filename, 'p')) { Perror(filename, "Name must end in '.p'"); pexit(NOSTART); } close(0); if (fopen(filename, ibuf) < 0) perror(filename), pexit(NOSTART); if ((signal(2, 1) & 01) == 0) signal(2, onintr); if (opt('l')) { opt('n')++; yysetfile(filename); opt('n')--; } else lastname = filename; yymain(); /* No return */ } /* * Buffer for putchar */ char pcbuf[128]; char *pcbp pcbuf; /* * Line buffered putchar for pi. */ putchar(c) char c; { *pcbp++ = c; if (c == '\n' || pcbp == &pcbuf[sizeof pcbuf-1]) { write(1, &pcbuf, pcbp-pcbuf); pcbp = pcbuf; } } char ugh[] "Fatal error in pi\n"; /* * Exit from the Pascal system. * We throw in an ungraceful termination * message if c > 1 indicating a severe * error such as running out of memory * or an internal inconsistency. */ pexit(c) int c; { if (opt('l') && c != DIED && c != NOSTART) while (getline() != -1) continue; yyflush(); switch (c) { case DIED: write(2, ugh, sizeof ugh); case NOSTART: case ERRS: if (ofil > 0) unlink(obj); break; case AOK: pflush(); break; } exit(c); } onintr() { signal(2, 1); pexit(NOSTART); } /* * Get an error message from the error message file */ geterr(seekpt, buf) int seekpt; char *buf; { if (seek(efil, seekpt, 0) || read(efil, buf, 256) <= 0) perror(errfile), pexit(DIED); } header() { extern char version[]; static char anyheaders; gettime(); if (anyheaders && opt('n')) putchar('\f'); anyheaders++; printf("UNIX Pascal PI -- Version 1.0 (%s)\n\n%s %s\n\n", version, myctime(tvec), filename); } fnl.cëK¤‘Õ&# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "opcode.h" #ifdef PI /* * Array of information about pre-defined, block 0 symbols. */ int *biltins[] { /* * Types */ "boolean", "char", "integer", "real", "_nil", /* dummy name */ 0, /* * Ranges */ TINT, 0177777, 0177600, 0, 0177, TINT, 0177777, 0100000, 0, 077777, TINT, 0100000, 0, 077777, 0177777, TCHAR, 0, 0, 0, 127, TBOOL, 0, 0, 0, 1, TDOUBLE, 0, 0, 0, 0, /* fake for reals */ 0, /* * Built-in composite types */ "Boolean", "intset", "alfa", "text", "input", "output", /* * Built-in constants */ "true", TBOOL, 1, 0, "false", TBOOL, 0, 0, "minint", T4INT, 0100000, 0, "maxint", T4INT, 077777, 0177777, "minchar", T1CHAR, 0, 0, "maxchar", T1CHAR, 0177, 0, "bell", T1CHAR, 07, 0, "tab", T1CHAR, 011, 0, 0, /* * Built-in functions */ "abs", O_ABS2, "arctan", O_ATAN, "card", O_CARD|NSTAND, "chr", O_CHR2, "clock", O_CLCK|NSTAND, "cos", O_COS, "eof", O_EOF, "eoln", O_EOLN, "eos", 0, "exp", O_EXP, "expo", O_EXPO|NSTAND, "ln", O_LN, "odd", O_ODD2, "ord", O_ORD2, "pred", O_PRED2, "round", O_ROUND, "sin", O_SIN, "sqr", O_SQR2, "sqrt", O_SQRT, "succ", O_SUCC2, "trunc", O_TRUNC, "undefined", O_UNDEF|NSTAND, /* * UNIX extensions */ "argc", O_ARGC|NSTAND, "random", O_RANDOM|NSTAND, "seed", O_SEED|NSTAND, "wallclock", O_WCLCK|NSTAND, "sysclock", O_SCLCK|NSTAND, 0, /* * Built-in procedures */ "date", O_DATE|NSTAND, "flush", O_FLUSH|NSTAND, "get",  O_GET, "getseg", 0, "halt", O_HALT|NSTAND, "linelimit", O_LLIMIT|NSTAND, "message", O_MESSAGE|NSTAND, "new", O_NEW, "pack", O_PACK, "page", O_PAGE, "put", O_PUT, "putseg", 0, "read", O_READ4, "readln", O_READLN, "remove", O_REMOVE|NSTAND, "reset", O_RESET, "rewrite", O_REWRITE, "time", O_TIME|NSTAND, "unpack", O_UNPACK, "write", O_WRIT2, "writeln", O_WRITLN, /* * UNIX extensions */ "argv", O_ARGV|NSTAND, "null", O_NULL|NSTAND, "stlimit", O_STLIM|NSTAND, 0, }; /* * NAMELIST SEGMENT DEFINITIONS */ struct nls { struct nl *nls_low; struct nl *nls_high; } ntab[MAXNL], *nlact; struct nl nl[INL]; struct nl *nlp nl; struct nls *nlact ntab; /* * Initnl initializes the first namelist segment and then * uses the array biltins to initialize the name list for * block 0. */ initnl() { register int *q; register struct nl *p; register int i; ntab[0].nls_low = nl; ntab[0].nls_high = &nl[INL]; defnl(0, 0, 0, 0); /* * Fundamental types */ for (q = biltins; *q != 0; q++) hdefnl(*q, TYPE, nlp, 0); q++; /* * Ranges */ while (*q) { p = defnl(0, RANGE, nl+*q, 0); nl[*q++].type = p; for (i = 0; i < 4; i++) p->value[i] = *q++; } q++; /* * Pre-defined composite types */ hdefnl(*q++, TYPE, nl+T1BOOL, 0); enter(defnl((intset = *q++), TYPE, nlp+1, 0)); defnl(0, SET, nlp+1, 0); defnl(0, RANGE, nl+TINT, 0)->value[3] = 127; p= defnl(0, RANGE, nl+TINT, 0); p->value[1] = 1; p->value[3] = 10; defnl(0, ARRAY, nl+T1CHAR, 1)->chain = p; hdefnl(*q++, TYPE, nlp-1, 0); /* "alfa" */ hdefnl(*q++, TYPE, nlp+1, 0); /* "text" */ p= defnl(0, FILE, nl+T1CHAR, 0); p->nl_flags =| NFILES; input = hdefnl(*q++, VAR, p, -2); /* "input" */ output = hdefnl(*q++, VAR, p, -4); /* "output" */ /* * Pre-defined constants */ for (; *q; q =+ 4) hdefnl(q[0], CONST, nl+q[1], q[2])->value[1] = q[3]; /* * Built-in procedures and functions */ for (q++; *q; q =+ 2) hdefnl(q[0], FUNC, 0, q[1]); for (q++; *q; q =+ 2) hdefnl(q[0], PROC, 0, q[1]); } hdefnl(sym, cls, typ, val) { register struct nl *p; if (sym) hash(sym, 0); p = defnl(sym, cls, typ, val); if (sym) enter(p); return (p); } /* * Free up the name list segments * at the end of a statement/proc/func * All segments are freed down to the one in which * p points. */ nlfree(p) struct nl *p; { nlp = p; while (nlact->nls_low > nlp || nlact->nls_high < nlp) { free(nlact->nls_low); nlact->nls_low = NIL; nlact->nls_high = NIL; --nlact; if (nlact < &ntab[0]) panic("nlfree");  } } #endif char VARIABLE[] "variable"; char *classes[] { "undefined", "constant", "type", VARIABLE, "array", "pointer or file", "record", "field", "procedure", "function", VARIABLE, VARIABLE, "pointer", "file", "set", "subrange", "label", "withptr", "scalar", "string", "program", "improper", #ifdef DEBUG "variant", #endif }; char snark[] "SNARK"; #ifdef PI #ifdef DEBUG char *ctext[] { "BADUSE", "CONST", "TYPE", "VAR", "ARRAY", "PTRFILE", "RECORD", "FIELD", "PROC", "FUNC", "FVAR", "REF", "PTR", "FILE", "SET", "RANGE", "LABEL", "WITHPTR", "SCAL", "STR", "PROG", "IMPROPER", "VARNT" }; char *stars "\t***"; /* * Dump the namelist from the * current nlp down to 'to'. * All the namelist is dumped if * to is NIL. */ dumpnl(to, rout) struct nl *to; { register struct nl *p; register int j; struct nls *nlsp; int i, v, head; if (opt('y') == 0) return; if (to != NIL) printf("\n\"%s\" Block=%d\n", rout, cbn); nlsp = nlact; head = NIL; for (p = nlp; p != to;) { if (p == nlsp->nls_low) { if (nlsp == &ntab[0]) break; nlsp--; p = nlsp->nls_high; } p--; if (head == NIL) { printf("\tName\tClass Bn+Flags\tType\tVal\tChn\n"); head++; } printf("%3d:", nloff(p)); if (p->symbol) printf("\t%.7s", p->symbol); else printf(stars); if (p->class) printf("\t%s", ctext[p->class]); else printf(stars); if (p->nl_flags) { putchar('\t'); if (p->nl_flags & 037) printf("%d ", p->nl_flags & 037); if (p->nl_flags & NMOD) putchar('M'); if (p->nl_flags & NUSED) putchar('U'); if (p->nl_flags & NFILES) putchar('F'); } else printf(stars); if (p->type) printf("\t[%d]", nloff(p->type)); else printf(stars); v = p->value[0]; switch (p->class) { case TYPE: break; case VARNT: goto con; case CONST: switch (nloff(p->type)) { default: printf("\t%d", v); break; case TDOUBLE: printf("\t%f", p->real); break; case TINT: con: printf("\t%ld", p->range[0]); break; case TSTR: printf("\t'%s'", v); break; } break; case VAR: case REF: case WITHPTR: printf("\t%d,%d", cbn, v); break; case SCAL: case RANGE: printf("\t%ld..%ld", p->range[0], p->range[1]); break; case RECORD: printf("\t%d(%d)", v, p->value[NL_FLDSZ]); break; case FIELD: printf("\t%d", v); break; case STR: printf("\t\"%s\"", p->value[1]); goto casedef; case FVAR: case FUNC: case PROC: case PROG: if (cbn == 0) { printf("\t<%o>", p->value[0] & 0377); if (p->value[0] & NSTAND) printf("\tNSTAND"); break; } v = p->value[1]; default: casedef: if (v) printf("\t<%d>", v); else printf(stars); } if (p->chain) printf("\t[%d]", nloff(p->chain)); switch (p->class) { case RECORD: if (p->value[NL_VARNT]) printf("\tVARNT=[%d]", nloff(p->value[NL_VARNT])); if (p->value[NL_TAG]) printf(" TAG=[%d]", nloff(p->value[NL_TAG])); break; case VARNT: printf("\tVTOREC=[%d]", nloff(p->value[NL_VTOREC])); break; } putchar('\n'); } if (head == 0) printf("\tNo entries\n"); } #endif /* * Define a new name list entry * with initial symbol, class, type * and value[0] as given. A new name * list segment is allocated to hold * the next name list slot if necessary. */ defnl(sym, cls, typ, val) char *sym; int cls; struct nl *typ; int val; { register struct nl *p; register int *q, i; char *cp;  p = nlp; /* * Zero out this entry */ q = p; i = (sizeof *p)/2; do *q++ = 0; while (--i); /* * Insert the values */ p->symbol = sym; p->class = cls; p->type = typ; p->nl_block = cbn; p->value[0] = val; /* * Insure that the next namelist * entry actually exists. This is * really not needed here, it would * suffice to do it at entry if we * need the slot. It is done this * way because, historically, nlp * always pointed at the next namelist * slot. */ nlp++; if (nlp >= nlact->nls_high) { i = NLINC; cp = alloc(NLINC * sizeof *nlp); if (cp == -1) { i = NLINC / 2; cp = alloc((NLINC / 2) * sizeof *nlp); } if (cp == -1) { error("Ran out of memory (defnl)"); pexit(DIED); } nlact++; if (nlact >= &ntab[MAXNL]) { error("Ran out of name list tables"); pexit(DIED); } nlp = cp; nlact->nls_low = nlp; nlact->nls_high = nlact->nls_low + i; } return (p); } /* * Make a duplicate of the argument * namelist entry for, e.g., type * declarations of the form 'type a = b' * and array indicies. */ nlcopy(p) struct nl *p; { register int *p1, *p2, i; p1 = p; p = p2 = defnl(0, 0, 0, 0); i = (sizeof *p)/2; do *p2++ = *p1++; while (--i); return (p); } /* * Compute a namelist offset */ nloff(p) struct nl *p; { return (p - nl); } /* * Enter a symbol into the block * symbol table. Symbols are hashed * 64 ways based on low 6 bits of the * character pointer into the string * table. */ enter(np) struct nl *np; { register struct nl *rp, *hp; register struct nl *p; int i; rp = np; if (rp == NIL) return (NIL); if (cbn > 0) if (rp->symbol == input->symbol || rp->symbol == output->symbol) error("Pre-defined files input and output must not be redefined"); i = rp->symbol; i =& 077; hp = disptab[i]; if (rp->class != BADUSE && rp->class != FIELD) for (p = hp; p != NIL && (p->nl_block & 037) == cbn; p = p->nl_next) if (p->symbol == rp->symbol && p->class != BADUSE && p->class != FIELD) { error("%s is already defined in this block", rp->symbol); break; } rp->nl_next = hp; disptab[i] = rp; return (rp); } #endif opcode.h$¤�¢/* * operations */ #define O_HALT 01 #define O_NULL 02 #define O_NODUMP 03 #define O_BEG 04 #define O_END 05 #define O_CALL 06 #define O_TRACNT 07 #define O_PUSH 010 #define O_POP 011 #define O_INX4 012 #define O_SDUP 013 #define O_IF 014 #define O_TRA 015 #define O_LINO 016 #define O_GOTO 017 #define O_REL2 020 #define O_REL4 021 #define O_REL24 022 #define O_REL42 023 #define O_REL8 024 #define O_RELG 025 #define O_RELT 026 #define O_REL28 030 #define O_REL48 031 #define O_REL82 032 #define O_REL84 033 #define O_AND 034 #define O_OR 035 #define O_NOT 036 #define O_AS2 040 #define O_AS4 041 #define O_AS24 042 #define O_AS42 043 #define O_AS8 044 #define O_INX2P2 045 #define O_INX4P2 046 #define O_AS 047 #define O_AS21 050 #define O_AS41 051 #define O_AS28 052 #define O_AS48 053 #define O_OFF 054 #define O_INX2 055 #define O_NIL 056 #define O_LV 057 #define O_ADD2 060 #define O_ADD4 061 #define O_ADD24 062 #define O_ADD42 063 #define O_ADD28 064 #define O_ADD48 065 #define O_ADD82 066 #define O_ADD84 067 #define O_SUB2 070 #define O_MUL2 0100 #define O_ABS2 0110 #define O_ABS8 0112 #define O_ADD8 0114 #define O_SUB8 0115 #define O_MUL8 0116 #define O_DVD8 0117 #define O_DIV2 0120 #define O_MOD2 0130 #define O_NEG2 0140 #define O_NEG8 0142 #define O_DVD2 0160 #define O_RV1 0170 #define O_RV2 0171 #define O_RV4 0172 #define O_RV8 0173 #define O_IND1 0174 #define O_IND2 0175 #define O_CON1 0200 #define O_CON2 0201 #define O_CON4 0202 #define O_CON8 0203 #define O_RV 0204 #define O_IND 0205 #define O_CON 0206 #define O_RANG2 0210 #define O_RANG42 0211 #define O_RSNG2 0212 #define O_RSNG42 0213 #define O_RANG4 0214 #define O_RSNG4 0216 #define O_RSNG24 0217 #define O_CONC 0230 #define O_CASEBEG 0231 #define O_CASE1 0232 #define O_CASE2 0233 #define O_CASE4 0234 #define O_CASEEND 0235 #define O_CONG 0236 #define O_ORD2 0237 #define O_CASE1OP 0240 #define O_CASE2OP 0241 #define O_CASE4OP 0242 #define O_PXPBUF 0243 #define O_COUNT 0244 #define O_ADDT 0250 #define O_SUBT 0251 #define O_MULT 0252 #define O_INCT 0253 #define O_CTTOT 0254 #define O_CARD 0255 #define O_IN 0256 #define O_ASRT 0257 #define O_FOR1U 0260 #define O_FOR2U 0261 #define O_FOR4U 0262 #define O_FOR1D 0263 #define O_FOR2D 0264 #define O_FOR4D 0265 #define O_STLIM 0266 #define O_SCLCK 0267 #define O_STOI 0270 #define O_STOD 0271 #define O_ITOD 0272 #define O_ITOS 0273 #define O_BUFF 0274 #define O_WCLCK 0275 #define O_WRHEX2 0276 #define O_GET 0300 #define O_PUT 0301 #define O_MESSAGE 0302 #define O_FNIL 0303 #define O_EOF 0304 #define O_EOLN 0305 #define O_RESET 0306 #define O_REWRITE 0307 #define O_REMOVE 0310 #define O_READ4 0311 #define O_UNIT 0312 #define O_READC 0313 #define O_READ8 0314 #define O_UNITINP 0315 #define O_UNITOUT 0316 #define O_READLN 0317 #define O_WRIT2 0320 #define O_WRIT4 0321 #define O_WRITB 0322 #define O_WRITC 0323 #define O_WRIT8 0324 #define O_WRITG 0325 #define O_WRIT82 0326 #define O_WRITLN 0327 #define O_WROCT2 0330 #define O_FLUSH 0332 #define O_PACK 0333 #define O_UNPACK 0334 #define O_LLIMIT 0335 #define O_ARGC 0336 #define O_ARGV 0337 #define O_CLCK 0340 #define O_SEED 0341 #define O_RANDOM 0342 #define O_DISPOSE 0343 #define O_NEW 0344 #define O_EXPO 0345 #define O_DATE 0346 #define O_TIME 0347 #define O_ATAN 0350 #define O_COS 0351 #define O_EXP 0352 #define O_LN 0353 #define O_SIN 0354 #define O_SQRT 0355 #define O_CHR2 0356 #define O_ODD2 0360 #define O_PRED2 0362 #define O_PRED24 0364 #define O_SUCC2 0365 #define O_DEFNAME 0370 #define O_PAGE 0371 #define O_UNDEF 0372 #define O_SQR2 0373 #define O_ROUND 0376 #define O_TRUNC 0377 proc.c"'\¤‘ÍA# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" #include "opcode.h" /* * The following arrays are used to determine which classes may be * read and written to/from text files. * They are indexed by the return types from classify. */ #define rdops(x) rdxxxx[(x)-(TFIRST)] #define wrops(x) wrxxxx[(x)-(TFIRST)] int rdxxxx[] { 0, /* -7 file types */ 0, /* -6 record types */ 0, /* -5 array types */ 0, /* -4 scalar types */ 0, /* -3 pointer types */ 0, /* -2 set types */ 0, /* -1 string types */ 0, /* 0 nil - i.e. no type */ 0, /* 1 booleans */ O_READC, /* 2 character */ O_READ4, /* 3 integer */ O_READ8 /* 4 real */ }; int wrxxxx[] { 0, /* -7 file types */ 0, /* -6 record types */ 0, /* -5 array types */ 0, /* -4 scalar types */ 0, /* -3 pointer types */ 0, /* -2 set types */ O_WRITG, /* -1 string types */ 0, /* 0 nil - i.e. no type */ O_WRITB, /* 1 booleans */ O_WRITC, /* 2 character */ O_WRIT4, /* 3 integer */ O_WRIT8, /* 4 real */ }; /* * Proc handles procedure calls. * Non-builtin procedures are "buck-passed" to func (with a flag * indicating that they are actually procedures. * builtin procedures are handled here. */ proc(r) int *r; { register struct nl *p; register int *al, op; struct nl *filetype, *ap; int argc, *argv, c, two, oct, hex, *file; int pu; int *pua, *pui, *puz; int i, j, k; /* * Verify that the name is * defined and is that of a * procedure. */ p = lookup(r[2]); if (p == NIL) { rvlist(r[3]); return; } if (p->class != PROC) { error("Can't call %s, its %s not a procedure", p->symbol, classes[p->class]); rvlist(r[3]); return; } argv = r[3]; /* * Call handles user defined * procedures and functions. */ if (bn != 0) { call(p, argv, PROC, bn); return; } /* * Call to built-in procedure. * Count the arguments. */ argc = 0; for (al = argv; al != NIL; al = al[2]) argc++; /* * Switch on the operator * associated with the built-in * procedure in the namelist */ op = p->value[0] &~ NSTAND; if (opt('s') && (p->value[0] & NSTAND)) { standard(); error("%s is a nonstandard procedure", p->symbol); } switch (op) { case O_NULL: if (argc != 0) error("null takes no arguments"); return; case O_FLUSH: if (argc == 0) { put1(O_MESSAGE); return; } if (argc != 1) { error("flush takes at most one argument"); return; } ap = rvalue(argv[1], NIL); if (ap == NIL) return; if (ap->class != FILE) { error("flush's argument must be a file, not %s", nameof(ap)); return; } put1(op); return; case O_MESSAGE: case O_WRIT2: case O_WRITLN: /* * Set up default file "output"'s type */ file = NIL; filetype = nl+T1CHAR; /* * Determine the file implied * for the write and generate * code to make it the active file. */ if (op == O_MESSAGE) { /* * For message, all that matters * is that the filetype is * a character file. * Thus "output" will suit us fine. */ put1(O_MESSAGE); } else if (argv != NIL && (al = argv[1])[0] != T_WEXP) { /* * If there is a first argument which has * no write widths, then it is potentially * a file name. */ codeoff(); ap = rvalue(argv[1], NIL); codeon(); if (ap == NIL) argv = argv[2]; if (ap != NIL && ap->class == FILE) { /* * Got "write(f, ...", make * f the active file, and save * it and its type for use in * processing the rest of the * arguments to write. */ file = argv[1]; filetype = ap->type; rvalue(argv[1], NIL); put1(O_UNIT); /*  * Skip over the first argument */ argv = argv[2]; argc--; } else /* * Set up for writing on * standard output. */ put1(O_UNITOUT); } else put1(O_UNITOUT); /* * Loop and process each * of the arguments. */ for (; argv != NIL; argv = argv[2]) { al = argv[1]; if (al == NIL) continue; /* * Op will be used to * accumulate width information, * and two records the fact * that we saw two write widths */ op = 0; two = 0; oct = 0; hex = 0; if (al[0] == T_WEXP) { if (filetype != nl+T1CHAR) { error("Write widths allowed only with text files"); continue; } /* * Handle width expressions. * The basic game here is that width * expressions get evaluated and left * on the stack and their width's get * packed into the high byte of the * affected opcode (subop). */ if (al[3] == OCT) oct++; else if (al[3] == HEX) hex++; else if (al[3] != NIL) { two++; /* * Arrange for the write * opcode that takes two widths */ op =| O_WRIT82-O_WRIT8; ap = rvalue(al[3], NIL); if (ap == NIL) continue; if (isnta(ap, "i")) { error("Second write width must be integer, not %s", nameof(ap)); continue; } op =| even(width(ap)) << 11; } if (al[2] != NIL) { ap = rvalue(al[2], NIL); if (ap == NIL) continue; if (isnta(ap, "i")) { error("First write width must be integer, not %s", nameof(ap)); continue; } op =| even(width(ap)) << 8; } al = al[1]; if (al == NIL) continue; } if (filetype != nl+T1CHAR) { if (oct || hex) { error("Oct/hex allowed only on text files"); continue; } if (op) { error("Write widths allowed only on text files"); continue; } /* * Generalized write, i.e. * to a non-textfile. */ rvalue(file, NIL); put1(O_FNIL); /* * file^ := ... */ ap = rvalue(argv[1], NIL); if (ap == NIL) continue; if (incompat(ap, filetype, argv[1])) { cerror("Type mismatch in write to non-text file"); continue; } convert(ap, filetype); put2(O_AS, width(filetype)); /* * put(file) */ put1(O_PUT); continue; } /* * Write to a textfile * * Evaluate the expression * to be written. */ ap = rvalue(al, NIL); if (ap == NIL) continue; c = classify(ap); if (two && c != TDOUBLE) { if (isnta(ap, "i")) { error("Only reals can have two write widths"); continue; } convert(ap, nl+TDOUBLE); c = TDOUBLE; } if (oct || hex) { if (opt('s')) { standard(); error("Oct and hex are non-standard"); } switch (c) { case TREC: case TARY: case TFILE: case TSTR: case TSET: case TDOUBLE: error("Can't write %ss with oct/hex", clnames[c]); continue; } put1(op | (oct ? O_WROCT2 : O_WRHEX2) | (width(ap) >> 2)); continue; } if (wrops(c) == NIL) { error("Can't write %ss to a text file", clnames[c]); continue; } if (c == TINT && width(ap) != 4) op =| O_WRIT2; else op =| wrops(c); if (c == TSTR) put2(op, width(ap)); else put1(op); } /* * Done with arguments. * Handle writeln and * insufficent number of args. */ switch (p->value[0] &~ NSTAND) { case O_WRIT2: if (argc == 0) error("Write requires an argument"); break; case O_MESSAGE: if (argc == 0) error("Message requires an argument"); case O_WRITLN: if (filetype != nl+T1CHAR) error("Can't 'writeln' a non text file"); put1(O_WRITLN); break; } return; case O_READ4: case O_READLN: /* * Set up default * file "input". */ file = NIL; filetype = nl+T1CHAR; /* * Determine the file implied * for the read and generate * code to make it the active file. */ if (argv != NIL) { codeoff(); ap = rvalue(argv[1], NIL); codeon(); if (ap == NIL) argv = argv[2]; if (ap != NIL && ap->class == FILE) { /* * Got "read(f, ...", make * f the active file, and save * it and its type for use in * processing the rest of the * arguments to read. */ file = argv[1]; filetype = ap->type; rvalue(argv[1], NIL); put1(O_UNIT); argv = argv[2]; argc--; } else { /* * Default is read from * standard input. */ put1(O_UNITINP); input->nl_flags =| NUSED;  } } else { put1(O_UNITINP); input->nl_flags =| NUSED; } /* * Loop and process each * of the arguments. */ for (; argv != NIL; argv = argv[2]) { /* * Get the address of the target * on the stack. */ al = argv[1]; if (al == NIL) continue; if (al[0] != T_VAR) { error("Arguments to %s must be variables, not expressions", p->symbol); continue; } ap = lvalue(al, MOD|ASGN|NOUSE); if (ap == NIL) continue; if (filetype != nl+T1CHAR) { /* * Generalized read, i.e. * from a non-textfile. */ if (incompat(filetype, ap, NIL)) { error("Type mismatch in read from non-text file"); continue; } /* * var := file ^; */ if (file != NIL) rvalue(file, NIL); else /* Magic */ put2(O_RV2, input->value[0]); put1(O_FNIL); put2(O_IND, width(filetype)); convert(filetype, ap); if (isa(ap, "bsci")) rangechk(ap, ap); put2(O_AS, width(ap)); /* * get(file); */ put1(O_GET); continue; } c = classify(ap); op = rdops(c); if (op == NIL) { error("Can't read %ss from a text file", clnames[c]); continue; } put1(op); /* * Data read is on the stack. * Assign it. */ if (op != O_READ8) rangechk(ap, op == O_READC ? ap : nl+T4INT); gen(O_AS2, O_AS2, width(ap), op == O_READ8 ? 8 : op == O_READ4 ? 4 : 2); } /* * Done with arguments. * Handle readln and * insufficient number of args. */ if (p->value[0] == O_READLN) { if (filetype != nl+T1CHAR) error("Can't 'readln' a non text file"); put1(O_READLN); } else if (argc == 0) error("read requires an argument"); return; case O_GET: case O_PUT: if (argc != 1) { error("%s expects one argument", p->symbol); return; } ap = rvalue(argv[1], NIL); if (ap == NIL) return; if (ap->class != FILE) { error("Argument to %s must be a file, not %s", p->symbol, nameof(ap)); return; } put1(O_UNIT); put1(op); return; case O_RESET: case O_REWRITE: if (argc == 0 || argc > 2) { error("%s expects one or two arguments", p->symbol); return; } if (opt('s') && argc == 2) { standard(); error("Two argument forms of reset and rewrite are non-standard"); } ap = lvalue(argv[1], MOD|NOUSE); if (ap == NIL) return; if (ap->class != FILE) { error("First argument to %s must be a file, not %s", p->symbol, nameof(ap)); return; } if (argc == 2) { /* * Optional second argument * is a string name of a * UNIX file to be associated. */ al = argv[2]; al = rvalue(al[1], NIL); if (al == NIL) return; if (classify(al) != TSTR) { error("Second argument to %s must be a string, not %s", p->symbol, nameof(al)); return; } c = width(al); } else c = 0; if (c > 127) { error("File name too long"); return; } put2(op | c << 8, text(ap) ? 0: width(ap->type)); return; case O_NEW: case O_DISPOSE: if (argc == 0) { error("%s expects at least one argument", p->symbol); return; } ap = lvalue(argv[1], MOD|NOUSE); if (ap == NIL) return; if (ap->class != PTR) { error("(First) argument to %s must be a pointer, not %s", p->symbol, nameof(ap)); return; } ap = ap->type; if (ap == NIL) return; argv = argv[2]; if (argv != NIL) { if (ap->class != RECORD) { error("Record required when specifying variant tags"); return; } for (; argv != NIL; argv = argv[2]) { if (ap->value[NL_VARNT] == NIL) { error("Too many tag fields"); return; } if (!isconst(argv[1])) { error("Second and successive arguments to %s must be constants", p->symbol); return; } gconst(argv[1]); if (con.ctype == NIL) return; if (incompat(con.ctype, ap->value[NL_TAG]->type)) { cerror("Specified tag constant type clashed with variant case selector type"); return; } for (ap = ap->value[NL_VARNT]; ap != NIL; ap = ap->chain) if (ap->range[0] == con.crval) break; if (ap == NIL) { error("No variant case label value equals specified constant value"); return; } ap = ap->value[NL_VTOREC]; } } put2(op, width(ap)); return; case O_DATE: case O_TIME: if (argc != 1) { error("%s expects one argument", p->symbol); return; } ap = lvalue(argv[1], MOD|NOUSE); if (ap == NIL) return; if (classify(ap) != TSTR || width(ap) != 10) { error("Argument to %s must be a alfa, not %s", p->symbol, nameof(ap)); return; } put1(op); return; case O_HALT: if (argc != 0) { error("halt takes no arguments"); return; } put1(op); noreach = 1; return; case O_ARGV: if (argc != 2) { error("argv takes two arguments"); return; } ap = rvalue(argv[1], NIL); if (ap == NIL) return; if (isnta(ap, "i")) { error("argv's first argument must be an integer, not %s", nameof(ap)); return; } convert(ap, nl+T2INT); al = argv[2]; ap = lvalue(al[1], MOD|NOUSE); if (ap == NIL) return; if (classify(ap) != TSTR) { error("argv's second argument must be a string, not %s", nameof(ap)); return; } put2(op, width(ap)); return; case O_STLIM: if (argc != 1) { error("stlimit requires one argument"); return; } ap = rvalue(argv[1], NIL); if (ap == NIL) return; if (isnta(ap, "i")) { error("stlimit's argument must be an integer, not %s", nameof(ap)); return; } if (width(ap) != 4) put1(O_STOI); put1(op); return; case O_REMOVE: if (argc != 1) { error("remove expects one argument"); return;  } ap = rvalue(argv[1], NIL); if (ap == NIL) return; if (classify(ap) != TSTR) { error("remove's argument must be a string, not %s", nameof(ap)); return; } put2(op, width(ap)); return; case O_LLIMIT: if (argc != 2) { error("linelimit expects two arguments"); return; } ap = lvalue(argv[1], NOMOD|NOUSE); if (ap == NIL) return; if (!text(ap)) { error("linelimit's first argument must be a text file, not %s", nameof(ap)); return; } al = argv[2]; ap = rvalue(al[1], NIL); if (ap == NIL) return; if (isnta(ap, "i")) { error("linelimit's second argument must be an integer, not %s", nameof(ap)); return; } convert(ap, nl+T2INT); put1(op); return; case O_PAGE: if (argc != 1) { error("page expects one argument"); return; } ap = rvalue(argv[1], NIL); if (ap == NIL) return; if (!text(ap)) { error("Argument to page must be a text file, not %s", nameof(ap)); return; } put1(O_UNIT); put1(op); return; case O_PACK: if (argc != 3) { error("pack expects three arguments"); return; } pu = "pack(a,i,z)"; pua = (al = argv)[1]; pui = (al = al[2])[1]; puz = (al = al[2])[1]; goto packunp; case O_UNPACK: if (argc != 3) { error("unpack expects three arguments"); return; } pu = "unpack(z,a,i)"; puz = (al = argv)[1]; pua = (al = al[2])[1]; pui = (al = al[2])[1]; packunp: ap = rvalue(pui, NIL); if (ap == NIL) return; if (width(ap) == 4) put1(O_ITOS); ap = lvalue(pua, op == O_PACK ? NOMOD : MOD|NOUSE); if (ap == NIL) return; if (ap->class != ARRAY) { error("%s requires a to be an unpacked array, not %s", pu, nameof(ap)); return; } al = lvalue(puz, op == O_UNPACK ? NOMOD : MOD|NOUSE); if (al->class != ARRAY) { error("%s requires z to be a packed array, not %s", pu, nameof(ap)); return; } if (al->type == NIL || ap->type == NIL) return; if (al->type != ap->type) { error("%s requires a and z to be arrays of the same type", pu, nameof(ap)); return; } k = width(al); ap = ap->chain; al = al->chain; if (ap->chain != NIL || al->chain != NIL) { error("%s requires a and z to be single dimension arrays", pu); return; } if (ap == NIL || al == NIL) return; /* * al is the range for z i.e. u..v * ap is the range for a i.e. m..n * i will be n-m+1 * j will be v-u+1 */ i = ap->range[1] - ap->range[0] + 1; j = al->range[1] - al->range[0] + 1; if (i < j) { error("%s cannot have more elements in a (%d) than in z (%d)", pu, j, i); return; } /* * get n-m-(v-u) and m for the interpreter */ i =- j; j = ap->range[0]; put(5, op, width(ap), j, i, k); return; case 0: error("%s is an unimplemented 6400 extension", p->symbol); return; default: panic("proc case"); } } pput.c#ºÙ¤‘# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "opcode.h" #include "0.h" int *obufp { obuf }; /* * If DEBUG is defined, include the table * of the printing opcode names. */ #ifdef DEBUG char *otext[] { #include "OPnames.h" }; #endif /* * Put is responsible for the interpreter equivalent of code * generation. Since the interpreter is specifically designed * for Pascal, little work is required here. */ put(a) { register int *p, i; register char *cp; int n, subop, suboppr, op, oldlc, w; char *string; static int casewrd; /* * It would be nice to do some more * optimizations here. The work * done to collapse offsets in lval * should be done here, the IFEQ etc * relational operators could be used * etc. */ oldlc = lc; if (cgenflg) /* * code disabled - do nothing */ return (oldlc); p = &a; n = *p++; suboppr = subop = (*p>>8) & 0377; op = *p & 0377; string = 0; #ifdef DEBUG if ((cp = otext[op]) == NIL) { printf("op= %o\n", op); panic("put"); } #endif switch (op) { /***** case O_LINO: if (line == codeline) return (oldlc); codeline = line; *****/ case O_PUSH: case O_POP: if (p[1] == 0) return (oldlc); case O_NEW: case O_DISPOSE: case O_AS: case O_IND: case O_OFF: case O_CON2: case O_INX2: case O_INX4: case O_CARD: case O_ADDT: case O_SUBT: case O_MULT: case O_IN: case O_CASE1OP: case O_CASE2OP: case O_CASE4OP: case O_PACK: case O_UNPACK: case O_RANG2: case O_RSNG2: case O_RANG42: case O_RSNG42: if (p[1] < 128 && p[1] >= -128) { suboppr = subop = p[1]; p++; n--; if (op == O_CON2) op = O_CON1;  } break; default: if (op >= O_REL2 && op <= O_REL84) { if ((i = (subop >> 1) * 5 ) >= 30) i =- 30; else i =+ 2; #ifdef DEBUG string = &"IFEQ\0IFNE\0IFLT\0IFGT\0IFLE\0IFGE"[i]; #endif suboppr = 0; } break; case O_IF: case O_TRA: /***** codeline = 0; *****/ case O_CALL: case O_FOR1U: case O_FOR2U: case O_FOR4U: case O_FOR1D: case O_FOR2D: case O_FOR4D: p[1] =- lc + 2; break; case O_WRIT82: #ifdef DEBUG string = &"22\024\042\044"[subop*3]; #endif suboppr = 0; break; case O_CONG: i = p[1]; cp = p[2]; #ifdef DEBUG if (opt('c')) printf("%5d\tCONG:%d\t%s\n", lc, i, cp); #endif if (i <= 127) word(O_CON | i << 8); else { word(O_CON); word(i); } while (i > 0) { w = *cp ? *cp++ : ' '; w =| (*cp ? *cp++ : ' ') << 8; word(w); i =- 2; } return (oldlc); case O_CONC: #ifdef DEBUG (string = "'x'")[1] = p[1]; #endif suboppr = 0; op = O_CON1; subop = p[1]; goto around; case O_CON1: suboppr = subop = p[1]; around: n--; break; case O_CASEBEG: casewrd = 0; return (oldlc); case O_CASEEND: if (lc & 1) { lc--; word(casewrd); } return (oldlc); case O_CASE1: #ifdef DEBUG if (opt('c')) printf("%5d\tCASE1\t%d\n", lc, p[2]); #endif lc++; if (lc & 1) casewrd = p[2]; else { lc =- 2; word(casewrd | p[2] << 8); } return (oldlc); case O_CASE2: #ifdef DEBUG if (opt('c')) printf("%5d\tCASE2\t%d\n", lc, p[2]); #endif word(p[2]); return (oldlc); case O_CASE4: #ifdef DEBUG if (opt('c')) printf("%5d\tCASE4\t%d %d\n", lc, p[1], p[2]); #endif word(p[1]); word(p[2]); return (oldlc); } #ifdef DEBUG if (opt('c')) { printf("%5d\t%s", lc, cp); if (suboppr) printf(":%d", suboppr); if (string) printf("\t%s",string); if (n > 1) putchar('\t'); for (i=1; i 0; i =- 2) word(0); } /* * Patch repairs the branch * at location loc to come * to the current location. */ patch(loc) { patchfil(loc, lc-loc-2); } /* * Patchfil makes loc+2 have value * as its contents. */ patchfil(loc, value) char *loc; int value; { register i; if (cgenflg < 0) return; if (loc > lc) panic("patchfil"); #ifdef DEBUG if (opt('c')) printf("\tpatch %u %d\n", loc, value); #endif i = (loc + 2 - (lc & ~0777))/2; if (i >= 0 && i < 512) obuf[i] = value; else { seek(ofil, loc+2, 0); write(ofil, &value, 2); seek(ofil, 0, 2); } } /* * Put the word o into the code */ word(o) int o; { *obufp = o; obufp++; lc =+ 2; if (obufp >= obuf+256) pflush(); } extern char *obj; /* * Flush the code buffer */ pflush() { register i; i = (obufp - obuf) * 2; if (i != 0 && write(ofil, obuf, i) != i) perror(obj), pexit(DIED); obufp = obuf; } /* * Getlab - returns the location counter. * included here for the eventual code generator. */ getlab() { return (lc); } /* * Putlab - lay down a label. */ putlab(l) int l; { return (l); } uputn.sâ"„¤�M.text / / routines to save space on put calls / .globl _put, _put1, _put2, _put3, _put4 / _put1: mov (sp),putret mov $1,(sp) br 1f _put2: mov (sp),putret  mov $2,(sp) br 1f _put3: mov (sp),putret mov $3,(sp) br 1f _put4: mov (sp),putret mov $4,(sp) 1: mov $1f,-(sp) jmp _put 1: tst (sp)+ jmp *putret .bss putret: .=.+2 orec.cëK¤‘Æ# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" #include "opcode.h" /* * Build a record namelist entry. * Some of the processing here is somewhat involved. * The basic structure we are building is as follows. * * Each record has a main RECORD entry, with an attached * chain of fields as ->chain; these include all the fields in all * the variants of this record. * * Attached to NL_VARNT is a chain of VARNT structures * describing each of the variants. These are further linked * through ->chain. Each VARNT has, in ->range[0] the value of * the associated constant, and each points at a RECORD describing * the subrecord through NL_VTOREC. These pointers are not unique, * more than one VARNT may reference the same RECORD. * * The involved processing here is in computing the NL_OFFS entry * by maxing over the variants. This works as follows. * * Each RECORD has two size counters. NL_OFFS is the maximum size * so far of any variant of this record; NL_FLDSZ gives the size * of just the FIELDs to this point as a base for further variants. * * As we process each variant record, we start its size with the * NL_FLDSZ we have so far. After processing it, if its NL_OFFS * is the largest so far, we update the NL_OFFS of this subrecord. * This will eventually propagate back and update the NL_OFFS of the * entire record. */ /* * P0 points to the outermost RECORD for name searches. */ struct nl *P0; tyrec(r, off) int *r, off; { tyrec1(r, off, 1); } /* * Define a record namelist entry. * R is the tree for the record to be built. * Off is the offset for the first item in this (sub)record. */ tyrec1(r, off, first) register int *r; int off; char first; { register struct nl *p, *P0was; p = defnl(0, RECORD, 0, 0); P0was = P0; if (first) P0 = p; p->value[NL_FLDSZ] = p->value[NL_OFFS] = off; if (r != NIL) { fields(p, r[2]); variants(p, r[3]); } P0 = P0was; return (p); } /* * Define the fixed part fields for p. */ fields(p, r) struct nl *p; int *r; { register int *fp, *tp, *ip; struct nl *jp; for (fp = r; fp != NIL; fp = fp[2]) { tp = fp[1]; if (tp == NIL) continue; jp = gtype(tp[3]); line = tp[1]; for (ip = tp[2]; ip != NIL; ip = ip[2])  deffld(p, ip[1], jp); } } /* * Define the variants for RECORD p. */ variants(p, r) struct nl *p; int *r; { register int *vc, *v; int *vr; struct nl *ct; if (r == NIL) return; ct = gtype(r[3]); line = r[1]; /* * Want it even if r[2] is NIL so * we check its type in "new" and "dispose" * calls -- link it to NL_TAG. */ p->value[NL_TAG] = deffld(p, r[2], ct); for (vc = r[4]; vc != NIL; vc = vc[2]) { v = vc[1]; if (v == NIL) continue; vr = tyrec1(v[3], p->value[NL_FLDSZ], 0);  if (vr->value[NL_OFFS] > p->value[NL_OFFS]) p->value[NL_OFFS] = vr->value[NL_OFFS]; line = v[1]; for (v = v[2]; v != NIL; v = v[2]) defvnt(p, v[1], vr, ct); } } /* * Define a field in subrecord p of record P0 * with name s and type t. */ deffld(p, s, t) struct nl *p; char *s; struct nl *t; { register struct nl *fp; if (reclook(P0, s) != NIL) { error("%s is a duplicate field name in this record", s); s = NIL; } fp = enter(defnl(s, FIELD, t, p->value[NL_OFFS])); if (s != NIL) {  fp->chain = P0->chain; P0->chain = fp; p->value[NL_FLDSZ] = p->value[NL_OFFS] =+ even(width(t)); if (t != NIL) { P0->nl_flags =| t->nl_flags & NFILES; p->nl_flags =| t->nl_flags & NFILES; } } return (fp); } /* * Define a variant from the constant tree of t * in subrecord p of record P0 where the casetype * is ct and the variant record to be associated is vr. */ defvnt(p, t, vr, ct) struct nl *p; int *t; struct nl *vr, *ct; { register struct nl *av; gconst(t); if (ct != NIL && incompat(con.ctype, ct)) { cerror("Variant label type incompatible with selector type"); ct = NIL; } av = defnl(0, VARNT, ct, 0); if (ct != NIL) uniqv(p); av->chain = p->value[NL_VARNT]; p->value[NL_VARNT] = av; av->value[NL_VTOREC] = vr; av->range[0] = con.crval; return (av); } /* * Check that the constant label value * is unique among the labels in this variant. */ uniqv(p) struct nl *p; { register struct nl *vt; for (vt = p->value[NL_VARNT]; vt != NIL; vt = vt->chain) if (vt->range[0] == con.crval) { error("Duplicate variant case label in record"); return; } } /* * See if the field name s is defined * in the record p, returning a pointer * to it namelist entry if it is. */ reclook(p, s) register struct nl *p; char *s; { if (p == NIL || s == NIL) return (NIL); for (p = p->chain; p != NIL; p = p->chain) if (p->symbol == s) return (p); return (NIL); } rval.c¤‘R+# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" #include "opcode.h" extern char *opnames[]; /* * Rvalue - an expression. * * Contype is the type that the caller would prefer, nand is important * if constant sets or constant strings are involved, the latter * because of string padding. */ rvalue(r, contype) int *r; struct nl *contype; { register struct nl *p, *p1; register struct nl *q; int c, c1, *rt, w, g; char *cp, *cp1, *opname; long l; double f; if (r == NIL) return (NIL); if (nowexp(r)) return (NIL); /* * Pick up the name of the operation * for future error messages. */ if (r[0] <= T_IN) opname = opnames[r[0]]; /* * The root of the tree tells us what sort of expression we have. */ switch (r[0]) { /* * The constant nil */ case T_NIL: put2(O_CON2, 0); return (nl+TNIL); /* * Function call with arguments. */ case T_FCALL: return (funccod(r)); case T_VAR: p = lookup(r[2]); if (p == NIL || p->class == BADUSE) return (NIL); switch (p->class) { case VAR: /* * If a variable is * qualified then get * the rvalue by a * lvalue and an ind. */ if (r[3] != NIL) goto ind; q = p->type; if (q == NIL) return (NIL); w = width(q); switch (w) { case 8: w = 6; case 4: case 2: case 1: put2(O_RV1 + (w >> 1) | bn << 9, p->value[0]); break; default: put3(O_RV | bn << 9, p->value[0], w); } return (q); case WITHPTR: case REF: /* * A lvalue for these * is actually what one * might consider a rvalue. */ ind: q = lvalue(r, NOMOD); if (q == NIL) return (NIL); w = width(q); switch (w) { case 8: w = 6; case 4: case 2: case 1: put1(O_IND1 + (w >> 1)); break; default: put2(O_IND, w); } return (q); case CONST: if (r[3] != NIL) { error("%s is a constant and cannot be qualified", r[2]); return (NIL); }  q = p->type; if (q == NIL) return (NIL); if (q == nl+TSTR) { /* * Find the size of the string * constant if needed. */ cp = p->value[0]; cstrng: cp1 = cp; for (c = 0; *cp++; c++) continue; if (contype != NIL && !opt('s')) { if (width(contype) < c && classify(contype) == TSTR) { error("Constant string too long"); return (NIL); } c = width(contype); } put3(O_CONG, c, cp1); /* * Define the string temporarily * so later people can know its * width. * cleaned out by stat. */ q = defnl(0, STR, 0, c); q->type = q; return (q); } if (q == nl+T1CHAR) { put2(O_CONC, p->value[0]); return (q); } /* * Every other kind of constant here */ switch (width(q)) { case 8: put(5, O_CON8, p->real); break; case 4: put3(O_CON4, p->range[0]); break; case 2: put2(O_CON2, p->value[1]); break; case 1: put2(O_CON1, p->value[0]); break; default: panic("rval"); } return (q); case FUNC: /* * Function call with no arguments. * "R + 1" addresses an appropriate * tree segment. */ return (funccod(r + 1)); case TYPE: error("Type names (e.g. %s) allowed only in declarations", p->symbol); return (NIL); case PROC: error("Procedure %s found where expression required", p->symbol); return (NIL); default: panic("rvid"); } /* * Constant sets */ case T_CSET: return (cset(r, contype, NIL)); /* * Unary plus and minus */ case T_PLUS: case T_MINUS: q = rvalue(r[2], NIL); if (q == NIL) return (NIL); if (isnta(q, "id")) { error("Operand of %s must be integer or real, not %s", opname, nameof(q)); return (NIL); } if (r[0] == T_MINUS) { put1(O_NEG2 + (width(q) >> 2)); return (isa(q, "d") ? q : nl+T4INT); } return (q); case T_NOT: q = rvalue(r[2], NIL); if (q == NIL) return (NIL); if (isnta(q, "b")) { error("not must operate on a Boolean, not %s", nameof(q)); return (NIL); } put1(O_NOT); return (nl+T1BOOL); case T_AND: case T_OR: p = rvalue(r[2], NIL); p1 = rvalue(r[3], NIL); if (p == NIL || p1 == NIL) return (NIL); if (isnta(p, "b")) { error("Left operand of %s must be Boolean, not %s", opname, nameof(p)); return (NIL); } if (isnta(p1, "b")) { error("Right operand of %s must be Boolean, not %s", opname, nameof(p1)); return (NIL); } put1(r[0] == T_AND ? O_AND : O_OR); return (nl+T1BOOL); case T_DIVD: p = rvalue(r[2], NIL); p1 = rvalue(r[3], NIL); if (p == NIL || p1 == NIL) return (NIL); if (isnta(p, "id")) { error("Left operand of / must be integer or real, not %s", nameof(p)); return (NIL); } if (isnta(p1, "id")) { error("Right operand of / must be integer or real, not %s", nameof(p1)); return (NIL); } return (gen(NIL, r[0], width(p), width(p1))); case T_MULT: case T_SUB: case T_ADD: /*  * If the context hasn't told us * the type and a constant set is * present on the left we need to infer * the type from the right if possible * before generating left side code. */ if (contype == NIL && (rt = r[2]) != NIL && rt[1] == SAWCON) { codeoff(); contype = rvalue(r[3], NIL); codeon(); if (contype == NIL) return (NIL); } p = rvalue(r[2], contype); p1 = rvalue(r[3], p); if (p == NIL || p1 == NIL) return (NIL); if (isa(p, "id") && isa(p1, "id")) return (gen(NIL, r[0], width(p), width(p1))); if (isa(p, "t") && isa(p1, "t")) { if (p != p1) { error("Set types of operands of %s must be identical", opname); return (NIL); } gen(TSET, r[0], width(p), 0); /* * Note that set was filled in by the call * to width above. */ if (r[0] == T_SUB) put2(NIL, 0177777 << ((set.uprbp & 017) + 1)); return (p); } if (isnta(p, "idt")) { error("Left operand of %s must be integer, real or set, not %s", opname, nameof(p)); return (NIL); } if (isnta(p1, "idt")) { error("Right operand of %s must be integer, real or set, not %s", opname, nameof(p1)); return (NIL); } error("Cannot mix sets with integers and reals as operands of %s", opname); return (NIL); case T_MOD: case T_DIV: p = rvalue(r[2], NIL); p1 = rvalue(r[3], NIL); if (p == NIL || p1 == NIL) return (NIL); if (isnta(p, "i")) { error("Left operand of %s must be integer, not %s", opname, nameof(p)); return (NIL); } if (isnta(p1, "i")) { error("Right operand of %s must be integer, not %s", opname, nameof(p1)); return (NIL); } return (gen(NIL, r[0], width(p), width(p1))); case T_EQ: case T_NE: case T_GE: case T_LE: case T_GT: case T_LT: /* * Since there can be no, a priori, knowledge * of the context type should a constant string * or set arise, we must poke around to find such * a type if possible. Since constant strings can * always masquerade as identifiers, this is always * necessary. */ codeoff(); p1 = rvalue(r[3], NIL); codeon(); if (p1 == NIL) return (NIL); contype = p1; if (p1 == nl+TSET || p1->class == STR) { /* * For constant strings we want * the longest type so as to be * able to do padding (more importantly * avoiding truncation). For clarity, * we get this length here. */ codeoff(); p = rvalue(r[2], NIL); codeon(); if (p == NIL) return (NIL); if (p1 == nl+TSET || width(p) > width(p1)) contype = p; } /* * Now we generate code for * the operands of the relational * operation. */ p = rvalue(r[2], contype); if (p == NIL) return (NIL); p1 = rvalue(r[3], p); if (p1 == NIL) return (NIL); c = classify(p); c1 = classify(p1); if (nocomp(c) || nocomp(c1)) return (NIL); g = NIL; switch (c) { case TBOOL: case TCHAR: if (c != c1) goto clash; break; case TINT: case TDOUBLE: if (c1 != TINT && c1 != TDOUBLE) goto clash; break; case TSCAL: if (c1 != TSCAL)  goto clash; if (scalar(p) != scalar(p1)) goto nonident; break; case TSET: if (c1 != TSET) goto clash; if (p != p1) goto nonident; g = TSET; break; case TPTR: case TNIL: if (c1 != TPTR && c1 != TNIL) goto clash; if (r[0] != T_EQ && r[0] != T_NE) { error("%s not allowed on pointers. only allow = and <>"); return (NIL); } break; case TSTR: if (c1 != TSTR) goto clash; if (width(p) != width(p1)) { error("Strings not same length in %s comparison", opname); return (NIL); } g = TSTR; break; default: panic("rval2"); } return (gen(g, r[0], width(p), width(p1))); clash: error("%ss and %ss cannot be compared - operator was %s", clnames[c], clnames[c1], opname); return (NIL); nonident: error("%s types must be identical in comparisons - operator was %s", clnames[c1], opname); return (NIL); case T_IN: rt = r[3]; if (rt != NIL && rt[0] == T_CSET) p1 = cset(rt, NIL, 1); else {  p1 = rvalue(r[3], NIL); rt = NIL; } if (p1 == nl+TSET) { warning(); error("... in [] makes little sense, since it is always false!"); put1(O_CON1, 0); return (nl+T1BOOL); } p = rvalue(r[2], NIL); if (p == NIL || p1 == NIL) return (NIL); if (p1->class != SET) { error("Right operand of 'in' must be a set, not %s", nameof(p1)); return (NIL); } if (incompat(p, p1->type, r[2])) { cerror("Index type clashed with set component type for 'in'"); return (NIL); } convert(p, nl+T2INT); setran(p1->type); if (rt == NIL) put4(O_IN, width(p1), set.lwrb, set.uprbp); else put1(O_INCT); return (nl+T1BOOL); default: if (r[2] == NIL) return (NIL); switch (r[0]) { default: panic("rval3"); /* * An octal number */ case T_BINT: f = a8tol(r[2]); goto conint; /* * A decimal number */ case T_INT: f = atof(r[2]); conint: if (f > MAXINT || f < MININT) { error("Constant too large for this implementation"); return (NIL); } l = f; if (bytes(l, l) <= 2) { put2(O_CON2, c=l); return (nl+T2INT); } put3(O_CON4, l); return (nl+T4INT); /* * A floating point number */ case T_FINT: put(5, O_CON8, atof(r[2])); return (nl+TDOUBLE); /* * Constant strings. Note that constant characters * are constant strings of length one; there is * no constant string of length one. */ case T_STRNG: cp = r[2]; if (cp[1] == 0) { put2(O_CONC, cp[0]); return (nl+T1CHAR); }  goto cstrng; } } } /* * Can a class appear * in a comparison ? */ nocomp(c) int c; { switch (c) { case TFILE: case TARY: case TREC: error("%ss may not participate in comparisons", clnames[c]); return (1); } return (NIL); } stat.cëK¤‘È$# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" int cntstat; int cnts 2; #include "opcode.h" /* * Statement list */ statlist(r) int *r; { register *sl; for (sl=r; sl != NIL; sl=sl[2]) statement(sl[1]); } /* * Statement */ statement(r) int *r; { register *s; register struct nl *snlp; /* register sudcnt; */ s = r; snlp = nlp; /* sudcnt = udcnt; */ top: if (cntstat) { cntstat = 0; putcnt(); } if (s == NIL) return; line = s[1]; if (s[0] == T_LABEL) { labeled(s[2]); s = s[3]; noreach = 0; cntstat = 1; goto top; } if (noreach) { noreach = 0; warning(); error("Unreachable statement"); } switch (s[0]) { case T_PCALL: putline(); proc(s); break; case T_ASGN: putline(); asgnop(s); break; case T_GOTO: putline(); gotoop(s[2]); noreach = 1; cntstat = 1; break; default: level++; switch (s[0]) { default: panic("stat"); case T_IF: case T_IFEL: ifop(s); break; case T_WHILE: whilop(s); noreach = 0; break; case T_REPEAT: repop(s); break; case T_FORU: case T_FORD: forop(s);  noreach = 0; break; case T_BLOCK: statlist(s[2]); break; case T_CASE: putline(); caseop(s); break; case T_WITH: withop(s); break; case T_ASRT: putline(); asrtop(s); break; } --level; if (gotos[cbn]) ungoto(); break; } /* * Free the temporary name list entries defined in * expressions, e.g. STRs, and WITHPTRs from withs. */ /* if (sudcnt == udcnt) */ nlfree(snlp); } ungoto() { register struct nl *p; for (p = gotos[cbn]; p != NIL; p = p->chain) if ((p->nl_flags & NFORWD) != 0) { if (p->value[NL_GOLEV] != NOTYET) if (p->value[NL_GOLEV] > level) p->value[NL_GOLEV] = level; } else if (p->value[NL_GOLEV] != DEAD) if (p->value[NL_GOLEV] > level) p->value[NL_GOLEV] = DEAD; } putcnt() { if (monflg == 0) return; cnts++; put2(O_COUNT, cnts); } putline() { if (opt('p') != 0) put2(O_LINO, line); } /* * With varlist do stat * * With statement requires an extra word * in automatic storage for each level of withing. * These indirect pointers are initialized here, and * the scoping effect of the with statement occurs * because lookup examines the field names of the records * associated with the WITHPTRs on the withlist. */ withop(s) int *s; { register *p; register struct nl *r; int i; int *swl; long soffset; putline(); swl = withlist; soffset = sizes[cbn].om_off; for (p = s[2]; p != NIL; p = p[2]) { sizes[cbn].om_off =- 2; put2(O_LV | cbn <<9, i = sizes[cbn].om_off); r = lvalue(p[1], MOD); if (r == NIL) continue; if (r->class != RECORD) { error("Variable in with statement refers to %s, not to a record", nameof(r)); continue; } r = defnl(0, WITHPTR, r, i); r->nl_next = withlist; withlist = r; put1(O_AS2); } if (sizes[cbn].om_off < sizes[cbn].om_max) sizes[cbn].om_max = sizes[cbn].om_off; statement(s[3]); sizes[cbn].om_off = soffset; withlist = swl; } extern flagwas; /* * var := expr */ asgnop(r) int *r; { register struct nl *p; register *av; if (r == NIL) return (NIL); /* * Asgnop's only function is * to handle function variable * assignments. All other assignment * stuff is handled by asgnop1. */ av = r[2]; if (av != NIL && av[0] == T_VAR && av[3] == NIL) { p = lookup1(av[2]); if (p != NIL) p->nl_flags = flagwas; if (p != NIL && p->class == FVAR) { /* * Give asgnop1 the func * which is the chain of * the FVAR. */ p->nl_flags =| NUSED|NMOD; p = p->chain; if (p == NIL) {  rvalue(r[3], NIL); return; } put2(O_LV | bn << 9, p->value[NL_OFFS]); if (isa(p->type, "i") && width(p->type) == 1) asgnop1(r, nl+T2INT); else asgnop1(r, p->type); return; } } asgnop1(r, NIL); } /* * Asgnop1 handles all assignments. * If p is not nil then we are assigning * to a function variable, otherwise * we look the variable up ourselves. */ asgnop1(r, p) int *r; register struct nl *p; { register struct nl *p1; if (r == NIL) return (NIL); if (p == NIL) { p = lvalue(r[2], MOD|ASGN|NOUSE); if (p == NIL) { rvalue(r[3], NIL); return (NIL); } } p1 = rvalue(r[3], p); if (p1 == NIL) return (NIL); if (incompat(p1, p, r[3])) { cerror("Type of expression clashed with type of variable in assignment"); return (NIL); } switch (classify(p)) { case TBOOL: case TCHAR: case TINT: case TSCAL: rangechk(p, p1); case TDOUBLE: case TPTR: gen(O_AS2, O_AS2, width(p), width(p1)); break; default: put2(O_AS, width(p)); } return (p); /* Used by for statement */ } /* * for var := expr [down]to expr do stat */ forop(r) int *r; { register struct nl *t1, *t2; int l1, l2, l3; long soffset; register op; struct nl *p; int *rr, goc, i; p = NIL; goc = gocnt; if (r == NIL) goto aloha; putline(); /* * Start with assignment * of initial value to for variable */ t1 = asgnop1(r[2], NIL); if (t1 == NIL) { rvalue(r[3], NIL); statement(r[4]); goto aloha; } rr = r[2]; /* Assignment */ rr = rr[2]; /* Lhs variable */ if (rr[3] != NIL) { error("For variable must be unqualified"); rvalue(r[3], NIL); statement(r[4]); goto aloha; } p = lookup(rr[2]); p->value[NL_FORV] = 1; if (isnta(t1, "bcis")) { error("For variables cannot be %ss", nameof(t1)); statement(r[4]); goto aloha; } /* * Allocate automatic * space for limit variable */ sizes[cbn].om_off =- 4; if (sizes[cbn].om_off < sizes[cbn].om_max) sizes[cbn].om_max = sizes[cbn].om_off; i = sizes[cbn].om_off; /* * Initialize the limit variable  */ put2(O_LV | cbn<<9, i); t2 = rvalue(r[3], NIL); if (incompat(t2, t1, r[3])) { cerror("Limit type clashed with index type in 'for' statement"); statement(r[4]); goto aloha; } put1(width(t2) <= 2 ? O_AS24 : O_AS4); /* * See if we can skip the loop altogether */ rr = r[2]; if (rr != NIL) rvalue(rr[2], NIL); put2(O_RV4 | cbn<<9, i); gen(NIL, r[0] == T_FORU ? T_LE : T_GE, width(t1), 4); /* * L1 will be patched to skip the body of the loop. * L2 marks the top of the loop when we go around. */ put2(O_IF, (l1 = getlab())); putlab(l2 = getlab()); putcnt(); statement(r[4]); /* * now we see if we get to go again */ if (opt('t') == 0) { /* * Easy if we dont have to test */ put2(O_RV4 | cbn<<9, i); if (rr != NIL) lvalue(rr[2], MOD); put2((r[0] == T_FORU ? O_FOR1U : O_FOR1D) + (width(t1) >> 1), l2); } else { line = r[1]; putline(); if (rr != NIL) rvalue(rr[2], NIL); put2(O_RV4 | cbn << 9, i); gen(NIL, (r[0] == T_FORU ? T_LT : T_GT), width(t1), 4); l3 = put2(O_IF, getlab()); lvalue(rr[2], MOD); rvalue(rr[2], NIL); put2(O_CON2, 1); t2 = gen(NIL, r[0] == T_FORU ? T_ADD: T_SUB, width(t1), 2); rangechk(t1, t2); /* The point of all this */ gen(O_AS2, O_AS2, width(t1), width(t2)); put2(O_TRA, l2); patch(l3); } sizes[cbn].om_off =+ 4; patch(l1); aloha: noreach = 0; if (p != NIL) p->value[NL_FORV] = 0; if (goc != gocnt) putcnt(); } /* * if expr then stat [ else stat ] */ ifop(r) int *r; { register struct nl *p; register l1, l2; int nr, goc; goc = gocnt; if (r == NIL) return; putline(); p = rvalue(r[2], NIL); if (p == NIL) { statement(r[3]); noreach = 0; statement(r[4]); noreach = 0; return; } if (isnta(p, "b")) { error("Type of expression in if statement must be Boolean, not %s", nameof(p)); statement(r[3]); noreach = 0; statement(r[4]); noreach = 0; return; } l1 = put2(O_IF, getlab()); putcnt(); statement(r[3]); nr = noreach; if (r[4] != NIL) { /* * else stat */ --level; ungoto(); ++level; l2 = put2(O_TRA, getlab()); patch(l1); noreach = 0; statement(r[4]); noreach =& nr; l1 = l2; } else noreach = 0; patch(l1); if (goc != gocnt) putcnt(); } /* * while expr do stat */ whilop(r) int *r; { register struct nl *p; register l1, l2; int goc; goc = gocnt; if (r == NIL) return; putlab(l1 = getlab()); putline(); p = rvalue(r[2], NIL); if (p == NIL) { statement(r[3]); noreach = 0; return; } if (isnta(p, "b")) { error("Type of expression in while statement must be Boolean, not %s", nameof(p)); statement(r[3]); noreach = 0; return; } put2(O_IF, (l2 = getlab())); putcnt(); statement(r[3]); put2(O_TRA, l1); patch(l2); if (goc != gocnt) putcnt(); } /* * repeat stat* until expr */ repop(r) int *r; { register struct nl *p; register l; int goc; goc = gocnt; if (r == NIL) return; l = putlab(getlab()); putcnt(); statlist(r[2]); line = r[1]; p = rvalue(r[3], NIL); if (p == NIL) return; if (isnta(p,"b")) { error("Until expression type must be Boolean, not %s, in repeat statement", nameof(p)); return; } put2(O_IF, l); if (goc != gocnt) putcnt(); } /* * assert expr */ asrtop(r) register int *r; { register struct nl *q; if (opt('s')) { standard(); error("Assert statement is non-standard"); } if (!opt('t')) return; r = r[2]; q = rvalue(r, NIL); if (q == NIL) return; if (isnta(q, "b")) error("Assert expression must be Boolean, not %ss", nameof(q)); put1(O_ASRT); } string.cëK¤�d# /* * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "0.h" /* * STRING SPACE DECLARATIONS * * Strng is the base of the current * string space and strngp the * base of the free area therein. * No array of descriptors is needed * as string space is never freed. */ STATIC char strings[STRINC]; STATIC char *strng strings; STATIC char *strngp strings; /* initstring() { } */ /* * Copy a string into the string area. */ savestr(cp) register char *cp; { register int i; i = strlen(cp) + 1; if (strngp + i >= strng + STRINC) { strngp = alloc(STRINC); if (strngp == -1) { yerror("Ran out of memory (string)"); pexit(DIED); } strng = strngp; } strcpy(strngp, cp); cp = strngp; strngp = cp + i; return (cp); } esavestr(cp) char *cp; { strngp = (strngp + 1) &~ 1; return (savestr(cp)); } subr.cëK¤�à #include "whoami" /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "0.h" /* * Does the string fp end in '.' and the character c ? */ dotted(fp, c) register char *fp; char c; { register int i; i = strlen(fp); return (i > 1 && fp[i - 2] == '.' && fp[i - 1] == c); } /* * Toggle the option c. */ togopt(c) char c; { register char *tp; tp = &opts[c-'a']; *tp = 1 - *tp; } /* * Set the time vector "tvec" to the * modification time stamp of the current file. */ gettime() { int stbuf[18]; stat(filename, stbuf); tvec[0] = stbuf[16]; tvec[1] = stbuf[17]; } /* * Convert a "ctime" into a Pascal styple time line */ myctime(tv) int *tv; { register char *cp, *dp; char *cpp; register i; static char mycbuf[26]; cpp = ctime(tv); dp = mycbuf; cp = cpp; cpp[16] = 0; while (*dp++ = *cp++); dp--; cp = cpp+19; cpp[24] = 0; while (*dp++ = *cp++); return (mycbuf); } /* * Is "fp" in the command line list of names ? */ inpflist(fp) char *fp; { register i, *pfp; pfp = pflist; for (i = pflstc; i > 0; i--) if (strcmp(fp, *pfp++) == 0) return (1); return (0); } extern int errno; extern char *sys_errlist[]; /* * Boom! */ Perror(file, error) char *file, *error; { errno = 0; sys_errlist[0] = error; perror(file); } calloc(num, size) int num, size; { register int p1, *p2, nbyte; nbyte = (num*size+1) & ~01; if ((p1 = alloc(nbyte)) == -1 || p1==0) return (-1); p2 = p1; nbyte =>> 1; /* 2 bytes/word */ do { *p2++ = 0; } while (--nbyte); return (p1); } /* * Compare strings: s1>s2: >0 s1==s2: 0 s1> 1; } tree.cëK¤�� # /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" /* * TREE SPACE DECLARATIONS */ struct tr { int *tr_low; int *tr_high; } ttab[MAXTREE], *tract; /* * The variable space is the * absolute base of the tree segments. * (exactly the same as ttab[0].tr_low) * Spacep is maintained to point at the * beginning of the next tree slot to * be allocated for use by the grammar. * Spacep is used "extern" by the semantic * actions in pas.y. * The variable tract is maintained to point * at the tree segment out of which we are * allocating (the active segment). */ int *space, *spacep; /* * TREENMAX is the maximum width * in words that any tree node * due to the way in which the parser uses * the pointer spacep. */ #define TREENMAX 6 int trspace[ITREE]; int *space trspace; int *spacep trspace; struct tr *tract ttab; /* * Inittree allocates the first tree slot * and sets up the first segment descriptor. * A lot of this work is actually done statically * above. */ inittree() { ttab[0].tr_low = space; ttab[0].tr_high = &space[ITREE]; } /* * Tree builds the nodes in the * parse tree. It is rarely called * directly, rather calls are made * to tree[12345] which supplies the * first argument to save space in * the code. Tree also guarantees * that spacep points to the beginning * of the next slot it will return, * a property required by the parser * which was always true before we * segmented the tree space. */ int *tree(cnt, a) int cnt; { register int *p, *q; register int i; i = cnt; p = spacep; q = &a; do *p++ = *q++; while (--i); q = spacep; spacep = p; if (p+TREENMAX >= tract->tr_high) /* * this peek-ahead should * save a great number of calls * to tralloc. */ tralloc(TREENMAX); return (q); } /* * Tralloc preallocates enough * space in the tree to allow * the grammar to use the variable * spacep, as it did before the * tree was segmented. */ tralloc(howmuch) { register char *cp; register i; if (spacep + howmuch >= tract->tr_high) { i = TRINC; cp = alloc(i*2); if (cp == -1) { yerror("Ran out of memory (tralloc)"); pexit(DIED); } spacep = cp; tract++; if (tract >= &ttab[MAXTREE]) { yerror("Ran out of tree tables"); pexit(DIED); }  tract->tr_low = cp; tract->tr_high = tract->tr_low+i; } } extern int yylacnt; extern bottled; #ifdef PXP #endif /* * Free up the tree segments * at the end of a block. * If there is scanner lookahead, * i.e. if yylacnt != 0 or there is bottled output, then we * cannot free the tree space. * This happens only when errors * occur and the forward move extends * across "units". */ trfree() { if (yylacnt != 0 || bottled != NIL) return; #ifdef PXP if (needtree()) return; #endif spacep = space; while (tract->tr_low > spacep || tract->tr_high <= spacep) { free(tract->tr_low); tract->tr_low = NIL; tract->tr_high = NIL; tract--; if (tract < ttab) panic("ttab"); } #ifdef PXP packtree(); #endif } /* * Copystr copies a token from * the "token" buffer into the * tree space. */ copystr(token) register char *token; { register char *cp; register int i; i = (strlen(token) + 2) & ~1; tralloc(i >> 1); strcpy(spacep, token); cp = spacep; spacep = cp + i; tralloc(TREENMAX); return (cp); } rtree.h$¤�H#define T_MINUS 1 #define T_MOD 2 #define T_DIV 3 #define T_DIVD 4 #define T_MULT 5 #define T_ADD 6 #define T_SUB 7 #define T_EQ 8 #define T_NE 9 #define T_LT 10 #define T_GT 11 #define T_LE 12 #define T_GE 13 #define T_NOT 14 #define T_AND 15 #define T_OR 16 #define T_ASGN 17 #define T_PLUS 18 #define T_IN 19 #define T_LISTPP 20 #define T_PDEC 21 #define T_FDEC 22 #define T_PVAL 23 #define T_PVAR 24 #define T_PFUNC 25 #define T_PPROC 26 #define T_NIL 27 #define T_STRNG 28 #define T_CSTRNG 29 #define T_PLUSC 30 #define T_MINUSC 31 #define T_ID 32 #define T_INT 33 #define T_FINT 34 #define T_CINT 35 #define T_CFINT 36 #define T_TYPTR 37 #define T_TYPACK 38 #define T_TYSCAL 39 #define T_TYRANG 40 #define T_TYARY 41 #define T_TYFILE 42 #define T_TYSET 43 #define T_TYREC 44 #define T_TYFIELD 45 #define T_TYVARPT 46 #define T_TYVARNT 47 #define T_CSTAT 48 #define T_BLOCK 49 #define T_LABEL 50 #define T_PCALL 51 #define T_FCALL 52 #define T_CASE 53 #define T_WITH 54 #define T_WHILE 55 #define T_REPEAT 56 #define T_FORU 57 #define T_FORD 58 #define T_GOTO 59 #define T_IF 60 #define T_ASRT 61 #define T_CSET 62 #define T_RANG 63 #define T_VAR 64 #define T_ARGL 65 #define T_ARY 66 #define T_FIELD 67 #define T_PTR 68 #define T_WEXP 69 #define T_PROG 70 #define T_BINT 71 #define T_CBINT 72 #define T_IFEL 73 #define T_IFX 74 #define T_TYID 75 treen.sâ"„¤�ˆ.text / / Routines to save space on tree calls / .globl _tree, _tree1, _tree2, _tree3, _tree4, _tree5 / _tree1: mov (sp),trret mov $1,(sp) br 1f _tree2: mov (sp),trret mov $2,(sp) br 1f _tree3: mov (sp),trret mov $3,(sp) br 1f _tree4: mov (sp),trret mov $4,(sp) br 1f _tree5: mov (sp),trret mov $5,(sp) 1: mov $1f,-(sp) jmp _tree 1: tst (sp)+ jmp *trret .bss trret: . = .+2 var.cëL¤�. # /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" #include "opcode.h" /* * Declare variables of a var part. DPOFF1 is * the local variable storage for all prog/proc/func * modules aside from the block mark. The total size * of all the local variables is entered into the * size array. */ varbeg() { if (parts & VPRT) error("All variables must be declared in one var part"); parts =| VPRT; sizes[cbn].om_max = sizes[cbn].om_off = -DPOFF1; forechain = NIL; } var(vline, vidl, vtype) int vline; register int *vidl; int *vtype; { register struct nl *np; register struct om *op; long w; int o2; np = gtype(vtype); line = vline; w = (lwidth(np) + 1) &~ 1; op = &sizes[cbn]; for (; vidl != NIL; vidl = vidl[2]) { op->om_off =- w; o2 = op->om_off; enter(defnl(vidl[1], VAR, np, o2)); } } varend() { foredecl(); sizes[cbn].om_max = sizes[cbn].om_off; } /* * Evening */ even(w) { if (w < 0) return (w & ~1); return ((w+1) & ~1); } /* * Find the width of a type in bytes. */ width(np) struct nl *np; { return (lwidth(np)); } long lwidth(np) struct nl *np; { register struct nl *p; long w; p = np; if (p == NIL) return (0); loop: switch (p->class) { case TYPE: switch (nloff(p)) { case TNIL: return (2); case TSTR: case TSET: panic("width"); default: p = p->type; goto loop; } case ARRAY: return (aryconst(p, 0)); case PTR: case FILE: return (2); case RANGE: if (p->type == nl+TDOUBLE) return (8); case SCAL: return (bytes(p->range[0], p->range[1])); case SET: setran(p->type); return ( (set.uprbp>>3) + 1); case STR: case RECORD: w = 0; w.pint2 = p->value[NL_OFFS]; return (w); default: panic("wclass"); } } /* * Return the width of an element * of a n time subscripted np. */ long aryconst(np, n) struct nl *np; int n; { register struct nl *p; long s, d; if ((p = np) == NIL) return (NIL); if (p->class != ARRAY) panic("ary"); s = width(p->type); /* * Arrays of anything but characters are word aligned. */ if (s & 1) if (s != 1) s++; /* * Skip the first n subscripts */ while (n >= 0) { p = p->chain; n--; } /* * Sum across remaining subscripts. */ while (p != NIL) { if (p->class != RANGE && p->class != SCAL) panic("aryran"); d = p->range[1] - p->range[0] + 1; s =* d; p = p->chain; } return (s); } /* * Find the lower bound of a set, and also its size in bits. */ setran(q) struct nl *q; { register lb, ub; register struct nl *p; p = q; if (p == NIL) return (NIL); lb = p->range[0]; ub = p->range[1]; if (p->class != RANGE && p->class != SCAL) panic("setran"); set.lwrb = lb; /* set.(upperbound prime) = number of bits - 1; */ set.uprbp = ub-lb; } /* * Return the number of bytes required to hold an arithmetic quantity */ bytes(lb, ub) long lb, ub; { if (lb < -32768 || ub > 32767) return (4); else if (lb < -128 || ub > 127) return (2); else return (1); } y.tab.c$ݶ‘â] #include "whoami" #include "0.h" #include "yy.h" #include "tree.h" #ifdef PI #define lineof(l) l #endif extern yyerrflag; int *yyval 0; int *yypv; yyactr(__np__){ register int **yyYpv; register int *p, *q; yyYpv = yypv; switch(__np__){ case 1: funcend(yyYpv[1], yyYpv[4], lineof(yyYpv[5])); break; case 2: yyval = funcbody(funchdr(tree5(T_PROG, lineof(yyYpv[1]), yyYpv[2], fixlist(yyYpv[4]), NIL))); break; case 3: { yyPerror("Malformed program statement", PPROG); /* * Should make a program statement * with "input" and "output" here. */ yyval = funcbody(funchdr(tree5(T_PROG, lineof(yyYpv[1]), NIL, NIL, NIL))); } break; case 4: { yyval = tree2(lineof(yyYpv[1]), fixstlist(yyYpv[2])); if (yyYpv[3].pint < 0) brerror(yyYpv[1], "begin"); } break; case 5: trfree(); break; case 6: { Derror: constend(), typeend(), varend(), trfree(); yyPerror("Malformed declaration", PDECL); } break; case 7: trfree(); break; case 9: constend(); break; case 10: typeend(); break; case 11: varend(); break; case 12: label(fixlist(yyYpv[2]), lineof(yyYpv[1])); break; case 13: yyval = newlist(yyYpv[1] == NIL ? NIL : *hash(yyYpv[1], 1)); break; case 14: yyval = addlist(yyYpv[1], yyYpv[3] == NIL ? NIL : *hash(yyYpv[3], 1)); break; case 15: constbeg(yyYpv[1]), const(lineof(yyYpv[3]), yyYpv[2], yyYpv[4]); break; case 16: const(lineof(yyYpv[3]), yyYpv[2], yyYpv[4]); break; case 17: { constbeg(); Cerror: yyPerror("Malformed const declaration", PDECL); } break; case 18: goto Cerror; break; case 19: typebeg(yyYpv[1]), type(lineof(yyYpv[3]), yyYpv[2], yyYpv[4]); break; case 20: type(lineof(yyYpv[3]), yyYpv[2], yyYpv[4]); break; case 21: { typebeg(); Terror: yyPerror("Malformed type declaration", PDECL); } break; case 22: goto Terror; break; case 23: varbeg(yyYpv[1]), var(lineof(yyYpv[3]), fixlist(yyYpv[2]), yyYpv[4]); break; case 24: var(lineof(yyYpv[3]), fixlist(yyYpv[2]), yyYpv[4]); break; case 25: { varbeg(); Verror: yyPerror("Malformed var declaration", PDECL); } break; case 26: goto Verror; break; case 28: trfree(); break; case 29: funcfwd(yyYpv[1]); break; case 30: funcend(yyYpv[1], yyYpv[4], lineof(yyYpv[5])); break; case 31: funcbody(yyYpv[1]); break; case 32: yyval = funchdr(tree5(yyYpv[1], lineof(yyYpv[5]), yyYpv[2], yyYpv[3], yyYpv[4])); break; case 33: yyval = T_PDEC; break; case 34: yyval = T_FDEC; break; case 35: yyval = fixlist(yyYpv[2]); break; case 36: yyval = NIL; break; case 37: yyval = tree3(T_PVAL, fixlist(yyYpv[1]), yyYpv[3]); break; case 38: yyval = tree3(T_PVAR, fixlist(yyYpv[2]), yyYpv[4]); break; case 39: yyval = tree3(T_PFUNC, fixlist(yyYpv[2]), yyYpv[4]); break; case 40: yyval = tree2(T_PPROC, fixlist(yyYpv[2])); break; case 41: yyval = yyYpv[2]; break; case 42: yyval = NIL; break; case 43: yyval = newlist(yyYpv[1]); break; case 44: yyval = addlist(yyYpv[1], yyYpv[3]); break; case 45: yyval = tree2(T_CSTRNG, yyYpv[1]); break; case 47: yyval = tree2(T_PLUSC, yyYpv[2]); break; case 48: yyval = tree2(T_MINUSC, yyYpv[2]); break; case 49: yyval = tree2(T_ID, yyYpv[1]); break; case 50: yyval = tree2(T_CINT, yyYpv[1]); break; case 51: yyval = tree2(T_CBINT, yyYpv[1]); break; case 52: yyval = tree2(T_CFINT, yyYpv[1]); break; case 53: yyval = newlist(yyYpv[1]); break; case 54: yyval = addlist(yyYpv[1], yyYpv[3]); break; case 56: yyval = tree3(T_TYPTR, lineof(yyYpv[1]), tree2(T_ID, yyYpv[2])); break; case 58: yyval = tree3(T_TYPACK, lineof(yyYpv[1]), yyYpv[2]); break; case 60: yyval = tree3(T_TYSCAL, lineof(yyYpv[1]), fixlist(yyYpv[2])); break; case 61: yyval = tree4(T_TYRANG, lineof(yyYpv[2]), yyYpv[1], yyYpv[3]); break; case 62: yyval = tree4(T_TYARY, lineof(yyYpv[1]), fixlist(yyYpv[3]), yyYpv[6]); break; case 63: yyval = tree3(T_TYFILE, lineof(yyYpv[1]), yyYpv[3]); break; case 64: yyval = tree3(T_TYSET, lineof(yyYpv[1]), yyYpv[3]); break; case 65: { yyval = tree3(T_TYREC, lineof(yyYpv[1]), yyYpv[2]); if (yyYpv[3].pint < 0) brerror(yyYpv[1], "record"); } break; case 66: yyval = newlist(yyYpv[1]); break; case 67: yyval = addlist(yyYpv[1], yyYpv[3]); break; case 68: yyval = tree4(T_LISTPP, lineof(NIL), fixlist(yyYpv[1]), yyYpv[2]); break; case 69: yyval = newlist(yyYpv[1]); break; case 70: yyval = addlist(yyYpv[1], yyYpv[3]); break; case 71: yyPerror("Malformed record declaration", PDECL); break; case 72: yyval = NIL; break; case 73: yyval = tree4(T_FIELD, lineof(yyYpv[2]), fixlist(yyYpv[1]), yyYpv[3]); break; case 74: yyval = NIL; break; case 75: yyval = tree5(T_TYVARPT, lineof(yyYpv[1]), NIL, yyYpv[2], fixlist(yyYpv[4])); break; case 76: yyval = tree5(T_TYVARPT, lineof(yyYpv[1]), yyYpv[2], yyYpv[4], fixlist(yyYpv[6])); break; case 77: yyval = newlist(yyYpv[1]); break; case 78: yyval = addlist(yyYpv[1], yyYpv[3]); break; case 79: yyPerror("Malformed record declaration", PDECL); break; case 80: yyval = NIL; break; case 81: yyval = tree5(T_TYVARNT, lineof(yyYpv[2]), fixlist(yyYpv[1]), yyYpv[4]); break; case 82: yyval = tree5(T_TYVARNT, lineof(yyYpv[2]), fixlist(yyYpv[1]), NIL); break; case 83: yyval = newlist(yyYpv[1]); break; case 84: { if ((p = yyYpv[1]) != NIL && (q = p[1])[0] == T_IFX) { q[0] = T_IFEL; q[4] = yyYpv[2]; } else yyval = addlist(yyYpv[1], yyYpv[2]); } break; case 85: if ((q = yyYpv[1]) != NIL && (p = q[1]) != NIL && p[0] == T_IF) { if (yychar < 0) yychar = yylex(); if (yyshifts >= 2 && yychar == YELSE) { recovered(); copy(&Y, &OY, sizeof Y); yerror("Deleted ';' before keyword else"); yychar = yylex(); p[0] = T_IFX; } } break; case 86: yyval = newlist(yyYpv[1]); break; case 87: yyval = addlist(yyYpv[1], yyYpv[3]); break; case 88: { yyval = NIL; Kerror: yyPerror("Malformed statement in case", PSTAT); } break; case 89: goto Kerror; break; case 90: yyval = tree4(T_CSTAT, lineof(yyYpv[2]), fixlist(yyYpv[1]), yyYpv[3]); break; case 91: yyval = tree4(T_CSTAT, lineof(yyYpv[1]), NIL, yyYpv[2]); break; case 92: yyval = NIL; break; case 93: yyval = NIL; break; case 94: yyval = tree4(T_LABEL, lineof(yyYpv[2]), yyYpv[1] == NIL ? NIL : *hash(yyYpv[1], 1), yyYpv[3]); break; case 95: yyval = tree4(T_PCALL, lineof(yyline), yyYpv[1], NIL); break; case 96: yyval = tree4(T_PCALL, lineof(yyYpv[2]), yyYpv[1], fixlist(yyYpv[3])); break; case 97: goto NSerror; break; case 99: { yyval = tree3(T_BLOCK, lineof(yyYpv[1]), fixstlist(yyYpv[2])); if (yyYpv[3].pint < 0) brerror(yyYpv[1], "begin"); } break; case 100: { yyval = tree4(T_CASE, lineof(yyYpv[1]), yyYpv[2], fixlist(yyYpv[4])); if (yyYpv[5].pint < 0) brerror(yyYpv[1], "case"); } break; case 101: yyval = tree4(T_WITH, lineof(yyYpv[1]), fixlist(yyYpv[2]), yyYpv[4]); break; case 102: yyval = tree4(T_WHILE, lineof(yyYpv[1]), yyYpv[2], yyYpv[4]); break; case 103: yyval = tree4(T_REPEAT, lineof(yyYpv[3]), fixstlist(yyYpv[2]), yyYpv[4]); break; case 104: yyval = tree5(T_FORU, lineof(yyYpv[1]), yyYpv[2], yyYpv[4], yyYpv[6]); break; case 105: yyval = tree5(T_FORD, lineof(yyYpv[1]), yyYpv[2], yyYpv[4], yyYpv[6]); break; case 106: yyval = tree3(T_GOTO, lineof(yyYpv[1]), *hash(yyYpv[2], 1)); break; case 107: yyval = tree5(T_IF, lineof(yyYpv[1]), yyYpv[2], yyYpv[4], NIL); break; case 108: yyval = tree5(T_IFEL, lineof(yyYpv[1]), yyYpv[2], yyYpv[4], yyYpv[6]); break; case 109: yyval = tree5(T_IFEL, lineof(yyYpv[1]), yyYpv[2], yyYpv[4], NIL); break; case 110: yyval = tree3(T_ASRT, lineof(yyYpv[1]), yyYpv[2]); break; case 111: { NSerror: yyval = NIL; Serror: yyPerror("Malformed statement", PSTAT); } break; case 112: yyval = tree4(T_ASGN, lineof(yyYpv[2]), yyYpv[1], yyYpv[4]); break; case 113: { NEerror: yyval = NIL; Eerror: yyPerror("Missing/malformed expression", PEXPR); } break; case 114: yyval = tree4(yyYpv[2], yyYpv[1][1] == SAWCON ? yyYpv[3][1] : yyYpv[1][1], yyYpv[1], yyYpv[3]); break; case 115: yyval = tree3(T_PLUS, yyYpv[2][1], yyYpv[2]); break; case 116: yyval = tree3(T_MINUS, yyYpv[2][1], yyYpv[2]); break; case 117: yyval = tree4(yyYpv[2], yyYpv[1][1] == SAWCON ? yyYpv[3][1] : yyYpv[1][1], yyYpv[1], yyYpv[3]); break; case 118: yyval = tree4(yyYpv[2], yyYpv[1][1] == SAWCON ? yyYpv[3][1] : yyYpv[1][1], yyYpv[1], yyYpv[3]); break; case 119: yyval = tree2(T_NIL, NOCON); break; case 120: yyval = tree3(T_STRNG, SAWCON, yyYpv[1]); break; case 121: yyval = tree3(T_INT, NOCON, yyYpv[1]); break; case 122: yyval = tree3(T_BINT, NOCON, yyYpv[1]); break; case 123: yyval = tree3(T_FINT, NOCON, yyYpv[1]); break; case 125: goto NEerror; break; case 126: yyval = tree3(T_FCALL, yyYpv[1], fixlist(yyYpv[3])); break; case 127: yyval = yyYpv[2]; break; case 128: yyval = tree3(T_NOT, NOCON, yyYpv[2]); break; case 129: yyval = tree3(T_CSET, SAWCON, fixlist(yyYpv[2])); break; case 130: yyval = tree3(T_CSET, SAWCON, NIL); break; case 131: yyval = newlist(yyYpv[1]); break; case 132: yyval = addlist(yyYpv[1], yyYpv[3]); break; case 134: yyval = tree3(T_RANG, yyYpv[1], yyYpv[3]); break; case 135: { yyval = setupvar(yyYpv[1], NIL); } break; case 136: yyYpv[1][3] = fixlist(yyYpv[1][3]); break; case 137: yyval = setupvar(yyYpv[1], tree2(T_ARY, fixlist(yyYpv[3]))); break; case 138: yyYpv[1][3] = addlist(yyYpv[1][3], tree2(T_ARY, fixlist(yyYpv[3]))); break; case 139: yyval = setupvar(yyYpv[1], tree3(T_FIELD, yyYpv[3], NIL)); break; case 140: yyYpv[1][3] = addlist(yyYpv[1][3], tree3(T_FIELD, yyYpv[3], NIL)); break; case 141: yyval = setupvar(yyYpv[1], tree1(T_PTR)); break; case 142: yyYpv[1][3] = addlist(yyYpv[1][3], tree1(T_PTR)); break; case 144: yyval = tree4(T_WEXP, yyYpv[1], yyYpv[3], NIL); break; case 145: yyval = tree4(T_WEXP, yyYpv[1], yyYpv[3], yyYpv[5]); break; case 146: yyval = tree4(T_WEXP, yyYpv[1], NIL, yyYpv[2]); break; case 147: yyval = tree4(T_WEXP, yyYpv[1], yyYpv[3], yyYpv[4]); break; case 148: yyval = OCT; break; case 149: yyval = HEX; break; case 150: yyval = newlist(yyYpv[1]); break; case 151: yyval = addlist(yyYpv[1], yyYpv[3]); break; case 152: yyval = newlist(yyYpv[1]); break; case 153: yyval = addlist(yyYpv[1], yyYpv[3]); break; case 154: yyval = T_EQ; break; case 155: yyval = T_LT; break; case 156: yyval = T_GT; break; case 157: yyval = T_NE; break; case 158: yyval = T_LE; break; case 159: yyval = T_GE; break; case 160: yyval = T_IN; break; case 161: yyval = T_ADD; break; case 162: yyval = T_SUB; break; case 163: yyval = T_OR; break; case 164: yyval = T_OR; break; case 165: yyval = T_MULT; break; case 166: yyval = T_DIVD; break; case 167: yyval = T_DIV; break; case 168: yyval = T_MOD; break; case 169: yyval = T_AND; break; case 170: yyval = T_AND; break; case 171: yyval = newlist(yyYpv[1]); break; case 172: yyval = addlist(yyYpv[1], yyYpv[3]); break; case 173: yyval = newlist(yyYpv[1]); break; case 174: yyval = addlist(yyYpv[1], yyYpv[3]); break; case 176: { yyval = tree3(T_TYID, lineof(yyline), yyYpv[1]); } break; } } int yyact[] {0,-286,8195,4096,0,16384,4096,12295,-256,8198 ,-273,8197,4096,-256,8201,-259,12315,-261,8207,-271 ,12315,-277,8206,-285,12315,-293,8208,-295,8209,4096 ,-40,8210,4096,12291,-259,8213,-271,8218,-285,8217 ,4096,12293,12294,12296,-256,8220,-259,12297,-261,12297 ,-271,12297,-273,8219,-277,12297,-285,12297,-293,12297 ,-295,12297,4096,-256,8222,-259,12298,-261,12298,-271 ,12298,-273,8221,-277,12298,-285,12298,-293,12298,-295 ,12298,4096,-256,8224,-259,12299,-261,12299,-271,12299 ,-273,8225,-277,12299,-285,12299,-293,12299,-295,12299 ,4096,-276,8227,4096,-256,8229,-273,8228,4096,-256 ,8231,-273,8230,4096,-256,8233,-273,8225,4096,-273 ,8225,4096,-46,8235,4096,12316,-256,8252,-259,8243 ,-260,8244,-267,12381,-269,8248,-272,8249,-273,8241 ,-274,8250,-276,8239,-288,8247,-296,8246,-297,8245 ,-301,8251,-59,12381,4096,-270,8258,12319,-273,8260 ,4096,12321,12322,-61,8261,4096,12306,-61,8262,4096 ,12310,-44,8264,-58,8263,4096,12314,12461,-59,8265 ,-44,8266,4096,12301,-61,8267,4096,12305,-61,8268 ,4096,12309,-44,8264,-58,8269,4096,12313,-41,8270 ,-44,8264,4096,12289,-267,8271,-59,8272,4096,12371 ,-256,8252,-259,8243,-260,8244,-267,12381,-269,8248 ,-272,8249,-273,8241,-274,8250,-276,8239,-288,8247 ,-294,12381,-296,8246,-297,8245,-301,8251,-59,12381 ,4096,-58,8274,4096,-40,8275,12383,-256,8276,-266 ,12470,-267,12470,-294,12470,-46,12468,-40,12470,-59 ,12470,-58,12423,-94,12467,-91,12466,4096,12386,-256 ,8279,-273,8288,-276,8284,-279,8291,-280,8286,-284 ,8282,-290,8283,-298,8285,-43,8280,-45,8281,-40 ,8290,-91,8292,4096,-273,8295,4096,-273,8295,4096 ,-276,8299,4096,12399,-58,8302,4096,-46,8304,-94 ,8305,-91,8303,12424,-91,8306,4096,-46,8307,4096 ,-94,8308,4096,-59,8309,4096,-256,8201,-259,12315 ,-261,8207,-271,12315,-277,8206,-285,12315,-293,8208 ,-295,8209,4096,-40,8312,12324,-273,8322,-276,8319 ,-280,8321,-290,8314,-298,8320,-43,8316,-45,8317 ,4096,-258,8331,-268,8332,-273,8335,-276,8319,-280 ,8321,-283,8327,-287,8334,-289,8333,-290,8314,-298 ,8320,-43,8316,-45,8317,-40,8329,-94,8325,4096 ,-273,8337,4096,12300,-276,8338,4096,-59,8342,4096 ,12292,12373,12372,-256,8279,-273,8288,-276,8284,-279 ,8291,-280,8286,-284,8282,-290,8283,-298,8285,-43 ,8280,-45,8281,-40,8290,-91,8292,4096,12385,-267 ,8347,-59,8272,4096,-257,8364,-262,8362,-275,8355 ,-278,8363,-281,8348,-282,8358,-60,8353,-61,8352 ,-62,8354,-43,8356,-45,8357,-124,8359,-42,8360 ,-47,8361,-38,8365,4096,12401,12407,12408,12409,12410 ,12411,12412,-256,8368,-257,12423,-262,12423,-263,12423 ,-264,12423,-265,12423,-266,12423,-267,12423,-275,12423 ,-278,12423,-281,12423,-282,12423,-291,12423,-292,12423 ,-294,12423,-299,12423,-300,12423,-60,12423,-61,12423 ,-62,12423,-43,12423,-45,12423,-124,12423,-42,12423 ,-47,12423,-38,12423,-46,12468,-40,12471,-41,12423 ,-59,12423,-44,12423,-58,12423,-94,12467,-91,12466 ,-93,12423,4096,-40,8369,4096,-256,8279,-273,8288 ,-276,8284,-279,8291,-280,8286,-284,8282,-290,8283 ,-298,8285,-43,8280,-45,8281,-40,8290,-91,8292 ,-93,8373,4096,-263,8376,-44,8377,4096,12459,-46 ,12468,-94,12467,-91,12466,12423,-257,8364,-262,8362 ,-263,8378,-275,8355,-278,8363,-282,8358,-60,8353 ,-61,8352,-62,8354,-43,8356,-45,8357,-124,8359 ,-42,8360,-47,8361,-38,8365,4096,-294,8379,-59 ,8272,4096,-265,8380,-292,8381,4096,12394,-257,8364 ,-262,8362,-275,8355,-278,8363,-282,8358,-291,8382 ,-60,8353,-61,8352,-62,8354,-43,8356,-45,8357 ,-124,8359,-42,8360,-47,8361,-38,8365,4096,-257 ,8364,-262,8362,-275,8355,-278,8363,-282,8358,-60 ,8353,-61,8352,-62,8354,-43,8356,-45,8357,-124 ,8359,-42,8360,-47,8361,-38,8365,12398,-61,8383 ,4096,-256,8279,-273,8288,-276,8284,-279,8291,-280 ,8286,-284,8282,-290,8283,-298,8285,-43,8280,-45 ,8281,-40,8290,-91,8292,4096,-273,8387,4096,12430 ,12429,12317,-259,8213,-271,8218,-285,8217,4096,-58 ,8392,12330,-271,8397,-273,8225,-285,8398,-295,8396 ,4096,-59,8399,4096,12333,12334,-273,8322,-276,8319 ,-280,8321,-298,8320,4096,12337,12338,12339,12340,12463 ,-59,8402,4096,12343,-273,8403,4096,12345,-258,8331 ,-268,8332,-287,8334,-289,8333,4096,12347,-264,8406 ,4096,-91,8407,4096,-281,8408,4096,-281,8409,4096 ,-273,8225,12360,-264,12463,12464,-59,8414,4096,12462 ,12302,-59,8415,4096,-59,8416,4096,-59,8417,4096 ,12290,12382,-41,8418,-44,8419,4096,12440,-257,8364 ,-262,8362,-275,8355,-278,8363,-282,8358,-299,8422 ,-300,8423,-60,8353,-61,8352,-62,8354,-43,8356 ,-45,8357,-124,8359,-42,8360,-47,8361,-38,8365 ,-58,8420,12431,12387,-256,8426,-267,12380,-273,8322 ,-276,8319,-280,8321,-290,8314,-298,8320,-302,8428 ,-43,8316,-45,8317,-59,12380,4096,12442,-61,8434 ,-62,8433,12443,-61,8435,12444,12448,12449,12450,12451 ,12452,12453,12454,12455,12456,12457,12458,-257,8364,-262 ,8362,-278,8363,-42,8360,-47,8361,-38,8365,12403 ,-257,8364,-262,8362,-278,8363,-42,8360,-47,8361 ,-38,8365,12404,12413,-257,8364,-262,8362,-275,8355 ,-278,8363,-282,8358,-60,8353,-61,8352,-62,8354 ,-43,8356,-45,8357,-124,8359,-42,8360,-47,8361 ,-38,8365,-41,8437,4096,12416,-44,8439,-93,8438 ,4096,12418,12419,-257,8364,-262,8362,-264,8440,-275 ,8355,-278,8363,-282,8358,-60,8353,-61,8352,-62 ,8354,-43,8356,-45,8357,-124,8359,-42,8360,-47 ,8361,-38,8365,12421,-273,8295,4096,-44,8450,-93 ,8449,4096,-257,8364,-262,8362,-275,8355,-278,8363 ,-282,8358,-60,8353,-61,8352,-62,8354,-43,8356 ,-45,8357,-124,8359,-42,8360,-47,8361,-38,8365 ,12438,12428,12469,-44,8450,-93,8451,4096,12427,-59 ,8452,4096,-59,8453,4096,-41,8455,-59,8456,4096 ,12331,-44,8264,-58,8457,4096,12304,12335,12336,12308 ,12344,12346,-41,8461,-44,8264,4096,-273,8335,-276 ,8319,-280,8321,-290,8314,-298,8320,-43,8316,-45 ,8317,-40,8329,4096,-273,8335,-276,8319,-280,8321 ,-290,8314,-298,8320,-43,8316,-45,8317,-40,8329 ,4096,-267,8467,4096,-256,8470,-260,8471,-267,12362 ,-41,12362,-59,8469,4096,12357,-44,8264,-58,8472 ,4096,12312,12303,12307,12311,12384,-256,8279,-273,8288 ,-276,8284,-279,8291,-280,8286,-284,8282,-290,8283 ,-298,8285,-43,8280,-45,8281,-40,8290,-91,8292 ,4096,12434,12436,12437,-256,8476,-267,8477,-59,8475 ,4096,12374,12376,-44,8478,-58,8479,4096,12341,-257 ,8364,-262,8362,-275,4096,-278,8363,-282,8358,-60 ,4096,-61,4096,-62,4096,-43,8356,-45,8357,-124 ,8359,-42,8360,-47,8361,-38,8365,12402,-257,8364 ,-262,8362,-278,8363,-42,8360,-47,8361,-38,8365 ,12405,12406,12445,12446,12447,-41,8481,-44,8419,4096 ,12415,12417,-256,8279,-273,8288,-276,8284,-279,8291 ,-280,8286,-284,8282,-290,8283,-298,8285,-43,8280 ,-45,8281,-40,8290,-91,8292,4096,12389,12460,12390 ,-257,8364,-262,8362,-275,8355,-278,8363,-282,8358 ,-60,8353,-61,8352,-62,8354,-43,8356,-45,8357 ,-124,8359,-42,8360,-47,8361,-38,8365,12391,-257 ,8364,-262,8362,-263,8484,-275,8355,-278,8363,-282 ,8358,-60,8353,-61,8352,-62,8354,-43,8356,-45 ,8357,-124,8359,-42,8360,-47,8361,-38,8365,4096 ,-257,8364,-262,8362,-263,8485,-275,8355,-278,8363 ,-282,8358,-60,8353,-61,8352,-62,8354,-43,8356 ,-45,8357,-124,8359,-42,8360,-47,8361,-38,8365 ,4096,-266,8486,12395,-257,8364,-262,8362,-275,8355 ,-278,8363,-282,8358,-60,8353,-61,8352,-62,8354 ,-43,8356,-45,8357,-124,8359,-42,8360,-47,8361 ,-38,8365,12400,12426,12425,12318,12320,12329,12323,-271 ,8397,-273,8225,-285,8398,-295,8396,4096,-44,8264 ,-58,8490,4096,-44,8264,-58,8491,4096,-44,8264 ,12328,12348,12349,-44,8493,-93,8492,4096,12354,12351 ,12352,12353,12356,-273,8225,12360,12359,-273,8496,4096 ,12441,-257,8364,-262,8362,-275,8355,-278,8363,-282 ,8358,-299,8422,-300,8423,-60,8353,-61,8352,-62 ,8354,-43,8356,-45,8357,-124,8359,-42,8360,-47 ,8361,-38,8365,-58,8498,12432,-273,8322,-276,8319 ,-280,8321,-290,8314,-298,8320,-302,8428,-43,8316 ,-45,8317,12380,12377,12388,12379,12414,12420,-257,8364 ,-262,8362,-275,8355,-278,8363,-282,8358,-60,8353 ,-61,8352,-62,8354,-43,8356,-45,8357,-124,8359 ,-42,8360,-47,8361,-38,8365,12422,-256,8252,-259 ,8243,-260,8244,-266,12381,-267,12381,-269,8248,-272 ,8249,-273,8241,-274,8250,-276,8239,-288,8247,-294 ,12381,-296,8246,-297,8245,-301,8251,-59,12381,4096 ,-257,8364,-262,8362,-275,8355,-278,8363,-282,8358 ,-60,8353,-61,8352,-62,8354,-43,8356,-45,8357 ,-124,8359,-42,8360,-47,8361,-38,8365,12439,12332 ,12325,-281,8508,4096,12358,-281,8510,4096,-58,8511 ,12464,12361,12435,12375,12342,12378,12392,12393,12396,12326 ,12327,12355,-273,8322,-276,8319,-280,8321,-290,8314 ,-298,8320,-43,8316,-45,8317,12368,-273,8518,4096 ,-257,8364,-262,8362,-275,8355,-278,8363,-282,8358 ,-60,8353,-61,8352,-62,8354,-43,8356,-45,8357 ,-124,8359,-42,8360,-47,8361,-38,8365,12433,12350 ,-256,8520,-267,12363,-41,12363,-59,8519,4096,12365 ,-44,8478,-58,8521,4096,-281,8522,4096,12464,-273 ,8322,-276,8319,-280,8321,-290,8314,-298,8320,-43 ,8316,-45,8317,12368,12367,-40,8524,4096,12366,-273 ,8225,-41,8527,12360,-256,8520,-267,12364,-41,12364 ,-59,8519,4096,-41,8528,4096,12370,12369,-1}; int yypact[] {0,1,4,7,8,13,30,33,34,41 ,42,43,44,63,82,101,104,109,114,119 ,122,125,126,155,7,158,161,162,163,166 ,167,170,171,176,177,178,183,184,187,188 ,191,192,197,198,203,204,209,210,241,244 ,247,268,126,269,294,269,126,297,300,269 ,269,303,304,307,314,317,320,323,326,343 ,346,361,361,390,393,394,346,361,361,397 ,400,401,402,210,403,428,429,434,465,269 ,269,466,467,468,469,470,471,472,543,269 ,269,546,573,578,579,586,617,622,627,628 ,659,688,691,716,719,691,716,720,721,722 ,729,732,741,744,745,746,746,755,756,757 ,758,759,760,763,764,767,768,777,119,778 ,781,784,787,790,793,796,799,800,801,804 ,807,810,811,812,817,818,853,854,269,269 ,269,877,878,883,886,887,888,889,890,891 ,892,893,894,895,896,897,910,923,403,924 ,955,956,961,962,963,210,994,210,269,269 ,269,210,269,997,1002,1031,1032,1033,1038,1039 ,1042,361,1045,1050,1051,119,119,119,1056,1057 ,1058,1059,1060,1061,1062,346,1067,361,1084,1101 ,1104,1115,1116,1121,1122,1123,1124,1125,1126,269 ,1151,1152,1153,1154,1161,1162,1163,210,1168,1169 ,1198,1211,1212,1213,1214,1215,1220,1221,1222,269 ,1247,1248,1249,1250,1279,1310,1341,1344,1373,269 ,1374,1375,1376,1377,1378,1379,361,1388,1393,1398 ,1401,1402,1403,1408,1409,1410,1411,1412,1413,1416 ,1417,361,1420,1421,1456,1473,1474,346,210,1475 ,1476,1477,1478,210,210,1507,1540,1569,1570,361 ,361,1571,1084,1574,1575,1578,1581,269,1582,1583 ,1584,1585,1586,1587,1588,1589,1590,361,1591,1592 ,1607,1610,1639,1640,1649,1650,1655,1658,1659,1674 ,1675,1592,1678,1679,1684,1693,1696,1697,-1}; int yyr1[] {0,1,2,2,5,3,3,3,8,8 ,8,8,9,13,13,10,10,10,10,11 ,11,11,11,12,12,12,12,4,4,16 ,16,18,17,19,19,20,20,23,23,23 ,23,21,21,22,22,14,14,14,14,24 ,24,24,24,26,26,15,15,15,15,27 ,27,27,28,28,28,28,30,30,31,32 ,32,32,34,34,33,33,33,35,35,35 ,36,36,36,7,7,38,39,39,39,39 ,40,40,40,37,37,37,37,37,37,37 ,37,37,37,37,37,37,37,37,37,37 ,37,37,43,44,44,44,44,44,44,44 ,44,44,44,44,44,44,44,44,44,44 ,44,51,51,52,52,46,46,53,53,53 ,53,53,53,59,59,59,59,59,60,60 ,55,55,42,42,47,47,47,47,47,47 ,47,48,48,48,48,49,49,49,49,49 ,49,45,45,6,6,25,29,61,54,58 ,56,57,41,50,-1}; int yyr2[] {0,5,6,2,3,2,2,0,1,1 ,1,1,3,1,3,5,5,2,2,5 ,5,2,2,5,5,2,2,0,2,3 ,5,1,5,1,1,3,0,3,4,4 ,2,2,0,1,3,1,1,2,2,1 ,1,1,1,1,3,1,2,1,2,1 ,3,3,6,3,3,3,1,3,2,1 ,3,2,0,3,0,4,6,1,3,2 ,0,5,4,1,2,2,1,3,1,2 ,3,2,0,0,3,1,4,2,1,3 ,5,4,4,4,6,6,2,4,6,5 ,2,1,4,1,3,2,2,3,3,1 ,1,1,1,1,1,2,4,3,2,3 ,2,1,3,1,3,1,1,4,4,3 ,3,2,2,1,3,5,2,4,1,1 ,1,3,1,3,1,1,1,2,2,2 ,1,1,1,1,1,1,1,1,1,1 ,1,1,3,1,3,1,1,1,1,1 ,1,1,1,1,-1}; int yygo[] {0,-1,1,-1,2,23,67,-1,4,67 ,118,-1,7,118,198,-1,19,13,31,17 ,40,18,42,120,203,137,213,204,266,205 ,267,206,268,264,203,-1,221,51,85,55 ,105,-1,44,-1,8,-1,10,-1,11,-1 ,12,-1,13,-1,34,69,121,75,147,156 ,237,214,270,283,237,286,309,318,237,327 ,237,330,237,-1,138,71,144,76,148,77 ,149,200,262,216,273,265,297,280,305,298 ,314,299,315,316,321,-1,131,-1,20,-1 ,22,-1,23,-1,24,-1,119,-1,199,-1 ,201,264,296,-1,202,124,208,125,209,-1 ,123,-1,126,156,235,283,235,-1,324,215 ,272,217,274,301,317,-1,132,135,212,-1 ,134,279,303,319,325,-1,136,-1,271,332 ,334,-1,218,-1,219,-1,276,277,302,-1 ,220,330,333,-1,322,327,331,-1,323,46 ,81,82,151,184,249,186,251,190,255,236 ,288,287,310,292,311,293,312,294,313,-1 ,45,-1,46,-1,232,283,308,-1,233,-1 ,48,177,244,-1,152,56,106,-1,50,52 ,86,54,104,58,108,59,109,88,174,89 ,175,98,178,99,179,100,183,111,193,114 ,193,157,238,158,239,159,240,187,252,188 ,253,189,254,191,256,228,282,247,183,248 ,291,258,295,306,320,-1,154,-1,101,21 ,61,46,61,51,61,53,102,55,61,56 ,61,82,61,184,61,185,250,186,61,190 ,61,236,61,287,61,292,61,293,61,294 ,61,-1,95,-1,157,-1,158,-1,159,-1 ,97,-1,180,247,290,-1,182,-1,62,-1 ,63,114,196,-1,192,-1,64,115,197,-1 ,194,-1,65,227,281,-1,153,282,307,-1 ,229,-1,-1,-1}; int yypgo[] {0,1,3,5,9,13,17,37,43,45 ,47,49,51,53,55,75,97,99,101,103 ,105,107,109,111,115,121,123,129,137,141 ,147,149,153,155,157,161,165,169,191,193 ,195,199,201,205,209,257,259,293,295,297 ,299,301,303,307,309,311,315,317,321,323 ,327,331,-1}; yyEactr(__np__, var) int __np__; char *var; { switch(__np__) { default: return (1); case 175: return (identis(var, CONST)); break; case 177: return (identis(var, VAR)); break; case 178: return (identis(var, ARRAY)); break; case 179:  return (identis(var, PTRFILE)); break; case 180: return (identis(var, RECORD)); break; case 181: return (identis(var, FIELD)); break; case 182: return (identis(var, PROC)); break; case 183: return (identis(var, FUNC)); break; case 135: { return (identis(var, VAR)); } break; case 176: { return (identis(var, TYPE)); } break; } } y.tab.h$¤�d# # define YAND 257 # define YARRAY 258 # define YBEGIN 259 # define YCASE 260 # define YCONST 261 # define YDIV 262 # define YDO 263 # define YDOTDOT 264 # define YTO 265 # define YELSE 266 # define YEND 267 # define YFILE 268 # define YFOR 269 # define YFORWARD 270 # define YFUNCTION 271 # define YGOTO 272 # define YID 273 # define YIF 274 # define YIN 275 # define YINT 276 # define YLABEL 277 # define YMOD 278 # define YNOT 279 # define YNUMB 280 # define YOF 281 # define YOR 282 # define YPACKED 283 # define YNIL 284 # define YPROCEDURE 285 # define YPROG 286 # define YRECORD 287 # define YREPEAT 288 # define YSET 289 # define YSTRING 290 # define YTHEN 291 # define YDOWNTO 292 # define YTYPE 293 # define YUNTIL 294 # define YVAR 295 # define YWHILE 296 # define YWITH 297 # define YBINT 298 # define YOCT 299 # define YHEX 300 # define YASSERT 301 # define YCASELAB 302 # define YILLCH 303 # define YLAST 304 # define UNARYSIGN 305 /* * GLOBALS FOR ACTIONS */ /* * The following line marks the end of the yacc * Constant definitions which are removed from * y.tab.c and placed in the file y.tab.h. */ yy.h$¤‘n# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "y.tab.h" /* * INPUT/OUTPUT */ /* * The buffer for the input file is normally "ibuf". * When files are included, however, this may be * pushed down in the stack of currently active * files. For this reason, the pointer ibp always * references the i/o buffer of the current input file. */ int ibuf[259], *ibp; /* * Line and token buffers. Charbuf is the character buffer for * input lines, token the buffer for tokens returned * by the scanner. CBSIZE defines the maximum line * length allowed on input and is doubtless too small. * The token buffer should be a local array in yylex. */ #define CBSIZE 161 char charbuf[CBSIZE], *bufp, token[CBSIZE]; #define digit(c) (c >= '0' && c <= '9') #define alph(c) ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')) /* * Flag to prevent reprinting current line after * an error. */ char yyprtd; /* * The following variables are maintained by * the scanner in the file lex and used in scanning * and in parsing. * * The variable yychar is the current scanner character. * Currently, the scanner must be called as * yychar = yylex() * even though it should set yychar itself. * Yychar has value YEOF at end of file, and negative value if * there is no yychar, e.g. after a shift in the parser. * * The variable yycol is the current column in the line whose number * is given by yyline. Yyecol and yyeline give the position for an * error message to flag, usually the start of an input token. * Yylval is the semantic return from the scanner. * * In fact all of these variables are "per token". * In the usual case, only the copies in the scanner token structure * 'Y' are used, and the #defines below serve to make them look * like variables. * * For the purposes of the error recovery, however, they are copied * and restored quite freely. For the error recovery also, the * file name which the input line this token is on and the seek * pointer of this line in its source file are saved as yyefile * and yyseekp. The global variable yylinpt is the seek pointer * of the current input line. */ int yycol; int yyline; int yyseqid; int yysavc; int yylinpt; /* *** NOTE *** * It would be much better to not have the Yyeline and Yyefile * in the scanner structure and to have a mechanism for mapping * seqid's to these globally. */ struct yytok { int Yychar; int Yylval; int Yyecol; int Yyeline; int Yyseekp; char *Yyefile; int Yyeseqid; } Y, OY; #define yychar Y.Yychar #define yylval Y.Yylval #define yyecol Y.Yyecol #define yyeline Y.Yyeline #define yyseekp Y.Yyseekp #define yyefile Y.Yyefile #define yyeseqid Y.Yyeseqid /* * Yyval is the semantic value returned by a reduction. * It is what "$$" is expanded to by yacc. */ int *Ps, *yyval; /* * N is the length of a reduction. * Used externally by "lineof" to get the left and * right margins for a reduction.  */ int N; /* * Definitions for looking up keywords. * The keyword array is called yykey, and * lastkey points at the end of it. */ char *lastkey; struct kwtab { char *kw_str; int kw_val; } yykey[]; /* * ERROR RECOVERY EXTERNALS */ #define CLIMIT 40 /* see yyrecover.c */ long tokname(); long charname(); char *classes[]; /* * Tokens which yacc doesn't define */ #define YEOF 0 #define ERROR 256 /* * Limit on the number of syntax errors */ #define MAXSYNERR 100 /* * Big costs */ #define HUGE 50 #define INFINITY 100 /* * Kinds of panics */ #define PDECL 0 #define PSTAT 1 #define PEXPR 2 #define PPROG 3 #define yyresume() yyResume = 1; char yyResume; char dquote; char errout; /* * Yyidwant and yyidhave are the namelist classes * of identifiers associated with a identifier reduce * error, set before the recovery is called. * Since they may be set again during the forward move * they must be saved by yyrecover, which uses them in printing * error messages. */ int yyidhave, yyidwant; /* * The variables yy*shifts are used to prevent looping and the printing * of spurious messages in the parser. Yyshifts gives the number of * true input shifts since the last corrective action. YyOshifts * is the value of yyshifts before it was last cleared, and is used * by yyPerror in yypanic.c to suppress messages. * * Yytshifts counts true input shifts. It is used to prevent looping * inserting unique symbols. If yytshifts == yyTshifts (local to * yyrecover.c) then there has been no shift over true input since * the last unique symbol insertion. We refuse, in this case, * to insert more unique symbols so as to prevent looping. * * The recovery cannot loop because it guarantees the progress of the * parse, i.e.: * * 1) Any insertion guarantees to shift over 2 symbols, a replacement * over one symbol. * * 2) Unique symbol insertions are limited to one for each true * symbol of input, or "safe" insertion of the keywords "end" * and "until" at zero cost (safe since these are know to match * stack that cannot have been generated - e.g. "begin" or "repeat") * * 3) We never panic more than once from a given state without * shifting over input, i.e. we force the parse stack to shrink * after each unsuccessful panic. */ int yyshifts, yyOshifts; unsigned yytshifts; #ifdef PXP /* * Identifier class definitions */ #define UNDEF 0 #define CONST 1 #define TYPE 2 #define VAR 3 #define ARRAY 4 #define PTRFILE 5 #define RECORD 6 #define FIELD 7 #define PROC 8 #define FUNC 9 #define FVAR 10 #define REF 11 #define PTR 12 #define FILE 13 #define SET 14 #define RANGE 15 #define LABEL 16 #define WITHPTR 17 #define SCAL 18 #define STR 19 #define PROG 20 #define IMPROPER 21 /* * COMMENT FORMATTING DEFINITIONS */ /* * Count of tokens on this input line * Note that this can be off if input is not syntactically correct. */ int yytokcnt; int yywhcnt; /* * Types of comments */ #define CLMARG 0 #define CALIGN 1 #define CTRAIL 2 #define CRMARG 3 #define CSRMARG 4 #define CNL 5 #define CNLBL 6 #define CFORM 7 #define CINCLUD 8 /* * Comment structure * Cmhp is the head of the current list of comments */ struct comment { struct comment *cmnext; int cmdelim; struct commline *cml; int cmjust; int cmseqid; } *cmhp; /* * Structure for holding a comment line */ struct commline { char *cmtext; int cmcol; /* Only used for first line of comment currently */ struct commline *cml; }; struct W { int Wseqid; int Wcol; } yyw[MAXDEPTH + 1], *yypw; #define commform() quickcomm(CFORM) #define commnl() quickcomm(CNL) #define commnlbl() quickcomm(CNLBL) #endif yycopy.sâ#„¤�Ý.globl _Y, _OY, _OYcopy /.globl _Ycopy _OYcopy: mov $_OY,r0 mov $_Y,r1 mov r2,-(sp) /0: mov $8.,r2 1: mov (r1)+,(r0)+ sob r2,1b mov (sp)+,r2 rts pc / /_Ycopy: / mov 2(sp),r0 / mov 4(sp),r1 / mov r2,-(sp) / br 0b cyycosts.cëL¤‘˜# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" /* * Symbol costs for Pascal. * * Cost strategy of August 14, 1977. * * The costs determined by the routines in this file are used by * the recovery in choosing appropriate corrections. * The cost vectors and the error productions in the grammar * work together to define the corrective capacity of the grammar. * * The costs here largely derive from those given in Steve Rhode's * thesis for the Pascal-I error correcting parser which he implemented. * Some minor changes have been made to adjust for the fact that * the current error recovery is not as "smart", both because of the * limited forward move and because of the lack of any type information * about identifiers. * * These adjustments largely take the form of increased costs for certain * tokens, noticeably keywords which are major brackets such as "begin" * "label", "procedure", etc. * * The overall weighting strategy is still similar to Rhodes' strategy. * The costs can be considered: * * LOW <= 3 * MEDIUM 4 or 5 * HIGH >= 6 */ /* * Insertion costs * * In addition to the normal symbol insertion costs, * there are zero cost insertions here. * The current error recovery system treats symbols * which have zero insertion cost in a special way, * inserting them but suppressing diagnostics. * This allows the system to hold of on bracketing * error diagnostics about missing end's until the * reduction occurs which knows the line number of the * corresponding "begin", "repeat", etc. * A more intelligent and useful diagnostic can then * be printed. * * Although this routine never allows the insertion * of the keyword begin, it can be inserted after a * procedure or function body starts, if it was omitted * by a special case in the panic routine, which notices * the keywords in the statement body of the procedure * and inserts the begin to recover. * * Similarly, we do not insert end-of-file, but * the fact that end-of-file is the unique input * is noticed by the recovery routines as a special * case and handled there. */ inscost(sy, before) int sy, before; { switch (before) { case YPROCEDURE: case YFUNCTION: case YEND: switch (sy) { case YEND: if (before == YEND) break; case YUNTIL: return (0); } } switch (sy) { case ';': return (1); case ',': case ':': case YOF: case YDO: return (2); case YARRAY: case '+': case '*': return (3); default: return (4); case '^': case YNOT: case YLABEL: case YCONST: case YTYPE: case YVAR: case YUNTIL: case '(': case '[': case YWHILE: case YWITH: case YASSERT: return (5); case YPROCEDURE: case YFUNCTION: case YCASE: return (6); case YEND: return (8); case YBEGIN: case YEOF: case YREPEAT: case YRECORD: return (INFINITY); } } /* * Replacement costs * * Most replacement costs are the same as an insertion * plus a deletion cost. One special case is the replacement * of a large number of keywords by an identifier. * These are given lower costs, especially the keyword "to". */ repcost(what, with) int what, with; { register int c; if (with == what) return (INFINITY); if (with == YID && what > ERROR) switch (what) { case YID: case YDOTDOT: case YINT: case YBINT: case YSTRING: case YNUMB: break; case YTO: return (3); default: return (5); case YRECORD: case YTHEN: return (6); case YBEGIN: break; } if (what == ';') switch (with) { case ',': case '.': return (CLIMIT - 1); } c = delcost(what) + inscost(with); /* * It costs extra to replace something which has * semantics by something which doesn't. */ if (nullsem(what) == NIL && nullsem(with) != NIL) c =+ 4; return (c); } /* * Deletion costs */ delcost(what) int what; { switch (what) { case '.': case ':': case ',': case '=': case '(': return (3); case YELSE: case YTHEN: return (4); default: return (5); case YLABEL: case YCONST: case YTYPE: case YVAR: return (10); case YPROCEDURE: case YFUNCTION: case YBEGIN: case YEND: return ((CLIMIT * 3) / 4); case ';': case YEOF: return (INFINITY); } } #ifdef DEBUG /* * Routine to print out costs with "-C" option. */ char yysyms[] ";,:=*+/-|&()[]<>~^"; yycosts() { register int c; register char *cp; printf("Insert\tDelete\tRep(ID)\tSymbol\n"); for (cp = yysyms; *cp; cp++) yydocost(*cp); for (c = ERROR + 1; c < YLAST; c++) yydocost(c); #ifdef PXP flush(); #endif } yydocost(c) int c; { printf("%4d\t", inscost(c, -1)); printf("%4d\t", delcost(c)); if (repcost(c, YID) != inscost(YID) + delcost(c)) printf("%4d", repcost(c, YID)); printf("\t%s%s\n", charname(c)); } #endif yyerror.cëL¤�›# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" /* * Yerror prints an error * message and then returns * NIL for the tree if needed. * The error is flagged on the * current line which is printed * if the listing is turned off. #ifdef PXP * * As is obvious from the fooling around * with fout below, the Pascal system should * be changed to use the new library "lS". #endif */ yerror(s, a1, a2, a3, a4, a5) char *s; { #ifdef PI char buf[256]; #endif register int i, j; static yySerrs; #ifdef PXP int ofout; #endif if (errpfx == 'w' && opt('w') != 0) return; #ifdef PXP xflush(); ofout = fout[0]; fout[0] = errout; #endif yyResume = 0; #ifdef PI geterr(s, buf); s = buf; #endif yysync(); putchar(errpfx); putchar(' '); for (i = 3; i < yyecol; i++) putchar('-'); printf("^--- "); /* if (yyecol > 60) printf("\n\t"); */ printf(s, a1, a2, a3, a4, a5); putchar('\n'); if (errpfx == 'E') #ifdef PI eflg++, cgenflg++; #endif #ifdef PXP eflg++; #endif errpfx = 'E'; yySerrs++; if (yySerrs >= MAXSYNERR) { yySerrs = 0; yerror("Too many syntax errors - QUIT"); pexit(ERRS); } #ifdef PXP xflush(); fout[0] = ofout; return (0); #endif } /* * A bracketing error message */ brerror(where, what) int where; char *what; { if (where == 0) { line = yyeline; setpfx(' '); error("End matched %s on line %d", what, where); return; } if (where < 0) where = -where; yerror("Inserted keyword end matching %s on line %d", what, where); } +yyget.cëL¤‘f# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" #ifdef PXP int yytokcnt; #endif /* * Getchar returns the next * character from the current * input line or -1 on end-of-file. * It also maintains yycol for use in * printing error messages. */ getchar() { register i, c; if (*bufp == '\n') { #ifdef PXP yytokcnt = 0; #endif if (getline() < 0) return (-1); } c = *++bufp; if (c == '\t') yycol = ((yycol + 8) & ~7); else yycol++; return (c); } /* * Definitions of the structures used for the * include facility. The variable "ibp" points * to the getc buffer of the current input file. * There are "inclev + 1" current include files, * and information in saved in the incs stack * whenever a new level of include nesting occurs. * * Ibp in the incs structure saves the pointer * to the previous levels input buffer; * filename saves the previous file name; * Printed saves whether the previous file name * had been printed before this nesting occurred; * and yyline is the line we were on on the previous file. */ int *ibp ibuf; #define MAXINC 10 struct inc { int *ibp; char *filename; int Printed; int yyline; int yyLinpt; } incs[MAXINC]; extern char printed; int inclev -1; #ifdef PXP /* * These initializations survive only if * pxp is asked to pretty print one file. * Otherwise they are destroyed by the initial * call to getline. */ char charbuf[CBSIZE] " program x(output);\n"; int yycol 8; char *bufp charbuf; #endif /* * YyLinpt is the seek pointer to the beginning of the * next line in the file. */ int yyLinpt; /* * Getline places the next line * from the input stream in the * line buffer, returning -1 at YEOF. */ getline() { register char *cp; register CHAR c; #ifdef PXP static char ateof; #endif register int *ib; int i; if (opt('l') && yyprtd == 0) yyoutline(); yyprtd = 0; top: yylinpt = yyLinpt; yyline++; yyseqid++; cp = charbuf; ib = ibp; i = sizeof charbuf - 1; for (;;) { c = getc(ib); if (c == -1) { if (uninclud()) goto top; #ifdef PXP if (ateof == 0 && bracket) { strcpy(charbuf, "begin end.\n"); ateof = 1; goto out; } #endif bufp = "\n"; yyline--; yyseqid--; yyprtd = 1; return (-1); } *cp++ = c; if (c == '\n') break; if (--i == 0) { line = yyline; error("Input line too long - QUIT"); pexit(DIED); } } *cp = 0; yyLinpt = yylinpt + cp - charbuf; if (includ()) goto top; #ifdef PXP if (cp == &charbuf[1]) commnl(); else if (cp == &charbuf[2]) switch (charbuf[0]) { case ' ': commnlbl(); break; case '\f': commform(); } #endif if (opt('u')) setuflg(); out: bufp = charbuf - 1; yycol = 8; return (1); } /* * Check an input line to see if it is a "#include" pseudo-statement. * We allow arbitrary blanks in the line and the file name * may be delimited by either 's or "s. A single semicolon * may be placed after the name, but nothing else is allowed */ includ() { register char *cp, *dp; char ch; register struct inc *ip; cp = charbuf; if (*cp++ != '#') return (0); cp = skipbl(cp); for (dp = "include"; *dp; dp++) if (*dp != *cp++) return (0); line = yyline; cp = skipbl(cp); ch = *cp++; if (ch != '\'' && ch != '"') { /* * This should be a yerror flagging the place * but its not worth figuring out the column. */ line = yyline; error("Include syntax error - expected ' or \" not found - QUIT"); pexit(DIED); } for (dp = cp; *dp != ch; dp++) if (*dp == 0) { line = yyline; error("Missing closing %c for include file name - QUIT", ch); pexit(DIED); } *dp++ = 0; if (*dp == ';') dp++; dp = skipbl(dp); if (*dp != '\n') { line = yyline; error("Garbage after filename in include"); pexit(DIED); } if (!dotted(cp, 'i')) { line = yyline; error("Include filename must end in .i"); } #ifdef PXP commincl(cp, ch); if (noinclude) return (1); #endif  inclev++; if (inclev > MAXINC) { line = yyline; error("Absurdly deep include nesting - QUIT"); pexit(DIED); } ip = &incs[inclev]; ip->filename = filename; filename = savestr(cp); cp = alloc(518); if (cp == -1) { error("Ran out of memory (include)"); pexit(DIED); } if (fopen(filename, cp) < 0) { perror(filename); pexit(DIED); } if (inpflist(filename)) { #ifdef PI opush('l'); #endif #ifdef PXP opush('z'); #endif } ip->Printed = printed; printed = 0; ip->yyline = yyline; yyline = 0; ip->yyLinpt = yyLinpt; yyLinpt = 0; ip->ibp = ibp; ibp = cp; return (1); } skipbl(ocp) char *ocp; { register char *cp; cp = ocp; while (*cp == ' ' || *cp == '\t') cp++; return (cp); } /* * At the end of an include, * close the file, free the input buffer, * and restore the environment before * the "push", including the value of * the z option for pxp and the l option for pi. */ uninclud() { register struct inc *ip; if (inclev < 0) return (0); close(ibp[0]); free(ibp); ip = &incs[inclev]; ibp = ip->ibp; yyline = ip->yyline; if (inpflist(filename)) { #ifdef PI opop('l'); #endif #ifdef PXP opop('z'); #endif } filename = ip->filename; yyLinpt = ip->yyLinpt; /* * If we printed out the nested name, * then we should print all covered names again. * If we didn't print out the nested name * we print the uncovered name only if it * has not been printed before (unstack). */ if (printed) { printed = 0; while (ip >= incs) { ip->Printed = 0; ip--; } } else printed = ip->Printed; inclev--; return (1); } yyid.cëL¤‘†# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" #ifdef PI extern int *yypv; /* * Determine whether the identifier whose name * is "cp" can possibly be a kind, which is a * namelist class. We look through the symbol * table for the first instance of cp as a non-field, * and at all instances of cp as a field. * If any of these are ok, we return true, else false. * It would be much better to handle with's correctly, * even to just know whether we are in a with at all. * * Note that we don't disallow constants on the lhs of assignment. */ identis(cp, kind) register char *cp; int kind; { register struct nl *p; int i; /* * Cp is NIL when error recovery inserts it. */ if (cp == NIL) return (1); /* * Record kind we want for possible later use by yyrecover */ yyidwant = kind; yyidhave = NIL; i = cp & 077; for (p = disptab[i]; p != NIL; p = p->nl_next) if (p->symbol == cp) { if (yyidok(p, kind)) goto gotit; if (p->class != FIELD && p->class != BADUSE) break; } if (p != NIL) for (p = p->nl_next; p != NIL; p = p->nl_next) if (p->symbol == cp && p->class == FIELD && yyidok(p, kind)) goto gotit; return (0); gotit: if (p->class == BADUSE && !Recovery) { yybadref(p, OY.Yyeline); yypv[0] = NIL; } return (1); } /* * A bad reference to the identifier cp on line * line and use implying the addition of kindmask * to the mask of kind information. */ yybaduse(cp, line, kindmask) register char *cp; int line, kindmask; { register struct nl *p, *oldp; int i; i = cp & 077; for (p = disptab[i]; p != NIL; p = p->nl_next) if (p->symbol == cp) break; oldp = p; if (p == NIL || p->class != BADUSE) p = enter(defnl(cp, BADUSE, 0, 0)); p->value[NL_KINDS] =| kindmask; yybadref(p, line); return (oldp); } struct udinfo ud { -1, -1, 0}; /* * Record a reference to an undefined identifier, * or one which is improperly used. */ yybadref(p, line) register struct nl *p; int line; { register struct udinfo *udp; if (p->chain != NIL && p->chain->ud_line == line) return; udp = esavestr(&ud); udp->ud_line = line; udp->ud_next = p->chain; p->chain = udp; } #define varkinds ((1<class == BADUSE) { if (kind == VAR) return (p->value[0] & varkinds); return (p->value[0] & (1 << kind)); } if (yyidok1(p, kind)) return (1); if (yyidhave != NIL) yyidhave = IMPROPER; else yyidhave = p->class; return (0); } yyidok1(p, kind) register struct nl *p; int kind; { int i; switch (kind) { case FUNC: if (p->class == FVAR) return(1); case CONST: case TYPE: case PROC: case FIELD: return (p->class == kind); case VAR: return (p->class == CONST || yyisvar(p, NIL)); case ARRAY: case RECORD: return (yyisvar(p, kind)); case PTRFILE: return (yyisvar(p, PTR) || yyisvar(p, FILE)); } } yyisvar(p, class) register struct nl *p; int class; { switch (p->class) { case FIELD: case VAR: case REF: case FVAR: /* * We would prefer to return * parameterless functions only. */ case FUNC: return (class == NIL || (p->type != NIL && p->type->class == class)); } return (0); } #endif #ifdef PXP #ifndef DEBUG identis() { return (1); } #endif #ifdef DEBUG extern char *classes[]; char kindchars[] "UCTVAQRDPF"; /* * Fake routine "identis" for pxp when testing error recovery. * Looks at letters in variable names to answer questions * about attributes. Mapping is * C const_id * T type_id * V var_id also if any of AQRDF * A array_id * Q ptr_id * R record_id * D field_id D for "dot" * P proc_id * F func_id */ identis(cp, kind) register char *cp; int kind; { register char *dp; char kindch; /* * Don't do anything unless -T */ if (!typetest) return (1); /* * Inserted symbols are always correct */ if (cp == NIL) return (1); /* * Set up the names for error messages */ yyidwant = classes[kind]; for (dp = kindchars; *dp; dp++) if (any(cp, *dp)) { yyidhave = classes[dp - kindchars]; break; } /* * U in the name means undefined */ if (any(cp, 'U')) return (0); kindch = kindchars[kind]; if (kindch == 'V') for (dp = "AQRDF"; *dp; dp++) if (any(cp, *dp)) return (1); return (any(cp, kindch)); } #endif #endif yylex.cëL¤‘X# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" /* * Scanner */ int yylacnt; #define YYLASIZ 10 struct yytok Yla[YYLASIZ]; unyylex(y) struct yylex *y; { if (yylacnt == YYLASIZ) panic("unyylex"); copy(&Yla[yylacnt], y, sizeof Yla[0]); yylacnt++; } yylex() { register c; register **ip; register char *cp; int f; char delim; if (yylacnt != 0) { yylacnt--; copy(&Y, &Yla[yylacnt], sizeof Y); return (yychar); } if (c = yysavc) yysavc = 0; else c = getchar(); #ifdef PXP yytokcnt++; #endif next: /* * skip white space */ #ifdef PXP yywhcnt = 0; #endif while (c == ' ' || c == '\t') { #ifdef PXP if (c == '\t') yywhcnt++; yywhcnt++; #endif c = getchar(); } yyecol = yycol; yyeline = yyline; yyefile = filename; yyeseqid = yyseqid; yyseekp = yylinpt; cp = token; yylval = yyline; switch (c) { case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': case 'g': case 'h': case 'i': case 'j': case 'k': case 'l': case 'm': case 'n': case 'o': case 'p': case 'q': case 'r': case 's': case 't': case 'u': case 'v': case 'w': case 'x': case 'y': case 'z': case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': case 'G': case 'H': case 'I': case 'J': case 'K': case 'L': case 'M': case 'N': case 'O': case 'P': case 'Q': case 'R': case 'S': case 'T': case 'U': case 'V': case 'W': case 'X': case 'Y': case 'Z': do { *cp++ = c; c = getchar(); } while (alph(c) || digit(c)); *cp = 0; if (opt('s')) for (cp = token; *cp; cp++) if (*cp >= 'A' && *cp <= 'Z') { *cp =| ' '; } yysavc = c; ip = hash(0, 1); if (*ip < yykey || *ip >= lastkey) { yylval = *ip; return (YID); } yylval = yyline; /* * For keywords * the lexical token * is magically retrieved * from the keyword table. */ return ((*ip)[1]); case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': f = 0; do { *cp++ = c; c = getchar(); } while (digit(c)); if (c == 'b' || c == 'B') { /* * nonstandard - octal constants */ if (opt('s')) { standard(); yerror("Octal constants are non-standard"); } *cp = 0; yylval = copystr(token); return (YBINT); } if (c == '.') { c = getchar(); if (c == '.') { *cp = 0; yysavc = YDOTDOT; yylval = copystr(token); return (YINT); } infpnumb: f++; *cp++ = '.'; if (!digit(c)) { yyset(); recovered(); yerror("Digits required after decimal point"); *cp++ = '0'; } else while (digit(c)) { *cp++ = c; c = getchar(); } } if (c == 'e' || c == 'E') { f++; *cp++ = c; if ((c = yysavc) == 0) c = getchar(); if (c == '+' || c == '-') { *cp++ = c; c = getchar(); } if (!digit(c)) { yyset(); yerror("Digits required in exponent"); *cp++ = '0'; } else while (digit(c)) { *cp++ = c; c = getchar(); } } *cp = 0; yysavc = c; yylval = copystr(token); if (f) return (YNUMB); return (YINT); case '"': case '`': if (!any(bufp + 1, c)) goto illch; if (!dquote) { recovered(); dquote++; yerror("Character/string delimiter is '"); } case '\'': case '#': delim = c; do { do { c = getchar(); if (c == '\n') { yerror("Unmatched %c for string", delim); if (cp == token) *cp++ = ' ', cp++; break; } *cp++ = c; } while (c != delim); c = getchar(); } while (c == delim); *--cp = 0; if (cp == token) {  yerror("Null string not allowed"); *cp++ = ' '; *cp++ = 0; } yysavc = c; yylval = copystr(token); return (YSTRING); case '.': c = getchar(); if (c == '.') return (YDOTDOT); if (digit(c)) { recovered(); yerror("Digits required before decimal point"); *cp++ = '0'; goto infpnumb; } yysavc = c; return ('.'); case '{': /* * { ... } comment */ #ifdef PXP getcm(c); #endif #ifdef PI c = options(); while (c != '}') { if (c <= 0)  goto nonterm; if (c == '{') { warning(); yyset(); yerror("{ in a { ... } comment"); } c = getchar(); } #endif c = getchar(); goto next; case '(': if ((c = getchar()) == '*') { /* * (* ... *) comment */ #ifdef PXP getcm(c); c = getchar(); goto next; #endif #ifdef PI c = options(); for (;;) { if (c < 0) { nonterm: yerror("Comment does not terminate - QUIT"); pexit(ERRS); } if (c == '(' && (c = getchar()) == '*') { warning(); yyset(); yerror("(* in a (* ... *) comment"); } if (c == '*') { if ((c = getchar()) != ')') continue; c = getchar(); goto next; } c = getchar(); } #endif } yysavc = c; c = '('; case ';': case ',': case ':': case '=': case '*': case '+': case '/': case '-': case '|': case '&': case ')': case '[': case ']': case '<': case '>': case '~': case '^': return (c); default: switch (c) { case YDOTDOT: return (c); case '\n': c = getchar(); #ifdef PXP yytokcnt++; #endif goto next; case '\f': c = getchar(); goto next; } if (c <= 0) return (YEOF); illch: do yysavc = getchar(); while (yysavc == c); yylval = c; return (YILLCH); } } yyset() { yyecol = yycol; yyeline = yyline; yyefile = filename; yyseekp = yylinpt; } /* * Setuflg trims the current * input line to at most 72 chars * for the u option. */ setuflg() { if (charbuf[71] != '\n') { charbuf[72] = '\n'; charbuf[73] = 0; } } yymain.cëL¤��# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" int line 1; /* * Yymain initializes each of the utility * clusters and then starts the processing * by calling yyparse. */ yymain() { /* * Initialize the scanner */ #ifdef PXP if (bracket == 0) { #endif if (getline() == -1) { Perror(filename, "No lines in file"); pexit(NOSTART); } #ifdef PXP } else yyline = 0; #endif #ifdef PI /* * Magic number for Pascal */ word(0404); #endif /* * Initialize the clusters * initstring(); */ inithash(); inittree(); #ifdef PI initnl(); #endif /* * Process the input */ yyparse(); #ifdef DEBUG #ifdef PI dumpnl(0); #endif #endif #ifdef PXP prttab(); #endif pexit(eflg ? ERRS : AOK); } yyoptions.cëL¤� # /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" /* * Options processes the option * strings which can appear in * comments and returns the next character. */ options() { register c, ch; register char *optp; int ok, *optsp; c = getchar(); if (c != '$') return (c); do { c = getchar(); switch (c) { case 'b': optp = &opts['b'-'a']; goto optdig; case 'x': optp = &opts['x'-'a']; goto optdig; optdig: c = getchar(); if (!digit(c)) return (c); *optp = c - '0'; c = getchar(); break; default: if (c < 'a' || c > 'z') return (c); optp = &opts[c-'a']; optsp = &optstk[c-'a']; ch = getchar(); ok = 0; if (ch == '<') { *optp = *optsp & 1; *optsp =>> 1; ok = 1; c = getchar(); } else if (ch == '>') { *optsp =<< 1; *optsp =| *optp & 1; ok = 1; c = getchar(); } else { ok = 0; c = ch; } if (c == '+') { *optp = 1; c = getchar(); } else if (c == '-') { *optp = 0; c = getchar(); } else if (!ok) return (c); break; } } while (c == ','); if (opts['u'-'a']) setuflg(); return (c); } eyypanic.cëL¤�w # /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" /* * The routine yyPerror coordinates the panic when * the correction routines fail. Three types of panics * are possible - those in a declaration part, those * in a statement part, and those in an expression. * * Declaration part panics consider insertion of "begin", * expression part panics will stop on more symbols. * The panics are otherwise the same. * * ERROR MESSAGE SUPPRESSION STRATEGY: August 11, 1977 * * If the parser has not made at least 2 moves since the last point of * error then we want to suppress the supplied error message. * Otherwise we print it. * We then skip input up to the next solid symbol. */ yyPerror(cp, kind) char *cp; int kind; { struct yytok oldpos; int ishifts, brlev; copy(&oldpos, &Y, sizeof oldpos); brlev = 0; for (ishifts = yyshifts; ; yychar = yylex(), yyshifts++) switch (yychar) { case YILLCH: yerror("Illegal character"); if (ishifts == yyshifts) yyOshifts = 0; continue; case YEOF: goto quiet; case ';': if (kind == PPROG) continue; if (kind == PDECL) yychar = yylex(); goto resume; case YEND: if (kind == PPROG) continue; case YPROCEDURE: case YFUNCTION: goto resume; case YLABEL: case YTYPE: case YCONST: case YVAR: if (kind == PSTAT) { yerror("Declaration found when statement expected"); goto quiet; } case YBEGIN: goto resume; case YFOR: case YREPEAT: case YWHILE: case YGOTO: case YIF: if (kind != PDECL) goto resume; yerror("Expected keyword begin after declarations, before statements"); unyylex(&Y); yychar = YBEGIN; yylval = nullsem(YBEGIN); goto quiet; case YTHEN: case YELSE: case YDO: if (kind == PSTAT) { yychar = yylex(); goto resume; } if (kind == PEXPR) goto resume; continue; case ')': case ']': if (kind != PEXPR) continue; if (brlev == 0) goto resume; if (brlev > 0) brlev--; continue; case '(': case '[': brlev++; continue; case ',': if (brlev != 0) continue; case YOF: case YTO: case YDOWNTO: if (kind == PEXPR) goto resume; continue; #ifdef PI /* * A rough approximation for now * Should be much more lenient on suppressing * warnings. */ case YID: syneflg++; continue; #endif } resume: if (yyOshifts >= 2) { if (yychar != -1) unyylex(&Y); copy(&Y, &oldpos, sizeof Y); yerror(cp); yychar = yylex(); } quiet: if (yyshifts - ishifts > 2 && opt('r')) { setpfx('r'); yerror("Parsing resumes"); } /* * If we paniced in the statement part, * and didn't stop at a ';', then we insert * a ';' to prevent the recovery from immediately * inserting one and complaining about it. */ if (kind == PSTAT && yychar != ';') { unyylex(&Y); yyshifts--; yytshifts--; yychar = ';'; yylval = nullsem(';'); } } cyyparse.cëL¤�# # /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" /* * Parser for 'yacc' output. * Specifially Modified for UNIX Pascal */ int yystate; /* Current parser state */ int *yypv; unsigned yytshifts 1; /* Number of "true" shifts */ /* * Parse Tables */ int yygo[]; int yypgo[]; int yyr1[]; int yyr2[]; int yyact[]; int yypact[]; /* * Parse and parallel semantic stack */ int yyv[MAXDEPTH]; int yys[MAXDEPTH]; /* * This routine parses the input stream, and * returns if it accepts, or if an unrecoverable syntax * error is encountered. */ yyparse() { register int *ps, n, *p; int paniced, *panicps, idfail; yystate = 0; yychar = yylex(); OY.Yychar = -1; yyshifts = 3; paniced = 0; ps = &yys[0]-1; yypv = &yyv[0]-1; #ifdef PXP yypw = &yyw[0]-1; #endif stack: /* * Push new state and value. */ if (yypv >= &yyv[MAXDEPTH-1]) { yerror("Parse stack overflow"); pexit(DIED); } *++ps = yystate; *++yypv = yyval; #ifdef PXP yypw++; #endif newstate: /* * Locate parsing actions for the * new parser state. */ p = &yyact[ yypact[yystate+1] ]; actn: /* * Search the parse actions table * for something useful to do. * While n is non-positive, it is the negation * of the token we are testing for. */ /* if ((n = *p++) <= 0) { if (yychar < 0) yychar = yylex(); do if ((n =+ yychar) != 0) p++; while ((n = *p++) <= 0); } */ while ((n = *p++) <= 0) if ((n =+ yychar) != 0) p++; switch (n >> 12) { /* * Shift. */ case 2: #ifdef PXP yypw[1].Wseqid = yyseqid; yypw[1].Wcol = yycol; #endif OYcopy(); yystate = n & 07777; yyval = yylval; /* yychar = -1; */ yychar = yylex(); yyshifts++; yytshifts++; goto stack; /* * Reduce. */ case 3: n =& 07777; N = yyr2[n]; if (N == 1 && OY.Yychar == YID && !yyEactr(n, yypv[0])) { idfail = 1; goto errin; } OY.Yychar = -1; ps =- N; yypv =- N; #ifdef PXP yypw =- N; #endif yyval = yypv[1]; yyactr(n); /* * Use goto table to find next state. */ p = &yygo[yypgo[yyr1[n]]]; while (*p != *ps && *p >= 0) p =+ 2; yystate = p[1]; goto stack; /* * Accept. */ case 4: return; /* * Error. */ case 1: idfail = 0; errin: if ((paniced || yyshifts != 0) && yyrecover(ps, idfail)) { paniced = 0; ps = Ps; yystate = *ps; goto newstate; } /* * Find a state where 'error' is a * legal shift action. */ if (paniced && yyshifts <= 0 && ps >= panicps) { yypv =- (ps - panicps) + 1; #ifdef PXP yypw =- (ps - panicps) + 1; #endif ps = panicps - 1; } while (ps >= yys) { for (p = &yyact[ yypact[*ps+1] ] ; *p <= 0; p=+ 2) if (*p == -256) { panicps = ps; yystate= p[1] & 07777; yyOshifts = yyshifts; yyshifts = 0; paniced = 1; goto stack; } --ps; --yypv; #ifdef PXP --yypw; #endif #ifdef PI if (OY.Yychar != YID) syneflg++; #endif OY.Yychar = -1; } if (yychar == YEOF) yyunexeof(); if (yystate == 1) yyexeof(); yerror("Unrecoverable syntax error - QUIT"); return; } panic("yyparse"); } yyprint.cëL¤�÷# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" long tokname(); STATIC char bounce; /* * Printing representation of a * "character" - a lexical token * not in a yytok structure. */ long charname(ch) int ch; { struct yytok Ych; Ych.Yychar = ch; Ych.Yylval = nullsem(ch); return (tokname(&Ych)); } /* * Printing representation of a token */ long tokname(tp) register struct yytok *tp; { register char *cp; register struct kwtab *kp; long l; (&l)->pint2 = ""; switch (tp->Yychar) { case YCASELAB: cp = "case-label";  break; case YEOF: cp = "end-of-file"; break; case YILLCH: cp = "illegal character"; break; case 256: /* error token */ cp = "error"; break; case YID: cp = "identifier"; break; case YNUMB: cp = "real number"; break; case YINT: case YBINT: cp = "number"; break; case YSTRING: cp = tp->Yylval; cp = cp == NIL || cp[1] == 0 ? "character" : "string"; break; case YDOTDOT: cp = "'..'"; break; default: if (tp->Yychar < 256) { cp = "'x'\0'x'"; if (bounce = ((bounce + 1) & 1)) cp =+ 4; cp[1] = tp->Yychar; break; } for (kp = yykey; kp->kw_str != NIL && kp->kw_val != tp->Yychar; kp++) continue; cp = "keyword "; (&l)->pint2 = kp->kw_str; } (&l)->pint = cp; return (l); } :yyput.cëL¤‘4# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" /* * Structure describing queued listing lines during the forward move * of error recovery. These lines will be stroed by yyoutline during * the forward move and flushed by yyoutfl or yyflush when an * error occurs or a program termination. */ struct B { int Bline; int Bseekp; char *Bfile; int Bseqid; struct B *Bnext; } *bottled; /* * Filename gives the current input file, lastname is * the last filename we printed, and lastid is the seqid of the last line  * we printed, to help us avoid printing * multiple copies of lines. */ extern char *filename; char *lastname; int lastid; char hadsome; char holdbl; /* * Print the current line in the input line * buffer or, in a forward move of the recovery, queue it for printing. */ yyoutline() { register struct B *bp; if (Recovery) { bp = tree5(yyline, yylinpt, filename, yyseqid); if (bottled != NIL) bp->Bnext = bottled->Bnext, bottled->Bnext = bp; else bp->Bnext = bp; bottled = bp; return; } yyoutfl(yyseqid); if (yyseqid != lastid) yyprline(charbuf, yyline, filename, yyseqid); } /* * Flush all the bottled output. */ yyflush() { yyoutfl(32767); } /* * Flush the listing to the sequence id toseqid */ yyoutfl(toseqid) int toseqid; { register struct B *bp; bp = bottled; if (bp == NIL) return; bp = bp->Bnext; while (bp->Bseqid <= toseqid) { yygetline(bp->Bfile, bp->Bseekp, bp->Bline, bp->Bseqid); if (bp->Bnext == bp) { bottled = NIL; break; } bp = bp->Bnext; bottled->Bnext = bp; } } int yygetunit -1; char *yygetfile; /* * Yysync guarantees that the line associated * with the current token was the last line * printed for a syntactic error message. */ yysync() { yyoutfl(yyeseqid); if (lastid != yyeseqid) yygetline(yyefile, yyseekp, yyeline, yyeseqid); } yySsync() { yyoutfl(OY.Yyeseqid); } /* * Yygetline gets a line from a file after we have * lost it. The pointer efile gives the name of the file, * seekp its offset in the file, and eline its line number. * If this routine has been called before the last file * it worked on will be open in yygetunit, with the files * name being given in yygetfile. Note that this unit must * be opened independently of the unit in use for normal i/o * to this file; if it were a dup seeks would seek both files. */ yygetline(efile, seekp, eline, eseqid) char *efile; int seekp, eline, eseqid; { register int cnt; register char *bp; char buf[CBSIZE + 1]; if (lastid == eseqid) return; if (eseqid == yyseqid) { bp = charbuf; yyprtd++; } else { bp = buf; if (efile != yygetfile) { close(yygetunit); yygetfile = efile; yygetunit = open(yygetfile, 0); if (yygetunit < 0) oops: perror(yygetfile), pexit(DIED); } if (seek(yygetunit, seekp, 0) < 0) goto oops; cnt = read(yygetunit, bp, CBSIZE); if (cnt < 0) goto oops; bp[cnt] = 0; } yyprline(bp, eline, efile, eseqid); } yyretrieve() { yygetline(OY.Yyefile, OY.Yyseekp, OY.Yyeline, OY.Yyeseqid); } /* * Print the line in the character buffer which has * line number line. The buffer may be terminated by a new * line character or a null character. We process * form feed directives, lines with only a form feed character, and * suppress numbering lines which are empty here. */ yyprline(buf, line, file, id) register char *buf; int line; char *file; int id; { lastid = id; if (buf[0] == '\f' && buf[1] == '\n') { printf("\f\n"); hadsome = 0; holdbl = 0; return; } if (holdbl) { putchar('\n'); holdbl = 0; } if (buf[0] == '\n') holdbl = 1; else { yysetfile(file); yyprintf(buf, line); } hadsome = 1; } yyprintf(cp, line) register char *cp; int line; { printf("%6d ", line); while (*cp != 0 && *cp != '\n') putchar(graphic(*cp++)); putchar('\n'); } graphic(ch) register CHAR ch; { switch (ch) { default: if (ch >= ' ') return (ch); case 0177: return ('?'); case '\n': case '\t': return (ch); } } extern int nopflg; char printed 1; /* * Set the current file name to be file, * printing the name, or a header on a new * page if required. */ yysetfile(file) char *file; { #ifdef PXP if (nopflg == 1) return; #endif if (lastname == file) return; if (file == filename && opt('n') && (printed & 02) == 0) { printed =| 02; header(); } else yyputfn(file); lastname = file; } /* * Put out an include file name * if an error occurs but the name has * not been printed (or if another name * has been printed since it has). */ yyputfn(cp) char *cp; { if (cp == lastname && printed) return; lastname = cp; printed = 1; printf("%s:\n", cp); hadsome = 1; } yyrecover.cëL¤‘RK# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" /* * Very simplified version of Graham-Rhodes error recovery * method for LALR parsers. Backward move is embodied in * default reductions of the yacc parser until an error condition * is reached. Forward move is over a small number of input tokens * and cannot "condense". The basic corrections are: * * 1) Delete the input token. * * 2) Replace the current input with a legal input. * * 3) Insert a legal token. * * All corrections are weighted, considered only if they allow * at least two shifts, and the cost of a correction increases if * it allows shifting over only a part of the lookahead. * * Another error situation is that which occurs when an identifier "fails" * a reduction because it is not the required "class". * In this case, we also consider replacing this identifier, which has * already been shifted over, with an identifier of the correct class. * * Another correction performed here is unique symbol insertion. * If the current state admits only one input, and no other alternative * correction presents itself, then that symbol will be inserted. * There is a danger in this of looping, and it is handled * by counting true shifts over input (see below). * * * A final class of corrections, considered only when the error * occurred immediately after a shift over a terminal, involves * the three basic corrections above, but with the point of error * considered to be before this terminal was shifted over, effectively * "unreading" this terminal. This is a feeble attempt at elimination * of the left-right bias and because "if" has a low weight and some * statements are quite simple i.e. * * cse ch of ... *  * we can get a small number of errors. The major deficiency of * this is that we back up only one token, and that the forward * move is over a small number of tokens, often not enough to really * tell what the input should be, e.g. in * * a[i] > a[i - 1] ... * * In such cases a bad identifier (misspelled keyword) or omitted * keyword will be change or inserted as "if" as it has the lowest cost. * This is not terribly bad, as "if"s are most common. * This also allows the correction of other errors. * * This recovery depends on the default reductions which delay * noticing the error until the parse reaches a state where the * relevant "alternatives" are visible. Note that it does not * consider tokens which will cause reductions before being * shifted over. This requires the grammar to be written in a * certain way for the recovery to work correctly. * In some sense, also, the recovery suffers because we have * LALR(1) tables rather than LR(1) tables, e.g. in * * if rec.field < rec2,field2 then */ /* * Definitions of possible corrective actions */ #define CPANIC 0 #define CDELETE 1 #define CREPLACE 2 #define CINSERT 3 #define CUNIQUE 4 #define CCHIDENT 5 /* * Multiplicative cost factors for corrective actions. * * When an error occurs we take YCSIZ - 1 look-ahead tokens. * If a correction being considered will shift over only part of * that look-ahead, it is not completely discarded, but rather * "weighted", its cost being multiplied by a weighting factor. * For a correction to be considered its weighted cost must be less * than CLIMIT. * * Non-weighted costs are considered: * * LOW <= 3 * MEDIUM 4,5 * HIGH >= 6 * * CURRENT WEIGHTING STRATEGY: Aug 20, 1977 * * For all kinds of corrections we demand shifts over two symbols. * Corrections have high weight even after two symbol * shifts because the costs for deleting and inserting symbols are actually * quite low; we do not want to change weighty symbols * on inconclusive evidence. * * The weights are the same after the third look ahead. * This prevents later, unrelated errors from causing "funny" * biases of the weights toward one type of correction. * * Current look ahead is 5 symbols. */ /*** CLIMIT is defined in yy.h for yycosts ***/ #define CPRLIMIT 50 #define CCHIDCOST 4 char insmult[8] INFINITY, INFINITY, INFINITY, 15, 8, 6, 3, 1; char repmult[7] INFINITY, INFINITY, INFINITY, 8, 6, 3, 1; char delmult[6] INFINITY, INFINITY, INFINITY, 6, 3, 1; #define NOCHAR -1 #define Eprintf if (errtrace) printf #define Tprintf if (testtrace) printf /* * Action arrays of the parser needed here */ int yyact[], yypact[], *yypv; /* * Yytips is the tip of the stack when using * the function loccor to check for local * syntactic correctness. As we don't want * to copy the whole parser stack, but want * to simulate parser moves, we "split" * the parser stack and keep the tip here. */ #define YYTIPSIZ 16 int yytips[YYTIPSIZ], yytipct; int yytipv[YYTIPSIZ]; /* * The array YC saves the lookahead tokens for the * forward moves. * Yccnt is the number of tokens in the YC array. */ #define YCSIZ 6 int yCcnt; struct yytok YC0[YCSIZ + 1]; struct yytok *YC; /* * YCps gives the top of stack at * the point of error. */ char yyunique 1; STATIC unsigned yyTshifts; /* * Cact is the corrective action we have decided on * so far, ccost its cost, and cchar the associated token. * Cflag tells if the correction is over the previous input token. */ int cact, ccost, cchar, cflag; /* * ACtok holds the token under * consideration when examining * the lookaheads in a state. */ struct yytok ACtok; #define acchar ACtok.Yychar #define aclval ACtok.Yylval /* * Make a correction to the current stack which has * top of stack pointer Ps. */ yyrecover(Ps0, idfail) int *Ps0, idfail; { register int c, i; int yyrwant, yyrhave; #ifdef PI Recovery = 1; #endif YC = &YC0[1]; #ifdef DEBUG if (errtrace) { setpfx('p'); yerror("Point of error"); printf("States %d %d ...", Ps0[0], Ps0[-1]); if (idfail) printf(" [Idfail]"); putchar('\n'); printf("Input %s%s", tokname(&Y)); } #endif /* * We first save the current input token * and its associated semantic information. */ if (yychar < 0) yychar = yylex(); copy(&YC[0], &Y, sizeof Y); /* * Set the default action and cost */ cact = CPANIC, ccost = CLIMIT, cflag = 0; /* * Peek ahead */ for (yCcnt = 1; yCcnt < YCSIZ; yCcnt++) { yychar = yylex(); copy(&YC[yCcnt], &Y, sizeof YC[0]); #ifdef DEBUG Eprintf(" | %s%s", tokname(&YC[yCcnt])); #endif } #ifdef DEBUG Eprintf("\n"); #endif /* * If we are here because a reduction failed, try * correcting that. */ if (idfail) { /* * Save the particulars about * the kind of identifier we want/have. */ yyrwant = yyidwant; yyrhave = yyidhave; #ifdef DEBUG Tprintf(" Try Replace %s identifier with %s identifier cost=%d\n", classes[yyidhave], classes[yyidwant], CCHIDCOST); #endif /* * Save the semantics of the ID on the * stack, and null them out to free * up the reduction in question. */ i = yypv[0]; yypv[0] = nullsem(YID); c = correct(NOCHAR, 0, CCHIDCOST, &repmult[2], Ps0, yypv); yypv[0] = i; #ifdef DEBUG if (c < CPRLIMIT || fulltrace) Eprintf("Cost %2d Replace %s identifier with %s identifier\n", c, classes[yyrhave], classes[yyrwant]); #endif if (c < ccost) cact = CCHIDENT, ccost = c, cchar = YID; } /* * First try correcting the state we are in */ trystate(Ps0, yypv, 0, &insmult[1], &delmult[1], &repmult[1]); /* * Now, if we just shifted over a terminal, try * correcting it. */ if (OY.Yychar != -1 && OY.Yylval != nullsem(OY.Yychar)) { YC--; copy(&YC[0], &OY, sizeof YC[0]); trystate(Ps0 - 1, yypv - 1, 1, insmult, delmult, repmult); if (cflag == 0) YC++; else { yypv--; #ifdef PXP yypw--; #endif Ps0--; yCcnt++; } } /* * Restoring the first look ahead into * the scanner token allows the error message * routine to print the error message with the text * of the correct line. */ copy(&Y, &YC[0], sizeof Y); /* * Unique symbol insertion. * * If there was no reasonable correction found, * but only one input to the parser is acceptable * we report that, and try it. * * Special precautions here to prevent looping. * The number of true inputs shifted over at the point * of the last unique insertion is recorded in the * variable yyTshifts. If this is not less than * the current number in yytshifts, we do not insert. * Thus, after one unique insertion, no more unique * insertions will be made until an input is shifted * over. This guarantees termination. */ if (cact == CPANIC && !idfail) { register int *ap; ap = &yyact[yypact[*Ps0 + 1]]; if (*ap == -ERROR) ap =+ 2; if (ap[0] <= 0 && ap[2] > 0) { cchar = -ap[0]; if (cchar == YEOF) yyexeof(); if (cchar != ERROR && yyTshifts < yytshifts) { cact = CUNIQUE; #ifdef DEBUG Eprintf("Unique symbol %s%s\n", charname(cchar)); #endif /* * Note that the inserted symbol * will not be counted as a true input * (i.e. the "yytshifts--" below) * so that a true shift will be needed * to make yytshifts > yyTshifts. */ yyTshifts = yytshifts; } } } /* * Set up to perform the correction. * Build a token appropriate for replacement * or insertion in the yytok structure ACchar * having the attributes of the input at the * point of error. */ copy(&ACtok, &YC[0], sizeof ACtok); acchar = cchar; aclval = nullsem(acchar); if (aclval != NIL) recovered(); switch (cact) { /* * Panic, just restore the * lookahead and return. */ case CPANIC: setpfx('E'); if (idfail) { copy(&Y, &OY, sizeof Y); if (yyrhave == NIL) { #ifdef PI if (yybaduse(yypv[0], yyeline, ISUNDEF) == NIL) #endif yerror("Undefined identifier"); } else { yerror("Improper %s identifier", classes[yyrhave]); #ifdef PI yybaduse(yypv[0], yyeline, NIL); #endif } /* * Suppress message from panic routine */ yyshifts = 1; } i = 0; /* Note that on one path we dont touch yyshifts ! */ break; /* * Delete the input. * Mark this as a shift over true input. * Restore the lookahead starting at * the second token. */ case CDELETE: if (ccost != 0) yerror("Deleted %s%s", tokname(&YC[0])); yytshifts++; i = 1; yyshifts = 0; break; /* * Replace the input with a new token. */ case CREPLACE: if (acchar == YEOF) yyexeof(); if (acchar == YEND) aclval = NIL; yerror("Replaced %s%s with a %s%s", tokname(&YC[0]), tokname(&ACtok)); copy(&YC[0], &ACtok, sizeof YC[0]); i = 0; yyshifts = 0; break; /* * Insert a token. * Don't count this token as a true input shift. * For inserted "end"s pas.y is responsible * for the error message later so suppress it. * Restore all the lookahead. */ case CINSERT: if (acchar == YEOF) yyexeof(); if (acchar != YEND) yerror("Inserted %s%s", tokname(&ACtok)); yytshifts--; i = 0; yyshifts = 0;  break; /* * Make a unique symbol correction. * Like an insertion but a different message. */ case CUNIQUE: setpfx('E'); yerror("Expected %s%s", tokname(&ACtok)); yytshifts--; i = 0; if (ccost == 0 || yyunique) yyshifts = 0; else yyshifts = -1; break; /* * Change an identifier's type * to make it work. */ case CCHIDENT: copy(&Y, &OY, sizeof Y); #ifdef PI i = 1 << yyrwant; #endif if (yyrhave == NIL) { yerror("Undefined %s", classes[yyrwant]); #ifdef PI i =| ISUNDEF; #endif } else yerror("Replaced %s id with a %s id", classes[yyrhave], classes[yyrwant]); #ifdef PI yybaduse(yypv[0], yyeline, i); #endif yypv[0] = nullsem(YID); i = 0; yyshifts = 0; break; } /* * Restore the desired portion of the lookahead, * and possibly the inserted or unique inserted token. */ for (yCcnt--; yCcnt >= i; yCcnt--) unyylex(&YC[yCcnt]); if (cact == CINSERT || cact == CUNIQUE) unyylex(&ACtok); /* * Put the scanner back in sync. */ yychar = yylex(); /* * We succeeded if we didn't "panic". */ Recovery = 0; Ps = Ps0; return (cact != CPANIC); } yyexeof() { yerror("End-of-file expected - QUIT"); pexit(ERRS); } yyunexeof() { yerror("Unexpected end-of-file - QUIT"); pexit(ERRS); } /* * Try corrections with the state at Ps0. * Flag is 0 if this is the top of stack state, * 1 if it is the state below. */ trystate(Ps0, Pv0, flag, insmult, delmult, repmult) int *Ps0, *Pv0, flag; char *insmult, *delmult, *repmult; { /* * C is a working cost, ap a pointer into the action * table for looking at feasible alternatives. */ register int c, *ap; int i, *actions; #ifdef DEBUG Eprintf("Trying state %d\n", *Ps0); #endif /* * Try deletion. * Correct returns a cost. */ #ifdef DEBUG Tprintf(" Try Delete %s%s cost=%d\n", tokname(&YC[0]), delcost(YC[0].Yychar)); #endif c = delcost(YC[0].Yychar); #ifndef DEBUG if (c < ccost) { #endif c = correct(NOCHAR, 1, c, delmult, Ps0, Pv0); #ifdef DEBUG if (c < CPRLIMIT || fulltrace) Eprintf("Cost %2d Delete %s%s\n", c, tokname(&YC[0])); #endif if (c < ccost) cact = CDELETE, ccost = c, cflag = flag; #ifndef DEBUG } #endif /* * Look at the inputs to this state * which will cause parse action shift. */ aclval = NIL; ap = &yyact[yypact[*Ps0 + 1]]; /* * Skip action on error to * detect true unique inputs. * Error action is always first. */ if (*ap == -ERROR) ap=+ 2; /* * Loop through the test actions * for this state. */ for (actions = ap; *ap <= 0; ap =+ 2) { /* * Extract the token of this action */ acchar = -*ap; /* * Try insertion */ #ifdef DEBUG Tprintf(" Try Insert %s%s cost=%d\n", charname(acchar), inscost(acchar)); #endif c = inscost(acchar, YC[0].Yychar); #ifndef DEBUG if (c < ccost) { #endif if (c == 0) { c = correct(acchar, 0, 1, insmult + 1, Ps0, Pv0); #ifdef DEBUG Eprintf("Cost %2d Freebie %s%s\n", c, charname(acchar)); #endif if (c < ccost) cact = CUNIQUE, ccost = 0, cchar = acchar, cflag = flag; } else { c = correct(acchar, 0, c, insmult, Ps0, Pv0); #ifdef DEBUG if (c < CPRLIMIT || fulltrace) Eprintf("Cost %2d Insert %s%s\n", c, charname(acchar)); #endif if (c < ccost) cact = CINSERT, ccost = c, cchar = acchar, cflag = flag; } #ifndef DEBUG } #endif /* * Try replacement */ #ifdef DEBUG Tprintf(" Try Replace %s%s with %s%s cost=%d\n", tokname(&YC[0]), charname(acchar), repcost(YC[0].Yychar, acchar)); #endif c = repcost(YC[0].Yychar, acchar); #ifndef DEBUG if (c < ccost) { #endif c = correct(acchar, 1, repcost(YC[0].Yychar, acchar), repmult, Ps0, Pv0); #ifdef DEBUG if (c < CPRLIMIT || fulltrace) Eprintf("Cost %2d Replace %s%s with %s%s\n", c, tokname(&YC[0]), tokname(&ACtok)); #endif if (c < ccost) cact = CREPLACE, ccost = c, cchar = acchar, cflag = flag; #ifndef DEBUG } #endif } } int *yCpv; char yyredfail; /* * Compute the cost of a correction * C is the base cost for it. * Fchar is the first input character from * the current state, NOCHAR if none. * The rest of the inputs come from the array * YC, starting at origin and continuing to the * last character there, YC[yCcnt - 1].Yychar. * * The cost returned is INFINITE if this correction * allows no shifts, otherwise is weighted based * on the number of shifts this allows against the * maximum number possible with the available lookahead. */ correct(fchar, origin, c, multvec, Ps0, Pv0) int fchar, origin, c; char *multvec; int *Ps0, *Pv0; { /* * The ntok structure is used to build a * scanner structure for tokens inserted * from the argument fchar. */ struct yytok ntok; register char *mv; /* * Ps is the top of the parse stack after the most * recent local correctness check. Loccor returns * NIL when we cannot shift. */ register int *ps; yyredfail = 0; /* * Initialize the tip parse and semantic stacks. */ ps = Ps0; yytips[0] = *ps; ps--; yytipv[0] = Pv0[0]; yCpv = Pv0 - 1; yytipct = 1; /* * Shift while possible. * Adjust cost as necessary. */ mv = multvec; do { if (fchar != NOCHAR) { copy(&ntok, &YC[0], sizeof ntok); ntok.Yychar = fchar, ntok.Yylval = nullsem(fchar); fchar = NOCHAR; ps = loccor(ps, &ntok); } else ps = loccor(ps, &YC[origin++]); if (ps == NIL) { if (yyredfail && mv > multvec) mv--; c =* *mv; break; } mv++; } while (*mv != 1); return (c); } extern int yygo[], yypgo[], yyr1[], yyr2[]; /* * Local syntactic correctness check. * The arguments to this routine are a * top of stack pointer, ps, and an input * token tok. Also, implicitly, the contents * of the yytips array which contains the tip * of the stack, and into which the new top * state on the stack will be placed if we shift. * * If we succeed, we return a new top of stack * pointer, else we return NIL. */ loccor(ps, ntok) int *ps; struct yytok *ntok; { register int *p, n; register int nchar; int i; if (ps == NIL) return (NIL); nchar = ntok->Yychar; yyeline = ntok->Yyeline; #ifdef DEBUG Tprintf(" Stack "); for (i = yytipct - 1; i >= 0; i--) Tprintf("%d ", yytips[i]); Tprintf("| %d, Input %s%s\n", *ps, charname(nchar)); #endif /* * As in the yacc parser yyparse, * p traces through the action list * and "n" is the information associated * with the action. */ newstate: p = &yyact[ yypact[yytips[yytipct - 1]+1] ]; actn: /* * Search the parse actions table * for something useful to do. * While n is non-positive, it is the * arithmetic inverse of the token to be tested. * This allows a fast check. */ while ((n = *p++) <= 0) if ((n =+ nchar) != 0) p++; switch (n >> 12) { /* * SHIFT */ case 2: n =& 07777; yyredfail = 0; if (nchar == YID) yyredfail++; if (yytipct == YYTIPSIZ) { tipover: #ifdef DEBUG Tprintf("\tTIP OVFLO\n"); #endif return (NIL); } yytips[yytipct] = n; yytipv[yytipct] = ntok->Yylval; yytipct++; #ifdef DEBUG Tprintf("\tShift to state %d\n", n); #endif return (ps); /* * REDUCE */ case 3: n =& 07777; if (yyEactr(n, yytipv[yytipct - 1]) == 0) { #ifdef DEBUG Tprintf("\tYyEactr objects: have %s id, want %s id\n", classes[yyidhave], classes[yyidwant]); #endif return (NIL); } yyredfail = 0; i = yyr2[n]; #ifdef DEBUG Tprintf("\tReduce, length %d,", i); #endif if (i > yytipct) { i =- yytipct; yytipct = 0; ps =- i; yCpv =- i; } else yytipct =- i; if (yytipct >= YYTIPSIZ) goto tipover; /* * Use goto table to find next state */ p = &yygo[yypgo[yyr1[n]]]; i = yytipct ? yytips[yytipct - 1] : *ps; while (*p != i && *p >= 0) p =+ 2; #ifdef DEBUG Tprintf(" new state %d\n", p[1]); #endif yytips[yytipct] = p[1]; yytipct++; goto newstate; /* * ACCEPT */ case 4: #ifdef DEBUG Tprintf("\tAccept\n"); #endif return (ps); /* * ERROR */ case 1: #ifdef DEBUG Tprintf("\tError\n"); #endif return (0); } panic("loccor"); } yyseman.cëL¤�8# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" /* * Assign semantics to a generated token * * Most terminals have a semantic value the current * input line. If they are generated they are flagged * by having this number negated. * * The terminals which have true semantics such * as identifiers and strings are instead given * semantic value NIL here - we do not attempt * to do repair, e.g. by giving generated integers * the value 1, etc. */ nullsem(ch) int ch; { switch (ch) { case YID: case YINT: case YNUMB: case YBINT: case YSTRING: return (NIL); default: return (-yyeline); } } yytree.cëL¤�ü # /* * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" extern int *spacep; /* * LIST MANIPULATION ROUTINES * * The grammar for Pascal is written left recursively. * Because of this, the portions of parse trees which are to resemble * lists are in the somewhat inconvenient position of having * the nodes built from left to right, while we want to eventually * have as semantic value the leftmost node. * We could carry the leftmost node as semantic value, but this * would be inefficient as to add a new node to the list we would * have to chase down to the end. Other solutions involving a head * and tail pointer waste space. * * The simple solution to this apparent dilemma is to carry along * a pointer to the leftmost node in a list in the rightmost node * which is the current semantic value of the list. * When we have completed building the list, we can retrieve this * left end pointer very easily; neither adding new elements to the list * nor finding the left end is thus expensive. As the bottommost node * has an unused next pointer in it, no space is wasted either. * * The nodes referred to here are of the T_LISTPP type and have * the form: * * T_LISTPP some_pointer next_element * * Here some_pointer points to the things of interest in the list, * and next_element to the next thing in the list except for the * rightmost node, in which case it points to the leftmost node. * The next_element of the rightmost node is of course zapped to the * NIL pointer when the list is completed. * * Thinking of the lists as tree we heceforth refer to the leftmost * node as the "top", and the rightmost node as the "bottom" or as * the "virtual root". */ /* * Make a new list */ newlist(new) register int *new; { if (new == NIL) return (NIL); return (tree3(T_LISTPP, new, spacep)); } /* * Add a new element to an existing list */ addlist(vroot, new) register int *vroot; int *new; { register int *top; if (new == NIL) return (vroot); if (vroot == NIL) return (newlist(new)); top = vroot[2]; vroot[2] = spacep; return (tree3(T_LISTPP, new, top)); } /* * Fix up the list which has virtual root vroot. * We grab the top pointer and return it, zapping the spot * where it was so that the tree is not circular. */ fixlist(vroot) register int *vroot; { register int *top; if (vroot == NIL) return (NIL); top = vroot[2]; vroot[2] = NIL; return (top); } /* * Fix a statement list. This is similar to the * work in fixlist, but we must also get rid of the * nodes T_IFX which are inserted by the parser so * that we can detect ';' before else errors. * These nodes are always gone already anyways, except * possibly in the presence of errors. */ fixstlist(vroot) register int *vroot; { register int *ifstat, *top; if (vroot == NIL) return (NIL); top = vroot[2]; vroot[2] = NIL; ifstat = vroot[1]; if (ifstat[0] == T_IFX) ifstat[0] == T_IFEL; return (top); } /* * Set up a T_VAR node for a qualified variable. * Init is the initial entry in the qualification, * or NIL if there is none. */ setupvar(var, init) char *var; register int *init; { if (init != NIL) init = newlist(init); return (tree4(T_VAR, NOCON, var, init)); } READ_ME ¢¤�³ November 9, 1977 This directory contains the source necessary to make a new pi. Many of the files in this directory were linked to files with the same name in the directory ../pxp, but the links were broken by tp. There is a binary of pi here that should work immediately. If you have floating point or with the simple system change in ../READ_ME. If you have to give a different number to the system call, you can simply reassemble the floating point interpreter and reload pi via load -i To print a copy of pi: printpi To make a new pi: makepi Read the file ../SETUP before you bother with any of this. The compiler made by makepi is suitable for running on an 11/45 or 11/70 which has hardware floating point. If you don't have hardware floating point, it is not possible to run separate I/D using the standard interpreter. Standard version 6 UNIX does not have the needed system call to allow it to fetch the floating point opcode from instruction space, and the mfpi instruction doesn't work on 11/70's. A simple system change to add a "mfpi" system call is explained in ../SETUP; the floating point interpreter which uses this system call is in ../fpterp. This tape does not contain a Pascal system which will run on 11/34's or 11/40's. Chuck and I were misinformed that 11/34's would have sep I/D so we went to a one pass compiler scheme. It should be possible to make a smaller "pi" or a two pass "pi" without a great deal of effort. Earlier versions of the translator "pi" were small enough to run without separate I/D, and a still earlier "pc" was two rather much smaller passes. The following non-standard programs are needed to compile pi: rmtree Remove a subtree of the directory system mvall Move a named group of files to a specified directory cc Version 7 C compiler lnall Make links to a number of files in a specified target directory squash reduce object file size for library not needed, just speeds loading and reduces  library size mkstr Program to process C source putting error messages into an error message file eyacc Modified yacc In addition, the scripts here run with a shell that has a "set" command to enable automatic timing of commands. You can comment out the lines of the form set ... without any harm, or make a null set shell script. Other local shell features used here are the alias "cd" for chdir and the syntax "$*" expanding to all the arguments, i.e. "$1 $2 $3 ...". Note: it is normal for the grammar to have a number of shift/reduce conflicts; a message of the form conflicts: 16 shift/reduce (or worse) from yacc is to be expected. Defining the variable DEBUG on the first line of the file 0.h allows the following debugging options c print generated code y dump namelist E trace basic syntactic error recovery F full trace syn err rec A super full trace ... U prevent unique symbol insertion in error recovery As this option makes a much larger compiler it is not normally recommended.  The syntactic error recovery relatively new code. It has not been as thoroughly tested as the rest of the system. Please let me know of any problems with Pascal, especially with the error recovery. I would be glad to hear of any problems, as well as any local modifications which you find necessary or desirable. Bill Joy Computer Science Division EECS Department University of California, Berkeley Berkeley, California 94704 Office: (415) 642-4948 Home: (415) 524-4510 XREF½ê¤‘?)Perror(file, error) subr.c:99: addlist(vroot, new) yytree.c:67: any(cp, ch) subr.c:181: arycod(np, el) lval.c:195: asgnop(r) stat.c:211: asgnop1(r, p) stat.c:259: asrtop(r) stat.c:535: brerror(where, what) yyerror.c:93: bytes(lb, ub) var.c:190: call(p, argv, porf, psbn) call.c:23: calloc(num, size) subr.c:108: cerror(a1, a2, a3, a4) error.c:118: charname(ch) yyprint.c:29: classify(p1) clas.c:49: compat(p1, p2, t) conv.c:48: const(cline, cid, cdecl) const.c:28: constbeg()  const.c:18: constend() const.c:47: convert(p1, p2) conv.c:11: copy(to, from, bytes) subr.c:167: copystr(token) tree.c:176: correct(fchar, origin, c, multvec, Ps0, Pv0) yyrecover.c:647: cset(r, settype, x) cset.c:21: deffld(p, s, t) rec.c:140: defnl(sym, cls, typ, val) nl.c:449: defvnt(p, t, vr, ct) rec.c:169: delcost(what) yycosts.c:185: dotted(fp, c) subr.c:20: dumpnl(to, rout) nl.c:311: enter(np) nl.c:550: error(a1, a2, a3, a4) error.c:59: esavestr(cp) string.c:53: even(w) var.c:62: fields(p, r)  rec.c:84: fixlist(vroot) yytree.c:87: fixstlist(vroot) yytree.c:107: foredecl() type.c:266: forop(r) stat.c:300: funcbody(fp) fdec.c:238: funccod(r) func.c:20: funcend(fp, bundle, endline) fdec.c:287: funcfwd(fp) fdec.c:223: funchdr(r)  fdec.c:27: gconst(r) const.c:61: gen(p, o, w1, w2) gen.c:87: getchar() yyget.c:30: geterr(seekpt, buf) main.c:227: getlab() put.c:316: getline() yyget.c:103: gettime() subr.c:46: gotoop(s) lab.c:60: graphic(ch) yyput.c:216: gtype(r) type.c:57: hdefnl(sym, cls, typ, val) nl.c:208: header() main.c:236: identis() yyid.c:187: identis(cp, kind) yyid.c:211: identis(cp, kind) yyid.c:33: ifop(r) stat.c:416: includ()  yyget.c:180: inithash() hash.c:83: initnl() nl.c:147: initstring() string.c:25: inittree() tree.c:60: inpflist(fp) subr.c:81: inscost(sy, before) yycosts.c:75: isa(p, s) clas.c:131: isconst(r) const.c:161: isnta(p, s) clas.c:180: label(r) lab.c:19: labeled(s) lab.c:90: loccor(ps, ntok) yyrecover.c:715: lookup1(s) lookup.c:52: lvalue(r, modflag) lval.c:20: main(argc, argv) main.c:46: myctime(tv) subr.c:58: nameof(p)  clas.c:189: nerror(a1, a2, a3) fdec.c:517: newlist(new) yytree.c:55: nlcopy(p) nl.c:519: nlfree(p) nl.c:226: nloff(p) nl.c:536: nocomp(c) rval.c:527: norange(p) type.c:200: nowexp(r) clas.c:195: nullsem(ch)  yyseman.c:32: onintr() main.c:217: opop(c) subr.c:202: options() yyoptions.c:18: opush(c) subr.c:192: panic(s) error.c:36: patch(loc) put.c:250: patchfil(loc, value) put.c:260: pexit(c)  main.c:194: pflush() put.c:302: pnums(p) fdec.c:503: proc(r) proc.c:58: put(a) put.c:30: putchar(c) main.c:175: putcnt() stat.c:147: putlab(l) put.c:325: putline() stat.c:156: putspace(n)  put.c:233: rangechk(p, q) conv.c:133: reclook(p, s) rec.c:212: repcost(what, with) yycosts.c:140: repop(r) stat.c:506: rvalue(r, contype) rval.c:22: rvlist(al) call.c:94: savestr(cp) string.c:33: scalar(p1) clas.c:107: setran(q) var.c:169: setuflg() yylex.c:341: setupvar(var, init) yytree.c:127: skipbl(ocp) yyget.c:266: statement(r) stat.c:32: statlist(r) stat.c:20: strcmp(s1, s2) subr.c:127: strcpy(s1, s2) subr.c:142: strlen(cp)  subr.c:157: text(p) clas.c:94: togopt(c) subr.c:33: tokname(tp) yyprint.c:43: tralloc(howmuch) tree.c:111: trfree() tree.c:148: trystate(Ps0, Pv0, flag, insmult, delmult, repmult) yyrecover.c:516: tyary(r) type.c:216: type(tline, tid, tdecl) type.c:32: typebeg() type.c:16: typeend() type.c:46: tyrang(r) type.c:164: tyrec(r, off) rec.c:49: tyrec1(r, off, first) rec.c:61: tyscal(r) type.c:139: ungoto() stat.c:132: uninclud()  yyget.c:285: uniqv(p) rec.c:195: unyylex(y) yylex.c:28: var(vline, vidl, vtype) var.c:31: varbeg() var.c:21: varend() var.c:52: variants(p, r) rec.c:105: whilop(r) stat.c:470: width(np) var.c:72: withop(s)  stat.c:173: word(o) put.c:287: yerror(s, a1, a2, a3, a4, a5) yyerror.c:33: yyEactr(__np__, var) y.tab.c:553: yyPerror(cp, kind) yypanic.c:37: yySsync() yyput.c:116: yyactr(__np__){ y.tab.c:15: yybadref(p, line) yyid.c:101: yybaduse(cp, line, kindmask)  yyid.c:77: yycosts() yycosts.c:224: yydocost(c) yycosts.c:239: yyexeof() yyrecover.c:497: yyflush() yyput.c:71: yygetline(efile, seekp, eline, eseqid) yyput.c:132: yyidok(p, kind) yyid.c:121: yyidok1(p, kind) yyid.c:140: yyisvar(p, class) yyid.c:165: yylex() yylex.c:39: yymain() yymain.c:26: yyoutfl(toseqid) yyput.c:80: yyoutline() yyput.c:50: yyparse() yyparse.c:49: yyprintf(cp, line) yyput.c:205: yyprline(buf, line, file, id) yyput.c:178: yyputfn(cp) yyput.c:265: yyrecover(Ps0, idfail)  yyrecover.c:194: yyretrieve() yyput.c:165: yyset() yylex.c:327: yysetfile(file) yyput.c:240: yysync() yyput.c:108: yyunexeof() yyrecover.c:504: compëTí�¯if ! -r temp mkdir temp rmtree -fv temp mkstr - pi_strings temp/ $* cd temp cpall ../*.h ../whoami . : loop if $1x = x goto out if $1x = loadx goto out echo $1: if -r ../nofloat goto nofloatcc cc -c -O $1 goto join : nofloatcc cc -c -O -f $1 : join shift goto loop : out squash *.o mvall *.o .. cd .. rmtree -fv temp version >Version.c cc -c Version.c ar rv lib *.o rm *.o if $1x != loadx exit echo loading shift load -i echo done errs$ߤ�Icontinue 01181800 set time=3 verbose rm *.o No match rm lib gram conflicts: 18 shift/reduce, 4 reduce/reduce 32.0u 9.6s 1:49 38% 5.2u 7.9s 0:32 41% 37.4u 18.4s 2:27 37% if ! -r temp mkdir temp rmtree -fv temp mkstr pi_strings temp/ *.c 8.7u 7.5s 2:12 12% echo "---------------------------------------------------------------------------------" >>pi_strings cd temp lnall ../*.h ../whoami . if -r ../../nofloat goto nofloatcc cc -c -O $1 *.c Version.c: ato.c: call.c: case.c: clas.c: const.c: conv.c: cset.c: error.c: fdec.c: func.c: gen.c: hash.c: lab.c: lookup.c: lval.c: main.c: nl.c: proc.c: put.c: rec.c: rval.c: stat.c: string.c: subr.c: tree.c: type.c: var.c: y.tab.c: yycosts.c: yyerror.c: yyget.c: yyid.c: yylex.c: yymain.c: yyoptions.c: yypanic.c: yyparse.c: yyprint.c: yyput.c: yyrecover.c: yyseman.c: yytree.c: 337.3u 150.1s 28:41 28% goto contin squash *.o 7.5u 30.4s 3:18 19% mvall *.o .. 0.1u 6.4s 0:28 23% cd .. rmtree -fv temp as -o treen.o treen.s as -o putn.o putn.s as -o yycopy.o yycopy.s version >Version.c cc -c Version.c ar r lib main.o yymain.o yyparse.o yyrecover.o y.tab.o fdec.o stat.o const.o\ type.o rval.o lval.o func.o proc.o treen.o putn.o creating lib 0.1u 3.2s 0:25 13% chmod 644 lib ar r lib *.o 0.4u 7.5s 0:54 14% size *.o >sizes rm *.o if $1x = -px goto profile load 5.1u 5.7s 1:04 16% goto next size a.out >>sizes 1gramâ!„í�set time=3 verbose eyacc -v pas.y ed - y.tab.c /yyval/s//*&/ /\*yysterm\[]/,$d 1;/yyactr/ka 'a,$s/yypv/yyYpv/g 'aa register int **yyYpv; register int *p, *q; yyYpv = yypv; . 1;/^##/-w y.tab.h /^int yylval 0/d /extern int yychar,/s//extern/ /yyclearin/d /yyerrok/d 1;/^##/d $a yyEactr(__np__, var) int __np__; char *var; { switch(__np__) { default: return (1); . g/case.*@/s/@//\ .m$ g/@/ka\ 'a;?case?,?case?t$\ 'am$\ a\ }\ break; $a } } . 1,$s/@// /int nterms/d /int nnonter/d /int nstate/d /int yyerrval/d w q how_piâ!„¤�3To translate a program using pi, place the source in a file whose name ends in the characters ".p", i.e. "prog.p". The command pi prog.p will translate the program into interpreter code which will be left in the file "obj" in the current directory. This code can be executed by typing obj or px The program "pix" can be used for load and go Pascal. The complete command line syntax for pi is pi [ -blnpstuw ] [ -i file ... ] name.p The command "man pi" will give information as to the options of pi. Refer to the UNIX Pascal User's Manual for more details. nhow_pixâ!„¤�]To translate and execute a program with pix, place the source in a file whose name ends in the characters ".p", i.e. "prog.p". The command pix prog.p will translate the program into interpreter code which will be then be executed If there are compilation errors `E', then execution will be suppressed. To create a permanent "obj" file which you can interpret, use "pi". Type "pi" for basic information on pi. The complete command line syntax for pix is pix [ -blnpstuw ] [ -i file ... ] name.p [ arg ... ] Here the trailing arguments are passed to your Pascal program. This command is equivalent to pi [ -blnpstuw ] [ -i file ... ] name.p and then px scratch [ arg ... ] where scratch is a temporary file which is then removed. The command "man pi" will give information as to the options of pix. Refer to the UNIX Pascal User's Manual for more details. ninstall¹çí� cp a.out /usr/bin/pi cp pi_strings /usr/lib cp how_pi /usr/lib cp how_pix /usr/lib chown bin /usr/bin/pi /usr/lib/how_pi /usr/lib/pi_strings /usr/lib/how_pix chmod 711 /usr/bin/pi chmod 644 /usr/lib/how_pi /usr/lib/pi_strings /usr/lib/how_pix echo New pi installed loadëTí�ƒif -r ../nofloat goto nofloatload cc -i lib ../opcodes/TRdata.o exit : nofloatload cc -i -f lib ../opcodes/TRdata.o ../fpterp/fp.o iloadprofâ"„í�:ld -X -i ../assubs/mcrt0.o lib ../opcodes/TRdata.o -lc -l makepi"Ó¡í�òset time=3 verbose rm *.o rm lib gram if ! -r temp mkdir temp rmtree -fv temp mkstr pi_strings temp/ *.c echo "---------------------------------------------------------------------------------" >>pi_strings cd temp lnall ../*.h ../whoami . if -r ../../nofloat goto nofloatcc cc -c -O $1 *.c goto contin : nofloatcc cc -c -O $1 -f *.c : contin squash *.o mvall *.o .. cd .. rmtree -fv temp as -o treen.o treen.s as -o putn.o putn.s as -o yycopy.o yycopy.s version >Version.c cc -c Version.c ar r lib main.o yymain.o yyparse.o yyrecover.o y.tab.o fdec.o stat.o const.o\ type.o rval.o lval.o func.o proc.o treen.o putn.o chmod 644 lib ar r lib *.o size *.o >sizes rm *.o if $1x = -px goto profile load goto next : profile loadprof : next size a.out >>sizes pas.yè:Ϥ‘P' YIN %left '+' '-' YOR '|' %left UNARYSIGN %left '*' '/' YDIV YMOD YAND '&' %left YNOT %{ /* * GLOBALS FOR ACTIONS */ /* * The following line marks the end of the yacc * Constant definitions which are removed from * y.tab.c and placed in the file y.tab.h. */ ## #include "whoami" #include "0.h" #include "yy.h" #include "tree.h" #ifdef PI #define lineof(l) l #endif %} %% /* * PRODUCTIONS */ goal:  prog_hedr decls procs block '.' = funcend($1, $4, lineof($5)); ; prog_hedr: YPROG YID '(' id_list ')' ';' = $$ = funcbody(funchdr(tree5(T_PROG, lineof($1), $2, fixlist($4), NIL))); | YPROG error = { yyPerror("Malformed program statement", PPROG); /* * Should make a program statement * with "input" and "output" here. */ $$ = funcbody(funchdr(tree5(T_PROG, lineof($1), NIL, NIL, NIL))); } ; block: YBEGIN stat_list YEND = { $$ = tree2(lineof($1), fixstlist($2));  if ($3.pint < 0) brerror($1, "begin"); } ; /* * DECLARATION PART */ decls: decls decl = trfree(); | decls error = { Derror: constend(), typeend(), varend(), trfree(); yyPerror("Malformed declaration", PDECL); } | /* lambda */ = trfree(); ; decl: labels | const_decl = constend(); | type_decl = typeend(); | var_decl = varend(); ; /* * LABEL PART */ labels: YLABEL label_decl ';' = label(fixlist($2), lineof($1)); ; label_decl: YINT = $$ = newlist($1 == NIL ? NIL : *hash($1, 1)); | label_decl ',' YINT = $$ = addlist($1, $3 == NIL ? NIL : *hash($3, 1)); ; /* * CONST PART */ const_decl: YCONST YID '=' const ';' = constbeg($1), const(lineof($3), $2, $4); | const_decl YID '=' const ';' = const(lineof($3), $2, $4); | YCONST error = { constbeg(); Cerror: yyPerror("Malformed const declaration", PDECL); } | const_decl error = goto Cerror; ; /* * TYPE PART */ type_decl: YTYPE YID '=' type ';' = typebeg($1), type(lineof($3), $2, $4); | type_decl YID '=' type ';' = type(lineof($3), $2, $4); | YTYPE error = { typebeg(); Terror: yyPerror("Malformed type declaration", PDECL); } | type_decl error = goto Terror; ; /* * VAR PART */ var_decl: YVAR id_list ':' type ';' = varbeg($1), var(lineof($3), fixlist($2), $4); | var_decl id_list ':' type ';' = var(lineof($3), fixlist($2), $4); | YVAR error = { varbeg(); Verror: yyPerror("Malformed var declaration", PDECL); } | var_decl error = goto Verror; ; /* * PROCEDURE AND FUNCTION DECLARATION PART */ procs: /* lambda */ | procs proc = trfree(); ; proc: phead YFORWARD ';' = funcfwd($1); | pheadres decls procs block ';' = funcend($1, $4, lineof($5)); ; pheadres: phead = funcbody($1); ; phead: porf YID params ftype ';' = $$ = funchdr(tree5($1, lineof($5), $2, $3, $4)); ; porf: YPROCEDURE = $$ = T_PDEC; | YFUNCTION = $$ = T_FDEC; ; params: '(' param_list ')' = $$ = fixlist($2); | /* lambda */ = $$ = NIL; ; /* * PARAMETERS */ param: id_list ':' type = $$ = tree3(T_PVAL, fixlist($1), $3); | YVAR id_list ':' type = $$ = tree3(T_PVAR, fixlist($2), $4); | YFUNCTION id_list ':' type = $$ = tree3(T_PFUNC, fixlist($2), $4); | YPROCEDURE id_list = $$ = tree2(T_PPROC, fixlist($2)); ; ftype: ':' type = $$ = $2; | /* lambda */ = $$ = NIL; ; param_list: param = $$ = newlist($1); | param_list ';' param = $$ = addlist($1, $3); ; /* * CONSTANTS */ const: YSTRING = $$ = tree2(T_CSTRNG, $1); | number | '+' number = $$ = tree2(T_PLUSC, $2); | '-' number = $$ = tree2(T_MINUSC, $2); ; number: const_id = $$ = tree2(T_ID, $1); | YINT = $$ = tree2(T_CINT, $1); | YBINT = $$ = tree2(T_CBINT, $1); | YNUMB = $$ = tree2(T_CFINT, $1); ; const_list: const = $$ = newlist($1); | const_list ',' const = $$ = addlist($1, $3); ; /* * TYPES */ type: simple_type | '^' YID = $$ = tree3(T_TYPTR, lineof($1), tree2(T_ID, $2)); | struct_type | YPACKED struct_type = $$ = tree3(T_TYPACK, lineof($1), $2); ; simple_type: type_id | '(' id_list ')' = $$ = tree3(T_TYSCAL, lineof($1), fixlist($2)); | const YDOTDOT const = $$ = tree4(T_TYRANG, lineof($2), $1, $3); ; struct_type: YARRAY '[' simple_type_list ']' YOF type = $$ = tree4(T_TYARY, lineof($1), fixlist($3), $6); | YFILE YOF type = $$ = tree3(T_TYFILE, lineof($1), $3); | YSET YOF simple_type = $$ = tree3(T_TYSET, lineof($1), $3); | YRECORD field_list YEND = { $$ = tree3(T_TYREC, lineof($1), $2); if ($3.pint < 0) brerror($1, "record"); } ; simple_type_list: simple_type = $$ = newlist($1); | simple_type_list ',' simple_type = $$ = addlist($1, $3); ; /* * RECORD TYPE */ field_list: fixed_part variant_part = $$ = tree4(T_LISTPP, lineof(NIL), fixlist($1), $2); ; fixed_part: field = $$ = newlist($1); | fixed_part ';' field = $$ = addlist($1, $3); | fixed_part error = yyPerror("Malformed record declaration", PDECL); ; field: /* lambda */ = $$ = NIL; | id_list ':' type = $$ = tree4(T_FIELD, lineof($2), fixlist($1), $3); ; variant_part: /* lambda */ = $$ = NIL; | YCASE type_id YOF variant_list = $$ = tree5(T_TYVARPT, lineof($1), NIL, $2, fixlist($4)); | YCASE YID ':' type_id YOF variant_list = $$ = tree5(T_TYVARPT, lineof($1), $2, $4, fixlist($6)); ; variant_list: variant = $$ = newlist($1); | variant_list ';' variant = $$ = addlist($1, $3); | variant_list error = yyPerror("Malformed record declaration", PDECL); ; variant: /* lambda */ = $$ = NIL; | const_list ':' '(' field_list ')' = $$ = tree5(T_TYVARNT, lineof($2), fixlist($1), $4); | const_list ':' '(' ')' = $$ = tree5(T_TYVARNT, lineof($2), fixlist($1), NIL); ; /* * STATEMENT LIST */ stat_list: stat = $$ = newlist($1); | stat_lsth stat = { if ((p = $1) != NIL && (q = p[1])[0] == T_IFX) { q[0] = T_IFEL; q[4] = $2; } else $$ = addlist($1, $2); } ; stat_lsth: stat_list ';' = if ((q = $1) != NIL && (p = q[1]) != NIL && p[0] == T_IF) { if (yychar < 0) yychar = yylex(); if (yyshifts >= 2 && yychar == YELSE) { recovered(); copy(&Y, &OY, sizeof Y); yerror("Deleted ';' before keyword else"); yychar = yylex(); p[0] = T_IFX; } } ; /* * CASE STATEMENT LIST */ cstat_list: cstat = $$ = newlist($1); | cstat_list ';' cstat = $$ = addlist($1, $3); | error = { $$ = NIL; Kerror: yyPerror("Malformed statement in case", PSTAT); } | cstat_list error = goto Kerror; ; cstat: const_list ':' stat = $$ = tree4(T_CSTAT, lineof($2), fixlist($1), $3); | YCASELAB stat = $$ = tree4(T_CSTAT, lineof($1), NIL, $2); | /* lambda */ = $$ = NIL; ; /* * STATEMENT */ stat: /* lambda */ = $$ = NIL; | YINT ':' stat = $$ = tree4(T_LABEL, lineof($2), $1 == NIL ? NIL : *hash($1, 1), $3); | proc_id = $$ = tree4(T_PCALL, lineof(yyline), $1, NIL); | proc_id '(' wexpr_list ')' = $$ = tree4(T_PCALL, lineof($2), $1, fixlist($3)); | YID error = goto NSerror; | assign | YBEGIN stat_list YEND = { $$ = tree3(T_BLOCK, lineof($1), fixstlist($2)); if ($3.pint < 0) brerror($1, "begin"); } | YCASE expr YOF cstat_list YEND = { $$ = tree4(T_CASE, lineof($1), $2, fixlist($4)); if ($5.pint < 0) brerror($1, "case"); } | YWITH var_list YDO stat = $$ = tree4(T_WITH, lineof($1), fixlist($2), $4); | YWHILE expr YDO stat = $$ = tree4(T_WHILE, lineof($1), $2, $4); | YREPEAT stat_list YUNTIL expr = $$ = tree4(T_REPEAT, lineof($3), fixstlist($2), $4); | YFOR assign YTO expr YDO stat = $$ = tree5(T_FORU, lineof($1), $2, $4, $6); | YFOR assign YDOWNTO expr YDO stat = $$ = tree5(T_FORD, lineof($1), $2, $4, $6); | YGOTO YINT = $$ = tree3(T_GOTO, lineof($1), *hash($2, 1)); | YIF expr YTHEN stat = $$ = tree5(T_IF, lineof($1), $2, $4, NIL); | YIF expr YTHEN stat YELSE stat = $$ = tree5(T_IFEL, lineof($1), $2, $4, $6); |  YIF expr YTHEN stat YELSE = $$ = tree5(T_IFEL, lineof($1), $2, $4, NIL); | YASSERT expr = $$ = tree3(T_ASRT, lineof($1), $2); | error = { NSerror: $$ = NIL; Serror: yyPerror("Malformed statement", PSTAT); } ; assign: variable ':' '=' expr = $$ = tree4(T_ASGN, lineof($2), $1, $4); ; /* * EXPRESSION */ expr: error = { NEerror: $$ = NIL; Eerror: yyPerror("Missing/malformed expression", PEXPR); } | expr relop expr %prec '<' = $$ = tree4($2, $1[1] == SAWCON ? $3[1] : $1[1], $1, $3); | '+' expr %prec UNARYSIGN = $$ = tree3(T_PLUS, $2[1], $2); | '-' expr %prec UNARYSIGN = $$ = tree3(T_MINUS, $2[1], $2); | expr addop expr %prec '+' = $$ = tree4($2, $1[1] == SAWCON ? $3[1] : $1[1], $1, $3); | expr divop expr %prec '*' = $$ = tree4($2, $1[1] == SAWCON ? $3[1] : $1[1], $1, $3); | YNIL = $$ = tree2(T_NIL, NOCON); | YSTRING = $$ = tree3(T_STRNG, SAWCON, $1); | YINT = $$ = tree3(T_INT, NOCON, $1); | YBINT = $$ = tree3(T_BINT, NOCON, $1); | YNUMB = $$ = tree3(T_FINT, NOCON, $1); | variable | YID error = goto NEerror; | func_id '(' wexpr_list ')' = $$ = tree3(T_FCALL, $1, fixlist($3)); | '(' expr ')' = $$ = $2; | YNOT expr = $$ = tree3(T_NOT, NOCON, $2); | '[' element_list ']' = $$ = tree3(T_CSET, SAWCON, fixlist($2)); | '[' ']' = $$ = tree3(T_CSET, SAWCON, NIL); ; element_list: element = $$ = newlist($1); | element_list ',' element = $$ = addlist($1, $3); ; element: expr | expr YDOTDOT expr = $$ = tree3(T_RANG, $1, $3); ; /* * QUALIFIED VARIABLES */ variable: YID = { @ return (identis(var, VAR)); $$ = setupvar($1, NIL); } | qual_var = $1[3] = fixlist($1[3]); ; qual_var: array_id '[' expr_list ']' = $$ = setupvar($1, tree2(T_ARY, fixlist($3))); | qual_var '[' expr_list ']' = $1[3] = addlist($1[3], tree2(T_ARY, fixlist($3))); | record_id '.' field_id = $$ = setupvar($1, tree3(T_FIELD, $3, NIL)); | qual_var '.' field_id = $1[3] = addlist($1[3], tree3(T_FIELD, $3, NIL)); | ptr_id '^' = $$ = setupvar($1, tree1(T_PTR)); | qual_var '^' = $1[3] = addlist($1[3], tree1(T_PTR)); ; /* * Expression with write widths */ wexpr: expr | expr ':' expr = $$ = tree4(T_WEXP, $1, $3, NIL); | expr ':' expr ':' expr = $$ = tree4(T_WEXP, $1, $3, $5); | expr octhex = $$ = tree4(T_WEXP, $1, NIL, $2); | expr ':' expr octhex = $$ = tree4(T_WEXP, $1, $3, $4); ; octhex: YOCT = $$ = OCT; | YHEX = $$ = HEX; ; expr_list: expr = $$ = newlist($1); | expr_list ',' expr = $$ = addlist($1, $3); ; wexpr_list: wexpr = $$ = newlist($1); | wexpr_list ',' wexpr = $$ = addlist($1, $3); ; /* * OPERATORS */ relop: '=' = $$ = T_EQ; | '<' = $$ = T_LT; | '>' = $$ = T_GT; | '<' '>' = $$ = T_NE; | '<' '=' = $$ = T_LE; | '>' '=' = $$ = T_GE; | YIN = $$ = T_IN; ; addop: '+' = $$ = T_ADD; | '-' = $$ = T_SUB; | YOR = $$ = T_OR; | '|' = $$ = T_OR; ; divop: '*' = $$ = T_MULT; | '/' = $$ = T_DIVD; | YDIV = $$ = T_DIV; | YMOD = $$ = T_MOD; | YAND = $$ = T_AND; | '&' = $$ = T_AND; ; /* * LISTS */ var_list: variable = $$ = newlist($1); | var_list ',' variable = $$ = addlist($1, $3); ; id_list: YID = $$ = newlist($1); | id_list ',' YID = $$ = addlist($1, $3); ; /* * Identifier productions with semantic restrictions * * For these productions, the character @ signifies * that the associated C statement is to provide * the semantic restriction for this reduction. * These lines are made into a procedure yyEactr, similar to * yyactr, which determines whether the corresponding reduction * is permitted, or whether an error is to be signaled. * A zero return from yyEactr is considered an error. * YyEactr is called with an argument "var" giving the string * name of the variable in question, essentially $1, although * $1 will not work because yyEactr is called from loccor in * the recovery routines. */ const_id: YID = @ return (identis(var, CONST)); ; type_id: YID = { @ return (identis(var, TYPE)); $$ = tree3(T_TYID, lineof(yyline), $1); } ; var_id: YID = @ return (identis(var, VAR)); ; array_id: YID = @ return (identis(var, ARRAY)); ; ptr_id: YID = @ return (identis(var, PTRFILE)); ; record_id: YID = @ return (identis(var, RECORD)); ; field_id: YID = @ return (identis(var, FIELD)); ; proc_id: YID = @ return (identis(var, PROC)); ; func_id: YID = @ return (identis(var, FUNC)); ; pi_strings$h¤‘|+8 or 9 in octal number Number too large for this implementation Not enough arguments to %s Expression given (variable required) for var parameter %s of %s Parameter type not identical to type of var parameter %s of %s Expression type clashed with type of value parameter %s of %s Too many arguments to %s Case selectors cannot be %ss Ran out of memory (case) Case label type clashed with case selector expression type Case label out of range Multiply defined label in case, lines %d and %d Oct/hex allowed only on writeln/write calls Width expressions allowed only in writeln/write calls Constant declarations must precede type and variable declarations All constants must be declared in one const part %s is a %s, not a constant as required Constant too large for this implementation %s constants cannot be signed Type clash: real is incompatible with integer This resulted because you used '/' which always returns real rather than 'div' which divides integers and returns integers Type clash: non-identical scalar types Type clash: unequal length strings Type clash: files not allowed in this context Type clash: non-identical %s types Type clash: %ss with file components not allowed in this context Type clash: %s is incompatible with %s Sets may not have 'real' elements Set elements must be scalars, not %ss Set default type "intset" is not a set Constant set involved in non set context Upper bound of element type clashed with set type in constant set Lower bound of element type clashed with set type in constant set Element type clashed with set type in constant set Function type should be given only in forward declaration Procedures do not have types, only functions do Function type must be specified Function type can be specified only by using a type identifier Functions should not return %ss Procedure/function nesting too deep Types for arguments can be specified only by using type identifiers Files cannot be passed by value Files cannot be a component of %ss passed by value Procedure/function parameters not implemented Too many levels of function/procedure nesting File %s listed in program statement but not declared File %s listed in program statement but declared as a %s File %s listed in program statement but defined as %s The file output must appear in the program statement file list Input is used but not defined in the program statement %s %s is neither used nor set %s %s is never used %s %s is used but never set %s undefined on line%s %s improperly used on line%s Unresolved forward declaration of %s %s label %s was declared but not defined No assignment to the function variable Storage requirement of %ld bytes exceeds hardware capacity %s is not a function %s is a nonstandard function %s takes no arguments %s takes either zero or one argument %s takes exactly one argument %s's argument must be integer or real, not %s seed's argument must be an integer, not %s %s's argument must be a real, not %s %s's argument must be an integer or real, not %s ord's argument must be of scalar type, not %s %s is forbidden for reals %s's argument must be of scalar type, not %s odd's argument must be an integer, not %s chr's argument must be an integer, not %s Argument to card must be a set, not %s Argument to eoln must be a text file, not %s Argument to eof must be file, not %s %s is an unimplemented 6000-3.4 extension Ran out of memory (hash) Ran out of hash tables Label declarations must precede const, type and var declarations All labels must be declared in one label part Goto %s is into a structured statement Label %s not defined in correct block Label %s redefined Goto %s from line %d is into a structured statement %s is undefined Variable required %s %s found where variable required Can't modify the for variable %s in the range of the loop ^ allowed only on files and pointers, not on %ss %s is a %s, not a function Illegal function qualificiation Pascal uses [] for subscripting, not () Subscripting allowed only on arrays, not on %ss . allowed only on records, not on %ss %s is not a field in this record Error occurred on qualification of %s Too few subscripts (%d given, %d required) Array index type incompatible with declared index type Error occurred on index number %d Too many subscripts (%d given, %d required) Ran out of memory (defnl) Ran out of name list tables Pre-defined files input and output must not be redefined %s is already defined in this block Can't call %s, its %s not a procedure %s is a nonstandard procedure null takes no arguments flush takes at most one argument flush's argument must be a file, not %s Write widths allowed only with text files Second write width must be integer, not %s First write width must be integer, not %s Oct/hex allowed only on text files Write widths allowed only on text files Type mismatch in write to non-text file Only reals can have two write widths Oct and hex are non-standard Can't write %ss with oct/hex Can't write %ss to a text file Write requires an argument Message requires an argument Can't 'writeln' a non text file Arguments to %s must be variables, not expressions Type mismatch in read from non-text file Can't read %ss from a text file Can't 'readln' a non text file read requires an argument %s expects one argument Argument to %s must be a file, not %s %s expects one or two arguments Two argument forms of reset and rewrite are non-standard First argument to %s must be a file, not %s Second argument to %s must be a string, not %s File name too long %s expects at least one argument (First) argument to %s must be a pointer, not %s Record required when specifying variant tags Too many tag fields Second and successive arguments to %s must be constants Specified tag constant type clashed with variant case selector type No variant case label value equals specified constant value %s expects one argument Argument to %s must be a alfa, not %s halt takes no arguments argv takes two arguments argv's first argument must be an integer, not %s argv's second argument must be a string, not %s stlimit requires one argument stlimit's argument must be an integer, not %s remove expects one argument remove's argument must be a string, not %s linelimit expects two arguments linelimit's first argument must be a text file, not %s linelimit's second argument must be an integer, not %s page expects one argument Argument to page must be a text file, not %s pack expects three arguments unpack expects three arguments %s requires a to be an unpacked array, not %s %s requires z to be a packed array, not %s %s requires a and z to be arrays of the same type %s requires a and z to be single dimension arrays %s cannot have more elements in a (%d) than in z (%d) %s is an unimplemented 6400 extension %s is a duplicate field name in this record Variant label type incompatible with selector type Duplicate variant case label in record %s is a constant and cannot be qualified Constant string too long Type names (e.g. %s) allowed only in declarations Procedure %s found where expression required Operand of %s must be integer or real, not %s not must operate on a Boolean, not %s Left operand of %s must be Boolean, not %s Right operand of %s must be Boolean, not %s Left operand of / must be integer or real, not %s Right operand of / must be integer or real, not %s Set types of operands of %s must be identical Left operand of %s must be integer, real or set, not %s Right operand of %s must be integer, real or set, not %s Cannot mix sets with integers and reals as operands of %s Left operand of %s must be integer, not %s Right operand of %s must be integer, not %s %s not allowed on pointers. only allow = and <> Strings not same length in %s comparison %ss and %ss cannot be compared - operator was %s %s types must be identical in comparisons - operator was %s ... in [] makes little sense, since it is always false! Right operand of 'in' must be a set, not %s Index type clashed with set component type for 'in' Constant too large for this implementation %ss may not participate in comparisons Unreachable statement Variable in with statement refers to %s, not to a record Type of expression clashed with type of variable in assignment For variable must be unqualified For variables cannot be %ss Limit type clashed with index type in 'for' statement Type of expression in if statement must be Boolean, not %s Type of expression in while statement must be Boolean, not %s Until expression type must be Boolean, not %s, in repeat statement Assert statement is non-standard Assert expression must be Boolean, not %ss Ran out of memory (string) Ran out of memory (tralloc) Ran out of tree tables Type declarations must precede var declarations All types must be declared in one type part %s is a %s, not a type as required Files cannot be members of files Set of real is not allowed Set type must be range or scalar, not %s Implementation restriction: sets must be indexed by 16 bit quantities Can't mix %ss and %ss in subranges scalar types must be identical in subranges Range lower bound exceeds upper bound Subrange of real is not allowed Subrange bounds must be Boolean, character, integer or scalar, not %s Index type for arrays cannot be real Array index type is a %s, not a range or scalar as required Value of dimension specifier too large or small for this implementation Files cannot be members of dynamic structures All variables must be declared in one var part Malformed program statement Malformed declaration Malformed const declaration Malformed type declaration Malformed var declaration Malformed record declaration Malformed record declaration Deleted ';' before keyword else Malformed statement in case Malformed statement Missing/malformed expression Too many syntax errors - QUIT End matched %s on line %d Inserted keyword end matching %s on line %d Input line too long - QUIT Include syntax error - expected ' or " not found - QUIT Missing closing %c for include file name - QUIT Garbage after filename in include Include filename must end in .i Absurdly deep include nesting - QUIT Ran out of memory (include) Octal constants are non-standard Digits required after decimal point Digits required in exponent Character/string delimiter is ' Unmatched %c for string Null string not allowed Digits required before decimal point { in a { ... } comment Comment does not terminate - QUIT (* in a (* ... *) comment Illegal character Declaration found when statement expected Expected keyword begin after declarations, before statements Parsing resumes Parse stack overflow Unrecoverable syntax error - QUIT Point of error Undefined identifier Improper %s identifier Deleted %s%s Replaced %s%s with a %s%s Inserted %s%s Expected %s%s Undefined %s Replaced %s id with a %s id End-of-file expected - QUIT Unexpected end-of-file - QUIT --------------------------------------------------------------------------------- printparseâ"„í�ÿpr printparse cd ../man6 ; nroff naa pi.6 ; cd ../pi pr READ_ME ls -ls | pr pr sizes number pi_strings | pr -t pr makepi pr comp gram load whoami pr ../opcodes/picture a.out -C | pr pr 0.h pr main.c pr pas.y pr y.output pr yy.h pr yy*.c pr error.c subr.c tprintpiâ"„í�6pr printpi pr READ_ME pr how* (cd ../man6 ; nroff naa pi.6 ; cd ../pi) ls -ls | pr pr sizes number pi_strings | pr -t pr makepi pr comp gram load whoami cxref *.c > XREF ; pr XREF pr ../opcodes/picture pi -C | pr pr 0.h pr main.c pr pas.y pr y.output pr yy.h pr yy*.c pr [a-ln-x]*.c pr putn.s treen.s yycopy.s sizes$Þ¤�SVersion.o: 0+18+0=18 (22) ato.o: 132+0+0=132 (204) call.o: 454+22+0=476 (734) case.o: 896+6+0=902 (1606) clas.o: 456+168+0=624 (1160) const.o: 814+112+0=926 (1636) conv.o: 698+74+0=772 (1404) cset.o: 610+18+0=628 (1164) error.o: 328+40+0=368 (560) fdec.o: 2542+140+0=2682 (5172) func.o: 1078+204+0=1282 (2402) gen.o: 310+154+0=464 (720) hash.o: 360+366+1018=1744 (3320) lab.o: 400+0+0=400 (620) lookup.o: 208+0+0=208 (320) lval.o: 1192+50+0=1242 (2332) main.o: 920+310+2=1232 (2320) nl.o: 1112+990+0=2102 (4066) proc.o: 3814+276+0=4090 (7772) put.o: 840+248+2=1090 (2102) putn.o: 52+0+2=54 (66) rec.o: 784+0+0=784 (1420) rval.o: 2804+326+0=3130 (6072) stat.o: 2834+106+0=2940 (5574) string.o: 136+4+0=140 (214) subr.o: 514+0+26=540 (1034) tree.o: 368+12+0=380 (574) treen.o: 62+0+2=64 (100) type.o: 1362+66+0=1428 (2624) var.o: 826+84+0=910 (1616) y.tab.o: 2490+6042+0=8532 (20524) yycopy.o: 22+0+0=22 (26) yycosts.o: 382+374+0=756 (1364) yyerror.o: 280+6+2=288 (440) yyget.o: 842+14+0=856 (1530) yyid.o: 616+42+0=658 (1222) yylex.o: 1186+210+0=1396 (2564) yymain.o: 82+20+0=102 (146) yyoptions.o: 242+12+0=254 (376) yypanic.o: 440+156+0=596 (1124) yyparse.o: 570+18+0=588 (1114) yyprint.o: 238+178+0=416 (640) yyput.o: 798+34+0=832 (1500) yyrecover.o: 2038+52+0=2090 (4052) yyseman.o: 38+24+0=62 (76) yytree.o: 226+0+0=226 (342) 41152+12070+13162=66384 (201520) awhoami$¤� #define PI : 22+0+0=22 (26) yycosts.o: 382+374+0=756 (1364) yyerror.o: 280+6+2=288 (440) yyget.o: 842+14+0=856 (1530) yyid.o: 6eÿmain.o$ü¤�\˜6°w üÿæ @È¥a÷e ä÷e à@È¥-ð¥oÀe7Â÷ÀºÀ¼ð•x÷•´ÿÎíæ¢ß Ö 7� ÿ÷‹œÿÎŽß Îß †õeõ õ ,÷ vÿ5øÿÀ%ÿÿ À  æ^æ€æwß ÆeÎDæ„ß Ö Îß †QNÎeøÿß À%ÿÿøÎß †À7�ÿ7�)ÿ7�!ÿCDÔ¥-7@ÀÀåb Ó‚À xþ÷•íþ)@Àe7Þþ7 ÚþÎp@&ß Ö À · ¾þõ õeõ%ê÷ ¨þ©Îß ·Š˜þ•Èõ õeõ ºõ%• æpß Ö 7�lþ÷‹hþÎ\ß Îß †wPþÎpæHþß Ö À Ίæ6þß Ö Îß † ß Îæþß Ö À Î þß Îß †Îæß Ö À5Îðæß Ö ÷‹åý ·ŠáýÎÐýß ÷ŠÕý÷ÂýÀý÷ ¼ýw¸ýw ´ý�Þ· Úõ¥ ÷%ÌÎÆÎåææß –%÷®wzýw vý÷‹}ý õ% õ%÷ \ýÀ%ÿÿû÷ Rý@ ‚À xFÎæ2æß –%÷‹,ýÎß Nß wý÷ ý÷w ýÎæß Ö Îß †wòüw îü fÀ�äü&ß –%À ÎfÀ�Ìü&ß –%À 릧 Îß †w¬üw ¨ü÷ ¤ü÷‹n÷‹§üÎ ß H·ŠZΈüæ÷ €üÖ &ææ ß Æewhüpi [ -blnpstuw ] [ -i file ... ] name.ppix [ -blnpstuw ] [ -i file ... ] name.p [ arg ... ]˜NRf®®®®®®®®\®\®\®®\\\®\®®dFatal error in pi êÐоobj/usr/lib/pi_strings/usr/lib/how_pi/bin/catcatUsageName must end in '.p'UNIX Pascal PI -- Version 1.0 (%s) %s %s é9ø99)8HX‰‰‰‰ hx©ˆ))99h9H˜¨9¸9Èȉ‰9è‰9ù é(((X(é‰y‰X9˜¨¹éÈé)Ø)èé ‰9H(8(main.o~main~putcharH~pexit†~onintrð~geterr~headerTanyheadeÎ_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _piusage#˜_pixusag#À_usageis#ö_obj#ø_errfile#ú_howfile#ü_main"csv _creat _perror _pexit"†_fork _execl _Perror _wait _dotted _togopt _open _close _ibuf _fopen _signal _onintr"ð_yysetfi _lastnam _yymain cret _pcbuf €_pcbp#0_putchar"H_write _ugh#2_getline _yyflush _unlink _exit _pflush _geterr"_seek _read _header"T_gettime _myctime _version _printf yymain.o$¤�äRw üÿ÷ øÿÀ%ÿÿ ÎTæêÿß Ö Îß Îß ÷ Ðÿ÷ Ìÿ÷ Èÿ÷ Äÿ÷ ÀÿÎ ß w®ÿNo lines in fileÉÙÙèø)9I‰øYyymain.o~yymain_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line#R_sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _yymain"csv _getline _Perror _pexit _word _inithas _inittre _initnl _yyparse cret yyparse.o$¤�@ :˜w üÿÆå7 ôÿ÷ ðÿ7ìÿ÷ÿÿæÿ÷àÿ5 øÿÄÄå÷þÿÎÿ÷%*Èÿ‚Î*ß Îß ÄeÌ®ÿ÷e¨ÿÿ¤ÿ¢ÿÀžÿÀ  ÂeÃmŒÿÂeƒùÀtôÿÀå ƒ_.À x<÷ dÿÀÀEð7Zÿ÷XÿTÿ÷ Pÿ7Lÿ· Hÿ· ~ºÃEðÀÀ 74ÿ÷%.ÿ÷%&ÿ Î ÿæß Ö À õôÿ,÷ÿÿÿÀÿÀ àÀúþÀ 7àôþÀðþ7êþÎß ÀÀ À  ÂeÊ Âe #ú·¼þ_25 ôÿõ øÿ÷ ªþNôÿ&ß Ö À 5 øÿÄ�þ7Œþ_^õ øÿE÷ ~þBD-öÿ?‚Aíöÿ@€ r€ À 7à`þDöÿÄå/À  ÂeÊ%ÿ5öÿ€ÀEð70þ÷,þ*þ7 &þõøÿ_2ÂeÊ çÄå÷å þ÷%þ·Šþý÷ÿÿøýÄ%΃÷ îý÷ èý÷%âý÷ ÜýÎ*ß ÎDß wÆýH˜¾6yyparsei¹yÉÙ‰H8É8Ɉ˜¹Éùɹ(É©¹Éùyɉ  Ùɸ٠ ÉÉùÈøèØ¹‰Øé¹‰É(¹‰™‰ÉÙ¹ÙHÉé¹ùˆyyparse.~yyparse_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif#:_yystate _yypv _yygo _yypgo _yyr1 _yyr2 _yyact _yypact _yyv ,_yys ,_yyparse"csv _yylex _yerror _pexit _OYcopy _yyEactr _yyactr _yyrecov _yyunexe _yyexeof _panic cret yyrecover.o$¤‘Lö4èw üÿÆå÷•òÿ÷ìÿ÷ èÿ÷ âÿ7ÞÿÎææÒÿß –%7 Èÿ÷(Âÿ7 ¾ÿ÷¸ÿ÷ ´ÿ7°ÿÎæÁ¤ÿWpÁmœÿfß –%· �ÿ÷%Šÿèõ +õ~ÿøÿõxÿöÿÃrÿÎß ?fÿÎbÿfææ& æÿÿß âÆe ÿBÿÄ->ÿ÷6ÿ72ÿ÷,ÿÎÿææ÷& æÿfß rÆe ÷%ÿÿÿ6Îÿß À-üþ/÷åòþÎæææþß –%ÎþææöææÌþÎeþÿfÎeþÿß rÆe ÷ ´þ÷e¬þ÷å¤þõå· šþÎæ’þæß –%÷ „þ*õ '@À  ÂeÊ%ÿÂeÊ ò € 7Pþ÷ Œ÷%Dþ ÷->þ<þƒ÷4þ÷0þ.þÎæ&þæß –%÷þþÎþß 7 þ÷•eþÀþý ƒ_øÀ x÷•Eèýõ 1Îææß –%õ öÿÎæÈýæ¾ýß –%À ÎN*ß @öÿÀ æd*ß Ö  æ–ýæŒýß –%÷€ý _øÁvýWpÁmnýNß _ø÷ `ý ÎZýß f&æ|*÷ JýÆe· BýÃ_ô÷ 6ý÷ r÷% *ý7 &ýÎß f&æý÷ ýÖ f&æŠ*÷ ýÆe Îææòüß –%n÷ æü÷ "÷% Úü Îß f&æ¥*÷ ÄüÆe÷ ¼üV÷•E´üÎß f&æ´*÷  üÆe÷ ˜ü ÷ ’üB÷‹˜?÷ÿÿ„ü=Îææß –%Ãõtøÿõ öÿ @øÿÀ æÃ*ß Ö ÃU@øÿÀ @öÿÀ &æÑ*ß –%Îæ*üæ üß –%Îß ?ü 7 ü÷ ü÷ ü_†÷%ôû÷%ìûÎß ÷ Þû7Úû7ŠÖûwÐû÷ Ìû wÄûÀûw ºûÎî*ß Îß w¦ûw ¢ûÎ +ß Îß wŽûw ŠûÆå΂ûß Ä-xûNff &ææÿÿß âÆe Ä-Rû÷Jû7Fûw@û7 >û@À à ÃeË%ÿÃeõöÿ_ÚÀ 7ûÎûæ ûß Ö Ä-þú9Ä Nff Ž æ& æàúß âÆe Ä-Òú#÷Êú7 ÆúNff && æ°úß âÆe Ä-¢ú ÷šú7–ú÷’ú�úwŠúΆúæ‚úß Ö Ä-vú%Nffædúæ`ú÷ \ú–%&ææPúß âÆe Ä-Bú ÷:ú76ú÷2ú0úw*úÃeË „wúw úÆå7ŠúC ÷ úÃåwú@Àeþÿ7ôù÷îùD õ%ÿÿÎæÚùfÎeìÿß –%uìÿNß 5îÿõÿÿNÎeìÿ AWpµ ÁmžùNæß žÖ ÷‹ŒùD- †Ä “fAVpu„ Ì¥À@wbùw ^ùæ õ  _òB@7HùÀ>ùÀ þÿÀ Ä Äeƒ`ÄeúÀtôÿÀå ƒ_êÀ xÃEð7ŠüøÂ%·Šòø÷%ìøÊÀæøÀ ðÀÜøÀ Ap· Ìø@\ÃEðÀ¾øÀ þÿæß Ö À «7ЍøÀÀ 5øÿõ-šøøÿõí’øøÿ7 Œø@øÿÀ 5à@øÿÀ 7àxøwíøÿpø÷%jø‰ÀÀ À Ä Äe÷ PøÀJøÀ þÿ@5øÿÌ ÄeL-øÿùÀ&øÀ 0· ø_¾Î"ß w ødddddddddœÆF~ªü:4loccorI©¨¹Y¹héù™Y™¹h™™É¹YxYYYùéù Y))x)¹(¹hY¹Y™¹héH8  ùÙéùÙ¹(h ))x)ééé(hY¸ÈXÈY¸Ù™¹Øù¹èÉù)))(è¹éÉ(¹h))(èÉùé(èÉùùÙ(hXÈXXÈY¸xYÙ™™éé(ØY©9éùIÈùIÈùI¹(ùùéù)H8)¹)8ù)ùéù)ùéù) )¹Hù)¹I)ùéù) ùIii‰Yy¹hx¹iùIyhH8iiyyhyˆyyˆˆi˜yyyYyy¨¸ÈyyhyhyØùyyrecove~yyrecov~yyexeofB~yyunexeZ~trystatr~correctâ~loccorž_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _insmult#ö_repmult#þ_delmult#_yyact _yypact _yypv _yytips _yytipct _yytipv _yCcnt _YC0 b_YC _yyuniqu# _yyTshif _cact _ccost _cchar _cflag _ACtok _yyrecov"csv _yylex _copy _nullsem _correct"â_trystat"r_yyexeof"B_yybadus _yerror _unyylex _tokname cret _pexit _yyunexe"Z_delcost _inscost _repcost _yCpv _yyredfa _loccor"ž_yyEactr _yyr2 _yyr1 _yypgo _yygo _panic y.tab.o$¤‘LHº š”w üÿÄøÿ@Àå ¯ ‚À x¼  &&ß –%wÎÿ &÷ ÄÿÖ &&&æFß Æeß ß 7V äÎæœ%ß Ö  & & äß &ß Ö 7& ô ÊÎ_4 ø&æ?_4 &ß _6ß 1_.ß æBß Ö âß æBß Ö &ß Ö Û &æCß –%â &æCß –%åÎDß ÔÎDß Û &&æE_, õ& óî÷_.÷ _.÷_.÷ ö_.÷ ì_.÷ â_.÷ Ø_.÷ Î_.÷Ä_.÷º_.÷°_.÷¦_.÷œ_.÷’_.÷ˆ_.÷~_.æ¸öæK_4w ¬ö@ rÁ Áe!A! þyÀw†öÎfß Ö öÎ÷ÎôÎñÎîÎëÎèÎ åÎâ2f|ª°ª.ÌÒØÞô:BVZbj~‚Š’®².ªºÆÒø  >Tj€Š’š.¤®¸ÂÌÖŠ’.à.ú.8RbrŠ’šŠ’²¼ÖúŠ’8Š<bŠ’ÖÚæ8Jš.^ŒÀÜð $<Xn†Ššª¾Îø  6LVft‚.¾�€¦´ÊŠ’.ÎÞìBTfp.zŒ’š ªŠ’Š’´¾ÈÒÜæðú    " , ª6 6 Š’Š’.@ âþ @0ÿ ïþ ÿ ýþ0ûþ ñþ0ëþ ãþ0Ûþ Ùþ Øÿ 0ýþ ñþ ãþ 000ÿ ýþ 0ûþ 0ñþ 0ïþ ëþ 0ãþ 0Ûþ 0Ùþ 0ÿ ýþ 0ûþ 0ñþ 0ïþ ëþ 0ãþ 0Ûþ 0Ùþ 0ÿ ýþ 0ûþ 0ñþ 0ïþ! ëþ 0ãþ 0Ûþ 0Ùþ 0ìþ# ÿ% ïþ$ ÿ' ïþ& ÿ) ïþ! ïþ! Òÿ+ 0ÿ< ýþ3 üþ4 õþ]0óþ8 ðþ9 ïþ1 îþ: ìþ/ àþ7 Øþ6 ×þ5 Óþ; Åÿ]0òþB 0ïþD !0"0ÃÿE 0ÃÿF 0ÔÿH ÆÿG 0­0ÅÿI ÔÿJ  0ÃÿK 0ÃÿL 0ÔÿH ÆÿM 0×ÿN ÔÿH 0õþO ÅÿP S0ÿ< ýþ3 üþ4 õþ]0óþ8 ðþ9 ïþ1 îþ: ìþ/ àþ7 Úþ]0Øþ6 ×þ5 Óþ; Åÿ]0ÆÿR ØÿS _0ÿT öþ¶0õþ¶0Úþ¶0Òÿ´0Øÿ¶0Åÿ¶0Æÿ‡0¢ÿ³0¥ÿ²0b0ÿW ïþ` ìþ\ éþc èþ^ äþZ Þþ[ Öþ] ÕÿX ÓÿY Øÿb ¥ÿd ïþg ïþg ìþk o0Æÿn Òÿp ¢ÿq ¥ÿo ˆ0¥ÿr Òÿs ¢ÿt Åÿu ÿ ýþ0ûþ ñþ0ëþ ãþ0Ûþ Ùþ Øÿx $0ïþ‚ ìþ èþ� Þþz Öþ€ Õÿ| Óÿ} þþ‹ ôþŒ ïþ� ìþ èþ� åþ‡ áþŽ ßþ� Þþz Öþ€ Õÿ| Óÿ} Øÿ‰ ¢ÿ… ïþ‘  0ìþ’ Åÿ– 0U0T0ÿW ïþ` ìþ\ éþc èþ^ äþZ Þþ[ Öþ] ÕÿX ÓÿY Øÿb ¥ÿd a0õþ› ÅÿP ÿþ¬ úþª íþ£ êþ« çþœ æþ¦ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ q0w0x0y0z0{0|0ÿ° ÿþ‡0úþ‡0ùþ‡0øþ‡0÷þ‡0öþ‡0õþ‡0íþ‡0êþ‡0çþ‡0æþ‡0Ýþ‡0Üþ‡0Úþ‡0Õþ‡0Ôþ‡0Äÿ‡0Ãÿ‡0Âÿ‡0Õÿ‡0Óÿ‡0„ÿ‡0Öÿ‡0Ñÿ‡0Úÿ‡0Òÿ´0Øÿ·0×ÿ‡0Åÿ‡0Ôÿ‡0Æÿ‡0¢ÿ³0¥ÿ²0£ÿ‡0Øÿ± ÿW ïþ` ìþ\ éþc èþ^ äþZ Þþ[ Öþ] ÕÿX ÓÿY Øÿb ¥ÿd £ÿµ ùþ¸ Ôÿ¹ «0Òÿ´0¢ÿ³0¥ÿ²0‡0ÿþ¬ úþª ùþº íþ£ êþ« æþ¦ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ Úþ» ÅÿP ÷þ¼ Üþ½ j0ÿþ¬ úþª íþ£ êþ« æþ¦ Ýþ¾ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ ÿþ¬ úþª íþ£ êþ« æþ¦ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ n0Ãÿ¿ ÿW ïþ` ìþ\ éþc èþ^ äþZ Þþ[ Öþ] ÕÿX ÓÿY Øÿb ¥ÿd ïþà Ž0�00ýþ ñþ ãþ ÆÿÈ *0ñþÍ ïþ! ãþÎ ÙþÌ ÅÿÏ -0.0ïþ‚ ìþ èþ� Öþ€ 10203040¯0ÅÿÒ 70ïþÓ 90þþ‹ ôþŒ áþŽ ßþ� ;0øþÖ ¥ÿ× çþØ çþÙ ïþ! H0øþ¯0°0ÅÿÞ ®00Åÿß Åÿà Åÿá 0^0×ÿâ Ôÿã ˜0ÿþ¬ úþª íþ£ êþ« æþ¦ Õþæ Ôþç Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ Æÿä �0c0ÿê õþ\0ïþ‚ ìþ èþ� Þþz Öþ€ Òþì Õÿ| Óÿ} Åÿ\0š0Ãÿò Âÿñ ›0Ãÿó œ0 0¡0¢0£0¤0¥0¦0§0¨0©0ª0ÿþ¬ úþª êþ« Öÿ¨ Ñÿ© Úÿ­ s0ÿþ¬ úþª êþ« Öÿ¨ Ñÿ© Úÿ­ t0}0ÿþ¬ úþª íþ£ êþ« æþ¦ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ ×ÿõ €0Ôÿ÷ £ÿö ‚0ƒ0ÿþ¬ úþª øþø íþ£ êþ« æþ¦ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ …0ïþg Ôÿ!£ÿ!ÿþ¬ úþª íþ£ êþ« æþ¦ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ –0Œ0µ0Ôÿ!£ÿ!‹0Åÿ!Åÿ!×ÿ!Åÿ!+0ÔÿH Æÿ !0/000080:0×ÿ !ÔÿH ïþ� ìþ èþ� Þþz Öþ€ Õÿ| Óÿ} Øÿ‰ ïþ� ìþ èþ� Þþz Öþ€ Õÿ| Óÿ} Øÿ‰ õþ!ÿ!üþ!õþJ0×ÿJ0Åÿ!E0ÔÿH Æÿ!0000`0ÿW ïþ` ìþ\ éþc èþ^ äþZ Þþ[ Öþ] ÕÿX ÓÿY Øÿb ¥ÿd ’0”0•0ÿ!õþ!Åÿ!V0X0Ôÿ!Æÿ!50ÿþ¬ úþª íþêþ« æþ¦ ÄÿÃÿÂÿÕÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ r0ÿþ¬ úþª êþ« Öÿ¨ Ñÿ© Úÿ­ u0v0�0ž0Ÿ0×ÿ!!Ôÿã 0�0ÿW ïþ` ìþ\ éþc èþ^ äþZ Þþ[ Öþ] ÕÿX ÓÿY Øÿb ¥ÿd e0¬0f0ÿþ¬ úþª íþ£ êþ« æþ¦ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ g0ÿþ¬ úþª ùþ$!íþ£ êþ« æþ¦ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ ÿþ¬ úþª ùþ%!íþ£ êþ« æþ¦ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ öþ&!k0ÿþ¬ úþª íþ£ êþ« æþ¦ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ p0Š0‰00 0)0#0ñþÍ ïþ! ãþÎ ÙþÌ ÔÿH Æÿ*!ÔÿH Æÿ+!ÔÿH (0<0=0Ôÿ-!£ÿ,!B0?0@0A0D0ïþ! H0G0ïþ0!™0ÿþ¬ úþª íþ£ êþ« æþ¦ Õþæ Ôþç Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ Æÿ2!�0ïþ‚ ìþ èþ� Þþz Öþ€ Òþì Õÿ| Óÿ} \0Y0d0[0~0„0ÿþ¬ úþª íþ£ êþ« æþ¦ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ †0ÿ< ýþ3 üþ4 öþ]0õþ]0óþ8 ðþ9 ïþ1 îþ: ìþ/ àþ7 Úþ]0Øþ6 ×þ5 Óþ; Åÿ]0ÿþ¬ úþª íþ£ êþ« æþ¦ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ —0,0%0çþ!Æÿ?!°0I0“0W060Z0h0i0l0&0'0C0ïþ‚ ìþ èþ� Þþz Öþ€ Õÿ| Óÿ} P0ïþF!ÿþ¬ úþª íþ£ êþ« æþ¦ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ ‘0>0ÿH!õþK0×ÿK0ÅÿG!M0Ôÿ!ÆÿI!çþJ!°0ïþ‚ ìþ èþ� Þþz Öþ€ Õÿ| Óÿ} P0O0ØÿL!N0ïþ! ×ÿO!H0ÿH!õþL0×ÿL0ÅÿG!×ÿP!R0Q0ÿÿ !")*+,?Rehmrwz}~›ž¡¢£¦§ª«°±²·¸»¼¿ÀÅÆËÌÑÒñô÷ ~ & ~),  /03:=@CFWZii†‰ŠZii��‘’Ò“¬­²Ñ  ÒÓÔÕÖר  "=BCJinst“°³ÌϳÌÐÑÒÙÜåèéêêóôõö÷øûüÿ w   !$'*+,12UV   mnsvwxyz{|}~€�Ž›“œ»¼ÁÂÃÒâÒ   Ò åê iwww !"#$%&Z+i<MP[\abcdef €�‚‰Š‹Ò�‘®»¼½¾¿ÄÅÆ ßàáâÿ=@] ^_`abcilqvyz{€�‚ƒ„…ˆ‰iŒ�°ÁÂZÒÃÄÅÆÒÒã!"ii#<&'*- ./0123456i78GJghqrwz{Š‹8Ž�”� ¡ÿÿ  ""!!!###$$$&''''(((%%%%%%%%%%%%%%%%%%%+,,,,,,,,,,,,,,,,,,3344..555555;;;;;<<77**///////0000111111--=6:89)2ÿÿÿÿÿÿÿÿCÿÿCvÿÿvÆÿÿ (*xˉÕÌ Í Î ËÿÿÝ3U7iÿÿ,ÿÿÿÿ ÿÿ ÿÿ ÿÿ ÿÿ"EyK“œíÖí5>íGíJíÿÿŠG�L”M•ÈØ )1*:+;<AÿÿƒÿÿÿÿÿÿÿÿÿÿwÿÿÇÿÿÉ(ÿÿÊ|Ð}Ñÿÿ{ÿÿ~œëëÿÿD×Ù-=ÿÿ„‡Ôÿÿ†/?EÿÿˆÿÿLNÿÿÚÿÿÛÿÿ.ÿÿÜJMÿÿBGKÿÿC.QR—¸ùºû¾ÿì 6$7%8&9ÿÿ-ÿÿ.ÿÿè4ÿÿéÿÿ0±ôÿÿ˜8jÿÿ24V6h:l;mX®Y¯b²c³d·oÁrÁ�îžïŸð»ü¼ý½þ¿ä÷·ø#'2@ÿÿšÿÿe=.=3=5f7=8=R=¸=¹úº=¾=ì==$=%=&=ÿÿ_ÿÿ�ÿÿžÿÿŸÿÿaÿÿ´÷"ÿÿ¶ÿÿ>ÿÿ?rÄÿÿÀÿÿ@sÅÿÿÂÿÿAãÿÿ™3ÿÿåÿÿÿÿÿÿ %+-/1357Kacegikmosy{�‰�“•™›�¡¥©¿ÁÃÇÉÍÑ%')+-/357;=ACGKÿÿ !!$!XYZ[CWXYZ[r ´ � œ ¨ r Š z Š – ¢ ® beginrecordbegincaseéÉø (8HXhxˆ™©¹É™X©¹ÉØèøè(8H9XhYxH(8ˆxx˜ˆ((Ù©Ù™Ù©èØ¸È©Ùé™hˆ˜ièØxxˆˆèè™é hy.tab.o~yyactr~yyEactrP _opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval#º _N _lastkey _yykey _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _yypv _yyactr"csv _funcend cret _fixlist _tree5 _funchdr _funcbod _yyPerro _fixstli _tree2 _brerror _trfree _consten _typeend _varend _label _hash _newlist _addlist _constbe _const _typebeg _type _varbeg _var _funcfwd _tree3 _tree4 _yylex _copy _yerror _setupva _tree1 _yyact# _yypact#b_yyr1#_yyr2#z_yygo#ì_yypgo#ˆ _yyEactr"P _identis fdec.o$÷¤‘�î ŒŒw üÿÆå @ß À Îlß ÷ Üÿ· Øÿ@7Îÿð (ß "÷-¸ÿ¶ÿô¥ ô¥ôµ€ô¥  @ð ÎMß ÷ ~ÿwxÿ@Áü 7n  þy÷‹yÿ·ŠZÿ & æ@&ß Æe7<ÿ@4ý%F_rôÕ€· ÿ÷%ÿÎ;ß Îß ô¥  &æ @&ß Æe5öÿ0töÿ5òÿ5öÿ5 ðÿ@_@ ò _<ú%_l€5øÿý%Køÿ_bÎ`ß  v@ð Îˆß  & æ@&ß Æeß ôÕ Š@ ι ÎÚß Ë%K÷Îß  ææ @&ß Æeß ôÕ ß 5ðÿÀåùÿ ƒ_ÎÀ xî ÷•wÐý÷‹Þý÷•sÄý@ðÿÀ Àmºýæß Ö _ÎÎH ß _ÎNøÿß €à b€Àå ‚À x ÎP ß Ä ô¥ 봧 ôµ€ ß æÆß Ö ß ß 5àðÿNðÿ&ææß Æe5ôÿðÕ õ ôÿ@öÿpôÿuôÿöÿòõåðÿNðÿ&æ æß Æe5ôÿáÎúß Ü‚ _F÷ ´üDòÿ@ðÿ Àe4 à ;3m Ãø÷‹Šü æ£ß Ö 7xü & & ß –%7hü5öÿ@ò  & æ¦ß Æe5ôÿ@öÿpôÿuôÿöÿ‚ å÷ ü4 ÷‹ü  æß Ö _~ æ ß Ö _‚w îû@wæûw âû· Þû÷%ØûÎ)ß Îß ÀÂût0 0 À²ût0 0 À¢ûÀ 0 À˜ûÀ Á�’ûp7 Šûõ  w~û@ðvû@ð¥ ß Ä ù@ð¥ ß @Üw 6ûÆå7 .û÷ *ûÀ$û7û@5ðÿõ ÷ û_b @ ß ÷%ôú÷‹ýúÎÎß 5øÿNææžß –%N& ß Ö @ð¥_¼÷¥§ú À�¡útÀU¼ß 5 öÿ5 ôÿ@_–ÎY &ß Ö À µ öÿ_’Î_ &ß Ö À µ ôÿ_’ß 5îÿ÷->ú<úæXß _@îÿð¥œÀ &æŽ @îÿß &æÈß –%C@îÿð >ð¥ ç@îÿ ÀÒùt ÀU/&ß Ö ‚ Ê‹ýƒãææžß –%@îÿß À  @îÿß ÀtÀUø&ß Ö Ä _‚õ ôÿ @ð ÷•eLùÎÿß 7 @ùw:ùNðÿß ÷%,ù÷‹&ùÎ ùæùß Ö Îùæùß Ö @ð¥õ öÿ Àòøðµ`÷•eäøÎ? ß wÖøÂÒøwÌø€À Á�Äøp ÷‹Ðø À5òÿ ÀÀ Ä _¸�ÀEàÿ€ _¸õ òÿBÌ @�Á 7� þyôµ`÷•w^ø�À &æw #÷•wFø�À &æ– ô¥ Jôµ@ìôµ ÷•wø�À &æ« ß ¦ –%�Á( 7& þy õf ìÿð µ ìÿ÷•Ò÷ô5 Nìÿ&æÈ Nìÿ&æà ß ¦ –%÷ ¨÷ß f Î ß _^ôµ€ø�À &æþ ß ¦ –%ìôµ€èæ' ß ¦ Ö áôµ ÝÎN ß ¦ ØÀÀ 0ƒ Ã%?_VÎß @ß @ðÅ€À÷tÀ÷t ð0þð7÷6ðÀîöt  € f&æv ÷ vÆe÷ Èö7ŠÂöÎføÿß Ö ÷ ²öNß À Îlß wšöw –ö@ð ß f ÷ €öÎh ß ÷pö÷ löNæk ß Ö wZöw Vö÷ Rö÷ LöÎHöÀDöœÀ &æo ß –%7 ,ö·Š(öNffß –%wö***ÎÎ**F€ºœV”22 ”” pp¦�hCÈPfunchdrfunchdr2inputoutputs %dIn %s %s: ™¨¸É¹Ø©™èù y™©©©è(èè8èH8Xéyé‰èhHhèx舘詙¨i¸yÉ™¨¨™ ™©©è(©ÈÈ©Èȩȩ H i88™)©©¹©8©yH¸¨yyHXXØ©™èXx虨¸hˆ¨éèÙ¹x©™ iˆyˆ‰é蹩ù HyxéXéXéX¹ ¸XxHȩȩȩÈÈùIˆ©¨Ø ™ è  è ™ùùùùXèùIè fdec.o~funchdr~funcfwd~funcbod~funcendÆ~pnumsf ~nerror¦ _opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _cntpatc _nfppatc _funchdr"csv _inpflis _opush _yyretri _lookup1 _error _putcnt cret _defnl _pexit _enter _gtype _classif _panic _nameof _width _even _put2 _put3 _getlab _funcfwd"_funcbod"_Fp _pnumcnt _funcend"Æ_cntstat _patch _put1 _strcmp _text _statlis _patchfi _nerror"¦ _pnums"f _putchar _nlfree _opop _printf _yySsync fltused stat.o$þ¤‘è jàw üÿDß Ä øwâÿw ÞÿDÃÖÿ ß 7 Äÿ÷¾ÿ÷ ºÿ7 ´ÿ÷ FÄ #7¦ÿÌ%2æ÷ œÿ 7 –ÿ÷•w�ÿÎ ß ÁF 7Ê  þy÷ (ß Îß wbÿ÷ ß õ÷ ß ÷Dÿ÷>ÿè· 8ÿÀå1 ‚À x Îh ß ß r÷ ÿÀÿÀ ð Î÷ HËß v 7 øþïß $ ëß œõß â÷ Žß Üß ÒØ÷ zß ° Òw ¸þÀ´þÀ ôµ€ ô%'ô-˜þô�þ ô%'ô-€þô'Ä áwjþw fþ÷‹bþ · n Îj æ¤ß Ö wJþw Fþ÷‹QþÎ<þæß Ö w.þw *þÆå÷ ØÿõþöÿÀþt5òÿ5ôÿ@IÀúýtðå° Àèýt5øÿÀÖýt ÀU/&ß Ö Î&ß Ö "ó¥ Îß æ2 ß Ö Nøÿææ& ß Æeó~ý÷xýÎ ß Ä µÀdýtf&ÀPýt€å�å€ vÀ4ýtf&À ýt°°@ß fôÿfòÿÀüüt°°wöÿêüwæüw âüõ  P@EË%@Bó ?Îß ô�²üÄ 4ô¥ 0ôÕ` @&ß ' À€üt ÀU/&ß Ö Îm &ß Ö À ß À%Î~ fß ÌÖ w4üw 0üDõ  SÎ@&ß Ö   @&ß Ö êÄ ê@&ß Ö ÝÎl ß Ø@&æß –%À ðß Àåüÿ ‚À xV Î&ß Ö Îß &÷ ’ûÖ &æ æ ß Æewxûß æ'ß Ö ów `ûÆå5 îÿõTûêÿõ _P÷ úü @&ß ÌÖ  @&ß Ö @ß _P@5ìÿ@ìÿ5ìÿ@ìÿð ά ß Ü@ìÿß 5îÿð Îo &ß Ö À ß æÎ ß ÇÀ¬útðå° Àšútf&À†út€å�å€ vÀjútf&ÀVút°°ÀFút5èÿNèÿÀ4út ÀU/&ß Ö  @&ß Ö @&æß –%À Îë ß _àÎß À%Î"Î!ß @5ìÿ @ìÿ&ß Ö NèÿÀ²ùt ÀUz&ß Ö Î&÷ ˜ùÖ &ý%9æ æ & ß Æe÷ tù5øÿæ ß Ö ÷ `ù5öÿß ÷ èú@ß ÷‹Uù/NèÿÀ8ùt ÀUz&ß Ö õ ìÿ Î@ìÿ&ß Ö Nöÿ&÷ ùÖ € ý%9Á°Á³@`&ß Ö _6@7Øø÷ Šúõ ìÿ @ìÿ&ß Ö NèÿÀ¶øt ÀUz&ß Ö Î&÷ œøÖ &ý%9æ æ & ß Æe÷ xøæ ß Ö 5ôÿÎ@ìÿ&ß Ö  @ìÿ&ß Ö Îæ�ß Ö Î&÷ .øÖ &ý%9ææ& ß ÆeÎ&ß Ö Îß &÷ ô÷Ö &æ æ ß ÆeNöÿæ ß Ö Nôÿß ÀÆ÷tðep Nøÿß 7 ¬÷õ îÿ@îÿ0 õ-š÷êÿ÷ (ùwŽ÷w Š÷Æåõ‚÷öÿõ _r ÷ (ù @&ß Ö @ß 7 N÷@ß 7 >÷WÎt &ß Ö À ß æ"!ß Ö Ý÷ ÷æ ß Ö ÷ ˜ø@ß õòöøÿ@ð !÷ âö÷ "ø· Úö÷ Ööæ ß Ö Îß 7 ¾ö@ß @øÿ@ 7@¨öƒ7  öÎß õ-–ööÿ÷ $øwŠöw †öæ õ€öøÿõ :÷ töÎß ÷ ø @&ß Ö 3Îv &ß Ö À "÷ @öŽæ ß Ö ÷ Ä÷@ß Îæ ß Ö Žß õ- öøÿ÷ š÷wöß æ^!ß Ö @ß 7 Þõìw Øõæ õÒõøÿõ ;÷ Æõß ÷ P÷@ß @7¤õ @&ß Ö Îx &ß Ö À ß æ�!ß Ö Îæ ß Ö õ-\õøÿ÷ êöwPõw LõD÷‹Võ÷•s<õÎá!ß ÷‹Cõ &ß Ö Îz æß Ö À Îß æ"ß Ö Î¯ß wîôÚÚÚ$0þ Úâ8ÚÚÚÚÚÚÚÚÚÚÚâ3;žŠªÄV`ˆˆˆVVV`statibcisbbbbùùÙ(IÙÙÙ)IIYHhx˜IÙ)¨)8Iù8)))ù 8ùé)8ùÙ888888HXHhÙÙx8888888888Ùùˆ™¨ 8¸ÈÈùH¨¨èøÈÉ(È8ùi¨H8HXH888888888888¨øèÈx¨8É(Y8Yhé8HÉ8)¨8É(Y8H¨8É(ÈÉ(8x88xIiùi¨IIHXHY8I))Y8xIIIxiùiYh¨HY88xiXHIùiYh)¨HXH8iùéYHé¨HXHxstat.o~statlis~stateme~ungotoD~putcnt–~putline¶~withopÒ~asgnop~asgnop1Ì~foropœ~ifopr~whilopv ~repop$ ~asrtop° _opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts# _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _cntstat _statlis"csv _stateme"cret _labeled _putcnt"–_error _putline"¶_proc _nlfree _asgnop"_gotoop _panic _ifop"r_ungoto"D_whilop"v _repop"$ _forop"œ_caseop _withop"Ò_asrtop"° _put2 _lvalue _nameof _defnl _put1 _lookup1 _flagwas _rvalue _isa _width _asgnop1"Ì_cerror _compat _classif _rangech _gen _lookup _isnta _getlab _putlab _patch const.o$õ¤�Ä .pxw üÿ÷5 öÿÎZß ÷5æÿÎ�ß ÷UÖÿwÒÿw ÎÿwÈÿNß ²Î¾ÿæ¸ÿæfß Æeß ôÕ ÷ –ÿΈæŒÿß Ö À 7õ‚ÿ ð4û ð Ίælÿß Ö À 7õbÿ4ø wVÿw RÿwNÿw JÿÆå 7 BÿC 5ôÿ5öÿà ó  _¼ÀÁH7p þyÎŒß À@íöÿ5öÿµ ôÿÃàÎß Rô¥ �À ææÏß –%A7Àþß Àåüÿ N‚À x. ð4þ ð7ø þõ ôÿ)ΛæŽþß Ö À "õ öÿ7õ~þÀñ7øxþ7õtþ ð5ûðÿðfòÿfðÿfòÿfðÿ÷ TþÆeÀ%÷~Dþw@þÎ<þß æ#ß Ö ó4õ Â7 þ7þþ¼7 þçÎ“ß ¶Îß f& ðþð7øöýÎß 7øèý7õ 7÷àýðõÐ7÷ÔýðÎ÷ß 7ñÄý7õÀý ð5ûðÿðfòÿfðÿfòÿfðÿ÷  ýÆeÀ%÷~�ý_d÷�†ý_d÷H|ýÎß _`õøÿ@øÿð‹÷¢Zý@Ÿøÿ7Tý™÷îÿJýNøÿß õw <ýDÄ Àw,ýÁh7˜ þyÌ4ß ÀëÌõô  ãÌ 4ÛÌHùÌ#öÌ$óÌðÜîîÜèÜÜXÖÿOÿÿþ #$H�ö ~øî!"@Gæú("idgconstgconst2idi x x ‰i©ÉɸÈÉÉØÉɨɉi‰iÉøHxÉÉÉ(ÉÉÉ9HɉÉHxÉÉÉøXÉhÉÉÉxÉÉ9HÉHÉHÉhHÉÉHÉxi‰const.o~constbe~const.~constenª~gconst²~isconstÀ_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _constbe"csv _error cret _const"._gconst"²_defnl _enter _isa _consten"ª_panic _lookup _classif _isnta _bytes _nameof _a8tol _atof _savestr _isconst"Àfltused type.o$¤�(RBðw üÿ÷5öÿ΀"ß ÷5æÿα"ß ÷UÖÿ7 ÒÿwÎÿw ÊÿNß ’wºÿÄ ý% ý%Kß  &æfß Æeß ðÕ wzÿw vÿ÷ vwnÿw jÿæ õ  w\ÿõXÿøÿý% @7Bÿ5øÿ@ rÁ ÁeRA! þyÎˆß õe@ß ô£�À @&æÞ"ß –% wøÿØþºøNß FòNß Àù@& æ & ß Æeôšþ7”þÚ@ß ’ßNß Ú @&ß Ö Ñ@ß ’½ôµ€Î#ß  &æ & ß ÆeôÕ€§@ß ’Ÿô%HÎ$#ß •ô¥ô¥ ß æ@#ß Ö _žß À%Îj#ß  &æ& ß Æe_:w ¶ýæ  & æ& ß Æe4@ wŒýõÿÿøÿµ øÿNøÿ&æ¦ß Æeß óÕ søÿ ‚ åtøÿô Øw <ýÆå @ß Ã(ý7õ(ý5øòÿ@ß ÄýCà Aß °À <Îß °À 7ß 5ðÿÎß 5îÿ5 ðÿÎß &÷ ÎüÖ &æ±#ß –%Îß &&÷ °üÖ €%ÎÕ# õ%üÿðÿï7õœü5÷òÿðÎ$ß w‚ü ææ& ß Æe7õlü ð2û ð5õòÿ ð2ûð€åw LüÎ�fß Ö À Î)$ß ÀNß æJ$ß Ö òÎ�fß Ö À ì wþûw úûÆå@ß ’ wàû ææ& ß Æe5øÿÁœÁEÿpÐBøÿ5 öÿ@Kß ’7ó¥ó¥!ó¥.æææ æ ÷ tûÆeÀ%Îô$ß #ó%HàΑ$ß ó¥ÛÀœÀ æ·$ß Ö 5 øÿ Îß µ öÿòÂÄ ³õ øÿ@øÿpöÿ @øÿŒw øúÄôúô¥ ô  ß ’4ô  ðµ€Î=%ß 4 Ä àw®úXdp%àîn>˜†àH2|Ôètypedbcsi©I¸I¸I‰É©éøÉ©É©ÉééHXˆ¸é‰‰˜¸ˆ¸¨¸¸¸©É©È  È è訩¸øù ¸É ©¸¨¸É©É)¸ˆ¸ˆ¸ø©‰¸Étype.o~typebeg~type2~typeend†~gtype’~tyscalF~tyrangÀ~norange°~tyary~foredec_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _typebeg"csv _error cret _type"2_gtype"’_nlcopy _defnl _enter _typeend"†_foredec"_panic _lookup _tyscal"F_tyrang"À_tyary"_tyrec _nameof _width _gconst _norange"°_classif _scalar _isa _isnta _bytes fltused rval.o$þ¤‘hô Fäw üÿÆåõ INß À Cý%@À 5êÿ@Àå ?ƒ_” À xv  æ�ß Ö ÀZ=Nß 8@ß ô‹�Àå ƒ_ªÀ x$ @ð 7 À xô õòÿ @òÿ€ ÀexÁ>ÿWt @P&ß Ö €w*ÿŽß 5òÿÀå ݃Nòÿ& À ÿt ÀU„&ß –%ä fß Ö ÄŽß 5òÿÀå ‚À x õòÿ@òÿ€ Àe|ß ÃNòÿæ…»@ð æqß Ö ™–Â%îÿI5 îÿuîÿìÿ5 øÿµ øÿ@îÿµ îÿÈ‹øõ ÷‹lþNß @-øÿ Nß À%ÿÿÎ›ß _ Nß 5øÿNìÿføÿæžß –%Nøÿ& æ& ß Æe²_ÐÂ%¢ æ˜_ÊŽß Àå (‚À x 4õ &øæƒæ÷ ºýÆe _Ð& & æ‚÷ ¢ýÆe_Ð æ�_Ê æ€_ÊÎü ß _ÐNÎe_\æµ_fæè_fÎ ß  ffß –%_Ò @&ß Ö _ Î ¦ß Ö À Žß fêÿæß –%_ ý%_ÐŽß tþÿÀe`ß Î ¦ß Ö À _ÐÀ�_Ò @&ß Ö _ Î ¦ß Ö À Žß æE_fÎß À´_Ò @&ß Ö  @&ß Ö Ä _ Ã _ Î &ß Ö À ß fêÿælŽÎ æß Ö À Îß fêÿæ˜_þý%ζγ @&ß Ö  @&ß Ö Ä _ Ã _ Î &ß Ö À ß æÅ_fÎ æß Ö À Îß æø_fÎß &÷ dûÖ &f& ß Æe_Òõ @5ôÿ@ôÿð%÷ ,û @&ß Ö 5· ûÀ _ N@&ß Ö @&ß Ö Ä _ Ã _ Î &ß Ö À Î æß Ö À ¢Î &ß Ö À 2Î æß Ö À *Ä Nêÿæ,_f &÷ ~úÖ &fæþÿß Æeý% ÀÿÿÁ\úÁEðÿ� t& ß Ö _ÒÎ! &ß Ö À ß fêÿæ[_þÎ% æß Ö À Îß fêÿæ”_þNêÿæÎ_f @&ß Ö  @&ß Ö Ä _ Ã _ Î) &ß Ö À ß fêÿæ _þÎ+ æß Ö À _ŽÎß fêÿæ5_þ÷ jù @&ß Ö · Tùà _ õÃ%Üÿó¥ ÷ 6ù @&ß Ö · ùÄ _ Ã%Üÿ Îß &&÷ ùÖ €%5N@&ß Ö _ @&ß Ö _ ß 5øÿÎß 5öÿNøÿß º À _ Nöÿß º À _ 5 ðÿ@øÿÀåüÿ Y‚À xF u-öÿøÿV_fõ%üÿöÿgÎß &&÷ ZøÖ €%FNêÿ@öÿÀ ÀmFø&æï_þõ%þÿöÿMÄ îõþÿðÿ0õ%ýÿöÿõ%öÿ?ý%$ý%  Îb_Èõ%ÿÿöÿ/Îß &&÷ ê÷Ö €%Nêÿæ“_fõÿÿðÿÎ- ß Îß &÷ º÷Ö &ffðÿ_¦õ%öÿíõ%öÿéNêÿ@öÿÀ ÀmŒ÷&@øÿÀ Àm€÷&æ½ß Æe_ @5ôÿý%>ôÿ Î& fôÿß –%  @&ß Ö 5 ôÿÃ%Üÿ÷•w$÷Î,ß  æ€ß Ö _„ @&ß Ö _ Ã _ ó¥Îß æe_f@æ&ß –%À Î’ß _ Î~&ß Ö Îß õ ôÿΔöæŽöæ÷ ˆöÖ &æ®ß Æe_„Ϋ_€@ð _ @Áb 7¼ þyÎ3 ß @ß f& ðþð@ß 5øÞÿ7õp5÷ÞÿðõÐ5÷ÞÿðÎÇ_È5õÞÿ ð5ûæÿðfèÿfæÿfèÿfæÿ÷ ÚõÆeÀ%@èÿ5øÿæ�ß Ö À~_Òfèÿfæÿæ‚÷ ¤õÆe_<@ß &øæƒæ÷ ‚õÆe ÀH_Ò@5îÿ@îÿð‹_€@Ÿîÿæ˜ß Ö À¢_Òw Bõ@Àåùÿ ‚À xö @À Àm$õæóß Ö Àwõ ü°°ê°êêêª88J8JJJ2rf~N~~~4T–�ªªªª Šªªªªªª�ØÄ0„„VVØÿOÿÿþ!"GŠ Ö d ¾ ¶ Ʋ²²’’’’’’DŒŒ” Æ’” ” ” ” ” ” ” F” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” ” X” ” ” ” ” ” ” ” ” ²” bÒ Ò Ò rvalrvididdbbbididididttidtidtiirval2rval39HXhxˆYh™¨Y¸È¨Øè9¨øè¨¸¨¹((8HXè¨ØhHXØHXHXHXHX¨©x¹¹hhhh©x©hHXHXHXHX¹¹¹¹¨©øø˜™I¨©(¨©IIè8©èØX¨¸ÈØ©©©è(øh¹h9Iè™rval.o~rvalue~nocompº _opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _rvalue"csv _nowexp _opnames _put2 _funccod _lookup cret _width _put3 _lvalue _put1 _error _classif _defnl _put _panic _cset _isnta _nameof _isa _gen _nocomp"º _scalar _compat _cerror _convert _setran _put4 _a8tol _atof _bytes fltused lval.o$ü¤� ¨2<w üÿÆåõ qNß À ký%@릧 b@ß 5øÿÄ Wõ5ô�²ÿõ5ôÕ @�Á¨7< þyõèÿ@Àeîÿ5êÿ@5ìÿõCîÿ5ðÿCÃeèÿ ÀRÿt ÀUy&ß Ö 5 ôÿ5 òÿà _ìõ5_ìô _ìæîß Ö w ÿõôÿ5 òÿá�À &æÉß –%ê5öÿå€ÀåA ƒ_àÀ x¼@öÿðÕ@ô¥ ô¥ ß æ)ß Ö @æ;ß ºõ ôÿ NòÿÀxþt ÀUy&ß Ö õ òÿNòÿæ,ß Ö Î}ß ô¥ ÎÃÎ.ß 5òÿ5ôÿ_螇ô¥u-øÿöÿ@øÿœÀ @&æ[ƒÎw_&÷•eäýÎ˜ß ô¥ß æÁ”õ ôÿ NòÿÀ¸ýt ÀU/&õ òÿNòÿæ,ß Ö Ž&ß *Ö Àåÿÿ §‚À x¸ô¥ß æò_bò _ðŽ&ß Ö Žæ_bõ5ôÕ ôÕ@5m òÿÎÔß Ãà _Úõ ôÿ NòÿÀþüt ÀU/&õ òÿNòÿæ,ß Ö _òw ÒüÆå Dõ  NöÿføÿÎ æbß –%Àÿÿw¤ü5 öÿõøÿ_hõ ç @&ß Ö Ù@&æß –%À ÎŽß õ%öÿÑNøÿæÆß Ö ÉNøÿfß Ö uðÿ÷‹;ü&@Àå  ‚À xÄõðÿ æ÷ üÖ À%À%À&AðÿÁEWt@P&ß Ö í & fðÿæ÷ ÄûÖ À%æ-æ æß Æe@5µ øÿu-öÿøÿ_lõ @5µ øÿõ öNöÿføÿÎ æé_NÀ_X ö¦zhðâ$„<òò&ò&&&ìlval29HXhyYˆX™X¨X¸YˆˆÈÈ©X¨Yˆ¨èøYˆ9X™¸¸(99ˆ9Hlval.o~lvalue~arycod*_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _lvalue"csv _nowexp _error _lookup _flagwas _put2 cret _nameof _cerror _put1 _arycod"*_reclook _panic _rvalue _compat _arycons _width _put func.o$ø¤�, 6Ìw üÿÆå@ß 5øÿ@ß "Nøÿæ² ß Ö ð@øÿð¥ ò@5ôÿ÷ ¬ÿΦÿæ fôÿføÿß ÆewŽÿ5 öÿCôÿµ öÿÃà ú@øÿ ÂE÷‹zÿð5 ÷•sXÿNøÿæÈ ß Ö €Á67‚ þy õ öÿ_Nøÿææ @Àeðÿ5ôÿ@Àeèÿ5òÿõ@èÿõÿìÿ 5îÿ5êÿõöÿõ%öÿNøÿæ# ß Ö Nôÿ_"õ öÿÖõ%öÿêNøÿæý í @ôÿ&ß Ö _&€ rÁ ÁeZA! þy:ÎÜ&ß Ö À ÎH&ß Ö Žß Â%úÀ_nÎÞ&ß Ö À îß føÿæB ß –%_&Â%å ÀH_nÎà&ß Ö À ß æq ß Ö _&Î�&ß Ö Žß À�_nÎâ&ß Ö À ñß føÿæ� ÃÎä&ß Ö À ŽÎeß ½Îæ&ß Ö À ß tþÿ€`Ëß føÿæà œÎè&ß Ö À ß Àå ‚À xRÀl_nß æõ ˜Îí&ß Ö À Žß _nÎñ&ß Ö À ß À%Âe„‚ ‚Îó&ß Ö À Nøÿæ$ _úß føÿæ? _ÆÎö&ß Ö À ß æm _úß tþÿ€`ß _žÎø&ß Ö À ß æ˜ _úß tþÿ€`ß À$_nÎú&ß Ö À ß æà _úß æ­ß Ö À~_nß À ß æë _ú޳ô¥ úß æ _úNøÿæ? ß Ö Îüß _n·½ÄÅÞàÈÈ**ÈÈ ´Þ¼hrx€Š–¢ '(&''(*%'* %&') &()*@v<*vv*vÊ*ŽÞv*vvrv*¬ævÊ@ididdibcisbcsiidiitfunc1)8HXIIhy)™X9Xˆ˜¨¸ÈØXÈØX¨¸Èؘ¸˜èØ˜èØ˜¸˜è˜ØÈØè¸ÈØè¸ÈØèøØØXfunc.o~funccod_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _funccod"csv _lookup _rvlist _error _call cret _rvalue _isa _convert _put1 _isnta _nameof _width _put2 _text _panic proc.o$ý¤‘¸#æ´w üÿÆå @ß @ß #�À &æ­ß –%íô¥ð@5òÿ÷ ¬ÿ Φÿæfòÿ&ß Æew�ÿ5 ôÿCòÿµ ôÿÃà ú ÂE÷‹€ÿ ô5 ÷•s^ÿæÔß Ö € rÁ Áe>A! þy<õ ôÿÎÎóÎ ß Æõ ôÿÎÂß ¾õ%ôÿï @òÿ&ß Ö 5öÿ¯ð¥ _Ôß æ.ß Ö Ÿ5 èÿõ¢øÿÂ%ÂÎÂIõ òÿD@òÿË%E=÷ ¤þ @òÿ&ß Ö 5öÿ· ŒþÀ @òÿ5òÿõ öÿ%@öÿð¥ @òÿ5èÿ@öÿ5øÿ @òÿ&ß Ö ÎÊß @òÿ5òÿõ ôÿ_ÎÎÎß _Î@òÿ_Ä 5 îÿ5 ìÿ5 êÿË%E_òõ%¢øÿÎWß _Äó%µ ìÿ8ó%µ êÿ1ó .µ îÿÂU æß Ö 5öÿ_ÄÎÄföÿß Ö À Nöÿß æ‚ß Ö _ÄNöÿß ß t Pó & æß Ö 5öÿ_ÄÎÆföÿß Ö À Nöÿß æ®ÒNöÿß ß tPÃ_Äõ%¢øÿNõ ìÿõ êÿÎÙ‚ Îý_ fèÿß Ö ÎÃß  @òÿ&ß Ö 5öÿ_Ä@òÿføÿföÿß –%À Î&ß _ÄNøÿföÿß Ö Nøÿß æ'ß Ö ÎÁ_À æß Ö 5öÿ_Äß 5ðÿõ îÿÀ%ÎÈföÿß Ö À ÎO_ÎHföÿß Ö õðÿõ ìÿõ êÿ0÷‹ü÷•súûÎuß @ðÿÀåùÿ ‚À x@ðÿÀ ÀmÔûæ“_xNöÿß tþÿõ ìÿÁØÁ¾@P€P3@ðÿÀ ð  @ðÿÀ Àm�ûæ±_xõ%ðÿ Nöÿß À%ÂUÐ@ðÿÀ  Põ%ÿÿðÿ Nöÿß ¦ß _|Žß @òÿ5òÿõ òÿ_Þ ÀEÁ.7L  þyõ ôÿ_lÎÑ_Úõ ôÿÎíß õ%¢øÿÎ ß Î×_ê5 èÿõ¢øÿõ òÿ=÷ Äú @òÿ&ß Ö 5öÿ· ¬úÀ @òÿ5òÿõ öÿ%@öÿð¥ @òÿ5èÿ@öÿ5øÿ @òÿ&ß Ö ÎÊß @òÿ5òÿõ ôÿ_DÎÍß ÀBúðÕ@_D@òÿ_:Ë%@æ,ß Ö _:Îæß Ö 5öÿ_:õ%¢øÿV föÿføÿß –%À Î`ß _:õ èÿ fèÿß ÀÀù æyß Ö ÎÃß Nøÿß æ…ß Ö Nöÿføÿß Ö ÎÊföÿß Ö À Nöÿföÿß Ö Nöÿß æ'ß Ö ÎÀß BNöÿß 5ðÿÀ ô @ðÿÀ Àm,ù抃Žß Â%Ì Â%ËNöÿÎ�föÿß Ö Â%ÌÎÂ%ÉÎÎföÿ÷ ÚøÖ &æ æ ß Æe@òÿ5òÿõ òÿ_Èô%Ï õ%¢øÿÎ«ß ÎÏ_êõ ôÿ_lÎË_Úõ%ôÿææ_& @òÿ&ß Ö 5öÿ_lð¥  ß &æÿß –%_lÎÊß Ž_êõ ôÿõ%ôÿæ&_&÷‹ø õ%ôÿ÷•sú÷ÎGß Î@òÿ&ß Ö 5öÿ_lð¥ ß &æ�Àõ%ôÿ"@òÿ æß Ö _lÎß À%ÿÿÎß &æ® Îß 5ðÿ5 ðÿõ%ðÿÎÞ_ÚNöÿß À  @öÿß @ðÿt€P&ß _*õ ôÿæò_&Î@òÿ&ß Ö 5öÿ_lð¥  ß &æ_Â@öÿ5öÿ_l@òÿ5òÿj@öÿð¥XÎF_Ú@òÿß À æ‰_&@òÿß ÷ Œö_l@öÿævöß Ö À ÎÂß _l@öÿ5öÿ@öÿ ð0þ ð7÷Höð@öÿ5öÿõ öÿîõ öÿÎ_Ú@öÿ5öÿ@òÿ5òÿõ òÿ @öÿð ¤Ît_ÚNöÿß ¦_Ìõ%ôÿæD_&Î@òÿ&ß Ö 5öÿ_lß À%ÿÿ Nöÿß À% _ÔNöÿß &æ]_Âõ ôÿ΄_ÚŽß ÷lõ_lõ%ôÿÎ�_Ú @òÿ&ß Ö 5öÿ_lÎÏföÿß Ö À Nöÿß æ·_&Î~föÿß Ö @òÿÎæß Ö 5öÿ_lß À%ÿÿ_ Nöÿß æé_&õ%ôÿÎ_Ú @òÿ&ß Ö 5öÿ_lÎÑföÿß Ö À Nöÿß æ9_&Nöÿß À%_Ôθ_Ðõ%ôÿÎh_Ú @òÿ&ß Ö 5öÿ_lß À%ÿÿ_ Nöÿß æ…_&õ%ôÿα_ÚÎ@òÿ&ß Ö 5öÿ_lß À Nöÿß æÒ_&@òÿ æß Ö 5öÿ_lÎÓföÿß Ö À Nöÿß æ _&Î~föÿß Ö _Ôõ%ôÿÎB_Ú @òÿ&ß Ö 5öÿ_lß À _ÌNöÿß æ]_&õ%ôÿ΋_ÚõÕæÿCòÿõäÿÃõâÿÃõàÿõ%ôÿΩ_ÚõáæÿCòÿõàÿÃõäÿÃõâÿ fâÿß Ö 5öÿ_lß À%Î»ß Â%Û Îfäÿß Ö 5öÿ_lð¥ ß fæÿæÉ_ÂÂ%Ü Îfàÿß Ö ó¥ Nöÿß fæÿæø_Âó _l@öÿð _lð, ß fæÿæ$_ÂÎß 5Úÿ@öÿ5öÿÃ@öÿð ó NæÿæW_&õ öÿ_là _l@öÿAöÿ@ì € 5ÞÿÀÀì € 5Üÿ5 Þÿ NÞÿfÜÿfæÿæŠß _huíÜÿÞÿ@öÿ5 ÜÿNÚÿfÞÿfÜÿföÿ÷ FñÖ &¦æß Æe _læÁ_&Îïß _lËÉÌÕÒÓÑÔ"""66""6666"ÂÐ×ðlLV`nz€ˆ !& !% !$&!"$&)"$#$%ÚЀÚÔÚz €Ú˜ ÚÊ6 .ž à Ú((Ð  † Ú. Ú.ê Ôiiibsciiiipack(a,i,z)unpack(z,a,i)proc caseIXhxIIˆ™)™xx¨¸Èx©¸©¸¨¨x¸ØÈxèø¸ØÈèø¸¨¸(è8¸HØ()™x9è9èè8¨xx©¸©¸¨¨9xXx¸98¨è8(hxè8¨H9¨xéˆx¸Èx¨)™xXȸHÈè˜è8XȨ¸‰‰‰èXHèȨ‰¸ØÈ(XHȸØÈè¸HÈX˜È¸ØÈ(¸˜È¸è¨XÈXÈÈèxéÈØproc.o~proc_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _rdxxxx#æ_wrxxxx#þ_proc"csv _lookup _rvlist _error _call cret _put1 _rvalue _nameof _isnta _width _even _compat _cerror _convert _put2 _classif _lvalue _isa _rangech _gen _text _isconst _gconst _put _panic fltused treen.o$¤�à>T·:η0η&Î ·Î·Îæ8wÈÿÖ  _tree _tree1"_tree2" _tree3"_tree4"_tree5"(trret>putn.o$¤�À4H·0η&Î ·Î·Îæ.wÒÿÖ  _put _put1"_put2" _put3"_put4"putret4Version.o$/í�@ January 18, 1978_version#ato.o$ó¤�”„|w üÿÆå5 ôÿ5 öÿ5 øÿ+Ä%8Ä%9õ øÿ ß µ øÿÄå0õ5àôÿ õ øÿÎß µ øÿAöÿ@ôÿv ÁP€P5ôÿuöÿ@µ ’ÏAöÿ@ôÿw|ÿ)88Iato.o~a8tol_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _a8tol"csv _error cret call.o$ô¤�àÆw üÿæ õ% @ß ß æß Ö @Ä _Dõ  NæBß Ö w¨ÿ�ÁÆ7f þy@5øÿý%@øÿN&æ^ß –%@5ËÎ@&ß Ö í-êN&æŸá@&ß Ö Ù@&æß –%À N&æßß ÄÎÒ&ß Ö À Î&ß Ö ó¥²æß Ö «Î×ß ¦õ  Næß Ö Nß ¤_R@ @ t ÀU&ß Ö @ Àeðÿæ ß Ö @_Tw XþD &ß Ö Ä öw:þ Èl:bcsicall9HXhx‰x˜¨¸ÈØèøxhh9¨‰call.o~call~rvlist¤_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _call"csv _width _even _put2 _error cret _lvalue _rvalue _compat _cerror _isa _rangech _convert _panic _rvlist"¤case.o$õ¤�” €xw üÿÆå&õôÿÔÿ @&ß Ö 4΀&ß Ö À ß æ8ß Ö  !5øÿô¥5øÿõ øÿòß 5àÿ@øÿ ð0þ ð5øðÿ@øÿ ð0þð5øèÿ5 Øÿ@5øÿ @øÿ‚%@øÿ5øÿõ øÿðAØÿWpNß 5ÞÿÀ%ÿÿÎVß Îß 5 Úÿ@5øÿµ ØÿÕ@øÿ·öþ‚ @øÿ5øÿõ øÿí5 Þÿ_&Žß Ä ë÷ Èþè &æ¾þß –%À Îpß Ú7õªþ5÷ðÿð5÷èÿðÎ¬ß Ë7õŒþ ð&ûðAÚÿWpÁ`@ˆ°AÚÿWpÁ`ñbþµ Úÿ²5 Üÿ7AÜÿWpÁ`@f&AÞÿWpÁ`@€å�å€ vu-ÜÿÞÿu-ÞÿÜÿAÜÿWpÁ`NAÞÿWpÁ`fæÅß –%µ Üÿu-ÚÿÜÿŵ Þÿu-ÚÿÞÿ¼Ä =NØÿ@àÿ€ Àe &ß Ö À´ý5äÿ5æÿ@ØÿÀ ß Î™ß 5 ÞÿAÞÿWpÁ`@f&@àÿ€ Àeš&÷ lýÆeµ Þÿu-ÚÿÞÿåÎ�ß ÷ Pý5âÿæ ß Ö Îß õÖÿ@5øÿ3@øÿ)Ä ‚;@øÿ÷ ý· ýŽß Àøü@ 5@Öÿ7 îüNâÿæ ß Ö ÷ ÜüÀØüÀ ð ÷ Ìü@øÿ5øÿõ øÿÊNâÿß wÖÿ®üõ-ªüÔÿ÷ ¢üwžüΚüNíäÿfæÿÎeþÿß Ö õeæÿ³bcsi)©8HXhxˆh˜i¨‰‰¸È‰h‰ihØ™èø øØ(9iH‰‰ØiYxYh‰©9y™ˆcase.o~caseop_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _caseop"csv _rvalue _isnta _nameof _error _width _alloc _pexit _gconst _compat _cerror _put2 _putspac _put1 _put3 _getlab _free _putcnt _stateme _ungoto _patch cret _patchfi fltused clas.o$õ¤�Ȩ$w üÿDÄ 4÷•îÿ -À xäÀýÿ'ô%¢Àÿÿ ÀûÿÀþÿãÄ%ƇÁå@€ r Î^ß ÀùÿÀúÿÀüÿwŒÿÄ%îÿØ�Àå ǃÎdß ïw jÿõ  @ð¥ ð%¢ wJÿÀûw @ÿD ô¥Ä öô¥òwÿw ÿõ  wÿ@ð¥5@œÀå ‚À xÄÄ%ã�iCË‹ÝÀ”!ûÀØ ïAÁå@€ råÊw žþNfß èÖ À  w†þÀûw |þNß À ÀmPwhþw dþý%E@ð ÎöÎ#ß Àw<þ ü$+37>FKSXÖBˆ"ˆfˆˆˆˆˆ`6<ˆˆl*"HHHDfilerecordarrayscalarpointersetstringBooleancharintegerreal"nil"clas2classbcidt™Ùhhh¨¹h¨™h¹™¹™¹h™¹™¹™(¹Xclas.o~classif~text’~scalar¼~isaè~isnta^~nameof€~nowexp˜_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames#â_bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _clnxxxx#È_classif"csv _panic cret _text"’_scalar"¼_isa"è_isnta"^_nameof"€_nowexp"˜_error conv.o$ö¤�< ºJ$w üÿõ õ Nß &f÷ ÞÿÖ €åÀåùÿ ‚À xºÎ¹ß w¾ÿκùθöλóÎòß ðw žÿNß .Nß (Àåùÿ ƒ_xÀ xÐÄ ÀÃ%úÃ%÷Ã%ÀÀ ÀmLÿÀ ÀmBÿ&æÏß –% w0ÿ÷‹,ÿë÷•$ÿ fß Ö ß 7Š ÿÄ%ÙÎBß Îqß Î¶ß ÷•èþØÃ%üÿÆNß &f÷ ÎþÖ €%®Îîß ÄÃ%ÿÿ²Nß &f÷ ¦þÖ €%šÎëÃ%ýÿ “Ä �Î:âÄ ˜u- À Àmtþæiß Ö ˜@ðµ€_”À ÀmNþæ�ìw BþÆå÷‹MþDDAõ > Nß 5øÿß 5öÿ5 øÿõ%øÿÀ% Àô£�Àå G‚À xêô ô %õ%öÿ & æÎeˆß –%w¬ýÄ%�û&&& & æÎeŒæ÷ ˆýÆe éõ%öÿ æÎeŠß Ö Ü&&æÎeŽ÷ VýÆeÐÎúß Ë66TBHH>>>NNnxxxxBx��š f(°°~convertrangechkIXYhyˆI¨¨YY¸y ùȨù¸ØØ èé¸XYY¸YIIXXy(( ˆconv.o~convert~compat^~rangechº_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _convert"csv _width _put1 cret _panic _compat"^_classif _error _rvalue _cerror _scalar _rangech"º_put3 _put _put2 cset.o$ö¤�(b0w üÿÆåõ _@ÀÜÿPLÌ%?÷ Êÿ &ß Ö · ºÿà ;Îbæß Ö À Îdæß Ö À .Îß æß Ö !Î÷Îxÿß 5Îkß @5 Îrfß Ö À -ÎAß w:ÿÎiæß Ö À ×Âòò¥‚ ¦æ& ß Æe5 @ð¥ÎiÕ@õ  Nß æß Ö 5 øÿ@_:Žß ζþæ°þføÿæ¬æß Æe_Zµ øÿ@öÿ¥Ì%?? &ß Ö  &ß Ö N¦æß –%À Î“ß Î~æß Ö  &ß Ö 2¦æß –%À ÎÖß $Î~æß Î &ß Ö ¦æß –%À Îß Î~æß Ö Î ß @öÿ5öÿ“õ _BNøÿæ�ß Ö @_Ârbcsiiintsett)©8©HXhx)ˆ˜Xx©H¸ÈØè™™ø88(8(8(88cset.o~cset_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _cset"csv _rvalue _isa _isnta _nameof _error _lookup _panic cret _defnl _width _put2 _setran _put _compat _cerror _convert _put1 error.o$÷¤�H(,w üÿNæJß Ö Îß wâÿw ÞÿÆå÷¥w÷‹äÿ_7ŠÄÿNÎeúþfß Ö @Àeúþ5÷ ¦ÿÀ ÿ 7šÿ÷ –ÿÎ’ÿß ÷¥ ÐÎVß Äzÿ Î ß À r Ä% ôÎYß ÷‹Rÿ À�”æ^ß Ö Î:ÿÀ�~&æfß –%N fffß Æe÷¥ET· ÿ· ÿ÷•ED÷‹øþ7ŠòþÎ ß wäþw àþ÷‹Üþ÷• N fffß Æew¸þESnark in pi ... %c - %c %d - éøéI™8‰‰‰IùXh‰xhh‰hh©É‰‰xé™error.o~panic~error~cerror_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx#H_cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _panic"csv _Perror _pexit cret _error"_geterr _yySsync _yysetfi _printf _putchar _cerror"gen.o$ù¤�˜6šèw üÿÆå@Á¸7¬ þyÃÿÿÄ„ µ üƒ µ üuÄPõ% �¨Îe ß �˜@møÿAWt Áeð@Pß ÀwŠÿ@À 5Føÿõ%øÿäÄ%@À l�ˆN]øÿß õ%pøÿ÷‹JÿÀHÚ�6WpÁe@ÒN@t ÀeðÀU&ß Ö Á@À 5Xøÿõ%øÿ@Àeøÿt 5PøÿNføÿß Ö õ%¤ÀÜÿ£ÎÌß ž`XPp@08ª¨©ONLMÿ     ÿÿÿ þÿÿÿ ìÎ,gen™¨¨¹¨ÙÈÈØgen.o~gen_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _arret#6_arop#F_setop#b_ar8op#t_artab#ˆ_reltab#˜_asgntab#¨_gen"csv _put1 cret _put2 _panic hash.o$ú¤�Ð hnúw üÿ÷Ööÿ÷ÐòÿÄh &ß .Ö ÄeÌ öwÒÿw ÎÿÆåB ÀÀ �”@`Ê‹ùÁÁE€À rýuôÿBÂõöÿý öÿ!Îýæß Ö Â%ÿÿÎj ß Îß ½öÿ@öÿ�ÁeúpBÂ@öÿAôÿÁ @`ÃÌ @öÿð%}5° õ Žß L65øÿõ-øÿƒõ%høÿ‚uøÿøÿ½¢øÿŽføÿß Ö À æÀÀ `Ãe@öÿ0!‡ÄåúÃ%ýÃõeöÿõ%öÿ�‚΄ ß Îß w˜þ -!&,03$: ? C H LT]behnrvz}€‡‘™  §!«#° ³%¸&¾'Â(È)Í+Ñ,andarrayassertbegincaseconstdivdodowntoelseendfileforforwardfunctiongotoifinlabelmodnilnotoforpackedprocedureprogramrecordrepeatsetthentotypeuntilvarwhilewithocthexùÙÙùxxØ(8HxXhØ8Hhash.o~inithashshtabÖ~hash._opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey#_yykey#h_yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _htab _inithas"csv _hash".cret _calloc _yerror _pexit _savestr _strcmp lab.o$û¤�0�w üÿæ  ÷5òÿΜ ß ÷5âÿÎÞ ß ÷UÒÿD1÷ Èÿ5øÿ& æ&ß Æeß ÷ ¤ÿ3 ³óÕ ó'ÂNøÿß Î À~ÿt ÀU&ß Ö Ä ÍÀbÿÀ °wXÿw Tÿ· PÿNß  ' æ ß Ö ÷-.ÿ,ÿôµ€ ô%'ôÿôÿ ô%' ÷•eþþæ ß Ö wîþw êþNß  3÷-ÖþÔþ Næ5Næ\ß Ö "ôµ€ôôÅ€ ß ô%'ô-–þ ÷•eŒþfæpß –%ôvþwpþIéXéXéixˆi˜y¨y˜¹IÉØ¨yi‰‰¹X¹IØyiXø‰¹X‰¹lab.o~label~gotoop¨~labeled_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _label"csv _error _getlab _defnl _enter _putlab _put2 cret _gotoop"¨_lookup _labeled"_patch lookup.o$ü¤�\Ьw üÿõ  ÷•ðÿ Næ¥ß Ö öNß Fòô¥ ÷ Àÿwºÿw ¶ÿõ   Næß Ö À w–ÿ÷’ÿ�ÿÄŒÿìÄ ùBÂEÀÿ€À L-ô¥ô‹�ÀEàÿ7Jÿ�7BÿôÕ@ÏÄ äÀ9‰HYi9ˆiiY)8Yylookup.o~lookup~lookup1F_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _lookup"csv _error _lookup1"Fcret _flagwas _reclook nl.o$ý¤‘ôXÞxw üÿ÷öÿ÷òÿ & & & ß ¶ÆeÄX  æ”æ&ß &ÆeÄeÌ òÄeÌ  WpÁefæ& ß ¶ÆeWpñ Â%æ€À À`0 ‚ öÄe æ´æ&ß &Æe æÎeæ7Lÿ&ß ¶Æeß À æöÎeæ& ß ¶Æe æ6æ& ß ¶Æeð æ6æ& ß ¶Æeó ó Îæ¢æ& ß ¶Æeð æˆÎeîÿæ&ß &Æe æpÎeæ&ß &Æe æ¢æ & ß ¶ÆeóÕ€Îþÿææ&ß &Æe7jþÎüÿææ&ß &Æe7RþWpÁefæ&ß &Æe0 ÄeÌ éÄe & æ &ß &ÆeÄeÌ òÄe & æ&ß &ÆeÄeÌ òwÚýw Öýõ  fß Ö N fffß ¶Æeõ ß Àw˜ýw ”ýwNÎJß ? BÀ>0 ÷å4÷%.ƒÎšß ÿ-ç‡Àð-á‚wJýw Fýæ Ä  ‚~Lt�tô�"ýt ÷eÔÀÒð-Ì>‡Â8Îðß 5øÿÀ%ÿÿÂÎøß 5øÿõ%ÿÿøÿÎß Îß ÷e†÷%0€‚Î1ß Îß wøÿfÿbb�WpÁoX@ÁR1w†üw ‚üD & & & ß ¶Æeõ ‚~@wXüw TüAÁå@€ rw@üw <üæ D w.ü÷ *ü ?#$ü?#üÎNß 5øÿõEÀÿøÿ@øÿÀ ô‹ô¥Â €œÀEàÿÀ-àû #ò‹ò¥æˆß Ö ô@øÿÀ 0¾‚Ü ÿÿ€ÿÿÿ€ÿ€ÿÿÿ'.38>EJP€Wÿÿÿ^ f n s wH{è‚­‡î‹à‘é•ęŞ¢ê¦å«ë®ð²Ÿ¶ò»þÁìÅûÉíÎõÓÿÙúãÞèâïáô½þ·æ ÚÀ"Ý,Â4ä8Û=ùBÁFMÉRÏYÈ`ÆfÇnçsÜzЀ׈ß�’¶variable¡«´Ä¹¿ÏÖÜæÄÄï÷ü %-SNARKbooleancharintegerreal_nilBooleanintsetalfatextinputoutputtruefalseminintmaxintmincharmaxcharbelltababsarctancardchrclockcoseofeolneosexpexpolnoddordpredroundsinsqrsqrtsucctruncundefinedargcrandomseedwallclocksysclockdateflushgetgetseghaltlinelimitmessagenewpackpageputputsegreadreadlnremoveresetrewritetimeunpackwritewritelnargvnullstlimitnlfreeundefinedconstanttypearraypointer or filerecordfieldprocedurefunctionpointerfilesetsubrangelabelwithptrscalarstringprogramimproper¹h‰h‰hhh‰hhhh™©hù¹ù¹(ˆ8ù¹¹XXhxˆhxù¹ù¹hù¹ù¹™©hˆ¹hˆhˆnl.o~initnl~hdefnl&~nlfreeh~defnl¶~nlcopyz~nloff¨~enterÀ_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp#À_disptab €_clnames _bn _cbn _line _sizes  _con  _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark#ú_classes#Î_biltins#X_ntab 0_nlact#Â_initnl"csv _defnl"¶_hdefnl"&_enter"Àcret _hash _nlfree"h_free _panic _VARIABL#Ä_alloc _error _pexit _nlcopy"z_nloff"¨put.o$ý¤� Hø„w üÿÆåõôÿðÿ÷ îÿ@ðÿwäÿDÄe5øÿtøÿÀEÿ5öÿ5ôÿÀEÿ5òÿ5 ìÿ r Á ÁeJA! þyjô ×ô%€ô%€ÿ5öÿ5ôÿÄeõ øÿõ%�òÿõ€òÿõ òÿ @öÿt@]òÿß ¾ÃC-øÿ­ÀÀ aß ¾ƒ õõ%òÿãõ%òÿßAöÿ� WpCÃ%ÃåÃe5 ôÿÎÀÿÀe4àÇÃ%ÀtÀU†Î†ß ¾Îß ¾Ê‹€”À 5îÿÊ‹€”À t5PîÿNîÿß ¾Ãåà æ_5 ôÿõ€òÿ5öÿ5öÿ5ôÿõ øÿƒ7 ª_÷5`þ_÷ VþÎ’ß ¾_· Fþ÷5@þ7x_÷å.þtÀ]bæß ¾ßw þNß  ß ¾ÄåÄ ùwîýw êýÀæý@íÀeþÿfß 2Ö wÎýw Êý÷ Æý?õ-Àý†Î6ß @ÀeÁ¨ýÁEÿ@àÀ r Ä%À p fÎeÀ�vý&ß –%ÎfÎeÀ�`ý&ß –%Î& À�Ný&ß –%wBýw >ý€÷ez÷e,ý÷%n‚÷ wýw ýÁ\Áå@€ rÄ Ä æÀ�öü&ß –%!Îæüß Îß ÷wÐüw ÌüÀÈüwÄüw Àü@w¸üblx€ˆ’œ¦°¼ÄÌ        Êf¶üfÊüffêüÊüâüÊšfüÊf füÊffüöÊüfffÊ€fffÊ`ffffÊ`nfÊf’fpatchfil¹)ɹøÉ¹É¹)(hY8YHY8ɹhɹhhYHixˆhɹɹÉhput.o~putcasewrd@~putspacð~patch~patchfi2~word¾~pflushä~getlab0~putlab<_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _obufp#H_put"csv cret _word"¾_putspac"ð_even _patch"_patchfi"2_panic _seek _write _pflush"ä_obj _perror _pexit _getlab"0_putlab"<rec.o$þ¤�Ì œw üÿÎffß –%wæÿw âÿD & æ& ß ÆeÂÆÿõ‹÷¼ÿ@3 3 Ä æß vÖ æß ÆÖ ·�ÿÀwŠÿw †ÿæ DÎß 5øÿ÷fÿ Nøÿ¦fß ~–%‚ óÄ àw:ÿw 6ÿÆåõ F@ß 5öÿ@7ÿNöÿ@&fß ~–%A1@# @& æß –%5øÿAp, @Aøÿp ÷®þÃÄ ÛwœþNöÿføÿæfß 8Æeêw ~þNævþß èÖ À Næèß Ö 5 @ fæfß Æeß õ 1À,þ4À"þ0Nß ß A1` @ A1 õ ÀòýAAœÁEÿpÐ@AAœÁEÿpÐwÈýw ÄýNß õ N æ®ýß Ö À Îß 5  f æ& ß Æeõ Nß ¶@4@0t7õ\ý ð4û ðwJýw Fý@Ä  ð4þ ð7÷2ýðÎIß wýíw ýDÄ õ  wýúL-úö©É©Ø‰‰‰É©ÙÉ©ÙÙÉ©‰HØX‰‰hx‰É©ˆù˜¨ØùÉ©ùHÉ©Érec.o~tyrec~tyrec1~fieldsv~variantÆ~deffld~~defvnt8~uniqv¶~reclookè_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _P0 _tyrec"csv _tyrec1"cret _defnl _fields"v_variant"Æ_gtype _deffld"~_defvnt"8_reclook"è_error _enter _width _even _gconst _compat _cerror _uniqv"¶fltused string.o$ÿ¤�ˆèw üÿDß ƒ ÀtÀ`ÁlÁe@ ‚Îß 7ZÀ%ÿÿÎ/"ß Îß ÷@<æ8ß Ö Ä.À`7&w–ÿw ’ÿÀ€ ÀE7Nß wxÿixˆ˜¨¸ÉiÉ((string.o~savestr~esavestj_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _strings _strng#ˆ_strngp#Š_savestr"csv _strlen _alloc _yerror _pexit _strcpy cret _esavest"jsubr.o$ÿ¤�ðw üÿDß Ã% À`ð¥.þÿÀ`p­ÿÿ wÌÿÀûw ÂÿD�ÄeŸÿÀ“@à �w¬ÿw ¨ÿÆå$NÎeÖÿæšÿß Ö wöÿŽÿwøÿŠÿw„ÿw €ÿæ Nß 5øÿÃ0Š•þà DøÿÄe@øÿ0Š•þÀwFÿw BÿÃ>ÿÄ:ÿ Îfß >Ö À Àw ÿÄ Ä ñ ùw ÿ7 ÿwÿNß wüþw øþAupB‚ ÂEŽß Ä%ÿÿÄ ÀÿÿwÎþ‚  ‚~øw ¾þDC£Ô‹ü w¨þ“Á˜@àúw œþDCÔ”þ€wˆþw „þDCB Ô”‚~wlþw hþDÌ‹T­ûÀwRþ üw JþDÄåaÀ ð À 0Ýô•w&þw "þDÄåaÀ ÀEþÿ4�À ° wþýùùøù©H¹¹ùhùy‰ù©¹Èùèùùùùùøøùøsubr.o~dotted~togopt:~gettimeT~myctime|mycbuf~inpflisº~Perrorê~calloc~strcmp>~strcpy`~copyx~any”~opush²~opopÚ_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _dotted"csv _strlen cret _togopt":_gettime"T_stat _myctime"|_ctime _inpflis"º_strcmp">_Perror"ê_errno _sys_err _perror _calloc"_alloc _strcpy"`_copy"x_any"”_opush"²_opop"Útree.o$ÿ¤�€p xw üÿ÷höÿÀbÀe 7ìÿwæÿw âÿBÄLCÃeÔ‚~Ã>7:Àe Á2@,‚Îß VÀwªÿw ¦ÿ@À ÀmÁ @,.‚ÃÀÀ ß Ä%ÿÿÎK"ß Îß 7Ú÷eÖ÷%xЂÎh"ß Îß ?ºÀ¶Â �`pw2ÿw .ÿ÷ *ÿ&÷ $ÿ#÷ŽŽÎŠß ? ‚À~0 ÷åt÷%nƒÎvß ÿ-^^ç‡ÀXð-Rá†wØþw ÔþDß ÂeÂE€€ ß Væ"ß Ö ÃÀ€`7Îß VÀw�þttab¹YYɹɹøXɹ9IXXhɹˆ˜É˜˜Xtree.o~inittre~tree~trallocV~trfreeÎ~copystr(_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _ttab x_tract#t_space#p_spacep#r_trspace  _inittre"csv cret _tree"_tralloc"V_alloc _yerror _pexit _trfree"Î_yylacnt _bottled _free _panic _copystr"(_strlen _strcpy var.o$¤�¼ :T�w üÿ÷5öÿÎl%ß ÷Uæÿ À ÂÞÿ—tr2ÂÎÿ—tr27 ¾ÿwºÿw ¶ÿDÆåNß wžÿÎß Áe@ ÁE5öÿuøÿ‚ÿ—tÂeJíöÿríøÿŠ µôÿNôÿææ&ß Æeß Ä åw>ÿw :ÿ÷ 6ÿÀ2ÿtÂ"ÿ—tr2wÿw ÿõ @ÀEwüþ@€ øw ðþNß @wâþw ÞþÆåD À wÌþß Àåþÿ  ‚À x:ÁïÎnß �Àå 4‚À xJ &ß ÜÖ Úô%HÁÒ&&& & ÷ >ÆeÄß žÁPþWtýÿ� º5 öÿ5 øÿ5 øÿAøÿ@öÿ¯Îtß ªw þÆåD À wþô¥Î{ß ß 5øÿõ öÿÀ5õ öÿ  õeøÿu öÿõ õ ù(ô¥ô¥Îß í í € Áe@ 5òÿuôÿffòÿfÎeöÿ÷ xýÆeÄ ÖAøÿ@öÿ¨w ^ýB „ ƒò¥ò¥Î†ß 70ýÀá7*ýw$ýw ýõ%ÿÿ õ%€‚õ W- ÿ ƒÀW- ƒÀwæüÁ€ÿÀ 5 öu ò‚õ êÀîPPXXXXXJ4ÒpÒºÒÒÒÒÒJJ¦|ÒÒŠºwidthwclassaryaryransetran©I¸IÙøøÙøø‰É©èéÙøÉ©9ÙøøÙøøÉ©É©É©Éhxˆx©Éxx¹©xÉ©Évar.o~varbeg~varF~varendÂ~evenî~width ~lwidth~aryconsÜ~setranž~bytesÜ_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _varbeg"csv _error cret _var"F_gtype _lwidth"_defnl _enter _varend"Â_foredec _even"î_width" _nloff _panic _arycons"Ü_bytes"Ü_setran"žalmul yycopy.o$¤�`$ÀÁ¦ÂP‚~‚‡_Y _OY _OYcopy"yycosts.o$¤�Ü ~väw üÿ@ÁŠ7€ þy@Á~7^ þyõ%  wÆÿ@ r Á ÁešA! þyRÀìÀéÀæÀãÀàÀÝÀÚÀd×w tÿu--Àd(õ%*@ rÁ ÁeZA! þyÀÀÀ @Àå, ‚À x�À'wÿõ%Òõ%;êNß &f÷ &Ö €eNß À Nß À ÄeÚw Æþ@ rÁ Áe–A! þy*Àw þÀûÀøÀ õÀòÀdï &,4: :¶¾ÆÌÔÚÞäìòöúj‚pvjpp‚j‚pjdp^jdpj^j^pjX|pj^pjpjpjdvpj‚v`lx„ŠŒ‘•�„ˆ�‘ÆöööööÆöÀöÌÌæþæ ¨´¼Ê AEGI B@BCHIfxXXfXllrlfXX`fxrrr`léùéù((éùyycosts.~inscost~repcostˆ~delcost6_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _inscost"csv cret _repcost"ˆ_delcost"6_nullsem yyerror.o$¤�`w üÿÆå÷¥wòÿ÷‹X7ŠæÿNÎeúþfß Ö @Àeúþ5÷ ÈÿÀ�Äÿß Î ß ÄÎ-ß „ Ä-¦ÿøÎß Nf f fffß Æe Î ß ÷¥Ejÿ· dÿ· `ÿ÷•EZÿ· t÷%dn 7 hÎÑ&ß Îß w6ÿw 2ÿõ ÷.ÿ&ÿ÷• ÿNfæð&ß õ @ 5Nfæ 'ß –%wèþ^--- é¹IYø ¹é((¹©É¹8Ié鉹hIyyerror.~yerroryySerrs~brerrorÊ_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _yerror"csv _geterr _yysync _putchar _printf _pexit cret _brerror"Ê_error yyget.o$¤�¬ Jìw üÿÿ¥ öÿ÷ 4À Àÿÿwäÿ· àÿßÜÿÃ% ÀÒÿÀeÀE7Æÿ· ÀÿÀêw ¸ÿæ ÷‹½ÿ÷‹¬ÿ÷ ¦ÿ7Š¢ÿ÷žÿœÿ· ˜ÿ· ”ÿÄÂÖõ øÿŽß Ã%ÿÿ÷ <À ç÷Njÿ÷ fÿ÷ bÿ÷•\ÿÀÿÿwTÿÔ�Ã% õ øÿà÷Bÿ@ÿÎ8'ß Îß Ô ŠÀ(ÿaÀå7ÿ÷ À º÷‹&ÿ÷ ÿ÷ÿÿÿ÷ÿÀÑw öþæ ÄÔ¥# _¦ß ªÃPÔ¢ôƒ Ë‹û÷ÈþÆþß ª5•øÿõ¥'øÿõ¥"øÿ ÷¦þ¤þÎT'ß Îß Ë‹÷ˆþ†þ@�øÿæ�'ß Ö Îß ƒ K­øÿëŠË¥;ƒ Îß ªË¥ ÷JþHþξ'ß Îß Îi&ß Ö À ÷$þ"þÎá'ß · b÷% \ ÷ þþÎ(ß Îß Á@Wp BÂeòæýß 7ÚýÎß Ä%ÿÿÎ((ß Îß æ´ýß Ö À Φýß Îß Î–ýß À Îlß À�‚ý27Šzýòvý7 pýòlý7 fýʬ7¨ÀwVýw RýD„ Ì¥ üÌ¥ ùw8ýw 4ý÷ | w(ýÎnß Îfß Á`Wp DÄe7P7ýÎüüß À Îlß 7æü7àü÷‹Üü 7ŠÖüÄ%‚4 Äå ø7�Àü÷ ÀÅÿÿ include ‰)‰‰¹¹¹ i©i©YùÉÙxx‰ÉÙ©)É©˜¨ùxYiÉx‰¹ xɩɩ˜¨É©˜¨É©˜¨èÉ©˜É©˜¨8ø˜¨(¨8HYYÉÉYY) ) )hx8É8ˆYYY8YXyyget.o~getchar~getlineD~includ~skipblª~unincluÈ_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _ibuf _ibp#J_charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _getchar"csv _getline"Dcret _incs d_inclev#L_yyLinpt _yyoutli _getc _uninclu"È_error _pexit _includ"_setuflg _skipbl"ª_dotted _savestr _alloc _fopen _perror _inpflis _opush _printed _close _free _opop yyid.o$¤�� h*\w üÿDæ Ä Àwêÿwäÿ7 àÿÀEÀÿ5øÿÀ  !Næß :Ö À ó¥ó‹Ãà ëà Ã Ô !ùó¥õNæß :Ö À íó‹Á÷‹pÿ¾Îpÿæß Ö ? ^ÿµw XÿDæ ÀEÀÿ5øÿÀ  !Ãà úÂà ó‹  & & &ß Æeß s] Næß Ö €wøþw ôþDô |- Îhß K3ôwÆþw ÂþDô‹õ%  ÀE%áÀwžþÀ5t A @@õN&ß žÖ À ë÷ xþ÷pþ�7fþ àw ^þDæ @Àå &‚À xnô¥  À &ß &Ö À ö�@-ïô¥îêÎ &ß &Ö À â wúýN&ß &Ö ÷Î &ß &Ö À æÏw ÖýD�Àå ‚À x€õ  ô œ@- wžýÀûÿÿÿÿÚÚæÚÚ¼B\\\B\BBB)ɹx©)Yxxˆ)¨))¹¹¹))yyid.o~identis~yybadus¤~yybadre~yyidok:~yyidok1ž~yyisvar&_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _identis"csv cret _yyidok":_yybadre"_yypv _yybadus"¤_defnl _enter _ud#h_esavest _yyidok1"ž_yyisvar"&yylex.o$¤�l¢Òtw üÿ÷% öÿÎlß ÎfÁàÿWpÁefß –%· ÌÿwÈÿw ÄÿÆå÷ ¼ÿ÷ ¶ÿÎÁ®ÿWpÁefæß –%À–ÿw’ÿÄŽÿ_T7 „ÿ_Z‘÷ zÿÄ%aÄ%zöÄ%AÄ%ZðÄ%0Ä%9ê Š÷‹`ÿ ʥAÊ¥ZÊÕ ‚ Ê‹õ7,ÿÎ& ß Ö Ë%‚Ë-ÿ‚÷ÿÀ¹÷ÿÿÀ²5 øÿ‘÷ ðþÄ%0Ä%9öÄ%bÄ%B÷‹äþ÷•sÊþÎE(ß ŠÎß 7¶þÀ*ŒÄ%._Æ÷  þÄ%._˜ Š÷ŒþÎß 7‚þÀ_jÄ%0_ÆÄ%9_Æ‘÷ ^þñÄ%0_Ä%9_‘÷ @þñæ6þŽ ß Ö À _P÷‹"þ ÷•eþ·ŠþΩ(ß 5‘öÿ÷ þÄ% @�öÿæÊ(ß Ö Â% Ò• ‚ ‘@�öÿ!æ÷ Òý@�öÿ!ß"ŠÂ%Îã(ß Ò• Š7®ýÎß 7¤ýÀ"_j÷ –ýÄ%.À_jÄ%0^Ä%9[÷•etýÎü(ß Ò•0µ øÿÒ•.Ä%0Ä%9_ˆ÷ ´÷•eFýÎg(ß Ò•0Ä%eÄ%E#µ øÿ‘Ä$ý÷ ýÄ%+Ä%-‘÷ ýÄ%0Ä%9_¦÷ \ÎŒ(ß Ò•0 Š7âüÎß 7Øüõ øÿ_€À_j7ÀüÀ._j÷ ´üÄ%}&÷ ¨üÄ% úÄ% ÷÷–ü˜ü÷�ü”ü÷Šü’ü÷„üŽü÷~ü„üÂ÷tütüÀå" \M‚À x²Ä Ä%{ ÷•wPü÷ ´Î")ß ÷ @üÅ÷ :üÄ%*,÷ .üÄ Î:)ß Îß Ä%(÷ üÄ%* ÷•wü÷ dÎ])ß Ä%*÷ êûÄ%)Ûš÷ ÜûÖ7ÖûÄ(_jÁ¢7j þyÄ  _j÷ ¬û7¨û!ú7¢ûÀ/_jw ”û÷�û’û÷ŠûŽû÷„ûŒû÷~û„ûwxûw tû÷¥ µû÷• ®û7Š«ûw^û TT.FÄò44.òÂ.....f......44€€€€€€€€€€€€€€€€€€€€€€€€€€.4..4Ä€€€€€€€€€€€€€€€€€€€€€€€€€€H.4.unyylexé(éø8éIéééøø8ùIÙÙiYˆÙxXIù¹ùiYɈˆ˜ùiÙˆ˜ùiiy¨yÉyˆiˆˆiˆˆÙˆ˜ùiɈɈÙiiˆÙˆ˜ùÙÉi©ù¹ù ùÉùéùˆ¹ùɈiiɈØiɈiiÙiÙù©ù¹ù ùéùIiiiIyylex.o~unyylex~yylex8~yyseth~setuflgˆ_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _yylacnt _Yla Œ_unyylex"csv _panic _copy cret _yylex"8_getchar _hash _yerror _copystr _any _yyset"h_options _pexit _setuflg"ˆyyoptions.o$¤�Ìò Àw üÿÆå÷ ôÿÄ%$wæÿ÷ âÿÁò7Ì þyÂÂ÷ ÀÿÄ%0æÄ%9ãÀeÐÿ �÷ ¦ÿÄ%,Ü÷‹®ÿÖ÷ ”ÿÓÄ%aÐÄ%zÍÂeŸÿÀ Àe>ÿ5öÿ÷ pÿ5 øÿÃ%<@öÿÀEþÿ �½ öÿý öÿ€’ÀEþÿ=Pöÿõøÿ÷ <ÿÃ%>ï5 øÿÄÄ%+Ê•»Ä%- жõ øÿ¶‘bx28nÉÙéÙ((ÙÙ)ù(8ÙÙyyoption~options_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _options"csv _getchar cret _setuflg yypanic.o$¤�œ¸œäw üÿÆåÎæfÎeìÿß –%5 èÿõÜÿêÿÀÖÿ rÁ Áe¸A! þyFÎx)ß õ-°ÿêÿ7 ¨ÿ÷ ¤ÿ7 ÿ· œÿàõ%õõ ÷ ˆÿ7„ÿ÷%~ÿ÷%ÿÿvÿÎß ÎfÎeìÿæß –%Nß ÷ Lÿ7HÿÀDÿ@íêÿÀ% ÷‹Gÿ÷•r.ÿÎô)ß õ%÷%;ÿÎß ÷ ÿ÷ ÿ÷;ÿÎ;ß 7öþwðþõ%²Ÿõ%­Î‹)ß Æõ ¥Î¶)ß Îß ÷¸þÎß 7®þ±õ%‹õ%‹_Xõ%_Xõ èÿ€õ èÿ_Xõ èÿ_Xµ èÿ_Xõ èÿ_Xõ%_|_X·ŠLþ_XÈÔàìòú %&'&'()* %*+&%')&()%&)X¸Ž|V°X, ,X–j,DXf,XVVXŽ|| Xj ,ÉÈØ‰É艙ùɉùÉ™ÉÈÈØèùɉ)™èÉȉ©ÉÉ)èèÈÉɹyypanic.~yyPerro_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _yyPerro"csv _copy _yerror _yylex _unyylex _nullsem cret yyprint.o$¤�(î²Øw üÿÆåuìÿNß 5îÿNÎeìÿß (wØÿw ÔÿDÆåõ*øÿ rÁ ÁeîA! þyÃ+õöÿAøÿÀw˜ÿÃ6öÃBóÃTðÃZíÃeêÃqçó‹ÀxÀ‚ÚÉ×Ì%ÃŽÀ�Fÿ€ ÀEþÿ7�<ÿÃe3“ÅÂ2#ÂeÊ ùÖµøÿ¶ö X[\eU]c`d¬h¦z†n¬t€†¬ŒVcase-labelend-of-fileillegal charactererroridentifierreal numbernumbercharacterstring'..''x''x'keyword éøéÉÉ8yyprint.~charnam~tokname(_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _bounce _charnam"csv _nullsem _tokname"(cret yyput.o$¤� "ˆw üÿ÷‹øÿÎòÿæîÿæêÿææÿß Æe÷ Øÿ ÀÒÿ4ÀÈÿ047ºÿδÿß „÷-¬ÿªÿ Τÿæ ÿæœÿæß ÔÆewŒÿw ˆÿÎÿß „w|ÿw xÿÄtÿt-&&&ß Æe4!7 FÿwBÿÀ:ÿ0ãw 0ÿÎ8ÿß „÷-0ÿ"ÿ Î(ÿæÿæÿæÿß Æewÿw ÿÎÿß „wôþw ðþÆå¢w- æþJõ-àþ ÷ŠÔþ6CÃeXÿõ-ÈþÎÞß w¶þ æ°þß Ö 7ÄΠþß Îß  fæ¨ß –%À îÎ¡ææ”ß –%äÀaŠN ffæß ÔÆewLþw HþÎPþæFþæDþæBþß Æew,þw (þDw þÌ¥ ô¥  Î2ß 7Šþ7Šþ÷‹úýÎ ß 7ŠìýÌ¥ ÷•àý Nß ¨N&ß @Ö ÷•ÄýwÀýw ¼ýDNæ5ß Ö Ì¥ •ß |ß Ì‹ôÎ ß w„ýw €ýDÁ 7˜ þyÄ% w^ýÀ?ûw Týw-Nýõ-Hý ÷‹Mý ÷µh÷Õ`÷ ,ýNß èwýwýw ýõ-ý÷‹8wý÷•*Næ;ß Ö ÷•æüwâüÿÿ œœ¢– %6d %s: É I‰i9ØiiiiI‰II‰9è É Éii iÉyy‰yyyy ɉ ɉIèIxIIˆI˜¨¸È ɉ‰‰‰ ɉ虩©ø©©™ Éèøø É Éy‰ÙIy Éyyè™ yyput.o~yyoutli~yyflusht~yyoutfl„~yysyncÌ~yySsyncü~yygetli ~yyretri´~yyprlinÔ~yyprint@~graphic|~yysetfi¨~yyputfnè_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _bottled _lastnam _lastid _hadsome _holdbl _yyoutli"csv _tree5 _yyoutfl"„_yyprlin"Ôcret _yyflush"t_yygetli" _yygetun#_yygetfi _yysync"Ì_yySsync"ü_close _open _perror _pexit _seek _read _yyretri"´_printf _putchar _yysetfi"¨_yyprint"@_graphic"|_printed#0_header _yyputfn"èyyseman.o$¤�4&¨w üÿ@Á&7  þy wâÿÀäÿ ú"*ÉÙÉyyseman.~nullsem_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _nullsem"csv cret yytree.o$¤�Èâôw üÿDÄ  wîÿÎêÿ&æß –%õw ØÿDõ Nß w¾ÿÄ øô²ÿÎfæß –%îw šÿDÄ  wŒÿ4 Àøw |ÿDÄ  wnÿ4 Ë%JË%I À€ìw FÿDÄ ß f& æ@ß Æewÿiy‰˜iy‰˜iyiyièyyytree.o~newlist~addlist$~fixlistb~fixstli€~setupva¶_opts _optstk 4_monflg _Recover _Eholdnl _Enocasc _eflg _errpfx _cgenflg _syneflg _efil _ofil _obuf _Enoline _nl _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level _gotos (_noreach _lc _pflist _pflstc _pfcnt _filenam _tvec _snark _classes _newlist"csv cret _spacep _tree3 _addlist"$_fixlist"b_fixstli"€_setupva"¶_tree4 _nlp _disptab €_clnames _bn _cbn _line _sizes  _con _set _gocnt _cnts _parts _divchk _divflg _errcnt (_forecha _withlis _intset _input _output _program _level 8 or 9 in octal number Number too large for this implementation Not enough arguments to %s Expression given (variable required) for var parameter %s of %s Parameter type not identical to type of var parameter %s of %s Expression type clashed with type of value parameter %s of %s Too many arguments to %s Case selectors cannot be %ss Ran out of memory (case) Case label type clashed with case selector expression type Case label out of range Multiply defined label in case, lines %d and %d Oct/hex allowed only on writeln/write calls Width expressions allowed only in writeln/write calls Constant declarations must precede type and variable declarations All constants must be declared in one const part %s is a %s, not a constant as required Constant too large for this implementation %s constants cannot be signed Type clash: real is incompatible with integer This resulted because you used '/' which always returns real rather than 'div' which divides integers and returns integers Type clash: non-identical scalar types Type clash: unequal length strings Type clash: files not allowed in this context Type clash: non-identical %s types Type clash: %ss with file components not allowed in this context Type clash: %s is incompatible with %s Sets may not have 'real' elements Set elements must be scalars, not %ss Set default type "intset" is not a set Constant set involved in non set context Upper bound of element type clashed with set type in constant set Lower bound of element type clashed with set type in constant set Element type clashed with set type in constant set Function type should be given only in forward declaration Procedures do not have types, only functions do Function type must be specified Function type can be specified only by using a type identifier Functions should not return %ss Procedure/function nesting too deep Types for arguments can be specified only by using type identifiers Files cannot be passed by value Files cannot be a component of %ss passed by value Procedure/function parameters not implemented Too many levels of function/procedure nesting File %s listed in program statement but not declared File %s listed in program statement but declared as a %s File %s listed in program statement but defined as %s The file output must appear in the program statement file list Input is used but not defined in the program statement %s %s is neither used nor set %s %s is never used %s %s is used but never set %s undefined on line%s %s improperly used on line%s Unresolved forward declaration of %s %s label %s was declared but not defined No assignment to the function variable Storage requirement of %ld bytes exceeds hardware capacity %s is not a function %s is a nonstandard function %s takes no arguments %s takes either zero or one argument %s takes exactly one argument %s's argument must be integer or real, not %s seed's argument must be an integer, not %s %s's argument must be a real, not %s %s's argument must be an integer or real, not %s ord's argument must be of scalar type, not %s %s is forbidden for reals %s's argument must be of scalar type, not %s odd's argument must be an integer, not %s chr's argument must be an integer, not %s Argument to card must be a set, not %s Argument to eoln must be a text file, not %s Argument to eof must be file, not %s %s is an unimplemented 6000-3.4 extension Ran out of memory (hash) Ran out of hash tables Label declarations must precede const, type and var declarations All labels must be declared in one label part Goto %s is into a structured statement Label %s not defined in correct block Label %s redefined Goto %s from line %d is into a structured statement %s is undefined Variable required %s %s found where variable required Can't modify the for variable %s in the range of the loop ^ allowed only on files and pointers, not on %ss %s is a %s, not a function Illegal function qualificiation Pascal uses [] for subscripting, not () Subscripting allowed only on arrays, not on %ss . allowed only on records, not on %ss %s is not a field in this record Error occurred on qualification of %s Too few subscripts (%d given, %d required) Array index type incompatible with declared index type Error occurred on index number %d Too many subscripts (%d given, %d required) Ran out of memory (defnl) Ran out of name list tables Pre-defined files input and output must not be redefined %s is already defined in this block Can't call %s, its %s not a procedure %s is a nonstandard procedure null takes no arguments flush takes at most one argument flush's argument must be a file, not %s Write widths allowed only with text files Second write width must be integer, not %s First write width must be integer, not %s Oct/hex allowed only on text files Write widths allowed only on text files Type mismatch in write to non-text file Only reals can have two write widths Oct and hex are non-standard Can't write %ss with oct/hex Can't write %ss to a text file Write requires an argument Message requires an argument Can't 'writeln' a non text file Arguments to %s must be variables, not expressions Type mismatch in read from non-text file Can't read %ss from a text file Can't 'readln' a non text file read requires an argument %s expects one argument Argument to %s must be a file, not %s %s expects one or two arguments Two argument forms of reset and rewrite are non-standard First argument to %s must be a file, not %s Second argument to %s must be a string, not %s File name too long %s expects at least one argument (First) argument to %s must be a pointer, not %s Record required when specifying variant tags Too many tag fields Second and successive arguments to %s must be constants Specified tag constant type clashed with variant case selector type No variant case label value equals specified constant value %s expects one argument Argument to %s must be a alfa, not %s halt takes no arguments argv takes two arguments argv's first argument must be an integer, not %s argv's second argument must be a string, not %s stlimit requires one argument stlimit's argument must be an integer, not %s remove expects one argument remove's argument must be a string, not %s linelimit expects two arguments linelimit's first argument must be a text file, not %s linelimit's second argument must be an integer, not %s page expects one argument Argument to page must be a text file, not %s pack expects three arguments unpack expects three arguments %s requires a to be an unpacked array, not %s %s requires z to be a packed array, not %s %s requires a and z to be arrays of the same type %s requires a and z to be single dimension arrays %s cannot have more elements in a (%d) than in z (%d) %s is an unimplemented 6400 extension %s is a duplicate field name in this record Variant label type incompatible with selector type Duplicate variant case label in record %s is a constant and cannot be qualified Constant string too long Type names (e.g. %s) allowed only in declarations Procedure %s found where expression required Operand of %s must be integer or real, not %s not must operate on a Boolean, not %s Left operand of %s must be Boolean, not %s Right operand of %s must be Boolean, not %s Left operand of / must be integer or real, not %s Right operand of / must be integer or real, not %s Set types of operands of %s must be identical Left operand of %s must be integer, real or set, not %s Right operand of %s must be integer, real or set, not %s Cannot mix sets with integers and reals as operands of %s Left operand of %s must be integer, not %s Right operand of %s must be integer, not %s %s not allowed on pointers. only allow = and <> Strings not same length in %s comparison %ss and %ss cannot be compared - operator was %s %s types must be identical in comparisons - operator was %s ... in [] makes little sense, since it is always false! Right operand of 'in' must be a set, not %s Index type clashed with set component type for 'in' Constant too large for this implementation %ss may not participate in comparisons Unreachable statement Variable in with statement refers to %s, not to a record Type of expression clashed with type of variable in assignment For variable must be unqualified For variables cannot be %ss Limit type clashed with index type in 'for' statement Type of expression in if statement must be Boolean, not %s Type of expression in while statement must be Boolean, not %s Until expression type must be Boolean, not %s, in repeat statement Assert statement is non-standard Assert expression must be Boolean, not %ss Ran out of memory (string) Ran out of memory (tralloc) Ran out of tree tables Type declarations must precede var declarations All types must be declared in one type part %s is a %s, not a type as required Files cannot be members of files Set of real is not allowed Set type must be range or scalar, not %s Implementation restriction: sets must be indexed by 16 bit quantities Can't mix %ss and %ss in subranges scalar types must be identical in subranges Range lower bound exceeds upper bound Subrange of real is not allowed Subrange bounds must be Boolean, character, integer or scalar, not %s Index type for arrays cannot be real Array index type is a %s, not a range or scalar as required Value of dimension specifier too large or small for this implementation Files cannot be members of dynamic structures All variables must be declared in one var part Malformed program statement Malformed declaration Malformed const declaration Malformed type declaration Malformed var declaration Malformed record declaration Malformed record declaration Deleted ';' before keyword else Malformed statement in case Malformed statement Missing/malformed expression Too many syntax errors - QUIT End matched %s on line %d Inserted keyword end matching %s on line %d Input line too long - QUIT Include syntax error - expected ' or " not found - QUIT Missing closing %c for include file name - QUIT Garbage after filename in include Include filename must end in .i Absurdly deep include nesting - QUIT Ran out of memory (include) Octal constants are non-standard Digits required after decimal point Digits required in exponent Character/string delimiter is ' Unmatched %c for string Null string not allowed Digits required before decimal point { in a { ... } comment Comment does not terminate - QUIT (* in a (* ... *) comment Illegal character Declaration found when statement expected Expected keyword begin after declarations, before statements Parsing resumes Parse stack overflow Unrecoverable syntax error - QUIT Point of error Undefined identifier Improper %s identifier Deleted %s%s Replaced %s%s with a %s%s Inserted %s%s Expected %s%s Undefined %s Replaced %s id with a %s id End-of-file expected - QUIT Unexpected end-of-file - QUIT --------------------------------------------------------------------------------- gal character Declaration found when statement expected Expected keyword begin after declarations, before statements Parsing resuNovember 9, 1977 This directory contains the source necessary to make a new pi. Many of the files in this directory were linked to files with the same name in the directory ../pxp, but the links were broken by tp. There is a binary of pi here that should work immediately. If you have floating point or with the simple system change in ../READ_ME. If you have to give a different number to the system call, you can simply reassemble the floating point interpreter and reload pi via load -i To print a copy of pi: printpi To make a new pi: makepi Read the file ../SETUP before you bother with any of this. The compiler made by makepi is suitable for running on an 11/45 or 11/70 which has hardware floating point. If you don't have hardware floating point, it is not possible to run separate I/D using the standard interpreter. Standard version 6 UNIX does not have the needed system call to allow it to fetch the floating point opcode from instruction space, and the mfpi instruction doesn't work on 11/70's. A simple system change to add a "mfpi" system call is explained in ../SETUP; the floating point interpreter which uses this system call is in ../fpterp. This tape does not contain a Pascal system which will run on 11/34's or 11/40's. Chuck and I were misinformed that 11/34's would have sep I/D so we went to a one pass compiler scheme. It should be possible to make a smaller "pi" or a two pass "pi" without a great deal of effort. Earlier versions of the translator "pi" were small enough to run without separate I/D, and a still earlier "pc" was two rather much smaller passes. The following non-standard programs are needed to compile pi: rmtree Remove a subtree of the directory system mvall Move a named group of files to a specified directory cc Version 7 C compiler lnall Make links to a number of files in a specified target directory squash reduce object file size for library not needed, just speeds loading and reduces library size mkstr Program to process C source putting error messages  into an error message file eyacc Modified yacc In addition, the scripts here run with a shell that has a "set" command to enable automatic timing of commands. You can comment out the lines of the form set ... without any harm, or make a null set shell script. Other local shell features used here are the alias "cd" for chdir and the syntax "$*" expanding to all the arguments, i.e. "$1 $2 $3 ...". Note: it is normal for the grammar to have a number of shift/reduce conflicts; a message of the form conflicts: 16 shift/reduce (or worse) from yacc is to be expected. Defining the variable DEBUG on the first line of the file 0.h allows the following debugging options c print generated code y dump namelist E trace basic syntactic error recovery F full trace syn err rec A super full trace ... U prevent unique symbol insertion in error recovery As this option makes a much larger compiler it is not normally recommended. The syntactic error recovery relatively new code. It has not been as thoroughly tested as the rest of the system. Please let me know of any problems with Pascal, especially with the error recovery. I would be glad to hear of any problems, as well as any local modifications which you find necessary or desirable. Bill Joy Computer Science Division EECS Department University of California, Berkeley Berkeley, California 94704 Office: (415) 642-4948 Home: (415) 524-4510 The syntactic error recovery relatively new code. It has not been as thorou state 0 $accept : _goal $end YPROG shift 3 . error state 1 $accept : goal_$end $end accept . error state 2 goal : prog_hedr_decls procs block . . reduce 7 state 3 prog_hedr : YPROG_YID ( id_list ) ; prog_hedr : YPROG_error error shift 6 YID shift 5 . error state 4 goal : prog_hedr decls_procs block . decls : decls_decl decls : decls_error error shift 9 YBEGIN reduce 27 YCONST shift 15 YFUNCTION reduce 27 YLABEL shift 14 YPROCEDURE reduce 27 YTYPE shift 16 YVAR shift 17 . error state 5 prog_hedr : YPROG YID_( id_list ) ; ( shift 18 . error state 6 prog_hedr : YPROG error_ . reduce 3 state 7 goal : prog_hedr decls procs_block . procs : procs_proc YBEGIN shift 21 YFUNCTION shift 26 YPROCEDURE shift 25 . error state 8 decls : decls decl_ . reduce 5 state 9 decls : decls error_ . reduce 6 state 10 decl : labels_ . reduce 8 11: shift/reduce conflict (shift 28, red'n 9) on error state 11 decl : const_decl_ const_decl : const_decl_YID = const ; const_decl : const_decl_error error shift 28 YBEGIN reduce 9 YCONST reduce 9 YFUNCTION reduce 9 YID shift 27 YLABEL reduce 9 YPROCEDURE reduce 9 YTYPE reduce 9 YVAR reduce 9 . error 12: shift/reduce conflict (shift 30, red'n 10) on error state 12 decl : type_decl_ type_decl : type_decl_YID = type ; type_decl : type_decl_error error shift 30 YBEGIN reduce 10 YCONST reduce 10 YFUNCTION reduce 10 YID shift 29 YLABEL reduce 10 YPROCEDURE reduce 10 YTYPE reduce 10 YVAR reduce 10 . error 13: shift/reduce conflict (shift 32, red'n 11) on error state 13 decl : var_decl_ var_decl : var_decl_id_list : type ; var_decl : var_decl_error error shift 32 YBEGIN reduce 11 YCONST reduce 11 YFUNCTION reduce 11 YID shift 33 YLABEL reduce 11 YPROCEDURE reduce 11 YTYPE reduce 11 YVAR reduce 11 . error state 14 labels : YLABEL_label_decl ; YINT shift 35 . error state 15 const_decl : YCONST_YID = const ; const_decl : YCONST_error error shift 37 YID shift 36 . error state 16 type_decl : YTYPE_YID = type ; type_decl : YTYPE_error error shift 39 YID shift 38 . error state 17 var_decl : YVAR_id_list : type ; var_decl : YVAR_error error shift 41 YID shift 33 . error state 18 prog_hedr : YPROG YID (_id_list ) ; YID shift 33 . error state 19 goal : prog_hedr decls procs block_. . shift 43 . error state 20 procs : procs proc_ . reduce 28 state 21 block : YBEGIN_stat_list YEND error shift 60 YBEGIN shift 51 YCASE shift 52 YEND reduce 93 YFOR shift 56 YGOTO shift 57 YID shift 49 YIF shift 58 YINT shift 47 YREPEAT shift 55 YWHILE shift 54 YWITH shift 53 YASSERT shift 59 ; reduce 93 . error state 22 proc : phead_YFORWARD ; pheadres : phead_ YFORWARD shift 66 . reduce 31 state 23 proc : pheadres_decls procs block ; same as 2 state 24 phead : porf_YID params ftype ;  YID shift 68 . error state 25 porf : YPROCEDURE_ . reduce 33 state 26 porf : YFUNCTION_ . reduce 34 state 27 const_decl : const_decl YID_= const ; = shift 69 . error state 28 const_decl : const_decl error_ . reduce 18 state 29 type_decl : type_decl YID_= type ; = shift 70 . error state 30 type_decl : type_decl error_ . reduce 22 state 31 var_decl : var_decl id_list_: type ; id_list : id_list_, YID , shift 72 : shift 71 . error state 32 var_decl : var_decl error_ . reduce 26 state 33 id_list : YID_ . reduce 173 state 34 labels : YLABEL label_decl_; label_decl : label_decl_, YINT ; shift 73 , shift 74 . error state 35 label_decl : YINT_ . reduce 13 state 36 const_decl : YCONST YID_= const ; = shift 75 . error state 37 const_decl : YCONST error_ . reduce 17 state 38 type_decl : YTYPE YID_= type ; = shift 76 . error state 39 type_decl : YTYPE error_ . reduce 21 state 40 var_decl : YVAR id_list_: type ; id_list : id_list_, YID , shift 72 : shift 77 . error state 41 var_decl : YVAR error_ . reduce 25 state 42 prog_hedr : YPROG YID ( id_list_) ; id_list : id_list_, YID ) shift 78 , shift 72 . error state 43 goal : prog_hedr decls procs block ._ . reduce 1 state 44 block : YBEGIN stat_list_YEND stat_lsth : stat_list_; YEND shift 79 ; shift 80 . error state 45 stat_list : stat_ . reduce 83 state 46 stat_list : stat_lsth_stat error shift 60 YBEGIN shift 51 YCASE shift 52 YEND reduce 93 YFOR shift 56 YGOTO shift 57 YID shift 49 YIF shift 58 YINT shift 47 YREPEAT shift 55 YUNTIL reduce 93 YWHILE shift 54 YWITH shift 53 YASSERT shift 59 ; reduce 93 . error state 47 stat : YINT_: stat : shift 82 . error state 48 stat : proc_id_ stat : proc_id_( wexpr_list ) ( shift 83 . reduce 95 49: shift/reduce conflict (shift 84, red'n 182) on error state 49 stat : YID_error variable : YID_ array_id : YID_ ptr_id : YID_ record_id : YID_ proc_id : YID_ error shift 84 YELSE reduce 182 YEND reduce 182 YUNTIL reduce 182 . reduce 180 ( reduce 182 ; reduce 182 : reduce 135 ^ reduce 179 [ reduce 178 . error state 50 stat : assign_ . reduce 98 state 51 stat : YBEGIN_stat_list YEND same as 21 state 52 stat : YCASE_expr YOF cstat_list YEND error shift 87 YID shift 96 YINT shift 92 YNOT shift 99 YNUMB shift 94 YNIL shift 90 YSTRING shift 91 YBINT shift 93 + shift 88 - shift 89 ( shift 98 [ shift 100 . error state 53 stat : YWITH_var_list YDO stat YID shift 103 . error state 54 stat : YWHILE_expr YDO stat same as 52 state 55 stat : YREPEAT_stat_list YUNTIL expr same as 21 state 56 stat : YFOR_assign YTO expr YDO stat stat : YFOR_assign YDOWNTO expr YDO stat YID shift 103 . error state 57 stat : YGOTO_YINT YINT shift 107 . error state 58 stat : YIF_expr YTHEN stat stat : YIF_expr YTHEN stat YELSE stat stat : YIF_expr YTHEN stat YELSE same as 52 state 59 stat : YASSERT_expr same as 52 state 60 stat : error_ . reduce 111 state 61 assign : variable_: = expr : shift 110 . error state 62 variable : qual_var_ qual_var : qual_var_[ expr_list ] qual_var : qual_var_. field_id qual_var : qual_var_^ . shift 112 ^ shift 113 [ shift 111 . reduce 136 state 63 qual_var : array_id_[ expr_list ] [ shift 114 . error state 64 qual_var : record_id_. field_id . shift 115 . error state 65 qual_var : ptr_id_^ ^ shift 116 . error state 66 proc : phead YFORWARD_; ; shift 117 . error state 67 decls : decls_decl decls : decls_error proc : pheadres decls_procs block ; error shift 9 YBEGIN reduce 27 YCONST shift 15 YFUNCTION reduce 27 YLABEL shift 14 YPROCEDURE reduce 27 YTYPE shift 16 YVAR shift 17 . error state 68 phead : porf YID_params ftype ; ( shift 120 . reduce 36 state 69 const_decl : const_decl YID =_const ; YID shift 130 YINT shift 127 YNUMB shift 129 YSTRING shift 122 YBINT shift 128 + shift 124 - shift 125 . error state 70 type_decl : type_decl YID =_type ; YARRAY shift 139 YFILE shift 140 YID shift 143 YINT shift 127 YNUMB shift 129 YPACKED shift 135 YRECORD shift 142 YSET shift 141 YSTRING shift 122 YBINT shift 128 + shift 124 - shift 125 ( shift 137 ^ shift 133 . error state 71 var_decl : var_decl id_list :_type ; same as 70 state 72 id_list : id_list ,_YID YID shift 145 . error state 73 labels : YLABEL label_decl ;_ . reduce 12 state 74 label_decl : label_decl ,_YINT YINT shift 146 . error state 75 const_decl : YCONST YID =_const ; same as 69 state 76 type_decl : YTYPE YID =_type ; same as 70 state 77 var_decl : YVAR id_list :_type ; same as 70 state 78 prog_hedr : YPROG YID ( id_list )_; ; shift 150 . error state 79 block : YBEGIN stat_list YEND_ . reduce 4 state 80 stat_lsth : stat_list ;_ . reduce 85 state 81 stat_list : stat_lsth stat_ . reduce 84 82: shift/reduce conflict (shift 60, red'n 93) on error state 82 stat : YINT :_stat same as 46 state 83 stat : proc_id (_wexpr_list ) error shift 87 YID shift 96 YINT shift 92 YNOT shift 99 YNUMB shift 94 YNIL shift 90 YSTRING shift 91 YBINT shift 93 + shift 88 - shift 89 ( shift 98 [ shift 100 . error state 84 stat : YID error_ . reduce 97 state 85 stat_lsth : stat_list_; stat : YBEGIN stat_list_YEND YEND shift 155 ; shift 80 . error state 86 stat : YCASE expr_YOF cstat_list YEND expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr YAND shift 172 YDIV shift 170 YIN shift 163 YMOD shift 171 YOF shift 156 YOR shift 166 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . error state 87 expr : error_ . reduce 113 state 88 expr : +_expr same as 52 state 89 expr : -_expr same as 52 state 90 expr : YNIL_ . reduce 119 state 91 expr : YSTRING_ . reduce 120 state 92 expr : YINT_ . reduce 121 state 93 expr : YBINT_ . reduce 122 state 94 expr : YNUMB_ . reduce 123 state 95 expr : variable_ . reduce 124 96: shift/reduce conflict (shift 176, red'n 135) on error state 96 expr : YID_error variable : YID_ array_id : YID_ ptr_id : YID_ record_id : YID_ func_id : YID_ error shift 176 YAND reduce 135 YDIV reduce 135 YDO reduce 135 YDOTDOT reduce 135 YTO reduce 135 YELSE reduce 135 YEND reduce 135 YIN reduce 135 YMOD reduce 135 YOF reduce 135 YOR reduce 135 YTHEN reduce 135 YDOWNTO reduce 135 YUNTIL reduce 135 YOCT reduce 135 YHEX reduce 135 < reduce 135 = reduce 135 > reduce 135 + reduce 135 - reduce 135 | reduce 135 * reduce 135 / reduce 135 & reduce 135 . reduce 180 ( reduce 183 ) reduce 135 ; reduce 135 , reduce 135 : reduce 135 ^ reduce 179 [ reduce 178 ] reduce 135 . error state 97 expr : func_id_( wexpr_list ) ( shift 177 . error state 98 expr : (_expr ) same as 52 state 99 expr : YNOT_expr same as 52 state 100 expr : [_element_list ] expr : [_] error shift 87 YID shift 96 YINT shift 92 YNOT shift 99 YNUMB shift 94 YNIL shift 90 YSTRING shift 91 YBINT shift 93 + shift 88 - shift 89 ( shift 98 [ shift 100 ] shift 181 . error state 101 stat : YWITH var_list_YDO stat var_list : var_list_, variable YDO shift 184 , shift 185 . error state 102 var_list : variable_ . reduce 171 state 103 variable : YID_ array_id : YID_ ptr_id : YID_ record_id : YID_ . reduce 180 ^ reduce 179 [ reduce 178 . reduce 135 state 104 stat : YWHILE expr_YDO stat expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr YAND shift 172 YDIV shift 170 YDO shift 186 YIN shift 163 YMOD shift 171 YOR shift 166 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . error state 105 stat_lsth : stat_list_; stat : YREPEAT stat_list_YUNTIL expr YUNTIL shift 187 ; shift 80 . error state 106 stat : YFOR assign_YTO expr YDO stat stat : YFOR assign_YDOWNTO expr YDO stat YTO shift 188 YDOWNTO shift 189 . error state 107 stat : YGOTO YINT_ . reduce 106 state 108 stat : YIF expr_YTHEN stat stat : YIF expr_YTHEN stat YELSE stat stat : YIF expr_YTHEN stat YELSE expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr YAND shift 172 YDIV shift 170 YIN shift 163 YMOD shift 171 YOR shift 166 YTHEN shift 190 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . error state 109 stat : YASSERT expr_ expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr YAND shift 172 YDIV shift 170 YIN shift 163 YMOD shift 171 YOR shift 166 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . reduce 110 state 110 assign : variable :_= expr = shift 191 . error state 111 qual_var : qual_var [_expr_list ] error shift 87 YID shift 96 YINT shift 92 YNOT shift 99 YNUMB shift 94 YNIL shift 90 YSTRING shift 91 YBINT shift 93 + shift 88 -  shift 89 ( shift 98 [ shift 100 . error state 112 qual_var : qual_var ._field_id YID shift 195 . error state 113 qual_var : qual_var ^_ . reduce 142 state 114 qual_var : array_id [_expr_list ] same as 111 state 115 qual_var : record_id ._field_id same as 112 state 116 qual_var : ptr_id ^_ . reduce 141 state 117 proc : phead YFORWARD ;_ . reduce 29 state 118 procs : procs_proc proc : pheadres decls procs_block ; YBEGIN shift 21 YFUNCTION shift 26 YPROCEDURE shift 25 . error state 119 phead : porf YID params_ftype ; : shift 200 . reduce 42 state 120 params : (_param_list ) YFUNCTION shift 205 YID shift 33 YPROCEDURE shift 206 YVAR shift 204 . error state 121 const_decl : const_decl YID = const_; ; shift 207 . error state 122 const : YSTRING_ . reduce 45 state 123 const : number_ . reduce 46 state 124 const : +_number YID shift 130 YINT shift 127 YNUMB shift 129 YBINT shift 128 .  error state 125 const : -_number same as 124 state 126 number : const_id_ . reduce 49 state 127 number : YINT_ . reduce 50 state 128 number : YBINT_ . reduce 51 state 129 number : YNUMB_ . reduce 52 state 130 const_id : YID_ . reduce 175 state 131 type_decl : type_decl YID = type_; ; shift 210 . error state 132 type : simple_type_ . reduce 55 state 133 type : ^_YID YID shift 211 . error state 134 type : struct_type_ . reduce 57 state 135 type : YPACKED_struct_type YARRAY shift 139 YFILE shift 140 YRECORD shift 142 YSET shift 141 . error state 136 simple_type : type_id_ . reduce 59 state 137 simple_type : (_id_list ) same as 18 state 138 simple_type : const_YDOTDOT const YDOTDOT shift 214 . error state 139 struct_type : YARRAY_[ simple_type_list ] YOF type [ shift 215 . error state 140 struct_type : YFILE_YOF type YOF shift 216 . error state 141 struct_type : YSET_YOF simple_type YOF shift 217 . error state 142 struct_type : YRECORD_field_list YEND YID shift 33 . reduce 72 state 143 const_id : YID_ type_id : YID_ YDOTDOT reduce 175 . reduce 176 state 144 var_decl : var_decl id_list : type_; ; shift 222 . error state 145 id_list : id_list , YID_ . reduce 174 state 146 label_decl : label_decl , YINT_ . reduce 14 state 147 const_decl : YCONST YID = const_; ; shift 223 . error state 148 type_decl : YTYPE YID = type_; ; shift 224 . error state 149 var_decl : YVAR id_list : type_; ; shift 225 . error state 150 prog_hedr : YPROG YID ( id_list ) ;_ . reduce 2 state 151 stat : YINT : stat_ . reduce 94 state 152 stat : proc_id ( wexpr_list_) wexpr_list : wexpr_list_, wexpr ) shift 226 , shift 227 . error state 153 wexpr_list : wexpr_ . reduce 152 state 154 expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr wexpr : expr_ wexpr : expr_: expr wexpr : expr_: expr : expr wexpr : expr_octhex wexpr : expr_: expr octhex YAND shift 172 YDIV shift 170 YIN shift 163 YMOD shift 171 YOR shift 166 YOCT shift 230 YHEX shift 231 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 : shift 228 . reduce 143 state 155 stat : YBEGIN stat_list YEND_ . reduce 99 156: shift/reduce conflict (shift 234, red'n 92) on error state 156 stat : YCASE expr YOF_cstat_list YEND error shift 234 YEND reduce 92 YID shift 130 YINT shift 127 YNUMB shift 129 YSTRING shift 122 YBINT shift 128 YCASELAB shift 236 + shift 124 - shift 125 ; reduce 92 . error state 157 expr : expr relop_expr same as 52 state 158 expr : expr addop_expr same as 52 state 159 expr : expr divop_expr same as 52 state 160 relop : =_ . reduce 154 state 161 relop : <_ relop : <_> relop : <_= = shift 242 > shift 241 . reduce 155 state 162 relop : >_ relop : >_= = shift 243 . reduce 156 state 163 relop : YIN_ . reduce 160 state 164 addop : +_ . reduce 161 state 165 addop : -_ . reduce 162 state 166 addop : YOR_ . reduce 163 state 167 addop : |_ . reduce 164 state 168 divop : *_ . reduce 165 state 169 divop : /_ . reduce 166 state 170 divop : YDIV_ . reduce 167 state 171 divop : YMOD_ . reduce 168 state 172 divop : YAND_ . reduce 169 state 173 divop : &_ . reduce 170 state 174 expr : expr_relop expr expr : + expr_ expr : expr_addop expr expr : expr_divop expr YAND shift 172 YDIV shift 170 YMOD shift 171 * shift 168 / shift 169 & shift 173 . reduce 115 state 175 expr : expr_relop expr expr : - expr_ expr : expr_addop expr expr : expr_divop expr YAND shift 172 YDIV shift 170 YMOD shift 171 * shift 168 / shift 169 & shift 173 . reduce 116 state 176 expr : YID error_ . reduce 125 state 177 expr : func_id (_wexpr_list ) same as 83 state 178 expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr expr : ( expr_) YAND shift 172 YDIV shift 170 YIN shift 163 YMOD shift 171 YOR shift 166 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 ) shift 245 . error state 179 expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr expr : YNOT expr_ . reduce 128 state 180 expr : [ element_list_] element_list : element_list_, element , shift 247 ] shift 246 . error state 181 expr : [ ]_ . reduce 130 state 182 element_list : element_ . reduce 131 state 183 expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr element : expr_ element : expr_YDOTDOT expr YAND shift 172 YDIV shift 170 YDOTDOT shift 248 YIN shift 163 YMOD shift 171 YOR shift 166 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . reduce 133 184: shift/reduce conflict (shift 60, red'n 93) on error state 184 stat : YWITH var_list YDO_stat same as 46 state 185 var_list : var_list ,_variable YID shift 103 . error 186: shift/reduce conflict (shift 60, red'n 93) on error state 186 stat : YWHILE expr YDO_stat same as 46 state 187 stat : YREPEAT stat_list YUNTIL_expr same as 52 state 188 stat : YFOR assign YTO_expr YDO stat same as 52 state 189 stat : YFOR assign YDOWNTO_expr YDO stat same as 52 190: shift/reduce conflict (shift 60, red'n 93) on error state 190 stat : YIF expr YTHEN_stat stat : YIF expr YTHEN_stat YELSE stat stat : YIF expr YTHEN_stat YELSE same as 46 state 191 assign : variable : =_expr same as 52 state 192 qual_var : qual_var [ expr_list_] expr_list : expr_list_, expr , shift 258 ] shift 257 . error state 193 expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr expr_list : expr_ YAND shift 172 YDIV shift 170 YIN shift 163 YMOD shift 171 YOR shift 166 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . reduce 150 state 194 qual_var : qual_var . field_id_ . reduce 140 state 195 field_id : YID_ . reduce 181 state 196 qual_var : array_id [ expr_list_] expr_list : expr_list_, expr , shift 258 ] shift 259 . error state 197 qual_var : record_id . field_id_ . reduce 139 state 198 proc : pheadres decls procs block_; ; shift 260 . error state 199 phead : porf YID params ftype_; ; shift 261 . error state 200 ftype : :_type same as 70 state 201 params : ( param_list_) param_list : param_list_; param ) shift 263 ; shift 264 . error state 202 param_list : param_ . reduce 43 state 203 param : id_list_: type id_list : id_list_, YID , shift 72 : shift 265 . error state 204 param : YVAR_id_list : type same as 18 state 205 param : YFUNCTION_id_list : type same as 18 state 206 param : YPROCEDURE_id_list same as 18 state 207 const_decl : const_decl YID = const ;_ . reduce 16 state 208 const : + number_ . reduce 47 state 209 const : - number_ . reduce 48 state 210 type_decl : type_decl YID = type ;_ . reduce 20 state 211 type : ^ YID_ . reduce 56 state 212 type : YPACKED struct_type_ . reduce 58 state 213 simple_type : ( id_list_) id_list : id_list_, YID ) shift 269 , shift 72 . error state 214 simple_type : const YDOTDOT_const same as 69 state 215 struct_type : YARRAY [_simple_type_list ] YOF type YID shift 143 YINT shift 127 YNUMB shift 129 YSTRING shift 122 YBINT shift 128 + shift 124 - shift 125 ( shift 137 . error state 216 struct_type : YFILE YOF_type same as 70 state 217 struct_type : YSET YOF_simple_type YID shift 143 YINT shift 127 YNUMB shift 129 YSTRING shift 122 YBINT shift 128 + shift 124 - shift 125 ( shift 137 . error state 218 struct_type : YRECORD field_list_YEND YEND shift 275 . error state 219 field_list : fixed_part_variant_part fixed_part : fixed_part_; field fixed_part : fixed_part_error error shift 278 YCASE shift 279 YEND reduce 74 ) reduce 74 ; shift 277 . error state 220 fixed_part : field_ . reduce 69 state 221 field : id_list_: type id_list : id_list_, YID , shift 72 : shift 280 . error state 222 var_decl : var_decl id_list : type ;_ . reduce 24 state 223 const_decl : YCONST YID = const ;_ . reduce 15 state 224 type_decl : YTYPE YID = type ;_ . reduce 19 state 225 var_decl : YVAR id_list : type ;_ . reduce 23 state 226 stat : proc_id ( wexpr_list )_ . reduce 96 state 227 wexpr_list : wexpr_list ,_wexpr error shift 87 YID shift 96 YINT shift 92 YNOT shift 99 YNUMB shift 94 YNIL shift 90 YSTRING shift 91 YBINT shift 93 + shift 88 - shift 89 ( shift 98 [ shift 100 . error state 228 wexpr : expr :_expr wexpr : expr :_expr : expr wexpr : expr :_expr octhex same as 52 state 229 wexpr : expr octhex_ . reduce 146 state 230 octhex : YOCT_ . reduce 148 state 231 octhex : YHEX_ . reduce 149 state 232 cstat_list : cstat_list_; cstat cstat_list : cstat_list_error stat : YCASE expr YOF cstat_list_YEND error shift 284 YEND shift 285 ; shift 283 . error state 233 cstat_list : cstat_ . reduce 86 state 234 cstat_list : error_ . reduce 88 state 235 const_list : const_list_, const cstat : const_list_: stat , shift 286 : shift 287 . error 236: shift/reduce conflict (shift 60, red'n 93) on error state 236 cstat : YCASELAB_stat same as 46 state 237 const_list : const_ . reduce 53 state 238 expr : expr_relop expr expr : expr relop expr_ expr : expr_addop expr expr : expr_divop expr YAND shift 172 YDIV shift 170 YIN error YMOD shift 171 YOR shift 166 < error = error > error + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . reduce 114 state 239 expr : expr_relop expr expr : expr_addop expr expr : expr addop expr_ expr : expr_divop expr YAND shift 172 YDIV shift 170 YMOD shift 171 * shift 168 / shift 169 & shift 173 . reduce 117 state 240 expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr expr : expr divop expr_ .  reduce 118 state 241 relop : < >_ . reduce 157 state 242 relop : < =_ . reduce 158 state 243 relop : > =_ . reduce 159 state 244 expr : func_id ( wexpr_list_) wexpr_list : wexpr_list_, wexpr ) shift 289 , shift 227 . error state 245 expr : ( expr )_ . reduce 127 state 246 expr : [ element_list ]_ . reduce 129 state 247 element_list : element_list ,_element error shift 87 YID shift 96 YINT shift 92 YNOT shift 99 YNUMB shift 94 YNIL shift 90 YSTRING shift 91 YBINT shift 93 + shift 88 - shift 89 ( shift 98 [ shift 100 . error state 248 element : expr YDOTDOT_expr same as 52 state 249 stat : YWITH var_list YDO stat_ . reduce 101 state 250 var_list : var_list , variable_ . reduce 172 state 251 stat : YWHILE expr YDO stat_ . reduce 102 state 252 stat : YREPEAT stat_list YUNTIL expr_ expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr YAND shift 172 YDIV shift 170 YIN shift 163 YMOD shift 171 YOR shift 166 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . reduce 103 state 253 stat : YFOR assign YTO expr_YDO stat expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr YAND shift 172 YDIV shift 170 YDO shift 292 YIN shift 163 YMOD shift 171 YOR shift 166 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . error state 254 stat : YFOR assign YDOWNTO expr_YDO stat expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr YAND shift 172 YDIV shift 170 YDO shift 293 YIN shift 163 YMOD shift 171 YOR shift 166 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . error 255: shift/reduce conflict (shift 294, red'n 107) on YELSE state 255 stat : YIF expr YTHEN stat_ stat : YIF expr YTHEN stat_YELSE stat stat : YIF expr YTHEN stat_YELSE YELSE shift 294 . reduce 107 state 256 assign : variable : = expr_ expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr YAND shift 172 YDIV shift 170 YIN shift 163 YMOD shift 171 YOR shift 166 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . reduce 112 state 257 qual_var : qual_var [ expr_list ]_ . reduce 138 state 258 expr_list : expr_list ,_expr same as 52 state 259 qual_var : array_id [ expr_list ]_ . reduce 137 state 260 proc : pheadres decls procs block ;_ . reduce 30 state 261 phead : porf YID params ftype ;_ . reduce 32 state 262 ftype : : type_ . reduce 41 state 263 params : ( param_list )_ . reduce 35 state 264 param_list : param_list ;_param YFUNCTION shift 205 YID shift 33 YPROCEDURE shift 206 YVAR shift 204 . error state 265 param : id_list :_type same as 70 state 266 param : YVAR id_list_: type id_list : id_list_, YID , shift 72 : shift 298 . error state 267 param : YFUNCTION id_list_: type id_list : id_list_, YID , shift 72 : shift 299 . error state 268 param : YPROCEDURE id_list_ id_list : id_list_, YID , shift 72 . reduce 40 state 269 simple_type : ( id_list )_ . reduce 60 state 270 simple_type : const YDOTDOT const_ . reduce 61 state 271 struct_type : YARRAY [ simple_type_list_] YOF type simple_type_list : simple_type_list_, simple_type , shift 301 ] shift 300 . error state 272 simple_type_list : simple_type_ . reduce 66 state 273 struct_type : YFILE YOF type_ . reduce 63 state 274 struct_type : YSET YOF simple_type_ . reduce 64 state 275 struct_type : YRECORD field_list YEND_ . reduce 65 state 276 field_list : fixed_part variant_part_ . reduce 68 state 277 fixed_part : fixed_part ;_field YID shift 33 . reduce 72 state 278 fixed_part : fixed_part error_ . reduce 71 state 279 variant_part : YCASE_type_id YOF variant_list variant_part : YCASE_YID : type_id YOF variant_list YID shift 304 . error state 280 field : id_list :_type same as 70 state 281 wexpr_list : wexpr_list , wexpr_ . reduce 153 state 282 expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr wexpr : expr : expr_ wexpr : expr : expr_: expr wexpr : expr : expr_octhex YAND shift 172 YDIV shift 170 YIN shift 163 YMOD shift 171 YOR shift 166 YOCT shift 230 YHEX shift 231 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 : shift 306 . reduce 144 state 283 cstat_list : cstat_list ;_cstat YID shift 130 YINT shift 127 YNUMB shift 129 YSTRING shift 122 YBINT shift 128 YCASELAB shift 236 + shift 124 - shift 125 . reduce 92 state 284 cstat_list : cstat_list error_ . reduce 89 state 285 stat : YCASE expr YOF cstat_list YEND_ . reduce 100 state 286 const_list : const_list ,_const same as 69 287: shift/reduce conflict (shift 60, red'n 93) on error state 287 cstat : const_list :_stat same as 46 state 288 cstat : YCASELAB stat_ . reduce 91 state 289 expr : func_id ( wexpr_list )_ . reduce 126 state 290 element_list : element_list , element_ . reduce 132 state 291 expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr element : expr YDOTDOT expr_ YAND shift 172 YDIV shift 170 YIN shift 163 YMOD shift 171 YOR shift 166 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . reduce 134 292: shift/reduce conflict (shift 60, red'n 93) on error state 292 stat : YFOR assign YTO expr YDO_stat same as 46 293: shift/reduce conflict (shift 60, red'n 93) on error state 293 stat : YFOR assign YDOWNTO expr YDO_stat same as 46 294: shift/reduce conflict (shift 60, red'n 109) on error 294: shift/reduce conflict (shift 60, red'n 93) on error 294: reduce/reduce conflict (red'ns 109 and 93 ) on YELSE 294: reduce/reduce conflict (red'ns 109 and 93 ) on YEND 294: reduce/reduce conflict (red'ns 109 and 93 ) on YUNTIL 294: reduce/reduce conflict (red'ns 109 and 93 ) on ; state 294 stat : YIF expr YTHEN stat YELSE_stat stat : YIF expr YTHEN stat YELSE_ error shift 60 YBEGIN shift 51 YCASE shift 52 YELSE reduce 93 YEND reduce 93 YFOR shift 56 YGOTO shift 57 YID shift 49 YIF shift 58 YINT shift 47 YREPEAT shift 55 YUNTIL reduce 93 YWHILE shift 54 YWITH shift 53 YASSERT shift 59 ; reduce 93 . error state 295 expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr expr_list : expr_list , expr_ YAND shift 172 YDIV shift 170 YIN shift 163 YMOD shift 171 YOR shift 166 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . reduce 151 state 296 param_list : param_list ; param_ . reduce 44 state 297 param : id_list : type_ . reduce 37 state 298 param : YVAR id_list :_type same as 70 state 299 param : YFUNCTION id_list :_type same as 70 state 300 struct_type : YARRAY [ simple_type_list ]_YOF type YOF shift 316 . error state 301 simple_type_list : simple_type_list ,_simple_type same as 217 state 302 fixed_part : fixed_part ; field_ . reduce 70 state 303 variant_part : YCASE type_id_YOF variant_list YOF shift 318 . error state 304 variant_part : YCASE YID_: type_id YOF variant_list type_id : YID_ : shift 319 . reduce 176 state 305 field : id_list : type_ . reduce 73 state 306 wexpr : expr : expr :_expr same as 52 state 307 wexpr : expr : expr octhex_ . reduce 147 state 308 cstat_list : cstat_list ; cstat_ . reduce 87 state 309 const_list : const_list , const_ . reduce 54 state 310 cstat : const_list : stat_  . reduce 90 state 311 stat : YFOR assign YTO expr YDO stat_ . reduce 104 state 312 stat : YFOR assign YDOWNTO expr YDO stat_ . reduce 105 state 313 stat : YIF expr YTHEN stat YELSE stat_ . reduce 108 state 314 param : YVAR id_list : type_ . reduce 38 state 315 param : YFUNCTION id_list : type_ . reduce 39 state 316 struct_type : YARRAY [ simple_type_list ] YOF_type same as 70 state 317 simple_type_list : simple_type_list , simple_type_ . reduce 67 state 318 variant_part : YCASE type_id YOF_variant_list YID shift 130 YINT shift 127 YNUMB shift 129 YSTRING shift 122 YBINT shift 128 + shift 124 - shift 125 . reduce 80 state 319 variant_part : YCASE YID :_type_id YOF variant_list YID shift 326 . error state 320 expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr wexpr : expr : expr : expr_ YAND shift 172 YDIV shift 170 YIN shift 163 YMOD shift 171 YOR shift 166 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . reduce 145 state 321 struct_type : YARRAY [ simple_type_list ] YOF type_ . reduce 62 state 322 variant_part : YCASE type_id YOF variant_list_ variant_list : variant_list_; variant variant_list : variant_list_error error shift 328 YEND reduce 75 ) reduce 75 ; shift 327 . error state 323 variant_list : variant_ . reduce 77 state 324 const_list : const_list_, const variant : const_list_: ( field_list ) variant : const_list_: ( ) , shift 286 : shift 329 . error state 325 variant_part : YCASE YID : type_id_YOF variant_list YOF shift 330 . error state 326 type_id : YID_ . reduce 176 state 327 variant_list : variant_list ;_variant YID shift 130 YINT shift 127 YNUMB shift 129 YSTRING shift 122 YBINT shift 128 + shift 124 - shift 125 . reduce 80 state 328 variant_list : variant_list error_ . reduce 79 state 329 variant : const_list :_( field_list ) variant : const_list :_( ) ( shift 332 . error state 330 variant_part : YCASE YID : type_id YOF_variant_list same as 318 state 331 variant_list : variant_list ; variant_ . reduce 78 332: shift/reduce conflict (shift 335, red'n 72) on ) state 332 variant : const_list : (_field_list ) variant : const_list : (_) YID shift 33 ) shift 335 . reduce 72 state 333 variant_part : YCASE YID : type_id YOF variant_list_ variant_list : variant_list_; variant variant_list : variant_list_error error shift 328 YEND reduce 76 ) reduce 76 ; shift 327 . error state 334 variant : const_list : ( field_list_) ) shift 336 . error state 335 variant : const_list : ( )_ . reduce 82 state 336 variant : const_list : ( field_list )_ . reduce 81 nonterminal goal 0 1 nonterminal prog_hedr 0 2 nonterminal decls 2 4 23 67 nonterminal procs 4 7 67 118 nonterminal block 7 19 118 198 nonterminal id_list 13 31 17 40  18 42 120 203 137 213 142 221 204 266 205 267 206 268 264 203 277 221 332 221 nonterminal stat_list 21 44 51 85 55 105 nonterminal decl 4 8 67 8 nonterminal labels 4 10 67 10 nonterminal const_decl 4 11 67 11 nonterminal type_decl 4 12 67 12 nonterminal var_decl 4 13 67 13 nonterminal label_decl 14 34 nonterminal const 69 121 70 138 71 138 75 147 76 138 77 138 156 237 200 138 214 270 215 138 216 138 217 138 265 138 280 138 283 237 286 309 298 138 299 138 301 138 316 138 318 237 327 237 330 237 nonterminal type 70 131 71 144 76 148 77 149 200 262 216 273 265 297 280 305 298 314 299 315 316 321 nonterminal proc 7 20 118 20 nonterminal phead 7 22 118 22 nonterminal pheadres 7 23 118 23 nonterminal porf 7 24 118 24 nonterminal params 68 119 nonterminal ftype 119 199 nonterminal param_list 120 201 nonterminal param 120 202 264 296 nonterminal number 69 123 70 123 71 123 75 123 76 123 77 123 124 208 125 209 156 123 200 123 214 123 215 123 216 123 217 123 265 123 280 123 283 123 286 123 298 123 299 123 301 123 316 123 318 123 327 123 330 123 nonterminal const_id 69 126 70 126 71 126 75 126 76 126 77 126 124 126 125 126 156 126 200 126 214 126 215 126 216 126 217 126 265 126 280 126 283 126 286 126 298 126 299 126 301 126 316 126 318 126 327 126 330 126 nonterminal const_list 156 235 283 235 318 324 327 324 330 324 nonterminal simple_type 70 132 71 132 76 132 77 132 200 132 215 272 216 132 217 274 265 132 280 132 298 132 299 132 301 317 316 132 nonterminal struct_type 70 134 71 134 76 134 77 134 135 212 200 134 216 134 265 134 280 134 298 134 299 134 316 134 nonterminal type_id 70 136 71 136 76 136 77 136 200 136 215 136 216 136 217 136 265 136 279 303 280 136 298 136 299 136 301 136 316 136 319 325 nonterminal simple_type_list 215 271 nonterminal field_list 142 218 332 334 nonterminal fixed_part 142 219 332 219 nonterminal variant_part 219 276 nonterminal field 142 220 277 302 332 220 nonterminal variant_list 318 322 330 333 nonterminal variant 318 323 327 331 330 323 nonterminal stat 21 45 46 81 51 45 55 45 82 151 184 249 186 251 190 255 236 288 287 310 292 311 293 312 294 313 nonterminal stat_lsth 21 46 51 46 55 46 nonterminal cstat_list 156 232 nonterminal cstat 156 233 283 308 nonterminal proc_id 21 48 46 48 51 48 55 48 82 48 184 48 186 48 190 48 236 48 287 48 292 48 293 48  294 48 nonterminal wexpr_list 83 152 177 244 nonterminal assign 21 50 46 50 51 50 55 50 56 106 82 50 184 50 186 50 190 50 236 50 287 50 292 50 293 50 294 50 nonterminal expr 52 86 54 104 58 108 59 109 83 154 88 174 89 175 98 178 99 179 100 183 111 193 114 193 157 238 158 239 159 240 177 154 187 252 188 253 189 254 191 256 227 154 228 282 247 183 248 291 258 295 306 320 nonterminal var_list 53 101 nonterminal variable 21 61 46 61 51 61 52 95 53 102 54 95 55 61 56 61 58 95 59 95 82 61 83 95 88 95 89 95 98 95 99 95 100 95 111 95 114 95 157 95 158 95 159 95 177 95 184 61 185 250 186 61 187 95 188 95 189 95 190 61 191 95 227 95 228 95 236 61 247 95 248 95 258 95 287 61 292 61 293 61 294 61 306 95 nonterminal relop 86 157 104 157 108 157 109 157 154 157 174 157 175 157 178 157 179 157 183 157 193 157 238 157 239 157 240 157 252 157 253 157 254 157 256 157 282 157 291 157 295 157 320 157 nonterminal addop 86 158 104 158 108 158 109 158 154 158 174 158 175 158 178 158 179 158 183 158 193 158 238 158 239 158 240 158 252 158 253 158 254 158 256 158 282 158 291 158 295 158 320 158 nonterminal divop 86 159 104 159 108 159 109 159 154 159 174 159 175 159 178 159 179 159 183 159 193 159 238 159 239 159 240 159 252 159 253 159 254 159 256 159 282 159 291 159 295 159 320 159 nonterminal func_id 52 97 54 97 58 97 59 97 83 97 88 97 89 97 98 97 99 97 100 97 111 97 114 97 157 97 158 97 159 97 177 97 187 97 188 97 189 97 191 97 227 97 228 97 247 97 248 97 258 97 306 97 nonterminal element_list 100 180 nonterminal element 100 182 247 290 nonterminal qual_var 21 62 46 62 51 62 52 62 53 62 54 62 55 62 56 62 58 62 59 62 82 62 83 62 88 62 89 62 98 62 99 62 100 62 111 62 114 62 157 62 158 62 159 62 177 62 184 62 185 62 186 62 187 62 188 62 189 62 190 62 191 62 227 62 228 62 236 62 247 62 248 62 258 62 287 62 292 62 293 62 294 62 306 62 nonterminal array_id 21 63 46 63 51 63 52 63 53 63 54 63 55 63 56 63 58 63 59 63 82 63 83 63 88 63 89 63 98 63 99 63 100 63 111 63 114 63 157 63 158 63 159 63 177 63 184 63 185 63 186 63 187 63 188 63 189 63 190 63 191 63 227 63 228 63 236 63 247 63 248 63 258 63 287 63 292 63 293 63 294 63 306 63 nonterminal expr_list 111 192 114 196 nonterminal record_id 21 64 46 64 51 64 52 64 53 64 54 64 55 64 56 64 58 64 59 64 82 64 83 64 88 64 89 64 98 64 99 64 100 64 111 64 114 64 157 64 158 64 159 64 177 64 184 64 185 64 186 64 187 64 188 64 189 64 190 64 191 64 227 64 228 64 236 64 247 64 248 64 258 64 287 64 292 64 293 64 294 64 306 64 nonterminal field_id 112 194 115 197 nonterminal ptr_id 21 65 46 65 51 65 52 65 53 65 54 65 55 65 56 65 58 65 59 65 82 65 83 65 88 65 89 65 98 65 99 65 100 65 111 65 114 65 157 65 158 65 159 65 177 65 184 65 185 65 186 65 187 65 188 65 189 65 190 65 191 65 227 65 228 65 236 65 247 65 248 65 258 65 287 65 292 65 293 65 294 65 306 65 nonterminal wexpr 83 153 177 153 227 281 nonterminal octhex 154 229 282 307 nonterminal var_id 69/95 terminals, 61/150 nonterminals 184/300 grammar rules, 337/1000 states 18 shift/reduce, 4 reduce/reduce conflicts reported 38/400 working sets used memory: states,etc. 2143/3000, parser 1005/2500 139/600 distinct lookahead sets 350 extra closures 1697 action entries 1198 action entries saved through merging 52 states 332 goto entries 830 entries saved by goto default 292 65 293 65 294 65 306 65 nonterminal wexpr 83 153 177 153 227 281 nonterminal octhex 154 229 282 307 nonterminal var_id 69/95 terminals, 61/150 nonterminals 184/300 grammar rules, 337/1000 states 18 shift/reduce, 4 reduce/reduce conflicts reported 38/400 working sets used memory: states,etc. 2143/3000, parser 1005/2500 139/600 distinct lookahead sets 350 extra closures 1697 action entries 1198 action entries saved eÿ!cin.sÙuø¤�'.globl _cin, _fin .data _cin: _fin: 0 !cout.sÙuø¤�+.globl _cout, _fout .data _cout: _fout: 1 __error.cÙuø¤�<# include "iodec.h" /** ** output an error message and exit **/ __error(parlist) char *parlist; { register char *fmt; register char **p; char buf[10], *s; register int c; extern char *__prtshort(); extern int cout; p = &parlist; fmt = *p++; while (c = *fmt++) { if (c != '%') { cputc(c, cout); continue; } c = *fmt++; switch (c) { case 'd': s = buf; __prtint(p++, buf, 10, 1, __prtshort, 0); break; case 's': s = *p++; break; } while (*s) cputc(*s++, cout); } cputc('\n', cout); flush(); abort(); } __exit.sÙuø¤��/ C library -- exit / exit(code) / code is return in r0 to system .globl ___exit ___exit: mov r5,-(sp) mov sp,r5 mov 4(r5),r0 sys exit __length.cÙuø¤�o__length(s) char *s; { register int l; register char *p; p = s; l = 0; while (*p++) l++; return(l); } __makbuf.cÙuø¤�Û# include "iodec.h" /** ** allocate buffer space for a file **/ __makbuf(fn, type) int fn; int type; { register struct fileps *fp; register int size; register char *space; int peeksize; peeksize = 0; if (type <= 0 || type > 2) peeksize = __param.peeksize; fp = &__filehdr[fn]; fp->eoferr = fp->nchars = 0; fp->wrflag = type + 1; size = 1; if (fn > 2) size = __param.bufsize; for (fp->buff = 0; ; size =/ 4) { if ((space = alloc(size + peeksize)) != -1) { fp->bsize = size; fp->buff = fp->bptr = space + peeksize; fp->pbuff = space; break; } if (size < 16) break; } if (fp->buff == 0) { fp->pbuff = &__statbuf[fn]; fp->buff = fp->bptr = fp->pbuff + 1; fp->bsize = 1; } } t__prtint.cÙuø¤�Ù__prtint(pobj, buf, base, signed, f, upper) int *pobj; char *buf; int base; int signed; int upper; char *(*f)(); { char digs[15]; register char *dp; register int k; register char *p; dp = (*f)(pobj, &buf, base, signed, digs); if (dp == digs) *dp++ = 0; p = buf; while (dp != digs) { k = *--dp; if (k < 10) k =+ '0'; else k =+ upper ? 'A' : 'a'; *p++ = k; } *p = 0; return (p); } __prtshort(pobj, pbuf, base, signed, digs) int *pobj; char **pbuf; int base; int signed; char *digs; { extern int ldivr; register int n; register char *p; p = digs; n = *pobj; if (signed && n < 0) { n = -n; *(*pbuf)++ = '-'; } while (n != 0) { n = ldiv(0, n, base); *p++ = ldivr; } return (p); } alloc.sÙuø¤�ï / storage allocator for use with C / / / / hand-tooled from C compilation to modify save-return / so that it can be called from within the C save when / running with coroutines / /# //* / * C storage allocator / * (circular first fit strategy) / */ /#define BUSY 01 / /char *allocs[2] { /*initial empty arena*/ / &allocs[1], / &allocs[0] /}; /struct { int word; }; /char **allocp &allocs[1]; /*current search pointer*/ /char **alloct &allocs[1]; /*top of arena (last cell)*/ / /alloc(nbytes) /{ / register int nwords; / register char **p, **q; / static char *t; / / allocs[0].word =| BUSY; /*static initialization*/ / allocs[1].word =| BUSY; / / nwords = (nbytes+(2*sizeof(p)-1))/sizeof(p); / for(p=allocp;;) { / do { / if((p->word&BUSY)==0) { / while(((q = *p)->word&BUSY)==0) / *p = *q; / if(q >= &p[nwords]) / goto found; / } / q = p; / p = p->word & ~BUSY; / } while(q>=allocp || pword =| BUSY; / alloct = (*t = &t[nwords]-1); / *alloct = allocs; / alloct->word =| BUSY; / } /found: / allocp = &p[nwords]; / if(q>allocp) / *allocp = *p; / *p = allocp.word|BUSY; / return(p+1); /} / /free(p) /char **p; /{ / allocp = p-1; / allocp->word =& ~BUSY; /} .data .globl _allocs _allocs: 2+_allocs _allocs .data .globl _allocp _allocp: 2+_allocs .data .globl _alloct _alloct: 2+_allocs .text .globl _alloc .globl _getvec _getvec: _alloc: ~~alloc: .bss L2:.=.+2 .text ~p=r3 ~q=r2 ~t=L2 ~nbytes=4 ~nwords=r4 mov r5,-(sp) mov sp,r5 mov r4,-(sp) mov r3,-(sp) mov r2,-(sp) bis $1,_allocs bis $1,2+_allocs mov 4(r5),r4 add $3,r4 asr r4 mov _allocp,r3 jbr L7 L12:mov L2,*_alloct mov _alloct,r0 add $2,r0 cmp L2,r0 jeq L13 bis $1,*_alloct L13: mov r4,r0 dec r0 asl r0 add L2,r0 mov r0,*L2 mov r0,_alloct mov $_allocs,*_alloct bis $1,*_alloct L7:bit $1,(r3) jeq L9 L8:mov r3,r2 mov (r3),r3 bic $1,r3 cmp _allocp,r2 jlos L7 cmp _allocp,r3 jhi L7 mov r4,r0 asl r0 mov r0,(sp) .globl _sbrk jsr pc,*$_sbrk mov r0,L2 cmp $-1,r0 jne L12 L1: mov (sp)+,r2 mov (sp)+,r3 mov (sp)+,r4 mov (sp)+,r5 rts pc L20001:mov (r2),(r3) L9:mov (r3),r2 bit $1,(r2) jeq L20001 mov r4,r0 asl r0 add r3,r0 cmp r2,r0 jlo L8 mov r4,r0 asl r0 add r3,r0 mov r0,_allocp cmp r0,r2 jhis L14 mov (r3),(r0) L14: bis $1,r0 mov r0,(r3) mov r3,r0 add $2,r0 jbr L1 .globl _free .globl _cfree,_relvec _cfree: _relvec: _free: ~~free: ~p=4 mov r5,-(sp) mov sp,r5 mov 4(r5),r0 add $-2,r0 mov r0,_allocp bic $1,*_allocp mov (sp)+,r5 rts pc .globl .data scalloc.cÙuø¤�># include "iodec.h" calloc(n, s) { return (alloc(n * s)); } cclose.cÙuø¤�¡# include "iodec.h" /** ** close a file **/ cclose(fn) int fn; { register struct fileps *fp; if (fn < 0 || fn >= MAXFILES) __error("cclose: bad file number %d", fn); fp = &__filehdr[fn]; if (fp->nchars > 0 && fp->wrflag > 1) flush(fn); if (fp->wrflag != 0 && fp->buff >= &__statbuf[MAXFILES]) free(fp->pbuff); fp->nchars = fp->eoferr = fp->buff = fp->bptr = fp->wrflag = fp->bsize = 0; close(fn); } rceof.cÙuø¤�# include "iodec.h" /** ** report end of file conditions **/ ceof(fn) int fn; { register struct fileps *fp; if (fn < 0 || fn >= MAXFILES) __error("ceof: bad file number %d", fn); fp = &__filehdr[fn]; if (fp->eoferr > 0) return (1); return (0); } cexit.cÙuø¤�’# include "iodec.h" /** ** flush and close all files and exit **/ cexit(rcode) { flush(); __exit(rcode); } exit(rcode) { cexit(rcode); } cflush.cÙuø¤�Û# include "iodec.h" /** ** flush out a single file **/ cflush(fn) int fn; { register struct fileps *fp; if (fn < 0 || fn >= MAXFILES) __error("cflush: bad file number %d", fn); fp = &__filehdr[fn]; if (fp->nchars > 0 && fp->wrflag >= 2) { if (fp->wrflag == 3) { seek(fn, 0, 2); fp->wrflag = 2; } write(fn, fp->buff, fp->nchars); fp->bptr = fp->buff; fp->nchars = fp->eoferr = 0; } if (fp->wrflag == 1) seek(fn, -(fp->nchars), 1); return; } rcgetc.cÙuø¤�$# include "iodec.h" /** ** get a single character **/ int __backup 0; cgetc(xfn) int xfn; { register struct fileps *fp; register int i; extern int f_log; extern int cin; register int fn; fn = xfn; if (fn < 0 || fn >= MAXFILES) __error("cgetc: illegal file number %d", fn); fp = &__filehdr[fn]; if (fp->wrflag == 2) __error("cgetc: file %d not open to read", fn); if (fp->wrflag == 0) __makbuf(fn, 0); if (fp->eoferr) return ('\0'); if (fp->nchars == 0) { i = read(fn, fp->bptr = fp->buff, fp->bsize); if (i < 0) __error("cgetc: read error on %d", fn); if (i == 0) { fp->eoferr = 2; return ('\0'); } fp->nchars = i; } fp->nchars--; if (f_log > 0 && fn == cin) if (__backup) __backup--; else cputc(*fp->bptr, f_log); return(*fp->bptr++); } copen.cÙuø¤� /** ** open a file **/ int __Filemode 0644; copen(filename, xmode) char *filename; int xmode; { register int fn; register int mode; mode = xmode; switch (mode) { case 'r': /* read mode */  mode = 0; case 0: fn = open(filename, 0); break; case 'm': /* modify */ mode = 3; case 3: fn = open(filename, 2); break; case 'a': /* append */ mode = 2; case 2: fn = open(filename, 1); if (fn >= 0) break; case 'w': /* write */ mode = 1; case 1: fn = creat(filename, __Filemode); break; default: __error("copen: bad file mode %o on %s", mode, filename); } if (fn >= 0) __makbuf(fn, mode); return (fn); } cputc.cÙuø¤�©# include "iodec.h" /** ** put a single character **/ int f_log 0; cputc(c, fn) char c; int fn; { register struct fileps *fp; extern int cout; if (fn < 0 || fn >= MAXFILES) __error("cputc: illegal file number %d", fn); fp = &__filehdr[fn]; if (fp->wrflag == 1) __error("cputc: file %d not open for write", fn); if (fp->wrflag == 0) __makbuf(fn, 1); if (f_log > 0 && fn == cout) cputc(c, f_log); *fp->bptr++ = c; if (++fp->nchars < fp->bsize) return (c); if (fp->wrflag == 3) { seek(fn, 0, 2); fp->wrflag = 2; } if (write(fn, fp->bptr = fp->buff, fp->nchars) < fp->nchars) __error("cputc: write error on %d", fn); fp->nchars = 0; return (c); } cread.cÙuø¤�Ý/** ** block read **/ cread(buff, itemlen, nitems, fn) char *buff; int itemlen, nitems; int fn; { register int n; register int r; n = read(fn, buff, itemlen * nitems); r = n < 0 ? -1 : n / itemlen; return (r); } %cwrite.cÙuø¤�à/** ** block write **/ cwrite(buff, itemlen, nitems, fn) char *buff; int itemlen, nitems; int fn; { register int n; register int r; n = write(fn, buff, itemlen * nitems); r = n < 0 ? -1 : n / itemlen; return (r); } flush.cÙuø¤� # include "iodec.h" /** ** flush all i/o buffers **/ flush() { register int i; for (i = 0; i < MAXFILES; i++) if (__filehdr[i].wrflag) cflush(i); } ftoa.cÙvø¤�k /* ** FLOATING POINT TO ASCII CONVERSION ** ** 'Value' is converted to an ascii character string and stored ** into 'ascii'. Ascii should have room for at least 'width' + 1 ** characters. 'Width' is the width of the output field (max). ** 'Prec' is the number of characters to put after the decimal ** point. The format of the output string is controlled by ** 'format'. ** ** 'Format' can be: ** e or E: "E" format output ** f or F: "F" format output ** g or G: "F" format output if it will fit, otherwise ** use "E" format. ** n or N: same as G, but decimal points will not always ** be aligned. ** ** If 'format' is upper case, the "E" comes out in upper case; ** otherwise it comes out in lower case. ** ** When the field width is not big enough, it fills the field with ** stars ("*****") and returns zero. Normal return is the width ** of the output field (sometimes shorter than 'width'). */ ftoa(value, ascii, width, prec1, format) double value; char *ascii; int width; int prec1; char format; { int expon; int sign; register int avail; register char *a; register char *p; char mode; int lowercase; int prec; prec = prec1; mode = format; lowercase = 'a' - 'A'; if (mode >= 'a') mode =- 'a' - 'A'; else lowercase = 0; p = ecvt(value, prec + 1, &expon, &sign); if (mode != 'E') { avail = width; a = ascii; /* output sign */ if (sign) { avail--; *a++ = '-'; } if (expon < 0) { *a++ = '0'; avail--; } /* compute space length left after dec pt and fraction */ avail =- prec + 1; if (mode == 'G') avail =- 4; if (avail >= expon) { /* it fits. round it right and output */ avail = expon - 1; if (avail < 0) avail = 0; p = fcvt(value, avail + prec, &expon, &sign); while (expon > 0) { /* output left of dp */ expon--; if (*p) { *a++ = *p++; } else *a++ = '0'; } /* output fraction (right of dec pt) */ goto frac_out; } /* won't fit; let's hope for G format */ } avail = width - 5; if (mode != 'F') { /* try to do E style output */ a = ascii; /* output the sign */ if (sign) { *a++ = '-'; avail--; } } /* check for field too small */ if (mode == 'F' || avail < prec) { /* sorry joker, you lose */ a = ascii; for (avail = width; avail > 0; avail--) *a++ = '*'; *a = 0; return (0); } /* it fits; output the number */ mode = 'E'; /* output the LHS single digit */ if (expon > 0) { *a++ = *p++; expon--; } else *a++ = '0'; /* output the rhs */ frac_out: *a++ = '.'; avail = expon; while (prec > 0) { prec--; if (avail < 0) { avail++; *a++ = '0'; } else { if (*p) *a++ = *p++; else *a++ = '0'; } } /* output the exponent */ if (mode == 'E') { *a++ = 'E' + lowercase; if (expon < 0) { *a++ = '-'; expon = -expon; } else *a++ = '+'; *a++ = (expon / 10) % 10 + '0'; *a++ = expon % 10 + '0'; } /* output spaces on the end in G format */ if (mode == 'G') { *a++ = ' '; *a++ = ' '; *a++ = ' '; *a++ = ' '; } /* finally, we can return */ *a = 0; avail = a - ascii; return (avail); } getchar.cÙvø¤�Ý/** ** input character from standard input. ** the global variable "cin" may be set to the descriptor ** of the file to be input from. Its default is zero. **/ getchar() { extern int cin; return (cgetc(cin)); } /gets.cÙvø¤�Ú/** ** read a string **/ gets(s) char *s; { register char *p; register char c; p = s; while (c = getchar()) { if (c == '\n') break; *p++ = c; } if (c == '\0') return (0); *p = '\0'; return (s); } intss.cÙvø¤�•/** ** returns true if running in foreground, zero if in background **/ intss() { int a[3]; if (gtty(0, a) == 0) return (1); return (0); } piodec.hÙvø¤�ú# define MAXFILES 15 struct fileps { char *buff; /* beginning of buffer */ char *bptr; /* current position */ int nchars; /* number of characters internal */ int bsize; /* size of buffer */ char eoferr; /* end of file flag */ char wrflag; /* mode flag */ char *pbuff; /* bottom of peek buffer */ }; struct fileps __filehdr[MAXFILES]; struct param { int bufsize; /* initial buffer size */ int peeksize; /* initial peek size */ }; extern struct param __param; int __statbuf[MAXFILES]; portlib.cÙvø¤�K# include "iodec.h" struct param __param { 512, 32 }; int yyportlib 1; *portlib.shÙvøí�‡echo "creating new portable C library" cc -c -O -f *.c as !cin.s mv a.out !cin.o as !cout.s mv a.out !cout.o as __exit.s mv a.out __exit.o as alloc.s mv a.out alloc.o ar rv portlib \ scanf.o \ gets.o \ getchar.o \ cgetc.o \ ungetc.o \ tmpnam.o \ printf.o \ clenf.o \ puts.o \ putchar.o \ cputc.o \ copen.o \ __makbuf.o \ ceof.o \ rew.o \ ftoa.o \ cexit.o \ __exit.o \ flush.o \ cclose.o \ cflush.o \ system.o \ __error.o \ __prtint.o \ wdleng.o \ portlib.o \ __length.o \ calloc.o \ alloc.o \ intss.o \ cread.o \ cwrite.o \ !cin.o \ !cout.o \ rm *.o echo "new portlib in ./portlib" echo "move it to /lib/libP.a" tprintf.cÙvø¤�° # include "iodec.h" # define BUFSIZ 80 /** ** formated print **/ printf(parlist) char *parlist; { register char *fmt, c; char buf[BUFSIZ]; extern char *__prtshort(), *__prtld(), *__prtld(); double *dblptr; int mode; char *fd; register char **p; int width, prec; int left, longf; char padchar; char *s; int n; auto (*fn)(); int len; p = &parlist; fd = 0; mode = 0; /* mode zero, putchar */ if (parlist + 1 < MAXFILES + 1) { mode++; /* mode one, cputc */ fd = *p++; } if (fd == -1) { mode++; /* mode two, string */ fd = *p++; } fmt = *p++; while (c = *fmt++)  { if (c != '%') { __putch(mode, &fd, c); continue; } left = 0; if ((c = *fmt++) == '-') { c = *fmt++; left++; } padchar = ' '; if (c == '0') { padchar = c; c = *fmt++; } width = -1; while (c >= '0' && c <= '9') { if (width < 0) width = 0; width = width * 10 + (c - '0'); c = *fmt++; } prec = -1; if (c == '.') { prec = 0; c = *fmt++; } while (c >= '0' && c <= '9') { prec = prec * 10 + (c - '0'); c = *fmt++; } longf = 0;  if (c == 'l') { longf++; c = *fmt++; } /* we now have all the prelims out of the way; let's see what we want to print */ s = buf; switch (c) { case 'd': /* decimal signed */ case 'D': if (longf) fn = __prtld; else fn = __prtshort; __prtint(p++, buf, 10, 1, fn, 0); if (longf) p++; break; case 'u': /* decimal unsigned */ case 'U': __prtint(p++, buf, 10, 0, __prtshort, 0); break; case 'o': /* octal unsigned */ case 'O':  __prtint(p++, buf, 8, 0, __prtshort, 0); break; case 'x': /* hexadecimal unsigned */ case 'X': __prtint(p++, buf, 16, 0, __prtshort, c == 'X'); break; case 's': /* string */ case 'S': s = *p++; break; case 'c': /* character */ case 'C': n = *p++; buf[0] = n; buf[1] = '\0'; break; case 'e': /* exponential */ case 'E': case 'f': /* floating */ case 'F': case 'g': /* e or f */ case 'G': case 'n': case 'N': dblptr = p; if (prec < 0) prec = 7; ftoa(*dblptr, buf, sizeof buf - 1, prec, c); while (*s == ' ') s++; p =+ 4; prec = -1; break; default: /* just print the character */ __putch(mode, &fd, c); continue; } len = __length(s); if (prec < len && prec >= 0) len = prec; n = width - len; if (!left) { if (padchar != ' ' && *s == '-') { len--; __putch(mode, &fd, *s++); } while (n-- > 0) __putch(mode, &fd, padchar); } while (len--) __putch(mode, &fd, *s++); while (n-- > 0) __putch(mode, &fd, padchar); } if (mode == 2) *fd = '\0'; } __putch(mode, pfd, c) int mode; char c; char **pfd; { switch (mode) { case 0: putchar(c); break; case 1: cputc(c, *pfd); break; case 2: *(*pfd)++ = c; break; } return (c); } char *__prtld(pobj, pbuf, base, signed, digs) long *pobj; char **pbuf; int base; int signed; char *digs; { long n; register char *p; p = digs; n = *pobj; if (signed && n < 0) { *(*pbuf)++ = '-'; n = -n; } for (; n != 0; n =/ base) *p++ = n % base; return (p); } putchar.cÙvø¤�w/** ** put a single character to the standard output **/ putchar(c) char c; { extern int cout; cputc(c, cout); } puts.cÙvø¤�±/** ** put a string to the standard output **/ puts(s) char *s; { register char c; register char *p; for (p = s; c = *p++; ) putchar(c); putchar('\n'); return (s); } drew.cÙvø¤�¹# include "iodec.h" /** ** rewind a file **/ rew(fn) int fn; { register struct fileps *fp; if (fn < 0 || fn >= MAXFILES) __error("rew: bad file number %d", fn); fp = &__filehdr[fn]; if (fp->wrflag == 0) return; switch (fp->wrflag) { case 3: fp->wrflag = 2; return; case 4: /* modify */ case 2: /* write */ cflush(fn); case 1: /* read */ fp->nchars = fp->eoferr = 0; seek(fn, 0, 0); return; } } sscanf.cÙvø¤‘¯# include "iodec.h" /* ** formatted read routine ** ** based on scanf() in the portable C library */  int (*__getc)(), (*__ungc)(); int __input; scanf(paramlist) char *paramlist; { extern cgetc(), ungetc(); extern __gets(), __ungs(); register char **p; extern int cin; register int nmatch; char *format; register char ch; char match_ch; p = ¶mlist; __getc = cgetc; __ungc = ungetc; __input = cin; if (paramlist == -1) { p++; __getc = __gets; __ungc = __ungs; __input = p++; } else if (paramlist >= 0 && paramlist < MAXFILES) { __input = *p++; } nmatch = 0; format = *p++; while (1) { switch (ch = *format++) { case '\0': return (nmatch); case '%': if (*format != '%') { switch (__scan(&format, *p)) { case 1: /* good return */ p++; nmatch++; case 0: /* no return */ break; case -1: /* no match */ return (nmatch); case -2: /* end of file */ return (nmatch ? nmatch : -1); default: /* syntax error */ return (-1); } break; } format++; default: match_ch = __next(0); if (ch != match_ch) { (*__ungc)(match_ch, __input); return (nmatch ? nmatch : -2); } break; } } } __scan(spec, result) char **spec; char *result; { register int longf, length; register char ch; extern int __strend(), __splend(); longf = length = 0; while (1) { switch (ch = *(*spec)++) { case '*': result = 0; break; case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': length = length * 10 + ch - '0'; break; case 'l': if (longf) return (-3); longf = 1; break; case 'h': /* short */ if (longf) return (-3); longf = -1; break; case 'o': case 'O': return (__dec(result, length ? length : 100, 8, longf)); case 'd': case 'D': return (__dec(result, length ? length : 100, 10, longf)); case 'x': case 'X': return (__dec(result, length ? length : 100, 16, longf)); case 'c': case 'C': if (longf) return (-3); return (__char(result, length ? length : 1)); case 's': case 'S': if (longf) return (-3); return (__str(result, length ? length : 100, __strend)); case 'e': case 'E': case 'f': case 'F': if (longf < 0) return (-3); return (__float(result, length ? length : 100, longf)); case '[': if (longf) return (-3); if (__inits(spec)) return (-3); return (__str(result, length ? length : 100, __splend)); default: return (-3); } } } __dec(result, length, base, longf) int *result; int length; int base; int longf; { register char ch; long n, *lresult; register int val; long lres; int ires; int minus, ok; register int ndigit; ires = 0; lres = 0; ndigit = minus = 0; switch (ch = __next(1)) { case '\0': return (-2); case '-': minus = 1; case '+': ndigit++; ch = __next(-1); } ok = 0; while ((val = __digit(ch, base)) >= 0 && ndigit++ < length) { ok++; if (longf) lres = lres * base + val; else ires = ires * base + val; ch = __next(0); } (*__ungc)(ch, __input); if (!ok) return (-1); if (!result) return (0); if (minus) if (longf) lres = -lres; else ires = -ires; if (longf) { lresult = result; *lresult = lres; } else *result = ires; return (1); } __next(mode) int mode; { /* * mode -1: get next non-space or non-tab * mode 0: get next character * mode 1: get next non-space, non-tab, or non-newline */ register int ch; ch = (*__getc)(__input); if (mode == 0) return (ch); while (ch == ' ' || ch == '\t' || ch == '\n') { if (ch == '\n' && mode < 0) break; ch = (*__getc)(__input); } return (ch); } __digit(ch, base) char ch; int base; { register int n; if (ch < '0') return (-1); if (ch <= '7') return (ch - '0'); if (base == 8) return (-1); if (ch <= '9') return (ch - '0'); if (base == 10 || ch < 'A') return (-1); if (ch <= 'F') return (ch - 'A' + 10); if (ch < 'a' || ch > 'f') return (-1); return (ch - 'a' + 10); } __fltend(cha) char cha; { register char ch; static char gote, gotpt, gotsn; ch = cha; if (ch < 0) return (gote = gotpt = gotsn = 0); if (ch >= '0' && ch <= '9') { gotsn = -1; return (0); } if (ch == '+' || ch == '-') { if (gotsn || gotpt) return (1); gotsn = 1; return (0); } if (ch == '.') { if (gote || gotpt) return (1); gotpt++; return (0); } if (ch != 'e' && ch != 'E') return (1); if (gote) return (1); gote++; gotsn = 0; return (0); } __strend(cha) char cha; { register char ch; ch = cha; if (ch == ' ' || ch == '\t' || ch == '\n' || ch == '\0') return (1); return (0); } char __splset[128]; __splend(ch) char ch; { return (__splset[ch]); } __inits(spec) char **spec; { register char ch; register int i; register int val; ch = *(*spec)++; if (ch == '^') { val = 0; ch = *(*spec)++; } else val = 1; for (i = 1; i < 128; i++) __splset[i] = val; val = 1 - val; while (ch != ']') { if (ch == 0) return (-1); __splset[ch & 0177] = val; ch = *(*spec)++; } __splset[0] = 1; return (0); } __float(result, length, longf) double *result; int length; int longf; { extern int __fltend(); char temp[101]; float *fres; register int r; double x; extern double atof(); __fltend(-1); r = __str(temp, length, __fltend); if (r < 0) return (r); if (!result) return (0); x = atof(temp); if (longf) { *result = x; return (1); } fres = result; *fres = x; return (1); } __str(result, length, endfn) char *result; int length; int (*endfn)(); { register char ch; extern int __splend(); register int imode, notok; notok = 1; imode = (endfn != __splend); while (!(*endfn)(ch = __next(imode)) && length-- > 0) { if (result) *result++ = ch; imode = notok = 0; } (*__ungc)(ch, __input); if (notok) return (ch ? -1 : -2); if (!result) return (0); *result = 0; return (1); } __char(result, length) char *result; int length; { register char *r, ch; register int l; r = result; l = length; while (l--) { if ((ch = __next(0)) <= 0) if (l + 1 == length) return (ch ? -1 : -2); else return (result != 0); if (result) *result++ = ch; } return (result != 0); } __gets(s) char **s; { register char c; c = **s; if (c) (*s)++; return (c); } __ungs(c, s) char c; char **s; { if (c) (*s)--; } ;system.cÙvø¤�\/** ** make a system call **/ system(str) char *str; { int status; register int i; register int pid; pid = fork(); if (pid == -1) __error("system: fork error"); if (pid == 0) { execl("/bin/sh", "-sh", "-c", str, 0); __error("system: exec error"); } while ((i = wait(&status)) != -1) if (i == pid) break; return(status); } tmpnam.cÙvø¤�œ/** ** generate temporary file name **/ int __tmpnumber 0; tmpnam(s) char *s; { printf(-1, s, "pl%d%c", getpid(), 'A' + __tmpnumber++); return (s); } ungetc.cÙvø¤�C# include "iodec.h" /** ** return a single character to the io buffer **/ ungetc(c, fn) char c; int fn; { register struct fileps *fp; extern int __backup; extern int f_log, cin; if (fn < 0 || fn >= MAXFILES) __error("ungetc: illegal file number %d", fn); fp = &__filehdr[fn]; if (fp->wrflag == 2) __error("ungetc: file %d not open for reading", fn); if (fp->wrflag == 0) __makbuf(fn, 0); if (fp->bptr == fp->pbuff) __error("ungetc: file %d: peek buffer full", fn); if (f_log > 0 && fn == cin) __backup++; *--fp->bptr = c; fp->nchars++; return (c); } fwdleng.cÙvø¤�u/** ** return word length ** this version is specific to UNIX running on a PDP-11 **/ wdleng() { return (16); } eFILES) __error("ungetc: illegal file number %d", fn); fp = &__filehdr[fn]; if (fp->wrflag == 2) __error("ungetc: file %d not open for reading", fn); if (fp->wrflag == 0) __makbuf(fn, 0); if (fp->bptr == fp->pbuff) __error("ungetc: file %d: peek buffer full", fn); if (f_log > 0 && fn == cin) __backup++; *--fp->bptr = c; fp->nchars++; return (c); } fwdleng.cÙvø¤�u/** ** return word tbl -ms READ_ME | nroff pr */READ_ME cd ex-1.1 pr SETUP SYSDEP nroff -ms NOTE nroff -ms CORRECTIONS LES) __error("ungetc: illegal file number %d", fn); fp = &__filehdr[fn]; if (fp->wrflag == 2) __error("ungetc: file %d not open for reading", fn); if (fp->wrflag == 0) __makbuf(fn, 0); if (fp->bptr == fp->pbuff) __error("ungetc: file %d: peek buffer full", fn); if (f_log > 0 && fn == cin) __backup++; *--fp->bptr = c; fp->nchars++; return (c); } fwdleng.cÙvø¤�u/** ** return word eÿbigger.pߥ«% ¤�(* * Graphic representation of a function * f(x) = exp(-x) * sin(2 * pi * x) *) program graph1(output); const d = 0.0625; (* 1/16, 16 lines for interval [x, x+1] *) s = 32; (* 32 character width for interval [x, x+1] h = 34; (* Character position of x-axis *) c = 6.28138; (* 2 * pi *) lim = 32; var x, y: real; i, n: integer; begin for i := 0 to lim begin x := d / i; y := exp(-x9 * sin(i * x); n := Round(s * y) + h; repeat write(' '); n := n - 1 writeln('*') end. bigger2.pߨ«% ¤�¨(* * Graphic representation of a function * f(x) = exp(-x) * sin(2 * pi * x) *) program graph1(output); const d = 0.0625; (* 1/16, 16 lines for interval [x, x+1] *) s = 32; (* 32 character width for interval [x, x+1] h = 34; (* Character position of x-axis *) c = 6.28138; (* 2 * pi *) lim = 32; var x, y: real; i, n: integer; begin for i := 0 to lim begin x := d / i; y := exp(-x9 * sin(i * x); n := Round(s * y) + h; repeat write(' '); n := n - 1 writeln('*') end. bigger3.p߬«% ¤�Ä\0\0\0\0\01\0\0(* \0\0\0\0\02\0\0\0* Graphic representation of a function \0\0\0\0\03\0\0\0* f(x) = exp(-x) * sin(2 * pi * x) \0\0\0\0\04\0\0\0*) \0\0\0\0\05\0\0program graph1(output); \0\0\0\0\06\0\0const \0\0\0\0\07\0\0\0\0\0\0\0\0\0\0d = 0.0625; (* 1/16, 16 lines for interval [x, x+1] *) \0\0\0\0\08\0\0\0\0\0\0\0\0\0\0s = 32; (* 32 character width for interval [x, x+1] \0\0\0\0\09\0\0\0\0\0\0\0\0\0\0h = 34; (* Character position of x-axis *) \0\0\0\010\0\0\0\0\0\0\0\0\0\0c = 6.28138; (* 2 * pi *) \0\0\0\011\0\0\0\0\0\0\0\0\0\0lim = 32; \0\0\0\012\0\0var \0\0\0\013\0\0\0\0\0\0\0\0\0\0x, y: real; \0\0\0\014\0\0\0\0\0\0\0\0\0\0i, n: integer; \0\0\0\015\0\0begin \0\0\0\016\0\0\0\0\0\0\0\0\0\0for i := 0 to lim begin \0\0\0\017\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0x := d / i; \0\0\0\018\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0y := exp(-x9 * sin(i * x); \0\0\0\019\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0n := Round(s * y) + h; \0\0\0\020\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0repeat \0\0\0\021\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0write(' '); \0\0\0\022\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0n := n - 1 \0\0\0\023\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0writeln('*') \0\0\0\024\0\0end. bigger4.pß°«% ¤�(* * Graphic representation of a function * f(x) = exp(-x) * sin(2 * pi * x) *) program graph1(output); const d = 0.0625; (* 1/16, 16 lines for interval [x, x+1] *) s = 32; (* 32 character width for interval [x, x+1] *) h = 34; (* Character position of x-axis *) c = 6.28138; (* 2 * pi *) lim = 32; var x, y: real; i, n: integer; begin for i := 0 to lim do begin x := d / i; y := exp(-x) * sin(c * x); n := round(s * y) + h; repeat write(' '); n := n - 1 until n = 0; writeln('*') end end. bigger5.pß³«% ¤�(* * Graphic representation of a function * f(x) = exp(-x) * sin(2 * pi * x) *) program graph1(output); const d = 0.0625; (* 1/16, 16 lines for interval [x, x+1] *) s = 32; (* 32 character width for interval [x, x+1] *) h = 34; (* Character position of x-axis *) c = 6.28138; (* 2 * pi *) lim = 32; var x, y: real; i, n: integer; begin for i := 0 to lim do begin x := d / i; y := exp(-x) * sin(c * x); n := round(s * y) + h; repeat write(' '); n := n - 1 until n = 0; writeln('*') end end. bigger6.pßµ«% ¤�'\0\0\0\0\01\0\0(* \0\0\0\0\02\0\0\0* Graphic representation of a function \0\0\0\0\03\0\0\0* f(x) = exp(-x) * sin(2 * pi * x) \0\0\0\0\04\0\0\0*) \0\0\0\0\05\0\0program graph1(output); \0\0\0\0\06\0\0const \0\0\0\0\07\0\0\0\0\0\0\0\0\0\0d = 0.0625; (* 1/16, 16 lines for interval [x, x+1] *) \0\0\0\0\08\0\0\0\0\0\0\0\0\0\0s = 32; (* 32 character width for interval [x, x+1] *) \0\0\0\0\09\0\0\0\0\0\0\0\0\0\0h = 34; (* Character position of x-axis *) \0\0\0\010\0\0\0\0\0\0\0\0\0\0c = 6.28138; (* 2 * pi *) \0\0\0\011\0\0\0\0\0\0\0\0\0\0lim = 32; \0\0\0\012\0\0var \0\0\0\013\0\0\0\0\0\0\0\0\0\0x, y: real; \0\0\0\014\0\0\0\0\0\0\0\0\0\0i, n: integer; \0\0\0\015\0\0begin \0\0\0\016\0\0\0\0\0\0\0\0\0\0for i := 0 to lim do begin \0\0\0\017\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0x := d / i; \0\0\0\018\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0y := exp(-x) * sin(c * x); \0\0\0\019\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0n := round(s * y) + h; \0\0\0\020\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0repeat \0\0\0\021\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0write(' '); \0\0\0\022\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0n := n - 1 \0\0\0\023\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0until n = 0; \0\0\0\024\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0writeln('*') \0\0\0\025\0\0\0\0\0\0\0\0\0\0end \0\0\0\026\0\0end. 0bigger7.pß·«% ¤�(* * Graphic representation of a function * f(x) = exp(-x) * sin(2 * pi * x) *) program graph1(output); const d = 0.0625; (* 1/16, 16 lines for interval [x, x+1] *) s = 32; (* 32 character width for interval [x, x+1] *) h = 34; (* Character position of x-axis *) c = 6.28138; (* 2 * pi *) lim = 32; var x, y: real; i, n: integer; begin for i := 0 to lim do begin x := d * i; y := exp(-x) * sin(c * x); n := round(s * y) + h; repeat write(' '); n := n - 1 until n = 0; writeln('*') end end. bigout1ß·«% ¤�‘ 9 h = 34; (* Character position of x-axis *) w \l'\w`  9 h = 34; (`u-\w`w `u\&\(rh'\l'(\w`*`u-\w`^`u)/2 '\(ua\l'(\w`*`u-\w`^`u)/2 '\l'\w`---`u\&\(rh' (* in a (* ... *) comment 16 for i := 0 to lim begin e \l'\w`w `u-\w`e `u '\l'\w` 16 for i := 0 to lim `u-\w`w `u\&\(rh'\l'(\w`b`u-\w`^`u)/2 '\(ua\l'(\w`b`u-\w`^`u)/2 '\l'\w`---`u\&\(rh' Inserted keyword do 18 y := exp(-x9 * sin(i * x); E \l'\w`w `u-\w`E `u '\l'\w` 18 y := exp(-`u-\w`w `u\&\(rh'\l'(\w`x`u-\w`^`u)/2 '\(ua\l'(\w`x`u-\w`^`u)/2 '\l'\w`---`u\&\(rh' Undefined variable e \l'\w`w `u-\w`e `u '\l'\w` 18 y := exp(-x9 * sin(i * x)`u-\w`w `u\&\(rh'\l'(\w`;`u-\w`^`u)/2 '\(ua\l'(\w`;`u-\w`^`u)/2 '\l'\w`---`u\&\(rh' Inserted ')' 19 n := Round(s * y) + h; E \l'\w`w `u-\w`E `u '\l'\w` 19 n := `u-\w`w `u\&\(rh'\l'(\w`R`u-\w`^`u)/2 '\(ua\l'(\w`R`u-\w`^`u)/2 '\l'\w`---`u\&\(rh' Undefined function E \l'\w`w `u-\w`E `u '\l'\w` 19 n := Round(s * y) + `u-\w`w `u\&\(rh'\l'(\w`h`u-\w`^`u)/2 '\(ua\l'(\w`h`u-\w`^`u)/2 '\l'\w`---`u\&\(rh' Undefined variable 23 writeln('*') e \l'\w`w `u-\w`e `u '\l'\w` 23 `u-\w`w `u\&\(rh'\l'(\w`w`u-\w`^`u)/2 '\(ua\l'(\w`w`u-\w`^`u)/2 '\l'\w`---`u\&\(rh' Inserted ';' 24 end. E \l'\w`w `u-\w`E `u '\l'\w` 24 `u-\w`w `u\&\(rh'\l'(\w`e`u-\w`^`u)/2 '\(ua\l'(\w`e`u-\w`^`u)/2 '\l'\w`---`u\&\(rh' Expected keyword until e \l'\w`w `u-\w`e `u '\l'\w` 24 end`u-\w`w `u\&\(rh'\l'(\w`.`u-\w`^`u)/2 '\(ua\l'(\w`.`u-\w`^`u)/2 '\l'\w`---`u\&\(rh' Inserted keyword end matching begin on line 15 In program graph1: \l'(\w`E`u-\w`w`u)/2 'w\l'(\w`E`u-\w`w`u)/2 ' - constant c is never used E - x9 undefined on line 18 E - Round undefined on line 19 E - h undefined on line 19 Execution suppressed due to compilation errors bigout2߸«% ¤�¦Execution begins... Floating divide by zero Error at "graph1"+2 near line 17 Execution terminated abnormally 2 statements executed in 0.01 seconds cpu time bigout3߸«% ¤�EExecution begins... * * * * * * * * *  * * * * * * * * * * * * * * *  * * * * * * * * * Execution terminated 2550 statements executed in 0.27 seconds cpu time bigout4߸«% ¤�[Execution begins... Execution terminated 2550 statements executed in 0.32 seconds cpu time clash.p߸«% ¤�\program clash(output); var i: integer; c: char; begin i := 1; c := i; write(c, i) end. clashout߸«% ¤�yE 7 - Type clash: integer is incompatible with char ... Type of expression clashed with type of variable in assignment comments.pß¹«% ¤�Ú{ This is a left marginal comment. } program hello(output); var i : integer; {This is a trailing comment} j : integer; {This is a right marginal comment} k : array [ 1..10] of array [1..10] of integer; {Marginal, but past the margin} { An aligned, multi-line comment which explains what this program is all about } begin i := 1; {Trailing i comment} {A left marginal comment} {An aligned comment} j := 1; {Right marginal comment} k[1] := 1; writeln(i, j, k[1]) end. comments1.pß¹«% ¤�ä{ This is a left marginal comment. } program hello(output); var i : integer; {This is a trailing comment} j : integer; {This is a right marginal comment} k : array [ 1..10] of array [1..10] of integer; {Marginal, but past the margin} { An aligned, multi-line comment which explains what this program is all about } begin i := 1; {Trailing i comment} {A left marginal comment} {An aligned comment} j := 1; {Right marginal comment} k[1] := 1; writeln(i, j, k[1]) end. commentsoutß¹«% ¤�þ.ta 2.0i { This is a left marginal comment. } program hello(output); var i: integer; {This is a trailing comment} j: integer; {This is a right marginal comment} k: array [1..10] of array [1..10] of integer; {Marginal, but past the margin} { An aligned, multi-line comment which explains what this program is all about } begin i := 1; {Trailing i comment} {A left marginal comment} {An aligned comment} j := 1; {Right marginal comment} k[1] := 1; writeln(i, j, k[1]) end. contents.nß¹«% ¤�<.if !\n(xx .so /usr/lib/tmac.s .nr LL 6.5i .TL UNIX Pascal User's Manual .br Version 1.0 \- November, 1977 .LP .ds CF "- \\n(PN - .ds CH .af PN i .ce .I .LG .LG Table of Contents .NL .R .sp .5i .KS .ta 5.75i .tc . .nf .KE .KS Introduction \0\01 .KE .sp 2 .KS .B 1. Sources of Information \0\02 .R .sp .1 Where to get documentation \0\02 .2 Computer Center short courses \0\02 .3 Documentation describing UNIX \0\02 .4 Text editing documents \0\03 .5 Pascal documents \- the language \0\04 .6 Pascal documents \- the UNIX implementation \0\04 .7 References \0\05 .KE .sp 2 .KS .B 2. Basic UNIX Pascal \0\07 .R .sp .1 A first program \0\07 .2 A larger program \010 .3 Correcting the first errors \011 .4 Executing the second example \014 .5 Formatting the program listing \016 .6 Execution profiling \016 .KE .sp 2 .KS .B 3. Error diagnostics \020 .R .sp .1 Translator syntax errors \020 .2 Translator semantic errors \023 .3 Translator panics, i/o errors \027 .4 Run-time errors \027 .KE .sp 2 .KS .B 4. Input/output \029 .R .sp .1 Introduction \029 .2 Eof and eoln \030 .3 More about eoln \031 .4 Output buffering \032 .5 Files, reset and rewrite \032 .6 Argc and argv \033 .KE .sp 2 .KS .B 5. Details on components of the system \036 .R .sp .1 Options \036 .2 Pi (and pix) \037 .3 Px \039 .4 Pxp \039 .5 Formatting programs using pxp \040 .6 Pcc and carriage control \042 .7 Pxref \042 .8 Pascals \042 .9 Multi-file programs \042 .KE .sp 2 .KS .B A. Appendix to Wirth's Pascal Report \044 .R .sp .1 Extensions to the language Pascal \045 .2 Resolution of the undefined specifications \045 .3 Restrictions and limitations \048 .4 Added types, operators, procedures and functions \048 .5 Remarks on standard and portable Pascal \050 .KE copydata.pß»«% ¤�õprogram copydata(data, output); var ch: char; data: text; begin reset(data); while not eof(data) do begin while not eoln(data) do begin read(data, ch); write(ch) end; readln(data); writeln end end { copydata }. copydataoutß¼«% ¤�"UNIX Pascal PI -- Version 1.0 (September 8, 1977) Fri Sep 9 18:49 1977 copydata.p \0\0\0\0\01\0\0program copydata(data, output); \0\0\0\0\02\0\0var \0\0\0\0\03\0\0\0\0\0\0ch: char; \0\0\0\0\04\0\0\0\0\0\0data: text; \0\0\0\0\05\0\0begin \0\0\0\0\06\0\0\0\0\0\0reset(data); \0\0\0\0\07\0\0\0\0\0\0while not eof(data) do begin \0\0\0\0\08\0\0\0\0\0\0\0\0\0\0while not eoln(data) do begin \0\0\0\0\09\0\0\0\0\0\0\0\0\0\0\0\0\0\0read(data, ch); \0\0\0\010\0\0\0\0\0\0\0\0\0\0\0\0\0\0write(ch) \0\0\0\011\0\0\0\0\0\0\0\0\0\0end; \0\0\0\012\0\0\0\0\0\0\0\0\0\0readln(data); \0\0\0\013\0\0\0\0\0\0\0\0\0\0writeln \0\0\0\014\0\0\0\0\0\0end \0\0\0\015\0\0end { copydata }. Execution begins... line one. line two. line three is the end. Execution terminated 134\0statements executed in 0.04 seconds cpu time csfixß½«% 푊0 "f( ð€&Ð 6÷ ß ð ‰w â _ðõ õeõ @È¥- @ð¥d·Š õ õeõ  @È¥-·Šê õ õeõ  Î æH æß Î –%Îß ð ÷ \À &÷ žÀ ÷‹¬ ÷ H÷ Îï÷‹š ÷ Òé÷ êÀ å÷ pÀ ÷ –÷‹| ÷ ²÷  Ö ß ð w —w  !Ä\ÎV ß $ �Ã¥ À�À%ÿÿÔ�ÎV ß $ �òÀ�À%ÿÿ  ŠÀwÐ Þw ¾ Ã\Ë‹ó‹ó‹Ë¥- ó¥-ó¥-Àƒ è wŒ áw z ZÎ\æV ß ÖÖ ÷¥w Î\æ\ ß ÖÖ Ä\̥̋^„ ø‚ ô¥ÿÿô¥|þÿÄåÀå\œüÀå\0ŠüÎüæt ß ÖÖ Àå\ð�üÀ�æŽ ß ÖÖ Î¦ ß ÖÀ�æ« ß ÖÖ ŽÎeæÃ ß ÖÖ wÐ¥w ¾À�  Á0 7ä þy Àw¢ìw � Î\æüß ¦Ö wˆöw v÷‹Ä  ß .Î\æÙ ß ÖÖ w^îw L÷¥ ¢ ÷¥ › ÷¥w”  ÎÝ ß ÖÎ_ß ÖÎ ß ÖÀwàw Ä\Ì¥-„ ú ŠÎeæ÷ Ö &æ ß Ö–%wÞæw Ì-Â\ʋʥ|‚ øõ‹Ê‹À\Ä\Ãü„ ƒÌ¥ Ó•\Ó•0“„ óæß ¦Ö Àüw|Òw jÄ\Ì¥ Ì¥0Ì¥9„ ô“ ŠÎß .Ì�æüæ3 ß Ö–%w6àw $ÎB fÎefß ò–%ww Æå€w¢DƒÁ˜B”— %“�ùw†Æ €f& æà&÷ úÆe w̃7 `7 `÷ \ׯP-· H· Fׯ@0÷0>÷~w,7 . .÷lw"ÁÜ B�w* ùJÀŸ·  o x d u÷ ä  ÂÀ �    € Ó•- f&Ew÷ –Ó•0÷ „…N r@A r‚ À � �à€ fÄ ÷ Ôÿ€Àe0 9Àe'�‡•à •)à 'Á4ƒÂ ƒŒÒ‹ƒ D~ÀÂ÷ ˆÀ€ ÷ ÀÂ÷ p7èwFþ‚ƒàÁÚÁà ÷ Ô æÒffæ¦÷ FÆe wþ7 ´ ÀŸª· ¦Àå0 úÿ ‚· ’Wp `ìÀe0ƒÄeÓ•?‡w ÎDCB Ž•&ß ØÖ à ò z� Š Žf ß ØÖ µ õ Ì¥-êõ%0 æò Ü:•Š Þ:•Š ò ùŽ•&ß ØÖ à õò z� Š Žf ß ØÖ õ õ íw2w "DôµÎ$ ß XôµÎfÎe�&ß Î –%4 ?)Ä%B άæß h Ö À ôœÌœØ4 ôÕÒÎß ¾€4À%ÿÿïôÕà €à Φ�&ß Î –%ôÿR�Œà ôÕ Àÿÿwd@ûw ND�ÀEùÿÀ%ÀàÌôŽæ�&ß Î –%€ ôÕ ww Ä: ß ÄeÄ-Ìø‚wöw æDôµß ¬�ß ª ôµß � 4 ôÅ?4  w²w ¢D÷ P Îß & ß Ž&æß Î –%Î~ß ð w|w lD ƒ Ô‹ýÀwdw TDCÔ”þ€wLw <÷Uf÷UbÃ`DÄe„ Ë5 ‹ÂÊ5ûÀ À`€ :†ÂÃÃEÂ-.ëƒÃ-(è‚Ä%ÄÀ ß † 7’ ? À%ÿÿÀÿÿwÔÀúÀeÀ-t ÿUêÀ Àmd Àeþÿ?\ 7Öÿ. ÐÿUʳÀ À`7¼ †ÿ´À°ÀU ÀÀeÑw j@Àeþÿ7’ÿEŒw`f…@‰†w^ …‡f…wn‰6 J‡A …‡7 º f…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7ð1@‰< ‡À �1‡w°f…@wΉB †w˜ …‡f…÷¼¸wm²‰F †wxÀ¦wm …‡f…w�‰F †wVw‚ …‡f…@wrwn‰L †w,…‡f…÷ þü@‰@…&æ¦È B„ƒ‚F…‡7€ ÀÿÿF…‡f…@‰EeswHHHHH^Usage: csfix %2.2s\l'\w`w `u-\w`%2.2s`u '\l'\w`%s`u-\w`w `u\&\(rh'\l'(\w`%c`u-\w`^`u)/2 '\(ua\l'(\w`%c`u-\w`^`u)/2 '\l'\w`---`u\&\(rh'%s %s \l'(\w`E`u-\w`w`u)/2 'w\l'(\w`E`u-\w`w`u)/2 ' %s\l'\w`\0\0\0\0`u-\w`.`u\&\(rh'%s %s%s œœÚ ÚdÀoÌxŽfœebcpsšlšLâu´ræDÄOÐXøU(null)writing 0 . 0 0 ‰‰ ‰‰¸‰crt0.ostartcsfix.o~mainargcargv~getlineòcpc~errline<icp~reforma€cpctail~nontriv<~savej~putline„~spwarn®~fixpxpôcp~digitty.yupcpdplp~fixdigi�cpcprintf.oÖ~printfÖfmtargsdata.oòdoprnt.oòformp¢looprjust¤ndigit¨zfillªgnumîwidth ndfnd¦swtabÜ prbuf¾decimalÚoctalÀhexÌfloatŽscienœcharacbstringplongorunšunsignedâremote´longæloctÄlhexÐlunsigneøcomputenulstr prstrÀffltpr.o"strout.o,~_strout,stringcountadjustfilefillch flsbuf.oØ~_flsbufØciopnbasegttybuf¬~fflush¬iopbasen~_cleanuöiop~fcloseioperror.oX~_errorXsreentere´strlen.oŽ~strlenŽsnstrcpy.o¦~strcpy¦s1s2os1alloc.o¾~alloc¾nbytesnwordspqt¶~free� pclose.oª getc.oÀ indirbadretd fillD gtty.oh sbrk.o† ndJ write.oÎ exit.oð csv.oþ cerror.o _exit.o& savr5$ž_exit"ð _main"_flag$R _dflag$T csv"þ _write"Î _getline"ò_errline"<_fixpxp"ô_reforma"€_fixdigi"�_spwarn"®_nontriv"<_save"j_putline"„cret" _ibuf$V _line$\_flagee$ü_getc"$ _printf"Ö_strcpy"¦_digitty".__iob#: __doprnt"ò__sibuf$œ__sobuf$œ__lastbu#Ú pfloat""pscien""__strout",__flsbuf"Ø__error"X_gtty"h _alloc"¾_fflush"¬__cleanu"ö_fclose"_close"ª _free"� __exit"& _strlen"Ž_allocs#. _allocp#2 _alloct#4 _sbrk"† cerror" _getw"Þ _fopen"À _errno$œ_end$¸_brk"® csfix.cß¿«% ¤�' /* * csfix - fix constant spacing for error message flags in troff * * Bill Joy UCB September 11, 1977 * * This would be better written in snobol! * * Normally fixes error flags in a pi listing * Optional - causes fixing of '---' and initial blank widthin a pxp profile. */ char flag, dflag; main(argc, argv) int argc; char *argv[]; { argc--, argv++; if (argc > 0 && argv[0][0] == '-' && argv[0][1] == 'd') dflag++, argc--, argv++; if (argc > 0 && argv[0][0] == '-') flag++, argc--, argv++; if (argc != 0) { write(2, "Usage: csfix\n", 13); exit(1); } while (getline()) { if (errline()) { flag ? fixpxp() : reformat(); continue; } if (flag) { fixdigits(); continue; } if (spwarn()) continue; if (nontriv()) save(); if (dflag) fixdigits(); else putline(); } exit(0); } int ibuf[259]; char line[160], flagee[160]; getline() { register char *cp, c; for (cp = line, c = getc(ibuf); c != '\n' && c != -1; c = getc(ibuf)) *cp++ = c; if (c == -1) return (0); *cp = 0; return (1); } errline() { register int i; register char *cp; for (cp = line; cp[0] && cp[1] && cp[2]; cp++) if (cp[0] == '-' && cp[1] == '-' && cp[2] == '-') return (1); return (0); } reformat() { register char *cp, c, *tail; printf("%2.2s", line); if (line[0] != 'w') printf("\\l'\\w`w `u-\\w`%2.2s`u '", line); for (cp = line; *cp != 0 && *cp != '^'; cp++) continue; tail = cp + 1; if (cp[-1] == '\b' && cp[-2] == '|') cp =- 2; c = flagee[cp - line]; flagee[cp - line] = 0; printf("\\l'\\w`%s`u-\\w`w `u\\&\\(rh'", flagee); flagee[cp - line] = c; printf("\\l'(\\w`%c`u-\\w`^`u)/2 '", c); printf("\\(ua"); printf("\\l'(\\w`%c`u-\\w`^`u)/2 '", c); printf("\\l'\\w`---`u\\&\\(rh'%s\n", tail+3); } nontriv() { switch (line[0]) { case 'E': case 'e': case 'w': case 's': case 0: return (0); } return (1); } save() { strcpy(flagee, line); } putline() { printf("%s\n", flag ? digitty(0) : line); } spwarn() { if (line[0] != ' ' || line[1] != ' ' || line[2] != 'w') return (0); printf(" \\l'(\\w`E`u-\\w`w`u)/2 'w\\l'(\\w`E`u-\\w`w`u)/2 '"); printf(&line[3]); printf("\n"); return (1); } fixpxp() { register char *cp; for (cp = line; *cp != '-'; cp++) continue; *cp = 0; printf("%s\\l'\\w`\\0\\0\\0\\0`u-\\w`.`u\\&\\(rh'%s\n", digitty(1), cp + 3); } digitty(yup) char yup; { register char *cp, *dp, *lp; for (lp = line; *lp && *lp != '|'; lp++) continue; if (yup == 0 && !*lp) return (line); for (cp = line, dp = flagee; cp < lp; cp++) if (*cp == ' ') *dp++ = '\\', *dp++ = '0'; else *dp++ = *cp; strcpy(dp, cp); return (flagee); } fixdigits() { register char *cp, c; for (cp = line; *cp == ' ' || *cp >= '0' && *cp <= '9'; cp++) continue; c = *cp, *cp = 0; digitty(1); *cp = c; printf("%s%s\n", flagee, cp); } tdataß«% ¤�+line one. line two. line three is the end. 'digits.pßÅ«% ¤�gprogram digits(output); var r: real; begin r := 0.; r := .0; r := 1.e10; r := .05e-10; writeln(r) end. digitsoutßÇ«% ¤�Ö 4 r := 0.; e \l'\w`w `u-\w`e `u '\l'\w` 4 r := 0.`u-\w`w `u\&\(rh'\l'(\w`;`u-\w`^`u)/2 '\(ua\l'(\w`;`u-\w`^`u)/2 '\l'\w`---`u\&\(rh' Digits required after decimal point 5 r := .0; e \l'\w`w `u-\w`e `u '\l'\w` 5 r := `u-\w`w `u\&\(rh'\l'(\w`.`u-\w`^`u)/2 '\(ua\l'(\w`.`u-\w`^`u)/2 '\l'\w`---`u\&\(rh' Digits required before decimal point 6 r := 1.e10; e \l'\w`w `u-\w`e `u '\l'\w` 6 r := 1.`u-\w`w `u\&\(rh'\l'(\w`e`u-\w`^`u)/2 '\(ua\l'(\w`e`u-\w`^`u)/2 '\l'\w`---`u\&\(rh' Digits required after decimal point 7 r := .05e-10; e \l'\w`w `u-\w`e `u '\l'\w` 7 r := `u-\w`w `u\&\(rh'\l'(\w`.`u-\w`^`u)/2 '\(ua\l'(\w`.`u-\w`^`u)/2 '\l'\w`---`u\&\(rh' Digits required before decimal point eightout1ßÉ«% ¤�” UNIX Pascal PI -- Version 1.0 (September 6, 1977) Tue Sep 6 10:40 1977 eightqueens.p 1 program eightqueens(output); 2 label 13; 3 var i : integer; 4 a : array [ 1..8 ] of boolean; 5 b : array [ 2..16] of boolean; 6 c : array [-7..7 ] of boolean; 7 x : array [ 1..8 ] of integer; 8 safe : boolean; 10 procedure print; 11 var k, l: integer; 12 begin 13 writeln; 14 writeln('*** Solution to the Eight Queens Problem ***'); 15 writeln; 16 for l := 1 to 8 do begin 17 write(tab, 9 - l : 1, ' '); 18 for k := 1 to 8 do begin  19 if x[l] = k then 20 write('Q ') 21 else if odd (k + l) then 22 write('* ') 23 else 24 write('- ') 25 end; 26 writeln 27 end; 28 writeln; 29 writeln(tab, ' q q q q k k k k'); 30 writeln(tab, ' r n b b n r'); 31 writeln; 32 goto 13 33 end ; 35 procedure trycol(j : integer); 36  var i : integer; 38 procedure setqueen; 39 begin a[i] := false; b[i+j] := false; c[i-j] := false; 40 end ; 42 procedure removequeen; 43 begin a[i] := true; b[i+j] := true; c[i-j] := true; 44 end ; 46 begin 47 repeat i := i+1; safe := a[i] and b[i+j] and c[i-j]; 48 if safe then 49 begin setqueen; x[j] := i; 50 if j < 8 then trycol(j+1) else print; 51 removequeen 52  end 53 until i = 8 54 end; 56 begin 57 for i := 1 to 8 do a[i] := true; 58 for i := 2 to 16 do b[i] := true; 59 for i := -7 to 7 do c[i] := true; 60 trycol(1); 61 writeln('No solutions!'); 62 halt; 63 13: 64 end. Execution begins... *** Solution to the Eight Queens Problem *** 8 Q * - * - * - * 7 * - * - Q - * - 6 - * - * - * - Q 5 * - * - * Q * - 4 - * Q * - * - * 3 * - * - * - Q - 2 - Q - * - * - * 1 * - * Q * - * - q q q q k k k k r n b b n r Execution terminated 4208 statements executed in 0.52 seconds cpu time eightout2ßË«% ¤�¢ UNIX Pascal PXP -- Version 1.0 (September 6, 1977) Tue Sep 6 10:40 1977 [eightqueens.p] Profiled Tue Sep 6 15:24 1977 1 1.---|program eightqueens(output); 2 |label 2 | 13; 3 |var 3  | i: integer; 4 | a: array [1..8] of boolean; 5 | b: array [2..16] of boolean; 6 | c: array [-7..7] of boolean; 7 | x: array [1..8] of integer; 8 | safe: boolean; 10 1.---|procedure print; 11 |var 11 | k, l: integer; 12 |begin 13 | writeln; 14 | writeln('*** Solution to the Eight Queens Problem ***'); 15 | writeln; 16 | for l := 1 to 8 do begin 17 8.---| write(tab, 9 - l: 1, ' '); 18 | for k := 1 to 8 do begin 19 64.---| if x[l] = k then 20 8.---| write('Q ') 20 56.---| else if odd(k + l) then 22 28.---| write('* ') 22 28.---| else 24  28.---| write('- ') 24 64.---| end; 27 | writeln 27 | end; 28 | writeln; 29 | writeln(tab, ' q q q q k k k k'); 30 | writeln(tab, ' r n b b n r'); 31 | writeln; 32 | goto 13 32 |end; 35 113.---|procedure trycol(j: integer); 36 |var 36  | i: integer; 38 113.---|procedure setqueen; 39 |begin 39 | a[i] := false; 39 | b[i + j] := false; 39 | c[i - j] := false 39 |end; 42 105.---|procedure removequeen; 43 |begin 43 | a[i] := true; 43 | b[i + j] := true; 43 | c[i - j] := true 43 |end; 46 113.---|begin 46 | repeat 47 876.---| i := i + 1; 47 | safe := a[i] and b[i + j] and c[i - j]; 48 | if safe then begin 49 113.---| setqueen; 49 | x[j] := i; 50 | if j < 8 then 50 112.---| trycol(j + 1) 50 1.---| else  50 1.---| print; 52 113.---| removequeen 52 | end 52 |until i = 8 52 |end; 56 1.---|begin 57 | for i := 1 to 8 do 57 8.---| a[i] := true; 58 | for i := 2 to 16 do 58 15.---| b[i] := true; 59 | for i := -7 to 7 do 59 15.---| c[i] := true; 60 | trycol(1); 61 | writeln('No solutions!'); 62 | halt; 63 13: 63 1.---| null 63 |end. eightout3ßÏ«% ¤�úExecution begins... Subscript out of range Error at "trycol"+3 near line 49 Called by "trycol"+4 near line 50 Called by "trycol"+4 near line 50 Called by "trycol"+4 near line 50 Called by "trycol"+4 near line 50 Called by "trycol"+4 near line 50 Called by "trycol"+4 near line 50 Called by "trycol"+4 near line 50 Called by "eightque"+4 near line 60 Execution terminated abnormally 3917 statements executed in 0.49 seconds cpu time eightqueens.pßÒ«% ¶�nprogram eightqueens(output); label 13; var i : integer; a : array [ 1..8 ] of boolean; b : array [ 2..16] of boolean; c : array [-7..7 ] of boolean; x : array [ 1..8 ] of integer; safe : boolean; procedure print; var k, l: integer; begin writeln; writeln('*** Solution to the Eight Queens Problem ***'); writeln; for l := 1 to 8 do begin write(tab, 9 - l : 1, ' '); for k := 1 to 8 do begin if x[l] = k then write('Q ') else if odd (k + l) then write('* ') else write('- ') end; writeln end; writeln; writeln(tab, ' q q q q k k k k'); writeln(tab, ' r n b b n r'); writeln; goto 13 end ; procedure trycol(j : integer); var i : integer; procedure setqueen; begin a[i] := false; b[i+j] := false; c[i-j] := false; end ; procedure removequeen; begin a[i] := true; b[i+j] := true; c[i-j] := true; end ; begin repeat i := i+1; safe := a[i] and b[i+j] and c[i-j]; if safe then begin setqueen; x[j] := i; if j < 8 then trycol(j+1) else print; removequeen end until i = 8 end; begin for i := 1 to 8 do a[i] := true; for i := 2 to 16 do b[i] := true; for i := -7 to 7 do c[i] := true; trycol(1); writeln('No solutions!'); halt; 13: end. eightqueens2.pßÕ«% ¶�nprogram eightqueens(output); label 13; var i : integer; a : array [ 1..8 ] of boolean; b : array [ 2..16] of boolean; c : array [-7..7 ] of boolean; x : array [ 0..7 ] of integer; safe : boolean; procedure print; var k, l: integer; begin writeln; writeln('*** Solution to the Eight Queens Problem ***'); writeln; for l := 1 to 8 do begin write(tab, 9 - l : 1, ' '); for k := 1 to 8 do begin if x[l] = k then write('Q ') else if odd (k + l) then write('* ') else write('- ') end; writeln end; writeln; writeln(tab, ' q q q q k k k k'); writeln(tab, ' r n b b n r'); writeln; goto 13 end ; procedure trycol(j : integer); var i : integer; procedure setqueen; begin a[i] := false; b[i+j] := false; c[i-j] := false; end ; procedure removequeen; begin a[i] := true; b[i+j] := true; c[i-j] := true; end ; begin repeat i := i+1; safe := a[i] and b[i+j] and c[i-j]; if safe then begin setqueen; x[j] := i; if j < 8 then trycol(j+1) else print; removequeen end until i = 8 end; begin for i := 1 to 8 do a[i] := true; for i := 2 to 16 do b[i] := true; for i := -7 to 7 do c[i] := true; trycol(1); writeln('No solutions!'); halt; 13: end. eof.pßÙ«% ¤�µprogram number(input, output); label 1; var i: integer; begin while true do begin write('number, please ?'); if eof then goto 1; read(i); writeln('that was an ', i:2); end; 1: end. expr.pßÛ«% ¤�‰program x(output); var a: set of char; b: Boolean; c: (red, green, blue); p: ^ integer; A: alfa; B: packed array [1..5] of char; begin b := true; c := red; new(p); a := []; A := 'Hello, yellow'; b := a and b; a := a * 3; if input < 2 then writeln('boo'); if p <= 2 then writeln('sure nuff'); if A = B then writeln('same'); if c = true then writeln('hue''s and color''s') end. exproutßà«% ¤�'UNIX Pascal PI -- Version 1.0 (September 6, 1977) Thu Sep 1 21:46 1977 expr.p 1 program x(output); 2 var 3 a: set of char; 4 b: Boolean; 5 c: (red, green, blue); 6 p: ^ integer; 7 A: alfa; 8 B: packed array [1..5] of char; 9 begin 10 b := true; 11 c := red; 12 new(p); 13 a := []; 14 A := 'Hello, yellow'; 15 b := a and b; 16 a := a * 3; 17 if input < 2 then writeln('boo'); 18 if p <= 2 then writeln('sure nuff'); 19 if A = B then writeln('same'); 20 if c = true then writeln('hue''s and color''s') 21 end. E 14 - Constant string too long E 15 - Left operand of and must be Boolean, not set E 16 - Cannot mix sets with integers and reals as operands of * E 17 - files may not participate in comparisons E 18 - pointers and integers cannot be compared - operator was <= E 19 - Strings not same length in = comparison E 20 - scalars and Booleans cannot be compared - operator was = e 20 - Input is used but not defined in the program statement In program x: w - constant green is never used w - constant blue is never used w - variable B is used but never set pfirst.pßå«% ¤�;program first(output) begin writeln('Hello, world!') end. rfirstobjoutßè«% ¤�<Hello, world! 1 statement executed in 0.02 seconds cpu time firstobjout2ßé«% ¤�Hello, world! firstoutßé«% ¤�ø 2 begin e \l'\w`w `u-\w`e `u '\l'\w` 2 `u-\w`w `u\&\(rh'\l'(\w`b`u-\w`^`u)/2 '\(ua\l'(\w`b`u-\w`^`u)/2 '\l'\w`---`u\&\(rh' Inserted ';' Execution begins... Hello, world! Execution terminated 1 statement executed in 0.01 seconds cpu time for.cßê«% ¤�main(){for(;;);} lfu.pßê«% ¤�2program x(output);begin d := a + b mod c / e end. katßê«% í�È –ÿkat /úÿ€" zúÿÞ 8 zúÿ»/–ÿßd /þÿ„–ÿdÆd /úÿzúÿ€2!yþÿÄ FyþÿÅ "Í/þÿËŠ(ÎxþÿÓ ÒÿÍÏÎ× ®ÿzúÿÞ \ÿkat.pßê«% ¤�³program kat(input, output); var ch: char; begin while not eof do begin while not eoln do begin read(ch); write(ch) end; readln; writeln end end { kat }. kat1.pßë«% ¤�Ýprogram kat(input, output); var ch: char; begin while not eof do begin while not eoln do begin read(ch); write(ch) end; readln; writeln end end { kat }. dkat2.pßï«% ¤�vprogram kat(input, output); var ch: char; i: integer; name: packed array [1..100] of char; begin i := 1; repeat if i < argc then begin argv(i, name); reset(input, name); i := i + 1 end; while not eof do begin while not eoln do begin read(ch); write(ch) end; readln; writeln end until i >= argc end { kat }. kat2outßò«% ¤�\0\0\0\0\02\0\0\0\0\03\0\0\0\0\05\0\0\0\0\07\0\0\0\011\0\0\0\013\0\0\0\017\0\0\0\019\0\0\0\023\0\0\0\029 \0\0\0\031\0\0\0\037\0\0\0\041\0\0\0\043\0\0\0\047\0\0\0\053\0\0\0\059\0\0\0\061\0\0\0\067\0\0\0\071 \0\0\0\073\0\0\0\079\0\0\0\083\0\0\0\089\0\0\0\097\0\0\0101\0\0\0103\0\0\0107\0\0\0109\0\0\0113 \0\0\0127\0\0\0131\0\0\0137\0\0\0139\0\0\0149\0\0\0151\0\0\0157\0\0\0163\0\0\0167\0\0\0173 \0\0\0179\0\0\0181\0\0\0191\0\0\0193\0\0\0197\0\0\0199\0\0\0211\0\0\0223\0\0\0227\0\0\0229 930\0statements executed in 0.22 seconds cpu time 0kat2out2ßó«% ¤�ëThis is a line of text. This is a line of text. The next line contains only an end-of-file (an invisible control-d!) The next line contains only an end-of-file (an invisible control-d!) 287 statements executed in 0.09 seconds cpu time 3kat3.pßô«% ¤�ßprogram kat(input, output); var ch: char; i: integer; name: packed array [1..100] of char; begin i := 1; repeat if i < argc then begin  argv(i, name); reset(input, name); i := i + 1 end; while not eof do begin while not eoln do begin read(ch); write(ch) end; readln; writeln end until i >= argc end { kat }. 0katinßõ«% ¤�]This is a line of text. The next line contains only an end-of-file (an invisible control-d!) katoutßö«% ¤�qUNIX Pascal PI -- Version 1.0 (September 8, 1977)  Fri Sep 9 18:49 1977 kat.p \0\0\0\0\01\0\0program kat(input, output); \0\0\0\0\02\0\0var \0\0\0\0\03\0\0\0\0\0\0ch: char; \0\0\0\0\04\0\0begin \0\0\0\0\05\0\0\0\0\0\0while not eof do begin \0\0\0\0\06\0\0\0\0\0\0\0\0\0\0while not eoln do begin \0\0\0\0\07\0\0\0\0\0\0\0\0\0\0\0\0\0\0read(ch); \0\0\0\0\08\0\0\0\0\0\0\0\0\0\0\0\0\0\0write(ch) \0\0\0\0\09\0\0\0\0\0\0\0\0\0\0end; \0\0\0\010\0\0\0\0\0\0\0\0\0\0readln; \0\0\0\011\0\0\0\0\0\0\0\0\0\0writeln \0\0\0\012\0\0\0\0\0\0end \0\0\0\013\0\0end { kat }. Execution begins... \0\0\0\0\02\0\0\0\0\03\0\0\0\0\05\0\0\0\0\07\0\0\0\011\0\0\0\013\0\0\0\017\0\0\0\019\0\0\0\023\0\0\0\029 \0\0\0\031\0\0\0\037\0\0\0\041\0\0\0\043\0\0\0\047\0\0\0\053\0\0\0\059\0\0\0\061\0\0\0\067\0\0\0\071 \0\0\0\073\0\0\0\079\0\0\0\083\0\0\0\089\0\0\0\097\0\0\0101\0\0\0103\0\0\0107\0\0\0109\0\0\0113 \0\0\0127\0\0\0131\0\0\0137\0\0\0139\0\0\0149\0\0\0151\0\0\0157\0\0\0163\0\0\0167\0\0\0173 \0\0\0179\0\0\0181\0\0\0191\0\0\0193\0\0\0197\0\0\0199\0\0\0211\0\0\0223\0\0\0227\0\0\0229 Execution terminated 925\0statements executed in 0.27 seconds cpu time \katscriptßû«% ¤�÷\*bThis is a line of text.\fR This is a line of text. \*bThe next line contains only an end-of-file (an invisible control-d!)\fR The next line contains only an end-of-file (an invisible control-d!) 287 statements executed in 0.09 seconds cpu time 0makefigs߬% í�åpix -l copydata.p |* expand | csfix -d >copydataout pi kat2.p ; px obj primes |* csfix -d >kat2out pix -l kat.p katout csfix -d primes-d exit pix primes2.p |* expand | csfix -d >primeout3 number bigger5.p | expand | csfix -d >bigger6.p number bigger2.p | expand | csfix -d >bigger3.p pix bigger.p |* expand | csfix >bigout1 pxp -z primes.p |* expand | csfix - >primeout2 pix first.p |* expand | csfix >firstout pi digits.p |* expand | csfix >digitsout pi -l synerr.p |* expand | csfix >synerrout pix -l synerr2.p |* expand | csfix >synerr2out pi -l mism.p |* expand | csfix >mismout px obj katin >* katscript ed - katscript 1t1 1s/.*/\\*b&\\fR/ 3t3 3s/.*/\\*b&\\fR/ w q px obj xxxxqqq >*xxxxqqqout pi -p kat2.p ; px obj xxxxqqq >*xxxxqqqout2 expand bigger.p >bigger2.p pi -p first.p >* firstobjout2 ; px >* firstobjout2 pi first.p >* firstobjout ; px >* firstobjout (pix bigger7.p >/dev/null) |* expand > bigout4 pix bigger7.p |* expand >bigout3 pix bigger4.p |* expand >bigout2 pxp comments.p |* expand >commentsout expand comments.p >comments1.p pix -p primes.p >primes pix -l -z primes.p |* expand - | csfix - >primeout1 pi clash.p |* expand >clashout pi sin1.p |* expand >sinout1 pi sin2.p |* expand >sinout2 pi -l expr.p | expand >exprout pi typequ.p >typequout pix -l -z eightqueens.p |* expand >eightout1 pxp -z eightqueens.p |* expand >eightout2 pix eightqueens2.p |* expand >eightout3 rm pmon.out obj ed - commentsout 1i .ta 3.25i . g/ *{/s// {/ w q .mism.p߬% ¤�iprogram mismatch(output) begin writeln('***'); { The next line is the last line in the file } writeln pmismout߬% ¤� UNIX Pascal PI -- Version 1.0 (September 8, 1977) Sat Sep 10 15:18 1977 mism.p 1 program mismatch(output) 2 begin e \l'\w`w `u-\w`e `u '\l'\w` 2 `u-\w`w `u\&\(rh'\l'(\w`b`u-\w`^`u)/2 '\(ua\l'(\w`b`u-\w`^`u)/2 '\l'\w`---`u\&\(rh' Inserted ';' 3 writeln('***'); 4 { The next line is the last line in the file } 5 writeln E \l'\w`w `u-\w`E `u '\l'\w` 5 writeln`u-\w`w `u\&\(rh'\l'(\w``u-\w`^`u)/2 '\(ua\l'(\w``u-\w`^`u)/2 '\l'\w`---`u\&\(rh' Unexpected end-of-file - QUIT motdß ¬% ¤�NCory Hall 11/70 For latest news do 'help news' (last updated Tuesday Aug 23) pmon.outß ¬% ¤�4€*# 0L�*primeout1߬% ¤�(UNIX Pascal PI -- Version 1.0 (September 8, 1977) Sat Sep 10 13:19 1977 primes.p \0\0\0\0\01\0\0program primes(output); \0\0\0\0\02\0\0const n = 50; n1 = 7; (*n1 = sqrt(n)*) \0\0\0\0\03\0\0var i,k,x,inc,lim,square,l: integer; \0\0\0\0\04\0\0\0\0\0\0prim: boolean; \0\0\0\0\05\0\0\0\0\0\0p,v: array[1..n1] of integer; \0\0\0\0\06\0\0begin \0\0\0\0\07\0\0\0\0\0write(2:6, 3:6); l := 2; \0\0\0\0\08\0\0\0\0\0x := 1; inc := 4; lim := 1; square := 9; \0\0\0\0\09\0\0\0\0\0for i := 3 to n do \0\0\0\010\0\0\0\0\0begin (*find next prime*) \0\0\0\011\0\0\0\0\0\0\0\0repeat x := x + inc; inc := 6-inc; \0\0\0\012\0\0\0\0\0\0\0\0\0\0\0if square <= x then \0\0\0\013\0\0\0\0\0\0\0\0\0\0\0\0\0\0begin lim := lim+1; \0\0\0\014\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0v[lim] := square; square := sqr(p[lim+1]) \0\0\0\015\0\0\0\0\0\0\0\0\0\0\0\0\0\0end ; \0\0\0\016\0\0\0\0\0\0\0\0\0\0\0k := 2; prim := true; \0\0\0\017\0\0\0\0\0\0\0\0\0\0\0while prim and (k v[k] \0\0\0\021\0\0\0\0\0\0\0\0\0\0\0end \0\0\0\022\0\0\0\0\0\0\0\0until prim; \0\0\0\023\0\0\0\0\0\0\0\0if i <= n1 then p[i] := x; \0\0\0\024\0\0\0\0\0\0\0\0write(x:6); l := l+1; \0\0\0\025\0\0\0\0\0\0\0\0if l = 10 then \0\0\0\026\0\0\0\0\0\0\0\0\0\0\0begin writeln; l := 0 \0\0\0\027\0\0\0\0\0\0\0\0\0\0\0end \0\0\0\028\0\0\0\0\0end ; \0\0\0\029\0\0\0\0\0writeln; \0\0\0\030\0\0end . Execution begins... \0\0\0\0\02\0\0\0\0\03\0\0\0\0\05\0\0\0\0\07\0\0\0\011\0\0\0\013\0\0\0\017\0\0\0\019\0\0\0\023\0\0\0\029 \0\0\0\031\0\0\0\037\0\0\0\041\0\0\0\043\0\0\0\047\0\0\0\053\0\0\0\059\0\0\0\061\0\0\0\067\0\0\0\071 \0\0\0\073\0\0\0\079\0\0\0\083\0\0\0\089\0\0\0\097\0\0\0101\0\0\0103\0\0\0107\0\0\0109\0\0\0113 \0\0\0127\0\0\0131\0\0\0137\0\0\0139\0\0\0149\0\0\0151\0\0\0157\0\0\0163\0\0\0167\0\0\0173 \0\0\0179\0\0\0181\0\0\0191\0\0\0193\0\0\0197\0\0\0199\0\0\0211\0\0\0223\0\0\0227\0\0\0229 Execution terminated 1404\0statements executed in 0.17 seconds cpu time primeout2߬% ¤�W UNIX Pascal PXP -- Version 1.0 (September 10, 1977) Sat Sep 10 13:19 1977 primes.p Profiled Sat Sep 10 13:19 1977 \0\0\0\0\01\0\0\0\0\0\0\0\01.\l'\w`\0\0\0\0`u-\w`.`u\&\(rh'|program primes(output); \0\0\0\0\02\0\0\0\0\0\0\0\0\0\0\0\0\0|const \0\0\0\0\02\0\0\0\0\0\0\0\0\0\0\0\0\0| n = 50; \0\0\0\0\02\0\0\0\0\0\0\0\0\0\0\0\0\0| n1 = 7; (*n1 = sqrt(n)*) \0\0\0\0\03\0\0\0\0\0\0\0\0\0\0\0\0\0|var \0\0\0\0\03\0\0\0\0\0\0\0\0\0\0\0\0\0| i, k, x, inc, lim, square, l: integer; \0\0\0\0\04\0\0\0\0\0\0\0\0\0\0\0\0\0| prim: boolean; \0\0\0\0\05\0\0\0\0\0\0\0\0\0\0\0\0\0| p, v: array [1..n1] of integer; \0\0\0\0\06\0\0\0\0\0\0\0\0\0\0\0\0\0|begin \0\0\0\0\07\0\0\0\0\0\0\0\0\0\0\0\0\0| write(2: 6, 3: 6); \0\0\0\0\07\0\0\0\0\0\0\0\0\0\0\0\0\0| l := 2; \0\0\0\0\08\0\0\0\0\0\0\0\0\0\0\0\0\0| x := 1; \0\0\0\0\08\0\0\0\0\0\0\0\0\0\0\0\0\0| inc := 4; \0\0\0\0\08\0\0\0\0\0\0\0\0\0\0\0\0\0| lim := 1; \0\0\0\0\08\0\0\0\0\0\0\0\0\0\0\0\0\0| square := 9; \0\0\0\0\09\0\0\0\0\0\0\0\0\0\0\0\0\0| for i := 3 to n do begin (*find next prime*) \0\0\0\0\09\0\0\0\0\0\0\0\0\0\0\048.\l'\w`\0\0\0\0`u-\w`.`u\&\(rh'| repeat \0\0\0\011\0\0\0\0\0\0\0\0\0\0\0\0\0\0\076.\l'\w`\0\0\0\0`u-\w`.`u\&\(rh'| x := x + inc; \0\0\0\011\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0| inc := 6 - inc; \0\0\0\012\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0| if square <= x then begin \0\0\0\013\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\05.\l'\w`\0\0\0\0`u-\w`.`u\&\(rh'| lim := lim + 1; \0\0\0\014\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0| v[lim] := square; \0\0\0\014\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0| square := sqr(p[lim + 1]) \0\0\0\014\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0| end; \0\0\0\016\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0| k := 2; \0\0\0\016\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0| prim := true; \0\0\0\017\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0| while prim and (k < lim) do begin \0\0\0\018\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0157.\l'\w`\0\0\0\0`u-\w`.`u\&\(rh'| k := k + 1; \0\0\0\019\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0| if v[k] < x then \0\0\0\019\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\042.\l'\w`\0\0\0\0`u-\w`.`u\&\(rh'| v[k] := v[k] + 2 * p[k]; \0\0\0\020\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0| prim := x <> v[k] \0\0\0\020\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0| end \0\0\0\020\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0|until prim; \0\0\0\023\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0| if i <= n1 then \0\0\0\023\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\05.\l'\w`\0\0\0\0`u-\w`.`u\&\(rh'| p[i] := x; \0\0\0\024\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0| write(x: 6); \0\0\0\024\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0| l := l + 1; \0\0\0\025\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0| if l = 10 then begin \0\0\0\026\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\05.\l'\w`\0\0\0\0`u-\w`.`u\&\(rh'| writeln; \0\0\0\026\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0| l := 0 \0\0\0\026\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0| end \0\0\0\026\0\0\0\0\0\0\0\0\0\0\0\0\0| end; \0\0\0\029\0\0\0\0\0\0\0\0\0\0\0\0\0| writeln \0\0\0\029\0\0\0\0\0\0\0\0\0\0\0\0\0|end. 0primeout3߬% ¤�/Execution begins... \0\0\0\0\02\0\0\0\0\03\0\0\0\0\05\0\0\0\0\07\0\0\0\011\0\0\0\013\0\0\0\017\0\0\0\019\0\0\0\023\0\0\0\029 \0\0\0\031\0\0\0\037\0\0\0\041\0\0\0\043\0\0\0\047\0\0\0\053\0\0\0\059\0\0\0\061\0\0\0\067\0\0\0\071 \0\0\0\073\0\0\0\079\0\0\0\083\0\0\0\089\0\0\0\097\0\0\0101\0\0\0103\0\0\0107\0\0\0109\0\0\0113 \0\0\0127\0\0\0131\0\0\0137\0\0\0139\0\0\0149\0\0\0151\0\0\0157\0\0\0163\0\0\0167Subscript out of range \0\0\0\0\0\0\0\0Error at "primes"+8 near line 14 Execution terminated abnormally 941\0statements executed in 0.17 seconds cpu time 0primes߬% ¤�2 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97 101 103 107 109 113 127 131 137 139 149 151 157 163 167 173 179 181 191 193 197 199 211 223 227 229 primes-d߬% ¤�å\0\0\0\0\02\0\0\0\0\03\0\0\0\0\05\0\0\0\0\07\0\0\0\011\0\0\0\013\0\0\0\017\0\0\0\019\0\0\0\023\0\0\0\029 \0\0\0\031\0\0\0\037\0\0\0\041\0\0\0\043\0\0\0\047\0\0\0\053\0\0\0\059\0\0\0\061\0\0\0\067\0\0\0\071 \0\0\0\073\0\0\0\079\0\0\0\083\0\0\0\089\0\0\0\097\0\0\0101\0\0\0103\0\0\0107\0\0\0109\0\0\0113 \0\0\0127\0\0\0131\0\0\0137\0\0\0139\0\0\0149\0\0\0151\0\0\0157\0\0\0163\0\0\0167\0\0\0173 \0\0\0179\0\0\0181\0\0\0191\0\0\0193\0\0\0197\0\0\0199\0\0\0211\0\0\0223\0\0\0227\0\0\0229 nprimes.p߬% ¶�0program primes(output); const n = 50; n1 = 7; (*n1 = sqrt(n)*) var i,k,x,inc,lim,square,l: integer; prim: boolean; p,v: array[1..n1] of integer; begin write(2:6, 3:6); l := 2; x := 1; inc := 4; lim := 1; square := 9; for i := 3 to n do begin (*find next prime*) repeat x := x + inc; inc := 6-inc; if square <= x then begin lim := lim+1; v[lim] := square; square := sqr(p[lim+1]) end ; k := 2; prim := true; while prim and (k v[k] end until prim; if i <= n1 then p[i] := x; write(x:6); l := l+1;  if l = 10 then begin writeln; l := 0 end end ; writeln; end . primes2.p߬% ¤�0program primes(output); const n = 50; n1 = 6; (*n1 = sqrt(n)*) var i,k,x,inc,lim,square,l: integer; prim: boolean; p,v: array[1..n1] of integer; begin write(2:6, 3:6); l := 2; x := 1; inc := 4; lim := 1; square := 9; for i := 3 to n do begin (*find next prime*) repeat x := x + inc; inc := 6-inc; if square <= x then begin lim := lim+1;  v[lim] := square; square := sqr(p[lim+1]) end ; k := 2; prim := true; while prim and (k v[k] end until prim; if i <= n1 then p[i] := x; write(x:6); l := l+1; if l = 10 then begin writeln; l := 0 end end ; writeln; end . printuman߬% í�’pr printuman : cp /etc/motd motd makefigs pr bugs ls -cs | pr -t ls -l | pr -t pr makefigs nroff contents.n soelim puman[012345A].n | tbl | nroff puman0.nß ¬% ¤� .so tmac.p .RP .TL UNIX Pascal User's Manual .br Version 1.0 \- November, 1977 .AU William N. Joy .AU Susan L. Graham .AU Charles B. Haley\u\(dg\d .AI Computer Science Division .if n Department of Electrical Engineering .if n and Computer Science .if t Department of Electrical Engineering and Computer Science University of California, Berkeley Berkeley, California 94720 ...AI ...MH .AB .PP .UX Pascal is designed for interactive instructional use and runs on the .PD 45 and .PD computers. It produces interpretive code, providing fast translation at the expense of slower execution speed. An execution profiler and Wirth's cross reference program are also available with the system. The system supports full Pascal, with the exception of .B procedure and .B function names as parameters. The language accepted is very close to `standard' Pascal, with only a small number of extensions for the .UX system. .PP The .UM gives a list of sources relating to the .UX system, the Pascal language, and the .UP system. Basic usage examples are provided for the Pascal interpreter components .PI , .X , .IX , and .XP . Errors commonly encountered in these programs are discussed. Details are given of special considerations due to the interactive implementation. A number of examples are provided including many dealing with input/output. An appendix supplements Wirth's .I "Pascal Report" to form the full definition of the .UX implementation of the language. .AE .ND .SH 'if n 'ND Introduction .PP The .UP .UM consists of five major sections and an appendix. In section 1 we give sources of information about .UX , about the programming language Pascal, and about the .UX implementation of the language. Section 2 introduces the .UX implementation and provides a number of basic examples. Section 3 discusses the error diagnostics produced by the translator .PI and the runtime interpreter .X . Section 4 describes input/output with special attention given to features of the interactive implementation and to features unique to .UX . Section 5 gives details on the components of the system and explanation of all relevant options. The .UM concludes with an appendix to Wirth's .I "Pascal Report" with which it forms a precise definition of the implementation. .SH History of the implementation .PP The first .UP system was written by Ken Thompson in early 1976. The main features of the present system result from the work of Charles Haley and William Joy during the latter half of 1976. Earlier versions of this system have been in use since January, 1977. .SH Acknowledgement .PP .12 .RM puman1.nß!¬% ¤‘Q+.if \n(xx .bp .if !\n(xx \{\ .so tmac.p \} .if n 'ND 'nr H1 0 .NH Sources of information .PP This section lists the resources available on the UC Berkeley campus for information about general features of .UX , .UX text editing, the Pascal language, and the .UP implementation, concluding with a list of references. The available documents include both so-called standard documents \- those distributed with all .UX system \- and documents (such as this one) written at Berkeley. .NH 2 Where to get documentation .PP On the UC Berkeley campus, documentation is available at the Computer Center Library, room 218B Evans Hall. The library is open from 8:00 A.M. to 5:00 P.M. Monday through Friday. For classes in the Computer Science Division, Pascal documentation is usually available through a department office. The best source for general .UX documentation is, however, the Computer Center Library. .PP Current documentation for most of the .UX system is also available ``on line'' at your terminal. Details on getting such documentation interactively are given in section 1.3 on .UX documentation. .NH 2 Computer Center short courses .PP For those not enrolled in Computer Science Division courses, and who have no prior experience using .UX , the short-courses offered by the staff of the Computer Center are highly recommended. These courses are offered free of charge, and are usually held at the beginning of each quarter. The two most valuable short courses for the .UX Pascal user are the ones dealing with basic use of .UX , and with .UX text editing. If you are unable to attend the short courses, documents for these courses are available at the Computer Center Library, and are recommended. The documents are in a tutorial format, so it is possible to use them on your own. .NH 2 Documentation describing UNIX .PP The following documents are those recommended as tutorial and reference material about the .UX system. We give the documents with the introductory and tutorial materials first, the reference materials last. .SH Communicating with UNIX .PP This set of documents should be read by every new .UX user. The documents, written by Ricki Blau of the Computer Center Staff, introduce the basic use of the .UX command language processor (the ``shell''), and the most commonly used commands. The author makes no assumptions about prior experience with interactive computing or with .UX . The six documents which comprise the set introduce most of the .UX system features which will be needed by the new Pascal user in order to survive with .UX Pascal. .SH UNIX For Beginners .PP This document is the basic tutorial for .UX available with the standard system. It is a useful introduction to .UX but does not provide as much explanation as .I "Communicating with UNIX." The document is not up-to-date with the current status of the Berkeley system, but is very useful as a supplement to .I "Communicating with UNIX." .SH The UNIX Time Sharing System .PP By the primary authors of .UX , Dennis Ritchie and Ken Thompson, this excellent award-winning article appeared in the .I "Communications of the ACM" in July, 1974 and describes the general features of .UX in an advanced setting. It provides useful details on the design philosophy and inner workings of the .UX system. It makes interesting reading after you have experimented with the system for a while. .SH UNIX Programmer's Manual .PP This manual is the major source of details on the components of the .UX system. It consists of an Introduction, a permuted index, and eight command sections. Section I consists of descriptions of most of the ``commands'' of .UX . Most of the other sections have limited relevance to the user of .UX Pascal, being of interest mainly to system programmers. Portions of the manual are available from the Computer Center Library. .PP .UX documentation often refers the reader to sections of the manual. Such a reference consists of a command name and a section number. An example of such a reference would be: .PI (VI). Here .PI is a command name \- the Pascal interpretive translator, and `(VI)' indicates that the command is part of Section VI of the manual. The other pieces of the .UX Pascal system are the Pascal interpretive executor .X (VI), the combined Pascal translator and interpretive executor .IX (VI), the Pascal execution profiler .XP (VI), the Pascal cross-reference generator .I pxref (VI), and the filter which interprets carriage control .I pcc (VI). .PP It is possible to obtain a copy of a manual section by using the .I man (VI) command. To get the Pascal documentation just described one could issue the command: .LS % \*bman pi\fP .LE to the shell. The user input here is shown in .B "bold face" ; the `% ', which was printed by the shell as a prompt, is not. Similarly the command: .LS % \*bman man\fP .LE asks the .I man command to describe itself. .NH 2 Text editing documents .PP The following documents introduce the various .UX text editors. In addition to the documents described here, there is an implementation of the text editor .I teco available locally. No documentation on this editor is available currently however. .SH Text editing with UNIX .PP This series of documents is used for the short course given at the Computer Center on text editing. It can also be used for self-study, and is the best tutorial currently available on basic text editing. For those not in Computer Science Division courses, the associated short course at the Computer Center on text editing is strongly recommended. .SH A Tutorial Introduction to the UNIX Text Editor .PP This document, written by Brian Kernighan of Bell Laboratories, is the standard tutorial for the .UX text editor .I ed. This document also introduces you to the very basics of text editing, but does not discuss using the system itself at the same time. For this reason, this document is recommended as supplemental reading, along with the document .I "Text editing with UNIX." .SH Ex Reference Manual .PP The text editor .I ex is an enhanced version of the text editor .I ed. It is designed for use by people who have not used a text editor before as well as those experienced editor users who wish to use its new features. This document summarizes the features of .I ex . For persons with little previous editor experience, the tutorials listed above are also recommended. .bp .NH 2 Pascal documents \- The language .PP This section describes the documents on the Pascal language which are likely to be most useful to the .UX Pascal user. Complete references for these documents are given in section 1.7. .SH Pascal User Manual .PP By Kathleen Jensen and Niklaus Wirth, the .I "User Manual" provides a tutorial introduction to the features of the language Pascal, and serves as an excellent quick-reference to the language. The reader with no familiarity with Algol-like languages may prefer one of the Pascal text books listed below, as they provide more examples and explanation. Particularly important here are pages 116-118 which define the syntax of the language. Sections 13 and 14 and Appendix F pertain only to the 6000-3.4 implementation of Pascal. .SH Pascal Report .PP By Niklaus Wirth, this document is bound with the .I "User Manual." It is the guiding reference for implementors and the fundamental definition of the language. Some programmers find this report too concise to be of practical use, preferring the .I "User Manual" as a reference. .SH Books on Pascal .PP Several good books which teach Pascal or use it as a medium are available. The books by Wirth .I "Systematic Programming" and .I "Algorithms + Data Structures = Programs" use Pascal as a vehicle for teaching programming and data structure concepts respectively. They are both recommended. Other books on Pascal are listed in the references below. .NH 2 Pascal documents \- The UNIX Implementation .PP This section describes the documentation which is available describing the .UX implementation of Pascal. .SH User's Manual .PP The document you are reading is the .I "User's Manual" for .UP . We often refer the reader to the Jensen-Wirth .I "User Manual" mentioned above, a different document with a similar name. .SH Manual sections .PP The sections relating to Pascal in the .I "UNIX Programmer's Manual" are .IX (VI), .PI (VI), .I pcc (VI), .X (VI), .I pxp (VI), and .I pxref (VI). These sections give a description of each program, summarize the available options, indicate files used by the program, give basic information on the diagnostics produced and include a list of known bugs. .SH Implementation notes .PP For those interested in the internal organization of the .UX Pascal system there are a series of .I "Implementation Notes" describing these details. The .I "PI 1.0 Implementation Notes" describe the structure of the Pascal translator .PI \|; the .I "PX 1.0 Implementation Notes" describe the Pascal interpreter .X \|; and the .I "PXP 1.0 Implementation Notes" describe the structure of the execution profiler .I pxp . .br .ne 8 .NH 2 References .de re .sp .IP 'nf .. .SH UNIX Documents .re Ricki Blau .I "Communicating With UNIX" Computer Center and Computer Science Division University of California, Berkeley July, 1977. .re William N. Joy .I "Ex Reference Manual \- Version 1.1" Computer Center University of California, Berkeley November, 1977. .re James Joyce .I "Text editing with UNIX" Computer Center University of California, Berkeley July, 1977. .re Brian W. Kernighan .I "A Tutorial Introduction to the UNIX Text Editor" Bell Laboratories Murray Hill, New Jersey. .re Brian W. Kernighan .I "UNIX for Beginners" Bell Laboratories Murray Hill, New Jersey. .re Dennis M. Ritchie and Ken Thompson .I "The UNIX Time Sharing System" Communications of the ACM July 1974 365-378. .KS .re Ken Thompson and Dennis M. Ritchie\*(dg .I "UNIX Programmer's Manual \- Version 6" Bell Laboratories Murray Hill, New Jersey May 1975. .FS \*(dgAt Berkeley a revised version of this manual is available and to be preferred. .FE .KE .ne 12 .SH Pascal Language Documents .re Conway, Gries and Zimmerman .I "A Primer on PASCAL" Winthrop, Cambridge Mass. 1976, 433 pp. .re Kathleen Jensen and Niklaus Wirth .I "Pascal \- User Manual and Report" Springer-Verlag, New York. 1975, 167 pp. .re C. A. G. Webster .I "Introduction to Pascal" Heyden and Son, New York 1976, 129pp. .re Niklaus Wirth .I "Algorithms + Data structures = Programs" Prentice-Hall, New York. 1976, 366 pp. .re Niklaus Wirth .I "Systematic Programming" Prentice-Hall, New York. 1973, 169 pp. .SH UNIX Pascal documents .PP The following documents are available from the Computer Center Library at the University of California, Berkeley. .nf .re Charles B. Haley and William N. Joy .I "PI 1.0 Implementation Notes" In preparation: November, 1977. .re William N. Joy, Susan L. Graham, and Charles B. Haley .I "UNIX Pascal User's Manual \- Version 1.0" November, 1977. .re William N. Joy .I "PX 1.0 Implementation Notes" In preparation: November, 1977. .re William N. Joy .I "PXP 1.0 Implementation Notes" In preparation: November, 1977. Tpuman2.nß!¬% ¤‘ÁU.if \n(xx .bp .if !\n(xx \{\ .so tmac.p \} 'if n 'ND .nr H1 1 .NH Basic UNIX Pascal .PP The following sections explain the basics of using .UP . In examples here we use the text editor .I ex (VI). Users of the text editor .I ed should have little trouble following these examples, as .I ex is similar to .I ed . We use .I ex because it allows us to make clearer examples. The new .UX user will find it helpful to read one of the text editor documents described in section 1.4 before continuing with this section. .NH 2 A first program .PP To prepare a program for .UP we first need to have an account on .UX and to `login' to the system on this account. These procedures are described in the documents .I "Communicating with UNIX" and .I "UNIX for Beginners". .PP Once we are logged in we need to choose a name for our program; let us call it `first' as this is the first example. We must also choose a name for the file in which the program will be stored. The .UP system requires that programs reside in files which have names ending with the sequence `.p' so we will call our file `first.p'. .PP A sample editing session to create this file would begin: .LS % \*bex first.p\fR "first.p" No such file or directory : .LE We didn't expect the file to exist, so the error diagnostic doesn't bother us. The editor now knows the name of the file we are creating. The `:' prompt indicates that it is ready for command input. We can add the text for our program using the `append' command as follows. .LS :\*bappend\fR .B program first(output) begin writeln('Hello, world!') end. \&. .R : .LE The line containing the single `\*b.\fR' character here indicated the end of the appended text. The `:' prompt indicates that .I ex is ready for another command. As the editor operates in a temporary work space we must now store the contents of this work space in the file `first.p' so we can use the Pascal translator and executor .IX on it. .LS :\*bwrite\fR "first.p" 4 lines, 59 characters :\*bquit\fR % .LE We wrote out the file from the edit buffer here with the `write' command, and .I ex indicated the number of lines and characters written. We then quit the editor, and now have a prompt from the shell. .KS .PP We are ready to try to translate and execute our program. .LS % \*bpix first.p\fR .so firstout % .LE .KE .PP The translator first printed a syntax error diagnostic. The number 2 here indicates that the rest of the line is an image of the second line of our program. The translator is saying that it expected to find a `;' before the keyword .B begin on this line. If we look at the Pascal syntax charts in the Jensen-Wirth .I "User Manual" , or at some of the sample programs therein, we will see that we have omitted the terminating `;' of the .B program statement on the first line of our program. .PP One other thing to notice about the error diagnostic is the letter `e' at the beginning. It stands for `error', indicating that our input was not legal Pascal. The fact that it is an `e' rather than an `E' indicates that the translator managed to recover from this error well enough that generation of code and execution could take place. Execution is possible whenever no fatal `E' errors occur during translation. The other classes of diagnostics are `w' warnings, which do not necessarily indicate errors in the program, but point out inconsistencies which are likely to be due to program bugs, and `s' standard-Pascal violations.\*(dg .FS \*(dgThe standard Pascal warnings occur only when the associated .B s translator option is enabled. The .B s option is discussed in sections 5.1 and A.6 below. Warning diagnostics are discussed at the end of section 3.2, the associated .B w option is described in section 5.2. .FE .PP After completing the translation of the program to interpretive code, the Pascal system indicates that execution of the translated program began. The output from the execution of the program then appeared. At program termination, the Pascal runtime system indicated the number of statements executed, and the amount of cpu time used, with the resolution of the latter being 1/60'th of a second. .PP Let us now fix the error in the program and translate it to a permanent object code file .I obj using .PI . The program .PI translates Pascal programs but stores the object code instead of executing it\*(dd. .FS \*(ddThis script indicates some other useful approaches to debugging Pascal programs. As in .I ed we can shorten commands in .I ex to an initial prefix of the command name as we did with the .I substitute command here. We have also used the `!' shell escape command here to execute other commands with a shell without leaving the editor. .FE .LS % \*bex first.p\fR "first.p" 4 lines, 59 characters :\*b1 print\fR program first(output) :\*bs/$/;\fR program first(output); :\*bwrite\fR "first.p" 4 lines, 60 characters :\*b!pi %\fR !pi first.p ! :\*bquit\fR % .LE The first command issued from .I ex with the `!' involved the use of the `%' character which stands in this command for the file we are editing. .I Ex made this substitution, and then echoed back the expanded line before executing the command. When the command finished, the editor echoed the character `!' so that we would know it was done. .PP If we now use the .UX .I ls list files command we can see what files we have: .LS % \*bls\fR first.p obj % .LE The file `obj' here contains the Pascal interpreter code. We can execute this by typing: .LS % \*bpx obj\fR .so firstobjout % .LE Alternatively, `obj' will be noticed to contain a Pascal object by the shell so that the command\*(dg: .FS \*(dgIt should be noted that the `obj' works only with a modified shell. This modification has been made at Berkeley. It may not be available if you are elsewhere. In this case you can use the syntax with .X specified explicitly. .FE .LS % \*bobj\fR .LE will have the same effect. Some examples of different ways to execute the program follow. .LS % \*bpx\fR .so firstobjout % \*bpi -p first.p\fR % \*bpx obj\fR .so firstobjout2 % \*bpix -p first.p\fR .so firstobjout2 % .LE .PP Note that .I px will assume that `obj' is the file we wish to execute if we don't tell it otherwise. The last two translations use the .B \-p no-post-mortem option to eliminate execution statistics and `Execution begins' and `Execution terminated' messages. See section 5.2 for more details. If we now look at the files in our directory we will see: .LS % \*bls\fR first.p obj % .LE We can give our object program a name other than `obj' by using the move command .I mv (I). Thus to name our program `hello': .LS % \*bmv obj hello\fR % \*bhello\fR Hello, world! % \*bls\fR first.p hello % .LE .KS Finally we can get rid of the Pascal object code by using the .I rm (I) remove file command, e.g.: .LS % \*brm hello\fR % \*bls\fR first.p % .LE .KE .PP For small programs which are being developed .IX tends to be more convenient to use than .PI and .X . Except for absence of the .I obj file after a .IX run, a .IX command is equivalent to a .PI command followed by a .X command. For larger programs, where a number of runs testing different parts of the program are to be made, .PI is useful as this .I obj file can be executed any desired number of times. .NH 2 A larger program .PP Suppose that we have used the editor to put a larger program in the file `bigger.p'. We can list this program with line numbers by using the program .I number \*(dg, i.e.: .FS \*(dgIf the .I number program is not available, .I lno may be. It is similar, but aligns the line numbers in a different, less pleasant way. .FE .LS % \*bnumber bigger.p\fR .so bigger3.p % .LE This program is similar to program 4.9 on page 30 of the Jensen-Wirth .I "User Manual" . A number of problems have been introduced into this example for pedagogical reasons. .br .ne 8 .PP If we attempt to translate and execute the program using .IX we get the following response: .LS .ID % \*bpix bigger.p\fR .so bigout1 % .LE .PP Since there were fatal `E' errors in our program, no code was generated and execution was necessarily suppressed. One thing which would be useful at this point is a listing of the program with the error messages. We can get this by using the command: .LS % \*bpi -l bigger.p\fR .LE There is no point in using .IX here, since we know there are fatal errors in the program. This command will produce the output at our terminal. If we are at a terminal which does not produce a hard copy we may wish to print this listing off-line on a line printer\*(dg. .FS \*(dgAt Berkeley, the line printer for the Cory Hall system is in Room 199B. The line printers for the Computer Center systems are in the basement of Evans Hall. .FE We can do this with the command: .LS % \*bpi -l bigger.p | lpr\fR .LE .PP In the next few sections we will illustrate various aspects of the .UX Pascal system by correcting this program. .NH 2 Correcting the first errors .PP Most of the errors which occurred in this program were .I syntactic errors, those in the format and structure of the program rather than its content. Syntax errors are flagged by printing the offending line, and then a line which flags the location at which an error was detected. The flag line also gives an explanation stating either a possible cause of the error, a simple action which can be taken to recover from the error so as to be able to continue the analysis, a symbol which was expected at the point of error, or an indication that the input was `malformed'. In the last case, the recovery may skip ahead in the input to a point where analysis of the program can continue. .PP In this example, the first error diagnostic indicates that the translator detected a comment within a comment. While this is not considered an error in `standard' Pascal, it usually corresponds to an error in the program which is being translated. In this case, we have accidentally omitted the trailing `*)' of the comment on line 8. We can begin an editor session to correct this problem by doing: .LS % \*bex bigger.p\fR "bigger.p" 24 lines, 512 characters :\*b8s/$/ *)\fR s = 32; (* 32 character width for interval [x, x+1] *) : .LE .PP The second diagnostic, given after line 16, indicates that the keyword .B do was expected before the keyword .B begin in the .B for statement. If we examine the .I statement syntax chart on page 118 of the Jensen-Wirth .I "User Manual" we will discover that .B do is a necessary part of the .B for statement. Similarly, we could have referred to section C.3 of the Jensen-Wirth .I "User Manual" to learn about the .B for statement and gotten the same information there. It is often useful to refer to these syntax charts and to the relevant sections of this book. .PP We can correct this problem by first scanning for the keyword .B for in the file and then substituting the keyword .B do to appear in front of the keyword .B begin there. Thus: .LS :\*b/for\fR for i := 0 to lim begin :\*bs/begin/do &\fR for i := 0 to lim do begin : .LE The next error in the program is easy to pinpoint. On line 18, we didn't hit the shift key and got a `9' instead of a `)'. The translator diagnosed that `x9' was an undefined variable and, later, that a `)' was missing in the statement. It should be stressed that .PI is not suggesting that you should insert a `)' before the `;'. It is only indicating that making this change will help it to be able to continue analyzing the program so as to be able to diagnose further errors. You must then determine the true cause of the error and make the appropriate correction to the source text. .PP This error also illustrates the fact that one error in the input may lead to multiple error diagnostics. .I Pi attempts to give only one diagnostic for each error, but single errors in the input sometimes appear to be more than one error. It is also the case that .PI may not detect an error when it occurs, but may detect it later in the input. This would have happened in this example if we had typed `x' instead of `x9'. .PP The translator next detected, on line 19, that the function .I Round and the variable .I h were undefined. It does not know about .I Round because .UP normally distinguishes between upper- and lower-case. On .UX lower-case is preferred\*(dg, .FS \*(dgOne good reason for using lower-case is that it is easier to type. .FE and all keywords and built-in .B procedure and .B function names are composed of lower-case letters, just as they are in the Jensen-Wirth .I "Pascal Report" . Thus we need to use the function .I round here. As far as .I h is concerned, we can see why it is undefined if we look back to line 9 and note that its definition was lost in the non-terminated comment. This diagnostic need not, therefore, concern us. .PP The next error which occurred in the program caused the translator to insert a `;' before the statement calling .I writeln on line 23. If we examine the program around the point of error we will see that the actual error is that the keyword .B until and an associated expression have been omitted here. Note that the diagnostic from the translator does not indicate the actual error, and is somewhat misleading. The translator made the correction which seemed to be most plausible. As the omission of a `;' character is a common mistake, the translator chose to indicate this as a possible fix here. It later detected that the keyword .B until was missing, but not until it saw the keyword .B end on line 24. The combination of these diagnostics indicate to us the true problem. .PP The final syntactic error message indicates that the translator needed an .B end keyword to match the .B begin at line 15. Since the .B end at line 24 is supposed to match this .B begin , we can infer that another .B begin must have been mismatched, and have matched this .B end . Thus we see that we need an .B end to match the .B begin at line 16, and to appear before the final .B end . We can make these corrections: .LS :\*b/x9/s//x)\fR y := exp(-x) * sin(i * x); :\*b+s/Round/round\fR n := round(s * y) + h; :\*b/write\fR write(' '); :\*b/\fR writeln('*') :\*binsert\fR \*buntil n = 0;\fR \&\*b.\fR :\*b$\fR end. :\*binsert\fR \*bend\fR \&\*b.\fR : .LE .PP At the end of each .B procedure or .B function and the end of the .B program the translator summarizes references to undefined variables and improper usages of variables. It also gives warnings about potential errors. In our program, the summary errors do not indicate any further problems but the warning that .I c is unused is somewhat suspicious. Examining the program we see that the constant was intended to be used in the expression which is an argument to .I sin , so we can correct this expression, and translate the program. We have now made a correction for each diagnosed error in our program. .LS :\*b?i ?s//c /\fR y := exp(-x) * sin(c * x); :\*bwrite\fR "bigger.p" 26 lines, 538 characters :\*b!pi %\fR !pi bigger.p ! :\*bquit\fR % .LE It should be noted that the translator suppresses warning diagnostics for a particular .B procedure , .B function or the main .B program when it finds severe syntax errors in that part of the source text. This is to prevent possibly confusing and incorrect warning diagnostics from being produced. Thus these warning diagnostics may not appear in a program with bad syntax errors until these errors are corrected. .KS .PP We are now ready to execute our program for the first time. We will do so in the next section after giving a listing of the corrected program for reference purposes. .ne 15 .LS .ID % \*bnumber bigger.p\fR .so bigger6.p % .LE .NH 2 Executing the second example .PP We are now ready to execute the second example. The following output was produced by our first run. .LS % \*bpx\fR .so bigout2 % .LE Here the interpreter is presenting us with a runtime error diagnostic. It detected a `division by zero' at line 17. Examining line 17, we see that we have written the statement `x := d / i' instead of `x := d * i'. We can correct this and rerun the program: .ne 10 .LS .ID % \*bex bigger.p\fR "bigger.p" 26 lines, 538 characters :\*b17\fR x := d / i :\*bs'/'*\fR x := d * i :\*bwrite\fR "bigger.p" 26 lines, 538 characters :\*b!pix %\fR !pix bigger.p .so bigout3 ! :\*bq\fR % .LE .KS .PP This appears to be the output we wanted. We could now save the output in a file if we wished by using the shell to redirect the output: .LS % \*bpx > graph\fR .LE .KE We can use .I cat (I) to see the contents of the file graph. We can also make a listing of the graph on the line printer without putting it into a file, e.g. .LS % \*bpx | lpr\fR .so bigout4 % .LE Note here that the statistics lines came out on our terminal. The statistics line comes out on the diagnostic output (unit 2.) There are two ways to get rid of the statistics line. We can redirect the statistics message to the printer using the syntax `|*' to the shell\*(dg rather than `|', i.e.: .FS \*(dg The syntax `|*' as well as `>*' and `>>*' are also local modifications at Berkeley. They redirect unit 2, the diagnostic output, with unit 1, the standard output, otherwise corresponding to `|', `>', and `>>'. This capability is not present in the standard version 6 shell, and a different syntax is expected to be used with the standard version 7 shell. .FE .LS % \*bpx |* lpr\fR % .LE or we can translate the program with the .B p option disabled on the command line as we did above. This will disable all post-mortem dumping including the statistics line, thus: .LS % \*bpi -p bigger.p\fR % \*bpx | lpr\fR % .LE This option also disables the statement limit which normally guards against infinite looping. You should not use it until your program is debugged. Also if .B p is specified and an error occurs, you will not get run time diagnostic information to help you determine what the problem is. .NH 2 Formatting the program listing .PP It is possible to use special lines within the source text of a program to format the program listing. An empty line (one with no characters on it) corresponds to a `space' macro in an assembler, leaving a completely blank line without a line number. A line containing only a control-l (form-feed) character will cause a page eject in the listing with the corresponding line number suppressed. This corresponds to an `eject' pseudo-instruction. See also section 5.2 for details on the .B n and .B i options of .PI . .NH 2 Execution profiling .PP An execution profile consists of a structured listing of (all or part of) a program with information about the number of times each statement in the program was executed for a particular run of the program. These profiles can be used for several purposes. In a program which was abnormally terminated due to excessive looping or recursion or by a program fault, the counts can facilitate location of the error. Zero counts mark portions of the program which were not executed; during the early debugging stages they should prompt new test data or a re-examination of the program logic. The profile is perhaps most valuable, however, in drawing attention to the (typically small) portions of the program that dominate execution time. This information can be used for source level optimization. .SH An example .PP A prime number is a number which is divisible only by itself and the number one. The program .I primes , written by Niklaus Wirth, determines the first few prime numbers. In translating the program we have specified the .B z option to .IX . This option causes the translator to generate counters and count instructions sufficient in number to determine the number of times each statement in the program was executed.\*(dg .FS \*(dgThe counts are completely accurate only in the absence of runtime errors and nonlocal .B goto statements. This is not generally a problem, however, as in structured programs nonlocal .B goto statements occur infrequently, and counts are incorrect after abnormal termination only when the .I "upward look" described below to get a count passes a suspended call point. .FE When execution of the program completes, either normally or abnormally, this count data is written to the file .I pmon.out in the current directory.\*(dd .FS \*(dd\c .I Pmon.out has a name similar to .I mon.out the monitor file produced by the profiling facility of the C compiler .I cc (I). See .I prof (I) for a discussion of the C compiler profiling facilities. .FE It is then possible to prepare an execution profile by giving .XP the name of the file associated with this data, as was done in the following example. .LS .ID .ne 20 % \*bpix -l -z primes.p\fR .so primeout1 % .LE .SH Discussion .PP The header lines of the outputs of .IX and .XP in this example indicate the version of the translator and execution profiler in use at the time this example was prepared. The time given with the file name (also on the header line) indicates the time of last modification of the program source file. This time serves to .I "version stamp" the input program. .I Pxp also indicates the time at which the profile data was gathered. .LS .ID .ne 10 % \*bpxp -z primes.p\fR .so primeout2 % .LE .KE .PP To determine the number of times a statement was executed, one looks to the left of the statement and finds the corresponding vertical bar `|'. If this vertical bar is labelled with a count then that count gives the number of times the statement was executed. If the bar is not labelled, we look up in the listing to find the first `|' which directly above the original one which has a count and that is the answer. Thus, in our example, .I k was incremented 157 times on line 18, while the .I write procedure call on line 24 was executed 48 times as given by the count on the .B repeat . .PP More information on .I pxp can be found in its manual section .XP (VI) and in sections 5.4, 5.5 and 5.10. tpuman3.nß$¬% ¤‘ O.if \n(xx .bp .if !\n(xx \{\ .so tmac.p \} .if n 'ND .nr H1 2 .NH Error diagnostics .PP This section of the .UM discusses the error diagnostics of the programs .PI and .X . .I Pix is a simple but useful program which invokes .PI and .X to do all the real processing. See its manual section .IX (VI) and section 5.2 below for more details. .NH 2 Translator syntax errors .PP A few comments on the general nature of the syntax errors usually made by Pascal programmers and the recovery mechanisms of the current translator may help in using the system. .SH Illegal characters .PP Characters such as `$', `!', and `@' are not part of the language Pascal. If they are found in the source program, and are not part of a constant string, a constant character, or a comment, they are considered to be `illegal characters'. This can happen if you leave off an opening string quote `\(aa'. Note that the character `"', although used in English to quote strings, is not used to quote strings in Pascal. Most non-printing characters in your input are also illegal except in character constants and character strings. Except for the tab and form feed characters, which are used to ease formatting of the program, non-printing characters in the input file print as the character `?' so that they will show in your listing. .SH String errors .PP There is no character string of length 0 in Pascal. Consequently the input `\(aa\(aa' is not acceptable. Similarly, encountering an end-of-line after an opening string quote `\(aa' without encountering the matching closing quote yields the diagnostic ``Unmatched \(aa for string''. It is permissible to use the character `#' instead of `\'' to delimit character and constant strings for portability reasons. For this reason, a spuriously placed `#' sometimes causes the diagnostic about unbalanced quotes. Similarly, a `#' in column one is used when preparing programs which are to be kept in multiple files. See section 5.9 for details. .SH Comments in a comment, non-terminated comments .PP As we saw above, these errors are usually caused by leaving off a comment delimiter. You can convert parts of your program to comments without generating this diagnostic since there are two different kinds of comments \- those delimited by `{' and `}', and those delimited by `(*' and `*)'. Thus consider: .LS { This is a comment enclosing a piece of program a := functioncall; (* comment within comment *) procedurecall; lhs := rhs; (* another comment *) } .LE .PP By using one kind of comment exclusively in your program you can use the other delimiters when you need to ``comment out'' parts of your program\*(dg. .FS \*(dgIf you wish to transport your program, especially to the 6000-3.4 implementation, you should use the character sequence `(*' to delimit comments. For transportation over the .I rcslink to Pascal 6000-3.4, the character `#' should be used to delimit characters and constant strings. .FE In this way you will also allow the translator to help by detecting statements accidentally placed within comments. .PP If a comment does not terminate before the end of the input file, the translator will point to the beginning of the comment, indicating that the comment is not terminated. In this case processing will terminate immediately. See the discussion of ``QUIT'' below. .SH Digits in numbers .PP This part of the language is a minor nuisance. Pascal requires digits in real numbers both before and after the decimal point. Thus the following statements, which look quite reasonable to .SM FORTRAN .NL users, generate diagnostics in Pascal: .LS .ID .so digitsout .LE These same constructs are also illegal as input to the Pascal interpreter .I px . .SH Replacements, insertions, and deletions .PP When a syntax error is encountered in the input text, the parser invokes an error recovery procedure. This procedure examines the input text immediately after the point of error and considers a set of simple corrections to see whether they will allow the analysis to continue. These corrections involve replacing an input token with a different token, inserting a token, or replacing an input token with a different token. Most of these changes will not cause fatal syntax errors. The exception is the insertion of or replacement with a symbol such as an identifier or a number; in this case the recovery makes no attempt to determine .I which identifier or .I what number should be inserted, hence these are considered fatal syntax errors. .PP Consider the following example. .LS % \*bpix -l synerr.p\fR .tr -- .so synerrout % .LE The only surprise here may be that Pascal does not have an exponentiation operator, hence the complaint about `**'. This error illustrates that, if you assume that the language has a feature which it does not, the translator diagnostic may not indicate this, as the translator is unlikely to recognize the construct you supply. .SH Undefined or improper identifiers .PP If an identifier is encountered in the input but is undefined, the error recovery will replace it with an identifier of the appropriate class. Further references to this identifier will be summarized at the end of the containing .B procedure or .B function or at the end of the .B program if the reference occurred in the main program. Similarly, if an identifier is used in an inappropriate way, e.g. if a .B type identifier is used in an assignment statement, or if a simple variable is used where a .B record variable is required, a diagnostic will be produced and an identifier of the appropriate type inserted. Further incorrect references to this identifier will be flagged only if they involve incorrect use in a different way, with all incorrect uses being summarized in the same way as undefined variable uses are. .SH Expected symbols, malformed constructs .PP If none of the above mentioned corrections appear reasonable, the error recovery will examine the input to the left of the point of error to see if there is only one symbol which can follow this input. If this is the case, the recovery will print a diagnostic which indicates that the given symbol was `Expected'. .PP In cases where none of these corrections resolve the problems in the input, the recovery may issue a diagnostic that indicates that the input is ``malformed''. If necessary, the translator may then skip forward in the input to a place where analysis can continue. This process may cause some errors in the text to be missed. .PP Consider the following example: .LS .ID % \*bpix -l synerr2.p\fR .so synerr2out % .LE Here we misspelled .I input and gave a .SM FORTRAN style variable declaration which the translator diagnosed as a `Malformed declaration'. When, on line 6, we used `(' and `)' for subscripting (as in .SM FORTRAN ) rather than the `[' and `]' which are used in Pascal, the translator noted that .I a was not defined as a .B procedure . This occurred because .B procedure and .B function argument lists are delimited by parentheses in Pascal. As it is not permissible to assign to procedure calls the translator diagnosed a malformed statement at the point of assignment. .SH Expected and unexpected end-of-file, ``QUIT'' .PP If the translator finds a complete program, but there is more non-comment text in the input file, then it will indicate that an end-of-file was expected. This situation may occur after a bracketing error, or if too many .B end s are present in the input. The message may appear after the recovery says that it ``Expected \`.\'\|'' since `.' is the symbol that terminates a program. .PP If severe errors in the input prohibit further processing the translator may produce a diagnostic followed by ``QUIT''. One example of this was given above \- a non-terminated comment; another example is a line which is longer than 160 characters. Consider also the following example. .LS .ID % \*bpix -l mism.p\fR .so mismout % .LE .NH 2 Translator semantic errors .PP The extremely large number of semantic diagnostic messages which the translator produces make it unreasonable to discuss each message or group of messages in detail. The messages are, however, very informative. We will here explain the typical formats and the terminology used in the error messages so that you will be able to make sense out of them. In any case in which a diagnostic is not completely comprehensible you can refer to the .I "User Manual" by Jensen and Wirth for examples. .SH Format of the error diagnostics .PP As we saw in the example program above, the error diagnostics from the Pascal translator include the number of a line in the text of the program as well as the text of the error message. While this number is most often the line where the error occurred, it is occasionally the number of a line containing a bracketing keyword like .B end or .B until . In this case, the diagnostic may refer to the previous statement. This occurs because of the method the translator uses for sampling line numbers. The absence of a trailing `;' in the previous statement causes the line number corresponding to the .B end or .B until . to become associated with the statement. As Pascal is a free-format language, the line number associations can only be approximate and may seem arbitrary to some users. This is the only notable exception, however, to reasonable associations. .bp .SH Incompatible types .PP Since Pascal is a strongly typed language, many semantic errors manifest themselves as type errors. These are called `type clashes' by the translator. The types allowed for various operators in the language are summarized on page 108 of the Jensen-Wirth .I "User Manual" . It is important to know that the Pascal translator, in its diagnostics, distinguishes between the following type `classes': .br .ne 8 .TS center; lew(10) le le le le. array Boolean char file integer pointer real record scalar string .TE These words are plugged into a great number of error messages. Thus, if you tried to assign an .I integer value to a .I char variable you would receive a diagnostic like the following: .LS .so clashout .LE In this case, one error produced a two line error message. If the same error occurs more than once, the same explanatory diagnostic will be given each time. .SH Scalar .PP The only class whose meaning is not self-explanatory is `scalar'. Scalar has a precise meaning in the Jensen-Wirth .I "User Manual" where, in fact, it refers to .I char , .I integer , .I real , and .I Boolean types as well as the enumerated types. For the purposes of the Pascal translator, scalar in an error message refers to a user-defined, enumerated type, such as .I ops in the example above or .I color in .LS \*btype\fP color = (red, green, blue) .LE For integers, the more explicit denotation .I integer is used. Although it would be correct, in the context of the .I "User Manual" to refer to an integer variable as a .I scalar variable .PI prefers the more specific identification. .SH Function and procedure type errors .PP For built-in procedures and functions, two kinds of errors occur. If the routines are called with the wrong number of arguments a message similar to: .LS .so sinout1 .LE is given. If the type of the argument is wrong, a message like .LS .so sinout2 .LE is produced. A few functions and procedures implemented in Pascal 6000-3.4 are diagnosed as unimplemented in .UX Pascal, notably those related to .B segmented files. .SH Can't read and write scalars, etc. .PP The messages which state that scalar (user-defined) types cannot be written to and from files are often mysterious. It is in fact the case that if you define .LS \*btype\fP color = (red, green, blue) .LE the translator does not associate these constants with the strings `red', `green', and `blue' in any way. If you wish such an association to be made, you will have to write a routine to make it. Note, in particular, that you can only read characters, integers and real numbers from text files. You cannot read strings or Booleans. It is possible to make a .LS \*bfile of\fP color .LE but the representation is binary rather than string. .SH .bp Expression diagnostics .PP The diagnostics for semantically ill-formed expressions are very explicit. Consider this sample translation: .LS .ID % \*bpi -l expr.p\fP .so exprout % .LE This example is admittedly far-fetched, but illustrates that the error messages are sufficiently clear to allow easy determination of the problem in the expressions. .SH Type equivalence .PP Several diagnostics produced by the Pascal translator complain about `non-equivalent types'. In general, .UX Pascal considers variables to have the same type only if they were declared with the same constructed type or with the same type identifier. Thus, the variables .I x and .I y declared as .LS \*bvar\fP x: ^ integer; y: ^ integer; .LE do not have the same type. The assignment .LS x := y .LE thus produces the diagnostics: .LS .so typequout .LE Thus it is always necessary to declare a type such as .LS \*btype\fP intptr = ^ integer; .LE and use it to declare .LS \*bvar\fP x: intptr; y: intptr; .LE Note that if we had initially declared .LS \*bvar\fP x, y: ^ integer; .LE then the assignment statement would have worked. The statement .LS x^ := y^ .LE is allowed in either case. Since the parameter to a .B procedure or .B function must be declared with a type identifier rather than a constructed type, it is always necessary, in practice, to declare any type which will be used in this way. .SH Unreachable statements .PP .UX Pascal flags unreachable statements. Such statements usually correspond to errors in the program logic. Note that a statement is considered to be reachable if there is a potential path of control, even if it can never be taken. Thus, no diagnostic is produced for the statement: .LS \*bif\fP false \*bthen\fP writeln('impossible!') .LE .SH Goto's into structured statements .PP The translator detects and complains about .B goto statements which transfer control into structured statements (\c .B for , .B while , etc.) It does not allow such jumps, nor does it allow branching from the .B then part of an .B if statement into the .B else part. Such checks are made only within the body of a single procedure or function. .SH Unused variables, never set variables .PP Although .UX Pascal always clears variables to 0 at .B procedure and .B function entry, it is .B not good programming practice to rely on this initialization. To discourage this practice, and to help detect errors in program logic, .PI flags as a `w' warning error: .IP .RS .HP 1) Use of a variable which is never assigned a value. .IP 2) A variable which is declared but never used, distinguishing between those variables for which values are computed but which are never used, and those completely unused. .RE .LP In fact, these diagnostics are applied to all declared items. Thus a .B constant or a .B procedure which is declared but never used is flagged. The .B w option of .PI may be used to suppress these warnings; see sections 5.1 and 5.2. .NH 2 Translator panics, i/o errors .SH Panics .PP One class of error which rarely occurs, but which causes termination of all processing when it does is a panic. A panic indicates a translator-detected internal inconsistency. A typical panic message is: .LS snark (rvalue) line=110 yyline=109 Snark in pi .LE If you receive such a message, the translation will be quickly and perhaps ungracefully terminated. You should contact a teaching assistant or a member of the system staff, after saving a copy of your program for later inspection. If you were making changes to an existing program when the problem occurred, you may be able to work around the problem by ascertaining which change caused the .I snark and making a different change or correcting an error in the program. You should report the problem in any case. Pascal system bugs cannot be fixed unless they are reported. .SH Out of memory .PP The only other error which will abort translation when no errors are detected is running out of memory. All tables in the translator, with the exception of the parse stack, are dynamically allocated, and can grow to take up the full available process space of 64000 bytes. Generally, the size of the largest translatable program is directly related to .B procedure and .B function size. A number of non-trivial Pascal programs, including some with more than 2000 lines and 2500 statements have been translated and interpreted using .UX Pascal. Notable among these are the Pascal-S interpreter, a large set of programs for automated generation of code generators, and a general context-free parsing program which has been used to parse sentences with a grammar for a superset of English. .PP If you receive an out of space message from the translator during translation of a large .B procedure or .B function or one containing a large number of string constants you may yet be able to translate your program if you break this one .B procedure or .B function into several routines. .SH I/O errors .PP Other errors which you may encounter when running .PI relate to input-output. If .PI cannot open the file you specify, or if the file is empty, you will be so informed. If your disk space quota\*(dg is exceeded while .PI is creating the file .I obj , or if the system runs out of disk space you will be notified; in this case you should remove unneeded files. .FS \*(dgDisk quotas are also a modification at Berkeley and may not exist at your installation. .FE .NH 2 Run-time errors .PP We saw, in our second example, a run-time error. We here give the general description of run-time errors. The more unusual interpreter error messages are explained briefly in the manual section for .I px (VI). .SH Start-up errors .PP These errors occur when the object file to be executed is not available or appropriate. Typical errors here are caused by the specified object file not existing, not being a Pascal object, or being inaccessible to the user. .SH Program execution errors .PP These errors occur when the program interacts with the Pascal runtime environment in an inappropriate way. Typical errors are values or subscripts out of range, bad arguments to built-in functions, exceeding the statement limit because of an infinite loop, or running out of memory\*(dd. .FS \*(ddThe checks for running out of memory are not foolproof and there is a chance that the interpreter will fault, producing a core image when it runs out of memory. This situation occurs very rarely. .FE The interpreter will produce a backtrace after the error occurs, showing all the active routine calls, unless the .B p option was disabled when the program was translated. Unfortunately, no variable values are given and no way of extracting them is available. .PP As an example of such an error, assume that we have accidentally declared the constant .I n1 to be 6, instead of 7 on line 2 of the program primes as given in section 2.6 above. If we run this program we get the following response. .LS .ID % \*bpix primes.p\fP .so primeout3 % .LE .PP Here the interpreter indicates that the program terminated abnormally due to a subscript out of range near line 14, which is eight lines into the body of the program primes. .SH Interrupts .PP If the program is interrupted while executing and the .B p option was not specified, then a backtrace will be printed.\*(dg .FS \*(dgOccasionally, the Pascal system will be in an inconsistent state when this occurs, e.g. when an interrupt terminates a .B procedure or .B function entry or exit. In this case, the backtrace will only contain the current line. A reverse call order list of procedures will not be given. .FE The file .I pmon.out of profile information will be written if the program was translated with the .B z option enabled to .PI or .IX . .SH I/O interaction errors .PP The final class of interpreter errors results from inappropriate interactions with files, including the user's terminal. Included here are bad formats for integer and real numbers (such as no digits after the decimal point) when reading. .SH Panics .PP A small number of panics are possible with .I px . These should be reported to a teaching assistant or to the system staff if they occur. ipuman4.nß%¬% ¤‘ø9.if \n(xx .bp .if !\n(xx \{\ .so tmac.p \} .nr H1 3 .if n 'ND .NH Input/output .PP This section describes features of the Pascal input/output environment, with special consideration of the features peculiar to an interactive implementation. .NH 2 Introduction .PP Our first sample programs, in section 2, used the file .I output . We gave examples there of redirecting the output to a file and to the line printer using the shell. Similarly, we can read the input from a file or another program. Consider the following Pascal program which is similar to the program .I cat (I). .LS % \*bpix -l kat.p clean.p\fR .LE Note that since the shell creates the output file `clean.p' before .XP executes, so `clean.p' and `dirty.p' must not be the same file. .PP .I Pxp automatically paragraphs the program, performing housekeeping chores such as comment alignment, and treating blank lines, lines containing exactly one blank and lines containing only a form-feed character as though they were comments, preserving their vertical spacing effect in the output. .I Pxp distinguishes between four kinds of comments: .HP .RS .IP 1) Left marginal comments, which begin in the first column of the input line and are placed in the first column of an output line. .IP 2) Aligned comments, which are preceded by no input tokens on the input line. These are aligned in the output with the running program text. .IP 3) Trailing comments, which are preceded in the input line by a token with no more than two spaces separating the token from the comment. .IP 4) Right marginal comments, which are preceded in the input line by a token from which they are separated by at least three spaces or a tab. These are aligned down the right margin of the output, currently to the first tab stop after the 40th column from the current ``left margin''. .RE .LP Consider the following program. .LS .ID % \*bcat comments.p\fR .so comments1.p .LE When formatted by .XP the following output is produced. .LS .ID % \*bpxp comments.p\fR .so commentsout % .LE The following formatting related options are currently available in .XP . The options .B f and .B j described in the previous section may also be of interest. .SH Strip comments \-s .PP The .B s option causes .XP to remove all comments from the input text. .SH Underline keywords \- \_ .PP A command line argument of the form .B \-\_ as in .LS % \*bpxp -_ dirty.p\fR .LE can be used to cause .XP to underline all keywords in the output for enhanced readability. .SH Specify indenting unit \- [23456789] .PP The normal unit which .XP uses to indent a structure statement level is 4 spaces. By giving an argument of the form \fB\-\fId\fR with .I d a digit, 2 \(<= .I d \(<= 9 you can specify that .I d spaces are to be used per level instead. .NH 2 Pcc and carriage control .PP The .UX system printer driver does not implement .SM FORTRAN style carriage control. Thus the function .I page on .UX does not output a character `1' in column 1 of a line, but rather puts out a form-feed character. For those who wish to use carriage control, the filter .I pcc is available which interprets this control. A sample usage is: .LS % \*bpx | pcc\fR .LE or .LS % \*bpix prog.p | pcc | lpr\fR .LE for printer copy. .I Pcc is fully described by its manual documentation .I pcc (VI). .NH 2 Pxref .PP The cross-reference program .I pxref may be used to make cross-referenced listings of Pascal programs. To produce a cross-reference of the program in the file `foo.p' one can execute the command: .LS % \*bpxref foo.p\fR .LE The cross-reference is, unfortunately, not block structured. Full details on .I pxref are given in its manual section .I pxref (VI). .NH 2 Pascals .PP A version of Wirth's subset Pascal translator .I pascals is available on .UX . It was translated to interpreter code by .PI and is invoked by a command of the form: .LS % \*bpascals prog.p\fR .LE The program in the file given is translated to interpretive code which is then immediately executed. .I Pascals is thus similar to .I pix . Only small programs can be handled. .I Pascals is most interesting to those wishing to study its error recovery techniques, which are described in Wirth's book .I "Algorithms + Data Structures = Programs" . .NH 2 Multi-file programs .PP A text inclusion facility is available with .UP . This facility allows the interpolation of source text from other files into the source stream of the translator. It can be used to divide large programs into more manageable pieces for ease in editing, listing, and maintenance. .PP The .B include facility is based on that of the .SM UNIX .NL C compiler. To trigger it you can place the character `#' in the first portion of a line and then, after an arbitrary number of blanks or tabs, the word `include' followed by a filename enclosed in single `\(aa' or double `"' quotation marks. The file name may be followed by a semicolon `;' if you wish to treat this as a pseudo-Pascal statement. The filenames of included files must end in `.i'. An example of the use of included files in a main program would be: .LS \*bprogram\fR compiler(input, output, obj); #\*binclude\fR "globals.i" #\*binclude\fR "scanner.i" #\*binclude\fR "parser.i" #\*binclude\fR "semantics.i" \*bbegin\fR { main program } \*bend\fR. .LE .PP At the point the .B include pseudo-statement is encountered in the input, the lines from the included file are interpolated into the input stream. For the purposes of translate- and run-time diagnostics and statement numbers in the listings and post-mortem backtraces, the lines in the included file are numbered from 1. Nested includes are possible up to 10 deep. .PP See the descriptions of the .B i and .B n options of .PI in section 5.2 above; these can be used to control listing when .B include files are present. .PP .I Include control lines are never printed in a listing. If the .B n option is not set, they are replaced by a line containing the file name and a `:' character. This is the default setting. If the .B n new page option is enabled then the .B include line is replaced with a banner line similar to the first line of a listing. This line is placed on a new page in the listing. .PP When a non-trivial line is encountered in the source text after an .B include finishes, the `popped' filename is printed, in the same manner as above. .PP For the purposes of error diagnostics when not making a listing, the filename will be printed before each diagnostic if the current filename has changed since the last filename was printed. ipumanA.nß*¬% ¤‘ÂQ.if \n(xx .bp .if !\n(xx \{\ .so tmac.p \} .ND .nr H1 0 .af H1 A .NH Appendix to Wirth's Pascal Report .PP This section is an appendix to the definition of the Pascal language in Niklaus Wirth's .I "Pascal Report" and, with that Report, precisely defines the .UX implementation. This appendix includes a summary of extensions to the language, gives the ways in which the undefined specifications were resolved, gives limitations and restrictions of the current implementation, and lists the added functions and procedures available. It concludes with a list of differences with the commonly available Pascal 6000\-3.4 implementation, and some comments on standard and portable Pascal. .NH 2 Extensions to the language Pascal .PP This section defines non-standard language constructs available in .UP . The .B s standard Pascal option of the translator .PI can be used to detect these extensions in programs which are to be transported. .SH String padding .PP .UP will pad constant strings with blanks in expressions and as value parameters to make them as long as is required. The following is a legal .UP program: .LS \*bprogram\fP x(output); \*bvar\fP z : \*bpacked\fP \*barray\fP [ 1 .. 13 ] \*bof\fP char; \*bbegin\fP z := 'red'; writeln(z) \*bend\fP; .LE The padded blanks are added on the right. Thus the assignment above is equivalent to: .LS z := 'red ' .LE which is standard Pascal. .SH Octal constants, octal and hexadecimal write .PP Octal constants may be given as a sequence of octal digits followed by the character `b' or `B'. The forms .LS write(a:n \*boct\fP) .LE and .LS write(a:n \*bhex\fP) .LE cause the internal representation of expression .I a, which must be Boolean, character, integer, pointer, or a user-defined enumerated type, to be written in octal or hexadecimal respectively. .SH Assert statement .PP An .B assert statement causes a .I Boolean expression to be evaluated each time the statement is executed. A runtime error results if any of the expressions evaluates to be .I false . The .B assert statement is treated as a comment if run-time tests are disabled. The syntax for .B assert is: .LS \*bassert\fP .LE .br .ne 8 .NH 2 Resolution of the undefined specifications .SH File name \- file variable associations .PP Each Pascal file variable is associated with a named .UX file. Except for .I input and .I output, which are exceptions to some of the rules, a name can become associated with a file in any of three ways: .IP "\ \ \ \ \ 1)" 10 If a global Pascal file variable appears in the .B program statement then it is associated with .UX file of the same name. .IP "\ \ \ \ \ 2)" If a file was reset or rewritten using the extended two-argument form of .I reset or .I rewrite then the given name is associated. .IP "\ \ \ \ \ 3)" If a file which has never had .UX name associated is reset or rewritten without specifying a name via the second argument, then a temporary name of the form `tmp.x' is associated with the file. Temporary names start with `tmp.1' and continue by incrementing the last character in the .SM USASCII .NL ordering. Temporary files are removed automatically when their scope is exited. .SH The program statement .PP The syntax of the .B program statement is: .LS \*bprogram\fP ( { , } ) ; .LE The file identifiers (other than .I input and .I output ) must be declared as variables of .B file type in the global declaration part. .SH The files input and output .PP The formal parameters .I input and .I output are associated with the .UX standard input and output and have a somewhat special status. The following rules must be noted: .IP "\ \ \ \ \ 1)" 10 The program heading .B must contains the formal parameter .I output. If .I input is used, explicitly or implicitly, then it must also be declared here. .IP "\ \ \ \ \ 2)" Unlike all other files, the Pascal files .I input and .I output must not be defined in a declaration, as their declaration is automatically: .LS \*bvar\fP input, output: text .LE .IP "\ \ \ \ \ 3)" The procedure .I reset may be used on .I input. If no .UX file name has ever been associated with .I input, and no file name is given, then an attempt will be made to `rewind' .I input. If this fails, a run time error will occur. .I Rewrite calls to output act as for any other file, except that .I output initially has no associated file. This means that a simple .LS rewrite(output) .LE associates a temporary name with .I output. .SH Details for files .PP If a file other than .I input is to be read, then reading must be initiated by a call to the procedure .I reset which causes the Pascal system to attempt to open the associated .UX file for reading. If this fails, then a runtime error occurs. Writing of a file other than .I output must be initiated by a .I rewrite call, which causes the Pascal system to create the associated .UX file and to then open the file for writing only. .SH Buffering .PP The buffering for .I output is determined by the value of the .B b option at the end of the .B program statement. If it has its default value 1, then .I output is buffered in blocks of up to 512 characters, flushed whenever a writeln occurs and at each reference to the file .I input. If it has the value 0, .I output is unbuffered. Any value of 2 or more gives block buffering without line or .I input reference flushing. All other output files are always buffered in blocks of 512 characters. All output buffers are flushed when the files are closed at scope exit, whenever the procedure .I message is called, and can be flushed using the built-in procedure .I flush. .PP An important point for an interactive implementation is the definition of `input\(ua'. If .I input is a teletype, and the Pascal system reads a character at the beginning of execution to define `input\(ua', then no prompt could be printed by the program before the user is required to type some input. For this reason, `input\(ua' is not defined by the system until its definition is needed, reading from a file occurring only when necessary. .SH The character set .PP Seven bit .SM USASCII is the character set used on .UX . The standard Pascal symbols `and', 'or', 'not', '<=', '>=', '<>', and the uparrow `\(ua' (for pointer qualification) are recognized.\*(dg .FS \*(dgOn many terminals and printers, the up arrow is represented as a circumflex `^'. These are not distinct characters, but rather different graphic representations of the same internal codes. .FE Less portable are the synonyms tilde `~' for .B not , `&' for .B and , and `|' for .B or . .PP Upper and lower case are considered distinct. Keywords and built-in .B procedure and .B function names are composed of all lower case letters. Thus the identifiers GOTO and GOto are distinct both from each other and from the keyword \*bgoto\fP. The standard type `boolean' is also available as `Boolean'. .PP Character strings and constants may be delimited by the character `\'' or by the character `#'; the latter is sometimes convenient when programs are to be transported. Note that the `#' character has special meaning .up when it is the first character on a line \- see .I "Multi-file programs" below. .SH The standard types .PP The standard type .I integer is conceptually defined as .LS \*btype\fP integer = minint .. maxint; .LE .I Integer is implemented with 32 bit twos complement arithmetic. Predefined constants of type .I integer are: .LS \*bconst\fP maxint = 2147483647; minint = -2147483648; .LE .PP The standard type .I char is conceptually defined as .LS \*btype\fP char = minchar .. maxchar; .LE Built-in character constants are `minchar' and `maxchar', `bell' and `tab'; ord(minchar) = 0, ord(maxchar) = 127. .PP The type .I real is implemented using 64 bit floating point arithmetic. The floating point arithmetic is done in `rounded' mode, and provides approximately 17 digits of precision with numbers as small as 10 to the negative 38th power and as large as 10 to the 38th power. .SH Comments .PP Comments can be delimited by either `{' and `}' or by `(*' and `*)'. If the character `{' appears in a comment delimited by `{' and `}', a warning diagnostic is printed. A similar warning will be printed if the sequence `(*' appears in a comment delimited by `(*' and `*)'. The restriction implied by this warning is not part of standard Pascal, but detects many otherwise subtle errors. .SH Option control .PP Options of the translator may be controlled in two distinct ways. A number of options may appear on the command line invoking the translator. These options are given as one or more strings of letters preceded by the character `\-' and cause the default setting of each given option to be changed. This method of communication of options is expected to predominate for .UX . Thus the command .LS % \*bpi \-ls foo.p\fR .LE translates the file foo.p with the listing option enabled (as it normally is off), and with only standard Pascal features available. .PP If more control over the portions of the program where options are enabled is required, then option control in comments can and should be used. The format for option control in comments is identical to that used in Pascal 6000\-3.4. One places the character `$' as the first character of the comment and follows it by a comma separated list of directives. Thus an equivalent to the command line example given above would be: .LS {$l+,s+ listing on, standard Pascal} .LE as the first line of the program. The `l' option is more appropriately specified on the command line, since it is extremely unlikely in an interactive environment that one wants a listing of the program each time it is translated. .PP Directives consist of a letter designating the option, followed either by a `+' to turn the option on, or by a `\-' to turn the option off. The .B b option takes a single digit instead of a `+' or `\-'. .SH Notes on the listings .PP The first page of a listing includes a banner line indicating the version and date of generation of .PI . It also includes the .UX path name supplied for the source file and the date of last modification of that file. .PP Within the body of the listing, lines are numbered consecutively and correspond to the line numbers for the editor. Currently, two special kinds of lines may be used to format the listing: a line consisting of a form-feed character, control-l, which causes a page eject in the listing, and a line with no characters which causes the line number to be suppressed in the listing, creating a truly blank line. These lines thus correspond to `eject' and `space' macros found in many assemblers. Non-printing characters are printed as the character `?' in the listing.\*(dg .FS \*(dgThe character generated by a control-i indents to the next `tab stop'. Tab stops are set every 8 columns in .UX . Tabs thus provide a quick way of indenting in the program. .FE .SH Multi-file programs .PP It is also possible to prepare programs whose parts are placed in more than one file. The files other than the main one are called .B include files and have names ending with `.i'. The contents of an \*binclude\fR file are referenced through a pseudo-statement of the form: .LS #\*binclude\fR "file.i" .LE The `#' character must be the first character on the line. The file name may be delimited with `"' or `\'' characters. Nested .B include s are possible up to 10 deep. More details are given in sections 5.9 and 5.10. .SH The standard procedure write .PP If no minimum field length parameter is specified for a .I write, the following default values are assumed: .KS .TS center; l n. integer 10 real 22 Boolean 10 char 1 string length of the string oct 11 hex 8 .TE .KE The end of each line in a text file should be explicitly indicated by `writeln(f)', where `writeln(output)' may be written simply as `writeln'. For .UX , the built-in function `page(f)' puts a single .SM ASCII form-feed character on the output file. For programs which are to be transported the filter .I pcc can be used to interpret carriage control, as .UX does not normally do so. .NH 2 Restrictions and limitations .SH Files .PP Files cannot be members of files or members of dynamically allocated structures. .SH Arrays, sets and strings .PP The calculations involving array subscripts and set elements are done with 16 bit arithmetic. This restricts the types over which arrays and sets may be defined. The lower bound of such a range must be greater than or equal to \-32768, and the upper bound less than 32768. In particular, strings may have any length from 1 to 32767 characters, and sets may contain no more than 32767 elements. .SH Line and symbol length .PP There is no intrinsic limit on the length of identifiers. Identifiers are considered to be distinct if they differ in any single position over their entire length. There is a limit, however, on the maximum input line length. This is quite generous however, currently exceeding 160 characters. .SH Procedure and function nesting and program size .PP At most 20 levels of .B procedure and .B function nesting are allowed. There is no fundamental, translator defined limit on the size of the program which can be translated. The ultimate limit is supplied by the hardware and the fact that the \s-2PDP\s0-11 has a 16 bit address space. If one runs up against the `ran out of memory' diagnostic the program may yet translate if smaller procedures are used, as a lot of space is freed by the translator at the completion of each .B procedure or .B function in the current implementation. .SH Overflow .PP There is currently no checking for overflow on arithmetic operations at run-time. .br .ne 15 .NH 2 Added types, operators, procedures and functions .SH Additional predefined types .PP The type .I alfa is predefined as: .LS \*btype\fP alfa = \*bpacked\fP \*barray\fP [ 1..10 ] \*bof\fP \*bchar\fP .LE .PP The type .I intset is predefined as: .LS \*btype\fP intset = \*bset of\fP 0..127 .LE In most cases the context of an expression involving a constant set allows the translator to determine the type of the set, even though the constant set itself may not uniquely determine this type. In the cases where it is not possible to determine the type of the set from local context, the expression type defaults to a set over the entire base type unless the base type is integer\*(dg. .FS \*(dgThe current translator makes a special case of the construct `if ... in [ ... ]' and enforces only the more lax restriction on 16 bit arithmetic given above in this case. .FE In the latter case the type defaults to the current binding of .I intset, which must be ``type set of (a subrange of) integer'' at that point. .PP Note that if .I intset is redefined via: .LS \*btype\fP intset = \*bset of\fP 0..58; .LE then the default integer set is the implicit .I intset of Pascal 6000\-3.4 .SH Additional predefined operators .PP The relationals `<' and `>' of proper set inclusion are available. With .I a and .I b sets, note that .LS (\*bnot\fR (\fIa\fR < \fIb\fR)) <> (\fIa\fR >= \fIb\fR) .LE As an example consider the sets .I a = [0,2] and .I b = [1]. The only relation true between these sets is `<>'. .SH Non-standard procedures .IP argv(i,a) 25 where .I i is an integer and .I a is a string variable assigns the (possibly truncated or blank padded) .I i \|'th argument of the invocation of the current .UX process to the variable .I a . The range of valid .I i is .I 0 to .I argc\-1 . .IP date(a) assigns the current date to the alfa variable .I a in the format `dd mmm yy ', where `mmm' is the first three characters of the month, i.e. `Apr'. .IP flush(f) writes the output buffered for Pascal file .I f into the associated .UX file. .IP halt terminates the execution of the program with a control flow backtrace. .IP linelimit(f,x)\*(dd .FS \*(ddCurrently ignored by .X . .FE with .I f a textfile and .I x an integer expression causes the program to be abnormally terminated if more than .I x lines are written on file .I f . If .I x is less than 0 then no limit is imposed. .IP message(x,...) causes the parameters, which have the format of those to the built-in .B procedure .I write, to be written unbuffered on the diagnostic unit 2, almost always the user's terminal. .IP null a procedure of no arguments which does absolutely nothing. It is useful as a place holder, and is generated by .XP in place of the invisible empty statement. .IP remove(a) where .I a is a string causes the .UX file whose name is .I a, with trailing blanks eliminated, to be removed. .IP reset(f,a) where .I a is a string causes the file whose name is .I a (with blanks trimmed) to be associated with .I f in addition to the normal function of .I reset. .IP rewrite(f,a) is analogous to `reset' above. .IP stlimit(i) where .I i is an integer sets the statement limit to be .I i statements. Specifying the .B p option to .I pc disables statement limit counting. .IP time(a) causes the current time in the form `\ hh:mm:ss\ ' to be assigned to the alfa variable .I a. .SH Non-standard functions .IP argc 25 returns the count of arguments when the Pascal program was invoked. .I Argc is always at least 1. .IP card(x) returns the cardinality of the set .I x, i.e. the number of elements contained in the set. .IP clock returns an integer which is the number of central processor milliseconds of user time used by this process. .IP expo(x) yields the integer valued exponent of the floating-point representation of .I x ; expo(\fIx\fP) = entier(log2(abs(\fIx\fP))). .IP random(x) where .I x is a real parameter, evaluated but otherwise ignored, invokes a linear congruential random number generator. Successive seeds are generated as (seed*a + c) mod m and the new random number is a normalization of the seed to the range 0.0 to 1.0; a is 62605, c is 113218009, and m is 536870912. The initial seed is 7774755. .IP seed(i) where .I i is an integer sets the random number generator seed to .I i and returns the previous seed. Thus seed(seed(i)) has no effect except to yield value .I i. .IP sysclock an integer function of no arguments returns the number of central processor milliseconds of system time used by this process. .IP undefined(x) a Boolean function. Its argument is a real number and it always returns false. .IP wallclock an integer function of no arguments returns the time in seconds since 00:00:00 GMT January 1, 1970. .NH 2 Remarks on standard and portable Pascal .PP It is occasionally desirable to prepare Pascal programs which will be acceptable at other Pascal installations. While certain system dependencies are bound to creep in, judicious design and programming practice can usually eliminate most of the non-portable usages. Wirth's .I "Pascal Report" concludes with a standard for implementation and program exchange. .PP In particular, the following differences may cause trouble when attempting to transport programs between this implementation and Pascal 6000\-3.4. Using the .B s translator option may serve to indicate many problem areas.\*(dg .FS \*(dgThe .B s option does not, however, check that identifiers differ in the first 8 characters. .I Pi also does not check the semantics of .B packed . .FE .SH Features not available in UNIX Pascal .IP Formal parameters which are .B procedure or .B function . .IP Segmented files and associated functions and procedures. .IP The function .I trunc with two arguments. .IP Arrays whose indices exceed the capacity of 16 bit arithmetic. .SH Features available in UNIX Pascal but not in Pascal 6000-3.4 .IP The procedures .I reset and .I rewrite with file names. .IP The functions .I argc, .I seed, .I sysclock, and .I wallclock. .IP The procedures .I argv, .I flush, and .I remove. .IP .I Message with arguments other than character strings. .IP .I Write with keyword .B hex . .IP The .B assert statement. .SH Other problem areas .PP Sets and strings are more general in \* .UP ; see the restrictions given in the Jensen-Wirth .I "User Manual" for details on the 6000\-3.4 restrictions. .PP The character set differences may cause problems, especially the use of the function .I chr, characters as arguments to .I ord, and comparisons of characters, since the character set ordering differs between the two machines. .PP The Pascal 6000\-3.4 compiler uses a less strict notion of type equivalence. In .UP , types are considered identical only if they are represented by the same type identifier. Thus, in particular, unnamed types are unique to the variables/fields declared with them. .PP Pascal 6000\-3.4 doesn't recognize our option flags, so it is wise to put the control of .UP options to the end of option lists or, better yet, restrict the option list length to one. .PP For Pascal 6000\-3.4 the ordering of files in the program statement has significance. It is desirable to place .I input and .I output as the first two files in the .B program statement. sin1.pß!¬% ¤�=program sinout(output); begin write(sin(1,2)); end. tsin2.pß!¬% ¤�=program sinout(output); begin write(sin('*')); end. tsinout1ß!¬% ¤�&E 12 - sin takes exactly one argument sinout2ß"¬% ¤�8E 12 - sin's argument must be integer or real, not char synerr.pß"¬% ¤�{progran syn(output); var i, j are integer; begin for j :* 1 to 20 begin write(j); i = 2 ** j; writeln(i)) end end. esynerr2.pß"¬% ¤�gprogram synerr2(input,outpu); integer a(10) begin read(b); for c := 1 to 10 do a(c) := b * c; end. isynerr2outß"¬% ¤�'UNIX Pascal PI -- Version 1.0 (September 8, 1977) Fri Sep 9 18:50 1977 synerr2.p 1 program synerr2(input,outpu); 2 integer a(10) E \l'\w`w `u-\w`E `u '\l'\w` 2 `u-\w`w `u\&\(rh'\l'(\w`i`u-\w`^`u)/2 '\(ua\l'(\w`i`u-\w`^`u)/2 '\l'\w`---`u\&\(rh' Malformed declaration 3 begin 4 read(b); E \l'\w`w `u-\w`E `u '\l'\w` 4 read(`u-\w`w `u\&\(rh'\l'(\w`b`u-\w`^`u)/2 '\(ua\l'(\w`b`u-\w`^`u)/2 '\l'\w`---`u\&\(rh' Undefined variable 5 for c := 1 to 10 do E \l'\w`w `u-\w`E `u '\l'\w` 5 for `u-\w`w `u\&\(rh'\l'(\w`c`u-\w`^`u)/2 '\(ua\l'(\w`c`u-\w`^`u)/2 '\l'\w`---`u\&\(rh' Undefined variable 6 a(c) := b * c; E \l'\w`w `u-\w`E `u '\l'\w` 6 `u-\w`w `u\&\(rh'\l'(\w`a`u-\w`^`u)/2 '\(ua\l'(\w`a`u-\w`^`u)/2 '\l'\w`---`u\&\(rh' Undefined procedure E \l'\w`w `u-\w`E `u '\l'\w` 6  a(c) `u-\w`w `u\&\(rh'\l'(\w`:`u-\w`^`u)/2 '\(ua\l'(\w`:`u-\w`^`u)/2 '\l'\w`---`u\&\(rh' Malformed statement 7 end. E 1 - File outpu listed in program statement but not declared e 1 - The file output must appear in the program statement file list In program synerr2: E - a undefined on line 6 E - b undefined on line 4 E - c undefined on lines 5 6 Execution suppressed due to compilation errors `synerroutß"¬% ¤�®UNIX Pascal PI -- Version 1.0 (September 8, 1977) Fri Sep 9 18:49 1977 synerr.p 1 progran syn(output); e \l'\w`w `u-\w`e `u '\l'\w` 1 `u-\w`w `u\&\(rh'\l'(\w`p`u-\w`^`u)/2 '\(ua\l'(\w`p`u-\w`^`u)/2 '\l'\w`---`u\&\(rh' Replaced identifier with a keyword program 2 var i, j are integer; e \l'\w`w `u-\w`e `u '\l'\w` 2 var i, j `u-\w`w `u\&\(rh'\l'(\w`a`u-\w`^`u)/2 '\(ua\l'(\w`a`u-\w`^`u)/2 '\l'\w`---`u\&\(rh' Replaced identifier with a ':' 3 begin 4 for j :* 1 to 20 begin e \l'\w`w `u-\w`e `u '\l'\w` 4 for j :`u-\w`w `u\&\(rh'\l'(\w`*`u-\w`^`u)/2 '\(ua\l'(\w`*`u-\w`^`u)/2 '\l'\w`---`u\&\(rh' Replaced '*' with a '=' e \l'\w`w `u-\w`e `u '\l'\w` 4 for j :* 1 to 20 `u-\w`w `u\&\(rh'\l'(\w`b`u-\w`^`u)/2 '\(ua\l'(\w`b`u-\w`^`u)/2 '\l'\w`---`u\&\(rh' Inserted keyword do 5 write(j); 6 i = 2 ** j; e \l'\w`w `u-\w`e `u '\l'\w` 6 i `u-\w`w `u\&\(rh'\l'(\w`=`u-\w`^`u)/2 '\(ua\l'(\w`=`u-\w`^`u)/2 '\l'\w`---`u\&\(rh' Inserted ':' E \l'\w`w `u-\w`E `u '\l'\w` 6 i = 2 *`u-\w`w `u\&\(rh'\l'(\w`*`u-\w`^`u)/2 '\(ua\l'(\w`*`u-\w`^`u)/2 '\l'\w`---`u\&\(rh' Inserted identifier 7 writeln(i)) E \l'\w`w `u-\w`E `u '\l'\w` 7 writeln(i)`u-\w`w `u\&\(rh'\l'(\w`)`u-\w`^`u)/2 '\(ua\l'(\w`)`u-\w`^`u)/2 '\l'\w`---`u\&\(rh' Deleted ')' 8 end 9 end. tmac.pß#¬% ¤�¦'so /usr/lib/tmac.s .if t .tr \(rh- .if t .tr *\(**=\(eq/\(sl+\(pl .bd S B 3 .de SM .if "\\$1"" .ps -2 .if !"\\$1"" \s-2\\$1\s0\\$2 .. .de LG .if "\\$1"" .ps +2 .if !"\\$1"" \s+2\\$a\s0\\$2 .. .de HP .nr pd \\n(PD .nr PD 0 .if \\n(.$=0 .IP .if \\n(.$=1 .IP "\\$1" .if \\n(.$>=2 .IP "\\$1" "\\$2" .nr PD \\n(pd .rm pd .. .de LS \"LS - Literal display, ASCII, constant spaced DS .if \\n(.$=0 .DS .if \\n(.$=1 \\$1 .if \\n(.$>1 \\$1 "\\$2" .if t .tr '\'`\`^\(ua-\(mi .if t .tr _\(ul .. .de LE \"LE - End literal display .DE .tr ''``__--^^ .. .de UX \s-2UNIX\s0\\$1 .. .de UP \s-2UNIX\s0 Pascal\\$1 .. .de PD \s-2PDP\s0 .if \\n(.$=0 11/70 .if \\n(.$>0 11/\\$1 .. .de DK Digital Equipment Corporation\\$1 .. .de IN .I .if \\n(.$<2 \\$1 1.0 Implementation Notes .if \\n(.$>=2 \\$1 1.0 Implementation Notes\\c .R .if \\n(.$>=2 \\$2 .. .de UM .I User's Manual .R .. .de PI .I pi \\$1 .. .de XP .I pxp \\$1 .. .de IX .I pix \\$1 .. .de X .I px \\$1 .. .de AK The financial support of \\$1 the National Science Foundation under grant MCS74-07644-A03, and the first author's work by an .SM IBM Fellowship are gratefully acknowledged. .. .de 12 .AK "the first and second authors' work by" .. .de 1A .AK "the first author's work by" .. .de 2A .AK "the second author's work by" .. .de RM .rm WJ .rm WS .rm AK .rm RM .. .if n .ds dg + .if t .ds dg \(dg .if n .ds dd * .if t .ds dd \(dd .if n .nr FM 1.12i .if t .ds b \\fB .if n .ds b \\fI .ds i \\fI .nr xx 1 tp.nß#¬% ¤�|.so tmac.p .RP .TL .sp 20 UNIX Pascal User's Manual .br Version 1.0 \- November, 1977 .AU William N. Joy .AU Susan L. Graham .AU Charles B. Haley\u\(dg\d .AI Computer Science Division .if n Department of Electrical Engineering .if n and Computer Science .if t Department of Electrical Engineering and Computer Science University of California, Berkeley Berkeley, California 94720 ...AU ..Charles B. Haley ...AI ...MH .pn 2 .bp .PP .FS \(dg Author's present address: Bell Laboratories, Murray Hill, New Jersey 07974 .sp .FE .FS \(dg Author's present address: Bell Laboratories, Murray Hill, New Jersey 07974 .sp .FE .FS \(dg Author's present address: Bell Laboratories, Murray Hill, New Jersey 07974 .sp .FE .FS \(dg Author's present address: Bell Laboratories, Murray Hill, New Jersey 07974 .sp .FE .FS \(dg Author's present address: Bell Laboratories, Murray Hill, New Jersey 07974 .sp .FE typequ.pß#¬% ¤�eprogram x(output); var x: ^ integer; y: ^ integer; begin new(y); x := y; x^ := 1; x := x; end. Ftypequoutß#¬% ¤�sE 7 - Type clash: non-identical pointer types ... Type of expression clashed with type of variable in assignment tundef.pß#¬% ¤�4program undef(output); begin  a := 1; end. undefoutß#¬% ¤�E 12 -- a is undefined bxxxxqqqoutß$¬% ¤�sxxxxqqq: No such file or directory Error at "kat"+5 near line 11 4 statements executed in 0.06 seconds cpu time txxxxqqqout2ß$¬% ¤�#xxxxqqq: No such file or directory y); x := y; x^ := 1; x := x; end. Ftypequoutß#¬% ¤�sE 7 - Type clash: non-identical pointer types ... Type of expression clashed with type of variable in assignment tundef.pß#¬% ¤�4program undef(output); begin eÿ00head.sà8s¤� FP = -1. 00int.sÞÞ9¤�W/ / Berkeley UNIX Pascal Assembler Kernel / .globl _interpret .globl _pcttot, _pdattim, _alloc, _free, _error, _fflush, _maxstk .globl _pputch, _pmessage, _pwrite, _pwril .globl atan, cos, exp, log, sin, sqrt .globl fptrap .globl _display, _dp, _lino, _draino .globl _seed, _randa, _randc, _randm, _randim .globl _atof .globl _argc, _argv, _errno .globl _file, _nodump, _pxpbuf, _pmflush .if FP fptrap: 4 .endif / indir = 0 return = 115 / jmp (lp) times = 43. lp = r5 lc = r4 error = 104000 ^ sys / ONE = 040200 /$1.0 HALF = 040000 /$.5 / _interpret: setl sys signal; 7.; onemt .if !FP sys signal; 4.; fptrap .endif .if FP sys signal; 4.; 0 .endif mov $_display,_dp mov $loop,lp mov 2(sp),lc mov sp,*_dp mov $_unit0,-(sp) mov $_unit1,-(sp) / / main interpreter loop / the pseudo-op 'return' / transfers here / loop: movb (lc)+,r0 add r0,r0 movb (lc)+,r3 jmp *optab(r0) badop: mov $EBADOP,_perrno error EBADOP /cloop: / movb (lc)+,r0 / mov r0,r1 / add r0,r0 / add $128.,r1 / ash $2,r1 / add $cntab,r1 / add $1,2(r1) / adc (r1) / movb (lc)+,r3 / jmp *optab(r0) /.bss /cntab: / .=.+1024. /.text .bss _perrno: .=.+2 .text onemt: setd / mov (sp)+,r0 / sub $2,r0 /.if SEPID / sys 61. /fetchi /.endif /.if !SEPID / mov (r0),r0 /.endif / bic $!377,r0 / mov r0,-(sp) mov _perrno,-(sp) jsr pc,_error / _ABORT: 4 _HALT: mov $EHALT,_perrno error EHALT _NODUMP: inc _nodump _BEG: mov (lc)+,r3 add $2,_dp mov *_dp,-(sp) mov lc,-(sp) add $10.,lc mov buf,-(sp) mov _file,-(sp) tst -(sp) mov sp,*_dp mov sp,r0 add r3,r0 cmp r0,sp bhi 9f cmp r0,_maxstk blos 9f tst r3 beq 2f 1: clr -(sp) cmp sp,r0 bhi 1b 2: mov *_dp,r1 mov sp,(r1) return 9: mov $ESTKOVFLO,_perrno error ESTKOVFLO _END: jsr pc,blkexit mov *_dp,sp tst (sp)+ mov (sp)+,_file mov (sp)+,buf tst (sp)+ mov (sp)+,*_dp cmp _dp,$_display+2 bhi 3f mov $_unit1,r0 mov FBUF(r0),-(sp) jsr pc,_fflush jsr pc,_pmflush clr r0 / sys creat; cntdata; 0644 / sys write; cntab; 1024. /.data /cntdata: /.even /.text jsr pc,_psexit .globl _psexit 3: mov (sp)+,_dp mov (sp)+,lc mov (sp)+,_lino return _CALL: mov lc,r0 add (lc)+,r0 mov _lino,-(sp) mov lc,-(sp) mov _dp,-(sp) add $_display,r3 mov r3,_dp mov r0,lc return _PUSH: bne 1f mov (lc)+,r3 1: mov sp,r0 add r3,r0 1: cmp sp,r0 blos 1f clr -(sp) br 1b 1: return _POP: bne 1f mov (lc)+,r3 1: add r3,sp return _SDUP: mov (sp),-(sp) return _IF: tstb (sp)+ beq _TRA tst (lc)+ return _ASRT: tstb (sp)+ beq 9f return 9: mov $EASRT,_perrno error EASRT _TRA: add (lc),lc return _LINO: bne 1f mov (lc)+,r3 1: mov r3,_lino mov *_dp,r1 cmp (r1),sp bne 2f add $1,_stcnt+2 adc _stcnt sub $1,_stlim+2 sbc _stlim bne 1f tst _stlim+2 bne 1f mov $ESTLIM,_perrno error ESTLIM 1: return 2: mov $ESTKNEMP,_perrno error ESTKNEMP .data .globl _stcnt, _stlim _stcnt: 0 0 _stlim: 7 120440 .text _GOTO: add (lc),lc add $_display,r3 1: mov *_dp,r2 cmp r3,_dp beq 1f cmp _dp,$_display beq 9f jsr pc,blkexit tst (r2)+ mov (r2)+,_file mov (r2)+,buf tst (r2)+ mov (r2)+,*_dp mov (r2)+,_dp br 1b 1: mov (r2),sp return 9: mov $EGOTO,_perrno error EGOTO blkexit: mov r2,-(sp) mov fchain,r2 1: tst r2 beq 2f cmp FLEV(r2),*_dp bhi 2f bit $FWRITE,FUNIT(r2) beq 4f mov FBUF(r2),-(sp) jsr pc,_fflush tst (sp)+ 4: mov FUNIT(r2),r0 bmi 3f bic $!17,r0 sys close bec 3f mov PFNAME(r2),_file mov $ECLOSE,_perrno error ECLOSE 3: bit $TEMP,FUNIT(r2) beq 4f mov PFNAME(r2),0f sys indir;8f .data 8: sys unlink;0: .. .text bec 4f mov PFNAME(r2),_file mov $EREMOVE,_perrno error EREMOVE 4: mov FNAME(r2),-(sp) jsr pc,_free mov r2,(sp) mov FCHAIN(r2),r2 sub $518.+14.,(sp) jsr pc,_free tst (sp)+ br 1b 2: mov r2,fchain mov (sp)+,r2 rts pc _pmflush: tst _pxpbuf beq 1f sys creat; pmonout; 644 sys indir; 8f .data 8: sys write; _pxpbuf: ..; _pxpsize: .. pmonout: .even .text 1: rts pc E02rel.sÞÞ9¤�¥/ / RELATIONAL OPERATORS / _REL2: mov (sp)+,r0 cmp (sp)+,r0 jmp *reltab(r3) _REL42: mov (sp)+,r0 mov (sp)+,r1 tst (sp) sxt r2 br 2f _REL24: mov (sp)+,r1 sxt r0 br 1f _REL4: mov (sp)+,r0 mov (sp)+,r1 1: mov (sp)+,r2 2: cmp r2,r0 bne 1f cmp (sp)+,r1 bhi 3f beq 2f tst $-1 2: jmp *reltab(r3) 3: tst $1 jmp *reltab(r3) 1: tst (sp)+ cmp r2,r0 jmp *reltab(r3) _REL28: tst (sp) sxt -(sp) _REL48: movif (sp)+,fr0 cmpf (sp)+,fr0 cfcc jmp *reltab(r3) _REL82: movf (sp)+,fr0 tst (sp) sxt -(sp) br 1f _REL84: movf (sp)+,fr0 1: movif (sp)+,fr2 cmpf fr2,fr0 cfcc jmp *reltab(r3) _REL8: movf (sp)+,fr0 cmpf (sp)+,fr0 cfcc jmp *reltab(r3) _RELG: mov sp,r0 mov (lc),r2 inc r2 bic $1,r2 add r2,sp mov sp,r1 add r2,sp mov (lc)+,r2 1: cmpb (r1)+,(r0)+ bne 1f sob r2,1b tst $0 1: jmp *reltab(r3) .data reltab: releq relne rellt relgt relle relge ifeq ifne iflt ifgt ifle ifge .text releq: beq true clr -(sp) return relne: bne true clr -(sp) return rellt: blt true clr -(sp) return relgt: bgt true clr -(sp) return relle: ble true clr -(sp) return relge: bge true clr -(sp) return true: mov $1,-(sp) return false: clr -(sp) return ifeq: bne iftra tst (lc)+ return ifne: beq iftra tst (lc)+ return iflt: bge iftra tst (lc)+ return ifgt: ble iftra tst (lc)+ return ifle: bgt iftra tst (lc)+ return ifge: blt iftra tst (lc)+ return iftra: add (lc),lc return l02relset.sÞÞ9¤�/ / RELATIONALS ON SETS / _RELT: mov (lc)+,r2 inc r2 bic $1,r2 mov sp,r1 add r2,sp mov sp,r0 add r2,sp asr r2 cmp r3,$10. ble 1f sub $12.,r3 mov $2f,lp 1: jmp *settab(r3) 2: mov $loop,lp tst (sp)+ beq 1f tst (lc)+ return 1: add (lc),lc return .data settab: seteq setne setlt setgt setle setge .text seteq: cmp (r0)+,(r1)+ bne false sob r2,seteq br true setne: cmp (r0)+,(r1)+ bne true sob r2,setne br false setlt: mov (r0),r3 bic (r1),r3 bne false bic (r0)+,(r1)+ bne 4f / continue just <= sob r2,setlt br false setgt: mov (r1),r3 bic (r0),r3 bne false bic (r1)+,(r0)+ bne 5f / continue just >= sob r2,setgt br false setle: bic (r1)+,(r0)+ bne false 4: sob r2,setle br true setge: bic (r0)+,(r1)+ bne false 5: sob r2,setge br true 03bool.sÞÞ9¤�Š/ / BOOLEAN OPERATIONS / _AND: tst (sp)+ bne 1f clr (sp) 1: return _OR: bis (sp)+,(sp) return _NOT: inc (sp) bic $!1,(sp) return 04as.sÞÞ9¤�/ / ASSIGNMENT OPERATORS / _AS42: tst (sp)+ _AS2: mov (sp)+,*(sp)+ return _AS4: mov (sp)+,r0 mov (sp)+,r1 1: mov (sp)+,r2 mov r0,(r2)+ mov r1,(r2) return _AS24: mov (sp)+,r1 sxt r0 br 1b _AS41: tst (sp)+ _AS21: movb (sp)+,*(sp)+ return _AS28: tst (sp) sxt -(sp) _AS48: movif (sp)+,fr0 movf fr0,*(sp)+ return _AS8: mov $8.,r3 _AS: bne 3f mov (lc)+,r3 3: mov sp,r2 add r3,r2 inc r2 bic $1,r2 mov (r2),r2 clc ror r3 beq 2f 1: mov (sp)+,(r2)+ sob r3,1b 2: bcc 1f movb (sp)+,(r2)+ 1: tst (sp)+ return 05lv.sÞÞ9¤�/ / OFF, INDEX, LV and NIL / _OFF: bne 1f mov (lc)+,r3 1: add r3,(sp) return _INX4: tst (sp)+ / should check bounds here tst r3 _INX2: bne 1f mov (lc)+,r3 1: mov (sp)+,r1 sub (lc)+,r1 bmi 1f cmp r1,(lc)+ bgt 1f mul r3,r1 add r1,(sp) return 1: mov $ESUBSCR,_perrno error ESUBSCR _NIL: tst (sp) beq 1f return 1: mov $ENILPTR,_perrno error ENILPTR _LV: mov _display(r3),r0 add (lc)+,r0 mov r0,-(sp) return _INX4P2: tst (sp)+ _INX2P2: mov (sp)+,r0 sub (lc)+,r0 ash r3,r0 add r0,(sp) return 06add.sÞÞ9¤�Y/ / ADDITION / _ADD42: mov (sp)+,r0 mov (sp)+,r1 br 1f _ADD2: mov (sp)+,r1 sxt r0 1: mov (sp)+,r3  sxt r2 add r1,r3 adc r2 add r0,r2 mov r3,-(sp) mov r2,-(sp) return _ADD24: mov (sp)+,r1 sxt r0 add r1,2(sp) adc r0 add r0,(sp) return _ADD4: add (sp)+,2(sp) add (sp)+,2(sp) adc (sp) return _ADD8: movf (sp)+,fr0 addf (sp)+,fr0 movf fr0,-(sp) return _ADD28: tst (sp) sxt -(sp) _ADD48: movif (sp)+,fr0 addf (sp)+,fr0 movf fr0,-(sp) return _ADD82: movf (sp)+,fr0 tst (sp) sxt -(sp) br 1f _ADD84: movf (sp)+,fr0 1: movif (sp)+,fr2 addf fr0,fr2 movf fr2,-(sp) return 07sub.sëñ¤�x/ / SUBTRACTION / _SUB42: mov (sp)+,r0 mov (sp)+,r1 br 1f _SUB2: mov (sp)+,r1 sxt r0 1: mov (sp)+,r3 sxt r2 sub r1,r3 sbc r2 sub r0,r2 mov r3,-(sp) mov r2,-(sp) return _SUB24: mov (sp)+,r1 sxt r0 sub r1,2(sp) adc r0 sub r0,(sp) return _SUB4: sub (sp)+,2(sp) sub (sp)+,2(sp) sbc (sp) return _SUB8: movf (sp)+,fr0 movf (sp)+,fr2 subf fr0,fr2 movf fr2,-(sp) return _SUB28: tst (sp) sxt -(sp) _SUB48: movif (sp)+,fr0 movf (sp)+,fr2 subf fr0,fr2 movf fr2,-(sp) return _SUB82: movf (sp)+,fr0 tst (sp) sxt -(sp) br 1f _SUB84: movf (sp)+,fr0 1: movif (sp)+,fr2 subf fr0,fr2 movf fr2,-(sp) return 0x.hëñ¤�é /* * px - UNIX Pascal interpreter * * Version 1.0, July 1977 * * Written by Bill Joy and Chuck Haley * November-December 1976 * * Based on an earlier version by Ken Thompson * * Px is described in detail in the "PX 1.0 Implementation Notes" * The source code for px is in several major pieces: * * int.c C main program which reads in interpreter code * 00int.s Driver including main interpreter loop * dd*.s Where dd are digits, interpreter instructions * grouped by their positions in the interpreter table. * p*.c Various C language routines supporting the system. * * In addition there are several headers defining mappings for error * messages names into codes, and a definition of the interpreter transfer * table. These are made by the script Emake in this directory and the scripts * in the directory '../opcodes'. */ int argc; char **argv; /* * Pascal runtime errors cause emulator traps * to the routine onemt which transfers to the * routine 'error' in the file perror.c to decode them. * This method saves at least one word per static error. */ int onemt(); /* * Definitions for memory allocation * Memory allocation routines are in 'palloc.c' */ char *bottmem, *memptr, *high, *maxstk; /* * The file i/o routines maintain a notion of a "current file". * The printing name of this file is kept in the variable * "file" for use in error messages. */ char *file; /* * THE RUNTIME DISPLAY * * The entries in the display point to the active static block marks. * The first entry in the display is for the global variables, * then the procedure or function at level one, etc. * Each display entry points to a stack frame as shown: * * base of stack frame * --------------- * | | * | block mark | * | | * --------------- <-- display entry points here * | | * | local | * | variables | * | | * --------------- * | | * | expression | * | temporary | * | storage | * | | * - - - - - - - - * * The information in the block mark is thus at positive offsets from * the display pointer entries while the local variables are at negative * offsets. The block mark actually consists of two parts. The first * part is created at CALL and the second at entry, i.e. BEGIN. Thus: * * ------------------------- * | | * | Saved lino | * | Saved lc | * | Saved dp | * | | * ------------------------- * | | * | Saved (dp) | * | | * | Current section name | * | and entry line ptr | * | | * | Saved file name and | * | file buffer ptr | * | | * | Empty tos value | * | | * ------------------------- */ int display[20], *dp; int lino; int nodump; /* * Random number generator constants */ long seed; double randa; double randc; double randm; double randim; /* * Structures to access things on the stack */ struct { char pchar; }; struct { int pint; int p2int; }; struct { long plong; }; struct { double pdouble; }; char discard; *10mul.sÞß9¤�/ / MULTIPLICATION & SQUARING / _SQR2: mov (sp),-(sp) _MUL2: mov (sp)+,r0 mul (sp)+,r0 mov r1,-(sp) mov r0,-(sp) return _MUL42: mov 2(sp),r2 sxt r1 sub (sp),r1 tst 4(sp) sxt 2(sp) br 1f _MUL24: tst (sp) sxt -(sp) br _MUL4 _SQR4: mov 2(sp),-(sp) mov 2(sp),-(sp) _MUL4: mov 2(sp),r2 sxt r1 sub (sp)+,r1 1: mov 4(sp),r0 sxt r3 sub 2(sp),r3 mul r0,r1 mul r2,r3 add r1,r3 mul r2,r0 sub r3,r0 add $6.,sp mov r1,-(sp) mov r0,-(sp) return _SQR8: movf (sp),fr0 br 1f _MUL8: movf (sp)+,fr0 1: mulf (sp)+,fr0 movf fr0,-(sp) return _MUL28: tst (sp) sxt -(sp) _MUL48: movif (sp)+,fr0 mulf (sp)+,fr0 movf fr0,-(sp) return _MUL82: movf (sp)+,fr0 tst (sp) sxt -(sp) br 1f _MUL84: movf (sp)+,fr0 1: movif (sp)+,fr2 mulf fr0,fr2 movf fr2,-(sp) return s12div.sÞß9¤�í/ / INTEGER DIVISION / _DIV42: movif (sp)+,fr0  tst (sp) sxt -(sp) br 2f _DIV24: mov (sp)+,r2 mov (sp)+,r0 mov (sp)+,r1 div r2,r0 bvs 1f mov r0,-(sp) sxt -(sp) return 1: sub $6.,sp tst r2 sxt -(sp) _DIV4: movif (sp)+,fr0 2: cfcc beq 9f movif (sp)+,fr1 divf fr0,fr1 movfi fr1,-(sp) return _DIV2: mov (sp)+,r2 beq 9f mov (sp)+,r1 sxt r0 div r2,r0 bvs 1f mov r0,-(sp) sxt -(sp) return 1: mov $100000,-(sp) sxt -(sp) return 9: mov $EDIVCHK,_perrno error EDIVCHK _13mod.sÞß9¤�3/ / MODULO / _MOD42: movif (sp)+,fr0 tst (sp) sxt -(sp) br 2f _MOD24: mov (sp)+,r2 mov (sp)+,r0 mov (sp)+,r1 div r2,r0 bvs 1f mov r1,-(sp) sxt -(sp) return 1: sub $6.,sp tst r2 sxt -(sp) _MOD4: movif (sp)+,fr0 2: cfcc beq 9f movif (sp)+,fr1 divf fr0,fr1 modf $ONE,fr1 mulf fr0,fr1 cfcc bgt 1f subf $HALF,fr1 br 2f 1: addf $HALF,fr1 2: movfi fr1,-(sp) return _MOD2: mov (sp)+,r2 beq 9f mov (sp)+,r1 sxt r0 div r2,r0 bvs 1f mov r1,-(sp) sxt -(sp) return 1: clr -(sp) sxt -(sp) return 9: mov $EMODCHK,_perrno error EMODCHK t14neg.sÞß9¤�û/ / NEGATION & ABSOLUTE VALUE / _ABS2: tst (sp) bge 1f _NEG2: neg (sp) 1: sxt -(sp) return _ABS4: tst (sp) bge 1f _NEG4: mov (sp)+,r0 neg r0 neg (sp) sbc r0 mov r0,-(sp) 1: return _ABS8: absf (sp) return _NEG8: negf (sp) cfcc return s16dvd.sÞß9¤�*/ / FLOATING DIVISION / _DVD2: tst (sp) sxt -(sp) _DVD42: movif (sp)+,fr0 br 1f _DVD82: movf (sp)+,fr0 1: cfcc beq 9f tst (sp) sxt -(sp) movif (sp)+,fr2 divf fr0,fr2 movf fr2,-(sp) return _DVD24: tst (sp) sxt -(sp) _DVD4: movif (sp)+,fr0 br 1f _DVD84: movf (sp)+,fr0 1: cfcc beq 9f movif (sp)+,fr2 divf fr0,fr2 movf fr2,-(sp) return _DVD28: tst (sp) sxt -(sp) _DVD48: movif (sp)+,fr0 br 1f _DVD8: movf (sp)+,fr0 1: cfcc beq 9f movf (sp)+,fr2 divf fr0,fr2 movf fr2,-(sp) return 9: mov $EFDIVCHK,_perrno error EFDIVCHK 17ind.sÞß9¤��/ / INDS / _IND2: mov *(sp)+,-(sp) return _IND4: mov (sp),r0 tst -(sp) mov sp,r2 mov (r0)+,(r2)+ mov (r0)+,(r2)+ return _IND1: movb *(sp),r0 mov r0,(sp) return _IND8: mov $8,r3 _IND: bne 1f mov (lc)+,r3 1: mov (sp)+,r0 _INDcon: add r3,r0 asr r3 bcc 1f movb -(r0),r1 bic $!377,r1 mov r1,-(sp) / clean for sets, e.g. 1: inc r3 br 2f 1: mov -(r0),-(sp) 2: sob r3,1b return v17rv.sÞß9¤�×/ / RVALUES / _RV2: mov _display(r3),r0 add (lc)+,r0 mov (r0),-(sp) return _RV4: mov _display(r3),r0 add (lc)+,r0 sub $4,sp mov sp,r2 mov (r0)+,(r2)+ mov (r0)+,(r2)+ return _RV1: mov _display(r3),r0 add (lc)+,r0 movb (r0),r1 mov r1,-(sp) return _RV8: mov _display(r3),r0 add (lc)+,r0 sub $8,sp mov sp,r2 mov (r0)+,(r2)+ mov (r0)+,(r2)+ mov (r0)+,(r2)+ mov (r0)+,(r2)+ return _RV: mov _display(r3),r0 add (lc)+,r0 mov r0,-(sp) clr r3 br _IND r20con.sÞß9¤�Y/ / CONOPS / _CON1: mov r3,-(sp) return _CON2: mov (lc)+,-(sp) return _CON4: mov (lc)+,r0 mov (lc)+,-(sp) mov r0,-(sp) return _CON8: mov (lc)+,r0 mov (lc)+,r1 mov (lc)+,r2 mov (lc)+,-(sp) mov r2,-(sp) mov r1,-(sp) mov r0,-(sp) return _CON: bne 1f mov (lc)+,r3 1: mov r3,r2 inc r2 bic $1,r2 mov lc,r0 add r2,lc br _INDcon 21rang.sÞß9¤�Ò/ / range checking / _RANG42: bne 1f mov (lc)+,r3 1: mov 2(sp),r0 sxt r1 cmp r1,(sp) bne 9f br 2f _RANG2: bne 1f mov (lc)+,r3 1: mov (sp),r0 2: cmp r0,r3 blt 9f cmp r0,(lc)+ bgt 9f return _RANGS42: bne 1f mov (lc)+,r3 1: mov 2(sp),r0 sxt r1 cmp r1,(sp) bne 9f cmp r0,r3 bhi 9f return _RANGS2: bne 1f mov (lc)+,r3 1: cmp (sp),r3 bhi 9f return _RANGS4: mov (sp),r0 bmi 9f mov 2(sp),r1 br 2f _RANGS24: mov (sp),r1 bmi 9f sxt r0 br 2f _RANG24: mov (sp),r1 sxt r0 br 1f _RANG4: mov (sp),r0 mov 2(sp),r1 1: cmp r0,(lc)+ blt 9f bgt 1f cmp r1,(lc) blo 9f 1: tst (lc)+ 2: cmp r0,(lc)+ bgt 9f blt 1f cmp r1,(lc) bhi 9f 1: tst (lc)+ return 9: mov $ERANGE,_perrno error ERANGE 24case.sÞß9¤�p/ / CASE OPERATORS / _CASE1OP: bne 1f mov (lc)+,r3 1: mov lc,r0 add r3,r0 add r3,r0 mov r3,r2 tst (sp)+ 1: cmpb (r0)+,-2(sp) beq 5f sob r3,1b mov $ECASE,_perrno error ECASE _CASE2OP: bne 1f mov (lc)+,r3 1: mov lc,r0 add r3,r0 add r3,r0 mov r3,r2 tst (sp)+ 1: cmp (r0)+,-2(sp) beq 5f sob r3,1b mov $ECASE,_perrno error ECASE _CASE4OP: bne 1f mov (lc)+,r3 1: mov lc,r0 add r3,r0 add r3,r0 mov r3,r2 cmp (sp)+,(sp)+ 1: cmp (r0)+,-4(sp) beq 2f tst (r0)+ br 3f 2: cmp (r0)+,-2(sp) beq 5f 3: sob r3,1b mov $ECASE,_perrno error ECASE 5: sub r3,r2 add r2,r2 add lc,r2 add (r2),lc return 24pxp.sÞß9¤�£/ / PXP stuff / _PXPBUF: mov (lc),r0 mov r0,r2 add $3,r0 add r0,r0 add r0,r0 mov r0,-(sp) mov r0,_pxpsize jsr pc,_alloc mov r0,_pxpbuf mov r0,r2 mov $426,(r2)+ clr (r2)+ sys time mov r0,(r2)+ mov r1,(r2)+ mov (lc)+,(r2)+ tst (lc)+ mov (lc)+,(r2)+ return _TRACNT: mov 4(lc),r3 add (lc),lc br 1f _COUNT: bne 1f mov (lc)+,r3 1: add r3,r3 add r3,r3 add _pxpbuf,r3 add $1,2(r3) adc (r3) return v25set.sÞß9¤�²/ / SET OPERATIONS / _ADDT: bne 1f mov (lc)+,r3 1: inc r3 bic $1,r3 mov sp,r0 add r3,sp mov sp,r1 asr r3 1: bis (r0)+,(r1)+ sob r3,1b return _SUBT: bne 1f mov (lc)+,r3 1: inc r3 bic $1,r3 mov sp,r0 add r3,sp mov sp,r1 asr r3 1: bic (r0)+,(r1)+ sob r3,1b bic (lc)+,-(r1) return _MULT: bne 1f mov (lc)+,r3 1: inc r3 bic $1,r3 mov sp,r0 add r3,sp mov sp,r1 asr r3 1: mov (r0)+,r2 com r2 bic r2,(r1)+ sob r3,1b return _CARD: bne 1f mov (lc)+,r3 1: mov r3,r1 mov sp,r2 inc r3 bic $1,r3 add r3,sp clr r3 1: movb (r2),r0 bic $!17,r0 asl r0 add poptab(r0),r3 movb (r2)+,r0 ash $-3,r0 bic $!36,r0 add poptab(r0),r3 sob r1,1b mov r3,-(sp) return .data poptab: 0 / 0000 1 / 0001 1 / 0010 2 / 0011 1 / 0100 2 / 0101 2 / 0110 3 / 0111 1 / 1000 2 / 1001 2 / 1010 3 / 1011 2 / 1100 3 / 1101 3 / 1110 4 / 1111 .text _CTTOT: bne 1f mov (lc)+,r3 1: mov r3,-(sp) mov (lc)+,-(sp) mov (lc)+,-(sp) jsr pc,_pcttot mov r0,sp return _IN: bne 1f mov (lc)+,r3 1: mov (sp)+,r2 sub (lc)+,r2 bmi 8f cmp r2,(lc)+ bgt 9f mov r2,r1  bic $!7,r1 ash $-3,r2 add sp,r2 inc r3 bic $1,r3 add r3,sp mov $1,r0 ash r1,r0 bitb r0,(r2) jne true jmp false 8: tst (lc)+ 9: inc r3 bic $1,r3 add r3,sp jmp false _INCT: mov (sp)+,r2 mov (sp)+,r3 1: cmp r2,(sp)+ blt 2f cmp r2,(sp)+ bgt 3f dec r3 add r3,r3 add r3,r3 add r3,sp mov $1,-(sp) return 2: tst (sp)+ 3: sob r3,1b clr -(sp) return 26for.sÞß9¤�µ/ / FORS / _FOR1U: mov (sp)+,r2 movb (r2),r1 sxt r0 incb (r2) br 1f _FOR2U: mov (sp)+,r2 mov (r2),r1 sxt r0 inc (r2) br 1f _FOR4U: mov (sp)+,r2 mov (r2)+,r0 mov (r2),r1 add $1,(r2) adc -2(r2) 1: mov (sp)+,r2 mov (sp)+,r3 cmp r0,r2 beq 1f bgt 2f add (lc),lc return 1: cmp r1,r3 bhis 2f add (lc),lc return 2: tst (lc)+ return _FOR1D: mov (sp)+,r2 movb (r2),r1 sxt r0 decb (r2) br 1f _FOR2D: mov (sp)+,r2 mov (r2),r1 sxt r0 dec (r2) br 1f _FOR4D: mov (sp)+,r2 mov (r2)+,r0 mov (r2),r1 sub $1,(r2) sbc -2(r2) 1: mov (sp)+,r2 mov (sp)+,r3 cmp r0,r2 beq 1f blt 2f add (lc),lc return 1: cmp r1,r3 blos 2f add (lc),lc return 2: tst (lc)+ return 27conv.sÞß9¤�œ/ / CONVERSIONS / _STOI: tst (sp) sxt -(sp) return _STOD: tst (sp) sxt -(sp) _ITOD: movif (sp)+,fr0 movf fr0,-(sp) return _ITOS: tst (sp)+ return 30atof.sÞß9¤�Ð/ C library -- ascii to floating / f = atof(p) / char *p; ldfps = 170100^tst stfps = 170200^tst .globl _atof .globl csv, cret _atof: jsr r5,csv stfps -(sp) ldfps $200 movf fr1,-(sp) clr -(sp) clrf fr0 clr r2 mov 4(r5),r3 1: movb (r3)+,r0 cmp $' ,r0 beq 1b cmpb r0,$'- bne 2f inc (sp) 1: movb (r3)+,r0 2: sub $'0,r0 cmp r0,$9. bhi 2f jsr pc,digit br 1b inc r2 br 1b 2: cmpb r0,$'.-'0 bne 2f 1: movb (r3)+,r0 sub $'0,r0 cmp r0,$9. bhi 2f jsr pc,digit dec r2 br 1b 2: cmpb r0,$'E-'0 beq 3f cmpb r0,$'e-'0 bne 1f 3: clr r4 clr r1 cmpb (r3),$'- bne 3f inc r4 inc r3 3: movb (r3)+,r0 sub $'0,r0 cmp r0,$9. bhi 3f mul $10.,r1 add r0,r1 br 3b 3: tst r4 bne 3f neg r1 3: sub r1,r2 1: movf $one,fr1 mov r2,-(sp) beq 2f bgt 1f neg r2 1: cmp r2,$38. blos 1f clrf fr0 tst (sp)+ bmi out movf $huge,fr0 br out 1: mulf $ten,fr1 sob r2,1b 2: tst (sp)+ bge 1f divf fr1,fr0 br 2f 1: mulf fr1,fr0 cfcc bvc 2f movf $huge,fr0 2: out: tst (sp)+ beq 1f negf fr0 1: movf (sp)+,fr1 ldfps (sp)+ jmp cret / / digit: cmpf $big,fr0 cfcc blt 1f mulf $ten,fr0 movif r0,fr1 addf fr1,fr0 rts pc 1: add $2,(sp) rts pc / / one = 40200 ten = 41040 big = 56200 huge = 77777 30getname.sÞà9¤�v / / getname / / takes the width of a string in r3 / returns a pointer to a file structure in r0 / / there should be a string on the stack / of length the contents of r3 on top of / a pointer to the file variable / / a new file structure is allocated if needed / temporary names are generated, and given / names are blank trimmed / / if a new file buffer is allocated, the address / is stored throught the file variable pointer / / getname: mov (sp)+,reta mov sp,r2 mov r3,r1 inc r1 bic $1,r1 add sp,r1 mov (r1)+,r0 mov r1,newsp tst (r0) bne gotone / / dont have a file struct / so alloc a new one / mov r0,-(sp) mov (lc),r0 bne 1f mov $1,r0 1: add $518.+14.,r0 mov r0,-(sp) jsr pc,_alloc tst (sp)+ mov r0,518.(r0) add $518.+12.,r0 mov (lc)+,(r0)+ bne 1f bis $FTEXT,FUNIT(r0) mov $1,FSIZE(r0) 1: mov (sp),FLEV(r0) mov $fchain-FCHAIN,-(sp) / get head of file chain mov fchain,r1 / contents of head of file chain 1: bne 2f / end of the chain? mov (sp)+,r1 / get last chain entry mov r0,FCHAIN(r1) / and stuff the current file in clr FCHAIN(r0) / last entry br 3f 2: cmp FLEV(r1),2(sp) / are we past it yet? beq 3f bhi 2f mov r1,(sp) / advance the chain mov FCHAIN(r1),r1 br 1b 2: mov r1,FCHAIN(r0) mov (sp)+,r1 / address of last entry mov r0,FCHAIN(r1) / stuff in the current entry 3: mov r0,*(sp)+ br 2f / / have a previous buffer / close the associated file / gotone: tst (lc)+ mov (r0),r1 mov FUNIT(r1),r0 bgt 3f / from name from prog hedr bic $100000,FUNIT(r1) br 1f 3: bit $FWRITE,FUNIT(r1) beq 6f mov r0,-(sp) mov r1,-(sp) mov FBUF(r1),-(sp) jsr pc,_fflush tst (sp)+ mov (sp)+,r1 mov (sp)+,r0 6: bic $!17,r0 sys close bes 9f bit $TEMP,FUNIT(r1) beq 1f tst r3 beq 1f mov r0,-(sp) mov r1,-(sp) jsr pc,cleanup mov (sp)+,r1 mov (sp)+,r0 1: bic $![TEMP+FTEXT],FUNIT(r1) mov FBUF(r1),r0 clr (r0)+ / clear the getc/putc buffer clr (r0)+ clr (r0)+ mov r1,r0 / / get the filename to the / buffer (not necess. easy) / 2: tst r3 bne 2f / / no name given / tst FNAME(r0) beq 1f / / no name given and had / a prev name so use it / again / mov newsp,sp jmp *reta 9: mov $ECLOSE,_perrno error ECLOSE / / no name given and no / prev name so generate / a new one of the form / "tmp.x" / 1: bis $TEMP,FUNIT(r0) inc nextu movb nextu,tnam+4 mov $tnam,r2 mov $6.,-(sp) br alname / / name given / strip trailing blanks / 2: bic $TEMP,FUNIT(r0) add r3,r2 clrb (r2) 1: cmpb -1(r2),$' bne 1f clrb -(r2) dec r3 bne 1b 1: sub r3,r2 inc r3 mov r3,-(sp) / / save the new name / in dynamic space / alname: mov r0,r3 jsr pc,_alloc mov r0,r1 1: movb (r2)+,(r0)+ bne 1b mov r1,r2 / / free previous file name / (if any) / mov FNAME(r3),r0 beq 1f mov r0,-(sp) jsr pc,_free tst (sp)+ / / put the new name / into the structure / 1: mov r2,FNAME(r3) mov r2,PFNAME(r3) mov r3,r0 mov newsp,sp jmp *reta .bss reta: .=.+2 newsp: .=.+2 .text .globl cleanup cleanup: mov r2,-(sp) mov 4(sp),r2 mov PFNAME(r2),0f sys indir;8f .data 8: sys unlink;0: .. .text bec 1f mov PFNAME(r2),_file mov $EREMOVE,_perrno error EREMOVE 1: mov PFNAME(r2),-(sp) jsr pc,_free tst (sp)+ mov (sp)+,r2 rts pc 30io.sÞà9¤�ÿ/ / IO operations / _GET: jsr pc,get jsr pc,iosync return _PUT: jsr pc,put return _MESSAGE: mov $_unit2,r0 jsr pc,unit mov fchain,r2 / flush all files 1: beq 2f bit $FWRITE,FUNIT(r2) beq 3f mov FBUF(r2),-(sp) jsr pc,_fflush tst (sp)+ 3: mov FCHAIN(r2),r2 br 1b 2: mov $_unit1,r2 mov FBUF(r2),-(sp) jsr pc,_fflush tst (sp)+ return _FNIL: mov (sp),r0 mov _file,-(sp) mov buf,-(sp) jsr pc,unit jsr pc,iosync mov (sp)+,buf mov (sp)+,_file return _BUFF: mov r3,bufopt return _EOF: mov (sp)+,r0 mov _file,-(sp) mov buf,-(sp) mov $EOF,-(sp) br 1f _EOLN: mov (sp)+,r0 mov _file,-(sp) mov buf,-(sp) mov $EOF+EOLN,-(sp) 1: jsr pc,unit cmp buf,$_unit0 bne 1f cmp bufopt,$1 bne 1f mov $u1buf,-(sp) jsr pc,_fflush tst (sp)+ 1: mov (sp)+,r1 clr -(sp) mov buf,r2 bit $EOF,FUNIT(r2) bne 2f jsr pc,iosync bit r1,FUNIT(r2) beq 1f 2: mov $1,(sp) 1: mov (sp)+,r0 mov (sp)+,buf mov (sp)+,_file mov r0,-(sp) return _RESET: bne 1f / branch if name given cmp *(sp),$_unit0 bne 1f tst _unit0+FNAME bne 1f clr r0 sys seek; 0; 0 bes 9f tst (sp)+ tst (lc)+ bic $EOF+EOLN,_unit0+FUNIT bis $SYNC,_unit0+FUNIT return 9: mov $stdin,_file mov r0,_errno mov $ESEEK,_perrno error ESEEK 1: jsr pc,getname mov r0,r1 mov PFNAME(r1),_file mov FNAME(r1),openrnm sys indir; openr bes eopen mov r0,*FBUF(r1) bis $SYNC|FREAD,r0 bis r0,FUNIT(r1) return ecreat: mov r0,_errno mov $ECREATE,_perrno error ECREATE eopen: mov r0,_errno mov $EOPEN,_perrno error EOPEN .data openr: sys open; openrnm: .. ; 0 creit: sys creat; crenm: ..; 0644 openw: sys open; openwnm: .. ; 1 .text _REWRITE: jsr pc,getname mov r0,r1 mov PFNAME(r1),_file mov FNAME(r1),crenm sys indir; creit bes ecreat sys close mov FNAME(r1),openwnm sys indir; openw bes eopen mov r0,*FBUF(r1) bis $EOF|FWRITE,r0 bis r0,FUNIT(r1) return _REMOVE: bne 1f mov (lc)+,r3 1: mov sp,r1 mov r3,r2 inc r2 bic $1,r2 add r2,sp add r3,r1 mov r1,r0 movb (r1),r2 clrb (r1) 1: cmpb -1(r1),$' bne 1f clrb -(r1) dec r3 bne 1b 1: sub r3,r1 mov r1,1f mov r1,_file sys indir; 0f bes 9f movb r2,(r0) return .data 0: sys unlink; 1: .. .text 9: mov _file,sp mov r0,_errno mov $EREMOVE,_perrno error EREMOVE _UNITINP: cmp bufopt,$2 bge 1f / bufopt >= 2, don't flush on read cmp $512.,u1cnt beq 1f mov $u1buf,-(sp) jsr pc,_fflush tst (sp)+ 1: mov $_unit0,buf mov $stdin,_file return _UNITOUT: mov $_unit1,buf mov $stdout,_file return _UNIT: mov (sp)+,r0 cmp r0,$_unit0 beq _UNITINP jsr pc,unit return _READ8: sub $32.,sp mov sp,-(sp) mov $32.,-(sp) mov $1,-(sp) jsr pc,_preadn bcs 1f add $6,sp mov sp,-(sp) jsr pc,_atof add $34.,sp movf fr0,-(sp) return 1: add $38.,sp clrf -(sp) return _READ4: sub $20.,sp mov sp,-(sp) mov $20.,-(sp) clr -(sp) jsr pc,_preadn bcs 1f add $6.,sp mov sp,-(sp) jsr pc,_atol add $22.,sp mov r1,-(sp) mov r0,-(sp) return 1: add $26.,sp clr -(sp) sxt -(sp) return _READC: jsr pc,iosync clr -(sp) movb *buf,(sp) jsr pc,get return _READLN: jsr pc,iosync mov buf,r0 bit $EOLN+EOF,FUNIT(r0) bne 1f jsr pc,get br _READLN 1: jsr pc,get return _PAGE: mov $14,-(sp) br 1f _WRITC: beq 1f mov $323,r0 br pwriteit 1: movb (sp)+,*buf jsr pc,put tst bufopt beq 2f return _WRITLN: mov $327,r0 mov $'\n,-(sp) mov $1,r2 cmp buf,$_unit1 bne 1f cmp bufopt,$1 bgt 1f clr r2 br 1f _WRITG: mov $325,r0 mov (lc)+,-(sp) br pwriteit _WRHEX2: mov $267,r0 br 3f _WRHEX4: mov $277,r0 br 3f _WROCT2: mov $330,r0 br 3f _WROCT4: mov $331,r0 br 3f _WRIT2: mov $320,r0 br 3f _WRIT4: mov $321,r0 br 3f _WRIT8: mov $324,r0 br 3f _WRITB: mov $322,r0 br 3f _WRIT82: mov $326,r0 3: pwriteit: mov bufopt,r2 1: mov r3,-(sp) mov r0,-(sp) jsr pc,_pwrite mov r0,sp tst r2 bne 1f 2: cmp buf,$_unit1 bne 1f mov buf,r0 mov FBUF(r0),-(sp) jsr pc,_fflush tst (sp)+ 1: return _DEFNAME: jsr pc,getname bis $100000,FUNIT(r0) return _FLUSH: mov (sp)+,r0 jsr pc,unit mov buf,r0 bit $FWRITE,FUNIT(r0) beq 1f mov FBUF(r0),-(sp) jsr pc,_fflush tst (sp)+ 1: return 230iosubs.sÞ'‚¤�Ë / / IO SUBROUTINES / .globl _getc,_putc _pmessage: mov r3,-(sp) mov _file,r3 mov $_unit2,r0 jsr pc,unit mov r3,_file mov fchain,r3 / flush all files 1: tst r3 beq 2f bit $FWRITE,FUNIT(r3) beq 3f mov FBUF(r3),-(sp) jsr pc,_fflush tst (sp)+ 3: mov FCHAIN(r3),r3 br 1b 2: mov $_unit1,r3 mov FBUF(r3),-(sp) jsr pc,_fflush tst (sp)+ mov (sp)+,r3 rts pc _pputch: mov 2(sp),*buf jsr pc,put rts pc / / iosync insures that / a useable image is in / the buffer window. / 2: mov (sp)+,r3 mov (sp)+,r2 mov (sp)+,r1 rts pc iosync: mov buf,r0 bit $SYNC,FUNIT(r0) / dirty bit bne 1f rts pc 1: mov r1,-(sp) mov r2,-(sp) mov r3,-(sp) mov r0,r2 bic $SYNC,FUNIT(r2) bit $EOF,FUNIT(r2) bne pasteof mov FSIZE(r2),r3 1: mov buf,r0 mov FBUF(r0),-(sp) jsr pc,_getc tst (sp)+ tst r0 bmi eof movb r0,(r2)+ sob r3,1b mov buf,r0 bic $EOLN,FUNIT(r0) bit $FTEXT,FUNIT(r0) beq 2b cmpb *buf,$'\n bne 2b bis $EOLN,FUNIT(r0) movb $' ,*buf br 2b eof: mov buf,r0 bis $EOF,FUNIT(r0) br 2b pasteof: mov $EPASTEOF,_perrno error EPASTEOF / / get insures that / something is in the window / and then sets the dirty / bit effectively throwing the / windowed data away / get: mov r1,-(sp) mov buf,r1 bit $FREAD,FUNIT(r1) bne 1f mov $EREADIT,_perrno error EREADIT 1: jsr pc,iosync bis $SYNC,FUNIT(r1) mov (sp)+,r1 rts pc put: cmp buf,$_unit2 beq 6f mov r2,-(sp) mov r3,-(sp) mov buf,r2 bit $FWRITE,FUNIT(r2) bne 1f mov $EWRITEIT,_perrno error EWRITEIT 1: mov FSIZE(r2),r3 1: mov buf,r0 mov FBUF(r0),-(sp) / the hidden buffer movb (r2)+,-(sp) / the character to write jsr pc,_putc cmp (sp)+,(sp)+ tst _errno / error occurred? bne 9f sob r3,1b mov (sp)+,r3 mov (sp)+,r2 rts pc 9: mov $EWRITE,_perrno error EWRITE 6: mov $2,r0 sys write; _unit2; 1 bes 9b cmp r0,$1 bne 9b rts pc unit: mov r0,buf beq 1f tst FUNIT(r0) bmi 1f mov PFNAME(r0),_file rts pc 1: mov $EREFINAF,_perrno error EREFINAF / / standard files / .data / / unit 0 for "input" / u0buf: .=.+518. .-518. / buffer pointer 0 0 stdin 0 / file name FTEXT+FREAD+SYNC+0 / flags & unit number 1 / size of items _unit0: 0 / window / / unit 1 for "output" / u1buf: 1 / file descriptor for putc _draino: u1cnt: .=.+516. u1buf / putc buffer pointer 0 0 stdout 0 FTEXT+FWRITE+1+EOF 1 _unit1: 0 / / unit2 for / 0 0 0 mesgf 0 FTEXT+FWRITE+2 1 _unit2: 0 / FBUF = -14. FCHAIN = -12. FLEV = -10. PFNAME = -8. FNAME = -6 FUNIT = -4 FSIZE = -2 nextu: '0 / next temp file tnam: .even .bss buf: .=.+2 fchain: .=.+2 .data bufopt: 1 stdin: stdout: mesgf: .text EOF = 400 EOLN = 1000 SYNC = 2000 TEMP = 4000 FREAD = 10000 FWRITE = 20000 FTEXT = 40000 30read.sÞà9¤�¼.globl _preadn .text / / preadn(pfloat, pdigits, pbuf) / char *pbuf; / / This routine reads a number from the current active file. / pdigits is the size of pbuf in characters. / pfloat is 0 to read an integer, 1 to read a real number. / it returns with the carry bit set if it reaches EOF before / reading any characters of the number while EOF was not true / before the call. / pfloat = 2. pdigits = 4. pbuf = 6. / _preadn: mov pbuf(sp),r2 mov pdigits(sp),r3 jsr pc,iosync mov buf,r0 mov FUNIT(r0),flags bit $EOF,flags bne 9f br 2f / / skip white space / 1: jsr pc,get jsr pc,iosync bit $EOF,FUNIT(r0) bne prsec 2: movb *buf,r0 cmp r0,$' beq 1b cmp r0,$'\t beq 1b cmp r0,$14 beq 1b cmp r0,$'\n beq 1b / / starting point for / a signed number / record + and - if present / psignd: clr r1 / digit count cmp r0,$'- bne 1f dec r3 ble prtood movb r0,(r2)+ br 2f 1: cmp r0,$'+ bne 1f 2: jsr pc,get br 1f / / starting point for / a unsigned number / punsd: clr r1 1: jsr pc,iosync bit $EOF,flags bne 2f movb *buf,r0 cmp r0,$'0 blt 2f cmp r0,$'9 bgt 2f dec r3 ble prtood movb r0,(r2)+ inc r1 jsr pc,get br 1b / / got a non digit or EOF / 2: tst r1 beq prerr 1: mov pfloat(sp),r1 beq 4f cmp r1,$1 bne 1f cmp r0,$'. beq 3f inc r1 1: cmp r1,$2 bne 4f 2: cmp r0,$'e beq 3f cmp r0,$'E bne 4f 3: dec r3 ble prtood movb r0,(r2)+ jsr pc,get inc r1 mov r1,pfloat(sp) sub $2,r1 beq punsd jsr pc,iosync bit $EOF,flags bne 6f movb *buf,r0 br psignd 4: dec r3 ble prtood clrb (r2)+ rts pc prsec: sec rts pc prtood: mov $ETOODIGITS,_perrno error ETOODIGITS prerr: tst pfloat(sp) beq 1f 6: mov $EBADFNUM,_perrno error EBADFNUM 1: mov $EBADINUM,_perrno error EBADINUM 9: mov $EPASTEOF,_perrno error EPASTEOF / / long atol(str) / char *str; / / Convert string str to an integer / _atol: mov 2(sp),r3 clr r0 clr r1 cmpb (r3),$'- bne 1f inc r3 1: movb (r3)+,r2 beq 1f ashc $1,r0 bvs 9f mov r1,-(sp) mov r0,-(sp) ashc $2,r0 bvs 9f add (sp)+,r0 bvs 9f add (sp)+,r1 adc r0 bvs 9f sub $'0,r2 add r2,r1 adc r0 bvs 9f br 1b 1: cmpb *2(sp),$'- bne 1f neg r0 neg r1 1: sbc r0 rts pc 9: mov $EBIGGIE,_perrno error EBIGGIE .bss flags: .=.+2 .text 30write.sÞà9¤�ƒ.globl _pwril, _pwrite, csv, cret .text / / pwril(w, lint) / int w; / long lint; / / This routine writes the character representation of lint / in a field at least w characters wide using pwrite. / _pwril: jsr r5,csv mov sp,r3 add $14.,r3 / 2(r3) = low, (r3) = high mov sp,r2 sub $14.,sp clr (r2) mov (r3),r1 bpl pwril neg r1 neg 2(r3) sbc r1 inc (r2) pwril: clr r0 div $10.,r0 mov r0,(r3) mov r1,r0 asl r0 asl r0 add $pw_tab,r0 mov (r0)+,r1 mov r0,-(sp) clr r0 add 2(r3),r1 adc r0 div $10.,r0 add $'0,r1 movb r1,-(r2) add *(sp)+,r0 adc (r3) beq 1f mov r0,2(r3) mov (r3),r1 br pwril 1: mov r0,r1 beq 1f pwrsl: clr r0 div $10.,r0 add $'0,r1 movb r1,-(r2) mov r0,r1 bne pwrsl 1: mov r2,r4 sub sp,r2 sub $14.,r2 neg r2 mov -2(r3),r3 sub r2,r3 tst 14.(sp) beq 1f dec r3 1: dec r3 bmi 1f mov $' ,r0 jsr pc,2f br 1b 1: tst 14.(sp) beq 1f mov $'-,r0 jsr pc,2f 1: dec r2 bmi 1f movb (r4)+,r0 jsr pc,2f br 1b 1: add $14.,sp jmp cret 2: mov r0,-(sp) / routine to call _pwrite with a char clr -(sp) mov $O_WRITC,-(sp) jsr pc,_pwrite add $6,sp rts pc / / Table of quotients and remainders of dividing integer high / words and zero low words by 10. Table was generated using dc. / .data pw_tab: 0; 0 6; 14631 2; 31463 10; 46314 4; 63146 0; 100000 6; 114631 2; 131463 10; 146314 4; 163146 .text ,34fun.s"_¤�b / / BUILT IN FUNCTIONS / _LLIMIT: add $4.,sp return _ARGC: mov _argc,-(sp) sxt -(sp) return _ARGV: bne 1f mov (lc)+,r3 1: mov (sp)+,r1 mov (sp)+,r0 blt 9f cmp r0,_argc bge 9f add r0,r0 add _argv,r0 mov (r0),r0 inc r3 br 3f 1: movb (r0)+,r2 bne 2f dec r0 mov $' ,r2 2: movb r2,(r1)+ 3: sob r3,1b return 9: mov $EARGV,_perrno error EARGV _SCLCK: mov $2,-(sp) br 1f _CLCK: clr -(sp) 1: sub $12.,sp mov sp,0f sys indir; 1f mov sp,r0 add 12.(sp),r0 mov (r0),r0 add $14.,sp mul $1000.,r0 mov r1,-(sp) mov r0,-(sp) movif (sp)+,fr0 mov $60.,-(sp) sxt -(sp) movif (sp)+,fr1 divf fr1,fr0 movfi fr0,-(sp) return .data 1: sys times; 0:.. .text _DATE: _TIME: asr r0 bic $!377,r0 mov r0,-(sp) jsr pc,_pdattim cmp (sp)+,(sp)+ return _SEED: mov (sp)+,r0 mov (sp)+,r1 mov _seed+2,-(sp) mov _seed,-(sp) mov r0,_seed mov r1,_seed+2 return _RANDOM: movif _seed,fr0 mulf _randa,fr0 addf _randc,fr0 movf fr0,fr2 modf _randim,fr2 movf fr2,(sp) mulf _randm,fr2 movfi fr2,_seed return _DISPOSE: tst (sp) beq 1f jsr pc,_free 1: tst (sp)+ return _NEW: bne 1f mov (lc)+,r3 1: mov r3,-(sp) jsr pc,_alloc tst (sp)+ mov r0,*(sp)+ return _EXPO: movf (sp)+,fr0 movei fr0,-(sp) sxt -(sp) return _ATAN: movf (sp)+,fr0 jsr pc,atan movf fr0,-(sp) return _COS: movf (sp)+,fr0 jsr pc,cos movf fr0,-(sp) return _EXP: movf (sp)+,fr0 jsr pc,exp movf fr0,-(sp) return _LN: movf (sp)+,fr0 cfcc bmi 9f jsr pc,log movf fr0,-(sp) return 9: mov $ELN,_perrno error ELN _SIN: movf (sp)+,fr0 jsr pc,sin movf fr0,-(sp) return _SQRT: movf (sp)+,fr0 cfcc bmi 9f jsr pc,sqrt movf fr0,-(sp) return 9: mov $ESQRT,_perrno error ESQRT _CHR4: tst (sp)+ bne 1f _CHR2: cmp (sp),$177 bhi 1f return 1: mov $ECHR,_perrno error ECHR _ODD4: tst (sp)+ _ODD2: bic $!1,(sp) return _PRED2: dec (sp) return _PRED4: sub $1,2(sp) sbc (sp) return _PRED24: sub $1,(sp) sxt -(sp) return _STLIM: mov (sp)+,r0 bge 1f tst (sp)+ return 1: mov (sp)+,r1 sub _stcnt+2,r1 sbc r0 sub _stcnt,r0 ashc $0,r0 bge 1f mov $ESTLIM,_perrno error ESTLIM 1: mov r0,_stlim mov r1,_stlim+2 return _SUCC2: inc (sp) return _SUCC4: add $1,2(sp) adc (sp) return _SUCC24: add $1,(sp) sxt -(sp) return _ROUND: movf (sp)+,fr0 cfcc bmi 1f addf $HALF,fr0 br 2f 1: subf $HALF,fr0 2: movfi fr0,-(sp) return _TRUNC: movf (sp)+,fr0 movfi fr0,-(sp) return _UNDEF: add $8,sp clr -(sp) return / / pack(a,i,z) / / with: a: array[m..n] of t / z: packed array[u..v] of t / / semantics: for j := u to v do / z[j] := a[j-u+i]; / / need to check: / 1. i >= m / 2. i+(v-u) <= n (i.e. i-m <= (n-m)-(v-u)) / / on stack: lv(z), lv(a), rv(i) (len 2) / / move w(t)*(v-u+1) bytes from lv(a)+w(t)*(i-m) to lv(z) / _PACK: bne 1f mov (lc)+,r3 1: mov $pack,reta / / check conditions 1 and 2 / pakunp: mov 4(sp),r1 sub (lc)+,r1 / m blt 9f cmp r1,(lc)+ / (n-m)-(u-v) bgt 9f mul r3,r1 mov (sp)+,r0 add (sp)+,r1 tst (sp)+ mov (lc)+,r3 inc r3 jmp *reta unpack: mov r0,r2 mov r1,r0 mov r2,r1 br pack 1: movb (r1)+,(r0)+ pack: sob r3,1b return / / unpack(z,a,i) / / with: z and a as in pack / / semantics: for j := u to v do / a[j-u+i] := z[j] / _UNPACK: bne 1f mov (lc)+,r3 1: mov $unpack,reta br pakunp 9: cmp reta,$pack beq 1f mov $EUNPACK,_perrno error EUNPACK 1: mov $EPACK,_perrno error EPACK _WCLCK: sys time mov r1,-(sp) mov r0,-(sp) return E.hà²n¤�µ#define ECHR 1 #define EDIVCHK 2 #define EFDIVCHK 3 #define EHALT 4 #define ENILPTR 5 #define EPASTEOF 6 #define ESQRT 7 #define ESTKNEMP 8 #define ESUBSCR 9 #define EREFINAF 10 #define EWRITE 11 #define ECREATE 12 #define ELN 13 #define EBADOP 14 #define EBADINUM 15 #define EGOTO 16 #define ECASE 17 #define ESEEK 18 #define EALLOC 19 #define EOUTOFMEM 20 #define ECTTOT 21 #define ETOODIGITS 22 #define EMODCHK 23 #define EBADFNUM 24 #define EREMOVE 25 #define ECLOSE 26 #define EOPEN 27 #define EARGV 28 #define EPACK 29 #define EUNPACK 30 #define ERANGE 31 #define EASRT 32 #define EREADIT 33 #define EWRITEIT 34 #define EBIGGIE 35 #define ESTLIM 36 #define ESTKOVFLO 37 #define EINTR 38 fE.sà¾n¤�÷ECHR = 1. EDIVCHK = 2. EFDIVCHK = 3. EHALT = 4. ENILPTR = 5. EPASTEOF = 6. ESQRT = 7. ESTKNEMP = 8. ESUBSCR = 9. EREFINAF = 10. EWRITE = 11. ECREATE = 12. ELN = 13. EBADOP = 14. EBADINUM = 15. EGOTO = 16. ECASE = 17. ESEEK = 18. EALLOC = 19. EOUTOFMEM = 20. ECTTOT = 21. ETOODIGITS = 22. EMODCHK = 23. EBADFNUM = 24. EREMOVE = 25. ECLOSE = 26. EOPEN = 27. EARGV = 28. EPACK = 29. EUNPACK = 30. ERANGE = 31. EASRT = 32. EREADIT = 33. EWRITEIT = 34. EBIGGIE = 35. ESTLIM = 36. ESTKOVFLO = 37. EINTR = 38. VEdataÞà9¤�…ECHR 1 EDIVCHK 2 EFDIVCHK 3 EHALT 4 ENILPTR 5 EPASTEOF 6 ESQRT 7 ESTKNEMP 8 ESUBSCR 9 EREFINAF 10 EWRITE 11 ECREATE 12 ELN 13 EBADOP 14 EBADINUM 15 EGOTO 16 ECASE 17 ESEEK 18 EALLOC 19 EOUTOFMEM 20 ECTTOT 21 ETOODIGITS 22 EMODCHK 23 EBADFNUM 24 EREMOVE 25 ECLOSE 26 EOPEN 27 EARGV 28 EPACK 29 EUNPACK 30 ERANGE 31 EASRT 32 EREADIT 33 EWRITEIT 34 EBIGGIE 35 ESTLIM 36 ESTKOVFLO 37 EINTR 38 EmakeÞà9í�Med - Edata 1,$s/^/#define / w E.h q ed - Edata 1,$s/ / = / 1,$s/$/./ w E.s q SREAD_MEÞâ9¤�½August 28, 1977 This directory contains all the source for the interpreter px. The script "makepx" will make a new "px", the script "printpx" will print a copy of all the stuff here. The binaries here can be installed immediately with "install". If you have no floating point use a.outNOFLOAT rather than a.out; do mv a.outNOFLOAT a.out before install In making a px for a system without floating point, the program "flt40" is used to massage the interpreter code to make it run a good deal faster. Bill Joy Computer Science Division EECS Department University of California, Berkeley Berkeley, California 94704 Office: (415) 642-4948 Home: (415) 524-4510 ba.outàÑsí‘Èa €.`²Ø!0‰& ð€&Ð 6÷ ¼–%ß ˆ&‰ ð0‰b0‰÷&ÅP„¿æ”檕`•x÷<ˆ ðæ4÷ &÷(ˆ· ü÷eàæÜ&Äe ææàæ ¿È€À` ‚7 º ƒÃ & €!ý‚Á¬‰M÷%Ü%ˆ÷ Æ˜Ö ·¤·ÎÖ ¿ˆ×-„  ‚Àª&òÿ÷ t#÷ d ÷ z·f„·bMeæX&æPÃe÷HM€À`€!ƒ& üMÆ`M¦MÖ‹ Ô MÖ‹M÷ L ˆcM÷ÁF"÷eœþw –þ÷å–þ· �þ÷ Œþ÷$$ˆM÷ ˆcÃeÂÄ÷ À×-º÷ "Ò ·¾·èÒ ¿¢·žê†M÷̈¦ÂÌ 9¿,öÿ€5‚ò5 üÿ¦òÿ÷ n"Ö €üÿ �ÀEðÿ‰†·øÿj÷Œˆò5üÿ ·øÿðý‰†·øÿH÷jˆ¦úÿ÷ ZŽ‚ôÿÎå÷ LÖ Å·R‚‡÷ ºý‰¤‰‡€€%{"€�Î Â �À €�‚€ �%‚× ÿÿ{"× {"Ö € {"Î æ þ÷ð{"õÎ æ õ–þ÷ð{"õ÷ð{"€‚ ÂE†`�†`P¤ƒ~× {"& M& M & M& M& M& MæM& MÔ MÔ M Ô MÔ MÔ MÔ McM‚ ÂE�†`€†`‚ × Ãå Ån{:ÅPÖ Ô McM$΃~É$ǃ~ÈCBÅD †~ÁCB¾PD†~ºPD¸ƒ~³D´ƒ~¯Ö  MŽUMŽ ÎEþÿMÖ žM€�‚JM�À ùÖ ž•MÎ æ þøMÂÂ`‚ ÂE‚¡ ’Â~†’•Ö MÎ`MÖ Ã �å�T CpN`M÷ Z ˆÎ M÷L ˆÀe&MÖ €åt`M€��À ƒ C`B `æ¦M�À v`@ `M¶e¶eN Mõô&øMÎ æ þô&øMõÎ æ õ–þ€ô¦øM€��À ƒ Cà‚ àæ¦M�À và@ àM¶å¶åŽ Mõ–õ€ö¦øMÎ æ þ–õ€ö¦øMõÎ æ õ–þ€ö¦øM¦€pf&M‚Á �ãö ö  Î æ ¦¦‚Á �å€à ƒí@pÂpC`pÀàÆef&Mõõò&øMÎ æ þò&øMõÎ æ õ–þ€ò¦øMþÎ æ ‚€�r…&æ MÆå æ þðVþ@ùfûM‚ �À r…&æ Mæ€æ M÷² ˆþÎ æ ‚€�r…fæ MÆå æ þðVþ@ùWó€@@òðWö@Wô@fûM‚ �À r…fæ M& æ M÷P ˆÎ  æ MÎ €  € &MŽñMÎñðMÎ æ þõðÎ æ –þ€ù¦øMÎ æ þõð–þ€ù¦øMÎ æ þõð–õ€ù¦øM÷Þ ˆ¦M€æ ‚M€ŸMÀÀ`ƒ †˜ÁEÿfƒ &Â~MÀe&MÀeÆå‚MÀe’fMÀeÆå‚MÀe& ÌæM&M&&M&¦f&M‚ ÂE„`¶€Á N 4€ . ,M€Á N $ "‚Mƒ#‚M€����À �À €� L ‡Ô  L ‚Ô M÷ª ˆÀ`À`ÂÖ 6¤þÿ(Ä~÷Œ ˆÀ`À`ÂÖ 6$þÿÄ~÷n ˆÀ`À`–%6$üÿÐ 6$þÿÉ~÷F ˆÂà‚`a„bMÀe``&7¢÷÷ ˆ7˜÷Ò ‰RÔ McÃ`Ã`Ãmn÷óeK Mƒ ÃE€Æ`�ƒ TÂ~Mƒ ÃE€Æ`�ƒ DÂ~!EMƒ ÃE€Æ`�ƒ B ‘@Ä~MÁ‚ƒ ÃEÆ` €’ÀEðÿÀ lF€”týÿÀEáÿlFN~æMæ&&÷ |M‚å�” �ÁEøÿ—týÿ‚aƒ ÃEÆ`Àt °_w¨ùÔ ƒ ÃEÆ`wšù‚ƒ– – à Ã`Ã`Æ`æMÖ Í~& M‚�’À ŠŠ ‚�À Š ‚€�Êer þÿ‚ƒ cMC †cMÔ M‚�’À ÊŠ ‚�À Ê ‚€�Êå² þÿ‚ƒ cMC ƒcMÔ MÎ æ MÎ æ þ&øMÖ Mw x¦ðWð€fø& ñ CÀ”À% ü -Ž À”Àå0 ‚÷ š÷‚ õ þÿ À”Àå0 ‚÷ ~ ö  5  ×¢-„ ƒ À”Àå0 ‚Wp `öÄ  BàWõ€@¦ — &ƒñÖ �õÿ Wò Bƒ~Ö ùòð„õÿÖ ÀñVõVðw¸÷€\ðò B@þô‡Îe‡·€‚Á� ÁE�a@wpÈ 4&ÀÀe&÷ ¸ Ö 0ÀeðU@üÿðþÿ°öÿæ°Á6�1ôÿ0 ôÿv,öÿ ‚NAôÿðpôÿ�1ôÿ/Ô @üÿñE€üÿñ5 üÿ &ffòÿ÷  Ö �€ÀEðÿ‰‡ñ5üÿà &f÷ –�€ñEÿ·üÿ@òÿ   @à ð úÿƘ’÷ŠˆðUüÿ· žø÷�šøžøÂ¾æðEüÿÂ` Š—¬ÿÿ "ŠÃ ùÂàƒ æ÷ ® �”þBÀúÿ&÷ 0 Ö ³úÿ³øÿÀÆ*$¦‚·øÿâó‰f†·øÿâ÷ˆ¦øÿ÷ ô Ö ‚‡÷ 4÷ ¶M÷ NMÀº÷ ¢Âà ò5 üÿ¦òÿ÷ ŒÖ ‚ôÿóª¦òÿ÷ xÖ M€æ€æª÷ f÷ f·ž·lM÷¶÷M€æ^æˆæ€æNæxæ÷ 0×-l” ×-†÷æ–÷ Ö �& ÂNò5üÿ÷ r0üÿ΀·2·&M—/”÷ õ ‰ ‡Ö Ô ÷Eôô÷UîôM÷ÆÊ7Ä÷èˆ÷ `ýwøÿ²wúÿ¤ò‰j ‡9òÿÀU1PüÿM7’÷ ¶ ˆ7†÷ªˆ÷ "ýwøÿtwúÿlò‰p臉wúÿdò‰vç‡9òÿÀU!1PüÿM�‚ ÂE†`Á`@B’ ŠW¬ÿÿ !ŠÃ ùÁàw*òw‰|‡ˆ�MÆ7÷,ˆ×-Nö ÷%ôæ–÷ ØÖ ÷”÷ÆÜM÷ª÷ÕÎM€ ”á÷ ®MÆå ¦æ æ÷ ¶ ‡Æe¦÷ ^ûÆe"&øMÆe&&ñMÆå¦æ& ÷ Š ‡Æe¦÷ –Æef&MÆe& æ M÷ N& Ο„÷ ¾M÷ >Àvð5üÿ÷ ¨õ÷ ¢Mæ ÀÓ6¿•P÷ ®÷ jõ8MÀ׿ Â×-4ª&×-Nõ" ÀÕ&À·À¿ÀØÀÙÀÐ ÀÑÀÔÀÒÀÖÂõæ&÷ Þ  ×-ÒªÀÊ&òÿ÷ ‚Ö M÷ 2ûðU€üÿM€÷ lÀ¨ð5 üÿ&òÿ÷ XÖ MæÃ`Àº÷ F÷TÀà ó5 üÿæòÿ÷ *Ö Ãôÿòêæòÿ÷ Ö ƒ‡¿J÷ ¨‡ƒ‚�‡À8ð5üÿ‡f¦æòEüÿò5üÿ'ƒþÿÀ&òÿ÷ æÖ À ��Ë~ÀúðEüÿð5@üÿÔׯè ÐðUüÿÿ• ØÉÀÒðUüÿÃ÷¾ˆfÁ¼ñ5üÿ÷!¨!ˆ÷ lÿñUüÿ�‡×-šº!¦æÂŽò5 üÿ÷"z"ˆƒþÿÀv&òÿ¦”÷ –%÷ 6Ì~ƒ‚‡÷ P ˆÀ‰ºö‡ ó‡7<ð üÿ�7øÿ‡÷ ˆ‚ƒ÷ ÜþÀ7üÿ÷5 y÷ >ÿ÷ Àþð5üÿ_ÀŸðÿ ó ð í ê  -à M� +÷ üþ ÷ zþ÷5´ÿÀŸªÿ 0  9à 4�� ÷ ÐþëÁ 1�$W  . � W  e Eà �÷ šþ� vÁåÊ÷ þ÷5JÿÀŸ@ÿ³à Ї±‡÷&ÿˆö ÷ÿˆ÷ÿˆ÷ÿˆƒ  ×¢-ƒ ”v…f&v…€e…�e@ …Âå0�`@ …ë—¯-  € ‡÷#¶þ#ˆw ƒÃe‚Æå Á€ 3 � Š r @À À Àeò& Ál@ r Áe0b�€gK 3Áå r Áe0b�ø„‚áÂå Ãþÿƒàö à à �À ÷ $ùö À-÷  �•÷ úÆew && æÓ÷ þÆe‡ÆeMæ¸ýæ M�€7 ¦ý`Àm ýƒ ”À  ‘�Ç~M÷°ýˆæ& Æå ·ñ‰€€m Æepèf&þæ<æ Vþù&ûM€ ÀEÿ&÷ –%M€�æ óæó7ówþòM7þöò7òöò7ôúòø·óýŽø·òöò·ûÞòMÎ ÷ $Ö Mæ÷ €Ö Mõ&úæ Mõ÷ f&øMõ÷ X&øMõ÷ H&øMõð�÷ Ö&øM÷ Üü ˆõ÷ 6&øMõð�÷ À&øM÷¼üˆÖ —#‚M÷¨üˆÖ ÎEþÿMÎ MöåŽ MÎåæ M€Ö M�Áíæê€ ÀíÞêv÷$hü$ˆ7ÐêwÎêMŽ MöeN MÎeæ Mõð�ô@ö@&ûMõ&ûMÆe& M÷¨ü�åT Cp€�eÖ ƒ ü@�P”Â~M÷žèûå×-âû¨÷Öûˆ÷Îûˆ ‰f&Mw ÒÆåÎæß %Ö 5ôÿ@À 7rû@Àe7hûõ€@7ùJñ7øRû÷ `@È¥-ð¥oýew>û÷å4û· .û·Š:û÷ $û ÷åûÀb?û7û· û÷û ûÄû &ß Ä#Ö ÷‹ûß L&õ5ôÿÎÖæß %Ö Ã ß ¸!Îß ˆ&Îæß þ"Ö õjðøÿÎfß ÀÎß ˆ&Nøÿß Ä%ÿÿÎtß ÀÎß ˆ&Nøÿ&æß ¬$–%@-øÿÍ5öÿõeöÿÈ%Î~ß ÀÎß ˆ&Îß è"÷‹Lú#ý%£öÿAöÿA ÁeAöÿAÁ À rÀ @möÿð% Îæ—æß f&–%Nøÿföÿß (Ö w.w 7 Þùw^õNß ¸!ww D•ß RÌ‹úwúw êNæ¨ùß ŒÖ wäw Ô÷ „ùÎß ˆ&÷ªê÷œ¦êÎ&ß ’wºw ª@€ ÀE5ÂfùÂí`ù ƒ€Àe@-ƒNŽàÎß Î$À%ÿÿÎß ’ ß Î$7*ùÃ$ùD„ ÄE€ Ãùwm ù÷ ,ÀwBw 2 ß Î$7ôø7îø7îø÷ w$w ww ÀÔøÀeÿÀEÿÀe7ªøww ðÆå@Àe 5øÿDu`õ .@øÿ@íõeøÿC- @øÿ@íõeøÿ5öÿ@-Îß ’C-öÿÝÀtüÿÀ aÁÂÂEðÿBtHPƒ ïw|w lÆåNÎeöÿß $&NÎeöÿß –&Dõ%æÂ¬Ê‹€”À`’úÃe õ ôÿÔ”õ ôÿõ ôÿúw(w Æå,ÃÔ÷÷ ´è÷ hö÷È÷@Àå %ƒ_°À x¸Î _´À} _àÀÀ @aÁÁ pÐÿƒ _ÄÎ*cÎ7`ÎP]ÎhZÎ‰ß ÀWΠúÎÆ÷ÎíLÎ IÎ# FÎN CÎf @Î<÷ß ¸!=Î… 8Ξ 5β 2ÎÒ /Îï ,Î )Î/ &ÎB #Î[ Έ Ε ÂΣ Î ÎØ Îð Î Î °Î/ ÎO Îg ß ¦÷ ºö_Ê Ã%„õ”öÎÿõ%&_ÊÀ� 5øÿ÷ |öÎß ˆ&Nøÿß ¦õ› øÿÎ"ß RDÎÿÄeÀ”ß Rà Ê¥ ÷Â`Χ ß ¦ æ,öŽâææÐß ¤ÆeΪ ß ¦ æ öææÐß ¤ÆeÎ ß R=Îÿõ% Îÿ ‡ ÀÀ ÁÁ AapÐÿƒ Ã%ô÷ ¼æÎ¶ ß ¦÷‹Øõθ ß ¦÷ "Îß ˆ&5ÎÿÄe7œõ”Îß ˆ&wä w Ô  æ(äæ"äææÑß ¤ÆeÎÙ ß ¦÷ ä×-äÎä ß ¦Îæ ß ¦÷ w˜ w ˆ ÆåNÎeîÿß :&uîÿìÿõ êÿÎ& ð5þêÿðùpC7ô°ë&øææÖß ¤ÆeÎó ß ¦wH w 8 ÷%úô ß ˆ&÷ †ó÷‹òôÎ ß ¦÷ <ÿ ß ˆ&w w  ÆåDÄeõ%×õ%ùõÓ@Àå¾  ‚À x 5îÿõ ìÿÄeõ øÿ@ÀEøÿ b‚À xT 5ìÿ5îÿÄeë5ðÿÄeõøÿæß5öÿÄe5ðÿ@öÿ€ ÀE`5 øÿÕ õ5øäÿÄeõøÿÌ5 ìÿ5îÿÄeõ%ØÀ 5øÿ½5ìÿ5îÿÄeõ%ÙðÀï5øÿÄe@týÿÀEøÿµuøÿöÿœ5øÿÄeõ%Öé@Àå¾ ‚À x^ õ% øÿÎ ß Rõ øÿõõ øÿ Nøÿfîÿfìÿß ö –%wª õ%øÿÎ ß Rõ øÿõõ øÿïNøÿfîÿfìÿß P!åfîÿfìÿføÿ÷ šôÆeÛõ%øÿÎ ß Rõ øÿõ@Ÿðÿß RÊ õ– ðÿõöÿõ› ðÿõöÿCðÿÎ ß Rõ øÿu-öÿøÿöõ öÿ«À”ß Rõ öÿöñ5÷äÿð Î ß Rõ øÿùÎ0Èõ% øÿõøÿõåøÿÎ ß Rõ øÿõ%øÿöNÎeôÿfÎeòÿføÿŽ 5õäÿ&øß @-Æe õ ôÿÎ-Î ß RÀ”ß RÎ.ß RÀ”ß Rõ øÿùÎeß Rõ òÿÎ+ß R Î-ß R@òÿ 5òÿAòÿÀ r Àe0ß RAòÿÀ r Áe0N_pñ5÷äÿð Î ß Rõ öÿõ%öÿö…õ øÿ5 øÿNÎeôÿfÎeòÿføÿ5õäÿ&øß V-Æe 3Šõ òÿ@öÿ@íøÿ@íòÿÀeþÿ5öÿuòÿâÿ5 àÿ"@öÿ@íøÿÀeýÿ5öÿ5 âÿ@øÿ@mòÿ@òÿ 5àÿuøÿàÿuíàÿøÿÎ ß Rõ öÿõ öÿ÷õ ôÿÎ-Î ß Rõ âÿÎ0ß R Ë‹À”Î0ß Rõ âÿôÎ.ß Rõ àÿõ øÿ_Úõ àÿ Î0ß Rõ àÿöÎ0ß Rõ øÿõ øÿ_ Ë‹óÀ”òw ´DÄEøÿA@výÿ5uõEàõ%õ Á NÎ ffß ö –%ÎU0ß Rwjw ZDÄEðÿA@vüÿ5uõEðõ%õ Á NÎ ffß P!–%Ä% ÎU0ÎeWß Rww òÄ¢ ÷-xë¬ïÀ¦ïÀ ø Nß *"Îfæß f&–%Îæ° æß f&–%ß *"&æß f&–%Îæ³ æß f&–%w�w €DÔ‹þ@íÀ wx7ï ÷ïõ÷ " Á Ó•- Ó•0�”B~ÁìîÓ•. Á Ó•0…~Á ”B~‡7Êî ÷Àîõ÷ Ú Á Ó•-”Ó•.Á¨îÁ ”B~Ó•e �Ó•- Ó•+ r Àe0�Áe0S�‡f…@‰†wÐ …‡f…@w¬é‰¶ †w² …‡f…w–鉺 J‡A …‡7 4îf…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7é1@‰À ‡À �1‡wf…wúèwöè‰Æ †wê…‡f…wâèAÉ‰Ì T‡  Rf…Añ ÷ ^ñ y�± ñ ÷ Fñ y�± @3f…Añ ÷ ñ @9�± !f…A÷ @Àe&7XèwTè7àNè@‰Ò †7í±ñ‡w$7 Êì…‡f…@w èwè‰Ø †wþ…‡f…÷ èèwmè‰Þ †wàÀöçwmðç…‡f…wàç‰Þ †w¾wÒç …‡f…AW †@wºçÁ fª1ª7®ç À5Á Á Áen%wšç‰ä ‡À5€…‡À& Ö wZ&À6ìL&À0ìH&À*ìD&À$ì@&Àì<&Àì8&Àì4&À ì0&Àì,&Àì(&Àúë$&Àôë &Àîë&Àèë&Àâë&ÀÜë&ÀÖë &ÀÐë&ÀÊë&ÀÄëf¦æ&È „ƒ‚�€f… ‰¦BR‚…‡f…w¨æ‰ê …‡f…wšæ‰î †wh …‡f…@w€æw|æ‰ò †wD…‡f…÷ F@‰w Nß ¬&ß ¢(ww þÆåDÄeòÿL@4ÀÊè &ß &-Ö ß Æ'Âõwøÿõ/öÿó%J ó%K À t5vøÿÀ t5xöÿNøÿæß ˆ'Ö 5øÿNöÿæß ˆ'Ö 5öÿ÷ \è B-øÿB-øÿó%B-öÿB-öÿó% Î&ß &-Ö ß Æ'³ Àw2w "DCÃ%: ß D)Àe“þ`Áím Áe¼À rfÀ€åwôw ä΀p@&fß -–%ÃþéÂÒÁÀ r<RÁÀ r<ÁÀ r<RÁÀ r<À rWtC`À rÒÁeÀ rw¢éÃFÎß D)àƒ Îß D)!ö÷‚é7‚éÎß D)À%n÷ç ÀÀ ì~ƒ ÀÀ 0!~ö÷òæ€ Ò7 HéÀÒww ĀîԔþAA WpCÃeÈÄ€Ô”Ô”Ô”„ BÂe�WpCÃeÞÔ”Ô”Ô”Ž&ß d)Ö ŽÎed&ß d)Ö ŽÎed&ß d)Ö ŽÎed&ß d)Ö Äe@ &ß d)Ö À€wvw fAÀ rÁ Ànw\Àmûw FD„ õ% AÀ r À r Áe0@�Ô• AÀ r Áe0@�w @…&æ¦È B„ƒ‚F…‡7¦çÀÿÿF…‡‡f…5õ÷ f…5õuõ ÷ …‡7d@ñð÷ h&Àñ÷ `Àñ!7J& @ñðŽ ÀñAñðÎeÁñù÷ 87õàåÎ5Àñ7ôÔå7ôÐåÖ5ÀñVðÖõ–õVõ€‡fø¦øæø¦ðWð€@H7÷Âåð7÷²åð wõ’å@ù@ø÷ Àñ7ôŒå‡ø7ö|åwôxåù÷ 7ô~å‡ÀæøÃòXõCòXôÎ üÎÂøƒò˜ôÎ üÖ Bùò‡f…5õ÷ f…5õ÷ …‡€ñæ& ¦ðWð€fø¦ø&&ø€ñ7ójåWó€?Wò€A@û€mWõ€@€ ‡ö€@ †ÀñVñð€Àñø@ò·õ`å�ò·ôRå�ò·ôDå�ò·ô6å�ò·ô(åòBø·ô`å�ò·ôRå�ò·ôDå�ò·ô6åù€–õVõVðÖ ‡f…5õ÷ …‡@ñð¡‡ñ±‡&¦ð€ÀEÿ@ðfø¦øø&øŽ Îe@ õÀBø€ùôò@~–õVõVð€¡‡f…@÷ …‡¦ðWð€¦øfø@ñðõ€@¡67óêäð�fûö@fûÎ ô@øAò·õ¶ä�ò·ô¨ä�ò·ôšäòBø·ô²ä�ò·ô¤ä�ø@öôù7ò°ä&úŽe—#Ö 7õ¨ä± —#�ÿÖ ñ¡ý¡Võ–õVð‡f…5õ÷ …‡@ñðõÿÿ±‡¦ðWð€¦øfø&úý7÷`äðýÎ øö€@Wô€@ùø@ò·õjä�ò·ô\ä�ò·ôNä�ò·ô@äòBø·ôhä�ò·ôZä�ò·ôLäùVþwòäôVõ–õVð‡€�6rwÐ䇀�6r@‡f…@õ Á P`Hm` …‡f…¦5õw ä÷ * f…¦5õw øã÷ ½}‚…‡7 ”ä÷Œä¦ðWð€&øføæÁæ 7 tä@ñð%· häÀñó€@Añð&ø@øÃ7ó˜ãø@ø—ôL>—ó BÀûÀe0#�‚ @ñððÁæÑ”× ü‡õ ‚  ó BAñðú‚ ÷ ÷  üW †Îeó B@ûÀe0�‡ÀæÀm6ã÷ äã€` 懒ÃeÈ�¢9 È•0 惠ŠöÈ•1‚ Á²ãÀþâ÷ ¬ã€`0ŠæÀæƒVõõVð‡ ¡ ‰‰pmon.outôú "(.4:@~†Žœª² ‰‰‰¤‰ ‰€ÆT–Õaå`0tmp.xstandard inputstandard outputmessage file™33ÌLff€™™3³ÌÌfæ+‰DHLT8ÜdZ†vª–ÌÆ´¾ZZZZZZZZZZZZZZZZô0bšZZZ°Èâ„ 0 þB D¦ ° º â ì ö î $ ( . ІŒ¨ ² ¸ î  x ô (䨶rš$ž¤°Fª~¶^’˜ðx¬¬²ºô6Ljv†&&Ž˜¢¬ÂÌæâøöþ @DNä@p DrVjlnZvzÂ’0$8<RV”h€zpÊÔJZ¨¬¶¾ºÂÆZÐÔàÎö^\úèæìð(DRn�‚h¤¨°¸ÈêÜÂ"L>,~‚Š’NXhZœövªÊ¼¤œZZZZ. ôìZZZZR\lZZZZZZZZZZZZZr�Œv¢¦z”ú"ÐÀÄØv#¢tH�×M;ò OobjFile is emptyToo largeNot a Pascal object fileExecution begins...    Âèîôú"(.44>DJV\4hbntP4z4€†Œ’˜ ž¤ª¸£< ×p=×£Argument to chr out of range Div by zero Floating divide by zero Call to procedure halt Reference through a nil pointer Tried to read past eofAttempt to read, but open for writingAttempt to write, but open for readingToo many digits in number Negative argument to sqrt Panic: stack not empty between statements Subscript out of range Reference to an inactive file Negative argument to ln Panic: bad op code Bad data found on integer read Bad data found on real read Panic: active frame not found in goto Label not found in case Ran out of memory Panic: bad arg to alloc Constructed set argument exceeds set bounds Mod by zero Close failed?Argument to argv out of range Bad i to pack(a,i,z) Bad i to unpack(z,a,i) Value out of range Assertion failed Integer number too largeStatement count limit exceeded Runtime stack overflow Panic: unknown error Interrupted at Error at Called by "+ near line Execution terminated abnormally statements executed in seconds cpu time Execution terminated VtîîîîîîîîîîîîîîîîÜ"D&DîVtÀÀ�À¶                >>vT”° ÜÜtruefalseUnknown error: ‰‰‰‰‰¶‰‰‰0‰+‰ ‰‰> F U o  — ¡ » Í ß ï û /8N`l~��¬½Ñåö,9O^j"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceeded€p¦ªM:/PSTPDTDay Mon 00 00:00:00 1900 SunMonTueWedThuFriSatJanFebMarAprMayJunJulAugSepOctNovDec>FNV^fnv^€@É@Ú!¢ÂhI@Ú!¢ÂhAy‚ü™1ïÔ?ÌçÏ‘y"?ÊD{‘ÕAv#O›ÅP#C†àÌõ!+šC“ô|¥]2CU*j 4¬xBJÔÃÔh{CþWú*Rs¸CL¦~Sz"@ƒùNnDOLX2�ú»ê–ËxØ©3Ÿ‰ÖIáä”¶ÂTXÇ]1 ªDø!ñ‡ûLÎç%§dîÇIgN5& GbÜqhÌDK§Ÿ-?á½E=s½M¡BÔ�Ÿ˜Û`½=B.p«ª½ˆF±�:|+eiD(/èzC•¸@;ª\)ñµ@óù3dÞÿÿÿÿÿÿÿ5@óù3eÞ1@rÑ÷zÏÀÂ�lŽ÷B‰¨‰#"™Âû3’h±@×?ØG�e˜@Â�lŽ›BÙ,½k$Âç“aXUÌ>ÌÌÌÌÍÌ pcrt0.ostart_infoas.o&FPÿÿreturnMlplcerror ˆONE€@HALF@onemtbloopP_unit0”_unit1ªoptabbadopZEBADOP_perrnoœ_ABORTl_HALTnEHALT_NODUMPv_BEGzbuf¢ESTKOVFL%_ENDÂblkexitÒFBUFòÿ_CALL_PUSH_POP0_SDUP8_IF<_TRAR_ASRTDEASRT _LINOVESTLIM$ESTKNEMP_GOTO”EGOTOfchain¤FLEVöÿFWRITE FUNITüÿPFNAMEøÿECLOSETEMPEREMOVEFNAMEúÿFCHAINôÿpmonout_pxpsize_REL2hreltab"_REL42p_REL24z_REL4€_REL28¨_REL48¬_REL82¶_REL84¾_REL8Ê_RELGÔreleqôrelneúrelltrelgtrelle relgeifeq"ifne(iflt.ifgt4ifle:ifge@truefalseiftraF_RELTJsettab:seteq~setne†setltŽsetgtœsetleªsetge²_ANDº_ORÂ_NOTÆ_AS42Î_AS2Ð_AS4Ô_AS24à_AS41æ_AS21è_AS28ì_AS48ð_AS8ö_ASú_OFF_INX4$_INX2(ESUBSCR _NILDENILPTR_LVR_INX4P2\_INX2P2^_ADD42h_ADD2n_ADD24‚_ADD4�_ADD8œ_ADD28¤_ADD48¨_ADD82°_ADD84¸_SUB42Â_SUB2È_SUB24Ü_SUB4ê_SUB8ö_SUB28_SUB48_SUB82_SUB84_SQR2 _MUL2"_MUL42,_MUL24>_MUL4L_SQR4D_SQR8r_MUL8v_MUL28~_MUL48‚_MUL82Š_MUL84’_DIV42œ_DIV24¤_DIV4¼_DIV2ÊEDIVCHK_MOD42ì_MOD24ô_MOD4 _MOD2.EMODCHK_ABS2N_NEG2R_ABS4X_NEG4\_ABS8h_NEG8l_DVD2r_DVD42v_DVD82z_DVD24Œ_DVD4�_DVD84”_DVD28¢_DVD48¦_DVD8ªEFDIVCHK_IND2À_IND4Ä_IND1Ð_IND8Ø_INDÜ_INDconâ_RV2ú_RV4_RV1_RV8"_RV8_CON1D_CON2H_CON4L_CON8T_CONd_RANG42v_RANG2†_RANGS42–_RANGS2ª_RANGS4´_RANGS24¾_RANG24Æ_RANG4ÌERANGE_CASE1OPôECASE_CASE2OP_CASE4OP0_PXPBUFb_TRACNT’_COUNTš_ADDT°_SUBTÈ_MULTâ_CARDþpoptabF_CTTOT0 _INB _INCT„ _FOR1U¦ _FOR2U° _FOR4Uº _FOR1Dâ _FOR2Dì _FOR4Dö _STOI _STOD$ _ITOD( _ITOS. digit one€@outô hugeÿten Bbig€\getname retažnewsp gotoneœ FTEXT@FSIZEþÿnextu¼tnam¾alnameL _GET¨ getàiosyncf_PUT² put_MESSAGE¸ _unit2ºunitb_FNILî _BUFF bufoptÄ_EOF EOF_EOLN EOLNu1buf–_RESETx SYNCstdinÆESEEKopenrnmlopenrjeopenè FREADecreatÜ ECREATE EOPENcreitpcrenmropenwvopenwnmx_REWRITEô _REMOVE(_UNITINPru1cnt˜_UNITOUTšstdoutÕ_UNIT¨_READ8¶_READ4ä_atol–_READC_READLN$_PAGE@_WRITCFpwriteitº_WRITLN^_WRITG~_WRHEX2†_WRHEX4Œ_WROCT2’_WROCT4˜_WRIT2ž_WRIT4¤_WRIT8ª_WRITB°_WRIT82¶_DEFNAMEä_FLUSHðpasteofØeofÌEPASTEOFEREADIT!EWRITEIT"EWRITE EREFINAF u0buf€mesgfåpfloatpdigitspbufflags¦prseclpsigndÊprtoodppunsdæprerrxETOODIGIEBADFNUMEBADINUMEBIGGIE#pwrilpw_tabòpwrslBO_WRITCÓ_LLIMIT¬_ARGC²_ARGVºEARGV_SCLCKî_CLCKô_DATE&_TIME&_SEED6_RANDOML_DISPOSEj_NEWv_EXPO†_ATANŽ_COS˜_EXP¢_LN¬ELN _SINÂ_SQRTÌESQRT_CHR4â_CHR2æECHR_ODD4ö_ODD2ø_PRED2þ_PRED4_PRED24 _STLIM_SUCC2@_SUCC4D_SUCC24N_ROUNDV_TRUNCj_UNDEFp_PACKxpack¨pakunp‚unpackž_UNPACK¬EUNPACKEPACK_WCLCKÐEALLOCEOUTOFMEECTTOTEINTR&int.oØ~mainØacavcpofsizeøÿbpöÿiôÿ~PerrorŒfilemesg~puts¦strcp~ferrorÀcp~onintrÖpalloc.o~allocneedcntwphave~setmemx~free–cptr~stklimžpcttot.oº~pcttotºuprbplwrbnav setlapøÿhöÿpdattim.>~pdattim>opalfapapcpdpaöÿiôÿperror.o’~error’perrnoapicpsepøÿdispÐÿmydpÎÿ~stmtsÖ~stmttim"tbufîÿlêÿ~psexitrpwrite.o¤~pwrite¤opcsubopcavapcpiwøÿw1öÿsignôÿdecptòÿacpðÿalongìÿadoubleäÿk2âÿk3àÿ~wroö lwc~wrhexP!lwcperror.o¸!~perror¸!cns~strlen*"sstrfltpr.oB"close.oè"fstat.oþ"getc.o#indirbadretÀ#fill #open.oÄ#putc.oâ#badret $goodret¤$flp$read.o¬$sbrk.oÎ$ndâ signal.o%rttNSIGdvectªtvectn%time.o$×.o:×+unlink.oL&write.of&errlst.oˆ&exit.oˆ&ctime.o–&~ctime–&at~localti¬&ctdaylbegiøÿttimdaylendöÿdaynocopytòÿ~sundayˆ'atdtad~gmtimeÆ'tptimd0d1xtimeÒ~asctime¢(cptptncp~dysizeD)y~ct_numbd)cpacpncsv.o®)cerror.oÈ)cleanup.Ö)atan.oØ)saveb*satanp*retV*pi2sq2m16arctanª*sq2p1.onepi4&p4pp4>p3Fp2Np1Vp0^q3fq2nq1vsin.oØ*frpi2~fourth€?four€Aone€@p4¦p3žp2–p1Žp0†q3Æq2¾q1¶q0®sqrt.o†+half@exp.oà+ldexp ýstexpúone€@outt,log2eöhalf@P2ÞP1ÖP0ÎQ1îQ0æsqrt2þbiglog.o|,ldexp ýstexpúbignegÿÿsqrt2o2one€@p36p2.p1&p0q2Nq1Fq0>log2ldiv.o-dpadd.o&-ecvt.o@-eflagbufæsignzerê-one€@lssî-gtr²-buftoptenthVepsilonL>ten Bpad.digit1.digit.out .outoutX.savr5$šfptrap"&_exit"ˆ&_pxpbuf#_main"Ø_interpr"(_pcttot"º_pdattim">_alloc"_free"–_error"’_fflush"b$_maxstk$`_pputch"R_pmessag"_pwrite"¤_pwril"èatan"ú)cos"ö*exp"ð+log"Œ,sin"þ*sqrt"–+_display#_dp$b_lino$d_draino#˜_seed#F_randa#J_randc#R_randm#Z_randim$f_atof"2 _argc$n_argv$p_errno$r_file$t_nodump$v_pmflush"V_psexit"r_stcnt#_stlim# csv"®)cret"º)cleanup"z _preadn"~_getc"€#_putc">$_bottmem$x_memptr$z_high$|_discard$~_signal"%_setmem"x_open"Ä#_unlink"L&_onintr"Ö_perror"¸!_fstat"þ"_ferror"À_read"¬$_close"è"_write"f&_Perror"Œ_sys_err#ø _puts"¦fltused"B"_sbrk"Î$_stklim"ž_pd_date#¬_time"$&_ctime"–&_stmts"Ö_stmttim""_times":&_wro"ö _wrhex"P!_ecvt"@-_fcvt"V-_sys_ner#< _strlen"*"pfloat"B"pscien"�"_ndigit#^ecvt"~-fcvt"x-cerror"È)_getw":#_fopen"#_putw"$_fcreat"â#_werflg$¨_end$_brk"ö$__cleanu"Ö)_cbuf$€_dmsize#~_timezon#–_tzname#˜_dayligh#œ_daytab#ž_localti"¬&_asctime"¢(_dpadd"&-_gmtime"Æ'_sunday"ˆ'_dysize"D)_ldiv"-_ldivr$ä_ct_numb"d)_atan"Ø)atan2"*_atan2"æ)_sin"Ø*_cos"æ*_sqrt"†+_exp"à+_log"|,_lrem"-a.outNOFLOATàsí‘Èp À8Ð0(&0‰F# ð€&Ð 6÷ ú–%ß –0‰ ð0‰`0‰F#÷˜ÅN„¿Œæ”檕`•x÷®ˆ ðæ¦÷ f÷šˆ· n÷eRæN&Äe æ„æRæ ¿:€À` ‚7 , ƒÃ & €!ý‚Á‰M÷%N%ˆ÷ Æ Ö ··@Ö ¿ú×-ö  ‚Àª&òÿ÷ „-÷ d ÷ º·Ø„·ÔMeæÊ&æÂÃe÷ºM€À`€!ƒ& üMÆ`M¦MÖ‹ Ô MÖ‹M÷ ¾ ˆcM÷xÁrF"÷ežþw ˜þ÷å˜þ· ’þ÷ Žþ÷$†$ˆM÷|ˆcÃeÂ6÷ 2×-,÷ "Ò ·0·ZÒ ¿·ê†M÷>ˆ¦Â> 9¿,öÿò5‚ò5 üÿ¦òÿ÷ ~,Ö €üÿ �ÀEðÿ‰†·øÿÜ÷þˆò5üÿ ·øÿòý‰†·øÿº÷܈¦úÿ÷ šŽ‚ôÿÎå÷ ŒÖ Å·Ä‚‡÷ ¼ý‰¤‰‡€€%{"€�Î Â �À €�‚€ �%‚× ÿÿ{"× {"Ö € {"Î æ ÷ ˆ þ÷ð{"÷ z õÎ æ ÷ n õ÷ h –þ÷ð{"÷ Z õ÷ð{"€‚ ÂE†`�†`P¤ƒ~× {"& M& M & M& M& M& MæM& MÔ MÔ M Ô MÔ MÔ MÔ McM‚ ÂE�†`€†`‚ × Ãå Å€{:ÅNÖ Ô McM$΃~É$ǃ~ÈCBÅD †~ÁCB¾PD†~ºPD¸ƒ~³D´ƒ~¯Ö  MŽUMŽ ÎEþÿMÖ žM€�‚JM�À ùÖ ž•MÎ æ ÷ 0þøMÂÂ`‚ ÂE‚¡ ’Â~†’•Ö MÎ`MÖ Ã �å�T CpN`M÷ ´ ˆÎ M÷¦ ˆÀe&MÖ €åt`M€��À ƒ C`B `æ¦M�À v`@ `M¶e¶eN M÷ €õô&øMÎ æ ÷ pþô&øM÷ dõÎ æ ÷ Xõ÷ R–þ€ô¦øM€��À ƒ Cà‚ àæ¦M�À và@ àM¶å¶åŽ M÷ õ–õ€ö¦øMÎ æ ÷ þ–õ€ö¦øM÷ òõÎ æ ÷ æõ÷ à–þ€ö¦øM¦€pf&M‚Á �ãö ö  Î æ ¦¦‚Á �å€à ƒí@pÂpC`pÀàÆef&M÷ ‚õ÷ zõ÷ tò&øMÎ æ ÷ fþò&øM÷ ZõÎ æ ÷ Nõ÷ H–þ€ò¦øM÷ <þÎ æ ‚€�r…&æ MÆå æ ÷ þð÷ Vþ@ùfûM‚ �À r…&æ Mæ€æ M÷¼ ˆ÷ àþÎ æ ‚€�r…fæ MÆå æ ÷ ¼þð"÷ ²Vþ@ùWó€@@òð÷  Wö@÷ –Wô@÷ ŽfûM‚ �À r…fæ M& æ M÷B ˆÎ  æ MÎ €  € &M÷ LŽñM÷ DÎñðMÎ æ ÷ 6þ÷ .õð*Î æ ÷ –þ€ù¦øMÎ æ ÷ þ÷ õð÷ þ–þ€ù¦øMÎ æ ÷ îþ÷ æõð÷ Ü–õ€ù¦øM÷¤ ˆ¦M€æ ‚M€ŸMÀÀ`ƒ †˜ÁEÿfƒ &Â~MÀe&MÀeÆå‚MÀe’fMÀeÆå‚MÀe& ÌæM&M&&M&¦f&M‚ ÂE„`¶€Á N 4€ . ,M€Á N $ "‚Mƒ#‚M€����À �À €� L ‡Ô  L ‚Ô M÷p ˆÀ`À`ÂÖ 6¤þÿ(Ä~÷R ˆÀ`À`ÂÖ 6$þÿÄ~÷4 ˆÀ`À`–%6$üÿÐ 6$þÿÉ~÷ ˆÂà‚`a„bMÀe``&7øö÷ 7îöÒ ‰RÔ McÃ`Ã`ÃmÄöóeK Mƒ ÃE€Æ`�ƒ TÂ~Mƒ ÃE€Æ`�ƒ DÂ~!EMƒ ÃE€Æ`�ƒ B ‘@Ä~MÁ‚ƒ ÃEÆ` €’ÀEðÿÀ lF€”týÿÀEáÿlFN~æMæ&&÷ M‚å�” �ÁEøÿ—týÿ‚aƒ ÃEÆ`Àt °_*wùÔ ƒ ÃEÆ`wù‚ƒ– – à Ã`Ã`Æ`æMÖ Í~& M‚�’À ŠŠ ‚�À Š ‚€�Êer þÿ‚ƒ cMC †cMÔ M‚�’À ÊŠ ‚�À Ê ‚€�Êå² þÿ‚ƒ cMC ƒcMÔ MÎ æ MÎ æ ÷ `þ&øMÖ Mw Ø(÷ N¦ðWð€fø& ÷ @ñ CÀ”À% ü -Ž À”Àå0 ‚÷ ¾÷‚ õ þÿ À”Àå0 ‚÷ ¢Â ö  5  ×¢-„ ƒ À”Àå0 ‚Wp `öÄ  Bà÷ ¾Wõ€@¦ — & ƒ÷ ¨ñÖ �÷ žõÿ÷ ”Wò B…~Ö ÷ †ù ÷ ~òð„÷ tõÿÖ ÷ hÀñ÷ bVõVðwì'÷ V÷€\ð÷ Jò B@þô‡Îe‡·‚Á� ÁE�a@wþÈ 4&ÀÀe&÷  Ö 0ÀeðU@üÿðþÿ°öÿæ ÁÄ�1ôÿ0 ôÿv,öÿ ‚NAôÿðpôÿ�1ôÿ/Ô @üÿñE€üÿñ5 üÿ &ffòÿ÷ Ì!Ö �€ÀEðÿ‰‡ñ5üÿà &f÷ –�€ñEÿ·üÿ@òÿ   @à ð úÿÆ& ÷ˆðUüÿ· ¼÷÷�¸÷¼÷¾æðEüÿÂ` Š—¬ÿÿ "ŠÃ ùÂàƒ æ÷ �”þBÀúÿ&÷ Œ Ö ³úÿ³øÿÀƸ²¦‚·øÿó‰f†·øÿp÷’ˆ¦øÿ÷ P Ö ‚‡÷ <÷ ¾M÷ VMÀº÷ ªÂn ò5 üÿ¦òÿ÷ ¸ Ö ‚ôÿóª¦òÿ÷ ¤ Ö M€ææ8÷ n÷ n·,·úM÷ÔöM€æìææ€æÜææ÷ 8×-ú” ×-¤öæ–÷ D Ö �& ÂÜò5üÿ÷ r0üÿ΀·À·Ž&M—/”÷ &ô ‰ ‡Ö Ô ÷Eô÷U ôM÷ÆX7R÷vˆ÷ `ýwøÿ@wúÿÂñ‰j ‡9òÿÀU1PüÿM7 ÷ D ˆ7÷8ˆ÷ "ýwøÿwúÿŠñ‰p臉wúÿ‚ñ‰vç‡9òÿÀU!1PüÿM�‚ ÂE†`Á`@B’ ŠW¬ÿÿ !ŠÃ ùÁàwHñwª‰|‡ˆ�MÆœ7–÷ºˆ×-lõ ÷%6óæ–÷ Ö ÷”ž÷ÆjM÷ª�÷Õ\M€ ”á÷ ¶MÆå ¦æ æ÷ ¾ ‡Æe¦÷ *ûÆe"÷ x&øMÆe&÷ l&ñMÆå¦æ& ÷ Š ‡Æe¦÷ –Æef&MÆe& æ M÷ N& Ο ÷ ¾M÷ >Àüð5üÿ÷ ¨õ÷ ¢Mæ ÀÓ6¿•Ö÷ ®÷ €ô8MÀ׿ Â×-ºª&×-dô" ÀÕ&À·À¿ÀØÀÙÀÐ ÀÑÀÔÀÒÀÖÂôæ&÷ 2  ×-XªÀP&òÿ÷ ¦Ö M÷ *ûðU€üÿM€÷ lÀ.ð5 üÿ&òÿ÷ |Ö MæÃæÀº÷ F÷ÚÃà ó5 üÿæòÿ÷ NÖ Ãôÿòêæòÿ÷ :Ö ƒ‡¿Ð÷ ¨‡ƒ‚�‡À¾ð5üÿ‡f¦æòEüÿò5üÿ'ƒþÿÀ–&òÿ÷ Ö À ��Ë~À€ðEüÿð5@üÿÔׯn ÐðUüÿÿ• ^ÉÀXðUüÿÃ÷DˆfÁBñ5üÿ÷!.!ˆ÷ lÿñUüÿ�‡×- º!¦æÂò5 üÿ÷""ˆƒþÿÀüÿ&òÿ¦”÷ ,–%÷ ¼ÿÌ~ƒ‚‡÷ Öÿ ˆÀ‰ºö‡ ó‡7Âÿð üÿ�7øÿ†ÿ‡÷ ¦ÿ ˆ‚ƒ÷ ÜþÀšÿ7üÿ˜ÿ÷5’ÿy÷ >ÿ÷ Àþð5üÿ_ÀŸvÿ ó ð í ê  -à M� +÷ üþ ÷ zþ÷5:ÿÀŸ0ÿ 0  9à 4�� ÷ ÐþëÁ 1�$W  . � W  e Eà �÷ šþ� vÁåÊ÷ þ÷5ÐþÀŸÆþ³à Ї±‡÷¬þˆö ÷žþˆ÷–þˆ÷Žþˆƒ  ×¢-ƒ ”v…f&v…€e…�e@ …Âå0�`@ …ë—¯-  € ‡÷#<þ#ˆw æƒÃe‚Æå Á€ 3 � Š r @À À Àeò& Ál@ r Áe0b�€gK 3Áå r Áe0b�ø„‚áÂå Ãþÿƒàö à à �À ÷ $ùö À-÷  �•÷ úÆewD&& æÓ÷ R Æe‡ÆeMæ>ýæ M�€7 ,ý`Àm&ýƒ ”À  ‘�Ç~M÷6ýˆæ& Æå ·4ð‰€€m Æepèf&÷ 2þæ<æ ÷ &Vþù&ûM€ ÀEÿ&÷ X–%M€�æòæò7òw òM÷ ô 7þò7òò7ôòø·ó‚üŽø·òò·ûèñMÎ ÷ lÖ Mæ÷ ÈÖ M÷ ¶ õ&úæ M÷ ª õ÷ v÷   &øM÷ ˜ õ÷ `÷ Ž &øM÷ † õ÷ H ÷ | &øM÷ t õð�÷ Î ÷ f &øM÷ 2ü ˆ÷ V õ÷ &÷ L &øM÷ D õð�÷ ¨÷ 6 &øM÷üˆÖ —#‚M÷îûˆÖ ÎEþÿMÎ MöåŽ MÎåæ M€Ö M�Áí¼é€ Àí´év÷$®û$ˆ7¦éw¤éMŽ MöeN MÎeæ M÷ ² õð�÷ ¨ ô@÷ ž ö@÷ – &ûM÷ Ž õ&ûMÆe& M÷æNû�åT Cp€�eÖ ƒ 2û@�P”Â~M÷Üûå×-ûæ÷ûˆ÷ûˆ ‰f&Mw ¢ÆåÎæß $/Ö 5ôÿ@À 7¤ú@Àe7šúõ€@7ù ð7ø„ú÷ `@È¥-ð¥oýewpú÷åfú· `ú·Šlú÷ Vú ÷åPúÀb?Hú7Hú· >ú÷:ú<úÄ8ú &ß Ò-Ö ÷‹2úß Z0õ5ôÿÎæß $/Ö Ã ß Æ+Îß –0Îæß -Ö õ,ïøÿÎfß þÎß –0Nøÿß >Ä%ÿÿÎtß þÎß –0Nøÿ&æß º.–%@-øÿÍ5öÿõeöÿÈ%Î~ß þÎß –0Îß ö,÷‹~ù#ý%£öÿAöÿA ÁeAöÿAÁ À rÀ @möÿð% Îæ—æß t0–%Nøÿföÿß &Ö wþw î7 ùw�ôNß Æ+wäw ÔD•ß <Ì‹úwÊw ºNæÚøß ÊÖ w´w ¤÷ ¶øÎß –0÷lé÷œhéÎ&ß ÐwŠw z@€ ÀE5˜øÂí’ø ƒ€Àe@-ƒNŽàÎß Ü.À%ÿÿÎß Ð ß Ü.7\øÃVøD„ ÄE€ ÃDøwm>ø÷ ,Àww  ß Ü.7&ø7 ø7 ø÷ wôw äwìw ÜÀøÀeÿÀEÿÀe7Ü÷wÐw ÀÆå@Àe 5øÿDu`õ .@øÿ@íõeøÿC- @øÿ@íõeøÿ5öÿ@-Îß ÐC-öÿÝÀtüÿÀ aÁÂÂEðÿBtHPƒ ïwLw <ÆåNÎeöÿß 20NÎeöÿß ¤0Dõ%æÂ¬Ê‹€”À`’úÃe õ ôÿÔ”õ ôÿõ ôÿúwøw èÆå,Ã÷÷ tç÷ ö÷úö@Àå %ƒ_îÀ x¸Î _òÀ} _ÀÀ @aÁÁ pÐÿƒ _Î*cÎ7`ÎP]ÎhZÎ‰ß þWΠúÎÆ÷ÎíLÎ IÎ# FÎN CÎf @Înöß Æ+=Î… 8Ξ 5β 2ÎÒ /Îï ,Î )Î/ &ÎB #Î[ Έ Ε ÂΣ Î ÎØ Îð Î Î °Î/ ÎO Îg ß ä÷ ìõ_ Ã%„õÆõÎÿõ%&_À� 5øÿ÷ ®õÎß –0Nøÿß äõ› øÿÎ"ß <DÎÿÄeÀ”ß <à Ê¥ ÷Â`Χ ß ä æ^õŽâææÐß âÆeΪ ß ä æ>õææÐß âÆeÎ ß <=Îÿõ% Îÿ ‡ ÀÀ ÁÁ AapÐÿƒ Ã%ô÷ |åζ ß ä÷‹ õθ ß ä÷ "Îß –05ÎÿÄe7Îô”Îß –0w´w ¤ æêâæäâææÑß âÆeÎÙ ß ä÷ Èâ×-ÄâÎä ß äÎæ ß ä÷ whw XÆåNÎeîÿß H0uîÿìÿõ êÿÎ& ð5þêÿðùpC7ôrê&øææÖß âÆeÎó ß äww ÷%,ô ß –0÷ 2ó÷‹$ôÎ ß ä÷ <ÿ ß –0wæw ÖÆåDÄeõ%×õ%ùõÓ@Àå¾  ‚À x 5îÿõ ìÿÄeõ øÿ@ÀEøÿ b‚À xT 5ìÿ5îÿÄeë5ðÿÄeõøÿæß5öÿÄe5ðÿ@öÿ€ ÀE`5 øÿÕ õ5øäÿÄeõøÿÌ5 ìÿ5îÿÄeõ%ØÀ 5øÿ½5ìÿ5îÿÄeõ%ÙðÀï5øÿÄe@týÿÀEøÿµuøÿöÿœ5øÿÄeõ%Öé@Àå¾ ‚À x^ õ% øÿÎ ß <õ øÿõõ øÿ Nøÿfîÿfìÿß 4"–%wzõ%øÿÎ ß <õ øÿõõ øÿïNøÿfîÿfìÿß Ž"åfîÿfìÿføÿ÷ FôÆeÛõ%øÿÎ ß <õ øÿõ@Ÿðÿß <Ê õ– ðÿõöÿõ› ðÿõöÿCðÿÎ ß <õ øÿu-öÿøÿöõ öÿ«À”ß <õ öÿöñ5÷äÿð Î ß <õ øÿùÎ0Èõ% øÿõøÿõåøÿÎ ß <õ øÿõ%øÿöNÎeôÿfÎeòÿføÿŽ 5õäÿ&øß N7Æe õ ôÿÎ-Î ß <À”ß <Î.ß <À”ß <õ øÿùÎeß <õ òÿÎ+ß < Î-ß <@òÿ 5òÿAòÿÀ r Àe0ß <AòÿÀ r Áe0N_®ñ5÷äÿð Î ß <õ öÿõ%öÿö…õ øÿ5 øÿNÎeôÿfÎeòÿføÿ5õäÿ&øß d7Æe 3Šõ òÿ@öÿ@íøÿ@íòÿÀeþÿ5öÿuòÿâÿ5 àÿ"@öÿ@íøÿÀeýÿ5öÿ5 âÿ@øÿ@mòÿ@òÿ 5àÿuøÿàÿuíàÿøÿÎ ß <õ öÿõ öÿ÷õ ôÿÎ-Î ß <õ âÿÎ0ß < Ë‹À”Î0ß <õ âÿôÎ.ß <õ àÿõ øÿ_ õ àÿ Î0ß <õ àÿöÎ0ß <õ øÿõ øÿ_HË‹óÀ”òw „DÄEøÿA@výÿ5uõEàõ%õ Á NÎ ffß 4"–%ÎU0ß <w:w *DÄEðÿA@vüÿ5uõEðõ%õ Á NÎ ffß Ž"–%Ä% ÎU0ÎeWß <wÒ€÷ ÷UŠï‡÷ ÷U|÷ ÷Un÷ ÷U`ï‡÷ÀXï‡÷ ¼ÿ¦öLïÎe÷ Æé·8ï·6ï7"ïÀ~P�ÐP�Æå&Àå=‰€7 ÊîDÄEÿ!ð wè÷eôîÆîîÆå÷E€¤îÅEðDÄ5!Ä5À! ƒw¸Ä |¢ W!Á¸ ÷ Á¼ ÷ ÅÄ Ä ŠÄÄ ü À wŒW! BŠ— Âå— ÁÐ ÷ Ü— ÁÔ ÷ Ì ÁØ ÷ ÂÁÜ ÷ ¸÷ ¢…ŠÄÄ ü à ÀúíÀEðÿ76î÷E€êí÷U€âí÷E@Úí÷U@Òí· Îí ÀHÈEÍ €ÈUÈU÷ °í Àêí=‰DÄEÿÄ%ð_�#À~À´íæÀíæºí÷ ví· 6èBÂE?ÿ‚ ‚ ‚ ÂeL‡CÃEøÿà Ãe|@ÀEÇÿ€ € x À÷5€4íÀe‡À÷5€"íÀå‡À‡À÷5@ íÀe‡YÃå|× W†Ã à ÃeLÑ ‡÷5@äìM× ˆJ†Ñ ‡× ŠEÃE× Š À=‰7íÀ `ÃŽ8æù  `ƒ2× Š&À=‰Ëe€'æËeƒ!× Šù  àÃ× ŠËåÃ&À¢ì=‰÷ešìÀb€÷ æÿÃwtþÃ5û‡À0÷ ÂÀ< �f � Ð ÁE€ÿÁU€ P�÷5€ì��  �Á ŠÁÁå€P‡À2fŽPÎPQ7 ºë‡Á5ÿ¡    ˆ öÁ5€Ä C B A È ÷ à `‡ÒÒ÷5€–ëÒÒ‡  ‡““÷5€~ë““‡  ÷5€lë  ‡Ë Ëe€‡ËE€‡‡Å2Ê Ë ‹"“$ “$÷5€0ë “$“$‚͇Íÿÿ‡ ‡ÒÒ÷5€ ëÒÒ‡  ‡““÷5€òê  ‡À0ÐÐ÷5@ÚêÐ  ÐwL   Èw>ÅÀ0÷ „þÀ2À–ê (¡   € ÷Á ÷5@†ê ÷ hê B ‡ �õ‡Â ÷ Nê ͇÷UXêw¢üÀ0÷ þ÷:ê÷ üwvüÀ0÷ þË&êÅwdü÷*êwtüË"êwlü÷ Þý÷ Øý7 ê÷ êa÷ îéUÁòéÁíúéW 8UÀ> W 8EÀ2fˆc¡    Î ù à `Ö Á:ÂFÀ÷-”éžé ¡a ‡‰hÀ û‰h±ú ¡¡ ‡‰èÀ û‰è±úÁ2É Á:À¡a ‡ À û! ÷ pý Á<Â0ÀRÀ ýBÀ0È Á,éW !W �ÿÁe€Á¡ Ð ÁU€ÈE€ÿTR÷5€ é‡  ÷5€úè  ‡÷Uìèw6û÷ ²÷ ü÷ îüÀ0Á< ý Á€ 7 ®èr@2r@>€ ¡ ôÁ€Âe— í÷ ªü÷ JÿW!TW!d ÷5€vè7 nèÅe÷ ÿÅå‡÷ ,ü÷ Xè¸÷í\èNè÷ ¾fÀ2    Å2æÀ>$ $‡‚$‡‚$ ‚ÀFèƒ ‚ � è‚ � è� è�SÄ C B A ¡ ß΀ÅeW!:Ø‡Ö …wdþ÷ ¢û÷mØçÊç÷ Æç÷ 6fÅB÷5€Äç0     À € å   W!>‚À2P�Ð…‡¡    0ç&À2d& dN & dN dC N ‚eN �e€ÕÅÁDçÂBçÃ@çÄ>çU•Õ¡Ä C B A U•ÕÀ:÷ |U•Õ    ÅDæ@ ¡    ¡    ÀEüÿtÀe÷ 8Î èW!@ÎÎå W!>Ü†Ö ¡    À2P�Ð…‡hC B A hB A hA h‡÷-~æˆæ÷ÿÿtæ‡÷læ‡w òÄ ÷-ÚáæÀæÀ h Nß 8,Îfæß t0–%Îæ æß t0–%ß 8,&æß t0–%Îæ# æß t0–%w�w €DÔ‹þ@íÀ wx7zå ÷påõ÷ " Á Ó•- Ó•0�”B~ÁNåÓ•. Á Ó•0…~Á ”B~‡7,å ÷"åõ÷ Ú Á Ó•-”Ó•.Á åÁ ”B~Ó•e �Ó•- Ó•+ r Àe0�Áe0S�‡f…@‰†wÐ …‡f…@wà‰& †w² …‡f…wøß‰* J‡A …‡7 –äf…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7zß1@‰0 ‡À �1‡wf…w\ßwX߉6 †wê…‡f…wDßAɉ< T‡  Rf…Añ ÷ ^ñ y�± ñ ÷ Fñ y�± @3f…Añ ÷ ñ @9�± !f…A÷ @Àe&7ºÞw¶Þ7à°Þ@‰B †7ôã±ñ‡w$7 ,ã…‡f…@w‚Þw~Þ‰H †wþ…‡f…÷nÞjÞwmdÞ‰N †wàÀXÞwmRÞ…‡f…wBÞ‰N †w¾w4Þ …‡f…AW †@wÞÁ f˜1˜7Þ À5Á Á Áe|/wü݉T ‡À5€…‡À& Ö wZ&ÀãL&ÀãH&À ãD&Àã@&Àþâ<&Àøâ8&Àòâ4&Àìâ0&Àæâ,&Ààâ(&ÀÚâ$&ÀÔâ &ÀÎâ&ÀÈâ&ÀÂâ&À¼â&À¶â &À°â&Àªâ&À¤âf¦æ&È „ƒ‚�€f… ‰¦BR‚…‡f…w ݉Z …‡f…wü܉^ †wh …‡f…@wâÜwÞ܉b †wD…‡f…÷ F@‰w Nß º0ß °2ww þÆåDÄeòÿL@4À,ß &ß 47Ö ß Ô1Âõwøÿõ/öÿó%J ó%K À t5æøÿÀ t5èöÿNøÿæß –1Ö 5øÿNöÿæß –1Ö 5öÿ÷ ¾Þ B-øÿB-øÿó%B-öÿB-öÿó% Î&ß 47Ö ß Ô1³ Àw2w "DCÃ%: ß R3Àe“þ`Áím Áe¼À rfÀ€åwôw ä΀p@&fß 7–%ÃÞàÂÀÁÀ r<RÁÀ r<ÁÀ r<RÁÀ r<À rWtC`À rÒÁeÀ rw‚àÃFÎß R3àƒ Îß R3!ö÷bà7bàÎß R3À%n÷rÝ ÀÀ ìîƒ ÀÀ 0!îö÷TÝ€ Ò7 (àÀÀww ÄðÃÔ”þAA WpCÃe8ÄðÔ”Ô”Ô”„ BÂe�WpCÃeNÔ”Ô”Ô”Ž&ß r3Ö ŽÎed&ß r3Ö ŽÎed&ß r3Ö ŽÎed&ß r3Ö Äe@ &ß r3Ö Àðwvw fAÀ rÁ Ànw\Àmûw FD„ õ% AÀ r À r Áe0@�Ô• AÀ r Áe0@�w @…&æ¦È B„ƒ‚F…‡7ÞÀÿÿF…‡‡f…5õ÷ f…5õuõ ÷ …‡7d@ñð÷ h&Àñ÷ `Àñ!7J& @ñðŽ ÀñAñðÎeÁñù÷ 87õBÜÎ5Àñ7ô6Ü7ô2ÜÖ5ÀñVðÖõ–õVõ€‡fø¦øæø¦ðWð€@H7÷$Üð7÷Üð wõôÛ@ù@ø÷ Àñ7ôîÛ‡ø7öÞÛwôÚÛù÷ 7ôàÛ‡ÀtæøÃòXõCòXôÎ üÎÂøƒò˜ôÎ üÖ Bùò‡f…5õ÷ f…5õ÷ …‡€ñæ& ¦ðWð€fø¦ø&&ø€ñ7óÌÛWó€?Wò€A@û€mWõ€@€ ‡ö€@ †ÀñVñð€Àñø@ò·õÂÛ�ò·ô´Û�ò·ô¦Û�ò·ô˜Û�ò·ôŠÛòBø·ôÂÛ�ò·ô´Û�ò·ô¦Û�ò·ô˜Ûù€–õVõVðÖ ‡f…5õ÷ …‡@ñð¡‡ñ±‡&¦ð€ÀEÿ@ðfø¦øø&øŽ Îe@ õÀBø€ùôò@~–õVõVð€¡‡f…@÷ …‡¦ðWð€¦øfø@ñðõ€@¡67óLÛð�fûö@fûÎ ô@øAò·õÛ�ò·ô Û�ò·ôüÚòBø·ôÛ�ò·ôÛ�ø@öôù7òÛ&úŽe—#Ö 7õ Û± —#�ÿÖ ñ¡ý¡Võ–õVð‡f…5õ÷ …‡@ñðõÿÿ±‡¦ðWð€¦øfø&úý7÷ÂÚðýÎ øö€@Wô€@ùø@ò·õÌÚ�ò·ô¾Ú�ò·ô°Ú�ò·ô¢ÚòBø·ôÊÚ�ò·ô¼Ú�ò·ô®ÚùVþwò~ÚôVõ–õVð‡€�6rw°Û‡€�6r@‡f…@õ Á P`Hm` …‡f…¦5õw pÚ÷ * f…¦5õw ZÚ÷ ½}‚…‡7 tÛ÷lÛ¦ðWð€&øføæÁÔ 7 TÛ@ñð%· HÛÀñó€@Añð&ø@øÃü7óúÙø@ø—ôL>—ó BÀûÀe0#�‚ @ñððÁÔÑ”× üü‡õ ‚  ó BAñðú‚ ÷ ÷  üW ü†Îeó B@ûÀe0�‡ÀÔÀm˜Ù÷ ÄÚ€` Ô‡’ÃeÈ�¢9 È•0 Ôƒ ŠöÈ•1‚ Á’ÚÀ`Ù÷ ŒÚ€`0ŠÔÀÔƒVõõVð‡ ¡ ‰‰pmon.out $4:@FLR�˜ ®¼Ä ‰‰‰¤‰ ‰€ÆT–Õaå`0tmp.xstandard inputstandard outputmessage file™33ÌLff€™™3³ÌÌfæ+‰îòöþâ†X0 T@vp^hXXXXXXXXXXXXXXXXž¼Ú D XXXZ r Œ . Ú ¨ ì BP Z d Œ –   >ØÈ Î Ò Ü ì pvŠ ” š Ð ò ZÖ ÎŠþ˜T|ˆŽš0”h H|‚Ú¶ê–œ¤Þ(>`l|ˆš¬¾Üî " (,6jnxÎ*®^‚°€¤jlXtxÀ< .:6:PT’f~xnØæ\X¦ª¸ÄÌÔØXâæòà trúøþ2>Zh„¦˜~¾ÂÎÚòì.2@L`Š|jÈÌØäÌÖæX² ¸L0öXXXX¬v^RXXXXÐÚîXXXXXXXXXXXXXø"ü@D*À¤®Ìzjn‚v#¢tH�×M;ò OobjFile is emptyToo largeNot a Pascal object fileExecution begins...    &,28>Z`flrr|‚ˆ”šr¦ ¬T²Žr¸r¾ÄÊÐÖHNÜâèö£< ×p=×£Argument to chr out of range Div by zero Floating divide by zero Call to procedure halt Reference through a nil pointer Tried to read past eofAttempt to read, but open for writingAttempt to write, but open for readingToo many digits in number Negative argument to sqrt Panic: stack not empty between statements Subscript out of range Reference to an inactive file Negative argument to ln Panic: bad op code Bad data found on integer read Bad data found on real read Panic: active frame not found in goto Label not found in case Ran out of memory Panic: bad arg to alloc Constructed set argument exceeds set bounds Mod by zero Close failed?Argument to argv out of range Bad i to pack(a,i,z) Bad i to unpack(z,a,i) Value out of range Assertion failed Integer number too largeStatement count limit exceeded Runtime stack overflow Panic: unknown error Interrupted at Error at Called by "+ near line Execution terminated abnormally statements executed in seconds cpu time Execution terminated ”²,,,,,,,,,,,,,,,,@`P‚d‚,”²þþÎþôNNHHHHHHHHHHHHHHHH||´’ Òî HtruefalseJ$X$h$x$x$x$x$x$x$`$p$l%.%H% %x$("(x$Ò&ô&î&ä&l%.%^%4%H%%H% %x$x$`)f)*(¨&0(ö&À&Ü)(Œ'L'ô'^'4'F%p%z% %Â%Ò%â%ø%Unknown error: ‰‰‰‰‰¶‰‰‰0‰+‰ ‰‰® ¶ Å ß ï +=O_k}�Ÿ¨¾ÐÜîý -AUfu„œ©¿ÎÚ"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceeded€pM:/PSTPDTDay Mon 00 00:00:00 1900 SunMonTueWedThuFriSatJanFebMarAprMayJunJulAugSepOctNovDec®¶¾ÆÎÖÞæÎ€@É@Ú!¢ÂhI@Ú!¢ÂhAy‚ü™1ïÔ?ÌçÏ‘y"?ÊD{‘ÕAv#O›ÅP#C†àÌõ!+šC“ô|¥]2CU*j 4¬xBJÔÃÔh{CþWú*Rs¸CL¦~Sz"@ƒùNnDOLX2�ú»ê–ËxØ©3Ÿ‰ÖIáä”¶ÂTXÇ]1 ªDø!ñ‡ûLÎç%§dîÇIgN5& GbÜqhÌDK§Ÿ-?á½E=s½M¡BÔ�Ÿ˜Û`½=B.p«ª½ˆF±�:|+eiD(/èzC•¸@;ª\)ñµ@óù3dÞÿÿÿÿÿÿÿ5@óù3eÞ1@rÑ÷zÏÀÂ�lŽ÷B‰¨‰#"™Âû3’h±@×?ØG�e˜@Â�lŽ›BÙ,½k$Âç“aXUÌ>ÌÌÌÌÍÌ pcrt0.ostart_infoas.o&FPreturnMlplcerror ˆONE€@HALF@onemt`loopN_unit0”_unit1ªoptabbadopXEBADOP_perrno _ABORTj_HALTlEHALT_NODUMPt_BEGxbufESTKOVFL%_ENDÀblkexitÐFBUFòÿ_CALL_PUSH_POP._SDUP6_IF:_TRAP_ASRTBEASRT _LINOTESTLIM$ESTKNEMP_GOTO’EGOTOfchainFLEVöÿFWRITE FUNITüÿPFNAMEøÿECLOSETEMPEREMOVEFNAMEúÿFCHAINôÿpmonout_pxpsize_REL2freltab"_REL42n_REL24x_REL4~_REL28¦_REL48ª_REL82¸_REL84Ä_REL8Ø_RELGæreleqrelne relltrelgtrellerelge$ifeq4ifne:iflt@ifgtFifleLifgeRtrue*false0iftraX_RELT\settab:seteq�setne˜setlt setgt®setle¼setgeÄ_ANDÌ_ORÔ_NOTØ_AS42à_AS2â_AS4æ_AS24ò_AS41ø_AS21ú_AS28þ_AS48_AS8 _AS_OFF2_INX4:_INX2>ESUBSCR _NILZENILPTR_LVh_INX4P2r_INX2P2t_ADD42~_ADD2„_ADD24˜_ADD4¦_ADD8²_ADD28¾_ADD48Â_ADD82Î_ADD84Ú_SUB42ì_SUB2ò_SUB24_SUB4_SUB8 _SUB28._SUB482_SUB82@_SUB84L_SQR2^_MUL2`_MUL42j_MUL24|_MUL4Š_SQR4‚_SQR8°_MUL8¸_MUL28È_MUL48Ì_MUL82Ø_MUL84ä_DIV42ö_DIV24_DIV4_DIV20EDIVCHK_MOD42R_MOD24^_MOD4v_MOD2¬EMODCHK_ABS2Ì_NEG2Ð_ABS4Ö_NEG4Ú_ABS8æ_NEG8î_DVD2ø_DVD42ü_DVD82_DVD24_DVD4"_DVD84*_DVD28@_DVD48D_DVD8LEFDIVCHK_IND2j_IND4n_IND1z_IND8‚_IND†_INDconŒ_RV2¤_RV4®_RV1À_RV8Ì_RVâ_CON1î_CON2ò_CON4ö_CON8þ_CON_RANG42 _RANG20_RANGS42@_RANGS2T_RANGS4^_RANGS24h_RANG24p_RANG4vERANGE_CASE1OPžECASE_CASE2OP¼_CASE4OPÚ_PXPBUF _TRACNT< _COUNTD _ADDTZ _SUBTr _MULTŒ _CARD¨ poptabF_CTTOTÚ _INì _INCT. _FOR1UP _FOR2UZ _FOR4Ud _FOR1DŒ _FOR2D– _FOR4D  _STOIÈ _STODÎ _ITODÒ _ITOSÜ digitÜ one€@outÆ hugeÿten Bbig€\getnameü retanewspgotone~ FTEXT@FSIZEþÿnextu¼tnam¾alname. _GETŠ getÊiosyncP_PUT” putî_MESSAGEš _unit2ºunitL_FNILÐ _BUFFì bufoptÄ_EOFò EOF_EOLNEOLNu1buf–_RESETZSYNCstdinÆESEEKopenrnmlopenrjeopenÊFREADecreat¾ECREATE EOPENcreitpcrenmropenwvopenwnmx_REWRITEÖ_REMOVE _UNITINPTu1cnt˜_UNITOUT|stdoutÕ_UNITŠ_READ8˜_READ4Î_atol€_READCþ_READLN_PAGE*_WRITC0pwriteit¤_WRITLNH_WRITGh_WRHEX2p_WRHEX4v_WROCT2|_WROCT4‚_WRIT2ˆ_WRIT4Ž_WRIT8”_WRITBš_WRIT82 _DEFNAMEÎ_FLUSHÚpasteofÂeof¶EPASTEOFEREADIT!EWRITEIT"EWRITE EREFINAF u0buf€mesgfåpfloatpdigitspbufflagsprsecVpsignd´prtoodZpunsdÐprerrbETOODIGIEBADFNUMEBADINUMEBIGGIE#pwrilòpw_tabòpwrsl,O_WRITCÓ_LLIMIT–_ARGCœ_ARGV¤EARGV_SCLCKØ_CLCKÞ_DATE_TIME_SEED(_RANDOM>_DISPOSE`_NEWl_EXPO|_ATANˆ_COSš_EXP¬_LN¾ELN _SINÜ_SQRTîESQRT_CHR4 _CHR2ECHR_ODD4 _ODD2"_PRED2(_PRED4,_PRED246_STLIM>_SUCC2j_SUCC4n_SUCC24x_ROUND€_TRUNC¤_UNDEF®_PACK¶packæpakunpÀunpackÜ_UNPACKêEUNPACKEPACK_WCLCKEALLOCEOUTOFMEECTTOTEINTR&int.o~mainacavcpofsizeøÿbpöÿiôÿ~PerrorÊfilemesg~putsästrcp~ferrorþcp~onintrpalloc.o>~alloc>needcntwphave~setmem¶~freeÔcptr~stklimÜpcttot.oø~pcttotøuprbplwrbnav setlapøÿhöÿpdattim.|~pdattim|opalfapapcpdpaöÿiôÿperror.oÐ~errorÐperrnoapicpsepøÿdispÐÿmydpÎÿ~stmts~stmttim`tbufîÿlêÿ~psexit°pwrite.oâ~pwriteâopcsubopcavapcpiwøÿw1öÿsignôÿdecptòÿacpðÿalongìÿadoubleäÿk2âÿk3àÿ~wro4"lwc~wrhexŽ"lwcfp.oö"rtibptfetchi=m.ext€m.lngi@spsŒspcŠsr0|sr1~trapinsJbadinsx$lookahea�#sspˆfpsrHclass3ò#class2Æ#i.cfccJ$i.setfX$i.setih$i.setd`$i.setlp$fsrcð$mod0rxl%mod242.%mod0fH%mod24f %sret~$i.ldfps(i.stfps"(i.clrxÒ&i.tstxô&i.absxî&i.negxä&mod0ra^%mod24i4%mod24d%fregÞ$i.mulx`)i.modxf)i.addx*(i.ldx¨&i.subx0(i.cmpxö&i.stxÀ&i.divxÜ)i.stexp(i.stcxjŒ'i.stcxyL'i.ldexpô'i.ldcjx^'i.ldcyx4'ret–$mod0F%mod1p%mod2z%mod3 %mod4Â%mod5Ò%mod6â%mod7ø%badi1&mod0rf%check&pctmpŽsetab &asign0seta&bsign<norm\&areg2saretÊ(aexp:xofloê'reta)retbî(breg>unfloD)ovfloV)i.mulf*bexpFxorsign®+binsaddr˜+ac4lac5tperror.oÆ+~perrorÆ+cns~strlen8,sstrfltpr.oP,close.oö,fstat.o -getc.o*-indirbadretÎ-fill®-open.oÒ-putc.oð-badret®.goodret².fl~.read.oº.sbrk.oÜ.ndR signal.o$/rttNSIGdvect˜tvect|/time.o20times.oH0times+unlink.oZ0write.ot0errlst.o–0exit.o–0ctime.o¤0~ctime¤0at~localtiº0ctdaylbegiøÿttimdaylendöÿdaynocopytòÿ~sunday–1atdtad~gmtimeÔ1tptimd0d1xtimeÀ~asctime°2cptptncp~dysizeR3y~ct_numbr3cpacpncsv.o¼3cerror.oÖ3cleanup.ä3atan.oæ3savep4satan~4retd4pi2Žsq2m1¦arctan¸4sq2p1žone†pi4–p4ptp4®p3¶p2¾p1Æp0Îq3Öq2Þq1æsin.oæ4frpi2îfourth€?four€Aone€@p4p3p2p1þp0öq36q2.q1&q0sqrt.o”5half@exp.oî5ldexp ýstexpúone€@out‚6log2efhalf@P2NP1FP0>Q1^Q0Vsqrt2nbigvlog.oŠ6ldexp ýstexpúbignegÿÿsqrt2o2~one€@p3¦p2žp1–p0Žq2¾q1¶q0®log2†ldiv.o7dpadd.o47ecvt.oN7eflagþbufÔsignüzerø7one€@lssü7gtrÀ7buftopütenthÆepsilonL>ten Bpad8digit1$8digit8out.8outoutf8savr5$ fptrap"F#_exit"–0_pxpbuf#_main"_interpr"&_pcttot"ø_pdattim"|_alloc">_free"Ô_error"Ð_fflush"p._maxstk$Ð_pputch"<_pmessag"ø_pwrite"â_pwril"Òatan"4cos"5exp"þ5log"š6sin" 5sqrt"¤5_display#_dp$Ò_lino$Ô_draino#˜_seed#F_randa#J_randc#R_randm#Z_randim$Ö_atof"à _argc$Þ_argv$à_errno$â_file$ä_nodump$æ_pmflush"T_psexit"°_stcnt#_stlim# fpjsr"6#csv"¼3cret"È3cleanup"\ _preadn"h_getc"Ž-_putc"L._bottmem$è_memptr$ê_high$ì_discard$î_signal"$/_setmem"¶_open"Ò-_unlink"Z0_onintr"_perror"Æ+_fstat" -_ferror"þ_read"º._close"ö,_write"t0_Perror"Ê_sys_err#h _puts"äfltused"P,_sbrk"Ü._stklim"Ü_pd_date#¬_time"20_ctime"¤0_stmts"_stmttim"`_times"H0_wro"4"_wrhex"Ž"_ecvt"N7_fcvt"d7_reenter# ac0$Lac1$Tac2$\ac3$d_sys_ner#¬ _strlen"8,pfloat"P,pscien"ž,_ndigit#Îecvt"Œ7fcvt"†7cerror"Ö3_getw"H-_fopen"*-_putw"._fcreat"ð-_werflg$–_end$_brk"/__cleanu"ä3_cbuf$ð_dmsize#î_timezon#_tzname#_dayligh# _daytab#_localti"º0_asctime"°2_dpadd"47_gmtime"Ô1_sunday"–1_dysize"R3_ldiv"7_ldivr$Ò_ct_numb"r3_atan"æ3atan2""4_atan2"ô3_sin"æ4_cos"ô4_sqrt"”5_exp"î5_log"Š6_lrem"$7as.oàms¤‘ L² ü ð0‰<0‰÷êÿÅ*„¿Þÿæ@æV•`•xÊ÷�ˆ ðæˆ÷ ºÿ÷|ˆ· ¬ÿ÷e¤ÿæ ÿ&Äe æfæ’ÿæ ¿Œÿ€À` ‚7 €ÿ ƒÃ & €!ý‚Ápÿ‰M÷%0%ˆ÷ Æ\ÿÖ ·Vÿ·"Ö ¿Lÿ×-Hÿ ‚ÀV&òÿ÷ 8ÿ÷ d ÷ .ÿ·*ÿ„·$ÿMeæÿ&æÿÃe÷ ÿM€À`€!ƒ& üMÆ`M¦MÖ‹ Ô MÖ‹M÷   ˆcM÷ÈþÁÄþF"÷enw h÷åh· b÷ ^÷$h$ˆM÷^ˆcÃeˆþ÷ „þ×-~þ÷ "Ò ·pþ·<Ò ¿fþ·bþê†M÷ ˆ¦Â  9¿,öÿDþ5‚ò5 üÿ¦òÿ÷ 2þÖ €üÿ �ÀEðÿ‰†·øÿþ÷àˆò5üÿ ·øÿ‰º†·øÿúý÷¾ˆ¦úÿ÷ êýŽ‚ôÿÎå÷ ÜýÖ Å·¦‚‡÷ Œ‰Ä¤‰¾‡€€%{΀�Î Â �À €�‚€ �%‚× ÿÿ{Î× {ÎÖ € {ÎÎ æ þ÷ð{ÎõÎ æ õ–þ÷ð{Îõ÷ð{΀‚ ÂE†`�†`P¤ƒ~× {Î& M& M & M& M& M& MæM& MÔ MÔ M Ô MÔ MÔ MÔ McM‚ ÂE�†`€†`‚ × Ãå ÅH{æÅ*Ö Ô McM$΃~É$ǃ~ÈCBÅD †~ÁCB¾PD†~ºPD¸ƒ~³D´ƒ~¯Ö  MŽUMŽ ÎEþÿMÖ žM€�‚JM�À ùÖ ž•MÎ æ þøMÂÂ`‚ ÂE‚¡ ’Â~†’•Ö MÎ`MÖ Ã �å�T CpN`M÷ ® ˆÎ M÷ ˆÀe&MÖ €åt`M€��À ƒ C`B `æ¦M�À v`@ `M¶e¶eN Mõô&øMÎ æ þô&øMõÎ æ õ–þ€ô¦øM€��À ƒ Cà‚ àæ¦M�À và@ àM¶å¶åŽ Mõ–õ€ö¦øMÎ æ þ–õ€ö¦øMõÎ æ õ–þ€ö¦øM¦€pf&M‚Á �ãö ö  Î æ ¦¦‚Á �å€à ƒí@pÂpC`pÀàÆef&Mõõò&øMÎ æ þò&øMõÎ æ õ–þ€ò¦øMþÎ æ ‚€�r…&æ MÆå æ þðVþ@ùfûM‚ �À r…&æ Mæ€æ M÷ˆþÎ æ ‚€�r…fæ MÆå æ þðVþ@ùWó€@@òðWö@Wô@fûM‚ �À r…fæ M& æ M÷¤ˆÎ  æ MÎ €  € &MŽñMÎñðMÎ æ þõðÎ æ –þ€ù¦øMÎ æ þõð–þ€ù¦øMÎ æ þõð–õ€ù¦øM÷2ˆ¦M€æ ‚M€ŸMÀÀ`ƒ †˜ÁEÿfƒ &Â~MÀe&MÀeÆå‚MÀe’fMÀeÆå‚MÀe& ÌæM&M&&M&¦f&M‚ ÂE„`¶€Á N 4€ . ,M€Á N $ "‚Mƒ#‚M€����À �À €� L ‡Ô  L ‚Ô M÷þˆÀ`À`ÂÖ 6¤þÿ(Ä~÷àˆÀ`À`ÂÖ 6$þÿÄ~÷ˆÀ`À`–%6$üÿÐ 6$þÿÉ~÷šˆÂà‚`a„bMÀe``&7t ÷ ®÷7j Ò ‰RÔ McÃ`Ã`Ãm@ óeK Mƒ ÃE€Æ`�ƒ TÂ~Mƒ ÃE€Æ`�ƒ DÂ~!EMƒ ÃE€Æ`�ƒ B ‘@Ä~MÁ‚ƒ ÃEÆ` €’ÀEðÿÀ lò€”týÿÀEáÿlòN~æMæ&&÷ èöM‚å�” �ÁEøÿ—týÿ‚aƒ ÃEÆ`Àt °_òw¨ùÔ ƒ ÃEÆ`wšù‚ƒ– – à Ã`Ã`Æ`æMÖ Í~& M‚�’À ŠŠ ‚�À Š ‚€�Êer þÿ‚ƒ cMC †cMÔ M‚�’À ÊŠ ‚�À Ê ‚€�Êå² þÿ‚ƒ cMC ƒcMÔ MÎ æ MÎ æ þ&øMÖ Mw ðõ¦ðWð€fø& ñ CÀ”À% ü -Ž À”Àå0 ‚÷ š÷‚ õ þÿ À”Àå0 ‚÷ ~ ö  5  ×¢-„ ƒ À”Àå0 ‚Wp `öÄ  BàWõ€@¦ — &ƒñÖ �õÿ Wò Bƒ~Ö ùòð„õÿÖ ÀñVõVðw$õ÷€\ðò B@þô‡Îe‡·Ô‚Á� ÁE�a@wÄÈ 4&ÀÀe&÷ ÞôÖ 0ÀeðU@üÿðþÿ°öÿæÞÁŠ�1ôÿ0 ôÿv,öÿ ‚NAôÿðpôÿ�1ôÿ/Ô @üÿñE€üÿñ5 üÿ &ffòÿ÷ dôÖ �€ÀEðÿ‰‡ñ5üÿà &f÷ –�€ñEÿ·üÿ@òÿ   @à ð úÿÆìæ÷ÞˆðUüÿ· p÷�lpÂjæðEüÿÂ` Š—¬ÿÿ "ŠÃ ùÂàƒ æ÷ Ôó�”þBÀúÿ&÷ ÀóÖ ³úÿ³øÿÀÆ~x¦‚·øÿ´ ‰†·øÿ”ó÷Xˆ¦øÿ÷ „óÖ ‚‡÷ 4÷ ¶M÷ NMÀf÷ ¢Â4 ò5 üÿ¦òÿ÷ PóÖ ‚ôÿóÂV¦òÿ÷ <óÖ M€æ2óæþ÷ f÷ f·ò·óM÷ˆ M€æóæÜæ€æóæÌæ÷ 0×-À@ ×-X æB÷ ÜòÖ �& ¢ò5üÿ÷ r0üÿ΀·†·²ò&M—/@÷ Ú  ‰ ‡Ö Ô ÷EÆ ÷UÀ M÷r|ò7xò÷<ˆ÷ `ýwøÿdòwúÿv‰ ‡9òÿÀU1PüÿM7Fò÷  ˆ7:ò÷þˆ÷ "ýwøÿ&òwúÿ>‰è‡‰wúÿ6‰"ç‡9òÿÀU!1PüÿM�‚ ÂE†`Á`@B’ ŠW¬ÿÿ !ŠÃ ùÁàwüwÎñ‰(‡ˆ�MÆÀñ7¼ñ÷€ˆ×-  ÷%ê æB÷ œñÖ ÷@d÷rŽñM÷VV÷�€ñM€ @á÷ ®MÆå ¦æ æ÷ ¶ ‡Æe¦÷ ^ûÆe"&øMÆe&&ñMÆå¦æ& ÷ Š ‡Æe¦÷ –Æef&MÆe& æ M÷ N& ÎŸØ ÷ ¾M÷ >ÀÊ ð5üÿ÷ ¨õ÷ ¢Mæ ÀÓ6¿•¤ ÷ ®÷ < 8MÀ׿ Â×-ˆ V&×- " ÀÕ&À·À¿ÀØÀÙÀÐ ÀÑÀÔÀÒÀÖÂØ æ&÷ `ð ×-& VÀ &òÿ÷ FðÖ M÷ 2ûðU€üÿM€÷ lÀü ð5 üÿ&òÿ÷ ðÖ MæÃðÀf÷ F÷ðÃÔ Ã ó5 üÿæòÿ÷ îïÖ ÃôÿòÃVæòÿ÷ ÚïÖ ƒ‡¿ž ÷ ¨‡ƒ‚�‡ÀŒ ð5üÿ‡f¦æòEüÿò5üÿ'ƒþÿÀd &òÿ÷ ŒïÖ À ��Ë~ÀN ðEüÿð5@üÿÔׯ< ÐðUüÿÿ• , ÉÀ& ðUüÿÃ÷ ˆfÁ ñ5üÿ÷!ü !ˆ÷ lÿñUüÿ�‡×-î f!¦æÂâ ò5 üÿ÷"Î "ˆƒþÿÀÊ &òÿ¦”÷ ðî–%÷ êîÌ~ƒ‚‡÷ ¤ ˆÀ‰fö‡ ó‡7� ð üÿ�7øÿ²î‡÷ t ˆ‚ƒ÷ ÜþÀh 7üÿf ÷5` y÷ >ÿ÷ Àþð5üÿ_ÀŸD  ó ð í ê  -à M� +÷ üþ ÷ zþ÷5 ÀŸþ  0  9à 4�� ÷ ÐþëÁ 1�$W  . � W  e Eà �÷ šþ� vÁåÊ÷ þ÷5ž ÀŸ” ³à Ї±‡÷z ˆö ÷l ˆ÷d ˆ÷\ ˆƒ  ×¢-ƒ ”v…f&v…€e…�e@ …Âå0�`@ …ë—¯-  € ‡÷# #ˆw :íƒÃe‚Æå Á€ 3 � Š r @À À Àež& Ál@ r Áe0b�€gK 3Áå r Áe0b�ø„‚áÂå Ãþÿƒàö à à �À ÷ $ùö À-÷  �•÷ úÆewŒì&& æÓ÷ €ìÆe‡ÆeMæpìæ M�€7 ^ì`ÀmVìƒ ”À  ‘�Ç~M÷ ˆæ& Æå ·ð‰Æ€€m Æepèf&þæ<æ Vþù&ûM€ ÀEÿ&÷ ôë–%M€�æêëæäë7àëwÞëM7þÖë7òÒë7ôÎëø·óÈëŽø·òÂë·û¾ëMÎ ÷ ´ëÖ Mæ÷ ¦ëÖ Mõ&úæ Mõ÷ ’ë&øMõ÷ ˆë&øMõ÷ ~ë&øMõð�÷ pë&øM÷ 0 ˆõ÷ ^ë&øMõð�÷ Pë&øM÷ˆÖ —#‚M÷üˆÖ ÎEþÿMÎ MöåŽ MÎåæ M€Ö M�Áí¸€ Àí°v÷$¼$ˆ7¢w MŽ MöeN MÎeæ Mõð�ô@ö@&ûMõ&ûMÆe& M÷‚p�åT Cp€�eÖ ƒ T@�P”Â~M÷x<å×-6‚÷*ˆ÷"ˆ ‰f&M ¡ ‰‰pmon.outÎÔÚàæìüX`hv„Œ ‰‰‰¤‰ ‰,rTB�a‘`0tmp.xstandard inputstandard outputmessage file™33ÌLff€™™3³ÌÌfæ+‰"&.¶>4`P„p¦ Ž˜4444444444444444Îì <t444Š¢¼^ Ø € Š ” ¼ Æ Ð îÈø þ   ä ª`f‚ Œ ’ È ê ú R Î ¾‚î�Ltþx~Š „X�8lrÊR††Œ”Î&DP`hr|†œ¦À¼ÒÐØÜæ(¾JúL0DFH4PTœÞlø þ,0nBZTJ¤®$4‚†�˜”œ 4ª®º¨Ð86ÔÂÀÆÊö,Hj\B~‚Š’¢Ä¶œÚÞèðü&X\dl(2B4vÐP„¤–~v4444æÎÆ4444,6F4444444444444LjfP|€TnðÔÞüªšž²HYYi)YYY‰YYYYHyÙYiiYHYiYHYYYHYYYyYYHHHHHHI)¹ÉIyIYYyyy    y¹yyyy™© ¹É¹ééù9‰‰‰‰‰™©É¹‰YIÙéù )FPÿÿ_interpr"_pcttot _pdattim _alloc _free _error _fflush _maxstk _pputch",_pmessag"è_pwrite _pwril"Âatan cos exp log sin sqrt fptrap"_display _dp _lino _draino#D_seed _randa _randc _randm _randim _atof" _argc _argv _errno _file _nodump _pxpbuf#À_pmflush"0returnMlplcerror ˆONE€@HALF@onemt<loop*_unit0@_unit1VoptabÊbadop4EBADOP_perrnoÊ_ABORTF_HALTHEHALT_NODUMPP_BEGTbufÐESTKOVFL%_ENDœblkexit¬FBUFòÿ_psexit _CALLÞ_PUSHø_POP _SDUP_IF_TRA,_ASRTEASRT _LINO0_stcnt#²_stlim#¶ESTLIM$ESTKNEMP_GOTOnEGOTOfchainÒFLEVöÿFWRITE FUNITüÿPFNAMEøÿECLOSETEMPEREMOVEFNAMEúÿFCHAINôÿpmonoutÄ_pxpsizeÂ_REL2BreltabÎ_REL42J_REL24T_REL4Z_REL28‚_REL48†_REL82�_REL84˜_REL8¤_RELG®releqÎrelneÔrelltÚrelgtàrelleærelgeìifeqüifneifltifgtifleifgetrueòfalseøiftra _RELT$settabæseteqXsetne`setlthsetgtvsetle„setgeŒ_AND”_ORœ_NOT _AS42¨_AS2ª_AS4®_AS24º_AS41À_AS21Â_AS28Æ_AS48Ê_AS8Ð_ASÔ_OFFö_INX4þ_INX2ESUBSCR _NILENILPTR_LV,_INX4P26_INX2P28_ADD42B_ADD2H_ADD24\_ADD4j_ADD8v_ADD28~_ADD48‚_ADD82Š_ADD84’_SUB42œ_SUB2¢_SUB24¶_SUB4Ä_SUB8Ð_SUB28Ú_SUB48Þ_SUB82è_SUB84ð_SQR2ú_MUL2ü_MUL42_MUL24_MUL4&_SQR4_SQR8L_MUL8P_MUL28X_MUL48\_MUL82d_MUL84l_DIV42v_DIV24~_DIV4–_DIV2¤EDIVCHK_MOD42Æ_MOD24Î_MOD4æ_MOD2EMODCHK_ABS2(_NEG2,_ABS42_NEG46_ABS8B_NEG8F_DVD2L_DVD42P_DVD82T_DVD24f_DVD4j_DVD84n_DVD28|_DVD48€_DVD8„EFDIVCHK_IND2š_IND4ž_IND1ª_IND8²_IND¶_INDcon¼_RV2Ô_RV4Þ_RV1ð_RV8ü_RV_CON1_CON2"_CON4&_CON8._CON>_RANG42P_RANG2`_RANGS42p_RANGS2„_RANGS4Ž_RANGS24˜_RANG24 _RANG4¦ERANGE_CASE1OPÎECASE_CASE2OPì_CASE4OP _PXPBUF<_TRACNTl_COUNTt_ADDTŠ_SUBT¢_MULT¼_CARDØpoptabò_CTTOT _IN _INCT^ _FOR1U€ _FOR2UŠ _FOR4U” _FOR1D¼ _FOR2DÆ _FOR4DÐ _STOIø _STODþ _ITOD _ITOS csv cret digitÜ one€@outÎ hugeÿten Bbig€\getnameô retaÌnewspÎgotonev FTEXT@FSIZEþÿcleanup"T nextuhtnamjalname& _GET‚ getºiosync@_PUTŒ putÞ_MESSAGE’ _unit2funit<_FNILÈ _BUFFä bufoptp_EOFê EOF_EOLNú EOLNu1bufB_RESETR SYNCstdinrESEEKopenrnmopenreopen FREADecreat¶ ECREATE EOPENcreitcrenmopenw"openwnm$_REWRITEÎ _REMOVE_UNITINPLu1cntD_UNITOUTtstdout�_UNIT‚_READ8�_preadn"X_READ4¾_atolp_READCî_READLNþ_PAGE_WRITC pwriteit”_WRITLN8_WRITGX_WRHEX2`_WRHEX4f_WROCT2l_WROCT4r_WRIT2x_WRIT4~_WRIT8„_WRITBŠ_WRIT82�_DEFNAME¾_FLUSHÊ_getc _putc pasteof²eof¦EPASTEOFEREADIT!EWRITEIT"EWRITE EREFINAF u0buf,mesgf‘pfloatpdigitspbufflagsÔprsecFpsignd¤prtoodJpunsdÀprerrRETOODIGIEBADFNUMEBADINUMEBIGGIE#pwrilâpw_tabžpwrslO_WRITCÓ_LLIMIT†_ARGCŒ_ARGV”EARGV_SCLCKÈ_CLCKÎ_DATE_TIME_SEED_RANDOM&_DISPOSED_NEWP_EXPO`_ATANh_COSr_EXP|_LN†ELN _SINœ_SQRT¦ESQRT_CHR4¼_CHR2ÀECHR_ODD4Ð_ODD2Ò_PRED2Ø_PRED4Ü_PRED24æ_STLIMî_SUCC2_SUCC4_SUCC24(_ROUND0_TRUNCD_UNDEFJ_PACKRpack‚pakunp\unpackx_UNPACK†EUNPACKEPACK_WCLCKªEALLOCEOUTOFMEECTTOTEINTR&asmÞà9í�Érm .ASM*.s if ! -r ../nofloat goto doit cat *.s | gres "^ *" "" "" >.ASM.s /usr/lib/flt40 .ASM.s .ASM2.s as .ASM2.s rm .ASM*.s goto load : doit as *.s : load mv a.out as.o if $1load = loadload sh load RcompÞà9í�Ì: loop if $1x = x exit if $1x = loadx goto loadit echo $1: if -r ../nofloat goto nofloatcc cc -O -c $1 goto contin : nofloatcc cc -O -c -f $1 : contin shift goto loop : loadit echo loading load echo done errsàDq¤�´echo FP = -1. >00head.s if ! -r ../nofloat goto ok echo FP = 0 >00head.s : ok Emake rm *.o asm No match cc -c -O *.c int.c: palloc.c: pcttot.c: pdattim.c: perror.c: pwrite.c: load installÞá9í�Wcp a.out /usr/bin/px chmod 711 /usr/bin/px chown bin /usr/bin/px echo New px installed .int.cÞà9¤�3# /* * px - interpreter for UNIX Pascal * Version 1.0 August 1977 * * Bill Joy, Charles Haley, Ken Thompson */ #include "0x.h" #include "whoami" #include "opcode.h" #include "E.h" int display[20] { display }; int onintr(); main(ac, av) int ac; char *av[]; { register char *cp; register int of; int size, *bp, i; i = signal(2, 1); argc = ac - 1, argv = av + 1; randim = 1./randm; setmem(); if (av[0][0] == '-' && av[0][1] == 'o') { av[0] =+ 2; file = av[0]; argv--, argc++; discard++; } else if (argc == 0) file = *--argv = "obj", argc++; else file = *argv; cp = file; of = open(cp, 0); if (discard) unlink(cp); if ((i & 01) == 0) signal(2, onintr); if (of < 0) { oops: perror(cp); exit(1); } fstat(of, display); size = display[5]; if (size == 0) { ferror("File is empty"); exit(1); } cp = alloc(size); if (cp == -1) { ferror("Too large"); exit(1); } if (read(of, cp, size) != size) goto oops; bp = cp; if (*bp++ != 0404) { ferror("Not a Pascal object file"); exit(1); } close(of); if (discard && bp[(bp[0] == O_PXPBUF ? bp[5] + 8 : bp[1]) / 2 + 1] != O_NODUMP) write(2, "Execution begins...\n", 20); interpret(bp, size); } Perror(file, mesg) char *file, *mesg; { extern int errno; extern char *sys_errlist[]; errno = 0; sys_errlist[0] = mesg; perror(file); } /* * Initialization of random number "constants" */ long seed 7774755.; double randa 62605.; double randc 113218009.; double randm 536870912.; /* * Routine to put a string on the current * pascal output given a pointer to the string */ puts(str) char *str; { register char *cp; cp = str; while (*cp) pputch(*cp++); } ferror(cp) char *cp; { Perror(file, cp); } onintr() { extern int draino[]; if (dp == 0) exit(1); draino[0] = 512; draino[1] = &draino[2]; error(EINTR); } rint.oàôo¤�< (ŽÀw üÿÆåÎæß Ö 5ôÿ@À 7Üÿ@Àe7Ðÿõ€@7ù,7øÄÿ÷ Àÿ@È¥-ð¥oýew¢ÿ÷åœÿ· ˜ÿ·Š”ÿ÷ Žÿ ÷å†ÿÀl?~ÿ7zÿ· vÿ÷pÿnÿÄjÿ &ß Ö ÷‹Zÿß õ5ôÿÎþæß Ö Ã ß Îß Î(æß Ö õLøÿÎpß èÎß Nøÿß Ä%ÿÿÎ~ß èÎß Nøÿ&æß –%@-øÿÍ5öÿõeöÿÈ%Îˆß èÎß Îß ÷‹¦þ#ý%£öÿAöÿA ÁeAöÿAÁ À rÀ @möÿð% Îæ¡æß –%Nøÿföÿß Ö wLþw Hþ7 Dþw>þNß w2þw .þD•ß Ì‹úwþw þNæ þß ´Ö wþw þý÷ úýÎß ÷êý÷æýÎ&ß wØý(v#¢tH�×M;ò OobjFile is emptyToo largeNot a Pascal object fileExecution begins... 9¸ ùÉi  i ii 8¸ˆ˜¨˜è˜˜H ˜¨¹9 ˆ¹9ˆ¹9i¹9‰˜ÙØÙè¹_argc _argv _bottmem _memptr _high _maxstk _file _display#(_dp _lino _nodump _seed#P_randa#T_randc#\_randm#d_randim _discard _main"~maincsv acavcpofsizeøÿbpöÿiôÿ_signal _setmem L4nL5’L6ŒL7l_open L9®_unlink L10Ä_onintr"þL11ÖL12È_perror _exit _fstat L13úL14p_ferror"è_alloc L15L16~_read L17PL18ˆ_close L19¢L10001rL10002zL20¡_write _interpr cret _Perror"´~Perror´filemesg_errno _sys_err _puts"Î~putsÎstrcpL27àL20001Ø_pputch ~ferrorècp~onintrþL35_draino _error fltused loadÞà9í��if -r ../nofloat goto nofloatload ld -X -i ../assubs/pcrt0.o *.o -lc -l exit : nofloatload ld -X -i ../assubs/pcrt0.o *.o ../fpterp/fp.o -lc -l makepxÞá9í�qecho FP = -1. >00head.s if ! -r ../nofloat goto ok echo FP = 0 >00head.s : ok Emake rm *.o asm cc -c -O *.c load topcode.hÚ¤�¤/* * operations */ #define O_HALT 01 #define O_NULL 02 #define O_NODUMP 03 #define O_BEG 04 #define O_END 05 #define O_CALL 06 #define O_TRACNT 07 #define O_PUSH 010 #define O_POP 011 #define O_INX4 012 #define O_SDUP 013 #define O_IF 014 #define O_TRA 015 #define O_LINO 016 #define O_GOTO 017 #define O_REL2 020 #define O_REL4 021 #define O_REL24 022 #define O_REL42 023 #define O_REL8 024 #define O_RELG 025 #define O_RELT 026 #define O_REL28 030 #define O_REL48 031 #define O_REL82 032 #define O_REL84 033 #define O_AND 034 #define O_OR 035 #define O_NOT 036 #define O_AS2  040 #define O_AS4 041 #define O_AS24 042 #define O_AS42 043 #define O_AS8 044 #define O_INX2P2 045 #define O_INX4P2 046 #define O_AS 047 #define O_AS21 050 #define O_AS41 051 #define O_AS28 052 #define O_AS48 053 #define O_OFF 054 #define O_INX2 055 #define O_NIL 056 #define O_LV 057 #define O_ADD2 060 #define O_ADD4 061 #define O_ADD24 062 #define O_ADD42 063 #define O_ADD28 064 #define O_ADD48 065 #define O_ADD82 066 #define O_ADD84 067 #define O_SUB2 070 #define O_MUL2 0100 #define O_ABS2 0110 #define O_ABS8 0112 #define O_ADD8 0114 #define O_SUB8 0115 #define O_MUL8 0116 #define O_DVD8 0117 #define O_DIV2 0120 #define O_MOD2 0130 #define O_NEG2 0140 #define O_NEG8 0142 #define O_DVD2 0160 #define O_RV1 0170 #define O_RV2 0171 #define O_RV4 0172 #define O_RV8 0173 #define O_IND1 0174 #define O_IND2 0175 #define O_CON1 0200 #define O_CON2 0201 #define O_CON4 0202 #define O_CON8 0203 #define O_RV 0204 #define O_IND 0205 #define O_CON 0206 #define O_RANG2 0210 #define O_RANG42 0211 #define O_RANGS2 0212 #define O_RANGS42 0213 #define O_RANG4 0214 #define O_RANGS4 0216 #define O_RANGS24 0217 #define O_CONC 0230 #define O_CASEBEG 0231 #define O_CASE1 0232 #define O_CASE2 0233 #define O_CASE4 0234 #define O_CASEEND 0235 #define O_CONG 0236 #define O_ORD2 0237 #define O_CASE1OP 0240 #define O_CASE2OP 0241 #define O_CASE4OP 0242 #define O_PXPBUF 0243 #define O_COUNT 0244 #define O_ADDT 0250 #define O_SUBT 0251 #define O_MULT 0252 #define O_INCT 0253 #define O_CTTOT 0254 #define O_CARD 0255 #define O_IN 0256 #define O_ASRT 0257 #define O_FOR1U 0260 #define O_FOR2U 0261 #define O_FOR4U 0262 #define O_FOR1D 0263 #define O_FOR2D 0264 #define O_FOR4D 0265 #define O_STLIM 0266 #define O_SCLCK 0267 #define O_STOI 0270 #define O_STOD 0271 #define O_ITOD 0272 #define O_ITOS 0273 #define O_BUFF 0274 #define O_WCLCK 0275 #define O_WRHEX2 0276 #define O_GET 0300 #define O_PUT 0301 #define O_MESSAGE 0302 #define O_FNIL 0303 #define O_EOF 0304 #define O_EOLN 0305 #define O_RESET 0306 #define O_REWRITE 0307 #define O_REMOVE 0310 #define O_READ4 0311 #define O_UNIT 0312 #define O_READC 0313 #define O_READ8 0314 #define O_UNITINP 0315 #define O_UNITOUT 0316 #define O_READLN 0317 #define O_WRIT2 0320 #define O_WRIT4 0321 #define O_WRITB 0322 #define O_WRITC 0323 #define O_WRIT8 0324 #define O_WRITG 0325 #define O_WRIT82 0326 #define O_WRITLN 0327 #define O_WROCT2 0330 #define O_FLUSH 0332 #define O_PACK 0333 #define O_UNPACK 0334 #define O_LLIMIT 0335 #define O_ARGC 0336 #define O_ARGV 0337 #define O_CLCK 0340 #define O_SEED 0341 #define O_RANDOM 0342 #define O_DISPOSE 0343 #define O_NEW 0344 #define O_EXPO 0345 #define O_DATE 0346 #define O_TIME 0347 #define O_ATAN 0350 #define O_COS 0351 #define O_EXP 0352 #define O_LN 0353 #define O_SIN 0354 #define O_SQRT 0355 #define O_CHR2 0356 #define O_ODD2 0360 #define O_PRED2 0362 #define O_PRED24 0364 #define O_SUCC2 0365 #define O_DEFNAME 0370 #define O_PAGE 0371 #define O_UNDEF 0372 #define O_SQR2 0373 #define O_ROUND 0376 #define O_TRUNC 0377 opcode.sëä�Œ.data _CON1 _CON2 _CON4 _CON8 _RV _IND _CON badop _RANG2 _RANG42 _RANGS2 _RANGS42 _RANG4 _RANG24 _RANGS4 _RANGS24 badop badop badop badop badop badop badop badop badop badop badop badop badop badop badop badop _CASE1OP _CASE2OP _CASE4OP _PXPBUF _COUNT badop badop badop _ADDT _SUBT _MULT _INCT _CTTOT _CARD _IN _ASRT _FOR1U _FOR2U _FOR4U _FOR1D _FOR2D _FOR4D _STLIM _SCLCK _STOI _STOD _ITOD _ITOS _BUFF _WCLCK _WRHEX2 _WRHEX4 _GET _PUT _MESSAGE _FNIL _EOF _EOLN _RESET _REWRITE _REMOVE _READ4 _UNIT _READC _READ8 _UNITINP _UNITOUT _READLN _WRIT2 _WRIT4 _WRITB _WRITC _WRIT8 _WRITG _WRIT82 _WRITLN _WROCT2 _WROCT4 _FLUSH _PACK _UNPACK _LLIMIT _ARGC _ARGV _CLCK _SEED _RANDOM _DISPOSE _NEW _EXPO _DATE _TIME _ATAN _COS _EXP _LN _SIN _SQRT _CHR2 _CHR4 _ODD2 _ODD4 _PRED2 _PRED4 _PRED24 _SUCC2 _SUCC4 _SUCC24 _DEFNAME _PAGE _UNDEF _SQR2 _SQR4 _SQR8 _ROUND _TRUNC optab: _ABORT _HALT badop _NODUMP _BEG _END _CALL _TRACNT _PUSH _POP _INX4 _SDUP _IF _TRA _LINO _GOTO _REL2 _REL4 _REL24 _REL42 _REL8 _RELG _RELT badop _REL28 _REL48 _REL82 _REL84 _AND _OR _NOT badop _AS2 _AS4 _AS24 _AS42 _AS8 _INX2P2 _INX4P2 _AS _AS21 _AS41 _AS28 _AS48 _OFF _INX2 _NIL _LV _ADD2 _ADD4 _ADD24 _ADD42 _ADD28 _ADD48 _ADD82 _ADD84 _SUB2 _SUB4 _SUB24 _SUB42 _SUB28 _SUB48 _SUB82 _SUB84 _MUL2 _MUL4 _MUL24 _MUL42 _MUL28 _MUL48 _MUL82 _MUL84 _ABS2 _ABS4 _ABS8 badop _ADD8 _SUB8 _MUL8 _DVD8 _DIV2 _DIV4 _DIV24 _DIV42 badop badop badop badop _MOD2 _MOD4 _MOD24 _MOD42 badop badop badop badop _NEG2 _NEG4 _NEG8 badop badop badop badop badop badop badop badop badop badop badop badop badop _DVD2 _DVD4 _DVD24 _DVD42 _DVD28 _DVD48 _DVD82 _DVD84 _RV1 _RV2 _RV4 _RV8 _IND1 _IND2 _IND4 _IND8 .text O_WRITC = 0323 palloc.cëñ¤�<#include "0x.h" #include "E.h" extern char *sbrk(), *brk(); alloc(need) char *need; { register cnt, *wp; register char *have; need = (need+1) &~ 1; if ((have=high-memptr) < need) { if (sbrk(need > have + 1024 ? need-have:1024) == -1) error(EOUTOFMEM); high = sbrk(0); } wp = memptr; cnt = (need >> 1) & 077777; do { *wp++ = 0; } while (--cnt); wp = memptr; memptr =+ need; stklim(); return(wp); } setmem() { high = bottmem = memptr = sbrk(0); stklim(); } free(cptr) char *cptr; { } stklim() { maxstk = ((memptr + 07777) &~ 07777) + 512; } palloc.oàp¤�XºÔw üÿ@€ ÀE5ÂêÿÂíæÿ ƒ€Àe@-ƒNŽàÎß À%ÿÿÎß  ß 7®ÿêÿD„ ÄE€ Øÿwm’ÿ÷ ,Àwˆÿw „ÿ ß 7zÿ7vÿ7rÿ÷ wjÿw fÿwbÿw ^ÿÀZÿÀeÿÀEÿÀe7JÿwFÿ9I9¸Ø¸I999 9¸9)I 9 99Y _argc _argv _bottmem _memptr _high _maxstk _file _display (_dp _lino _nodump _seed _randa _randc _randm _randim _discard _alloc"~alloccsv needcntwphaveL4RL100002L100016_sbrk L5H_error L8`_stklim"žcret _setmem"x~setmemx_free"–~free–cptr~stklimžpcttot.cÞá9¤�…# #include "0x.h" #include "E.h" /* * Constant set constructor (yechh!) */ pcttot(uprbp, lwrb, n, av) { register *set; register l; int *ap, h; ap = &av; set = &ap[2 * n]; while(--n >= 0) { if ((l = *ap++ - lwrb) < 0 || l > uprbp || (h = *ap++ - lwrb) < 0 || h > uprbp) error(ECTTOT); while (l <= h) { set[l >> 4] =| 1 << (l & 017); l++; } } return(set); } apcttot.oà5p¤�°„˜w üÿÆå@Àe 5øÿDu`õ .@øÿ@íõeøÿC- @øÿ@íõeøÿ5öÿ@-Îß C-öÿÝÀtüÿÀ aÁÂÂEðÿBtHPƒ ïw|ÿ9_argc _argv _bottmem _memptr _high _maxstk _file _display (_dp _lino _nodump _seed _randa _randc _randm _randim _discard _pcttot"~pcttotcsv uprbplwrbnav setlapøÿhöÿL4L5~L10000TL7\_error cret pdattim.cëÿ¤�E#include "opcode.h" char pd_date[] { 8, 9, 10, 4, 5, 6, 10, 22, 23, 10, 0 }; pdattim(op, alfap) char *alfap; { register char *ap, *cp, *dp; long a; int i; time(&a); cp = ctime(&a); ap = alfap; if (op == O_DATE) for (dp = pd_date; *dp; *ap++ = cp[*dp++]); else for (cp =+ 10, i = 10; i; *ap++ = *cp++, i--); } pdattim.oàLp¤�¨T Øw üÿÆåNÎeöÿß NÎeöÿß Dõ%æÂTÊ‹€”À`’úÃe õ ôÿÔ”õ ôÿõ ôÿúw¬ÿ   9¸È_pd_date#T_pdattim"~pdattimcsv opalfapapcpdpaöÿiôÿ_time _ctime L4:L5.L3PL20001Dcret perror.cÞá9¤�Ñ#include "0x.h" #include "whoami" #include "opcode.h" #include "E.h" extern int errno; /* * Routine error is called from onemt when a runtime error occurs. * Its argument is the internal number of the error which occurred. * See Edata, Emake etc. */ error(perrno) int perrno; { register int *ap, i; register char *cp; char *sep; int disp[20], *mydp; extern long stcnt; i = errno; pmflush(); pmessage(); errno = i; switch (perrno) { case EINTR: break; case ECHR: puts("Argument to chr out of range\n"); break; case EDIVCHK: puts("Div by zero\n"); break; case EFDIVCHK: puts("Floating divide by zero\n"); break; case EHALT: /* nodump = 0; */ puts("Call to procedure halt\n"); break; case ENILPTR: puts("Reference through a nil pointer\n"); break; case EPASTEOF: ferror("Tried to read past eof"); break; case EREADIT: ferror("Attempt to read, but open for writing"); break; case EWRITEIT: ferror("Attempt to write, but open for reading"); break; case ETOODIGITS: puts("Too many digits in number\n"); break; case ESQRT: puts("Negative argument to sqrt\n"); break; case ESTKNEMP: puts("Panic: stack not empty between statements\n"); break; case ESUBSCR: puts("Subscript out of range\n"); break; case EREFINAF: puts("Reference to an inactive file\n"); break; case EWRITE: case EOPEN: case ECREATE: case EREMOVE: case ESEEK: perror(file); break; case ELN: puts("Negative argument to ln\n"); break; case EBADOP: puts("Panic: bad op code\n"); break; case EBADINUM: puts("Bad data found on integer read\n"); break; case EBADFNUM: puts("Bad data found on real read\n"); break; case EGOTO: puts("Panic: active frame not found in goto\n"); break; case ECASE: puts("Label not found in case\n"); break; case EOUTOFMEM: puts("Ran out of memory\n"); break; case EALLOC: puts("Panic: bad arg to alloc\n"); break; case ECTTOT: puts("Constructed set argument exceeds set bounds\n"); break; case EMODCHK: puts("Mod by zero\n"); break; case ECLOSE: ferror("Close failed?"); break; case EARGV: puts("Argument to argv out of range\n"); break; case EPACK: puts("Bad i to pack(a,i,z)\n"); break; case EUNPACK: puts("Bad i to unpack(z,a,i)\n"); break; case ERANGE: puts("Value out of range\n"); break; case EASRT: puts("Assertion failed\n"); break; case EBIGGIE: ferror("Integer number too large"); break; case ESTLIM: puts("Statement count limit exceeded\n"); break; case ESTKOVFLO: puts("Runtime stack overflow\n"); break; default: puts("Panic: unknown error\n"); } if (nodump == 0) { for (i = 0; i < 20; i++) disp[i] = display[i]; mydp = dp; sep = perrno == EINTR ? "\n\tInterrupted at " : "\n\tError at "; if (lino <= 0) exit(1); for(;;) { puts(sep); sep = "\tCalled by "; pputch('"'); ap = *mydp; ap =+ 3; cp = *ap++; i = 8; do pputch(*cp++); while (--i && *cp != ' '); cp =+ i; puts("\"+"); pwrite(O_WRIT2, 2, lino-cp->pint, 0); puts(" near line "); pwrite(O_WRIT2, 2, lino, 0); pputch('\n'); *mydp = *ap++; if (mydp <= &display[1]) { for (i = 0; i < 20; i++) display[i] = disp[i]; pmflush(); puts("\n"); if (discard) puts("Execution terminated abnormally\n"); stmts(); exit(1); } mydp = *ap++; ap++; lino = *ap++; if (lino <= 0) break; } } exit(1); } stmts() { extern long stcnt; pwrite(O_WRIT4, 2, stcnt, 0); puts(" statement"); if (stcnt != 1) puts("s"); puts(" executed in"); stmttime(); } stmttime() { struct { int utime, stime; long cutime, cstime; } tbuf; long l; times(&tbuf); l = tbuf.utime; pwrite(O_WRIT82, (2 << 3) | 2, l / 60.0 + 0.005, 0, 2); puts(" seconds cpu time\n"); } psexit() { if (nodump == 1) exit(0); pmessage(); if (discard) puts("Execution terminated\n"); stmts(); exit(0); } perror.oàˆp¤‘àdäw üÿÆå,Ãôÿ÷ ðÿ÷ ìÿ÷èÿ@Àå %ƒ_À xÎf_"À×_NÀÀ @aÁÁ pÐÿƒ _2΄cΑ`Ϊ]ÎÂZÎãß WÎúúÎ ÷ÎGLÎbIÎ}FΨCÎÀ@ÎZÿß =Îß8Îø5Î 2Î,/ÎI,Îp)Ή&Μ#ε ÎâÎïÂÎýÎÎ2ÎJÎ^ Îp°Î‰Î©ÎÁß ÷ Öþ_8 Ã%„õÄþÎÿõ%&_8Àé5øÿ÷ ªþÎß Nøÿß õõøÿÎ"ß DÎÿÄeÀ”ß Ã Ê¥ ÷Â`Îß  æZþŽâææÐß ÆeÎß  æ:þææÐß ÆeÎ ß =Îÿõ%Îÿ ‡ ÀÀ ÁÁ AapÐÿƒ Ã%ô÷ øýÎß ÷‹ìýÎß ÷ "Îß 5ÎÿÄe7Êý”Îß w¼ýw ¸ý æ´ýæ®ýææÑß ÆeÎ3ß ÷ ’ý×-ŽýÎ>ß Î@ß ÷ wpýw lýÆåNÎeîÿß uîÿìÿõ êÿÎ& ð5þêÿðùpC7ôœ&øææÖß ÆeÎMß w ýw ý÷%ý ß ÷ ý÷‹ýÎ`ß ÷ <ÿ ß wîü0V\bhnŠ�–œ¢¢¬²¸ÄÊ¢ÖÐ܄⾢è¢îôúx~ &£< ×p=×£Argument to chr out of range Div by zero Floating divide by zero Call to procedure halt Reference through a nil pointer Tried to read past eofAttempt to read, but open for writingAttempt to write, but open for readingToo many digits in number Negative argument to sqrt Panic: stack not empty between statements Subscript out of range Reference to an inactive file Negative argument to ln Panic: bad op code Bad data found on integer read Bad data found on real read Panic: active frame not found in goto Label not found in case Ran out of memory Panic: bad arg to alloc Constructed set argument exceeds set bounds Mod by zero Close failed?Argument to argv out of range Bad i to pack(a,i,z) Bad i to unpack(z,a,i) Value out of range Assertion failed Integer number too largeStatement count limit exceeded Runtime stack overflow Panic: unknown error Interrupted at Error at Called by "+ near line Execution terminated abnormally statements executed in seconds cpu time Execution terminated yù xøixÈ©‰™È((È™hÈ™h(xxùÈ È™éy  hÈ  ÈÈéy¸hÈéy©  Èé_argc _argv _bottmem _memptr _high _maxstk _file _display (_dp _lino _nodump _seed _randa _randc _randm _randim _discard _errno _error"L10001L70L9VL11\L13bL15hL17nL25ŠL27�L29–L31œL37¢L38¬L40²L42¸L46ÄL48ÊL52ÖL50ÐL54ÜL23„L56âL44¾L58èL60îL62ôL64úL66L68L19xL21~L70 L72L74L4&~errorcsv perrnoapicpsepøÿdispÐÿmydpÎÿ_pmflush _pmessag L76L8fL20000"L200068L82×L10003NL20002@L792L10„L12‘L14ªL16ÂL18ãL20007r_ferror L20úL22 L24GL26bL28}L30¨L32À_perror L39ßL41øL43 L45,L47IL49pL51‰L53œL55µL57âL59ïL61ýL63L652L67JL69^L71pL73‰L75©L77Á_puts L788L83éL85`_exit L87õ_pputch L90„L89–L91_pwrite L92L93*L20004ìL97L98L99_stmts"Dcret ~stmtsD_stcnt L1033L10005xL104€L105>L106@_stmttim"�L10007^~stmttim�tbufîÿlêÿ_times L110M_psexit"à~psexitàL114òL115L116`fltused printpxÞá9í�«pr printpx pr READ_ME cd ../man6 ; nroff naa px.6 ; cd ../px ls -ls | pr pr makepx pr asm comp load whoami pr ../opcodes/picture pr 0x.h pr int.c pr [0-9][0-9]*.s pr p*.c 0pwrite.cÞá9¤�G# #include "0x.h" #include "opcode.h" pwrite(opc, subopc, av) { register char *ap, *cp; register i; int w, w1, sign, decpt; char *acp; long along; double adouble; int k2,k3; ap = &av; if (opc == O_WRITLN || opc == O_PAGE) opc = O_WRITC; switch(opc) { case O_WRIT2: along = ap->pint; ap =+ 2; w = 10; break; case O_WRIT4: along = ap->plong; ap =+ 4; w = 10; break; case O_WRITC: acp = ap; ap =+ 2; w = 1; break; case O_WRITB: i = ap->pint; ap =+ 2; w = 10; break; case O_WRITG: w1 = ap->pint; ap =+ 2; acp = ap; ap =+ (w1 + 1) & ~1; w = 0; break; case O_WRIT8: case O_WRIT82: adouble = ap->pdouble; ap =+ 8; w = 22; break; case O_WRHEX2: case O_WROCT2: (&along)->pint = 0; (&along)->p2int = ap->pint; ap =+ 2; w = opc == O_WROCT2 ? 11 : 8; break; case O_WRHEX2+1: /* ugh, cc string table too small */ case O_WROCT2+1: /* ugh, cc string table too small */ along = ap->plong; ap =+ 4;  w = opc == O_WROCT2+1 ? 11 : 8; break; } again: switch(subopc & 07) { case 0: break; case 2: w = ap->pint; ap =+ 2; break; case 4: w = ap->plong; ap =+ 4; break; } if (opc == O_WRIT82 && (i = (subopc >> 3) & 07) != 0) { subopc = i; w1 = w; goto again; } switch(opc) { case O_WROCT2+1: case O_WROCT2: while (w > 11) { pputch(' '); w--; } if (w > 0) wro(along, w); break; case O_WRHEX2: case O_WRHEX2+1: while (w > 8) { pputch(' '); w--; } if (w > 0) wrhex(along, w); break; case O_WRIT2: case O_WRIT4: pwril(w, along); break; case O_WRITC: while (w > 1) { pputch(' '); w--; } pputch(*acp); break; case O_WRITB: if (i) { acp = "true"; w1 = 4; } else { acp = "false"; w1 = 5; } case O_WRITG: cp = acp; while (w > w1) { pputch(' '); w--; } while(w1 > 0) { pputch(*cp++); w1--; } break; case O_WRIT8: if (adouble == 0.0) { do pputch(' '); while (--w > 0); pputch('0'); break; } if (w <= 9) w = 3; else w =- 6; do pputch(' '); while (--w > 17); cp = ecvt(adouble, w+1, &decpt, &sign); pputch(sign ? '-' : ' '); pputch(*cp++); pputch('.'); do pputch(*cp++); while (--w > 0); pputch('e'); if (--decpt >= 0) pputch('+'); else { pputch('-'); decpt = -decpt; } pputch(decpt / 10 + '0'); pputch(decpt % 10 + '0'); break; case O_WRIT82: if (adouble == 0.0) { do pputch(' '); while(--w1 > 1); pputch('0'); break; } if (w < 0) w = 0; cp = fcvt(adouble, w, &decpt, &sign); cp[17] = '\0'; if (decpt > 0) { w1 = w1-w-decpt-2; k2 = decpt; k3 = 0; } else { w1 = w1-w-3; k2 = 0; if (w+decpt >= 0) k3 = -decpt; else k3 = w; w =- k3; } while (w1 > 0) { pputch(' '); w1--; } pputch(sign ? '-' : ' '); if (k2 <= 0) pputch('0'); else do pputch(*cp ? *cp++ : '0'); while (--k2 > 0); pputch('.'); if (k3 <= 0 && w <= 0) { pputch('0'); break; } while(k3 > 0) { pputch('0'); k3--; } while(w > 0) { pputch(*cp ? *cp++ : '0'); w--; } break; } return(ap); } wro(l, w) long l; { register c; c = (&l)->p2int & 07; l =>> 3; (&l)->pint =& 017777; if (w > 1 || l != 0) wro(l, w-1); pputch(c | '0'); } wrhex(l, w) long l; { register c; c = (&l)->p2int & 017; l =>> 4; (&l)->pint =& 07777; if (w > 1 || l != 0) wrhex(l, w-1); pputch(c <= 9 ? c | '0' : 'a' + (c - 10)); } pwrite.oà°p¤‘P† w üÿÆåDÄeõ%×õ%ùõÓ@Àå¾  ‚À x5îÿõ ìÿÄeõ øÿ@ÀEøÿ b‚À xL5ìÿ5îÿÄeë5ðÿÄeõøÿæß5öÿÄe5ðÿ@öÿ€ ÀE`5 øÿÕ õ5øäÿÄeõøÿÌ5 ìÿ5îÿÄeõ%ØÀ 5øÿ½5ìÿ5îÿÄeõ%ÙðÀï5øÿÄe@týÿÀEøÿµuøÿöÿœ5øÿÄeõ%Öé@Àå¾ ‚À xVõ% øÿÎ ß õ øÿõõ øÿ Nøÿfîÿfìÿß R–%w”þõ%øÿÎ ß õ øÿõõ øÿïNøÿfîÿfìÿß ¬åfîÿfìÿføÿ÷ VþÆeÛõ%øÿÎ ß õ øÿõ@Ÿðÿß Ê õŽðÿõöÿõ“ðÿõöÿCðÿÎ ß õ øÿu-öÿøÿöõ öÿ«À”ß õ öÿöñ5÷äÿð Î ß õ øÿùÎ0Èõ% øÿõøÿõåøÿÎ ß õ øÿõ%øÿöNÎeôÿfÎeòÿføÿŽ 5õäÿ&øß Æe õ ôÿÎ-Î ß À”ß Î.ß À”ß õ øÿùÎeß õ òÿÎ+ß Î-ß @òÿ 5òÿAòÿÀ r Àe0ß AòÿÀ r Áe0N_Ìñ5÷äÿð Î ß õ öÿõ%öÿö…õ øÿ5 øÿNÎeôÿfÎeòÿføÿ5õäÿ&øß Æe 3Šõ òÿ@öÿ@íøÿ@íòÿÀeþÿ5öÿuòÿâÿ5 àÿ"@öÿ@íøÿÀeýÿ5öÿ5 âÿ@øÿ@mòÿ@òÿ 5àÿuøÿàÿuíàÿøÿÎ ß õ öÿõ öÿ÷õ ôÿÎ-Î ß õ âÿÎ0ß Ë‹À”Î0ß õ âÿôÎ.ß õ àÿõ øÿ_6õ àÿ Î0ß õ àÿöÎ0ß õ øÿõ øÿ_fË‹óÀ”òw ªûDÄEøÿA@výÿ5uõEàõ%õ Á NÎ ffß R–%ÎU0ß wTûw PûDÄEðÿA@vüÿ5uõEðõ%õ Á NÎ ffß ¬–%Ä% ÎU0ÎeWß wìú²ÐJJJJJJJJJJJJJJJJ8^~n ‚ J²ÐìllffffffffffffffffššÒ°ð f88truefalse¹X‰X¹XXXXXX˜XXXXXXXXX(XXXXXXX¹X‰¹X‰_argc _argv _bottmem _memptr _high _maxstk _file _display (_dp _lino _nodump _seed _randa _randc _randm _randim _discard _pwrite"L10006L15²L17ÐL18JL78L8^L10~L9nL13 L11‚L10008LL19L22ìL23L10020VL34lL25fL38šL42ÒL40°L52L47ðL67 L298~pwritecsv opcsubopcavapcpiwøÿw1öÿsignôÿdecptòÿacpðÿalongìÿadoubleäÿk2âÿk3àÿL10000L4$L20001@L20000DL10001æL20012ÆL10002ÊL20003öL24$L30N_pputch _wro"RL20004dcret L35‚_wrhex"¬_pwril L41ÆL20009ÌL43äL44ŽL46“L48L20006öL50 L53<L56(L200106L57LL61R_ecvt L10010”L10011˜L64¬L65ÒL66äL68,L71L726_fcvt L73€L77ÄL75ªL76°L20008¸L10013ÖL10014ÚL83îL80L10015øL10016üL85L87>L100172L100186~wroRlwcL10021ŠL92ž~wrhex¬lwcL10023äL96øL10025L10026 fltused whoamiÞá9¤�R_ecvt L10010”L10011˜L64August 28, 1977 This directory contains all the source for the interpreter px. The script "makepx" will make a new "px", the script "printpx" will print a copy of all the stuff here. The binaries here can be installed immediately with "install". If you have no floating point use a.outNOFLOAT rather than a.out; do mv a.outNOFLOAT a.out before install In making a px for a system without floating point, the program "flt40" is used to massage the interpreter code to make it run a good deal faster. Bill Joy Computer Science Division EECS Department University of California, Berkeley Berkeley, California 94704 Office: (415) 642-4948 Home: (415) 524-4510 binaries here can be installed immediately with "install". If you have no floating point use a.outNOFLOAT rather than a.out; do mv a.outNOFLOAT a.out before install In making a px for a system without floating point, the program "flt40" is used to massage the interpreter code to make it run a good deal faster. eÿ0.hÞÛ9¤‘`/* #define DEBUG */ #define CHAR #define STATIC /* * pxp - Pascal execution profiler * * Bill Joy * University of California, Berkeley (UCB) * Version 1.0 August 1977 */ /* * Option flags * * The following options are recognized on the command line by pxp. * Only the u, w, and z options here have effect in comments in the * program; the others are command line only, and unrelated * to the options with the same designations in comments. * * a Print all routines in a profile; normally, routines * which have never been executed have their bodies suppressed. * * c Extract profile data from the file core, or the file * named after the last argument rather than the file 'pmon.out'. * Must be used with z to have an effect. * * d Suppress declarations * * f Fully parenthesize expressions. * * j Left justify all procedures and functions rather than * indenting them. * * n Eject a new page in the listing as each 'include' file * is incorporated into the profile. * * p Pretty print a main program without processing * the include statements. * * t Print a table summarizing procedure and function call counts. * * u Card image mode; only the first 72 chars on a line count. * * w Suppress certain warning diagnostics. * * z Generate an execution profile of the program. * May also be followed by a list of procedure and function * names mixed, if desired, with include file names. * Only these procedures and functions, and the contents * of the specified include files will then be profiled. * * [23456789] Use the specified number of spaces for the basic * indenting unit in the program. * * _ Underline keywords in the output. */ char all, core, nodecl, full, justify, pmain, stripcomm, table, underline; char profile; #ifdef DEBUG char fulltrace, errtrace, testtrace, yyunique, typetest; #endif int unit; /* * The flag nojunk means that header lines * of procedures and functions are to be suppressed * when the z option is off. * It is the default when command line z option * control is specified. * * The flag noinclude indicates that include statements are not * to be processed since we are pretty-printing the contents * of a single file. * * The flag bracket indicates that the source code should be * bracketed with lines of the form * program x(output); * and * begin end. * so that an include will pretty print without syntax errors. */ char nojunk, noinclude, bracket; /* * IMPORTANT NOTE * * Many of the following globals are shared by pi and pxp. * For more discussion of these see the available documentation * on the structure of pi. */ /* * Each option has a stack of 17 option values, with opts giving * the current, top value, and optstk the value beneath it. * One refers to option `l' as, e.g., opt('l') in the text for clarity. */ char opts[26]; int optstk[26]; #define opt(c) opts[c-'a'] /* * NOTES ON THE DYNAMIC NATURE OF THE DATA STRUCTURES * * Pxp uses expandable tables for its string table * hash table, and parse tree space. The following * definitions specify the size of the increments * for these items in fundamental units so that * each uses approximately 1024 bytes. */ #define STRINC 1024 /* string space increment */ #define TRINC 512 /* tree space increment */ #define HASHINC 509 /* hash table size in words, each increment */ /* * The initial sizes of the structures. * These should be large enough to profile * an "average" sized program so as to minimize * storage requests. * On a small system or and 11/34 or 11/40 * these numbers can be trimmed to make the * profiler smaller. */ #define ITREE 2000 #define IHASH 509 /* * The following limits on hash and tree tables currently * allow approximately 1200 symbols and 20k words of tree * space. The fundamental limit of 64k total data space * should be exceeded well before these are full. */ #define MAXHASH 4 #define MAXTREE 30 #define MAXDEPTH 150 /* * ERROR RELATED DEFINITIONS */ /* * Exit statuses to pexit * * AOK * ERRS Compilation errors inhibit obj productin * NOSTART Errors before we ever got started * DIED We ran out of memory or some such */ #define AOK 0 #define ERRS 1 #define NOSTART 2 #define DIED 3 char Recovery; /* * The flag eflg is set whenever we have a hard error. * The character in errpfx will precede the next error message. */ int eflg; char errpfx; #define setpfx(x) errpfx = x #define standard() setpfx('s') #define warning() setpfx('w') #define recovered() setpfx('e') #define quit() setpfx('Q') /* * SEMANTIC DEFINITIONS */ #define NIL 0 /* * NOCON and SAWCON are flags in the tree telling whether * a constant set is part of an expression. */ #define NOCON 0 #define SAWCON 1 /* * The variable cbn gives the current block number. * The variable lastbn gives the block number before * it last changed and is used to know that we were * in a nested procedure so that we can print * begin { solve } * when solve has nested procedures or functions in it. */ int cbn, lastbn; /* * The variable line is the current semantic * line and is set in stat.c from the numbers * embedded in statement type tree nodes. */ int line; /* * The size of the display * which defines the maximum nesting * of procedures and functions allowed. */ #define DSPLYSZ 20 /* * Routines which need types * other than "integer" to be * assumed by the compiler. */ double atof(); int *tree(); int *hash(); char *alloc(); long cntof(); long nowcnt(); /* * Funny structures to use * pointers in wild and wooly ways */ struct { char pchar; }; struct { int pint; int pint2; }; struct { long plong; }; struct { double pdouble; }; #define OCT 1 #define HEX 2 /* * MAIN PROGRAM GLOBALS, MISCELLANY */ /* * Variables forming a data base referencing * the command line arguments with the "z" option. */ char **pflist; int pflstc; int pfcnt; char *filename; /* current source file name */ char *lastname; /* last file name printed */ int tvec[2]; /* mod time of the source file */ int ptvec[2]; /* time profiled */ char printed; /* current file has been printed */ char hadsome; /* had some output */ /* * PROFILING AND FORMATTING DEFINITIONS */ /* * The basic counter information recording structure. * This is global only because people outside * the cluster in pmon.c need to know its size. */ struct pxcnt { long ntimes; /* the count this structure is all about */ int counter; /* a unique counter number for us */ int gos; /* global goto count when we hatched */ int printed; /* are we considered to have been printed? */ } pfcnts[DSPLYSZ]; /* * The pieces we divide the output line indents into: * line# PRFN label: STAT 999.---| DECL text */ #define STAT 0 #define DECL 1 #define PRFN 2 /* * Gocnt records the total number of goto's and * cnts records the current counter for generating * COUNT operators. */ int gocnt; int cnts; int fout[259]; int flush(), putchar(); READ_ME L¢¤�˜November 16, 1977 This directory contains the source for pxp. Many of the files here were linked to the same in the directory ../pi. The links were broken by tp. The a.out binary here can be installed install This is all that should be necessary. To make a pxp do makepxp To print a listing do printpxp The variable DEBUG can be defined allowing tracing of the error recovery in the parser. Look at the first line of "0.h" to see if DEBUG is defined. A smaller pxp results if it is not. Non-standard programs required to make a pxp cc Version 7 C compiler, version 6 will not work eyacc Need modified yacc distributed with pxp set time=3 Causes commands taking more than 3 seconds of processor time to be "timed" in a variant shell. You can comment out this line or do cp /dev/null set; chmod 755 set to avoid a "set: Not found" diagnostic. I would like to know of any problems with pxp, or of any local modifications which you find necessary or desirable. Bill Joy Computer Science Division EECS Department University of California, Berkeley Berkeley, California 94704 Office: (415) 642-4948 Home: (415) 524-4510 Version.cè&Ó¤�#char version[] "December 4, 1977"; XREFÞi¤‘À/Perror(file, error) subr.c:99: addlist(vroot, new) yytree.c:67: align(cp) yycomm.c:323: any(cp, ch) subr.c:181: arycod(el) lval.c:49: asgnop(r) stat.c:146: asrtop(s)  stat.c:308: baroff() pmon.c:313: baron() pmon.c:319: brerror(where, what) yyerror.c:93: cPANIC() pmon.c:345: call(p, argv) call.c:16: calloc(num, size) subr.c:108: cerror(a1, a2, a3, a4) error.c:118: charname(ch)  yyprint.c:29: cnttab(s, no) pmon.c:182: commincl(cp, ch) yycomm.c:169: const(cline, cid, cdecl) const.c:34: constbeg(l) const.c:18: constend() const.c:52: copy(to, from, bytes) subr.c:167: copystr(token) tree.c:176: correct(fchar, origin, c, multvec, Ps0, Pv0) yyrecover.c:647: cset(r)  cset.c:16: dashes(c) pp.c:208: defnl(sym, cls, typ, val) nl.c:449: delcost(what) yycosts.c:185: dotted(fp, c) subr.c:20: dumpnl(to, rout) nl.c:311: enter(np) nl.c:550: error(a1, a2, a3, a4) error.c:59: esavestr(cp) string.c:53: field(r, v) rec.c:47: fixlist(vroot) yytree.c:87: fixstlist(vroot) yytree.c:107: flush() pp.c:351: flushcm() yycomm.c:392: forop(r) stat.c:155: funcbody(fp) fdec.c:162: funccod(r) func.c:16: funcend(fp, bundle, binfo) fdec.c:177: funcfwd(fp) fdec.c:143: funchdr(r) fdec.c:18: gconst(r) const.c:69: getchar() yyget.c:30: getcm(cmdelim) yycomm.c:102: getcmline(cmdelim) yycomm.c:176: getcnt() pmon.c:287: getcore(fp) pmon.c:111: getit(fp) pmon.c:50: getline() yyget.c:103: getpmon(fp) pmon.c:64: gettime() subr.c:46: gotoop(s) lab.c:50: graphic(ch) yyput.c:216: gtype(r) type.c:65: hdefnl(sym, cls, typ, val) nl.c:208: header()  main.c:183: identis() yyid.c:187: identis(cp, kind) yyid.c:211: identis(cp, kind) yyid.c:33: ifop(r) stat.c:174: includ() yyget.c:180: indent() pp.c:180: indent1(in) pp.c:217: indentlab() pp.c:248: inithash() hash.c:83: initnl() nl.c:147: initstring() string.c:25: inittree() tree.c:60: inpflist(fp) subr.c:81: inscost(sy, before) yycosts.c:75: label(r, l) lab.c:15: labeled(s) lab.c:63: lineof(l)  yycomm.c:37: linopr() pp.c:236: loccor(ps, ntok) yyrecover.c:715: lvalue(r) lval.c:16: main(argc, argv) main.c:44: myctime(tv) subr.c:58: needtree() yycomm.c:409: newcomm(cp) yycomm.c:144: newlist(new) yytree.c:55: nlcopy(p) nl.c:519: nlfree(p) nl.c:226: nloff(p) nl.c:536: noblank(i) yycomm.c:400: nowcntr() pmon.c:229: nullsem(ch) yyseman.c:32: oneline(margin, cml) yycomm.c:364: opop(c) subr.c:202: opush(c)  subr.c:192: packtree() yycomm.c:440: panic(s) error.c:36: pexit(c) main.c:210: pmnospac() pmon.c:85: pmread() pmon.c:150: ppbra(s) pp.c:82: ppgoin(lv) pp.c:274: ppgoout(lv) pp.c:280: ppid(s)  pp.c:70: ppitem() pp.c:131: ppket(s) pp.c:101: ppkw(s) pp.c:47: pplab(s) pp.c:310: ppnl() pp.c:169: ppnumb(s) pp.c:263: ppop(s) pp.c:254: pppay() pp.c:158: ppsep(s)  pp.c:92: ppsname(fp) fdec.c:228: ppsnl() pp.c:150: ppsnlb() pp.c:142: ppspac() pp.c:119: ppstbl(r, m) stat.c:267: ppstbl1(r, m) stat.c:274: ppstbl2() stat.c:283: ppstdo(r, l) stat.c:290: ppstr(s) pp.c:288: pptab() pp.c:357: ppunspac() pp.c:113: prec(r) rval.c:110: printoff() pp.c:41: printon() pp.c:30: proc(r) proc.c:13: prttab() pmon.c:198: putchar(c)  pp.c:326: putcm() yycomm.c:254: putcml() yycomm.c:222: putcmp() yycomm.c:240: puthedr() main.c:245: putone(cp) yycomm.c:282: quickcomm(t) yycomm.c:160: repcost(what, with) yycosts.c:140: repop(r) stat.c:245: rescnt(pxc) pmon.c:274: rvalue(r, par) rval.c:21: savecnt(pxc) pmon.c:262: savestr(cp) string.c:33: setcnt(l) pmon.c:250: setinfo(ip) yycomm.c:80: setline(ip) yycomm.c:72: setprint() pp.c:17: setuflg()  yylex.c:341: setupvar(var, init) yytree.c:127: shudpcnt() pmon.c:331: skipbl(ocp) yyget.c:266: statement(r) stat.c:35: statlist(r) stat.c:16: strcmp(s1, s2) subr.c:127: strcpy(s1, s2) subr.c:142: strlen(cp) subr.c:157: togopt(c) subr.c:33: tokname(tp) yyprint.c:43: tralloc(howmuch) tree.c:111: trfree() tree.c:148: trystate(Ps0, Pv0, flag, insmult, delmult, repmult) yyrecover.c:516: tyary(r) type.c:177: type(tline, tid, tdecl) type.c:33: typebeg(l)  type.c:17: typeend() type.c:51: tyrang(r) type.c:165: tyrec(r, p0) rec.c:12: tyscal(r) type.c:134: uninclud() yyget.c:285: unprint() pmon.c:301: unyylex(y) yylex.c:28: var(vline, vidl, vtype) var.c:33: varbeg(l)  var.c:17: varend() var.c:60: variant(r) rec.c:84: whilop(r) stat.c:230: withop(s) stat.c:125: xflush() main.c:234: yerror(s, a1, a2, a3, a4, a5) yyerror.c:33: yyEactr(__np__, var) y.tab.c:553: yyPerror(cp, kind) yypanic.c:37: yySsync() yyput.c:116: yyactr(__np__){ y.tab.c:15: yybadref(p, line) yyid.c:101: yybaduse(cp, line, kindmask) yyid.c:77: yycosts() yycosts.c:224: yydocost(c) yycosts.c:239: yyexeof() yyrecover.c:497: yyflush() yyput.c:71: yygetline(efile, seekp, eline, eseqid) yyput.c:132: yyidok(p, kind) yyid.c:121: yyidok1(p, kind) yyid.c:140: yyisvar(p, class) yyid.c:165: yylex() yylex.c:39: yymain() yymain.c:26: yyoutfl(toseqid) yyput.c:80: yyoutline() yyput.c:50: yyparse()  yyparse.c:49: yyprintf(cp, line) yyput.c:205: yyprline(buf, line, file, id) yyput.c:178: yyputfn(cp) yyput.c:265: yyrecover(Ps0, idfail) yyrecover.c:194: yyretrieve() yyput.c:165: yyset() yylex.c:327: yysetfile(file) yyput.c:240: yysync() yyput.c:108: yyunexeof() yyrecover.c:504: call.cÞÙ9¤�Ò# /* * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" /* * Procedure or function call */ call(p, argv) int *argv; { register *al; ppid(p); if (argv != NIL) { ppbra("("); for (;;) { al = argv[1]; if (al[0] == T_WEXP) { rvalue(al[1], NIL); if (al[2] != NIL) { ppsep(": "); rvalue(al[2], NIL);  } if (al[3] == OCT || al[3] == HEX) { ppspac(); ppkw(al[3] == OCT ? "oct" : "hex"); } else if (al[3] != NIL) { ppsep(": "); rvalue(al[3], NIL); } } else rvalue(argv[1], NIL); argv = argv[2]; if (argv == NIL) break; ppsep(", "); } ppket(")"); } } case.cÞÙ9¤�ƒ# /* * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" /* * Case statement */ caseop(r) int *r; { register *cl, *cs, i; struct pxcnt scnt; savecnt(&scnt); ppkw("case"); ppspac(); rvalue(r[2], NIL); ppspac(); ppkw("of"); for (cl = r[3]; cl != NIL;) { cs = cl[1]; if (cs == NIL) continue; baroff(); ppgoin(DECL); setline(cs[1]); ppnl(); indent(); ppbra(NIL); cs = cs[2]; if (cs != NIL) { i = 0; for (;;) { gconst(cs[1]); cs = cs[2]; if (cs == NIL) break; i++; if (i == 7) { ppsep(","); ppitem(); i = 0; } else ppsep(", "); } } else ppid("{case label list}"); ppket(":"); cs = cl[1]; cs = cs[3]; getcnt(); ppgoin(STAT); if (cs != NIL && cs[0] == T_BLOCK) { ppnl(); indent(); baron(); ppstbl1(cs, STAT); baroff(); ppstbl2(); baron(); } else { baron(); statement(cs); } ppgoout(STAT); ppgoout(DECL); cl = cl[2]; if (cl == NIL) break; ppsep(";"); } if (rescnt(&scnt)) getcnt(); ppnl(); indent(); ppkw("end"); } compÞÚ9í�2: loop if $1x = x goto out if $1x = loadx goto out if $1x = noarx exit echo $1: if ! -r ../nofloat goto floatcc cc -c -O -f $1 goto contin : floatcc cc -c -O $1 : contin shift goto loop : out version >Version.c cc -c Version.c ar rv lib *.o rm *.o if $1x != loadx exit echo loading shift load $* echo done const.cÞÙ9¤�ß# /* * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" STATIC int constcnt -1; /* * The const declaration part */ constbeg(l) int l; { line = l; if (nodecl) printoff(); puthedr(); putcm(); ppnl(); indent(); ppkw("const"); ppgoin(DECL); constcnt = 0; } const(cline, cid, cdecl) int cline; char *cid; int *cdecl; { putcm(); setline(cline); ppitem(); ppid(cid); ppsep(" = "); gconst(cdecl); ppsep(";"); constcnt++; setinfo(cline); putcml(); } constend() { if (constcnt == -1) return; if (nodecl) return; if (constcnt == 0) ppid("{const decls}"); ppgoout(DECL); constcnt = -1; } /* * A constant in an expression * or a declaration. */ gconst(r) int *r; { register *cn; cn = r; loop: if (cn == NIL) { ppid("{constant}"); return; } switch (cn[0]) { default: panic("gconst"); case T_PLUSC: ppop("+"); cn = cn[1]; goto loop; case T_MINUSC: ppop("-"); cn = cn[1]; goto loop; case T_ID: ppid(cn[1]); return; case T_CBINT: case T_CINT: case T_CFINT: ppnumb(cn[1]); if (cn[0] == T_CBINT) ppsep("b"); return; case T_CSTRNG: ppstr(cn[1]); return; } } ecset.cÞÙ9¤�õ# /* * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" /* * Constant sets */ cset(r) int *r; { register *e, *el; ppbra("["); el = r[2]; if (el != NIL) for (;;) { e = el[1]; el = el[2]; if (e == NIL) continue; if (e[0] == T_RANG) { rvalue(e[1], NIL); ppsep(".."); rvalue(e[2], NIL); } else rvalue(e, NIL); if (el == NIL) break; ppsep(", "); } ppket("]"); } error.cëJ¤�ù# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" #ifdef PXP extern int yyline; extern char errout; #endif char errpfx 'E'; extern int yyline; /* * Panic is called when impossible * (supposedly, anyways) situations * are encountered. #ifdef PI * Panic messages should be short * as they do not go to the message * file. #endif */ panic(s) char *s; { #ifdef DEBUG printf("Snark (%s) line=%d yyline=%d\n", s, line, yyline); #endif #ifdef PXP Perror( "Snark in pxp", s); #endif #ifdef PI Perror( "Snark in pi", s); #endif pexit(DIED); } extern char *errfile; /* * Error is called for * semantic errors and * prints the error and * a line number. */ error(a1, a2, a3, a4) { #ifdef PI char buf[256]; register int i; #endif #ifdef PXP int ofout; #endif if (errpfx == 'w' && opt('w') != 0) return; #ifdef PXP xflush(); ofout = fout[0]; fout[0] = errout; #endif #ifdef PI Enocascade = 0; geterr(a1, buf); a1 = buf; #endif if (line < 0) line = -line; yySsync(); yysetfile(filename); #ifdef PI if (errpfx == ' ') { printf(" "); for (i = line; i >= 10; i =/ 10) putchar(' '); printf("... "); } else if (Enoline) printf(" %c - ", errpfx); else #endif printf("%c %d - ", errpfx, line); printf(a1, a2, a3, a4); if (errpfx == 'E') #ifdef PI eflg++, cgenflg++; #endif #ifdef PXP eflg++; #endif errpfx = 'E'; #ifdef PI if (Eholdnl) Eholdnl = 0; else #endif putchar('\n'); #ifdef PXP xflush(); fout[0] = ofout; #endif } #ifdef PI cerror(a1, a2, a3, a4) { if (Enocascade) return; setpfx(' '); error(a1, a2, a3, a4); } #endif ierrsèÔÓ¤�rset time=3 cp /lib/libc.a . ar d libc.a putchr.o rm *.o No match rm lib gram conflicts: 18 shift/reduce, 4 reduce/reduce 32.1u 8.1s 1:31 44% 5.2u 7.6s 0:28 45% 37.6u 16.6s 2:07 42% if ! -r ../nofloat goto floatcc cc -c -O -f $1 *.c Version.c: call.c: case.c: const.c: cset.c: error.c: fdec.c: func.c: hash.c: lab.c: lval.c: main.c: nl.c: pmon.c: pp.c: proc.c: rec.c: rval.c: stat.c: string.c: subr.c: tree.c: type.c: var.c: y.tab.c: yycomm.c: yycosts.c: yyerror.c: yyget.c: yyid.c: yylex.c: yymain.c: yypanic.c: yyparse.c: yyprint.c: yyput.c: yyrecover.c: yyseman.c: yytree.c: 173.3u 91.3s 13:55 31% goto contin as -o treen.o treen.s as -o yycopy.o yycopy.s version >Version.c cc -c Version.c ar r lib main.o yymain.o yyparse.o yyrecover.o y.tab.o fdec.o stat.o const.o type.o rval.o lval.o func.o proc.o creating lib ar r lib *.o 0.3u 6.7s 0:32 21% load 4.4u 6.1s 1:39 10% rm *.o fdec.cÞÙ9¤�í # /* * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" /* * Program, procedure or function "header", i.e.: * * function sin: real; */ funchdr(r) int *r; { register **rl, *il; if (inpflist(r[2])) { optstk['z'-'a'] =<< 1; optstk['z'-'a'] =| opts['z'-'a']; opts['z'-'a'] = 1; } cbn++; lastbn = cbn; getcnt(); if (nojunk && !inpflist(r[2])) setprint(); else printon(); if (r[0] == T_PROG && noinclud && bracket) printoff(); if (cbn > 1 && !justify) ppgoin(PRFN); puthedr(); if (noblank(setline(r[1]))) ppnl(); cnttab(r[2], pfcnt++); ppnl(); indent(); switch (r[0]) { case T_PROG: ppkw("program"); break; case T_PDEC: ppkw("procedure"); break; case T_FDEC: ppkw("function"); break; default: panic("funchdr"); } ppspac(); ppid(r[2]); if (r[0] != T_PROG) { rl = r[3]; if (rl != NIL) { ppbra("("); for (;;) { if (rl[1] == NIL) { rl = rl[2]; continue; } switch (rl[1][0]) { case T_PVAR: ppkw("var"); ppspac(); break; case T_PPROC: ppkw("procedure"); ppspac(); break; case T_PFUNC: ppkw("function"); ppspac(); break; } il = rl[1][1]; if (il != NIL)  for (;;) { ppid(il[1]); il = il[2]; if (il == NIL) break; ppsep(", "); } else ppid("{identifier list}"); if (rl[1][0] != T_PPROC) { ppsep(":"); gtype(rl[1][2]); } rl = rl[2]; if (rl == NIL) break; ppsep(";"); ppspac(); } ppket(")"); } if (r[0] == T_FDEC && r[4] != NIL) { ppsep(":"); gtype(r[4]); } ppsep(";"); } else { rl = r[3]; if (rl != NIL) { ppbra("("); for (;;) { ppid(rl[1]); rl = rl[2]; if (rl == NIL) break; ppsep(", "); } ppket(")"); } ppsep(";"); } fhout: setline(r[1]); putcml(); savecnt(&pfcnts[cbn]); setprint(); --cbn; if (cbn && !justify) ppgoout(PRFN); return (r[2]); } /* * Forward declaration i.e. the second line of * * procedure fum(var i: integer); * forward; */ funcfwd(fp) char *fp; { baroff(); ppgoin(DECL); ppnl(); indent(); ppkw("forward"); ppsep(";"); ppgoout(DECL); baron(); return (fp); } /* * The "body" of a procedure, function, or program declaration, * i.e. a non-forward definition encounter. */ funcbody(fp) char *fp; { if (cbn && !justify) ppgoin(PRFN); cbn++; lastbn = cbn; return (fp); } /* * The guts of the procedure, function or program, i.e. * the part between the begin and the end. */ funcend(fp, bundle, binfo) char *fp; int *bundle, *binfo; { int *blk; extern int cntstat; cntstat = 0; blk = bundle[1]; rescnt(&pfcnts[cbn]); setprint(); if (cbn == 1 && noinclud && bracket) printoff(); if (lastbn > cbn) unprint(); if (cbn == 1) puthedr(); if (noblank(setline(bundle[0])) && lastbn > cbn) ppnl(); ppnl(); indent(); ppkw("begin"); setline(bundle[0]); if (putcml() == 0 && lastbn > cbn) ppsname(fp); ppgoin(DECL); statlist(blk); setinfo(bundle[0]); putcmp(); ppgoout(DECL); ppnl(); indent(); ppkw("end"); ppsep(cbn == 1 ? "." : ";"); setinfo(binfo); if (putcml() == 0) ppsname(fp); cbn--; if (cbn && !justify) ppgoout(PRFN); if (inpflist(fp)) { opts['z'-'a'] = optstk['z'-'a'] & 1; optstk['z'-'a'] =>> 1; } if (cbn == 0) { flushcm(); printon(); ppnl(); } } ppsname(fp) char *fp; { if (fp == NIL) return; ppsep(" { "); ppid(fp); ppsep(" }"); } func.cÞÙ9¤�Õ# /* * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" /* * A function call */ funccod(r) int *r; { call(r[1], r[2]); } gramâ!„í�set time=3 verbose eyacc -v pas.y ed - y.tab.c /yyval/s//*&/ /\*yysterm\[]/,$d 1;/yyactr/ka 'a,$s/yypv/yyYpv/g 'aa register int **yyYpv; register int *p, *q; yyYpv = yypv; . 1;/^##/-w y.tab.h /^int yylval 0/d /extern int yychar,/s//extern/ /yyclearin/d /yyerrok/d 1;/^##/d $a yyEactr(__np__, var) int __np__; char *var; { switch(__np__) { default: return (1); . g/case.*@/s/@//\ .m$ g/@/ka\ 'a;?case?,?case?t$\ 'am$\ a\ }\ break; $a } } . 1,$s/@// /int nterms/d /int nnonter/d /int nstate/d /int yyerrval/d w q hash.cëK¤�Ÿ # /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" /* * The definition for the segmented hash tables. */ struct ht { int *ht_low; int *ht_high; int ht_used; } htab[MAXHASH]; /* * This is the array of keywords and their * token values, which are hashed into the table * by inithash. */ struct kwtab yykey[] { "and", YAND, "array", YARRAY, "assert", YASSERT, "begin", YBEGIN, "case", YCASE, "const", YCONST, "div", YDIV, "do", YDO, "downto", YDOWNTO, "else", YELSE, "end", YEND, "file", YFILE, "for", YFOR, "forward", YFORWARD, "function", YFUNCTION, "goto", YGOTO, "if", YIF, "in", YIN, "label", YLABEL, "mod", YMOD, "nil", YNIL, "not", YNOT, "of", YOF, "or", YOR, "packed", YPACKED, "procedure", YPROCEDURE, "program", YPROG, "record", YRECORD, "repeat", YREPEAT, "set", YSET,  "then", YTHEN, "to", YTO, "type", YTYPE, "until", YUNTIL, "var", YVAR, "while", YWHILE, "with", YWITH, "oct", YOCT, /* non-standard Pascal */ "hex", YHEX, /* non-standard Pascal */ 0 }; char *lastkey &yykey[sizeof yykey/sizeof yykey[0]]; /* * Inithash initializes the hash table routines * by allocating the first hash table segment using * an already existing memory slot. */ inithash() { register int *ip; static int hshtab[HASHINC]; htab[0].ht_low = hshtab; htab[0].ht_high = &hshtab[HASHINC]; for (ip = yykey; *ip; ip =+ 2) hash(ip[0], 0)[0] = ip; } /* * Hash looks up the s(ymbol) argument * in the string table, entering it if * it is not found. If save is 0, then * the argument string is already in * a safe place. Otherwise, if hash is * entering the symbol for the first time * it will save the symbol in the string * table using savestr. */ int *hash(s, save) char *s; int save; { register int *h; register i; register char *cp; int *sym; struct ht *htp; int sh; /* * The hash function is a modular hash of * the sum of the characters with the sum * doubled before each successive character * is added. */ cp = s; if (cp == NIL) cp = token; /* default symbol to be hashed */ i = 0; while (*cp) i = i*2 + *cp++; sh = (i&077777) % HASHINC; cp = s; if (cp == NIL) cp = token; /* * There are as many as MAXHASH active * hash tables at any given point in time. * The search starts with the first table * and continues through the active tables  * as necessary. */ for (htp = htab; htp < &htab[MAXHASH]; htp++) { if (htp->ht_low == NIL) { cp = calloc(2, HASHINC); if (cp == -1) { yerror("Ran out of memory (hash)"); pexit(DIED); } htp->ht_low = cp; htp->ht_high = htp->ht_low + HASHINC; cp = s; if (cp == NIL) cp = token; } h = htp->ht_low + sh; /* * quadratic rehash increment * starts at 1 and incremented * by two each rehash. */ i = 1; do { if (*h == 0) { if (htp->ht_used > (HASHINC * 3)/4) break; htp->ht_used++; if (save != 0) { *h = savestr(cp); } else *h = s; return (h); } sym = *h; if (sym < lastkey && sym >= yykey) sym = *sym; if (sym->pchar == *cp && strcmp(sym, cp) == 0) return (h); h =+ i; i =+ 2; if (h >= htp->ht_high) h =- HASHINC; } while (i < HASHINC); } yerror("Ran out of hash tables"); pexit(DIED); } ehow_pxpÞÛ9¤�ITo profile a program do pxp -z name.p after a translation specifying this option to pi and an execution, i.e.: pi -z name.p px or pix -z name.p To use pxp to reformat a program you can use the command: pxp name.p >newname.p The complete format for using pxp is pxp [ -acdefjntuw_ ] [ -23456789 ] [ -z [ name ... ] ] name.p SinstallÞÛ9í�Lsh load -i cp a.out /usr/bin/pxp cp how_pxp /usr/lib echo New pxp installed lab.cÞÙ9¤�Þ# /* * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" /* * Label declaration part */ label(r, l) int *r, l; { register *ll; if (nodecl) printoff(); puthedr(); setline(l); ppnl(); indent(); ppkw("label"); ppgoin(DECL); ppnl(); indent(); ppbra(NIL); ll = r; if (ll != NIL) for (;;) { pplab(ll[1]); ll = ll[2]; if (ll == NIL) break; ppsep(", "); } else ppid("{label list}"); ppket(";"); putcml(); ppgoout(DECL); } /* * Goto statement */ gotoop(s) char *s; { gocnt++; ppkw("goto"); ppspac(); pplab(s); } /* * A label on a statement */ labeled(s) char *s; { linopr(); indentlab(); pplab(s); ppsep(":"); } loadë¨í�³if -r ../nofloat goto nofloatload ld -X -i /lib/crt0.o lib ../opcodes/TRdata.o libc.a -l exit : nofloatload ld -X -i /lib/fcrt0.o lib ../opcodes/TRdata.o ../fpterp/fp.o libc.a -l )lval.cÞÚ9¤�!# /* * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" /* * A "variable" */ lvalue(r) int *r; { register *c, *co; ppid(r[2]); for (c = r[3]; c != NIL; c = c[2]) { co = c[1]; if (co == NIL) continue; switch (co[0]) { case T_PTR: ppop("^"); continue; case T_ARY: arycod(co[1]); continue; case T_FIELD: ppop("."); ppid(co[1]); continue; case T_ARGL: ppid("{unexpected argument list}"); break; default: panic("lval2"); } } } /* * Subscripting */ arycod(el) int *el; { ppbra("["); if (el != NIL) for (;;) { rvalue(el[1], NIL); el = el[2]; if (el == NIL) break; ppsep(", "); } else rvalue(NIL, NIL); ppket("]"); } main.cÞÛ9¤‘·# /* * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" /* * This program is described in detail in the "PXP 1.0 Implementation Notes" * * The structure of pxp is very similar to that of the compiler pc. * The major new pieces here are a set of profile data maintenance * routines in the file pmon.c and a set of pretty printing utility * routines in the file pp.c. * The semantic routines of pc have been rewritten to do a simple * reformatting tree walk, the parsing and scanning remains * the same. * * This version does not reformat comments, rather discards them. * It also does not place more than one statement per line and * is not very intelligent about folding long lines, with only * an ad hoc way of folding case label list and enumerated type * declarations being implemented. */ char usagestr[] "pxp [ -acdefjntuw_ ] [ -23456789 ] [ -z [ name ... ] ] name.p"; char *howfile "/usr/lib/how_pxp"; int unit 4; extern int ibuf[259]; extern char errout; /* * Main program for pxp. * Process options, then call yymain * to do all the real work. */ main(argc, argv) int argc; char *argv[]; { register char *cp; register c; if (argv[0][0] == 'a') howfile =+ 9; argc--, argv++; if (argc == 0) { execl("/bin/cat", "cat", howfile, 0); goto usage; } while (argc > 0) { cp = argv[0]; if (*cp++ != '-') break; while (c = *cp++) switch (c) { #ifdef DEBUG case 'T': typetest++; continue; case 'A': testtrace++; case 'F': fulltrace++; case 'E': errtrace++; continue; case 'C': yycosts(); pexit(NOSTART); case 'U': yyunique++; continue; #endif case 'a': all++; continue; case 'c': core++; continue; case 'd': nodecl++; continue; case 'e': noinclude = -1; continue; case 'f': full++; continue; case 'j': justify++; continue; case 'l': case 'n': togopt(c); continue; case 's': stripcomm++; continue; case 't': table++; continue; case 'u': case 'w': togopt(c); continue; case 'z': profile++; pflist = argv + 1; pflstc = 0; while (argc > 1) { if (dotted(argv[1], 'p')) break; pflstc++, argc--, argv++; } if (pflstc == 0) togopt(c); else nojunk++; continue; case '_': underline++; continue; default: if (c >= '2' && c <= '9') { unit = c - '0'; continue; } usage: Perror("Usage", usagestr); exit(1); } argc--, argv++; } if (core && !profile && !table) profile++; if (argc == 0 || argc > 2) goto usage; if (profile || table) { noinclude = 0; if (argc == 2) { argc--; getit(argv[1]); } else getit(core ? "core" : "pmon.out"); } else noinclude++; if (argc != 1) goto usage; filename = argv[0]; if (dotted(filename, 'i')) { if (profile || table) goto usage; noinclude = 1; bracket++; } else if (!dotted(filename, 'p')) { Perror(filename, "Name must end in '.p'"); exit(1); } if (fopen(filename, ibuf) < 0) perror(filename), pexit(NOSTART); fout[0] = dup(1); if (profile || opt('l')) { opt('n')++; yysetfile(filename); opt('n')--; } else lastname = filename; errout = dup(2); yymain(); /* No return */ } /* * Put a header on a top of a page */ header() { extern char version[]; static char reenter; extern int outcol; gettime(); if (reenter) { if (outcol) putchar('\n'); putchar('\f'); } reenter++; if (profile || table) { printf("UNIX Pascal PXP -- Version 1.0 (%s)\n\n%s %s\n\n", version, myctime(tvec), filename); printf("Profiled %s\n\n", myctime(ptvec)); } } char ugh[] "Fatal error in pxp\n"; /* * Exit from the Pascal system. * We throw in an ungraceful termination * message if c > 1 indicating a severe * error such as running out of memory * or an internal inconsistency. */ pexit(c) int c; { register char *cp; extern int outcol; if (outcol) putchar('\n'); flush(); if (c == DIED) write(2, ugh, sizeof ugh); exit(c); } extern int errno; /* * Pxp uses a modified putchar * which calls xflush to flush its buffer * rather than the normal fflush. * This allows us to check for write errors * on standard output which we really care * about, because we may be creating a new * source program. */ xflush() { errno = 0; flush(); if (errno) { perror("Standard output"); exit(DIED); } } puthedr() { yysetfile(filename); } imakepxpë¨í�€set time=3 cp /lib/libc.a . ar d libc.a putchr.o rm *.o rm lib gram if ! -r ../nofloat goto floatcc cc -c -O -f $1 *.c goto contin : floatcc cc -c -O $1 *.c : contin as -o treen.o treen.s as -o yycopy.o yycopy.s version >Version.c cc -c Version.c ar r lib main.o yymain.o yyparse.o yyrecover.o y.tab.o fdec.o stat.o const.o type.o rval.o lval.o func.o proc.o ar r lib *.o load rm *.o nl.cëK¤‘Õ&# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "opcode.h" #ifdef PI /* * Array of information about pre-defined, block 0 symbols. */ int *biltins[] { /* * Types */ "boolean", "char", "integer", "real", "_nil", /* dummy name */ 0, /* * Ranges */ TINT, 0177777, 0177600, 0, 0177, TINT, 0177777, 0100000, 0, 077777, TINT, 0100000, 0, 077777, 0177777, TCHAR, 0, 0, 0, 127, TBOOL, 0, 0, 0, 1, TDOUBLE, 0, 0, 0, 0, /* fake for reals */ 0, /* * Built-in composite types */ "Boolean", "intset", "alfa", "text", "input", "output", /* * Built-in constants */ "true", TBOOL, 1, 0, "false", TBOOL, 0, 0, "minint", T4INT, 0100000, 0, "maxint", T4INT, 077777, 0177777, "minchar", T1CHAR, 0, 0, "maxchar", T1CHAR, 0177, 0, "bell", T1CHAR, 07, 0, "tab", T1CHAR, 011, 0, 0, /* * Built-in functions */ "abs", O_ABS2, "arctan", O_ATAN, "card", O_CARD|NSTAND, "chr", O_CHR2, "clock", O_CLCK|NSTAND, "cos", O_COS, "eof", O_EOF, "eoln", O_EOLN, "eos", 0, "exp", O_EXP, "expo", O_EXPO|NSTAND, "ln", O_LN, "odd", O_ODD2, "ord", O_ORD2, "pred", O_PRED2, "round", O_ROUND, "sin", O_SIN, "sqr", O_SQR2, "sqrt", O_SQRT, "succ", O_SUCC2, "trunc", O_TRUNC, "undefined", O_UNDEF|NSTAND, /* * UNIX extensions */ "argc", O_ARGC|NSTAND, "random", O_RANDOM|NSTAND, "seed", O_SEED|NSTAND, "wallclock", O_WCLCK|NSTAND, "sysclock", O_SCLCK|NSTAND, 0, /* * Built-in procedures */ "date", O_DATE|NSTAND, "flush", O_FLUSH|NSTAND, "get", O_GET, "getseg", 0, "halt", O_HALT|NSTAND, "linelimit", O_LLIMIT|NSTAND, "message", O_MESSAGE|NSTAND, "new", O_NEW, "pack", O_PACK, "page", O_PAGE, "put", O_PUT, "putseg", 0, "read", O_READ4, "readln", O_READLN, "remove", O_REMOVE|NSTAND, "reset", O_RESET, "rewrite", O_REWRITE, "time", O_TIME|NSTAND, "unpack", O_UNPACK, "write", O_WRIT2, "writeln", O_WRITLN, /* * UNIX extensions */ "argv", O_ARGV|NSTAND, "null", O_NULL|NSTAND, "stlimit", O_STLIM|NSTAND, 0, }; /* * NAMELIST SEGMENT DEFINITIONS */ struct nls { struct nl *nls_low; struct nl *nls_high; } ntab[MAXNL], *nlact; struct nl nl[INL]; struct nl *nlp nl; struct nls *nlact ntab; /* * Initnl initializes the first namelist segment and then * uses the array biltins to initialize the name list for * block 0. */ initnl() { register int *q; register struct nl *p; register int i; ntab[0].nls_low = nl; ntab[0].nls_high = &nl[INL]; defnl(0, 0, 0, 0); /* * Fundamental types */ for (q = biltins; *q != 0; q++) hdefnl(*q, TYPE, nlp, 0); q++; /* * Ranges */ while (*q) { p = defnl(0, RANGE, nl+*q, 0); nl[*q++].type = p; for (i = 0; i < 4; i++) p->value[i] = *q++; } q++; /* * Pre-defined composite types */ hdefnl(*q++, TYPE, nl+T1BOOL, 0); enter(defnl((intset = *q++), TYPE, nlp+1, 0)); defnl(0, SET, nlp+1, 0); defnl(0, RANGE, nl+TINT, 0)->value[3] = 127; p= defnl(0, RANGE, nl+TINT, 0); p->value[1] = 1; p->value[3] = 10; defnl(0, ARRAY, nl+T1CHAR, 1)->chain = p; hdefnl(*q++, TYPE, nlp-1, 0); /* "alfa" */ hdefnl(*q++, TYPE, nlp+1, 0); /* "text" */ p= defnl(0, FILE, nl+T1CHAR, 0); p->nl_flags =| NFILES; input = hdefnl(*q++, VAR, p, -2); /* "input" */ output = hdefnl(*q++, VAR, p, -4); /* "output" */ /* * Pre-defined constants */ for (; *q; q =+ 4) hdefnl(q[0], CONST, nl+q[1], q[2])->value[1] = q[3]; /* * Built-in procedures and functions */ for (q++; *q; q =+ 2) hdefnl(q[0], FUNC, 0, q[1]); for (q++; *q; q =+ 2) hdefnl(q[0], PROC, 0, q[1]); } hdefnl(sym, cls, typ, val) { register struct nl *p; if (sym) hash(sym, 0); p = defnl(sym, cls, typ, val); if (sym) enter(p); return (p); } /* * Free up the name list segments * at the end of a statement/proc/func * All segments are freed down to the one in which * p points. */ nlfree(p) struct nl *p; { nlp = p; while (nlact->nls_low > nlp || nlact->nls_high < nlp) { free(nlact->nls_low); nlact->nls_low = NIL; nlact->nls_high = NIL; --nlact; if (nlact < &ntab[0]) panic("nlfree"); } } #endif char VARIABLE[] "variable"; char *classes[] { "undefined", "constant", "type", VARIABLE, "array", "pointer or file", "record", "field", "procedure", "function", VARIABLE, VARIABLE, "pointer", "file", "set", "subrange", "label", "withptr", "scalar", "string", "program", "improper", #ifdef DEBUG "variant", #endif }; char snark[] "SNARK"; #ifdef PI #ifdef DEBUG char *ctext[] { "BADUSE", "CONST", "TYPE", "VAR", "ARRAY", "PTRFILE", "RECORD", "FIELD", "PROC", "FUNC", "FVAR", "REF", "PTR", "FILE", "SET", "RANGE", "LABEL", "WITHPTR", "SCAL", "STR", "PROG", "IMPROPER", "VARNT" }; char *stars "\t***"; /* * Dump the namelist from the * current nlp down to 'to'. * All the namelist is dumped if * to is NIL. */ dumpnl(to, rout) struct nl *to; { register struct nl *p; register int j; struct nls *nlsp; int i, v, head; if (opt('y') == 0) return; if (to != NIL) printf("\n\"%s\" Block=%d\n", rout, cbn); nlsp = nlact; head = NIL; for (p = nlp; p != to;) { if (p == nlsp->nls_low) { if (nlsp == &ntab[0]) break; nlsp--; p = nlsp->nls_high; } p--; if (head == NIL) { printf("\tName\tClass Bn+Flags\tType\tVal\tChn\n"); head++; } printf("%3d:", nloff(p)); if (p->symbol) printf("\t%.7s", p->symbol); else printf(stars); if (p->class) printf("\t%s", ctext[p->class]); else printf(stars); if (p->nl_flags) { putchar('\t');  if (p->nl_flags & 037) printf("%d ", p->nl_flags & 037); if (p->nl_flags & NMOD) putchar('M'); if (p->nl_flags & NUSED) putchar('U'); if (p->nl_flags & NFILES) putchar('F'); } else printf(stars); if (p->type) printf("\t[%d]", nloff(p->type)); else printf(stars); v = p->value[0]; switch (p->class) { case TYPE: break; case VARNT: goto con; case CONST: switch (nloff(p->type)) { default: printf("\t%d", v); break; case TDOUBLE: printf("\t%f", p->real); break; case TINT: con: printf("\t%ld", p->range[0]); break; case TSTR: printf("\t'%s'", v); break; } break; case VAR: case REF: case WITHPTR: printf("\t%d,%d", cbn, v); break; case SCAL: case RANGE: printf("\t%ld..%ld", p->range[0], p->range[1]); break; case RECORD: printf("\t%d(%d)", v, p->value[NL_FLDSZ]); break; case FIELD: printf("\t%d", v); break; case STR: printf("\t\"%s\"", p->value[1]); goto casedef; case FVAR: case FUNC: case PROC: case PROG: if (cbn == 0) { printf("\t<%o>", p->value[0] & 0377); if (p->value[0] & NSTAND) printf("\tNSTAND"); break; } v = p->value[1]; default: casedef: if (v) printf("\t<%d>", v); else printf(stars); } if (p->chain) printf("\t[%d]", nloff(p->chain)); switch (p->class) { case RECORD: if (p->value[NL_VARNT]) printf("\tVARNT=[%d]", nloff(p->value[NL_VARNT])); if (p->value[NL_TAG]) printf(" TAG=[%d]", nloff(p->value[NL_TAG])); break; case VARNT: printf("\tVTOREC=[%d]", nloff(p->value[NL_VTOREC])); break; } putchar('\n'); } if (head == 0) printf("\tNo entries\n"); } #endif /* * Define a new name list entry * with initial symbol, class, type * and value[0] as given. A new name * list segment is allocated to hold * the next name list slot if necessary. */ defnl(sym, cls, typ, val) char *sym; int cls; struct nl *typ; int val; { register struct nl *p; register int *q, i; char *cp; p = nlp; /* * Zero out this entry */ q = p; i = (sizeof *p)/2; do *q++ = 0; while (--i); /* * Insert the values */ p->symbol = sym; p->class = cls; p->type = typ; p->nl_block = cbn; p->value[0] = val; /* * Insure that the next namelist * entry actually exists. This is * really not needed here, it would * suffice to do it at entry if we * need the slot. It is done this * way because, historically, nlp * always pointed at the next namelist * slot. */ nlp++; if (nlp >= nlact->nls_high) { i = NLINC; cp = alloc(NLINC * sizeof *nlp); if (cp == -1) { i = NLINC / 2; cp = alloc((NLINC / 2) * sizeof *nlp); } if (cp == -1) { error("Ran out of memory (defnl)"); pexit(DIED); } nlact++; if (nlact >= &ntab[MAXNL]) { error("Ran out of name list tables"); pexit(DIED); } nlp = cp; nlact->nls_low = nlp; nlact->nls_high = nlact->nls_low + i; } return (p); }  /* * Make a duplicate of the argument * namelist entry for, e.g., type * declarations of the form 'type a = b' * and array indicies. */ nlcopy(p) struct nl *p; { register int *p1, *p2, i; p1 = p; p = p2 = defnl(0, 0, 0, 0); i = (sizeof *p)/2; do *p2++ = *p1++; while (--i); return (p); } /* * Compute a namelist offset */ nloff(p) struct nl *p; { return (p - nl); } /* * Enter a symbol into the block * symbol table. Symbols are hashed * 64 ways based on low 6 bits of the * character pointer into the string * table. */ enter(np) struct nl *np; { register struct nl *rp, *hp; register struct nl *p; int i; rp = np; if (rp == NIL) return (NIL); if (cbn > 0) if (rp->symbol == input->symbol || rp->symbol == output->symbol) error("Pre-defined files input and output must not be redefined"); i = rp->symbol; i =& 077; hp = disptab[i]; if (rp->class != BADUSE && rp->class != FIELD) for (p = hp; p != NIL && (p->nl_block & 037) == cbn; p = p->nl_next) if (p->symbol == rp->symbol && p->class != BADUSE && p->class != FIELD) { error("%s is already defined in this block", rp->symbol); break; } rp->nl_next = hp; disptab[i] = rp; return (rp); } #endif opcode.hÞÛ9¤�pas.yè:Ϥ‘P' YIN %left '+' '-' YOR '|' %left UNARYSIGN %left '*' '/' YDIV YMOD YAND '&' %left YNOT  %{ /* * GLOBALS FOR ACTIONS */ /* * The following line marks the end of the yacc * Constant definitions which are removed from * y.tab.c and placed in the file y.tab.h. */ ## #include "whoami" #include "0.h" #include "yy.h" #include "tree.h" #ifdef PI #define lineof(l) l #endif %} %% /* * PRODUCTIONS */ goal: prog_hedr decls procs block '.' = funcend($1, $4, lineof($5)); ; prog_hedr: YPROG YID '(' id_list ')' ';' = $$ = funcbody(funchdr(tree5(T_PROG, lineof($1), $2, fixlist($4), NIL))); | YPROG error = { yyPerror("Malformed program statement", PPROG); /* * Should make a program statement * with "input" and "output" here. */ $$ = funcbody(funchdr(tree5(T_PROG, lineof($1), NIL, NIL, NIL))); } ; block: YBEGIN stat_list YEND = { $$ = tree2(lineof($1), fixstlist($2)); if ($3.pint < 0) brerror($1, "begin"); } ; /* * DECLARATION PART */ decls: decls decl = trfree(); | decls error = { Derror: constend(), typeend(), varend(), trfree(); yyPerror("Malformed declaration", PDECL); } | /* lambda */ = trfree(); ; decl: labels | const_decl = constend(); | type_decl = typeend(); | var_decl = varend(); ; /* * LABEL PART */ labels: YLABEL label_decl ';' = label(fixlist($2), lineof($1)); ; label_decl: YINT = $$ = newlist($1 == NIL ? NIL : *hash($1, 1)); | label_decl ',' YINT = $$ = addlist($1, $3 == NIL ? NIL : *hash($3, 1)); ; /* * CONST PART */ const_decl: YCONST YID '=' const ';' = constbeg($1), const(lineof($3), $2, $4); | const_decl YID '=' const ';' = const(lineof($3), $2, $4); | YCONST error = { constbeg(); Cerror: yyPerror("Malformed const declaration", PDECL); } | const_decl error = goto Cerror; ; /* * TYPE PART */ type_decl: YTYPE YID '=' type ';' = typebeg($1), type(lineof($3), $2, $4); | type_decl YID '=' type ';' = type(lineof($3), $2, $4); | YTYPE error = { typebeg(); Terror: yyPerror("Malformed type declaration", PDECL); } | type_decl error = goto Terror; ; /* * VAR PART */ var_decl: YVAR id_list ':' type ';' = varbeg($1), var(lineof($3), fixlist($2), $4); | var_decl id_list ':' type ';' = var(lineof($3), fixlist($2), $4); | YVAR error = { varbeg(); Verror: yyPerror("Malformed var declaration", PDECL); } | var_decl error = goto Verror; ; /* * PROCEDURE AND FUNCTION DECLARATION PART */ procs: /* lambda */ | procs proc = trfree(); ; proc: phead YFORWARD ';'  = funcfwd($1); | pheadres decls procs block ';' = funcend($1, $4, lineof($5)); ; pheadres: phead = funcbody($1); ; phead: porf YID params ftype ';' = $$ = funchdr(tree5($1, lineof($5), $2, $3, $4)); ; porf: YPROCEDURE = $$ = T_PDEC; | YFUNCTION = $$ = T_FDEC; ; params: '(' param_list ')' = $$ = fixlist($2); | /* lambda */ = $$ = NIL; ; /* * PARAMETERS */ param: id_list ':' type = $$ = tree3(T_PVAL, fixlist($1), $3); | YVAR id_list ':' type = $$ = tree3(T_PVAR, fixlist($2), $4); | YFUNCTION id_list ':' type = $$ = tree3(T_PFUNC, fixlist($2), $4); | YPROCEDURE id_list = $$ = tree2(T_PPROC, fixlist($2)); ; ftype: ':' type = $$ = $2; | /* lambda */ = $$ = NIL; ; param_list: param = $$ = newlist($1); | param_list ';' param = $$ = addlist($1, $3); ; /* * CONSTANTS */ const: YSTRING = $$ = tree2(T_CSTRNG, $1); | number | '+' number = $$ = tree2(T_PLUSC, $2); | '-' number = $$ = tree2(T_MINUSC, $2); ; number: const_id = $$ = tree2(T_ID, $1); | YINT = $$ = tree2(T_CINT, $1); | YBINT = $$ = tree2(T_CBINT, $1); | YNUMB = $$ = tree2(T_CFINT, $1); ; const_list: const = $$ = newlist($1); | const_list ',' const = $$ = addlist($1, $3); ; /* * TYPES */ type: simple_type | '^' YID = $$ = tree3(T_TYPTR, lineof($1), tree2(T_ID, $2)); | struct_type | YPACKED struct_type = $$ = tree3(T_TYPACK, lineof($1), $2); ; simple_type: type_id | '(' id_list ')' = $$ = tree3(T_TYSCAL, lineof($1), fixlist($2)); | const YDOTDOT const = $$ = tree4(T_TYRANG, lineof($2), $1, $3); ; struct_type: YARRAY '[' simple_type_list ']' YOF type = $$ = tree4(T_TYARY, lineof($1), fixlist($3), $6); | YFILE YOF type = $$ = tree3(T_TYFILE, lineof($1), $3); | YSET YOF simple_type = $$ = tree3(T_TYSET, lineof($1), $3); | YRECORD field_list YEND = { $$ = tree3(T_TYREC, lineof($1), $2); if ($3.pint < 0) brerror($1, "record"); } ; simple_type_list: simple_type = $$ = newlist($1); | simple_type_list ',' simple_type = $$ = addlist($1, $3); ; /* * RECORD TYPE */ field_list: fixed_part variant_part = $$ = tree4(T_LISTPP, lineof(NIL), fixlist($1), $2); ; fixed_part: field = $$ = newlist($1); | fixed_part ';' field = $$ = addlist($1, $3); | fixed_part error = yyPerror("Malformed record declaration", PDECL); ; field: /* lambda */ = $$ = NIL; | id_list ':' type = $$ = tree4(T_FIELD, lineof($2), fixlist($1), $3); ; variant_part: /* lambda */ = $$ = NIL; | YCASE type_id YOF variant_list = $$ = tree5(T_TYVARPT, lineof($1), NIL, $2, fixlist($4)); | YCASE YID ':' type_id YOF variant_list = $$ = tree5(T_TYVARPT, lineof($1), $2, $4, fixlist($6)); ; variant_list: variant = $$ = newlist($1); | variant_list ';' variant = $$ = addlist($1, $3); | variant_list error = yyPerror("Malformed record declaration", PDECL); ; variant: /* lambda */ = $$ = NIL; | const_list ':' '(' field_list ')' = $$ = tree5(T_TYVARNT, lineof($2), fixlist($1), $4); | const_list ':' '(' ')' = $$ = tree5(T_TYVARNT, lineof($2), fixlist($1), NIL); ; /* * STATEMENT LIST */ stat_list: stat = $$ = newlist($1); | stat_lsth stat = { if ((p = $1) != NIL && (q = p[1])[0] == T_IFX) { q[0] = T_IFEL; q[4] = $2; } else $$ = addlist($1, $2); } ; stat_lsth: stat_list ';' = if ((q = $1) != NIL && (p = q[1]) != NIL && p[0] == T_IF) { if (yychar < 0) yychar = yylex(); if (yyshifts >= 2 && yychar == YELSE) { recovered(); copy(&Y, &OY, sizeof Y); yerror("Deleted ';' before keyword else"); yychar = yylex(); p[0] = T_IFX; } } ; /* * CASE STATEMENT LIST */ cstat_list: cstat = $$ = newlist($1); | cstat_list ';' cstat = $$ = addlist($1, $3); | error = { $$ = NIL; Kerror: yyPerror("Malformed statement in case", PSTAT); } | cstat_list error = goto Kerror; ; cstat: const_list ':' stat = $$ = tree4(T_CSTAT, lineof($2), fixlist($1), $3); | YCASELAB stat = $$ = tree4(T_CSTAT, lineof($1), NIL, $2); | /* lambda */ = $$ = NIL; ; /* * STATEMENT */ stat: /* lambda */ = $$ = NIL; | YINT ':' stat = $$ = tree4(T_LABEL, lineof($2), $1 == NIL ? NIL : *hash($1, 1), $3); | proc_id = $$ = tree4(T_PCALL, lineof(yyline), $1, NIL); | proc_id '(' wexpr_list ')' = $$ = tree4(T_PCALL, lineof($2), $1, fixlist($3)); | YID error = goto NSerror; | assign | YBEGIN stat_list YEND = { $$ = tree3(T_BLOCK, lineof($1), fixstlist($2)); if ($3.pint < 0) brerror($1, "begin"); } | YCASE expr YOF cstat_list YEND = { $$ = tree4(T_CASE, lineof($1), $2, fixlist($4)); if ($5.pint < 0) brerror($1, "case"); } | YWITH var_list YDO stat = $$ = tree4(T_WITH, lineof($1), fixlist($2), $4); | YWHILE expr YDO stat = $$ = tree4(T_WHILE, lineof($1), $2, $4); | YREPEAT stat_list YUNTIL expr = $$ = tree4(T_REPEAT, lineof($3), fixstlist($2), $4); | YFOR assign YTO expr YDO stat = $$ = tree5(T_FORU, lineof($1), $2, $4, $6); | YFOR assign YDOWNTO expr YDO stat = $$ = tree5(T_FORD, lineof($1), $2, $4, $6); | YGOTO YINT = $$ = tree3(T_GOTO, lineof($1), *hash($2, 1)); | YIF expr YTHEN stat = $$ = tree5(T_IF, lineof($1), $2, $4, NIL); | YIF expr YTHEN stat YELSE stat = $$ = tree5(T_IFEL, lineof($1), $2, $4, $6); | YIF expr YTHEN stat YELSE = $$ = tree5(T_IFEL, lineof($1), $2, $4, NIL); | YASSERT expr = $$ = tree3(T_ASRT, lineof($1), $2); | error = { NSerror: $$ = NIL; Serror:  yyPerror("Malformed statement", PSTAT); } ; assign: variable ':' '=' expr = $$ = tree4(T_ASGN, lineof($2), $1, $4); ; /* * EXPRESSION */ expr: error = { NEerror: $$ = NIL; Eerror: yyPerror("Missing/malformed expression", PEXPR); } | expr relop expr %prec '<' = $$ = tree4($2, $1[1] == SAWCON ? $3[1] : $1[1], $1, $3); | '+' expr %prec UNARYSIGN = $$ = tree3(T_PLUS, $2[1], $2); | '-' expr %prec UNARYSIGN = $$ = tree3(T_MINUS, $2[1], $2); | expr addop expr  %prec '+' = $$ = tree4($2, $1[1] == SAWCON ? $3[1] : $1[1], $1, $3); | expr divop expr %prec '*' = $$ = tree4($2, $1[1] == SAWCON ? $3[1] : $1[1], $1, $3); | YNIL = $$ = tree2(T_NIL, NOCON); | YSTRING = $$ = tree3(T_STRNG, SAWCON, $1); | YINT = $$ = tree3(T_INT, NOCON, $1); | YBINT = $$ = tree3(T_BINT, NOCON, $1); | YNUMB = $$ = tree3(T_FINT, NOCON, $1); | variable | YID error = goto NEerror; | func_id '(' wexpr_list ')' = $$ = tree3(T_FCALL, $1, fixlist($3)); | '(' expr ')' = $$ = $2; | YNOT expr = $$ = tree3(T_NOT, NOCON, $2); | '[' element_list ']' = $$ = tree3(T_CSET, SAWCON, fixlist($2)); | '[' ']' = $$ = tree3(T_CSET, SAWCON, NIL); ; element_list: element = $$ = newlist($1); | element_list ',' element = $$ = addlist($1, $3); ; element: expr | expr YDOTDOT expr = $$ = tree3(T_RANG, $1, $3); ; /* * QUALIFIED VARIABLES */ variable: YID = { @ return (identis(var, VAR)); $$ = setupvar($1, NIL); } | qual_var = $1[3] = fixlist($1[3]); ; qual_var: array_id '[' expr_list ']' = $$ = setupvar($1, tree2(T_ARY, fixlist($3))); | qual_var '[' expr_list ']' = $1[3] = addlist($1[3], tree2(T_ARY, fixlist($3))); | record_id '.' field_id = $$ = setupvar($1, tree3(T_FIELD, $3, NIL)); | qual_var '.' field_id = $1[3] = addlist($1[3], tree3(T_FIELD, $3, NIL)); | ptr_id '^' = $$ = setupvar($1, tree1(T_PTR)); | qual_var '^' = $1[3] = addlist($1[3], tree1(T_PTR)); ; /* * Expression with write widths */ wexpr: expr | expr ':' expr = $$ = tree4(T_WEXP, $1, $3, NIL); | expr ':' expr ':' expr = $$ = tree4(T_WEXP, $1, $3, $5); | expr octhex = $$ = tree4(T_WEXP, $1, NIL, $2); | expr ':' expr octhex = $$ = tree4(T_WEXP, $1, $3, $4); ; octhex: YOCT = $$ = OCT; | YHEX = $$ = HEX; ; expr_list: expr = $$ = newlist($1); | expr_list ',' expr = $$ = addlist($1, $3); ; wexpr_list: wexpr = $$ = newlist($1); | wexpr_list ',' wexpr = $$ = addlist($1, $3); ; /* * OPERATORS */ relop: '=' = $$ = T_EQ; | '<' = $$ = T_LT; | '>' = $$ = T_GT; | '<' '>' = $$ = T_NE; | '<' '=' = $$ = T_LE; | '>' '=' = $$ = T_GE; | YIN = $$ = T_IN; ; addop: '+' = $$ = T_ADD; | '-' = $$ = T_SUB; | YOR = $$ = T_OR; | '|' = $$ = T_OR; ; divop: '*' = $$ = T_MULT; | '/' = $$ = T_DIVD; | YDIV = $$ = T_DIV; | YMOD = $$ = T_MOD; | YAND = $$ = T_AND; | '&' = $$ = T_AND; ; /* * LISTS */ var_list: variable = $$ = newlist($1);  | var_list ',' variable = $$ = addlist($1, $3); ; id_list: YID = $$ = newlist($1); | id_list ',' YID = $$ = addlist($1, $3); ; /* * Identifier productions with semantic restrictions * * For these productions, the character @ signifies * that the associated C statement is to provide * the semantic restriction for this reduction. * These lines are made into a procedure yyEactr, similar to * yyactr, which determines whether the corresponding reduction * is permitted, or whether an error is to be signaled. * A zero return from yyEactr is considered an error. * YyEactr is called with an argument "var" giving the string * name of the variable in question, essentially $1, although * $1 will not work because yyEactr is called from loccor in * the recovery routines. */ const_id: YID = @ return (identis(var, CONST)); ; type_id: YID = { @ return (identis(var, TYPE)); $$ = tree3(T_TYID, lineof(yyline), $1); } ; var_id: YID = @ return (identis(var, VAR)); ; array_id: YID = @ return (identis(var, ARRAY)); ; ptr_id: YID = @ return (identis(var, PTRFILE)); ; record_id: YID = @ return (identis(var, RECORD)); ; field_id: YID = @ return (identis(var, FIELD)); ; proc_id: YID = @ return (identis(var, PROC)); ; func_id: YID = @ return (identis(var, FUNC)); ; pmon.cÞÚ9¤‘–# /* * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" /* * Profile counter processing cluster * * This file contains all routines which do the hard work in profiling. * * The first group of routines (getit, getpmon, getcore, and pmread) * deal with extracting data from the pmon.out and (with more difficulty) * core files. * * The routines cnttab and prttab collect counters for * and print the summary table respectively. * * The routines "*cnt*" deal with manipulation of counters, * especially the "current" counter px. */ STATIC struct pxcnt px; /* * Table to record info * for procedure/function summary */ STATIC struct pftab { long pfcnt; int pfline; char *pfname; int pflev; } *zpf; /* * Global variables */ STATIC long *zbuf; /* Count buffer */ STATIC int zcnt; /* Number of counts */ STATIC int zpfcnt; /* Number of proc/funcs's */ STATIC int gcountr; /* Unique name generator */ STATIC int zfil; /* I/o unit for count data reads */ STATIC int lastpf; /* Total # of procs and funcs for consistency chk */ getit(fp) char *fp; { if (core) getcore(fp); else getpmon(fp); } /* * Setup monitor data buffer from pmon.out * style file whose name is fp. */ getpmon(fp) char *fp; { register char *cp; int garbage; zfil = open(fp, 0); if (zfil < 0) { perror(fp); pexit(NOSTART); } if (pmread() < 0 || read(zfil, &garbage, 1) == 1) { Perror(fp, "Bad format for pmon.out style file"); exit(1); } close(zfil); return; } STATIC char nospcm[] "Not enough memory for count buffers\n"; pmnospac() { write(2, nospcm, sizeof nospcm); pexit(NOSTART); } /* * Structure of the first few * items of a px core dump. */ STATIC struct info { char *off; /* Self-reference for pure text */ int type; /* 0 = non-pure text, 1 = pure text */ char *bp; /* Core address of pxps struct */ } inf; /* * First few words of the px * information structure. */ STATIC struct pxps { char *buf; int cnt; } pxp; getcore(fp) char *fp; { int pm; zfil = open(fp, 0); if (zfil < 0) { perror(fp); pexit(NOSTART); } if (seek(zfil, 02000, 0) < 0) goto format; if (read(zfil, &inf, sizeof inf) < 0) goto format; if (inf.type != 0 && inf.type != 1) goto format; if (inf.type) inf.bp =- inf.off; if (seek(zfil, inf.bp + 02000, 0) < 0) goto format; if (read(zfil, &pxp, sizeof pxp) != sizeof pxp) goto format; if (pxp.buf == NIL) { Perror(fp, "No profile data in file"); exit(1); } if (inf.type) pxp.buf =- inf.off; if (seek(zfil, pxp.buf + 02000, 0) < 0) goto format; if (pmread() < 0) goto format; close(zfil); return; format: Perror(fp, "Not a Pascal system core file"); exit(1); } pmread() { register i; register char *cp; struct { int no; int no2; int tvec[2]; } zmagic; if (read(zfil, &zmagic, sizeof zmagic) != sizeof zmagic) return (-1); if (zmagic.no != 0426 || zmagic.no2) return (-1); ptvec[0] = zmagic.tvec[0]; ptvec[1] = zmagic.tvec[1]; if (read(zfil, &zcnt, 2) != 2) return (-1); if (read(zfil, &zpfcnt, 2) != 2) return (-1); cp = zbuf = alloc(i = zcnt * sizeof *zbuf); if (cp == -1) pmnospac(); cp = zpf = alloc(zpfcnt * sizeof *zpf);  if (cp == -1) pmnospac(); if (read(zfil, zbuf, i) != i) return (-1); zbuf =- 2; return (0); } cnttab(s, no) char *s; int no; { lastpf++; if (table == 0) return; if (no == zpfcnt) cPANIC(); zpf[no].pfname = s; zpf[no].pfline = line; zpf[no].pfcnt = nowcnt(); zpf[no].pflev = cbn; } prttab() { register i, j; register struct pftab *zpfp; if (profile == 0 && table == 0) return; if (cnts != zcnt || lastpf != zpfcnt) { /* printf("cnts %d zcnt %d, lastpf %d zpfcnt %d\n", cnts, zcnt, lastpf, zpfcnt); */ cPANIC(); } if (table == 0) return; if (profile) printf("\f\n"); header(); printf("\n\tLine\t Count\n\n"); zpfp = zpf; for (i = 0; i < zpfcnt; i++) { printf("\t%4d\t%8ld\t", zpfp->pfline, zpfp->pfcnt); if (!justify) for (j = zpfp->pflev * unit; j > 1; j--) putchar(' '); printf("%s\n", zpfp->pfname); zpfp++; } } nowcntr() { return (px.counter); } long nowcnt() { return (px.ntimes); } long cntof(pxc) struct pxcnt *pxc; { if (profile == 0 && table == 0) return; return (pxc->ntimes); } setcnt(l) long l; { if (profile == 0 && table == 0) return; px.counter = --gcountr; px.ntimes = l; px.gos = gocnt; px.printed = 0; } savecnt(pxc) struct pxcnt *pxc; { if (profile == 0 && table == 0) return; pxc->ntimes = px.ntimes; pxc->counter = px.counter; pxc->gos = px.gos; pxc->printed = 1; } rescnt(pxc) struct pxcnt *pxc; { if (profile == 0 && table == 0) return; px.ntimes = pxc->ntimes; px.counter = pxc->counter; px.gos = gocnt; px.printed = pxc->printed; return (gocnt != pxc->gos); } getcnt() { if (profile == 0 && table == 0) return; if (cnts == zcnt) cPANIC(); px.counter = cnts; px.ntimes = zbuf[cnts]; px.gos = gocnt; px.printed = 0; ++cnts; } unprint() { px.printed = 0; } /* * Control printing of '|' * when profiling. */ STATIC char nobar; baroff() { nobar = 1; } baron() { nobar = 0; } /* * Do we want cnt and/or '|' on this line ? * 1 = count and '|' * 0 = only '|' * -1 = spaces only */ shudpcnt() { register i; if (nobar) return (-1); i = px.printed; px.printed = 1; return (i == 0); } STATIC char mism[] "Program and counter data do not correspond\n"; cPANIC() { xflush(); write(2, mism, sizeof mism); pexit(ERRS); } pp.cÞÚ9¤�\# /* * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #define noprint() nopflg int pplev[3]; /* STAT, DECL, PRFN */ int nopflg; setprint() { if (profile == 0) { if (table) nopflg = 1; else nopflg = 0; return; } nopflg = !all && nowcnt() == 0 || !opt('z'); } printon() { if (profile == 0) { if (table) nopflg = 1; return; } nopflg = 0; } printoff() { nopflg = 1; } ppkw(s) char *s; { register char *cp, i; if (noprint()) return; /* * First real thing printed * is always a keyword * or includes an "id" (if a comment) * (See ppnl below) */ hadsome = 1; if (underline) { for (cp = s; *cp; cp++) putchar('_'); for (cp = s; *cp; cp++) putchar('\b'); } printf(s); } ppid(s) char *s; { if (noprint()) return; hadsome = 1; if (s == NIL) s = "{identifier}"; printf(s); } ppbra(s) char *s; { if (noprint()) return; if (s != NIL) printf(s); } ppsep(s) char *s; { if (noprint()) return; printf(s); } ppket(s) char *s; { if (noprint()) return; if (s != NIL) printf(s); } char killsp; ppunspac() { killsp = 1; } ppspac() { if (killsp) { killsp = 0; return; } if (noprint()) return; putchar(' '); } ppitem() { if (noprint()) return; ppnl(); indent(); } int owenl, owenlb; ppsnlb() { if (nopflg) return; owenlb++; } ppsnl() { if (nopflg) return; owenl++; } pppay() { while (owenl || owenlb) { putchar('\n'); if (owenlb) putchar(' '); owenlb ? owenlb-- : owenl--; } } ppnl() { if (noprint()) return; if (hadsome == 0) return; pppay(); putchar('\n'); } indent() { register i; if (noprint()) return; linopr(); if (profile == 0) { indent1(pplev[PRFN] + pplev[DECL] + pplev[STAT]); return; } indent1(pplev[PRFN] + pplev[STAT]); switch (i = shudpcnt()) { case 1: printf("%7.7ld.", nowcnt()); dashes('-'); putchar('|'); break; case 0: case -1: printf(" "); dashes(' '); putchar(i == 0 ? '|' : ' '); break; } indent1(pplev[DECL]); } dashes(c) char c; { register i; for (i = unit - 1; i != 0; i--) putchar(c); } indent1(in) int in; { register i; if (noprint()) return; i = in; if (profile == 0) while (i >= 8) {  putchar('\t'); i =- 8; } while (i > 0) { putchar(' '); i--; } } linopr() { if (noprint()) return; if (profile) { if (line < 0) line = -line; printf("%6d ", line); } } indentlab() { indent1(pplev[PRFN]); } ppop(s) char *s; { if (noprint()) return; printf(s); } ppnumb(s) char *s; { if (noprint()) return; if (s == NIL) s = "{number}"; printf(s); } ppgoin(lv) { pplev[lv] =+ unit; } ppgoout(lv) { pplev[lv] =- unit; if (pplev[lv] < 0) panic("pplev"); } ppstr(s) char *s; { register char *cp; if (noprint()) return; if (s == NIL) { printf("{string}"); return; } putchar('\''); cp = s; while (*cp) { putchar(*cp); if (*cp == '\'') putchar('\''); cp++; } putchar('\''); } pplab(s) char *s; { if (noprint()) return; if (s == NIL) s = "{integer label}"; printf(s); } int fout[259]; extern int putchar(), flush(); int outcol; putchar(c) char c; { putc(c, fout); switch (c) { case '\n': outcol = 0; fflush(); break; case '\t': outcol =+ 8; outcol =& ~07; break; case '\b': if (outcol) outcol--; break; default: outcol++; case '\f': break; } } flush() { fflush(fout); } pptab() { register int i; if (noprint()) return; i = pplev[PRFN] + profile ? 44 + unit : 28; if (outcol > i + 8) ppnl(); do putchar('\t'); while (outcol < i); } printparseâ"„í�ÿpr printparse cd ../man6 ; nroff naa pi.6 ; cd ../pi pr READ_ME ls -ls | pr pr sizes number pi_strings | pr -t pr makepi pr comp gram load whoami pr ../opcodes/picture a.out -C | pr pr 0.h pr main.c pr pas.y pr y.output pr yy.h pr yy*.c pr error.c subr.c oprintpxpÞÚ9í�pr printpxp printparse pr READ_ME pr how* cd ../man6 ; nroff naa pxp.6 ; cd ../pxp ls -ls | pr pr sizes pr makepxp pr comp gram load whoami cxref *.c > XREF ; pr XREF pr 0.h pr main.c pr pas.y : pr y.output pr yy.h pr yy*.c pr [a-ln-x]*.c pr treen.s yycopy.s oproc.cÞÚ9¤�¸# /* * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" proc(r) int *r; { call(r[2], r[3]); } rec.cÞÚ9¤�ó# /* * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" tyrec(r, p0) int *r, p0; { if (r != NIL) setinfo(r[1]); if (p0 == NIL) { ppgoin(DECL); ppnl(); indent(); ppkw("record"); ppspac(); } else { ppspac(); ppbra("("); } ppgoin(DECL); if (r) { field(r[2], r[3]); variant(r[3]); } setinfo(r[1]); putcml(); ppgoout(DECL); if (p0 == NIL) { ppnl(); indent(); ppkw("end"); ppgoout(DECL); } else { ppitem(); ppket(")"); } } field(r, v) int *r, *v; { register int *fp, *tp, *ip; fp = r; if (fp != NIL) for (;;) { tp = fp[1]; if (tp != NIL) { setline(tp[1]); ip = tp[2]; ppitem(); if (ip != NIL) for (;;) { ppid(ip[1]); ip = ip[2]; if (ip == NIL) break; ppsep(", "); } else ppid("{field id list}"); ppsep(":"); gtype(tp[3]); setinfo(tp[1]); putcm(); } fp = fp[2]; if (fp == NIL) break; ppsep(";"); } if (v != NIL && r != NIL) ppsep(";"); } variant(r) register int *r; { register int *v, *vc; if (r == NIL) return; setline(r[1]); ppitem(); ppkw("case"); v = r[2]; if (v != NIL) { ppspac(); ppid(v); ppsep(":"); } gtype(r[3]); ppspac(); ppkw("of"); for (vc = r[4]; vc != NIL;) { v = vc[1]; if (v == NIL) continue; ppgoin(DECL); setline(v[1]); ppnl(); indent(); ppbra(NIL); v = v[2]; if (v != NIL) { for (;;) { gconst(v[1]); v = v[2]; if (v == NIL) break; ppsep(", "); } } else ppid("{case label list}"); ppket(":"); v = vc[1]; tyrec(v[3], 1); setinfo(v[1]); putcml(); ppgoout(DECL); vc = vc[2]; if (vc == NIL) break; ppsep(";"); } setinfo(r[1]); putcm(); } ;rval.cÞÚ9¤�/# /* * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" extern char *opnames[]; #define alph(c) ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')) /* * Rvalue reformats an expression. * Par is a flag indicating that the expression * should be parenthesized if it is non-atomic. */ rvalue(r, par) int *r, par; { register int *al; register char *opname; if (r == NIL) { ppid("{expr}"); return; } if (r[0] <= T_IN) opname = opnames[r[0]]; switch (r[0]) { case T_BINT: case T_INT: case T_FINT: ppnumb(r[2]); if (r[0] == T_BINT) ppsep("b"); return; case T_NIL: ppkw("nil"); return; case T_FCALL: funccod(r); return; case T_VAR: lvalue(r); return; case T_CSET: cset(r); return; case T_STRNG: ppstr(r[2]); return; } if (par) ppbra("("); switch (r[0]) { default: panic("rval"); case T_PLUS: case T_MINUS: ppop(r[0] == T_PLUS ? "+" : "-"); al = r[2]; rvalue(r[2], prec(al) > prec(r) || full); break; case T_NOT: ppkw(opname); ppspac(); rvalue(r[2], 1); break; case T_AND: case T_OR: case T_MULT: case T_ADD: case T_SUB: case T_DIVD: case T_MOD: case T_DIV: case T_EQ: case T_NE: case T_GE: case T_LE: case T_GT: case T_LT: case T_IN: al = r[2]; rvalue(al, prec(al) < prec(r) || full); ppspac(); if (alph(opname[0])) ppkw(opname); else ppop(opname); ppspac(); al = r[3]; rvalue(al, prec(al) <= prec(r) || full); break; } if (par) ppket(")"); } /* * Prec returns the precedence of an operator, * with larger numbers indicating stronger binding. * This is used to determine when parenthesization * is needed on subexpressions. */ prec(r) int *r; { if (r == NIL) return; switch (r[0]) { case T_NOT: return (3); case T_MULT: case T_DIVD: case T_DIV: case T_MOD: case T_AND: return (2); case T_ADD: case T_SUB: case T_OR: case T_PLUS: case T_MINUS: return (1); default: return (0); } } stat.cÞÚ9¤� # /* * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" int cntstat; int cnts 2; statlist(r) int *r; { register int *sl; sl = r; if (sl != NIL) for (;;) { statement(sl[1]); sl = sl[2]; if (sl == NIL) break; ppsep(";"); } else statement(NIL); } statement(r) int *r; { register int *s; s = r; top: if (cntstat) { cntstat = 0; getcnt(); } if (s == NIL) { putcm(); ppitem(); ppid("null"); return; } if (s[0] == T_REPEAT) setinfo(s[1]); else setline(s[1]); if (s[0] == T_LABEL) { cntstat = 1; ppnl(); labeled(s[2]); statement(s[3]); return; } switch (s[0]) { default: panic("stat"); case T_PCALL: ppitem(); proc(s); break; case T_IF: case T_IFEL: ppnl(); indent(); ifop(s); break; case T_WHILE: ppnl(); indent(); whilop(s); break; case T_REPEAT: ppnl(); indent(); repop(s); break; case T_FORU: case T_FORD: ppnl(); indent(); forop(s); break; case T_BLOCK: ppnl(); indent(); ppstbl(s, DECL); break; case T_ASGN: ppitem(); asgnop(s); break; case T_GOTO: ppitem(); gotoop(s[2]); cntstat = 1; break; case T_CASE: ppnl(); indent(); caseop(s); break; case T_WITH: ppnl(); indent(); withop(s); break; case T_ASRT: ppitem(); asrtop(s); break; } setinfo(s[1]); putcm(); } withop(s) int *s; { register *p; ppkw("with"); ppspac(); p = s[2]; if (p != NIL) for (;;) { lvalue(p[1]); p = p[2]; if (p == NIL) break; ppsep(", "); } else ppid("{record variable list}"); ppstdo(s[3], DECL); } asgnop(r) int *r; { lvalue(r[2]); ppsep(" := "); rvalue(r[3], NIL); } forop(r) int *r; { struct pxcnt scnt; savecnt(&scnt); ppkw("for"); ppspac(); asgnop(r[2]); ppspac(); ppkw(r[0] == T_FORU ? "to" : "downto"); ppspac(); rvalue(r[3], NIL); getcnt(); ppstdo(r[4], STAT); if (rescnt(&scnt)) getcnt(); } ifop(r) int *r; { register *s; struct pxcnt scnt; ppkw("if"); ppspac(); rvalue(r[2], NIL); ppspac(); ppkw("then"); ppspac(); s = r[3]; savecnt(&scnt); getcnt(); if (s != NIL && s[0] == T_BLOCK) ppstbl1(s, STAT); else { ppgoin(STAT); statement(s); ppgoout(STAT); } if (r[0] == T_IFEL) { setcnt(cntof(&scnt)-nowcnt()); if (s == NIL || s[0] != T_BLOCK) { ppnl(); indent(); } else { ppstbl2(); ppspac(); } s = r[4]; ppkw("else"); unprint(); ppspac(); if (s == NIL) goto burp; if (s[0] == T_BLOCK) ppstbl1(s, STAT); else if (s[0] == T_IF || s[0] == T_IFEL) ifop(s); else { burp: ppgoin(STAT); statement(s); ppgoout(STAT); } } if (rescnt(&scnt)) getcnt(); if (r[4] != NIL) unprint(); if (s != NIL && s[0] == T_BLOCK) ppstbl2(); } whilop(r) int *r; { struct pxcnt scnt; ppkw("while"); ppspac(); rvalue(r[2], NIL); savecnt(&scnt); getcnt(); ppstdo(r[3], STAT); if (rescnt(&scnt)) getcnt(); } repop(r) int *r; { struct pxcnt scnt; ppkw("repeat"); ppgoin(STAT); savecnt(&scnt); getcnt(); statlist(r[2]); ppgoout(DECL); ppnl(); indent(); ppkw("until"); ppspac(); rvalue(r[3], NIL); ppgoin(DECL); ppgoout(STAT); if (rescnt(&scnt)) getcnt(); } ppstbl(r, m) int *r; { ppstbl1(r, m); ppstbl2(); } ppstbl1(r, m) int *r; { ppkw("begin"); ppgoin(m); statlist(r[2]); ppgoout(m); } ppstbl2() { ppnl(); indent(); ppkw("end"); } ppstdo(r, l) int *r; { register *s; ppspac(); ppkw("do"); ppspac(); s = r; if (s != NIL && s[0] == T_BLOCK) ppstbl(s, l); else { ppgoin(l); statement(s); ppgoout(l); } } asrtop(s) int *s; { ppkw("assert"); ppspac(); rvalue(s[2], NIL); } string.cëK¤�d# /* * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "0.h" /* * STRING SPACE DECLARATIONS * * Strng is the base of the current * string space and strngp the * base of the free area therein. * No array of descriptors is needed * as string space is never freed. */ STATIC char strings[STRINC]; STATIC char *strng strings; STATIC char *strngp strings; /* initstring() { } */ /* * Copy a string into the string area. */ savestr(cp) register char *cp; { register int i; i = strlen(cp) + 1; if (strngp + i >= strng + STRINC) { strngp = alloc(STRINC); if (strngp == -1) { yerror("Ran out of memory (string)"); pexit(DIED); } strng = strngp; } strcpy(strngp, cp); cp = strngp; strngp = cp + i; return (cp); } esavestr(cp) char *cp; { strngp = (strngp + 1) &~ 1; return (savestr(cp)); } subr.cëK¤�à #include "whoami" /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "0.h" /* * Does the string fp end in '.' and the character c ? */ dotted(fp, c) register char *fp; char c; { register int i; i = strlen(fp); return (i > 1 && fp[i - 2] == '.' && fp[i - 1] == c); } /* * Toggle the option c. */ togopt(c) char c; { register char *tp; tp = &opts[c-'a']; *tp = 1 - *tp; } /* * Set the time vector "tvec" to the * modification time stamp of the current file. */ gettime() { int stbuf[18]; stat(filename, stbuf); tvec[0] = stbuf[16]; tvec[1] = stbuf[17]; } /* * Convert a "ctime" into a Pascal styple time line */ myctime(tv) int *tv; { register char *cp, *dp; char *cpp; register i; static char mycbuf[26]; cpp = ctime(tv); dp = mycbuf; cp = cpp; cpp[16] = 0; while (*dp++ = *cp++); dp--; cp = cpp+19; cpp[24] = 0; while (*dp++ = *cp++); return (mycbuf); } /* * Is "fp" in the command line list of names ? */ inpflist(fp) char *fp; { register i, *pfp; pfp = pflist; for (i = pflstc; i > 0; i--) if (strcmp(fp, *pfp++) == 0) return (1); return (0); } extern int errno; extern char *sys_errlist[]; /* * Boom! */ Perror(file, error) char *file, *error; { errno = 0; sys_errlist[0] = error; perror(file); } calloc(num, size) int num, size; { register int p1, *p2, nbyte; nbyte = (num*size+1) & ~01; if ((p1 = alloc(nbyte)) == -1 || p1==0) return (-1); p2 = p1; nbyte =>> 1; /* 2 bytes/word */ do { *p2++ = 0; } while (--nbyte); return (p1); } /* * Compare strings: s1>s2: >0 s1==s2: 0 s1> 1; } tree.cëK¤�� # /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h"  /* * TREE SPACE DECLARATIONS */ struct tr { int *tr_low; int *tr_high; } ttab[MAXTREE], *tract; /* * The variable space is the * absolute base of the tree segments. * (exactly the same as ttab[0].tr_low) * Spacep is maintained to point at the * beginning of the next tree slot to * be allocated for use by the grammar. * Spacep is used "extern" by the semantic * actions in pas.y. * The variable tract is maintained to point * at the tree segment out of which we are * allocating (the active segment). */ int *space, *spacep; /* * TREENMAX is the maximum width * in words that any tree node * due to the way in which the parser uses * the pointer spacep. */ #define TREENMAX 6 int trspace[ITREE]; int *space trspace; int *spacep trspace; struct tr *tract ttab; /* * Inittree allocates the first tree slot * and sets up the first segment descriptor. * A lot of this work is actually done statically * above. */ inittree() { ttab[0].tr_low = space; ttab[0].tr_high = &space[ITREE]; } /* * Tree builds the nodes in the * parse tree. It is rarely called * directly, rather calls are made * to tree[12345] which supplies the * first argument to save space in * the code. Tree also guarantees * that spacep points to the beginning * of the next slot it will return, * a property required by the parser * which was always true before we * segmented the tree space. */ int *tree(cnt, a) int cnt; { register int *p, *q; register int i; i = cnt; p = spacep; q = &a; do *p++ = *q++; while (--i); q = spacep; spacep = p; if (p+TREENMAX >= tract->tr_high) /* * this peek-ahead should * save a great number of calls * to tralloc. */ tralloc(TREENMAX); return (q); } /* * Tralloc preallocates enough * space in the tree to allow * the grammar to use the variable * spacep, as it did before the * tree was segmented. */ tralloc(howmuch) { register char *cp; register i; if (spacep + howmuch >= tract->tr_high) { i = TRINC; cp = alloc(i*2); if (cp == -1) { yerror("Ran out of memory (tralloc)"); pexit(DIED); } spacep = cp; tract++; if (tract >= &ttab[MAXTREE]) { yerror("Ran out of tree tables"); pexit(DIED); } tract->tr_low = cp; tract->tr_high = tract->tr_low+i; } } extern int yylacnt; extern bottled; #ifdef PXP #endif /* * Free up the tree segments * at the end of a block. * If there is scanner lookahead, * i.e. if yylacnt != 0 or there is bottled output, then we * cannot free the tree space. * This happens only when errors * occur and the forward move extends * across "units". */ trfree() { if (yylacnt != 0 || bottled != NIL) return; #ifdef PXP if (needtree()) return; #endif spacep = space; while (tract->tr_low > spacep || tract->tr_high <= spacep) { free(tract->tr_low); tract->tr_low = NIL; tract->tr_high = NIL; tract--; if (tract < ttab) panic("ttab"); } #ifdef PXP packtree(); #endif } /* * Copystr copies a token from * the "token" buffer into the * tree space. */ copystr(token) register char *token; {  register char *cp; register int i; i = (strlen(token) + 2) & ~1; tralloc(i >> 1); strcpy(spacep, token); cp = spacep; spacep = cp + i; tralloc(TREENMAX); return (cp); } rtree.h$¤�H#define T_MINUS 1 #define T_MOD 2 #define T_DIV 3 #define T_DIVD 4 #define T_MULT 5 #define T_ADD 6 #define T_SUB 7 #define T_EQ 8 #define T_NE 9 #define T_LT 10 #define T_GT 11 #define T_LE 12 #define T_GE 13 #define T_NOT 14 #define T_AND 15 #define T_OR 16 #define T_ASGN 17 #define T_PLUS 18 #define T_IN 19 #define T_LISTPP 20 #define T_PDEC 21 #define T_FDEC 22 #define T_PVAL 23 #define T_PVAR 24 #define T_PFUNC 25 #define T_PPROC 26 #define T_NIL 27 #define T_STRNG 28 #define T_CSTRNG 29 #define T_PLUSC 30 #define T_MINUSC 31 #define T_ID 32 #define T_INT 33 #define T_FINT 34 #define T_CINT 35 #define T_CFINT 36 #define T_TYPTR 37 #define T_TYPACK 38 #define T_TYSCAL 39 #define T_TYRANG 40 #define T_TYARY 41 #define T_TYFILE 42 #define T_TYSET 43 #define T_TYREC 44 #define T_TYFIELD 45 #define T_TYVARPT 46 #define T_TYVARNT 47 #define T_CSTAT 48 #define T_BLOCK 49 #define T_LABEL 50 #define T_PCALL 51 #define T_FCALL 52 #define T_CASE 53 #define T_WITH 54 #define T_WHILE 55 #define T_REPEAT 56 #define T_FORU 57 #define T_FORD 58 #define T_GOTO 59 #define T_IF 60 #define T_ASRT 61 #define T_CSET 62 #define T_RANG 63 #define T_VAR 64 #define T_ARGL 65 #define T_ARY 66 #define T_FIELD 67 #define T_PTR 68 #define T_WEXP 69 #define T_PROG 70 #define T_BINT 71 #define T_CBINT 72 #define T_IFEL 73 #define T_IFX 74 #define T_TYID 75 treen.sâ"„¤�ˆ.text / / Routines to save space on tree calls / .globl _tree, _tree1, _tree2, _tree3, _tree4, _tree5 / _tree1: mov (sp),trret mov $1,(sp) br 1f _tree2: mov (sp),trret mov $2,(sp) br 1f _tree3: mov (sp),trret mov $3,(sp) br 1f _tree4: mov (sp),trret mov $4,(sp) br 1f _tree5: mov (sp),trret mov $5,(sp) 1: mov $1f,-(sp) jmp _tree 1: tst (sp)+ jmp *trret .bss trret: . = .+2 type.cÞÚ9¤�O # /* * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" STATIC int typecnt -1; /* * Type declaration part */ typebeg(l) int l; { line = l; if (nodecl) printoff(); puthedr(); putcm(); ppnl(); indent(); ppkw("type"); ppgoin(DECL); typecnt = 0; } type(tline, tid, tdecl) int tline; char *tid; int *tdecl; { putcm(); setline(tline); ppitem(); ppid(tid); ppsep(" ="); gtype(tdecl); ppsep(";"); setinfo(tline); putcml(); typecnt++; } typeend() {  if (typecnt == -1) return; if (typecnt == 0) ppid("{type decls}"); ppgoout(DECL); typecnt = -1; } /* * A single type declaration */ gtype(r) register int *r; { if (r == NIL) { ppid("{type}"); return; } if (r[0] != T_ID) setline(r[1]); switch (r[0]) { default: panic("type"); case T_ID: ppspac(); ppid(r[1]); return; case T_TYID: ppspac(); ppid(r[2]); break; case T_TYSCAL: ppspac(); tyscal(r); break; case T_TYRANG: ppspac(); tyrang(r); break; case T_TYPTR: ppspac(); ppop("^"); gtype(r[2]); break; case T_TYPACK: ppspac(); ppkw("packed"); gtype(r[2]); break; case T_TYARY: ppspac(); tyary(r); break; case T_TYREC: ppspac(); tyrec(r[2], NIL); break; case T_TYFILE: ppspac(); ppkw("file"); ppspac(); ppkw("of"); gtype(r[2]); break; case T_TYSET: ppspac(); ppkw("set"); ppspac(); ppkw("of"); gtype(r[2]); break; } setline(r[1]); putcml(); } /* * Scalar type declaration */ tyscal(r) register int *r; { register int i; ppsep("("); r = r[2]; if (r != NIL) { i = 0; ppgoin(DECL); for (;;) { ppid(r[1]); r = r[2]; if (r == NIL) break; ppsep(", "); i++; if (i == 7) { ppitem(); i = 0; } } ppgoout(DECL); } else ppid("{constant list}"); ppsep(")"); } /* * Subrange type declaration */ tyrang(r) register int *r; { gconst(r[2]); ppsep(".."); gconst(r[3]); } /* * Array type declaration */ tyary(r) register int *r; { register int *tl; ppkw("array"); ppspac(); ppsep("["); tl = r[2]; if (tl != NIL) { ppunspac(); for (;;) { gtype(tl[1]); tl = tl[2]; if (tl == NIL) break; ppsep(","); } } else ppid("{subscr list}"); ppsep("]"); ppspac(); ppkw("of"); gtype(r[3]); } ;var.cÞÚ9¤�)# /* * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" STATIC int varcnt -1; /* * Var declaration part */ varbeg(l) int l; { line = l; if (nodecl) printoff(); puthedr(); putcm(); ppnl(); indent(); ppkw("var"); ppgoin(DECL); varcnt = 0; } var(vline, vidl, vtype) int vline; register int *vidl; int *vtype; { putcm(); setline(vline); ppitem(); if (vidl != NIL) for (;;) { ppid(vidl[1]); vidl = vidl[2]; if (vidl == NIL) break; ppsep(", "); } else ppid("{identifier list}"); ppsep(":"); gtype(vtype); ppsep(";"); setinfo(vline); putcml(); varcnt++; } varend() { if (varcnt == -1) return; if (varcnt == 0) ppid("{variable decls}"); ppgoout(DECL); varcnt = -1; } whoamiÞÚ9¤�#define PXP 1 y.tab.cèÒ϶‘â] #include "whoami" #include "0.h" #include "yy.h" #include "tree.h" #ifdef PI #define lineof(l) l #endif extern yyerrflag; int *yyval 0; int *yypv; yyactr(__np__){ register int **yyYpv; register int *p, *q; yyYpv = yypv; switch(__np__){ case 1: funcend(yyYpv[1], yyYpv[4], lineof(yyYpv[5])); break; case 2: yyval = funcbody(funchdr(tree5(T_PROG, lineof(yyYpv[1]), yyYpv[2], fixlist(yyYpv[4]), NIL))); break; case 3: { yyPerror("Malformed program statement", PPROG); /* * Should make a program statement * with "input" and "output" here. */ yyval = funcbody(funchdr(tree5(T_PROG, lineof(yyYpv[1]), NIL, NIL, NIL))); } break; case 4: { yyval = tree2(lineof(yyYpv[1]), fixstlist(yyYpv[2])); if (yyYpv[3].pint < 0) brerror(yyYpv[1], "begin"); } break; case 5: trfree(); break; case 6: { Derror: constend(), typeend(), varend(), trfree(); yyPerror("Malformed declaration", PDECL); } break; case 7: trfree(); break; case 9: constend(); break; case 10: typeend(); break; case 11: varend(); break; case 12: label(fixlist(yyYpv[2]), lineof(yyYpv[1])); break; case 13: yyval = newlist(yyYpv[1] == NIL ? NIL : *hash(yyYpv[1], 1)); break; case 14: yyval = addlist(yyYpv[1], yyYpv[3] == NIL ? NIL : *hash(yyYpv[3], 1)); break; case 15: constbeg(yyYpv[1]), const(lineof(yyYpv[3]), yyYpv[2], yyYpv[4]); break; case 16: const(lineof(yyYpv[3]), yyYpv[2], yyYpv[4]); break; case 17: { constbeg(); Cerror: yyPerror("Malformed const declaration", PDECL); } break; case 18: goto Cerror; break; case 19: typebeg(yyYpv[1]), type(lineof(yyYpv[3]), yyYpv[2], yyYpv[4]); break; case 20: type(lineof(yyYpv[3]), yyYpv[2], yyYpv[4]); break; case 21: { typebeg(); Terror: yyPerror("Malformed type declaration", PDECL); } break; case 22: goto Terror; break; case 23: varbeg(yyYpv[1]), var(lineof(yyYpv[3]), fixlist(yyYpv[2]), yyYpv[4]); break; case 24: var(lineof(yyYpv[3]), fixlist(yyYpv[2]), yyYpv[4]); break; case 25: { varbeg(); Verror: yyPerror("Malformed var declaration", PDECL); } break; case 26: goto Verror; break; case 28: trfree(); break; case 29: funcfwd(yyYpv[1]); break; case 30: funcend(yyYpv[1], yyYpv[4], lineof(yyYpv[5])); break; case 31: funcbody(yyYpv[1]); break; case 32: yyval = funchdr(tree5(yyYpv[1], lineof(yyYpv[5]), yyYpv[2], yyYpv[3], yyYpv[4])); break; case 33: yyval = T_PDEC; break; case 34: yyval = T_FDEC; break; case 35: yyval = fixlist(yyYpv[2]); break; case 36: yyval = NIL; break; case 37: yyval = tree3(T_PVAL, fixlist(yyYpv[1]), yyYpv[3]); break; case 38: yyval = tree3(T_PVAR, fixlist(yyYpv[2]), yyYpv[4]); break; case 39: yyval = tree3(T_PFUNC, fixlist(yyYpv[2]), yyYpv[4]); break; case 40: yyval = tree2(T_PPROC, fixlist(yyYpv[2])); break; case 41: yyval = yyYpv[2]; break; case 42: yyval = NIL; break; case 43: yyval = newlist(yyYpv[1]); break; case 44: yyval = addlist(yyYpv[1], yyYpv[3]); break; case 45: yyval = tree2(T_CSTRNG, yyYpv[1]); break; case 47: yyval = tree2(T_PLUSC, yyYpv[2]); break; case 48: yyval = tree2(T_MINUSC, yyYpv[2]); break; case 49: yyval = tree2(T_ID, yyYpv[1]); break; case 50: yyval = tree2(T_CINT, yyYpv[1]); break; case 51: yyval = tree2(T_CBINT, yyYpv[1]); break; case 52: yyval = tree2(T_CFINT, yyYpv[1]); break; case 53: yyval = newlist(yyYpv[1]); break; case 54: yyval = addlist(yyYpv[1], yyYpv[3]); break; case 56: yyval = tree3(T_TYPTR, lineof(yyYpv[1]), tree2(T_ID, yyYpv[2])); break; case 58: yyval = tree3(T_TYPACK, lineof(yyYpv[1]), yyYpv[2]); break; case 60: yyval = tree3(T_TYSCAL, lineof(yyYpv[1]), fixlist(yyYpv[2])); break; case 61: yyval = tree4(T_TYRANG, lineof(yyYpv[2]), yyYpv[1], yyYpv[3]); break; case 62: yyval = tree4(T_TYARY, lineof(yyYpv[1]), fixlist(yyYpv[3]), yyYpv[6]); break; case 63: yyval = tree3(T_TYFILE, lineof(yyYpv[1]), yyYpv[3]); break; case 64: yyval = tree3(T_TYSET, lineof(yyYpv[1]), yyYpv[3]); break; case 65: { yyval = tree3(T_TYREC, lineof(yyYpv[1]), yyYpv[2]); if (yyYpv[3].pint < 0) brerror(yyYpv[1], "record"); } break; case 66: yyval = newlist(yyYpv[1]); break; case 67: yyval = addlist(yyYpv[1], yyYpv[3]); break; case 68: yyval = tree4(T_LISTPP, lineof(NIL), fixlist(yyYpv[1]), yyYpv[2]); break; case 69: yyval = newlist(yyYpv[1]); break; case 70: yyval = addlist(yyYpv[1], yyYpv[3]); break; case 71: yyPerror("Malformed record declaration", PDECL); break; case 72: yyval = NIL; break; case 73: yyval = tree4(T_FIELD, lineof(yyYpv[2]), fixlist(yyYpv[1]), yyYpv[3]); break; case 74: yyval = NIL; break; case 75: yyval = tree5(T_TYVARPT, lineof(yyYpv[1]), NIL, yyYpv[2], fixlist(yyYpv[4])); break; case 76: yyval = tree5(T_TYVARPT, lineof(yyYpv[1]), yyYpv[2], yyYpv[4], fixlist(yyYpv[6])); break; case 77: yyval = newlist(yyYpv[1]); break; case 78: yyval = addlist(yyYpv[1], yyYpv[3]); break; case 79: yyPerror("Malformed record declaration", PDECL); break; case 80: yyval = NIL; break; case 81: yyval = tree5(T_TYVARNT, lineof(yyYpv[2]), fixlist(yyYpv[1]), yyYpv[4]); break; case 82: yyval = tree5(T_TYVARNT, lineof(yyYpv[2]), fixlist(yyYpv[1]), NIL); break; case 83: yyval = newlist(yyYpv[1]); break; case 84: { if ((p = yyYpv[1]) != NIL && (q = p[1])[0] == T_IFX) { q[0] = T_IFEL; q[4] = yyYpv[2]; } else yyval = addlist(yyYpv[1], yyYpv[2]); } break; case 85: if ((q = yyYpv[1]) != NIL && (p = q[1]) != NIL && p[0] == T_IF) { if (yychar < 0) yychar = yylex(); if (yyshifts >= 2 && yychar == YELSE) { recovered(); copy(&Y, &OY, sizeof Y); yerror("Deleted ';' before keyword else"); yychar = yylex(); p[0] = T_IFX; } } break; case 86: yyval = newlist(yyYpv[1]); break; case 87: yyval = addlist(yyYpv[1], yyYpv[3]); break; case 88: { yyval = NIL; Kerror: yyPerror("Malformed statement in case", PSTAT); } break; case 89: goto Kerror; break; case 90: yyval = tree4(T_CSTAT, lineof(yyYpv[2]), fixlist(yyYpv[1]), yyYpv[3]); break; case 91: yyval = tree4(T_CSTAT, lineof(yyYpv[1]), NIL, yyYpv[2]); break; case 92: yyval = NIL; break; case 93: yyval = NIL; break; case 94: yyval = tree4(T_LABEL, lineof(yyYpv[2]), yyYpv[1] == NIL ? NIL : *hash(yyYpv[1], 1), yyYpv[3]); break; case 95: yyval = tree4(T_PCALL, lineof(yyline), yyYpv[1], NIL); break; case 96: yyval = tree4(T_PCALL, lineof(yyYpv[2]), yyYpv[1], fixlist(yyYpv[3])); break; case 97: goto NSerror; break; case 99: { yyval = tree3(T_BLOCK, lineof(yyYpv[1]), fixstlist(yyYpv[2])); if (yyYpv[3].pint < 0) brerror(yyYpv[1], "begin"); } break; case 100: { yyval = tree4(T_CASE, lineof(yyYpv[1]), yyYpv[2], fixlist(yyYpv[4])); if (yyYpv[5].pint < 0) brerror(yyYpv[1], "case"); } break; case 101: yyval = tree4(T_WITH, lineof(yyYpv[1]), fixlist(yyYpv[2]), yyYpv[4]); break; case 102: yyval = tree4(T_WHILE, lineof(yyYpv[1]), yyYpv[2], yyYpv[4]); break; case 103: yyval = tree4(T_REPEAT, lineof(yyYpv[3]), fixstlist(yyYpv[2]), yyYpv[4]); break; case 104: yyval = tree5(T_FORU, lineof(yyYpv[1]), yyYpv[2], yyYpv[4], yyYpv[6]); break; case 105: yyval = tree5(T_FORD, lineof(yyYpv[1]), yyYpv[2], yyYpv[4], yyYpv[6]); break; case 106: yyval = tree3(T_GOTO, lineof(yyYpv[1]), *hash(yyYpv[2], 1)); break; case 107: yyval = tree5(T_IF, lineof(yyYpv[1]), yyYpv[2], yyYpv[4], NIL); break; case 108: yyval = tree5(T_IFEL, lineof(yyYpv[1]), yyYpv[2], yyYpv[4], yyYpv[6]); break; case 109: yyval = tree5(T_IFEL, lineof(yyYpv[1]), yyYpv[2], yyYpv[4], NIL); break; case 110: yyval = tree3(T_ASRT, lineof(yyYpv[1]), yyYpv[2]); break; case 111: { NSerror: yyval = NIL; Serror: yyPerror("Malformed statement", PSTAT); } break; case 112: yyval = tree4(T_ASGN, lineof(yyYpv[2]), yyYpv[1], yyYpv[4]); break; case 113: { NEerror: yyval = NIL; Eerror: yyPerror("Missing/malformed expression", PEXPR); } break; case 114: yyval = tree4(yyYpv[2], yyYpv[1][1] == SAWCON ? yyYpv[3][1] : yyYpv[1][1], yyYpv[1], yyYpv[3]); break; case 115: yyval = tree3(T_PLUS, yyYpv[2][1], yyYpv[2]); break; case 116: yyval = tree3(T_MINUS, yyYpv[2][1], yyYpv[2]); break; case 117: yyval = tree4(yyYpv[2], yyYpv[1][1] == SAWCON ? yyYpv[3][1] : yyYpv[1][1], yyYpv[1], yyYpv[3]); break; case 118: yyval = tree4(yyYpv[2], yyYpv[1][1] == SAWCON ? yyYpv[3][1] : yyYpv[1][1], yyYpv[1], yyYpv[3]); break; case 119: yyval = tree2(T_NIL, NOCON); break; case 120: yyval = tree3(T_STRNG, SAWCON, yyYpv[1]); break; case 121: yyval = tree3(T_INT, NOCON, yyYpv[1]); break; case 122: yyval = tree3(T_BINT, NOCON, yyYpv[1]); break; case 123: yyval = tree3(T_FINT, NOCON, yyYpv[1]); break; case 125: goto NEerror; break; case 126: yyval = tree3(T_FCALL, yyYpv[1], fixlist(yyYpv[3])); break; case 127: yyval = yyYpv[2]; break; case 128: yyval = tree3(T_NOT, NOCON, yyYpv[2]); break; case 129: yyval = tree3(T_CSET, SAWCON, fixlist(yyYpv[2])); break; case 130: yyval = tree3(T_CSET, SAWCON, NIL); break; case 131: yyval = newlist(yyYpv[1]); break; case 132: yyval = addlist(yyYpv[1], yyYpv[3]); break; case 134: yyval = tree3(T_RANG, yyYpv[1], yyYpv[3]); break; case 135: { yyval = setupvar(yyYpv[1], NIL); } break; case 136: yyYpv[1][3] = fixlist(yyYpv[1][3]); break; case 137: yyval = setupvar(yyYpv[1], tree2(T_ARY, fixlist(yyYpv[3]))); break; case 138: yyYpv[1][3] = addlist(yyYpv[1][3], tree2(T_ARY, fixlist(yyYpv[3]))); break; case 139: yyval = setupvar(yyYpv[1], tree3(T_FIELD, yyYpv[3], NIL)); break; case 140: yyYpv[1][3] = addlist(yyYpv[1][3], tree3(T_FIELD, yyYpv[3], NIL)); break; case 141: yyval = setupvar(yyYpv[1], tree1(T_PTR)); break; case 142: yyYpv[1][3] = addlist(yyYpv[1][3], tree1(T_PTR)); break; case 144: yyval = tree4(T_WEXP, yyYpv[1], yyYpv[3], NIL); break; case 145: yyval = tree4(T_WEXP, yyYpv[1], yyYpv[3], yyYpv[5]); break; case 146: yyval = tree4(T_WEXP, yyYpv[1], NIL, yyYpv[2]); break; case 147: yyval = tree4(T_WEXP, yyYpv[1], yyYpv[3], yyYpv[4]); break; case 148: yyval = OCT; break; case 149: yyval = HEX; break; case 150: yyval = newlist(yyYpv[1]); break; case 151: yyval = addlist(yyYpv[1], yyYpv[3]); break; case 152: yyval = newlist(yyYpv[1]); break; case 153: yyval = addlist(yyYpv[1], yyYpv[3]); break; case 154: yyval = T_EQ; break; case 155: yyval = T_LT; break; case 156: yyval = T_GT; break; case 157: yyval = T_NE; break; case 158: yyval = T_LE; break; case 159: yyval = T_GE; break; case 160: yyval = T_IN; break; case 161: yyval = T_ADD; break; case 162: yyval = T_SUB; break; case 163: yyval = T_OR; break; case 164: yyval = T_OR; break; case 165: yyval = T_MULT; break; case 166: yyval = T_DIVD; break; case 167: yyval = T_DIV; break; case 168: yyval = T_MOD; break; case 169: yyval = T_AND; break; case 170: yyval = T_AND; break; case 171: yyval = newlist(yyYpv[1]); break; case 172: yyval = addlist(yyYpv[1], yyYpv[3]); break; case 173: yyval = newlist(yyYpv[1]); break; case 174: yyval = addlist(yyYpv[1], yyYpv[3]); break; case 176: { yyval = tree3(T_TYID, lineof(yyline), yyYpv[1]); } break; } } int yyact[] {0,-286,8195,4096,0,16384,4096,12295,-256,8198 ,-273,8197,4096,-256,8201,-259,12315,-261,8207,-271 ,12315,-277,8206,-285,12315,-293,8208,-295,8209,4096 ,-40,8210,4096,12291,-259,8213,-271,8218,-285,8217 ,4096,12293,12294,12296,-256,8220,-259,12297,-261,12297 ,-271,12297,-273,8219,-277,12297,-285,12297,-293,12297 ,-295,12297,4096,-256,8222,-259,12298,-261,12298,-271 ,12298,-273,8221,-277,12298,-285,12298,-293,12298,-295 ,12298,4096,-256,8224,-259,12299,-261,12299,-271,12299 ,-273,8225,-277,12299,-285,12299,-293,12299,-295,12299 ,4096,-276,8227,4096,-256,8229,-273,8228,4096,-256 ,8231,-273,8230,4096,-256,8233,-273,8225,4096,-273 ,8225,4096,-46,8235,4096,12316,-256,8252,-259,8243 ,-260,8244,-267,12381,-269,8248,-272,8249,-273,8241 ,-274,8250,-276,8239,-288,8247,-296,8246,-297,8245 ,-301,8251,-59,12381,4096,-270,8258,12319,-273,8260 ,4096,12321,12322,-61,8261,4096,12306,-61,8262,4096 ,12310,-44,8264,-58,8263,4096,12314,12461,-59,8265 ,-44,8266,4096,12301,-61,8267,4096,12305,-61,8268 ,4096,12309,-44,8264,-58,8269,4096,12313,-41,8270 ,-44,8264,4096,12289,-267,8271,-59,8272,4096,12371 ,-256,8252,-259,8243,-260,8244,-267,12381,-269,8248 ,-272,8249,-273,8241,-274,8250,-276,8239,-288,8247 ,-294,12381,-296,8246,-297,8245,-301,8251,-59,12381 ,4096,-58,8274,4096,-40,8275,12383,-256,8276,-266 ,12470,-267,12470,-294,12470,-46,12468,-40,12470,-59 ,12470,-58,12423,-94,12467,-91,12466,4096,12386,-256 ,8279,-273,8288,-276,8284,-279,8291,-280,8286,-284 ,8282,-290,8283,-298,8285,-43,8280,-45,8281,-40 ,8290,-91,8292,4096,-273,8295,4096,-273,8295,4096 ,-276,8299,4096,12399,-58,8302,4096,-46,8304,-94 ,8305,-91,8303,12424,-91,8306,4096,-46,8307,4096 ,-94,8308,4096,-59,8309,4096,-256,8201,-259,12315 ,-261,8207,-271,12315,-277,8206,-285,12315,-293,8208 ,-295,8209,4096,-40,8312,12324,-273,8322,-276,8319 ,-280,8321,-290,8314,-298,8320,-43,8316,-45,8317 ,4096,-258,8331,-268,8332,-273,8335,-276,8319,-280 ,8321,-283,8327,-287,8334,-289,8333,-290,8314,-298 ,8320,-43,8316,-45,8317,-40,8329,-94,8325,4096 ,-273,8337,4096,12300,-276,8338,4096,-59,8342,4096 ,12292,12373,12372,-256,8279,-273,8288,-276,8284,-279 ,8291,-280,8286,-284,8282,-290,8283,-298,8285,-43 ,8280,-45,8281,-40,8290,-91,8292,4096,12385,-267 ,8347,-59,8272,4096,-257,8364,-262,8362,-275,8355 ,-278,8363,-281,8348,-282,8358,-60,8353,-61,8352 ,-62,8354,-43,8356,-45,8357,-124,8359,-42,8360 ,-47,8361,-38,8365,4096,12401,12407,12408,12409,12410 ,12411,12412,-256,8368,-257,12423,-262,12423,-263,12423 ,-264,12423,-265,12423,-266,12423,-267,12423,-275,12423 ,-278,12423,-281,12423,-282,12423,-291,12423,-292,12423 ,-294,12423,-299,12423,-300,12423,-60,12423,-61,12423 ,-62,12423,-43,12423,-45,12423,-124,12423,-42,12423 ,-47,12423,-38,12423,-46,12468,-40,12471,-41,12423 ,-59,12423,-44,12423,-58,12423,-94,12467,-91,12466 ,-93,12423,4096,-40,8369,4096,-256,8279,-273,8288 ,-276,8284,-279,8291,-280,8286,-284,8282,-290,8283 ,-298,8285,-43,8280,-45,8281,-40,8290,-91,8292 ,-93,8373,4096,-263,8376,-44,8377,4096,12459,-46 ,12468,-94,12467,-91,12466,12423,-257,8364,-262,8362 ,-263,8378,-275,8355,-278,8363,-282,8358,-60,8353 ,-61,8352,-62,8354,-43,8356,-45,8357,-124,8359 ,-42,8360,-47,8361,-38,8365,4096,-294,8379,-59 ,8272,4096,-265,8380,-292,8381,4096,12394,-257,8364 ,-262,8362,-275,8355,-278,8363,-282,8358,-291,8382 ,-60,8353,-61,8352,-62,8354,-43,8356,-45,8357 ,-124,8359,-42,8360,-47,8361,-38,8365,4096,-257 ,8364,-262,8362,-275,8355,-278,8363,-282,8358,-60 ,8353,-61,8352,-62,8354,-43,8356,-45,8357,-124 ,8359,-42,8360,-47,8361,-38,8365,12398,-61,8383 ,4096,-256,8279,-273,8288,-276,8284,-279,8291,-280 ,8286,-284,8282,-290,8283,-298,8285,-43,8280,-45 ,8281,-40,8290,-91,8292,4096,-273,8387,4096,12430 ,12429,12317,-259,8213,-271,8218,-285,8217,4096,-58 ,8392,12330,-271,8397,-273,8225,-285,8398,-295,8396 ,4096,-59,8399,4096,12333,12334,-273,8322,-276,8319 ,-280,8321,-298,8320,4096,12337,12338,12339,12340,12463 ,-59,8402,4096,12343,-273,8403,4096,12345,-258,8331 ,-268,8332,-287,8334,-289,8333,4096,12347,-264,8406 ,4096,-91,8407,4096,-281,8408,4096,-281,8409,4096 ,-273,8225,12360,-264,12463,12464,-59,8414,4096,12462 ,12302,-59,8415,4096,-59,8416,4096,-59,8417,4096 ,12290,12382,-41,8418,-44,8419,4096,12440,-257,8364 ,-262,8362,-275,8355,-278,8363,-282,8358,-299,8422 ,-300,8423,-60,8353,-61,8352,-62,8354,-43,8356 ,-45,8357,-124,8359,-42,8360,-47,8361,-38,8365 ,-58,8420,12431,12387,-256,8426,-267,12380,-273,8322 ,-276,8319,-280,8321,-290,8314,-298,8320,-302,8428 ,-43,8316,-45,8317,-59,12380,4096,12442,-61,8434 ,-62,8433,12443,-61,8435,12444,12448,12449,12450,12451 ,12452,12453,12454,12455,12456,12457,12458,-257,8364,-262 ,8362,-278,8363,-42,8360,-47,8361,-38,8365,12403 ,-257,8364,-262,8362,-278,8363,-42,8360,-47,8361 ,-38,8365,12404,12413,-257,8364,-262,8362,-275,8355 ,-278,8363,-282,8358,-60,8353,-61,8352,-62,8354 ,-43,8356,-45,8357,-124,8359,-42,8360,-47,8361 ,-38,8365,-41,8437,4096,12416,-44,8439,-93,8438 ,4096,12418,12419,-257,8364,-262,8362,-264,8440,-275 ,8355,-278,8363,-282,8358,-60,8353,-61,8352,-62 ,8354,-43,8356,-45,8357,-124,8359,-42,8360,-47 ,8361,-38,8365,12421,-273,8295,4096,-44,8450,-93 ,8449,4096,-257,8364,-262,8362,-275,8355,-278,8363 ,-282,8358,-60,8353,-61,8352,-62,8354,-43,8356 ,-45,8357,-124,8359,-42,8360,-47,8361,-38,8365 ,12438,12428,12469,-44,8450,-93,8451,4096,12427,-59 ,8452,4096,-59,8453,4096,-41,8455,-59,8456,4096 ,12331,-44,8264,-58,8457,4096,12304,12335,12336,12308 ,12344,12346,-41,8461,-44,8264,4096,-273,8335,-276 ,8319,-280,8321,-290,8314,-298,8320,-43,8316,-45 ,8317,-40,8329,4096,-273,8335,-276,8319,-280,8321 ,-290,8314,-298,8320,-43,8316,-45,8317,-40,8329 ,4096,-267,8467,4096,-256,8470,-260,8471,-267,12362 ,-41,12362,-59,8469,4096,12357,-44,8264,-58,8472 ,4096,12312,12303,12307,12311,12384,-256,8279,-273,8288 ,-276,8284,-279,8291,-280,8286,-284,8282,-290,8283 ,-298,8285,-43,8280,-45,8281,-40,8290,-91,8292 ,4096,12434,12436,12437,-256,8476,-267,8477,-59,8475 ,4096,12374,12376,-44,8478,-58,8479,4096,12341,-257 ,8364,-262,8362,-275,4096,-278,8363,-282,8358,-60 ,4096,-61,4096,-62,4096,-43,8356,-45,8357,-124 ,8359,-42,8360,-47,8361,-38,8365,12402,-257,8364 ,-262,8362,-278,8363,-42,8360,-47,8361,-38,8365 ,12405,12406,12445,12446,12447,-41,8481,-44,8419,4096 ,12415,12417,-256,8279,-273,8288,-276,8284,-279,8291 ,-280,8286,-284,8282,-290,8283,-298,8285,-43,8280 ,-45,8281,-40,8290,-91,8292,4096,12389,12460,12390 ,-257,8364,-262,8362,-275,8355,-278,8363,-282,8358 ,-60,8353,-61,8352,-62,8354,-43,8356,-45,8357 ,-124,8359,-42,8360,-47,8361,-38,8365,12391,-257 ,8364,-262,8362,-263,8484,-275,8355,-278,8363,-282 ,8358,-60,8353,-61,8352,-62,8354,-43,8356,-45 ,8357,-124,8359,-42,8360,-47,8361,-38,8365,4096 ,-257,8364,-262,8362,-263,8485,-275,8355,-278,8363 ,-282,8358,-60,8353,-61,8352,-62,8354,-43,8356 ,-45,8357,-124,8359,-42,8360,-47,8361,-38,8365 ,4096,-266,8486,12395,-257,8364,-262,8362,-275,8355 ,-278,8363,-282,8358,-60,8353,-61,8352,-62,8354 ,-43,8356,-45,8357,-124,8359,-42,8360,-47,8361 ,-38,8365,12400,12426,12425,12318,12320,12329,12323,-271 ,8397,-273,8225,-285,8398,-295,8396,4096,-44,8264 ,-58,8490,4096,-44,8264,-58,8491,4096,-44,8264 ,12328,12348,12349,-44,8493,-93,8492,4096,12354,12351 ,12352,12353,12356,-273,8225,12360,12359,-273,8496,4096 ,12441,-257,8364,-262,8362,-275,8355,-278,8363,-282 ,8358,-299,8422,-300,8423,-60,8353,-61,8352,-62 ,8354,-43,8356,-45,8357,-124,8359,-42,8360,-47 ,8361,-38,8365,-58,8498,12432,-273,8322,-276,8319 ,-280,8321,-290,8314,-298,8320,-302,8428,-43,8316 ,-45,8317,12380,12377,12388,12379,12414,12420,-257,8364 ,-262,8362,-275,8355,-278,8363,-282,8358,-60,8353 ,-61,8352,-62,8354,-43,8356,-45,8357,-124,8359 ,-42,8360,-47,8361,-38,8365,12422,-256,8252,-259 ,8243,-260,8244,-266,12381,-267,12381,-269,8248,-272 ,8249,-273,8241,-274,8250,-276,8239,-288,8247,-294 ,12381,-296,8246,-297,8245,-301,8251,-59,12381,4096 ,-257,8364,-262,8362,-275,8355,-278,8363,-282,8358 ,-60,8353,-61,8352,-62,8354,-43,8356,-45,8357 ,-124,8359,-42,8360,-47,8361,-38,8365,12439,12332 ,12325,-281,8508,4096,12358,-281,8510,4096,-58,8511 ,12464,12361,12435,12375,12342,12378,12392,12393,12396,12326 ,12327,12355,-273,8322,-276,8319,-280,8321,-290,8314 ,-298,8320,-43,8316,-45,8317,12368,-273,8518,4096 ,-257,8364,-262,8362,-275,8355,-278,8363,-282,8358 ,-60,8353,-61,8352,-62,8354,-43,8356,-45,8357 ,-124,8359,-42,8360,-47,8361,-38,8365,12433,12350 ,-256,8520,-267,12363,-41,12363,-59,8519,4096,12365 ,-44,8478,-58,8521,4096,-281,8522,4096,12464,-273 ,8322,-276,8319,-280,8321,-290,8314,-298,8320,-43 ,8316,-45,8317,12368,12367,-40,8524,4096,12366,-273 ,8225,-41,8527,12360,-256,8520,-267,12364,-41,12364 ,-59,8519,4096,-41,8528,4096,12370,12369,-1}; int yypact[] {0,1,4,7,8,13,30,33,34,41 ,42,43,44,63,82,101,104,109,114,119 ,122,125,126,155,7,158,161,162,163,166 ,167,170,171,176,177,178,183,184,187,188 ,191,192,197,198,203,204,209,210,241,244 ,247,268,126,269,294,269,126,297,300,269 ,269,303,304,307,314,317,320,323,326,343 ,346,361,361,390,393,394,346,361,361,397 ,400,401,402,210,403,428,429,434,465,269 ,269,466,467,468,469,470,471,472,543,269 ,269,546,573,578,579,586,617,622,627,628 ,659,688,691,716,719,691,716,720,721,722 ,729,732,741,744,745,746,746,755,756,757 ,758,759,760,763,764,767,768,777,119,778 ,781,784,787,790,793,796,799,800,801,804 ,807,810,811,812,817,818,853,854,269,269 ,269,877,878,883,886,887,888,889,890,891 ,892,893,894,895,896,897,910,923,403,924 ,955,956,961,962,963,210,994,210,269,269 ,269,210,269,997,1002,1031,1032,1033,1038,1039 ,1042,361,1045,1050,1051,119,119,119,1056,1057 ,1058,1059,1060,1061,1062,346,1067,361,1084,1101 ,1104,1115,1116,1121,1122,1123,1124,1125,1126,269 ,1151,1152,1153,1154,1161,1162,1163,210,1168,1169 ,1198,1211,1212,1213,1214,1215,1220,1221,1222,269 ,1247,1248,1249,1250,1279,1310,1341,1344,1373,269 ,1374,1375,1376,1377,1378,1379,361,1388,1393,1398 ,1401,1402,1403,1408,1409,1410,1411,1412,1413,1416 ,1417,361,1420,1421,1456,1473,1474,346,210,1475 ,1476,1477,1478,210,210,1507,1540,1569,1570,361 ,361,1571,1084,1574,1575,1578,1581,269,1582,1583 ,1584,1585,1586,1587,1588,1589,1590,361,1591,1592 ,1607,1610,1639,1640,1649,1650,1655,1658,1659,1674 ,1675,1592,1678,1679,1684,1693,1696,1697,-1}; int yyr1[] {0,1,2,2,5,3,3,3,8,8 ,8,8,9,13,13,10,10,10,10,11 ,11,11,11,12,12,12,12,4,4,16 ,16,18,17,19,19,20,20,23,23,23 ,23,21,21,22,22,14,14,14,14,24 ,24,24,24,26,26,15,15,15,15,27 ,27,27,28,28,28,28,30,30,31,32 ,32,32,34,34,33,33,33,35,35,35 ,36,36,36,7,7,38,39,39,39,39 ,40,40,40,37,37,37,37,37,37,37 ,37,37,37,37,37,37,37,37,37,37 ,37,37,43,44,44,44,44,44,44,44 ,44,44,44,44,44,44,44,44,44,44 ,44,51,51,52,52,46,46,53,53,53 ,53,53,53,59,59,59,59,59,60,60 ,55,55,42,42,47,47,47,47,47,47 ,47,48,48,48,48,49,49,49,49,49 ,49,45,45,6,6,25,29,61,54,58 ,56,57,41,50,-1}; int yyr2[] {0,5,6,2,3,2,2,0,1,1 ,1,1,3,1,3,5,5,2,2,5 ,5,2,2,5,5,2,2,0,2,3 ,5,1,5,1,1,3,0,3,4,4 ,2,2,0,1,3,1,1,2,2,1 ,1,1,1,1,3,1,2,1,2,1 ,3,3,6,3,3,3,1,3,2,1 ,3,2,0,3,0,4,6,1,3,2 ,0,5,4,1,2,2,1,3,1,2 ,3,2,0,0,3,1,4,2,1,3 ,5,4,4,4,6,6,2,4,6,5 ,2,1,4,1,3,2,2,3,3,1 ,1,1,1,1,1,2,4,3,2,3 ,2,1,3,1,3,1,1,4,4,3 ,3,2,2,1,3,5,2,4,1,1 ,1,3,1,3,1,1,1,2,2,2 ,1,1,1,1,1,1,1,1,1,1 ,1,1,3,1,3,1,1,1,1,1 ,1,1,1,1,-1}; int yygo[] {0,-1,1,-1,2,23,67,-1,4,67 ,118,-1,7,118,198,-1,19,13,31,17 ,40,18,42,120,203,137,213,204,266,205 ,267,206,268,264,203,-1,221,51,85,55 ,105,-1,44,-1,8,-1,10,-1,11,-1 ,12,-1,13,-1,34,69,121,75,147,156 ,237,214,270,283,237,286,309,318,237,327 ,237,330,237,-1,138,71,144,76,148,77 ,149,200,262,216,273,265,297,280,305,298 ,314,299,315,316,321,-1,131,-1,20,-1 ,22,-1,23,-1,24,-1,119,-1,199,-1 ,201,264,296,-1,202,124,208,125,209,-1 ,123,-1,126,156,235,283,235,-1,324,215 ,272,217,274,301,317,-1,132,135,212,-1 ,134,279,303,319,325,-1,136,-1,271,332 ,334,-1,218,-1,219,-1,276,277,302,-1 ,220,330,333,-1,322,327,331,-1,323,46 ,81,82,151,184,249,186,251,190,255,236 ,288,287,310,292,311,293,312,294,313,-1 ,45,-1,46,-1,232,283,308,-1,233,-1 ,48,177,244,-1,152,56,106,-1,50,52 ,86,54,104,58,108,59,109,88,174,89 ,175,98,178,99,179,100,183,111,193,114 ,193,157,238,158,239,159,240,187,252,188 ,253,189,254,191,256,228,282,247,183,248 ,291,258,295,306,320,-1,154,-1,101,21 ,61,46,61,51,61,53,102,55,61,56 ,61,82,61,184,61,185,250,186,61,190 ,61,236,61,287,61,292,61,293,61,294 ,61,-1,95,-1,157,-1,158,-1,159,-1 ,97,-1,180,247,290,-1,182,-1,62,-1 ,63,114,196,-1,192,-1,64,115,197,-1 ,194,-1,65,227,281,-1,153,282,307,-1 ,229,-1,-1,-1}; int yypgo[] {0,1,3,5,9,13,17,37,43,45 ,47,49,51,53,55,75,97,99,101,103 ,105,107,109,111,115,121,123,129,137,141 ,147,149,153,155,157,161,165,169,191,193 ,195,199,201,205,209,257,259,293,295,297 ,299,301,303,307,309,311,315,317,321,323 ,327,331,-1}; yyEactr(__np__, var) int __np__; char *var; { switch(__np__) { default: return (1); case 175: return (identis(var, CONST)); break; case 177: return (identis(var, VAR)); break; case 178: return (identis(var, ARRAY)); break; case 179: return (identis(var, PTRFILE)); break; case 180: return (identis(var, RECORD)); break; case 181: return (identis(var, FIELD)); break; case 182: return (identis(var, PROC)); break; case 183: return (identis(var, FUNC)); break; case 135: { return (identis(var, VAR)); } break; case 176: { return (identis(var, TYPE)); } break; } } y.tab.hèÁϤ�d# # define YAND 257 # define YARRAY 258 # define YBEGIN 259 # define YCASE 260 # define YCONST 261 # define YDIV 262 # define YDO 263 # define YDOTDOT 264 # define YTO 265 # define YELSE 266 # define YEND 267 # define YFILE 268 # define YFOR 269 # define YFORWARD 270 # define YFUNCTION 271 # define YGOTO 272 # define YID 273 # define YIF 274 # define YIN 275 # define YINT 276 # define YLABEL 277 # define YMOD 278 # define YNOT 279 # define YNUMB 280 # define YOF 281 # define YOR 282 # define YPACKED 283 # define YNIL 284 # define YPROCEDURE 285 # define YPROG 286 # define YRECORD 287 # define YREPEAT 288 # define YSET 289 # define YSTRING 290 # define YTHEN 291 # define YDOWNTO 292 # define YTYPE 293 # define YUNTIL 294 # define YVAR 295 # define YWHILE 296 # define YWITH 297 # define YBINT 298 # define YOCT 299 # define YHEX 300 # define YASSERT 301 # define YCASELAB 302 # define YILLCH 303 # define YLAST 304 # define UNARYSIGN 305 /* * GLOBALS FOR ACTIONS */ /* * The following line marks the end of the yacc * Constant definitions which are removed from * y.tab.c and placed in the file y.tab.h. */ yy.h$¤‘n# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "y.tab.h" /* * INPUT/OUTPUT */ /* * The buffer for the input file is normally "ibuf". * When files are included, however, this may be * pushed down in the stack of currently active * files. For this reason, the pointer ibp always * references the i/o buffer of the current input file. */ int ibuf[259], *ibp; /* * Line and token buffers. Charbuf is the character buffer for * input lines, token the buffer for tokens returned * by the scanner. CBSIZE defines the maximum line * length allowed on input and is doubtless too small. * The token buffer should be a local array in yylex. */ #define CBSIZE 161 char charbuf[CBSIZE], *bufp, token[CBSIZE]; #define digit(c) (c >= '0' && c <= '9') #define alph(c) ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')) /* * Flag to prevent reprinting current line after * an error. */ char yyprtd; /* * The following variables are maintained by * the scanner in the file lex and used in scanning * and in parsing. * * The variable yychar is the current scanner character. * Currently, the scanner must be called as * yychar = yylex() * even though it should set yychar itself. * Yychar has value YEOF at end of file, and negative value if * there is no yychar, e.g. after a shift in the parser. * * The variable yycol is the current column in the line whose number * is given by yyline. Yyecol and yyeline give the position for an * error message to flag, usually the start of an input token. * Yylval is the semantic return from the scanner. * * In fact all of these variables are "per token". * In the usual case, only the copies in the scanner token structure * 'Y' are used, and the #defines below serve to make them look * like variables. * * For the purposes of the error recovery, however, they are copied * and restored quite freely. For the error recovery also, the * file name which the input line this token is on and the seek * pointer of this line in its source file are saved as yyefile * and yyseekp. The global variable yylinpt is the seek pointer * of the current input line. */ int yycol; int yyline; int yyseqid; int yysavc; int yylinpt; /* *** NOTE *** * It would be much better to not have the Yyeline and Yyefile * in the scanner structure and to have a mechanism for mapping * seqid's to these globally. */ struct yytok { int Yychar; int Yylval; int Yyecol; int Yyeline; int Yyseekp; char *Yyefile; int Yyeseqid; } Y, OY; #define yychar Y.Yychar #define yylval Y.Yylval #define yyecol Y.Yyecol #define yyeline Y.Yyeline #define yyseekp Y.Yyseekp #define yyefile Y.Yyefile #define yyeseqid Y.Yyeseqid /* * Yyval is the semantic value returned by a reduction. * It is what "$$" is expanded to by yacc. */ int *Ps, *yyval; /* * N is the length of a reduction. * Used externally by "lineof" to get the left and * right margins for a reduction. */ int N; /* * Definitions for looking up keywords. * The keyword array is called yykey, and * lastkey points at the end of it. */ char *lastkey; struct kwtab { char *kw_str; int kw_val; } yykey[]; /* * ERROR RECOVERY EXTERNALS */ #define CLIMIT 40 /* see yyrecover.c */ long tokname(); long charname(); char *classes[]; /* * Tokens which yacc doesn't define */ #define YEOF 0 #define ERROR 256 /* * Limit on the number of syntax errors */ #define MAXSYNERR 100 /* * Big costs */ #define HUGE 50 #define INFINITY 100 /* * Kinds of panics */ #define PDECL 0 #define PSTAT 1 #define PEXPR 2 #define PPROG 3 #define yyresume() yyResume = 1; char yyResume; char dquote; char errout; /* * Yyidwant and yyidhave are the namelist classes * of identifiers associated with a identifier reduce * error, set before the recovery is called. * Since they may be set again during the forward move * they must be saved by yyrecover, which uses them in printing * error messages. */ int yyidhave, yyidwant; /* * The variables yy*shifts are used to prevent looping and the printing * of spurious messages in the parser. Yyshifts gives the number of * true input shifts since the last corrective action. YyOshifts * is the value of yyshifts before it was last cleared, and is used * by yyPerror in yypanic.c to suppress messages. * * Yytshifts counts true input shifts. It is used to prevent looping * inserting unique symbols. If yytshifts == yyTshifts (local to * yyrecover.c) then there has been no shift over true input since * the last unique symbol insertion. We refuse, in this case, * to insert more unique symbols so as to prevent looping. * * The recovery cannot loop because it guarantees the progress of the * parse, i.e.: * * 1) Any insertion guarantees to shift over 2 symbols, a replacement * over one symbol. * * 2) Unique symbol insertions are limited to one for each true * symbol of input, or "safe" insertion of the keywords "end" * and "until" at zero cost (safe since these are know to match * stack that cannot have been generated - e.g. "begin" or "repeat") * * 3) We never panic more than once from a given state without * shifting over input, i.e. we force the parse stack to shrink * after each unsuccessful panic. */ int yyshifts, yyOshifts; unsigned yytshifts; #ifdef PXP /* * Identifier class definitions */ #define UNDEF 0 #define CONST 1 #define TYPE 2 #define VAR 3 #define ARRAY 4 #define PTRFILE 5 #define RECORD 6 #define FIELD 7 #define PROC 8 #define FUNC 9 #define FVAR 10 #define REF 11 #define PTR 12 #define FILE 13 #define SET 14 #define RANGE 15 #define LABEL 16 #define WITHPTR 17 #define SCAL 18 #define STR 19 #define PROG 20 #define IMPROPER 21 /* * COMMENT FORMATTING DEFINITIONS */ /* * Count of tokens on this input line * Note that this can be off if input is not syntactically correct. */ int yytokcnt; int yywhcnt; /* * Types of comments */ #define CLMARG 0 #define CALIGN 1 #define CTRAIL 2 #define CRMARG 3 #define CSRMARG 4 #define CNL 5 #define CNLBL 6 #define CFORM 7 #define CINCLUD 8 /* * Comment structure * Cmhp is the head of the current list of comments */ struct comment { struct comment *cmnext; int cmdelim; struct commline *cml; int cmjust; int cmseqid; } *cmhp; /* * Structure for holding a comment line */ struct commline { char *cmtext; int cmcol; /* Only used for first line of comment currently */ struct commline *cml; }; struct W { int Wseqid; int Wcol; } yyw[MAXDEPTH + 1], *yypw; #define commform() quickcomm(CFORM) #define commnl() quickcomm(CNL) #define commnlbl() quickcomm(CNLBL) #endif yycomm.cÞÛ9¤‘µ!# /* * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977  */ #include "whoami" #include "0.h" #include "yy.h" /* * COMMENT PROCESSING CLUSTER * * The global organization of this cluster is as follows. * While parsing the program information is saved in the tree which * tells the source text coordinates (sequence numbers and columns) * bounding each production. The comments from the source program * are also saved, with information about their source text position * and a classification as to their kind. * * When printing the reformatted program we flush out the comments * at various points using the information in the comments and the parse * tree to "resynchronize". A number of special cases are recognized to * deal with the vagarities of producing a true "fixed point" so that * a prettyprinted program will re-prettyprint to itself. */ /* * Save sequence id's and column markers bounding a production * for later use in placing comments. We save the sequence id * and column of the leftmost token and the following token, and * the sequence id of the last token in this reduction. * See putcm, putcml, and putcmp below for motivation. */ lineof(l) int l; { return(tree(6, l, yypw[1].Wseqid, yypw[1].Wcol, yyseqid, yycol, yypw[N].Wseqid)); } /* * After a call to setline, Seqid is set to the sequence id * of the symbol which followed the reduction in which the * lineof call was embedded, Col to the associated column, * and LSeqid to the sequence id of the last symbol in the reduction * (Note that this is exact only if the last symbol was a terminal * this is always true when it matters.) */ int Seqid, Col, LSeqid; /* * Retrieve the information from a call to lineof before beginning the * output of a tree from a reduction. First flush to the left margin * of the production, and then set so that later calls to putcm, putcml * and putcmp will deal with the right margin of this comment. * * The routine setinfo is called when the lineof has no embedded line * number to avoid trashing the current "line". * * The routine setinfo is often called after completing the output of * the text of a tree to restore Seqid, Col, and LSeqid which may have * been destroyed by the nested processing calls to setline. * In this case the only effect of the call to setinfo is to * modify the above three variables as a side effect. * * We return a word giving information about the comments which were * actually put out. See putcm for details. */ setline(ip) int *ip; { line = ip[0]; return(setinfo(ip)); } setinfo(ip) register int *ip; { register int i; ip++; Seqid = *ip++; Col = *ip++; i = putcm(); Seqid = *ip++; Col = *ip++; LSeqid = *ip++; return (i); } char cmeof, incomm; /* * Get the text of a comment from the input stream, * recording its type and linking it into the linked * list of comments headed by cmhp. */ getcm(cmdelim) char cmdelim; { int cmjust, col; register struct comment *cp; register struct commline *kp; incomm = 1; if (cmdelim == '*' && yycol == 10 || cmdelim == '{' && yycol == 9) cmjust = CLMARG; else if (yytokcnt <= 1) cmjust = CALIGN; else if (yywhcnt < 2) cmjust = CTRAIL; else cmjust = CRMARG; col = yycol - (cmdelim == '{' ? 1 : 2); cp = tree5(NIL, cmdelim, NIL, cmjust, yyseqid); cmeof = 0; do { kp = getcmline(cmdelim); if (cp->cml == NIL) { kp->cml = kp; kp->cmcol = col; } else { kp->cml = cp->cml->cml; cp->cml->cml = kp; switch (cp->cmjust) { case CTRAIL: case CRMARG: cp->cmjust = CALIGN; } } cp->cml = kp; } while (!cmeof); newcomm(cp); incomm = 0; } /* * Chain the new comment at "cp" onto the linked list of comments. */ newcomm(cp) register struct comment *cp; { if (cmhp == NIL) cp->cmnext = cp; else { cp->cmnext = cmhp->cmnext; cmhp->cmnext = cp; } cmhp = cp; } int nilcml[3]; quickcomm(t) int t; { if (incomm) return; newcomm(tree5(nilcml, NIL, NIL, t, yyseqid)); } commincl(cp, ch) char *cp, ch; { newcomm(tree5(nilcml, savestr(cp), ch, CINCLUD, yyseqid)); } getcmline(cmdelim) char cmdelim; { char lastc; register char *tp; register CHAR c; register struct commline *kp; c = getchar(); kp = tree3(NIL, yycol, NIL); tp = token; lastc = 0; for (;;) { switch (c) { case '}': if (cmdelim == '{') goto endcm; break; case ')': if (cmdelim == '*' && lastc == '*') { --tp; goto endcm; } break; case '\n': goto done; case -1: yerror("Comment does not terminate - QUIT"); pexit(ERRS); } lastc = c; *tp++ = c; c = getchar(); } endcm: cmeof++; done: *tp = 0; kp->cmtext = copystr(token); return (kp); } /* * Flush through the line this token is on. * Ignore if next token on same line as this one. */ putcml() { register int i, SSeqid, SCol; if (Seqid == LSeqid) return; SSeqid = Seqid, SCol = Col; Seqid = LSeqid, Col = 32767; i = putcm(); Seqid = SSeqid, Col = SCol; return (i); } /* * Flush to the beginning of the line this token is on. * Ignore if this token is on the same line as the previous one * (effectively since all such already then flushed.) */ putcmp() { register int i, SSeqid, SCol; SSeqid = Seqid, SCol = Col; Seqid = LSeqid, Col = 0; i = putcm(); Seqid = SSeqid, Col = SCol; return (i); } /* * Put out the comments to the border indicated by Seqid and Col */ putcm() { register struct comment *cp; register int i; cp = cmhp; if (cp == NIL) return (0); i = 0; cp = cp->cmnext; while (cp->cmseqid < Seqid || cp->cmseqid == Seqid && cp->cml->cmcol < Col) { putone(cp); i =| 1 << cp->cmjust; if (cp->cmnext == cp) { cmhp = NIL; break; } cp = cp->cmnext; cmhp->cmnext = cp; } return (i); } /* * Put out one comment. * Note that empty lines, form feeds and #include statements * are treated as comments are regurgitated here. */ putone(cp) register struct comment *cp; { register struct commline *cml, *cmf; align(cp); switch (cp->cmjust) { case CINCLUD: /* ppflush() */ if (noinclude == 0) { putchar('\f'); return; } printf("#include %c%s%c", cp->cml, cp->cmdelim, cp->cml); return; } if (stripcomm) return; switch (cp->cmjust) { case CFORM: ppop("\f"); ppnl(); case CNL: case CNLBL: return; } ppbra(cp->cmdelim == '{' ? "{" : "(*"); cmf = cp->cml->cml; ppid(cmf->cmtext); for (cml = cmf->cml; cml != cmf; cml = cml->cml) { align(cp); oneline(cmf->cmcol, cml); } ppket(cp->cmdelim == '{' ? "}" : "*)"); } /* * Do the preliminary horizontal and vertical * motions necessary before beginning a comment, * or between lines of a mult-line comment. */ align(cp) register struct comment *cp; { switch (cp->cmjust) { case CNL: ppsnl(); break; case CNLBL: ppsnlb(); break; case CFORM: case CINCLUD: ppnl(); break; case CLMARG: ppnl(); if (profile) putchar('\t'); break; case CALIGN: ppnl(); indent(); break; case CTRAIL: ppspac(); break; case CRMARG: case CSRMARG: pptab(); break; } } /* * One line of a multi-line comment * Deal with alignment and initial white space trimming. * The "margin" indicates where the first line of the * comment began... don't print stuff in this comment * which came before this. */ oneline(margin, cml) int margin; struct commline *cml; { register char *tp; register int i; for (i = 8, tp = cml->cmtext; i < margin && *tp; tp++) switch (*tp) { case ' ': i++; continue; case '\t': i =+ 8; i =& ~7; if (i < margin) continue; ppop("\t"); default: goto out; } out: ppid(tp); } /* * Flush all comments */ flushcm() { Seqid = 32767; return(putcm()); } #define BLANKS ((1 << CNL) | (1 << CNLBL) | (1 << CFORM)) noblank(i) int i; { return ((i & BLANKS) == 0); } int needform, neednlbl, neednl, needseqid; needtree() { register struct comment *cp; needform = neednlbl = neednl = 0; cp = cmhp; if (cp == NIL) return (0); do { switch (cp->cmjust) { case CNL: neednl++; goto seq; case CNLBL: neednlbl++; goto seq; case CFORM: needform++; seq: needseqid = cp->cmseqid; break; default: neednl = neednlbl = needform = 0; return (1); } cp = cp->cmnext; } while (cp != cmhp); cmhp = NIL; return (0); } packtree() { int save; save = yyseqid; yyseqid = needseqid; for (; needform > 0; needform--) commform(); for (; neednl > 0; neednl--) commnl(); for (; neednlbl > 0; neednlbl--) commnlbl(); yyseqid = save; } yycopy.sâ#„¤�Ý.globl _Y, _OY, _OYcopy /.globl _Ycopy _OYcopy: mov $_OY,r0 mov $_Y,r1 mov r2,-(sp) /0: mov $8.,r2 1: mov (r1)+,(r0)+ sob r2,1b mov (sp)+,r2 rts pc / /_Ycopy: / mov 2(sp),r0 / mov 4(sp),r1 / mov r2,-(sp) / br 0b ryycosts.cëL¤‘˜# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" /* * Symbol costs for Pascal. * * Cost strategy of August 14, 1977. * * The costs determined by the routines in this file are used by * the recovery in choosing appropriate corrections. * The cost vectors and the error productions in the grammar * work together to define the corrective capacity of the grammar. * * The costs here largely derive from those given in Steve Rhode's * thesis for the Pascal-I error correcting parser which he implemented. * Some minor changes have been made to adjust for the fact that * the current error recovery is not as "smart", both because of the * limited forward move and because of the lack of any type information * about identifiers. * * These adjustments largely take the form of increased costs for certain * tokens, noticeably keywords which are major brackets such as "begin" * "label", "procedure", etc. * * The overall weighting strategy is still similar to Rhodes' strategy. * The costs can be considered: * * LOW <= 3 * MEDIUM 4 or 5 * HIGH >= 6 */ /* * Insertion costs * * In addition to the normal symbol insertion costs, * there are zero cost insertions here. * The current error recovery system treats symbols * which have zero insertion cost in a special way, * inserting them but suppressing diagnostics. * This allows the system to hold of on bracketing * error diagnostics about missing end's until the * reduction occurs which knows the line number of the * corresponding "begin", "repeat", etc. * A more intelligent and useful diagnostic can then * be printed. * * Although this routine never allows the insertion * of the keyword begin, it can be inserted after a * procedure or function body starts, if it was omitted * by a special case in the panic routine, which notices * the keywords in the statement body of the procedure * and inserts the begin to recover. * * Similarly, we do not insert end-of-file, but * the fact that end-of-file is the unique input * is noticed by the recovery routines as a special * case and handled there. */ inscost(sy, before) int sy, before; { switch (before) { case YPROCEDURE: case YFUNCTION: case YEND: switch (sy) { case YEND: if (before == YEND) break; case YUNTIL: return (0); } } switch (sy) { case ';': return (1); case ',': case ':': case YOF: case YDO: return (2); case YARRAY: case '+': case '*': return (3); default: return (4); case '^': case YNOT: case YLABEL: case YCONST: case YTYPE: case YVAR: case YUNTIL: case '(': case '[': case YWHILE: case YWITH: case YASSERT: return (5); case YPROCEDURE: case YFUNCTION: case YCASE: return (6); case YEND: return (8); case YBEGIN: case YEOF: case YREPEAT: case YRECORD: return (INFINITY); } } /* * Replacement costs * * Most replacement costs are the same as an insertion * plus a deletion cost. One special case is the replacement * of a large number of keywords by an identifier. * These are given lower costs, especially the keyword "to". */ repcost(what, with) int what, with; { register int c; if (with == what) return (INFINITY); if (with == YID && what > ERROR) switch (what) { case YID: case YDOTDOT: case YINT: case YBINT: case YSTRING: case YNUMB: break; case YTO: return (3); default: return (5); case YRECORD: case YTHEN: return (6); case YBEGIN: break; } if (what == ';') switch (with) { case ',': case '.': return (CLIMIT - 1); } c = delcost(what) + inscost(with); /* * It costs extra to replace something which has * semantics by something which doesn't. */ if (nullsem(what) == NIL && nullsem(with) != NIL) c =+ 4; return (c); } /* * Deletion costs */ delcost(what) int what; { switch (what) { case '.': case ':': case ',': case '=': case '(': return (3); case YELSE: case YTHEN: return (4); default: return (5); case YLABEL: case YCONST: case YTYPE: case YVAR: return (10); case YPROCEDURE: case YFUNCTION: case YBEGIN: case YEND: return ((CLIMIT * 3) / 4); case ';': case YEOF: return (INFINITY); } } #ifdef DEBUG /* * Routine to print out costs with "-C" option. */ char yysyms[] ";,:=*+/-|&()[]<>~^"; yycosts() { register int c; register char *cp; printf("Insert\tDelete\tRep(ID)\tSymbol\n"); for (cp = yysyms; *cp; cp++) yydocost(*cp); for (c = ERROR + 1; c < YLAST; c++) yydocost(c); #ifdef PXP flush(); #endif } yydocost(c) int c; { printf("%4d\t", inscost(c, -1)); printf("%4d\t", delcost(c)); if (repcost(c, YID) != inscost(YID) + delcost(c)) printf("%4d", repcost(c, YID)); printf("\t%s%s\n", charname(c)); } #endif yyerror.cëL¤�›# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" /* * Yerror prints an error * message and then returns * NIL for the tree if needed. * The error is flagged on the * current line which is printed * if the listing is turned off. #ifdef PXP * * As is obvious from the fooling around * with fout below, the Pascal system should * be changed to use the new library "lS". #endif */ yerror(s, a1, a2, a3, a4, a5) char *s; { #ifdef PI char buf[256]; #endif register int i, j; static yySerrs; #ifdef PXP int ofout; #endif if (errpfx == 'w' && opt('w') != 0) return; #ifdef PXP xflush(); ofout = fout[0]; fout[0] = errout; #endif yyResume = 0; #ifdef PI geterr(s, buf); s = buf; #endif yysync(); putchar(errpfx); putchar(' '); for (i = 3; i < yyecol; i++) putchar('-'); printf("^--- "); /* if (yyecol > 60) printf("\n\t"); */ printf(s, a1, a2, a3, a4, a5); putchar('\n'); if (errpfx == 'E') #ifdef PI eflg++, cgenflg++; #endif #ifdef PXP eflg++; #endif errpfx = 'E'; yySerrs++; if (yySerrs >= MAXSYNERR) { yySerrs = 0; yerror("Too many syntax errors - QUIT"); pexit(ERRS); } #ifdef PXP xflush(); fout[0] = ofout; return (0); #endif } /* * A bracketing error message */ brerror(where, what) int where; char *what; { if (where == 0) { line = yyeline; setpfx(' '); error("End matched %s on line %d", what, where); return; } if (where < 0) where = -where; yerror("Inserted keyword end matching %s on line %d", what, where); } +yyget.cëL¤‘f# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" #ifdef PXP int yytokcnt; #endif /* * Getchar returns the next * character from the current * input line or -1 on end-of-file. * It also maintains yycol for use in * printing error messages. */ getchar() { register i, c; if (*bufp == '\n') { #ifdef PXP yytokcnt = 0; #endif if (getline() < 0) return (-1); } c = *++bufp; if (c == '\t') yycol = ((yycol + 8) & ~7); else yycol++; return (c); } /* * Definitions of the structures used for the * include facility. The variable "ibp" points * to the getc buffer of the current input file. * There are "inclev + 1" current include files, * and information in saved in the incs stack * whenever a new level of include nesting occurs. * * Ibp in the incs structure saves the pointer * to the previous levels input buffer; * filename saves the previous file name; * Printed saves whether the previous file name * had been printed before this nesting occurred; * and yyline is the line we were on on the previous file. */ int *ibp ibuf; #define MAXINC 10 struct inc { int *ibp; char *filename; int Printed; int yyline; int yyLinpt; } incs[MAXINC]; extern char printed; int inclev -1; #ifdef PXP /* * These initializations survive only if * pxp is asked to pretty print one file. * Otherwise they are destroyed by the initial * call to getline. */ char charbuf[CBSIZE] " program x(output);\n"; int yycol 8; char *bufp charbuf; #endif /* * YyLinpt is the seek pointer to the beginning of the * next line in the file. */ int yyLinpt; /* * Getline places the next line * from the input stream in the * line buffer, returning -1 at YEOF. */ getline() { register char *cp; register CHAR c; #ifdef PXP static char ateof; #endif register int *ib; int i; if (opt('l') && yyprtd == 0) yyoutline(); yyprtd = 0; top: yylinpt = yyLinpt; yyline++; yyseqid++; cp = charbuf; ib = ibp; i = sizeof charbuf - 1; for (;;) { c = getc(ib); if (c == -1) { if (uninclud()) goto top; #ifdef PXP if (ateof == 0 && bracket) { strcpy(charbuf, "begin end.\n"); ateof = 1;  goto out; } #endif bufp = "\n"; yyline--; yyseqid--; yyprtd = 1; return (-1); } *cp++ = c; if (c == '\n') break; if (--i == 0) { line = yyline; error("Input line too long - QUIT"); pexit(DIED); } } *cp = 0; yyLinpt = yylinpt + cp - charbuf; if (includ()) goto top; #ifdef PXP if (cp == &charbuf[1]) commnl(); else if (cp == &charbuf[2]) switch (charbuf[0]) { case ' ': commnlbl(); break; case '\f': commform(); } #endif if (opt('u')) setuflg(); out: bufp = charbuf - 1; yycol = 8; return (1); } /* * Check an input line to see if it is a "#include" pseudo-statement. * We allow arbitrary blanks in the line and the file name * may be delimited by either 's or "s. A single semicolon * may be placed after the name, but nothing else is allowed */ includ() { register char *cp, *dp; char ch; register struct inc *ip; cp = charbuf; if (*cp++ != '#') return (0); cp = skipbl(cp); for (dp = "include"; *dp; dp++) if (*dp != *cp++) return (0); line = yyline; cp = skipbl(cp); ch = *cp++; if (ch != '\'' && ch != '"') { /* * This should be a yerror flagging the place * but its not worth figuring out the column. */ line = yyline; error("Include syntax error - expected ' or \" not found - QUIT"); pexit(DIED); } for (dp = cp; *dp != ch; dp++) if (*dp == 0) { line = yyline; error("Missing closing %c for include file name - QUIT", ch); pexit(DIED); } *dp++ = 0; if (*dp == ';') dp++; dp = skipbl(dp); if (*dp != '\n') { line = yyline; error("Garbage after filename in include"); pexit(DIED); } if (!dotted(cp, 'i')) { line = yyline; error("Include filename must end in .i"); } #ifdef PXP commincl(cp, ch); if (noinclude) return (1); #endif inclev++; if (inclev > MAXINC) { line = yyline; error("Absurdly deep include nesting - QUIT"); pexit(DIED); } ip = &incs[inclev]; ip->filename = filename; filename = savestr(cp); cp = alloc(518); if (cp == -1) { error("Ran out of memory (include)"); pexit(DIED); } if (fopen(filename, cp) < 0) { perror(filename); pexit(DIED); } if (inpflist(filename)) { #ifdef PI opush('l'); #endif #ifdef PXP opush('z'); #endif } ip->Printed = printed; printed = 0; ip->yyline = yyline; yyline = 0; ip->yyLinpt = yyLinpt; yyLinpt = 0; ip->ibp = ibp; ibp = cp; return (1); } skipbl(ocp) char *ocp; { register char *cp; cp = ocp; while (*cp == ' ' || *cp == '\t') cp++; return (cp); } /* * At the end of an include, * close the file, free the input buffer, * and restore the environment before * the "push", including the value of * the z option for pxp and the l option for pi. */ uninclud() { register struct inc *ip; if (inclev < 0) return (0); close(ibp[0]); free(ibp); ip = &incs[inclev]; ibp = ip->ibp; yyline = ip->yyline; if (inpflist(filename)) { #ifdef PI opop('l'); #endif #ifdef PXP opop('z'); #endif } filename = ip->filename; yyLinpt = ip->yyLinpt; /* * If we printed out the nested name, * then we should print all covered names again. * If we didn't print out the nested name * we print the uncovered name only if it * has not been printed before (unstack). */ if (printed) { printed = 0; while (ip >= incs) { ip->Printed = 0; ip--; } } else printed = ip->Printed; inclev--; return (1); } yyid.cëL¤‘†# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" #ifdef PI extern int *yypv; /* * Determine whether the identifier whose name * is "cp" can possibly be a kind, which is a * namelist class. We look through the symbol * table for the first instance of cp as a non-field, * and at all instances of cp as a field. * If any of these are ok, we return true, else false. * It would be much better to handle with's correctly, * even to just know whether we are in a with at all. * * Note that we don't disallow constants on the lhs of assignment. */ identis(cp, kind) register char *cp; int kind; { register struct nl *p; int i; /* * Cp is NIL when error recovery inserts it. */ if (cp == NIL) return (1); /* * Record kind we want for possible later use by yyrecover */ yyidwant = kind; yyidhave = NIL; i = cp & 077; for (p = disptab[i]; p != NIL; p = p->nl_next) if (p->symbol == cp) { if (yyidok(p, kind)) goto gotit; if (p->class != FIELD && p->class != BADUSE) break; } if (p != NIL) for (p = p->nl_next; p != NIL; p = p->nl_next) if (p->symbol == cp && p->class == FIELD && yyidok(p, kind)) goto gotit; return (0); gotit: if (p->class == BADUSE && !Recovery) { yybadref(p, OY.Yyeline); yypv[0] = NIL; } return (1); } /* * A bad reference to the identifier cp on line * line and use implying the addition of kindmask * to the mask of kind information. */ yybaduse(cp, line, kindmask) register char *cp; int line, kindmask; {  register struct nl *p, *oldp; int i; i = cp & 077; for (p = disptab[i]; p != NIL; p = p->nl_next) if (p->symbol == cp) break; oldp = p; if (p == NIL || p->class != BADUSE) p = enter(defnl(cp, BADUSE, 0, 0)); p->value[NL_KINDS] =| kindmask; yybadref(p, line); return (oldp); } struct udinfo ud { -1, -1, 0}; /* * Record a reference to an undefined identifier, * or one which is improperly used. */ yybadref(p, line) register struct nl *p; int line; { register struct udinfo *udp; if (p->chain != NIL && p->chain->ud_line == line) return; udp = esavestr(&ud); udp->ud_line = line; udp->ud_next = p->chain; p->chain = udp; } #define varkinds ((1<class == BADUSE) { if (kind == VAR) return (p->value[0] & varkinds); return (p->value[0] & (1 << kind)); } if (yyidok1(p, kind)) return (1); if (yyidhave != NIL) yyidhave = IMPROPER; else yyidhave = p->class; return (0); } yyidok1(p, kind) register struct nl *p; int kind; { int i; switch (kind) { case FUNC: if (p->class == FVAR) return(1); case CONST: case TYPE: case PROC: case FIELD: return (p->class == kind); case VAR: return (p->class == CONST || yyisvar(p, NIL)); case ARRAY: case RECORD: return (yyisvar(p, kind)); case PTRFILE: return (yyisvar(p, PTR) || yyisvar(p, FILE)); } } yyisvar(p, class) register struct nl *p; int class; { switch (p->class) { case FIELD: case VAR: case REF: case FVAR: /* * We would prefer to return * parameterless functions only. */ case FUNC: return (class == NIL || (p->type != NIL && p->type->class == class)); } return (0); } #endif #ifdef PXP #ifndef DEBUG identis() { return (1); } #endif #ifdef DEBUG extern char *classes[]; char kindchars[] "UCTVAQRDPF"; /* * Fake routine "identis" for pxp when testing error recovery. * Looks at letters in variable names to answer questions * about attributes. Mapping is * C const_id * T type_id * V var_id also if any of AQRDF * A array_id * Q ptr_id * R record_id * D field_id D for "dot" * P proc_id * F func_id */ identis(cp, kind) register char *cp; int kind; { register char *dp; char kindch; /* * Don't do anything unless -T */ if (!typetest) return (1); /* * Inserted symbols are always correct */ if (cp == NIL) return (1); /* * Set up the names for error messages */ yyidwant = classes[kind]; for (dp = kindchars; *dp; dp++) if (any(cp, *dp)) { yyidhave = classes[dp - kindchars]; break; } /* * U in the name means undefined */ if (any(cp, 'U')) return (0); kindch = kindchars[kind]; if (kindch == 'V') for (dp = "AQRDF"; *dp; dp++) if (any(cp, *dp)) return (1); return (any(cp, kindch)); } #endif #endif yylex.cëL¤‘X# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" /* * Scanner */ int yylacnt; #define YYLASIZ 10 struct yytok Yla[YYLASIZ]; unyylex(y) struct yylex *y; { if (yylacnt == YYLASIZ) panic("unyylex"); copy(&Yla[yylacnt], y, sizeof Yla[0]); yylacnt++; } yylex() { register c; register **ip; register char *cp; int f; char delim; if (yylacnt != 0) { yylacnt--; copy(&Y, &Yla[yylacnt], sizeof Y); return (yychar); } if (c = yysavc) yysavc = 0; else c = getchar(); #ifdef PXP yytokcnt++; #endif next: /* * skip white space */ #ifdef PXP yywhcnt = 0; #endif while (c == ' ' || c == '\t') { #ifdef PXP if (c == '\t') yywhcnt++; yywhcnt++; #endif c = getchar(); } yyecol = yycol; yyeline = yyline; yyefile = filename; yyeseqid = yyseqid; yyseekp = yylinpt; cp = token; yylval = yyline; switch (c) { case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': case 'g': case 'h': case 'i': case 'j': case 'k': case 'l': case 'm': case 'n': case 'o': case 'p': case 'q': case 'r': case 's': case 't': case 'u': case 'v': case 'w': case 'x': case 'y': case 'z': case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': case 'G': case 'H': case 'I': case 'J': case 'K': case 'L': case 'M': case 'N': case 'O': case 'P': case 'Q': case 'R': case 'S': case 'T': case 'U':  case 'V': case 'W': case 'X': case 'Y': case 'Z': do { *cp++ = c; c = getchar(); } while (alph(c) || digit(c)); *cp = 0; if (opt('s')) for (cp = token; *cp; cp++) if (*cp >= 'A' && *cp <= 'Z') { *cp =| ' '; } yysavc = c; ip = hash(0, 1); if (*ip < yykey || *ip >= lastkey) { yylval = *ip; return (YID); } yylval = yyline; /* * For keywords * the lexical token * is magically retrieved * from the keyword table. */ return ((*ip)[1]); case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': f = 0; do { *cp++ = c; c = getchar(); } while (digit(c)); if (c == 'b' || c == 'B') { /* * nonstandard - octal constants */ if (opt('s')) { standard(); yerror("Octal constants are non-standard"); } *cp = 0; yylval = copystr(token); return (YBINT); } if (c == '.') { c = getchar(); if (c == '.') { *cp = 0; yysavc = YDOTDOT; yylval = copystr(token); return (YINT); } infpnumb: f++; *cp++ = '.'; if (!digit(c)) { yyset(); recovered(); yerror("Digits required after decimal point"); *cp++ = '0'; } else while (digit(c)) { *cp++ = c; c = getchar(); } } if (c == 'e' || c == 'E') { f++; *cp++ = c; if ((c = yysavc) == 0) c = getchar(); if (c == '+' || c == '-') { *cp++ = c; c = getchar(); } if (!digit(c)) { yyset(); yerror("Digits required in exponent"); *cp++ = '0'; } else while (digit(c)) { *cp++ = c; c = getchar(); } } *cp = 0; yysavc = c; yylval = copystr(token); if (f) return (YNUMB); return (YINT); case '"': case '`': if (!any(bufp + 1, c)) goto illch; if (!dquote) { recovered(); dquote++; yerror("Character/string delimiter is '"); } case '\'': case '#': delim = c; do { do { c = getchar();  if (c == '\n') { yerror("Unmatched %c for string", delim); if (cp == token) *cp++ = ' ', cp++; break; } *cp++ = c; } while (c != delim); c = getchar(); } while (c == delim); *--cp = 0; if (cp == token) { yerror("Null string not allowed"); *cp++ = ' '; *cp++ = 0; } yysavc = c; yylval = copystr(token); return (YSTRING); case '.': c = getchar(); if (c == '.') return (YDOTDOT); if (digit(c)) { recovered(); yerror("Digits required before decimal point"); *cp++ = '0'; goto infpnumb; } yysavc = c; return ('.'); case '{': /* * { ... } comment */ #ifdef PXP getcm(c); #endif #ifdef PI c = options(); while (c != '}') { if (c <= 0) goto nonterm; if (c == '{') { warning(); yyset(); yerror("{ in a { ... } comment"); } c = getchar(); } #endif c = getchar(); goto next; case '(': if ((c = getchar()) == '*') { /* * (* ... *) comment */ #ifdef PXP getcm(c); c = getchar(); goto next; #endif #ifdef PI c = options(); for (;;) { if (c < 0) { nonterm: yerror("Comment does not terminate - QUIT"); pexit(ERRS); } if (c == '(' && (c = getchar()) == '*') { warning(); yyset(); yerror("(* in a (* ... *) comment"); } if (c == '*') { if ((c = getchar()) != ')') continue; c = getchar(); goto next; } c = getchar(); } #endif } yysavc = c; c = '('; case ';': case ',': case ':': case '=': case '*': case '+': case '/': case '-': case '|': case '&': case ')': case '[': case ']': case '<': case '>': case '~': case '^': return (c); default: switch (c) { case YDOTDOT: return (c); case '\n': c = getchar(); #ifdef PXP yytokcnt++; #endif goto next; case '\f': c = getchar(); goto next; } if (c <= 0) return (YEOF); illch: do yysavc = getchar(); while (yysavc == c); yylval = c; return (YILLCH); } } yyset() { yyecol = yycol; yyeline = yyline; yyefile = filename; yyseekp = yylinpt; } /* * Setuflg trims the current * input line to at most 72 chars * for the u option. */ setuflg() { if (charbuf[71] != '\n') { charbuf[72] = '\n'; charbuf[73] = 0; } } yymain.cëL¤��# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" int line 1; /* * Yymain initializes each of the utility * clusters and then starts the processing * by calling yyparse. */ yymain() { /* * Initialize the scanner */ #ifdef PXP if (bracket == 0) { #endif if (getline() == -1) { Perror(filename, "No lines in file"); pexit(NOSTART); } #ifdef PXP } else yyline = 0; #endif #ifdef PI /* * Magic number for Pascal */ word(0404); #endif /* * Initialize the clusters * initstring(); */ inithash(); inittree(); #ifdef PI initnl(); #endif /* * Process the input */ yyparse(); #ifdef DEBUG #ifdef PI dumpnl(0); #endif #endif #ifdef PXP prttab(); #endif pexit(eflg ? ERRS : AOK); } yypanic.cëL¤�w # /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" /* * The routine yyPerror coordinates the panic when * the correction routines fail. Three types of panics * are possible - those in a declaration part, those * in a statement part, and those in an expression. * * Declaration part panics consider insertion of "begin", * expression part panics will stop on more symbols. * The panics are otherwise the same. * * ERROR MESSAGE SUPPRESSION STRATEGY: August 11, 1977 * * If the parser has not made at least 2 moves since the last point of * error then we want to suppress the supplied error message. * Otherwise we print it. * We then skip input up to the next solid symbol. */ yyPerror(cp, kind) char *cp; int kind; { struct yytok oldpos; int ishifts, brlev; copy(&oldpos, &Y, sizeof oldpos); brlev = 0; for (ishifts = yyshifts; ; yychar = yylex(), yyshifts++) switch (yychar) { case YILLCH: yerror("Illegal character"); if (ishifts == yyshifts) yyOshifts = 0; continue; case YEOF: goto quiet; case ';': if (kind == PPROG) continue; if (kind == PDECL) yychar = yylex(); goto resume; case YEND: if (kind == PPROG) continue; case YPROCEDURE: case YFUNCTION: goto resume; case YLABEL: case YTYPE: case YCONST: case YVAR: if (kind == PSTAT) { yerror("Declaration found when statement expected"); goto quiet; } case YBEGIN: goto resume; case YFOR: case YREPEAT: case YWHILE: case YGOTO: case YIF: if (kind != PDECL) goto resume; yerror("Expected keyword begin after declarations, before statements"); unyylex(&Y); yychar = YBEGIN; yylval = nullsem(YBEGIN); goto quiet; case YTHEN: case YELSE: case YDO: if (kind == PSTAT) { yychar = yylex(); goto resume; } if (kind == PEXPR) goto resume; continue; case ')': case ']': if (kind != PEXPR) continue; if (brlev == 0) goto resume; if (brlev > 0) brlev--; continue; case '(': case '[': brlev++; continue; case ',': if (brlev != 0) continue; case YOF: case YTO: case YDOWNTO: if (kind == PEXPR) goto resume; continue; #ifdef PI /* * A rough approximation for now * Should be much more lenient on suppressing * warnings. */ case YID: syneflg++; continue; #endif } resume: if (yyOshifts >= 2) { if (yychar != -1) unyylex(&Y); copy(&Y, &oldpos, sizeof Y); yerror(cp); yychar = yylex(); } quiet: if (yyshifts - ishifts > 2 && opt('r')) { setpfx('r'); yerror("Parsing resumes"); } /* * If we paniced in the statement part, * and didn't stop at a ';', then we insert * a ';' to prevent the recovery from immediately * inserting one and complaining about it. */ if (kind == PSTAT && yychar != ';') { unyylex(&Y); yyshifts--; yytshifts--; yychar = ';'; yylval = nullsem(';'); } } cyyparse.cëL¤�# # /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" /* * Parser for 'yacc' output. * Specifially Modified for UNIX Pascal */ int yystate; /* Current parser state */ int *yypv; unsigned yytshifts 1; /* Number of "true" shifts */ /* * Parse Tables */ int yygo[]; int yypgo[]; int yyr1[]; int yyr2[]; int yyact[]; int yypact[]; /* * Parse and parallel semantic stack */ int yyv[MAXDEPTH]; int yys[MAXDEPTH]; /* * This routine parses the input stream, and * returns if it accepts, or if an unrecoverable syntax * error is encountered. */ yyparse() { register int *ps, n, *p; int paniced, *panicps, idfail; yystate = 0; yychar = yylex(); OY.Yychar = -1; yyshifts = 3; paniced = 0; ps = &yys[0]-1; yypv = &yyv[0]-1; #ifdef PXP yypw = &yyw[0]-1; #endif stack: /* * Push new state and value. */ if (yypv >= &yyv[MAXDEPTH-1]) { yerror("Parse stack overflow"); pexit(DIED); } *++ps = yystate; *++yypv = yyval; #ifdef PXP yypw++; #endif newstate: /* * Locate parsing actions for the * new parser state. */ p = &yyact[ yypact[yystate+1] ]; actn: /* * Search the parse actions table * for something useful to do. * While n is non-positive, it is the negation * of the token we are testing for. */ /* if ((n = *p++) <= 0) { if (yychar < 0) yychar = yylex(); do if ((n =+ yychar) != 0) p++; while ((n = *p++) <= 0); } */ while ((n = *p++) <= 0)  if ((n =+ yychar) != 0) p++; switch (n >> 12) { /* * Shift. */ case 2: #ifdef PXP yypw[1].Wseqid = yyseqid; yypw[1].Wcol = yycol; #endif OYcopy(); yystate = n & 07777; yyval = yylval; /* yychar = -1; */ yychar = yylex(); yyshifts++; yytshifts++; goto stack; /* * Reduce. */ case 3: n =& 07777; N = yyr2[n]; if (N == 1 && OY.Yychar == YID && !yyEactr(n, yypv[0])) { idfail = 1; goto errin; } OY.Yychar = -1; ps =- N; yypv =- N; #ifdef PXP yypw =- N; #endif yyval = yypv[1]; yyactr(n); /* * Use goto table to find next state. */ p = &yygo[yypgo[yyr1[n]]]; while (*p != *ps && *p >= 0) p =+ 2; yystate = p[1]; goto stack; /* * Accept. */ case 4: return; /* * Error. */ case 1: idfail = 0; errin: if ((paniced || yyshifts != 0) && yyrecover(ps, idfail)) { paniced = 0; ps = Ps; yystate = *ps; goto newstate; } /* * Find a state where 'error' is a  * legal shift action. */ if (paniced && yyshifts <= 0 && ps >= panicps) { yypv =- (ps - panicps) + 1; #ifdef PXP yypw =- (ps - panicps) + 1; #endif ps = panicps - 1; } while (ps >= yys) { for (p = &yyact[ yypact[*ps+1] ] ; *p <= 0; p=+ 2) if (*p == -256) { panicps = ps; yystate= p[1] & 07777; yyOshifts = yyshifts; yyshifts = 0; paniced = 1; goto stack; } --ps; --yypv; #ifdef PXP --yypw; #endif #ifdef PI if (OY.Yychar != YID) syneflg++; #endif OY.Yychar = -1; } if (yychar == YEOF) yyunexeof(); if (yystate == 1) yyexeof(); yerror("Unrecoverable syntax error - QUIT"); return; } panic("yyparse"); } yyprint.cëL¤�÷# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" long tokname(); STATIC char bounce; /* * Printing representation of a * "character" - a lexical token * not in a yytok structure. */ long charname(ch) int ch; { struct yytok Ych; Ych.Yychar = ch; Ych.Yylval = nullsem(ch); return (tokname(&Ych)); } /* * Printing representation of a token */ long tokname(tp) register struct yytok *tp; { register char *cp; register struct kwtab *kp; long l; (&l)->pint2 = ""; switch (tp->Yychar) { case YCASELAB: cp = "case-label"; break; case YEOF: cp = "end-of-file"; break; case YILLCH: cp = "illegal character"; break; case 256: /* error token */ cp = "error"; break; case YID: cp = "identifier"; break; case YNUMB: cp = "real number"; break; case YINT: case YBINT: cp = "number"; break; case YSTRING: cp = tp->Yylval; cp = cp == NIL || cp[1] == 0 ? "character" : "string"; break; case YDOTDOT: cp = "'..'"; break; default: if (tp->Yychar < 256) { cp = "'x'\0'x'"; if (bounce = ((bounce + 1) & 1)) cp =+ 4; cp[1] = tp->Yychar; break; } for (kp = yykey; kp->kw_str != NIL && kp->kw_val != tp->Yychar; kp++) continue; cp = "keyword "; (&l)->pint2 = kp->kw_str; } (&l)->pint = cp; return (l); } :yyput.cëL¤‘4# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h"  /* * Structure describing queued listing lines during the forward move * of error recovery. These lines will be stroed by yyoutline during * the forward move and flushed by yyoutfl or yyflush when an * error occurs or a program termination. */ struct B { int Bline; int Bseekp; char *Bfile; int Bseqid; struct B *Bnext; } *bottled; /* * Filename gives the current input file, lastname is * the last filename we printed, and lastid is the seqid of the last line * we printed, to help us avoid printing * multiple copies of lines. */ extern char *filename; char *lastname; int lastid; char hadsome; char holdbl; /* * Print the current line in the input line * buffer or, in a forward move of the recovery, queue it for printing. */ yyoutline() { register struct B *bp; if (Recovery) { bp = tree5(yyline, yylinpt, filename, yyseqid); if (bottled != NIL) bp->Bnext = bottled->Bnext, bottled->Bnext = bp; else bp->Bnext = bp; bottled = bp; return; } yyoutfl(yyseqid); if (yyseqid != lastid) yyprline(charbuf, yyline, filename, yyseqid); } /* * Flush all the bottled output. */ yyflush() { yyoutfl(32767); } /* * Flush the listing to the sequence id toseqid */ yyoutfl(toseqid) int toseqid; { register struct B *bp; bp = bottled; if (bp == NIL) return; bp = bp->Bnext; while (bp->Bseqid <= toseqid) { yygetline(bp->Bfile, bp->Bseekp, bp->Bline, bp->Bseqid); if (bp->Bnext == bp) { bottled = NIL; break; } bp = bp->Bnext; bottled->Bnext = bp; } } int yygetunit -1; char *yygetfile; /* * Yysync guarantees that the line associated * with the current token was the last line * printed for a syntactic error message. */ yysync() { yyoutfl(yyeseqid); if (lastid != yyeseqid) yygetline(yyefile, yyseekp, yyeline, yyeseqid); } yySsync() { yyoutfl(OY.Yyeseqid); } /* * Yygetline gets a line from a file after we have * lost it. The pointer efile gives the name of the file, * seekp its offset in the file, and eline its line number. * If this routine has been called before the last file * it worked on will be open in yygetunit, with the files * name being given in yygetfile. Note that this unit must * be opened independently of the unit in use for normal i/o * to this file; if it were a dup seeks would seek both files. */ yygetline(efile, seekp, eline, eseqid) char *efile; int seekp, eline, eseqid; { register int cnt; register char *bp; char buf[CBSIZE + 1]; if (lastid == eseqid) return; if (eseqid == yyseqid) { bp = charbuf; yyprtd++; } else { bp = buf; if (efile != yygetfile) { close(yygetunit); yygetfile = efile; yygetunit = open(yygetfile, 0); if (yygetunit < 0) oops: perror(yygetfile), pexit(DIED); } if (seek(yygetunit, seekp, 0) < 0) goto oops; cnt = read(yygetunit, bp, CBSIZE); if (cnt < 0) goto oops; bp[cnt] = 0; } yyprline(bp, eline, efile, eseqid); } yyretrieve() { yygetline(OY.Yyefile, OY.Yyseekp, OY.Yyeline, OY.Yyeseqid); } /* * Print the line in the character buffer which has * line number line. The buffer may be terminated by a new * line character or a null character. We process * form feed directives, lines with only a form feed character, and * suppress numbering lines which are empty here. */ yyprline(buf, line, file, id) register char *buf; int line; char *file; int id; { lastid = id; if (buf[0] == '\f' && buf[1] == '\n') { printf("\f\n"); hadsome = 0; holdbl = 0; return; } if (holdbl) { putchar('\n'); holdbl = 0; } if (buf[0] == '\n') holdbl = 1; else { yysetfile(file); yyprintf(buf, line); } hadsome = 1; } yyprintf(cp, line) register char *cp; int line; { printf("%6d ", line); while (*cp != 0 && *cp != '\n') putchar(graphic(*cp++)); putchar('\n'); } graphic(ch) register CHAR ch; { switch (ch) { default: if (ch >= ' ') return (ch); case 0177: return ('?'); case '\n': case '\t': return (ch); } } extern int nopflg; char printed 1; /* * Set the current file name to be file, * printing the name, or a header on a new * page if required. */ yysetfile(file) char *file; { #ifdef PXP if (nopflg == 1) return; #endif if (lastname == file) return; if (file == filename && opt('n') && (printed & 02) == 0) { printed =| 02; header(); } else yyputfn(file); lastname = file; } /* * Put out an include file name * if an error occurs but the name has * not been printed (or if another name * has been printed since it has). */ yyputfn(cp) char *cp; { if (cp == lastname && printed) return; lastname = cp; printed = 1; printf("%s:\n", cp); hadsome = 1; } yyrecover.cëL¤‘RK# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" /* * Very simplified version of Graham-Rhodes error recovery * method for LALR parsers. Backward move is embodied in * default reductions of the yacc parser until an error condition * is reached. Forward move is over a small number of input tokens * and cannot "condense". The basic corrections are: * * 1) Delete the input token. * * 2) Replace the current input with a legal input. * * 3) Insert a legal token. * * All corrections are weighted, considered only if they allow * at least two shifts, and the cost of a correction increases if * it allows shifting over only a part of the lookahead. * * Another error situation is that which occurs when an identifier "fails" * a reduction because it is not the required "class". * In this case, we also consider replacing this identifier, which has * already been shifted over, with an identifier of the correct class. * * Another correction performed here is unique symbol insertion. * If the current state admits only one input, and no other alternative * correction presents itself, then that symbol will be inserted. * There is a danger in this of looping, and it is handled * by counting true shifts over input (see below). * * * A final class of corrections, considered only when the error * occurred immediately after a shift over a terminal, involves * the three basic corrections above, but with the point of error * considered to be before this terminal was shifted over, effectively * "unreading" this terminal. This is a feeble attempt at elimination * of the left-right bias and because "if" has a low weight and some * statements are quite simple i.e. * * cse ch of ... * * we can get a small number of errors. The major deficiency of * this is that we back up only one token, and that the forward * move is over a small number of tokens, often not enough to really * tell what the input should be, e.g. in * * a[i] > a[i - 1] ... * * In such cases a bad identifier (misspelled keyword) or omitted * keyword will be change or inserted as "if" as it has the lowest cost. * This is not terribly bad, as "if"s are most common. * This also allows the correction of other errors. * * This recovery depends on the default reductions which delay * noticing the error until the parse reaches a state where the * relevant "alternatives" are visible. Note that it does not * consider tokens which will cause reductions before being * shifted over. This requires the grammar to be written in a * certain way for the recovery to work correctly. * In some sense, also, the recovery suffers because we have * LALR(1) tables rather than LR(1) tables, e.g. in * * if rec.field < rec2,field2 then */ /* * Definitions of possible corrective actions */ #define CPANIC 0 #define CDELETE 1 #define CREPLACE 2 #define CINSERT 3 #define CUNIQUE 4 #define CCHIDENT 5 /* * Multiplicative cost factors for corrective actions. * * When an error occurs we take YCSIZ - 1 look-ahead tokens. * If a correction being considered will shift over only part of * that look-ahead, it is not completely discarded, but rather * "weighted", its cost being multiplied by a weighting factor. * For a correction to be considered its weighted cost must be less * than CLIMIT. * * Non-weighted costs are considered: * * LOW <= 3 * MEDIUM 4,5 * HIGH >= 6 * * CURRENT WEIGHTING STRATEGY: Aug 20, 1977 * * For all kinds of corrections we demand shifts over two symbols. * Corrections have high weight even after two symbol * shifts because the costs for deleting and inserting symbols are actually * quite low; we do not want to change weighty symbols * on inconclusive evidence. * * The weights are the same after the third look ahead. * This prevents later, unrelated errors from causing "funny" * biases of the weights toward one type of correction. * * Current look ahead is 5 symbols. */ /*** CLIMIT is defined in yy.h for yycosts ***/ #define CPRLIMIT 50 #define CCHIDCOST 4 char insmult[8] INFINITY, INFINITY, INFINITY, 15, 8, 6, 3, 1; char repmult[7] INFINITY, INFINITY, INFINITY, 8, 6, 3, 1; char delmult[6] INFINITY, INFINITY, INFINITY, 6, 3, 1; #define NOCHAR -1 #define Eprintf if (errtrace) printf #define Tprintf if (testtrace) printf /* * Action arrays of the parser needed here */ int yyact[], yypact[], *yypv; /* * Yytips is the tip of the stack when using * the function loccor to check for local * syntactic correctness. As we don't want * to copy the whole parser stack, but want * to simulate parser moves, we "split" * the parser stack and keep the tip here. */ #define YYTIPSIZ 16 int yytips[YYTIPSIZ], yytipct; int yytipv[YYTIPSIZ]; /* * The array YC saves the lookahead tokens for the * forward moves. * Yccnt is the number of tokens in the YC array. */ #define YCSIZ 6 int yCcnt; struct yytok YC0[YCSIZ + 1]; struct yytok *YC; /* * YCps gives the top of stack at * the point of error. */ char yyunique 1; STATIC unsigned yyTshifts; /* * Cact is the corrective action we have decided on * so far, ccost its cost, and cchar the associated token. * Cflag tells if the correction is over the previous input token. */ int cact, ccost, cchar, cflag; /* * ACtok holds the token under * consideration when examining * the lookaheads in a state. */ struct yytok ACtok; #define acchar ACtok.Yychar #define aclval ACtok.Yylval /* * Make a correction to the current stack which has * top of stack pointer Ps. */ yyrecover(Ps0, idfail) int *Ps0, idfail; { register int c, i; int yyrwant, yyrhave; #ifdef PI Recovery = 1; #endif YC = &YC0[1]; #ifdef DEBUG if (errtrace) { setpfx('p'); yerror("Point of error"); printf("States %d %d ...", Ps0[0], Ps0[-1]); if (idfail) printf(" [Idfail]"); putchar('\n'); printf("Input %s%s", tokname(&Y)); } #endif /* * We first save the current input token * and its associated semantic information. */ if (yychar < 0) yychar = yylex(); copy(&YC[0], &Y, sizeof Y); /* * Set the default action and cost */ cact = CPANIC, ccost = CLIMIT, cflag = 0; /* * Peek ahead */ for (yCcnt = 1; yCcnt < YCSIZ; yCcnt++) { yychar = yylex(); copy(&YC[yCcnt], &Y, sizeof YC[0]); #ifdef DEBUG Eprintf(" | %s%s", tokname(&YC[yCcnt])); #endif } #ifdef DEBUG Eprintf("\n"); #endif /* * If we are here because a reduction failed, try * correcting that. */ if (idfail) { /* * Save the particulars about * the kind of identifier we want/have. */ yyrwant = yyidwant; yyrhave = yyidhave; #ifdef DEBUG Tprintf(" Try Replace %s identifier with %s identifier cost=%d\n", classes[yyidhave], classes[yyidwant], CCHIDCOST); #endif /* * Save the semantics of the ID on the * stack, and null them out to free * up the reduction in question. */ i = yypv[0]; yypv[0] = nullsem(YID); c = correct(NOCHAR, 0, CCHIDCOST, &repmult[2], Ps0, yypv); yypv[0] = i; #ifdef DEBUG if (c < CPRLIMIT || fulltrace) Eprintf("Cost %2d Replace %s identifier with %s identifier\n", c, classes[yyrhave], classes[yyrwant]); #endif if (c < ccost) cact = CCHIDENT, ccost = c, cchar = YID; } /* * First try correcting the state we are in */ trystate(Ps0, yypv, 0, &insmult[1], &delmult[1], &repmult[1]); /* * Now, if we just shifted over a terminal, try * correcting it. */ if (OY.Yychar != -1 && OY.Yylval != nullsem(OY.Yychar)) { YC--; copy(&YC[0], &OY, sizeof YC[0]); trystate(Ps0 - 1, yypv - 1, 1, insmult, delmult, repmult); if (cflag == 0) YC++; else { yypv--; #ifdef PXP yypw--; #endif Ps0--; yCcnt++; } } /* * Restoring the first look ahead into * the scanner token allows the error message * routine to print the error message with the text * of the correct line. */ copy(&Y, &YC[0], sizeof Y); /* * Unique symbol insertion. * * If there was no reasonable correction found, * but only one input to the parser is acceptable * we report that, and try it. * * Special precautions here to prevent looping. * The number of true inputs shifted over at the point * of the last unique insertion is recorded in the * variable yyTshifts. If this is not less than * the current number in yytshifts, we do not insert. * Thus, after one unique insertion, no more unique * insertions will be made until an input is shifted * over. This guarantees termination. */ if (cact == CPANIC && !idfail) { register int *ap; ap = &yyact[yypact[*Ps0 + 1]]; if (*ap == -ERROR) ap =+ 2; if (ap[0] <= 0 && ap[2] > 0) { cchar = -ap[0]; if (cchar == YEOF) yyexeof(); if (cchar != ERROR && yyTshifts < yytshifts) { cact = CUNIQUE; #ifdef DEBUG Eprintf("Unique symbol %s%s\n", charname(cchar)); #endif /* * Note that the inserted symbol * will not be counted as a true input * (i.e. the "yytshifts--" below) * so that a true shift will be needed * to make yytshifts > yyTshifts. */ yyTshifts = yytshifts; } } } /* * Set up to perform the correction. * Build a token appropriate for replacement * or insertion in the yytok structure ACchar * having the attributes of the input at the * point of error. */ copy(&ACtok, &YC[0], sizeof ACtok); acchar = cchar; aclval = nullsem(acchar); if (aclval != NIL) recovered(); switch (cact) { /* * Panic, just restore the * lookahead and return. */ case CPANIC: setpfx('E'); if (idfail) { copy(&Y, &OY, sizeof Y); if (yyrhave == NIL) { #ifdef PI if (yybaduse(yypv[0], yyeline, ISUNDEF) == NIL) #endif yerror("Undefined identifier"); } else { yerror("Improper %s identifier", classes[yyrhave]); #ifdef PI yybaduse(yypv[0], yyeline, NIL); #endif } /* * Suppress message from panic routine */ yyshifts = 1; } i = 0; /* Note that on one path we dont touch yyshifts ! */ break; /* * Delete the input. * Mark this as a shift over true input. * Restore the lookahead starting at * the second token. */ case CDELETE: if (ccost != 0) yerror("Deleted %s%s", tokname(&YC[0])); yytshifts++; i = 1; yyshifts = 0; break; /* * Replace the input with a new token. */ case CREPLACE: if (acchar == YEOF) yyexeof(); if (acchar == YEND) aclval = NIL; yerror("Replaced %s%s with a %s%s", tokname(&YC[0]), tokname(&ACtok)); copy(&YC[0], &ACtok, sizeof YC[0]); i = 0; yyshifts = 0; break; /* * Insert a token. * Don't count this token as a true input shift. * For inserted "end"s pas.y is responsible * for the error message later so suppress it. * Restore all the lookahead. */ case CINSERT: if (acchar == YEOF) yyexeof(); if (acchar != YEND) yerror("Inserted %s%s", tokname(&ACtok)); yytshifts--; i = 0; yyshifts = 0; break; /* * Make a unique symbol correction. * Like an insertion but a different message. */ case CUNIQUE: setpfx('E'); yerror("Expected %s%s", tokname(&ACtok)); yytshifts--; i = 0; if (ccost == 0 || yyunique) yyshifts = 0; else yyshifts = -1; break; /* * Change an identifier's type * to make it work. */ case CCHIDENT: copy(&Y, &OY, sizeof Y); #ifdef PI i = 1 << yyrwant; #endif if (yyrhave == NIL) { yerror("Undefined %s", classes[yyrwant]); #ifdef PI i =| ISUNDEF; #endif } else yerror("Replaced %s id with a %s id", classes[yyrhave], classes[yyrwant]); #ifdef PI yybaduse(yypv[0], yyeline, i); #endif yypv[0] = nullsem(YID); i = 0; yyshifts = 0; break; } /* * Restore the desired portion of the lookahead, * and possibly the inserted or unique inserted token. */ for (yCcnt--; yCcnt >= i; yCcnt--) unyylex(&YC[yCcnt]); if (cact == CINSERT || cact == CUNIQUE) unyylex(&ACtok); /* * Put the scanner back in sync. */ yychar = yylex(); /*  * We succeeded if we didn't "panic". */ Recovery = 0; Ps = Ps0; return (cact != CPANIC); } yyexeof() { yerror("End-of-file expected - QUIT"); pexit(ERRS); } yyunexeof() { yerror("Unexpected end-of-file - QUIT"); pexit(ERRS); } /* * Try corrections with the state at Ps0. * Flag is 0 if this is the top of stack state, * 1 if it is the state below. */ trystate(Ps0, Pv0, flag, insmult, delmult, repmult) int *Ps0, *Pv0, flag; char *insmult, *delmult, *repmult; { /* * C is a working cost, ap a pointer into the action * table for looking at feasible alternatives. */ register int c, *ap; int i, *actions; #ifdef DEBUG Eprintf("Trying state %d\n", *Ps0); #endif /* * Try deletion. * Correct returns a cost. */ #ifdef DEBUG Tprintf(" Try Delete %s%s cost=%d\n", tokname(&YC[0]), delcost(YC[0].Yychar)); #endif c = delcost(YC[0].Yychar); #ifndef DEBUG if (c < ccost) { #endif c = correct(NOCHAR, 1, c, delmult, Ps0, Pv0); #ifdef DEBUG if (c < CPRLIMIT || fulltrace) Eprintf("Cost %2d Delete %s%s\n", c, tokname(&YC[0])); #endif if (c < ccost) cact = CDELETE, ccost = c, cflag = flag; #ifndef DEBUG } #endif /* * Look at the inputs to this state * which will cause parse action shift. */ aclval = NIL; ap = &yyact[yypact[*Ps0 + 1]]; /* * Skip action on error to * detect true unique inputs. * Error action is always first. */ if (*ap == -ERROR) ap=+ 2; /* * Loop through the test actions * for this state. */ for (actions = ap; *ap <= 0; ap =+ 2) {  /* * Extract the token of this action */ acchar = -*ap; /* * Try insertion */ #ifdef DEBUG Tprintf(" Try Insert %s%s cost=%d\n", charname(acchar), inscost(acchar)); #endif c = inscost(acchar, YC[0].Yychar); #ifndef DEBUG if (c < ccost) { #endif if (c == 0) { c = correct(acchar, 0, 1, insmult + 1, Ps0, Pv0); #ifdef DEBUG Eprintf("Cost %2d Freebie %s%s\n", c, charname(acchar)); #endif if (c < ccost) cact = CUNIQUE, ccost = 0, cchar = acchar, cflag = flag; } else { c = correct(acchar, 0, c, insmult, Ps0, Pv0); #ifdef DEBUG if (c < CPRLIMIT || fulltrace) Eprintf("Cost %2d Insert %s%s\n", c, charname(acchar)); #endif if (c < ccost) cact = CINSERT, ccost = c, cchar = acchar, cflag = flag; } #ifndef DEBUG } #endif /* * Try replacement */ #ifdef DEBUG Tprintf(" Try Replace %s%s with %s%s cost=%d\n", tokname(&YC[0]), charname(acchar), repcost(YC[0].Yychar, acchar)); #endif c = repcost(YC[0].Yychar, acchar); #ifndef DEBUG if (c < ccost) { #endif c = correct(acchar, 1, repcost(YC[0].Yychar, acchar), repmult, Ps0, Pv0); #ifdef DEBUG if (c < CPRLIMIT || fulltrace) Eprintf("Cost %2d Replace %s%s with %s%s\n", c, tokname(&YC[0]), tokname(&ACtok)); #endif if (c < ccost) cact = CREPLACE, ccost = c, cchar = acchar, cflag = flag; #ifndef DEBUG } #endif } } int *yCpv; char yyredfail; /* * Compute the cost of a correction * C is the base cost for it. * Fchar is the first input character from * the current state, NOCHAR if none. * The rest of the inputs come from the array * YC, starting at origin and continuing to the * last character there, YC[yCcnt - 1].Yychar. * * The cost returned is INFINITE if this correction * allows no shifts, otherwise is weighted based * on the number of shifts this allows against the * maximum number possible with the available lookahead. */ correct(fchar, origin, c, multvec, Ps0, Pv0) int fchar, origin, c; char *multvec; int *Ps0, *Pv0; { /* * The ntok structure is used to build a * scanner structure for tokens inserted * from the argument fchar. */ struct yytok ntok; register char *mv; /* * Ps is the top of the parse stack after the most * recent local correctness check. Loccor returns * NIL when we cannot shift. */ register int *ps; yyredfail = 0; /* * Initialize the tip parse and semantic stacks. */ ps = Ps0; yytips[0] = *ps; ps--; yytipv[0] = Pv0[0]; yCpv = Pv0 - 1; yytipct = 1; /* * Shift while possible. * Adjust cost as necessary. */ mv = multvec; do { if (fchar != NOCHAR) { copy(&ntok, &YC[0], sizeof ntok); ntok.Yychar = fchar, ntok.Yylval = nullsem(fchar); fchar = NOCHAR; ps = loccor(ps, &ntok); } else ps = loccor(ps, &YC[origin++]); if (ps == NIL) { if (yyredfail && mv > multvec) mv--; c =* *mv; break; } mv++; } while (*mv != 1); return (c); } extern int yygo[], yypgo[], yyr1[], yyr2[]; /* * Local syntactic correctness check. * The arguments to this routine are a * top of stack pointer, ps, and an input * token tok. Also, implicitly, the contents * of the yytips array which contains the tip * of the stack, and into which the new top * state on the stack will be placed if we shift. * * If we succeed, we return a new top of stack * pointer, else we return NIL. */ loccor(ps, ntok) int *ps; struct yytok *ntok; { register int *p, n; register int nchar; int i; if (ps == NIL) return (NIL); nchar = ntok->Yychar; yyeline = ntok->Yyeline; #ifdef DEBUG Tprintf(" Stack "); for (i = yytipct - 1; i >= 0; i--) Tprintf("%d ", yytips[i]); Tprintf("| %d, Input %s%s\n", *ps, charname(nchar)); #endif /* * As in the yacc parser yyparse, * p traces through the action list * and "n" is the information associated * with the action. */ newstate: p = &yyact[ yypact[yytips[yytipct - 1]+1] ]; actn: /* * Search the parse actions table * for something useful to do. * While n is non-positive, it is the * arithmetic inverse of the token to be tested. * This allows a fast check. */ while ((n = *p++) <= 0) if ((n =+ nchar) != 0) p++; switch (n >> 12) { /* * SHIFT */ case 2: n =& 07777; yyredfail = 0; if (nchar == YID) yyredfail++; if (yytipct == YYTIPSIZ) { tipover: #ifdef DEBUG Tprintf("\tTIP OVFLO\n"); #endif return (NIL); } yytips[yytipct] = n; yytipv[yytipct] = ntok->Yylval; yytipct++; #ifdef DEBUG Tprintf("\tShift to state %d\n", n); #endif return (ps); /* * REDUCE */ case 3: n =& 07777;  if (yyEactr(n, yytipv[yytipct - 1]) == 0) { #ifdef DEBUG Tprintf("\tYyEactr objects: have %s id, want %s id\n", classes[yyidhave], classes[yyidwant]); #endif return (NIL); } yyredfail = 0; i = yyr2[n]; #ifdef DEBUG Tprintf("\tReduce, length %d,", i); #endif if (i > yytipct) { i =- yytipct; yytipct = 0; ps =- i; yCpv =- i; } else yytipct =- i; if (yytipct >= YYTIPSIZ) goto tipover; /* * Use goto table to find next state */ p = &yygo[yypgo[yyr1[n]]]; i = yytipct ? yytips[yytipct - 1] : *ps; while (*p != i && *p >= 0) p =+ 2; #ifdef DEBUG Tprintf(" new state %d\n", p[1]); #endif yytips[yytipct] = p[1]; yytipct++; goto newstate; /* * ACCEPT */ case 4: #ifdef DEBUG Tprintf("\tAccept\n"); #endif return (ps); /* * ERROR */ case 1: #ifdef DEBUG Tprintf("\tError\n"); #endif return (0); } panic("loccor"); } yyseman.cëL¤�8# /* * pi - Pascal interpreter code translator * * Charles Haley, Bill Joy UCB * Version 1.0 August 1977 * * * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "yy.h" /* * Assign semantics to a generated token * * Most terminals have a semantic value the current * input line. If they are generated they are flagged * by having this number negated. * * The terminals which have true semantics such * as identifiers and strings are instead given * semantic value NIL here - we do not attempt * to do repair, e.g. by giving generated integers * the value 1, etc. */ nullsem(ch) int ch; { switch (ch) { case YID: case YINT: case YNUMB: case YBINT: case YSTRING: return (NIL); default: return (-yyeline); } } yytree.cëL¤�ü # /* * pxp - Pascal execution profiler * * Bill Joy UCB * Version 1.0 August 1977 */ #include "whoami" #include "0.h" #include "tree.h" extern int *spacep; /* * LIST MANIPULATION ROUTINES * * The grammar for Pascal is written left recursively. * Because of this, the portions of parse trees which are to resemble * lists are in the somewhat inconvenient position of having * the nodes built from left to right, while we want to eventually * have as semantic value the leftmost node. * We could carry the leftmost node as semantic value, but this * would be inefficient as to add a new node to the list we would * have to chase down to the end. Other solutions involving a head * and tail pointer waste space. * * The simple solution to this apparent dilemma is to carry along * a pointer to the leftmost node in a list in the rightmost node * which is the current semantic value of the list. * When we have completed building the list, we can retrieve this * left end pointer very easily; neither adding new elements to the list * nor finding the left end is thus expensive. As the bottommost node * has an unused next pointer in it, no space is wasted either. * * The nodes referred to here are of the T_LISTPP type and have * the form: * * T_LISTPP some_pointer next_element * * Here some_pointer points to the things of interest in the list, * and next_element to the next thing in the list except for the * rightmost node, in which case it points to the leftmost node. * The next_element of the rightmost node is of course zapped to the * NIL pointer when the list is completed. * * Thinking of the lists as tree we heceforth refer to the leftmost * node as the "top", and the rightmost node as the "bottom" or as * the "virtual root". */ /* * Make a new list */ newlist(new) register int *new; { if (new == NIL) return (NIL); return (tree3(T_LISTPP, new, spacep)); } /* * Add a new element to an existing list */ addlist(vroot, new) register int *vroot; int *new; { register int *top; if (new == NIL) return (vroot); if (vroot == NIL) return (newlist(new)); top = vroot[2]; vroot[2] = spacep; return (tree3(T_LISTPP, new, top)); } /* * Fix up the list which has virtual root vroot. * We grab the top pointer and return it, zapping the spot * where it was so that the tree is not circular. */ fixlist(vroot) register int *vroot; { register int *top; if (vroot == NIL) return (NIL); top = vroot[2]; vroot[2] = NIL; return (top); } /* * Fix a statement list. This is similar to the * work in fixlist, but we must also get rid of the * nodes T_IFX which are inserted by the parser so * that we can detect ';' before else errors. * These nodes are always gone already anyways, except * possibly in the presence of errors. */ fixstlist(vroot) register int *vroot; { register int *ifstat, *top; if (vroot == NIL) return (NIL); top = vroot[2]; vroot[2] = NIL; ifstat = vroot[1]; if (ifstat[0] == T_IFX) ifstat[0] == T_IFEL; return (top); } /* * Set up a T_VAR node for a qualified variable. * Init is the initial entry in the qualification, * or NIL if there is none. */ setupvar(var, init) char *var; register int *init; { if (init != NIL) init = newlist(init); return (tree4(T_VAR, NOCON, var, init)); } ors. */ fixstlist(vroot) register int *vroot; { register int *ifstat, *top; if (vroot == NIL) return (NIL); top = vroot[2]; vroot[2] = NIL; ifstat = vroot[1]; if (ifstat[0] == T_IFX) ifstat[0] == T_IFEL; return (top); } /* * Set up a T_VAR node for a qualified variable. * Init is the initial entry in the qualification, * or NIL if there is none. */ setupvar(var, init) char *var; register int *init; { if (init != NIL) init = newlist(init); return (tree4(T_VAR, NOCON, veÿmain.oè¼Ð¤�F"<w üÿ@È¥a÷e põ õeõ _ æVæîæåß ÆeÎFæòß Ö Îß [À xˆ·Š ÿU·ŠšÿR·Š”ÿO÷•ÿÿŒÿK·Š†ÿH·Š€ÿEÎß A·Šrÿ>·Šlÿ;·Šfÿ@Àe7Zÿ7 VÿÎp@&ß Ö À · :ÿõ õeõ%ê÷ $ÿÒ·Šÿ·ŠÿÀÀå_ °ƒÃ%2¡Ã%9žÀÀeÐÿ7z•íõ õeõ DÔ¥-ñ÷‹Òþ÷‹Ìþ÷‹Æþ·ŠÀþõ _>õ%_>÷‹¦þ÷‹ þ7Ššþõ% õ @Îøß ÷‹vþøÎý÷·Šjþõ%_>wXþÎiæPþß Ö À ÷‹Bþ_>÷‹8þ_>÷•,þ·Š(þÎpæþß Ö À Îæ þß Ö Îß Îæöýß Ö À Îèýß Îß ÔÎß 7Ðý÷‹Ìý÷‹Ñý ·ŠÍýμýß ÷ŠÁý÷®ý¬ýÎß 7� ý÷ œýw˜ýw ”ý÷ �ý÷‹ô ÷ †ýÎ ß Î ß ·ŠØ÷‹lý÷‹fýÎ`ýæ÷ XýÖ &ææß ÆeÎß æJß Ö w,ýw (ý÷ $ýÎ ß ÷ ýõ% ÎæÀæß –%Nß wðüw ìü7 èü÷ äü÷ àüÎXß Îß wÊüw ÆüÎÂüß wºüpxp [ -acdefjntuw_ ] [ -23456789 ] [ -z [ name ... ] ] name.pÔäö\öbhnvööö|ö‚ö‚ööööŠ�‚ö‚öö–Fatal error in pxp /usr/lib/how_pxp/bin/catcatUsagecorepmon.outName must end in '.p'UNIX Pascal PXP -- Version 1.0 (%s) %s %s Profiled %s Standard outputy8H )É9Ixiy™iy¨yy¹‰™y™™yÉXÉ™™¨™yÉÙ™¨™8Hh™¸™Øø)™éé™(险øyIYy©Éèè™y™¸(HÈHYyÉè¹ØHYyé¹éØHYy™(Y_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit#†_nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _usagest#F_howfile#„L2Ô_ibuf _errout _main"L10001ˆL34äL35öL17\L18bL19hL20nL21vL22|L24‚L25ŠL26�L29–~maincsv argcargvcpcL6L11L9îL8å_execl L10>L37ò_Perror _exit L13 L20003V_togopt L30ÐL20001¬_dotted L31ØL20005êL12*L38@L10002bL39’L40†L20008€L20010|L42ø_getit L44–L43ýL45ÚL46L48_fopen L49$_perror _pexit"Ô_dup L10005<L50N_yysetfi L51T_yymain cret _header"h~headerhL55hreenterh_gettime L56Œ_outcol L57„_putchar L10006œL54Ð_myctime _version L59_printf L60J_ugh#À~pexitÔccpL65æ_flush L66_write _errno _xflush"~xflushL692L71X_puthedr"6~puthedr6yymain.oè‰Ò¤�ÈVäw üÿ÷‹øÿ÷ òÿÀ%ÿÿÎXæäÿß Ö Îß 7 Ðÿ÷ Ìÿ÷ Èÿ÷ Äÿ÷ Àÿ÷ ¼ÿÎ ß wªÿNo lines in fileYÙy™¨¸©ÉÙéù¸)_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line#V_pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _classes _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _yytokcn _yywhcnt _cmhp _yyw \_yypw _yymain"~yymaincsv L4,_getline L70L6X_Perror _pexit _inithas _inittre _yyparse _prttab L10000LL10001Ncret yyparse.oè®Ò¤�p xJÜw üÿÆå7 ôÿ÷ ðÿ7ìÿ÷ÿÿæÿ÷àÿ5 øÿÄÄå÷þÿÎÿ÷üÿÈÿ÷%*Âÿ‚Î‚ß Îß Äęÿ÷e¢ÿÿžÿœÿ÷e–ÿÀ’ÿÀ  ÂeÃm€ÿÂeƒùÀtôÿÀå ƒ_lÀ xzÀXÿðTÿÀNÿðJÿ÷ DÿÀÀEð7:ÿ÷8ÿ4ÿ÷ 0ÿ7,ÿ· (ÿ· œ­ÃEðÀÀ 7ÿ÷%ÿ÷%ÿ Îÿæß Ö À õôÿ2÷ÿÿæþÀâþÀ àÀÚþÀ 7àÔþÀÐþt7àÈþÀÄþ7¾þÎß ÀÀ À  ÂeÊ Âe #ú·�þ_85 ôÿõ øÿ÷ ~þNôÿ&ß Ö À 5 øÿÄdþ7`þ_jõ øÿN÷ RþKD-öÿH‚Aíöÿ@€ r€ À 7à4þAíöÿ@€ r€ t7àþDöÿÄå,À  ÂeÊ%ÿ5öÿ€ÀEð7ìý÷èýæý7 âýõøÿ_8ÂeÊ çÄå÷åÆý÷åÀý÷ÿÿºýÄ%у÷ °ý÷ ªý÷%¤ý÷ žýÎ—ß Î¹ß wˆýt¤ÞtParse stack overflowUnrecoverable syntax error - QUITyyparseI9¹éù¹È¸I)¸Iø9II)9¨˜é)¹)™Y9é¹é¹ˆ))ùIxù))I))I˜xhX9¹ø 9¹I)¨˜9¹É¹I)ùÈéi9‰ø¸É_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _classes _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif#x_yytokcn _yywhcnt _cmhp _yyw \_yypw _yystate _yypv _yygo _yypgo _yyr1 _yyr2 _yyact _yypact _yyv ,_yys ,_yyparse"L10002zL21tL14¤L15ÞL3t~yyparsecsv psnppanicedøÿpanicpsöÿidfailôÿ_yylex L48L5PL6‚_yerror _pexit L7jL9†L20001|L12l_OYcopy L16_yyEactr L17x_yyactr L18fL20003^L19jL10000„L22¤_yyrecov L24FL20007îL26,L20005þL28(L30V_yyunexe L31b_yyexeof L32—L33¹_panic cret yyrecover.oèüÒ¤‘4´° w üÿÆå÷òÿ÷ îÿ÷ èÿ7äÿÎææØÿß –%7 Îÿ÷(Èÿ7 Äÿ÷¾ÿ÷ ºÿ7¶ÿÎæÁªÿWpÁm¢ÿfß –%· –ÿ÷%�ÿèõ +õ„ÿøÿõ~ÿöÿÃxÿÎß ?lÿÎhÿfæ¾æ& æÿÿß  Æe ÿHÿÄ-Dÿ÷<ÿ78ÿ÷2ÿνæÅæµ& æ ÿfß 0Æe ÷%ÿÿÿ9Îÿß À-ÿ2÷åøþÎææìþß –%μæÄæ´ææÒþÎeþÿfÎeþÿß 0Æe ÷ ºþ÷e²þ ÷åªþ÷å¤þõå· šþÎæ’þæß –%÷ „þ*õ '@À  ÂeÊ%ÿÂeÊ ò € 7Pþ÷ J÷%Dþ ÷->þ<þƒ÷4þ÷0þ.þÎæ&þæß –%÷þþÎþß 7 þ÷•eþÀþý ƒ_¶À xÌ÷•Eèýõ Îææß –%õ öÿÎàß @öÿÀ æõß Ö ÷¦ý _¶ÁœýWpÁm”ýNß _¶÷ †ý ΀ýß f&æ ÷ pýÆe· hýÃ_²÷ \ý÷ V÷% Pý7 LýÎß f&æ:ý÷ 6ýÖ f&æ÷ (ýÆe Îææýß –%`÷ ý÷ ÷% ý Îß f&æ3÷ êüÆe÷ âüH÷•EÚüÎß f&æA÷ ÆüÆe÷ ¾ü ÷ ¸ü4÷‹|1÷ÿÿªü/Îææß –%õ öÿ @øÿÀ æOß Ö @øÿÀ @öÿÀ &æ\ß –%Îß ?Pü 7 Jü÷ Fü÷ Bü_`÷%6ü÷%.üÎß ÷ ü7ü7Šüwü÷ ü wüÀûw üûÎxß Îß wèûw äûÎ”ß Îß wÐûw ÌûÆåÎÄûß Ä-ºûNff &ææÿÿß  Æe Ä-”û÷Œû7ˆûw‚û7 €û@À à ÃeË%ÿÃeõöÿ_˜À 7TûÎPûæLûß Ö Ä-@û9Ä Nff Ž æ& æ"ûß  Æe Ä-û#÷ û7 ûNff && æòúß  Æe Ä-äú ÷Üú7Øú÷ÔúÒúwÌúÎÈúæÄúß Ö Ä-¸ú%Nffæ¦úæ¢ú÷ žú–%&ææ’úß  Æe Ä-„ú ÷|ú7xú÷túrúwlúÃeË „w`úw \úÆå7ŠTúC ÷LúÃåwBú@Àeþÿ76ú÷0úD õ%ÿÿÎæúfÎeìÿß –%uìÿNß 5îÿõÿÿNÎeìÿ AWpµ ÁmàùNæß \Ö ÷‹ÎùD- †Ä “fAVpu„ Ì¥À@w¤ùw  ùæ õ  _°B@7ŠùÀ€ùÀ þÿÀ Ä Äeƒ`ÄeúÀtôÿÀå ƒ_¨À xØÃEð7Š>ùÂ%·Š4ù÷%.ùÊÀ(ùÀ ðÀùÀ Ap· ù@\ÃEðÀùÀ þÿæß Ö À «7ŠêøÀÀ 5øÿõ-ÜøøÿõíÔøøÿ7 Îø@øÿÀ 5à@øÿÀ 7àºøwíøÿ²ø÷%¬ø‰ÀÀ À Ä Äe÷ ’øÀŒøÀ þÿ@5øÿÌ ÄeL-øÿùÀhøÀ 0· \ø_|Î²ß wLødddddddddv ð XhºøòUndefined identifierImproper %s identifierDeleted %s%sReplaced %s%s with a %s%sInserted %s%sExpected %s%sUndefined %sReplaced %s id with a %s idEnd-of-file expected - QUITUnexpected end-of-file - QUITloccorùØééyéèéˆ)IÉyéèÉéˆÉÉ©™‰¸‰‰‰))9‰ùù¸ùéøéˆ‰Ié‰)Ééèˆxh99Ù Ù éXˆ9YY¸Y))øèˆ¨X¨¹Ééè)é©ÙYYYXé ©XéˆYYX©Ù)X©Ù)¹øèˆX¨XX¨¸‰¹ÉÉXèyé  9 ù¨h 9 ù¨h 9 ùéX )))IYxhYéY¨ )Y))Y))Y9IYéè )Yéé Y))Y9I9 ù ™¹ ©éˆ¸é 9 ù驘xh  ©©˜©¸©©¸¨  h ©©© ©©X H 8 ©©˜©˜©89 _all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _classes _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _yytokcn _yywhcnt _cmhp _yyw \_yypw _insmult#´_repmult#¼_delmult#Ä_yyact _yypact _yypv _yytips _yytipct _yytipv _yCcnt _YC0 b_YC _yyuniqu#Ê_yyTshif _cact _ccost _cchar _cflag _ACtok _yyrecov"L10002ÌL21L27vL30 L34ðL38 L42X~yyrecovcsv Ps0idfailciyyrwantøÿyyrhaveöÿL4_yylex _copy L20001BL8Î_nullsem _correct" _trystat"0L10fL11PL13ÒapL14žL16¶_yyexeof"L18þL19¶L22ZL23@L24à_yerror L25TL26õL20003`_unyylex L28”_tokname L29 L20004²L31ªL32¶L33L20005°L35úL36L373L39AL43†L44OL45¤L46\L10003ÔL50ÜL10004úL3öcret ~yyexeofL54x_pexit _yyunexe"~yyunexeL58”~trystat0Ps0Pv0flaginsmult delmult repmultcapiøÿactionsöÿ_delcost L62~L64œL65˜L20009¤_inscost L684L69úL20007(_repcost L67”_yCpv _yyredfa ~correct fcharorigincmultvec Ps0 Pv0ntokìÿmvpsL80ÔL81L20013"_loccor"\L83LL84<L79T_yygo _yypgo _yyr1 _yyr2 L10009ØL20018hL96ºL100øL20019ò~loccor\psntokpnnchariøÿL88nL87°L89|L91œL20015”L94¨L97Ì_yyEactr L102HL103NL10006|L10007€L104ŽL20017†L105”L108²_panic y.tab.oèÊѤ‘0VØ Äèw üÿÄøÿ@Àå ¯‚À xÚ  ß &&ß –%wÈÿ &÷ ¾ÿÖ &&&÷ ®ÿÖ &æFß Æeß ß 7f àÎæZ"ß Ö  & & àß &÷ dÿÖ &ß Ö 7. ô ÂÎv"&ß Ö º÷ <ÿ·÷ 6ÿ÷ 2ÿ÷ .ÿ÷ *ÿ æ|"ß í÷ ÿ¦÷ ÿ£÷ ÿ ß &÷ úþÖ &ß Öô  Î&ß Ö ß Ÿô  Î&ß Ö &ß Ö Œß &&÷ ’þÖ &ß _2÷ ‚þ æ’"«ß &&÷ bþÖ &ß _2÷ Rþ æ®"“ß &÷ 6þÖ &&÷ *þÖ &ß _2÷ þ æÉ"_Üß _4ß _4&&& ÷ äýÖ &&ß Æeß _n÷œ_4÷’_4ß _n7 ~_4&÷ –ýÖ &æß –%_n&÷ xýÖ &æð&÷ býÖ &æåß æß _R7_4_*_Jæêæåæàæ Ûæ#ÖæHÑæ$Ìæ ß Ö &÷ ÊüÖ &æ%™&÷ ´üÖ &æ&Žß &÷ ˜üÖ &æ'€&&÷ ~üÖ &æ(ß Æe_n &÷ ^üÖ &&÷ RüÖ &æ)é&÷ <üÖ &æ*_r&÷ $üÖ &æ+_r&÷ üÖ &æ,ß –%7Òô _4Îã"_´&÷ ÜûÖ && ÷ ÒûÖ &æ© æê"_Ü&÷ ²ûÖ &&÷ ¦ûÖ &æC“ß && &÷ „ûÖ &æ.ß Æe_n ß &&è æ#_Ü&÷ FûÖ &&÷ :ûÖ &æ/ß _Ž ì ÂÊ%JÊI2_4_J_4ƒ_4Ë%<_4÷ Þú÷ Øú7Ôú÷%Îú_4÷% Âú_4÷•e¶úÎææß –%Î$#ß ÷ ˜ú7”úËJ_47 `ÎæD#_Ü&÷ púÖ &&÷ dúÖ &æ0_Š& &òô & æ&÷ 2ú–%&&÷ &úÖ &æ2_Š &æú÷ úÖ &æ3_Šß &&îß &÷ ÚùÖ &æ1ß –%7 ô _4Î`#_´ß &&÷  ùÖ &æ5ß Æe7dô _4Îf#_´&÷ nùÖ &&÷ bùÖ &æ6_Š&&÷ FùÖ &æ7_Š&÷ .ùÖ &&÷ "ùÖ &æ8_Š &&&÷ ùÖ &æ9_„ &&&÷ âøÖ &æ:_„Î&ß Ö &÷ ¾øÖ &æ;_r &&&÷  øÖ &æ<_„ &&&÷ €øÖ &æI_„ ð&÷ døÖ &æ=_r7 ,Îæk#_Ü&&÷ 8øÖ &æ_Š7 Îæ#_Ü&ð%&&_Š&æ_r&æ_r&ð%ÚÖ&ð%ÏË æ_¶ææ_r& æ!_r& æG_r& æ"_rß &æ4_r& æ_rß ææ>_r ø&æ?_r &ß _Rß 1_4ß æBß Ö âß æBß Ö &ß Ö Û &æCß –%â &æCß –%åÎDß ÔÎDß Û &&æE_Š õ& óî÷_4÷_4÷_4÷ þ_4÷ ô_4÷ ê_4÷ à_4÷ Ö_4÷Ì_4÷Â_4÷¸_4÷®_4÷¤_4÷š_4÷�_4÷†_4æ¢õ÷ žõÖ &æK_rw Žõ@ rÁ Áe$"A! þyÀwhõÎfß Ö öÎ÷ÎôÎñÎîÎëÎèÎ åÎâ8tŠÀÆÀ4âèîô0V^z~†Žª®¶¾âæ4Àðü6@JV^|’¨¾VÈÐØ4âìö ÈÐ44@4Vr–¸ÐèÈÐÈÐ8VBVd�ÈФV®ÖÈÚÈÐtx„¨VV´æ¨4J†ªÆê *NlŒ�¨¸Ôä"6Lbl|Š˜4Ô¦¾¼ÊàÈÐ4äô  2 X j | † 4� ¢ ¨ ° ¶ À ÈÐÈÐÊ Ô Þ è ò ü    $ $ . 8 B À L L ÈÐÈÐ4V âþ @0ÿ ïþ ÿ ýþ0ûþ ñþ0ëþ ãþ0Ûþ Ùþ Øÿ 0ýþ ñþ ãþ 000ÿ ýþ 0ûþ 0ñþ 0ïþ ëþ 0ãþ 0Ûþ 0Ùþ 0ÿ ýþ 0ûþ 0ñþ 0ïþ ëþ 0ãþ 0Ûþ 0Ùþ 0ÿ ýþ 0ûþ 0ñþ 0ïþ! ëþ 0ãþ 0Ûþ 0Ùþ 0ìþ# ÿ% ïþ$ ÿ' ïþ& ÿ) ïþ! ïþ! Òÿ+ 0ÿ< ýþ3 üþ4 õþ]0óþ8 ðþ9 ïþ1 îþ: ìþ/ àþ7 Øþ6 ×þ5 Óþ; Åÿ]0òþB 0ïþD !0"0ÃÿE 0ÃÿF 0ÔÿH ÆÿG 0­0ÅÿI ÔÿJ  0ÃÿK 0ÃÿL 0ÔÿH ÆÿM 0×ÿN ÔÿH 0õþO ÅÿP S0ÿ< ýþ3 üþ4 õþ]0óþ8 ðþ9 ïþ1 îþ: ìþ/ àþ7 Úþ]0Øþ6 ×þ5 Óþ; Åÿ]0ÆÿR ØÿS _0ÿT öþ¶0õþ¶0Úþ¶0Òÿ´0Øÿ¶0Åÿ¶0Æÿ‡0¢ÿ³0¥ÿ²0b0ÿW ïþ` ìþ\ éþc èþ^ äþZ Þþ[ Öþ] ÕÿX ÓÿY Øÿb ¥ÿd ïþg ïþg ìþk o0Æÿn Òÿp ¢ÿq ¥ÿo ˆ0¥ÿr Òÿs ¢ÿt Åÿu ÿ ýþ0ûþ ñþ0ëþ ãþ0Ûþ Ùþ Øÿx $0ïþ‚ ìþ èþ� Þþz Öþ€ Õÿ| Óÿ} þþ‹ ôþŒ ïþ� ìþ èþ� åþ‡ áþŽ ßþ� Þþz Öþ€ Õÿ| Óÿ} Øÿ‰ ¢ÿ… ïþ‘  0ìþ’ Åÿ– 0U0T0ÿW ïþ` ìþ\ éþc èþ^ äþZ Þþ[ Öþ] ÕÿX ÓÿY Øÿb ¥ÿd a0õþ› ÅÿP ÿþ¬ úþª íþ£ êþ« çþœ æþ¦ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ q0w0x0y0z0{0|0ÿ° ÿþ‡0úþ‡0ùþ‡0øþ‡0÷þ‡0öþ‡0õþ‡0íþ‡0êþ‡0çþ‡0æþ‡0Ýþ‡0Üþ‡0Úþ‡0Õþ‡0Ôþ‡0Äÿ‡0Ãÿ‡0Âÿ‡0Õÿ‡0Óÿ‡0„ÿ‡0Öÿ‡0Ñÿ‡0Úÿ‡0Òÿ´0Øÿ·0×ÿ‡0Åÿ‡0Ôÿ‡0Æÿ‡0¢ÿ³0¥ÿ²0£ÿ‡0Øÿ± ÿW ïþ` ìþ\ éþc èþ^ äþZ Þþ[ Öþ] ÕÿX ÓÿY Øÿb ¥ÿd £ÿµ ùþ¸ Ôÿ¹ «0Òÿ´0¢ÿ³0¥ÿ²0‡0ÿþ¬ úþª ùþº íþ£ êþ« æþ¦ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ Úþ» ÅÿP ÷þ¼ Üþ½ j0ÿþ¬ úþª íþ£ êþ« æþ¦ Ýþ¾ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ ÿþ¬ úþª íþ£ êþ« æþ¦ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ n0Ãÿ¿ ÿW ïþ` ìþ\ éþc èþ^ äþZ Þþ[ Öþ] ÕÿX ÓÿY Øÿb ¥ÿd ïþà Ž0�00ýþ ñþ ãþ ÆÿÈ *0ñþÍ ïþ! ãþÎ ÙþÌ ÅÿÏ -0.0ïþ‚ ìþ èþ� Öþ€ 10203040¯0ÅÿÒ 70ïþÓ 90þþ‹ ôþŒ áþŽ ßþ� ;0øþÖ ¥ÿ× çþØ çþÙ ïþ! H0øþ¯0°0ÅÿÞ ®00Åÿß Åÿà Åÿá 0^0×ÿâ Ôÿã ˜0ÿþ¬ úþª íþ£ êþ« æþ¦ Õþæ Ôþç Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ Æÿä �0c0ÿê õþ\0ïþ‚ ìþ èþ� Þþz Öþ€ Òþì Õÿ| Óÿ} Åÿ\0š0Ãÿò Âÿñ ›0Ãÿó œ0 0¡0¢0£0¤0¥0¦0§0¨0©0ª0ÿþ¬ úþª êþ« Öÿ¨ Ñÿ© Úÿ­ s0ÿþ¬ úþª êþ« Öÿ¨ Ñÿ© Úÿ­ t0}0ÿþ¬ úþª íþ£ êþ« æþ¦ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ ×ÿõ €0Ôÿ÷ £ÿö ‚0ƒ0ÿþ¬ úþª øþø íþ£ êþ« æþ¦ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ …0ïþg Ôÿ!£ÿ!ÿþ¬ úþª íþ£ êþ« æþ¦ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ –0Œ0µ0Ôÿ!£ÿ!‹0Åÿ!Åÿ!×ÿ!Åÿ!+0ÔÿH Æÿ !0/000080:0×ÿ !ÔÿH ïþ� ìþ èþ� Þþz Öþ€ Õÿ| Óÿ} Øÿ‰ ïþ� ìþ èþ� Þþz Öþ€ Õÿ| Óÿ} Øÿ‰ õþ!ÿ!üþ!õþJ0×ÿJ0Åÿ!E0ÔÿH Æÿ!0000`0ÿW ïþ` ìþ\ éþc èþ^ äþZ Þþ[ Öþ] ÕÿX ÓÿY Øÿb ¥ÿd ’0”0•0ÿ!õþ!Åÿ!V0X0Ôÿ!Æÿ!50ÿþ¬ úþª íþêþ« æþ¦ ÄÿÃÿÂÿÕÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ r0ÿþ¬ úþª êþ« Öÿ¨ Ñÿ© Úÿ­ u0v0�0ž0Ÿ0×ÿ!!Ôÿã 0�0ÿW ïþ` ìþ\ éþc èþ^ äþZ Þþ[ Öþ] ÕÿX ÓÿY Øÿb ¥ÿd e0¬0f0ÿþ¬ úþª íþ£ êþ« æþ¦ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ g0ÿþ¬ úþª ùþ$!íþ£ êþ« æþ¦ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ ÿþ¬ úþª ùþ%!íþ£ êþ« æþ¦ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ öþ&!k0ÿþ¬ úþª íþ£ êþ« æþ¦ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ p0Š0‰00 0)0#0ñþÍ ïþ! ãþÎ ÙþÌ ÔÿH Æÿ*!ÔÿH Æÿ+!ÔÿH (0<0=0Ôÿ-!£ÿ,!B0?0@0A0D0ïþ! H0G0ïþ0!™0ÿþ¬ úþª íþ£ êþ« æþ¦ Õþæ Ôþç Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ Æÿ2!�0ïþ‚ ìþ èþ� Þþz Öþ€ Òþì Õÿ| Óÿ} \0Y0d0[0~0„0ÿþ¬ úþª íþ£ êþ« æþ¦ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ †0ÿ< ýþ3 üþ4 öþ]0õþ]0óþ8 ðþ9 ïþ1 îþ: ìþ/ àþ7 Úþ]0Øþ6 ×þ5 Óþ; Åÿ]0ÿþ¬ úþª íþ£ êþ« æþ¦ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ —0,0%0çþ!Æÿ?!°0I0“0W060Z0h0i0l0&0'0C0ïþ‚ ìþ èþ� Þþz Öþ€ Õÿ| Óÿ} P0ïþF!ÿþ¬ úþª íþ£ êþ« æþ¦ Äÿ¡ Ãÿ  Âÿ¢ Õÿ¤ Óÿ¥ „ÿ§ Öÿ¨ Ñÿ© Úÿ­ ‘0>0ÿH!õþK0×ÿK0ÅÿG!M0Ôÿ!ÆÿI!çþJ!°0ïþ‚ ìþ èþ� Þþz Öþ€ Õÿ| Óÿ} P0O0ØÿL!N0ïþ! ×ÿO!H0ÿH!õþL0×ÿL0ÅÿG!×ÿP!R0Q0ÿÿ !")*+,?Rehmrwz}~›ž¡¢£¦§ª«°±²·¸»¼¿ÀÅÆËÌÑÒñô÷ ~ & ~),  /03:=@CFWZii†‰ŠZii��‘’Ò“¬­²Ñ  ÒÓÔÕÖר  "=BCJinst“°³ÌϳÌÐÑÒÙÜåèéêêóôõö÷øûüÿ w   !$'*+,12UV   mnsvwxyz{|}~€�Ž›“œ»¼ÁÂÃÒâÒ   Ò åê iwww !"#$%&Z+i<MP[\abcdef €�‚‰Š‹Ò�‘®»¼½¾¿ÄÅÆ ßàáâÿ=@] ^_`abcilqvyz{€�‚ƒ„…ˆ‰iŒ�°ÁÂZÒÃÄÅÆÒÒã!"ii#<&'*- ./0123456i78GJghqrwz{Š‹8Ž�”� ¡ÿÿ  ""!!!###$$$&''''(((%%%%%%%%%%%%%%%%%%%+,,,,,,,,,,,,,,,,,,3344..555555;;;;;<<77**///////0000111111--=6:89)2ÿÿÿÿÿÿÿÿCÿÿCvÿÿvÆÿÿ (*xˉÕÌ Í Î ËÿÿÝ3U7iÿÿ,ÿÿÿÿ ÿÿ ÿÿ ÿÿ ÿÿ"EyK“œíÖí5>íGíJíÿÿŠG�L”M•ÈØ )1*:+;<AÿÿƒÿÿÿÿÿÿÿÿÿÿwÿÿÇÿÿÉ(ÿÿÊ|Ð}Ñÿÿ{ÿÿ~œëëÿÿD×Ù-=ÿÿ„‡Ôÿÿ†/?EÿÿˆÿÿLNÿÿÚÿÿÛÿÿ.ÿÿÜJMÿÿBGKÿÿC.QR—¸ùºû¾ÿì 6$7%8&9ÿÿ-ÿÿ.ÿÿè4ÿÿéÿÿ0±ôÿÿ˜8jÿÿ24V6h:l;mX®Y¯b²c³d·oÁrÁ�îžïŸð»ü¼ý½þ¿ä÷·ø#'2@ÿÿšÿÿe=.=3=5f7=8=R=¸=¹úº=¾=ì==$=%=&=ÿÿ_ÿÿ�ÿÿžÿÿŸÿÿaÿÿ´÷"ÿÿ¶ÿÿ>ÿÿ?rÄÿÿÀÿÿ@sÅÿÿÂÿÿAãÿÿ™3ÿÿåÿÿÿÿÿÿ %+-/1357Kacegikmosy{�‰�“•™›�¡¥©¿ÁÃÇÉÍÑ%')+-/357;=ACGKÿÿ*"4"B"XYZ[CWXYZ[� Ò ® º Æ � ¨ ˜ ¨ ´ À Ì Malformed program statementbeginMalformed declarationMalformed const declarationMalformed type declarationMalformed var declarationrecordMalformed record declarationMalformed record declarationDeleted ';' before keyword elseMalformed statement in casebegincaseMalformed statementMissing/malformed expression© Iø  ) 9 ù X h x ¨ ¸ ù È ø )9I¨ )9Iø 9 x¨¸¨èù  8ù H9h9 ù xi˜x ù X h 8 9 ¸9 9 8 È È ù ù 8 ù ù è9 ù ù ù ù ¸9 ù 9 ù 8 ù X 8 9 ù X é‰é¹é)øè˜¸‰é9 ù ©ù ©ù 8 ¸ ù ¸8 ù è9 ù ù ¹ ù ù ù ¨ù ù ù ù ù 8 8 ¸8 8 È 8 È è¸¸øø©ù © ) Ø_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval#Ø _N _lastkey _yykey _classes _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _yytokcn _yywhcnt _cmhp _yyw \_yypw _yyerrfl _yypv _yyactr"L10013Ú L6L78L8tL10ŠL13ÀL15ÆL34L18âL19èL20îL21ôL22L230L24VL20047^L26zL27~L30†L20054ŽL32ªL33®L36¶L20064¾L38âL39æL43ðL45üL46L476L48@L49JL50VL51^L52|L53’L54¨L55¾L57ÈL58ÐL59ØL60âL61ìL62öL63L64 L65L68L69@L70VL71rL72–L73¸L74ÐL75èL80L838L86BL88dL89�L92¤L95®L96ÖL98ÚL101L108tL109xL112„L113¨L116´L117æL118L120¨L121L124JL127†L128ªL129ÆL130êL131 L132*L133NL134lL135ŒL136�L140¸L142ÔL145äL146L147"L1486L149LL150bL151lL152|L153ŠL154˜L156¦L158¼L159ÊL160àL163äL164ôL165 L166 L1672 L168X L169j L170| L171† L172� L173¢ L174¨ L175° L176¶ L177À L182Ê L183Ô L184Þ L185è L186ò L187ü L188 L189 L190 L191$ L193. L1948 L195B L197L L203V ~yyactrcsv __np__yyYpvpq_lineof _funcend L200002cret _fixlist L20020J_tree5 _funchdr _funcbod L20021nL9Z"_yyPerro _fixstli _tree2 L12v"L20024´_brerror L20022¼_trfree _consten _typeend _varend L16|"L20027Ü_label L10000L10001*_hash _newlist L10002:L10003J_addlist L20028R_constbe _const L28’"_typebeg _type L34®"_varbeg _var L40É"_funcfwd L20066r_tree3 L20087¶L20089Š_tree4 L20092ŽL77ã"L84ê"L20099tL20101„L93#L20115²L99øL103,_yylex _copy L105$#_yerror L110D#L20119˜L10004ÂL10005ÒL20123ðL123`#L126f#L20130pL139k#L144#L10006þL20159øL20006L20134ÔL20136ö_setupva L20140 L20143. L20148F _tree1 L20155’ L20157– _yyact#: _yypact#€_yyr1#&_yyr2#˜_yygo# _yypgo#¦!_yyEactr"n L10016$"L10017*"L100184"L10019B"L209� L219Ò L212® L214º L216Æ L211¨ L210˜ L213´ L215À L217Ì ~yyEactrn __np__varL10015ˆ L206” L20162œ _identis fdec.oèzФ‘xBš°w üÿ@ß À ÷ ÷Ýýÿ÷•õÿ· Øÿ÷ÔÿÒÿ÷ Îÿ÷‹Êÿ @ß À ÷ ´ÿ÷ ®ÿý%F÷‹¢ÿ÷‹œÿ÷ –ÿ÷%�ÿ÷‹ŠÿÎß ÷ |ÿ@ß ß À ÷ bÿÎ^ÿ· Zÿ@&ß Ö ÷ Hÿ÷ Dÿ@ÁB7€ þyÎXß Î`÷ÎjôÎsß ÷ ÿ@ß ý%Fi@NÎ{ß ô ÛÀå  ‚À xRÎ}ß ÷ ¼þÎ—ß ü% Î©ß ß Î«ß ÷ |þÌÎß ÃáÎ”ß ôÎ�Ì΋ÉÎ­ß ý%@ð  Î¯ß @ß Î±@Î³ß Îµß ß õÎ¸ß Îºß @ß ÷ ØýÁÔýWp ÁeNß ÷ Âý÷ ¾ý÷ ºý÷‹´ýÎß @wžýw šý÷ –ýÎß ÷ Šý÷ †ýÎ¼ß ÎÄß Îß ÷ jý@wbýw ^ý÷ Zý÷‹TýÎß · Fý÷Bý@ý@w8ýw 4ýæ 7 .ý@5øÿÁ ýWp ÁeNß ÷ ý÷%ý÷‹ý÷‹üü÷ öü÷-òüðü÷ êü÷%äü÷ ÞüNß ß À ÷-ÈüÆü÷ Àü÷ ¼ü÷ ¸üÎÆß Nß ÷ ¤üÀ ÷-œüšüNß Îß Nøÿß Nß ÷ tüÎß ÷ hü÷ düÎÌß ÷%VüÎÐÎÒß Nß ÷ :üÀ Nß ÷ *ü÷ &ü÷‹ üÎß Nß À À8üÀEþÿ7�ü· ,ü÷ öû÷ ðû÷ ìû÷ èûwäûw àûõ  ÎÔß Nß ÎØß w¾ûFàæÐì8¤žprogramprocedurefunctionfunchdr(varprocedurefunction, {identifier list}:;):;(, );forward;beginend.; { }ù8ùéùé99IY¹8y™ÉÙ¹9IØéø)‰‰8)Iˆø Xˆ èøè èhèøXèhèø)9ø8y99IXiù©Ø)IˆèXÙiù9IØ99Iiù‰9ø˜y9ÉÙ¹9IÉ9éø9I))Iˆø)9IØ( 8 I X)Iˆ9è8 )99IX8ùéù9é ™)iùèèi_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _funchdr"L10001BL10002HL14àL16æL12ÐL18ìL10005RL288L32¤L30ž~funchdrcsv rrlil_inpflis L4$_getcnt L5N_setprin L6R_printon L7j_printof L8€_ppgoin _puthedr _setline _noblank L9ž_ppnl _cnttab _indent L10003ÈL13XL20000Ô_ppkw L10ôL20002ÚL23L15`L17jL19s_panic _ppspac _ppid L20ÞL21²L22{_ppbra L26DL29}L20004<L35†L39—L38VL40rL41©_ppsep _gtype L24ªL42«L37”L31�L33‹L43­_ppket L44ØL45¯L46±L20006L48L49³L50úL20008òL52µL53¸L54º_putcml _savecnt L56V_ppgoout cret _funcfwd"b~funcfwdbfp_baroff L60¼L61Ä_baron _funcbod"ž~funcbodžfpL65¶_funcend"È~funcendÈfpbundlebinfoblkøÿ_cntstat _rescnt L69 L70_unprint L71"L72@L73ÆL74p_ppsname"_statlis _setinfo _putcmp L75ÌL10006²L76ÐL10007¶L77ÒL78ÒL79êL80L68_flushcm ~ppsnamefpL84>L85ÔL86Østat.oè;Ѥ‘ÌR¼ w üÿD ß ,Îœß ô ß ,wÔÿw ÐÿD÷ Èÿ7 Âÿ÷ ¾ÿÄ ÷ ¶ÿ÷ ²ÿÎžß :Ì%8ß ß Ì%2÷„ÿ÷ €ÿß ß , rÁ ÁeTA! þy 룧 ÷ Fÿß ß ÷ 4ÿw0ÿ÷ ,ÿ÷ (ÿß pð÷ ÿ÷ ÿß °è÷ ÿ÷ ÿß à÷ üþ÷ øþß îØ÷ ìþ÷ èþÎ&ß ˆÖ Í÷ Öþß ÂÇ÷ Êþß ÷¼þ½÷ ¶þ÷ ²þß µ÷ ¦þ÷ ¢þß r­÷ –þß .§w Šþ묧 ÷ ~þ@ ß  Î­ß ô롧 Î@&ß æÖ w>þw :þ@ß ÎÇß  @&ß Ö wþw þÆå NÎeðÿß ÎÌß ÷ ôý@ß Â÷ äýý%9ÎÐÎÓß ÷ Êý @&ß Ö ÷ ¶ý @&ß æÖ NÎeðÿß À ÷ ”ýw�ýw ŒýÆå ÎÚß ÷ |ý @&ß Ö ÷ hýÎÝß ÷ \ý@NÎeðÿß ÷ FýÄ Ì%1 &ß ¢Ö  ß ß , ß ý%IJ÷ ýf&fÎeðÿ÷ ýÖ €å�å€ f&÷ ôü–%Ä Ì%1÷ äü÷ àü÷ ¨÷ Öü@Îâß ÷ Âü÷ ¾üÄ Ì%1 &ß ¢Ö Ì%<Ì%Iß p  ß ß , ß NÎeðÿß À ÷ pü@ð ÷ büÄ Ì%1÷ "wPüw LüÆå Îçß ÷ <ü @&ß Ö NÎeðÿß ÷ ü @&ß æÖ NÎeðÿß À ÷ üûwøûw ôûÆå Îíß  ß NÎeðÿß ÷ Ôû@ß Îß ÷ ¼û÷ ¸ûÎôß ÷ ¬û @&ß Ö Îß  ß NÎeðÿß À ÷ |ûwxûw tûNfß ¢Ö ÷ 0w^ûw ZûÎúß Nß @ß Nß w2ûw .û÷ *û÷ &ûÎß wûw û÷ ûÎß ÷ ûD Ì%1N&ß ˆÖ Nß ß ,Nß wÒúw ÎúÎß ÷ Âú @&ß Ö w®ú\fr|®¶VЮàfЮ&Fð2;nullstatwith, {record variable list} := fortodowntoifthenelsewhilerepeatuntilbeginenddoassertièùi99Yy‰¨Øø9(X‰hØyù‰‰‰‰‰‰‰ø9‰‰‰ix‰¸è¨ùi¸è8ùixx‰‰x‰8YØYùix‰8‰x‰xYˆ˜¹ÉÙ‰‰x9 ‰ˆ˜ØY9 ùix‰8xYØYùixˆxY˜‰x‰8ˆ˜ØYùiùixˆ˜ùi‰xùi‰x‰ˆ˜ùix‰8ù_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts#R_fout _cntstat _statlis"~statliscsv rslL4"L5 _stateme",L3(L7œ_ppsep cret L10002TL10003\L10004fL10005rL10006|L21®L23¶L34VL29L25ÐL30L26àL35fL31&L33FL27ðL322~stateme,rsL13B_getcnt L14X_putcm _ppitem L15ž_ppid L11ÌL16h_setinfo L17p_setline L18’_ppnl _labeled L10001¦L22£_panic _proc L19À_indent _ifop"p_whilop"°_repop"_forop"î_ppstbl"ˆ_asgnop"Â_gotoop _caseop _withop"r_asrtop".~withoprspL39¨_ppkw _ppspac L40¤L41Œ_lvalue L44¬L43­L45°_ppstdo"æ~asgnopÂrL49Ç_rvalue ~foropîrscntðÿ_savecnt L53ÌL10007*L54ÐL10008.L55Ó_rescnt L52l~ifopprsscntðÿL60ÚL61ÝL62Ð_ppstbl1"¢L63â_ppgoin _ppgoout L64~_nowcnt _cntof _setcnt L10009L65"L66*_ppstbl2"ÎL67â_unprint L68lL69XL10010dL73�L74žL59¬~whilop°rscntðÿL79çL78~repoprscntðÿL84íL85ôL83„~ppstblˆrm~ppstbl1¢rmL93ú~ppstbl2ÎL97~ppstdoærlsL101L102L100*~asrtop.sL107const.oèBФ�€$T€w üÿwöÿ÷‹òÿ÷ ìÿ÷ èÿ÷ äÿ÷ àÿ÷ ÜÿÎFß Îß 7 ìwÄÿw Àÿ÷ ¼ÿNß ÷ °ÿNß ÎLß Nß ¶ÎPß · °Nß ÷ €ÿw|ÿw xÿ÷%ÿÿ–÷‹lÿ÷ ŠÎRß Îß ÷ÿÿrwJÿw FÿDÄ Î`ß w2ÿÁ&7\ þyÎkß Îrß äÎtøâß Ì%HÝÎvß Øß Óÿÿ #$Hèöüàconst = ;{const decls}{constant}gconst+-biY)™©¹ÉÙøi¹x‰˜¸¸èùi)˜Xi˜ˆ¸Ø¸ø_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _constcn#$_constbe"~constbecsv lL4_printof _puthedr _putcm _ppnl _indent L5F_ppkw _ppgoin cret _const"<~const<clinecidcdecl_setline _ppitem _ppid L9L_ppsep _gconst"¶L10P_setinfo _putcml _consten"„~consten„L13²L14¤L15R_ppgoout L10001&L100024L36L26èL28öL30üL33L24à~gconst¶rcnL19¾L20ÎL21`L20000ÆL18ÊL10003ØL25k_panic L27rL20002ì_ppop L29t_ppnumb L35v_ppstr type.oèwѤ� ’ªxw üÿwöÿ÷‹òÿ÷ ìÿ÷ èÿ÷ äÿ÷ àÿ÷ ÜÿÎÊß Îß 7 ZwÄÿw Àÿ÷ ¼ÿNß ÷ °ÿNß ÎÏß Nß °ÎÒß Nß ÷ „ÿ· w|ÿw xÿ÷%ÿÿ÷ þÎÔß Îß ÷ÿÿæwPÿw LÿDÄ Îáß *Ì% ß  rÁ Áe”A! þyÎèß ÷ ÿß÷ úþß ß ÷ æþwâþ÷ Þþß ¤ò÷ Òþß ì÷ ÆþÎíß ß °á÷ °þÎïß ô÷ ¢þß ,Ô÷ –þ &ß Ö Ë÷ „þÎöß ÷ xþÎûã÷ nþÎþß ÷ bþÎØw XþDÎß  Îß Îß ƒ Ã%÷ &þ ß îÎß Î ß Îß wøýw ôýDß Îß ß wÔýw ÐýDÎß ÷ ÀýÎ%ß ÷ ®ýÎß °Ã Î'ß ôÎ)ß Î7ß ÷ ‚ýÎ9ß ß °wnýÿÿš¦²%ðøL*xfð6ZŽtype =;{type decls}{type}type^packedfileofsetof(, {constant list})..array[,{subscr list}]ofiY)™©¹ÉÙøi¹x‰˜¸¸èùi˜Xi˜xèùù˜xùùùùHùøùù˜ùøùùøùi¸¸‰˜X˜¸i¸¸¸iøù¸9¸˜¸ùø_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _typecnt#’_typebeg"~typebegcsv lL4_printof _puthedr _putcm _ppnl _indent L5Ê_ppkw _ppgoin cret _type"<~type<tlinetidtdecl_setline _ppitem _ppid L9Ï_ppsep _gtype"°L10Ò_setinfo _putcml _typeend"„~typeend„L13¬L14žL15Ô_ppgoout L10002”L10003šL10004¦L10005²L24ðL26øL32LL29*L36xL35fL306L28L34ZL39ŽL27~gtype°rL19ÆL20áL20000ÀL18L21ÔL10001èL25è_panic _ppspac L22_tyscal"¤_tyrang"L31í_ppop L20002BL33ïL20005T_tyary",_tyrec L37öL38ûL40þL41~tyscal¤riL45L46ôL47ÜL20007ÆL49L51üL52 L53~tyrangr_gconst L57~tyary,rtlL61L62%L63j_ppunspa L64RL67rL66'L68)L697L709rval.oè&Ѥ�( ò’w üÿõ Îjß _*ý%@À @ rÁ ÁeòA! þy@ß ý%GhÎqß cÎsß ^Nß YNß TNß O@ß Hõ Îwß @Àå ‚À x Îyß ý%Î~Î€ß @ß ¼&&÷ ÌÖ €% ÷‹ÿ Îß ÷ öþÎ@&ß Ö õ Î‚ß wÒþ@ß ¼&&÷ xÖ €%÷‹²þ Î&ß Ö ÷ œþË¥aË¥zË¥AË¥ZÎß Îß ÷ rþ@ß ¼&&÷ Ö €%÷‹Rþ Î&­w @þõ  @Àå  ‚À xFÀwþÀûÀø öø  #šŒFn‚xšdFFÄ..............¼Ä.èââââèèîîîîîîÚâèîè{expr}bnil(rval+-)iØ88Xhxˆ˜Èè89Xy¨¹9yX8y9i¹_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _opnames _rvalue"L10002òL10003øL10004L10005 L7šL19ŒL11FL16nL18‚L17xL14dL10017 L27ÄL45.L30L24¼~rvaluecsv rparalopnameL4L5j_ppid L3*L6(L10001>_ppnumb L13q_ppsep L15s_ppkw _funccod _lvalue _cset _ppstr L20¨L21w_ppbra L25y_panic L10006ÒL28~L10007ÖL29€_ppop _prec"¼L10008 L10009_ppspac L20001L49‚_ppket cret L10010TL10011XL10013pL10012|L46„L47ŠL10014´L10015¸L10019FL65èL60âL66îL55Ú~prec¼rL52Þlval.oèªÐ¤�XÀ4`w üÿ@ß @Ä ) ÀÀåA ‚À xÀÎÈß ëÎß røÎÊß Îß ïÎÌúÎçß çwŽÿw ŠÿÎíß õ  @&ß Ö @5 Îïß í & ß Ö Îòß w@ÿ^BL4^.{unexpected argument list}lval2[, ]©èHH訹©ø(X(x¹_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _lvalue"L10001ÀL14^L11BL12LL94~lvaluecsv rcco_ppid L4L3nL6<L16dL10È_ppop _arycod"rL13ÊL20000XL15ÌL17ç_panic cret ~arycodrelL21í_ppbra L22ªL23„_rvalue L26´L25ï_ppsep L27ò_ppket func.oè„Ф�8ìw üÿ@@&ß Ö wâÿYx‰_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _funccod"~funccodcsv r_call cret proc.oèüФ�8ìw üÿ@@&ß Ö wâÿYx‰_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _proc"~proccsv r_call cret Version.oè2Óí�@ December 4, 1977_version#call.oèФ�äÂ$w üÿNß õ VÎÂß @Ì%E4 &ß Ö ô  ÎÄß  &ß Ö ô%ô%÷ žÿô%ÎÇÎËß ô ÎÏß  & @&ß Ö @5ÎÒß ²ÎÕß w>ÿ(: octhex: , )Y˜Èø(øY¨(ø()_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _call"~callcsv pargval_ppid L3¾L5Â_ppbra L6L8�_rvalue L9NL10Ä_ppsep L10000^L11z_ppspac L10001pL12ÇL10002tL13Ë_ppkw L17 L16ÏL20001šL7¶L18ÒL19Õ_ppket cret case.oè)Ф�àB(üw üÿÆå NÎeðÿß ÎBß ÷ âÿ @&ß Ö ÷ ÎÿÎGß @jg÷ ²ÿÎß Îß ÷ žÿ÷ šÿ ß Ã ÎLß Îß Ã‚ Â%ñÎJß ÷ `ÿèÎOß Îaß Ã÷ Bÿ ß Ã Ë%1÷ .ÿ÷ *ÿ÷ &ÿ æß Ö ÷ ÿ÷ ÿ÷ ÿ÷ ÿÎß  ß Îß Îcß Ä ”NÎeðÿß À ÷ Òþ÷ Îþ÷ ÊþÎeß w¾þcaseof,, {case label list}:;endY¸ØéøéØ9HXiyˆèøè)HhyHiy™¨9¹™™ØèèèyiyØI_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _caseop"~caseopcsv rclcsiscntðÿ_savecnt L4B_ppkw _ppspac _rvalue L5GL6L20004D_baroff _ppgoin _setline _ppnl _indent _ppbra L8¢L20000rL9~L20006vL14L_ppsep _gconst L15ªL12J_ppitem L16O_ppid L17a_ppket _getcnt L18ò_baron _ppstbl1 _ppstbl2 L19ü_stateme _ppgoout L7L20c_rescnt L21.L22ecret cset.oèPФ�|h ˆw üÿÎhß @#ÄÃÄ úÌ%? &ß Ö Îjß  & &ß Ö Ã Îmß ÝÎpß w˜ÿ[.., ]Y¨èèHY_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _cset"~csetcsv reelL4h_ppbra L5\L6L8D_rvalue L9j_ppsep L20001HL11mL12p_ppket cret error.oèhФ�´\w üÿNæ¶ß Ö Îß wâÿw Þÿæ ÷¥wŠ÷‹æÿ?÷ ÊÿõÆÿøÿÀ�Àÿ7¼ÿ÷ ¸ÿÀ²ÿ 7¬ÿ÷ ¨ÿΤÿß ÎœÿÀ�L&æÃß –%N fffß Æe÷¥E"· hÿ÷•EÎ ß ÷ VÿwøÿPÿwLÿESnark in pxp%c %d - Yˆ˜©YéY)‰)YYYy™ˆY¨¨ÈY)©_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx#´_cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _classes _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _yytokcn _yywhcnt _cmhp _yyw \_yypw _panic"~paniccsv sL4¶_Perror _pexit cret _errfile _error"~errora1a2a3a4 ofoutøÿL100002L7°_xflush L8T_yySsync _yysetfi L9Ã_printf L10˜_putchar hash.oè“Ф� hžúüw üÿ÷öÿ÷òÿÄh &ß .Ö ÄeÌ öwÒÿw ÎÿÆåB ÀÀ �”@`Ê‹ùÁÁE€À rýuôÿBÂõöÿý öÿ!Îýæß Ö Â%ÿÿÎÕß Îß ½öÿ@öÿ�ÁeúpBÂ@öÿAôÿÁ @`ÃÌ @öÿð%}5° õ Žß L65øÿõ-øÿƒõ%høÿ‚uøÿøÿ½¢øÿŽføÿß Ö À æÀÀ `Ãe@öÿ0!‡ÄåúÃ%ýÃõeöÿõ%öÿ�‚Îîß Îß w˜þ -!&,03$: ? C H LT]behnrvz}€‡‘™  §!«#° ³%¸&¾'Â(È)Í+Ñ,andarrayassertbegincaseconstdivdodowntoelseendfileforforwardfunctiongotoifinlabelmodnilnotoforpackedprocedureprogramrecordrepeatsetthentotypeuntilvarwhilewithocthexRan out of memory (hash)Ran out of hash tablesÙ99IÙxx8HxˆxØ( 8xˆI_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey#_yykey#h_classes _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _yytokcn _yywhcnt _cmhp _yyw \_yypw _htab L1 L2L3L4L5!L6&L7,L80L93L10:L11?L12CL13HL14LL15TL16]L17bL18eL19hL20nL21rL22vL23zL24}L25€L26‡L27‘L28™L29 L30§L31«L32°L33³L34¸L35¾L36ÂL37ÈL38ÍL39Ñ_inithas"~inithascsv ipL43hshtabL44&L20001_hash".cret ~hash.ssavehicpsymøÿhtpöÿshôÿL50@L51NL20003DL53lL20005rL57º_calloc L58žL59Õ_yerror _pexit L63ÌL64øL56FL65ð_savestr L66ôL49dL67L68(_strcmp L61@L70îlab.oèžÐ¤�P¾ „w üÿ÷‹øÿ÷ òÿ÷ îÿNß ÷ âÿ÷ ÞÿÎ¾ß Îß ÷ Êÿ÷ Æÿ ß D ß  ÎÄß ôÎÇß ÎÔß ÷ ŽÿÎß w‚ÿw ~ÿ· zÿÎÖß ÷ nÿNß wbÿw ^ÿ÷ Zÿ÷ VÿNß ÎÛß wBÿlabel, {label list};goto:Y)©¹ÈÙéÙé(Xˆ¨ÈÙèùY IXùY‰™Xˆù_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _label"~labelcsv rlllL4_printof _puthedr _setline _ppnl _indent L5¾_ppkw _ppgoin _ppbra L6^L7F_pplab L10fL9Ä_ppsep L11Ç_ppid L12Ô_ppket _putcml _ppgoout cret _gotoop"~~gotoop~sL16Ö_ppspac _labeled"ž~labeledžs_linopr _indentl L20Ûnl.oèÈÐí�`Ò¬variable<FOTZjqw�Š’—›¤ª²¹ÀÈSNARKundefinedconstanttypearraypointer or filerecordfieldprocedurefunctionpointerfilesetsubrangelabelwithptrscalarstringprogramimproper_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _VARIABL#_classes# L2<L3FL4OL5TL6ZL7jL8qL9wL10�L11ŠL12’L13—L14›L15¤L16ªL17²L18¹L19ÀL20È_snark#6pmon.oèÞФ‘DBÐw üÿ÷‹øÿNß ®Nß wàÿw Üÿæ  fß Ö 7ÊÿNß Îß ÷ jÀ ÎfÎeøÿæ¢ÿß –%À% Δfß Ö Îß Î|ÿß wtÿw pÿÎ%æBæß –%Îß wRÿw Nÿæ  fß Ö 7<ÿNß Îß  ææ ÿß –%À YÎææ ÿß –%À N÷ þþ÷%öþG÷ ðþ÷íèþêþ æäþÎeæØþß –%À 5ÎææÂþß –%À%)÷ ²þ ηfß Ö Îß ÷ ˜þ÷í�þŽþ æˆþÎeæ€þß –%À ÷ (À Îjþß ÎÏfß Ö Îß wJþw FþÆåÎfÎeòÿæ4þß –%À%Mõ%òÿIõ ôÿFwöÿþwøÿþÎææþß –%À%4Îææêýß –%À%(ÄÚýuß 7ÌýÃ%ÿÿ÷ LþÁ¼ýWp Nß 7®ýÃ%ÿÿ÷ .þæœýæ˜ýß –%!Àÿÿw†ý÷å€ý ùw xý· tý÷‹pý,õ-jý÷ ~AWp ÁmVýqAWp ÁmDýñ@ý÷ ÖC×p Ãm.ýs AWp Ámýñýwýw ý÷‹ ý÷‹ýG÷-þüüü÷-öüôü÷ ÷‹êü:÷‹äüÎíß ÷ ÖüÎðß ÂÊü &¦¦¦æ÷ ´üÆe÷‹¬ü�wp¢üCÎ ß Ã Ã%øŽæ ß Ö Âe „ Ä-vü×wpüw lüÀlüwdüw `üÁ^üÀXüwTüw Pü÷‹Lü÷‹Fü@w6üw 2ü÷‹.ü÷‹(ü÷ "ü÷ü üwüwü÷ üü7 üwüw þû÷‹úû÷‹ôû@ðìûÈäû@ðàû@ðØû@ðwÂûw ¾û÷‹ºû÷‹´û@7ªû7¦û7¢û÷šûžû7šûð-Žû w„ûÀûw zû÷‹vû÷‹pû÷-jûhû÷ ~÷^û`ûÀXûtÀmPû7Lû7Hû÷BûFû7 Dû· 8ûw4ûw 0û7 4ûw(ûw $û÷•ûwûw û7Šûwûw û÷‹ûÀÿÿ wøúÄüú÷öúÄ öÀôw àú÷ ÜúÎ,æhæß –%Îß w¾úNot enough memory for count buffers Program and counter data do not correspond Bad format for pmon.out style fileNo profile data in fileNot a Pascal system core file Line Count %4d %8ld %s Ù9Ùˆ™¨¸™è(™89Ùx¸9Ùˆ™¨¸™èˆ™è‰‰‰‰‰‰™è˜™è™(‰‰™™™è™8(9Ù™èÉÉh™èx™èiÈYyÈIY™è9YÙ©yyIIYII99Ù™yiy©y™HYHIII©ØHy9Ù99Ù999Ù™y9Ù™y‰‰999 999Ù™y99999Ù™y999 99 9Ù™yi9Y99 999Ù99Ùé 9Ùé 9Ùé 999Ù¹ x¸9_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _px _zpf _zbuf _zcnt _zpfcnt _gcountr _zfil _lastpf _getit"~getitcsv fpL4_getcore"®L3_getpmon" cret ~getpmon fpcpgarbageøÿ_open L9H_perror _pexit _pmread"¶L10000j_read L10€L11”_Perror _exit _close _nospcm#B_pmnospa"Œ~pmnospaŒ_write _inf _pxp ~getcore®fppmøÿL19Ö_seek L20œL10001L21L22fL23·L24rL18²L25Ï~pmread¶icpzmagicòÿL20005r_alloc L33@L34^L35zL28v_cnttab"„~cnttab„snoL38êL39ž_cPANIC"_nowcnt"œ_prttab"î~prttabîijzpfpL10003þL42ŒL10004L43L44&L45í_printf _header L46ðL47†L20009:L50L51rL52lL20007b_putchar L55 _nowcntr"�~nowcntr�~nowcntœ_cntof"¬~cntof¬pxcL10005¼L64Æ_setcnt"Ê~setcntÊlL10006ÚL67ú_savecnt"þ~savecntþpxcL10007L70:_rescnt">~rescnt>pxcL10008NL73xL10009|_getcnt"‚~getcnt‚L10011’L76ÈL77ž_unprint"Ì~unprintÌ_nobar _baroff"Ø~baroffØ_baron"æ~baronæ_shudpcn"ò~shudpcnòiL90L89L20011_mism#h~cPANIC_xflush pp.oèðФ‘м\� w üÿ÷‹øÿ ÷‹òÿ÷êÿ7 äÿ÷‹Þÿ÷ ØÿÀ Á ÷‹åÿ À7¾ÿwºÿw ¶ÿ÷‹²ÿ÷‹¬ÿ÷¤ÿ7 žÿwšÿw –ÿ÷�ÿwŒÿw ˆÿ÷ „ÿ÷•|ÿ÷‹xÿDÎ_ß „ Ì‹ùDÎß „ Ì‹ùNß wBÿw >ÿ÷ :ÿ ÷•2ÿõ õÌNß wÿw ÿ÷ ÿõ Nß wþþw úþ÷ öþNß wèþw äþ÷ àþõ Nß wÌþw Èþ÷•Âþw¾þw ºþ÷‹¶þ7аþ÷ ªþÎ ß wœþw ˜þ÷ ”þ÷ h÷ „w†þw ‚þ÷ ~þ· xþwtþw pþ÷ lþ· fþwbþw ^þ÷ XþÎ ß ÷ JþÎ ß ÷ <þï÷ 6þ÷ 2þí÷ ,þêw&þw "þ÷ þ ÷‹þ÷ °ÿÎ ß wþw þ÷ þýB÷ Þ÷‹ôýÀòýÀmìýÀmæý3ÎâýÎmÚýß ª÷ ÒýÀåÿÿ "‚À x¼÷ ºýf&æÙ÷ ®ýÆeÎ-ß ŒÎ| Îáß Î ß ŒÄ óÎ ß Î~ýß ªwtýw pýÄlýÄ Ä wbý@�ß õw Rý÷ NýD÷‹DýÎ ß ÄåÄ%öÎ ß Ä Ä ùwýw ý÷ ý÷‹ ý÷ ýÀý 7úüÎöüæêß Ö wèüw äüÎäüß ªwØüw Ôü÷ ÐüNß wÂüw ¾ü÷ ºü õ õðNß w üw œüÀ˜üAÁ 1`wŠüw †üÀ‚üAÁ 1à@À ð Îùß w`üw \ü÷ Xü!õ Îÿß Î'ß D “ß Ì¥'Î'ß „ Ì‹òÎ'ß wüw ü÷ ü õ õNß wîûw êûÎ@�&ß Ö @�Àå ‚À xÂ7 Âû÷ ¾ûwºû÷e´û÷E®û÷÷ ¨ûô÷ ¢ûñ· œûîw –ûÎß wŠûw †û÷ ‚ûÀ�|ûÀm|ûÀrûÀe,ÀÀeÀ-\û÷ 0ýÎ ß 7!JûùwDûddBTF:`B{identifier}%7.7ld. %6d {number}pplev{string}{integer label}y™yII ÉéIùy™yIIùyIùyIé‰(ùyIé(ùyI(ùyI(ùyI(ùyYùyYYIùyIùyI)ùyIùy))))ùyIéùyI™99999¹É)(9ùy©ùyI™ùyI™YYYY(ùy9ùyI(ùyI(ùy©8ùy©88x ùyI(ùyI(ùy( ‰ ) ù‰ ‰ ‰ ‰ ‰ y(( ùyI™9©‰ ‰ ù_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _pplev _nopflg _setprin"~setprincsv L4L5L3BL100010_nowcnt L10000:L10003>cret _printon"F~printonFL10^L9b_printof"f~printoff_ppkw"t~ppkwtscpiL17ºL18²L19šL20001�_putchar"L22®L20003¤_printf _ppid"¾~ppid¾sL27âL28ÚL29Ì_ppbra"æ~ppbraæsL32þ_ppsep"~ppsepsL36_ppket"~ppketsL390_killsp _ppunspa"4~ppunspa4_ppspac"B~ppspacBL47RL46`_ppitem"d~ppitemdL50v_ppnl"Ú_indent"ú_owenl _owenlb _ppsnlb"z~ppsnlbzL53ˆ_ppsnl"Œ~ppsnlŒL56š_pppay"ž~pppayžL60ÊL20005¤L10004ªL62À~ppnlÚL65öL10010¼L75dL72B~indentúiL68ˆ_linopr"æL69L20007„_indent1"ª_shudpcn L70€L73Ù_dashes"ŒL20009^L20008|L76á~dashesŒciL20012”L20014ž~indent1ªiniL85âL87ÌL89ÞL20016ÀL20018Ô~linopræL93L95L96ê_indentl"~indentl_ppop"(~ppop(sL102:_ppnumb">~ppnumb>sL105\L106TL107ð_ppgoin"`~ppgoin`lv_ppgoout"v~ppgooutvlvL113œL115ù_panic _ppstr" ~ppstr scpL118ìL119ºL120ÿL121àL20020ÈL123Þ_pplab"ð~pplabðsL126L127L128_outcol L10012ÂL136TL135FL134:L138`L131B~putcharc_putc _fflush _flush"f~flushf_pptab"v~pptabviL145¸L10013”L10014˜L149ªrec.oèѤ� 2Lw üÿõ @ß õ Îß ÷ Øÿ÷ ÔÿÎ2ß ÷ Èÿ÷ ÂÿÎ9ß Îß õ @@&ß ¾Ö @ß F@ß ÷ zÿÎß õ  ÷ hÿ÷ dÿÎ;ß Îß ÷ NÿÎ?ß wBÿw >ÿD3(Îß Â÷ "ÿ Žß ‚ ÎAß ôÎDß ÎTß Îß Îß ÷ âþÎVß Íõ õ ÎXß wºþw ¶þDÄ nß ÷ ¢þÎZß  ÷ �þÎß Î_ß ß ÷ vþÎaß Cƒ@Îß Îß ÷ Nþ÷ Jþ ß Ã Îß Ã Îdß ôÎgß Îyß ƒÎæß Ö Îß ÷ øýÎß ‚Î{ß Â »ß ÷ ÒýwÎýrecord(end), {field id list}:;;case:of, {case label list}:;Y˜¸ÉÙø  8¸˜yˆÉÙøˆÉèùY˜ÉÈøÈø(˜9øøùY˜Éø Èø( ø¸˜ÉÙ8HøÈè˜yˆø˜9ù_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _tyrec"~tyreccsv rp0L4_setinfo L5:_ppgoin _ppnl _indent L62_ppkw _ppspac L7FL89_ppbra L9v_field"¾_variant"F_putcml _ppgoout L10®L11;L3º_ppitem L13?_ppket cret ~field¾rvfptpipL17.L18ÈL20_setline L21úL22â_ppid L25L24A_ppsep L26DL27T_gtype _putcm L28VL16BL30X~variantFrvvcL33.L34ZL35~L36_L37aL38L20001˜L40ÚL41Â_gconst L44âL43dL45gL46yL39"L47{string.oèFѤ�ôˆ ”w üÿDß ƒ ÀtÀ`ÁlÁe@ ‚Îß 7ZÀ%ÿÿÎŒß Îß ÷@<æ8ß Ö Ä.À`7&w–ÿw ’ÿÀ€ ÀE7Nß wxÿRan out of memory (string)‰¸Ø(9‰988_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _strings _strng#ˆ_strngp#Š_savestr"~savestrcsv cpi_strlen L4L_alloc L5FL6Œ_yerror _pexit _strcpy cret _esavest"j~esavestjcpsubr.oèVѤ� ôw üÿDß Ã% À`ð¥.þÿÀ`p­ÿÿ wÌÿÀûw ÂÿD�ÄeŸÿÀ“@à �w¬ÿw ¨ÿÆå$NÎeÖÿæšÿß Ö wöÿŽÿwøÿŠÿw„ÿw €ÿæ Nß 5øÿÃ0Š•þà DøÿÄe@øÿ0Š•þÀwFÿw BÿÃ>ÿÄ:ÿ Îfß >Ö À Àw ÿÄ Ä ñ ùw ÿ7 ÿwÿNß wüþw øþAupB‚ ÂEŽß Ä%ÿÿÄ ÀÿÿwÎþ‚  ‚~øw ¾þDC£Ô‹ü w¨þ“Á˜@àúw œþDCÔ”þ€wˆþw „þDCB Ô”‚~wlþw hþDÌ‹T­ûÀwRþ üw JþDÄåaÀ ð À 0Ýô•w&þw "þDÄåaÀ ÀEþÿ4�À ° wþýY˜ÙYèÙY™X¹¹ÙYøÙYiyÙYÉÙ(ÙY¨ÙYÙYÙYÙYÙYøèøèÙYøèøÙ_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _dotted"~dottedcsv fpci_strlen L10001.L100004L30cret _togopt":~togopt:ctp_gettime"T~gettimeTstbufÖÿ_stat _myctime"|~myctime|tvcpdpcppøÿiL13mycbuf_ctime L14˜L16®_inpflis"º~inpflisºfpipfpL21âL20001È_strcmp">L23àL20Ü_errno _sys_err _Perror"ê~Perrorêfileerror_perror _calloc"~callocnumsizep1p2nbyte_alloc L10003*L312L30.L346~strcmp>s1s2L38JL39XL37T_strcpy"`~strcpy`s1s2os1L20002n_copy"x~copyxtofrombytesL48�L52Œ_any"”~any”cpchL56œL57®L55ª_opush"²~opush²c_opop"Ú~opopÚctree.oèdѤ�€|>üw üÿ÷töÿÀnÀe 7ìÿwæÿw âÿBÄXCÃeÔ‚~ÃJ7FÀe Á>@,‚Îß VÀwªÿw ¦ÿ@À ÀmÁ@,.‚ÃÀÀ ß Ä%ÿÿÎ‚ß Îß 7æ÷eâ÷%xÜ‚Îžß Îß ?ÆÀ �`pw2ÿw .ÿ÷ *ÿ,÷ $ÿ)÷ ÿÀ %÷’’ÎŽß ? †À‚0 ÷åx÷%rƒÎµß ÿ-bbç‡À\ð-Vá†÷ ÐþwÌþw ÈþDß ÂeÂE€€ ß Væ"ß Ö ÃÀ€`7Îß VÀw„þRan out of memory (tralloc)Ran out of tree tablesttab©99¹©¹©¸èø8èø¹©)9y¨8ÈÙ¹©8H¹xx8_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _ttab x_tract#€_space#|_spacep#~_trspace  _inittre"~inittrecsv cret _tree"~treecntapqiL9,L10P_tralloc"V~trallocVhowmuchcpiL13Ê_alloc L15”L16‚_yerror _pexit L17¶L18ž_yylacnt _bottled _trfree"Î~trfreeÎL210_needtre L22L10000î_free L25µ_panic _packtre _copystr"4~copystr4tokencpi_strlen _strcpy treen.oèÓ¤�à>T·:η0η&Î ·Î·Îæ8wÈÿÖ  _tree _tree1"_tree2" _tree3"_tree4"_tree5"(trret>var.oè„Ѥ�”Ð0„w üÿwöÿ÷‹òÿ÷ ìÿ÷ èÿ÷ äÿ÷ àÿ÷ ÜÿÎÒß Îß 7 ˜wÄÿw ÀÿD÷ ¸ÿNß ÷ ¬ÿÄ ß  ÎÖß ôÎÙß Îëß Nß Îíß Nß ÷ dÿ· 0w\ÿw Xÿ÷%ÿÿ"÷ Îïß Îß ÷ÿÿw0ÿÿÿvar, {identifier list}:;{variable decls}iY)™©¹ÉÙøi¹x‰¸è¸èè8Ii¸¨_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _varcnt#Ð_varbeg"~varbegcsv lL4_printof _puthedr _putcm _ppnl _indent L5Ò_ppkw _ppgoin cret _var"<~var<vlinevidlvtype_setline _ppitem L9pL10X_ppid L13xL12Ö_ppsep L14ÙL15ë_gtype L16í_setinfo _putcml _varend"¤~varend¤L19ÌL20¾L21ï_ppgoout yycomm.oèèѤ‘ ”ŠT w üÿÀøÿtÀmðÿæêÿææÿÀâÿ&ÀÚÿ&fæß Æe wÂÿw ¾ÿw¸ÿNß Tw¬ÿw ¨ÿDÄe7œÿ7˜ÿ÷ r7Žÿ7Šÿ7†ÿÀw€ÿw |ÿÆå÷•rÿõ¥*÷% dÿõ¥{÷% Tÿ5 øÿ÷%Fÿõøÿ ÷%6ÿõøÿõøÿÀ"ÿõ¥{ÁÁ@à5öÿÎÿføÿ& @�&& ß Æe7Šêþ@�ß úô ósöÿô÷‹Æþíß x7Šºþw¶þ3ðÀå ä‚À x”ôÝw „þD÷ |þ Ìrþ?nþ7jþwfþw bþ÷‹^þÎXþf& & æß Æeß xw:þw 6þÎ2þæ@�&f÷ þÖ &æß Æeß xwþw þæ ÷ üý æôý& ß –%Ä5ŠøÿÀÁ˜7x þyõ¥{õ�øÿÔ�÷ ¾ýìõ¥*õõ¥*øÿñÄ ·Š¤ý ŠÎß €w’ýÎÞß Îß Üw |ý÷-xývýÃpýÂlý÷hýfý÷ÿ`ý÷ :÷Vý·RýwLýw HýÃDýÂ@ý÷<ý:ý7 6ý÷ ÷,ý·(ýw"ýw ýÄý wý ô- ý ô-ýð-öü ß 2À4tP !7 ÚüÀà?Ðüàw ÊüDß Á¬7b þy÷‹¨üÎ ß N&&æß ÆeA÷‹~ü>Àå  ‚À x´Îß ÷ \ü-ô%{ÎÎß Žß ƒ ß Î¦ß ZÖ Ãƒ óô%{ÎÎß wüûw øûD ‚À xº÷ àûwÜû÷ Øûû÷ Òûø÷ Ìû÷‹ÈûóÎ ß î÷ ¸û÷ ´ûé÷ ®ûæ÷ ¨ûãw ¢ûÃDC-Ì‹“ÁÌ7V þyƒ „ ïÃeÃEC-÷Îß ß wXûw Tû÷ÿNû÷ (þwFûw Bûõ5à w4ûÀûw *û 7$û7 û7ûÄû %À xØ· û· û· üú7öúÄ-ðú7 êúéÀå äƒ 7Ôú7Ðú7ÌúÀwÄúw Àúæ õºúøÿ÷´ú²úÎß š÷ ¤ú÷  úöÎß š÷ �ú÷ ŒúöÎß š÷ |ú÷ xú÷wøÿpúwlúppÿÿ )}n\F08T~˜0DNTT$** ˆ‚žôúComment does not terminate - QUIT#include %c%s%c {(*}*) Y))™¹))x‰YY‰Y™©™©¹‰YY™™éù™¹xIIY‰Y    ‰YY¹x‰Y¹©x‰Y‰™˜x‰Ix؉ø Y¹™™©¹™©™©‰Y™©¹™©™©‰Y ‰™™©  YÉH h i˜ © ø  ˆ ‰YI ‰Y © © ™H © i y ‰ Y˜  ‰Y™‰Y‰Y ùé  ùé  éù ‰Y¹¹éé  ùù¹‰_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _classes _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _yytokcn _yywhcnt _cmhp _yyw \_yypw _lineof"~lineofcsv l_tree cret _Seqid _Col _LSeqid _setline">~setline>ip_setinfo"T~setinfoTipi_putcm"Þ_cmeof _incomm _getcm"€L10005”L27p~getcm€cmdelimcmjustøÿcolöÿcpkpL10001žL10000®L13´L14ÚL15ÄL17ÔL10002ìL10003ð_tree5 L21_getcmli"úL22JL232_newcomm"x~newcommxcpL31ŠL32’_nilcml _quickco"š~quickcoštL35Â_comminc"Æ~commincÆcpch_savestr L10007˜L10008 L52nL51\L48FL460L448~getcmliúcmdelimlastcøÿtpckp_getchar _tree3 L42L10009(L47X_copystr L53Þ_yerror _pexit _putcml"€~putcml€iSSeqidSColL56°_putcmp"´~putcmp´iSSeqidSCol~putcmÞcpiL63îL62êL64òL10010L65&_putone"2L66*L10012¬L10013®L72TL70~L10016´L69L77˜~putone2cpcmlcmf_align"L10014LL73d_putchar L74_printf L75¦L78_ppop _ppnl L10017´L81L10018¸L82_ppbra _ppid L83æL20001Ð_oneline"ZL10019øL86L10020üL87_ppket L10022ºL970L99DL100NL102TL93L94$L96*~aligncpL90 _ppsnl _ppsnlb _indent _ppspac _pptab L10024ÌL10025ÐL112ˆL111‚L115ž~onelineZmargincmltpiL106fL10026zL108„L113_flushcm"¨~flushcm¨_noblank"º~noblankºiL10027ÌL121È_needfor _neednlb _neednl _needseq _needtre"ÒL10030ØL131ôL133úL134~needtreÒcpL128L20002êL1248L20004îL132_packtre"<~packtre<saveøÿL139\L20006PL142pL20008dL145„L20010xyycopy.oèÓ¤�`$ÀÁ¦ÂP‚~‚‡_Y _OY _OYcopy"yycosts.oèÒ¤�è ~vðw üÿ@ÁŠ7€ þy@Á~7^ þyõ%  wÆÿ@ r Á ÁešA! þyRÀìÀéÀæÀãÀàÀÝÀÚÀd×w tÿu--Àd(õ%*@ rÁ ÁeZA! þyÀÀÀ @Àå, ‚À x�À'wÿõ%Òõ%;êNß &f÷ &Ö €eNß À Nß À ÄeÚw Æþ@ rÁ Áe–A! þy*Àw þÀûÀøÀ õÀòÀdï &,4: :¶¾ÆÌÔÚÞäìòöúj‚pvjpp‚j‚pjdp^jdpj^j^pjX|pj^pjpjpjdvpj‚v`lx„ŠŒ‘•�„ˆ�‘ÆöööööÆöÀöÌÌæþæ ¨´¼Ê AEGI B@BCHIfxXXfXllrlfXX`fxrrr`lI©I©((I©_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _classes _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _yytokcn _yywhcnt _cmhp _yyw \_yypw _inscost"L10001~L10002‚L11,L124L4:L10005ŠL10006�L8L10010šL10011¶L10012¾L10013ÆL10014ÌL10015ÔL10016ÚL10017ÞL10018äL10019ìL10020òL10021öL10022úL10023L10024L23jL43‚L35pL38vL22dL19^L15XL39|~inscostcsv sybeforeL10007L10003$L36cret L10009P_repcost"ˆL10027ZL10028`L10029lL10030xL58ÆL48öL57ÀL60ÌL10032�L66æL62þ~repcostˆwhatwithcL47îL46êL20001šL10026¸L20003Ò_delcost"6_nullsem L672L10035–L10036 L10037¨L10038´L10039¼L10040ÊL80fL90xL77XL84lL88rL79`~delcost6whatL10034PL70\yyerror.oèÒ¤�üjìw üÿæ ÷¥wôÿ÷‹X÷ èÿõäÿøÿÀ�Þÿ7Úÿ7ŠÖÿ÷ ÒÿÀ�Îÿß Î ß ÄÎ-ß „ Ä-°ÿøÎß Nf f fffß Æe Î ß ÷¥Etÿ· nÿ÷•Ehÿ· ä÷%dÞ 7 ØÎß Îß ÷ Dÿwøÿ>ÿ w8ÿw 4ÿõ ÷0ÿ(ÿ÷• "ÿNfæ:ß õ @ 5NfæTß –%wêþ^--- Too many syntax errors - QUITEnd matched %s on line %dInserted keyword end matching %s on line %dY)é9)‰)iI)XXX阘X))Ø9)éYéY)Xé_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _classes _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _yytokcn _yywhcnt _cmhp _yyw \_yypw _yerror"~yerrorcsv sa1a2a3 a4 a5ijL4€yySerrs€ofoutøÿL10000L3Ä_xflush _yysync _putchar L5PL20001FL8_printf L9’L10¸L11_pexit cret _brerror"È~brerrorÈwherewhatL15ðL16:_error L20002L17L18Tyyget.oèEÒ¤‘,ºÒw üÿÿ¥ X 7 ðÿ÷ 4À Àÿÿwàÿ· >ß:Ã% À.ÀeÀE7"· Àêw ´ÿæ ÷‹¹ÿ÷‹¨ÿ÷ ¢ÿ7Šžÿ÷šÿ˜ÿ· ”ÿ· �ÿľÂBõ øÿŽß Ã%ÿÿ#÷ ¨À ç÷‹ô÷‹bÿ Îpæ¾ß Ö ÷•Ø9÷|¦÷ @ÿ÷ <ÿ÷•6ÿÀÿÿw.ÿÔ�Ã% õ øÿÏ÷ÿÿÎ~ß Îß Ã ŠÀÿaÀå¾7øþ÷ TÀ ©Ä%¿Îß ÷‹òþ÷ Øþ÷½4÷,ÀÊÄ%ÀïÀ�zÁd7 þyÎàÎÝw œþæ ľԥ# _Xß Ã™Ô¢ôƒ Ë‹û÷nþlþß 5•øÿõ¥'øÿõ¥"øÿ ÷LþJþÎ¡ß Îß Ë‹÷.þ,þ@�øÿæÙß Ö Îß ƒ K­øÿëŠË¥;ƒ Îß Ë¥ ÷ðýîýÎ ß Îß Îi&ß Ö À ÷ÊýÈýÎ+ß @�øÿ&ß Ö ÷‹®ýÀw¤ý· \÷% V ÷”ý’ýÎKß Îß Á:Wp BÂeòpýß 7dýÎß Ä%ÿÿÎpß Îß æ>ýß Ö À Î0ýß Îß Î ýß À Îzß À� ý27Šýòý7 úüòöü7 ðüʦ7¢�w âüD„ Ì¥ üÌ¥ ùwÈüw Äü÷ | w¸üÎnß Îfß Á`Wp DÄe7P7�üÎŒüß À Îzß 7vü7pü÷‹lü 7ŠfüÄ%‚4 Äå ø7�Pü÷ ÀÅÿÿ program x(output); ¾ ZTbegin end. Input line too long - QUITincludeInclude syntax error - expected ' or " not found - QUITMissing closing %c for include file name - QUITGarbage after filename in includeInclude filename must end in .iAbsurdly deep include nesting - QUITRan out of memory (include)Yé¹Yé‰é‰ Ù©¹Ùh©¹‰¹©YÈØÙ é)Y©Y©YÈØ©YÈØ©YÈØ˜©YÈÈɹ©YÈØè™ ™( ÈØ™X ™x Ø™ˆ ¨ ÙÙ©©  Y¹Y¹H X è©™ˆ x ™ ÙÙèÙ8_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _ibuf _ibp#º_charbuf#¾_bufp#b_token ¢_yyprtd _yycol#`_yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _classes _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _yytokcn _yywhcnt _cmhp _yyw \_yypw _getchar"~getcharcsv icL4 _getline"HL3cret L6@L7D_incs d_inclev#¼_yyLinpt L10001dL10002hL30ZL29TL25~getlineHcpcL12ŒateofŒibiøÿL13^_yyoutli L14bL15~_getc L17Ò_uninclu"8L18¶L19p_strcpy L20(L21|L11ÎL16øL23~_error _pexit _includ"`L24:L20000_quickco _setuflg L10003L~includ`cpdpchøÿipL35vL20001pL34X_skipbl"L38™L36ŠL20005„L41ÆL42¡L43îL20007ÊL45ìL47ÙL48þL49"L50 _dotted L51@L52+_comminc L53\L20008TL54~L55K_savestr _alloc L56¼L57p_fopen L58Ü_perror _inpflis L59ð_opush ~skipblocpcpL63&L10004$~uninclu8ipL68HL67D_close _free L69„_opop L70ªL71šL73°yyid.oèVÒ¤�| Tw üÿÀwôÿYi_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _classes _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _yytokcn _yywhcnt _cmhp _yyw \_yypw _identis"~identiscsv cret yylex.oè{Ò¤‘lL¨tw üÿ÷% öÿÎß ÎfÁàÿWpÁefß –%· ÌÿwÈÿw ÄÿÆå÷ ¼ÿ÷ ¶ÿÎÁ®ÿWpÁefæß –%À–ÿw’ÿÄŽÿ7 ˆÿ÷ ‚ÿ· |ÿ7 xÿ Ä% · lÿ· hÿ÷ dÿÄ% óÄ% ð÷RÿTÿ÷LÿPÿ÷FÿNÿ÷@ÿJÿ÷:ÿ@ÿÂ÷0ÿ0ÿÀå" \ƒ_ÞÀ x\‘÷ ÿÄ%aÄ%zöÄ%AÄ%ZðÄ%0Ä%9ê Š÷‹øþ ʥAÊ¥ZÊÕ ‚ Ê‹õ7ÄþÎ& ß Ö Ë%‚Ë-¬þ‚÷¨þÀ…÷œþœþÀ_j5 øÿ‘÷ †þÄ%0Ä%9öÄ%bÄ%B÷‹zþ÷•s`þÎß ŠÎß 7LþÀ*_jÄ%._2÷ 4þÄ%._ Š÷ þÎß 7þÀ_jÄ%0_2Ä%9_2‘÷ òýñÄ%0_„Ä%9_„‘÷ ÔýñæÊýŽ ß Ö À _ú÷‹¶ý ÷•e®ý·ŠªýÎß 5‘öÿ÷ šýÄ% @�öÿæŸß Ö Â% Ò• ‚ ‘@�öÿ!æ÷ fý@�öÿ!ß"ŠÂ%Î·ß Ò• Š7BýÎß 78ýÀ"_j÷ *ýÄ%.À_jÄ%0^Ä%9[÷•eýÎÏß Ò•0µ øÿÒ•.Ä%0Ä%9_ô÷ ò÷•eÚüÎ?ß Ò•0Ä%eÄ%E#µ øÿ‘ĸü÷ ²üÄ%+Ä%-‘÷ žüÄ%0Ä%9_÷ šÎcß Ò•0 Š7vüÎß 7lüõ øÿ_ìÀ_j7TüÀ._jß ÷ Bü_„÷ 8üÄ%*ò7,üÄ(_jÁL7j þyÄ  _j÷ ü7þû!ú7øûÀ/_jw êû÷æûèû÷àûäû÷Úûâû÷ÔûÚûwÎûw Êû÷¥ ü÷• ü7Šüw´û zºØð0^ÞÞØ^ÄØØØØØÒØppppppppppØØØØØÞÞèèèèèèèèèèèèèèèèèèèèèèèèèèØÞØØÞ0èèèèèèèèèèèèèèèèèèèèèèèèèè´ØÞØunyylexOctal constants are non-standardDigits required after decimal pointDigits required in exponentCharacter/string delimiter is 'Unmatched %c for stringNull string not allowedDigits required before decimal pointy9¸9HÈ9Ùy999HèÈéÙÉÉyéùùùy™é©é™é¹éÙéx©éyéxÉ8H9é©éyé)ÈxØéyÉxØéyyiHy)yÈyÈxyxÈÉxØéy)È)ÈÉyyÈÉxØéɘ yyÉyÉéy™é©é™éÙéÙyYYYÙ_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _classes _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _yytokcn _yywhcnt _cmhp _yyw \_yypw _yylacnt _Yla Œ_unyylex"~unyylexcsv yL4L5_panic _copy cret _yylex"8L10012LL10013RL10zL20009ºL153ØL155ðL10016\L1130L118^L154ÞL135ÄL130ÒL88pL72èL134´~yylex8cipcpføÿdelimöÿL9nL8jL11€_getchar L12„L13žL10000ŠL15”L10001üL10002L71L738L744L20002"L762_hash L10004VL78`L91tL90ˆL10006”L92¾L93¨L94_yerror _copystr L952L97L20004ìL101ôL109L103„_any L163úL116L124bL125ŒL126ŸL123–L128ºL129·L131æL132¨L133ÏL10007_yyset"L99?L10008>L104PL10009\L105dL10010tL107c_getcm L10014è~yyset_setuflg"2~setuflg2L169Hyypanic.oèœÒ¤� °"Lw üÿÆåÎæfÎeìÿß –%5 èÿõÜÿêÿÀÖÿ rÁ Áe°A! þyDÎHß õ-°ÿêÿ7 ¨ÿ÷ ¤ÿ7 ÿ· œÿàõ%õõ ÷ ˆÿ7„ÿ÷%~ÿ÷%ÿÿvÿÎß ÎfÎeìÿæß –%Nß ÷ Lÿ7HÿÀDÿ@íêÿÀ% ÷‹Gÿ÷•r.ÿÎÁß õ%÷%;ÿÎß ÷ ÿ÷ ÿ÷;ÿÎ;ß 7öþwðþõ%²Ÿõ%­ÎZß Æõ ¥Î„ß Îß ÷¸þÎß 7®þ±õ%‹õ%‹_Xõ%_Xõ èÿ€õ èÿ_Xõ èÿ_Xµ èÿ_Xõ èÿ_Xõ%_|_XÀÊÖâèðú %&&'()* %*+&%')&()%&)X¸Ž|VX, ,X–j,DXf,XVVXŽ|| Xj ,Illegal characterDeclaration found when statement expectedExpected keyword begin after declarations, before statementsParsing resumes¹è¹éX¹Éié¹iéÉéè˜èXié¹é)Xé蘹ÙéØééXXè˜éØé_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _classes _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _yytokcn _yywhcnt _cmhp _yyw \_yypw _yyPerro"L10002°L10003ÀL10004ÊL10005ÖL10006âL10007èL10008ðL10009úL10010L6XL13¸L41ŽL16|L35VL17L31,L45 L23L42–L38jL9DL14f~yyPerrocsv cpkindoldposìÿishiftsêÿbrlevèÿ_copy L4&L10001<L10H_yerror _yylex L20001tL47”_unyylex L48ÚL49ÁL3 _nullsem cret L25ZL32„yyprint.oèÁÒ¤�äî²”w üÿÆåuìÿNß 5îÿNÎeìÿß (wØÿw ÔÿDÆåõ*øÿ rÁ ÁeîA! þyÃ+õöÿAøÿÀw˜ÿÃ6öÃBóÃTðÃZíÃeêÃqçó‹ÀxÀ‚ÚÉ×Ì%ÃŽÀ�Fÿ€ ÀEþÿ7�<ÿÃe3“ÅÂ2#ÂeÊ ùÖµøÿ¶ö X[\eU]c`d¬h¦z†n¬t€†¬ŒVcase-labelend-of-fileillegal charactererroridentifierreal numbernumbercharacterstring'..''x''x'keyword i˜¹i¹99H_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _classes _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _yytokcn _yywhcnt _cmhp _yyw \_yypw _bounce _charnam"~charnamcsv chYchìÿ_nullsem _tokname"(cret L10005îL10006öL10007L10008 L10009L30¬L12hL28¦L18zL23†L14nL16tL20€L25ŒL10V~tokname(tpcpkplöÿL7*L10004NL11+L8ZL136L15BL17TL19ZL21eL24qL10001˜L10000žL26xL10002¢L27‚L29‰L31ÐL32ŽL33ÊL34àL20001ÖL35äL37–yyput.oèÕÒ¤�P&"°w üÿ÷‹øÿÎòÿæîÿæêÿææÿß Æe÷ Øÿ ÀÒÿ4ÀÈÿ047ºÿδÿß „÷-¬ÿªÿ Τÿæ ÿæœÿæß ÔÆewŒÿw ˆÿÎÿß „w|ÿw xÿÄtÿt-&&&ß Æe4!7 FÿwBÿÀ:ÿ0ãw 0ÿÎ8ÿß „÷-0ÿ"ÿ Î(ÿæÿæÿæÿß Æewÿw ÿÎÿß „wôþw ðþÆå¢w- æþJõ-àþ ÷ŠÔþ6CÃeXÿõ-ÈþÎæß w¶þ æ°þß Ö 7ÌΠþß Îß  fæ°ß –%À îÎ¡ææœß –%äÀaŠN ffæß ÔÆewLþw HþÎPþæFþæDþæBþß Æew,þw (þDw þÌ¥ ô¥  Î:ß 7Šþ7Šþ÷‹úýÎ ß 7ŠìýÌ¥ ÷•àý Nß ¨N&ß @Ö ÷•ÄýwÀýw ¼ýDNæ=ß Ö Ì¥ •ß |ß Ì‹ôÎ ß w„ýw €ýDÁ(7  þyÄ% w^ýÀ?ûw Tý÷%Nýw-Fýõ-@ý ÷‹Eý ÷µh÷Õ`÷ $ýNß ðwýwýw ýõ-ý÷‹8wøü÷•*NæCß Ö ÷•ÞüwÚüÿÿ œœ¢– %6d %s: ‰ ¹™Ù©¸9999¹I¹¹™©X‰‰999‰ééIéééé‰ù‰I¹X‰ÉèÉÉøÉ(8H‰ùùùù‰IèéYYYYé‰è‰‰y ©™éÉ ©‰©©èé_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed#8_hadsome _pfcnts È_gocnt _cnts _fout _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _classes _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _yytokcn _yywhcnt _cmhp _yyw \_yypw _bottled _lastid _holdbl _yyoutli"~yyoutlicsv bpL4H_tree5 L5>L6BL3p_yyoutfl"„_yyprlin"Ôcret _yyflush"t~yyflusht~yyoutfl„toseqidbpL13ºL14’_yygetli" L16¾_yygetun#&_yygetfi _yysync"Ì~yysyncÌL19ø_yySsync"ü~yySsyncü~yygetli efileseekpelineeseqid cntbpbufXÿL26°L27.L28šL29l_close _open L31\_perror _pexit _seek _read _yyretri"´~yyretri´~yyprlinÔbuflinefileid L38L39:_printf L37<L40_putchar L41"L426_yysetfi"¨_yyprint"@~yyprint@cplineL46=L47lL20001XL48p_graphic"|L10001(L10002.L20002œL56¢L54–~graphic|chL10003ŽL51ž_nopflg ~yysetfi¨fileL61ìL62Þ_header L63æ_yyputfn"ð~yyputfnðcpL10004L66"L67Cyyseman.oèÓ¤�4&¨w üÿ@Á&7  þy wâÿÀäÿ ú"*™Ùé_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _ibuf _ibp _charbuf ¢_bufp _token ¢_yyprtd _yycol _yyline _yyseqid _yysavc _yylinpt _Y _OY _Ps _yyval _N _lastkey _yykey _classes _yyResum _dquote _errout _yyidhav _yyidwan _yyshift _yyOshif _yytshif _yytokcn _yywhcnt _cmhp _yyw \_yypw _nullsem"L10001&L100020L10L11~nullsemcsv chL10003L3cret yytree.oèÓ¤�@âlw üÿDÄ  wîÿÎêÿ&æß –%õw ØÿDõ Nß w¾ÿÄ øô²ÿÎfæß –%îw šÿDÄ  wŒÿ4 Àøw |ÿDÄ  wnÿ4 Ë%JË%I À€ìw FÿDÄ ß f& æ@ß Æewÿi©9¸i©9¸i©i©iˆ©_all _core _nodecl _full _justify _pmain _stripco _table _underli _profile _unit _nojunk _noinclu _bracket _opts _optstk 4_Recover _eflg _errpfx _cbn _lastbn _line _pflist _pflstc _pfcnt _filenam _lastnam _tvec _ptvec _printed _hadsome _pfcnts È_gocnt _cnts _fout _spacep _newlist"~newlistcsv newL4L3cret _tree3 _addlist"$~addlist$vrootnewtopL8BL7>L200016_fixlist"b~fixlistbvroottopL13tL12p_fixstli"€~fixstli€vrootifstattopL17’L16ŽL18²L10000®_setupva"¶~setupva¶varinitL22Ê_tree4 some _pfcnts È_gocnt _cnts _fout _spacep _newlist"~newlistcsv newL4L3cret _tree3 _addlist"$~addlist$vrootnewtopL8BL7>L200016_fixlist"b~fixlistbvroottopL13tL12p_fixstli"€~fixstli€vrooeÿaccess.o¨ ¡O¶�”$0w üÿww ‰$†7äÿÀÿÿwÜÿ!‰9)_access"csv cret _errno alarm.o¨ ¨Oÿ�Xf…@‰…‡f…‰…‡_alarm"_pause"getpw.o¨ ±O¶�lþ Hw üÿÆå÷ þ æþß Ö 7ì÷ èÀh & æØß –%õÎôý5 öý5 øýBNÎeôýß Ã% à ÀJÒ�ðŠBÄÄ ƒ”Ã%:à À8öóƒ”Ã%:Ã%0ùÃ%9öWp DÄ`ÄeÐÿî5 òýƒ”Ã%:Ã%0ùÃ%9öAòýWp Á`ÁeÐÿuòýì@òýtQ@- ©Àwÿ/etc/passwd(8HY_getpw"csv _open _seek _getc cret getpwid.o¨ »O¶�lþ Hw üÿÆå÷ _8Î æþß Ö À _0Àÿÿ_ú÷ÖÚ 7 Ð7 Î & æÈß –%5 öÿõÿÿøÿCÎ ß �Ä¥ Ä‹<‘ôŠCBĔĥ:¡6ùʋʥ 0Ĕĥ:Ä‹#ù5 øÿĔĥ: AøÿWp @‘@`ÀeÐÿ5øÿðĔĥ: AöÿWp @‘@`ÀeÐÿ5öÿð@öÿt@]øÿ°¯wÿ/etc/passwd(8HY_getpwid"csv _fopen _seek _getc cret mon.o¨ ÂO¶�hîlw üÿõ  & & & ß Æeζæîß Ö ÀÊÀ æÀ&ß –%ß R÷ ¶ÿÀ%5 w ž}@p@p w|A � Wpu`A � Wpuà õ '@@í„ ÄE€5! ƒÀ & f ß –%ÄÿÀ f@ À &fß Æewÿmon.out(8HXix(‰_monitor"csv _profil _creat _write _close _nargs _ldiv cret perror.o¨ ÉO¶�¬Š`w üÿÄŠ÷-ôÿòÿÀìÿÀ Nß rÎfæß –%Îæ˜æß –%ß r&æß –%Îæ›æß –%wŽÿw ŠÿDÔ‹þ@íÀ wvÿUnknown error: I (hhhhyIy_errno _sys_ner _sys_err _perror"csv _strlen"r_write cret rin.o¨ ÒO¶�pŒHw üÿÆå5ñòÿ  ‚ „ Ã%9Ä „ 5õòÿò BCþôö@C5øòÿ÷ Âÿ÷ ºÿÃ%-ãÃ%.âÃ%0á 5õòÿÀñ5øòÿÂ5õòÿù B5øòÿ‚ !÷5õòÿûwtÿ)9I_rin"csv _getchar _exit cret fltused alloc.o¨ ÚO¶�Xì`w üÿ÷Uâ÷UÞÃÜDÄe„ Ë5 ‹ÂÊ5ûÀ À`€ :†ÂÃÃEÂ-ªëƒÃ-¤è‚Ä%ÄÀ ß 7Ž?ˆÀ%ÿÿÀÿÿwˆÿÀvÀeÀ-pÿUfÀ Àm`Àeþÿ?X7RÿìLÿUF³À À`78 †ÿ0À,ÀU ÀÀeÑw *ÿ@Àeþÿ7ÿEwÿîìîîIXiIi_allocs#ì_allocp#ð_alloct#ò_alloc"csv _sbrk cret _free"Òfltpr.o¨ âO¶�¤¦H7üÿ ÷òÿõ÷ ìÿÁ Ó•- Ó•0�”B~ÁÐÿÓ•. Á Ó•0…~Á ”B~‡7®ÿ ÷¤ÿõ÷ žÿÁ Ó•-”Ó•.ÁŒÿÁ ”B~Ó•e �Ó•- Ó•+ r Àe0�Áe0S�‡99Y999I9pfloat"pscien"Nfltused"_ndigit ecvt fcvt printf.o¨ ìO¶�Ì4 Hw üÿÆå~w.DÄeÀŸ$ ·  %ß ôwÐÿ7 7 ׯ-· ø· ö÷†wê7 ì .÷twàƒÃeÁBÚ üJ  Ó•-ׯ¶d· ®÷ z r f÷ ðÿ€Àe0�‡&Ä €  ‚ Ô•-÷ „\ À —vA W ‡Áå ƒ ~Áe0f—v÷ Öÿ”•‡•à •@à >Á. Ò‹ƒ D~8Â2Â6÷ Ó•0 ÷ $f v÷ öÿ€€LÀe0 9Àe�‡ÀØÂÒ÷ Žþ ÀÊÂÄ÷ €þ7´wˆþ‚Âeƒà&æ Ä Ãm˜÷ –ß Ã~Ä Ž”ß à Î ß Ã~Ö „wBþ7 j ÀŸ`· \Àå0 úÿ ‚· HWp `ìÀe0ƒvd*o$xfftecs‚l�u‚rüÿðÿýÿøÿI8Y)888_printf"pfloat pscien _putchar csv cret ffltpr.o¨ öO¶�< ÄeÓ•?‡pfloat"pscien"getchr.o¨ P¶�¸B$f…÷ úÿ÷ôÿÀìÿ‰ ‡À À 7Üÿ Àߨÿ· Ôÿ…‡7Èÿ 7 Äÿ…‡)())())))_getchar"_errno _fin atof.o¨ P¶�è$w üÿ¦ðWð€fø& ñ CÀ”À% ü -Ž À”Àå0 ‚÷ š÷‚ õ þÿ À”Àå0 ‚÷ ~ ö  5  ×¢-„ ƒ À”Àå0 ‚Wp `öÄ  BàWõ€@¦ — &ƒñÖ �õÿ Wò Bƒ~Ö ùòð„õÿÖ ÀñVõVðw0ÿ÷€\ðò B@þô‡Îe‡)_atof"csv cret chdir.o¨ P¶�df…w‰†wìÿ …‡ ‰_chdir"cerror chmod.o¨ P¶�t f…ww‰ †wæÿ …‡‰_chmod"cerror chown.o¨ 'P¶�t f…ww‰ †wæÿ …‡‰_chown"cerror close.o¨ .P¶�Tf…@‰†wðÿ …‡_close"cerror creat.o¨ 7P¶�pf…ww‰†wæÿ…‡‰_creat"cerror dup.o¨ ?P¶�Pf…@)‰†wðÿ…‡_dup"cerror execl.o¨ HP¶�lf…w@Àe7 ‰wäÿ ‰_execl"cerror execv.o¨ UP¶��($f…w w÷ ìÿæðæ ‰(wØÿ ‰)_execv"cerror __exectr fork.o¨ \P¶�d$f…‰†wòÿ7 …‡_fork"cerror _par_uid$fstat.o¨ dP¶�lf…@w‰†wèÿ …‡‰_fstat"cerror getc.o¨ lP¶�´¨ <f…w ‰¨J‡A …‡7 Þÿf…AñåW,ÿÿfž÷ B@÷ 8ñ @&”6”1€…‡f…Añ ÷  @Þ± …‡@Àe7"1@‰®‡À �1‡wXÿ‰‰I9_getc"d_getw"_fopen"cerror _errno getcsw.o¨ sP¶�0 f…&‰…‡_getcsw"getuid.o¨ zP¶�0 f…‰…‡_getuid"gtty.o¨ ƒP¶�lf…@w‰†wèÿ …‡ ‰_gtty"cerror kill.o¨ ŠP¶�lf…€·‰†wèÿ …‡%‰_kill"cerror link.o¨ ’P¶�t f…ww‰ †wæÿ …‡ ‰_link"cerror makdir.o¨ ™P¶�df…w‰†wìÿ …‡‰_makdir"cerror mdate.o¨ ¡P¶�t"f…wA@A‰"†wäÿ …‡‰_mdate"cerror mknod.o¨ ©P¶�„&f…www‰&†wàÿ …‡‰_mknod"cerror mount.o¨ °P¶�„&f…···‰&†wàÿ …‡‰_mount"cerror nice.o¨ ·P¶�Tf…€"‰†wðÿ …‡_nice"cerror nlist.o¨ ¾P¶�ìÜ  f…wÔA¦@È Àe  ù‰ÜX‡‰è O÷´¾÷¬¤×-¤÷¤ªÀ˜Àm–×-œÀ Àe7|×-| ×-t×-l)€‰â÷å l"€‰è  @È ò7"B7,<7,6 7,0ð,ð( Àe 怉‚…‡‰‰_nlist"open.o¨ ÅP¶�pf…ww‰†wæÿ…‡‰_open"cerror pipe.o¨ ÍP¶�\f…*‰†wôÿBJ …‡_pipe"cerror prof.o¨ ÔP¶�x$ f…wwww ‰$…‡,‰_profil"putc.o¨ ÜP¶�Ê Tf…wÂAɉÊT‡  Rf…Añ ÷ ^ñ y�± ñ ÷ Fñ y�± @3f…Añ ÷ ñ @9�± !f…A÷ @Àe&78w47à.@‰Ð†7$±ñ‡w>ÿ7 :ÿ…‡‰¶‰Ii_putc"\_putw"_fflush"€_fcreat"cerror _werflg$Ö_errno qsort.o¨ åP¶�Ö`w üÿw öÿwðÿAupNNmfß ,Ö wÔÿw ÐÿÆåÂÈÿ@@í5ôÿ€ ‡_~�Á fAôÿÀ rBpÁE€uôÿ@@`5øÿ5öÿDCƒàµàøÿNøÿ&ß ‚Ö føÿ&ÿ dÿ–%5òÿîÀ 2„`D-øÿñ‚-ε`öÿföÿß ‚Ö $ε`öÿföÿ&ß ¦–%µ`øÿDøÿæföÿÿ ÿ–%5òÿàÀ D-øÿäÎ&ß ‚Ö ƒàσàC-öÿç‡D-øÿ%@øÿ@íAAíöÿ@ NföÿŽ`ß ,Ö uøÿ_8Nøÿfß ,Ö @öÿ€`5_8µàøÿføÿæß ¦–%µàöÿCöÿ–w~þw zþæ õtþøÿDC“Ô’“�õ øÿúwZþw VþÆåõNþöÿDCB5“øÿ”’Ò’S�øÿõ öÿ÷w*þ9 Y9  Y9Y9Y_qscmp _qses _qsort"csv _qs1",cret _qsexc"‚_qstexc"¦read.o¨ íP¶�x"f…@ww‰"†wâÿ…‡‰_read"cerror sbrk.o¨ ôP¶�ÜH0f…÷D@wm:‰H†wæÿÀ.wm(…‡f…w‰H†wÄÿw …‡‰))_sbrk"_end cerror _brk"(lseek.o¨ ûP¶�@€0w üÿõ õ õ%ÿÿ õ  N ffß –%õ% @tAWt÷ÿÁE€ÿ@PN Îe&fß –%À ÀÿÿwŽÿÎfÎEþÓ((9_lseek"csv _seek cret seek.o¨ Q¶�|$f…@ww‰$†wâÿ …‡‰_seek"cerror setuid.o¨ Q¶�Tf…@‰†wðÿ …‡_setuid"cerror signal.o¨ Q¶�P(f…AW †@wúÁ f17î À5Á Á ÁeXwÚ‰ ‡À5€…‡À& Ö w¨ÿ&À¶L&À°H&ÀªD&À¤@&Àž<&À˜8&À’4&ÀŒ0&À†,&À€(&Àz$&Àt &Àn&Àh&Àb&À\&ÀV &ÀP&ÀJ&ÀDf¦æ&È „ƒ‚�€0‰_signal"cerror sleep.o¨ Qÿ�T f…0‰@‰‰ ‰…‡_sleep"stime.o¨ "Q¶�\f…�@A‰†wìÿ …‡_stime"cerror stty.o¨ )Q¶�lf…@w‰†wèÿ …‡‰_stty"cerror quota.o¨ 2Q¶�t f…ww‰ †wæÿ …‡'‰_quota"cerror sync.o¨ 9Q¶�0 f…$‰…‡_sync"time.o¨ AQ¶�H f… ‰¦BR‚…‡_time"times.o¨ HQ¶�H f…w ‰…‡+‰_times"umount.o¨ RQ¶�p$f…·‰†wìÿ …‡‰_umount"cerror _errno unlink.o¨ [Q¶�df…w‰†wìÿ …‡ ‰_unlink"cerror wait.o¨ cQ¶�t $f…÷ øÿ&‰†Ö wìÿÖ }…‡)_wait"_nargs cerror write.o¨ jQ¶�x"f…@ww‰"†wâÿ…‡‰_write"cerror abort.o¨ rQ¶�0 f……‡_abort"errlst.o¨ yQÿ�4†FN]w‡Ÿ©ÃÕç÷%7@Vht†•¥´ÅÙíþ 4AWfr"Error 0Not super-userNo such file or directoryNo such processInterrupted system callI/O errorNo such device or addressArg list too longExec format errorBad file numberNo childrenNo more processesNot enough corePermission deniedError 14Block device requiredMount device busyFile existsCross-device linkNo such deviceNot a directoryIs a directoryInvalid argumentFile table overflowToo many open filesNot a typewriterText file busyFile too largeNo space left on deviceIllegal seekRead-only file systemToo many linksBroken PipeDisk quota exceeded_sys_err#_sys_ner#Dexit.o¨ �Q¶�0 f…@‰_exit"hmul.o¨ ˆQ¶�0 €6p‡_hmul"locv.o¨ �Q¶�ðj f…&æ¦ÄjCB€  ‚ Ô•-÷ ŠÀj‚ƒ„…‡÷ Áe0f—v÷ ìÿ”•‡ À —vA W ‡Áå ƒ ~‡_locv"nargs.o¨ ˜Q¶�l fA… w,üÿ\Àw"VÀe"w"LÀew"B@lw":AlÁeæw¬- &@Àtùÿ`Áe€Ø€ …‡ß Ö –%Æew„ÿÿ_nargs"reset.o¨ ŸQ¶�€ 0w üÿwwwîÿÅ õwàÿ)99_setexit"_reset"csv cret ltod.o¨ §Q¶�p$f… ð=þð…‡f… ð5õ=û ð…‡_ltod"_dtol"ldfps.o¨ ¯Q¶�4 f…uð…‡_ldfps"ladd.o¨ ¸Q¶�ÈD0w üÿB€�B€ä�†BJwÞÿw ÚÿB€�B€d�b@ BJw¼ÿ)9)9_lsub"_ladd""csv cret ctime.o¨ ÅQ¶�$†Øw üÿNß ß wêÿw æÿÆåDÄeòÿL@4Àú &ß Ö ß 0Âõwøÿõ/öÿó%J ó%K À t5øÿÀ t5öÿNøÿæß òÖ 5øÿNöÿæß òÖ 5öÿ÷ Œ B-øÿB-øÿó%B-öÿB-öÿó% Î&ß Ö ß 0³ Àwÿw ÿDCÃ%: ß ®Àe“þ`Áím Áe¼À rfÀ€åwÐþw Ìþ΀p@&fß –%ðþžÁÀ r<RÁÀ r<ÁÀ r<RÁÀ r<À rWtC`À rÒÁeÀ rwÃFÎß ®àƒ Îß ®!ö÷ä7äÎß ®À%n÷@ ÀÀ ìƒ ÀÀ 0!ö÷"€ Ò7 ªÀžwôýw ðýÄÃHÔ”þAA WpCÃebÄÔ”Ô”Ô”„ BÂe�WpCÃexÔ”Ô”Ô”Ž&ß ÎÖ ŽÎed&ß ÎÖ ŽÎed&ß ÎÖ ŽÎed&ß ÎÖ Äe@ &ß ÎÖ ÀwRýw NýAÀ rÁ Ànw8ýÀmûw .ýD„ õ% AÀ r À r Áe0@�Ô• AÀ r Áe0@�wèü€p@DM:/PSTPDTDay Mon 00 00:00:00 1900 SunMonTueWedThuFriSatJanFebMarAprMayJunJulAugSepOctNovDecy©y¸¸©y©yø ©y©y©y©_cbuf _dmsize#_timezon#0_tzname#2_dayligh#6_daytab#8_ctime"csv _localti"_asctime" cret _dpadd _gmtime"0_sunday"ò_dysize"®_ldiv _ldivr _ct_numb"Îabs.o¨ ÌQ¶�L€ ‡6õ€ñ‡_abs"_fabs" csv.o¨ ÔQ¶�\@…&æ¦È B„ƒ‚F…‡csv"cret" mcount.o¨ ÜQ¶�dÁøÿ ÷eðÿ‘H± ‰ ‡mcount"countbas ptrace.o¨ äQ¶�œ,$f…w(ww@ 7 âÿ‰,†wØÿ…‡‰)_ptrace"cerror _errno atoi.o¨ ìQ¶�ì\$w üÿæ B 5 øÿ‚ Ê¥ üÊ¥ ùÊ¥-µ øÿóÊ¥9 Wp @�”@`ÄeÐÿÊ¥0ñõ øÿ w¤ÿ)_atoi"csv cret mktemp.o¨ öQ¶�”¢<w üÿÆå*÷ ôÿ5 øÿÃå'µ øÿà úDÔ‹þÄ  ÁÀ r Áe0@ �ÁÀ r ‚ Â%@øÿ“`L�ä¥Xç„` õ%øÿÀ¢wˆÿ@øÿÀea �µ øÿNÎeÐÿfß Ö À%ÿÿä@é/)9H_mktemp"csv _getpid cret _stat itol.o¨ ýQÿ�0 €�‡_itol"getpid.o¨ R¶�0 f…‰…‡_getpid"stat.o¨ R¶�t f…ww‰ †wæÿ …‡‰_stat"cerror uwake.o×bé¶�`$f…€:‰†wðÿ …‡)uwake:_uwake"cerror cerror.o¨ R¶�D7üÿÀÿÿF…‡cerror"_errno ltoi.o¨ Rÿ�( €‡_ltoi"syspr.o¨ #Rÿ�0 f…>‰…‡_syspr"chfile.o¨ *R¶�pf…ww‰†wæÿ…‡<‰_chfile"cerror killpg.o¨ 2R¶�pf…ww‰†wæÿ…‡;‰_killpg"cerror cerror.o¨ R¶�D7üÿÀÿÿF…‡cerror"_errno ltoi.o¨ Rÿ�( €‡_ltoi"syspr.o¨ #Rÿ�0 f…>‰…‡_syspr"chfile.oNovember 16, 1977 This directory contains the source for pxp. Many of the files here were linked to the same in the directory ../pi. The links were broken by tp. The a.out binary here can be installed install This is all that should be necessary. To make a pxp do makepxp To print a listing do printpxp The variable DEBUG can be defined allowing tracing of the error recovery in the parser. Look at the first line of "0.h" to see if DEBUG is defined. A smaller pxp results if it is not. Non-standard programs required to make a pxp cc Version 7 C compiler, version 6 will not work eyacc Need modified yacc distributed with pxp set time=3 Causes commands taking more than 3 seconds of processor time to be "timed" in a variant shell. You can comment out this line or do cp /dev/null set; chmod 755 set to avoid a "set: Not found" diagnostic. I would like to know of any problems with pxp, or of any local modifications which you find necessary or desirable. Bill Joy Computer Science Division EECS Department University of California, Berkeley Berkeley, California 94704 Office: (415) 642-4948 Home: (415) 524-4510 mmands taking more than 3 seconds of processor time to be "timed" in a variant shell. You can comment out this line or do cp /dev/null set; chmod 755 set to avoid a "set: Not found" diagnostic. I would like to know of any problems with pxp, or of any local modifications which you find necessary or desirable. Bill Joy Computer Science D state 0 $accept : _goal $end YPROG shift 3 . error state 1 $accept : goal_$end $end accept . error state 2 goal : prog_hedr_decls procs block . . reduce 7 state 3 prog_hedr : YPROG_YID ( id_list ) ; prog_hedr : YPROG_error error shift 6 YID shift 5 . error state 4 goal : prog_hedr decls_procs block . decls : decls_decl decls : decls_error error shift 9 YBEGIN reduce 27 YCONST shift 15 YFUNCTION reduce 27 YLABEL shift 14 YPROCEDURE reduce 27 YTYPE shift 16 YVAR shift 17 . error state 5 prog_hedr : YPROG YID_( id_list ) ; ( shift 18 . error state 6 prog_hedr : YPROG error_ . reduce 3 state 7 goal : prog_hedr decls procs_block . procs : procs_proc YBEGIN shift 21 YFUNCTION shift 26 YPROCEDURE shift 25 . error state 8 decls : decls decl_ . reduce 5 state 9 decls : decls error_ . reduce 6 state 10 decl : labels_ . reduce 8 11: shift/reduce conflict (shift 28, red'n 9) on error state 11 decl : const_decl_ const_decl : const_decl_YID = const ; const_decl : const_decl_error error shift 28 YBEGIN reduce 9 YCONST reduce 9 YFUNCTION reduce 9 YID shift 27 YLABEL reduce 9 YPROCEDURE reduce 9 YTYPE reduce 9 YVAR reduce 9 . error 12: shift/reduce conflict (shift 30, red'n 10) on error state 12 decl : type_decl_ type_decl : type_decl_YID = type ; type_decl : type_decl_error error shift 30 YBEGIN reduce 10 YCONST reduce 10 YFUNCTION reduce 10 YID shift 29 YLABEL reduce 10 YPROCEDURE reduce 10 YTYPE reduce 10 YVAR reduce 10 . error 13: shift/reduce conflict (shift 32, red'n 11) on error state 13 decl : var_decl_ var_decl : var_decl_id_list : type ; var_decl : var_decl_error error shift 32 YBEGIN reduce 11 YCONST reduce 11 YFUNCTION reduce 11 YID shift 33 YLABEL reduce 11 YPROCEDURE reduce 11 YTYPE reduce 11 YVAR reduce 11 . error state 14 labels : YLABEL_label_decl ; YINT shift 35 . error state 15 const_decl : YCONST_YID = const ; const_decl : YCONST_error error shift 37 YID shift 36 . error state 16 type_decl : YTYPE_YID = type ; type_decl : YTYPE_error error shift 39 YID shift 38 . error state 17 var_decl : YVAR_id_list : type ; var_decl : YVAR_error error shift 41 YID shift 33 . error state 18 prog_hedr : YPROG YID (_id_list ) ; YID shift 33 . error state 19 goal : prog_hedr decls procs block_. . shift 43 . error state 20 procs : procs proc_ . reduce 28 state 21 block : YBEGIN_stat_list YEND error shift 60 YBEGIN shift 51 YCASE shift 52 YEND reduce 93 YFOR shift 56 YGOTO shift 57 YID shift 49 YIF shift 58 YINT shift 47 YREPEAT shift 55 YWHILE shift 54 YWITH shift 53 YASSERT shift 59 ; reduce 93 . error state 22 proc : phead_YFORWARD ; pheadres : phead_ YFORWARD shift 66 . reduce 31 state 23 proc : pheadres_decls procs block ; same as 2 state 24 phead : porf_YID params ftype ;  YID shift 68 . error state 25 porf : YPROCEDURE_ . reduce 33 state 26 porf : YFUNCTION_ . reduce 34 state 27 const_decl : const_decl YID_= const ; = shift 69 . error state 28 const_decl : const_decl error_ . reduce 18 state 29 type_decl : type_decl YID_= type ; = shift 70 . error state 30 type_decl : type_decl error_ . reduce 22 state 31 var_decl : var_decl id_list_: type ; id_list : id_list_, YID , shift 72 : shift 71 . error state 32 var_decl : var_decl error_ . reduce 26 state 33 id_list : YID_ . reduce 173 state 34 labels : YLABEL label_decl_; label_decl : label_decl_, YINT ; shift 73 , shift 74 . error state 35 label_decl : YINT_ . reduce 13 state 36 const_decl : YCONST YID_= const ; = shift 75 . error state 37 const_decl : YCONST error_ . reduce 17 state 38 type_decl : YTYPE YID_= type ; = shift 76 . error state 39 type_decl : YTYPE error_ . reduce 21 state 40 var_decl : YVAR id_list_: type ; id_list : id_list_, YID , shift 72 : shift 77 . error state 41 var_decl : YVAR error_ . reduce 25 state 42 prog_hedr : YPROG YID ( id_list_) ; id_list : id_list_, YID ) shift 78 , shift 72 . error state 43 goal : prog_hedr decls procs block ._ . reduce 1 state 44 block : YBEGIN stat_list_YEND stat_lsth : stat_list_; YEND shift 79 ; shift 80 . error state 45 stat_list : stat_ . reduce 83 state 46 stat_list : stat_lsth_stat error shift 60 YBEGIN shift 51 YCASE shift 52 YEND reduce 93 YFOR shift 56 YGOTO shift 57 YID shift 49 YIF shift 58 YINT shift 47 YREPEAT shift 55 YUNTIL reduce 93 YWHILE shift 54 YWITH shift 53 YASSERT shift 59 ; reduce 93 . error state 47 stat : YINT_: stat : shift 82 . error state 48 stat : proc_id_ stat : proc_id_( wexpr_list ) ( shift 83 . reduce 95 49: shift/reduce conflict (shift 84, red'n 182) on error state 49 stat : YID_error variable : YID_ array_id : YID_ ptr_id : YID_ record_id : YID_ proc_id : YID_ error shift 84 YELSE reduce 182 YEND reduce 182 YUNTIL reduce 182 . reduce 180 ( reduce 182 ; reduce 182 : reduce 135 ^ reduce 179 [ reduce 178 . error state 50 stat : assign_ . reduce 98 state 51 stat : YBEGIN_stat_list YEND same as 21 state 52 stat : YCASE_expr YOF cstat_list YEND error shift 87 YID shift 96 YINT shift 92 YNOT shift 99 YNUMB shift 94 YNIL shift 90 YSTRING shift 91 YBINT shift 93 + shift 88 - shift 89 ( shift 98 [ shift 100 . error state 53 stat : YWITH_var_list YDO stat YID shift 103 . error state 54 stat : YWHILE_expr YDO stat same as 52 state 55 stat : YREPEAT_stat_list YUNTIL expr same as 21 state 56 stat : YFOR_assign YTO expr YDO stat stat : YFOR_assign YDOWNTO expr YDO stat YID shift 103 . error state 57 stat : YGOTO_YINT YINT shift 107 . error state 58 stat : YIF_expr YTHEN stat stat : YIF_expr YTHEN stat YELSE stat stat : YIF_expr YTHEN stat YELSE same as 52 state 59 stat : YASSERT_expr same as 52 state 60 stat : error_ . reduce 111 state 61 assign : variable_: = expr : shift 110 . error state 62 variable : qual_var_ qual_var : qual_var_[ expr_list ] qual_var : qual_var_. field_id qual_var : qual_var_^ . shift 112 ^ shift 113 [ shift 111 . reduce 136 state 63 qual_var : array_id_[ expr_list ] [ shift 114 . error state 64 qual_var : record_id_. field_id . shift 115 . error state 65 qual_var : ptr_id_^ ^ shift 116 . error state 66 proc : phead YFORWARD_; ; shift 117 . error state 67 decls : decls_decl decls : decls_error proc : pheadres decls_procs block ; error shift 9 YBEGIN reduce 27 YCONST shift 15 YFUNCTION reduce 27 YLABEL shift 14 YPROCEDURE reduce 27 YTYPE shift 16 YVAR shift 17 . error state 68 phead : porf YID_params ftype ; ( shift 120 . reduce 36 state 69 const_decl : const_decl YID =_const ; YID shift 130 YINT shift 127 YNUMB shift 129 YSTRING shift 122 YBINT shift 128 + shift 124 - shift 125 . error state 70 type_decl : type_decl YID =_type ; YARRAY shift 139 YFILE shift 140 YID shift 143 YINT shift 127 YNUMB shift 129 YPACKED shift 135 YRECORD shift 142 YSET shift 141 YSTRING shift 122 YBINT shift 128 + shift 124 - shift 125 ( shift 137 ^ shift 133 . error state 71 var_decl : var_decl id_list :_type ; same as 70 state 72 id_list : id_list ,_YID YID shift 145 . error state 73 labels : YLABEL label_decl ;_ . reduce 12 state 74 label_decl : label_decl ,_YINT YINT shift 146 . error state 75 const_decl : YCONST YID =_const ; same as 69 state 76 type_decl : YTYPE YID =_type ; same as 70 state 77 var_decl : YVAR id_list :_type ; same as 70 state 78 prog_hedr : YPROG YID ( id_list )_; ; shift 150 . error state 79 block : YBEGIN stat_list YEND_ . reduce 4 state 80 stat_lsth : stat_list ;_ . reduce 85 state 81 stat_list : stat_lsth stat_ . reduce 84 82: shift/reduce conflict (shift 60, red'n 93) on error state 82 stat : YINT :_stat same as 46 state 83 stat : proc_id (_wexpr_list ) error shift 87 YID shift 96 YINT shift 92 YNOT shift 99 YNUMB shift 94 YNIL shift 90 YSTRING shift 91 YBINT shift 93 + shift 88 - shift 89 ( shift 98 [ shift 100 . error state 84 stat : YID error_ . reduce 97 state 85 stat_lsth : stat_list_; stat : YBEGIN stat_list_YEND YEND shift 155 ; shift 80 . error state 86 stat : YCASE expr_YOF cstat_list YEND expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr YAND shift 172 YDIV shift 170 YIN shift 163 YMOD shift 171 YOF shift 156 YOR shift 166 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . error state 87 expr : error_ . reduce 113 state 88 expr : +_expr same as 52 state 89 expr : -_expr same as 52 state 90 expr : YNIL_ . reduce 119 state 91 expr : YSTRING_ . reduce 120 state 92 expr : YINT_ . reduce 121 state 93 expr : YBINT_ . reduce 122 state 94 expr : YNUMB_ . reduce 123 state 95 expr : variable_ . reduce 124 96: shift/reduce conflict (shift 176, red'n 135) on error state 96 expr : YID_error variable : YID_ array_id : YID_ ptr_id : YID_ record_id : YID_ func_id : YID_ error shift 176 YAND reduce 135 YDIV reduce 135 YDO reduce 135 YDOTDOT reduce 135 YTO reduce 135 YELSE reduce 135 YEND reduce 135 YIN reduce 135 YMOD reduce 135 YOF reduce 135 YOR reduce 135 YTHEN reduce 135 YDOWNTO reduce 135 YUNTIL reduce 135 YOCT reduce 135 YHEX reduce 135 < reduce 135 = reduce 135 > reduce 135 + reduce 135 - reduce 135 | reduce 135 * reduce 135 / reduce 135 & reduce 135 . reduce 180 ( reduce 183 ) reduce 135 ; reduce 135 , reduce 135 : reduce 135 ^ reduce 179 [ reduce 178 ] reduce 135 . error state 97 expr : func_id_( wexpr_list ) ( shift 177 . error state 98 expr : (_expr ) same as 52 state 99 expr : YNOT_expr same as 52 state 100 expr : [_element_list ] expr : [_] error shift 87 YID shift 96 YINT shift 92 YNOT shift 99 YNUMB shift 94 YNIL shift 90 YSTRING shift 91 YBINT shift 93 + shift 88 - shift 89 ( shift 98 [ shift 100 ] shift 181 . error state 101 stat : YWITH var_list_YDO stat var_list : var_list_, variable YDO shift 184 , shift 185 . error state 102 var_list : variable_ . reduce 171 state 103 variable : YID_ array_id : YID_ ptr_id : YID_ record_id : YID_ . reduce 180 ^ reduce 179 [ reduce 178 . reduce 135 state 104 stat : YWHILE expr_YDO stat expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr YAND shift 172 YDIV shift 170 YDO shift 186 YIN shift 163 YMOD shift 171 YOR shift 166 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . error state 105 stat_lsth : stat_list_; stat : YREPEAT stat_list_YUNTIL expr YUNTIL shift 187 ; shift 80 . error state 106 stat : YFOR assign_YTO expr YDO stat stat : YFOR assign_YDOWNTO expr YDO stat YTO shift 188 YDOWNTO shift 189 . error state 107 stat : YGOTO YINT_ . reduce 106 state 108 stat : YIF expr_YTHEN stat stat : YIF expr_YTHEN stat YELSE stat stat : YIF expr_YTHEN stat YELSE expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr YAND shift 172 YDIV shift 170 YIN shift 163 YMOD shift 171 YOR shift 166 YTHEN shift 190 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . error state 109 stat : YASSERT expr_ expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr YAND shift 172 YDIV shift 170 YIN shift 163 YMOD shift 171 YOR shift 166 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . reduce 110 state 110 assign : variable :_= expr = shift 191 . error state 111 qual_var : qual_var [_expr_list ] error shift 87 YID shift 96 YINT shift 92 YNOT shift 99 YNUMB shift 94 YNIL shift 90 YSTRING shift 91 YBINT shift 93 + shift 88 -  shift 89 ( shift 98 [ shift 100 . error state 112 qual_var : qual_var ._field_id YID shift 195 . error state 113 qual_var : qual_var ^_ . reduce 142 state 114 qual_var : array_id [_expr_list ] same as 111 state 115 qual_var : record_id ._field_id same as 112 state 116 qual_var : ptr_id ^_ . reduce 141 state 117 proc : phead YFORWARD ;_ . reduce 29 state 118 procs : procs_proc proc : pheadres decls procs_block ; YBEGIN shift 21 YFUNCTION shift 26 YPROCEDURE shift 25 . error state 119 phead : porf YID params_ftype ; : shift 200 . reduce 42 state 120 params : (_param_list ) YFUNCTION shift 205 YID shift 33 YPROCEDURE shift 206 YVAR shift 204 . error state 121 const_decl : const_decl YID = const_; ; shift 207 . error state 122 const : YSTRING_ . reduce 45 state 123 const : number_ . reduce 46 state 124 const : +_number YID shift 130 YINT shift 127 YNUMB shift 129 YBINT shift 128 .  error state 125 const : -_number same as 124 state 126 number : const_id_ . reduce 49 state 127 number : YINT_ . reduce 50 state 128 number : YBINT_ . reduce 51 state 129 number : YNUMB_ . reduce 52 state 130 const_id : YID_ . reduce 175 state 131 type_decl : type_decl YID = type_; ; shift 210 . error state 132 type : simple_type_ . reduce 55 state 133 type : ^_YID YID shift 211 . error state 134 type : struct_type_ . reduce 57 state 135 type : YPACKED_struct_type YARRAY shift 139 YFILE shift 140 YRECORD shift 142 YSET shift 141 . error state 136 simple_type : type_id_ . reduce 59 state 137 simple_type : (_id_list ) same as 18 state 138 simple_type : const_YDOTDOT const YDOTDOT shift 214 . error state 139 struct_type : YARRAY_[ simple_type_list ] YOF type [ shift 215 . error state 140 struct_type : YFILE_YOF type YOF shift 216 . error state 141 struct_type : YSET_YOF simple_type YOF shift 217 . error state 142 struct_type : YRECORD_field_list YEND YID shift 33 . reduce 72 state 143 const_id : YID_ type_id : YID_ YDOTDOT reduce 175 . reduce 176 state 144 var_decl : var_decl id_list : type_; ; shift 222 . error state 145 id_list : id_list , YID_ . reduce 174 state 146 label_decl : label_decl , YINT_ . reduce 14 state 147 const_decl : YCONST YID = const_; ; shift 223 . error state 148 type_decl : YTYPE YID = type_; ; shift 224 . error state 149 var_decl : YVAR id_list : type_; ; shift 225 . error state 150 prog_hedr : YPROG YID ( id_list ) ;_ . reduce 2 state 151 stat : YINT : stat_ . reduce 94 state 152 stat : proc_id ( wexpr_list_) wexpr_list : wexpr_list_, wexpr ) shift 226 , shift 227 . error state 153 wexpr_list : wexpr_ . reduce 152 state 154 expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr wexpr : expr_ wexpr : expr_: expr wexpr : expr_: expr : expr wexpr : expr_octhex wexpr : expr_: expr octhex YAND shift 172 YDIV shift 170 YIN shift 163 YMOD shift 171 YOR shift 166 YOCT shift 230 YHEX shift 231 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 : shift 228 . reduce 143 state 155 stat : YBEGIN stat_list YEND_ . reduce 99 156: shift/reduce conflict (shift 234, red'n 92) on error state 156 stat : YCASE expr YOF_cstat_list YEND error shift 234 YEND reduce 92 YID shift 130 YINT shift 127 YNUMB shift 129 YSTRING shift 122 YBINT shift 128 YCASELAB shift 236 + shift 124 - shift 125 ; reduce 92 . error state 157 expr : expr relop_expr same as 52 state 158 expr : expr addop_expr same as 52 state 159 expr : expr divop_expr same as 52 state 160 relop : =_ . reduce 154 state 161 relop : <_ relop : <_> relop : <_= = shift 242 > shift 241 . reduce 155 state 162 relop : >_ relop : >_= = shift 243 . reduce 156 state 163 relop : YIN_ . reduce 160 state 164 addop : +_ . reduce 161 state 165 addop : -_ . reduce 162 state 166 addop : YOR_ . reduce 163 state 167 addop : |_ . reduce 164 state 168 divop : *_ . reduce 165 state 169 divop : /_ . reduce 166 state 170 divop : YDIV_ . reduce 167 state 171 divop : YMOD_ . reduce 168 state 172 divop : YAND_ . reduce 169 state 173 divop : &_ . reduce 170 state 174 expr : expr_relop expr expr : + expr_ expr : expr_addop expr expr : expr_divop expr YAND shift 172 YDIV shift 170 YMOD shift 171 * shift 168 / shift 169 & shift 173 . reduce 115 state 175 expr : expr_relop expr expr : - expr_ expr : expr_addop expr expr : expr_divop expr YAND shift 172 YDIV shift 170 YMOD shift 171 * shift 168 / shift 169 & shift 173 . reduce 116 state 176 expr : YID error_ . reduce 125 state 177 expr : func_id (_wexpr_list ) same as 83 state 178 expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr expr : ( expr_) YAND shift 172 YDIV shift 170 YIN shift 163 YMOD shift 171 YOR shift 166 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 ) shift 245 . error state 179 expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr expr : YNOT expr_ . reduce 128 state 180 expr : [ element_list_] element_list : element_list_, element , shift 247 ] shift 246 . error state 181 expr : [ ]_ . reduce 130 state 182 element_list : element_ . reduce 131 state 183 expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr element : expr_ element : expr_YDOTDOT expr YAND shift 172 YDIV shift 170 YDOTDOT shift 248 YIN shift 163 YMOD shift 171 YOR shift 166 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . reduce 133 184: shift/reduce conflict (shift 60, red'n 93) on error state 184 stat : YWITH var_list YDO_stat same as 46 state 185 var_list : var_list ,_variable YID shift 103 . error 186: shift/reduce conflict (shift 60, red'n 93) on error state 186 stat : YWHILE expr YDO_stat same as 46 state 187 stat : YREPEAT stat_list YUNTIL_expr same as 52 state 188 stat : YFOR assign YTO_expr YDO stat same as 52 state 189 stat : YFOR assign YDOWNTO_expr YDO stat same as 52 190: shift/reduce conflict (shift 60, red'n 93) on error state 190 stat : YIF expr YTHEN_stat stat : YIF expr YTHEN_stat YELSE stat stat : YIF expr YTHEN_stat YELSE same as 46 state 191 assign : variable : =_expr same as 52 state 192 qual_var : qual_var [ expr_list_] expr_list : expr_list_, expr , shift 258 ] shift 257 . error state 193 expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr expr_list : expr_ YAND shift 172 YDIV shift 170 YIN shift 163 YMOD shift 171 YOR shift 166 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . reduce 150 state 194 qual_var : qual_var . field_id_ . reduce 140 state 195 field_id : YID_ . reduce 181 state 196 qual_var : array_id [ expr_list_] expr_list : expr_list_, expr , shift 258 ] shift 259 . error state 197 qual_var : record_id . field_id_ . reduce 139 state 198 proc : pheadres decls procs block_; ; shift 260 . error state 199 phead : porf YID params ftype_; ; shift 261 . error state 200 ftype : :_type same as 70 state 201 params : ( param_list_) param_list : param_list_; param ) shift 263 ; shift 264 . error state 202 param_list : param_ . reduce 43 state 203 param : id_list_: type id_list : id_list_, YID , shift 72 : shift 265 . error state 204 param : YVAR_id_list : type same as 18 state 205 param : YFUNCTION_id_list : type same as 18 state 206 param : YPROCEDURE_id_list same as 18 state 207 const_decl : const_decl YID = const ;_ . reduce 16 state 208 const : + number_ . reduce 47 state 209 const : - number_ . reduce 48 state 210 type_decl : type_decl YID = type ;_ . reduce 20 state 211 type : ^ YID_ . reduce 56 state 212 type : YPACKED struct_type_ . reduce 58 state 213 simple_type : ( id_list_) id_list : id_list_, YID ) shift 269 , shift 72 . error state 214 simple_type : const YDOTDOT_const same as 69 state 215 struct_type : YARRAY [_simple_type_list ] YOF type YID shift 143 YINT shift 127 YNUMB shift 129 YSTRING shift 122 YBINT shift 128 + shift 124 - shift 125 ( shift 137 . error state 216 struct_type : YFILE YOF_type same as 70 state 217 struct_type : YSET YOF_simple_type YID shift 143 YINT shift 127 YNUMB shift 129 YSTRING shift 122 YBINT shift 128 + shift 124 - shift 125 ( shift 137 . error state 218 struct_type : YRECORD field_list_YEND YEND shift 275 . error state 219 field_list : fixed_part_variant_part fixed_part : fixed_part_; field fixed_part : fixed_part_error error shift 278 YCASE shift 279 YEND reduce 74 ) reduce 74 ; shift 277 . error state 220 fixed_part : field_ . reduce 69 state 221 field : id_list_: type id_list : id_list_, YID , shift 72 : shift 280 . error state 222 var_decl : var_decl id_list : type ;_ . reduce 24 state 223 const_decl : YCONST YID = const ;_ . reduce 15 state 224 type_decl : YTYPE YID = type ;_ . reduce 19 state 225 var_decl : YVAR id_list : type ;_ . reduce 23 state 226 stat : proc_id ( wexpr_list )_ . reduce 96 state 227 wexpr_list : wexpr_list ,_wexpr error shift 87 YID shift 96 YINT shift 92 YNOT shift 99 YNUMB shift 94 YNIL shift 90 YSTRING shift 91 YBINT shift 93 + shift 88 - shift 89 ( shift 98 [ shift 100 . error state 228 wexpr : expr :_expr wexpr : expr :_expr : expr wexpr : expr :_expr octhex same as 52 state 229 wexpr : expr octhex_ . reduce 146 state 230 octhex : YOCT_ . reduce 148 state 231 octhex : YHEX_ . reduce 149 state 232 cstat_list : cstat_list_; cstat cstat_list : cstat_list_error stat : YCASE expr YOF cstat_list_YEND error shift 284 YEND shift 285 ; shift 283 . error state 233 cstat_list : cstat_ . reduce 86 state 234 cstat_list : error_ . reduce 88 state 235 const_list : const_list_, const cstat : const_list_: stat , shift 286 : shift 287 . error 236: shift/reduce conflict (shift 60, red'n 93) on error state 236 cstat : YCASELAB_stat same as 46 state 237 const_list : const_ . reduce 53 state 238 expr : expr_relop expr expr : expr relop expr_ expr : expr_addop expr expr : expr_divop expr YAND shift 172 YDIV shift 170 YIN error YMOD shift 171 YOR shift 166 < error = error > error + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . reduce 114 state 239 expr : expr_relop expr expr : expr_addop expr expr : expr addop expr_ expr : expr_divop expr YAND shift 172 YDIV shift 170 YMOD shift 171 * shift 168 / shift 169 & shift 173 . reduce 117 state 240 expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr expr : expr divop expr_ .  reduce 118 state 241 relop : < >_ . reduce 157 state 242 relop : < =_ . reduce 158 state 243 relop : > =_ . reduce 159 state 244 expr : func_id ( wexpr_list_) wexpr_list : wexpr_list_, wexpr ) shift 289 , shift 227 . error state 245 expr : ( expr )_ . reduce 127 state 246 expr : [ element_list ]_ . reduce 129 state 247 element_list : element_list ,_element error shift 87 YID shift 96 YINT shift 92 YNOT shift 99 YNUMB shift 94 YNIL shift 90 YSTRING shift 91 YBINT shift 93 + shift 88 - shift 89 ( shift 98 [ shift 100 . error state 248 element : expr YDOTDOT_expr same as 52 state 249 stat : YWITH var_list YDO stat_ . reduce 101 state 250 var_list : var_list , variable_ . reduce 172 state 251 stat : YWHILE expr YDO stat_ . reduce 102 state 252 stat : YREPEAT stat_list YUNTIL expr_ expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr YAND shift 172 YDIV shift 170 YIN shift 163 YMOD shift 171 YOR shift 166 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . reduce 103 state 253 stat : YFOR assign YTO expr_YDO stat expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr YAND shift 172 YDIV shift 170 YDO shift 292 YIN shift 163 YMOD shift 171 YOR shift 166 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . error state 254 stat : YFOR assign YDOWNTO expr_YDO stat expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr YAND shift 172 YDIV shift 170 YDO shift 293 YIN shift 163 YMOD shift 171 YOR shift 166 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . error 255: shift/reduce conflict (shift 294, red'n 107) on YELSE state 255 stat : YIF expr YTHEN stat_ stat : YIF expr YTHEN stat_YELSE stat stat : YIF expr YTHEN stat_YELSE YELSE shift 294 . reduce 107 state 256 assign : variable : = expr_ expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr YAND shift 172 YDIV shift 170 YIN shift 163 YMOD shift 171 YOR shift 166 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . reduce 112 state 257 qual_var : qual_var [ expr_list ]_ . reduce 138 state 258 expr_list : expr_list ,_expr same as 52 state 259 qual_var : array_id [ expr_list ]_ . reduce 137 state 260 proc : pheadres decls procs block ;_ . reduce 30 state 261 phead : porf YID params ftype ;_ . reduce 32 state 262 ftype : : type_ . reduce 41 state 263 params : ( param_list )_ . reduce 35 state 264 param_list : param_list ;_param YFUNCTION shift 205 YID shift 33 YPROCEDURE shift 206 YVAR shift 204 . error state 265 param : id_list :_type same as 70 state 266 param : YVAR id_list_: type id_list : id_list_, YID , shift 72 : shift 298 . error state 267 param : YFUNCTION id_list_: type id_list : id_list_, YID , shift 72 : shift 299 . error state 268 param : YPROCEDURE id_list_ id_list : id_list_, YID , shift 72 . reduce 40 state 269 simple_type : ( id_list )_ . reduce 60 state 270 simple_type : const YDOTDOT const_ . reduce 61 state 271 struct_type : YARRAY [ simple_type_list_] YOF type simple_type_list : simple_type_list_, simple_type , shift 301 ] shift 300 . error state 272 simple_type_list : simple_type_ . reduce 66 state 273 struct_type : YFILE YOF type_ . reduce 63 state 274 struct_type : YSET YOF simple_type_ . reduce 64 state 275 struct_type : YRECORD field_list YEND_ . reduce 65 state 276 field_list : fixed_part variant_part_ . reduce 68 state 277 fixed_part : fixed_part ;_field YID shift 33 . reduce 72 state 278 fixed_part : fixed_part error_ . reduce 71 state 279 variant_part : YCASE_type_id YOF variant_list variant_part : YCASE_YID : type_id YOF variant_list YID shift 304 . error state 280 field : id_list :_type same as 70 state 281 wexpr_list : wexpr_list , wexpr_ . reduce 153 state 282 expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr wexpr : expr : expr_ wexpr : expr : expr_: expr wexpr : expr : expr_octhex YAND shift 172 YDIV shift 170 YIN shift 163 YMOD shift 171 YOR shift 166 YOCT shift 230 YHEX shift 231 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 : shift 306 . reduce 144 state 283 cstat_list : cstat_list ;_cstat YID shift 130 YINT shift 127 YNUMB shift 129 YSTRING shift 122 YBINT shift 128 YCASELAB shift 236 + shift 124 - shift 125 . reduce 92 state 284 cstat_list : cstat_list error_ . reduce 89 state 285 stat : YCASE expr YOF cstat_list YEND_ . reduce 100 state 286 const_list : const_list ,_const same as 69 287: shift/reduce conflict (shift 60, red'n 93) on error state 287 cstat : const_list :_stat same as 46 state 288 cstat : YCASELAB stat_ . reduce 91 state 289 expr : func_id ( wexpr_list )_ . reduce 126 state 290 element_list : element_list , element_ . reduce 132 state 291 expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr element : expr YDOTDOT expr_ YAND shift 172 YDIV shift 170 YIN shift 163 YMOD shift 171 YOR shift 166 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . reduce 134 292: shift/reduce conflict (shift 60, red'n 93) on error state 292 stat : YFOR assign YTO expr YDO_stat same as 46 293: shift/reduce conflict (shift 60, red'n 93) on error state 293 stat : YFOR assign YDOWNTO expr YDO_stat same as 46 294: shift/reduce conflict (shift 60, red'n 109) on error 294: shift/reduce conflict (shift 60, red'n 93) on error 294: reduce/reduce conflict (red'ns 109 and 93 ) on YELSE 294: reduce/reduce conflict (red'ns 109 and 93 ) on YEND 294: reduce/reduce conflict (red'ns 109 and 93 ) on YUNTIL 294: reduce/reduce conflict (red'ns 109 and 93 ) on ; state 294 stat : YIF expr YTHEN stat YELSE_stat stat : YIF expr YTHEN stat YELSE_ error shift 60 YBEGIN shift 51 YCASE shift 52 YELSE reduce 93 YEND reduce 93 YFOR shift 56 YGOTO shift 57 YID shift 49 YIF shift 58 YINT shift 47 YREPEAT shift 55 YUNTIL reduce 93 YWHILE shift 54 YWITH shift 53 YASSERT shift 59 ; reduce 93 . error state 295 expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr expr_list : expr_list , expr_ YAND shift 172 YDIV shift 170 YIN shift 163 YMOD shift 171 YOR shift 166 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . reduce 151 state 296 param_list : param_list ; param_ . reduce 44 state 297 param : id_list : type_ . reduce 37 state 298 param : YVAR id_list :_type same as 70 state 299 param : YFUNCTION id_list :_type same as 70 state 300 struct_type : YARRAY [ simple_type_list ]_YOF type YOF shift 316 . error state 301 simple_type_list : simple_type_list ,_simple_type same as 217 state 302 fixed_part : fixed_part ; field_ . reduce 70 state 303 variant_part : YCASE type_id_YOF variant_list YOF shift 318 . error state 304 variant_part : YCASE YID_: type_id YOF variant_list type_id : YID_ : shift 319 . reduce 176 state 305 field : id_list : type_ . reduce 73 state 306 wexpr : expr : expr :_expr same as 52 state 307 wexpr : expr : expr octhex_ . reduce 147 state 308 cstat_list : cstat_list ; cstat_ . reduce 87 state 309 const_list : const_list , const_ . reduce 54 state 310 cstat : const_list : stat_  . reduce 90 state 311 stat : YFOR assign YTO expr YDO stat_ . reduce 104 state 312 stat : YFOR assign YDOWNTO expr YDO stat_ . reduce 105 state 313 stat : YIF expr YTHEN stat YELSE stat_ . reduce 108 state 314 param : YVAR id_list : type_ . reduce 38 state 315 param : YFUNCTION id_list : type_ . reduce 39 state 316 struct_type : YARRAY [ simple_type_list ] YOF_type same as 70 state 317 simple_type_list : simple_type_list , simple_type_ . reduce 67 state 318 variant_part : YCASE type_id YOF_variant_list YID shift 130 YINT shift 127 YNUMB shift 129 YSTRING shift 122 YBINT shift 128 + shift 124 - shift 125 . reduce 80 state 319 variant_part : YCASE YID :_type_id YOF variant_list YID shift 326 . error state 320 expr : expr_relop expr expr : expr_addop expr expr : expr_divop expr wexpr : expr : expr : expr_ YAND shift 172 YDIV shift 170 YIN shift 163 YMOD shift 171 YOR shift 166 < shift 161 = shift 160 > shift 162 + shift 164 - shift 165 | shift 167 * shift 168 / shift 169 & shift 173 . reduce 145 state 321 struct_type : YARRAY [ simple_type_list ] YOF type_ . reduce 62 state 322 variant_part : YCASE type_id YOF variant_list_ variant_list : variant_list_; variant variant_list : variant_list_error error shift 328 YEND reduce 75 ) reduce 75 ; shift 327 . error state 323 variant_list : variant_ . reduce 77 state 324 const_list : const_list_, const variant : const_list_: ( field_list ) variant : const_list_: ( ) , shift 286 : shift 329 . error state 325 variant_part : YCASE YID : type_id_YOF variant_list YOF shift 330 . error state 326 type_id : YID_ . reduce 176 state 327 variant_list : variant_list ;_variant YID shift 130 YINT shift 127 YNUMB shift 129 YSTRING shift 122 YBINT shift 128 + shift 124 - shift 125 . reduce 80 state 328 variant_list : variant_list error_ . reduce 79 state 329 variant : const_list :_( field_list ) variant : const_list :_( ) ( shift 332 . error state 330 variant_part : YCASE YID : type_id YOF_variant_list same as 318 state 331 variant_list : variant_list ; variant_ . reduce 78 332: shift/reduce conflict (shift 335, red'n 72) on ) state 332 variant : const_list : (_field_list ) variant : const_list : (_) YID shift 33 ) shift 335 . reduce 72 state 333 variant_part : YCASE YID : type_id YOF variant_list_ variant_list : variant_list_; variant variant_list : variant_list_error error shift 328 YEND reduce 76 ) reduce 76 ; shift 327 . error state 334 variant : const_list : ( field_list_) ) shift 336 . error state 335 variant : const_list : ( )_ . reduce 82 state 336 variant : const_list : ( field_list )_ . reduce 81 nonterminal goal 0 1 nonterminal prog_hedr 0 2 nonterminal decls 2 4 23 67 nonterminal procs 4 7 67 118 nonterminal block 7 19 118 198 nonterminal id_list 13 31 17 40  18 42 120 203 137 213 142 221 204 266 205 267 206 268 264 203 277 221 332 221 nonterminal stat_list 21 44 51 85 55 105 nonterminal decl 4 8 67 8 nonterminal labels 4 10 67 10 nonterminal const_decl 4 11 67 11 nonterminal type_decl 4 12 67 12 nonterminal var_decl 4 13 67 13 nonterminal label_decl 14 34 nonterminal const 69 121 70 138 71 138 75 147 76 138 77 138 156 237 200 138 214 270 215 138 216 138 217 138 265 138 280 138 283 237 286 309 298 138 299 138 301 138 316 138 318 237 327 237 330 237 nonterminal type 70 131 71 144 76 148 77 149 200 262 216 273 265 297 280 305 298 314 299 315 316 321 nonterminal proc 7 20 118 20 nonterminal phead 7 22 118 22 nonterminal pheadres 7 23 118 23 nonterminal porf 7 24 118 24 nonterminal params 68 119 nonterminal ftype 119 199 nonterminal param_list 120 201 nonterminal param 120 202 264 296 nonterminal number 69 123 70 123 71 123 75 123 76 123 77 123 124 208 125 209 156 123 200 123 214 123 215 123 216 123 217 123 265 123 280 123 283 123 286 123 298 123 299 123 301 123 316 123 318 123 327 123 330 123 nonterminal const_id 69 126 70 126 71 126 75 126 76 126 77 126 124 126 125 126 156 126 200 126 214 126 215 126 216 126 217 126 265 126 280 126 283 126 286 126 298 126 299 126 301 126 316 126 318 126 327 126 330 126 nonterminal const_list 156 235 283 235 318 324 327 324 330 324 nonterminal simple_type 70 132 71 132 76 132 77 132 200 132 215 272 216 132 217 274 265 132 280 132 298 132 299 132 301 317 316 132 nonterminal struct_type 70 134 71 134 76 134 77 134 135 212 200 134 216 134 265 134 280 134 298 134 299 134 316 134 nonterminal type_id 70 136 71 136 76 136 77 136 200 136 215 136 216 136 217 136 265 136 279 303 280 136 298 136 299 136 301 136 316 136 319 325 nonterminal simple_type_list 215 271 nonterminal field_list 142 218 332 334 nonterminal fixed_part 142 219 332 219 nonterminal variant_part 219 276 nonterminal field 142 220 277 302 332 220 nonterminal variant_list 318 322 330 333 nonterminal variant 318 323 327 331 330 323 nonterminal stat 21 45 46 81 51 45 55 45 82 151 184 249 186 251 190 255 236 288 287 310 292 311 293 312 294 313 nonterminal stat_lsth 21 46 51 46 55 46 nonterminal cstat_list 156 232 nonterminal cstat 156 233 283 308 nonterminal proc_id 21 48 46 48 51 48 55 48 82 48 184 48 186 48 190 48 236 48 287 48 292 48 293 48  294 48 nonterminal wexpr_list 83 152 177 244 nonterminal assign 21 50 46 50 51 50 55 50 56 106 82 50 184 50 186 50 190 50 236 50 287 50 292 50 293 50 294 50 nonterminal expr 52 86 54 104 58 108 59 109 83 154 88 174 89 175 98 178 99 179 100 183 111 193 114 193 157 238 158 239 159 240 177 154 187 252 188 253 189 254 191 256 227 154 228 282 247 183 248 291 258 295 306 320 nonterminal var_list 53 101 nonterminal variable 21 61 46 61 51 61 52 95 53 102 54 95 55 61 56 61 58 95 59 95 82 61 83 95 88 95 89 95 98 95 99 95 100 95 111 95 114 95 157 95 158 95 159 95 177 95 184 61 185 250 186 61 187 95 188 95 189 95 190 61 191 95 227 95 228 95 236 61 247 95 248 95 258 95 287 61 292 61 293 61 294 61 306 95 nonterminal relop 86 157 104 157 108 157 109 157 154 157 174 157 175 157 178 157 179 157 183 157 193 157 238 157 239 157 240 157 252 157 253 157 254 157 256 157 282 157 291 157 295 157 320 157 nonterminal addop 86 158 104 158 108 158 109 158 154 158 174 158 175 158 178 158 179 158 183 158 193 158 238 158 239 158 240 158 252 158 253 158 254 158 256 158 282 158 291 158 295 158 320 158 nonterminal divop 86 159 104 159 108 159 109 159 154 159 174 159 175 159 178 159 179 159 183 159 193 159 238 159 239 159 240 159 252 159 253 159 254 159 256 159 282 159 291 159 295 159 320 159 nonterminal func_id 52 97 54 97 58 97 59 97 83 97 88 97 89 97 98 97 99 97 100 97 111 97 114 97 157 97 158 97 159 97 177 97 187 97 188 97 189 97 191 97 227 97 228 97 247 97 248 97 258 97 306 97 nonterminal element_list 100 180 nonterminal element 100 182 247 290 nonterminal qual_var 21 62 46 62 51 62 52 62 53 62 54 62 55 62 56 62 58 62 59 62 82 62 83 62 88 62 89 62 98 62 99 62 100 62 111 62 114 62 157 62 158 62 159 62 177 62 184 62 185 62 186 62 187 62 188 62 189 62 190 62 191 62 227 62 228 62 236 62 247 62 248 62 258 62 287 62 292 62 293 62 294 62 306 62 nonterminal array_id 21 63 46 63 51 63 52 63 53 63 54 63 55 63 56 63 58 63 59 63 82 63 83 63 88 63 89 63 98 63 99 63 100 63 111 63 114 63 157 63 158 63 159 63 177 63 184 63 185 63 186 63 187 63 188 63 189 63 190 63 191 63 227 63 228 63 236 63 247 63 248 63 258 63 287 63 292 63 293 63 294 63 306 63 nonterminal expr_list 111 192 114 196 nonterminal record_id 21 64 46 64 51 64 52 64 53 64 54 64 55 64 56 64 58 64 59 64 82 64 83 64 88 64 89 64 98 64 99 64 100 64 111 64 114 64 157 64 158 64 159 64 177 64 184 64 185 64 186 64 187 64 188 64 189 64 190 64 191 64 227 64 228 64 236 64 247 64 248 64 258 64 287 64 292 64 293 64 294 64 306 64 nonterminal field_id 112 194 115 197 nonterminal ptr_id 21 65 46 65 51 65 52 65 53 65 54 65 55 65 56 65 58 65 59 65 82 65 83 65 88 65 89 65 98 65 99 65 100 65 111 65 114 65 157 65 158 65 159 65 177 65 184 65 185 65 186 65 187 65 188 65 189 65 190 65 191 65 227 65 228 65 236 65 247 65 248 65 258 65 287 65 292 65 293 65 294 65 306 65 nonterminal wexpr 83 153 177 153 227 281 nonterminal octhex 154 229 282 307 nonterminal var_id 69/95 terminals, 61/150 nonterminals 184/300 grammar rules, 337/700 states 18 shift/reduce, 4 reduce/reduce conflicts reported 38/400 working sets used memory: states,etc. 2143/3000, parser 1005/2500 139/600 distinct lookahead sets 350 extra closures 1697 action entries 1198 action entries saved through merging 52 states 332 goto entries 830 entries saved by goto default 5 292 65 293 65 294 65 306 65 nonterminal wexpr 83 153 177 153 227 281 nonterminal octhex 154 229 282 307 nonterminal var_id 69/95 terminals, 61/150 nonterminals 184/300 grammar rules, 337/700 states 18 shift/reduce, 4 reduce/reduce conflicts reported 38/400 working sets used memory: states,etc. 2143/3000, parser 1005/2500 139/600 distinct lookahead sets 350 extra closures 1697 action entries 1198 action entries saved teÿREAD_MEÙMø¤�LTo make a pxref do makepxref It can be installed using install If you have a shell which recognizes Pascal objects it is not necessary to use both the Pascal and C programs... the Pascal object can be put in /usr/bin... but it will have the same status as shell scripts (essentially) thus time pxref pxref.p would not work then. installÙNøí�˜cp a.out /usr/bin/pxref cp obj /usr/lib/pxref chown bin /usr/bin/pxref /usr/lib/pxref chmod 711 /usr/bin/pxref chmod 644 /usr/lib/pxref rm -f a.out obj makepxrefÙNøí�cc -O pxref.c pi -pbt pxref.p printpxrefÙMøí� pr pxref.c pi -l pxref.p rm obj pxref.cÙMø¤�q/* * pxref - driver to put in /usr/bin/ to call pxref as a Pascal program * * Bill Joy UCB July 29, 1977 * * This program is not needed if the shell in use understands Pascal * objects. */ char *progname; main(argc, argv) int argc; char *argv[]; { argc--, progname = *argv++; if (argc == 0 || argc > 2) { printf("usage: %s [ - ] file\n", progname); exit(1); } if (argc == 1) { argv--; argv[0] = argv[1]; argv[1] = 0; } execl("/bin/px", "px", "/usr/lib/pxref", argv[0], argv[1], 0); execl("/usr/bin/px", "pcx", "/usr/lib/pxref", argv[0], argv[1], 0); write(2, "Can't find px\n", 14); exit(1); } pxref.pÙMø¤‘{program xref(input, output); label 99, 100; const p = 797; nk = 36; empty = ' '; type index = 0..p; ref = ^item; word = record key: alfa; first, last: ref; fol: index end; item = packed record lno: 0..9999; next: ref end; var i, top: index; scr: alfa; list: boolean; k, k1: integer; n: integer; c1, c2: integer; id: record case boolean of false:( a: alfa ); true:( ord: integer ) end; a: array [1..10] of char; t: array [index] of word; key: array [1..nk] of alfa; function letter(ch: char): Boolean; begin letter := (ch >= 'a') and (ch <= 'z') or (ch >= 'A') and (ch <= 'Z') end { letter }; function digit(ch: char): Boolean; begin digit := (ch >= '0') and (ch <= '9') end { digit }; function nokey(x: alfa): Boolean; var i, j, k: integer; begin i := 1; j := nk; repeat k := (i + j) div 2; if key[k] <= x then i := k + 1; if key[k] >= x then j := k - 1 until i > j; nokey := key[k] <> x end { nokey }; procedure newline; begin if n < 9999 then begin n := n + 1; if list then write(n: 6, ' ') end else begin writeln(' text too long'); goto 99 end end { newline }; procedure search; var h, d: index; x: ref; f: Boolean; begin h := id.ord div 4096 mod p; f := false; d := 1; c2 := c2 + 1; new(x); x^.lno := n; x^.next := nil; repeat if t[h].key = id.a then begin f := true; t[h].last^.next := x; t[h].last := x end else if t[h].key = empty then begin f := true; c1 := c1 + 1; t[h].key := id.a; t[h].first := x; t[h].last := x; t[h].fol := top; top := h end else begin h := h + d; d := d + 2; if h >= p then h := h - p; if d = p then begin writeln; writeln(' **** table full'); goto 99 end end until f end { search }; procedure printword(w: word); var l: integer; x: ref; begin write(' ', w.key); x := w.first; l := 0; repeat if l = 20 then begin l := 0; writeln; write(' ', empty) end; l := l + 1; write(x^.lno: 6); x := x^.next until x = nil; writeln end { printword }; procedure printtable; var i, j, m: index; begin i := top; while i <> p do begin m := i; j := t[i].fol; while j <> p do begin if t[j].key < t[m].key then m := j; j := t[j].fol end; printword(t[m]); if m <> i then begin t[m].key := t[i].key; t[m].first := t[i].first; t[m].last := t[i].last end; i := t[i].fol end end { printtable }; procedure openinput(i: integer); var filename: array [1..64] of char; begin argv(i, filename); reset(input, filename) end { openinput }; procedure lwriteln; begin if list then writeln end { lwriteln }; procedure lwrite(c: char); begin if list then write(c) end { lwrite }; begin { xref } list := true; if argc = 3 then begin argv(1, scr); if (scr[1] <> '-') or (scr[2] <> ' ') then begin writeln('usage: pxref [ - ] file'); goto 100 end; list := false end; if (argc < 2) or (argc > 3) then begin writeln('usage: pxref [ - ] file'); goto 100 end; if list then openinput(1) else openinput(2); for i := 0 to p - 1 do t[i].key := empty; c1 := 0; c2 := 0; key[1] := 'and'; key[2] := 'array'; key[3] := 'assert'; key[4] := 'begin'; key[5] := 'case'; key[6] := 'const'; key[7] := 'div'; key[8] := 'do'; key[9] := 'downto'; key[10] := 'else'; key[11] := 'end'; key[12] := 'file'; key[13] := 'for'; key[14] := 'function'; key[15] := 'hex'; key[16] := 'if'; key[17] := 'in'; key[18] := 'mod'; key[19] := 'nil'; key[20] := 'not'; key[21] := 'oct'; key[22] := 'of'; key[23] := 'or'; key[24] := 'packed'; key[25] := 'procedure'; key[26] := 'program'; key[27] := 'record'; key[28] := 'repeat'; key[29] := 'set'; key[30] := 'then'; key[31] := 'to'; key[32] := 'type'; key[33] := 'until'; key[34] := 'var'; key[35] := 'while'; key[36] := 'with'; n := 0; top := p; k1 := 10; while not eof(input) do begin if not eoln(input) then newline else n := n + 1; if input^ = '#' then begin while not eoln(input) do begin lwrite(input^); get(input) end; id.a := '#include'; search end else while not eoln(input) do begin if (input^ = ' ') or (input^ = tab) then begin lwrite(input^); get(input) end else if letter(input^) then begin k := 0; repeat lwrite(input^); if k < 10 then begin k := k + 1; a[k] := input^ end; get(input) until not (letter(input^) or digit(input^)); if k >= k1 then k1 := k else repeat a[k1] := ' '; k1 := k1 - 1 until k1 = k; pack(a, 1, id.a); if nokey(id.a) then search end else if digit(input^) then repeat lwrite(input^); get(input) until not digit(input^) else if input^ = '''' then begin repeat lwrite(input^); get(input) until input^ = ''''; lwrite(''''); get(input) end else if input^ = '{' then begin repeat lwrite(input^); get(input); while eoln(input) do begin lwriteln; get(input); newline end until input^ = '}'; lwrite('}'); get(input) end else if input^ = '(' then begin lwrite('('); get(input); if input^ = '*' then begin lwrite('*'); get(input); repeat while input^ <> '*' do begin if eoln(input) then begin lwriteln;  newline end else lwrite(input^); get(input) end; lwrite('*'); get(input) until input^ = ')'; lwrite(')'); get(input) end end else begin lwrite(input^); get(input) end end; lwriteln; get(input) end; 99: if list then page(output); printtable; lwriteln; writeln(c1, ' identifiers', c2, ' occurrences'); 100: {nil} end { xref }. while input^ <> '*' do begin if eoln(input) then begin lwriteln; To make a pxref do makepxref It can be installed using install If you have a shell which recognizes Pascal objects it is not necessary to use both the Pascal and C programs... the Pascal object can be put in /usr/bin... but it will have the same status as shell scripts (essentially) thus time pxref pxref.p would not work then. lwriteln; writeln(c1, ' identifiers', c2, ' occurrences'); 100: {nil} end { xref }. while input^ <> '*' do begin if eoln(input) then begin lwriteln; eÿREAD_MEÙkø¤�ºHere are a passwd command which asks you for the password twice so you dont screw yourself up, and a shell which has a couple nice features (interruptible waits, redirect unit 2) and which knows about Pascal objects... the glob (../s8/glob2.c) which goes with this shell takes arbitrary path names, i.e. /*/mbox This shell has been the standard at Berkeley for over a year. The login and su in ../s8 maintain the htmp data base, and also implement ".start_up" files which a shell runs when you log in. Also implemented are the file ".reminder" which you can place in your login directory to have catted on your terminal when you log in. These features of login are superfluous if you have "../ashell" but very useful otherwise. The "su" program also maintains an unused byte in /etc/utmp so that the "who" here can print out who you are "su'd" to ... currently we disable su's to anyone but the root except by the root ... this is easy to take out. passwd.cÙkø¤�% /* * enter a password in the password file * this program should be suid with owner * with an owner with write permission on /etc/passwd */ char *tfile { "/usr/adm/ptmp" }; char *pfile { "/etc/passwd" }; char *pw; char pwbuf[10]; int ttybuf[3]; int tbuf[259]; int pbuf[259]; main(argc, argv) char *argv[]; { register u, c; register char *p; int exitt(); int v; char x; if(argc < 2) { write(2, "Usage: passwd user [ password ]\n", 32); goto bex; } if(argc == 2) { signal(1, &exitt); signal(2, &exitt); signal(3, &exitt); gtty(0, ttybuf); ttybuf[2] =& ~010; stty(0, ttybuf); again: write(2, "Password: ", 10); p = pwbuf; for(;;) { if(read(0, p, 1) != 1) break; if(*p == '\n') break; if(p < pwbuf+9) p++; } *p = 0; write(2, "\nAgain: ", 8); p = pwbuf; for (;;) { if (read(0, &x, 1) != 1 || x == '\n') break; if (*p++ != x) { xxx: while (read(0, &x, 1) == 1 && x != '\n') continue; write(2, "\nThose weren't the same\n", 24); goto again; } } if (*p != 0) goto xxx; ttybuf[2] =| 010; stty(0, ttybuf); write(2, "\n", 1); pw = pwbuf; } else pw = argv[2]; signal(1, 1); signal(2, 1); signal(3, 1); if(stat(tfile, tbuf+20) >= 0) { write(2, "Temporary file busy -- try again\n", 33); goto bex; } tbuf[0] = creat(tfile, 0600); if(tbuf[0] < 0) { write(2, "Cannot create temporary file\n", 29); goto bex; } pbuf[0] = open(pfile, 0); if(pbuf[0] < 0) { write(2, "Cannot open /etc/passwd\n", 25); goto out; } goto l1; /* * skip to beginning of next line */ skip: while(c != '\n') { if(c < 0) goto ill; c = getc(pbuf); putc(c, tbuf); } /* * compare user names */ l1: c = getc(pbuf); putc(c, tbuf); if(c < 0) { write(2, "User name not found in password file\n", 37); goto out; } p = argv[1]; while(c != ':') { if(*p++ != c) goto skip; c = getc(pbuf); putc(c, tbuf); } if(*p) goto skip; /* * skip old password */ do { c = getc(pbuf); if(c < 0) goto ill; } while(c != ':'); /* * copy in new password */ p = pw; for(c=0; c<9; c++) if(*p++ == 0) break; *--p = 0; if(p != pw) p = crypt(pw); while(*p) putc(*p++, tbuf); putc(':', tbuf); /* * validate uid and gid */ u = 0; do { c = getc(pbuf); putc(c, tbuf); if(c >= '0' && c <= '9') u = u*10 + c-'0'; if(c < 0) goto ill; } while(c != ':'); v = 0; do { c = getc(pbuf); putc(c, tbuf); if(c >= '0' && c <= '9') v = v*10 + c-'0'; if(c < 0) goto ill; } while(c != ':'); c = getuid(); if(c == 0) goto ok; if(c == ((v<<8) | u)) goto ok; if((c&0377) == 0 && ((c>>8)&0377) == v) goto ok; write(2, "Permission denied\n", 18); goto out; ok: /* * copy out and back */ for(;;) { c = getc(pbuf); if(c < 0) { fflush(tbuf); close(pbuf[0]); close(tbuf[0]); tbuf[0] = open(tfile, 0); if(tbuf[0] < 0) { write(2, "Urk\n", 4); goto out; } pbuf[0] = creat(pfile, 0644); if(pbuf[0] < 0) { write(2, "Cannot create /etc/passwd\n", 27); goto out; } while((c = read(tbuf[0], tbuf+1, 512)) > 0) write(pbuf[0], tbuf+1, c); unlink(tfile); exit(0); } putc(c, tbuf); } ill: write(2, "Password file illformed\n", 24); out: unlink(tfile); bex: exit(1); } exitt() { ttybuf[2] =| 010; stty(0, ttybuf); write(2, "\n", 1); exit(1); } [sh.cÙkø¤‘Ø9# /* * UC berkeley shell * * Modified by Bill Joy Oct 14, 1976 * * library "lib" * cd for "chdir" * interruptible waits * new accounting scheme * interactive (login shell) option "-i" * shells with input and output tty's ignore interrupts * verbose option "-v" causes input commands to be echoed * $* for all arguments $1 to end * >* >>* and |* to put unit 2 there also * `cmd1 ; ... ; cmdn &*' means `( cmd1 ; ... ; cmdn ) &' * pascal objects are recognized and px's are forked * gimme and normal * working directory not searched for root */ char shell[] "/bin/sh"; char glob[] "/etc/glob2"; char px[] "/bin/px"; #define PCXN 0404 #define INTR 2 #define QUIT 3 #define LINSIZ 1000 #define ARGSIZ 50 #define TRESIZ 100 #define LIBSIZ 100 #define QUOTE 0200 #define FAND 1 #define FCAT 2 #define FPIN 4 #define FPOU 8 #define FPAR 16 #define FINT 32 #define FPRS 64 #define FDIAG 128 #define TCOM 1 #define TPAR 2 #define TFIL 3 #define TLST 4 #define DTYP 0 #define DLEF 1 #define DRIT 2 #define DFLG 3 #define DSPR 4 #define DCOM 5 #define ENOEXEC 8 #define ENOMEM 12 int niceness; char *dolp; int *dolnxt; char pidp[7]; int dolc; char **dolv; char *promp "% "; char *linep; char **argp; int *treep; char peekc; char gflg; char nofile; char error; char acctf; char *accpt; char *accbuf; int acct; char acnm[] "/usr/adm/sha\0\0\0"; char ty; char tyed; char echo; int uid; char setintr; char *arginp; char onelflg; char *mesg[] { 0, "Hangup", 0, "Quit", "Illegal instruction", "Trace/BPT trap", "IOT trap", "EMT trap", "Floating exception", "Killed", "Bus error", "Memory fault", "Bad system call", 0, "Alarm clock", "Sig 15", "Sig 16", }; char line[LINSIZ]; char *args[ARGSIZ]; int trebuf[TRESIZ]; char *lib; char *numpt &pidp[sizeof pidp - 1]; main(c, av) int c; char **av; { register f; register char **v, *cp; for(f=3; f<15; f++) close(f); numb(numb(getpid())); if ((uid = getuid()) == 0) promp[0] = '#'; v = av; dolnxt = &v[c]; if (c > 1) { if (*(cp = v[1]) == '-') { do switch(*cp++) { case 'v': echo++; break; case 'c': if (c > 2) arginp = v[2]; goto l1; case 't': onelflg = 2; case '\0': l1: *promp = '\0'; case 'i': **v = '-'; nofile++; break; } while (*cp); v++; c--; } if (nofile == 0 && c > 1) { close(0); if (open(cp = v[1], 0) < 0) { prs(v[1]); err(": cannot open"); } *promp = '\0'; } } if ((ty = ttyn(0)) != 'x' && ttyn(1) != 'x') **v = '-'; if (**av == '-') { setintr++; signal(QUIT, 1); signal(INTR, 1); } dolv = v+1; dolc = c-1; numpt = &acnm[sizeof acnm - 1]; numb((uid>>8) & 0377); numb(uid & 0377); if ((acctf = open(acnm, 1)) >= 0 || echo) accbuf = sbrk(256); setexit(); for(;;) { prs(promp); if ((cp = accbuf) != 0) { *cp++ = ty; tyed++; *cp++ = ' '; accpt = cp; acct = 254; } peekc = getc(); main1(); } } numb(a) { register i, j; i = a; j = 3; do { *--numpt = (i % 10) | '0'; i =/ 10; } while(--j); return(i); } acflush() { register f, c; register char *b; if ((b = accbuf) != 0) { c = 256 - acct; if ((f = acctf)>= 0) { seek(f, 0, 2); write(f, b, c);  } if (echo) { if (tyed) b[0] = uid ? '%' : '#'; seek(2, 0, 2); write(2, b, c); } accpt = b; acct = 256; } } main1() { register char c, *cp; register *t; argp = args; linep = line; error = 0; gflg = 0; do { cp = linep; word(); } while(*cp != '\n'); treep = trebuf; if (gflg == 0) { if (error == 0) t = syntax(args, argp); if (error != 0) err("syntax error"); else { acflush(); execute(t); } } } word() { register char c, c1; *argp++ = linep; loop:  switch(c = getc()) { case ' ': case '\t': goto loop; case '\'': case '"': c1 = c; while((c = readc()) != c1) { if (c == '\n') { error++; peekc = c; return; } *linep++ = c|QUOTE; } goto pack; case '&': *linep++ = c; if ((c = getc()) == '*') *linep++ = c; else peekc = c; *linep++ = '\0'; return; case ';': case '<': case '>': case '(': case ')': case '|': case '^': case '\n': *linep++ = c; *linep++ = '\0'; return; } peekc = c; pack: for(;;) { c = getc(); if (any(c, " '\"\t;&<>()|^\n")) { peekc = c; if (any(c, "\"'")) goto loop; *linep++ = '\0'; return; } *linep++ = c; } } tree(n) int n; { register *t; t = treep; treep =+ n; if (treep > &trebuf[TRESIZ]) { prs("Command line overflow\n"); error++; reset(); /* UGH */ } return(t); } getc() { register c; if (peekc) { c = peekc; peekc = 0; return(c); } if (argp > &args[ARGSIZ-5]) { argp =- 10; while((c=getc()) != '\n'); argp =+ 10; err("Too many args"); gflg++; return(c); } if (linep > &line[LINSIZ-5]) { linep =- 10; while((c=getc()) != '\n'); linep =+ 10; err("Too many characters"); gflg++; return(c); } for(;;) { if (dolp) { if ((c = *dolp++) != '\0') return(c); dolp = *dolnxt; c = dolp; if (c != -1) { dolnxt++; return(' '); } dolp = 0; } if ((c = readc()) == '\\') if ((c = readc()) == '\n') return(' '); else return(c | QUOTE); else if (c == '$') { c = readc();  if (c >= '0' && c <= '9') { if (c - '0' < dolc) dolp = dolv[c - '0']; continue; } else if (c == '$') { dolp = &pidp[1]; continue; } else if (c == '*') { if (dolc > 1) { dolp = dolv[1]; dolnxt = &dolv[2]; } continue; } } return(c&0177); } } readc() { char cc; register c; register char *cp; if (arginp) { if (arginp == 1) exit(0); else if ((c = *arginp++) == '\0') { arginp = 1; c = '\n'; } } else if (onelflg == 1 || read(0, &cc, 1) != 1) exit(0); else if ((c = cc) == '\n' && onelflg) onelflg--; if ((cp = accpt) != 0) { *cp++ = c; if (--acct == 0) acflush(); else accpt = cp; } return(c); } /* * syntax * empty * syn1 */ syntax(p1, p2) char **p1, **p2; { while(p1 != p2) { if (any(**p1, ";&\n")) p1++; else return(syn1(p1, p2, 1)); } return(0); } /* * syn1@fl=0 * syn2 * syn2 ; syntax * syn2 & * * When fl=1 syn1 handles the vagarities of &* */ syn1(p1, p2, fl) char **p1, **p2; { register char **p; register *t, *t1; int l; top: l = 0; for(p=p1; p!=p2; p++) switch(**p) { case '(': l++; continue; case ')': l--; if (l < 0) error++; /* too many ')'s */ continue; case ';': case '\n': if (fl) continue; case '&': if (l == 0) { if (fl) { l = (*p)[1]; if (l == '*') **p = ';'; t1 = syn1(p1, p+1, 0); if (l == '*') if (t1[DTYP] == TLST) { t = tree(5); t[DTYP] = TPAR; t[DLEF] = 0; t[DRIT] = 0; t[DFLG] = FAND|FPRS|FINT; t[DSPR] = t1; t1 = t; } else { t = t1[DLEF]; t[DFLG] =| FAND|FPRS|FINT; } } else { l = **p; t1 = syn2(p1, p); if (l == '&') t1[DFLG] =| FAND|FPRS|FINT; } t = tree(4); t[DTYP] = TLST; t[DFLG] = 0; t[DLEF] = t1; t[DRIT] = syntax(p+1, p2); return(t); } } if (l == 0) if (fl) { fl = 0; goto top; } else return(syn2(p1, p2)); error++; } /* * syn2 * syn3 * syn3 | syn2 */ syn2(p1, p2) char **p1, **p2; { register char **p; register int l, *t; l = 0; for(p=p1; p!=p2; p++) switch(**p) { case '(': l++; continue; case ')': l--; continue; case '|': case '^': if (l == 0) { t = tree(4); t[DTYP] = TFIL; t[DLEF] = syn3(p1, p); p++; if (p != p2 && **p == '*') { t[DFLG] = FDIAG; if ((*p)[1] != '\0') { (*p)++; p--; } } else { t[DFLG] = 0; p--; } t[DRIT] = syn2(p+1, p2); return(t); } } return(syn3(p1, p2)); } /* * syn3 * ( syn1@1 ) [ < in ] [ > out ] * word word* [ < in ] [ > out ] */ syn3(p1, p2) char **p1, **p2; { register char **p; char **lp, **rp; register *t; int n, l, i, o, c, flg; flg = 0; if (**p2 == ')') flg =| FPAR; lp = 0; rp = 0; i = 0; o = 0; n = 0; l = 0; for(p=p1; p!=p2; p++) switch(c = **p) { case '(': if (l == 0) { if (lp != 0) error++; lp = p+1; } l++; continue; case ')': l--; if (l == 0) rp = p; continue; case '>': p++; if (p!=p2 && **p=='>') flg =| FCAT; else  p--; p++; if (p != p2 && **p == '*') { flg =| FDIAG; if ((*p)[1] != '\0') { (*p)++; p--; } } else p--; case '<': if (l == 0) { p++; if (p == p2) { error++; p--; } if (any(**p, "<>(")) error++; if (c == '<') { if (i != 0) error++; i = *p; } else { if (o != 0) error++; o = *p; } } continue; default: if (l == 0) p1[n++] = *p; } if (lp != 0) { if (n != 0) error++; t = tree(5); t[DTYP] = TPAR; t[DSPR] = syn1(lp, rp, 1); } else { if (n == 0) error++; p1[n++] = 0; t = tree(n+5); t[DTYP] = TCOM; for(l=0; l= 0) seek(1, 0, 2); else if (creat(cp2, 0644) < 0) { prs(t1[DRIT]); err(": cannot create"); exit(1); } } if ((f&FPIN) != 0) { close(0); dup(pf1[0]); close(pf1[0]); close(pf1[1]); } if ((f&FPOU) != 0) { close(1); dup(pf2[1]); close(pf2[0]); close(pf2[1]); } if (f&FDIAG) { close(2); dup(1); } if ((f&FINT)!=0 && t1[DLEF]==0 && (f&FPIN)==0) { close(0); open("/dev/null", 0); } if ((f&FINT) == 0 && setintr) { signal(INTR, 0); signal(QUIT, 0); } if (t1[DTYP] == TPAR) { if (t1 = t1[DSPR]) t1[DFLG] =| f&FINT; execute(t1); exit(1); } close(acctf); gflg = 0; scan(t1+1, &tglob); if (gflg) { t1 = &t1[DSPR-1]; *t1++ = glob; if ((*t1 = lib) == 0) *t1 = &""; t1--; execv(*t1, t1); prs("glob: cannot execute\n"); exit(1); } scan(t1, &trim); cp1 = t1[DCOM]; while(*cp1 && *cp1 != '/') cp1++; if (*cp1 || uid) texec(t1[DCOM], t1); if (!*cp1) { if (cp2 = lib) for(;;) { while (*cp2 == ' ') cp2++; if (!*cp2) break; cp1 = linep; while(*cp2) if (*cp2 == ' ') break; else *cp1++ = *cp2++; scp = cp2; *cp1++ = '/'; cp2 = t[DCOM]; while(*cp1++ = *cp2++) continue; texec(linep, t1); cp2 = scp; } cp1 = linep; cp2 = "/usr/bin/"; while(*cp1 = *cp2++) cp1++; cp2 = t1[DCOM]; while(*cp1++ = *cp2++); texec(linep+4, t1); texec(linep, t1); } prs(t1[DCOM]); err(": not found"); exit(1); case TFIL: f = t[DFLG]; pipe(pv); t1 = t[DLEF]; t1[DFLG] =| FPOU | (f&(FPIN|FINT|FPRS|FDIAG)); execute(t1, pf1, pv); t1 = t[DRIT]; t1[DFLG] =| FPIN | (f&(FPOU|FINT|FAND|FPRS)); execute(t1, pv, pf2); return; case TLST: f = t[DFLG]&FINT; if (t1 = t[DLEF]) t1[DFLG] =| f; execute(t1); if (t1 = t[DRIT]) t1[DFLG] =| f; execute(t1); return; } } texec(f, at) int *at; { extern errno; register int *t, *t1; register i; int w; t = at; execv(f, (t1 = &t[DCOM])); if (errno == ENOEXEC) { *t1 = f; *--t1 = shell; i = open(f, 0); if (i >= 0) { if (read(i, &w, 2) == 2 && w == PCXN) *t1 = px; close(i); } execv(*t1, t1); prs("No "); prs(*t1); err("!!\n"); exit(1); } else if (errno==ENOMEM) { prs(*t1); err(": too large"); exit(1); } } err(s) char *s; { prs(s); prs("\n"); if (*promp == '\0') { seek(0, 0, 2); exit(); } } prs(as) char *as; { register char *s; if (s = as) { while(*s) s++; write(2, as, s-as); } } prn(n) int n; { register a; if (a = n/10) prn(a); n = n % 10 + '0'; write(2, &n, 1); } getn(acp) char *acp; { register i; register char c, *cp; cp = acp; i = 0; while ((c = *cp++) != '\0') if (c >= '0' && c <= '9') i = 10 * i + c - '0'; return(i); } any(c, as) int c; char *as; { register char *s; s = as; while(*s) if (*s++ == c) return(1); return(0); } equal(as1, as2) char *as1, *as2; { register char *s1, *s2; s1 = as1; s2 = as2; while(*s1++ == *s2) if (*s2++ == '\0') return(1); return(0); } pwait(ai) int ai; { register p, e, i; int s; if ((i = ai) != 0)  do { p = wait(&s); if (p == -1) break; e = s & 0177; if (mesg[e] != 0) { if (p != i) { prn(p); prs(": "); } prs(mesg[e]); if (s & 0200) prs(" -- Core dumped"); } if (e != 0) err(""); } while (i != p); } who.cÙlø¤�/* * who */ int fout; int buf[256]; char pbuf[100]; main(argc, argv) char **argv; { char *s, *cbuf; int n, fi, i; int tty; struct { char name[8]; char tty; char changed; int time[2]; int uid; } *p; s = "/etc/utmp"; if(argc == 2) s = argv[1]; fi = open(s, 0); if(fi < 0) { write("cannot open wtmp\n", 17); exit(); } fout = dup(1); close(1); if (argc==3) tty = ttyn(2); loop: n = read(fi, buf, 512); if(n == 0) { flush(); if (argc==3) write(fout, "Nobody.\n", 8); exit(); } p = &buf; for(p = &buf; (n =- 16)>=0; p++) { if (argc==3 && tty!=p->tty) continue; if(p->name[0] == '\0' && argc==1) continue; for(i=0; i<8; i++) { if (p->name[i]<' ' || p->name[i]>'z') p->name[i] = ' '; putchar(p->name[i]); } putchar(' '); for(i=0; i<3; i++) putchar("tty"[i]); i = p->tty; if (i < 033) { putchar('^'); putchar(i - 1 + 'a'); } else { putchar(i); putchar(' '); } cbuf = ctime(p->time); for(i=3; i<16; i++) putchar(cbuf[i]); if (p->changed && argc != 2) { if (getpw(p->uid, pbuf)) goto out; s = pbuf; putchar(' '); for(i=0; i < 8; i++) if (*s == ':') break; else putchar(*s++); } out: putchar('\n'); if (argc==3) { flush(); exit(); } } goto loop; } r(' '); for(i=0; i<3; i++) putchar("tty"[i]); i = p->tty; if (i < 033) { putchar('^'); putchar(i - 1 + 'a'); } else { putchar(i); putchar(' '); } cbuf = ctime(p->time); for(i=3; i<16; i++) putchar(cbuf[i]); if (p->changed && argc != 2) { if (getpw(p->uid, pbuf)) goto out; s = pbuf; putchar(' '); for(i=0; i < 8; i++) if (*s == ':') break; else putchar(*s++); } out: putchar('\n'); if (argc==Here are a passwd command which asks you for the password twice so you dont screw yourself up, and a shell which has a couple nice features (interruptible waits, redirect unit 2) and which knows about Pascal objects... the glob (../s8/glob2.c) which goes with this shell takes arbitrary path names, i.e. /*/mbox This shell has been the standard at Berkeley for over a year. The login and su in ../s8 maintain the htmp data base, and also implement ".start_up" files which a shell runs when you log in. Also implemented are the file ".reminder" which you can place in your login directory to have catted on your terminal when you log in. These features of login are superfluous if you have "../ashell" but very useful otherwise. The "su" program also maintains an unused byte in /etc/utmp so that the "who" here can print out who you are "su'd" to ... currently we disable su's to anyone but the root except by the root ... this is easy to take out. mplement ".start_up" files which a shell runs when you log in. Also imeÿbiorhythm.cÞå9¤�¿/* biorhythm predictions biorhythm mmddyy [y1] [y2] jeff schriebman 3-75 */ extern fout; char *bptr; int month,day,year,nday; char *mon[] { "jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov", "dec" }; int dy[] { 31,28,31,30,31,30, 31,31,30,31,30,31 }; main(argc,argv) char **argv; { register char ph,em,in; int i,ystart,yfin; if (argc < 2) { printf("bior mmddyy [yy] [yy]\n"); exit(); } fout = dup(1); printf("Biorhythm transition predictions\n\n"); printf("ph em in date\n"); nday = -1; bptr = *++argv; month = gettwo(); day = gettwo(); day =- 1; year = gettwo(); year =+ 1900; if (*bptr!='\0') { printf("\n\nIllegal input data. Please enter "); printf("mmddyy of birth\n"); exit(); } ystart = 0; if (argc>=3) { bptr = *++argv; ystart = gettwo(); ystart =+ 1900; } yfin = 30000; if (argc>=4) { bptr = *++argv; yfin = gettwo(); yfin =+ 1900; } for (i=year;yearyfin) exit(); ph = ' '; em = ' '; in = ' '; if(lrem(0,nday,23)==11) ph = '-'; if(lrem(0,nday,23)==0) ph = '+'; if(lrem(0,nday,28)==14) em = '-'; if(lrem(0,nday,28)==0) em = '+'; if(lrem(0,nday,33)==16) in = '-'; if(lrem(0,nday,33)==0) in = '+'; if (ph==' ' && em==' ' && in==' ') continue; printf("%c %c %c %s %2d %d\n",ph,em,in,mon[month-1],day,year); } flush(); } update() { nday =+ 1; day =+ 1; if(day>dy[month-1]) { if(month==2 && lrem(0,year,4)==0 && day==29) return; day = 1; month =+ 1; if (month>12) { month = 1; year =+ 1; } } } gettwo() { register int num; num = *bptr++ - '0'; num = num*10 + *bptr++ - '0'; return(num); } mblock.cÞå9¤‘ã# /* * block - print characters in block letters */ # define HEIGHT 6 # define WIDTH 5 char MATRIX[] { 0,0,0,0,0, /* space */ 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 1,1,1,1,1, /* ! */ 0,1,1,1,0, 0,0,1,0,0, 0,0,0,0,0, 0,0,1,0,0, 0,0,0,0,0, 1,1,0,1,1, /* " */ 0,1,0,0,1, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,1,0,1,0, /* # */ 1,1,1,1,1, 0,1,0,1,0, 1,1,1,1,1, 0,1,0,1,0, 0,0,0,0,0, 0,1,1,1,1, /* $ */ 1,0,1,0,0, 0,1,1,1,0, 0,0,1,0,1, 1,1,1,1,0, 0,0,0,0,0, 1,1,0,0,1, /* % */ 1,1,0,1,0, 0,0,1,0,0, 0,1,0,1,1, 1,0,0,1,1, 0,0,0,0,0, 0,1,1,1,0, /* & */ 0,1,0,1,0, 0,0,1,0,0, 0,1,0,1,0, 0,1,1,1,1, 0,0,0,1,0, 0,0,1,1,0, /* ' */ 0,0,1,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,1,0,0, /* ( */ 0,1,0,0,0, 0,1,0,0,0, 0,1,0,0,0, 0,0,1,0,0, 0,0,0,0,0, 0,0,1,0,0, /* ) */ 0,0,0,1,0, 0,0,0,1,0, 0,0,0,1,0, 0,0,1,0,0, 0,0,0,0,0, 0,0,0,0,0, /* * */ 0,1,0,1,0, 1,1,1,1,1, 0,1,0,1,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, /* + */ 0,0,1,0,0, 0,1,1,1,0, 0,0,1,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, /* , */ 0,0,0,0,0, 0,0,0,0,0, 0,0,1,1,0, 0,0,1,1,0, 0,1,0,0,0, 0,0,0,0,0, /* - */ 0,0,0,0,0, 0,1,1,1,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, /* . */ 0,0,0,0,0, 0,0,0,0,0, 0,0,1,1,0, 0,0,1,1,0, 0,0,0,0,0, 0,0,0,0,1, /* / */ 0,0,0,1,0, 0,0,1,0,0, 0,1,0,0,0, 1,0,0,0,0, 0,0,0,0,0, 0,1,1,1,0, /* 0 */ 1,0,0,0,1, 1,0,0,0,1, 1,0,0,0,1, 0,1,1,1,0, 0,0,0,0,0, 0,0,1,0,0, /* 1 */ 0,1,1,0,0, 0,0,1,0,0, 0,0,1,0,0, 0,1,1,1,0, 0,0,0,0,0, 0,1,1,1,0, /* 2 */ 1,0,0,0,1, 0,0,1,1,0, 0,1,0,0,0, 1,1,1,1,1, 0,0,0,0,0, 0,1,1,1,0, /* 3 */ 1,0,0,0,1, 0,0,1,1,0, 1,0,0,0,1, 0,1,1,1,0, 0,0,0,0,0, 0,0,1,1,0, /* 4 */ 0,1,0,1,0, 1,1,1,1,1, 0,0,0,1,0, 0,0,0,1,0, 0,0,0,0,0, 1,1,1,1,1, /* 5 */ 1,0,0,0,0, 1,1,1,1,0, 0,0,0,0,1, 1,1,1,1,1, 0,0,0,0,0, 0,0,1,0,0, /* 6 */ 0,1,0,0,0, 1,1,1,1,0, 1,0,0,0,1, 0,1,1,1,0, 0,0,0,0,0, 1,1,1,1,1, /* 7 */ 0,0,0,1,0, 0,0,1,0,0, 0,1,0,0,0, 1,0,0,0,0, 0,0,0,0,0, 0,1,1,1,0, /* 8 */ 1,0,0,0,1, 0,1,1,1,0, 1,0,0,0,1, 0,1,1,1,0, 0,0,0,0,0, 0,1,1,1,0, /* 9 */ 1,0,0,0,1, 0,1,1,1,1, 0,0,0,1,0, 0,0,1,0,0, 0,0,0,0,0, 0,0,1,1,0, /* : */ 0,0,1,1,0, 0,0,0,0,0, 0,0,1,1,0, 0,0,1,1,0, 0,0,0,0,0, 0,0,1,1,0, /* ; */ 0,0,1,1,0, 0,0,0,0,0, 0,0,1,1,0, 0,0,1,1,0, 0,1,0,0,0, 0,0,0,1,0, /* < */ 0,0,1,0,0, 0,1,0,0,0, 0,0,1,0,0, 0,0,0,1,0, 0,0,0,0,0, 0,0,0,0,0, /* = */ 0,1,1,1,0, 0,0,0,0,0, 0,1,1,1,0, 0,0,0,0,0, 0,0,0,0,0, 0,1,0,0,0, /* > */ 0,0,1,0,0, 0,0,0,1,0, 0,0,1,0,0, 0,1,0,0,0, 0,0,0,0,0, 0,1,1,1,0, /* ? */ 1,0,0,0,1, 0,0,1,1,0, 0,0,1,0,0, 0,0,1,0,0, 0,0,0,0,0, 0,1,1,1,0, /* @ */ 1,0,0,0,1, 1,0,1,1,1, 1,0,1,1,1, 0,1,1,1,1, 0,0,0,0,0, 0,0,1,0,0, /* A */ 0,1,0,1,0, 1,1,1,1,1, 1,0,0,0,1, 1,0,0,0,1, 0,0,0,0,0, 1,1,1,1,0, /* B */ 1,0,0,0,1, 1,1,1,1,0, 1,0,0,0,1, 1,1,1,1,0, 0,0,0,0,0, 0,1,1,1,0, /* C */ 1,0,0,0,1, 1,0,0,0,0, 1,0,0,0,1, 0,1,1,1,0, 0,0,0,0,0, 1,1,1,1,0, /* D */ 1,0,0,0,1, 1,0,0,0,1, 1,0,0,0,1, 1,1,1,1,0, 0,0,0,0,0, 1,1,1,1,1, /* E */ 1,0,0,0,0, 1,1,1,0,0, 1,0,0,0,0, 1,1,1,1,1, 0,0,0,0,0, 1,1,1,1,1, /* F */ 1,0,0,0,0, 1,1,1,0,0, 1,0,0,0,0, 1,0,0,0,0, 0,0,0,0,0, 1,1,1,1,1, /* G */ 1,0,0,0,0, 1,0,1,1,1, 1,0,0,0,1, 1,1,1,1,1, 0,0,0,0,0, 1,0,0,0,1, /* H */ 1,0,0,0,1, 1,1,1,1,1, 1,0,0,0,1, 1,0,0,0,1, 0,0,0,0,0, 1,1,1,1,1, /* I */ 0,0,1,0,0, 0,0,1,0,0, 0,0,1,0,0, 1,1,1,1,1, 0,0,0,0,0, 0,1,1,1,0, /* J */ 0,0,1,0,0, 0,0,1,0,0, 1,0,1,0,0, 1,1,1,0,0, 0,0,0,0,0, 1,0,0,0,1, /* K */ 1,0,0,1,0, 1,1,1,0,0, 1,0,0,1,0, 1,0,0,0,1, 0,0,0,0,0, 1,0,0,0,0, /* L */ 1,0,0,0,0, 1,0,0,0,0, 1,0,0,0,0, 1,1,1,1,1, 0,0,0,0,0, 1,0,0,0,1, /* M */ 1,1,0,1,1, 1,0,1,0,1, 1,0,0,0,1, 1,0,0,0,1, 0,0,0,0,0, 1,0,0,0,1, /* N */ 1,1,0,0,1, 1,0,1,0,1, 1,0,0,1,1, 1,0,0,0,1, 0,0,0,0,0, 1,1,1,1,1, /* O */ 1,0,0,0,1, 1,0,0,0,1, 1,0,0,0,1, 1,1,1,1,1, 0,0,0,0,0, 1,1,1,1,0, /* P */ 1,0,0,0,1, 1,1,1,1,0, 1,0,0,0,0, 1,0,0,0,0, 0,0,0,0,0, 1,1,1,1,1, /* Q */ 1,0,0,0,1, 1,0,0,0,1, 1,0,1,0,1, 1,1,1,1,1, 0,0,0,0,1, 1,1,1,1,0, /* R */ 1,0,0,0,1, 1,1,1,1,0, 1,0,0,1,0, 1,0,0,0,1, 0,0,0,0,0, 0,1,1,1,1, /* S */ 1,0,0,0,0, 0,1,1,1,0, 0,0,0,0,1, 1,1,1,1,0, 0,0,0,0,0, 1,1,1,1,1, /* T */ 0,0,1,0,0, 0,0,1,0,0, 0,0,1,0,0, 0,0,1,0,0, 0,0,0,0,0, 1,0,0,0,1, /* U */ 1,0,0,0,1, 1,0,0,0,1, 1,0,0,0,1, 0,1,1,1,0, 0,0,0,0,0, 1,0,0,0,1, /* V */ 1,0,0,0,1, 1,0,0,0,1, 0,1,0,1,0, 0,0,1,0,0, 0,0,0,0,0, 1,0,0,0,1, /* W */ 1,0,0,0,1, 1,0,1,0,1, 1,0,1,0,1, 0,1,1,1,0, 0,0,0,0,0, 1,0,0,0,1, /* X */ 0,1,0,1,0, 0,0,1,0,0, 0,1,0,1,0, 1,0,0,0,1, 0,0,0,0,0, 1,0,0,0,1, /* Y */ 0,1,0,1,0, 0,0,1,0,0, 0,0,1,0,0, 0,0,1,0,0, 0,0,0,0,0, 1,1,1,1,1, /* Z */ 0,0,0,1,0, 0,0,1,0,0, 0,1,0,0,0, 1,1,1,1,1, 0,0,0,0,0, 0,1,1,1,0, /* [ */ 0,1,0,0,0, 0,1,0,0,0, 0,1,0,0,0, 0,1,1,1,0, 0,0,0,0,0, 1,0,0,0,0, /* \ */ 0,1,0,0,0, 0,0,1,0,0, 0,0,0,1,0, 0,0,0,0,1, 0,0,0,0,0, 0,1,1,1,0, /* ] */ 0,0,0,1,0, 0,0,0,1,0, 0,0,0,1,0, 0,1,1,1,0, 0,0,0,0,0, 0,0,1,0,0, /* ^ */ 0,1,0,1,0, 1,0,0,0,1, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, /* _ */ 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 1,1,1,1,1, 0,1,1,0,0, /* ` */ 0,0,1,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,1,0, /* { */ 0,0,1,0,0, 0,1,1,1,0, 0,0,1,0,0, 0,0,0,1,0, 0,0,0,0,0, 0,0,1,0,0, /* | */ 0,0,1,0,0, 0,0,1,0,0, 0,0,1,0,0, 0,0,1,0,0, 0,0,0,0,0, 0,1,0,0,0, /* } */ 0,0,1,0,0, 0,1,1,1,0, 0,0,1,0,0, 0,1,0,0,0, 0,0,0,0,0, 0,0,0,0,0, /* ~ */ 0,1,0,0,0, 1,0,1,0,1, 0,0,0,1,0, 0,0,0,0,0, 0,0,0,0,0, }; /* END OF CHARACTER TABLE -- -- START OF PROGRAM TEXT ( JMF 08/19/75 ) */ int obuf[259]; main(argc,argv) int argc; char *argv[]; { /* ARGV[1] = CHARACTER SPACING ARGV[2] = PLOTTING CHARACTER ARGV[3-n] = PLOT LINES */ int input,chr,spacing,length,row,col; char *word,*ptr,plot; if (argc < 4) exit(-1); spacing = atoi(argv[1]); plot = argv[2][0]; obuf[0] = 1; for(input=3; input0140 && word[length]<0173) word[length] =- 040; if(word[length]<040 || word[length]==0177) word[length] = 040; if(word[length]>037 && word[length]<0141) word[length] =- 040; if(word[length]>0172 && word[length]<0177) word[length] =- 072; } /* PLOT THE LINES */ for(row=0; row/tmp/bx$$ echo "" /bin/ed - /tmp/bx$$ 1s/./*/g 2s/[^\*]/ /g 4s/[^\*]/ /g 5s/./*/g 1,$p w /dev/null q rm -f /tmp/bx$$ >* /dev/null cat3a.cÞå9¤�4 # /* * cat3a [ - ] [ file ... ] * * Cat3a - cat to an adm3a quickly * Bill Joy UCB June 1977 * * Option - causes screen clear first */ char line[66]; char *linp line; struct buf { int fildes; int nleft; char *nextp; char buff[512]; } ibuf; #define EOF -1 main(argc, argv) int argc; char *argv[]; { register c; argv++; argc--; if (argc > 0 && argv[0][0] == '-' && argv[0][1] == 0) { putchar('\032'); argc--; argv++; } pstart(); do { if (argc > 0) { close(0); if (fopen(argv[0], &ibuf) < 0) { printf("%s: Cannot open\n", argv[0]); putchar(EOF); pstop(); exit(1); } argc--; argv++; } while ((c = getc(&ibuf)) != -1) putchar(c); } while (argc > 0); putchar(EOF); pstop(); } putchar(c) register c; { if (c == EOF) { flush(1); return; } *linp++ = c; if (c == '\n' || linp >= &line[64]) flush(0); } int outcol -20; int outline -20; int destcol; int destline 23; int obuf[259] 1; flush(f) int f; { register char *lp; register c; *linp = 0; linp = line; lp = line; while (*lp) switch (c = *lp++) { case '\r': destline =+ destcol / 80; destcol = 0; continue; case '\b': destline =+ destcol / 80; destcol =% 80; if (destcol) destcol--; continue; case '\032': putc(c, obuf); outcol = 0; outline = 0; destcol = 0; destline = 0; continue; case ' ': destcol++; continue; case '\t': destcol =+ 8; destcol =& ~7; continue; case '\n': destline =+ destcol / 80; destline++; destcol = 0; continue; default: fgoto(); do { putc(c, obuf); outcol++; destcol++; c = *lp++; } while (c > ' '); --lp; continue; } if (f) fgoto(); fflush(obuf); } fgoto() { register int i, j; if (outcol > 79) { outline =+ outcol / 80; outcol =% 80; } if (outline > 23) { destline =- outline - 23; outline = 23; } if (destcol > 79) { destline =+ destcol / 80; destcol =% 80; } if (destline > 23) { i = destline; destline = 23; fgoto(); while (i > destline) { putc('\n', obuf); i--; } return; } j = destline - outline; i = destcol - outcol; if (i < 0) i = -i; i =+ j; if (outcol) j++; j =+ destcol; if (i < 4 || j < 4) { if (j < i) { putc('\r', obuf); outcol = 0; } while (outcol < destcol) { outcol++; putc('\014', obuf); } while (outcol > destcol) { outcol--; putc('\b', obuf); } while (outline < destline) { outline++; putc('\n', obuf); } return; } putc('\033', obuf); putc('=', obuf); putc(' ' + destline, obuf); putc(' ' + destcol, obuf); outline = destline; outcol = destcol; } int ptty[3], pintr(), psvtty, psvint; #define ECHO 010 #define CRLF 020 pstart() { gtty(1, ptty); psvtty = ptty[2]; psvint = signal(2, pintr); ptty[2] =& ~(ECHO|CRLF); stty(1, ptty); } pintr() { pstop(); exit(1); } pstop() { ptty[2] = psvtty; stty(1, ptty); signal(2, psvint); } getc(ip) register struct buf *ip; { if (ip->nleft > 0) { ip->nleft--; return (*ip->nextp++); } flush(1); ip->nleft = read(ip->fildes, &ip->buff, 512); if (ip->nleft <= 0) return (-1); ip->nextp = ip->buff; return (getc(ip)); } fopen(cp, ip) register char *cp; register struct buf *ip; { ip->fildes = open(cp, 0); if (ip->fildes < 0) return (-1); ip->nleft = 0; } chownall.c,®9¤‘¶# #define isdir(a) ((a.flags & 060000) == 040000) /* * chownall [ - ] [ -nname ] [ -a ] [ -g# ] [ -u# ] directory ... * * Author: Bill Joy (UCB) Oct 13, 1976 */ char progname[] "chownall"; char usagestr[] "usage: %s [ - ] [ -nname ] [ -a ] [ -g# ] [ -u# ] directory ...\n"; struct dbuff { int ino; char name[14]; }; struct stbuff { int dev; int inumber; int flags; char nlinks; char uid; char gid; char size0; int size1; int addr[8]; int actime[2]; int modtime[2]; }; char *concat(); int status; int terse; int lev; int all; int chggrp; int newuser; int newgid; char *newname; int chgusr; int newuid; int srcuid; int srcgid; char **xargv; main(argc,argv) char *argv[]; { register char *argp; int *num; /* if (getuid()) panic("NOT super-user"); */ argv++; argc--; while (argc && *(argp = *argv) == '-') { if (!*++argp) terse++; else { do { switch(*argp++) { case 'a': all++; break; case 'g': if (chggrp) goto usage; chggrp++; num = &newgid;  goto getnum; case 'u': if (chgusr) goto usage; chgusr++; num = &newuid; getnum: *num = 0; if (!(*argp >= '0' && *argp <= '9')) panic("bad user/group number"); do *num = *num * 10 + *argp++ - '0'; while (*argp >= '0' && *argp <= '9'); if (*num > 255) panic("group/user number too large (%d > 255)", *num); break; case 'n': if (chgusr || chggrp) panic("Can't specify -n with -g or -a"); chgusr++; chggrp++;  newuser = findname(argp); newuid = newuser & 0377; newgid = (newuser >> 8) & 0377; newname = argp; all++; while (*argp) ++argp; break; default: goto usage; } } while(*argp); } argc--; argv++; } if (argc == 0) usage: { printf(usagestr, progname); exit(1); } else { if (!chgusr && !chggrp) panic("no changes specified"); else if (all && (!chgusr || !chggrp)) panic("all option requires both user and group to be specified"); while(argc) { xargv = argv; if (all && !terse) { printf("last chance before scribbling uid %d and gid %d", newuid, newgid); if (newname) printf(" (%s)",newname); printf(" all over \"%s\"\n", argv[0]); cani(); } chtree(argv[0]); argv++; argc--; } } exit(0); } int old; int new; owner(xgid, xuid) { old = ((xgid & 0377) << 8) | (xuid & 0377); if (all) goto spankingnew; else if (chgusr) if (xuid != srcuid || xgid != srcgid) new = old; else spankingnew: new = (((chggrp ? newgid : srcgid) & 0377) << 8) | (newuid & 0377); else if (chggrp && xgid == srcgid) new = ((newgid & 0377) << 8) | (xuid & 0377); else new = old; return(new); } chtree(spth) char *spth; { char nspth[120]; struct dbuff sdbuff; struct stbuff source; int sunit, i; if (stat(spth, &source) < 0) panic("\"%s\": cannot stat", spth); else if (!isdir(source)) panic("\"%s\": not a directory", spth); else if ((sunit = open(spth, 0)) < 0) panic("\"%s\": cannot open directory", spth); else { if (lev == 0) { srcuid = source.uid; srcgid = source.gid; if (!srcuid && !srcgid && !chgusr) { printf("\"%s\" is owned by the root\n.", spth); printf("I don't think I should change all group 0's to group %d's there.\n", newgid); printf("Sorry.\n"); exit(1); } if (chgusr && !chggrp && source.uid == 0) panic("owner of \"%s\" is uid 0 in his group !?!", spth); else if (!chgusr && chggrp && source.uid != 0) panic("owner of \"%s\" is not uid 0 of his group !?!", spth); } lev++; while ((i = read(sunit, &sdbuff, 16) == 16)) { concat(nspth, spth, sdbuff.name); if (sdbuff.ino == 0) continue; else if (stat(nspth, &source) < 0) panic("\"%s\": cannot stat", nspth); else if (isdir(source)) if (equal(sdbuff.name, "..")) continue; /* Whew ! */ else if (!equal(sdbuff.name, ".")) chtree(nspth); if (owner(source.gid, source.uid) != old) if (chown(nspth, new) == -1) panic("can't chown \"%s\" to %o !?!", nspth, new);  } if (i == -1) panic("error reading \"%s\":", spth); else if (i && i != 16) panic("panic: bad directory structure: \"%s\"", spth); } close(sunit); if (!--lev) if (chgusr && !chggrp || chggrp && !chgusr) if (chown(spth, owner(srcgid, srcuid)) == -1) panic("can't chown \"%s\" to %o !?!", spth, new); } char *concat(a, b, c) char *a, *b, *c; { register char *ra, *rb; register cnt; cnt = 14; rb = c; while (*rb++) if (!--cnt) break; cnt = 14 - cnt; rb = b; while (*rb++) cnt++; if (cnt >= 100) panic("path name too long: \"%s/%s\"", b, c); ra = a; rb = b; while (*ra++ = *rb++) continue; *(ra-1) = '/'; rb = c; cnt = 14; while (*ra++ = *rb++) if (!--cnt) { *ra++ = 0; break; } return(a); } panic(a1, a2, a3, a4) { printf("%s: ", progname); printf(a1, a2, a3, a4); putchar('\n'); exit(1); } equal(a, b) char *a, *b; { register char *ra, *rb; ra = a; rb = b; while (*ra == *rb++) if (*ra) ra++; else return(!*--rb); return(0); } cani() {  register char c, ch; printf("ok ? "); ch = c = getchar(); while (ch != '\n' && ch) ch = getchar(); if (c != 'y') exit(1); } putchar(c) { write(2, &c, 1); } findname(user) char *user; { int pbuf[259]; char *p,c,*pfile; int u,v; pfile = "/etc/passwd"; pbuf[0] = open(pfile, 0); if(pbuf[0] < 0) { write(2, "Cannot open /etc/passwd\n", 25); exit(9); } goto l1; /* * skip to beginning of next line */ skip: while(c != '\n') { if(c < 0) goto ill; c = getc(pbuf); } /* * compare user names */ l1: c = getc(pbuf); if(c < 0) { write(2, "User name not found in password file\n", 37); exit(9); } p = user; while(c != ':') { if(*p++ != c) goto skip; c = getc(pbuf); } if(*p) goto skip; /* * skip old password */ do { c = getc(pbuf); if(c < 0) goto ill; } while(c != ':'); /* * validate uid and gid */ u = 0; do { c = getc(pbuf); if(c >= '0' && c <= '9') u = u*10 + c-'0'; if(c < 0) goto ill; } while(c != ':'); v = 0; do { c = getc(pbuf); if(c >= '0' && c <= '9') v = v*10 + c-'0'; if(c < 0) goto ill; } while(c != ':'); return ((v<<8) | u); ill: write(2,"Password file illformed\n",24); exit(9); } clock.cÞå9¤��/* * clock - continually print the time of day */ main() { register char *tp; int tim[2]; extern int stop(); setexit(); signal(3, &stop); time(tim); tp = ctime(tim)+11; printf("\n\t%8.8s\t", tp); while (1) { time(tim); tp = ctime(tim)+11; printf("%8.8s\b\b\b\b\b\b\b\b",tp); sleep(1); } }  stop() { extern int start(); signal(3, &start); while (1) sleep(3600); } start() { reset(); } colcrt.cÞå9¤��/* * colcrt - replaces col for crts with new nroff esp. when using tbl. * Bill Joy UCB July 14, 1977 * * This filter uses a screen buffer, 267 half-lines by 132 columns. * It interprets the up and down sequences generated by the new * nroff when used with tbl and by \u \d and \r. * General overstriking doesn't work correctly. * Underlining is split onto multiple lines, etc. * * Option - suppresses all underlining. * Option -2 forces printing of all half lines. */ char page[267][132]; int outline 1; int outcol; char suppresul; char printall; extern fout; int ibuf[259]; char *progname; main(argc, argv) int argc; char *argv[]; { register c; register char *cp, *dp; argc--; progname = *argv++; while (argc > 0 && argv[0][0] == '-') { switch (argv[0][1]) { case 0: suppresul = 1; break; case '2': printall = 1; break; default: printf("usage: %s [ - ] [ -2 ] [ file ... ]\n", progname); flush(); exit(1); } argc--; argv++; } fout = dup(1); do { if (argc > 0) { close(0); if (fopen(argv[0], ibuf) < 0) { flush(); perror(argv[0]); flush(); exit (1); } argc--; argv++; } for (;;) { c = getc(ibuf); if (c == -1) { pflush(outline); flush(); break; } switch (c) { case '\n': if (outline >= 265) pflush(62); outline =+ 2; outcol = 0; continue; case '\016': case '\017': continue; case 033: c = getc(ibuf); switch (c) { case '9': if (outline >= 266) pflush(62); outline++; continue; case '8': if (outline >= 1) outline--; continue; case '7': outline =- 2; if (outline < 0) outline = 0; continue; default: continue; } case '\b': if (outcol) outcol--; continue; case '\t': outcol =+ 8; outcol =& ~7; outcol--; c = ' '; default: if (outcol >= 132) { outcol++; continue; } cp = &page[outline][outcol]; outcol++; if (c == '_') { if (suppresul) continue; cp =+ 132; c = '-'; } if (*cp == 0) { *cp = c; dp = cp - outcol; for (cp--; cp >= dp && *cp == 0; cp--) *cp = ' '; } else if (plus(c, *cp) || plus(*cp, c)) *cp = '+'; else if (*cp == ' ' || *cp == 0) *cp = c; continue; } } } while (argc > 0); } plus(c, d) char c, d; { return (c == '|' && d == '-' || d == '_'); } int first; pflush(ol) int ol; { register int i, j; register char *cp; char lastomit; int l; l = ol; lastomit = 0; if (l > 266) l = 266; else l =| 1; for (i = first | 1; i < l; i++) { move(i, i - 1); move(i, i + 1); } for (i = first; i < l; i++) { cp = &page[i]; if (printall == 0 && lastomit == 0 && *cp == 0) { lastomit = 1; continue; } lastomit = 0;  printf("%s\n", cp); } copy(page, page[ol], (267 - ol) * 132); clear(page[267- ol], ol * 132); outline =- ol; outcol = 0; first = 1; } move(l, m) int l, m; { register char *cp, *dp; for (cp = &page[l], dp = &page[m]; *cp; cp++, dp++) { switch (*cp) { case '|': if (*dp != ' ' && *dp != '|' && *dp != 0) return; break; case ' ': break; default: return; } } if (*cp == 0) { for (cp = &page[l], dp = &page[m]; *cp; cp++, dp++) if (*cp == '|') *dp = '|'; else if (*dp == 0) *dp = ' '; page[l][0] = 0; } } copy(to, from, i) register char *to, *from; register int i; { if (i > 0) do *to++ = *from++; while (--i); } clear(at, cnt) register char *at; register int cnt; { if (cnt > 0) do *at++ = 0; while (--cnt); } *collpr.cÞæ9¤�ù /* * collpr - replaces col|lpr for new nroff esp. when using tbl * Bill Joy UCB July 14, 1977 * * This filter uses a screen buffer, 267 half-lines by 132 columns. * It interprets the up and down sequences generated by the new * nroff when used with tbl and by \u \d and \r. * General overstriking doesn't work correctly. * Option - causes output to go to std output rather than to lpr. */ char page[267][132]; int outline 1; int outcol; extern fout; int ibuf[259]; main(argc, argv) int argc; char *argv[]; { register c; register char *cp, *dp; int pvec[2], i; argc--; argv++; if (argc > 0 && argv[0][0] == '-') { argc--; argv++; fout = dup(1); } else { pipe(pvec); i = fork(); if (i == -1) { write(2, "No more processes\n", 18); exit(1); } if (i == 0) { close(pvec[1]); close(0); dup(pvec[0]); close(pvec[0]); execl("/bin/lpr", "lpr", 0); execl("/usr/bin/lpr", "lpr", 0); perror("/usr/bin/lpr"); exit(1); } close(pvec[0]); close(1); fout = pvec[1]; } do { if (argc > 0) { close(0); if (fopen(argv[0], ibuf) < 0) { flush(); perror(argv[0]); flush(); exit(1); } argv++; argc--; } for (;;) { c = getc(ibuf);  if (c == -1) { pflush(outline); flush(); break; } switch (c) { case '\n': if (outline >= 265) pflush(62); outline =+ 2; outcol = 0; continue; case '\016': case '\017': continue; case 033: c = getc(ibuf); switch (c) { case '9': if (outline >= 266) pflush(62); outline++; continue; case '8': if (outline >= 1) outline--; continue; case '7': outline =- 2;  if (outline < 0) outline = 0; continue; default: continue; } case '\b': if (outcol) outcol--; continue; case '\t': outcol =+ 8; outcol =& ~7; outcol--; c = ' '; default: if (outcol >= 132) { outcol++; continue; } cp = &page[outline][outcol]; again: if (c == ' ') ; else if (*cp == 0) { *cp = c; dp = cp - outcol; for (cp--; cp >= dp && *cp == 0; cp--) *cp = ' '; } else if (*cp == ' ') *cp = c; else if (c == '_') { under: if (outline & 1) cp =+ 132; else cp =- 132; if (*cp == 0 || *cp == ' ') goto again; } else if (*cp == '_') { *cp = c; c = '_'; goto under; } outcol++; continue; } } } while (argc > 0); } pflush(ol) int ol; { register int i, j; register char *cp; int l; l = ol; outline =- l; outcol = 0; if (l > 266) l = 266; else l =| 1; for (i = 1; i < l; i++) { cp = &page[i]; switch (i & 1) { case 0: if (*cp) printf("\r%s", cp); putchar('\n'); break; case 1: if (*cp) printf("%s", cp); break; } } copy(page, page[ol], (267 - ol) * 132); clear(page[267- ol], ol * 132); } plus(c, d) { return (c == '|' && (d == '-' || d == '_')); } copy(to, from, i) register char *to, *from; register int i; { if (i > 0) do *to++ = *from++; while (--i); } clear(at, cnt) register char *at; register int cnt; { if (cnt > 0) do *at++ = 0; while (--cnt); } colrm.cÞæ9¤�’/* COLRM removes unwanted columns from a file Jeff Schriebman UC Berkeley 11-74 */ struct buf { int fildes; int nleft; char *nextp; char buffer[512]; } buff[2]; main(argc,argv) char **argv; { int first; register ct,last; register char c; struct buf *ptrp,*ptrg; ptrp = &buff[0]; ptrg = &buff[1]; ptrp->fildes = 1; ptrg->fildes = 0; ptrp->nleft = 0; ptrg->nleft = 0; ptrp->nextp = ptrp->buffer; ptrg->nextp = ptrg->buffer; first = 20000; last = -1; if (argc>1) { first = getn(*++argv); last = 20000; } if (argc>2) last = getn(*++argv); start: ct = 0; loop1: if ((c=getc(ptrg))<0) goto fin; ct++; if (c=='\n') { putc(c,ptrp); goto start; } if (ct0) { putc(c,ptrp); if (c=='\n') goto start; } fin: fflush(ptrp); } getn(ap) char *ap; { register int n,c; register char *p; p = ap; n = 0; while ((c = *p++) >= '0' && c <= '9') n = n*10 + c - '0'; return(n); } continue.cÞæ9¤�O# #define DELAY 60 /* * continue - continue at a specified date and time */ char *ptr; int times[8]; main(argc, argv) char **argv; { register int i; register char *aptr; int tvec[2], *iptr; if (argc != 2) { printf("CONTINUE MMDDHHMM[YY]\n"); exit(); } ptr = *++argv; range(times[4]=next(), 1, 12); times[4]--; range(times[3]=next(), 0, 31); range(times[2]=next(), 0, 23); range(times[1]=next(), 0, 59); if (*ptr != '\0') range(times[5]=next(), 70, 99); else { time(tvec); iptr = localtime(tvec); times[5] = iptr[5]; } if (*ptr != '\0') { printf("Illegal time. Enter as MMDDHHMM[YY]\n"); exit(); } while ((i=checktime()) > 0) sleep(i); } next() { register int num; num = *ptr++ - '0'; num = num*10 + *ptr++ - '0'; return(num); } range(n1, n2, n3) { if (n1>=n2 && n1<=n3) return; printf("Illegal number %d\n", n1); exit(); } checktime() { register i, j; int tvec[2], *iptr; time(tvec); iptr = localtime(tvec); for (i=0; i<5; i++) { j = 5 - i; if (iptr[j] > times[j]) return(0); if (iptr[j] < times[j]) return(DELAY); } return(0); } ecpall.cÞæ9¤�lchar buf[100]; main(argc, argv) char **argv; { register i; register char *c1, *c2; if(argc < 3) { write(2, "arg count\n", 10); exit(); } argc--; c1 = buf; c2 = argv[argc]; while(*c1++ = *c2++); c1[-1] = '/'; *c1++ = '.'; *c1 = '\0'; for(i=1; igid & 0377) << 8) | (a->uid & 0377)); } cptree(spth, dpth) char *spth, *dpth; { register struct linkg *lp; char nspth[120], ndpth[120]; int curq, maxq; char qstr[8]; struct dbuff sdbuff; struct stbuff source, dest; int sunit, i; if (stat(spth, &source) < 0) panic("\"%s\": cannot stat", spth); else if (stat(dpth, &dest) < 0) panic("\"%s\": cannot stat", dpth); else if (!isdir(source)) panic("\"%s\": not a directory", spth); else if (!isdir(dest)) panic("\"%s\": not a directory", dpth); else if ((sunit = open(spth, 0)) < 0) panic("\"%s\": cannot open directory", spth); else { top: while ((i = read(sunit, &sdbuff, 16) == 16)) { concat(nspth, spth, sdbuff.name); concat(ndpth, dpth, sdbuff.name); if (sdbuff.ino == 0) continue; else if (stat(nspth, &source) < 0) panic("\"%s\": cannot stat", nspth); else if (source.flags & 060000) if (isdir(source)) { if (equal(sdbuff.name, ".")) continue; else if (equal(sdbuff.name, "..")) continue; else if (source.inumber == 1) panic("source tree across devices detected at \"%s\" on pass 2", nspth); sys("mkdir", ndpth, 0); newmode = source.flags & 07777; if (chmod(ndpth, newmode)) panic("can't chmod of \"%s\" to %o", ndpth, 0); if (suser) chown(ndpth, owner(&source)); cptree(nspth, ndpth); } else if (isquot(source)) if (noquot) continue; else if (suser) { curq = source.addr[1]; maxq = source.addr[2]; itoa(maxq, qstr); sys("quot", dpth, "0", qstr, 0); chown(ndpth, owner(&source)); } else printf("\"%s/.q\" no can do\n", spth); else panic("special file \"%s\" detected on pass 2 only", nspth); else { if (source.nlinks > 1) for (lp = link0; lp < linkl; lp++) if (lp->inumber == source.inumber) if (lp->sname) if (link(lp->sname, ndpth) < 0) panic("can't link \"%s\" to \"%s\"", lp->sname, ndpth); else goto top; else { lp->sname = save(ndpth); break; } sys("cp", nspth, ndpth, 0); if (suser) chown(ndpth, owner(&source)); } } if (i == -1) panic("error reading \"%s\":", spth); else if (i && i != 16) panic("bad directory structure: \"%s\"", spth); } close(sunit); } save(dpth) char *dpth; { register char *cp, *dp; char *rp; register size; size = 1; cp = dpth; while (*cp++) size++; rp = cp = alloc(size); dp = dpth; while (*cp++ = *dp++) continue; return(rp); } ok(spth, dpth) char *spth, *dpth; { struct stbuff source, dest; register struct linkf *lp; register struct linkg *bp, *cp; int head; if (stat(spth, &source) < 0) panic("\"%s\": cannot stat", spth); else if (stat(dpth, &dest) < 0) panic("\"%s\": cannot stat", dpth); else if (!isdir(source)) panic("\"%s\": not a directory", spth); else if (!isdir(dest)) panic("\"%s\": not a directory", dpth); else { getlinks(spth, source.dev == dest.dev ? dest.inumber : 0); head = 0; bp = link0; for (lp = link0; lp;) if (lp->links != lp->sofar) { if (!terse) { if (!head) { if (noread) putchar('\n'); head++; printf("Inode Links Missing\n"); } printf("%5d\t%3d\t%3d\n", lp->inumber, lp->links, lp->links - lp->sofar); for (cp = lp->link; cp; cp = cp->link) printf("\t%s\n", cp->lname); } goto saveit; } else if (lp->sofar != 1) { saveit: cp = lp->next; bp->inumber = lp->inumber; bp->sname = 0; bp++; lp = cp; } else lp = lp->next; high = linkl = bp; if (noread) panic("abandoned because of insufficient access"); else if (specfil) panic("abandoned because of special files"); else if (head) cani(); } } cani() { register char c, ch; if (!aok && ttyn(0) != 'x') { printf("\nok ? "); ch = c = getchar(); while (ch != '\n' && ch) ch = getchar(); if (c != 'y') exit(1); } } getlinks(spth, dinode) char *spth; { char nspth[120]; struct dbuff sdbuff; struct stbuff source; int sunit, i; if (stat(spth, &source) < 0) panic("\"%s\": cannot stat", spth); else if (source.inumber == dinode) panic("\"%s\" is a subdirectory of \"%s\" at \"%s\"", xargv[0], xargv[1], spth); else if (!isdir(source)) panic("\"%s\": not a directory", spth); else if ((sunit = open(spth, 0)) < 0) panic("\"%s\": cannot open directory", spth); else { while ((i = read(sunit, &sdbuff, 16) == 16)) { if (sdbuff.ino == 0) continue; else if (equal(sdbuff.name, ".")) continue; else if (equal(sdbuff.name, "..")) continue; concat(nspth, spth, sdbuff.name); if (stat(nspth, &source) < 0) panic("\"%s\": cannot stat", nspth); else if (source.flags & 060000) if (isdir(source)) {  if (source.inumber == 1) panic("source tree extends across devices at \"%s\"", nspth); else getlinks(nspth, dinode); } else if (isquot(source)) continue; else { printf("special file: \"%s\"\n", nspth); specfil++; } else if (access(nspth, 4) < 0) { printf("no read access: \"%s\"\n", nspth); noread++; } else if (source.nlinks > 1) enter(&source, nspth); } if (i == -1) panic("error reading \"%s\":", spth); else if (i && i != sizeof sdbuff) panic("bad directory structure: \"%s\""); } close(sunit); } enter(source, path) struct stbuff *source; char *path; { register struct linkf *lp; register struct linkg *ip; register struct stbuff *src; src = source; for (lp = link0; lp; lp = lp->next) if (lp->inumber == src->inumber) { lp->sofar++; goto found; } lp = alloc(sizeof *lp); if (!link0) link0 = lp; else linkl->next = lp; linkl = lp; lp->inumber = src->inumber; lp->links = src->nlinks; lp->sofar = 1; lp->link = 0; lp->next = 0; found: ip = alloc(sizeof *ip); ip->link = lp->link; ip->lname = save(path); lp->link = ip; } alloc(need) { register have, cnt, *wp; need = (need+1) &~ 1; if ((have = high - memptr) < need) { if (sbrk(need-have) == -1) panic("ran out of memory"); high = sbrk(0); } wp = memptr; cnt = need >> 1; do { *wp++ = 0; } while (--cnt); wp = memptr; memptr =+ need; return(wp); } char *concat(a, b, c) char *a, *b, *c; { register char *ra, *rb; register cnt;  cnt = 14; rb = c; while (*rb++) if (!--cnt) break; cnt = 14 - cnt; rb = b; while (*rb++) cnt++; if (cnt >= 100) panic("path name too long: \"%s/%s\"", b, c); ra = a; rb = b; while (*ra++ = *rb++) continue; *(ra-1) = '/'; rb = c; cnt = 14; while (*ra++ = *rb++) if (!--cnt) { *ra++ = 0; break; } return(a); } panic(a1, a2, a3, a4) { if (a1) { printf("%s: ", progname); printf(a1, a2, a3, a4); putchar('\n'); } exit(1); } equal(a, b) char *a, *b; { register char *ra, *rb; ra = a; rb = b; while (*ra == *rb++) if (*ra) ra++; else return(!*--rb); return(0); } char *itoastr; itoa(aint, str) char *str; { itoastr = str; if (aint) itoa2(aint); else *itoastr++ = '0'; *itoastr++ = 0; } itoa2(aint) { if (aint) { itoa2(ldiv(0, aint, 10)); *itoastr++ = '0' + lrem(0, aint, 10); } } sys(name) char *name; { int i, k; register char *argp, *rp; char routine[25]; if ((i = fork()) < 0) panic("try again."); else if (i) { while ((k = wait(&status)) != i && k != -1) continue; if (k == -1) { printf("no children to wait for !!!\n"); status = 0; } else if (status) panic("\"%s\" failed", name); } else { argp = "/usr/bin/"; rp = routine; while(*rp++ = *argp++) continue; rp--; argp = name; while (*rp++ = *argp++) continue; execv(routine+4, &name); execv(routine, &name); panic("can't find \"%s\"", name); } } putchar(c) { write(2, &c, 1); } cr3.cÞæ9¤�«# /* * cr3 - simulate chuck haley's cr3 * Bill Joy UCB July 1, 1977 * * This filter simulates chuck haleys cr3, * stopping output after each page (22 lines) to wait for * a carriage return, sending 22 more lines, or a EOF, sending 10 more lines. * * Typing in a positive number will cause that many lines to be sent, * a negative number that many lines to be skipped. */ #define ECHO 010 int otty[3], ntty[3], ibuf[259]; int left, nxtleft, onintr(); char ch; extern fout; main(argc, argv) int argc; char *argv[]; { register c; fout = dup(1); gtty(1, otty); ntty[0] = otty[0]; ntty[1] = otty[1]; ntty[2] = otty[2] &~ ECHO; signal(2, onintr); stty(1, ntty); left = 23; argc--; argv++; do { if (argc > 0) { close(0); if (fopen(argv[0], ibuf) < 0) { flush(); perror(argv[0]); flush(); onintr(); } argc--; argv++; } for (;;) { c = getc(ibuf); if (c == -1) break; if (left < 0) { left++; if (left == 0) left = nxtleft; } else { left--; if (left == 0) { flush(); getleft(); } } if (left > 0) putchar(c); while (c != '\n') { c = getc(ibuf); if (c == -1) goto endfile; if (left > 0) putchar(c); } } endfile: flush(); } while (argc > 0); stty(1, otty); exit(0); } onintr() { signal(2, 1); stty(1, otty); exit(1); } getleft() { int i; i = number(); if (i == 0) { left = 22; return; } left = i; if (i < 0) { if (ch == '\n') nxtleft = 11; else { i = number(); nxtleft = i == 0 ? 11 : i; } } } char ch; number() { int i, sign; i = 0; sign = 0; while (read(2, &ch, 1) == 1) { switch (ch) { case ' ': if (sign == 0) continue; case '\n': return (i * sign); case '-': sign = -1; continue; default: if (ch < '0' || ch > '9') continue; i =* 10; i =+ ch - '0'; if (sign == 0) sign = 1; continue; } } return (11); } fcrazy.cÞæ9¤�#extern fout; int arg[3]; main() { int i; int die(); fout = dup(1); gtty(2, arg); arg[2] =^ 020; stty(2, arg); signal(2, die); for(;;) { for(i=0; i<78; i++) {printf("\\\n");} for(i=0; i<78; i++) {printf("/\b\b\n");} } } die() { arg[2] =^ 020; stty(2, arg); exit(); } dates.cÞæ9¤‘Ã# /* * dates [ date [ identifier [ description ] ] ] * * Bill Joy June 76 * */ #define canmod() (!(getuid() & 0377)) struct lc { int seconds; int minutes; int hours; int day; int month; int yearoff; int weekday; int yearday; int daylight; }; struct { char uid; char gid; }; struct ev { int owner; int mm; int dd; int yy; int hh; int nn; char ident[30]; char z1[1]; char descr[30]; char z2[1]; }; char **xargv; struct lc *local; struct ev event, newevent; int tvec[2]; int equal; int status; int suser; int onintr(); int days[13] { 0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; main(argc, argv) char *argv[]; { int i, j, ef, ff; suser = getuid() == 0; xargv = argv; time(tvec); local = localtime(tvec); local->month++; /* 1 to 12 scale !!! */ if ((ef = open("/usr/lib/dates", 0)) < 0) error("can't open /usr/lib/dates"); if (argc >= 2) getdate(); if (argc <= 2) { while ((i = read(ef, &event, sizeof event)) == sizeof event) if (current(&event)) printev(&event); if (i != 0) error("bad format in /usr/lib/dates"); } else { signal(1, onintr); signal(2, onintr); signal(3, onintr); if (!canmod()) error("sorry, you can't modify the dates file"); else if (creat("/tmp/dates.lock", 0) < 0) error("file busy, try again"); else if ((ff = creat("/tmp/dates", 0600)) < 0) ferror("can't create /tmp/dates"); while ((i = read(ef, &event, sizeof event)) == sizeof event) if (current(&event)) break; else trynext: write(ff, &event, sizeof event); if (i == -1) ferror("error reading \"/usr/lib/dates\""); else if (i > 0 && i < sizeof event) ferror("bad format in \"/usr/lib/dates\""); else if (argc == 3 && !i) ferror("entry to be deleted does not exist"); newevent.owner = getuid(); newevent.mm = local->month;  newevent.dd = local->day; newevent.yy = local->yearoff; newevent.hh = local->hours; newevent.nn = local->minutes; for (j = 0; j < sizeof event.ident; j++) if (!(newevent.ident[j] = argv[2][j])) while(j < sizeof event.ident) newevent.ident[j++] = ' '; if (argc == 3) { if (newevent.dd != event.dd || newevent.mm != event.mm || newevent.yy != event.yy || newevent.hh != event.hh || newevent.nn != event.nn) goto trynext; for (j = 0; j < sizeof event.descr; j++) if (newevent.ident[j] != event.ident[j]) goto trynext; if (newevent.owner && event.owner != newevent.owner) ferror("sorry, you can't delete that"); else { printf("deleted:\n"); printev(&event); } } else { for (j = 0; j < sizeof event.descr; j++) if (!(newevent.descr[j] = argv[3][j])) break; write(ff, &newevent, sizeof event); if (i) write(ff, &event, sizeof event); printev(&newevent); } if (i) while ((i = read(ef, &event, sizeof event)) == sizeof event) write(ff, &event, sizeof event); signal(1, 1); signal(2, 1); signal(3, 1); if (sys("cp", "/tmp/dates", "/usr/lib/dates", 0)) ferror("cp failed: contact system staff!"); else { unlink("/tmp/dates"); unlink("/tmp/dates.lock"); } } } getdate() { char *argp; argp = xargv[1]; if (!getnum(&argp, &local->month)) error("month expected but '%c' found", *argp); else if (local->month == 0) error("month cannot be zero"); else if (local->month > 12) error("month cannot be > 12 (%d)", local->month); else if (*argp++ != '/') error("'/' separating month from day expected, found '%c'", *--argp); else if (!getnum(&argp, &local->day)) error("day expected but '%c' found", *argp); else if (local->day == 0) error("day cannot be zero"); else if (local->day > days[local->month]) error("there are at most %d days in that month", days[local->month]); else { if (*argp == '/') { ++argp; if (!getnum(&argp, &local->yearoff)) error("year expected but '%c' found", *argp); else if (local->yearoff > 99) { if (local->yearoff > 1900) local->yearoff=- 1900; if (local->yearoff > 99) error("did this program survive to 2000 !?"); } } if (*argp == '.') { ++argp; local->minutes = 0; if (!getnum(&argp, &local->hours)) error("hours expected but '%c' found", *argp); else if (local->hours > 24) error("there are only 24 hours in a day"); else if (*argp++ != ':') argp--; else if (!getnum(&argp, &local->minutes))  error("minutes expected but '%c' found", *argp); else if (local->minutes > 59) error("there are only 59 minutes in an hour"); else if (local->hours == 24 && local->minutes) error("sorry sire, but for 24:xx, xx may %s", "only be 00"); } else { local->hours = -1; local->minutes = 0; } } if (*argp != 0) error("extra characters: \"%s\" at end of date", argp); else return(1); } printev(aevent) struct ev *aevent; { register struct ev *aev; aev = aevent; if (suser) printf("%d ", aev->gid & 0377); printf("%2d/", aev->mm); if (aev->dd < 10) printf("0%1d/", aev->dd); else printf("%2d/", aev->dd); printf("%2d", aev->yy); if (aev->hh == -1) printf(" "); else { if (aev->hh < 10) printf(".0%1d:", aev->hh); else printf(".%2d:", aev->hh); if (aev->nn < 10) printf("0%1d ", aev->nn); else printf("%2d ", aev->nn); } printf("%s %s\n", aev->ident, aev->descr); } current(aevent) struct event *aevent; { register struct event *aev; aev = aevent; equal = 0; if (aev->yy != local->yearoff) return(aev->yy > local->yearoff); else if (aev->mm != local->month) return(aev->mm > local->month); else if (aev->dd != local->day) return(aev->dd > local->day); else if (aev->hh != local->hours) return(aev->hh > local->hours); else { equal = aev->nn == local->minutes; return(aev->nn >= local->minutes); } } ferror(a1, a2, a3, a4) { unlink("/tmp/dates"); unlink("/tmp/dates.lock"); if (a1) error(a1, a2, a3, a4); exit(1); } onintr() { ferror(0); } error(a1, a2, a3, a4) { printf(a1, a2, a3, a4); putchar('\n'); exit(1); } getnum(acp, anum) char **acp; int *anum; { register char *cp; register num; num = 0; cp = *acp; if (*cp >= '0' && *cp <= '9') { do num = num * 10 + *cp++ - '0'; while (*cp >= '0' && *cp <= '9'); *acp = cp; *anum = num; return(1); } else return(0); } sys(name) char *name; { int i, k; register char *argp, *rp; char routine[25]; if ((i = fork()) < 0) ferror("try again."); else if (i) { while ((k = wait(&status)) != i && k != -1) continue; if (k == -1) ferror("no children to wait for !!!\n"); else if (status) ferror(0); return(status); } else { argp = "/usr/bin/"; rp = routine; while(*rp++ = *argp++) continue; rp--; argp = name; while (*rp++ = *argp++) continue; execv(routine+4, &name); execv(routine, &name); ferror("can't find %s", name); } } hdouble.cÞè9¤�hextern int fout; int ibuf[259]; main(argc, argv) int argc; char *argv[]; { register char *linp; register int c; char line[1000]; fout = dup(1); argc--; argv++; do { if (argc > 0) { close(0); if (fopen(argv[0], ibuf) < 0) { perror(argv[0]); exit(1); } } for (;;) { linp = line; for (;;) { c = getc(ibuf); if (c == '\n' || c == -1) break; *linp++ = c; } if (linp == line) { if (c == '\n') printf("\n"); } else { *linp = 0; printf("%s\r%s\n", line, line); } if (c == -1) break; } } while (argc > 0); flush(); exit(0); } expand.cÞæ9¤�û/* * expand - expand tabs to equivalent spaces */ int ibuf[259]; extern int fout; main(argc, argv) int argc; char *argv[]; { register int c, column; fout = dup(1); argc--, argv++; do { if (argc > 0) { if (fopen(argv[0], ibuf)) { flush(); perror(argv[0]); exit(1); } argc--, argv++; } column = 0; for (;;) { c = getc(ibuf); if (c == -1) break; switch (c) { case '\t': do { putchar(' '); column++; } while (column & 07); continue; case '\b': if (column) column--; putchar('\b'); continue; default: putchar(c); column++; continue; case '\n': putchar(c); column = 0; continue; } } } while (argc > 0); flush(); } lfile.cÞç9¤‘nint in; int i 0; char buf[512]; int *wd { &buf[0]}; char *pasc[]{ "program",0}; char *fort[]{ "function","subroutine","common","dimension","block","integer", "real","data","double",0}; char *asc[]{ "sys","mov","tst","clr","jmp",0}; char *c[]{ "int","char","float","double","struct","extern",0}; char *as[]{ "globl","byte","even","text","data","bss","comm",0}; int ibuf[260]; main(argc, argv) char **argv; { while(argc > 1) { printf("%s: ", argv[1]); type(argv[1]); argc--; argv++; } } type(file) char *file; { int j,nl; char ch; int mbuf[20]; if(stat(file, mbuf) < 0) { printf("cannot stat\n"); return; } switch(mbuf[2]&060000) { case 020000: if(mbuf[6] == -1) { printf("quota (%l/%l)\n", mbuf[7], mbuf[8]); return; } printf("character"); goto spcl; case 040000: printf("directory\n"); return; case 060000: printf("block"); spcl: printf(" special (%d/%d)\n", (mbuf[6]>>8)&0377, mbuf[6]&0377); return; } ibuf[0] = open(file, 0); if(ibuf[0] < 0) { printf("cannot open\n"); return; } in = read(ibuf[0], buf, 512); switch(*wd) { case 0404: printf("pascal object\n"); goto out; case 0410: printf("pure "); goto exec; case 0411: printf("separate "); case 0407: exec: printf("executable"); if(wd[4] != 0) printf(" not stripped"); printf("\n"); goto out; case 0177555: printf("old archive\n"); goto out; case 0177545: printf("archive\n"); goto out; } i = 0; if (pascom() == 0) goto notpas; if (lookup(pasc) == 1) { printf("pascal program"); goto outa; } notpas: i = 0; if(ccom() == 0)goto notc; while(buf[i] == '#'){ j = i; while(buf[i++] != '\n'){ if(i - j > 255){ printf("data\n"); goto out; } if(i >= in)goto notc; } if(ccom() == 0)goto notc; } check: if(lookup(c) == 1){ while((ch = buf[i++]) != ';' && ch != '{')if(i >= in)goto notc; printf("c program"); goto outa; } nl = 0; while(buf[i] != '('){ if(buf[i] <= 0){ printf("data\n"); goto out; } if(buf[i] == ';'){ i++; goto check; } if(buf[i++] == '\n') if(nl++ > 6)goto notc; if(i >= in)goto notc; } while(buf[i] != ')'){ if(buf[i++] == '\n') if(nl++ > 6)goto notc; if(i >= in)goto notc; } while(buf[i] != '{'){ if(buf[i++] == '\n') if(nl++ > 6)goto notc; if(i >= in)goto notc; } printf("c program"); goto outa; notc: i = 0; while(buf[i] == 'c' || buf[i] == '#'){ while(buf[i++] != '\n')if(i >= in)goto notfort; } if(lookup(fort) == 1){ printf("fortran"); goto outa; } notfort: i=0; if(ascom() == 0)goto notas; j = i-1; if(buf[i] == '.'){ i++; if(lookup(as) == 1){ printf("assembler program"); goto outa; } else if(buf[j] == '\n'){ printf("roff, nroff, or eqn input"); goto outa; } } while(lookup(asc) == 0){ if(ascom() == 0)goto notas; while(buf[i] != '\n' && buf[i++] != ':') if(i >= in)goto notas; while(buf[i] == '\n' || buf[i] == ' ' || buf[i] == '\t')if(i++ >= in)goto notas; j = i-1; if(buf[i] == '.'){ i++; if(lookup(as) == 1){ printf("assembler program"); goto outa; } else if(buf[j] == '\n'){ printf("roff, nroff, or eqn input"); goto outa; } } } printf("assembler program"); goto outa; notas: for(i=0; i < in; i++)if(buf[i] <= 0){ printf("data\n"); goto out; } if((mbuf[2] & 00111) != 0) printf("commands"); else printf("probably text"); outa: while(i < in) if(buf[i++] <= 0){ printf(" with garbage\n"); goto out; } while((in = read(ibuf[0],buf,512)) > 0) for(i = 0; i < in; i++) if(buf[i] <= 0){ printf(" with garbage\n"); goto out; } printf("\n"); out: close(ibuf[0]); } lookup(tab) char *tab[]; { char r; int k,j,l; while(buf[i] == ' ' || buf[i] == '\t' || buf[i] == '\n')i++; for(j=0; tab[j] != 0; j++){ l=0; for(k=i; ((r=tab[j][l++]) == buf[k] && r != '\0');k++); if(r == '\0') if(buf[k] == ' ' || buf[k] == '\n' || buf[k] == '\t' || buf[k] == '{' || buf[k] == '/'){ i=k; return(1); } } return(0); } ccom(){ char cc; while((cc = buf[i]) == ' ' || cc == '\t' || cc == '\n')if(i++ >= in)return(0); if(buf[i] == '/' && buf[i+1] == '*'){ i =+ 2; while(buf[i] != '*' || buf[i+1] != '/'){ if(buf[i] == '\\')i =+ 2; else i++; if(i >= in)return(0); } if((i =+ 2) >= in)return(0); } if(buf[i] == '\n')if(ccom() == 0)return(0); return(1); } ascom(){ while(buf[i] == '/'){ i++; while(buf[i++] != '\n')if(i >= in)return(0); while(buf[i] == '\n')if(i++ >= in)return(0); } return(1); } pascom() { register cc; top: while((cc = buf[i]) == ' ' || cc == '\t' || cc == '\n') if(i++ >= in) return(0); if (buf[i] == '{') { i++; while(buf[i] != '}') if (++i >= in) return(0); i++; goto top; } if (buf[i] == '(' && buf[i+1] == '*') { i =+ 2; while(buf[i] != '*' || buf[i+1] != ')') if (++i >= in) return(0); if ((i =+ 2) >= in) return(0); goto top; } return(1); } fix.cÞè9¤‘ó# /* * fix - fix up data * * Author: Kurt Shoens UCB July, 1977 * * Fix reads the concatenation of the files presented to * it and transcribes them to the standard output with unprintable * characters removed. A report of the bad characters found is put * on the diagnostic output stream if desired. The options of this * program are as follows: * * fix [ -crnhfqblo ] file ... * c carriage returns (015) are illegal * r a report is put on diagnostic output * n no output is put on standard output (report only) * h erase processing is done on control-h's * f form feeds (014) are illegal * q given multiple files, this suppresses printing of file name * on report lines * l line numbers are printed on report lines. * o bad characters are printed in octal instead of as ?'s * * The n, l, and o flags turn on the r flag. */ #define CLEAN 1 #define REPORT 2 #define CTLH 4 #define CRILL 8 #define FFILL 16 #define VERBOSE 32 #define BELLILL 64 #define LNO 128 #define OCTAL 256 char buf[512],wbuf[512],*nxtchar; int wcount,avail,eof,errs,linenum; int FLAGS; extern int fout; main(argc,argv) char **argv; { register fd; register char *cp; FLAGS = CLEAN | VERBOSE; if (*argv[1] == '-') { cp = *++argv; ++cp; --argc; while (*cp) { switch (*cp) { case 'c': FLAGS =| CRILL; break; case 'r': FLAGS =| REPORT; break; case 'n': FLAGS =& ~CLEAN; FLAGS =| REPORT; break; case 'h': FLAGS =| CTLH; break; case 'f': FLAGS =| FFILL; break; case 'q': FLAGS =& ~VERBOSE; break; case 'b': FLAGS =| BELLILL; break; case 'l': FLAGS =| LNO | REPORT; break; case 'o': FLAGS =| OCTAL|REPORT; break; default: prs("Usage: fix [ -crnhfqblo ] [ file ... ]\n"); errs++; exit(errs); } ++cp; } } if (errs) exit(errs); if (argc == 1) { FLAGS =& ~VERBOSE; linenum = 0; eof = 0; fix(0,"standard input"); flushout(); exit(errs); } if (argc == 2) FLAGS =& ~VERBOSE; while (--argc) { fd = open(*++argv,0); if (fd < 0) { perror(*argv); errs++; continue; } nxtchar = buf + 512; eof = 0; avail = 0; linenum = 0; fix(fd,*argv); close(fd); } flushout(); } fix(f,file) char *file; { char line[512],*cp,ch; int count; while (!eof) { ch = bread(f); count = 0; cp = line; while (ch != 012 && ch != 015 && !eof && count < 512) { *cp++ = ch; count++; ch = bread(f); } ++linenum; if (count >= 512) { prs("Line too long.\n"); while (ch != 012 && ch != 015 && !eof) ch = bread(f); ++errs; } *cp = 0; if (FLAGS & REPORT) printbad(line,file); if (FLAGS & CTLH) fixctlh(line); if (FLAGS & CLEAN) { cp = line; while (*cp) if (legalchar(*cp)) bwrite(*cp++); else ++cp; if (ch == 012) bwrite(012); }  } } printbad(cp,file) char *cp,*file; { char mine[512]; register char *cp2; register bad,x; cp2 = mine; bad = 0; while (*cp) if (!legalchar(*cp)) { if (FLAGS & OCTAL) { x = *cp; *cp2++ = '\\'; *cp2++ = ((x & 0300) >> 6) | '0'; *cp2++ = ((x & 0070) >> 3) | '0'; *cp2++ = ((x & 0007) ) | '0'; } else *cp2++ = '?'; ++bad; ++cp; } else *cp2++ = *cp++; *cp2++ = 012; if (bad) { if (FLAGS & VERBOSE) { prs(file); if (FLAGS & LNO) prs("/"); else prs(":"); } if (FLAGS & LNO) { prd(linenum); prs(":"); } write(2,mine,cp2-mine); } } fixctlh(cp) char *cp; { register char *np,*bp; bp = np = cp; while (*cp) { if (*cp == '\b') { ++cp; if (bp != np) --np; } else *np++ = *cp++; } *np = 0; } bread(f) { for (;;) { if (eof) return(-1); if (!avail) { avail = read(f,buf,512); nxtchar = buf; } if (!avail) { eof = 1; return(-1); } --avail; if (*nxtchar) return(*nxtchar++); ++nxtchar; return(0177); } } bwrite(ch) { wbuf[wcount++] = ch; if (wcount >= 512) { wcount = 0; if (write(1,wbuf,512) != 512) { prs("fatal write error.\n"); exit(1); } } } flushout() { if (write(1,wbuf,wcount) != wcount) { prs("fatal write error\n"); exit(1); } } prs(str) char *str; { register char *dart; dart=str; while (*dart) dart++; write(2,str,dart-str); } legalchar(ch) char ch; { if (FLAGS & FFILL && ch == 014) return(0); if (FLAGS & CRILL && ch == 015) return(0); if (FLAGS & BELLILL && ch == 007) return(0); if (any(ch,"\t\014\015\007")) return(1); if (ch < 040 || ch > 0176) return(0); return(1); } any(c,cp) char c,*cp; { while (*cp) if (c == *cp++) return(-1); return(0); } prd(x) { char nbuf[10]; int i,j,negf; if (!x) { prs("0"); return; } i=8; nbuf[9] = 0; if (x < 0) { negf = 1; x = -x; } else negf = 0; while (x) { j = x % 10; nbuf[i--] = j + 060; x =/ 10; } if (negf) prs("-"); prs(nbuf+ ++i); } CfixitÞè9í�bcp $1.lst new$1 ed - new$1 g/^ /d 1,2d /\.end/+1,$d 1,$s/.$// 1,$s/^................// g/^$/d w q flt40.cÞè9¤�£ /* * Flt40 - 11/40 floating point speed up assembly language massager * * Jeff Schriebman UCB * * This program takes a temporary file from the C compiler * and massages it by adding explicit subroutine calls to the floating * point interpreter to prevent traps to the system. The resulting * code will run faster since the system overhead of interpretation * is eliminated. Note that leading tabs are not allowed on input lines. */ char *ops[] { "cfcc\t", "setf\t", "setd\t", "seti\t", "setl\t", "clrf\t", "negf\t", "absf\t", "tstf\t", "movf\t", "movif\t", "movfi\t", "movof\t", "movfo\t", "movie\t", "movei\t", "addf\t", "subf\t", "mulf\t", "divf\t", "cmpf\t", "modf\t", "ldfps\t", "stfps\t", "stst\t" }; int bufi[259]; int bufo[259]; char op[100]; char rest[100]; char label[100]; int first; main(argc, argv) char **argv; { register prev; int fp1, fp2; char *file1, *file2; char buf[512]; if (argc != 3) perror("FLT40 FILEI FILEO", ""); file1 = *++argv; file2 = *++argv; if ((fp1 = fopen(file1, bufi)) < 0) perror("Can't open file", file1); if ((fp2 = fcreat(file2, bufo)) < 0) perror("Can't create", file2); prev = 0; while (getline(buf) > 0) { split(buf); if (match(op)) { if (first == 0) { outstr(".globl\tfpjsr\n"); first = 1; } if (*label || prev==0) { prev = 1; outstr(label); outstr("jsr\tpc,fpjsr;"); outstr(op); outstr(rest); } else outstr(buf); } else { prev = 0; outstr(buf); } } fflush(bufo); exit(0); } split(s1) char *s1; { register char *aptr, *bptr, *cptr; bptr = 0; for (aptr=s1; *aptr!='\0'; aptr++) if (*aptr == ':') bptr = aptr + 1; cptr = label; if (bptr) for (aptr=s1; aptr!=bptr; aptr++) *cptr++ = *aptr; else bptr = s1; *cptr = 0; cptr = op; for (aptr=bptr; *aptr!='\0'; aptr++) if (*aptr == '\t') { for (aptr=bptr; *aptr!='\t'; aptr++) *cptr++ = *aptr; *cptr++ = '\t'; bptr = ++aptr; break; } *cptr = '\0'; cptr = rest; for (aptr=bptr; *aptr!='\0'; aptr++) *cptr++ = *aptr; *cptr++ = '\0'; } outstr(s1) char *s1; { register char *aptr, c; aptr = s1; while ((c = *aptr++) != '\0') putc(c, bufo); } match(s1) { register i, j; j = s1; for (i=0; i<(sizeof ops)/2; i++) if (cmp(ops[i], j)) return(1); return(0); } getline(s1) char *s1; { register char *aptr, c; aptr = s1; while ((c = getc(bufi)) > 0) { *aptr++ = c; if (c == '\n') { *aptr++ = '\0'; return(1); } } return(0); } cmp(s1, s2) char *s1, *s2; { register char *aptr, *bptr; aptr = s1; bptr = s2; while (*aptr == *bptr++) if (*aptr++ == '\0') return(1); return(0); } perror(s1, s2) { printf("%s %s\n", s1, s2); exit(1); } fold.c4 ÷¤�/* * fold - fold long lines for finite output devices * * Bill Joy UCB June 28, 1977 */ int fold 80; extern fout; int ibuf[259]; main(argc, argv) int argc; char *argv[]; { register c; argc--, argv++; fout = dup(1); if (argc > 0 && argv[0][0] == '-') { fold = 0; argv[0]++; while (*argv[0] >= '0' && *argv[0] <= '9') fold =* 10, fold =+ *argv[0]++ - '0'; if (*argv[0]) { printf("Bad number for fold\n"); flush(); exit(1); } argc--, argv++; } do { if (argc > 0) { close(ibuf[0]); if (fopen(argv[0], ibuf) < 0) { flush(); perror(argv[0]); flush(); exit(1); } argc--, argv++; } for (;;) { c = getc(ibuf); if (c == -1) break; putch(c); } } while (argc > 0); flush(); } int col; putch(c) register c; { register ncol; switch (c) { case '\n': ncol = 0; break; case '\t': ncol = (col + 8) &~ 7; break; case '\b': ncol = col ? col - 1 : 0; break; case '\r': ncol = 0; break; default: ncol = col + 1; } if (ncol > fold) putchar('\n'), col = 0; putchar(c); switch (c) { case '\n': col = 0; break; case '\t': col =+ 8; col =& ~7; break; case '\b': if (col) col--; break; case '\r':  col = 0; break; default: col++; break; } } {froc.cÞè9¤�" /* * froc - from card format (as produced by toc) * * Author: Howard Katseff UCB June, 1977 * * This program decodes the cards produced by the program toc * used to send binary data over an unfriendly medium * by converting to the characters common to ASCII and BCD. * * If the input is from a file and looks like output from the campus 6400, * then strip carriage control, header and trailer. */ extern linecnt, bytecnt; extern nlflag, ccflag; main(argc, argv) int argc; char *argv[]; { int t; register n; char c1,c2,c3; char buf[36]; argc--, argv++; if (argc > 1) { write(2, "Usage: froc [ file ]\n", 21); exit (1); } if (argc == 1) { close (0); if (open(argv[0], 0) < 0) { perror(argv[0]); exit (1); } } linecnt = 1; bytecnt = 0; nlflag = 1; if (gtty(0, buf) == -1 && seek(0, 0, 0) != -1) { for (n=0; n<10; n++) bread(0, &c1, 1); if (c1 == ' ') ccflag = 1; brseek(0, 0, 0); c1 = readb(); for(;;) { n = c1 = readb(); if (c1 == '\f') break; if (n == 0) { brseek(0, 0, 0); break; } } } for(;;) { do { n = c1 = readb(); if (c1 == '\f') n = 0; if(n==0) { wflush(1); return;} } while (c1 <= ' '); c1 = convert(c1); do{ n = c2 = readb(); if (c2 == '\f') n = 0; if(n==0) { wflush(1); close(1); dup(2); printf("error - unexpected eof\n"); return; } } while (c2 <= ' '); c2 = convert(c2); do { n = c3 = readb(); if (c3 == '\f') n = 0; } while (c3 <= ' ' && n); if (n) { c3 = convert(c3); t = c1+(41*(c2+(41*c3))); bwrite(1,&t,2); } else { t = c1 + (41*c2); bwrite(1, &t, 1); wflush(1); return; } } } char convert(c) char c; { if(c>='a' && c<='z') return(c-'a'); if(c>='0' && c<='9') return(c-'0'+26); switch(c) { case '.': return(36); case ',': return(37); case '/': return(38); case '$': return(39); case '-': return(40); default: wflush(1); close(1); dup(2);  printf("error - illegal character '%c' ", c); printf(" (byte %d on line %d)\n", bytecnt, linecnt); exit(); } } char readb() { char c; l1: if (bread(0, &c, 1) == 0) return(0); if (!ccflag) return(c); if (nlflag && c != '\n') { nlflag = 0; switch (c) { case '1': case '6': return('\014'); default: goto l1; } } if (c == '\n') nlflag = 1; return(c); } extern bytecnt; extern linecnt; int n; char *next; char b[512]; bread(file,buff,nbytes) char *buff; { register int nb; nb = nbytes; while(nb) { if(n==0) { n = read(file,next=b,512); if(n<0) return(-1); if(n==0) return(nbytes-nb); } bytecnt++; if (*next == '\n') linecnt++; *buff++ = *next++; n--; nb--; } return(nbytes-nb); } brseek(file, offset, flag) { n = 0; linecnt = 1; bytecnt = 0; return(seek(file, offset, flag)); } int wn; char wb[512]; bwrite(file,buff,nbytes) char *buff; { register int nb; nb=nbytes; while(nb) { if(wn==512) { if(512 != write(file,wb,512)) return(-1); wn = 0; } wb[wn++] = *buff++; nb--; } return(nbytes); } wflush(file) { if(wn) write(file,wb,wn); } funny.cÞè9¤�ê# /* funny - * funny accepts a line from the user and prints it out in * a mildly amusing manner. */ #define WORDLEN 200 char nl[] { 015, 0}; char is3a; main(ct,av) int ct; char **av; { int cvec[2],size,order[WORDLEN],i,rubout(); char *word,current[WORDLEN],myline[WORDLEN],*src; if (ct > 1 && av[1][0] == '-') { is3a++; ct--; av++; } time(cvec);  srand(cvec[1]); if (ct<2) { printf("Input a line - "); size=read(0,myline,WORDLEN)-1; myline[size]=0; src=myline; } else src=av[1]; signal(2,rubout); word=src; size=0; while (*word++) size++; if (size>=WORDLEN) { printf("%s\nLINE TOO LONG.\n",src); exit(9); } word=src; for (;;) { for (i=0;i=0;--i) { r=rnd(i+1); a[i]=this[r]; this[r]=this[i]; } } rnd(i) int i; { int r; r=rand(); if (r<0) r= -r; return(r % i); } prch(who,from,to) int who; char *from,*to; { int i; to[who]=from[who]; if (is3a) { printf("\033=%c%c%c", ' '+23, ' '+who, to[who]); return; } for (i=0;i<=who;++i) write(1,to+i,1); /* for (i=0;i<=who;++i) write(1,"\b",1); */ write(1,nl,1); } rubout() { char *cp,resp[100]; signal(2,1); printf("\nHad enough?"); read(0,resp,100); cp=resp; while (*cp != 012 && *cp != 'y' && *cp !='n') ++cp; if (*cp == 'n') { signal(2,rubout); return; } exit(9); } gres.cÞè9¤‘ '# /* * gres -- substitute in lines matching (or not) a pattern * * * Owner: lem */ #define CBRA 1 #define CCHR 2 #define CDOT 4 #define CCL 6 #define NCCL 8 #define CDOL 10 #define CEOF 11 #define CKET 12 #define STAR 01 #define PTRSIZE 100 #define RESIZE 5000 #define LBSIZE 256 #define ESIZE 256 #define NBRA 5 char ibuf[512]; char genbuf[LBSIZE]; char *loc1; char *loc2; char *locs; int lnum; char linebuf[LBSIZE+1]; int gflag; int vflag; char *braelist[NBRA]; char *braslist[NBRA]; struct reptr { char *re1; char *re2; char *rhs; char gcirc; char scirc; } ptrspace[PTRSIZE]; struct reptr *rep; struct reptr *ptrend; char *bufend; char *reend; char respace[RESIZE]; main(argc, argv) char **argv; { extern fout, fin; register char *p1, *p2; char *cp; int p; fin = dup(0); fout = dup(1); flush(); rep = ptrspace; rep->re1 = respace; bufend = &linebuf[LBSIZE]; ptrend = &rep[PTRSIZE]; reend = &respace[RESIZE]; lnum = 0; while (--argc > 0 && (++argv)[0][0]=='-') switch (argv[0][1]) { case 'v': vflag++; continue; case 'g': gflag++; continue; case 'f': fcomp(argc, argv); argc--; argv++; continue; case 'e': ecomp(argc,argv); argc =- 3; argv =+ 3; continue; default: printf2("Unknown flag: %c\n", argv[0][1]); continue; } if(rep == ptrspace) { argv--; argc++; ecomp(argc, argv); argc =- 4; argv =+ 4; } /* abort(); /*DEBUG*/ if(argc <= 0) execute(0); else while(--argc >= 0) { execute(*argv++); } flush(); exit(0); } fcomp(argc, argv) char *argv[]; { register int p; register char *cp; extern fin; if(argc-- <= 0) exit(2); if(fin) close(fin); if((fin = open(*++argv, 0)) < 0) { printf2("Cannot open pattern file: %s\n", *argv); exit(1); } for(;;) { lnum++; cp = linebuf - 1; while(*++cp = getchar()) { if(cp >= bufend) { printf2("RE too long, line %d\n", lnum); } if(*cp == '\n') break; } if(*cp == 0) break; p = compile(linebuf, rep->re1, &rep->gcirc); if(p < 1) printf2("RE error, line %d\n", lnum); if(p == 1 && rep->gcirc == 0) { if(rep > ptrspace) { rep->re2 = rep->re1; rep->re1 = rep[-1].re2; rep->gcirc = rep[-1].scirc; } else printf2("RE error, line %d\n", lnum); } else if((rep->re2 = rep->re1 + p) > reend) printf2("RE space exhausted; line %d\n", lnum); lnum++; cp = linebuf - 1; while(*++cp = getchar()) { if(cp >= bufend) printf("RE too long, line %d\n", lnum); if(*cp == '\n') break; } if(*cp == 0) break; p = compile(linebuf, rep->re2, &rep->scirc); if(p < 1) printf2("RE error, line %d\n", lnum); if(p == 1 && rep->scirc == 0) { rep->rhs = rep->re2; rep->re2 = rep->re1; rep->scirc = rep->gcirc; } else if((rep->rhs = rep->re2 + p) > reend) printf2("RE space exhausted, line %d\n", lnum); lnum++; cp = linebuf - 1; while(*++cp = getchar()) {  if(cp >= bufend) printf2("RE too long, line %d\n", lnum); if(*cp == '\n') break; } if(*cp == 0) break; if((p = compsub(linebuf, rep->rhs)) < 1) printf2("RHS error, line %d\n", lnum); if(++rep >= ptrend) printf2("Too many lines in pattern file, %d\n", lnum); if ((rep->re1 = rep[-1].rhs + p) > reend) printf2("RE space exhausted, line %d\n", lnum); } } ecomp(argc, argv) char *argv[]; { register int p; if(argc-- <= 0) exit(2); p = compile(*++argv, rep->re1, &rep->gcirc); if(p < 1) printf2("RE error, re%d\n", 1); if(p == 1 && rep->gcirc == 0) { if(rep > ptrspace) { rep->re2 = rep->re1; rep->re1 = rep[-1].re2; rep->gcirc = rep[-1].scirc; } else printf2("RE error: re1\n"); } rep->re2 = rep->re1 + p; if(argc-- <= 0) exit(2); if((p = compile(*++argv, rep->re2, &rep->scirc)) < 1) printf2("RE error, re%d\n", 2); if(p == 1 && rep->scirc == 0) { rep->rhs = rep->re2; rep->re2 = rep->re1; rep->scirc = rep->gcirc; } else rep->rhs = rep->re2 + p; if((p = compsub(*++argv, rep->rhs)) < 1) printf2("RHS error\n"); if(argc-- <= 0) exit(2); if(++rep >= ptrend) printf2("Too many patterns\n"); if((rep->re1 = rep[-1].rhs + p) > reend) printf2("RE space exhausted\n"); } compile(astr, expbuf, circf) char *astr; char *expbuf; char *circf; { register c; register char *ep, *sp; char *lastep; int cclcnt; char bracket[NBRA], *bracketp; int nbra; ep = expbuf; bracketp = bracket; nbra = 0; sp = astr; if (*sp == '^') { (*circf)++; sp++; } for (;;) { if (ep >= &expbuf[ESIZE]) return(-1); if ((c = *sp++) != '*') lastep = ep; switch (c) { case '\\': if((c = *sp++) == '(') { if(nbra >= NBRA) return(-1); *bracketp++ = nbra; *ep++ = CBRA; *ep++ = nbra++; continue; } if(c == ')') { if(bracketp <= bracket) return(-1); *ep++ = CKET; *ep++ = *--bracketp; continue; } if(c == '\n') return(-1); goto defchar; case '\0': case '\n': if(ep >= expbuf[ESIZE] - 1) return(-1); *ep++ = CEOF; return(ep - expbuf); case '.': *ep++ = CDOT; continue; case '*': if (lastep==0) goto defchar; *lastep =| STAR; continue; case '$': if (*sp != '\0' && *sp != '\n') goto defchar; *ep++ = CDOL; continue; case '[': *ep++ = CCL; *ep++ = 0; cclcnt = 1; if ((c = *sp++) == '^') { c = *sp++; ep[-2] = NCCL; } do { *ep++ = c; cclcnt++; if (c=='\0' || ep >= &expbuf[ESIZE]) return(-1); } while ((c = *sp++) != ']'); lastep[1] = cclcnt; continue; defchar: default: *ep++ = CCHR; *ep++ = c; } } } execute(file) { register char *p1, *p2; register c; int count; int f; char *ebp, *cbp; rep->re1 = 0; if (file) { if ((f = open(file, 0)) < 0) { printf2("Can't open %s\n", file); } } else f = 0; ebp = ibuf; cbp = ibuf; for (;;) { p1 = linebuf; p2 = cbp; for (;;) { if (p2 >= ebp) { if ((count = c = read(f, ibuf, 512)) <= 0) { close(f); return;  } p2 = ibuf; ebp = ibuf+c; } if ((c = *p2++) == '\n') break; if(c) if (p1 < &linebuf[LBSIZE-1]) *p1++ = c; } *p1++ = 0; cbp = p2; for(rep = ptrspace; rep->re1; rep++) { p1 = linebuf; p2 = rep->re1; if (rep->gcirc) { if (advance(p1, p2)) goto found; goto nfound; } /* fast check for first character */ if (*p2==CCHR) { c = p2[1]; do { if (*p1!=c) continue; if (advance(p1, p2)) goto found; } while (*p1++);  goto nfound; } /* regular algorithm */ do { if (advance(p1, p2)) goto found; } while (*p1++); nfound: if (vflag) succeed(file); continue; found: if (vflag==0) succeed(file); continue; } printf("%s\n", linebuf); if (count != 512) flush(); } } advance(alp, aep) { register char *lp, *ep, *curlp; char *nextep; lp = alp; ep = aep; for (;;) switch (*ep++) { case CCHR: if (*ep++ == *lp++) continue; return(0); case CDOT: if (*lp++) continue;  return(0); case CDOL: if (*lp==0) continue; return(0); case CEOF: loc2 = lp; return(1); case CCL: if (cclass(ep, *lp++, 1)) { ep =+ *ep; continue; } return(0); case NCCL: if (cclass(ep, *lp++, 0)) { ep =+ *ep; continue; } return(0); case CBRA: braslist[*ep++] = lp; continue; case CKET: braelist[*ep++] = lp; continue; case CDOT|STAR: curlp = lp; while (*lp++); goto star; case CCHR|STAR: curlp = lp; while (*lp++ == *ep); ep++; goto star; case CCL|STAR: case NCCL|STAR: curlp = lp; while (cclass(ep, *lp++, ep[-1]==(CCL|STAR))); ep =+ *ep; goto star; star: do { lp--; if(lp == locs) break; if (advance(lp, ep)) return(1); } while (lp > curlp); return(0); default: printf2("RE botch\n"); } } succeed() { if(sexec(0) == 0) return; dosub(rep->rhs); if(gflag) { while(*loc2) { if(sexec(1) == 0) break; dosub(rep->rhs); } } } sexec(gf) { register char *p1, *p2, c; if(gf) { if(rep->scirc) return(0); p1 = linebuf; p2 = genbuf; while(*p1++ = *p2++); locs = p1 = loc2; } else { p1 = linebuf; locs = 0; } p2 = rep->re2; if(rep->scirc) { loc1 = p1; return(advance(p1, p2)); } /* fast check for first character */ if(*p2 == CCHR) { c = p2[1]; do { if(*p1 != c) continue; if(advance(p1, p2)) { loc1 = p1; return(1); } } while(*p1++); } do { if(advance(p1, p2)) { loc1 = p1; return(1); } } while(*p1++); return(0); } cclass(aset, ac, af) { register char *set, c; register n; set = aset; if ((c = ac) == 0) return(0); n = *set++; while (--n) if (*set++ == c) return(af); return(!af); } printf2(s, a) { extern fout; flush(); fout = 2; printf(s, a); flush(); exit(2); } compsub(arg, rhsbuf) char *arg, *rhsbuf; { register char *rhsend; register char *p, *q; p = rhsbuf; q = arg; rhsend = &rhsbuf[LBSIZE]; for(;;) { if((*p = *q++) == '\\') *p = *q++ | 0200; if(*p == '\n') { *p++ = '\0'; return(p - rhsbuf); } if(*p++ == '\0') return(p - rhsbuf); if(p >= rhsend) { return(-1); } } } dosub(rhsbuf) char *rhsbuf; { register char *lp, *sp, *rp; int c; lp = linebuf; sp = genbuf; rp = rhsbuf; while (lp < loc1) *sp++ = *lp++; while(c = *rp++) { if (c=='&') { sp = place(sp, loc1, loc2); continue; } else if (c<0 && (c =& 0177) >='1' && c < NBRA+'1') { sp = place(sp, braslist[c-'1'], braelist[c-'1']); continue; } *sp++ = c&0177; if (sp >= &genbuf[LBSIZE]) printf2("output line too long.\n"); } lp = loc2; loc2 = sp + linebuf - genbuf; while (*sp++ = *lp++) if (sp >= &genbuf[LBSIZE]) { printf2("Output line too long.\n"); } lp = linebuf; sp = genbuf; while (*lp++ = *sp++); } place(asp, al1, al2) { register char *sp, *l1, *l2; sp = asp; l1 = al1; l2 = al2; while (l1 < l2) { *sp++ = *l1++; if (sp >= &genbuf[LBSIZE]) printf2("Output line too long.\n"); } return(sp); } ;head.cÞè9¤�¯# /* * head - give the first few lines of a stream or of each of a set of files * * Bill Joy UCB August 24, 1977 */ int linecnt 10; int ibuf[259]; extern int fout; main(Argc, argv) int Argc; char *argv[]; { register int argc; char *name; register char *argp; static char around; Argc--, argv++; argc = Argc; do { while (argc > 0 && argv[0][0] == '-') { linecnt = getnum(argv[0] + 1); argc--, argv++, Argc--; } if (argc == 0 && around) break; if (argc > 0) { close(0); if (fopen(argv[0], ibuf) < 0) { perror(argv[0]); exit(1); }  name = argv[0]; argc--, argv++; } else name = 0; if (around) putchar('\n'); around++; if (Argc > 1 && name) printf("==> %s <==\n", name); copyout(linecnt); flush(); } while (argc > 0); } copyout(cnt) register int cnt; { register int c; while (cnt > 0) for (;;) { c = getc(ibuf); if (c == -1) return; putchar(c); if (c == '\n') { cnt--; break; } } } getnum(cp) register char *cp; { register int i; for (i = 0; *cp >= '0' && *cp <= '9'; cp++) i =* 10, i =+ *cp - '0'; if (*cp) { write(2, "Badly formed number\n", 20); exit(1); } return (i); } fiul.cÞé9¤� # #define BACKSPACE 0 #define UPPERCASE 0 #define QUOTE 0200 /* * iul - a cat like program to indicate underlining for graphic terminals * * Bill Joy UCB June 22, 1977 * * This program is actually a piece of the editor ex. */ #define LBSIZE 512 char linebuf[LBSIZE], genbuf[LBSIZE]; int ibuf[259]; extern int fout; main(argc, argv) int argc; char *argv[]; { register c; register char *lp; fout = dup(1); argc--; argv++; do { if (argc > 0) { close(ibuf[0]); if (fopen(argv[0], ibuf) < 0) { perror(argv[0]); flush(); exit(1); } argc--; argv++; } lp = linebuf; for (;;) { c = getc(ibuf); if (c < 0) break; if (c == '\n') { *lp = 0; doulg(); dographic(); if (genbuf[0]) printf("\n%s", genbuf); putchar('\n'); lp = linebuf; continue; } if (lp >= &linebuf[LBSIZE - 2]) { flush(); printf("Input line exceeds 500 characters\n"); flush(); exit(1); } *lp++ = c; } flush(); } while (argc > 0); flush(); } dographic() { register char *lp; register c; for (lp = linebuf; c = *lp++;) { switch (c) { case '\b': if (BACKSPACE == 0) c = '?'; break; default: if (c < ' ' || c == 0177) c = '?'; /* else if (UPPERCASE && ucletter(c)) { putchar('\\'); c = letter(c); } */ break; case '\t': break; } putchar(c); } } doulg() { register char *lp, *gp; char *maxgp; register c; char csw; int col; gp = genbuf; *gp = 0; maxgp = gp; col = 0; for (lp = linebuf; c = *lp++;) { switch (c) { case '\t': while ((col & 7) != 7) { *gp++ = ' '; if (gp >= &genbuf[LBSIZE - 2]) goto ovflo; col++; } break; default: if (gp >= maxgp) break; c =| (*gp & QUOTE); break; case '_': if (gp >= maxgp) c = QUOTE; else c = *gp | QUOTE; break; case '\b': if (gp > genbuf) { gp--; col--; } continue; } if (gp >= &genbuf[LBSIZE - 2]) { ovflo: flush(); printf("Line too long for this filter\n"); flush(); exit(1); } *gp++ = c; if (gp > maxgp) maxgp = gp; col++; } *maxgp = 0; strcpy(linebuf, genbuf); for (lp = linebuf, gp = genbuf; c = *lp; gp++, lp++) if (c & QUOTE) { c =& 0177; if (c == 0) *lp = '_', *gp = ' '; else *lp = c, *gp = '-'; } else *gp = ' '; --gp; while (gp >= genbuf && *gp == ' ')  --gp; gp[1] = 0; } strcpy(oto, from) char *oto; register char *from; { register char *to; to = oto; while (*to++ = *from++) continue; return (oto); } last.cÞé9¤‘~/* * NAME: last * * SYNOPSIS: last [-] [name ...] * * DESCRIPTION: Displays login history of named users or tty's. * Last with no argument prints history for all users. * Last - displays history for all non-class users. * * EXTERNAL ROUTINES USED: bread.c blseek.c * * AUTHOR - Howard P. Katseff */ struct {char c1, c2, c3, c4;}; struct {long l1;}; int allflag; char buf[32]; extern fout; main(argc, argv) char **argv; { register char tty; register char **p; register char *q; int f, i, count; int intrp(); long lx; long otime, ntime; long logouts[128]; count = 0; fout = dup(1); if (allflag = argc==1) argv--; f = open("/usr/adm/wtmp", 0); if (f < 0) { printf("Can't open /usr/adm/wtmp\n"); exit(); } x: fstat(f, buf); for (i=0; i<127; i++) logouts[i] = 0; lx.c2 = 0; lx.c1 = buf[9]; lx.c3 = buf[10] & 0360; lx.c4 = buf[11]; blseek(f, lx, 0); lx =- 16; if ((signal(2,1) && 01) == 0) signal(2, &intrp); for(;;) { if (lx < 16) { f = open("/usr/adm/owtmp", 0); if (count++ == 0 && f > 0) goto x; q = ctime(buf+10); printf("\nwtmp begins at %10.10s %5.5s \n", q, 11+q); flush(); exit(); } if (bread(f, buf+16, -16) < 16) { perror("impossible error"); exit(); } for (p = 1+argv; *p != -1; p++) { if (equal(*p, buf)) { tty = buf[8];  q = ctime(buf+10); if (tty >= ' ') printf("%8.8s tty%c %10.10s %5.5s ", buf, tty, q, 11+q); else printf("%8.8s tty^%c %10.10s %5.5s ", buf, tty+0140, q, 11+q); otime = (buf+10)->l1; ntime = logouts[tty]; if (ntime == 0) { printf(" still logged in\n"); } else { if (ntime <= 0) { ntime = -ntime; printf("- crash"); } else printf("- %5.5s", 11+ctime(&ntime)); otime = ntime - otime; otime =+ 231231630; if (otime < 231318030) printf(" (%5.5s)\n", 11+ ctime(&otime)); else printf(" (%ld+%5.5s)\n", (otime-231231630)/86400, 11+ctime(&otime)); } flush(); break; } } lx =- 16; if (buf[0] == '\0') { tty = buf[8]; if (tty == '~') for (i=0; i<127; i++) logouts[i] = -(buf+10)->l1; else logouts[tty] = (buf+10)->l1; } } } equal(c1, c2) char *c1, *c2; { int i; if (allflag && (*c2 != '\0' || *(c2+8) >= '|')) return(1); if (*(c1+1) == '\0') { if ((*c1 == '-') || (*c1 == 'x')) { if (*c2 == '\0' && *(c2+8) < '|') return(0); if (*c2 >= '0' && *c2 <= '9') return(0); if (*(c2+2) >= '0' && *(c2+2) <= '9') return(0); for(i=0; i<8; i++) if (*c2++ == '-') return(0); return(1); } if (*c1 == *(c2+8) && (*c1 >= '|' || *c2 != '\0')) return(1); return(0); } for (i=0; i<8; i++) { if (*c1 == '\0') return(*c2 == ' '); if (*c1++ != *c2++) return(0); } return(1); } intrp() { register char *q; signal(2,1); fout = 1; *(&fout+1) = 1; *(&fout+2) = 0; *(&fout+3) = 0; q = ctime(buf+10); printf("\ninterrupted at %10.10s %5.5s \n", q, 11+q); exit(); } /* * NAMES: bread(), brseek(), blseek() * * DESCRIPTION: * This is a buffered read package which simulates read(), seek() and * lseek(). * Bread may be called with a negative nbytes which causes it to * read backwards. In this case, buffer should point to the first * byte following the buffer. If only a partial read is possible * (due to beginning of file), only the last bytes of the buffer * will be filled. */ int i, j, k; int nl, nr; char *next; char b[512]; bread(file, buff, nbytes) char *buff; { register nb; if (nbytes > 0) { for (nb=nbytes; nb>0; nb--) { if (nr == 0) { nr = read(file, next=b, 512); nl = 0; if (nr < 0) return(-1); if (nr == 0) return(nbytes-nb); } *buff++ = *next++; nr--; nl++; } } else { nbytes = -nbytes; for (nb=nbytes; nb>0; nb--) { if (nl == 0) { seek(file, -(512 + nr), 1); nl = read(file, b, 512); if (nl < 0) { for (k=511; k>0; k--) { seek(file, 1, 1); nl = read(file, b, k); if (nl >= 0) break; } if (nl < 0) return(nbytes-nb); } if (nl == 0) return(nbytes-nb); next = b + nl; nr = 0; } *--buff = *--next; nr++; nl--; } } return(nbytes); } brseek(file, offset, flag) { nl = 0; nr = 0; return(seek(file,offset,flag)); } blseek(file, offset, flag) long offset; { nl = 0; nr = 0; return(lseek(file,offset,flag)); } linerm.cÞé9¤�,/* linerm - remove lines from a file linerm [+n -n +n ...] std output Jeff Schriebman 8-75 */ extern fout; struct numb { int line; int sign; } lineb[50]; main(argc, argv) char **argv; { register struct numb *nptr; register char c; register int sw; int n, lineon, i; char *aptr; static pbuf[259]; fout = dup(1); nptr = lineb; n = 0; while (--argc) { n++; aptr = *++argv; if (*aptr == '-') {  aptr++; nptr->sign = 0; } else nptr->sign = 1; if (*aptr == '+') aptr++; nptr->line = numcv(aptr); nptr++; } nptr->line = 0; nptr->sign = -1; nptr = lineb; for (i=0; iline; if (lineon >= (++nptr)->line) { printf("Illegal column sequence\n"); exit(); } } lineon = 1; sw = 1; nptr = lineb; for (;;nptr++) { if (nptr->sign == -1 && sw == 0) flush(), exit(); while (nptr->line != lineon) { while ((c=getc(pbuf)) != '\n') { if (c <= 0) flush(), exit(); if (sw) putchar(c); } if (sw) putchar(c); lineon++; } sw = nptr->sign; } flush(); } numcv(ptr) char *ptr; { register char *aptr, c; register int num; aptr = ptr; num = 0; while ((c = *aptr++) != '\0') { if (c<'0' || c>'9') { printf("Illegal number %s\n", ptr); exit(); } num = num*10 + c - '0'; } return(num); } list.cÞé9¤�©# /* * list - a cat like program which prints lines like the editor 'list' command * * Bill Joy UCB June 18, 1977 * * Option - suppresses $ at end of line */ int ibuf[259]; extern fout; char nodols; main(argc, argv) int argc; char *argv[]; { register c; fout = dup(1); argc--, argv++; if (argc > 1 && argv[0][0] == '-') nodols++, argc--, argv++; do { if (argc > 0) { if (fopen(argv[0], ibuf) < 0) { flush(); perror(argv[0]); flush(); exit(1); } argc--, argv++; } for (;;) { c = getc(ibuf); if (c == -1) break; if (c < ' ') switch (c) { case '\n': if (!nodols) putchar('$'); break; case '\t': c = '>'; break; case '\b': c = '<'; break; default: putchar('\\'); putchar((c >> 3) | '0'); c =& 07; c =| '0'; break; } putchar(c); } } while (argc > 0); flush(); exit(0); } lnall.cÞé9¤�É/* lnall- * son of mvall, son of cpall, son of ... */ char buf[100]; main(argc, argv) char **argv; { register char *c1, *c2, *cp; int i; if(argc < 3) {  write(2, "arg count\n", 10); exit(); } argc--; if (!dir(argv[argc])) { printf("%s: not a directory\n", argv[argc]); exit(1); } c1 = buf; c2 = argv[argc]; while(*c1++ = *c2++); c1[-1] = '/'; for(i=1; igid & 0377) << 8) | (a->uid & 0377)); } lntree(spth, dpth) char *spth, *dpth; { char nspth[120], ndpth[120]; int curq, maxq; char qstr[8]; struct dbuff sdbuff; struct stbuff source, dest; int sunit, i; if (stat(spth, &source) < 0) panic("\"%s\": cannot stat", spth); else if (stat(dpth, &dest) < 0) panic("\"%s\": cannot stat", dpth); else if (!isdir(source)) panic("\"%s\": not a directory", spth); else if (!isdir(dest)) panic("\"%s\": not a directory", dpth); else if ((sunit = open(spth, 0)) < 0) panic("\"%s\": cannot open directory", spth); else { while ((i = read(sunit, &sdbuff, 16) == 16)) { concat(nspth, spth, sdbuff.name); concat(ndpth, dpth, sdbuff.name); if (sdbuff.ino == 0) continue; else if (stat(nspth, &source) < 0) panic("\"%s\": cannot stat", nspth); else if (source.flags & 060000) if (isdir(source)) { if (equal(sdbuff.name, ".")) continue; else if (equal(sdbuff.name, "..")) continue; else if (source.inumber == 1) panic("source tree across devices detected at \"%s\" on pass 2", nspth); sys("mkdir", ndpth, 0); newmode = source.flags & 07777; if (chmod(ndpth, newmode)) panic("can't chmod of \"%s\" to %o", ndpth, 0); if (suser) chown(ndpth, owner(&source)); lntree(nspth, ndpth); } else if (isquot(source)) if (noquot) continue; else if (suser) { curq = source.addr[1]; maxq = source.addr[2]; itoa(maxq, qstr); sys("quot", dpth, "0", qstr, 0); chown(ndpth, owner(&source));  } else printf("\"%s.q\" no can do\n", spth); else goto doit; else doit: if (link(nspth, ndpth) < 0) panic("can't link \"%s\" to \"%s\"", ndpth, nspth); } if (i == -1) panic("error reading \"%s\":", spth); else if (i && i != 16) panic("bad directory structure: \"%s\"", spth); } close(sunit); } ok(spth, dpth) char *spth, *dpth; { struct stbuff source, dest; int head; if (stat(spth, &source) < 0) panic("\"%s\": cannot stat", spth); else if (stat(dpth, &dest) < 0) panic("\"%s\": cannot stat", dpth); else if (!isdir(source)) panic("\"%s\": not a directory", spth); else if (!isdir(dest)) panic("\"%s\": not a directory", dpth); else if (source.dev != dest.dev) panic("\%s\" and \"%s\" are on different devices", spth, dpth); else { check(spth, dest.inumber); if (specfil && !terse) cani(); } } cani() { register char c, ch; if (!terse && ttyn(0) != 'x') { printf("\nok ? "); ch = c = getchar(); while (ch != '\n' && ch) ch = getchar(); if (c != 'y') exit(1); } } check(spth, dinode) char *spth; { char nspth[120]; struct dbuff sdbuff; struct stbuff source; int sunit, i; if (stat(spth, &source) < 0) panic("\"%s\": cannot stat", spth); else if (source.inumber == dinode) panic("\"%s\" is a subdirectory of \"%s\" at \"%s\"", xargv[0], xargv[1], spth); else if (!isdir(source)) panic("\"%s\": not a directory", spth); else if ((sunit = open(spth, 0)) < 0) panic("\"%s\": cannot open directory", spth); else { while ((i = read(sunit, &sdbuff, 16) == 16)) { if (sdbuff.ino == 0) continue; else if (equal(sdbuff.name, ".")) continue; else if (equal(sdbuff.name, "..")) continue; concat(nspth, spth, sdbuff.name); if (stat(nspth, &source) < 0) panic("\"%s\": cannot stat", nspth); else if (source.flags & 060000) if (isdir(source)) { if (source.inumber == 1) panic("source tree extends across devices at \"%s\"", nspth); else check(nspth, dinode); } else if (isquot(source)) continue; else { if (!terse) printf("special file: \"%s\"\n", nspth); specfil++; } } if (i == -1) panic("error reading \"%s\":", spth); else if (i && i != sizeof sdbuff) panic("bad directory structure: \"%s\""); } close(sunit); } char *concat(a, b, c) char *a, *b, *c; { register char *ra, *rb; register cnt; cnt = 14; rb = c; while (*rb++) if (!--cnt) break; cnt = 14 - cnt; rb = b; while (*rb++) cnt++; if (cnt >= 100) panic("path name too long: \"%s/%s\"", b, c); ra = a; rb = b; while (*ra++ = *rb++) continue; *(ra-1) = '/'; rb = c; cnt = 14; while (*ra++ = *rb++) if (!--cnt) { *ra++ = 0; break; } return(a); } panic(a1, a2, a3, a4) { if (a1) { printf("%s: ", progname); printf(a1, a2, a3, a4); putchar('\n'); } exit(1); } equal(a, b) char *a, *b; { register char *ra, *rb; ra = a; rb = b; while (*ra == *rb++) if (*ra) ra++; else return(!*--rb); return(0); } char *itoastr; itoa(aint, str) char *str; { itoastr = str; if (aint) itoa2(aint); else *itoastr++ = '0'; *itoastr++ = 0; } itoa2(aint) { if (aint) { itoa2(ldiv(0, aint, 10)); *itoastr++ = '0' + lrem(0, aint, 10); } } sys(name) char *name; { int i, k; register char *argp, *rp; char routine[25]; if ((i = fork()) < 0) panic("try again."); else if (i) { while ((k = wait(&status)) != i && k != -1) continue; if (k == -1) { printf("no children to wait for !!!\n"); status = 0; } else if (status) panic("\"%s\" failed", name); } else { argp = "/usr/bin/"; rp = routine; while(*rp++ = *argp++) continue; rp--; argp = name; while (*rp++ = *argp++) continue; execv(routine+4, &name); execv(routine, &name); panic("can't find \"%s\"", name); } } putchar(c) { write(2, &c, 1); } 0ls.cÞé9¤‘�-# /* * ls - list file or directory * * Modified by Bill Joy UCB May/August 1977 * * This version of ls is designed for graphic terminals and to * list directories with lots of files in them compactly. * It supports three variants for listings: * * 1) Columnar output. * 2) Stream output. * 3) Old one per line format. * * Columnar output is the default. * If, however, the standard output is not a teletype, the default * is one-per-line. * * With columnar output, the items are sorted down the columns. * We use columns only for a directory we are interpreting. * Thus, in particular, we do not use columns for * * ls /usr/bin/p* * * This version of ls also prints non-printing characters as '?' if * the standard output is a teletype. * * Flags relating to these and other new features are: * * -m force stream output. * * -1 force one entry per line, e.g. to a teletype * * -q force non-printings to be '?'s, e.g. to a file * * -c force columnar output, e.g. into a file * * -n like -l, but user/group id's in decimal rather than * looking in /etc/passwd to save time */ struct { int fdes; int nleft; char *nextc; char buff[512]; } inf, obuf; struct ibuf { int idev; int inum; int iflags; char inl; char iuid; char igid; char isize0; int isize; int iaddr[8]; char *iatime[2]; char *imtime[2]; }; struct lbuf { char lname[15]; int lnum; int lflags; char lnl; char luid; char lgid; char lsize0; int lsize; char *lmtime[2]; int lquot[2]; }; struct lbufx { char *namep; }; int aflg, dflg, lflg, sflg, tflg, uflg, iflg, fflg, nflg; int cflg, qflg, across; int nopad; int rflg 1; char *year; int flags; int uidfil -1; int lastuid -1; char tbuf[16]; int tblocks; int statreq; struct lbuf *lastp &end; struct lbuf *rlastp &end; char *dotp "."; #define IFMT 060000 #define DIR 0100000 #define CHR 020000 #define BLK 040000 #define ISARG 01000 #define LARGE 010000 #define STXT 010000 #define SUID 04000 #define SGID 02000 #define ROWN 0400 #define WOWN 0200 #define XOWN 0100 #define RGRP 040 #define WGRP 020 #define XGRP 010 #define ROTH 04 #define WOTH 02 #define XOTH 01 #define RSTXT 01000 int colwidth 15; int outcol; main(argc, argv) int argc; char **argv; { char *cp; int i, j; register struct lbuf *ep; register struct lbuf *slastp; struct lbuf lb; int t; int compar(); obuf.fdes = 1; qflg = gtty(1, &obuf.buff) == 0; /* * If the standard output is not a teletype, * then we default to one-per-line format * otherwise decide between stream and * columnar based on our name. */ if (qflg) { cflg = 1; for (cp = argv[0]; cp[0] && cp[1]; cp++) continue; /* * Name ends in l => stream */ if (cp[0] == 'l') nopad = 1, cflg = 0; /* * ... if doesn't end in l or s ==> columns sorted across */ else if (cp[0] != 's') across = 1; } time(lb.lmtime); year = lb.lmtime[0] - 245; /* 6 months ago */ if (--argc > 0 && *argv[1] == '-') { argv++; while (*++*argv) switch (**argv) { /* * c - force columnar output */ case 'c': cflg = 1; nopad = 0; continue; /* * m - force stream output */ case 'm': cflg = 0; nopad = 1; continue; /* * x - force sort across */ case 'x':  across = 1; nopad = 0; cflg = 1; continue; /* * q - force ?'s in output */ case 'q': qflg = 1; continue; /* * 1 - force 1/line in output */ case '1': cflg = 0; nopad = 0; continue; /* STANDARD FLAGS */ case 'a': aflg++; continue; case 's': colwidth =+ 5; sflg++; statreq++; continue; case 'd': dflg++; continue; /* * n - don't look in password file */ case 'n': nflg++; case 'l': lflg++; statreq++; continue; case 'r': rflg = -1; continue; case 't': tflg++; statreq++; continue; case 'u': uflg++; continue; case 'i': colwidth =+ 5; iflg++; continue; case 'f': fflg++; continue; default: continue; } argc--; } if (fflg) { aflg++; lflg = 0; sflg = 0; tflg = 0; statreq = 0; } if(lflg) { cflg = 0; t = "/etc/passwd"; nopad = 0; colwidth = 70; uidfil = open(t, 0); } if (argc==0) { argc++; argv = &dotp - 1; } for (i=0; i < argc; i++) { if ((ep = gstat(*++argv, 1))==0) continue; ep->namep = *argv; ep->lflags =| ISARG; } qsort(&end, lastp - &end, sizeof *lastp, compar); slastp = lastp; for (ep = &end; eplflags&DIR && dflg==0 || fflg) { if (argc>1) { printf("\n%s:\n", ep->namep); } lastp = slastp; readdir(ep->namep); if (fflg==0) qsort(slastp,lastp - slastp,sizeof *lastp,compar); if (statreq) { printf("total %s", locv(0, tblocks)); } pem(slastp, lastp); newline(); } else pentry(ep); } if (outcol) putc('\n', &obuf); fflush(&obuf); } pem(slp, lp) register struct lbuf *slp, *lp; { int ncols, nrows, row, col; register struct lbuf *ep; ncols = 80 / colwidth; if (ncols == 1 || cflg == 0) { for (ep = slp; ep < lp; ep++) pentry(ep); return; } if (across) { for (ep = slp; ep < lp; ep++) pentry(ep); return; } if (statreq) slp--; nrows = (lp - slp - 1) / ncols + 1; for (row = 0; row < nrows; row++) { col = row == 0 && statreq;  for (; col < ncols; col++) { ep = slp + (nrows * col) + row; if (ep < lp) pentry(ep); } if (outcol) printf("\n"); } } putchar(c) char c; { switch (c) { case '\t': outcol = (outcol + 8) &~ 7; break; case '\n': outcol = 0; break; default: if (qflg && (c < ' ' || c >= 0177)) c = '?'; outcol++; break; } putc(c, &obuf); } newline() { if (outcol) putc('\n', &obuf); outcol = 0; } column() { if (outcol == 0) return; if (nopad) { putc(',', &obuf); outcol++; if (outcol + colwidth + 2 > 80) { putc('\n', &obuf); outcol = 0; return; } putc(' ', &obuf); outcol++; return; } if (cflg == 0) { putc('\n', &obuf); return; } if ((outcol / colwidth + 2) * colwidth > 80) { putc('\n', &obuf); outcol = 0; return; } do { outcol++; putc(' ', &obuf); } while (outcol % colwidth); } pentry(ap) struct lbuf *ap; { struct { char dminor, dmajor;}; register t; register struct lbuf *p; register char *cp; p = ap; if (p->lnum == -1) return; column(); if (iflg) if (nopad && !lflg) printf("%d ", p->lnum); else printf("%4d ", p->lnum); if (lflg) { pmode(p); printf("%3d ", p->lnl&0377); t = p->lgid<<8 | (p->luid&0377); if (nflg == 0 && getname(t, tbuf)==0) printf("%-8.8s", tbuf); else printf("%3du%3dg", (t & 0377), (t >> 8) & 0377); if (p->lflags & (BLK|CHR)) { if (p->lflags&CHR && p->lsize == -1) printf("%4d/%4d", p->lquot[0], p->lquot[1]); else printf("%4d,%4d", p->lsize.dmajor&0477, p->lsize.dminor&0377); } else printf("%9s", locv(p->lsize0&0377, p->lsize)); } if (sflg) { t = nblock(p->lsize0&0377, p->lsize); if (nopad && !lflg) printf("%s ", locv(0, t)); else printf("%4s ", locv(0, t)); } if (lflg) { if (!sflg) putchar(' '); cp = ctime(p->lmtime); if(p->lmtime[0] < year) printf("%-7.7s %-4.4s ", cp+4, cp+20); else printf("%-12.12s ", cp+4); } if (p->lflags&ISARG) printf("%s", p->namep); else printf("%.14s", p->lname); } getname(uid, buf) int uid; char buf[]; { int j, c, n, i, m; if (uid==lastuid) return(0); inf.fdes = uidfil; seek(inf.fdes, 0, 0); inf.nleft = 0; lastuid = -1; do { i = 0; j = 0; m = 0; n = 0; while((c=getc(&inf)) != '\n') { if (c<0) return(-1); if (c==':') { j++; c = '0'; } if (j==0) buf[i++] = c; if (j==2) n = n*10 + c - '0'; if (j==3) m = m*10 + c - '0'; } } while ((m<<8|n) != uid); buf[i++] = '\0'; lastuid = uid; return(0); } nblock(size0, size) int size0, size; { register int n; n = ldiv(size0&0377, size, 512); if (size&0777) n++; if (n>8) n =+ (n+255)/256; return(n); } int m0[] { 3, DIR, 'd', BLK, 'b', CHR, 'c', '-'}; int m1[] { 1, ROWN, 'r', '-' }; int m2[] { 1, WOWN, 'w', '-' }; int m3[] { 2, SUID, 's', XOWN, 'x', '-' }; int m4[] { 1, ROTH, 'r', '-' }; int m5[] { 1, WOTH, 'w', '-' }; int m6[] { 2, STXT, 't', XOTH, 'x', '-' }; int *m[] { m0, m1, m2, m3, m4, m5, m6}; pmode(ptr) char *ptr; { register int **mp; register struct lbuf *p; p = ptr; flags = p->lflags; if (flags&CHR && p->lsize == -1) putchar('q'); else select(m[0]); for (mp = &m[1]; mp < &m[7];) select(*mp++); } select(pairp) int *pairp; { register int n, *ap; ap = pairp; n = *ap++; while (--n>=0 && (flags&*ap++)==0) ap++; putchar(*ap); } makename(dir, file) char *dir, *file; { static char dfile[100]; register char *dp, *fp; register int i; dp = dfile; fp = dir; while (*fp) *dp++ = *fp++; *dp++ = '/'; fp = file; for (i=0; i<14; i++) *dp++ = *fp++; *dp = 0; return(dfile); } readdir(dir) char *dir; { static struct { int dinode; char dname[14]; } dentry; register char *p; register int j; register struct lbuf *ep; if (fopen(dir, &inf) < 0) { newline(); printf("%s unreadable\n", dir); return; } tblocks = 0; for(;;) { p = &dentry; for (j=0; j<16; j++) *p++ = getc(&inf); if (dentry.dinode==0 || aflg==0 && dentry.dname[0]=='.') continue; if (dentry.dinode == -1) break; ep = gstat(makename(dir, dentry.dname), 0); if (ep->lnum != -1) ep->lnum = dentry.dinode; for (j=0; j<14; j++) ep->lname[j] = dentry.dname[j]; } close(inf.fdes); } gstat(file, argfl) char *file; { struct ibuf statb; register struct lbuf *rep; if (lastp+1 >= rlastp) { sbrk(512); rlastp.idev =+ 512; } rep = lastp; lastp++; rep->lflags = 0; rep->lnum = 0; if (argfl || statreq) { if (stat(file, &statb)<0) { newline(); printf("%s not found\n", file); statb.inum = -1; statb.isize0 = 0; statb.isize = 0;  statb.iflags = 0; if (argfl) { lastp--; return(0); } } rep->lnum = statb.inum; statb.iflags =& ~DIR; if ((statb.iflags&IFMT) == 060000) { statb.iflags =& ~020000; } else if ((statb.iflags&IFMT)==040000) { statb.iflags =& ~IFMT; statb.iflags =| DIR; } statb.iflags =& ~ LARGE; if (statb.iflags & RSTXT) statb.iflags =| STXT; statb.iflags =& ~ RSTXT; rep->lflags = statb.iflags; rep->luid = statb.iuid; rep->lgid = statb.igid; rep->lnl = statb.inl; rep->lsize0 = statb.isize0; rep->lsize = statb.isize; if (rep->lflags & (BLK|CHR) && lflg) { rep->lsize = statb.iaddr[0]; rep->lquot[0] = statb.iaddr[1]; rep->lquot[1] = statb.iaddr[2]; } rep->lmtime[0] = statb.imtime[0]; rep->lmtime[1] = statb.imtime[1]; if(uflg) { rep->lmtime[0] = statb.iatime[0]; rep->lmtime[1] = statb.iatime[1]; } tblocks =+ nblock(statb.isize0, statb.isize); } return(rep); } compar(ap1, ap2) struct lbuf *ap1, *ap2; { register struct lbuf *p1, *p2; register int i; int j; struct { char *charp;}; p1 = ap1; p2 = ap2; if (dflg==0) { if ((p1->lflags&(DIR|ISARG)) == (DIR|ISARG)) { if ((p2->lflags&(DIR|ISARG)) != (DIR|ISARG)) return(1); } else { if ((p2->lflags&(DIR|ISARG)) == (DIR|ISARG)) return(-1); } } if (tflg) { i = 0; if (p2->lmtime[0] > p1->lmtime[0]) i++; else if (p2->lmtime[0] < p1->lmtime[0]) i--; else if (p2->lmtime[1] > p1->lmtime[1]) i++; else if (p2->lmtime[1] < p1->lmtime[1]) i--; return(i*rflg); } if (p1->lflags&ISARG) p1 = p1->namep; else p1 = p1->lname; if (p2->lflags&ISARG) p2 = p2->namep; else p2 = p2->lname; for (;;) if ((j = *p1.charp++ - *p2.charp++) || p1.charp[-1]==0) return(rflg*j); return(0); } GmakeTtyn.cÞë9¤�ç /* * makettyn - make a fast version of ttyn for version 6 UNIX systems * * Bill Joy UCB August 16, 1977 */ struct T { char Tmajor, Tminor; char Ttty; } ttys[128]; struct Stat { char xminor, xmajor; int inumber, flags; char nlinks, uid, gid, size0; int size1; char dminor, dmajor; int addr1[7]; long actime, modtime; } stbuf; int cmptty(); extern int fout; int tvec[2]; main(argc, argv) int argc; char *argv[]; { register char *cp; register struct T *tp; struct T *lastp; int c, m, n, k; close(1); fout = creat("Ttyn.c", 0644); if (fout < 0) perror("Ttyn.c"), exit(1); fout = dup(fout); time(tvec); for (tp = &ttys[0], c = 1; c <= 0177; c++) { if (c == '/') continue; cp = "/dev/ttyx"; cp[8] = c; if (stat(cp, &stbuf) < 0)  continue; tp->Tminor = stbuf.dminor; tp->Tmajor = stbuf.dmajor; tp->Ttty = c; tp++; } lastp = tp; qsort(&ttys, lastp - &ttys, sizeof ttys[0], cmptty); printf( "#\n\ #\n\ /*\n\ * Ttyn - a fast version of ttyn which hashes major minor device numbers\n\ *\n\ * Bill Joy UCB August 17, 1977\n\ *\n\ * This routine can be called instead of calling 'ttyn' and stats\n\ * the specified unit, then looking in a table to determine\n\ * the unit number. If the given unit is not in the table the standard\n\ * 'ttyn' is called to get the answer.\n\ *\n\ * Generated:\t%s\ * No. ttys:\t%d\n\ */\n", ctime(tvec), lastp - &ttys); printf( "\n\ static\tstruct T {\n\ char Tmajor;\n\ char Tfirst;\n\ char *Tttys;\n\ char Tlast;\n\ } Tttyinfo[] {\n\ "); k = 0; for (tp = &ttys[0]; tp < lastp; ) { k++; m = tp->Tmajor; n = tp->Tminor; printf("\t%d,\t%d,\t\"", m, tp->Tminor); do { while (n < tp->Tminor) n++, putchar('x'); putq(tp->Ttty); n++; tp++; } while (tp < lastp && tp->Tmajor == m); printf("\",\t%d,\n", n - 1); } printf("};\n"); printf("\n#define\tNMAJDEV\t%d\n", k); printf("\ \n\ struct Stat {\n\ char xminor, xmajor;\n\ int inumber, flags;\n\ char nlinks, uid, gid, size0;\n\ int size1;\n\ char dminor, dmajor;\n\ int addr1[7];\n\ long actime, modtime;\n\ };\n"); printf("\ \n\ Ttyn(unit)\n\ int unit;\n\ {\n\ register struct T *tp;\n\ struct Stat stbuf;\n\ \n\ if (fstat(unit, &stbuf))\n\ return ('x');\n\ for (tp = &Tttyinfo; tp < &Tttyinfo[NMAJDEV]; tp++)\n\ if (stbuf.dmajor == tp->Tmajor && stbuf.dminor >= tp->Tfirst && stbuf.dminor <= tp->Tlast)\n\ return (tp->Tttys[stbuf.dminor - tp->Tfirst]);\n\ return (ttyn(unit));\n\ }\n"); flush(); exit(0); } cmptty(ftp, ltp) register struct T *ftp, *ltp; { if (ftp->Tmajor == ltp->Tmajor) return (ftp->Tminor - ltp->Tminor); return (ftp->Tmajor - ltp->Tmajor); } putq(c) int c; { if (c >= ' ') { putchar(c); return; } printf("\\%d%d%d", c >> 6, (c >> 3) & 07, c & 07); } &man.cÞé9¤�H /* * man - intelligent man command * * Author: Bill Joy UCB August 25, 1977 * * Man is an intelligent man command which obviates the need to know * section numbers in the manual. Also if the standard output is a teletype and * the option - is not given we pipe through "ssp" to eliminate piled * up blank lines. */ extern int fout; int nossp; main(argc, argv) int argc; char *argv[]; { int i, pvec[2], section, io, tty[3]; io = open("/usr/adm/manlog", 1); if (io > 0 && fork() == 0) { char buf[100]; register char *cp; fout = io; seek(io, 0, 2); if (getpw(getuid(), buf)) exit(1); for (cp = buf; *cp && *cp != ':'; cp++) continue; *cp = 0; printf("%c %-8s man", ttyn(1), buf); for (i = 1; i <= argc; i++) printf(" %s", argv[i]); putchar('\n'); flush(); exit(0); } close(io); fout = 2; if (chdir("/usr/man") < 0) { printf("Can't chdir to /usr/man\n"); exit(1); } argc--, argv++; if (argv[0][0] == '-') { argc--, argv++; nossp++; } else if (gtty(1, tty)) nossp++; if (argc == 0) { printf("Usage: man [ section ] name ...\n"); exit(1); } if (nossp == 0) { pipe(pvec); i = fork(); if (i != -1) { if (i != 0) { close(0); close(pvec[1]); dup(pvec[0]); close(pvec[0]); execl("/usr/pascal/ssp", "ssp", 0); execl("/bin/ssp", "ssp", 0); execl("/usr/bin/ssp", "ssp", 0); printf("Can't find ssp!\n"); execl("/bin/cat", "cat", 0); printf("or cat - gott in himmel!\n"); exit(1); } close(pvec[0]); close(1);  dup(pvec[1]); close(pvec[1]); fout = 1; } } section = 0; do { if (argv[0][0] >= '0' && argv[0][0] <= '9' && !argv[0][1]) { section = argv[0][0] - '0'; argc--, argv++; if (argc == 0) { printf("But what do you want from section %s?\n", argv[-1]); exit(1); } continue; } manual(section, argv[0]); argc--, argv++; } while (argc > 0); exit(0); } manual(section, name) int section; char *name; { char work[100]; char stbuf[36]; int last; strcpy(work, "manx/"); strcat(work, name); strcat(work, ".x"); last = strlen(work) - 1; if (section == 0) { for (section = '1'; section <= '9'; section++) { work[3] = section; work[last] = section; if (stat(work, stbuf) >= 0) break; } if (section > '9') { printf("No section in the manual has %s in it\n", name); return; } } else { work[3] = section + '0'; work[last] = section + '0'; if (stat(work, stbuf) < 0) { printf("%s is not in section %d of the manual\n", name, section); return; } } nroff(work); } nroff(cp) char *cp; { int i; i = fork(); if (i < 0) { printf("No more processes\n"); exit(1); } if (i == 0) { donroff("/bin/nroff", cp); donroff("/usr/bin/nroff", cp); printf("Can't find a nroff - come again\n"); exit(1); } while (wait(&i) != -1) continue; } donroff(nis, what) char *nis, *what; { execl(nis, "nroff", "-h", "man0/naa", what, 0); } strcpy(to, from) register char *to, *from; { while (*to++ = *from++) continue; } strcat(after, with) register char *after, *with; { while (*after) after++; strcpy(after, with); } manwhere.cÞé9¤�n/* * manwhere - where is something in the manual * * Author: Bill Joy UCB August 29, 1977 * * Manwhere tells which sections of the manual a given program is in. * If given the magic argument '-' it prints only ones which arent in * the manual. */ extern int fout; int only; main(argc, argv) int argc; char *argv[]; { int i, pvec[2], section, io, tty[3]; io = open("/usr/adm/manwherelog", 1); if (io > 0 && fork() == 0) { char buf[100]; register char *cp; fout = io; seek(io, 0, 2); if (getpw(getuid(), buf)) exit(1); for (cp = buf; *cp && *cp != ':'; cp++) continue; *cp = 0; printf("%c %-8s man", ttyn(1), buf); for (i = 1; i <= argc; i++) printf(" %s", argv[i]); putchar('\n'); flush(); exit(0); } close(io); if (chdir("/usr/man") < 0) { fout = 2; printf("Can't chdir to /usr/man\n"); exit(1); } argc--, argv++; if (argv[0][0] == '-') { argc--, argv++; only++; } if (argc == 0) { fout = 2; printf("Usage: manwhere [ - ] name ...\n"); exit(1); } section = 0; do { manwhere(argv[0]); argc--, argv++; } while (argc > 0); exit(0); } int found; manwhere(name) char *name; { found = 0; lookfor("manx/", name, "", 1); lookfor("/mnt/pascal/man6/", name, "P", 0); switch (only) { case 0: if (found == 0) printf("%-14s\t\tNO ENTRY", name); putchar('\n'); break; case 1: if (found == 0) printf("%s\n", name); break; } } lookfor(path, name, prefix, change) char *path, *name, *prefix; int change; { char work[100]; char stbuf[36]; int xaddr, last, section; strcpy(work, path); xaddr = strlen(path) - 2; strcat(work, name); strcat(work, ".x"); last = strlen(work) - 1; for (section = '1'; section <= '9'; section++) { if (change) work[xaddr] = section; work[last] = section; if (stat(work, stbuf) >= 0) { found++; if (!only) { if (found == 1) printf("%-14s", name); printf(" %s%c", prefix, section); } } } } strcpy(to, from) register char *to, *from; { while (*to++ = *from++) continue; } strcat(after, with) register char *after, *with; { while (*after) after++; strcpy(after, with); } mkstr.cÞé9¤�a # /* * mkstr - create a string error message file by massaging C source * * Bill Joy UCB August 1977 * * Based on an earlier program conceived by Bill Joy and Chuck Haley * * Program to create a string error message file * from a group of C programs. Arguments are the name * of the file where the strings are to be placed, the * prefix of the new files where the processed source text * is to be placed, and the files to be processed. * * The program looks for 'error("' in the source stream. * Whenever it finds this, this and the following characters from the '"' * to a '"' are replaced by 'error(seekpt' where seekpt is a * pointer into the error message file. * If the '(' is not immediately followed by a '"' only the name change * occurs. * * The optional '-' causes strings to be added at the end of the * existing error message file for recompilation of single routines. */ extern fout; int ibuf[259], sbuf[259]; int stbuf[18]; char addon; char *progname; char usagestr[] "usage: %s [ - ] mesgfile prefix file ...\n"; char name[100], *np; int seekpt; main(argc, argv) int argc; char *argv[]; { argc--, progname = *argv++; if (argc > 1 && argv[0][0] == '-') addon++, argc--, argv++; if (argc < 3) printf(usagestr, progname), exit(1); if (addon == 0 || (sbuf[0] = open(argv[0], 1)) < 0) if (fcreat(argv[0], sbuf) < 0) perror(argv[0]), exit(1); fstat(sbuf[0], stbuf); seekpt = stbuf[5]; seek(sbuf[0], 0, 2); argc--, argv++; fout = dup(1); strcpy(name, argv[0]); np = name + strlen(name); argc--, argv++; do { strcpy(np, argv[0]); close(1); if (creat(name, 0644) < 0) perror(name), exit(1); fout = dup(1); close(0); if (fopen(argv[0], ibuf) < 0) perror(argv[0]), exit(1); process(); flush(); close(fout); argc--, argv++; } while (argc > 0); fflush(sbuf); } process() { register char *cp; register c; for (;;) { c = getc(ibuf); again: if (c == -1) return; if (c != 'e') { putchar(c); continue; } c = nomatch("error("); if (c != -1) goto again; printf("error("); c = getc(ibuf); if (c != '"') putchar(c); else copystr(); } } nomatch(ocp) char *ocp; { register char *cp; register c; for (cp = ocp + 1; *cp; cp++) { c = getc(ibuf); if (c != *cp) { while (ocp < cp) putchar(*ocp++);  return (c); } } return (-1); } copystr() { register c, ch; printf("%d", seekpt); ch = -1; for (;;) { c = ch; ch = -1; if (c == -1) c = getc(ibuf); switch (c) { case '"': putc(0, sbuf); putc('\n', sbuf); seekpt =+ 2; return; case '\\': c = getc(ibuf); switch (c) { case 'b': c = '\b'; break; case 't': c = '\t'; break; case 'r': c = '\r'; break; case 'n': c = '\n'; break; case '\n':  continue; case 'f': c = '\f'; break; case '0': c = 0; break; case '\\': break; default: if (!octdigit(c)) break; c =- '0'; ch = getc(ibuf); if (!octdigit(ch)) break; c =<< 7, c =+ ch - '0'; ch = getc(ibuf); if (!octdigit(ch)) break; c =<< 3, c=+ ch - '0', ch = -1; break; } } putc(c, sbuf), seekpt++; } } octdigit(c) char c; { return (c >= '0' && c <= '7'); } strcpy(to, from) register char *to, *from; { while (*to++ = *from++) continue; } mvall.cÞé9¤�lchar buf[100]; main(argc, argv) char **argv; { register i; register char *c1, *c2; if(argc < 3) { write(2, "arg count\n", 10); exit(); } argc--; c1 = buf; c2 = argv[argc]; while(*c1++ = *c2++); c1[-1] = '/'; *c1++ = '.'; *c1 = '\0'; for(i=1; i 0) { argp = argv[0]; if (*argp++ != '-') break; argc--, argv++; while (*argp) switch (*argp++) { case 'n': nflg++; continue; case 'c': cflg++; continue; case 'g': gflg++; continue; case 'u': uflg++; continue; case 'r': rflg = -1; continue; case 'p': pflg++; continue; default: continue; } } do { if (argc > 0) argc--, name = *argv++; else name = "a.out"; close(0); if (open(name, 0) < 0) { perror(name); continue; } if (read(0, &header, sizeof header) != sizeof header) { Perror(name, "Cannot read header"); continue; } if (header.magic < 0407 || header.magic > 0411) { Perror(name, "Not object file"); continue; } lseek(0, 0, header.txt_size, 1); lseek(0, 0, header.data_size, 1); /* data */ if (!header.no_reloc) { lseek(0, 0, header.txt_size, 1); lseek(0, 0, header.data_size, 1); } n = ldiv(0, header.sym_size, 12); if (n == 0) { Perror(name, "No name list"); continue; } brk(initbrk); nlp = sbrk(n * 12); if (read(0, nlp, n * 12) != n * 12) { Perror(name, "Error reading"); continue; } if (pflg == 0) qsort(nlp, n, 12, compare); if (Argc > 1) printf("%s:\n", name); for (i = 0; i < n; i++) { if (gflg && (nlp->typ & 040) == 0) goto out; if (cflg) { if (nlp->name[0] != '_') goto out; for (j = 0; j < 7; j++) nlp->name[j] = nlp->name[j+1]; nlp->name[7] = '\0'; } j = nlp->typ & 037; if (j > 4) j = 1; if (j == 0 && nlp->val) j = 5; if (uflg && j != 0) goto out; if (!uflg) { if (j == 0) printf(" "); else printo(nlp->val); printf("%c ", (nlp->typ&040? "UATDBC":"uatdbc")[j]); } printf("%.8s\n", nlp); out: nlp++; } flush(); } while (argc > 0); } compare(p1, p2) register struct nl *p1, *p2; { int a, i; a = 0; if (nflg) { if (p1->val > p2->val) { a = 1; goto out; } if (p1->val < p2->val) { a = -1; goto out; } } for (i = 0; i < 8; i++) if (p1->name[i] != p2->name[i]) { if (p1->name[i] > p2->name[i]) a = 1; else a = -1; goto out; } out: return (a * rflg); } printo(v) { int i; printf("%c", v<0?'1':'0'); for (i = 0; i < 5; i++) { printf("%c", ((v>>12)&7)+'0'); v =<< 3; } } Perror(name, mesg) char *name, *mesg; { extern char *sys_errlist[]; extern int errno; sys_errlist[0] = mesg; errno = 0; perror(name); } long longof(l)  long l; { return (l); } number.cÞê9¤�k# /* * number - a cat like program which prints lines like the editor '#'' command * * Bill Joy UCB June 28, 1977 */ int ibuf[259]; extern fout; int lino; main(argc, argv) int argc; char *argv[]; { register c; register lastc; fout = dup(1); argc--, argv++; do { if (argc > 0) { if (fopen(argv[0], ibuf) < 0) { flush(); perror(argv[0]); flush(); exit(1); } argc--, argv++; } lastc = '\n'; for (;;) { c = getc(ibuf); if (c == -1) break; if (lastc == '\n') printf("%6d ", ++lino); lastc = c; putchar(c); } } while (argc > 0); flush(); exit(0); } osethome.cÞì9¤�K/* * sethome - show/change the home directory entry in htmp * * Bill Joy UCB May/June/September 1977 */ struct htmp { int uid; char home[28]; int ttytype; } hentry; char buf[100]; int uid, tty; char htmp[]; main(argc, argv) int argc; char *argv[]; { register char *bufp, *cp; register int i; uid = getuid();  if (uid == 0) exit(0); tty = ttyn(2); if (tty == 'x') { printf("Unit 2 not teletype\n"); exit(1); } if (argc > 2) { printf("Usage: sethome [ homedir ]\nor: sethome -\n"); exit (1); } if (argc == 2 && argv[1][0] == '-') { if (hget(tty) < 0) { printf("Error reading data base\n"); exit(1); } printf("%s\n", hgethome()); exit(0); } loggedon(tty); if (argc == 1) { if (getpw(uid, buf)) { printf("Uid %d not in password file\n", uid); exit(1); } bufp = buf; for (i = 1; i < 6; i++) { while (*bufp != ':') if (*bufp++ == 0) { printf("Uid %d bad passwd entry\n", uid); exit(1); } bufp++; } for (cp = bufp; *cp && *cp != ':'; cp++) continue; *cp = 0; } else bufp = argv[1]; if (hget(tty) < 0) { perror(htmp); exit(1); } hsethome(bufp); hsetuid(uid); if (hput(tty) < 0) { perror(htmp); exit(1); } exit(0); } char utmp[] "/etc/utmp"; loggedon(tty) int tty; { int utio; struct utmp { char name[8]; char tty; char fill; long timeon; char uid; char gid; } uentry; struct stb { char minor; char major; int inumber; int flags; char nlinks; char suid; char sgid; char size0; int size1; int addr[8]; int actime[2]; int modtime[2]; } stbuf; register char *tp; if (uid == 0) return; tp = "/dev/ttyx"; tp[8] = tty; if (stat(tp, &stbuf)) { perror(tp); exit(1); } if (stbuf.suid == (uid & 0377) && stbuf.sgid == (uid >> 8)) return; utio = open(utmp, 0); if (utio < 0) { uerr: perror(utmp); exit(1); } seek(utio, tty * sizeof uentry, 0); if (read(utio, &uentry, sizeof uentry) != sizeof uentry) { close(utio); goto uerr; } close(utio); if (uentry.uid == (uid & 0377) && uentry.gid == (uid >> 8)) return; printf("NOT super-user\n"); exit(1); } pascals.cÞê9¤�r/* * pcs - C front end for pascals * * Author: Bill Joy UCB June 1977 * * This program implements Pascals as though it were * a real program with a syntax: * * pcs program * * Note that it is too large to be interpreted with a px that * does not run in separate i/d space. */ char pcs[] "/usr/lib/pascals"; main(argc, argv) int argc; char *argv[]; { if (argc != 2) { printf("Usage: %s file\n", argv[0]); exit (1); } close(0); if (open(argv[1], 0) < 0) { perror(argv[1]); exit(1); } execl("/bin/px", "px", pcs, 0); execl("/usr/bin/px", "px", pcs, 0); write(2, "Can't find px\n", 14); exit(1); } pcc.cÞê9¤�·/* * pcc - interpret Pascal carriage control * * Bill Joy UCB January/July 1977 */ char *progname; int owenl; int ibuf[259]; extern fout; main(argc, argv) int argc; char *argv[]; { register c; fout = dup(1); argc--, argv++; do { if (argc > 0) { close(0); if (fopen(argv[0], ibuf) < 0) { flush(); if (owenl) putchar('\n'); perror(argv[0]); flush(); exit(1); } argv++, argc--; } for (;;) { c = getc(ibuf); if (c == -1) break; if (c == '\014') { feed: putchar(c); if (owenl) { putchar('\n'); owenl = 0; }  continue; } switch (c) { case '1': if (owenl) { putchar('\014'); putchar('\n'); } break; case '0': putchar('\n'); case ' ': if (owenl) putchar('\n'); break; case '+': putchar('\r'); break; default: if (owenl) putchar('\n'); break; case '\n': putchar('\n'); continue; } owenl = 1; for (;;) { c = getc(ibuf); if (c == -1 || c == '\n') break; if (c == '\014') goto feed; putchar(c); } } } while (argc > 0); if (owenl) putchar('\n'); flush(); exit(0); } rpix.cÞê9¤�ð# /* * pix - pi then px * * Bill Joy UCB August 26, 1977 */ #define ERRS 1 char *name; int onintr(); main(argc, argv) int argc; char *argv[]; { register char **av; register int ac; int i, io, pid, status; do io = open("/dev/null", 0); while (io >= 0 && io < 3); for (io = 3; io < 15; io++) close(io); signal(2, onintr); for (ac = 1; ac < argc; ac++) if (dotted(argv[ac], 'p')) { ac++; break; } name = "-o/tmp/pixaXXXXX" + 2; mktemp(name); for (;;) { io = creat(name, 0400); if (io > 0) break; if (name[8] == 'z') { perror(name); exit(1); } name[8]++; } pid = fork(); if (pid == -1) { write(2, "No more processes\n", 18); onintr(); } if (pid == 0) { if (io != 3) { write(2, "Impossible error in pix\n", 24); onintr(); } argv[ac] = 0; argv[0] = name - 2; execv("/bin/pi", argv); execv("/usr/bin/pi", argv); write(2, "Can't find pi\n", 14); onintr(); } close(io); do i = wait(&status); while (i != pid && i != -1); if (i == -1 || (status & 0377)) onintr(); if (status != 0) { if ((status >> 8) == ERRS) write(2, "Execution suppressed due to compilation errors\n", 47); onintr(); } ac--; argv[ac] = name - 2; argv[argc] = 0; execv("/bin/px", &argv[ac]); execv("/usr/bin/px", &argv[ac]); write(2, "Can't find px\n", 14); onintr(); } dotted(cp, ch) char *cp, ch; { register int i; i = strlen(cp); return (i > 1 && cp[i - 2] == '.' && cp[i - 1] == ch); } onintr() { signal(2, 1); unlink(name); exit(1); } pq.cÞê9¤�ñ/* * pq - print the quota file affecting you most immediately * * Kurt Shoens UCB July, 1977 */ struct { char minor; /* +0: minor device of i-node */ char major; /* +1: major device */ int inumber; /* +2 */ int flags; /* +4: see below */ char nlinks; /* +6: number of links to file */ char uid; /* +7: user ID of owner */ char gid; /* +8: group ID of owner */ char size0; /* +9: high byte of 24-bit size */ int size1; /* +10: low word of 24-bit size */ int addr[8]; /* +12: block numbers or device number */ int actime[2]; /* +28: time of last access */ int modtime[2]; /* +32: time of last modification */ } inode; main(ct,av) char **av; { int i,lastnode; if (ct==1) { lastnode=0; stat(".",&inode); while (lastnode != inode.inumber) { lastnode=inode.inumber; if (quota(".q")) { pq(".q"); exit(0); } chdir(".."); stat(".",&inode); } exit(9); } for (i=1;i 1) pid = atoi(argv[1]); printf("PID = %d\n", pid); if(chdir("/dev") < 0) { printf("cannot change to /dev\n"); done(); } setup(&nl[0], "_proc"); setup(&nl[1], "_swapdev"); nlist("/unix", &nl); if (nl[0].type==0) { printf("No namelist\n"); done(); } coref = "/dev/mem"; if ((mem = open(coref, 0)) < 0) { printf("No mem\n"); done(); } swmem = open(coref, 0); /* * Locate proc table */ if (getproc(pid)) { printf("No proc\n"); done(); } /* * get u area */ getdev(); if (setcom()) { printf("No U. area\n"); done(); } pproc(); pudot(); pfile(); psig(); done(); } /* * print process table information */ pproc() { register *p; p = proc; printf("stat nice sig uid gid pgrp ppid wchan clock\n"); printf("%4d %4d %5o %4d %4d %5d %5d %6o %5d\n", p->p_stat, p->p_nice, p->p_sig, p->p_uid&0377, (p->p_uid>>8)&0377, p->p_pgrp, p->p_ppid, p->p_wchan, p->p_clktim); } pudot() { register *p, *n; int j, k, jj, kk; p = ua; n = inode; getino(p->u_cdir);  j = p->u_ttyd.d_major & 0377; k = p->u_ttyd.d_minor & 0377; jj = n->i_dev.d_major & 0377; kk = n->i_dev.d_minor & 0377; printf("ruid rgid direct inode tty dev cdir\n"); printf("%4d %4d %14s %6d %2d/%-2d %2d/%-2d %5d\n", p->u_ruid&0377, p->u_rgid&0377, p->u_dent.u_name, p->u_dent.u_ino, j, k, jj, kk, n->i_number); } pfile() { register *p, *n, i; int j, k; int t1, t2, t3; p = ua[0].u_ofile; n = &inode[0]; printf(" files inodes\n"); printf("num type count count dev inum uid gid\n"); for (i=0; i < NOFILE; i++) { if (*p != 0) { seek(mem, *p, 0); read(mem, file, sizeof file[0]); getino(file[0].f_inode); t1 = t2 = t3 = ' '; if (file[0].f_flag & FREAD) t1 = 'R'; if (file[0].f_flag & FWRITE) t2 = 'W'; if (file[0].f_flag & FPIPE) t3 = 'P'; j = n->i_dev.d_minor; k = n->i_dev.d_major; printf("%3d %c%c%c %5d %4d %2d/%-2d %4d %4d %4d\n", i, t1, t2, t3, file[0].f_count, n->i_count, j, k, n->i_number, n->i_uid&0377, n->i_gid&0377); } p++; } } psig() { register *p, i, s; p = ua; printf(" signals\n"); for (i=0; i< NSIG; i++) { if ((s=p->u_signal[i]) == 0) continue; if (s & 01) printf("%3d %5d ignored\n", i, s); else printf("%3d %5d caught\n", i, s); } } getproc(a) { register *p, i; seek(mem, nl[0].value, 0); p = proc; for (i=0; ip_pid==a) return(0); } return(1); } getino(a) { seek(mem, a, 0); read(mem, inode, sizeof inode[0]); } getdev() { register struct { int dir_ino; char dir_n[14]; } *p; register i, c; int f; char dbuf[512]; int sbuf[20]; seek(mem, nl[1].value, 0); read(mem, &nl[1].value, 2); f = open("/dev", 0); if(f < 0) { printf("cannot open /dev\n"); done(); } swap = -1; c = 0; loop: i = read(f, dbuf, 512); if(i <= 0) { close(f); if(swap < 0) { printf("no swap device\n"); done(); } return; } while(i < 512) dbuf[i++] = 0; for(p = dbuf; p < dbuf+512; p++) { if(p->dir_ino == 0) continue;  if(swap >= 0) continue; if(stat(p->dir_n, sbuf) < 0) continue; if((sbuf->iflags & 060000) != 060000) continue; if(sbuf->iaddr[0] == nl[1].value) swap = open(p->dir_n, 0); } goto loop; } setup(p, s) char *p, *s; { while (*p++ = *s++); } setcom() { baddr = 0; laddr = 0; if (proc[0].p_flag&SLOAD) { laddr = proc[0].p_addr; mf = swmem; } else { baddr = proc[0].p_addr; mf = swap; } baddr =+ laddr>>3; laddr = (laddr&07)<<6; seek(mf, baddr, 3); seek(mf, laddr, 1); if (read(mf, &ua[0], 512) != 512) return(1); return(0); } done() { exit(); } pssÞê9í�8ps axl | grep -v " - *[0123456789ij]*$" | sort +0.48 public.cÞê9¤�‘# /* * public - make a file available to the world * * Author: Chuck Haley * * Yet another setuserid security problem! */ #define PUBLICID 8 char buf[512]; main(argc, argv) char *argv[]; { char *c, *cp, *c1; int out; int stbuf[18]; int i, j, k, pf; int file; if (argc == 1) { printf("usage: public file1 file2 ... filen\n"); exit(0); } pf = open("/usr/adm/publog", 1); seek(pf, 0, 2); while (--argc) { c = *++argv; if (access(c, 4) < 0) { printf("%s: cannot read!!!\n", c); continue; } if (stat(c, stbuf) < 0) { printf("%s: cannot stat\n", c); continue; } if ((stbuf[2] & 060000)) { printf("%s: ", c); if ((stbuf[2] & 060000) == 040000) printf("directory\n"); else printf("special file\n"); continue; } if ((stbuf[2] & 5) == 0) { printf("%s: neither read nor execute access for others\n", c); continue; } cp = c - 1; while (*c) if (*c == '/') cp = c++; else c++; c = c1 = "/usr/public/xxxxxxxxxxxxxxx"; c =+ 12; cp++; while (*c++ = *cp++); if ((i = open(c1, 0)) >= 0) { printf("%s: file already exists\n", c1); continue; } close(i); file = open(*argv, 0); out = creat(c1, stbuf[2] & 0777); chown(c1, PUBLICID); while ((i = read(file, buf, 512)) > 0) write(out, buf, i); close(1); dup(pf); printf("%d,%d\t%s\n", getuid() & 0377, (getuid() >> 8) & 0377, c1); close(1); dup(2); } } erepeat.cÞê9¤�~/* * repeat count command * * Author: Jeff Schriebman */ char *args[100]; char string[10000]; main(argc, argv) int argc; char *argv[]; { int i,knt,status; char **argp, *strp, *p; if(argc < 3) { printf("arg count\n"); exit(); } argc--; argv++; knt= a2i(*argv++); argc--; argp = args; strp = string; for (i=0; i<9; i++) *strp++ = "/usr/bin/"[i]; for(i=0; i='0' & ch<='9') { n=n*10+(ch-'0'); ch=strng[i++]; }; return(sign*n); } reset.cÞê9¤�Hmain() { struct tty { char ispeed,ospeed; char erase,kill; int trash; } tet; gtty(2,&tet); tet.erase = 010; tet.kill = '@'; tet.trash = 0332; stty(2,&tet); exit(0); /* * reset - set the teletype mode bits to be sensible, erase to ^H, kill to @ * * Kurt Shoens * * Very useful after crapping out in raw. */ } rmtree.cÞê9¤‘I# /* UCB rmtree * rmtree dir . . . * author: Kurt Shoens * recursively removes files and directories * in a subtree. The -v flag prevents it from * removing the final directory, ie the one * you specify. The incredible danger of * this program must by now be apparent to you. It * asks you if you are sure on each argument. */ #define ENOTDIR 20 #define ENOENT 2 #define STACKSIZE 1024 int vflag; int errs; int fflag; int cflag; int active; /* set warnflag true to get "last chance before . . . " */ int warnflag 1; char pathname[STACKSIZE]; char *pathptr; char *myname; extern errno; main(ct,av) char **av; { int level,i,thiser; char crap[36]; setuid(getuid()); myname = av[0]; /* * if (getuid()) * { * printf("sorry, not super user\n"); * exit(1); * } */ if (ct<2) { usage(myname); exit(9); } for (i=1;i= pathname + STACKSIZE) panic("path name too long"); pathptr--; } panic(str) char *str; { prs("PANIC: "); prs(str); prs("\n"); exit(1); } krout.cÞë9¤�R# /* * Rout - rout out the shit in /tmp * Bill Joy UCB October 12, 1977 */ /* Current definition of shit is anything not accessed for 3 hours */ #define SHITTIME 60 * 60 * 3 main() { struct { int inum; char name[16]; } dirent; char name[30]; long tvec; struct { char major, minor; int inumber; int flags; char nlinks; char uid, gid; char size0; int size1; int addr[8]; long actime, modtime; } stbuff; close(0); if (chdir("/tmp") < 0) { perror("/tmp"); exit(1); } if (open(".", 0) < 0) { perror("/tmp"); exit(1); } time(&tvec);  dirent.name[14] = 0; while(read(0, &dirent, sizeof dirent - 2) == sizeof dirent - 2) { if (dirent.inum == 0) continue; #define eq(a, b) strcmp(a, b) == 0 if (eq(dirent.name, ".")) continue; if (eq(dirent.name, "..")) continue; if (eq(dirent.name, ".q")) continue; if (stat(dirent.name, &stbuff)) continue; if ((stbuff.flags & 060000) == 040000) continue; if (tvec - stbuff.actime >= SHITTIME) { psecs(tvec - stbuff.actime); printf(" %s\n", dirent.name); unlink(dirent.name); } } } psecs(l) long l; { register int i; i = l / 3600.0; if (i) { p2dig(i); printf(":"); i = l % 3600; p2dig(i / 60); goto minsec; } i = l; p2dig(i / 60); minsec: i =% 60; printf(":"); p2dig(i); } p2dig(i) int i; { prn(i / 10); prn(i % 10); } prn(n) int n; { register a; a = n / 10; if (a != 0) prn(a); n = n % 10 + '0'; putchar(n); } strcmp(cp, dp) register char *cp, *dp; { while (cp[0] && dp[0] && *cp == *dp) cp++, dp++; if (*cp == 0 && *dp == 0) return (0); return (1); } sess.cÞë9¤�J /* * sess - determines clock time used so far this session by this user * or for tty or user supplied as an argument * * Author: Howard Katseff * * Note that 'sess ~' gives time since system last started. */ struct {long l1;}; struct {char c1, c2, c3, c4;}; char buf[32]; main(argc, argv) char **argv; { int f, i; char t[2], *p; long lx; int intrp(); t[1] = 0; f = open("/usr/adm/wtmp", 0); if (f < 0) { printf("Can't open /usr/adm/wtmp\n"); exit(); } fstat(f, buf); lx.c2 = 0; lx.c1 = buf[9]; lx.c3 = buf[10] & 0360; lx.c4 = buf[11]; blseek(f, lx, 0); if (argc <= 1) { t[0] = ttyn(2); p = t; } else p = argv[1]; if ((signal(2,1) && 01) == 0) signal(2, &intrp); for (;;) { if (bread(f, buf+16, -16) < 16) exit(); lx =- 16; if (equal(p, buf)) { if (*(p+1) != '\0') { t[0] = buf[8]; p = t; blseek(f, lx+16, 0); while(bread(f, buf, 16) > 0) if (equal(p, buf)) goto l1; blseek(f, lx, 0); bread(f, buf, 16); l1:; } time(&lx); lx =+ 231231630 - (buf+10)->l1; printf("Elapsed time:"); if (lx < 231318030) printf(" %5.5s", 11+ctime(&lx)); else printf(" %ld + %5.5s",(lx-231231630)/86400, 11+ctime(&lx)); if (buf[0] == '\0' && *p != '~') printf(" since logout\n"); else putchar('\n'); exit(); } } } equal(c1, c2) char *c1, *c2; { int i; if (*(c1+1) == '\0') { if (*c1 == *(c2+8)) return(1); else return(0); } for (i=0; i<8; i++) { if (*c1 == '\0') return(*c2 == ' '); if (*c1++ != *c2++) return(0); } return(1); } intrp() { register char *q; signal(2,1); q = ctime(buf+10); printf("interrupted at %10.10s %5.5s \n", q, 11+q); exit(); } /* * NAME: bread(), brseek(), blseek() * * DESCRIPTION: * This is a buffered read package which simulates read(), seek() and * lseek(). * Bread may be called with a negative nbytes which causes it to * read backwards . In this case, buffer should point to the first * byte following the buffer. If only a partial read is possible * (due to beginning of file), only the last bytes of the buffer * will be filled. */ int i, j, k; int nl, nr; char *next; char b[512]; bread(file, buff, nbytes) char *buff; { register nb; if (nbytes > 0) { for (nb=nbytes; nb>0; nb--) { if (nr == 0) { nr = read(file, next=b, 512); nl = 0; if (nr < 0) return(-1); if (nr == 0) return(nbytes-nb); } *buff++ = *next++; nr--; nl++; } } else { nbytes = -nbytes; for (nb=nbytes; nb>0; nb--) { if (nl == 0) { seek(file, -(512 + nr), 1); nl = read(file, b, 512); if (nl < 0) { for (k=511; k>0; k--) { seek(file, 1, 1); nl = read(file, b, k); if (nl >= 0) break; } if (nl < 0) return(nbytes-nb); } if (nl == 0) return(nbytes-nb); next = b + nl; nr = 0; } *--buff = *--next; nr++; nl--; } } return(nbytes); } brseek(file, offset, flag) { nl = 0; nr = 0; return(seek(file,offset,flag)); } blseek(file, offset, flag) long offset; { nl = 0; nr = 0; return(lseek(file,offset,flag)); } sethome.c5iH¤�"/* * sethome - show/change the home directory entry in htmp * * Bill Joy UCB May/June/September 1977 */ struct htmp { int uid; char home[28]; int ttytype; } hentry; int mask 0377; char buf[100]; int uid, tty; char htmp[]; main(argc, argv) int argc; char *argv[]; { register char *bufp; uid = getuid() & mask; if (uid == 0 && argc > 1) { write(2, "Can't change home for root\n", 28); exit(0); } tty = ttyn(2); if (tty == 'x') { printf("Unit 2 not teletype\n"); exit(1); } if (argc > 2) { printf("Usage: sethome [ homedir ]\n"); exit (1); } if (argc == 1) { if (hget(tty) < 0) { printf("Error reading data base\n"); exit(1); } printf("%s\n", hgethome()); exit(0); } loggedon(tty); bufp = argv[1]; if (hget(tty) < 0) { perror(htmp); exit(1); } hsethome(bufp); hsetuid(uid); if (hput(tty) < 0) { perror(htmp); exit(1);  } exit(0); } char utmp[] "/etc/utmp"; loggedon(tty) int tty; { int utio; struct utmp { char name[8]; char tty; char fill; long timeon; char uid; char gid; } uentry; struct stb { char minor; char major; int inumber; int flags; char nlinks; char suid; char sgid; char size0; int size1; int addr[8]; int actime[2]; int modtime[2]; } stbuf; register char *tp; #ifdef INGRES return; #endif if (uid == 0) return; tp = "/dev/ttyx"; tp[8] = tty; if (stat(tp, &stbuf)) { perror(tp); exit(1); } if (stbuf.suid == (uid & 0377) && stbuf.sgid == (uid >> 8)) return; utio = open(utmp, 0); if (utio < 0) { uerr: perror(utmp); exit(1); } seek(utio, tty * sizeof uentry, 0); if (read(utio, &uentry, sizeof uentry) != sizeof uentry) { close(utio); goto uerr; } close(utio); if (uentry.uid == (uid & 0377) && uentry.gid == (uid >> 8)) return; printf("NOT super-user\n"); exit(1); } size.cÞë9¤�z# /* * size - determine object size * * Modified by Bill Joy UCB August 23, 1977 * to work correctly on "large" objects by using longs. */ struct { int magic; int txt_size; int data_size; int bss_size; int sym_size; int entry_loc; int unused; int no_reloc; } header; long txt_size; long data_size; long bss_size; long total; long longof(); main(Argc, argv) int Argc; char *argv[]; { register char *name; extern int fout; register int argc; fout = dup(1); Argc--, argv++; argc = Argc; do { close(0); if (argc > 0) argc--, name = *argv++; else name = "a.out"; if (open(name, 0) < 0) { perror(name); continue; } if (read(0, &header, sizeof header) != sizeof header) { Perror(name, "Can't read header"); continue; } if (header.magic < 0407 || header.magic > 0411) { Perror(name, "Not object file"); continue; } if (Argc > 1) printf("%s: ", name); txt_size = longof(0, header.txt_size); data_size = longof(0, header.data_size); bss_size = longof(0, header.bss_size); printf("%ld+%ld+%ld=", txt_size, data_size, bss_size); total = txt_size + data_size + bss_size; printf("%ld (%lo)\n", total, total); flush(); } while (argc > 0); } Perror(name, mesg) char *name, *mesg; { extern char *sys_errlist[]; extern int errno; sys_errlist[0] = mesg; errno = 0; perror(name); } long longof(l) long l; { return (l); } soelim.cÞë9¤�Œ# /* * soelim - a filter to process n/troff input eliminating .so's * * Author: Bill Joy UCB July 8, 1977 * * This program eliminates .so's from a n/troff input stream. * It can be used to prepare safe input for submission to the * phototypesetter since the software supporting the operator * doesn't let him do chdir. * * This is a kludge and the operator should be given the * ability to do chdir. * * This program is more generally useful, it turns out, because * the program tbl doesn't understand ".so" directives. */ #define EOF -1 extern fout; main(argc, argv) int argc; char *argv[]; { argc--; argv++; fout = dup(1); if (argc == 0) { printf("Usage: %s file [ file ... ]\n", argv[-1]); exit(1); } do { process(argv[0]); argv++; argc--; } while (argc > 0); flush(); exit(0); } process(file) char *file; { register char *cp; register char c; char fname[100]; int ibuf[259]; if (fopen(file, ibuf) < 0) { flush(); perror(file); flush(); exit(1); } for (;;) { c = getc(ibuf); if (c == EOF) break; if (c != '.') goto simple; c = getc(ibuf); if (c != 's') { putchar('.'); goto simple; } c = getc(ibuf); if (c != 'o') { printf(".s"); goto simple; } do c = getc(ibuf); while (c == ' ' || c == '\t'); cp = fname; for (;;) { switch (c) { case ' ': case '\t': case '\n': case EOF: goto donename; default: *cp++ = c; c = getc(ibuf); continue; } } donename: if (cp == fname) { printf(".so"); goto simple; } *cp++ = 0; process(fname); continue; simple: if (c == EOF) break; putchar(c); } close(ibuf[0]); } squash.cÞë9¤�/* * squash - use the loader to squash unuseful stuff out of object files * * Bill Joy UCB August 24, 1977 * * This program is faster than a shell script * which would serve just as well. */ main(argc, argv) int argc; char *argv[]; { int child, status, i; argc--, argv++; while (argc > 0) { i = fork(); if (i < 0) { write(2, "No more processes\n", 18); exit(1); } if (i == 0) { doit("/usr/bin/nld", argv[0]); doit("/bin/nld", argv[0]); doit("/bin/ld", argv[0]); doit("/usr/bin/ld", argv[0]); write(2, "Can't find loader\n", 18); exit(1); } do child = wait(&status); while (child != -1 && child != i); if (child == -1) { write(2, "Impossible return from wait\n", 28); exit(1); } if (status & 0377) { write(2, "Loader process faulted\n", 23); unlink("x.out"); exit(1); } if (((status >> 8) & 0377) > 1) { unlink("x.out"); exit(1); } if (unlink(argv[0])) { unlink("x.out"); perror(argv[0]); exit(1); } if (link("x.out", argv[0])) { unlink("x.out"); perror(argv[0]); exit(1); } if (unlink("x.out")) { perror("x.out"); exit(1); } argc--; argv++; } exit(0); } doit(who, what) char *who, *what; { execl(who, "ld", "-S", "-X", "-r", "-o", "x.out", what, 0); } (ssp.cÞë9¤�ì/* * ssp - single space output * * Bill Joy UCB August 25, 1977 * * Compress multiple empty lines to a single empty line. * Option - compresses to nothing. */ char poof, hadsome; int ibuf[259]; extern int fout; main(argc, argv) int argc; char *argv[]; { register int c; argc--, argv++; do { while (argc > 0 && argv[0][0] == '-') { poof = 1; argc--, argv++; } if (argc > 0) { if (fopen(argv[0], ibuf) < 0) { flush(); perror(argv[0]); exit(1); } argc--, argv++; } for (;;) { c = getc(ibuf); if (c == -1) break; if (c != '\n') { hadsome = 1; putchar(c); continue; } /* * Eat em up */ if (hadsome) putchar('\n'); c = getc(ibuf);  if (c == -1) break; if (c != '\n') { putchar(c); hadsome = 1; continue; } do c = getc(ibuf); while (c == '\n'); if (!poof && hadsome) putchar('\n'); if (c == -1) break; putchar(c); hadsome = 1; } } while (argc > 0); } strip.cÞë9¤�# /* * strip - strip object module * * Modified by Jeff Schriebman UCB * to have -t flag to use to strip /unix * since it is on a small file system. * * Modified by Bill Joy UCB * to once again take more than one argument */ struct { int magic; int txt_size; int data_size; int bss_size; int sym_size; int entry_loc; int unused; int no_reloc; } header, new_header; char tflg; char *tmp; char *in, *out; main(argc, argv) int argc; char *argv[]; { register char *name, *cp; argc--, argv++; if (argc > 0 && argv[0][0] == '-') { if (argv[0][1] != 't') { Perror("Usage: ", "strip [ -t ] name ..."); exit(1); } tflg++; argc--, argv++; } if (argc == 0) *--argv = "a.out", argc++; while (argc > 0) { argc--, name = *argv++; close(0); if (open(name, 0) < 0) { perror(name); exit(1); } close(1); cp = "/tmp/stma"; cp[8] = 'a'; for (;;) { if (creat(tmp, 0400) > 0) break; if (tmp[8] == 'z') { perror(tmp); exit(1); } tmp[8]++; } if (read(0, &header, sizeof header) != sizeof header) { Perror(name, "Error reading header"); unlink(tmp); continue; } if (header.magic < 0407 || header.magic > 0411) { Perror(name, "Not object file"); unlink(tmp); continue; } copy(&new_header, &header, sizeof new_header); if (tflg) { new_header.txt_size = 0; new_header.data_size = 0; new_header.bss_size = 0; } else { new_header.sym_size = 0; new_header.no_reloc = 1; } in = name; out = tmp; if (write(1, &new_header, sizeof new_header) != sizeof new_header) { perror(tmp); unlink(tmp); exit(1); } if (tflg == 0) { copy01(header.txt_size); copy01(header.data_size); } else { lseek(0, 0, header.txt_size, 1); lseek(0, 0, header.data_size, 1); if (header.no_reloc == 0) { lseek(0, 0, header.txt_size, 1); lseek(0, 0, header.data_size, 1); } copy01(header.sym_size); } close(0); if (open(tmp, 0) < 0) { perror(tmp); unlink(tmp); exit(1); } close(1); if (creat(name, 0644) < 0) { perror(name); unlink(tmp); exit(1); } in = tmp; out = name; copy01(sizeof new_header); copy01(new_header.txt_size); copy01(new_header.data_size); copy01(new_header.sym_size); unlink(tmp); } } Perror(file, mesg) { extern int errno; extern char *sys_errlist[]; sys_errlist[0] = mesg; errno = 0; perror(file); } copy(to, from, bytes) register char *to, *from; register int bytes; { if (bytes > 0) do *to++ = *from++; while (--bytes != 0); } copy01(ct) int ct; { register int i, j, n; char buf[512]; for (i = ct; i != 0; i =- j) { if (i > 512 || i < 0) j = 512; else j = i; if (read(0, buf, j) != j) { perror(in); unlink(tmp); exit(1); } if (write(1, buf, j) != j) { perror(out); unlink(tmp); exit(1); } } } lsyswatch.cÞë9¤� # /* * syswatch - login-logout monitoring * * Author: Howard Katseff UCB May/August 1977 * * Syswatch monitors all logins and logouts on the system. * It is a companion routine to watch which monitors specific * users. The difference between these two routines is that * the linked list stuff in watch has been abolished here in favor * of a simpler scheme. * * ROOTDEV and NULLDEV are for determining when a user's tty has * been chfile'd to /dev/null, in which case, the user has logged * out and is probably no longer interested in the results of * this program. * * This check will not work on non-UCB type UNIX'es. * The check should be changed, or the syswatch killed explicitly. */ #define DLATENCY 15 #define ROOTSYS ((5<<8) | 8) #define NULLDEV ((8<<8) | 2) int lastuser,valid; int zero[2]; char *who_file "/etc/utmp"; char *nil 0177777; struct t_entry { char name[10]; char tty; int time[2]; int valid; } people[128], newpeople[128]; struct utmp { char Xname[10]; char Xtty; char pad1; int ltime[2]; int pad2; }; main(ct,av) char **av; { register i; register char *cp,*cp2; int *p,pid,LATENCY; LATENCY = DLATENCY; p = -2; if (pid=fork()) { printf("%d\n",pid); exit(0); } signal(2,1); signal(3,1); build(); for (i=0;i<128;++i) assign(people[i].name, newpeople[i].name); for (;;) { execute(); sleep(LATENCY); } } execute() { register i; int buf[18]; if (fstat(1, buf)) exit(0); if (buf[0] == ROOTSYS && buf[6] == NULLDEV) exit(0); valid++; build(); for (i=0;i<128;++i) { if (!dcmp(newpeople[i].time,people[i].time)) { report(i); assign(people[i].name, newpeople[i].name); } } } build() { register fd,i; struct utmp line; if ((fd=open(who_file,0)) < 0) { perror(who_file); exit(1); } for (i=0;i<128;++i) newpeople[i].time[0] = newpeople[i].time[1] = 0; while (getuser(fd,&line)) { i = line.Xtty; newpeople[i].valid = valid; copy(line.Xname, newpeople[i].name); newpeople[i].tty = i; newpeople[i].time[0] = line.ltime[0]; newpeople[i].time[1] = line.ltime[1]; } close(fd); } assign(l,r) struct t_entry *l,*r; { copy(r->name, l->name); l->tty = r->tty; l->time[0] = r->time[0]; l->time[1] = r->time[1]; l->valid++; } getuser(f,w) struct utmp *w; { register c; char buf[16]; c = read(f,buf,16); if (c != 16) return(0); for (c=0;c<8;++c) w->Xname[c] = (buf[c] == 040 ? 0 : buf[c]); w->Xname[8] = 0; w->Xtty = buf[8]; if (w->Xname[0] == 0) { w->ltime[0] = w->ltime[1] = 0; return(16); } w->ltime[0] = ctoi(buf[11],buf[10]); w->ltime[1] = ctoi(buf[13],buf[12]); return(16); } copy(c1,c2) char *c1,*c2; { while (*c2++ = *c1++); } equal(left,right) char *left,*right; { while (*left && *right) { if (*left != *right) return(0); ++left; ++right; } return(*left == *right); } dcmp(a,b) int a[],b[]; { return(a[0]==b[0] && a[1]==b[1]); } ctoi(a,b) char a,b; { return(((a & 0377) << 8) | (b & 0377)); } report(t) char t; { if (dcmp(people[t].time, zero)) { printf("%s on tty%c %s",newpeople[t].name,t,ctime(newpeople[t].ltime)); return; } if (dcmp(newpeople[t].time,zero)) { printf("%s on tty%c logged out.\n",people[t].name,t); return; } printf("%s on tty%c logged out.\n",people[t].name,t); printf("%s on tty%c %s",newpeople[t].name,t,ctime(newpeople[t].ltime)); } ticktock.cÞë9í�(/* * ticktock - a nice big clock on a soft copy terminal * * Author: Ivan Maltz June, 1977 */ main() { char *buf; int tvec[2],f; while (1) { time(tvec); buf = ctime(tvec); buf =+ 9; buf[0] = buf[1] = ' '; buf[7] = 0; fix(&buf[2]); printf(""); f = fork(); if (f == 0) execl("/usr/bin/block","block","3","@"," ",buf,0); wait(&f); printf("\n\n\n\n\n\n\n"); time(tvec); buf = ctime(tvec); buf =+ 11; buf[8] = 0; fix(&buf[0]); printf("%s",buf); while (buf[6] <= '5') { printf("%s",buf); if (buf[7]++ == '9') { buf[7] = '0'; buf[6]++; } sleep(1); } } } fix(c) char *c; { switch (c[0]) { case '0': if (c[1] == '0') { c[0] = '1'; c[1] = '2'; } else { c[0] = ' '; } break; case '1': if (c[1] > '2') { c[0] = ' '; c[1] =- 2; } break; case '2': if (c[1] <= '1') { c[0] = ' '; c[1] =+ 8; } else { c[0] = '1'; c[1] =- 2; } break; } } toc.cÞë9¤�”/* * toc - convert to card format * * Author: Howard Katseff UCB June, 1977 * * Toc converts the specified file or the standard input * to card format for submission over an unfriendly medium * such as the rcs link. * The original input can then be recovered by froc. */ int c 1; char table[] "abcdefghijklmnopqrstuvwxyz0123456789.,/$-"; char nl '\012'; extern int ldivr; main(argc, argv) int argc; char *argv[]; { int w, k; register n, i; argc--, argv++; if (argc > 1) { write(2, "Usage: toc [ file ]\n", 20); exit (1); } if (argc == 1) {  close(0); if (open(argv[0], 0) < 0) { perror(argv[0]); exit(1); } } for(;;) { w = 0; n = bread(0, &w, 2); if( n==0 ) { if(c!= 1) bwrite(1,&nl,1); wflush(1); return; } for(i = 1; i <= 3; i++) { w = ldiv(0, w, 41); bwrite(1, &table[ldivr], 1); if (c++ >= 80) { c = 1; bwrite(1,&nl, 1);; } if(i==2 && n==1) break; } } } extern bytecnt; extern linecnt; int n; char *next; char b[512]; bread(file,buff,nbytes) char *buff; { register int nb; nb = nbytes; while(nb) { if(n==0) { n = read(file,next=b,512); if(n<0) return(-1); if(n==0) return(nbytes-nb); } bytecnt++; if (*next == '\n') linecnt++; *buff++ = *next++; n--; nb--; } return(nbytes-nb); } brseek(file, offset, flag) { n = 0; linecnt = 1; bytecnt = 0; return(seek(file, offset, flag)); } int wn; char wb[512]; bwrite(file,buff,nbytes) char *buff; { register int nb; nb=nbytes; while(nb) { if(wn==512) { if(512 != write(file,wb,512)) return(-1); wn = 0; }  wb[wn++] = *buff++; nb--; } return(nbytes); } wflush(file) { if(wn) write(file,wb,wn); } transcribe.cÞë9¤�/* * transcribe [ - ] [ -delay ] file * Bill Joy UCB May 1977 * * watch a file and copy it out * as it grows. default interval for * copying is 15 seconds. * option - suppresses complete file from being copied out * and only gives new stuff. */ int stbuf[18]; char buf[512]; int i; int offset; int interval 15; int timeleft 32000; char *progname; int whole 1; main(argc, argv) int argc; char *argv[]; { progname = *argv++; argc--; nxtarg: if (argc > 1 && argv[0][0] == '-' && argv[0][1] == 0) { argc--; argv++; whole = 0; goto nxtarg; } if (argc > 1 && argv[0][0] == '+') { timeleft = getdel(argv[0] + 1); argc--; argv++; goto nxtarg; } if (argc > 1 && argv[0][0] == '-') { interval = getdel(argv[0] + 1); argv++; argc--; goto nxtarg; } if (argc != 1) { printf("Usage: %s [ - ] [ -interval ] file\n", progname); exit(1); } if (interval <= 0) { printf("Unreasonable interval\n"); exit(1); } close(0); if (open(argv[0], 0) < 0) { perror(argv[0]); exit(1); } if (whole == 0) { fstat(0, stbuf); offset = stbuf[5]; } do { fstat(0, stbuf); if (stbuf[5] > offset) { seek(0, offset, 0); while ((i = read(0, buf, sizeof buf)) > 0) { offset =+ i; write(1, buf, i); } } sleep(interval); timeleft =- interval; } while (timeleft > 0); } getdel(cp) char *cp; { register int j; j = 0; do { number(*cp); j = j * 10 + *cp++ - '0'; } while (*cp); return (j); } number(c) char c; { if (c < '0' || c > '9') { printf("Bad number for interval\n"); exit(1); } } tset.cÞê9¤‘Ÿ/* ** TSET -- set terminal modes ** ** Eric Allman -- 10/77 */ char Erase_char; /* new erase character */ char Kill_char; /* new kill character */ struct ttymode { char ibaud, obaud; /* input & output baud rates */ char erase, kill; /* erase and kill characters */ int mode; /* other modes */ }; char Ttyn; /* terminal number */ char *Ttytype; /* type of terminal */ char *Dialtype; /* override type if dialup terminal */ int Dash_u; /* update htmp flag */ int Dash_h; /* read htmp flag */ char Usage[] "usage: tset [-eC] [-kC] [-fT] [-dT] [-tN] [-h] [-u]\n"; # define BACKSPACE ('H' & 037) # define CONTROLX ('X' & 037) # define FILEDES 1 char Capbuf[256]; /* line from /etc/ttycap for this Ttytype */ main(argc, argv) int argc; char *argv[]; { struct ttymode mode; char buf[256]; char *bufp; register char *p; register int i; int error; int mdvect[2]; extern char ttycap[]; /* scan argument list and collect flags */ error = 0; while ((p = *++argv) != -1) { if (p[0] == '-') { switch (p[1]) { case 'e': /* erase character */ if (p[2] == 0) Erase_char = BACKSPACE; else Erase_char = p[2]; continue; case 'k': /* kill character */ if (p[2] == 0) Kill_char = CONTROLX; else Kill_char = p[2]; continue; case 'f': /* force processing */ if (p[2] == 0) Ttytype = "pd"; else Ttytype = &p[2]; continue; case 'd': /* dialup type */ Dialtype = &p[2]; continue; case 't': /* terminal number */ Ttyn = p[2]; continue; case 'h': /* get type from htmp */ Dash_h++; continue; case 'u': /* update htmp */ Dash_u++; continue; } } prs("Bad flag "); prs(p); prs("\n"); error++; } if (error) { prs(Usage); exit(1); } /* change standard output if -t flag specified */ if (Ttyn != 0) { p = "/dev/ttyx"; p[8] = Ttyn; i = open(p, 1); if (i < 0) { prs("Cannot open "); prs(p); prs("\n"); exit(1); } close(FILEDES); dup(i); close(i); } /* find terminal type */ if (Ttytype == 0) { /* -f not specified */ if (Ttyn == 0) { /* no -t flag either */ Ttyn = ttyn(FILEDES); } /* get type from /etc/ttytype or /etc/htmp */ if (Dash_h) { hget(Ttyn); Ttytype = hsgettype(); } else { Ttytype = stypeof(Ttyn); } /* check for dialup override */ if (Dialtype != 0 && Ttytype[0] == 'd' && Ttytype[1] == 'u') { Ttytype = Dialtype; Dash_u++; } } /* Ttytype now contains a pointer to the type of the terminal */ if (gtty(FILEDES, &mode) < 0) { prs("Standard output not a terminal\n"); exit(1); } /* get terminal capabilities */ switch (tgetent(Capbuf, Ttytype)) { case -1: prs("Cannot open "); prs(ttycap); prs("\n"); exit(-1); case 0: prs("Type "); prs(Ttytype); prs(" unknown\n"); exit(1); } /* determine erase and kill characters */ if (Erase_char == 0) { if (mode.erase == 0) Erase_char = '#'; if (tgetflag("bs") && !tgetflag("os")) Erase_char = BACKSPACE; } setek("Erase", &mode.erase, Erase_char); if (Kill_char == 0 && mode.kill == 0) Kill_char = '@'; setek("Kill", &mode.kill, Kill_char); /* set modes */ tgetmodes(mdvect); mode.mode =& ~mdvect[0]; mode.mode =| mdvect[1]; stty(FILEDES, &mode); /* output startup string */ bufp = buf; if (tgetstr("if", &bufp) != 0) cat(buf); bufp = buf; if (tgetstr("is", &bufp) != 0) prs(buf); /* update htmp */ if (Dash_u) { if (Ttyn == 0) Ttyn = ttyn(FILEDES); if (Ttyn == 'x') prs("Cannot update htmp\n"); else { if (!Dash_h) { /* get old htmp entry */ if (hget(Ttyn) < 0) { perror("htmp"); exit(-1); } } hsettype(Capbuf[0] | (Capbuf[1] << 8)); hput(Ttyn); } } exit(0); } setek(name, old, new) char *name; char *old; char new; { register char *p; if (new == 0 || new == *old) return; *old = new; prs(name); prs(" set to "); if (new < 040) { prs("control-"); new = (new & 037) | 0100; } p = "x\n"; p[0] = new; prs(p); } prs(s) char *s; { register char *p; register char *q; register int i; p = q = s; i = 0; while (*q++ != 0) i++; if (i > 0) write(FILEDES, p, i); } cat(file) char *file; { register int fd; register int i; char buf[512]; fd = open(file, 0); if (fd < 0) { prs("Cannot open "); prs(file); prs("\n"); exit(-1); } while ((i = read(fd, buf, 512)) > 0) write(FILEDES, buf, i); close(fd); } )ttytype.c5'H¤�® # /* * ttytype - maintain ttytype field in htmp * * Bill Joy September 24, 1977 */ char usagestr[] "usage: ttytype [ -n ] [ [ -d ] type ]\n"; int mask 0377; char htmp[], ttycap[]; char buf[512], quickie; main(argc, argv) int argc; char *argv[]; { int uid, tty, type; tty = ttyn(2); if (tty == 'x') { write(1, "Unit 2 not teletype\n", 20); exit(1); } argc--, argv++; type = typeof(tty); while (argc > 0 && argv[0][0] == '-') { switch (argv[0][1]) { case 'd': if (type != 'du') exit(1); break; case 'n': listtypes(); exit(0); case 0: quickie++; break; default: usage: write(2, usagestr, sizeof usagestr); exit(1); } argc--, argv++; } if (argc > 1) goto usage; if (argc == 0) { if (hget(tty) < 0) { perror(htmp); exit(1); } if (!quickie) { printf("%s\n", longname(buf, hgettype())); exit(0); } argv--; argv[0] = hsgettype(); } switch (tgetent(buf, argv[0])) { case -1: perror(ttycap); exit(1); case 0: printf("%s: Unknown terminal type\n", argv[0]); exit(1); } if (quickie) { printf("%s\n", buf); exit(0); } if (hget(tty) < 0) { perror(htmp); exit(1); } hsettype(buf[0] | (buf[1] << 8)); if (hput(tty) < 0) { perror(htmp); exit(1); } exit (0); } longname(bp, type) register char *bp; int type; { register char *cp; static char tyname[3]; tyname[0] = type & 0377; tyname[1] = (type >> 8) & 0377; tyname[2] = 0; switch (tgetent(bp, tyname)) { case -1: perror(ttycap); exit(1); case 0: return (tyname); } while (*bp && *bp != ':' && *bp != '|') bp++; if (*bp == '|') { bp++; cp = bp; while (*cp && *cp != ':' && *cp != '|') cp++; *cp = 0; return (bp); } return (tyname); } listtypes() { register int unit; register int c; int ibuf[259]; unit = fopen(ttycap, ibuf); if (unit < 0) { perror(ttycap); exit(1); } c = 0; for (;;) { c = getc(ibuf); if (c == -1) exit(0); c = getc(ibuf); c = getc(ibuf); c = getc(ibuf); while (c != -1 && c != '\n' && c != ':') { if (c == '|') c = ' '; putchar(c); c = getc(ibuf); } putchar('\n'); while (c != '\n' && c != -1) c = getc(ibuf); } } char utmp[] "/etc/utmp"; loggedin(tty) int tty; { int utio; struct utmp { char name[8]; char tty; char fill; long timeon; char uid; char gid; } uentry; struct stb { char minor; char major; int inumber; int flags; char nlinks;  char suid; char sgid; char size0; int size1; int addr[8]; int actime[2]; int modtime[2]; } stbuf; register char *tp; int uid; #ifdef INGRES return; #endif uid = getuid() & mask; if (uid == 0) return; tp = "/dev/ttyx"; tp[8] = tty; if (stat(tp, &stbuf)) { perror(tp); exit(1); } #ifdef INGRES if (stbuf.suid == (uid & 0377)) #endif #ifndef INGRES if (stbuf.suid == (uid & 0377) && stbuf.sgid == (uid >> 8)) #endif return; utio = open(utmp, 0); if (utio < 0) { uerr: perror(utmp); exit(1); } seek(utio, tty * sizeof uentry, 0); if (read(utio, &uentry, sizeof uentry) != sizeof uentry) { close(utio); goto uerr; } close(utio); if (uentry.uid == (uid & 0377) && uentry.gid == (uid >> 8)) return; printf("NOT super-user\n"); exit(1); } ulpr.cÞë9¤�¤# /* * ulpr - a filter to speed underlined output to lpr * * Author : Bill Joy UCB June 21, 1977 * * This program replaces lpr for stupid printer drivers who * waste enroormous amounts of time underlining.  * It has one bad habit - overstriking with anything other than '_' * disappears. */ #define LINSIZ 512 char linbuf[LINSIZ], ulinbuf[LINSIZ]; char anyul; int ibuf[259]; extern fout; main(argc, argv) int argc; char *argv[]; { register char *lp, *ulp; char *maxlp; int pvec[2], i; register c; int col; pipe(pvec); i = fork(); if (i == -1) { perror("lpr"); exit(1); } if (i == 0) { close(pvec[1]); close(0); dup(pvec[0]); execl("/bin/lpr", "lpr", 0); execl("/usr/bin/lpr", "lpr", 0); perror("/usr/bin/lpr"); exit(1); } close(1); dup(pvec[1]); close(pvec[0]); fout = dup(1); argc--; argv++; do { if (argc > 0) { if (fopen(argv[0], ibuf) < 0) { flush(); perror(argv[0]); flush(); exit(1); } argc--; argv++; } line: lp = linbuf; ulp = ulinbuf; col = 0; maxlp = lp; for (;;) { c = getc(ibuf); if (c == -1) { flush(); break; } switch (c) { case ' ': *lp++ = c; *ulp++ = ' '; col++; break; case '\t': do { col++; *lp++ = ' '; *ulp++ = ' '; } while (col & 7); break; case '\n': if (lp > maxlp) maxlp = lp; *maxlp = 0; while (ulp >= ulinbuf) switch (*--ulp) { case ' ': --lp; continue; case '_': --lp; if (*lp == ' ') { *lp = '_'; continue; } default: ulp[1] = 0; if (ulinbuf[0]) printf("%s\r", ulinbuf); ulp = 0; } printf("%s\n", linbuf); goto line; case '_': if (lp >= maxlp) *lp = ' '; lp++; *ulp++ = '_'; col++; break; case '\b': if (lp > maxlp) maxlp = lp; if (lp >= linbuf) { lp--; ulp--; col--; } break; default: col++; if (lp >= maxlp) *ulp = ' '; else if (*lp != ' ') *ulp = *lp; *lp++ = c; ulp++; break; } } } while (argc > 0); flush(); } watch.cÞë9¤�ï# /* * watch - watch for logins/logouts of specified users * * Author: Howard Katseff UCB July, 1977 * * Watch watches the specified users and reports their logins * and logouts. If no people are specified, watch execl's its * companion routine, syswatch, which watches over the whole system. */ #define NUSERS 20 #define LATENCY 15 #define ROOTSYS ((5<<8) | 8) #define NULLDEV ((8<<8) | 2) int lastuser,valid; char *who_file "/etc/utmp"; char *syswatch "/usr/pascal/syswatch"; char *nil 0177777; struct { char name[10];  struct t_entry *tlink; } users[NUSERS]; struct t_entry *checkout(), *talloc(); struct t_entry { char tty; int time[2]; struct t_entry *flink; struct t_entry *blink; int valid; }; struct utmp { char Xname[10]; char Xtty; char pad1; int ltime[2]; int pad2; }; main(ct,av) char **av; { register i; register char *cp,*cp2; int *p,pid,count; signal(2,1); signal(3,1); if (ct < 2) { execl(syswatch, "- ", 0); perror(syswatch); exit(1); } p = -2; if (pid=fork()) { printf("%d\n",pid);  exit(0); } i = 0; while (--ct) { cp = users[i].name; cp2 = *++av; copy(cp2,cp); users[i++].tlink = nil; } lastuser = --i; *p = -1; for (;;) { ++count; count =& 037; if (!count) if (fork()) exit(0); execute(); sleep(LATENCY); } } execute() { struct utmp line; struct t_entry *t; register fd,i; int buf[18]; if (fstat(1,buf)) exit(0); if (buf[0] == ROOTSYS && buf[6] == NULLDEV) exit(0); if (*buf == ctoi(2,8)) exit(0); fd = open(who_file,0); if (fd < 0) { perror(who_file); sleep(90); return; } ++valid; while (getuser(fd,&line)) { i = 0; while (i <= lastuser) { if (equal(line.Xname, users[i].name)) { if (t=cdrondown(users[i].tlink,&line)) users[i].tlink = t; break; } ++i; } } for (i=0;i<=lastuser;++i) if (t=checkout(users[i].name,users[i].tlink)) users[i].tlink=t; close(fd); } cdrondown(tlist,wholine) struct t_entry *tlist; struct utmp *wholine; { struct t_entry *t,*save; save = tlist; while (tlist != nil) { if (dcmp(tlist->time,wholine->ltime)) { tlist->valid = valid; return(0); } tlist = tlist->flink; } /* this tty not on the user's tty list, so it's a new entry */ t = talloc(); t->time[0] = wholine->ltime[0]; t->time[1] = wholine->ltime[1]; t->tty = wholine->Xtty; t->valid = valid; t->flink = save; if (save != nil) save->blink = t; t->blink = nil; message(wholine->Xname,t->tty,t->time); return(t); } struct t_entry *checkout(user,tlist) struct t_entry *tlist; char *user; { struct t_entry *t,*rvalue; rvalue = 0; while (tlist != nil) { if (tlist->valid != valid) { t = tlist; printf("%s on tty%c logged out.\n",user,t->tty); if (t->blink == nil) rvalue = t->flink; else (t->blink)->flink = t->flink; if (t->flink != nil) (t->flink)->blink = t->blink; tlist = t->flink; free(t); } else tlist=tlist->flink; } return(rvalue); } struct t_entry *talloc() { struct t_entry sam; return(alloc(sizeof sam)); } getuser(f,w) struct utmp *w; { register c; char buf[16]; c = read(f,buf,16); if (c != 16) return(0); for (c=0;c<8;++c) w->Xname[c] = (buf[c] == 040 ? 0 : buf[c]); w->Xname[8] = 0; w->Xtty = buf[8]; w->ltime[0] = ctoi(buf[11],buf[10]); w->ltime[1] = ctoi(buf[13],buf[12]); return(16); } dcmp(a,b) int a[],b[]; { return(a[0]==b[0] && a[1]==b[1]); } message(nm,tty,tim) char *nm,tty; int tim[]; { char *cvtime; cvtime = ctime(tim); cvtime[16]=0; cvtime =+ 4; printf("%s tty%c %s\n",nm,tty,cvtime); } copy(c1,c2) char *c1,*c2; { while (*c2++ = *c1++); } equal(left,right) char *left,*right; { while (*left && *right) { if (*left != *right) return(0); ++left; ++right; } return(*left == *right); } ctoi(a,b) char a,b; { return(((a & 0377) << 8) | (b & 0377)); } twc.cÞë9¤�f/* * wc - line and word count * * Modified by Bill Joy UCB August 5, 1977 * * Also prints character count thus output is * * lines words characters file * * The option '-' suppresses all the noise and gives * word counts only. */ int ibuf[259]; long wordct, linect, charct; long twordct, tlinect, tcharct; char *name; char summary; char simple; main(argc, argv) int argc; char *argv[]; { int i, token; register c; argc--, argv++; if (argc && argv[0][0] == '-') simple = 1, argc--, argv++; summary = argc > 1; do { if (argc > 0) { close (0); if (fopen(argv[0], ibuf) < 0) { perror(argv[0]); argc--, argv++; continue; } argc--, name = *argv++; } else name = ""; linect = 0; wordct = 0; charct = 0; token = 0; for (;;) { c = getc(ibuf); if (c == -1) break; charct++; if (c == '\n') { linect++; token = 0; continue; } if (c == ' ' || c == '\t') token = 0; if (c > ' ' && c < 0177) { if (token == 0) wordct++; token = 1; continue; } } if (simple) printf("%7ld\n", wordct); else printf("%7ld %7ld %7ld %s\n", linect, wordct, charct, name); tlinect =+ linect; twordct =+ wordct; tcharct =+ charct; } while (argc > 0); if (summary == 0 || simple) exit (0); printf("%7ld %7ld %7ld total\n", tlinect, twordct, tcharct); exit(0); } where.cÞë9¤�¸main(narg,parg) int narg; char **parg; { char *cp1,*cp2; int fildes,found,iarg; char buffer[16]; int ttyname; fildes = open("/etc/utmp",0); for (iarg=1;iarg> 8; c2 =& 0377; if (c2 == 0) c2 = '\t'; close(0); if (fopen("/etc/ttywhere", 0) < 0) goto bye; for (;;) { c = getc(ibuf); if (c != 't') goto skipnl; c = getc(ibuf); if (c != 't') goto skipnl; c = getc(ibuf); if (c != 'y') goto skipnl; c = getc(ibuf); if (c != c1) goto skipnl; c = getc(ibuf); if (c != c2) goto skipnl; putchar('\t'); for (;;) { c = getc(ibuf); if (c == -1 || c == '\n') break; putchar(c); } close(0); skipnl: if (c == -1) break; while (c != '\n' && c != -1) c = getc(ibuf); } bye: putchar('\n'); } whoison.cÞë9¤‘72# /* * whoison - who is on the system * * Author: Bill Joy UCB May/July 1977 * * Inspired by a shell script written by Howard Katseff * and the who program and the program ttyfree by Chuck Haley. * * Whoison summarizes one or more of the following * * Users who aren't students in a class * Distribution of class users by class * Used, free, and unavail terminals grouped by * Evans, Cory, Phones, 11/10, and Private * * Options are: * * p print people * u print used * f print free * n print unavail * d print class distribution * s print summary * * Option "-" is equivalent to "-pufnd" * Default is "-pds". */ struct alias { char *aname; char auid, agid; } aliases[50]; struct dist { char *dname; struct dist2 *link; int cnt; } distrib[50]; struct dist2 { char *patt; char *next; }; #define USED 0 #define FREE 1 #define UNAVAIL 2 int total[3]; struct ttyw { char *tname; int tcnts[3]; char *ttys; } ttywhere[50]; #define NTTY 128 int count; int obuf[259]; struct utmp { char name[8]; char tty; char fill; long timeon; char uid; char gid; } utmpbuf[NTTY]; int status[NTTY]; #define P 1 /* people */ #define U 2 /* used */ #define F 4 /* free */ #define N 8 /* not available */ #define D 16 /* distribution */ #define S 32 /* summary */ int flags P|D|S|F; char usagestr[] "usage: %s [ -pufnds ]\n"; char *progname; char utmp[] "/etc/utmp"; char *winfo "/etc/winfo"; int qucmp(); int xargc; char **xargv; main(argc, argv) int argc; char *argv[]; { register char *argp; int i; register struct utmp *up; char c, d, e; int ibuf[259]; argc--; progname = *argv++; if (progname[0] == 'a') winfo = "winfo"; if (argc > 0) { flags = 0; while (argc > 0) { argp = argv[0]; if (*argp++ != '-') break; argc--, argv++; if (*argp == 0) flags = P|U|F|N|D; else while (*argp) switch(*argp++) { case 'p': flags =| P; continue; case 'u': flags =| U; continue; case 'f': flags =| F; continue; case 'n': flags =| N; continue; case 'd': flags =| D; continue; case 's': flags =| S; continue; default: usage: printf(usagestr, progname); exit(1); } } } xargc = argc; if (xargc > 0) flags =| P; xargv = argv; obuf[0] = 1; initdata(); close(0); if (open("/etc/utmp", 0) < 0) { printf("/etc/utmp: Cannot open\n"); fflush(obuf); exit(1); } read(0, utmpbuf, sizeof(utmpbuf)); close(0); for (i = 0, up = &utmpbuf; up < &utmpbuf[NTTY]; i++, up++) up->tty = i; qsort(utmpbuf, NTTY, sizeof utmpbuf[0], qucmp); if (open("/etc/ttys", 0) < 0) { printf("/etc/ttys: Cannot open\n"); fflush(obuf);  exit(1); } while ((c = getc(ibuf)) > 0) { d = getc(ibuf); status[d] = c - '0'; while ((c = getc(ibuf)) > 0 && c != '\n') continue; } close(0); for (up = &utmpbuf; up < &utmpbuf[NTTY]; up++) process(up); if (count && (flags & P)) printf("\n"); count = 0; if (flags & D) if ((flags & U) || !(flags & S)) if (pdist("") == 0) printf("\n"); count = 0; pwhere(USED, "used", flags & U); if (flags & D) if (!(flags & U) && (flags & S)) if (pdist(" (") == 0) printf(")\r"); if ((flags & U) || (flags & S) && (flags & D) && (flags & F)) if (count > 2) { printf("\n"); count = 0; } pwhere(FREE, "free", flags & F); if (flags & (U | F) && (flags & N)) if (count) { printf("\n"); count = 0; } if (flags & N) pwhere(UNAVAIL, "unavail", flags & N); if (count) printf("\n"); fflush(obuf); exit(0); } /* * Process a utmp entry, accounting for * this teletype in the statistics and printing * an entry for this tty via puser if this tty * is in use. Status negative indicates * that this tty has already been processed out * of order. */ process(up) register struct utmp *up; { if (status[up->tty] < 0) return; if (status[up->tty] == 0) { account(up->tty, UNAVAIL); return; } if (up->name[0] != 0) { account(up->tty, USED); puser(up); return; } account(up->tty, FREE); } char *whereat; /* * account for the argument tty to be in the * given state. We use the ttywhere information * to locate the place for this tty's statistics. * It is an error for a tty to be in any state but * unavail if it is not in any of the tty lists * (this likely corresponds to a need to update * the data in winfo). */ account(tty, state) int tty, state; { register struct ttyw *tp; status[tty] = -1; for (tp = ttywhere; tp->tname; tp++) if (any(tty, tp->ttys)) { tp->tcnts[state]++; total[state]++; whereat = tp->tname; return; } whereat = ""; if (state == UNAVAIL) return; printf("tty%c is %s???, \r", tty, state == USED ? "used" : "free"); total[state]++; } /* * print out a user if he is not a student. * We call rest on such users to do "and ...". */ puser(up) struct utmp *up; { register char *cp; register int i; register struct dist *dp; cp = up->name; for (i = 8; i != 0; i--) { if (*cp <= ' ' || *cp >= 0177) { *cp = 0; break; } cp++; } if (xargc > 0) { for (i = 0; i < xargc; i++) if (clmatch(xargv[i], up) || clmatch(xargv[i], whereat) || xargv[i][1] == 0 && xargv[i][0] == up->tty) break; if (i == xargc)  return; } else { for (dp = distrib; dp->dname; dp++) if (clmatch(dp, up)) { dodist(up); return; } } if (count) if (flags & P) printf(", \r"); count++; if (flags & P) printf("%0.8s on %c", up->name, ttyof(up->tty)); if (up->fill) pas(up); dodist(up); rest(up); } /* * find the rest of the instances of e.g. "root" * to do like "root on 5 and 8" */ rest(up) register struct utmp *up; { register struct utmp *aup; for (aup = up + 1; aup < &utmpbuf[NTTY]; aup++) if (same(up->name, aup->name)) { dodist(aup); aup->name[0] = 0; if (flags & P) printf(" and %c", ttyof(aup->tty)); if (aup->fill) pas(aup); account(aup->tty, USED); } } ttyof(t) char t; { return (t < ' ' ? '^' | ((t + 'a' - 1) << 8) : t); } /* * print "(as name)" when root is su'd to * someone else. */ pas(up) register struct utmp *up; { register struct alias *ap; for (ap = aliases; ap->aname; ap++) if (ap->auid == up->uid && ap->agid == up->gid) { if (flags & P) printf(" (as %s)", ap->aname); return; } if (flags & P) printf(" (as ???)"); } /* * dodist distributes up into the correct * "class" for the class summary. */ dodist(up) struct utmp *up; { register struct dist *dp; for (dp = distrib; dp->dname; dp++) if (clmatch(dp, up)) { dp->cnt++; return; } } clmatch(dp, up) register struct dist *dp; register struct utmp *up; { char clname[9]; register int i; register struct dist2 *lp; for (i = 0; i < 8; i++) clname[i] = up->name[i]; clname[8] = 0; for (i--; i >= 0 && clname[i] == ' '; i--) clname[i] = 0; if (dp > &clname) /* kludge to recognize members of argv */ return(amatch(clname, dp)); for (lp = dp->link; lp; lp = lp->next) if (amatch(clname, lp->patt)) return (1); return (0); } amatch(cp, pp) register char *cp, *pp; { while (*pp) switch (*pp) { case '?': if (*cp == 0) return (0); cp++; pp++; continue; case '*': pp++; for (;;) { if (amatch(cp, pp)) return (1); if (*cp++ == 0) return (0); } default: if (*cp++ != *pp++) return (0); } return (*cp == 0); } /* * pdist prints the classwise distribution */ pdist(l) char *l; { register struct dist *dp; for (dp = distrib; dp->dname; dp++) if (dp->cnt) { if (l) { printf(l); l = 0; } else printf(", \r"); printf("%d %s", dp->cnt, dp->dname); count++; } return (l); } /* * pwhere breaks down the teletypes in state * (which is called sname) by location. * nothing is printed if there are no such, * otherwise we terminate with \n. */ pwhere(state, sname, allinfo) int state, allinfo; char *sname; { register struct ttyw *tp; if ((flags & S) == 0 && allinfo == 0) return; if (count) printf(", \r"); count++; printf("%d %s\r", total[state], sname); if (allinfo == 0) return; sname = " ("; for (tp = ttywhere; tp->tname; tp++) if (tp->tcnts[state]) { printf("%s%d %s", sname, tp->tcnts[state], tp->tname); sname = ", \r"; count++; } if (sname[0] == ',')  printf(")\r"); } /* * SUBROUTINES */ /* * pref tells whether cp is a prefix of dp */ pref(cp, dp) register char *cp, *dp; { while (*cp && *cp == *dp) cp++, dp++; return (*cp == 0); } same(cp, dp) char *cp, *dp; { return (ucmp(cp, dp) == 0); } qucmp(cp, dp) struct utmp *cp, *dp; { register int i; i = ucmp(cp, dp); if (i == 0) i = cp->tty - dp->tty; return (i); } ucmp(cp, dp) register char *cp, *dp; { register int i; i = 8; while (*cp++ == *dp++) if (--i == 0) return (0);  --cp, --dp; if ((*cp == ' ' || *cp == 0) && (*dp == ' ' || *dp == 0)) return (0); return (*cp - *dp); } ucmpA(cp0, dp0) struct utmp *cp0, *dp0; { register char *cp, *dp; register int i; cp = &cp0->name[0]; dp = &dp0->name[0]; i = 8; while (*cp++ == *dp++) if (--i == 0) return (cp0->tty - dp0->tty); --cp, --dp; if ((*cp == ' ' || *cp == 0) && (*dp == ' ' || *dp == 0)) return (cp0->tty - dp0->tty); return (*cp - *dp); } /* * is c any of the characters in s ? */ any(c, s) char c; register char *s; { while (*s) if (c == *s++) return (1); return (0); } /* * The following definitions of putchar and item and the sav buffer * implement breakover formatting of the output. * Each carriage return character in the putchar stream '\r' * indicates that an item has come to an end and that a reasonable * place for a breakover is occuring. * * If this item will fit on the current line it is placed there * after output of the saved trailing blanks of the previous item. * If it will not fit there then the trailing blanks of the previous * line and the leading blanks of this line are discarded and the * item is placed on the next line. * * In any case a newline character causes the item buffer to be emptied. */ char sav[100]; char *savp sav; putchar(c) char c; { if (c != '\r') *savp++ = c; if (c == '\r' || c == '\n') item(); } item() { static int outcol, oweblanks; register char *cp; *savp = 0; cp = sav; if (outcol != 0 && outcol + oweblanks + (savp - sav) >= 79) { outcol = 0; putc('\n', obuf); } if (outcol == 0) { oweblanks = 0; while (*cp == ' ') cp++; } else for (; oweblanks > 0; oweblanks--) putc(' ', obuf); while (savp >= cp && *savp == ' ') oweblanks++, savp--; while (*cp) { putc(*cp, obuf); if (*cp++ == '\n') outcol = 0; else outcol++; } savp = sav; fflush(obuf); } char lastc; int ibuf[259]; int inline 1; initdata() { close(0); if (fopen(winfo, ibuf) < 0) { perror(winfo); fflush(obuf); exit (1); } inittty(); initdist(); initalias(); eof(); } inittty() { register struct ttyw *tp; for (tp = &ttywhere[0]; tp->tname = field(); tp++) { tp->ttys = tail(); eol(); } eol(); } initdist() { register struct dist *dp; register struct dist2 *lp; register char *cp; for (dp = &distrib[0]; dp->dname = field(); dp++) { while (lastc != '\n' && lastc != -1) { cp = tail(); lp = dp->link; dp->link = alloc(sizeof *lp); dp->link->patt = cp; dp->link->next = lp; } eol(); } eol(); } initalias() { register struct alias *ap; for (ap = &aliases[0]; ap->aname = field(); ap++) { ap->auid = number(1); ap->agid = number(0); eol(); } } inpanic(cp) char *cp; { printf("%s: %s, line %d\n", winfo, cp, inline); fflush(obuf); exit(1); } eol() { if (lastc != '\n') inpanic("Too many fields in line"); inline++; } eof() { if (getc(ibuf) != -1) inpanic("Too much data in file"); } field() { return (field1(1)); } tail() { return (field1(0)); } number(f) int f; { register char *cp; register int i; cp = field1(f); if (cp == 0) inpanic("Number expected"); i = 0; while (*cp >= '0' && *cp <= '9') i =* 10, i =+ *cp++ - '0'; if (*cp) inpanic("Badly formed number"); return (i); } field1(f) int f; { char buf[100]; register char *bp, c; bp = buf; for (;;) { c = getc(ibuf); switch (c) { case -1: case '\n': lastc = c; if (f) { if (bp == buf) return (0); inpanic("Missing ':'"); } case '|': case ':': lastc = c; if (f && bp == buf) inpanic("Empty field"); *bp++ = 0; return (savestr(buf)); default: if (bp >= &buf[99]) inpanic("Field too long"); *bp++ = c; } } } savestr(cp) char *cp; { return (strcpy(alloc(strlen(cp) + 1), cp)); } strcpy(oto, from) char *oto; register char *from; { register char *to; to = oto; while (*to++ = *from++) continue; return (oto); } Print.cÞì9¤�(# /* * p(rint) - cat to a crt with non-graphics escaped as '?'s like 'ex' and 'pc' * * Bill Joy UCB June 29, 1977 */ int ibuf[259]; extern fout; main(argc, argv) int argc; char *argv[]; { register c; fout = dup(1); argc--, argv++; do { if (argc > 0) { if (fopen(argv[0], ibuf) < 0) { flush(); perror(argv[0]); exit(1); } argc--, argv++; } for (;;) { c = getc(ibuf); if (c == -1) break; if (c < ' ' && c != '\n' && c != '\t') c = '?'; putchar(c); } } while (argc > 0); flush(); exit(0); } graphics escaped as '?'s like 'ex' and 'pc' * * Bill Joy UCB JeÿREAD_MEèܯ¤�ÜThese are the routines for manipulating the editor data bases. They live in ../s7/libX.a The program "Ttyn.c" is actually made by the program "makeTtyn" in ../s6... it produces a hashed version of "ttyn" called "Ttyn" which is useful because it runs much faster... it is however dependent on the structure of your /dev/. If you want the editor and ashell to start faster you can have them call a version of Ttyn which you can make using the program makeTtyn for your system. Ttyn.c耮¤��# # /* * Ttyn - a fast version of ttyn which hashes major minor device numbers * * Bill Joy UCB August 17, 1977 * * This routine can be called instead of calling 'ttyn' and stats * the specified unit, then looking in a table to determine * the unit number. If the given unit is not in the table the standard * 'ttyn' is called to get the answer. * * Generated: Fri Nov 4 15:08:27 1977 * No. ttys: 79 */ static struct T { char Tmajor; char Tfirst; char *Tttys; char Tlast; } Tttyinfo[] { 0, 0, "845=x_%!#0123679.", 16, 14, 0, "ABCDEFGHIJKLxNOPQRSTUVWXYZ\024\025\026\027\030\031abcdefghijklmnopqrstuvwyz+-,\001\002\003\005", 63, }; #define NMAJDEV 2 struct Stat { char xminor, xmajor; int inumber, flags; char nlinks, uid, gid, size0; int size1; char dminor, dmajor; int addr1[7]; long actime, modtime; }; Ttyn(unit) int unit; { register struct T *tp; struct Stat stbuf; if (fstat(unit, &stbuf)) return ('x'); for (tp = &Tttyinfo; tp < &Tttyinfo[NMAJDEV]; tp++) if (stbuf.dmajor == tp->Tmajor && stbuf.dminor >= tp->Tfirst && stbuf.dminor <= tp->Tlast) return (tp->Tttys[stbuf.dminor - tp->Tfirst]); return (ttyn(unit)); } ehtmpg.cèݯ¤�>/* * htmp - manipulation routines for "htmp" data base * Bill Joy UCB September 24, 1977 * << get routines >> */ struct htmp { int uid; char home[28]; int ttytype; } hentry; char htmp[] "/etc/htmp"; hget(tty) char tty; { register int hunit; hunit = open(htmp, 0); if (hunit < 0) goto bad; if (seek(hunit, tty * sizeof hentry, 0)) goto bad; if (read(hunit, &hentry, sizeof hentry) != sizeof hentry) { hentry.uid = 0; hentry.home[0] = '/'; hentry.home[1] = 0; hentry.ttytype = 'un'; } close(hunit); return (0); bad: close(hunit); return (-1); } hgethome() { return (hentry.home); } hgetuid() { return(hentry.uid); } hgettype() { return(hentry.ttytype); } hsgettype() { static char ttype[3]; ttype[0] = hentry.ttytype & 0377; ttype[1] = (hentry.ttytype >> 8) & 0377; return (ttype); } htmps.cèݯ¤�¿/* * htmp - manipulation routines for "htmp" data base * Bill Joy UCB September 24, 1977 * << set routines >> */ struct htmp { int uid; char home[28]; int ttytype; } hentry; char htmp[]; hput(tty) char tty; { register int hunit; hunit = open(htmp, 1); if (hunit < 0) return (-1); seek(hunit, tty * sizeof hentry, 0); if (write(hunit, &hentry, sizeof hentry) != sizeof hentry) goto bad; close(hunit); return (0); bad: close(hunit); return (-1); } hsethome(cp) char *cp; { register int i; for (i = 0; i < 27 && cp[i]; i++) hentry.home[i] = cp[i]; hentry.home[i] = 0; } hsetuid(uid) int uid; { hentry.uid = uid; } hsettype(type) int type; { hentry.ttytype = type; } [ttycap.cèݯ¤�± /* * ttycap - routines for dealing with the teletype capability data base * Bill Joy UCB September 25, 1977 */ char ttycap[] "/etc/ttycap"; extern char *tbuf; tgetent(bp, name) char *bp, *name; { register char *cp; register int cap, c; int ibuf[259]; tbuf = bp;  cap = fopen(ttycap, ibuf); if (cap < 0) return (-1); for (;;) { for (cp = bp, c = getc(ibuf); c != -1; c = getc(ibuf)) { if (c == '\n') { if (cp > bp && cp[-1] == '\\'){ cp--; continue; } break; } *cp++ = c; } *cp = 0; if (c == -1) { close(ibuf[0]); return (0); } if (tnamatch(name)) { close(ibuf[0]); return (1); } } } tnamatch(np) char *np; { register char *Np, *Bp; for (Bp = tbuf; *Bp && *Bp != ':'; Bp++) { for (Np = np; *Np && *Bp != '|' && *Bp != ':' && *Bp == *Np; Bp++, Np++) continue; if (*Np == 0 && (*Bp == '|' || *Bp == ':' || *Bp == 0)) return (1); while (*Bp && *Bp != ':' && *Bp != '|') Bp++; if (*Bp == 0) break; } return (0); } tskip(bp, i) register char *bp; register int i; { for (; i > 0; i--) { while (*bp && *bp != ':') bp++; if (*bp == ':') bp++; } return (bp); } tgetnum(id) char *id; { register int i, base; register char *bp; for (bp = tskip(tbuf, 3); *bp != 0; bp = tskip(bp, 1)) {  if (*bp++ != id[0] || *bp == 0 || *bp++ != id[1]) continue; if (*bp != '#') continue; bp++; base = 10; if (*bp == '0') base = 8; i = 0; while (*bp >= '0' && *bp <= '9') i =* base, i =+ *bp++ - '0'; return (i); } return (-1); } tgetflag(id) char *id; { register char *bp; for (bp = tskip(tbuf, 3); *bp; bp = tskip(bp, 1)) if (*bp++ == id[0] && *bp != 0 && *bp == id[1]) return (1); return (0); } tgetstr(id, area) char *id, **area; { register char *cp; register int i;  register char *bp; for (bp = tskip(tbuf, 3); *bp != 0; bp = tskip(bp, 1)) { if (*bp++ != id[0] || *bp == 0 || *bp++ != id[1]) continue; if (*bp != '=') continue; bp++; return (tdecode(bp, area)); } return (0); } tdecode(str, area) register char *str; char **area; { register char *cp; register int c; int i; cp = *area; while ((c = *str++) && c != ':') { switch (c) { case '^': if (*str >= 'a' && *str <= 'z') c = *str++ & 037; break; case '\\': switch (*str) { case 'E': str++; c = 033; break; case '^': case '\\': case ':': c = *str++; break; case 'n': c = '\n'; str++; break; case 'r': c = '\r'; str++; break; case 't': c = '\t'; str++; break; case 'b': c = '\b'; str++; break; default: if (*str >= '0' && *str <= '9') { c = 0, i = 3; do c =<< 3, c=| *str++ - '0'; while (--i && *str >= '0' && *str <= '9'); } else if (*str) c = *str++; break; } } *cp++ = c; } *cp++ = 0; str = *area; *area = cp; return (str); } =ttycap2.cè&®¤�¹/* * ttycap - routines for dealing with the teletype capability data base * Bill Joy UCB September 25, 1977 */ tgetmodes(tmvec) int *tmvec; { register int i; register char *bp; extern char *tbuf; bp = tskip(tbuf, 1); i = 0; while (*bp && *bp >= '0' && *bp <= '9') i =<< 3, i =| *bp++ - '0'; tmvec[0] = i; if (*bp == ':') bp++; i = 0; while (*bp && *bp >= '0' && *bp <= '9') i =<< 3, i =| *bp++ - '0'; tmvec[1] = i; } typeof.cèÞ¯¤�/* * typeof - return a 2 character teletype type code from /etc/ttywhere * Bill Joy UCB September 24, 1977 */ char ttytype[] "/etc/ttytype"; typeof(tty) char tty; { register int c, c2; int ibuf[259]; if (fopen(ttytype, ibuf) < 0) goto unknown; for (;;) { c = getc(ibuf); if (c == '\n' || c == -1) { unknown: close(ibuf[0]); return('uk'); } if (c == tty) { c = getc(ibuf); if (c == '\n' || c == -1) goto unknown; c2 = getc(ibuf); if (c2 == '\n' || c2 == -1) goto unknown; close(ibuf[0]); return (c2 << 8 | c); } do c = getc(ibuf); while (c != '\n' && c != -1); } } stypeof(tty) int tty; { static char stype[3]; tty = typeof(tty); stype[0] = tty& 0377; stype[1] = (tty >> 8) & 0377; return (stype); } or (;;) { c = getc(ibuf); if (c == '\n' || c == -1) { unknown: close(ibuf[0]); return('uk'); } if (These are the routines for manipulating the editor data bases. They live in ../s7/libX.a The program "Ttyn.c" is actually made by the program "makeTtyn" in ../s6... it produces a hashed version of "ttyn" called "Ttyn" which is useful because it runs much faster... it is however dependent on the structure of your /dev/. If you want the editor and ashell to start faster you can have them call a version of Ttyn which you can make using the program makeTtyn for your system. buf[0]); return('uk'); } if (eÿREAD_MEÞü9¤�×The glob2.c goes with the sh.c in s1. The login and su are here so hyou can see the (simple) changes needed to support the editor data base /etc/htmp. They need the routines in ../lib/libX.a See also ../s1/READ_ME glob2.cÞü9í‘­# /* * glob1 libs command arg ... * * Modified by: Bill Joy (UCB) Oct 1976 * * takes library name string from the shell * allows patterns to match directory names, i.e. "/mnt/c*?/.q" * knows about pascal object and forks px's */ char usagestr[] "usage: glob2 libs command arg ..."; char shell[] "/bin/sh"; char px[] "/bin/px"; #define PCXN 0404 #define E2BIG 7 #define ENOEXEC 8 #define ENOENT 2 #define STRSIZ 522 #define PTHSIZ 100 char *lib; char ab[STRSIZ]; char *ava[200]; char **av &ava[1]; char *string ab; int ncoll; char path[100]; char *pathp path; int globbed; char *entp; int errno; int stbuff[18]; main(argc, argv) char *argv[]; { register char *cp1, *cp2, *cpl; if (argc < 4) panic(usagestr); argv++; argc--; lib = *argv++; argc--; *av++ = *argv++; argc--; while (argc) { collect(*argv++); argc--; } if (ncoll==0) panic("No match"); cp1 = ava[1]; while(*cp1 && *cp1 != '/') cp1++; if (*cp1 || getuid()) execute(ava[1], &ava[1]); if (!*cp1) { if (cpl = lib) for(;;) { while ((*cpl & 0177) == ' ') cpl++; if (!*cpl) break; cp1 = path; while (*cpl =& 0177) if (*cpl == ' ') break; else if (cp1 >= &path[PTHSIZ-2]) patherr(); else *cp1++ = *cpl++; *cp1++ = '/'; cp2 = ava[1]; while(*cp1++ = *cp2++) if (cp1 >= &path[PTHSIZ]) patherr(); execute(path, &ava[1]); } cp1 = path; cp2 = "/usr/bin/"; while(*cp1++ = *cp2++) ; cp1--; cp2 = ava[1]; while(*cp1++ = *cp2++) if (cp1 >= &path[PTHSIZ]) patherr(); execute(path+4, &ava[1]); execute(path, &ava[1]); } prs(ava[1]); panic(": not found"); } execute(afile, aarg) char *afile; char **aarg; { register char *file, **arg; register i; int w; arg = aarg; file = afile; execv(file, arg); if (errno==ENOEXEC) { arg[0] = file; *--arg = shell; i = open(file, 0); if (i >= 0) { if (read(i, &w, 2) == 2 && w == PCXN) *arg = px; close(i); } execv(*arg, arg); prs("no "); prs(*arg); panic("!!"); } else if (errno==E2BIG) toolong(); } collect(as) { char **oav; oav = av; globbed = 0; expand(as); sort(oav); } sort(oav) char **oav; { register char **p1, **p2, **c; p1 = oav; while (p1 < av-1) { p2 = p1; while(++p2 < av) { if (compar(*p1, *p2) > 0) { c = *p1; *p1 = *p2; *p2 = c; } } p1++; } } expand(as) char *as; { register char *cs; char *spathp; register int dirf; static struct { int ino; char name[16]; } entry; spathp = pathp; cs = as; while (*cs != '*' && *cs != '?' && *cs != '[') { if (pathp >= &path[PTHSIZ]) patherr(); else if ((*pathp++ = *cs++) == 0) { if (!globbed) *av++ = cat(as, ""); else if (stat(path, &stbuff) >= 0) { *av++ = cat(path, ""); ncoll++; } goto endit; } } pathp = spathp; cs--; while (cs >= as && *cs != '/') cs--; while (as <= cs) if (pathp >= &path[PTHSIZ]) patherr(); else *pathp++ = *as++; *pathp = 0; dirf = open(path, 0); if (dirf<0) if (globbed) goto endit; else { prs(path); panic(": cannot open"); } globbed++; cs++; while (read(dirf, &entry, 16) == 16) { if (entry.ino==0) continue; if (match(entry.name, cs)) { *av++ = cat(path, entry.name); ncoll++; } } close(dirf); endit: pathp = spathp; *pathp = 0; } toolong() { panic("Arg list too long"); } patherr() { prs("Path too long: "); panic(path); } match(s, p) char *s, *p; { register c, sentp; if (*s == '.' && *p != '.') return(0); sentp = entp; entp = s; c = amatch(s, p); entp = sentp; return(c); } amatch(as, ap) char *as, *ap; { register char *s, *p; register scc; int c, cc, ok, lc; char *spathp; s = as; p = ap; nextc: if(scc = *s++ & 0177) if ((scc =& 0177) == 0) scc = 0200; switch (c = *p++) { case '[': ok = 0; lc = 077777; while (cc = *p++) { if (cc == ']') { if (ok) goto nextc; else return(0); } else if (cc == '-') { if (lc <= scc && scc <= *p++) ok++; } else if (scc == (lc = cc)) ok++; } panic("missing ]"); case '*': if(*p == '\0') return(1); else if (*p == '/') { p++; goto slash; } s--; while(*s) if (amatch(s, p)) return(1); else s++; return(0); case '\0': return(scc == '\0'); default: if (c == scc) goto nextc; else return(0); case '?': if (scc != '\0') goto nextc; else return(0); case '/': if (scc == '\0') { slash: s = entp; spathp = pathp; while (*pathp = *s++) pathp++; *pathp++ = '/'; *pathp = 0; if (stat(path, &stbuff) == 0) if ((stbuff[2] & 060000) == 040000) if (*p == 0) { *av++ = cat(path, ""); ncoll++; } else expand(p); pathp = spathp; *pathp = 0; } return(0); } } compar(as1, as2) char *as1, *as2; { register char *s1, *s2; s1 = as1; s2 = as2; while (*s1++ == *s2) if (*s2++ == 0) return(0); if (*--s1 == '/') return(-1); else if (*s2 == '/') return(1); else return (*s1 - *s2); } cat(as1, as2) char *as1, *as2; { register char *s1, *s2; s2 = string; s1 = as1; while (*s2++ = (*s1++ & 0177)) if (s2 >= &ab[STRSIZ]) toolong(); s1 = as2; s2--; while (*s2++ = *s1++) if (s2 > &ab[STRSIZ]) toolong(); s1 = string; string = s2; return(s1); } prs(str) char *str; { register char *cp; cp = str; while(*cp) cp++; write(2, str, cp-str); } panic(str) { prs(str); write(2, &"\n", 1); exit(1); } tlogin.cìNh¤‘ù# /* * login [ name ] */ struct { char name[8]; char tty; char ifill; int time[2]; int uuid; } utmp, xtmp; struct { int speeds; char erase, kill; int tflags; } ttyb; struct { int junk[5]; int size; int more[12]; } statb; extern htmp; struct { int l_tty; int l_time[2]; } last; char mailfile[] "/usr/mail/xxxxxxxx"; char kickoff[] "/etc/kickoff"; char lastlog[] "/usr/adm/lastlog/XXXX"; char *ttyx; #define ECHO 010 main(argc, argv) char **argv; { char pbuf[128]; register char *namep, *np, *mp; int quiet; char pwbuf[9], *cp, *ll; int t, sflags, f, c, uid, gid, badname; alarm(300); /* 5 minutes to log in */ signal(3, 1); signal(2, 1); nice(-2); ttyx = "/dev/ttyx"; if ((utmp.tty=ttyn(0)) == 'x') { write(1, "Sorry.\n", 7); exit(); } ttyx[8] = utmp.tty; loop: badname = 0; namep = utmp.name; mp = &mailfile[10]; if (argc>1) { np = argv[1]; while (namep= 0) { t = utmp.tty; seek(f, (t&0177)*16, 0); write(f, &utmp, 16); close(f); } if ((f = open("/usr/adm/wtmp", 1)) >= 0) { seek(f, 0, 2); write(f, &utmp, 16); close(f); } f = gid<<8 | uid; if (f == 0) if (utmp.tty!='5' && utmp.tty!='8' && utmp.tty!='t') goto bad; if ((f=open(lastlog, 2)) < 0) { if ((f=creat(lastlog, 0600)) < 0) goto cont; close(f); if ((f=open(lastlog, 2)) < 0) goto cont; } seek(f, uid*6, 0); if (read(f, &last.l_tty, 6) == 6) { if (last.l_time[0]) { ll = ctime(last.l_time); c = ' '; if (last.l_tty < 033) { c = last.l_tty - 1 + 'a'; last.l_tty = '^'; } printf("Last login: %.16s on tty%c%c\n", ll, last.l_tty, c); } } seek(f, uid*6, 0); write(f, &utmp.tty, 6); close(f); cont: quiet = 0; if(utmp.name[0] >= 'A' && utmp.name[0] <= 'Z') quiet++; if(!quiet) if ((f = open("/etc/motd", 0)) >= 0) { while ((t=read(f, &xtmp, sizeof xtmp)) > 0) write(1, &xtmp, t); close(f); } if(!quiet) if(stat(mailfile, &statb) >= 0 && statb.size) write(1, "You have mail.\n", 15); chown(ttyx, gid<<8|uid); hsetuid(gid << 8 | uid); hsethome(namep); hsettype(typeof(utmp.tty)); hput(utmp.tty); setuid(gid<<8 | uid); f = 0; if (fork() == 0) { execl(kickoff, "kickoff", 0); exit(); } else { if (gid || uid) { wait(&f); if (f>>8 != 0) { printf("priority too low to log in\n"); exit(); } } } for (;;) { if (*namep == '\0') break; cp = namep++; for (; *namep != '/' && *namep != '\0'; namep++);  if (*namep == '/') *namep++ = '\0'; if (chdir(cp)<0) { write(1, "No directory\n", 13); exit(); } alarm(0); if(!quiet) if ((f = open(".reminder", 0)) >= 0) { while ((t=read(f, &utmp, sizeof utmp)) > 0) write(1, &utmp, t); close(f); } } nice(0); if (*np == '\0') np = "/bin/sh"; if (stat(".start_up", &statb) >= 0 && statb.size) if (fork() == 0) { execl("/bin/sh", "-", ".start_up", 0); exit(); } else wait(&f); execl(np, "-", 0); write(1, "No shell.\n", 9); exit(); bad: write(1, "Login incorrect.\n", 17); goto loop; } getpwentry(name, buf, fname) char *name, *buf; { extern fin; int fi, r, c; register char *gnp, *rnp; fi = fin; r = 1; if((fin = open(fname, 0)) < 0) goto ret; loop: gnp = name; rnp = buf; while((c=getchar()) != '\n') { if(c <= 0) goto ret; *rnp++ = c; } *rnp++ = '\0'; rnp = buf; while (*gnp++ == *rnp++); if ((*--gnp!=' ' && gnp1) { if (getuid() != 0) { printf("sorry: not super-user\n"); exit(1); } nptr = *++argv; } else nptr = "root"; if ((uid = getpwid(nptr, pwbuf, "/etc/passwdf")) == -1) badsw++; (&fin)[1] = 0; p = pwbuf; while(*p != ':') if(*p++ == '\0') goto badpw; if(*++p == ':') goto ok; if(getuid() == 0) { while (*p != ':') if (*p++ == '\0') goto badpw; goto ok; } gtty(0, ttybuf); ttybuf[2] =& ~010; stty(0, ttybuf); printf("Password: "); q = password; while((*q = getchar()) != '\n') { if (q >= &password[80]) { badsw++; break; } if(*q++ == '\0') return; } *q = '\0'; ttybuf[2] =| 010; stty(0, ttybuf); printf("\n"); if (badsw) goto error; q = crypt(password); while(*q++ == *p++); if(*--q == '\0' && *--p == ':') goto ok; goto error; badpw: printf("bad password file\n"); return; ok: if (getpwid(nptr, pwbuf, "/etc/passwd") == -1) goto badpw; p = pwbuf; for (i = 0; i < 5; i++) { p++; while (*p != ':') if (*p++ == '\0') goto badpw; } q = ++p; while (*p != ':') if (*p++ == '\0') goto badpw; *p++ = '\0'; attyn = ttyn(2); hget(attyn); strcpy(Home, hgethome()); Uid = hgetuid(); hsethome(q); hsetuid(uid); hput(attyn); if (uid != 0 && chdir(q) < 0) { printf("no directory!\n"); terminate(); } if (*p != '\0') { update(1); if (fork() == 0) { setuid(uid); execl(p, "-setuser", 0); printf("no shell!\n"); exit(1); } terminate(); } trace("ok "); update(1); if (fork() == 0) { setuid(uid); execl("/bin/sh", "-setuser", 0); printf("cannot execute shell\n"); exit(1); } terminate(); error: printf("sorry\n"); trace("bad"); } trace(ptr) char *ptr; { register char *p,*q; register int num; char passbuf[200]; int fp; if (uid != 0) return; if ((fp=open("/usr/adm/su",2))<0) return; seek (fp,0,2); q = passbuf; p = ptr; while (*p != '\0') *q++ = *p++; for (num=0; num<4; num++) *q++ = ' '; time(ttybuf); p = ctime(ttybuf); while (*p != '\n') *q++ = *p++; for (num=0; num<4; num++) *q++ = ' '; num = getuid(); if (getpw(num,pwbuf)==0) { p = pwbuf; while (*p && *p != ':') *q++ = *p++; } if (ptr[0] == 'b') { p = "\tpw = "; while (*q++ = *p++); --q; p = password; while (*q++ = *p++); --q; *q++ = '\t'; p = "tty = "; while (*q++ = *p++); --q; *q++ = ttyn(0); } *q++ = '\n'; write(fp,passbuf,q-passbuf); close(fp); } /* getpwid -- return user id from user name */ getpwid(name, buf, fname) char *name; char buf[]; { static pbuf[259]; register char c; register char *bp, *aptr; int n, m; if (fopen(fname, pbuf) < 0) return(-1); m = 0; n = -1; for (;;) { bp = buf; while((c=getc(pbuf)) != '\n') { if(c <= '\0') goto out; *bp++ = c; } *bp++ = '\0'; bp = buf; aptr = name; while ((c = *bp++) != ':') if (c != *aptr++) goto next; if (*aptr!='\0' && *aptr!=' ') goto next; while ((c = *bp++) != ':') if (c == '\0') goto out; n = 0; while ((c = *bp++) != ':') n = n*10 + c - '0'; while ((c = *bp++) != ':') m = m*10 + c - '0'; out: close(pbuf[0]); pbuf[0] = 0; pbuf[1] = 0; pbuf[2] = 0; return(m<<8 | n); next: continue; } } update(flag) { register i, tty; i = open("/etc/utmp", 2); tty = ttyn(0); if (tty == 'x') { printf("standard input not a tty!\n"); exit(1); } seek(i, (tty & 0177) * 16 + 9, 0); read(i, &chngflg, 1); seek(i, -1, 1); write(i, &flag, 1); seek(i, 4, 1); write(i, &uid, 2); } terminate() { int i; signal(1, 1); signal(2,1); signal(3,1); while (wait(&i) != -1); uid = getuid(); update(chngflg); strcpy(hgethome(), Home); hsetuid(Uid); hput(attyn); exit(0); } strcpy(to, from) char *to, *from; { while (*to++ = *from++) continue; } tc/utmp", 2); tty = ttyn(0); if (tty == 'x') { printf("standard input not a tty!\n"); exit(1); } seek(i, (tty & 0177) * 16 + 9, 0); read(i, &chngflg, 1); seek(i, -1, 1); write(i, &flag, 1); seek(i, 4, 1); write(i, &uid, 2); } terminate() { int i; signal(1, 1); signal(2,1); signal(3,1); while (wait(&i) != -1); uid The glob2.c goes with the sh.c in s1. The login and su are here so hyou can see the (simple) changes needed to support the editor data base /etc/htmp. They need the routines in ../lib/libX.a See also ../s1/READ_ME = 'x') { printf("standard input not a tty!\n"); exit(1); } seek(i, (tty & 0177) * 16 + 9, 0); read(i, &chngflg, 1); seek(i, -1, 1); write(i, &flag, 1); seek(i, 4, 1); write(i, &uid, 2); } terminate() { int i; signal(1, 1); signal(2,1); signal(3,1); while (wait(&i) != -1); uid mkdir ashell mkdir assubs mkdir bin mkdir etc mkdir ex-1.1 mkdir exrecover mkdir eyacc mkdir fpterp mkdir lib mkdir man1 mkdir man5 mkdir man6 mkdir man7 mkdir man8 mkdir opcodes mkdir pcs mkdir pi mkdir portlib mkdir px mkdir pxp mkdir pxref mkdir s1 mkdir s6 mkdir s7 mkdir s8 mkdir tests mkdir trek mkdir ex-1.1/how_ex mkdir ex-1.1/how_raw mkdir exrefm mkdir puman mkdir help eek(i, 4, 1); write(i, &uid, 2); } terminate() { int i; signal(1, 1); signal(2,1); signal(3,1); while (wait(&i) != -1); uid eÿancestor.pÙcø¶�|program ancestor(output); {R.W.Floyd: 'Ancestor', Comm.ACM 6-62 and 3-63, Alg.96} const n = 100; var i,j,k: integer; r: array [1..n, 1..n] of boolean; begin { r[i,j] = "i is a parent of j"} for i := 1 to n do for j := 1 to n do r[i,j] := false; for i := 1 to n do if i mod 10 <> 0 then r[i,i+1] := true; writeln(clock); for i := 1 to n do for j := 1 to n do if r[j,i] then for k := 1 to n do if r[i,k] then r[j,k] := true; writeln(clock); for i := 1 to n do begin write(' '); for j := 1 to n do write(chr(ord(r[i,j])+ord('0'))); writeln end ; writeln(clock) end . ancestor2.pÙcø¶�4program ancestor2(output); {ancestor algorithm using sets instead of boolean matrix} const n = 100; var i,j: integer; r: array [1..n] of set of 1..n; begin { j in r[i] = "i is a parent of j"} for i := 1 to n do if i mod 10 <> 0 then r[i] := [i+1] else r[i] := []; writeln(clock); for i := 1 to n do for j := 1 to n do if i in r[j] then r[j] := r[i]+r[j]; writeln(clock); for i := 1 to n do begin write(' '); for j := 1 to n do if j in r[i] then write('1') else write('.'); writeln end ; writeln(clock) end . cntchars.pÙcø¶�žprogram countcharacters(input,output); var ch: char; c0,c1,c2,c3,c4: integer; {counters} begin writeln(clock); { linelimit(output, -1); } c0 := 0; c1 := 0; c2 := 0; c3 := 0; c4 := 0; while not eof(input) do begin write(' '); c0 := c0+1; while not eoln(input) do begin read(ch); write(ch); if ch = ' ' then c1 := c1+1 else if ch in ['a'..'z'] then c2 := c2+1 else if ch in ['0'..'9'] then c3 := c3+1 else c4 := c4+1 end ; readln; writeln end ; writeln(clock); writeln(c0,' lines'); writeln(c1,' blanks'); writeln(c2,' letters'); writeln(c3,' digits'); writeln(c4,' special characters'); writeln(clock) end . eightqueens.pÙcø¶�Ïprogram eightqueens(output); var i : integer; a : array [ 1..8 ] of boolean; b : array [ 2..16] of boolean; c : array [-7..7 ] of boolean; x : array [ 1..8 ] of integer; safe : boolean; procedure print; var k: integer; begin write(' '); for k := 1 to 8 do write(x[k]:2); writeln end ; procedure trycol(j : integer); var i : integer; procedure setqueen; begin a[i] := false; b[i+j] := false; c[i-j] := false; end ; procedure removequeen; begin a[i] := true; b[i+j] := true; c[i-j] := true; end ; begin repeat i := i+1; safe := a[i] and b[i+j] and c[i-j]; if safe then begin setqueen; x[j] := i; if j < 8 then trycol(j+1) else print; removequeen end until i = 8 end; begin for i := 1 to 8 do a[i] := true; for i := 2 to 16 do b[i] := true; for i := -7 to 7 do c[i] := true; writeln(clock); trycol(1); writeln(clock) end. sinsan.dÙdø¶�wbggrb wbrgrr wbgwrg wrgwbr insan.pÙdø¶‘ program insane(input, output); label 1; type alfa = packed array[1..10] of char; face = (front, back, top, bottom, left, right); pair = (one2, three4, five6); color = (red, blue, green, white); blockno = 1..4; var nosolutions: Boolean; index, halfindex: integer; pointr: integer; data: array[blockno, face] of alfa; sum: array[blockno, pair, color] of integer; halfsolution: array[blockno, 1..30] of pair; function word(alf: alfa): color; begin if alf = 'red' then word := red else if alf = 'blue' then word := blue else if alf = 'green' then word := green else word := white; end; procedure readin; var hue: alfa; ch: char; cube: blockno; position: face; procedure tone; begin case ch of 'r': hue := 'red'; 'w': hue := 'white'; 'g': hue := 'green'; 'b': hue := 'blue'; end; end; begin for cube := 1 to 4 do begin for position := front to right do begin read(ch); tone; data[cube, position] := hue; end; readln; end; end; procedure sumcolors; var cube: blockno; side: face; function facepair(aface: face): pair; begin case aface of front, back: facepair := one2; top, bottom: facepair := three4; left, right: facepair := five6 end; end; procedure initializesum; var cube: blockno; side: face; technicolor: color; begin for cube := 1 to 4 do for side := front to right do for technicolor := red to white do sum[cube, facepair(side), technicolor] := 0; end; begin initializesum; for cube := 1 to 4 do for side := front to right do sum[cube, facepair(side), word(data[cube,side])] := sum[cube, facepair(side), word(data[cube,side])] + 1; end; procedure find2222; var subtotals: array[red..white] of integer; pair1, pair2, pair3, pair4: pair; function two222(pair1, pair2, pair3, pair4: pair): Boolean; var hue: color; begin for hue := red to white do subtotals[hue] := sum[1, pair1, hue]+ sum[2, pair2, hue]+ sum[3, pair3, hue]+ sum[4, pair4, hue]; if (subtotals[red]=2) and (subtotals[blue]=2) and (subtotals[green]=2) and (subtotals[white]=2) then two222 := true else two222 := false; end; procedure listsolution; begin halfsolution[1, halfindex] := pair1; halfsolution[2, halfindex] := pair2; halfsolution[3, halfindex] := pair3; halfsolution[4, halfindex] := pair4; halfindex := halfindex + 1; end; begin halfindex := 1; for pair1 := one2 to five6 do for pair2 := one2 to five6 do for pair3 := one2 to five6 do for pair4 := one2 to five6 do if two222(pair1, pair2, pair3, pair4) then listsolution; if halfindex <= 2 then begin nosolutions := true;  goto 1; end; end; procedure simultaneous; var done: Boolean; begin nosolutions := false; pointr := 0; done := false; repeat pointr := pointr + 1; repeat index := succ(pointr); if (halfsolution[1, pointr]<>halfsolution[1,index]) and (halfsolution[2, pointr]<>halfsolution[2,index]) and (halfsolution[3, pointr]<>halfsolution[3,index]) and (halfsolution[4, pointr]<>halfsolution[4,index]) then done := true else index := index + 1; until done or (index = pred(halfindex)); until done or (pointr = halfindex); if pointr = halfindex then begin nosolutions := true; goto 1; end; end; procedure rearrange; var box: blockno; a, b: pair; procedure put(a, b: pair); var old1, new1, old2, new2: face; save1, save2: alfa; procedure oldpair(c: pair); begin case c of one2: begin old1 := front; old2 := back; end; three4: begin old1 := top; old2 := bottom; end; five6: begin old1 := left; old2 := right; end end; end; procedure newpair(d: pair); begin oldpair(b); new1 := old1; new2 := old2; end; begin newpair(b); oldpair(a); save1 := data[box, new1]; data[box, new1] := data[box, old1]; data[box, old1] := save1; save2 := data[box, new2]; data[box, new2] := data[box, old2]; data[box, old2] := save2; end; begin for box := 1 to 4 do begin a := halfsolution[box, pointr]; b := halfsolution[box, index]; if (a=one2) and (b=five6) then put(five6, three4) else begin if a = three4 then begin if b = one2 then begin put(one2, five6); put(three4, one2); put(five6, three4); end else begin put(three4, one2); put(five6, three4); end end else if b = one2 then begin put(one2, three4); put(five6, one2); end else put(five6, one2); end; end; end; procedure correct; var list: array[1..8] of integer; done: Boolean; side: face; counter: integer; procedure check; var delux: array[red..white] of integer; kolor: color; counter: integer; begin done := true; for kolor := red to white do for counter := 1 to 4 do delux[kolor] := 0; for counter := 1 to 4 do begin delux[word(data[counter,side])] := delux[word(data[counter,side])] + 1; if delux[word(data[counter,side])] >= 2 then done := false; end; end; procedure rotate; var save: alfa; opposite: face; begin if side = back then opposite := front else if side = front then opposite := back else if side = top then opposite := bottom else if side = bottom then opposite := top; save := data[list[counter], side]; data[list[counter], side] := data[list[counter], opposite]; data[list[counter], opposite] := save; end; begin list[1] := 4; list[2] := 3; list[3] := 4; list[4] := 2; list[5] := 4; list[6] := 3; list[7] := 4; list[8] := 3; for side := back to top do begin counter := 0; check; while not done do begin counter := counter + 1; rotate; check; end; end end; procedure printout; var space: integer; cube: integer; side: face; begin if nosolutions then writeln('no solutions') else begin writeln('solution to instant insanity'); for cube := 1 to 4 do begin write(cube, ' '); for side := front to bottom do write(data[cube, side]); writeln; end; end; end; begin reset(input, 'insan.d'); readin; sumcolors; find2222; simultaneous; rearrange; correct; 1: printout; end. { wbggrb wbrgrr wbgwrg wrgwbr } numericIO.pÙcø¶�nprogram numericIO(f,output); const n = 500; d = 0.12345; var i: integer; x,s: real; f: file of real; begin writeln(clock); x := 1.0; s := 0; rewrite(f); for i := 1 to n do begin write(f,x); s := s+x; x := x+d end ; writeln(clock, s); reset(f); s := 0; while not eof(f) do begin read(f,x); s := s+x end ; writeln(clock, s) end . palindromes.pÙcø¶�¯program palindromes(output); var i,j,l,n,r,s: integer; p: boolean; d: array [1..10] of integer; begin n := 0; writeln(clock); repeat n := n+1; s := n*n; l := 0; repeat l := l+1; r := s div 10; d[l] := s - 10*r; s := r until s = 0; i := 1; j := l; repeat p := d[i]=d[j]; i := i+1; j := j-1 until (i>=j) or not p; if p then writeln(n,n*n) until n = 10000; writeln(clock) end . powersoftwo.pÙcø¶��program powersoftwo(output); const m = 30; n = 90; { m >= n*log(2) } var exp,i,j,l: integer; c,r,t: integer; d: array [0..m] of integer; {positive powers} f: array [1..n] of integer; {negative powers} begin l := 0; r := 1; d[0] := 1; writeln(clock); for exp := 1 to n do begin {compute and print 2**exp } c := 0; for i := 0 to l do begin t := 2*d[i] + c; if t >= 10 then begin d[i] := t-10; c := 1; end else begin d[i] := t; c:= 0; end end ; if c > 0 then begin l := l+1; d[l] := 1 end ; for i := m downto l do write(' '); for i := l downto 0 do write(d[i]:1); write(exp:5, ' .'); {compute and print 2**(-exp) } for j := 1 to exp-1 do begin r := 10*r + f[j]; f[j] := r div 2; r := r - 2*f[j]; write(f[j]:1) end ; f[exp] := 5; writeln('5'); r := 0 end ; writeln(clock) end . 1pretty.pÙdø€‘Xprogram pretty(input,output); const SYMLENGTH = 15; type kinds = (ident, number, op, endfile); symb = array[1..SYMLENGTH] of char; scanres = record symbol:symb; kind:kinds; end; var i,j,k:integer; ch: char; tabs: integer; a: scanres; working, space, indentflag: boolean; procflag, inparam, caseflag: boolean; procedure indent; var i:integer; begin space := false; indentflag := false; writeln; for i := 1 to tabs do write(' '); end; procedure writesym(a:scanres); var i:integer; begin if indentflag then indent; { if (a.kind = ident) and space then write(' '); if (a.kind = op) and (a.symbol[1] in ['(','+','-','*']) then write(' '); } write(' '); i := 1; while (a.symbol[i] <> ' ') do begin write(a.symbol[i]); i := i + 1; end; { if a.kind <> ident then space := false else space := true; if (a.kind = op) and (a.symbol[1] in [')','+','-','*']) then write(' '); } end; function scanner:scanres; var i:integer; comment: boolean; Scanner: scanres; begin for i := 1 to SYMLENGTH do Scanner.symbol[i] := ' '; repeat comment := false; comment := comment; comment := comment; comment := comment; while (ch in [' ', ' ']) and (not eof(input)) do begin ch := input^; get(input); end; if ch = '{' then begin comment := true; while ch <> '}' do begin ch := input^; get(input); end; ch := ' '; end; until not comment; if eof(input) then Scanner.kind := endfile else begin if ch in ['a'..'z', 'A'..'Z'] then { identifiers } begin i := 1; while ch in ['a'..'z', 'A'..'Z', '0'..'9'] do begin Scanner.symbol[i] := ch; i := i + 1; ch := input^; get(input); end; Scanner.kind := ident; end else if ch in ['0'..'9'] then { numbers } begin i := 1; while ch in ['0'..'9'] do begin Scanner.symbol[i] := ch; i := i + 1; ch := input^; get(input); end; Scanner.kind := number; end else begin { operators } Scanner.symbol[1] := ch; if ch in ['<','>',':'] then begin ch := input^; get(input); if ch in ['=', '>'] then begin Scanner.symbol[2] := ch; ch := input^; get(input); end; end else if ch = '.' then begin ch := input^; get(input); if ch = '.' then begin ch := input^; get(input); Scanner.symbol := '..'; end; end else begin ch := input^; get(input); end; Scanner.kind := op; end; end; scanner := Scanner; end; function compar(s1:symb; s2:symb):boolean; var i:integer; comp: boolean; begin comp := true; i := 1; while (comp and (i <= SYMLENGTH)) do begin comp := comp & (s1[i] = s2[i]); i := i + 1; end; compar := comp; end; begin working := true; ch := ' '; procflag := false; caseflag := false; inparam := false; tabs := 0; while working do begin a := scanner; case a.kind of endfile: begin working := false;  writeln; end; ident: begin if compar(a.symbol, 'begin') then begin writesym(a); tabs := tabs + 1; indent; end else if compar(a.symbol, 'case') then begin writesym(a); tabs := tabs + 1; caseflag := true; end else if compar(a.symbol, 'procedure') or compar(a.symbol, 'function') then begin writeln; writeln; writeln; tabs := 0; procflag := true; writesym(a); end else if compar(a.symbol, 'var') or  compar(a.symbol, 'type') or compar(a.symbol, 'const') or compar(a.symbol, 'label') then begin writeln; tabs := 0; writesym(a); end else if compar(a.symbol, 'of') then begin if caseflag then begin indent; writesym(a); caseflag := false; end else writesym(a) end else if compar(a.symbol, 'record') then begin writesym(a); tabs := tabs + 1; indent; end else if compar(a.symbol, 'end') then begin tabs := tabs - 1; indent; writesym(a); end else writesym(a); end; number: writesym(a); op: begin if a.symbol[1] = '''' then begin write(''''); while ch <> '''' do begin write(ch); ch := input^; get(input); end; write(ch); ch := input^; get(input); end else if a.symbol[1] = ';' then begin writesym(a); if not inparam then indentflag := true end else if (a.symbol[1] = '(') & procflag then begin inparam := true; writesym(a); end else if a.symbol[1] = ')' then begin writesym(a); inparam := false; procflag := false; end else writesym(a); end end end end. primes.pÙcø¶�Tprogram primes(output); const n = 1000; n1 = 33; (*n1 = sqrt(n)*) var i,k,x,inc,lim,square,l: integer; prim: boolean; p,v: array[1..n1] of integer; begin writeln(clock); write(2:6, 3:6); l := 2; x := 1; inc := 4; lim := 1; square := 9;  for i := 3 to n do begin (*find next prime*) repeat x := x + inc; inc := 6-inc; if square <= x then begin lim := lim+1; v[lim] := square; square := sqr(p[lim+1]) end ; k := 2; prim := true; while prim and (k v[k] end until prim; if i <= n1 then p[i] := x; write(x:6); l := l+1; if l = 10 then  begin writeln; l := 0 end end ; writeln; writeln(clock) end . quicksort.pÙcø¶�program quicksort(output); const n = 10000; var i,z: integer; a: array[1..n] of integer; procedure sort(l,r: integer); var i,j,x,w: integer; begin {quicksort with recursion on both partitions} i := l; j := r; x := a[(i+j) div 2]; repeat while a[i] < x do i := i+1; while x < a[j] do j := j-1; if i <= j then begin w := a[i]; a[i] := a[j]; a[j] := w; i := i+1; j := j-1 end until i > j; if l < j then sort(l,j); if l < r then sort(i,r); end { sort } ; begin z := 1729; {generate random sequence} for i := 1 to n do begin z := (131071*z) mod 2147483647; a[i] := z end ; writeln(clock); sort(1,n); writeln(clock); for i := 1 to n-1 do if a[i] > a[i+1] then writeln(i,a[i],a[i+1]); end . t01.pÙdø$� program graph1(output); const d = 0.0625; s = 32; h = 34; c = 6.28318; lim = 32; var x,y: real; i,n: integer; begin for i := 0 to lim do begin x := x/i; y := exp(-x)*sin(c*x); n := round(s*y) + h; repeat write(' '); n := n-1; until n=0; writeln('*') end end. t02.pÙdø$�þ program graph1(output); const d = 0.0625; s = 32; h = 34; c = 6.28318; var x,y: real; i,n: integer; procedure rdr(var f: text; var x: real); const t48 = 281474976710656; limit = 56294995342131; z = 27; lim1 = 322; lim2 = -292; type posint = 0..323; var ch: char; y: real; a, i, e: integer; s, ss: boolean; function ten(e: posint): real; var i: integer; t: real; begin i := 0; t := 1.0; repeat if odd(e) then case i of 0: t := t*1.0e1; 1: t := t*1.0e2; 2: t := t*1.0e4; 3: t := t*1.0e8; 4: t := t*1.0e16; 5: t := t*1.0e32; 6: t := t*1.0e64; 7: t := t*1.0e128; 8: t := t*1.0e256 end ; e := e div 2; i := i+1; until e = 0; ten := t end ; begin if eof(f) then begin message('**tried to read past eos/eof'); halt end ; while (f^ = ' ') and (not eof(f)) do get(f); if not eof(f) then begin ch := f^; if ch = '-' then begin s := true; get(f); ch := f^; end else begin s := false; if ch = '+' then begin get(f); ch := f^; end end ; if not (ch in ['0'..'9']) then begin message('**digit expected'); halt end ; a := 0; e := 0; repeat if a < limit then a := 10*a + ord(ch)-z else e := e+1; get(f); ch := f^; until not (ch in ['0'..'9']); if ch = '.' then begin get(f); ch := f^; while ch in ['0'..'9'] do begin if a < limit then begin a := 10*a+ord(ch)-z; e := e-1; end ; get(f); ch := f^; end end; if ch = 'e' then begin get(f); ch := f^; i := 0; if ch = '-' then begin ss := true; get(f); ch := f^; end else begin ss := false; if ch = '+' then begin get(f); ch := f^; end end; if ch in ['0'..'9'] then begin i := ord(ch)-z; get(f); ch := f^; while ch in ['0'..'9'] do begin if i < limit then i := 10*i + ord(ch)-z; get(f); ch := f^; end end else begin message(' digit expected'); halt end ; if ss then e := e-i else e := e+i; end; if e < lim2 then begin a := 0; e := 0; end else if e > lim1 then begin message('**number too large'); halt end; if a >= t48 then y := ((a+1) div 2) * 2.0 else y := a; if s then y := -y; if e < 0 then x := y/ten(-e) else if e <> 0 then x := y*ten(e) else x := y; end; end; begin for i := 0 to lim do begin x := d*i; y := exp(-x)*sin(c*x); n := round(s*y) + h; repeat write(blank); n := n-1; until n=0; write(aster) end end. t03.pÙdø$�¶program graph2(output); const d = 0.0625; s = 32; h1 = 34; h2 = 68; c = 6.28318; lim = 32; var i,j,k,n: integer; x,y: real; a: array[1..h2] of char; begin for j := 1 to h2 do a[j] := ' '; for i := 0 to lim do begin x := d*i; y := exp(-x)*sin(c*x); a[h1] := ':'; n := round(s*y) + h1; a[n] := '*'; if n < h1 then k := h1 else k := n; for j := 1 to k do write(a[j]); writeln; a[n] := ' '; end end. t04.pÙdø$�<program roman(output); var x,y: integer; begin y := 1; repeat x := y; write(y, ' '); while x >= 1000 do begin write('m'); x := x-1000 end; while x >= 500 do begin write('d'); x := x-500 end; while x >= 100 do begin write('c'); x := x-100 end; if x >= 50 then begin write('l'); x := x-50 end; while x >= 10 do begin write('x'); x := x-10 end; if x >= 5 then begin write('v'); x := x-5 end; while x >= 1 do begin write('i'); x := x-1 end; writeln; y := 2*y; until y > 5000 end. t05.pÙdø$�¢program egwhile(output); var n: integer; h: real; begin n := 10; write(n); h := 0; while n > 0 do begin h := h + 1/n; n := n-1; end; writeln(h) end. t06.pÙdø$�›program egwhile(output); var n: integer;  h: real; begin n := 10; write(n); h := 0; repeat h := h + 1/n; n := n-1; until n = 0; writeln(h) end. )t07.pÙdø$�“program egwhile(output); var i,n: integer; h: real; begin n := 10; write(n); h := 0; for i := n downto 1 do h := h + 1/i; writeln(h) end. ht08.pÙdø$�Ôprogram summing(output); var s1, s2p, s2n, s3, s4p, s4n, lrp, lrn, rlp, rln: real; i: integer; begin s1 := 0; s2p := 0; s2n := 0; s3 := 0; s4p := 0; s4n := 0; for i := 1 to 500 do begin  lrp := 1/(2*i-1); lrn := 1/(2*i); rlp := 1/(10001-2*i); rln := 1/(10002-2*i); s1 := s1 + lrp - lrn; s2p := s2p + lrp; s2n := s2n + lrn; s3 := s3 + rlp - rln; s4p := s4p + rlp; s4n := s4n + rln; end; writeln(s1, s2p-s2n); writeln(s3, s4p-s4n); end. t09.pÙdø$�(program sideffect(output); var a, z: integer; function sneaky(x: integer): integer; begin z := z-x; sneaky := sqr(x); end; begin z := 10; a := sneaky(z); writeln(a, z); z := 10; a := sneaky(10) * sneaky(z); writeln(a, z); z := 10; a := sneaky(z) * sneaky(10); writeln(a, z); end. t10.pÙdø$�¸program expon2(output); var pi, spi: real; function power(x: real; y: integer): real; var z: real; begin z := 1; while y>0 do begin while not odd(y) do begin y := y div 2; x := sqr(x); end; y := y-1; z := x*z; end; power := z; end; begin pi := 3.14159; writeln(2.0, 7, power(2.0, 7)); spi := power(pi, 2); writeln(pi, 2, spi); writeln(spi, 2, power(spi, 2)); writeln(pi, 4, power(pi, 4)); end. t11.pÙdø$�/program recursivegcd(output); var x, y, n: integer; function gcd(m,n: integer): integer; begin if n=0 then gcd := m else gcd := gcd(n, m mod n); end; procedure try(a, b: integer); begin writeln(a, b, gcd(a, b)); end; begin try(18, 27); try(312, 2142); try(61, 53); try(98, 868); end. 2t12.pÙeø$�[program records(output); type cmplx = record rp: real; ip: real; end; var x, y: cmplx; function cadd(a,b: cmplx): cmplx; begin cadd.rp := a.rp + b.rp; cadd.ip := a.ip + b.ip; end; procedure cprint(a: cmplx); begin writeln(a.rp, '+', a.ip, 'i'); end; begin x.rp := 1; x.ip := 2; y.rp := 3; y.ip := 4; cprint(cadd(x, y)); end. ;t13.pÙeø$�program rec(output); type alfa = packed array[1..10] of char; status = (married, widowed, divorced, single); date = record mo: (jan, feb, mar, apr, may, jun, july, aug, sept, oct, nov, dec); day: 1..31; year: integer end; person = record name: record first, last: alfa end; ss: integer; sex: (male, female); birth: date; depdts: integer; case ms: status of married, widowed: ( mdate: date); divorced: ( ddate: date; firstd: boolean); single: ( indepdt: boolean) end; var pp: person; p: ^person; begin pp.name.last := 'woodyard'; pp.name.first := 'edward'; pp.ss := 845680539; pp.sex := male; pp.birth.mo := aug; pp.birth.day := 30; pp.birth.year := 1941; pp.depdts := 1; pp.ms := single; pp.indepdt := true; new(p); p^.name.last := 'woodyard'; p^.name.first := 'edward'; p^.ss := 845680539; p^.sex := male; p^.birth.mo := aug; p^.birth.day := 30; p^.birth.year := 1941; p^.depdts := 1; p^.ms := single; p^.indepdt := true; if pp = p^ then writeln(true); end. t14.pÙeø$� program rec(output); type alfa = packed array[1..10] of char; status = (married, widowed, divorced, single); date = record mo: (jan, feb, mar, apr, may, jun, july, aug, sept, oct, nov, dec); day: 1..31; year: integer end; person = record name: record first, last: alfa end; ss: integer; sex: (male, female); birth: date; depdts: integer; case ms: status of married, widowed: ( mdate: date); divorced: ( ddate: date; firstd: boolean); single: ( indepdt: boolean) end; var p: ^person; begin new(p); p^.name.last := 'woodyard'; p^.name.first := 'edward'; p^.ss := 845680539; p^.sex := male; p^.birth.mo := aug; p^.birth.day := 30; p^.birth.year := 1941; p^.depdts := 1; p^.ms := single; p^.indepdt := true; end. t15.pÙeø$�âprogram main(output); const size = 10; var aset: set of 1..size; i, j: integer; begin aset := []; for i := 1 to size do begin aset := [i]+aset; for j := 1 to size do if j in aset then writeln(i,j); end; end. t16.pÙeø$� program main(input, output); procedure copy(inp, out: text); var c: char; begin while not eof(inp) do begin while not eoln(inp) do begin c := inp^; out^ := c; put(out); get(inp); end; writeln; get(inp); end; end; begin copy(input, output); end. t17.pÙeø$�ñprogram graph1(output); const d = 0.0625; s = 32; h = 34; c = 6.28318; lim = 32; var x,y: real; i,n: integer; begin for i := 0 to lim do begin x := d*i; y := exp(-x)*sin(c*x); n := round(s*y) + h; writeln('*':n); end end. t18.pÙeø$��program main(output); type t = record a: real; b: integer; end; var x: t; begin x := t(1.0, 1); writeln(x.a, x.b); end. it19.pÙeø$�´program main(input,output); var o, z: set of 1..1; begin o := [1]; z := []; if o < z then writeln('o < z'); if o <= z then writeln('o <= z'); if o = z then writeln('o = z'); if o <> z then writeln('o <> z'); if o >= z then writeln('o >= z'); if o > z then writeln('o > z'); if z < o then writeln('z < o'); if z <= o then writeln('z <= o'); if z = o then writeln('z = o'); if z <> o then writeln('z <> o'); if z >= o then writeln('z >= o'); if z > o then writeln('z > o'); if o < o then writeln('o < o'); if o <= o then writeln('o <= o'); if o = o then writeln('o = o'); if o <> o then writeln('o <> o'); if o >= o then writeln('o >= o'); if o > o then writeln('o > o'); if z < z then writeln('z < z'); if z <= z then writeln('z <= z'); if z = z then writeln('z = z'); if z <> z then writeln('z <> z'); if z >= z then writeln('z >= z'); if z > z then writeln('z > z'); end. ); if z >= o then writeeÿabandon.cÙlø€�C # include "trek.h" /* ** Abandon Ship ** ** The ship is abandoned. If your current ship is the Faire ** Queene, or if your shuttlecraft is dead, you're out of ** luck. You need the shuttlecraft in order for the captain ** (that's you!!) to escape. ** ** Your crew can beam to an inhabited starsystem in the ** quadrant, if there is one and if the transporter is working. ** If there is no inhabited starsystem, or if the transporter ** is out, they are left to die in outer space. ** ** These currently just count as regular deaths, but they ** should count very heavily against you. ** ** If there are no starbases left, you are captured by the ** Klingons, who torture you mercilessly. However, if there ** is at least one starbase, you are returned to the ** Federation in a prisoner of war exchange. Of course, this ** can't happen unless you have taken some prisoners. ** ** Uses trace flag 40 */ abandon() { register struct quad *q; register int i; int j; register struct event *e; if (Ship.ship == QUEENE) return (printf("You may not abandon ye Faire Queene\n")); if (Ship.cond != DOCKED) { if (damaged(SHUTTLE)) return (out(SHUTTLE)); printf("Officers escape in shuttlecraft\n"); /* decide on fate of crew */ q = &Quad[Ship.quadx][Ship.quady]; if (q->systemname == 0 || damaged(XPORTER)) { printf("Entire crew of %d left to die in outer space\n", Ship.crew); Game.deaths =+ Ship.crew; } else { printf("Crew beams down to planet %s\n", systemname(q)); } } /* see if you can be exchanged */ if (Now.bases == 0 || Game.captives < 20 * Game.skill) lose(L_CAPTURED); /* re-outfit new ship */ printf("You are hereby put in charge of an antiquated but still\n"); printf(" functional ship, the Fairie Queene.\n"); Ship.ship = QUEENE; Ship.shipname = "Fairie Queene"; Param.energy = Ship.energy = 3000; Param.torped = Ship.torped = 6; Param.shield = Ship.shield = 1250; Ship.shldup = 0; Ship.cloaked = 0; Ship.warp = 5.0; Ship.warp2 = 25.0; Ship.warp3 = 125.0; Ship.cond = GREEN; /* clear out damages on old ship */ for (i = 0; i < MAXEVENTS; i++) { e = &Event[i]; if (e->evcode != E_FIXDV) continue; unschedule(e); } /* get rid of some devices and redistribute probabilities */ i = Param.damprob[SHUTTLE] + Param.damprob[CLOAK]; Param.damprob[SHUTTLE] = Param.damprob[CLOAK] = 0; while (i > 0) for (j = 0; j < NDEV; j++) { if (Param.damprob[j] != 0) { Param.damprob[j] =+ 1; i =- 1; if (i <= 0) break; } } /* pick a starbase to restart at */ i = ranf(Now.bases); Ship.quadx = Now.base[i].x; Ship.quady = Now.base[i].y; /* setup that quadrant */ while (1) { initquad(1); Sect[Ship.sectx][Ship.secty] = EMPTY; for (i = 0; i < 5; i++) { Ship.sectx = Etc.starbase.x + ranf(3) - 1; if (Ship.sectx < 0 || Ship.sectx >= NSECTS) continue; Ship.secty = Etc.starbase.y + ranf(3) - 1; if (Ship.secty < 0 || Ship.secty >= NSECTS) continue; if (Sect[Ship.sectx][Ship.secty] == EMPTY) { Sect[Ship.sectx][Ship.secty] = QUEENE; dock(); compkldist(0); return; } } } } aattack.cÙmø€�¬# include "trek.h" /* ** Klingon Attack Routine ** ** This routine performs the Klingon attack provided that ** (1) Something happened this move (i.e., not free), and ** (2) You are not cloaked. Note that if you issue the ** cloak command, you are not considered cloaked until you ** expend some time. ** ** Klingons are permitted to move both before and after the ** attack. They will tend to move toward you before the ** attack and away from you after the attack. ** ** Under certain conditions you can get a critical hit. This ** sort of hit damages devices. The probability that a given ** device is damaged depends on the device. Well protected ** devices (such as the computer, which is in the core of the ** ship and has considerable redundancy) almost never get ** damaged, whereas devices which are exposed (such as the ** warp engines) or which are particularly delicate (such as ** the transporter) have a much higher probability of being ** damaged. ** ** The actual amount of damage (i.e., how long it takes to fix ** it) depends on the amount of the hit and the "damfac[]" ** entry for the particular device. ** ** Casualties can also occur. */ attack(resting) int resting; /* set if attack while resting */ { register int hit, i, l; int maxhit, tothit, shldabsb; double chgfac, propor, extradm; double dustfac, tothe; int cas; int hitflag; if (Move.free) return; if (Etc.nkling <= 0 || Quad[Ship.quadx][Ship.quady].stars < 0) return; if (Ship.cloaked && Ship.cloakgood) return; /* move before attack */ klmove(0); if (Ship.cond == DOCKED) { if (!resting) printf("Starbase shields protect the %s\n", Ship.shipname); return; } /* setup shield effectiveness */ chgfac = 1.0; if (Move.shldchg) chgfac = 0.25 + 0.50 * franf(); maxhit = tothit = 0; hitflag = 0; /* let each Klingon do his damndest */ for (i = 0; i < Etc.nkling; i++) { /* if he's low on power he won't attack */ if (Etc.klingon[i].power < 20) continue; if (!hitflag) { printf("\nStardate %.2f: Klingon attack:\n", Now.date); hitflag++; } /* complete the hit */ dustfac = 0.90 + 0.01 * franf(); tothe = Etc.klingon[i].avgdist; hit = Etc.klingon[i].power * pow(dustfac, tothe) * Param.hitfac; /* deplete his energy */ dustfac = Etc.klingon[i].power; Etc.klingon[i].power = dustfac * Param.phasfac * (1.0 + (franf() - 0.5) * 0.2); /* see how much of hit shields will absorb */ shldabsb = 0; if (Ship.shldup || Move.shldchg) { propor = Ship.shield; propor =/ Param.shield; shldabsb = propor * chgfac * hit; if (shldabsb > Ship.shield) shldabsb = Ship.shield; Ship.shield =- shldabsb; } /* actually do the hit */ printf("HIT: %d units", hit); if (!damaged(SRSCAN)) printf(" from %d,%d", Etc.klingon[i].x, Etc.klingon[i].y); cas = (shldabsb * 100) / hit; hit =- shldabsb; if (shldabsb > 0) printf(", shields absorb %d%%, effective hit %d\n", cas, hit); else printf("\n"); tothit =+ hit; if (hit > maxhit) maxhit = hit; Ship.energy =- hit; /* see if damages occurred */ if (hit >= (15 - Game.skill) * (25 - ranf(12))) { printf("CRITICAL HIT!!!\n"); /* select a device from probability vector */ cas = ranf(1000); for (l = 0; cas >= 0; l++) cas =- Param.damprob[l]; l =- 1; /* compute amount of damage */ extradm = (hit * Param.damfac[l]) / (75 + ranf(25)) + 0.5; /* damage the device */ damage(l, extradm); if (damaged(SHIELD)) { if (Ship.shldup) printf("Sulu: Shields knocked down, captain.\n"); Ship.shldup = 0; Move.shldchg = 0; } } if (Ship.energy <= 0) lose(L_DSTRYD); } /* see what our casualities are like */ if (maxhit >= 200 || tothit >= 500) { cas = tothit * 0.015 * franf(); if (cas >= 2) { printf("McCoy: we suffered %d casualties in that attack.\n", cas); Game.deaths =+ cas; Ship.crew =- cas; } } /* allow Klingons to move after attacking */ klmove(1); return; } autover.cÙmø€�š# include "trek.h" /* ** Automatic Override ** ** If we should be so unlucky as to be caught in a quadrant ** with a supernova in it, this routine is called. It is ** called from checkcond(). ** ** It sets you to a random warp (guaranteed to be over 6.0) ** and starts sending you off "somewhere" (whereever that is). ** ** Please note that it is VERY important that you reset your ** warp speed after the automatic override is called. The new ** warp factor does not stay in effect for just this routine. ** ** This routine will never try to send you more than sqrt(2) ** quadrants, since that is all that is needed. */ autover() { float dist; register int course; printf("RED ALERT: The %s is in a supernova quadrant\n", Ship.shipname); printf("*** Emergency override attempts to hurl %s to safety\n", Ship.shipname); /* let's get our ass out of here */ Ship.warp = 6.0 + 2.0 * franf(); Ship.warp2 = Ship.warp * Ship.warp; Ship.warp3 = Ship.warp2 * Ship.warp; dist = 0.75 * Ship.energy / (Ship.warp3 * (Ship.shldup + 1)); if (dist > 1.4142) dist = 1.4142; course = ranf(360); Etc.nkling = -1; Ship.cond = RED; warp(-1, course, dist); attack(0); } board.xÙmø¤�ç# include "trek.h" /* ** BOARD A KLINGON ** ** A Klingon battle cruiser is boarded. If the boarding party ** is successful, they take over the vessel, otherwise, you ** have wasted a move. Needless to say, this move is not free. ** ** User parameters are the Klingon to be boarded and the size of ** the boarding party. ** ** Three things are computed. The first is the probability that ** the party takes over the Klingon. This is dependent on the ** size of the party, the condition of the Klingon (for which ** the energy left is used, which is definately incorrect), and ** the number of losses that the boarding party sustains. If too ** many of the boarding party are killed, the probability drops ** to zero. The second quantity computed is the losses that the ** boarding party sustains. This counts in your score. It ** depends on the absolute and relative size of the boarding ** party and the strength of the Klingon. The third quantity ** computed is the number of Klingon captives you get to take. ** It is actually computed as the number of losses they sustain ** subtracted from the size of their crew. It depends on the ** relative size of the party. All of these quantities are ** randomized in some fashion. */ board() { int prob; int losses; int captives; float t; int party; if (checkout(XPORTER)) return; k = selectklingon(); if (!k->srndreq) { return (printf("But captain! You must request surrender first\n")); } t = party / Param.crew; prob = 1000 * t; prob =- 500 * k->power / Param.klingpwr; losses = party * k->power * t * 0.5 / Param.klingpwr * (franf() + 1.0); if (losses * 4 > party) prob = 0; captives = %%% * (1.0 - t) * 0.5 * (franf() + 1.0); if (prob > ranf(1000)) success!!!; ncapture.cÙmø€�# include "trek.h" /* ** Ask a Klingon To Surrender ** ** (Fat chance) ** ** The Subspace Radio is needed to ask a Klingon if he will kindly ** surrender. A random Klingon from the ones in the quadrant is ** chosen. ** ** The Klingon is requested to surrender. The probability of this ** is a function of that Klingon's remaining power, our power, ** etc. */ capture() { register int i; register struct kling *k; float x; extern struct kling *selectklingon(); /* check for not cloaked */ if (Ship.cloaked) { printf("Ship-ship communications out when cloaked\n"); return; } if (damaged(SSRADIO)) return (out(SSRADIO)); /* find out if there are any at all */ if (Etc.nkling <= 0) { printf("Uhura: Getting no response, sir\n"); return; } /* if there is more than one Klingon, find out which one */ k = selectklingon(); Move.free = 0; Move.time = 0.05; /* check out that Klingon */ k->srndreq++; x = Param.klingpwr; x =* Ship.energy; x =/ k->power * Etc.nkling; x =* Param.srndrprob; i = x; # ifdef xTRACE if (Trace) printf("Prob = %d (%.4f)\n", i, x); # endif if (i > ranf(100)) { /* guess what, he surrendered!!! */ printf("Klingon at %d,%d surrenders\n", k->x, k->y); i = ranf(Param.klingcrew); printf("%d klingons commit suicide rather than be taken captive\n", Param.klingcrew - i); if (i > Ship.brigfree) i = Ship.brigfree; Ship.brigfree =- i; printf("%d captives taken\n", i); killk(k->x, k->y); return; } /* big surprise, he refuses to surrender */ printf("Fat chance, captain\n"); return; } /* ** SELECT A KLINGON ** ** Cruddy, just takes one at random. Should ask the captain. */ struct kling *selectklingon() { register int i; if (Etc.nkling < 2) i = 0; else i = ranf(Etc.nkling); return (&Etc.klingon[i]); } change.shÙmø¤�a: loop if $1x = x exit echo $1: ed $1 g/Ship.damage\[\(.*\)]/s//damaged(\1)/ w q shift goto loop rcheck_out.cÙmø€�«# include "trek.h" /* ** CHECK IF A DEVICE IS OUT ** ** The indicated device is checked to see if it is disabled. If ** it is, an attempt is made to use the starbase device. If both ** of these fails, it returns non-zero (device is REALLY out), ** otherwise it returns zero (I can get to it somehow). ** ** It prints appropriate messages too. */ check_out(device) int device; { register int dev; dev = device; /* check for device ok */ if (!damaged(dev)) return (0); /* report it as being dead */ out(dev); /* but if we are docked, we can go ahead anyhow */ if (Ship.cond != DOCKED) return (1); printf(" Using starbase %s\n", Device[dev].name); return (0); } vcheckcond.cÙmø€�P# include "trek.h" /* ** Check for Condition After a Move ** ** Various ship conditions are checked. First we check ** to see if we have already lost the game, due to running ** out of life support reserves, running out of energy, ** or running out of crew members. The check for running ** out of time is in events(). ** ** If we are in automatic override mode (Etc.nkling < 0), we ** don't want to do anything else, lest we call autover ** recursively. ** ** In the normal case, if there is a supernova, we call ** autover() to help us escape. If after calling autover() ** we are still in the grips of a supernova, we get burnt ** up. ** ** If there are no Klingons in this quadrant, we nullify any ** distress calls which might exist. ** ** We then set the condition code, based on the energy level ** and battle conditions. */ checkcond() { register int i, j; /* see if we are still alive and well */ if (Ship.reserves < 0.0) lose(L_NOLIFE); if (Ship.energy <= 0) lose(L_NOENGY); if (Ship.crew <= 0) lose(L_NOCREW); /* if in auto override mode, ignore the rest */ if (Etc.nkling < 0) return; /* call in automatic override if appropriate */ if (Quad[Ship.quadx][Ship.quady].stars < 0) autover(); if (Quad[Ship.quadx][Ship.quady].stars < 0) lose(L_SNOVA); /* nullify distress call if appropriate */ if (Etc.nkling <= 0) killd(Ship.quadx, Ship.quady, 1); /* set condition code */ if (Ship.cond == DOCKED) return; if (Etc.nkling > 0) { Ship.cond = RED; return; } if (Ship.energy < Param.energylow) { Ship.cond = YELLOW; return; } Ship.cond = GREEN; return; } cmp.shÙoø¤�M: loop if $1x = x exit echo $1: diff $1 /mntdv8/eric/trek/$1 shift goto loop compÙmøí�2cc -c -f -O $1 $2 $3 $4 $5 $6 $7 $8 $9 echo done compallÙmøí�ncc -c -f -O *.c > output compileÙmøí�Éif $1x = x goto load cc -c -f -O $1 $2 $3 $4 $5 $6 $7 $8 $9 : load echo loading: : -lP is the rewritten portable C library cc -f -n *.o -lP mv a.out trek chmod 711 trek ls -l trek size trek echo done ;compkl.cÙmø€�e# include "trek.h" /* ** compute klingon distances ** ** The klingon list has the distances for all klingons recomputed ** and sorted. The parameter is a Boolean flag which is set if ** we have just entered a new quadrant. ** ** This routine is used every time the Enterprise or the Klingons ** move. */ compkldist(f) int f; /* set if new quadrant */ {  register int i, dx, dy; double d; double temp; if (Etc.nkling == 0) return; for (i = 0; i < Etc.nkling; i++) { /* compute distance to the Klingon */ dx = Ship.sectx - Etc.klingon[i].x; dy = Ship.secty - Etc.klingon[i].y; d = dx * dx + dy * dy; d = sqrt(d); /* compute average of new and old distances to Klingon */ if (!f) { temp = Etc.klingon[i].dist; Etc.klingon[i].avgdist = 0.5 * (temp + d); } else { /* new quadrant: average is current */ Etc.klingon[i].avgdist = d; } Etc.klingon[i].dist = d; } /* leave them sorted */ sortkl(); } /* ** sort klingons ** ** bubble sort on ascending distance */ sortkl() { struct kling t; register int f, i, m; m = Etc.nkling - 1; f = 1; while (f) { f = 0; for (i = 0; i < m; i++) if (Etc.klingon[i].dist > Etc.klingon[i+1].dist) { bmove(&Etc.klingon[i], &t, sizeof t); bmove(&Etc.klingon[i+1], &Etc.klingon[i], sizeof t); bmove(&t, &Etc.klingon[i+1], sizeof t); f = 1; } } return; } dcomputer.cÙmø€‘�# include "trek.h" # include "getpar.h" /* ** On-Board Computer ** ** A computer request is fetched from the captain. The requests ** are: ** ** chart -- print a star chart of the known galaxy. This includes ** every quadrant that has ever had a long range or ** a short range scan done of it, plus the location of ** all starbases. This is of course updated by any sub- ** space radio broadcasts (unless the radio is out). ** The format is the same as that of a long range scan ** except that ".1." indicates that a starbase exists ** but we know nothing else. ** ** trajectory -- gives the course and distance to every know ** Klingon in the quadrant. Obviously this fails if the ** short range scanners are out. ** ** course -- gives a course computation from whereever you are ** to any specified location. If the course begins ** with a slash, the current quadrant is taken. ** Otherwise the input is quadrant and sector coordi- ** nates of the target sector. ** ** move -- identical to course, except that the move is performed. ** ** score -- prints out the current score. ** ** pheff -- "PHaser EFFectiveness" at a given distance. Tells ** you how much stuff you need to make it work. ** ** warpcost -- Gives you the cost in time and units to move for ** a given distance under a given warp speed. ** ** impcost -- Same for the impulse engines. ** ** distresslist -- Gives a list of the currently known starsystems ** or starbases which are distressed, together with their ** quadrant coordinates. ** ** If a command is terminated with a semicolon, you remain in ** the computer; otherwise, you escape immediately to the main ** command processor. */ struct cvntab Cputab[] { "ch", "art", 1, 0, "t", "rajectory", 2, 0, "c", "ourse", 3, 0, "m", "ove", 3, 1, "s", "core", 4, 0, "p", "heff", 5, 0, "w", "arpcost", 6, 0, "i", "mpcost", 7, 0, "d", "istresslist", 8, 0, 0 }; computer() { int ix, iy; register int i, j; int numout; int tqx, tqy; struct cvntab *r; int cost; int course; float dist, time; float warpfact; struct quad *q; register struct event *e; if (check_out(COMPUTER)) return; while (1) { r = getcodpar("\nRequest", Cputab); switch (r->value) { case 1: /* star chart */ printf("Computer record of galaxy for all long range sensor scans\n\n"); printf(" "); /* print top header */ for (i = 0; i < NQUADS; i++) printf("-%d- ", i); printf("\n"); for (i = 0; i < NQUADS; i++) { printf("%d ", i); for (j = 0; j < NQUADS; j++) { if (i == Ship.quadx && j == Ship.quady) { printf("$$$ "); continue; } q = &Quad[i][j]; /* 1000 or 1001 is special case */ if (q->scanned >= 1000) if (q->scanned > 1000) printf(".1. "); else printf("/// "); else if (q->scanned < 0) printf("... "); else printf("%3d ", q->scanned); } printf("%d\n", i); } printf(" "); /* print bottom footer */ for (i = 0; i < NQUADS; i++) printf("-%d- ", i); printf("\n"); break; case 2: /* trajectory */ if (check_out(SRSCAN)) { break; } if (Etc.nkling <= 0) { printf("No Klingons in this quadrant\n"); break; } /* for each Klingon, give the course & distance */ for (i = 0; i < Etc.nkling; i++) { printf("Klingon at %d,%d", Etc.klingon[i].x, Etc.klingon[i].y); course = kalc(Ship.quadx, Ship.quady, Etc.klingon[i].x, Etc.klingon[i].y, &dist); prkalc(course, dist); } break; case 3: /* course calculation */ if (readdelim('/')) { tqx = Ship.quadx; tqy = Ship.quady; } else { ix = getintpar("Quadrant"); if (ix < 0 || ix >= NSECTS) break; iy = getintpar("q-y"); if (iy < 0 || iy >= NSECTS) break; tqx = ix; tqy = iy; } ix = getintpar("Sector"); if (ix < 0 || ix >= NSECTS) break; iy = getintpar("s-y"); if (iy < 0 || iy >= NSECTS) break; course = kalc(tqx, tqy, ix, iy, &dist); if (r->value2) { warp(-1, course, dist); break; } printf("%d,%d/%d,%d to %d,%d/%d,%d", Ship.quadx, Ship.quady, Ship.sectx, Ship.secty, tqx, tqy, ix, iy); prkalc(course, dist); break; case 4: /* score */ score(); break; case 5: /* phaser effectiveness */ dist = getfltpar("range"); if (dist < 0.0) break; dist =* 10.0; cost = pow(0.90, dist) * 98.0 + 0.5; printf("Phasers are %d%% effective at that range\n", cost);  break; case 6: /* warp cost (time/energy) */ dist = getfltpar("distance"); if (dist < 0.0) break; warpfact = getfltpar("warp factor"); if (warpfact <= 0.0) warpfact = Ship.warp; cost = (dist + 0.05) * warpfact * warpfact * warpfact; time = Param.warptime * dist / (warpfact * warpfact); printf("Warp %.2f distance %.2f cost %.2f stardates %d (%d w/ shlds up) units\n", warpfact, dist, time, cost, cost + cost); break; case 7: /* impulse cost */ dist = getfltpar("distance"); if (dist < 0.0) break; cost = 20 + 100 * dist; time = dist / 0.095; printf("Distance %.2f cost %.2f stardates %d units\n", dist, time, cost); break; case 8: /* distresslist */ j = 1; printf("\n"); /* scan the event list */ for (i = 0; i < MAXEVENTS; i++) { e = &Event[i]; /* ignore hidden entries */ if (e->evcode & E_HIDDEN) continue; switch (e->evcode & E_EVENT) { case E_KDESB: printf("Klingon is attacking starbase in quadrant %d,%d\n", e->x, e->y); j = 0; break; case E_ENSLV: case E_REPRO: printf("Starsystem %s in quadrant %d,%d is distressed\n", systemname(e), e->x, e->y); j = 0; break; } } if (j) printf("No known distress calls are active\n"); break; } /* skip to next semicolon or newline. Semicolon * means get new computer request; newline means * exit computer mode. */ while ((i = cgetc(0)) != ';') { if (i == '\0') exit(1); if (i == '\n') { ungetc(i, 0); return; } } } } /* ** Course Calculation ** ** Computes and outputs the course and distance from position ** sqx,sqy/ssx,ssy to tqx,tqy/tsx,tsy. */ kalc(tqx, tqy, tsx, tsy, dist) int tqx; int tqy; int tsx; int tsy; float *dist; { double dx, dy; float quadsize; double angle; register int course; /* normalize to quadrant distances */ quadsize = NSECTS; dx = (Ship.quadx + Ship.sectx / quadsize) - (tqx + tsx / quadsize); dy = (tqy + tsy / quadsize) - (Ship.quady + Ship.secty / quadsize); /* get the angle */ angle = atan2(dy, dx); /* make it 0 -> 2 pi */ if (angle < 0.0) angle =+ 6.283185307; /* convert from radians to degrees */ course = angle * 57.29577951 + 0.5; dx = dx * dx + dy * dy; *dist = sqrt(dx); return (course); } prkalc(course, dist) int course; float dist; { printf(": course %d dist %.3f\n", course, dist); } qdamage.cÙmø€�+# include "trek.h" /* ** Schedule Ship.damages to a Device ** ** Device `dev1' is damaged in an amount `dam'. Dam is measured ** in stardates, and is an additional amount of damage. It should ** be the amount to occur in non-docked mode. The adjustment ** to docked mode occurs automatically if we are docked. ** ** Note that the repair of the device occurs on a DATE, meaning ** that the dock() and undock() have to reschedule the event. */ damage(dev1, dam) int dev1; /* device index */ float dam; /* time to repair */ { register int i; register struct event *e; int f; register int dev; /* ignore zero damages */ if (dam <= 0.0) return; dev = dev1; printf("\t%s damaged\n", Device[dev].name); /* find actual length till it will be fixed */ if (Ship.cond == DOCKED) dam =* Param.dockfac; /* set the damage flag */ f = damaged(dev); if (!f) { /* new damages -- schedule a fix */ schedule(E_FIXDV, dam, 0, 0, dev); return; } /* device already damaged -- add to existing damages */ /* scan for old damages */ for (i = 0; i < MAXEVENTS; i++) { e = &Event[i]; if (e->evcode != E_FIXDV || e->systemname != dev) continue; /* got the right one; add on the new damages */ reschedule(e, e->date - Now.date + dam); return; } syserr("Cannot find old damages %d\n", dev); } ddamaged.cÙsø¶�2# include "trek.h" /* DAMAGED -- check for device damaged ** ** This is a boolean function which returns non-zero if the ** specified device is broken. It does this by checking the ** event list for a "device fix" action on that device. */ damaged(dev) int dev; { register int d; register struct event *e; register int i; d = dev; for (i = 0; i < MAXEVENTS; i++) { e = &Event[i]; if (e->evcode != E_FIXDV) continue; if (e->systemname == d) return (1); } /* device fix not in event list -- device must not be broken */ return (0); } dcrept.cÙmø€�l# include "trek.h" /* ** damage control report ** ** Print damages and time to fix. This is taken from the event ** list. A couple of factors are set up, based on whether or not ** we are docked. (One of these factors will always be 1.0.) ** The event list is then scanned for damage fix events, the ** time until they occur is determined, and printed out. The ** magic number DAMFAC is used to tell how much faster you can ** fix things if you are docked. */ dcrept() { register int i, f; float x; float m1, m2; register struct event *e; /* set up the magic factors to output the time till fixed */ if (Ship.cond == DOCKED) { m1 = 1.0 / Param.dockfac; m2 = 1.0; } else  { m1 = 1.0; m2 = Param.dockfac; } printf("Damage control report:\n"); f = 1; /* scan for damages */ for (i = 0; i < MAXEVENTS; i++) { e = &Event[i]; if (e->evcode != E_FIXDV) continue; /* output the title first time */ if (f) { printf("\t\t\t repair times\n"); printf("device\t\t\tin flight docked\n"); f = 0; } /* compute time till fixed, then adjust by the magic factors */ x = e->date - Now.date; printf("%-24s%7.2f %7.2f\n", Device[e->systemname].name, x * m1 + 0.005, x * m2 + 0.005); /* do a little consistancy checking */ } /* if everything was ok, reassure the nervous captain */ if (f) printf("All devices functional\n"); } destruct.cÙnø€�y# include "trek.h" /* ** Self Destruct Sequence ** ** The computer starts up the self destruct sequence. Obviously, ** if the computer is out nothing can happen. You get a countdown ** and a request for password. This must match the password that ** you entered at the start of the game. ** ** You get to destroy things when you blow up; hence, it is ** possible to win the game by destructing if you take the last ** Klingon with you. ** ** By the way, the \032 in the message is a ^Z, which is because ** the terminal in my office is an ADM-3, which uses that char- ** acter to clear the screen. I also stick in a \014 (form feed) ** because that clears some other screens. ** ** Uses trace flag 41 */ destruct() { char checkpass[15]; register int i, j; float zap; if (damaged(COMPUTER)) return (out(COMPUTER)); printf("\n --- WORKING ---\n"); sleep(3); /* output the count 10 9 8 7 6 */ for (i = 10; i > 5; i--) { for (j = 10; j > i; j--) printf(" "); printf("%d\n", i); sleep(1); } /* check for password on new line only */ skiptonl(0); getstrpar("Enter password verification", checkpass, 14, 0); sleep(2); if (!sequal(checkpass, Game.passwd)) return (printf("Self destruct sequence aborted\n")); printf("Password verified; self destruct sequence continues:\n"); sleep(2); /* output count 5 4 3 2 1 0 */ for (i = 5; i >= 0; i--) { sleep(1); for (j = 5; j > i; j--) printf(" "); printf("%d\n", i); } sleep(2); printf("\032\014***** %s destroyed *****\n", Ship.shipname); Game.killed = 1; /* let's see what we can blow up!!!! */ zap = 20.0 * Ship.energy; Game.deaths =+ Ship.crew; for (i = 0; i < Etc.nkling; ) { if (Etc.klingon[i].power * Etc.klingon[i].dist <= zap) killk(Etc.klingon[i].x, Etc.klingon[i].y); else i =+ 1; } /* if we didn't kill the last Klingon (detected by killk), */ /* then we lose.... */ lose(L_DSTRCT); } (dock.cÙnø€�ç# include "trek.h" /* ** DOCK TO STARBASE ** ** The starship is docked to a starbase. For this to work you ** must be adjacent to a starbase. ** ** You get your supplies replenished and your captives are ** disembarked. Note that your score is updated now, not when ** you actually take the captives. ** ** Any repairs that need to be done are rescheduled to take ** place sooner. This provides for the faster repairs when you ** are docked. */ dock() { register int i, j; int ok; register struct event *e; if (Ship.cond == DOCKED) return (printf("Chekov: But captain, we are already docked\n")); /* check for ok to dock, i.e., adjacent to a starbase */ ok = 0; for (i = Ship.sectx - 1; i <= Ship.sectx + 1 && !ok; i++) { if (i < 0 || i >= NSECTS) continue; for (j = Ship.secty - 1; j <= Ship.secty + 1; j++) { if (j < 0 || j >= NSECTS) continue; if (Sect[i][j] == BASE) { ok++;  break; } } } if (!ok) return (printf("Chekov: But captain, we are not adjacent to a starbase.\n")); /* restore resources */ Ship.energy = Param.energy; Ship.torped = Param.torped; Ship.shield = Param.shield; Ship.crew = Param.crew; Game.captives =+ Param.brigfree - Ship.brigfree; Ship.brigfree = Param.brigfree; /* reset ship's defenses */ Ship.shldup = 0; Ship.cloaked = 0; Ship.cond = DOCKED; Ship.reserves = Param.reserves; /* recalibrate space inertial navigation system */ Ship.sinsbad = 0; /* output any saved radio messages */ dumpssradio(); /* reschedule any device repairs */ for (i = 0; i < MAXEVENTS; i++) { e = &Event[i]; if (e->evcode != E_FIXDV) continue; reschedule(e, (e->date - Now.date) * Param.dockfac); } return; } /* ** LEAVE A STARBASE ** ** This is the inverse of dock(). The main function it performs ** is to reschedule any damages so that they will take longer. */ undock() { register struct event *e; register int i; if (Ship.cond != DOCKED) { printf("Sulu: Pardon me captain, but we are not docked.\n"); return; } Ship.cond = GREEN; Move.free = 0; /* reschedule device repair times (again) */ for (i = 0; i < MAXEVENTS; i++) { e = &Event[i]; if (e->evcode != E_FIXDV) continue; reschedule(e, (e->date - Now.date) / Param.dockfac); } return; } cdumpgame.cÙnø¤�¦# include "trek.h" /*** THIS CONSTANT MUST CHANGE AS THE DATA SPACES CHANGE ***/ # define VERSION 1 struct dump { char *area; int count; }; struct dump Dump_template[] { &Ship, sizeof Ship, &Now, sizeof Now, &Param, sizeof Param, &Etc, sizeof Etc, &Game, sizeof Game, &Sect, sizeof Sect, &Quad, sizeof Quad, &Move, sizeof Move, &Event, sizeof Event, 0 }; /* ** DUMP GAME ** ** This routine dumps the game onto the file "trek.dump". The ** first two bytes of the file are a version number, which ** reflects whether this image may be used. Obviously, it must ** change as the size, content, or order of the data structures ** output change. */ dumpgame() { int version; register int fd; register struct dump *d; register int i; if ((fd = creat("trek.dump", 0644)) < 0) return (printf("cannot dump\n")); version = VERSION; write(fd, &version, sizeof version); /* output the main data areas */ for (d = Dump_template; d->area; d++) { write(fd, &d->area, sizeof d->area); i = d->count; write(fd, d->area, i); } close(fd); } /* ** RESTORE GAME ** ** The game is restored from the file "trek.dump". In order for ** this to succeed, the file must exist and be readable, must ** have the correct version number, and must have all the appro- ** priate data areas. ** ** Return value is zero for success, one for failure. */ restartgame() { register int fd; int version; if ((fd = open("trek.dump", 0)) < 0 || read(fd, &version, sizeof version) != sizeof version || version != VERSION || readdump(fd)) { printf("cannot restart\n"); close(fd); return (1); } close(fd); return (0); } /* ** READ DUMP ** ** This is the business end of restartgame(). It reads in the ** areas. ** ** Returns zero for success, one for failure. */ readdump(fd1) int fd1; { register int fd; register struct dump *d; register int i; int junk; fd = fd1; for (d = Dump_template; d->area; d++) { if (read(fd, &junk, sizeof junk) != sizeof junk) return (1); if (junk != d->area) return (1); i = d->count; if (read(fd, d->area, i) != i) return (1); } /* make quite certain we are at EOF */ return (read(fd, &junk, 1)); } dumpme.cÙnø€�T# include "trek.h" /* ** Dump the starship somewhere in the galaxy ** ** Parameter is zero if bounce off of negative energy barrier, ** one if through a black hole ** ** Note that the quadrant is NOT initialized here. This must ** be done from the calling routine. ** ** Repair of devices must be deferred. */ dumpme(flag) int flag; { register int f; double x; register struct event *e; register int i; f = flag; Ship.quadx = ranf(NQUADS); Ship.quady = ranf(NQUADS); Ship.sectx = ranf(NSECTS); Ship.secty = ranf(NSECTS); x =+ 1.5 * franf(); Move.time =+ x; if (f) { printf("%s falls into a black hole.\n", Ship.shipname); } else { printf("Computer applies full reverse power to avoid hitting the\n"); printf(" negative energy barrier. A space warp was entered.\n"); } /* bump repair dates forward */ for (i = 0; i < MAXEVENTS; i++) { e = &Event[i]; if (e->evcode != E_FIXDV) continue; reschedule(e, (e->date - Now.date) + x); } events(1);  printf("You are now in quadrant %d,%d. It is stardate %.2f\n", Ship.quadx, Ship.quady, Now.date); Move.time = 0; } dumpssradio.cÙnø€�*# include "trek.h" /** ** output hidden distress calls **/ dumpssradio() { register struct event *e; register int j; register int chkrest; chkrest = 0; for (j = 0; j < MAXEVENTS; j++) { e = &Event[j]; /* if it is not hidden, then just ignore it */ if ((e->evcode & E_HIDDEN) == 0) continue; if (e->evcode & E_GHOST) { unschedule(e); printf("Starsystem %s in quadrant %d,%d is no longer distressed\n", systemname(e), e->x, e->y); continue; } switch (e->evcode) { case E_KDESB: printf("Starbase in quadrant %d,%d is under attack\n", e->x, e->y); chkrest++; break; case E_ENSLV: case E_REPRO: printf("Starsystem %s in quadrant %d,%d is distressed\n", systemname(e), e->x, e->y); chkrest++; break; } } return (chkrest); } events.cÙnø€‘3(# include "trek.h" /* ** CAUSE TIME TO ELAPSE ** ** This routine does a hell of a lot. It elapses time, eats up ** energy, regenerates energy, processes any events that occur, ** and so on. */ events(warp) int warp; /* set if called in a time warp */ { register int i; int j; struct kling *k; double rtime; double xdate; double idate; struct event *ev; int ix, iy; register struct quad *q; register struct event *e; int evnum; int restcancel; /* if nothing happened, just allow for any Klingons killed */ if (Move.time <= 0.0) { Now.time = Now.resource / Now.klings; return (0); } /* indicate that the cloaking device is now working */ Ship.cloakgood = 1; /* idate is the initial date */ idate = Now.date; /* schedule attacks if resting too long */ if (Move.time > 0.5 && Move.resting) schedule(E_ATTACK, 0.5, 0, 0, 0); /* scan the event list */ while (1) { restcancel = 0; evnum = -1; /* xdate is the date of the current event */ xdate = idate + Move.time; /* find the first event that has happened */ for (i = 0; i < MAXEVENTS; i++) { e = &Event[i]; if (e->evcode == 0 || (e->evcode & E_GHOST)) continue; if (e->date < xdate) { xdate = e->date; ev = e; evnum = i; } } e = ev; /* find the time between events */ rtime = xdate - Now.date; /* decrement the magic "Federation Resources" pseudo-variable */ Now.resource =- Now.klings * rtime; /* and recompute the time left */ Now.time = Now.resource / Now.klings; /* move us up to the next date */ Now.date = xdate; /* check for out of time */ if (Now.time <= 0.0) lose(L_NOTIME); # ifdef xTRACE if (evnum >= 0 && Trace) printf("xdate = %.2f, evcode %d params %d %d %d\n", xdate, e->evcode, e->x, e->y, e->systemname); # endif /* if evnum < 0, no events occurred */ if (evnum < 0) break; /* otherwise one did. Find out what it is */ switch (e->evcode & E_EVENT) { case E_SNOVA: /* supernova */ /* cause the supernova to happen */ snova(-1); /* and schedule the next one */ xresched(e, E_SNOVA, 1); break; case E_LRTB: /* long range tractor beam */ /* schedule the next one */ xresched(e, E_LRTB, Now.klings); /* LRTB cannot occur if we are docked */ if (Ship.cond != DOCKED) { /* pick a new quadrant */ i = ranf(Now.klings) + 1; for (ix = 0; ix < NQUADS; ix++) { for (iy = 0; iy < NQUADS; iy++) { q = &Quad[ix][iy]; if (q->stars >= 0) if ((i =- q->klings) <= 0) break; } if (i <= 0)  break; } /* test for LRTB to same quadrant */ if (Ship.quadx == ix && Ship.quady == iy) break; /* nope, dump him in the new quadrant */ Ship.quadx = ix; Ship.quady = iy; printf("\n%s caught in long range tractor beam\n", Ship.shipname); printf("*** Pulled to quadrant %d,%d\n", Ship.quadx, Ship.quady); Ship.sectx = ranf(NSECTS); Ship.secty = ranf(NSECTS); initquad(0); /* truncate the move time */ Move.time = xdate - idate; } break; case E_KATSB: /* Klingon attacks starbase */ /* if out of bases, forget it */ if (Now.bases <= 0) { unschedule(e); break; } /* check for starbase and Klingons in same quadrant */ for (i = 0; i < Now.bases; i++) { ix = Now.base[i].x; iy = Now.base[i].y; /* see if a Klingon exists in this quadrant */ q = &Quad[ix][iy]; if (q->klings <= 0) continue; /* see if already distressed */ for (j = 0; j < MAXEVENTS; j++) { e = &Event[j]; if ((e->evcode & E_EVENT) != E_KDESB) continue; if (e->x == ix && e->y == iy) break; } if (j < MAXEVENTS) continue; /* got a potential attack */ break; } e = ev; if (i >= Now.bases) { /* not now; wait a while and see if some Klingons move in */ reschedule(e, 0.5 + 3.0 * franf()); break; } /* schedule a new attack, and a destruction of the base */ xresched(e, E_KATSB, 1); e = xsched(E_KDESB, 1, ix, iy, 0); /* report it if we can */  if (!damaged(SSRADIO)) { printf("\nUhura: Captain, we have recieved a distress signal\n"); printf(" from the starbase in quadrant %d,%d.\n", ix, iy); restcancel++; } else /* SSRADIO out, make it so we can't see the distress call */ /* but it's still there!!! */ e->evcode =| E_HIDDEN; break; case E_KDESB: /* Klingon destroys starbase */ unschedule(e); q = &Quad[e->x][e->y]; /* if the base has mysteriously gone away, or if the Klingon got tired and went home, ignore this event */ if (q->bases <=0 || q->klings <= 0) break; /* are we in the same quadrant? */ if (e->x == Ship.quadx && e->y == Ship.quady) { /* yep, kill one in this quadrant */ printf("\nSpock: "); killb(Ship.quadx, Ship.quady); } else /* kill one in some other quadrant */ killb(e->x, e->y); break; case E_ISSUE: /* issue a distress call */ xresched(e, E_ISSUE, 1); /* if we already have too many, throw this one away */ if (Ship.distressed >= MAXDISTR) break; /* try a whole bunch of times to find something suitable */ for (i = 0; i < 100; i++) { ix = ranf(NQUADS); iy = ranf(NQUADS); q = &Quad[ix][iy]; /* need a quadrant which is not the current one, which has some stars which are inhabited and not already under attack, which is not supernova'ed, and which has some Klingons in it */ if (!((ix == Ship.quadx && iy == Ship.quady) || q->stars < 0 || (q->systemname & Q_DISTRESSED) || (q->systemname & Q_SYSTEM) == 0 || q->klings <= 0)) break; } if (i >= 100) /* can't seem to find one; ignore this call */ break; /* got one!! Schedule its enslavement */ Ship.distressed =+ 1; e = xsched(E_ENSLV, 1, ix, iy, q->systemname); q->systemname = (e - Event) | Q_DISTRESSED; /* tell the captain about it if we can */ if (!damaged(SSRADIO)) { printf("\nUhura: Captain, starsystem %s in quadrant %d,%d is under attack\n", Systemname[e->systemname], ix, iy); restcancel++; } else /* if we can't tell him, make it invisible */ e->evcode =| E_HIDDEN; break; case E_ENSLV: /* starsystem is enslaved */ unschedule(e); /* see if current distress call still active */ q = &Quad[e->x][e->y]; if (q->klings <= 0) { /* no Klingons, clean up */ /* restore the system name */ q->systemname = e->systemname; break; } /* play stork and schedule the first baby */ e = schedule(E_REPRO, Param.eventdly[E_REPRO] * franf(), e->x, e->y, e->systemname); /* report the disaster if we can */ if (!damaged(SSRADIO)) { printf("\nUhura: We've lost contact with starsystem %s\n", Systemname[e->systemname]); printf(" in quadrant %d,%d.\n", e->x, e->y); } else e->evcode =| E_HIDDEN; break; case E_REPRO: /* Klingon reproduces */ /* see if distress call is still active */ q = &Quad[e->x][e->y]; if (q->klings <= 0) { unschedule(e); q->systemname = e->systemname; break; } xresched(e, E_REPRO, 1); /* reproduce one Klingon */ ix = e->x; iy = e->y; if (Now.klings == 127) break; /* full right now */ if (q->klings >= MAXKLQUAD) { /* this quadrant not ok, pick an adjacent one */ for (i = ix - 1; i <= ix + 1; i++) { if (i < 0 || i >= NQUADS) continue; for (j = iy - 1; j <= iy + 1; j++) { if (j < 0 || j >= NQUADS) continue; q = &Quad[i][j]; /* check for this quad ok (not full & no snova) */ if (q->klings >= MAXKLQUAD || q->stars < 0) continue; break; } if (j <= iy + 1) break; } if (j > iy + 1) /* cannot create another yet */ break; ix = i; iy = j; } /* deliver the child */ q->klings =+ 1; Now.klings =+ 1; if (ix == Ship.quadx && iy == Ship.quady) { /* we must position Klingon */ sector(&ix, &iy); Sect[ix][iy] = KLINGON; k = &Etc.klingon[Etc.nkling++]; k->x = ix; k->y = iy; k->power = Param.klingpwr; k->srndreq = 0; compkldist(Etc.klingon[0].dist == Etc.klingon[0].avgdist ? 0 : 1); } /* recompute time left */ Now.time = Now.resource / Now.klings; break; case E_SNAP: /* take a snapshot of the galaxy */ xresched(e, E_SNAP, 1); i = Etc.snapshot; i = bmove(&Quad, i, sizeof Quad); i = bmove(&Event, i, sizeof Event); i = bmove(&Now, i, sizeof Now); Game.snap = 1; break; case E_ATTACK: /* Klingons attack during rest period */ if (!Move.resting) { unschedule(e); break; } attack(1); reschedule(e, 0.5); break; case E_FIXDV: i = e->systemname; unschedule(e); /* de-damage the device */ printf("%s reports repair work on the %s finished.\n", Device[i].person, Device[i].name); /* handle special processing upon fix */ switch (i) { case LIFESUP: Ship.reserves = Param.reserves; break; case SINS: if (Ship.cond == DOCKED) break; printf("Spock has tried to recalibrate your Space Internal Navigation System,\n"); printf(" but he has no standard base to calibrate to. Suggest you get\n"); printf(" to a starbase immediately so that you can properly recalibrate.\n"); Ship.sinsbad = 1; break; case SSRADIO: restcancel = dumpssradio(); break; } break; default: break; } if (restcancel && Move.resting && getynpar("Spock: Shall we cancel our rest period")) Move.time = xdate - idate; } /* unschedule an attack during a rest period */ if (e = Now.eventptr[E_ATTACK]) unschedule(e); if (!warp) { /* eat up energy if cloaked */ if (Ship.cloaked) Ship.energy =- Param.cloakenergy * Move.time; /* regenerate resources */ rtime = 1.0 - exp(-Param.regenfac * Move.time); Ship.shield =+ (Param.shield - Ship.shield) * rtime; Ship.energy =+ (Param.energy - Ship.energy) * rtime; /* decrement life support reserves */ if (damaged(LIFESUP) && Ship.cond != DOCKED) Ship.reserves =- Move.time; } return (0); } aexterns.cÙnø€�è# include "trek.h" /* ** global variable definitions */ struct device Device[NDEV] { "warp drive", "Scotty", "S.R. scanners", "Scotty", "L.R. scanners", "Scotty", "phasers", "Sulu", "photon tubes", "Sulu", "impulse engines", "Scotty", "shield control", "Sulu", "computer", "Spock", "subspace radio", "Uhura", "life support", "Scotty", "navigation system", "Chekov", "cloaking device", "Scotty", "transporter", "Scotty", "shuttlecraft", "Scotty", "*ERR 14*", "Nobody", "*ERR 15*", "Nobody" }; char *Systemname[NINHAB] { "ERROR", "Talos IV", "Rigel III", "Deneb VII", "Canopus V", "Icarus I", "Prometheus II", "Omega VII", "Elysium I", "Scalos IV", "Procyon IV", "Arachnid I", "Argo VIII", "Triad III", "Echo IV", "Nimrod III", "Nemisis IV", "Centarurus I", "Kronos III", "Spectros V", "Beta III", "Gamma Tranguli VI", "Pyris III", "Triachus", "Marcus XII", "Kaland", "Ardana", "Stratos", "Eden", "Arrikis", "Epsilon Erandi IV", "Exo III" }; getcodi.cÙnø€�U# include "getpar.h" /* ** get course and distance ** ** The user is asked for a course and distance. This is used by ** move, impulse, and some of the computer functions. ** ** The return value is zero for success, one for an invalid input ** (meaning to drop the request). */ getcodi(co, di) int *co; float *di; { *co = getintpar("Course"); /* course must be in the interval [0, 360] */ if (*co < 0 || *co > 360) return (1); *di = getfltpar("Distance"); /* distance must be in the interval [0, 15] */ if (*di <= 0.0 || *di > 15.0) return (1); /* good return */ return (0); } ugetpar.cÙoø€�‡ # include "getpar.h" /** ** get integer parameter **/ getintpar(s) char *s; { register int i; int n; while (1) { if (testnl() && s) printf("%s: ", s); i = scanf("%d", &n); if (i < 0) exit(1); if (i > 0 && testterm()) return (n); printf("invalid input; please enter an integer\n"); skiptonl(0); } } /** ** get floating parameter  **/ double getfltpar(s) char *s; { register int i; double d; while (1) { if (testnl() && s) printf("%s: ", s); i = scanf("%lf", &d); if (i < 0) exit(1); if (i > 0 && testterm()) return (d); printf("invalid input; please enter a float\n"); skiptonl(0); } } /** ** get yes/no parameter **/ struct cvntab Yntab[] { "y", "es", 1, 0, "n", "o", 0, 0, 0 }; getynpar(s) char *s; { struct cvntab *r; r = getcodpar(s, Yntab); return (r->value); } /** ** get coded parameter  **/ struct cvntab *getcodpar(s, tab) char *s; struct cvntab tab[]; { char input[100]; register struct cvntab *r; int flag; register char *p, *q; int c; int f; flag = 0; while (1) { flag =| (f = testnl()); if (flag) printf("%s: ", s); if (f) cgetc(0); /* throw out the newline */ scanf("%*[ \t;]"); if ((c = scanf("%[^ \t;\n]", input)) < 0) exit(1); if (c == 0) continue; flag = 1; /* if command list, print four per line */ if (input[0] == '?' && input[1] == 0) { c = 4; for (r = tab; r->abrev; r++) { concat(r->abrev, r->full, input); printf("%14.14s", input); if (--c > 0) continue; c = 4; printf("\n"); } if (c != 4) printf("\n"); continue; } /* search for in table */ for (r = tab; r->abrev; r++) { p = input; for (q = r->abrev; *q; q++) if (*p++ != *q) break; if (!*q) { for (q = r->full; *p && *q; q++, p++) if (*p != *q) break; if (!*p || !*q) break; } } /* check for not found */ if (!r->abrev) { printf("invalid input; ? for valid inputs\n"); skiptonl(0); } else return (r); } } /** ** get string parameter **/ getstrpar(s, r, l, t) char *s; char *r; int l; char *t; { register int i; char format[20]; register int f; if (t == 0) t = " \t\n;"; printf(-1, format, "%%%d[^%s]", l, t); while (1) { if ((f = testnl()) && s) printf("%s: ", s); if (f) cgetc(0); scanf("%*[\t ;]"); i = scanf(format, r); if (i < 0) exit(1); if (i != 0) return; } } /** ** test if newline is next valid character **/ testnl() { register char c; while ((c = cgetc(0)) != '\n') if ((c >= '0' && c <= '9') || c == '.' || c == '!' || (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') || c == '-') { ungetc(c, 0); return(0); } ungetc(c, 0); return (1); } /** ** scan for newline **/ skiptonl(c) char c; { while (c != '\n') if (!(c = cgetc(0))) return; ungetc('\n', 0); return; } /** ** test for valid terminator **/ testterm() { register char c; if (!(c = cgetc(0))) return (1); if (c == '.') return (0); if (c == '\n' || c == ';') ungetc(c, 0); return (1); } /* ** TEST FOR SPECIFIED DELIMETER ** ** The standard input is scanned for the parameter. If found, ** it is thrown away and non-zero is returned. If not found, ** zero is returned. */ readdelim(d) char d; { register char c; while (c = cgetc(0)) { if (c == d) return (1); if (c == ' ') continue; ungetc(c, 0); break; } return (0); } tgetpar.hÙoø¤�·struct cvntab /* used for getcodpar() paramater list */ { char *abrev; char *full; int (*value)(); int value2; }; extern double getfltpar(); extern struct cvntab *getcodpar(); help.cÙoø€�U # include "trek.h" /* ** call starbase for help ** ** First, the closest starbase is selected. If there is a ** a starbase in your own quadrant, you are in good shape. ** This distance takes quadrant distances into account only. ** ** A magic number is computed based on the distance which acts ** as the probability that you will be rematerialized. You ** get three tries. ** ** When it is determined that you should be able to be remater- ** ialized (i.e., when the probability thing mentioned above ** comes up positive), you are put into that quadrant (anywhere). ** Then, we try to see if there is a spot adjacent to the star- ** base. If not, you can't be rematerialized!!! Otherwise, ** it drops you there. It only tries five times to find a spot ** to drop you. After that, it's your problem. */ char *Cntvect[3] {"first", "second", "third"}; help() { register int i; double dist, x; register int dx, dy; int j, l; /* check to see if calling for help is reasonable ... */ if (Ship.cond == DOCKED) return (printf("Uhura: But Captain, we're already docked\n")); /* or possible */ if (damaged(SSRADIO)) return (out(SSRADIO)); if (Now.bases <= 0) return (printf("Uhura: I'm not getting any response from starbase\n")); /* tut tut, there goes the score */ Game.helps =+ 1; /* find the closest base */ dist = 1e50; if (Quad[Ship.quadx][Ship.quady].bases <= 0) { /* there isn't one in this quadrant */ for (i = 0; i < Now.bases; i++) { /* compute distance */ dx = Now.base[i].x - Ship.quadx; dy = Now.base[i].y - Ship.quady; x = dx * dx + dy * dy; x = sqrt(x); /* see if better than what we already have */ if (x < dist) { dist = x; l = i; } } /* go to that quadrant */ Ship.quadx = Now.base[l].x; Ship.quady = Now.base[l].y; initquad(1); } else { dist = 0.0; } /* dematerialize the Enterprise */ Sect[Ship.sectx][Ship.secty] = EMPTY; printf("Starbase in %d,%d responds\n", Ship.quadx, Ship.quady); /* this next thing acts as a probability that it will work */ x = pow(1.0 - pow(0.94, dist), 0.3333333); /* attempt to rematerialize */ for (i = 0; i < 3; i++) { sleep(2); printf("%s attempt to rematerialize ", Cntvect[i]); if (franf() > x) { /* ok, that's good. let's see if we can set her down */ for (j = 0; j < 5; j++) { dx = Etc.starbase.x + ranf(3) - 1; if (dx < 0 || dx >= NSECTS) continue; dy = Etc.starbase.y + ranf(3) - 1; if (dy < 0 || dy >= NSECTS || Sect[dx][dy] != EMPTY) continue; break; } if (j < 5) { /* found an empty spot */ printf("succeeds\n"); Ship.sectx = dx; Ship.secty = dy; Sect[dx][dy] = Ship.ship; dock(); compkldist(0); return; } /* the starbase must have been surrounded */ } printf("fails\n"); } /* one, two, three strikes, you're out */ lose(L_NOHELP); } impulse.cÙoø€�Õ# include "trek.h" /** ** move under impulse power **/ impulse() { int course; register int power; float dist, time; register int percent; extern float move(); if (Ship.cond == DOCKED) return (printf("Scotty: Sorry captain, but we are still docked.\n")); if (damaged(IMPULSE)) return (out(IMPULSE)); if (getcodi(&course, &dist)) return; power = 20 + 100 * dist; percent = 100 * power / Ship.energy + 0.5; if (percent >= 85) { printf("Scotty: That would consume %d%% of our remaining energy.\n", percent); if (!getynpar("Are you sure that is wise")) return; printf("Aye aye, sir\n"); } time = dist / 0.095; percent = 100 * time / Now.time + 0.5; if (percent >= 85) { printf("Spock: That would take %d%% of our remaining time.\n", percent); if (!getynpar("Are you sure that is wise")) return; printf("(He's finally gone mad)\n"); } Move.time = move(0, course, time, 0.095); Ship.energy =- 20 + 100 * Move.time * 0.095; } tinitquad.cÙoø€�È# include "trek.h" /* ** Paramize Quadrant Upon Entering ** ** A quadrant is initialized from the information held in the ** Quad matrix. Basically, everything is just initialized ** randomly, except for the starship, which goes into a fixed ** sector. ** ** If there are Klingons in the quadrant, the captain is informed ** that the condition is RED, and he is given a chance to put ** his shields up if the computer is working. ** ** The flag `f' is set to disable the check for condition red. ** This mode is used in situations where you know you are going ** to be docked, i.e., abandon() and help(). */ initquad(f) int f; { register int i, j; int rx, ry; int nbases, nstars; register struct quad *q; int nholes; q = &Quad[Ship.quadx][Ship.quady]; /* ignored supernova'ed quadrants (this is checked again later anyway */ if (q->stars < 0) return; Etc.nkling = q->klings; nbases = q->bases; nstars = q->stars; nholes = q->holes; /* have we blundered into a battle zone w/ shields down? */ if (Etc.nkling > 0 && !f) { printf("Condition RED\n"); Ship.cond = RED; if (!damaged(COMPUTER)) shield(1); } /* clear out the quadrant */ for (i = 0; i < NSECTS; i++) for (j = 0; j < NSECTS; j++) Sect[i][j] = EMPTY; /* initialize Enterprise */ Sect[Ship.sectx][Ship.secty] = Ship.ship; /* initialize Klingons */ for (i = 0; i < Etc.nkling; i++) { sector(&rx, &ry); Sect[rx][ry] = KLINGON; Etc.klingon[i].x = rx; Etc.klingon[i].y = ry; Etc.klingon[i].power = Param.klingpwr; Etc.klingon[i].srndreq = 0; } compkldist(1); /* initialize star base */ if (nbases > 0) { sector(&rx, &ry); Sect[rx][ry] = BASE; Etc.starbase.x = rx; Etc.starbase.y = ry; } /* initialize inhabited starsystem */ if (q->systemname != 0) { sector(&rx, &ry); Sect[rx][ry] = INHABIT; nstars =- 1; } /* initialize black holes */ for (i = 0; i < nholes; i++) { sector(&rx, &ry); Sect[rx][ry] = HOLE; } /* initialize stars */ for (i = 0; i < nstars; i++) { sector(&rx, &ry); Sect[rx][ry] = STAR; } Move.newquad = 1; } sector(x, y) int *x, *y; { register int i, j; do { i = ranf(NSECTS); j = ranf(NSECTS); } while (Sect[i][j] != EMPTY); *x = i; *y = j; return; } kill.cÙoø€�Œ# include "trek.h" /* ** KILL KILL KILL !!! ** ** This file handles the killing off of almost anything. */ /* ** Handle a Klingon's death ** ** The Klingon at the sector given by the parameters is killed ** and removed from the Klingon list. Notice that it is not ** removed from the event list; this is done later, when the ** the event is to be caught. Also, the time left is recomputed, ** and the game is won if that was the last klingon. */ killk(ix, iy) int ix, iy; { register int i, j; printf(" *** Klingon at %d,%d destroyed ***\n", ix, iy); /* remove the scoundrel */ Now.klings =- 1; Sect[ix][iy] = EMPTY; Quad[Ship.quadx][Ship.quady].klings =- 1; /* %%% IS THIS SAFE???? %%% */ Quad[Ship.quadx][Ship.quady].scanned =- 100; Game.killk =+ 1; /* find the Klingon in the Klingon list */ for (i = 0; i < Etc.nkling; i++) if (ix == Etc.klingon[i].x && iy == Etc.klingon[i].y) { /* purge him from the list */ Etc.nkling =- 1; for (; i < Etc.nkling; i++) bmove(&Etc.klingon[i+1], &Etc.klingon[i], sizeof Etc.klingon[i]); break; } /* find out if that was the last one */ if (Now.klings <= 0) win(); /* recompute time left */ Now.time = Now.resource / Now.klings; return; } /* ** handle a starbase's death */ killb(qx, qy) int qx, qy; { register struct quad *q; register struct xy *b; q = &Quad[qx][qy]; if (q->bases <= 0) return; if (!damaged(SSRADIO)) /* then update starchart */ if (q->scanned < 1000) q->scanned =- 10; else if (q->scanned > 1000) q->scanned = -1; q->bases = 0; Now.bases =- 1; for (b = Now.base; ; b++) if (qx == b->x && qy == b->y) break; bmove(&Now.base[Now.bases], b, sizeof *b); if (qx == Ship.quadx && qy == Ship.quady) { Sect[Etc.starbase.x][Etc.starbase.y] = EMPTY; if (Ship.cond == DOCKED) undock(); printf("Starbase at %d,%d destroyed\n", Etc.starbase.x, Etc.starbase.y); } else { if (!damaged(SSRADIO)) { printf("Uhura: Starfleet command reports that the starbase in\n"); printf(" quadrant %d,%d has been destroyed\n", qx, qy); } else schedule(E_KATSB | E_GHOST, 1e50, qx, qy, 0); } } /** ** kill an inhabited starsystem **/ kills(x, y, f) int x, y; /* quad coords if f == 0, else sector coords */ int f; /* f != 0 -- this quad; f < 0 -- Enterprise's fault */ { register struct quad *q; register struct event *e; register char *name; if (f) { /* current quadrant */ q = &Quad[Ship.quadx][Ship.quady]; Sect[x][y] = EMPTY; name = systemname(q); if (name == 0) return; printf("Inhabited starsystem %s at %d,%d destroyed\n", name, x, y); if (f < 0) Game.killinhab =+ 1; } else { /* different quadrant */ q = &Quad[x][y]; } if (q->systemname & Q_DISTRESSED) { /* distressed starsystem */ e = &Event[q->systemname & Q_SYSTEM]; printf("Distress call for %s invalidated\n", Systemname[e->systemname]); unschedule(e); } q->systemname = 0; q->stars =- 1; } /** ** "kill" a distress call **/ killd(x, y, f) int x, y; /* quadrant coordinates */ int f; /* set if user is to be informed */ { register struct event *e; register int i; register struct quad *q; q = &Quad[x][y]; for (i = 0; i < MAXEVENTS; i++) { e = &Event[i]; if (e->x != x || e->y != y) continue; switch (e->evcode) { case E_KDESB: if (f) { printf("Distress call for starbase in %d,%d nullified\n", x, y); unschedule(e); } break; case E_ENSLV: case E_REPRO: if (f) { printf("Distress call for %s in quadrant %d,%d nullified\n", Systemname[e->systemname], x, y); q->systemname = e->systemname; unschedule(e); } else { e->evcode =| E_GHOST; } } } } klmove.cÙoø€�±# include "trek.h" /* ** Move Klingons Around ** ** This is a largely incomprehensible block of code that moves ** Klingons around in a quadrant. It was written in a very ** "program as you go" fashion, and is a prime candidate for ** rewriting. ** ** The flag `fl' is zero before an attack, one after an attack, ** and two if you are leaving a quadrant. This serves to ** change the probability and distance that it moves. ** ** Basically, what it will try to do is to move a certain number ** of steps either toward you or away from you. It will avoid ** stars whenever possible. Nextx and nexty are the next ** sector to move to on a per-Klingon basis; they are roughly ** equivalent to Ship.sectx and Ship.secty for the starship. Lookx and ** looky are the sector that you are going to look at to see ** if you can move their. Dx and dy are the increment. Fudgex ** and fudgey are the things you change around to change your ** course around stars. */ klmove(fl) int fl; { int n; register struct kling *k; double dx, dy; int nextx, nexty; register int lookx, looky; int motion; int fudgex, fudgey; int qx, qy; double bigger; int i; # ifdef xTRACE if (Trace) printf("klmove: fl = %d, Etc.nkling = %d\n", fl, Etc.nkling); # endif for (n = 0; n < Etc.nkling; k && n++) { k = &Etc.klingon[n]; i = 100; if (fl) i = 100.0 * k->power / Param.klingpwr; if (ranf(i) >= Param.moveprob[2 * Move.newquad + fl]) continue; /* compute distance to move */ motion = ranf(75) - 25; motion =* k->avgdist * Param.movefac[2 * Move.newquad + fl]; /* compute direction */ dx = Ship.sectx - k->x + ranf(3) - 1; dy = Ship.secty - k->y + ranf(3) - 1; bigger = dx; if (dy > bigger) bigger = dy; if (bigger == 0.0) bigger = 1.0; dx = dx / bigger + 0.5; dy = dy / bigger + 0.5; if (motion < 0) { motion = -motion; dx = -dx; dy = -dy; } fudgex = fudgey = 1; /* try to move the klingon */ nextx = k->x; nexty = k->y; for (; motion > 0; motion--) { lookx = nextx + dx; looky = nexty + dy; if (lookx < 0 || lookx >= NSECTS || looky < 0 || looky >= NSECTS) { /* new quadrant */ qx = Ship.quadx; qy = Ship.quady; if (lookx < 0) qx =- 1; else if (lookx >= NSECTS) qx =+ 1; if (looky < 0) qy =- 1; else if (looky >= NSECTS) qy =+ 1; if (qx < 0 || qx >= NQUADS || qy < 0 || qy >= NQUADS || Quad[qx][qy].stars < 0 || Quad[qx][qy].klings > MAXKLQUAD - 1) break; if (!damaged(SRSCAN)) { printf("Klingon at %d,%d escapes to quadrant %d,%d\n", k->x, k->y, qx, qy); motion = Quad[qx][qy].scanned; if (motion >= 0 && motion < 1000) Quad[qx][qy].scanned =+ 100; motion = Quad[Ship.quadx][Ship.quady].scanned; if (motion >= 0 && motion < 1000) Quad[Ship.quadx][Ship.quady].scanned =- 100; } Sect[k->x][k->y] = EMPTY; Quad[qx][qy].klings =+ 1; Etc.nkling =- 1; bmove(&Etc.klingon[Etc.nkling], k, sizeof *k); Quad[Ship.quadx][Ship.quady].klings =- 1; k = 0; break; } if (Sect[lookx][looky] != EMPTY) { lookx = nextx + fudgex; if (lookx < 0 || lookx >= NSECTS) lookx = nextx + dx; if (Sect[lookx][looky] != EMPTY) { fudgex = -fudgex; looky = nexty + fudgey; if (looky < 0 || looky >= NSECTS || Sect[lookx][looky] != EMPTY) { fudgey = -fudgey; break; } } } nextx = lookx; nexty = looky; } if (k && (k->x != nextx || k->y != nexty)) { if (!damaged(SRSCAN)) printf("Klingon at %d,%d moves to %d,%d\n", k->x, k->y, nextx, nexty); Sect[k->x][k->y] = EMPTY; Sect[k->x = nextx][k->y = nexty] = KLINGON; } } compkldist(0); } close.cÙpø€�Ñ# include "trek.h" /* ** PRINT OUT LOSER MESSAGES ** ** The messages are printed out, the score is computed and ** printed, and the game is restarted. Oh yeh, any special ** actions which need be taken are taken. */ char *Losemsg[] { "You ran out of time", "You ran out of energy", "You have been destroyed", "You ran into the negative energy barrier", "You destroyed yourself by nova'ing that star", "You have been caught in a supernova", "You just suffocated in outer space", "You could not be rematerialized", "\n\032\014 *** Ship's hull has imploded ***", "You have burned up in a star", "Well, you destroyed yourself, but it didn't do any good", "You have been captured by Klingons and mercilessly tortured", "Your last crew member died", }; lose(why) int why; { Game.killed = 1; sleep(1); printf("\n%s\n", Losemsg[why - 1]); switch (why) { case L_NOTIME: Game.killed = 0; break; } Move.endgame = -1; score(); skiptonl(0); reset(); } olrscan.cÙpø€�:# include "trek.h" /* ** LONG RANGE OF SCANNERS ** ** A summary of the quadrants that surround you is printed. The ** hundreds digit is the number of Klingons in the quadrant, ** the tens digit is the number of starbases, and the units digit ** is the number of stars. If the printout is "///" it means ** that that quadrant is rendered uninhabitable by a supernova. ** It also updates the "scanned" field of the quadrants it scans, ** for future use by the "chart" option of the computer. */ lrscan() { register int i, j; register struct quad *q; if (check_out(LRSCAN)) { return; } printf("Long range scan for quadrant %d,%d\n\n", Ship.quadx, Ship.quady); /* print the header on top */ for (j = Ship.quady - 1; j <= Ship.quady + 1; j++) { if (j < 0 || j >= NQUADS) printf(" "); else printf(" %1d", j); } /* scan the quadrants */ for (i = Ship.quadx - 1; i <= Ship.quadx + 1; i++) { printf("\n -------------------\n"); if (i < 0 || i >= NQUADS) { /* negative energy barrier */ printf(" ! * ! * ! * !"); continue; } /* print the left hand margin */ printf("%1d !", i); for (j = Ship.quady - 1; j <= Ship.quady + 1; j++) { if (j < 0 || j >= NQUADS) { /* negative energy barrier again */ printf(" * !"); continue; } q = &Quad[i][j]; if (q->stars < 0) { /* supernova */ printf(" /// !"); q->scanned = 1000; continue; } q->scanned = q->klings * 100 + q->bases * 10 + q->stars; printf(" %3d !", q->scanned); } } printf("\n -------------------\n"); return; } main.cÙpø€‘b# include "trek.h" # define PRIO 10 /* default priority */ int Mother 51 + (51 << 8); /* ** #### ##### # #### ##### #### ##### # # ** # # # # # # # # # # # # ** ### # ##### ####  # #### ### ### ** # # # # # # # # # # # # ** #### # # # # # # # # ##### # # ** ** C version by Eric P. Allman 5/76 (U.C. Berkeley) with help ** from Jeff Poskanzer and Pete Rubinstein. ** ** I also want to thank everyone here at Berkeley who ** where crazy enough to play the undebugged game. I want to ** particularly thank Nick Whyte, who made considerable ** suggestions regarding the content of the game. Why, I'll ** never forget the time he suggested the name for the ** "capture" command. ** ** Please send comments, questions, and suggestions about this ** game to: ** Eric P. Allman ** Project INGRES ** Electronics Research Laboratory ** Cory Hall ** University of California ** Berkeley, California 94720 ** ** If you make ANY changes in the game, I sure would like to ** know about them. It is sort of an ongoing project for me, ** and I very much want to put in any bug fixes and improvements ** that you might come up with. ** ** FORTRASH version by Kay R. Fisher (DEC) "and countless others". ** That was adapted from the "original BASIC program" (ha!) by ** Mike Mayfield (Centerline Engineering). ** ** Additional inspiration taken from FORTRAN version by ** David Matuszek and Paul Reynolds which runs on the CDC ** 7600 at Lawrence Berkeley Lab, maintained there by ** Andy Davidson. This version is also available at LLL ** and at LMSC. In all fairness, this version was the ** major inspiration for this version of the game (trans- ** lation: I ripped off a whole lot of code). ** ** Minor other input from the "Battelle Version 7A" by Joe Miller ** (Graphics Systems Group, Battelle-Columbus Labs) and ** Ross Pavlac (Systems Programmer, Battelle Memorial ** Institute). That version was written in December '74 ** and extensively modified June '75. It was adapted ** from the FTN version by Ron Williams of CDC Sunnyvale, ** which was adapted from the Basic version distributed ** by DEC. It also had "neat stuff swiped" from T. T. ** Terry and Jim Korp (University of Texas), Hicks (Penn ** U.), and Rick Maus (Georgia Tech). Unfortunately, it ** was not as readable as it could have been and so the ** translation effort was severely hampered. None the ** less, I got the idea of inhabited starsystems from this ** version. ** ** Permission is given for use, copying, and modification of ** all or part of this program and related documentation, ** provided that all reference to the authors are maintained. ** ** ********************************************************************** ** ** NOTES TO THE MAINTAINER: ** ** There is a compilation option xTRACE which must be set for any ** trace information to be generated. It is probably defined in ** the version that you get. It can be removed, however, if you ** have trouble finding room in core. ** ** Many things in trek are not as clear as they might be, but are ** done to reduce space. I compile with the -f and -O flags. I ** am constrained to running with non-seperated I/D space, since ** we don't have floating point hardware here; even if we did, I ** would like trek to be available to the large number of people ** who either have an 11/40 or do not have FP hardware. I also ** found it desirable to make the code run reentrant, so this ** added even more space constraints. ** ** I use the portable C library to do my I/O. This is done be- ** cause I wanted the game easily transportable to other C ** implementations, and because I was too lazy to do the floating ** point input myself. Little did I know. The portable C library ** released by Bell Labs has more bugs than you would believe, so ** I ended up rewriting the whole blessed thing. Trek excercises ** many of the bugs in it, as well as bugs in some of the section ** III UNIX routines. We have fixed them here. One main problem ** was a bug in alloc() that caused it to always ask for a large ** hunk of memory, which worked fine unless you were almost out, ** which I inevitably was. If you want the code for all of this ** stuff, it is also available through me. ** *********************************************************************** */ main(argc, argv) int argc; char **argv; { int vect[3]; extern int f_log; register char opencode; int prio; register int ac; register char **av; av = argv; ac = argc; av++; time(vect); srand(vect[1]); opencode = 'w'; prio = PRIO; if (gtty(1, vect) == 0) { if ((vect[0] & 0377) > 8) Etc.fast++; } while (ac > 1 && av[0][0] == '-') { switch (av[0][1]) { case 'a': /* append to log file */ opencode = 'a'; break; case 'f': /* set fast mode */ Etc.fast++; break; case 's': /* set slow mode */ Etc.fast = 0; break; # ifdef xTRACE case 't': /* trace */ if (getuid() != Mother) goto badflag; Trace++; break; # endif case 'p': /* set priority */ if (getuid() != Mother) goto badflag; if (scanf(-1, &av[0][2], "%d", &prio) > 0) break; default: badflag: printf("Invalid option: %s\n", av[0]); } ac--; av++; } if (ac > 2) syserr(0, "arg count"); if (ac > 1) f_log = copen(av[0], opencode); printf("\n * * * S T A R T R E K * * *\n\n"); ungetc('\n', 0); /* prime the standard input */ ungetc('y', 0); nice(prio); setexit(); while (getynpar("Another game")) { setup(); play(); } flush(); } move.cÙpø€‘Ž# include "trek.h" /* ** Move Under Warp or Impulse Power ** ** `Ramflag' is set if we are to be allowed to ram stars, ** Klingons, etc. This is passed from warp(), which gets it from ** either play() or ram(). Course is the course (0 -> 360) at ** which we want to move. `Speed' is the speed we ** want to go, and `time' is the expected time. It ** can get cut short if a long range tractor beam is to occur. We ** cut short the move so that the user doesn't get docked time and ** energy for distance which he didn't travel. ** ** We check the course through the current quadrant to see that he ** doesn't run into anything. After that, though, space sort of ** bends around him. Note that this puts us in the awkward posi- ** tion of being able to be dropped into a sector which is com- ** pletely surrounded by stars. Oh Well. ** ** If the SINS (Space Inertial Navigation System) is out, we ran- ** domize the course accordingly before ever starting to move. ** We will still move in a straight line. ** ** Note that if your computer is out, you ram things anyway. In ** other words, if your computer and sins are both out, you're in ** potentially very bad shape. ** ** Klingons get a chance to zap you as you leave the quadrant. ** By the way, they also try to follow you (heh heh). ** ** Return value is the actual amount of time used. ** ** ** Uses trace flag 4. */ float move(ramflag, course, time, speed) int ramflag; int course; float time; float speed; { double angle; float x, y, dx, dy; register int ix, iy; double bigger; int n; register int i; float dist; float sectsize; double xn; float evtime; # ifdef xTRACE if (Trace) printf("move: ramflag %d course %d time %.2f speed %.2f\n", ramflag, course, time, speed); # endif sectsize = NSECTS; /* initialize delta factors for move */ angle = course * 0.0174532925; if (damaged(SINS)) angle =+ Param.navigcrud[1] * (franf() - 0.5); else if (Ship.sinsbad) angle =+ Param.navigcrud[0] * (franf() - 0.5); dx = -cos(angle); dy = sin(angle); bigger = fabs(dx); dist = fabs(dy); if (dist > bigger) bigger = dist; dx =/ bigger; dy =/ bigger; /* check for long range tractor beams */ /**** TEMPORARY CODE == DEBUGGING ****/ evtime = Now.eventptr[E_LRTB]->date - Now.date; # ifdef xTRACE if (Trace) printf("E.ep = %u, ->evcode = %d, ->date = %.2f, evtime = %.2f\n", Now.eventptr[E_LRTB], Now.eventptr[E_LRTB]->evcode, Now.eventptr[E_LRTB]->date, evtime); # endif if (time > evtime && Etc.nkling < 3) { /* then we got a LRTB */ evtime =+ 0.005; time = evtime; } else evtime = -1.0e50; dist = time * speed; /* move within quadrant */ Sect[Ship.sectx][Ship.secty] = EMPTY; x = Ship.sectx + 0.5; y = Ship.secty + 0.5; xn = NSECTS * dist * bigger; n = xn + 0.5; # ifdef xTRACE if (Trace) printf("dx = %.2f, dy = %.2f, xn = %.2f, n = %d\n", dx, dy, xn, n); # endif Move.free = 0; for (i = 0; i < n; i++) { ix = (x =+ dx); iy = (y =+ dy); # ifdef xTRACE if (Trace) printf("ix = %d, x = %.2f, iy = %d, y = %.2f\n", ix, x, iy, y); # endif if (x < 0.0 || y < 0.0 || x >= sectsize || y >= sectsize) { /* enter new quadrant */ dx = Ship.quadx * NSECTS + Ship.sectx + dx * xn; dy = Ship.quady * NSECTS + Ship.secty + dy * xn; if (dx < 0.0) ix = -1; else ix = dx + 0.5; if (dy < 0.0) iy = -1; else iy = dy + 0.5; # ifdef xTRACE if (Trace) printf("New quad: ix = %d, iy = %d\n", ix, iy); # endif Ship.sectx = x; Ship.secty = y; compkldist(0); Move.newquad = 2; attack(0); checkcond(); Ship.quadx = ix / NSECTS; Ship.quady = iy / NSECTS; Ship.sectx = ix % NSECTS; Ship.secty = iy % NSECTS; if (ix < 0 || Ship.quadx >= NQUADS || iy < 0 || Ship.quady >= NQUADS) if (!damaged(COMPUTER)) { dumpme(0); } else lose(L_NEGENB); initquad(0); n = 0; break; } if (Sect[ix][iy] != EMPTY) { /* we just hit something */ if (!damaged(COMPUTER) && ramflag <= 0) { ix = x - dx; iy = y - dy; printf("Computer reports navigation error; %s stopped at %d,%d\n", Ship.shipname, ix, iy); Ship.energy =- Param.stopengy * speed; break;  } /* test for a black hole */ if (Sect[ix][iy] == HOLE) { /* get dumped elsewhere in the galaxy */ dumpme(1); initquad(0); n = 0; break; } ram(ix, iy); break; } } if (n > 0) { dx = Ship.sectx - ix; dy = Ship.secty - iy; dist = sqrt(dx * dx + dy * dy) / NSECTS; time = dist / speed; if (evtime > time) time = evtime; /* spring the LRTB trap */ Ship.sectx = ix; Ship.secty = iy; } Sect[Ship.sectx][Ship.secty] = Ship.ship; compkldist(0); return (time); } nova.cÙpø€�©# include "trek.h" /* ** CAUSE A NOVA TO OCCUR ** ** A nova occurs. It is the result of having a star hit with ** a photon torpedo. There are several things which may happen. ** The star may not be affected. It may go nova. It may turn ** into a black hole. Any (yummy) it may go supernova. ** ** Stars that go nova cause stars which surround them to undergo ** the same probabilistic process. Klingons next to them are ** destroyed. And if the starship is next to it, it gets zapped. ** If the zap is too much, it gets destroyed. */ nova(x, y) int x, y; { register int i, j; register int se; if (Sect[x][y] != STAR || Quad[Ship.quadx][Ship.quady].stars < 0) return; if (ranf(100) < 15) { printf("Spock: Star at %d,%d failed to nova.\n", x, y); return; } if (ranf(100) < 5) return (snova(x, y)); printf("Spock: Star at %d,%d gone nova\n", x, y); if (ranf(4) != 0) Sect[x][y] = EMPTY; else { Sect[x][y] = HOLE; Quad[Ship.quadx][Ship.quady].holes =+ 1;  } Quad[Ship.quadx][Ship.quady].stars =- 1; Game.kills =+ 1; for (i = x - 1; i <= x + 1; i++) { if (i < 0 || i >= NSECTS) continue; for (j = y - 1; j <= y + 1; j++) { if (j < 0 || j >= NSECTS) continue; se = Sect[i][j]; switch (se) { case EMPTY: case HOLE: break; case KLINGON: killk(i, j); break; case STAR: nova(i, j); break; case INHABIT: kills(i, j, -1); break; case BASE: killb(i, j); Game.killb =+ 1; break; case ENTERPRISE: case QUEENE: se = 2000; if (Ship.shldup) if (Ship.shield >= se) { Ship.shield =- se; se = 0; } else { se =- Ship.shield; Ship.shield = 0; } Ship.energy =- se; if (Ship.energy <= 0) lose(L_SUICID); break; default: printf("Unknown object %c at %d,%d destroyed\n", se, i, j); Sect[i][j] = EMPTY; break; } } } return; } aout.cÙpø€�# include "trek.h" /* **  Announce Device Out */ out(dev) int dev; { register struct device *d; d = &Device[dev]; printf("%s reports %s ", d->person, d->name); if (d->name[length(d->name) - 1] == 's') printf("are"); else printf("is"); printf(" damaged\n"); } outputÙtø¶�óabandon.c: attack.c: autover.c: capture.c: check_out.c: checkcond.c: compkl.c: computer.c: damage.c: damaged.c: dcrept.c: destruct.c: dock.c: dumpgame.c: dumpme.c: dumpssradio.c: events.c: externs.c: getcodi.c: getpar.c: help.c: impulse.c: initquad.c: kill.c: klmove.c: lose.c: lrscan.c: main.c: move.c: nova.c: out.c: phaser.c: play.c: ram.c: ranf.c: rest.c: schedule.c: score.c: setup.c: setwarp.c: shell.c: shield.c: snova.c: srscan.c: systemname.c: torped.c: utility.c: visual.c: warp.c: win.c: Rphaser.cÙpø€‘o# include "trek.h" # include "getpar.h" /* factors for phaser hits; see description below */ # define ALPHA 3.0 /* spread */ # define BETA 3.0 /* franf() */ # define GAMMA 0.30 /* cos(angle) */ # define EPSILON 150.0  /* dist ** 2 */ # define OMEGA 10.596 /* overall scaling factor */ /* OMEGA ~= 100 * (ALPHA + 1) * (BETA + 1) / (EPSILON + 1) */ /* ** Phaser Control ** ** There are up to NBANKS phaser banks which may be fired ** simultaneously. There are two modes, "manual" and ** "automatic". In manual mode, you specify exactly which ** direction you want each bank to be aimed, the number ** of units to fire, and the spread angle. In automatic ** mode, you give only the total number of units to fire. ** ** The spread is specified as a number between zero and ** one, with zero being minimum spread and one being maximum ** spread. You will normally want zero spread, unless your ** short range scanners are out, in which case you probably ** don't know exactly where the Klingons are. In that case, ** you really don't have any choice except to specify a ** fairly large spread. ** ** Phasers spread slightly, even if you specify zero spread. ** ** Uses trace flag 30 */ struct cvntab Matab[] { "m", "anual", 1, 0,  "a", "utomatic", 0, 0, 0 }; struct banks { int units; float angle; float spread; }; phaser() { register int i; int j; register struct kling *k; double dx, dy; double anglefactor, distfactor; register struct banks *b; int manual, flag, extra; int hit; double tot; int n; int hitreqd[NBANKS]; struct banks bank[NBANKS]; struct cvntab *ptr; if (Ship.cond == DOCKED) return(printf("Phasers cannot fire through starbase shields\n")); if (damaged(PHASER)) return (out(PHASER)); if (Ship.shldup) return (printf("Sulu: Captain, we cannot fire through shields.\n")); if (Ship.cloaked) { printf("Sulu: Captain, surely you must realize that we cannot fire\n"); printf(" phasers with the cloaking device up.\n"); return; } /* decide if we want manual or automatic mode */ manual = 0; if (testnl()) { if (damaged(COMPUTER)) { printf(Device[COMPUTER].name); manual++; } else if (damaged(SRSCAN)) { printf(Device[SRSCAN].name); manual++; } if (manual) printf(" damaged, manual mode selected\n"); } if (!manual) { ptr = getcodpar("Manual or automatic", Matab); manual = ptr->value; } if (!manual && damaged(COMPUTER)) { printf("Computer damaged, manual selected\n"); skiptonl(0); manual++; } /* initialize the bank[] array */ flag = 1; for (i = 0; i < NBANKS; i++) bank[i].units = 0; if (manual) { /* collect manual mode statistics */ while (flag) { printf("%d units available\n", Ship.energy); extra = 0; flag = 0; for (i = 0; i < NBANKS; i++) { b = &bank[i]; printf("\nBank %d:\n", i); hit = getintpar("units"); if (hit < 0) return; if (hit == 0) break; extra =+ hit; if (extra > Ship.energy) { printf("available energy exceeded. "); skiptonl(0); flag++; break; } b->units = hit; hit = getintpar("course"); if (hit < 0 || hit > 360) return; b->angle = hit * 0.0174532925; b->spread = getfltpar("spread"); if (b->spread < 0 || b->spread > 1) return; } Ship.energy =- extra; } extra = 0; } else { /* automatic distribution of power */ if (Etc.nkling <= 0) return (printf("Sulu: But there are no Klingons in this quadrant\n")); printf("Phasers locked on target. "); while (flag) { printf("%d units available\n", Ship.energy); hit = getintpar("Units to fire"); if (hit <= 0) return; if (hit > Ship.energy) { printf("available energy exceeded. "); skiptonl(0); continue; } flag = 0; Ship.energy =- hit; extra = hit; n = Etc.nkling; if (n > NBANKS) n = NBANKS; tot = n * (n + 1) / 2; for (i = 0; i < n; i++) { k = &Etc.klingon[i]; b = &bank[i]; distfactor = k->dist; anglefactor = ALPHA * BETA * OMEGA / (distfactor * distfactor + EPSILON); anglefactor =* GAMMA; distfactor = k->power; distfactor =/ anglefactor; hitreqd[i] = distfactor + 0.5; dx = Ship.sectx - k->x; dy = k->y - Ship.secty; b->angle = atan2(dy, dx); b->spread = 0.0; b->units = ((n - i) / tot) * extra; # ifdef xTRACE if (Trace) { printf("b%d hr%d u%d df%.2f af%.2f\n", i, hitreqd[i], b->units, distfactor, anglefactor); } # endif extra =- b->units; hit = b->units - hitreqd[i]; if (hit > 0) { extra =+ hit; b->units =- hit; } } /* give out any extra energy we might have around */ if (extra > 0) { for (i = 0; i < n; i++) { b = &bank[i]; hit = hitreqd[i] - b->units; if (hit <= 0) continue; if (hit >= extra) { b->units =+ extra; extra = 0; break; } b->units = hitreqd[i]; extra =- hit; } if (extra > 0) printf("%d units overkill\n", extra); } } } # ifdef xTRACE if (Trace) { for (i = 0; i < NBANKS; i++) { b = &bank[i]; printf("b%d u%d", i, b->units); if (b->units > 0) printf(" a%.2f s%.2f\n", b->angle, b->spread); else printf("\n"); } } # endif /* actually fire the shots */ Move.free = 0; for (i = 0; i < NBANKS; i++) { b = &bank[i]; if (b->units <= 0) { continue; } printf("\nPhaser bank %d fires:\n", i); n = Etc.nkling; k = Etc.klingon; for (j = 0; j < n; j++) { if (b->units <= 0) break; /* ** The formula for hit is as follows: ** ** zap = OMEGA * [(sigma + ALPHA) * (rho + BETA)] ** / (dist ** 2 + EPSILON)] ** * [cos(delta * sigma) + GAMMA] ** * hit ** ** where sigma is the spread factor,  ** rho is a random number (0 -> 1), ** GAMMA is a crud factor for angle (essentially ** cruds up the spread factor), ** delta is the difference in radians between the ** angle you are shooting at and the actual ** angle of the klingon, ** ALPHA scales down the significance of sigma, ** BETA scales down the significance of rho, ** OMEGA is the magic number which makes everything ** up to "* hit" between zero and one, ** dist is the distance to the klingon ** hit is the number of units in the bank, and ** zap is the amount of the actual hit. ** ** Everything up through dist squared should maximize ** at 1.0, so that the distance factor is never ** greater than one. Conveniently, cos() is ** never greater than one, but the same restric- ** tion applies. */ distfactor = BETA + franf(); distfactor =* ALPHA + b->spread; distfactor =* OMEGA; anglefactor = k->dist; distfactor =/ anglefactor * anglefactor + EPSILON; distfactor =* b->units;  dx = Ship.sectx - k->x; dy = k->y - Ship.secty; anglefactor = atan2(dy, dx) - b->angle; anglefactor = cos((anglefactor * b->spread) + GAMMA); if (anglefactor < 0.0) { k++; continue; } hit = anglefactor * distfactor + 0.5; k->power =- hit; printf("%d unit hit on Klingon", hit); if (!damaged(SRSCAN)) printf(" at %d,%d", k->x, k->y); printf("\n"); b->units =- hit; if (k->power <= 0) { killk(k->x, k->y); continue; } k++; } } /* compute overkill */ for (i = 0; i < NBANKS; i++) extra =+ bank[i].units; if (extra > 0) printf("\n%d units expended on empty space\n", extra); } play.cÙqø€�á# include "trek.h" # include "getpar.h" /* ** INSTRUCTION READ AND MAIN PLAY LOOP ** ** Well folks, this is it. Here we have the guts of the game. ** This routine executes moves. It sets up per-move variables, ** gets the command, and executes the command. After the command, ** it calls events() to use up time, attack() to have Klingons ** attack if the move was not free, and checkcond() to check up ** on how we are doing after the move. */ struct cvntab Comtab[] { "abandon", "", &abandon, 0, "ca", "pture", &capture, 0, "cl", "oak", &shield, -1, "c", "omputer", &computer, 0, "da", "mages", &dcrept, 0, "destruct", "", &destruct, 0, "do", "ck", &dock, 0, "help", "", &help, 0, "i", "mpulse", &impulse, 0, "l", "rscan", &lrscan, 0, "m", "ove", &warp, 0, "p", "hasers", &phaser, 0, "ram", "", &warp, 1, "dump", "", &dumpgame, 0, "r", "est", &rest, 0, "shell", "", &shell, 0, "sh", "ield", &shield, 0, "s", "rscan", &srscan, 0, "st", "atus", &srscan, -1, "terminate", "", &reset, 0, "t", "orpedo", &torped, 0, "u", "ndock", &undock, 0, "v", "isual", &visual, 0, "w", "arp", &setwarp, 0, 0 }; play() { struct cvntab *r; while (1) { Move.free = 1; Move.time = 0.0; Move.shldchg = 0; Move.newquad = 0; Move.resting = 0; skiptonl(0); r = getcodpar("\nCommand", Comtab); (*r->value)(r->value2); events(0); attack(0); checkcond(); } } ,prtrekÙqøí�pr trek.h getpar.h *.c | lpr & "ram.cÙqø€�×# include "trek.h" /* ** RAM SOME OBJECT ** ** You have run into some sort of object. It may be a Klingon, ** a star, or a starbase. If you run into a star, you are really ** stupid, because there is no hope for you. ** ** If you run into something else, you destroy that object. You ** also rack up incredible damages. */ ram(ix, iy) int ix, iy; { register int i; register char c; printf("RED ALERT: collision imminent\n"); c = Sect[ix][iy]; switch (c) { case KLINGON: printf("%s rams Klingon at %d,%d\n", Ship.shipname, ix, iy); killk(ix, iy); break; case STAR: case INHABIT: printf("Yeoman Rand: Captain, isn't it getting hot in here?\n"); sleep(2); printf("Spock: Hull temperature approaching 550 Degrees Kelvin.\n"); lose(L_STAR); case BASE: printf("You ran into the starbase at %d,%d\n", ix, iy); killb(Ship.quadx, Ship.quady); /* don't penalize the captain if it wasn't his fault */ if (!damaged(SINS)) Game.killb =+ 1; break; } sleep(2); printf("%s heavily damaged\n", Ship.shipname); /* select the number of deaths to occur */ i = 10 + ranf(20 * Game.skill); Game.deaths =+ i; Ship.crew =- i; printf("McCoy: Take it easy Jim; we had %d casualties.\n", i); /* damage devices with an 80% probability */ for (i = 0; i < NDEV; i++) { if (ranf(100) < 20) continue; damage(i, (2.5 * (franf() + franf()) + 1.0) * Param.damfac[i]); } /* no chance that your shields remained up in all that */ Ship.shldup = 0; } ranf.cÙqø€�¹ranf(max) int max; { register int t; if (max <= 0) return (0); t = rand() >> 5; return (t % max); } double franf() { double t; t = rand() & 077777; return (t / 32767.0); } read_me.nrÙqø¤‘Æ.de @h 'sp 4 'tl 'TREK SETUP INSTRUCTIONS''%' 'sp 2 .ns .. .de @f 'bp .. .wh 0 @h .wh -6 @f .de pp .sp .ne 2 .ti +5 .. .de s1 .sp 2 .nr S1 +1 .nr S2 0 .ne 5 .in 4 .ti 0 \\n(S1.\ \ \c .. .de s2 .sp 1 .nr S2 +1 .ne 3 .in 8 .ti 4 \\n(S2.\ \ \c .. .br .ce TREK SETUP INSTRUCTIONS .sp 2 .pp This document describes all sorts of nifty things you should know before you start to muck around with the trek source code. Please read them carefully. .s1 MAINTENANCE .s2 There are a number of shell files which you may use to maintain the system. "Prtrek" produces a copy of the source code. It pipes its output to lpr and runs in background. "Comp" compiles up to nine source modules and leaves them in .o files. "Compile" is the same as "comp" except that it loads after compiling. If stated without any arguments, it loads from .o files. "Compall" compiles all the .c files into .o files, but does not load. It redirects its output to the file "output". To recompile the entire system, type .ti +8 compall .ti +8 compile .br .s2 Main.c contains a variable called "Mother". This is initialized to the result of the "getuid()" call for the maintainer of trek at your installation. Only Mother is allowed to set trace flags and run the game at other than the default priority. .s2 Speaking of priorities, trek eats up a lot of system resources. Hence, it normally runs at a very low priority. This makes it almost impossible to play if the system is loaded. However, the -pN flag sets the priority to N, which makes it possible to debug when the system is loaded. The default priority is set by a #define of PRIO, which is set to 10 in the default system. .s2 Trace information is provided which may be useful in debugging things in the system. If you are in a bad way for space, comment out the #define xTRACE which appears in trek.h. This will cause the trace stuff to not occur in the object. .s2 The version of trek released to you is compiled with the -f flag (for no floating point) and should work without problems on your machine. You can edit out the -f flag in "compile" if you have floating point hardware on your machine so that it will take less space. .s1 THE PORTABLE C LIBRARY .pp The portable C library was used to do I/O in trek. Unfortunately, the version which we had at Berkeley had a number of small bugs which caused trek to do bad things at times. For some unknown reason (temporary insanity perhaps) I rewrote the portable C library. This version is much smaller than the old version and has cleaner code. It also works right (???). However, there are a few minor differences which you should be aware of. .s2 Scanf no longer ignores the noise characters "\\n", "\\t", and space in the format string; i.e., these characters now require a match in the input stream. .s2 A variable f_log has been added which is the file descriptor of a "log" file. If f_log is greater than zero a copy of everything read from the standard input and written to the standard output is written in the file f_log. .s1 DISCLAIMERS .s2 Frankly, I am getting pretty sick of playing this game. Hence, the version which you get may have several bugs in it; I freely admit that it is probably buggier than some previous versions. Sorry about that. .s2 Along with being buggy, the game never had quite everything implemented that was originally intended. If you see things that look weird, that may be why. There are even some features which I have taken out (like ghost starsystems) upon deciding that I didn't have the energy to implement them correctly. .s1 REQUESTS .pp There are several things that I would like to ask of anyone who does work on the source code. .s2 Please let me know of any bugs which you find in the code, and any fixes which you may have. Other copies will probably be going out to other people later, and it would be nice if those copies where less buggy. Also, I would be interested in hearing about any enhancements of the game which you might install. .s2 Please note that I have a distinct coding style. I feel that it is cleaner and easier to read than a more casual style. If possible, please stick to it, especially if you end up sending tapes back to me. This goes along with my whole belief in clean code: I ask you to please avoid obscure code whenever possible. If you throw some in, please don't let me see it. It just depresses me. .s2 Unfortunately, the game is huge. There are many neat things which could go in, if there were only enough space. However, I have specifically not gone to seperated I/D space. The main reason is that I would like future versions of the game to be 11/40 compatible. .s1 SUGGESTIONS FOR THE FUTURE .pp If you happen to have more energy than I do, you may want to examine the following areas. These are things that I may get to, but don't hold your breath. .s2 Frankly, making the portable C library work (even without bugs) was a bitch. I should have done the I/O in a more ad hoc manner. It is my intent to rewrite the I/O routines to bypass the portable C library entirely. .s2 The routine "capture" is quite unclean. First, it should have a manner of selecting Klingons other than random, either selecting the most likely or asking the captain (probably best). It should either be fully implemented, which includes adding a "board" routine (half written, on some tapes as board.x) which sends a boarding party to forcefully take over the Klingon, or it should go out completely, which is probably what I will end up doing. When this happens, the transporter will go completely. It seems that the space may be better used for something which more directly enhances the game. .sp 3 .in 0 Well, that's about it. To get hold of me, write to: .nf .sp Eric P Allman Electronics Research Laboratory University of California Berkeley, California 94720 .fi Happy trekking!! .pp rest.cÙqø€�# include "trek.h" # include "getpar.h" /* ** REST FOR REPAIRS ** ** You sit around and wait for repairs to happen. Actually, you ** sit around and wait for anything to happen. I do want to point ** out however, that Klingons are not as patient as you are, and ** they tend to attack you while you are resting. ** ** You can never rest through a long range tractor beam. ** ** In events() you will be given an opportunity to cancel the ** rest period if anything momentous happens. */ rest() { float t; register int percent; /* get the time to rest */ t = getfltpar("How long"); if (t <= 0.0) return; percent = 100 * t / Now.time + 0.5; if (percent >= 70) { printf("Spock: That would take %d%% of our remaining time.\n", percent); if (!getynpar("Are you really certain that is wise")) return; } Move.time = t; /* boundary condition is the LRTB */ t = Now.eventptr[E_LRTB]->date - Now.date; if (Ship.cond != DOCKED && Move.time > t) Move.time = t + 0.0001; Move.free = 0; Move.resting = 1; } schedule.cÙqø€�: # include "trek.h" /* ** SCHEDULE AN EVENT ** ** An event of type 'type' is scheduled for time NOW + 'offset' ** into the first available slot. 'x', 'y', and 'z' are ** considered the attributes for this event. ** ** The address of the slot is returned. */ struct event *schedule(type, offset, x, y, z) int type; float offset; char x, y; char z; { register struct event *e; register int i; float date; date = Now.date + offset; for (i = 0; i < MAXEVENTS; i++) { e = &Event[i]; if (e->evcode) continue; /* got a slot */ # ifdef xTRACE if (Trace) printf("schedule: type %d @ %.2f slot %d parm %d %d %d\n", type, date, i, x, y, z); # endif e->evcode = type; e->date = date; e->x = x; e->y = y; e->systemname = z; Now.eventptr[type] = e; return (e); } syserr("Cannot schedule event %d parm %d %d %d", type, x, y, z); } /* ** RESCHEDULE AN EVENT ** ** The event pointed to by 'e' is rescheduled to the current ** time plus 'offset'. */ reschedule(e1, offset) struct event *e1; float offset; { float date; register struct event *e; e = e1; date = Now.date + offset; e->date = date; # ifdef xTRACE if (Trace) printf("reschedule: type %d parm %d %d %d @ %.2f\n", e->evcode, e->x, e->y, e->systemname, date); # endif return; } /* ** UNSCHEDULE AN EVENT ** ** The event at slot 'e' is deleted. */ unschedule(e1) struct event *e1; { register struct event *e; e = e1; # ifdef xTRACE if (Trace) printf("unschedule: type %d @ %.2f parm %d %d %d\n", e->evcode, e->date, e->x, e->y, e->systemname); # endif Now.eventptr[e->evcode & E_EVENT] = 0; e->date = 1e50; e->evcode = 0; return; } /* ** Abreviated schedule routine ** ** Parameters are the event index and a factor for the time ** figure. */ struct event *xsched(ev1, factor, x, y, z) int ev1; int factor; int x, y, z; { register int ev; ev = ev1;  return (schedule(ev, -Param.eventdly[ev] * Param.time * log(franf()) / factor, x, y, z)); } /* ** Simplified reschedule routine ** ** Parameters are the event index, the initial date, and the ** division factor. Look at the code to see what really happens. */ xresched(e1, ev1, factor) struct event *e1; int ev1; int factor; { register int ev; register struct event *e; ev = ev1; e = e1; reschedule(e, -Param.eventdly[ev] * Param.time * log(franf()) / factor); } score.cÙqø€�s# include "trek.h" # include "getpar.h" /* ** PRINT OUT THE CURRENT SCORE */ long score() { register int u; register int t; long s; double r; extern struct cvntab Skitab[]; printf("\n*** Your score:\n"); s = t = Param.klingpwr / 4 * (u = Game.killk); if (t != 0) printf("%d Klingons killed\t\t\t%6d\n", u, t); r = Now.date - Param.date; if (r < 1.0) r = 1.0; r = Game.killk / r; s =+ (t = 400 * r); if (t != 0) printf("Kill rate %.2f Klingons/stardate \t%6d\n", r, t); r = Now.klings; r =/ Game.killk + 1; s =+ (t = -400 * r); if (t != 0) printf("Penalty for %d klingons remaining\t%6d\n", Now.klings, t); if (Move.endgame > 0) { s =+ (t = 100 * (u = Game.skill)); printf("Bonus for winning a %s%s game\t\t%6d\n", Skitab[u - 1].abrev, Skitab[u - 1].full, t); } if (Game.killed) { s =- 500; printf("Penalty for getting killed\t\t -500\n"); } s =+ (t = -100 * (u = Game.killb)); if (t != 0) printf("%d starbases killed\t\t\t%6d\n", u, t); s =+ (t = -100 * (u = Game.helps)); if (t != 0) printf("%d calls for help\t\t\t%6d\n", u, t); s =+ (t = -5 * (u = Game.kills)); if (t != 0) printf("%d stars destroyed\t\t\t%6d\n", u, t); s =+ (t = -150 * (u = Game.killinhab)); if (t != 0) printf("%d inhabited starsystems destroyed\t%6d\n", u, t); if (Ship.ship != ENTERPRISE) { s =- 200; printf("penalty for abandoning ship\t\t -200\n"); } s =+ (t = 3 * (u = Game.captives)); if (t != 0) printf("%d Klingons captured\t\t\t%6d\n", u, t); s =+ (t = -(u = Game.deaths)); if (t != 0) printf("%d casualties\t\t\t\t%6d\n", u, t); printf("\n*** TOTAL\t\t\t%14ld\n", s); return (s); } setup.cÙqø€‘i# include "trek.h" # include "getpar.h" /* ** INITIALIZE THE GAME ** ** The length, skill, and password are read, and the game ** is initialized. It is far too difficult to describe all ** that goes on in here, but it is all straight-line code; ** give it a look. ** ** Game restart and tournament games are handled here. */ struct cvntab Lentab[] { "s", "hort", 1, 0,  "m", "edium", 2, 0, "l", "ong", 4, 0, "restart", "", 0, 0, 0 }; struct cvntab Skitab[] { "n", "ovice", 1, 0, "f", "air", 2, 0, "g", "ood", 3, 0, "e", "xpert", 4, 0, "c", "ommodore", 5, 0, "i", "mpossible", 6, 0, 0 }; setup() { struct cvntab *r; register int i, j; float f; int d; int fd; int klump; int ix, iy; register struct quad *q; struct event *e; while (1) { r = getcodpar("What length game", Lentab); Game.length = r->value; if (Game.length == 0) { if (restartgame()) continue; return; } break; } r = getcodpar("What skill game", Skitab); Game.skill = r->value; Game.tourn = 0; getstrpar("Enter a password", Game.passwd, 14, 0); if (sequal(Game.passwd, "tournament")) { getstrpar("Enter tournament code", Game.passwd, 14, 0); Game.tourn = 1; d = 0; for (i = 0; Game.passwd[i]; i++) d =+ Game.passwd[i] << i; srand(d); } Param.bases = Now.bases = ranf(6 - Game.skill) + 2; if (Game.skill == 6) Param.bases = Now.bases = 1; Param.time = Now.time = 6.0 * Game.length + 2.0; i = Game.skill; j = Game.length; Param.klings = Now.klings = i * j * 3.5 * (franf() + 0.75); if (Param.klings < i * j * 5) Param.klings = Now.klings = i * j * 5; if (Param.klings <= i) /* numerical overflow problems */ Param.klings = Now.klings = 127; Param.energy = Ship.energy = 5000; Param.torped = Ship.torped = 10; Ship.ship = ENTERPRISE; Ship.shipname = "Enterprise"; Param.shield = Ship.shield = 1500; Param.resource = Now.resource = Param.klings * Param.time; Param.reserves = Ship.reserves = (6 - Game.skill) * 2.0; Param.crew = Ship.crew = 387; Param.brigfree = Ship.brigfree = 400; Ship.shldup = 1; Ship.cond = GREEN; Ship.warp = 5.0; Ship.warp2 = 25.0; Ship.warp3 = 125.0; Ship.sinsbad = 0; Ship.cloaked = 0; Param.date = Now.date = (ranf(20) + 20) * 100; f = Game.skill; f = log(f + 0.5); for (i = 0; i < NDEV; i++) if (Device[i].name[0] == '*') Param.damfac[i] = 0; else Param.damfac[i] = f; /* these probabilities must sum to 1000 */ Param.damprob[WARP] = 70; /* warp drive 7.0% */ Param.damprob[SRSCAN] = 110; /* short range scanners 11.0% */ Param.damprob[LRSCAN] = 110; /* long range scanners 11.0% */ Param.damprob[PHASER] = 125; /* phasers 12.5% */ Param.damprob[TORPED] = 125; /* photon torpedoes 12.5% */ Param.damprob[IMPULSE] = 75; /* impulse engines 7.5% */ Param.damprob[SHIELD] = 150; /* shield control 15.0% */ Param.damprob[COMPUTER] = 20; /* computer 2.0% */ Param.damprob[SSRADIO] = 35; /* subspace radio 3.5% */ Param.damprob[LIFESUP] = 30; /* life support 3.0% */ Param.damprob[SINS] = 20; /* navigation system 2.0% */ Param.damprob[CLOAK] = 50; /* cloaking device 5.0% */ Param.damprob[XPORTER] = 80; /* transporter 8.0% */ /* check to see that I didn't blow it */ for (i = j = 0; i < NDEV; i++) j =+ Param.damprob[i]; if (j != 1000) syserr("Device probabilities sum to %d", j); Param.dockfac = 0.5; Param.regenfac = (5 - Game.skill) * 0.05; if (Param.regenfac < 0.0) Param.regenfac = 0.0; Param.warptime = 10; Param.stopengy = 50; Param.shupengy = 40; i = Game.skill; Param.klingpwr = 100 + 150 * i; if (i >= 6) Param.klingpwr =+ 150; Param.phasfac = 0.8; Param.hitfac = 0.5; Param.klingcrew = 200; Param.srndrprob = 0.0035; Param.moveprob[KM_OB] = 45; Param.movefac[KM_OB] = .09; Param.moveprob[KM_OA] = 40; Param.movefac[KM_OA] = -0.05; Param.moveprob[KM_EB] = 40; Param.movefac[KM_EB] = 0.075; Param.moveprob[KM_EA] = 25 + 5 * Game.skill; Param.movefac[KM_EA] = -0.06 * Game.skill; Param.moveprob[KM_LB] = 0; Param.movefac[KM_LB] = 0.0; Param.moveprob[KM_LA] = 10 + 10 * Game.skill; Param.movefac[KM_LA] = 0.25; Param.eventdly[E_SNOVA] = 0.5; Param.eventdly[E_LRTB] = 25.0; Param.eventdly[E_KATSB] = 1.0; Param.eventdly[E_KDESB] = 3.0; Param.eventdly[E_ISSUE] = 1.0; Param.eventdly[E_SNAP] = 0.5; Param.eventdly[E_ENSLV] = 0.5; Param.eventdly[E_REPRO] = 2.0; Param.navigcrud[0] = 1.50; Param.navigcrud[1] = 0.75; Param.cloakenergy = 1000; Param.energylow = 1000; for (i = 0; i < MAXEVENTS; i++) { e = &Event[i]; e->date = 1e50; e->evcode = 0; } xsched(E_SNOVA, 1, 0, 0, 0); xsched(E_LRTB, Param.klings, 0, 0, 0); xsched(E_KATSB, 1, 0, 0, 0); xsched(E_ISSUE, 1, 0, 0, 0); xsched(E_SNAP, 1, 0, 0, 0); Ship.sectx = ranf(NSECTS); Ship.secty = ranf(NSECTS); Game.killk = Game.kills = Game.killb = 0; Game.deaths = Game.negenbar = 0; Game.captives = 0; Game.killinhab = 0; Game.helps = 0; Game.killed = 0; Game.snap = 0; Move.endgame = 0; /* setup stars */ for (i = 0; i < NQUADS; i++) for (j = 0; j < NQUADS; j++) { q = &Quad[i][j]; q->klings = q->bases = 0; q->scanned = -1; q->stars = ranf(9) + 1; q->holes = ranf(3) - q->stars / 5; q->systemname = 0; } /* select inhabited starsystems */ for (d = 1; d < NINHAB; d++) { do { i = ranf(NQUADS); j = ranf(NQUADS); q = &Quad[i][j]; } while (q->systemname); q->systemname = d; } /* position starbases */ for (i = 0; i < Param.bases; i++) { while (1) { ix = ranf(NQUADS); iy = ranf(NQUADS); q = &Quad[ix][iy]; if (q->bases > 0) continue; break; } q->bases = 1; Now.base[i].x = ix; Now.base[i].y = iy; q->scanned = 1001; /* start the Enterprise near starbase */ if (i == 0) { Ship.quadx = ix; Ship.quady = iy; } } /* position klingons */ for (i = Param.klings; i > 0; ) { klump = ranf(4) + 1; if (klump > i) klump = i; while (1) { ix = ranf(NQUADS); iy = ranf(NQUADS); q = &Quad[ix][iy]; if (q->klings + klump > MAXKLQUAD) continue; q->klings =+ klump; i =- klump; break; } } /* initialize this quadrant */ printf("%d Klingons\n%d starbase", Param.klings, Param.bases); if (Param.bases > 1) printf("s"); printf(" at %d,%d", Now.base[0].x, Now.base[0].y); for (i = 1; i < Param.bases; i++) printf(", %d,%d", Now.base[i].x, Now.base[i].y); printf("\nIt takes %d units to kill a Klingon\n", Param.klingpwr); Move.free = 0; initquad(0); srscan(1); attack(0); } isetwarp.cÙrø€�># include "trek.h" # include "getpar.h" /* ** SET WARP FACTOR ** ** The warp factor is set for future move commands. It is ** checked for consistancy. */ setwarp() { float warpfac; warpfac = getfltpar("Warp factor"); if (warpfac < 0.0) return; if (warpfac < 1.0) return (printf("Minimum warp speed is 1.0\n")); if (warpfac > 10.0) return (printf("Maximum speed is warp 10.0\n")); if (warpfac > 6.0) printf("Damage to warp engines may occur above warp 6.0\n"); Ship.warp = warpfac; Ship.warp2 = Ship.warp * warpfac; Ship.warp3 = Ship.warp2 * warpfac; } shell.cÙrø€�C/* ** CALL THE SHELL */ shell() { int i; register int pid; register int sav2, sav3; if (!(pid = fork())) { setuid(getuid()); nice(0); execl("/bin/sh", "-", 0); syserr("cannot execute /bin/sh"); } sav2 = signal(2, 1); sav3 = signal(3, 1); while (wait(&i) != pid) ; signal(2, sav2); signal(3, sav3); } shield.cÙrø€�­# include "trek.h" # include "getpar.h" /* ** SHIELD AND CLOAKING DEVICE CONTROL ** ** 'f' is one for auto shield up (in case of Condition RED), ** zero for shield control, and negative one for cloaking ** device control. ** ** Called with an 'up' or 'down' on the same line, it puts ** the shields/cloak into the specified mode. Otherwise it ** reports to the user the current mode, and asks if she wishes ** to change. ** ** This is not a free move. Hits that occur as a result of ** this move appear as though the shields are half up/down, ** so you get partial hits. */ struct cvntab Udtab[] { "u", "p", 1, 0, "d", "own", 0, 0, 0 }; shield(f) int f; { register int i; char c; struct cvntab *r; char s[100]; char *device, *dev2, *dev3; int ind; char *stat; if (f > 0 && (Ship.shldup || damaged(SRSCAN))) return; if (f < 0) { /* cloaking device */ if (Ship.ship == QUEENE) return (printf("Ye Faire Queene does not have the cloaking device.\n")); device = "Cloaking device"; dev2 = "is"; ind = CLOAK; dev3 = "it"; stat = &Ship.cloaked; } else { /* shields */ device = "Shields"; dev2 = "are"; dev3 = "them"; ind = SHIELD; stat = &Ship.shldup; } if (damaged(ind)) { if (f <= 0) out(ind); return; } if (Ship.cond == DOCKED) { printf("%s %s down while docked\n", device, dev2); return; } if (f <= 0 && !testnl()) { r = getcodpar("Up or down", Udtab); i = r->value; } else { if (*stat) printf(-1, s, "%s %s up. Do you want %s down", device, dev2, dev3); else printf(-1, s, "%s %s down. Do you want %s up", device, dev2, dev3); if (!getynpar(s)) return; i = !*stat; } if (*stat == i) { printf("%s already ", device); if (i) printf("up\n"); else printf("down\n"); return; } if (i) if (f >= 0) Ship.energy =- Param.shupengy; else Ship.cloakgood = 0; Move.free = 0; if (f >= 0) Move.shldchg = 1; *stat = i; return; } >snova.cÙrø€� # include "trek.h" /* ** CAUSE SUPERNOVA TO OCCUR ** ** A supernova occurs. If 'ix' < 0, a random quadrant is chosen; ** otherwise, the current quadrant is taken, and (ix, iy) give ** the sector quadrants of the star which is blowing up. ** ** If the supernova turns out to be in the quadrant you are in, ** you go into "emergency override mode", which tries to get you ** out of the quadrant as fast as possible. However, if you ** don't have enough fuel, or if you by chance run into something, ** or some such thing, you blow up anyway. Oh yeh, if you are ** within two sectors of the star, there is nothing that can ** be done for you. ** ** When a star has gone supernova, the quadrant becomes uninhab- ** itable for the rest of eternity, i.e., the game. If you ever ** try stopping in such a quadrant, you will go into emergency ** override mode. */ snova(x, y) int x, y; { int qx, qy; register int ix, iy; int f; int dx, dy; int n; register struct quad *q; f = 0; ix = x; if (ix < 0) { /* choose a quadrant */ while (1) { qx = ranf(NQUADS); qy = ranf(NQUADS); q = &Quad[qx][qy]; if (q->stars > 0) break; } if (Ship.quadx == qx && Ship.quady == qy) { /* select a particular star */ n = ranf(q->stars); for (ix = 0; ix < NSECTS; ix++) { for (iy = 0; iy < NSECTS; iy++) if (Sect[ix][iy] == STAR || Sect[ix][iy] == INHABIT) if ((n =- 1) <= 0) break; if (n <= 0) break; } f = 1; } } else { /* current quadrant */ iy = y; qx = Ship.quadx; qy = Ship.quady; q = &Quad[qx][qy]; f = 1; } if (f) { /* supernova is in same quadrant as Enterprise */ printf("\nRED ALERT: supernova occuring at %d,%d\n", ix, iy); dx = ix - Ship.sectx; dy = iy - Ship.secty; if (dx * dx + dy * dy <= 2) { printf("*** Emergency override attem"); sleep(1); printf("\n"); lose(L_SNOVA); } q->scanned = 1000; } else { if (!damaged(SSRADIO)) { q->scanned = 1000; printf("\nUhura: Captain, Starfleet Command reports a supernova\n"); printf(" in quadrant %d,%d. Caution is advised\n", qx, qy); } } /* clear out the supernova'ed quadrant */ dx = q->klings; dy = q->stars; Now.klings =- dx; if (x >= 0) { /* Enterprise caused supernova */ Game.kills =+ dy; if (q->bases) killb(qx, qy, -1); Game.killk =+ dx; } else if (q->bases) killb(qx, qy, 0); killd(qx, qy, (x >= 0)); q->stars = -1; q->klings = 0; if (Now.klings <= 0) { printf("Lucky devil, that supernova destroyed the last klingon\n"); win(); } return; } fsrscan.cÙrø€�¨ # include "trek.h" # include "getpar.h" /* ** SHORT RANGE SENSOR SCAN ** ** A short range scan is taken of the current quadrant. If the ** flag 'f' is one, it is an "auto srscan", which is not done ** unless in 'fast' mode. It does a status report and a srscan. ** If 'f' is -1, you get a status report only. If it is zero, ** you get a srscan and an optional status report. The status ** report is taken if you enter "srscan yes"; for all srscans ** thereafter you get a status report with your srscan until ** you type "srscan no". It defaults to on. ** ** The current quadrant is filled in on the computer chart. */ char *Color[4] { "GREEN", "DOCKED", "YELLOW", "RED" }; srscan(f) int f; { register int i, j; register int statinfo; char *s; int percent; struct quad *q; extern struct cvntab Skitab[]; extern struct cvntab Lentab[]; struct cvntab *p; if (f >= 0 && check_out(SRSCAN)) { return; } if (f) statinfo = 1; else { if (!testnl()) Etc.statreport = getynpar("status report"); statinfo = Etc.statreport; } if (f > 0) { Etc.statreport = 1; if (!Etc.fast) return; } if (f >= 0) { printf("\nShort range sensor scan\n"); q = &Quad[Ship.quadx][Ship.quady]; q->scanned = q->klings * 100 + q->bases * 10 + q->stars; printf(" "); for (i = 0; i < NSECTS; i++) { printf("%d ", i); } printf("\n"); } for (i = 0; i < NSECTS; i++) { if (f >= 0) { printf("%d ", i); for (j = 0; j < NSECTS; j++) printf("%c ", Sect[i][j]); printf("%d", i); if (statinfo) printf(" "); } if (statinfo) switch (i) { case 0: printf("stardate %.2f", Now.date); break; case 1: printf("condition %s", Color[Ship.cond]); if (Ship.cloaked) printf(", CLOAKED"); break; case 2: printf("position %d,%d/%d,%d",Ship.quadx, Ship.quady, Ship.sectx, Ship.secty); break; case 3: printf("warp factor %.1f", Ship.warp); break; case 4: printf("total energy %d", Ship.energy); break; case 5: printf("torpedoes %d", Ship.torped); break; case 6: s = "down"; if (Ship.shldup) s = "up"; if (damaged(SHIELD)) s = "damaged"; percent = 100.0 * Ship.shield / Param.shield; printf("shields %s, %d%%", s, percent); break; case 7: printf("Klingons left %d", Now.klings); break; case 8: printf("time left %.2f", Now.time); break; case 9: printf("life support "); if (damaged(LIFESUP)) { printf("damaged, reserves = %.2f", Ship.reserves); break; }  printf("active"); break; } printf("\n"); } if (f < 0) { printf("current crew %d\n", Ship.crew); printf("brig space %d\n", Ship.brigfree); printf("Klingon power %d\n", Param.klingpwr); p = &Lentab[Game.length - 1]; if (Game.length > 2) p--; printf("Length, Skill %s%s, ", p->abrev, p->full); p = &Skitab[Game.skill - 1]; printf("%s%s\n", p->abrev, p->full); return; } printf(" "); for (i = 0; i < NSECTS; i++) printf("%d ", i); printf("\n"); if (q->systemname & Q_DISTRESSED) printf("Distressed "); if (q->systemname) printf("Starsystem %s\n", systemname(q)); } systemname.cÙsø€�)# include "trek.h" /* ** RETRIEVE THE STARSYSTEM NAME ** ** Very straightforward, this routine just gets the starsystem ** name. It returns zero if none in the specified quadrant ** (which, by the way, is passed it). ** ** This routine knows all about such things as distressed ** starsystems, etc. */ char *systemname(q1) struct quad *q1; { register struct quad *q; register int i; q = q1; i = q->systemname; if (i & Q_DISTRESSED) i = Event[i & Q_SYSTEM].systemname; i =& Q_SYSTEM; if (i == 0) return (0); return (Systemname[i]); } TthingsÙsø¶�Æ* tractor beams * power distribution * Romulans: - plasma bolts - neutral zone - cloaking device * the thing * ion storms * torpedoes with time delays * Put removal from event list into killk torped.cÙsø€‘c# include "trek.h" /* ** PHOTON TORPEDO CONTROL ** ** Either one or three photon torpedoes are fired. If three ** are fired, it is called a "burst" and you also specify ** a spread angle. ** ** Torpedoes are never 100% accurate. There is always a random ** cludge factor in their course which is increased if you have ** your shields up. Hence, you will find that they are more ** accurate at close range. However, they have the advantage that ** at long range they don't lose any of their power as phasers ** do, i.e., a hit is a hit is a hit, by any other name. ** ** When the course spreads too much, you get a misfire, and the ** course is randomized even more. You also have the chance that ** the misfire damages your torpedo tubes. */ torped() { register int ix, iy; double x, y, dx, dy; double angle; int course, course2; register int k; double bigger; double sectsize; int burst; int n; if (Ship.cloaked) { return (printf("Federation regulations do not permit attack while cloaked.\n")); } if (check_out(TORPED)) return; if (Ship.torped <= 0) { return (printf("All photon torpedos expended\n")); } /* get the course */ course = getintpar("Torpedo course"); if (course < 0 || course > 360) return; burst = -1; /* need at least three torpedoes for a burst */ if (Ship.torped < 3) { printf("No-burst mode selected\n"); burst = 0; } else { /* see if the user wants one */ if (!testnl()) { k = ungetc(cgetc(0), 0); if (k >= '0' && k <= '9') burst = 1; } } if (burst < 0) { burst = getynpar("Do you want a burst"); } if (burst) {  burst = getintpar("burst angle"); if (burst <= 0) return; if (burst > 15) return (printf("Maximum burst angle is 15 degrees\n")); } sectsize = NSECTS; n = -1; if (burst) { n = 1; course =- burst; } for (; n && n <= 3; n++) { /* select a nice random course */ course2 = course + randcourse(n); angle = course2 * 0.0174532925; /* convert to radians */ dx = -cos(angle); dy = sin(angle); bigger = fabs(dx); x = fabs(dy); if (x > bigger) bigger = x; dx =/ bigger; dy =/ bigger; x = Ship.sectx + 0.5; y = Ship.secty + 0.5; if (Ship.cond != DOCKED) Ship.torped =- 1; printf("Torpedo track"); if (n > 0) printf(", torpedo number %d", n); printf(":\n%6.1f\t%4.1f\n", x, y); while (1) { ix = x =+ dx; iy = y =+ dy; if (x < 0.0 || x >= sectsize || y < 0.0 || y >= sectsize) { printf("Torpedo missed\n"); break; } printf("%6.1f\t%4.1f\n", x, y); switch (Sect[ix][iy]) { case EMPTY: continue; case HOLE: printf("Torpedo disappears into a black hole\n"); break; case KLINGON: for (k = 0; k < Etc.nkling; k++) { if (Etc.klingon[k].x != ix || Etc.klingon[k].y != iy) continue; Etc.klingon[k].power =- 500 + ranf(501); if (Etc.klingon[k].power > 0) { printf("*** Hit on Klingon at %d,%d: extensive damages\n", ix, iy); break; } killk(ix, iy); break; } break; case STAR: nova(ix, iy); break; case INHABIT: kills(ix, iy, -1); break; case BASE: killb(Ship.quadx, Ship.quady); Game.killb =+ 1; break; default: printf("Unknown object %c at %d,%d destroyed\n", Sect[ix][iy], ix, iy); Sect[ix][iy] = EMPTY; break; } break; } if (damaged(TORPED) || Quad[Ship.quadx][Ship.quady].stars < 0) break; course =+ burst; } Move.free = 0; } /* ** RANDOMIZE COURSE ** ** This routine randomizes the course for torpedo number 'n'. ** Other things handled by this routine are misfires, damages ** to the tubes, etc. */ randcourse(n) int n; { double r; register int d; d = ((franf() + franf()) - 1.0) * 20; if (abs(d) > 12) { printf("Photon tubes misfire"); if (n < 0) printf("\n"); else printf(" on torpedo %d\n", n); if (ranf(2)) { damage(TORPED, 0.2 * abs(d) * (franf() + 1.0)); } d =* 1.0 + 2.0 * franf(); } if (Ship.shldup || Ship.cond == DOCKED) { r = Ship.shield; r = 1.0 + r / Param.shield; if (Ship.cond == DOCKED) r = 2.0; d =* r; } return (d); } trekÙnøÉ‘ñ@†¦1– 90‰è} ð€&Ð 6÷ (1ß Ro‰w ˜wæ ÷¥QÐÔ Î ß xgÎ ß Ð8w„w÷¥®Ô1Î ß îÀ ðÎ% ß xgÄŒÔuÄm†ÔuÄe¦Ñô‹Î ß îÀ Î`ÔæF ß xgÖ ÷mRÔfÔ ß zTæt ß xgÖ ÷‹ŠÕÁ�NÔWpÁ-\ÔÎ ß Ì/Î’ ß xgÎË ß xg÷•QÔ÷ò ÔÀ¸ 7ôÓ7DÔÀ7�ôÓ7�DÔÀâ7ÞÓ7.Ô7ŠÒÓ7ŠÏÓõ A7üºÓõÈB7ü¶ÓõúC7ü²Ó7ŠÊÓ Â—tÂe Ôò¥Žß JBƒ Ã%ð7ÿÐÔwÿÄÔôûñ7üºÔ7ü¾Ôà !5 øÿõ%øÿø@øÿt0ÿîÕðõ€@&ø@øÿtpÿîÕVôpüîÕ@øÃ à ൠøÿáÀ�ŒÔß z@ÀÀ œbÖ7,ÓÀÀ œcÖ7"Ó× _>Îß $&ÁÓWp ÁmÓñ•.¦Ó Ã%êÎß z@Á�îÔ@`À 7äÒ+À% (Îß z@Á�ÓÔ@`À 7ÊÒÀ% Á¼ÒWp `@ð¥.¦ÓÁ¨ÒWp Ám¢Òñ•Q¦Ó÷  ß ^_>ƒ Åw LuÆå2÷‹¦Ò%÷‹vÔ"ÀlÒtÀmfÒtð‹¬Ñ÷‹GÒ÷‹OÒ ß v+÷¥JÒ õ Î@Òæ ¡ß xgÖ wuõ€@5øìÿ÷‹LÒ÷ È=ò@ô€?5øìÿ 5öÿ5øÿ5 Èÿ _&ÁWpñ%vÖ_$õ Èÿ 7ÿ(Ó&øæA¡÷ ZdÆe µ Èÿ÷ v=7òÚ�7ôÎ�5øÔÿÁWpqÿ|ÖuøÌÿÁWpqþvÖfø5õÌÿ&ø5õÔÿ&ø÷ ´vÆeòwÿÄÒòûÁWpqþvÖuøÔÿÁWpÁevÖf÷ =ôÀ7ò|�ô€@wÿöÑò5òÔÿû5 ôÿ÷‹0Ñ÷‹jÑ7þ(Ñ5øäÿwþtÑù5øäÿþ5òìÿ5òäÿ5ûôÿõ-ÑôÿõÑôÿwíôÿøÐæb¡ß xgÖ Îß îÀ ÁWpAœuÖNÁWpAœtÖfæq¡ß xg–%AôÿWpdÀ r5ÊÿDíôÿõ ôÿ fÊÿæ}¡ß xg–%Φ¡ß xg5aöÿD-øÿ5øÿ7ávÐæÀ�’Ðàæ ÷ þ;Ö &À€åVp!DΨ¡ß xgÎèß z@5Êÿ €t0ÿîÕû5àÊÿ‚ õ Êÿô Îß z@ÀeKþ&øþ�WtqÿBÕòùô@5øÜÿ&ø¦÷ H Æe Îß îÀ ÷‹ÚÏλ¡ß xg7ŠÌÏ7ŠÐ÷ ÆÏÎß Ì/ƒ À�ÈÑÀ _øõ%Èøÿõ%ôöÿ÷ Z;uþöÿò7òÈ›5ûÊÿõ%Êÿ NÊÿæá¡ß xgÖ wmÊÿŽÏwíÊÿrÏÎß v+_Âw 4rÆåÎjÏæ$¢ß xgÖ Î\ÏæT¢ß xgÖ ÷ ö:òAôÀA7üÏ@ÿò7üÏò7üÏ7þÏò@@wÿ ÏÂ� Ï‚ ‚þBòù5üöÿ7÷0œð7õ0œ5üöÿÎhß z@÷•ÿÿòÐ÷•ðÎ5ÿöÿ&ø&æÿÿ÷ UÆe  ß jw¢qw ’qÆå÷‹¯ÎΔ¢Îß Ð8ο¢ß xgwxqÎß îÀ ï÷‹”Ðñ÷ Ø7вÎ7õœ7ü°Î³Š 7þÏ5üöÿ7þ^Î&ø5ÿöÿò5üöÿÁ�`ÐspAþfø5ÿöÿù5üöÿ7ÿŒÏ&ø5ÿöÿò5üöÿû÷ @Ó 5ÿöÿ&ø&æà¢÷ ¬`Æe Îdß z@!-ÀœÀ’&æò¢ß xg–%Î>Ïß z@Î4Ïáæ£ß xgÖ Ä-ÜÍÄÖÍ7áÒÍæH£ß xgÖ ÀœÀ’&ß 6(Ö ŠÎ[£…w zp÷¥¬Ï À�¢Ïß z@WpÁetÖ@w^pw NpDß îÀ  Àw@pß Ð8÷¥dÍõtê¬æp£ß xgÖ èw p7ÿ2ÍðÎß Ì/÷ ÍÎß Ì/÷ ÍÎ ß Ì/÷‹Ï6À ÍtÀmÍtð‹¬Ñ÷ ˆýÀðÌtÀmêÌtð‹¬ÑÎß Ì/÷‹ÖÎ ÎæÊÌæÄÌß Î*–%÷¥ÀÌ ÷‹¶Î ÷•²Ì÷•ªÌwvo÷-äÍŠÌ÷7ŠšÌ÷w XoÆå÷‹ˆÎS KWpAœtÖfÀrÌ€åWpAœuÖfÀ`Ì€å�BpfÁCp�eAþuøòÿ@ø&ø÷ ÞpÆe5øòÿõ WpqÿxÖuøêÿWpÁe|Öf@ø5ôòÿò@üWpuõòÿqü|ÖWpuõòÿqüxÖ„ À�èÍ!±÷ w°nw  nÆåÂ�ÐÍ ÄÄ C  ƒ úÁWpqÿ†ÖføÁWpqÿxÖV÷ð/ÎfÎeìÿÁWpÁetÖfß &Y–%ÎÁWpÁetÖfÁWpÁe‚Öfß &Y–%ÎÁWpÁe‚ÖffÎeìÿß &Y–%ă ¿wnw nÆåÎß hÀ _ × _ Ά£æf¤ß J Ö 5îÿÀå s‚À xö£Îo¤ß xgΫ¤ß xg æ®¤ß xgÖ „ Ä%öδ¤ß xg æ¶¤ß xgÖ  Ä-®ÊÃ-ªÊκ¤ ο¤ ð%èùÎĤÎÉ¤ß xgtÀ`tÀe¦Ñ5Üÿð%èæð êæÎ¤ß xgÖ ƒ Ã%ÌæÓ¤ß xgÖ „ Ä%»Î×¤ß xg æÚ¤ß xgÖ „ Ä%öÎà¤ß xg ß fÄ%;_Î Ä Îß RoÄ% î &ß äfÖ w¶lÎß hÀ á÷‹ÒËÎâ¤Ù À�ÄË!ÖWpAœuÖNWpAœtÖfæ¥ß xg–%NÎeæÿWpAœuÖfWpAœtÖfæzÉætÉß XÆe5êÿ5ÿæÿ&ø&÷ ˆÆe „ ÈÎ/ß â"À õDÉòÿõ@Éðÿ봧 X5øÿŽÀ% ‹Î¥ß X5öÿ„À% �uøÿòÿ5ðÿ봧 X5øÿ_Þ À% _Þ Î%¥ß X5öÿ_Þ À% _Þ NÎeæÿföÿføÿfðÿfòÿß XÆe5êÿ@îÿð  5ÿæÿ&øfêÿæÿÿ÷ ÚNÆe _Þ Nöÿføÿfðÿfòÿæ|ÈævÈæpÈæjÈæ)¥ß xgÆe5ÿæÿ&øfêÿ÷ |Æe _Þ ÷ „6_Þ ÎD¥ß À5üæÿð_Þ õ B&ø5ÿæÿò5üæÿ&ø7õþ–&ø÷ 6mÆeòÄCô@5ûìÿNìÿæJ¥ß xgÖ _Þ Ît¥ß À5üæÿð_Þ Î}¥ß À5üÞÿð7ÿªÇ5üÞÿ5ÿæÿ7ôª–uÿÞÿòòò5ûìÿ5ÿÞÿ@ÿò&ø7þ@Èuÿæÿòù5üâÿNìÿNmìÿfìÿ&ø5ÿæÿ&ø5ÿÞÿ&øæ‰¥ß xgÆe_Þ ÎÐ¥ß À5üæÿð_Þ òÈCô B5ûìÿ5ÿæÿ7ù8–5üâÿNìÿ&ø5ÿæÿ&øæÙ¥ß xgÆe_Þ ÃÎ¦ß xg Ä%3—tÂe Ôòµ€€œÀEÀÿÀå ‚À xœ€’&æ¦ß xg–% „ Û€œ€’&¦÷ DFÖ &æ8¦ß xgÆeìà _Þ Îg¦_Ú w ^iÆåõ B5üæÿ5þuÿæÿùuþô&ø7þtÆuÿæÿùwþfÆôö5øòÿ7þ`ÆuÿæÿùwþRÆô&ø5þ uÿæÿùuþôö5øêÿ5õòÿ&ø5õêÿ&ø÷ (iÆe5øÞÿñ5÷Þÿð5õÞÿ7ô$•5øÞÿ5õÞÿ7ò •ô@û5õòÿòuõêÿAòô5øòÿ&ø÷ „jÆe=ü w¬hw œh5õ&øf拦÷ HXÆe wŽhw ~hæ ñ5÷ðQB€tê¬æ¤¦ß xgÖ ÷¥�Å7ÿÆ&ø5ÿò5üŽß î5øÿ Ž& & 5õ&øæß LAÆe& ×tÃe Ôó¥Àœ€ 3ÿwÿzÆö5ô&øæ÷ ,2Æe „ Ä%áŽæ±¦ß ¬YÖ wØgw ÈgD ƒ×tÃe Ôó¥Àœ!Àw¬g‚ Â%ë øw �gÆå ÷¥ÂÄ õ€@wÿDÅù5üòÿõ€@õ€@5üòÿ7ÿ,Å5üîÿÎÞ¦ß xgà —tÂe Ôò¥,à Îö¦ß xgÎ §ß xg 2ÿwÿ¤Åö5üöÿuÿîÿò7ô&–&ø5ÿöÿuÿòÿò7ô–&ø€œt&ê¬æ%§÷ ªVÆe„ Ä%Çà Î8§ß xgwÜfw ÌfÆåÎß îÀ Îß Ð8_ZÎP§ß xgÎß „vÄ Ã Îe§ß xgà !ùæi§ß xgÖ Îß „vÄ Ä%è ß ~" æfÎeêÿæm§ß ˆ!ÆeÎß „vÎ ÕfÎeêÿß HYÖ À Ή§ß xgdΩ§ß xgÎß „vÄÎß „vÃÎß§ß xgà !ùæã§ß xgÖ Ä Ä éÎß „vÎÃæç§ß xgÖ ÷•Ã7þìÂò B5üæÿ÷mèÂü "WpAœuÖNWpAœtÖfß 6(Ö WpqþvÖ@øWpqÿxÖòuÿæÿ÷ðß„ À�¤Ä!êÎ ß Ì/whew Xeæ ÷¥ŒÂ묧 xgwNe5 øÿÄrÂÄ Àl€ !$õ øÿ!Ä Ä% ÃTÂà ÀN€ À à Ã% Wp Á`@ð¥#¦Óµ øÿ„ Ùƒ çõ øÿÎ0¨È÷PÂúÁ÷�VÂÂ÷FÂðÁ÷FÂðÁÀBÂÀíêÁ7`Â÷6ÂàÁ7ŠÐÁ7ŠÍÁ÷•ÞÁ7ÿÂ7üÄÁ7ŠÓÁ÷ ¬ Ä%¢—tÂe Ôò¥2ÿwÿòÂöwÿ2Âò&ø¦÷ ¢.Æe „ äw Td÷¥ŠÁÎi¨ß xgwLd7ŠxÁ7ŠšÁ Ã%öÄuÄe Ôô¥4ÿwÿ˜ÂöwÿØÁù&ø&÷ H.Æe ƒ äw úcæ Τæ嬧 $tÖ ÎÌ¨ß xg%õøÿÎfÎeøÿ&ß Öv–%Ú¨Îæ&ß Öv–%ÂŽæ&ß Öv–%ÃeË íß twšcw Šcæ  æÙ¨ß ´tÖ ÎfÎeøÿ&ß Òt–%À% õ%øÿß ŒÀ Îã¨ß xgß tÀwDcß t ùw *cæ DÚ¨ÎfÎeøÿ&ß Òt–%À% õ"øÿ ÂŽæ&ß Òt–%€ ÀwðbÃeË ßÎfÎeøÿ&ß Òt–%ðw ÄbÆåDÎß z@7ä¿Îß z@7Ú¿Î ß z@7пÎ ß z@7Æ¿÷ n+òÀ@&ø5õòÿô5øòÿ&ø7ÿÚ¿ô7üÔ¿Ä Î¢¿æô¨ß xgÖ Î©ß xgÎK©ß xg ƒ×tÃe Ôó¥ 3ÿwÿ®Àö5ôòÿ&øæ÷ `,Æe ‚ Â%æÎß x7ÿˆÀ&øæ6¿æ0¿æƒ©÷ ²QÆeñ7üR¿wòaw âa  ÄuÄe Ôôµ€>ôµ@ �Àå 3‚À x¸©ß JB�“&&÷ Z>Ö &æÀ©ß xgÆe�“&æù©ß xg–%�“&&÷ ">Ö &æ%ªß xgÆe‚ ƒ Ã%µ€wNaw >aÆå&7ÿž¾ð 7ÿ¸¿Á�«¿Aþù7ü¨¿ w(a÷•I¾7ÿ”¿5øÞÿ7ÿr¾÷@ð÷‹d¾  & & õ@&øæß LAÆe× _t5 ÔÿõÿÿÖÿ7ÿ4¾5ôÞÿ5øæÿ —tÂe Ôò‹òµ@2ÿ5÷æÿð2ÿ5øæÿµÜÿ5Öÿ„ Ä%âBÜÿ5õæÿwÿü¾ö5øîÿÀ�ñ¾þ5òîÿ&ø7ÿî¾ö7üè¾Á�Û¾Aþù7üؾ5õæÿ7ü̾7ÿ̾ðÎß Ì/õ Öÿ÷ p€œ€œ&€’&€œ&5õæÿ&øænªß xgÆeõ Öÿ_t€œÀEÀÿÀå  ‚À xZªÎÿÿß POÎæ ¦ß êB–%õ Ôÿ_Ö÷‹$½_ÖÎÂ¬ß * À _Ö5õæÿ5öÞÿ7ü½_ÖÀ�¾æ¦ß êB–%÷¥¼¼ÙÀ�û½ß z@„ 5 Úÿ5 ØÿCÚÿ×tCmØÿ×tÃe¦Ñó‹Àœàµ Øÿõ%ØÿéÄ µ Úÿõ%Úÿßw-ÚÿX¼w-ØÿR¼§wÚÿH¼wØÿD¼ÎH¼æ—ªß xgÖ Î2¼æ,¼æ¾ªß xg–%Î ß z@7¼Î ß z@7¼ ß $&5õæÿ5öÞÿ7ü,¼_î÷‹<½Žß JB_î ;À œbÖ5ÚÿÀ œcÖ5ØÿCÚÿ×t`×tÃe¦Ñó‹"5 øÿBøÿ—tÂe Ô€œÀEÀÿÀ% €’@-Úÿ€œ@-Øÿµ øÿõ%øÿäõ%øÿ„ À�²¼!ÁBÜÿÀ�¦¼!÷ 'ò@Aô@&ø¦÷ P(Æe _îÎæ¦ß êB–% fØÿfÚÿææß žBÆeÎß îÀ ÎÜªß xgNØÿfÚÿæ«ß xg–%µ Ôÿ_îòÕ€_îŽß JB€’t�œ@`×tÃe¦ÑË‹_îó‹_À-¢º€œÀ-šº Î:«ß xgÎŒºæ†ºß )Ö _€’&õÎæ¦ß êB–%÷¥Lº_î Îß z@5ÚÿÎß z@5ØÿCÚÿ×t`×tÃe¦Ñõ-$ºÚÿÀ-ºó‹ óµ€óµ?ó‹„ Ä%dÒÄ%d_î·ŠÚ¹ÀœfØÿfÚÿææß žBÆe�Áå Ô@€ rÀU€3�Îß îÀ _NØÿfÚÿ€œÀ &*­æC«ß xgÆe_Žß JB€’t�œ@`×tÃe¦Ñ󋳜_€œ&€’&÷ ò$wÿºò&øæß LAÆeÎß îÀ _€œÀ *­æ…«ß xgÖ €œ€’&æµ«ß xg_쀒t�œ@`×tÃe¦Ñó‹Žß JB·Îæ¦ß êB–%€’5Úÿ€œ5Øÿ÷¥õ¹_îó¥ GDÚÿÄ 1Ä .Ä%+@ØÿÀ 5øÿõ øÿõ%øÿ×tCmøÿ×tÃe¦Ñó¥ ó‹µ øÿ@Øÿ€ @-øÿá@Øÿ€ @-øÿ„ @Úÿ€ !Ê@Øÿ€ @-øÿ_î5ÚÿuøÿØÿ³Š·ŠQ¹õ-¸Úÿ>õ-ú·Øÿ:NÎeØÿfÎeÚÿß (Ö AÚÿWp AmØÿñ•K¦ÓÁ�йWp·ŠÈ¹ÁetÖuöÿ}�Úÿöÿ@öÿp�Øÿ@öÿðD¸@öÿ0Š 7ÿ ¹wÿ ¹÷ð Îß ^7ÿÒ¸Á�ŸAþù7ü¸_îÎæ ¦ß êB–%ÄöÖÎ&æ¦Ñß &Y–%ÎÈ&æ Ôß &Y–%Î:&æ:Öß &Y–%÷•F·_î÷‹F·_Îß jõ@_¤„œŽß JBtê¬t&ì¬æË«ß xg–%Àå ƒ_îÀ xTª7ÿ·7ü®¶_î÷¥¶¶_îÎ÷«ß xgÎ>¬ß xgÎ¬ß xg÷•“¶_î÷ h÷5Ôÿ_îÂâ·Žß JBõ _˜÷‹Q¶7þX·wÿжòû7à@¶7ÿâ¶Àñwÿx¶ò&ø÷ ¾[Æe&øõ€@ö5øîÿÀp¶Àí¶þ5òîÿû7` ¶ÀZ¶Àí¶þ5òîÿû7`öµÎ ß îÀ _˜÷¥öµ_˜7ÿ¶&ø7ÿÔµö7üε_˜w œXÎâ¯ß X=À À%hÀ Îé¯ß À=üðõ÷pBðñ wnXw ^Xæ × $÷ ªÀ õ Næ °ß xgÖ NÎeøÿæ°ß „_Ö Îß RoÄ ÷ À @øÿwX롧 xg ß ~"Ïw öWÆå× $÷ @À õ Næ:°ß xgÖ NÎeòÿæ?°ß „_Ö Îß RoÄ ÷ šÀ 5õòÿw¬WÎC°ß xg ß ~"Ïw ŒWæ Îò¯fß J Ö 5øÿw|Ww lWÆåj5 ”ÿ× _„!÷ ®5�ÿ5P”ÿõ ”ÿNæq°ß xgÖ õ �ÿ ß fÎv°ß „_NÎe–ÿæ~°ß „_Ö 5’ÿÎß Roõ ’ÿÏõ”ÿõ¥?–ÿ1õ‹—ÿ.õ’ÿDNÎe–ÿ&&ß lY–%NÎe–ÿæ‡°ß xgÖ õ ’ÿõ’ÿÎ�°ß xgÄeÌ áõ%’ÿœÎ‘°ß xg—DCÃe–ÿ“¢‚ Ê‹ûʋʋ‹¢‚ ƒ Ë‹øË‹Ê‹ÄeÌ áÌ Î“°ß xg ß ~"_V w>Vw .VÆåõ õ¶° N fæ»°fÎeæÿæÿÿß xgÆe× '÷ N õ NæÅ°ß xgÖ Ã  ß fÎ桧 „_NfÎeæÿß „_Ö Îß RoÄ Öw´Uw ¤U ß f�À% $Ä¥0Ä¥9Ä¥.Ä¥!Ä¥AÄ¥Z Ä¥aÄ¥zÄ¥-Þ ‘&ß äfÖ wZU ‘&ß äfÖ Àõw 8U ß f5� õ¥ ö æ ß äfÖ wUw U ß f�À wUÄ¥.úÄ¥ Ä¥;ñ ‘&ß äfÖ êw ÔT ß f�D­ÀwÈTÄ¥ ñ ‘&ß äfÖ ów ¢TÆå÷¥Ô± Îû°Î%±ß xg_%Îß îÀ Îß Ð8_%÷‹è²ë·ŠÁ±õÿ5øòÿÀбtÀm„±tð‹¦Ñ? &À œbÖÃíh±À œcÖÂí^±�BpfÁCp�eAþuøêÿ@ø&ø÷ äUÆe5øêÿ5÷òÿð5øòÿ5æÿ„ À�p²!Ö@æÿÀ œbÖ7±@æÿÀ œcÖ7±Îß $&5ñòÿÁö°Wp Ámð°ñ•.¦ÓÎâ°æܰæX±ß xg–%7õ¸Œ&ø5õòÿ&ø7õ´Œ&ø÷ âUÆe&øõ€@ö&ø÷ ÐUÆe5øêÿ Îß „vÀ Ò°æt±ß xgÖ ÷ 45÷êÿðG5 èÿÎß z@Á�p²@`à à Ã% Îß z@Á�U²@`  Â% ÁWp �`@ð¥.¦Óµ èÿõ%èÿÕõ%èÿΑ±ß xg÷°·°ÁWp �`@ð�°¦Ó÷ dí ß ^ Λ±ß xg„ Ä%žÎß Ì/w¨Rw ˜RÆå ÷¥ʯκ±ß xg_ &Îß îÀ Îß Ð8hNÎeôÿfÎeøÿß Ö À ]5ÿôÿòÈCô BûWpdÀ 7r`¯þô@ûÃ%UÎæë±ß xgÖ Î%²ß * À =Î?²ß xg5ÿôÿ7ùì‹5üðÿòÈCwÿ~°ùô@ûÃ%UÎæM²ß xgÖ Î�²ß * À Λ²ß xg7õ¶‹&ø5ÿðÿ&øføÿ& ÷ „ Æe7ü¯òÈC7òœ‹ô Bû7àÀ®w¢Qw ’QÆå ¾®—tÂm¸®—tÂe¦Ñò‹_ü'·œ¢°€’5ôÿ€œ5òÿ€œ5ðÿ÷‹ˆ°õ δ²ß xg÷•v®Îß îÀ Îß ÊM  Wp Á`ñ•.¦Óƒ Ã% õ„ Ä% ðÁ8®Wp Ám2®@ð�2®¦Ó *NÎeöÿfÎeøÿß (Ö AøÿWp Amöÿñ•K¦ÓWpq�øÿtÖWpq�öÿuÖWpñz®vÖWp1Š€Ö„ À�̯!ÒÎß ^õ ôÿNÎeöÿfÎeøÿß (Ö AøÿWp Amöÿñ•#¦Ów�øÿ’¯w�öÿ�¯ò‹NÎeöÿfÎeøÿß (Ö AøÿWp Amöÿñ•@¦Óõ òÿ NÎeöÿfÎeøÿß (Ö AøÿWp Amöÿñ• ¦Ó„ D-ðÿê NÎeöÿfÎeøÿß (Ö AøÿWp Amöÿñ•*¦Ó„ D-òÿê÷•#­wÆOw ¶OÎ ß z@Î ß z@Wp Á`@ð¥.¦Óí=ýw�Ow €ONfæÌ²ß xg–%÷Šë­AWp Amñ•.¦ÓÀˆ¬tÀm‚¬tðЧÑÀdÁp¬WtÁmj¬Wt1àªÑ· j¬ *WpAœtÖA-!WpAœuÖA-÷Š8®À�4®!ÎWpÁetÖfWpÁe‚Öfß &Y–%„ é„ À�®!Ò÷‹E­÷ Ì57ÿD­Á�7­Aþù7ü4­w¶Nw ¦NDuDmuÄe¦ÑÌ‹_*Îß îÀ ô%èôå ô%èôÿÿ Š÷ŠÚ¬ÃbÖÃeÀ’@-úÀœ@-õÎæÀ�´¬À ÀebÖ&ß &Y–%õ-V«,õ-P«(Á�L­Wp @Á�C­@`ð•.¦Ó÷¥6«÷ œéÀ�+­À�$­&æó² Î³ß xgNfæG³ß xg–%Îß îÀ ì ffõÿ&øæBß LAÆew¦Mw –Mõ )ÄÀªuÄmºªuÄe¦ÑAWp Amñ•.¦Óß zT8Nf¦æm³ß xgÆeõ  ·Š�ª DuDmuÄe¦Ñôµ€�ÃEÀÿ×tÃe ÔÀœÀ *­æ™³ß xgÖ Îß JB4ŠôŠwøLw èLB—tBm—tÂe¦Ñ ÄuÄe Ô“@-8�@-3�Àå ,‚À xIJõ &Nfæ»³ß xg–%ß JBNf�À &*­æê³ß xgÆe2�éõ êôÕ@ƒ Ã%»wPLw @LÆå*÷ x® À�j«fæ´ß xg–%5 øÿ_´/AøÿWpDÄetÖõdÐÿõ  4þòÈCwþÈ©ù5ûÐÿNÐÿß z@Á�G©Á AmAœ–Õ@ _/ÎKß z@Àeçÿ5âÿ4ÿÁ�©Á AmWtqÿœÕòû&AâÿVpuâÿæΨ“àæ÷ JÖ €eÀ þ5øðÿæ´¨�àæ÷ ,Ö €eÀ þ5øèÿ5õðÿ5øÒÿ5õèÿ5÷Òÿð5øÒÿñ5÷Òÿðõ€@5øÒÿ5õðÿ5ùÒÿô@5øðÿ5õèÿ5ùÒÿô@5øèÿõ âÿ@âÿ 5âÿ5õðÿÀñ5øðÿ5õèÿÀñ5øèÿÀ5Þÿ5àÿ“5æÿ�5äÿõ âÿ_¤.5þæÿ5ôðÿû5þäÿ5ôèÿûà Ã%  Â% _"/õÒ§ÜÿõΧÚÿà õ ÜÿÃ% µ Üÿ õ ÚÿÂ% µ Úÿõ Üÿ_¤.õ%Üÿ_¤.õ Úÿ_¤.õ%Úÿ_¤.@Üÿt@mÚÿtð‹¬Ñ_¤.@Üÿt@mÚÿtð¥§Ñ_¤.Îß îÀ GNÚÿfÜÿ�&“&æ>´ß xgÆe@Üÿt@mÚÿt5ªÑâÿõ%èâÿ ÀdAÜÿWtAmÚÿWt1`ªÑÀÚ¦tÀmÔ¦t5ªÑâÿõ%èâÿ ÀdÁ¶¦WtÁm°¦Wt1àªÑ“Wp @�@`ð•.¦Ó@Üÿt@mÚÿt°Š§Ñ÷Š~¨Î&Á�t¨WpÁetÖfß &Y–%À\¦tÀmV¦tðЧÑ Ä 6“@-æÿ�@-äÿ-Îß îÀ Näÿfæÿ�&“&æj´ß xgÆe“Wp @�@`ð•.¦ÓAæÿL�Wp @Aäÿt�@`ð•K¦ÓÄ õ øÿG GÁWp �`@ð¥.¦Ó4CæÿCmàÿà Ã% 5þæÿ5ôðÿûÁWp �`@ð¥.¦Ó@àÿ 5àÿBäÿBmÞÿ Â% ÁWp �`@ð¥.¦Ó@Þÿ 5Þÿ„õæÿµäÿõ âÿ_â,Àµ øÿÀ�:§@-øÿ_ + ß ^wúGw êG÷•0¥Îß „v@À Š´æ€¶ß xgÖ @Á¦´7ª„ þy7Šü¤÷•ÿÿ ¥÷  ß ~"÷ `Gw¤Gw ”GÎß hÀ _:1ζ¤æ°¤æ†¶ß xg–%ä¤Ã à Ã%Ϋ¶ß xgÎæ²¶ß xgÖ ƒ Àz¤€ À êÄn¤Ä ÎÓ¶ß xg„ À\¤€ !Mλ¶ß xgÄ ðÄ%íæé¶ß xgÖ Ã6¤Ã À0¤€ À ãà Ã%Îï¶ß xg*—tÂ`—tÂe¦Ñò‹Îö¶ß xgòè�œWp @�’@`Wp @�œ@`2Žæý¶ß xgÖ ƒ ÅÎ·ß xgwˆFw xFÆåBCÂeNÎeôÿß  vNöÿß êyÄ•wõ òÿNÎeôÿæß €tÖ À @ôÿÀEÿÀ%·Š_¥Ã%?ú¥-;€œÁ·7x… þy Ä•aà Âeè·Š+¥ù7Š%¥ö÷ ¢BÀ-D…· ¨î÷ ’BÀ-4…NÎeòÿæ6·¦Îeæÿÿß „_ÆeÀ ÙŽæ9·ß xgÖ ÒÃ%ÎM·& ß ¬YÖ Ã%‘¦ß lÖ 7€œÎW·ß xg æ ß äfÖ  æyß äfÖ Nòÿß žt÷ E÷ H÷ r Î·ß * À ö÷ æDuÄeê¬&æB¹ß xg–%ß ”Ycð¥sÿÿÎQ¹ÎU¹ß xgÎX¹ß xgw¬>w œ>Æå~÷¥Λε¹ Îã¹Îºß xgÎOºß xg_|>Îß îÀ Îß Ð8_|>÷‹x›ä÷‹s›ä5 Öÿ÷ œèÀ Îß îÀ Î|sÎß îÀ ÎRsß xgµ Öÿõ ÖÿÎwºß xgõ Öÿ Îb¹æ—ºß J Ö 5|ÿ5Öÿõ ÖÿÎß îÀ Ϋºß xg ß ~"µ ÖÿõÔÿ Wp Aa1 ~ÿ„ Ä%öõ Öÿ_<;õ Ôÿfμšæ뼧 xgÖ 5 Òÿ5 Ôÿ Ä%'Wp BBaÂe~ÿæâºß xgÖ Îíºß X5Ðÿ_|>À 5`Òÿõ-jšÒÿ Îóºß xg ß ~"µ ÔÿwíÒÿNšÃJÐÿÎ»ß X5Ðÿ_|>À%h_|>5þÐÿ7ò¾~2üÎ»ß À2ü2ÿð_|>2ÿ÷€@ð_|>„ ¦5 Òÿ÷ Ÿ_N= Wp BBaÂe~ÿŽ&æÚ»ß xg–%Ê _:=2ÿ&ø2ÿ&øæâ»÷ D,Æe_B=÷‹²›Î»_B9ÎP»ß xgÎŽ»ß xg ß ~"õ ÔÿÄÎt™æl»ß xgÖ Î€»ß X5Ðÿ_|>À-T™ã5 Ôÿ7àJ™5ÒÿÀ�T›5ÆÿÀ%õÆÿAÆÿ� upÆÿÀ rþ5øÈÿ _Ä<WpCÃetÖWp BBaÂe~ÿ3ÿ5øØÿõ@Aò7òŒ}uõØÿAòWôDù5øàÿ7ò€}5øàÿ3þ5øØÿ5ùàÿ5øØÿô@Á Aa1ûºÿÀ˜Á’@àþ5øðÿÀœÀí²˜þ5øèÿ5õðÿ&ø5õèÿ&ø÷ ˜;Æe2üñ2ü@Æÿáþ5ùÈÿuþÒÿò û÷ |�5õàÿ&ø5õØÿ&ø¦À @a&ºÿ&æ«»÷ Ö*ÆeµâÒÿ€Á Aa@ìºÿ5Ðÿ5`Òÿ à„ D-Æÿ€õ Òÿ_b; D-ÆÿWp BBaÂe~ÿÀ @aºÿ€â5Ðÿ@-ÒÿJmÒÿ5 Òÿõ Òÿ_b;NÒÿæÇ»ß xgÖ _b;À @a ºÿuíÐÿÒÿ„ ÎÎð»ß xg„ Ä%_ü:7ŠÊ— Wp BBaÂe~ÿÊ qæò»ß xgÖ À�|™5ÆÿÃtÖ5 øÿ^Ê `÷ ô@A5øØÿ2ÿô@A&ø5ÿØÿò5üØÿ7òæ{5øØÿ3ÿ5øàÿ5õØÿuõàÿAòWôDù5øØÿ þ&ø5ÿØÿò5üØÿÀ—Á’@àþ5øðÿÀœÀí—þ5øèÿ5õðÿ&ø5õèÿ&ø÷ ê9Æerÿö5øàÿ2ÿ5òàÿ7ôz{&ø÷ Ê:Æe5øàÿñ5÷àÿð$Ãeµ øÿu-Æÿøÿž„ Ä%‚ Wp Aaul~ÿÒÿ„ Ä%õõ ÒÿNÒÿæ-¼ß xgÖ wF95õàÿ5òØÿô@5ûÐÿsíÐÿNÐÿæ ¼ß xgÖ Îß îÀ ÀœÀ’&æ!¼ß xg–%Î+¼ß xgJíÐÿó ±ÀœÀ’&ß 6(Ö ªw Î8æ ÷•(–ñ7ü(–7Š –7Š–7Š– ß ~"ÎP¼æÔ½ß J Ö 5øÿ&@øÿø Ö  ß x ß j÷ nÈ× Öw€8w p8Îò½ß xgAWp Am@œ¦ÓÀ�ÁÞ½7x~ þyNfæv•æ¾ß xgÆeNfß 6(Ö Îß „vÎP•æ¿¾ß xgÖ Á�N•WpNß z@Äe 7a4•7á•æÓ¾ß xgÖ  Ä%HÎdß z@À%÷ ¬&ø÷ ¦ôò Aô€@WtqÿBÕò&ø&÷ ÏÆe „ ÞÎ-¾ß xgÎß „vÎb¾ß xgÎ ß Ì/Nfæ›¾ß xg–%Κ”æ””ß )Ö Î ß îÀ ˜·Š‘”•7Šh”wL7w <7õ  w<7÷ j9uûÿÀ 5r@ów 7Æå÷ L9ÀE€þ5øòÿ7ùJ~w7w ø6ÆåÎ¿ß À5üöÿð9òÈCwÿb•ùô@ûÄ%F æ¿ß xgÖ ÎQ¿ß * À "5ÿöÿ7ü”À<•0ÿwÿ$•ö5üöÿ÷¥Ò“ 7ÿø“uÿöÿ÷ðÿ7ôÒ}7üä“7ŠÚ“÷•Ø“wz6w j6Æå7ÿä”5ô5üöÿ ÄuÄe Ôô‹.÷ „˜@�@�&@�&æ5ÿöÿ&øfæv¿ß xgÆet�5ÿöÿ4üL�t�t�@À 0JÖƒ Ã%Æ@�@�&@�&fæ¦¿ß ¬YÆewÊ5w º5ÆåD7ÿ0”5ô5üöÿ4ü÷ Þ—5ÿöÿ&ø�&�&“&�&æÍ¿÷ 6%Æew|5w l5D÷ ¤—��&“&4ÿ&ø�&æ÷¿ß xgÆe�ÀEÀÿÀ 0 JÖõÿ4ü4Šw(5w 5DN f f÷ êý&ø÷ P8Æewÿh’òWtqÿ´ÕÁñòuþù&ø&ß LAÆewÜ4w Ì4DC÷ ¦ý&ø÷ 8Æewÿ$’òWtqÿ´ÕÁñòuþù&øæ÷ ÖþÆe w˜4w ˆ4Æå Î"Àß xgĺ‘ÁH’À rDpCÀ5øÿõ öÿà Î&æ4Àß xg–%7ÿÊ’wÿ²‘ö5øîÿõ€@5÷îÿð5øîÿ7þl‘5ùîÿ5øîÿõÈD5òîÿûÁÀ 5`öÿu`øÿu öÿà Î5õîÿ&øæNÀß xgÆe À�m’þ5øîÿÁ$‘� Aþù5øîÿõÈÄ5òîÿûÁÀ 5`öÿu`øÿu öÿà ÎÀ�5’&ævÀß xg–%÷‹‘Ä�è�WpdCÁÀ 5`öÿu`øÿu öÿÎt&êÁt&èÁæ�Àß xgÆe÷‹¬� õåôøÿµ öÿÎÁÀß xgÄ���WpœÿCÁÀ 5`öÿu`øÿu öÿà Î&æåÀß xg–%Ä�y�WpœÿCÁÀ 5`öÿu`øÿu öÿà Î&æÁß xg–%Ä4�WpûÿCÁÀ 5`öÿu`øÿu öÿà Î&æÁß xg–%Ä� �WpjÿCÁÀ 5`öÿu`øÿu öÿà Î&æ3Áß xg–%÷¥EÎ� õåÈøÿµ öÿÎ[Áß xgÄÖ�WpCÁÀ 5`öÿu`øÿu öÿà Î&æ€Áß xg–%ÄŒ� ÁÀ 5`öÿu`øÿu öÿà Î&æœÁß xg–%føÿföÿæ²Á÷ Î!ÆeAøÿ@öÿw 2w ü1Æå× ÎÈÁæ±Âß J Ö 5øÿ7œ%�÷‹!�÷ BÎÀ ê_ÞLÎðÁæÂÂß J Ö 5øÿ7œúŽ7ŠúŽ ææ ÕæÒÂß ˆ!ÆeÎãÂæ Õß HYÖ À  ææ ÕæîÂß ˆ!Æe÷•¶Ž5 òÿ � Õt5`òÿ„ ô‹ Õ÷Nòÿß êyÎÀ�ˆŽàß z@Àe7�°�7�˜Ž÷¥pŽÀ7�œ�7�„ŽÀ�_ŽþòÀAôA7üŒ�7ütŽÄ�HŽÃ�EŽCpAþfø÷ Ôùô@@òò`Aû7�_�7�GŽCpWp@Á�9Ž@ CpWp@7�;�7�#ŽÀ�Ž!À7�'�7�ŽÀˆ7À�7ŽÀ 7�À�7�Ž÷•EÄ�÷ü�ÀÜ7ž�7î�À�Û�þwÿÚ�ò7üìŽ7üÔ�ÀÁ� �@àþòA7üt�7üÄ�Àƒ7l�7¼�À�7b�7²�÷•L�7Š`�õ A7ü4�õÈB7ü0�õúC7ü,�7ŠE�7Š)�Îß z@ÀeWpdAþwünŽwüV�À�.�þ5üôÿô@&ø÷ &3Æe5üôÿ tø¥*ê¬tñt5ÿôÿ0üBÕ„ Ä%éõŒC7üÈ�õÜC7üÄ�õÜC7üÀ�õúC7ü¼�õúC7ü¸�õ–C7ü´�õD7ü°�õ B7ü¬�õ C7ü¨�õðB7ü¤�õ B7ü �õHC7üœ�õ C7ü˜� Ät0ÿîÕû`„ Ä%õÃ%èÎæÃß ¬YÖ õ@7üÈŒÀÁ�BŒ@àþ7ò^y7ü¸Œðñ7ü®Œ÷ ²Œ÷2¦Œ÷(¢ŒÄ�ŒWp–Áedw’ŒÄ%÷e–†Œ7õ$y7ü‚Œõ@7ü�÷È�7õy7ü�÷•-jŒ7õy7ühŒ÷•(]Œ7õ y7ü^Œ÷•(PŒ7õy7üTŒÁ�°‹WpÁe@7�7ŒÀ�ž‹þ7òìx7ü8Œ7Š&Œñ7ü2ŒÁ�†‹Wp Áe @7�Œõ€?7üŒõ@7ü@ŒõÈB7üŒõ€@7üŒõ@A7ü Œõ€@7üŒõ@7üŒõ@7üü‹õA7üø‹õÀ@7üŒõ@@7üŒ÷èŒ÷èHŒ tÀe Ô5èÿõÿ0ü0Š„ Ä%ï & & ææ ß žBÆe & & À�óŠ&æß žBÆe & & ææß žBÆe & & ææß žBÆe & & ææ ß žBÆeÎ ß z@7bŠÎ ß z@7XŠ 7�_Š7\Š7RŠ 7�PŠ7JŠ7 bŠ7ŠKŠ7ŠYŠ7ŠBŠ7ŠPŠ7ŠQŠ  —tÂ`—tÂe¦Ñ �2�òÿÿÎ ß z@€ 2��œÀ r&æ÷ jõÖ €å2�2Šƒ Ã%Ö„ Ä%ÑõòÿÎß z@Îß z@—tÂ`—tÂe¦Ñò‹ër�òÿµ òÿõ% òÿâ 2× Îß z@5ìÿÎß z@5êÿBìÿ—t`—tÂe¦ÑÊ‹æÊ•À p�ìÿbÖÀ p�êÿcÖòéÄ wìÿ ‰wêÿ‰„ À�L‰!ÊÄ�E‰3Îß z@€ 5îÿ!5îÿ× %Îß z@5ìÿÎß z@5êÿBìÿ—t`—tÂe¦Ñ€œ@mîÿÀ% á@îÿ�œ`r�DíîÿÄ ËÀ�ÔˆÀ�ψ&æ.Ãß xg–%÷¥¼ˆÎFÃß xgÀ�ë‰À�ä‰&æHÃß xg–%ÄÀ œcÖÀ œbÖ&æRÃß xg–%„ À�rˆ!ìÎÒˆæZÃß xgÖ 7ŠRˆ ß $&Îß NQ ß jwä*w Ô*Æå΀Ãß À5üöÿð&÷€@ðÎŒÃΧÃß xg5ÿöÿ÷ Bðõ÷ÀAðÎÃÃß xg5ÿöÿ7üœ‡uÿöÿò7ü–‡ò7ü”‡w|*w l*æ ÷ '÷ 'ß `u ß žt æüÃæôÃß Bt–%ÎþÃß ¬YÎæß vuÖ Îæß vuÖ NÎeøÿß ¶v!ùÎæß vuÖ Žæß vuÖ wü)w ì)Æårõ  ÷‹‡Îß îÀ õ ÷¥Q‡Î8Äß xgwÂ)õlÄ�ÿõ|ÄŽÿõ ŠÿõÄŒÿõßÔˆÿõ‚Ä�ÿõŠÄŽÿõŽÄŒÿõŠÿõÞÔˆÿNŠÿß îÀ õ ÖNŠÿß Ð8Ñ÷¥’† NŽÿf�ÿæ“Äß xg–%Ãõ ÷ ŽÓÀ ÎÄæ¬Äß J Ö 5öÿ,ý‹ˆÿ NŒÿfŽÿf�ÿæ·ÄNŒÿfŽÿf�ÿæÖÄfÎe’ÿæÿÿß xgÆe NÎe’ÿß * À Œý‹ˆÿ À@Ÿˆÿ!N�ÿæõÄß xgÖ Ä ÎÅ_üMÎÅ_üMÄ õ ÷í\†®…7е…7Šà…õ ÷•Ö…=‘ˆÿ_Nw f(Æå 5 ôÿDM× Îß z@5øÿÎß z@5öÿBøÿ—t`—tÂe¦Ñò‹åw-øÿP…Cw-öÿJ…?€œß z@5îÿ  Wp Á`@ð¥*¦Ó Wp Á`@ð¥@¦Óõ îÿƒ Ã% çõ îÿ„ Ä% ÞCõê„øÿõæ„öÿBøÿ—tBmöÿ—tÂe¦Ñõôÿõ ôÿ/Î&æ Åß xg–%Àí²„5òÿÀÀíª„5ðÿ@pfAòÿAp�eÁ%Î6Åß xgÎß „vÎTÅß xgÎß Ì/òèÎß îÀ òèÎVÅß xgNöÿføÿæŽÅß xg–%€œ5òÿ€œ5ðÿ@òÿÁ�m…àw�g…õ wmðÿ"„Ê‹ Îÿÿföÿføÿß )–%wmòÿ„ Ê‹ föÿføÿß )–%õ  Îföÿføÿß Î*–%ò•ÿÿ2Š÷‹ÿ„θÅß xg÷ ~ wx&w h&Æåõ Îß hÀ _vTõ  ÷ –ÐÀ Î$Æß * 7�lˆÂ�hˆõ ÷•\ˆ÷‹S…_vTõ 9Î2Æß xgÀ6ƒtÀm0ƒtÀe¦Ñ5ôÿAœWp @AŸôÿ@`Wp @AôÿAœ@`Aôÿ1ÎLÆß xg æOÆß xgÖ „ Ä% öÎSÆß xg Ä% _˜Sõ #æUÆß xgÖ  Wp Á`Aœ¦ÓNæYÆß xgÖ ƒ Ã% ðæ]Æß xgÖ Â Î`Æß xg  ‚À xøÅ7ÿ°ƒ&øædÆ÷ âÆe Î[Çß xg„ ½À�L‚À ðÅæwÆß xgÖ ÷‹!‚íΈÆß xgèÎ&‚æ ‚æ‚æ‚æ’Æß xgÆeÙ7ÿæ�&øæ¬ÆÏÎè�æ¿Æß xgÖ ËÀ�ä�æÐÆöõáÆøÿ÷‹Ä�õæÆøÿÎß îÀ õ鯸ÿ7þª�òÈCwþö�ù5ûöÿNöÿføÿæñÆß xg–% À�Ý‚æÇË7ÿÖ‚&øæÇ�Î,Çß xgÎ ß îÀ 7ÿZ�&øæ;Ç€ÎTÇ–õ AÎF�æ]Çß xgÖ Î:�æoÇß xgÖ ÎÐ�æ�Çß xgÖ À�9�tÀeÀÁ5òÿ÷¥'�õåòÿ@òÿfòÿæ“Çß xg–%À��tÀeèÁ5òÿfòÿæ¨Çß xg–%+ήÇß xg æ±Çß xgÖ „ Ä% öεÇß xg@ôÿðµ€Î·Çß xg@ôÿð‹ ß zTæÃÇß xgÖ wL#w <#D�Ã5€ÀÀEÀÿtœÔÃEÀÿà  w#ÀÀ *­ùw #Æå@÷‹!€ ÎþÇÎ:Èß xg_@XÎß hÀ _@X÷‹€ïÎXÈß X5Ðÿ_@XÀ%h_@Xõÿÿ¼ÿ÷¥Ü_”VÎgÈß xg5 ¼ÿõ B5ø¾ÿõÿÿºÿõ ¼ÿõºÿuí¼ÿÐÿõ ºÿ_|ùô€@5øòÿ÷¥î{õA5øòÿuõòÿAûfVpDw w �CBDÒ”Ä À û€w~w nDC̋ˋԤú w`Àûw JDCԔˋýCԔˋý Šw2w " C„ Ó‹ýww δÉß xgNf f fffß xgÆe ÎÄÉß xg÷ €Î€æÆÉß xgÖ Îÿÿß RowÆw ¶æ ÎöÉß X5øÿ_2[À%h_2[ÁeÀ r-5øÿ ÂeØÉ„’Äm²zƒœÃm¬zÄ Ä% à Ã% õ?øÿWp Á`Aœ¦ÓuøÿNøÿæ&æÊß xgÆeÂe„’Äm`zƒœÃmZzÄ Ä% à Ã% õ?øÿWp Á`Aœ¦ÓuøÿNøÿæ Êß xgÖ Âe„’ÄmzƒœÃmzÄ Ä% à Ã% õ?øÿWp Á`Aœ¦ÓuøÿÎ&føÿæÊß xgÆe7õÄn7üôy7Šêyw�w €Æå÷¥²y ήyæ(Êß xgÖ _Ä^ ß îÀ  ß Ð8_Ä^õ uøÿ5õ5üðÿ NÎeðÿfÎeøÿß Ö À _Ä^5ÿðÿ7ôtnwÿ2yò5üôÿòÈCwþ*yùô@ûÄ%Uæ6Êß xgÖ ÎpÊß * À _Ä^7ÿòxwþ¨yù5üèÿ5ÿðÿuÿèÿù5üìÿòÈCwÿÆåhBÂe5 ¤ÿ5 ¦ÿ@€ À%ƒµ ¦ÿµ¤ÿõ%ÿÿ¤ÿµ ¦ÿµ¤ÿ„ À�fÎe¤ÿf¦ÿß Pj–%•_@jÃ¥%ï5 žÿ•�À%-•µ žÿõ• šÿÃ¥0õ�šÿ•õÿÿ¢ÿÃ¥9õ ¢ÿ5 ¢ÿA¢ÿWp @Á�@`ÀeÐÿ5¢ÿ•Ã¥0éõÿÿ ÿÃ¥.5  ÿ•Ã¥05 œÿÃ¥lµ œÿ•@Àeªÿ5˜ÿÀ�ÀåC 5¢‚À xNÎÃ¥9çA ÿWp @Á�@`ÀeÐÿ5 ÿ×õ œÿõ–j”ÿõ>q”ÿ f”ÿææ fÎeªÿ¦Âeß ÎpÆe õ œÿWÂeT æ>q& æ fÎeªÿ¦Âeß ÎpÆe C æ>q& æîÃ¥X Îæ>q& æáµ˜ÿ,µ–ÿu�–ÿªÿ5Š«ÿ$µ¨ÿõ  ÿõ ÿÀ�f ÿæOfÎeªÿ=õ¨ÿ&øß XmÆeµ ˜ÿý¥ ˜ÿúÂeõÿÿ ÿN˜ÿß †q5’ÿ5  ÿõ  ÿu ÿ’ÿ@¢ÿ@í’ÿ5–ÿõ žÿ.õ¥ šÿý¥-˜ÿõ ’ÿ@Ÿ˜ÿµ ˜ÿfÎe¤ÿf¦ÿß Pj–%@–ÿõ –ÿÀ @�šÿî@Ÿ˜ÿµ ˜ÿfÎe¤ÿf¦ÿß Pj–%@’ÿõ ’ÿÀ í@–ÿõ –ÿÀ _Êg@�šÿfÎe¤ÿf¦ÿß Pj–%ìõ%¦ÿ=Фÿwv w f @ ‚À xºÎ@�ß k@�wP N@�&ß 8kÖ ó@½ H�ìw ÆåD @5öÿ5øÿõ ,õ öÿ)@½ È•-Aøÿ@öÿ  € 5öÿuøÿfæ føÿföÿ÷ *Æe@�fæ fÎeöÿ÷ NÆeõ öÿæõ øÿãw¦ w – ΀d@�&ß 8kÖ wŽ w ~ õ õ%NæÂÎß *pÖ AWp DÄeþÙô¥ NæàÎß *pÖ ô‹ Îfß ¦lÖ ÷ ,c õ-dÎc@�&ß 8kÖ |�´ ´ 4-@�wú ô¥ Î& fß owdf…@‰w J Wp ñ‹Úß �o„ Ä%ów6w &õ õ%NæpÏß *pÖ AWp DÄeþÙô "ô¥ ô¥ Î& fß qææ fÎeðÿæÃeß ÎpÆe ý‹îÿØÎ _@Ÿîÿ&µ îÿß 8kÖ òõîÿïÎð^æ ß 8kÖ ÷ ¦þ÷ .wøw èÆåfÎeêÿf ffÎefý Æe @Àeêÿ!ŠB™Ã% Ãe0 õ ÀAÀa`Ò�@Àeêÿ!ê Š€wˆw xC Dõ Ä  @½ È•- N&& ß ”{–%Ó�jÄ ôÀw@w 0C „ Ó‹ýw(f…&æ¦÷Uð]÷Uì]DÄe„ Ãà]ÿ–iÚ]ÀÖ]ÀeÀ-ˆiÿUÆ]À À Àmvi?ri7´]ÿžÏ®]ÿU¨]Ë5ÂÃÃEÂ-”]öƒÃ-Ž]ó‚À ß ôt7:iÀ%ÿÿÍ‚ƒ„…‡‹ÂÊ5ûÀ À`€ ݇À À`7P] †ÈÀU ÀÀeâf…@Àeþÿ7,]ÿE&]…‡7È^ ÷¾^õ÷ Z Á Ó•- Ó•0�”B~Áœ^Ó•. Á Ó•0…~Á ”B~‡7z^ ÷p^õ÷  Á Ó•-”Ó•.ÁX^Á ”B~Ó•e �Ó•- Ó•+ r Àe0�Áe0S�‡w �¦ðWð€fø& ñ CÀ”À% ü -Ž À”Àå0 ‚÷ š÷‚ õ þÿ À”Àå0 ‚÷ ~ ö  5  ×¢-„ ƒ À”Àå0 ‚Wp `öÄ  BàWõ€@¦ — &ƒñÖ �õÿ Wò Bƒ~Ö ùòð„õÿÖ ÀñVõVðwÐ÷€\ðò B@þô‡Îe‡f…@‰†w¶ …‡f…w~[wz[‰ªÏ†w–…‡f…wf[@Àe7^[‰°Ïwvf…‰†wh7ðf …‡f…‰…‡f…@w*[‰¶Ï†w< …‡f…€"‰†w& …‡f…wþZwúZ‰ºÏ†w…‡f…@wâZwÞZ‰Àφwä…‡f…÷ÎZÊZwmÄZ‰ÆÏ†wÆÀ¸Zwm²Z…‡f…w¢Z‰ÆÏ†w¤w”Z …‡f…@w„Zw€Z‰Ìφwz …‡f…@‰†wd …‡f…AW †@wHZÁ fbÛ1bÛ7—ó BÀûÀe0#�‚ @ñððÁ’ÛÑ”× ºÛü‡õ ‚  ó BAñðú‚ ÷ ÷  üW ºÛ†Îeó B@ûÀe0�‡À’ÛÀm®T÷ _€` ’Û‡’ÃeÈ�¢9 È•0 ’Ûƒ ŠöÈ•1‚ Áè^ÀvT÷ â^€`0Š’ÛÀ’ÛƒVõõVð‡ ð6þvþò&û€�ð‡ ð6þvþù&û€�ð‡ ð6þøvþCøùó€@Cò�ö¦û€�ð‡ ð€þvþòûð‡ ð€þvþùûð‡ ð€þvþøCøùó€@Cò�öˆûð‡€÷ ÷UŽ^‡÷ ÷U€^‡„÷ ÷Ur^‡†÷ ÷Ud^‡÷À\^‡÷ ¼ÿ¦öP^Îe÷ ¸S·<^·:^7&^À$ÜP�ÐP�Æå7 Ú]EDÄEÿ!ð wè÷e^Æü]Æå÷E€²]ÅEðDÄ5!Ä5À! ƒw¸Ä |NÑW!w€ÂwÜžÅÄ Ä ŠÄÄ ü dÑwŒW! BŠ— Âå— w܀— wÌòÈ wÂܰw¸Üž÷ ž…ŠÄÄ ü tÑÀ]ÀEðÿ7D]÷E€ø\÷U€ð\÷E@è\÷U@à\· Ü\ ÀîÛÈEÍ €ÈUÈU÷ ¾\ Åø\DÄEÿÄ%ð_(~À$ÜÀÆ\æÒ\æÌ\÷ ˆ\· 6RBÂE?ÿ‚ ‚ ‚ ÂeòÛ‡CÃEøÿà Ãe"Ü@ÀEÇÿ€ € x”ÑÀ÷5€F\Àe‡À÷5€4\Àå‡À‡À÷5@\Àe‡YÃå"Ü× H†Ã à ÃeòÛÑ �÷5@ö[>× .Ü;†Ñ �× 0Ü6Ã6æù × 0ÜÀ÷\Î4Ü `ƒ&æËeƒ × 0Üù  àÃ× 0ÜËåÃæÒ[÷eÌ[ÎbƒwìÿÃw–þÃ5ûQ$�ÀÖÛ÷ ÂÀâÛ �f � Ð ÁE€ÿÁU€ P�÷5€6[��  �Á ŠÁÁå€P‡ÀØÛfŽPÎPQ7 èZ‡Á5ÿ¡    ˆ öÁ5€Ä C B A È ÷ à `‡ÒÒ÷5€ÄZÒÒ‡  ‡““÷5€¬Z““‡  ÷5€šZ  ‡Ë Ëe€‡ËE€‡‡ÅØÛÊ Ë ‹"“$ “$÷5€^Z “$“$‚͇Íÿÿ‡ ‡ÒÒ÷5€8ZÒÒ‡  ‡““÷5€ Z  ‡ÀÖÛÐÐ÷5@ZÐ  ÐwL   Èw>ÅÀÖÛ÷ „þÀØÛÀÄY (¡   € ÷Á ÷5@´Y ÷ –Y B ‡ �õ‡Â ÷ |Y ͇÷U†YwÂüÀÖÛ÷ þ÷hY÷ üw–üÀÖÛ÷ þËTYÅw„ü÷XYw”üËPYwŒü÷ Þý÷ Øý7 2Y÷ .Ya÷ YUÁ YÁí(YW 8UÀäÛ W 8EÀØÛfˆc¡    Î ù à `Ö ÁàÛÂìÛÀ÷-ÂXÌX ¡a ‡‰hÀ û‰h±ú ¡¡ ‡‰èÀ û‰è±úÁØÛÉ ÁàÛÀ¡a ‡ À û! ÷ pý ÁâÛÂÖÛÀRÀ ýBÀÖÛÈ ÁZXW !W �ÿÁe€Á¡ Ð ÁU€ÈE€ÿTR÷5€:X‡  ÷5€(X  ‡÷UXwVû÷ ²÷ ü÷ îüÀÖÛÁâÛ ý Á€ 7 ÜWr@ØÛr@äÛ€ ¡ ôÁ€Âe— í÷ ªü÷ JÿW!úÛW! Ü ÷5€¤W7 œWÅe÷ ÿÅå‡÷ ,ü÷ †W¸÷íŠW|W÷ ¾fÀØÛ    ÅØÛæÀäÛ$ $‡‚$‡‚$ ‚ÀìÛèƒ ‚ � è‚ � è� è�SÄ C B A ¡ ß΀ÅeW!àÛØ‡Ö …wdþ÷ ¢û÷mWøV÷ ôV÷ 6fÅèÛ÷5€òV0     À € å   W!äÛ‚ÀØÛP�Ð…‡¡    0ç&ÀØÛd& dN & dN dC N ‚eN �e€ÕžÛÁrVÂpVÃnVÄlVU•Õ¡Ä C B A U•ÕÀàÛ÷ |U•Õ    ÅêÛæ@ ¡    ¡    ÀEüÿtÀe¾Û÷ 8Î èW!æÛÎÎå W!äÛÜ†Ö ¡    ÀØÛP�Ð…‡hC B A hB A hA h‡÷-¬U¶U÷ÿÿ¢U‡÷šU‡You may not abandon ye Faire Queene Officers escape in shuttlecraft Entire crew of %d left to die in outer space Crew beams down to planet %s You are hereby put in charge of an antiquated but still functional ship, the Fairie Queene. Fairie Queenef@ffffff#= ×p=×£L?ÌÌÌÌÍÌu=�Â(\ÃõStarbase shields protect the %s Stardate %.2f: Klingon attack: HIT: %d units from %d,%d, shields absorb %d%%, effective hit %d CRITICAL HIT!!! Sulu: Shields knocked down, captain. McCoy: we suffered %d casualties in that attack. µ@�oÜhµ@�oÜhRED ALERT: The %s is in a supernova quadrant *** Emergency override attempts to hurl %s to safety L>ÌÌÌÌÍÌShip-ship communications out when cloaked Uhura: Getting no response, sir Prob = %d (%.4f) Klingon at %d,%d surrenders %d klingons commit suicide rather than be taken captive %d captives taken Fat chance, captain Using starbase %s ¤¤¤¤)¤+¤1¤3¤7¤9¤>¤@¤E¤G¤O¤Q¤X¤Z¤f@ffffffL>ÌÌÌÌÍÌÂ>\�õ(� "&&þ  š ¦ ® † Î ÉAÚ¢ºeCà.éÒ�charttrajectorycoursemovescorepheffwarpcostimpcostdistresslist RequestComputer record of galaxy for all long range sensor scans -%d- %d $$$ .1. /// ... %3d %d -%d- No Klingons in this quadrant Klingon at %d,%dQuadrantq-ySectors-y%d,%d/%d,%d to %d,%d/%d,%drangePhasers are %d%% effective at that range distancewarp factorWarp %.2f distance %.2f cost %.2f stardates %d (%d w/ shlds up) units distanceDistance %.2f cost %.2f stardates %d units Klingon is attacking starbase in quadrant %d,%d Starsystem %s in quadrant %d,%d is distressed No known distress calls are active : course %d dist %.3f %s damaged Cannot find old damages %d £< ×p=×££< ×p=×£Damage control report: repair times device in flight docked %-24s%7.2f %7.2f All devices functional  --- WORKING --- %d Enter password verificationSelf destruct sequence aborted Password verified; self destruct sequence continues: %d  ***** %s destroyed ***** Chekov: But captain, we are already docked Chekov: But captain, we are not adjacent to a starbase. Sulu: Pardon me captain, but we are not docked. ÒÔ*:Ö:&ÕtÖ†üÔ ¦Ód¦ÑÕ ÔÈtrek.dumpcannot dump trek.dumpcannot restart %s falls into a black hole. Computer applies full reverse power to avoid hitting the negative energy barrier. A space warp was entered. You are now in quadrant %d,%d. It is stardate %.2f 2jHHStarsystem %s in quadrant %d,%d is no longer distressed Starbase in quadrant %d,%d is under attack Starsystem %s in quadrant %d,%d is distressed h.:"ú~nþðÖ‚Öxdate = %.2f, evcode %d params %d %d %d %s caught in long range tractor beam *** Pulled to quadrant %d,%d Uhura: Captain, we have recieved a distress signal from the starbase in quadrant %d,%d. Spock: Uhura: Captain, starsystem %s in quadrant %d,%d is under attack Uhura: We've lost contact with starsystem %s in quadrant %d,%d. %s reports repair work on the %s finished. Spock has tried to recalibrate your Space Internal Navigation System, but he has no standard base to calibrate to. Suggest you get to a starbase immediately so that you can properly recalibrate. Spock: Shall we cancel our rest periodj­u­|­Š­‘­Ÿ­¦­®­³­À­Å­Õ­Ü­ë­ð­ù­ÿ­®®!®(®:®A®Q®X®d®k®x®®ˆ®�®˜®Ÿ®¥®®®¸®Â®Ì®Õ®ã®í®÷®¯ ¯¯!¯+¯3¯>¯I¯V¯a¯l¯u¯‡¯‘¯š¯¥¯¬¯³¯»¯À¯È¯Ú¯warp driveScottyS.R. scannersScottyL.R. scannersScottyphasersSuluphoton tubesSuluimpulse enginesScottyshield controlSulucomputerSpocksubspace radioUhuralife supportScottynavigation systemChekovcloaking deviceScottytransporterScottyshuttlecraftScotty*ERR 14*Nobody*ERR 15*NobodyERRORTalos IVRigel IIIDeneb VIICanopus VIcarus IPrometheus IIOmega VIIElysium IScalos IVProcyon IVArachnid IArgo VIIITriad IIIEcho IVNimrod IIINemisis IVCentarurus IKronos IIISpectros VBeta IIIGamma Tranguli VIPyris IIITriachusMarcus XIIKalandArdanaStratosEdenArrikisEpsilon Erandi IVExo IIICourseDistanceh°j°m°o°%s: %dinvalid input; please enter an integer %s: %lfinvalid input; please enter a float yesno%s: %*[ ;]%[^ ; ]%14.14s invalid input; ? for valid inputs ;%%%d[^%s]%s: %*[ ;]è°î°õ°ª?©ªUŒ8äp@×£= ¤pfirstsecondthirdUhura: But Captain, we're already docked Uhura: I'm not getting any response from starbase Starbase in %d,%d responds %s attempt to rematerialize succeeds fails Â>\�õ(�ÂÂ>\�õ(�ÂÂ>\�õ(�ÂScotty: Sorry captain, but we are still docked. Scotty: That would consume %d%% of our remaining energy. Are you sure that is wiseAye aye, sir Spock: That would take %d%% of our remaining time. Are you sure that is wise(He's finally gone mad) Condition RED +j+^+^+ *** Klingon at %d,%d destroyed *** Starbase at %d,%d destroyed Uhura: Starfleet command reports that the starbase in quadrant %d,%d has been destroyed Inhabited starsystem %s at %d,%d destroyed Distress call for %s invalidated Distress call for starbase in %d,%d nullified Distress call for %s in quadrant %d,%d nullified klmove: fl = %d, Etc.nkling = %d Klingon at %d,%d escapes to quadrant %d,%d Klingon at %d,%d moves to %d,%d ®´Â´Ø´ð´µFµjµ�µ­µÔµñµ)¶e¶0 0You ran out of timeYou ran out of energyYou have been destroyedYou ran into the negative energy barrierYou destroyed yourself by nova'ing that starYou have been caught in a supernovaYou just suffocated in outer spaceYou could not be rematerialized  *** Ship's hull has imploded ***You have burned up in a starWell, you destroyed yourself, but it didn't do any goodYou have been captured by Klingons and mercilessly torturedYour last crew member died %s Long range scan for quadrant %d,%d %1d ------------------- ! * ! * ! * !%1d ! * ! /// ! %3d ! ------------------- 33afpst¸1Ä1à1Ê1Ð1 2%dInvalid option: %s arg count * * * S T A R T R E K * * * Another gameŽ=5ú׌8£< ×p=×£move: ramflag %d course %d time %.2f speed %.2f E.ep = %u, ->evcode = %d, ->date = %.2f, evtime = %.2f dx = %.2f, dy = %.2f, xn = %.2f, n = %d ix = %d, x = %.2f, iy = %d, y = %.2f New quad: ix = %d, iy = %d Computer reports navigation error; %s stopped at %d,%d ®¸¸¸Â¸ "%(ª8H8L8H8V8ª8f8v8>8v8Spock: Star at %d,%d failed to nova. Spock: Star at %d,%d gone nova Unknown object %c at %d,%d destroyed %s reports %s areis damaged ¢¹¤¹ª¹¬¹Ž=5ú׌8)B7‰ÆKð§™?™™™™š™)B7‰ÆKð§™?™™™™š™manualautomaticPhasers cannot fire through starbase shields Sulu: Captain, we cannot fire through shields. Sulu: Captain, surely you must realize that we cannot fire phasers with the cloaking device up. damaged, manual mode selected Manual or automaticComputer damaged, manual selected %d units available Bank %d: unitsavailable energy exceeded. coursespreadSulu: But there are no Klingons in this quadrant Phasers locked on target. %d units available Units to fireavailable energy exceeded. b%d hr%d u%d df%.2f af%.2f %d units overkill b%d u%d a%.2f s%.2f Phaser bank %d fires: %d unit hit on Klingon at %d,%d %d units expended on empty space ½ ½!½$½$*½-½ÊMÿÿ1½3½¶ ;½>½&D½M½êN½Q½^T½Y½#Z½\½%c½e½"0k½m½6[q½s½9z½~½6[½„½¼…½‡½¾@‹½‘½JM’½•½ÊMš½œ½NQ¢½¥½NQÿÿª½´½~wµ½·½²T¾½À½bƽȽZνнâLabandoncapturecloakcomputerdamagesdestructdockhelpimpulselrscanmovephasersramdumprestshellshieldsrscanstatusterminatetorpedoundockvisualwarp Command#*@K@@ @ @v?œ?RED ALERT: collision imminent %s rams Klingon at %d,%d Yeoman Rand: Captain, isn't it getting hot in here? Spock: Hull temperature approaching 550 Degrees Kelvin. You ran into the starbase at %d,%d %s heavily damaged McCoy: Take it easy Jim; we had %d casualties. ÿGþÑ9·âXeHow longSpock: That would take %d%% of our remaining time. Are you really certain that is wiseschedule: type %d @ %.2f slot %d parm %d %d %d Cannot schedule event %d parm %d %d %dreschedule: type %d parm %d %d %d @ %.2f unschedule: type %d @ %.2f parm %d %d %d *** Your score: %d Klingons killed %6d Kill rate %.2f Klingons/stardate %6d Penalty for %d klingons remaining %6d Bonus for winning a %s%s game %6d Penalty for getting killed -500 %d starbases killed %6d %d calls for help %6d %d stars destroyed %6d %d inhabited starsystems destroyed %6d penalty for abandoning ship -200 %d Klingons captured %6d %d casualties %6d *** TOTAL %14ld `ÂbÂgÂiÂoÂqÂuÂ}Â~€Â†ÂˆÂŒÂŽÂ’”šœ¥§ÂL>ÌÌÌÌÍÌL@ÌÌÌÌÍÌeëQ…R¸L¾ÌÌÌÌÍÌ™>™™™™š™u¾�Â(\ÃõshortmediumlongrestartnovicefairgoodexpertcommodoreimpossibleWhat length gameWhat skill gameEnter a passwordtournamentEnter tournament codeEnterpriseDevice probabilities sum to %d%d Klingons %d starbases at %d,%d, %d,%d It takes %d units to kill a Klingon Warp factorMinimum warp speed is 1.0 Maximum speed is warp 10.0 Damage to warp engines may occur above warp 6.0 /bin/sh-cannot execute /bin/sh.Ä0Ä2Ä4ÄupdownYe Faire Queene does not have the cloaking device. Cloaking deviceisitShieldsarethem%s %s down while docked Up or down%s %s up. Do you want %s down%s %s down. Do you want %s up%s already up down  RED ALERT: supernova occuring at %d,%d *** Emergency override attem Uhura: Captain, Starfleet Command reports a supernova in quadrant %d,%d. Caution is advised Lucky devil, that supernova destroyed the last klingon ÆÆÆ ÆˆR¦RÊRèRôRSSZSfSrSGREENDOCKEDYELLOWREDstatus report Short range sensor scan %d %d %c %d stardate %.2fcondition %s, CLOAKEDposition %d,%d/%d,%dwarp factor %.1ftotal energy %dtorpedoes %ddownupdamagedshields %s, %d%%Klingons left %dtime left %.2flife support damaged, reserves = %.2factive current crew %d brig space %d Klingon power %d Length, Skill %s%s, %s%s %d Distressed Starsystem %s Ž=5ú׌8 #*.@K`WìWÔW6VÞWfWXL?ÌÌÌÌÍÌFederation regulations do not permit attack while cloaked. All photon torpedos expended Torpedo courseNo-burst mode selected Do you want a burstburst angleMaximum burst angle is 15 degrees Torpedo track, torpedo number %d: %6.1f %4.1f Torpedo missed %6.1f %4.1f Torpedo disappears into a black hole *** Hit on Klingon at %d,%d: extensive damages Unknown object %c at %d,%d destroyed Photon tubes misfire on torpedo %d TREK SYSERR: system error %d ÿÿÿÿÿÿÿÿÿÿL>ÌÌÌÌÍÌdirection%d,%d %c %c %c %d,%d L>ÌÌÌÌÍÌL?ÌÌÌÌÍÌ%s is docked Scotty: That would consume %d%% of our remaining energy. Are you sure that is wiseSpock: That would take %d%% of our remaining time. Are you sure that is wise ___ Speed exceeding warp nine ___ Ship's safety systems malfunction Crew experiencing extreme sensory distortion Equilibrium restored -- all systems normal Positive time portal entered -- it is now Stardate %.2f Negative time portal entered -- it is now Stardate %.2f Equilibrium restored -- extreme damage occured to ship systems Congratulations, you have saved the Federation In fact, you are promoted one step in rank, to the exalted rank of Commodore Emeritus from %s%s to %s%s ``Ü_`%``>`’`°`°`°`°`°`˜`˜`˜`˜`˜`˜`˜`˜`˜`˜`°`°`°`°`°`°`°`°`°`aè`l”l†lllbl”lpl‚lcopen: bad file mode %o on %scflush: bad file number %ddsfp®p’p  ÏžÏ Ï Ï‰ ‰ ‰‰‰‰<܉0‰‰ß Ö –%Æew0ÿ*Ð2Ð:ÐBÐJÐRÐZÐbÐJЀ@É@Ú!¢ÂhI@Ú!¢ÂhAy‚ü™1ïÔ?ÌçÏ‘y"?ÊD{‘ÕAv#O›ÅP#C†àÌõ!+šC“ô|¥]2CU*j 4¬xBJÔÃÔh{CþWú*Rs¸CL¦~Sz"@ƒùNnDOLX2�ú»ê–ËxØ©3Ÿ‰ÖIáä”¶ÂTXÇ]1 ªDø!ñ‡ûLÎç%§dîÇIgN5& GbÜqhÌDK§Ÿ-?á½E=s½M¡BÔ�Ÿ˜Û`½=B.p«ª½ˆF±�:|+eiD(/èzC•¸@;ª\)ñµ@óù3dÞÿÿÿÿÿÿÿ5@óù3eÞ1@rÑ÷zÏÀÂ�lŽ÷B‰¨‰#"™Âû3’h±@×?ØG�e˜@Â�lŽ›BÙ,½k$Âç“aXUÌ>ÌÌÌÌÍÌ â~ð~ø~’‚š‚J�l�f�\�؃ރ¢‚ �¨‚n�8�T„€‚‚Ä�l‚Ö�¬�Ú€€.€:€J€Z€j€fcrt0.ostartabandon.~abandonqijøÿeattack.oj~attackjrestinghitilmaxhitøÿtothitöÿshldabsbôÿchgfacìÿproporäÿextradmÜÿdustfacÔÿtotheÌÿcasÊÿhitflagÈÿautover.‚~autover‚distöÿcoursecapture.$~capture$ikxöÿ~selectk<icheck_ouh~check_ohdevicedevcheckconª~checkcoªijcompkl.o^~compkld^fidxdydòÿtempêÿ~sortkl tìÿfimcomputer¶ ~compute¶ ixøÿiyöÿijnumoutôÿtqxòÿtqyðÿrîÿcostìÿcourseêÿdistæÿtimeâÿwarpfactÞÿqÜÿe~kalcXtqxtqytsxtsy dist dxòÿdyêÿquadsizeæÿangleÞÿcourse~prkalccoursedistdamage.o8~damage8dev1damieføÿdevdamaged.î~damagedîdevdeidcrept.o&~dcrept&ifxöÿm1òÿm2îÿedestructê~destrucêcheckpasêÿijzapæÿdock.o^~dock^ijokøÿe~undockbeidumpgame¼~dumpgam¼versionøÿfddi~restart,fdversionøÿ~readdumŒfd1fddijunkøÿdumpme.oò~dumpmeòflagfxòÿeidumpssraÔ~dumpssrÔejchkrestevents.ox~eventsxwarpijøÿköÿrtimeîÿxdateæÿidateÞÿevÜÿixÚÿiyØÿqeevnumÖÿrestcancÔÿexterns.getcodi.~getcodicodigetpar.oX~getintpXsinøÿ~getfltpÀsidòÿ~getynpa* srøÿ~getcodpJ stabinput–ÿrflag”ÿpqc’ÿf�ÿ~getstrpˆ!srlt iformatæÿf~testnl"c~skipton~"c~testter¨"c~readdelâ"dchelp.o#~help#idistòÿxêÿdxdyjèÿlæÿimpulse.%~impulse%courseøÿpowerdistôÿtimeðÿpercentinitquad$&~initqua$&fijrxøÿryöÿnbasesôÿnstarsòÿqnholesðÿ~sector(xyijkill.o6(~killk6(ixiyij~killb)qxqyqb~kills *xyfqename~killdÎ*xyfeiqklmove.ov+~klmovev+flnøÿkdxðÿdyèÿnextxæÿnextyäÿlookxlookymotionâÿfudgexàÿfudgeyÞÿqxÜÿqyÚÿbiggerÒÿiÐÿlose.oÌ/~loseÌ/whylrscan.o"0~lrscan"0ijqmain.o>1~main>1argcargvvectôÿopencodeprioòÿacavmove.oŠ2~moveŠ2ramflagcoursetimespeedangleòÿxîÿyêÿdxæÿdyâÿixiybiggerÚÿnØÿidistÔÿsectsizeÐÿxnÈÿevtimeÄÿnova.o7~nova7xyijseout.oÐ8~outÐ8devdphaser.o9~phaser9ijøÿkdxðÿdyèÿanglefacàÿdistfactØÿbmanualÖÿflagÔÿextraÒÿhitÐÿtotÈÿnÆÿhitreqdºÿbank~ÿptr|ÿplay.oè>~playè>røÿram.oF?~ramF?ixiyicranf.oz@~ranfz@maxt~franf @tòÿrest.o¾@~rest¾@töÿpercentscheduleLA~schedulLAtypeoffsetxyzeidateöÿ~reschedüAe1offsetdateöÿe~unschedJBe1e~xschedžBev1factorxy z ev~xrescheêBe1ev1factorevescore.o.C~score.Cutsöÿrîÿsetup.oºE~setupºErøÿijfôÿdòÿfdðÿklumpîÿixìÿiyêÿqeèÿsetwarp.âL~setwarpâLwarpfacöÿshell.oJM~shellJMiøÿpidsav2sav3shield.oÊM~shieldÊMficøÿröÿs’ÿdevice�ÿdev2Žÿdev3ŒÿindŠÿstatˆÿsnova.oPO~snovaPOxyqxøÿqyöÿixiyfôÿdxòÿdyðÿnîÿqsrscan.oNQ~srscanNQfijstatinfosøÿpercentöÿqôÿpòÿsystemnazT~systemnzTq1qitorped.o²T~torped²TixiyxòÿyêÿdxâÿdyÚÿangleÒÿcourseÐÿcourse2ÎÿkbiggerÆÿsectsize¾ÿburst¼ÿnºÿ~randcouDXnròÿdutility.&Y~bmove&Yablnpq~sequalHYabpq~concatlYs1s2s3pq~length”Yslp~syserr¬Yp0p1p2p3 p4 p5visual.oZ~visualZixiycoøÿvwarp.o6[~warp6[flcdcourseøÿpowerôÿdistðÿtimeìÿspeedèÿfracàÿpercentiwin.oÈ^~winÈ^söÿpscanf.o„_~scanf„_match_chöÿparamlispnmatchformatøÿch~__scanh`longflengthresultspecch~__decralresultôÿlongf minusìÿvalnöÿndigitlengthbaseresultiresîÿlresðÿchokêÿ~__next®bmodech~__digitöbnbasech~__fltenhcchagotsn\ÛgotptZÛgoteXÛch~__strenöcchach~__splen dch~__inits0dvalispecch~__float dlongfrxŠÿlengthresultfres’ÿtemp”ÿ~__streendfnimodenotoklengthresultch~__char�elrlengthresultch~__getsòecs~__ungs fcscgetc.of~cgetcfxfnifnfpungetc.oäf~ungetcäfcfnfpprintf.oxg~printfxgparlistfmtcbufªÿdblptr¨ÿmode¦ÿfd¤ÿpwidth¢ÿprec ÿleftžÿlongfœÿpadcharšÿs˜ÿn–ÿfn”ÿlen’ÿ~__putchPjmodepfdc~__prtld–jpobjpbufbasesigned digs nöÿpputchar. k~putchar kccputc.o8k~cputc8kcfnfpcopen.ol~copenlxmodefilenamemodefn__makbuf¦l~__makbu¦lspacepeeksizeøÿsizetypefnfpftoa.oXm~ftoaXmascii availvaluewidthexponøÿaplowercasòÿformatmodeôÿprecðÿsignöÿprec1cexit.o>o~cexit>orcode~exitRorcode__exit.oboflush.olo~flushloicflush.o�o~cflush�ofnfp__error.*p~__error*pparlistbufðÿfmtcpsîÿ__prtintÎp~__prtinÎpupperbuff kpsigned basedigsêÿpobjdp~__prtsh>qnpsigned basedigs pobjpbufportlib.†q__length†q~__lengt†qlpsalloc.ožq~allocžqpqt^Ûnbytesnwords~freefrp!cin.o€r!cout.o€rfltpr.o€ratof.o&sdigitösone€@outèshugeÿten Bbig€\close.otcreat.o$texecl.oBtfork.o^tgetuid.ovtgtty.o€tnice.ožtopen.o´tread.oÒtsbrk.oôtndÊÏseek.oten Bpadv|digit1Œ|digit~|out–|outoutÎ|longops.ð|fp.o˜}rtibptm.ext€m.lngi@sps2Üreenter¤Ñspc0Üsr0"Üsr1$ÜtrapinsðÛbadinslookahea(~ssp.ÜfpsrîÛclass3Š~class2^~i.cfccâ~i.setfð~i.setii.setdø~i.setlfsrc„mod0rx€mod242Âmod0fÜmod24fžsreti.ldfps’‚i.stfpsš‚i.clrxJ�i.tstxl�i.absxf�i.negx\�mod0raòmod24iÈmod24d°fregri.mulx؃i.modxÞƒi.addx¢‚i.ldx �i.subx¨‚i.cmpxn�i.stx8�i.divxT„i.stexp€‚i.stcxj‚i.stcxyÄ�i.ldexpl‚i.ldcjxÖ�i.ldcyx¬�ret.mod0Úmod1€mod2€mod3.€mod4:€mod5J€mod6Z€mod7j€badi1v€mod0rúcheckz€pctmp4Üsetab„€asignÖÛseta’€bsignâÛnormÔ€aregØÛsaretBƒaexpàÛxoflob‚retaxƒretbfƒbregäÛunflo¼ƒovflo΃i.mulÞ„bexpìÛxorsign&†bins¾Ûaddr†ac4Üac5Üsavr5$VÛfptrap"è}_exit"Ro_main">1_Systemn#*­_Quad$¦Ñ_Sect$¦Ó_Device#ê¬_Event$ Ô_Ship$ÒÔ_Game$üÔ_Move$Õ_Param$&Õ_Now$:Ö_Etc$tÖ_Trace$úÙ_abandon"csv"ºw_printf"xg_out"Ð8cret"Æw_damaged"î_systemn"zT_lose"Ì/_unsched"JB_ranf"z@_initqua"$&_dock"^_compkld"^fltused"€r_attack"j_klmove"v+_franf" @_pow"z_damage"8_autover"‚_warp"6[_capture"$_selectk"<_killk"6(_check_o"h_checkco"ª_killd"Î*_sqrt"�y_sortkl" _bmove"&Y_Cputab#†£_compute"¶ _getcodp"J _cgetc"f_ungetc"äf_kalc"X_prkalc"_readdel"â"_getintp"X_score".C_getfltp"À_atan2"ðw_schedul"LA_resched"üA_syserr"¬Y_dcrept"&_destruc"ê_sleep"„v_skipton"~"_getstrp"ˆ!_sequal"HY_dumpssr"Ô_undock"b_Dump_te#š¨_dumpgam"¼_creat"$t_write"Öv_close"t_restart",_open"´t_read"Òt_readdum"Œ_dumpme"ò_events"x_snova"PO_xresche"êB_getynpa"* _xsched"žB_killb")_sector"(_exp"pz_getcodi"_testnl""_scanf"„__testter"¨"_Yntab#ò¯_concat"lY_Cntvect#Ò°_help"#_impulse"%_move"Š2_shield"ÊM_win"È^_kills" *_Losemsg#Œ´_reset"~w_lrscan""0_Mother#·_time" v_srand"êy_gtty"€t_getuid"vt_copen"l_f_log#ÀÎ_nice"žt_setexit"nw_setup"ºE_play"è>_flush"lo_cos"ðx_sin"âx_fabs"²w_ram"F?_nova"7_length"”Y_Matab#b¹_phaser"9_Comtab#P¼_rest"¾@_shell"JM_srscan"NQ_torped"²T_visual"Z_setwarp"âL_rand"øy_log" {_Skitab#ðÁ_Lentab#ÈÁ_fork"^t_setuid"`u_execl"Bt_signal"vu_wait"¶v_Udtab#Ä_Color#ðÅ_randcou"DX_abs"¨w_errno$üÙ_Visdelt#ØÉ___fileh$þÙ___param#˜Ï___statb$²Ú___getc$ÐÚ___ungc$ÒÚ___input$ÔÚ_cin#¦Ï___gets"òe___ungs" f___scan"h`___next"®b___dec"ra___char"�e___stren"öc___str"e___float" d___inits"0d___splen" dlmul"ð|___digit"öb___flten"hc___splse$ÖÚ_atof"&s___backu#�Í___error"*p___makbu"¦l_cputc"8k___putch"Pj___prtld"–j___prtsh">q___prtin"Îp_ftoa"Xm___lengt"†q_putchar" klrem"}aldiv"X}_cout#¨Ï_seek"o___exit"bo_cflush"�o_abort"øv_ldiv"”{_ldivr$�Û_yyportl#œÏ_allocs#žÏ_allocp#¢Ï_alloct#¤Ï_getvec"žq_sbrk"ôt_free"fr_cfree"fr_relvec"fr_fin#¦Ï_fout#¨Ïpfloat"€rpscien"Îr_ndigit#LÑecvt"ô{fcvt"î{cerror"Ôw_par_uid$`Û_end$<Ü_brk"u_nargs"watan"x_atan"âwatan2"xsin"ycos"ysqrt" yrand"øysrand"òypow"(zlog"{exp"€z_lrem"¦{ldiv"}almul">}alrem"r}fpjsr"Ø}ac0$òÛac1$úÛac2$Üac3$ Ütrek.hÙsø¤‘;,# /* ** Global Declarations ** ** Virtually all non-local variable declarations are made in this ** file. Exceptions are those things which are initialized, which ** are defined in "externs.c", and things which are local to one ** program file. ** ** So far as I know, nothing in here must be preinitialized to ** zero. ** ** You may have problems from the loader if you move this to a ** different machine. These things actually get allocated in each ** source file, which UNIX allows; however, you may (on other ** systems) have to change everything in here to be "extern" and ** actually allocate stuff in "externs.c" */ /* external function definitions */ extern double franf(); /* floating random number function */ extern double sqrt(); /* square root */ extern double sin(), cos(); /* trig functions */ extern double atan2(); /* fancy arc tangent function */ extern double log(); /* log base e */ extern double pow(); /* power function */ extern double fabs(); /* absolute value function */ extern double exp(); /* exponential function */ /********************* GALAXY **************************/ /* galactic parameters */ # define NSECTS 10 /* dimensions of quadrant in sectors */ # define NQUADS 8 /* dimension of galazy in quadrants */ # define NINHAB 32 /* number of quadrants which are inhabited */ struct quad /* definition for each quadrant */ { char bases; /* number of bases in this quadrant */ char klings; /* number of Klingons in this quadrant */ char holes; /* number of black holes in this quadrant */ int scanned; /* star chart entry (see below) */ char stars; /* number of stars in this quadrant */ char systemname; /* starsystem name (see below) */ }; # define Q_DISTRESSED 0200 # define Q_SYSTEM 077 /* systemname conventions: * 1 -> NINHAB index into Systemname table for live system. * + Q_DISTRESSED distressed starsystem -- systemname & Q_SYSTEM * is the index into the Event table which will * have the system name * 0 dead or nonexistent starsystem * * starchart ("scanned") conventions: * 0 -> 999 taken as is * -1 not yet scanned ("...") * 1000 supernova ("///") * 1001 starbase + ??? (".1.") */ /* ascii names of systems */ extern char *Systemname[NINHAB]; /* quadrant definition */ struct quad Quad[NQUADS][NQUADS]; /* defines for sector map (below) */ # define EMPTY '.' # define STAR '*' # define BASE '#' # define ENTERPRISE 'E' # define QUEENE 'Q' # define KLINGON 'K' # define INHABIT '@' # define HOLE ' ' /* current sector map */ char Sect[NSECTS][NSECTS]; /************************ DEVICES ******************************/ # define NDEV 16 /* max number of devices */ /* device tokens */ # define WARP 0 /* warp engines */ # define SRSCAN 1 /* short range scanners */ # define LRSCAN 2 /* long range scanners */ # define PHASER 3 /* phaser control */ # define TORPED 4 /* photon torpedo control */ # define IMPULSE 5 /* impulse engines */ # define SHIELD 6 /* shield control */ # define COMPUTER 7 /* on board computer */ # define SSRADIO 8 /* subspace radio */ # define LIFESUP 9 /* life support systems */ # define SINS 10 /* Space Inertial Navigation System */ # define CLOAK 11 /* cloaking device */ # define XPORTER 12 /* transporter */ # define SHUTTLE 13 /* shuttlecraft */ /* device names */ struct device { char *name; /* device name */ char *person; /* the person who fixes it */ }; struct device Device[NDEV]; /*************************** EVENTS ****************************/ # define NEVENTS 12 /* number of different event types */ # define E_LRTB 1 /* long range tractor beam */ # define E_KATSB 2 /* Klingon attacks starbase */ # define E_KDESB 3 /* Klingon destroys starbase */ # define E_ISSUE 4 /* distress call is issued */ # define E_ENSLV 5 /* Klingons enslave a quadrant */ # define E_REPRO 6 /* a Klingon is reproduced */ # define E_FIXDV 7 /* fix a device */ # define E_ATTACK 8 /* Klingon attack during rest period */ # define E_SNAP 9 /* take a snapshot for time warp */ # define E_SNOVA 10 /* supernova occurs */ # define E_GHOST 0100 /* ghost of a distress call if ssradio out */ # define E_HIDDEN 0200 /* event that is unreportable because ssradio out */ # define E_EVENT 077 /* mask to get event code */ struct event { char x, y; /* coordinates */ float date; /* trap stardate */ char evcode; /* event type */ char systemname; /* starsystem name */ }; /* systemname conventions: * 1 -> NINHAB index into Systemname table for reported distress calls * * evcode conventions: * 1 -> NEVENTS-1 event type * + E_HIDDEN unreported (SSradio out) * + E_GHOST actually already expired * 0 unallocated */ # define MAXEVENTS 25 /* max number of concurrently pending events */ struct event Event[MAXEVENTS]; /* dynamic event list; one entry per pending event */ /***************************** KLINGONS *******************************/ struct kling { char x, y; /* coordinates */ int power; /* power left */ float dist; /* distance to Enterprise */ float avgdist; /* average over this move */ char srndreq; /* set if surrender has been requested */ }; # define MAXKLQUAD 9 /* maximum klingons per quadrant */ /********************** MISCELLANEOUS ***************************/ /* condition codes */ # define GREEN 0 # define DOCKED 1 # define YELLOW 2 # define RED 3 /* starbase coordinates */ # define MAXBASES 9 /* maximum number of starbases in galaxy */ /* distress calls */ # define MAXDISTR 5 /* maximum concurrent distress calls */ /* phaser banks */ # define NBANKS 6 /* number of phaser banks */ struct xy { char x, y; /* coordinates */ }; /* * note that much of the stuff in the following structs CAN NOT * be moved around!!!! */ /* information regarding the state of the starship */ struct { float warp; /* warp factor */ float warp2; /* warp factor squared */ float warp3; /* warp factor cubed */ char shldup; /* shield up flag */ char cloaked; /* set if cloaking device on */ int energy; /* starship's energy */ int shield; /* energy in shields */ float reserves; /* life support reserves */ int crew; /* ship's complement */ int brigfree; /* space left in brig */ char torped; /* torpedoes */ char cloakgood; /* set if we have moved */ int quadx; /* quadrant x coord */ int quady; /* quadrant y coord */ int sectx; /* sector x coord */ int secty; /* sector y coord */ char cond; /* condition code */ char sinsbad; /* Space Inertial Navigation System condition */ char *shipname; /* name of current starship */ char ship; /* current starship */ } Ship; /* sinsbad is set if SINS is working but not calibrated */ /* game related information, mostly scoring */ struct { int killk; /* number of klingons killed */ int deaths; /* number of deaths onboard Enterprise */ char negenbar; /* number of hits on negative energy barrier */ char killb; /* number of starbases killed */ int kills; /* number of stars killed */ char skill; /* skill rating of player */ char length; /* length of game */ char killed; /* set if you were killed */ char killinhab; /* number of inhabited starsystems killed */ char tourn; /* set if a tournament game */ char passwd[15]; /* game password */ char snap; /* set if snapshot taken */ char helps; /* number of help calls */ int captives; /* total number of captives taken */ } Game; /* per move information */ struct { char free; /* set if a move is free */ char endgame; /* end of game flag */ char shldchg; /* set if shields changed this move */ char newquad; /* set if just entered this quadrant */ char resting; /* set if this move is a rest */ float time; /* time used this move */ } Move; /* parametric information */ struct { char bases; /* number of starbases */ char klings; /* number of klingons */ float date; /* stardate */ float time; /* time left */ float resource; /* Federation resources */ int energy; /* starship's energy */ int shield; /* energy in shields */ float reserves; /* life support reserves */ int crew; /* size of ship's complement */ int brigfree; /* max possible number of captives */ char torped; /* photon torpedos */ float damfac[NDEV]; /* damage factor */ float dockfac; /* docked repair time factor */ float regenfac; /* regeneration factor */ int stopengy; /* energy to do emergency stop */ int shupengy; /* energy to put up shields */ int klingpwr; /* Klingon initial power */ int warptime; /* time chewer multiplier */ float phasfac; /* Klingon phaser power eater factor */ char moveprob[6]; /* probability that a Klingon moves */ float movefac[6]; /* Klingon move distance multiplier */ float eventdly[NEVENTS]; /* event time multipliers */ float navigcrud[2]; /* navigation crudup factor */ int cloakenergy; /* cloaking device energy per stardate */ float damprob[NDEV]; /* damage probability */ float hitfac; /* Klingon attack factor */ int klingcrew; /* number of Klingons in a crew */ float srndrprob; /* surrender probability */ int energylow; /* low energy mark (cond YELLOW) */ } Param; /* Sum of damage probabilities must add to 1000 */ /* other information kept in a snapshot */ struct { char bases; /* number of starbases */ char klings; /* number of klingons */ float date; /* stardate */ float time; /* time left */ float resource; /* Federation resources */ char distressed; /* number of currently distressed quadrants */ struct event *eventptr[NEVENTS]; /* pointer to event structs */ struct xy base[MAXBASES]; /* locations of starbases */ } Now; /* Other stuff, not dumped in a snapshot */ struct { struct kling klingon[MAXKLQUAD]; /* sorted Klingon list */ char nkling; /* number of Klingons in this sector */ /* < 0 means automatic override mode */ char fast; /* set if speed > 300 baud */ struct xy starbase; /* starbase in current quadrant */ char snapshot[sizeof Quad + sizeof Event + sizeof Now]; /* snapshot for time warp */ char statreport; /* set to get a status report on a srscan */ } Etc; /* * eventptr is a pointer to the event[] entry of the last * scheduled event of each type. Zero if no such event scheduled. */ /* Klingon move indicies */ # define KM_OB 0 /* Old quadrant, Before attack */ # define KM_OA 1 /* Old quadrant, After attack */ # define KM_EB 2 /* Enter quadrant, Before attack */ # define KM_EA 3 /* Enter quadrant, After attack */ # define KM_LB 4 /* Leave quadrant, Before attack */ # define KM_LA 5 /* Leave quadrant, After attack */ /* you lose codes */ # define L_NOTIME 1 /* ran out of time */ # define L_NOENGY 2 /* ran out of energy */ # define L_DSTRYD 3 /* destroyed by a Klingon */ # define L_NEGENB 4 /* ran into the negative energy barrier */ # define L_SUICID 5 /* destroyed in a nova */ # define L_SNOVA 6 /* destroyed in a supernova */ # define L_NOLIFE 7 /* life support died (so did you) */ # define L_NOHELP 8 /* you could not be rematerialized */ # define L_TOOFAST 9 /* pretty stupid going at warp 10 */ # define L_STAR 10 /* ran into a star */ # define L_DSTRCT 11 /* self destructed */ # define L_CAPTURED 12 /* captured by Klingons */ # define L_NOCREW 13 /* you ran out of crew */ /****************** COMPILE OPTIONS ***********************/ /* Trace info */ # define xTRACE 1 int Trace; ntrekmanual.nrÙsø¤‘ÍN.de ul ..  .po 10 .sp 15 .tr ^ .ce 88 ^****^^^^*****^^^^^^*^^^^^^****^ *^^^^^^^^^^*^^^^^^^*^*^^^^^*^^^* ^***^^^^^^^*^^^^^^*****^^^^****^ ^^^^*^^^^^^*^^^^^^*^^^*^^^^*^^*^ ****^^^^^^^*^^^^^^*^^^*^^^^*^^^* *****^^^^****^^^^^*****^^^^*^^^* ^^*^^^^^^*^^^*^^^^*^^^^^^^^*^^*^ ^^*^^^^^^****^^^^^***^^^^^^***^^ ^^*^^^^^^*^^*^^^^^*^^^^^^^^*^^*^ ^^*^^^^^^*^^^*^^^^*****^^^^*^^^* by Eric Allman University of California Berkeley .sp 4 Preliminary Version .ce 0 .tr ^^ .de HE 'sp 4 'tl 'STAR TREK''%' 'sp 3 .. .de FO 'bp .. .wh 0 HE .wh -5 FO .de pp .sp .ti +4 .. .bp 1 .ce INTRODUCTION .pp Well, the federation is once again at war with the Klingon empire. It is up to you, as captain of the U.S.S. Enterprise, to wipe out the invasion fleet and save the Federation. .pp For the purposes of the game the galaxy is divided into 64 quadrants on an eight by eight grid, with quadrant 0,0 in the upper left hand corner. Each quadrant is divided into 100 sectors on a ten by ten grid. Each sector contains one object (e.g., the Enterprise, a Klingon, or a star). .pp Navigation is handled in degrees, with zero being straight up and ninty being to the right. Distances are measured in quadrants. One tenth quadrant is one sector. .pp The galaxy contains starbases, at which you can dock to refuel, repair damages, etc. The galaxy also contains stars. Stars usually have a knack for getting in your way, but they can be triggered into going nova by shooting a photon torpedo at one, thereby (hopefully) destroying any adjacent Klingons. This is not a good practice however, because you are penalized for destroying stars. Also, a star will sometimes go supernova, which obliterates an entire quadrant. You must never stop in a supernova quadrant, although you may "jump over" one. .pp Some starsystems have inhabited planets. Klingons can attack inhabited planets and enslave the populace, which they then put to work building more Klingon battle cruisers. .bp .ce STARTING UP THE GAME .pp To request the game, issue the command .sp .ti +12 /usr/games/trek .sp from the shell. If a filename is stated, a log of the game is written onto that file. If omitted, the file is not written. If the "-a" flag is stated before the filename, that file is appended to rather than created. .pp The game will ask you what length game you would like. Valid responses are "short", "medium", and "long". Ideally the length of the game does not affect the difficulty, but currently the shorter games tend to be harder than the longer ones. You may also type "restart", which restarts a previously saved game. .pp You will then be prompted for the skill, to which you must respond "novice", "fair", "good", "expert", "commadore", or "impossible". You should start out with a novice and work up, but if you really want to see how fast you can be slaughtered, start out with an impossible game. .pp In general, throughout the game, if you forget what is appropriate the game will tell you what it expects if you just type in a question mark. .pp To get a copy of these rules, execute the command .sp .ti +12 nroff /usr/games/trekmanual.nr .sp .bp .ce ISSUING COMMANDS .pp If the game expects you to enter a command, .hc ^ it will say ^"Command:\ " and wait for your response. Most commands can be abbreviated. .pp At almost any time you can type more than one thing on a line. For example, to move straight up one quadrant, you can type .ti +12 move 0 1 .br or you could just type .ti +12 move .br and the game would prompt you with .ti +12 Course: .br to which you could type .ti +12 0 1 .br The "1" is the distance, which could be put on still another line. Also, the "move" command could have been abbreviated "mov", "mo", or just "m". .pp If you are partway through a command and you change your mind, you can usually type "-1" to cancel the command. .pp Klingons generally cannot hit you if you don't consume anything (e.g., time or energy), so some commands are considered "free". As soon as you consume anything though -- POW! .bp .de ** .if \\n+l .** .as x * .. .de bl .nr l \\w'\\$1' -1 .ds x **** .** .sp 3 .ne 3 \\*x .br * \\$1 * .br \\*x .sp .in +8 .nf .. .de FF .in -8 .fi .. .ta 16 .ce THE COMMANDS .bl "Short Range Scan" Mnemonic: srscan Shortest Appreviation: s Full Commands: srscan srscan yes/no Consumes: nothing .FF .pp The short range scan gives you a picture of the quadrant you are in, and (if you say "yes") a status report which tells you a whole bunch of interesting stuff. You can get a status report alone by using the .ul status command. An example follows: .sp .nf .in +4 Short range sensor scan 0 1 2 3 4 5 6 7 8 9 0 . . . . . . . * . * 0 stardate 3702.16 1 . . E . . . . . . . 1 condition RED 2 . . . . . . . . . * 2 position 0,3/1,2 3 * . . . . # . . . . 3 warp factor 5.0 4 . . . . . . . . . . 4 total energy 4376 5 . . * . * . . . . . 5 torpedoes 9 6 . . . @ . . . . . 6 shields down, 78% 7 . . . . . . . . . . 7 Klingons left 3 8 . . . K . . . . . . 8 time left 6.43 9 . . . . . . * . . . 9 life support damaged, reserves = 2.4 0 1 2 3 4 5 6 7 8 9 Distressed Starsystem Marcus XII .in +8 .ti -8 The cast of characters is as follows: E the hero K the villain # the starbase * stars @ inhabited starsystem \&. empty space a black hole .in -12 .fi .pp The name of the starsystem is listed underneath the short range scan. The word "distressed", if present, means that the starsystem is under attack. .pp Short range scans are absolutely free. They use no time, no energy, and they don't give the Klingons another chance to hit you. .bl "Status Report" Mnemonic: status Shortest Abbreviation: st Consumes: nothing .FF .pp This command gives you information about the current status of the game and your ship, as follows: .in +8 .de qq .sp .ti -4 .. .qq Stardate -- The current stardate. .qq Condition -- as follows: .in +4 .nf RED -- in battle YELLOW -- low on energy GREEN -- normal state DOCKED -- docked at starbase CLOAKED -- the cloaking device is activated .fi .in -4 .qq Position -- Your current quadrant and sector. .qq Warp Factor -- The speed you will move at when you move under warp power (with the .ul move command). .qq Total Energy -- Your energy reserves. If they drop to zero, you die. Energy regenerates, but the higher the skill of the game, the slower it regenerates. .qq Torpedoes -- How many photon torpedoes you have left. .qq Shields -- Whether your shields are up or down, and how effective they are if up (what percentage of a hit they will absorb). .qq Klingons Left -- Guess. .qq Time Left -- How long the Federation can hold out if you sit on your fat ass and do nothing. If you kill Klingons quickly, this number goes up, otherwise, it goes down. If it hits zero, the Federation is conquered. .qq Life Support -- If "active", everything is fine. If "damaged", your reserves tell you how long you have to repair your life support or get to a starbase before you starve, suffocate, or something equally unpleasant. .qq Current Crew -- The number of crew members left. This figures does not include officers. .qq Brig Space -- The space left in your brig for Klingon captives. .qq Klingon Power -- The number of units needed to kill a Klingon. Remember, as Klingons fire at you they use up their own energy, so you probably need somewhat less than this. .qq Skill, Length -- The skill and length of the game you are playing. .in -8 .pp Status information is absolutely free. .bl "Long Range Scan" Mnemonic: lrscan Shortest Abbreviation: l Consumes: nothing .FF .pp Long range scan gives you information about the eight quadrants that surround the quadrant you're in. A sample long range scan follows: .sp .in +12 .nf Long range scan for quadrant 0,3 2 3 4 ------------------- ! * ! * ! * ! ------------------- 0 ! 108 ! 6 ! 19 ! ------------------- 1 ! 9 ! /// ! 8 ! ------------------- .sp .in -12 .fi .pp The three digit numbers tell the number of objects in the quadrants. The units digit tells the number of stars, the tens digit the number of starbases, and the hundreds digit is the number of Klingons. "*" indicates the negative energy barrier at the edge of the galaxy, which you cannot enter. "///" means that that is a supernova quadrant and must not be entered. .bl "Damage Report" Mnemonic: damages Shortest Abbreviation: da Consumes: nothing .FF .pp A damage report tells you what devices are damaged and how long it will take to repair them. Repairs proceed faster when you are docked at a starbase. .bl "Set Warp Factor" Mnemonic: warp Shortest Abbreviation: w Full Command: warp factor Consumes: nothing .FF .pp The warp factor tells the speed of your starship when you move under warp power (with the .ul move command). The higher the warp factor, the faster you go, and the more energy you use. .pp The minimum warp factor is 1.0 and the maximum is 10.0. At speeds above warp 6 there is danger of the warp engines being damaged. The probability of this increases at higher warp speeds. Above warp 9.0 there is a chance of entering a time warp. .bl "Move Under Warp Power" Mnemonic: move Shortest Abbreviation: m Full Command: move course distance Consumes: time and energy .FF .pp This is the usual way of moving. The course is in degrees and the distance is in quadrants. To move one sector specify a distance of 0.1. .pp Time is consumed proportionately to the inverse of the warp factor squared, and directly to the distance. Energy is consumed as the warp factor cubed, and directly to the distance. If you move with your shields up it doubles the amount of energy consumed. .pp When you move in a quadrant containing Klingons, they get a chance to attack you. .pp The computer detects navigation errors. If the computer is out, you run the risk of running into things. .pp The course is determined by the Space Inertial Navigation System [SINS]. As described in Star Fleet Technical Order TO:02:06:12, the SINS is calibrated, after which it becomes the base for navigation. If damaged, navigation becomes inaccurate. When it is fixed, Spock recalibrates it, however, it cannot be calibrated extremely accurately until you dock at starbase. .bl "Move Under Impulse Power" Mnemonic: impulse Shortest Abbreviation: i Full Command: impulse course distance Consumes: time and energy .FF .pp The impulse engines give you a chance to maneuver when your warp engines are damaged; however, they are incredibly slow (0.095 quadrants/stardate). They require 20 units of energy to engage, and ten units per sector to move. .pp The same comments about the computer and the SINS apply as above. .pp There is no penalty to move under impulse power with shields up. .bl "Deflector Shields" Mnemonic: shields Shortest Abbreviation: sh Full Command: shields up/down Consumes: energy .FF .pp Shields protect you from Klingon attack and nearby novas. As they protect you, they weaken. A shield which is 78% effective will absorb 78% of a hit and let 22% in to hurt you. .pp The Klingons have a chance to attack you every time you raise or lower shields. Shields do not rise and lower instantaneously, so the hit you receive will be computed with the shields at an intermediate effectiveness. .pp It takes energy to raise shields, but not to drop them. .bl "Cloaking Device" Mnemonic: cloak Shortest Abbreviation: cl Full Command: cloak up/down Consumes: energy .FF .pp When you are cloaked, Klingons cannot see you, and hence they do not fire at you. They are useful for entering a quadrant and selecting a good position, however, weapons cannot be fired through the cloak due to the huge energy drain that it requires. .pp The cloak up command only starts the cloaking process; Klingons will continue to fire at you until you do something which consumes time. .bl "Fire Phasers" Mnmemonic: phasers Shortest Abbreviation: p Full Commands: phasers automatic amount phasers manual amt1 course1 spread1 ... Consumes: energy .FF .pp Phasers are energy weapons; the energy comes from your ship's reserves ("total energy" on a srscan). It takes about 250 units of hits to kill a Klingon. Hits are cumulative as long as you stay in the quadrant. .pp Phasers become less effective the further from a Klingon you are. Adjacent Klingons receive about 90% of what you fire, at five sectors about 60%, and at ten sectors about 35%. They have no effect outside of the quadrant. .pp Phasers cannot be fired while shields are up; to do so would fry you. They have no effect on starbases or stars. .pp In automatic mode the computer decides how to divide up the energy among the Klingons present; in manual mode you do that yourself. .pp In manual mode firing you specify a direction, amount (number of units to fire) and spread (0 -> 1.0) for each of the six phaser banks. A zero amount terminates the manual input. .bl "Fire Photon Torpedoes" Mnemonic: torpedo Shortest Abbreviation: t Full Command: torpedo course [yes/no] [burst angle] Consumes: torpedoes .FF .pp Torpedoes are projectile weapons -- there are no partial hits. You either hit your target or you don't. A hit on a Klingon destroys him. A hit on a starbase destroys that starbase (woops!). Hitting a star usually causes it to go nova, and occasionally supernova. .pp Photon torpedoes cannot be aimed precisely. They can be fired with shields up, but they get even more random as they pass through the shields. .pp Torpedoes may be fired in bursts of three. If this is desired, the burst angle is the angle between the three shots, which may vary from one to fifteen. The word "no" says that a burst is not wanted; the word "yes" (which may be omitted if stated on the same line as the course) says that a burst is wanted. .pp Photon torpedoes have no effect outside the quadrant. .bl "Onboard Computer Request" Mnemonic: computer Shortest Abbreviation: c Full Command: computer request; request;... Consumes: nothing .FF .pp The computer command gives you access to the facilities of the onboard computer, which allows you to do all sorts of fascinating stuff. Computer requests are: .in +8 .qq score -- Shows your current score. .qq course quad/sect -- Computes the course and distance from whereever you are to the given location. If you type "course /x,y" you will be given the course to sector x,y in the current quadrant. .qq move quad/sect -- Identical to the course request, except that the move is executed. .qq chart -- prints a chart of the known galaxy, i.e., everything that you have seen with a long range scan. The format is the same as on a long range scan, except that "..." means that you don't yet know what is there, and ".1." means that you know that a starbase exists, but you don't know anything else. "$$$" mans the quadrant that you are currently in. .qq trajectory -- prints the course and distance to all the Klingons in the quadrant. .qq warpcost dist warp_factor -- computes the cost in time and energy to move `dist' quadrants at warp `warp_factor'. .qq impcost dist -- same as warpcost for impulse engines. .qq pheff range -- tells how effective your phasers are at a given range. .qq distresslist -- gives a list of currently distressed starbases and starsystems. .in -8 .pp More than one request may be stated on a line by seperating them with semicolons. .bl "Dock at Starbase" Mnemonic: dock Shortest Abbreviation: do Consumes: nothing .FF .pp You may dock at a starbase when you are in one of the eight adjacent sectors. .pp When you dock you are resupplied with energy, photon torpedoes, and life support reserves. Repairs are also done faster at starbase. Any prisoners you have taken are unloaded. You do not recieve points for taking prisoners until this time. .pp Starbases have their own deflector shields, so you are safe from attack while docked. .bl "Undock from Starbase" Mnemonic: undock Shortest Abbreviation: u Consumes: nothing .FF .pp This just allows you to leave starbase so that you may proceed on your way. .bl "Rest" Mnemonic: rest Shortest Abbreviation: r Full Command: rest time Consumes: time .FF .pp This command allows you to rest to repair damages. It is not advisable to rest while under attack. .bl "Call Starbase For Help" Mnemonic: help Shortest Abbreviation: help Consumes: nothing .FF .pp You may call starbase for help via your subspace radio. Starbase has long range transporter beams to get you. Problem is, they can't always rematerialize you. .pp You should avoid using this command unless absolutely necessary, for the above reason and because it counts heavily against you in the scoring. .bl "Capture Klingon" Mnemonic: capture Shortest Abbreviation: ca Consumes: time .FF .pp You may request that a Klingon surrender to you. If he accepts, you get to take captives (but only as many as your brig can hold). It is good if you do this, because you get points for captives. Also, if you ever get captured, you want to be sure that the Federation has prisoners to exchange for you. .pp You must go to a starbase to turn over your prisoners to Federation authorities. .bl "Visual Scan" Mnemonic: visual Shortest Abbreviation: v Full Command: visual course Consumes: time .FF .pp When your short range scanners are out, you can still see what is out "there" by doing a visual scan. Unfortunately, you can only see three sectors at one time, and it takes 0.005 stardates to perform. .pp The three sectors in the general direction of the course specified are examined and displayed. .bl "Abandon Ship" Mnemonic: abandon Shortest Abbreviation: abandon Consumes: nothing .FF .pp The officers escape the Enterprise in the shuttlecraft. If the transporter is working and there is an inhabitable starsystem in the area, the crew beams down, otherwise you leave them to die. You are given an old but still usable ship, the Faire Queene. .bl "Ram" Mnemonic: ram Shortest Abbreviation: ram Full Command: ram course distance Consumes: time and energy .FF .pp This command is identical to "move", except that the computer doesn't stop you from making navigation errors. .pp You get very nearly slaughtered if you ram anything. .bl "Self Destruct" Mnemonic: destruct Shortest Abbreviation: destruct Consumes: everything .FF .pp Your starship is self-destructed. Chances are you will destroy any Klingons (and stars, and starbases) left in your quadrant. .bl "Terminate the Game" Mnemonic: terminate Shortest Abbreviation: terminate Full Command: terminate yes/no .FF .pp Cancels the current game. No score is computed. If you answer yes, a new game will be started, otherwise trek exits. .bl "Call the Shell" Mnemonic: shell Shortest Abbreviation: shell .FF .pp Temporarily escapes to the shell. When you log out of the shell you will return to the game. .bp .ce SCORING .in +4 .pp The scoring algorithm is rather complicated. Basically, you get points for each Klingon you kill, for your Klingon per stardate kill rate, and a bonus if you win the game. You lose points for the number of Klingons left in the galaxy at the end of the game, for getting killed, for each star, starbase, or inhabited starsystem you destroy, for calling for help, and for each casualty you incur. .pp You will be promoted if you play very well. You will never get a promotion if you call for help, abandon the Enterprise, get killed, destroy a starbase or inhabited starsystem, or destroy too many stars. .bp .ce REFERENCE PAGE .sp 2 .ta 36 56 .nf .ul Command Uses Consumes ABANDON shuttlecraft, - transporter CApture subspace radio time CLoak Up/Down cloaking device energy Computer request; request;... computer - DAmages - - DESTRUCT computer - DOck - - HELP subspace radio - Impulse course distance impulse engines, time, energy computer, SINS Lrscan L.R. sensors - Move course distance warp engines, time, energy computer, SINS Phasers Automatic amount phasers, computer energy Phasers Manual amt1 course1 spread1 ... phasers energy Torpedo course [Yes] angle/No torpedo tubes torpedoes RAM course distance warp engines, time, energy computer, SINS Rest time - time SHELL - - SHields Up/Down shields energy Srscan [Yes/No] S.R. sensors - STatus - - TERMINATE Yes/No - - Undock - - Visual course - time Warp warp_factor - - .fi eutility.cÙsø¶�`/* ** ASSORTED UTILITY ROUTINES */ /* ** BLOCK MOVE ** ** Moves a block of storage of length `l' bytes from the data ** area pointed to by `a' to the area pointed to by `b'. ** Returns the address of the byte following the `b' field. ** Overflow of `b' is not tested. */ char *bmove(a, b, l) char *a, *b; int l; { register int n; register char *p, *q; p = a; q = b; n = l; while (n--) *q++ = *p++; return (q); } /* ** STRING EQUALITY TEST ** null-terminated strings `a' and `b' are tested for ** absolute equality. ** returns one if equal, zero otherwise. */ sequal(a, b) char *a, *b; { register char *p, *q; p = a; q = b; while (*p || *q) if (*p++ != *q++) return(0); return(1); } /* ** STRING CONCATENATE ** ** The strings `s1' and `s2' are concatenated and stored into ** `s3'. It is ok for `s1' to equal `s3', but terrible things ** will happen if `s2' equals `s3'. The return value is is a ** pointer to the end of `s3' field. */ char *concat(s1, s2, s3) char *s1, *s2, *s3; { register char *p; register char *q; p = s3; q = s1; while (*q) *p++ = *q++; q = s2; while (*q) *p++ = *q++; *p = 0; return (p); } /* ** FIND STRING LENGTH ** ** The length of string `s' (excluding the null byte which ** terminates the string) is returned. */ length(s) char *s; { register int l; register char *p; l = 0; p = s; while (*p++) l++; return(l); }  /* ** SYSTEM ERROR */ syserr(p0, p1, p2, p3, p4, p5) { extern int errno; printf("\n\07TREK SYSERR: "); printf(p0, p1, p2, p3, p4, p5); printf("\n"); if (errno) printf("\tsystem error %d\n", errno); exit(-1); } visual.cÙsø€�¯# include "trek.h" /* ** VISUAL SCAN ** ** A visual scan is made in a particular direction of three sectors ** in the general direction specified. This takes time, and ** Klingons can attack you, so it should be done only when sensors ** are out. */ /* This struct[] has the delta x, delta y for particular directions */ struct xy Visdelta[11] { -1, -1, -1, 0, -1, 1, 0, 1, 1, 1, 1, 0, 1, -1, 0, -1, -1, -1, -1, 0, -1, 1 }; visual() { register int ix, iy; int co; register struct xy *v; co = getintpar("direction"); if (co < 0 || co > 360) return; co = (co + 22) / 45; v = &Visdelta[co]; ix = Ship.sectx + v->x; iy = Ship.secty + v->y; if (ix < 0 || ix >= NSECTS || iy < 0 || iy >= NSECTS) co = '?'; else co = Sect[ix][iy]; printf("%d,%d %c ", ix, iy, co); v++; ix = Ship.sectx + v->x; iy = Ship.secty + v->y; if (ix < 0 || ix >= NSECTS || iy < 0 || iy >= NSECTS) co = '?'; else co = Sect[ix][iy]; printf("%c ", co); v++; ix = Ship.sectx + v->x; iy = Ship.secty + v->y; if (ix < 0 || ix >= NSECTS || iy < 0 || iy >= NSECTS) co = '?'; else co = Sect[ix][iy]; printf("%c %d,%d\n", co, ix, iy); Move.time = 0.05; Move.free = 0; } = 0, ** the course and distance are asked of the captain. ** ** The guts of this routine are in the routine move(), which ** is shared with impulse(). Also, the working part of this ** routine is very small; the rest is to handle the slight chance ** that you may be moving at some riduculous speed. In that ** case, there is code to handle time warps, etc. */ warp(fl, c, d) int fl, c; double d; { int course; float power; float dist; float time; float speed; double frac; register int percent; register int i; extern float move(); if (Ship.cond == DOCKED) return (printf("%s is docked\n", Ship.shipname)); if (damaged(WARP)) { return (out(WARP)); } if (fl < 0) { course = c; dist = d; } else if (getcodi(&course, &dist)) return; /* check to see that we are not using an absurd amount of power */ power = (dist + 0.05) * Ship.warp3; percent = 100 * power / Ship.energy + 0.5; if (percent >= 85) { printf("Scotty: That would consume %d%% of our remaining energy.\n", percent); if (!getynpar("Are you sure that is wise")) return; } /* compute the speed we will move at, and the time it will take */ speed = Ship.warp2 / Param.warptime; time = dist / speed; /* check to see that that value is not ridiculous */ percent = 100 * time / Now.time + 0.5; if (percent >= 85) { printf("Spock: That would take %d%% of our remaining time.\n", percent); if (!getynpar("Are you sure that is wise")) return; } /* compute how far we will go if we get damages */ if (Ship.warp > 6.0 && ranf(100) < 20 + 15 * (Ship.warp - 6.0)) { frac = franf(); dist =* frac; time =* frac; damage(WARP, (frac + 1.0) * Ship.warp * (franf() + 0.25) * 0.20); } /* do the move */ Move.time = move(fl, course, time, speed); /* see how far we actually went, and decrement energy appropriately */ dist = Move.time * speed; Ship.energy =- dist * Ship.warp3 * (Ship.shldup + 1); /* test for bizarre events */ if (Ship.warp <= 9.0) return; printf("\n\n ___ Speed exceeding warp nine ___\n\n"); sleep(2); printf("Ship's safety systems malfunction\n"); sleep(2); printf("Crew experiencing extreme sensory distortion\n"); sleep(4); if (ranf(100) >= 100 * dist) { return (printf("Equilibrium restored -- all systems normal\n")); } /* select a bizzare thing to happen to us */ percent = ranf(100); if (percent < 70) { /* time warp */ if (percent < 35 || !Game.snap) { /* positive time warp */ time = (Ship.warp - 8.0) * dist * (franf() + 1.0); Now.date =+ time; printf("Positive time portal entered -- it is now Stardate %.2f\n", Now.date); for (i = 0; i < MAXEVENTS; i++) { percent = Event[i].evcode; if (percent == E_FIXDV || percent == E_LRTB) Event[i].date =+ time; } return; } /* s/he got lucky: a negative time portal */ time = Now.date; i = Etc.snapshot; bmove(i, &Quad, sizeof Quad); bmove(i =+ sizeof Quad, &Event, sizeof Event); bmove(i =+ sizeof Event, &Now, sizeof Now); printf("Negative time portal entered -- it is now Stardate %.2f\n", Now.date); for (i = 0; i < MAXEVENTS; i++) if (Event[i].evcode == E_FIXDV) reschedule(&Event[i], Event[i].date - time); return; } /* test for just a lot of damage */ if (percent < 80) lose(L_TOOFAST); printf("Equilibrium restored -- extreme damage occured to ship systems\n"); for (i = 0; i < NDEV; i++) damage(i, (3.0 * (franf() + franf()) + 1.0) * Param.damfac[i]); Ship.shldup = 0; } win.cÙsø€�¿# include "trek.h" # include "getpar.h" /* ** Signal game won ** ** This routine prints out the win message, arranges to print out ** your score, tells you if you have a promotion coming to you, ** cleans up the current input line, and arranges to have you ** asked whether or not you want another game (via the reset() ** call). ** ** Pretty straightforward, although the promotion algorithm is ** pretty off the wall. */ win() { long s; extern long score(); extern struct cvntab Skitab[]; register struct cvntab *p; sleep(1); printf("\nCongratulations, you have saved the Federation\n"); Move.endgame = 1; /* print and return the score */ s = score(); /* decide if she gets a promotion */ if (Game.helps == 0 && Game.killb == 0 && Game.killinhab == 0 && 5 * Game.kills + Game.deaths < 100 && s >= 1000 && Ship.ship == ENTERPRISE) { printf("In fact, you are promoted one step in rank,\n"); if (Game.skill >= 6) printf("to the exalted rank of Commodore Emeritus\n"); else { p = &Skitab[Game.skill - 1]; printf("from %s%s ", p->abrev, p->full); p++; printf("to %s%s\n", p->abrev, p->full); } } /* clean out input, and request new game */ skiptonl(0); reset(); } ion */ if (Game.helps == 0 && Game.killb == 0 && Game.killinhab == 0 && 5 * Game.kills + Game.deaths < 100 && s >= 1000 && Ship.ship == ENTERPRIS Berkeley UNIX Software Tape _E_x_t_r_a_c_t_i_n_g _t_h_e _d_a_t_a _f_r_o_m _t_h_i_s _t_a_p_e: Most of the data on this tape has been archived to reduce the number of files so that tp will write this tape. You should extract the data from the libraries. This will require about 10000 blocks of storage if you don't remove each "cont.a" after you extract it. _W_h_a_t _i_s _o_n _t_h_i_s _t_a_p_e: This tape includes sources and binaries for a quantity of UC Berkeley software. The major items on this tape are the instructional Pascal system and the text editor "ex". Other software here includes a modified shell, a new shell, new commands, and a "star trek" game. Machine readable documen- tation is included for all programs. The "Pascal User's Manual" and the "Ex reference manual" need a phototypesetter if readable copies are to be produced. _P_a_s_c_a_l: The Pascal system has been used for a year for instruction here. It has undergone a number of improvements in the last six months, but is quite stable. We use it for undergradu- ate and graduate instruction. The Pascal system requires separate I/D space; that is, an 11/45 or 11/70 host. To run the Pascal stuff right away you will also need floating point hardware -- it is possible to run Pascal without floating point hardware but it requires adding a system call to replace the "mfpi" instruction that doesn't work on the 11/45's and 11/70's in user mode. _E_x: The Ex editor has been in use for about the same length of time as Pascal, and is used by a majority of our users. It has undergone a number of improvements in the last few months. We intend to use ex for the text editing classes at the Computer Center here (for a general campus audience) starting in January. The Pascal documentation uses "ex" in its examples. _I_n_s_t_a_l_l_i_n_g _t_h_e _s_o_f_t_w_a_r_e: Compiled binaries have been included for most of the software here. (A few of the routines in the directory s6 include system dependent headers and so binaries would be of no use and are not included.) - 2 - The major programs "pi", "pxp", "px", and "ex-1.1" have the binaries in the directories with the same names. "Pi", "pxp" and "px" should run as they stand... if you have a non-standard teletype driver "ex" may require some system dependent changes. The binaries in "ex" will run directly on standard or Berkeley-type version 6 UNIX systems. Each major directory includes a file "READ_ME" describing the software in the directory. There is often a shell script "setup" in the directory to perform one time only operations. The script "install" in these directories will place the software in its standard home. For recompilation of these programs you can use the scripts "make*", and "comp" and "load" in the directories. Most directories also have "print" scripts, i.e. "printpi", to make a program listing with utility files and programs in a reasonable order. The suggested way to bring up the software on this tape is to run the install scripts in "pi", "pxp", and "px", and to then install (some or all) of the software from "bin". The editor "ex" can also be installed... this requires probably as much work as all the others combined as it uses some data bases which don't exist on standard UNIX relating to termi- nal types and capabilities. Note that some of the scripts to make new versions of the software on this tape use the programs in "bin". You can run these scripts easily, without adding all the stuff in "bin" to your "/usr/bin", by using the shell in "ashell". This shell has a number of nice features and was used in making all the software here... the files "errs" in each of the major directories are outputs from the "make*" scripts so you can see how this was done. Documentation for "ashell" is in s6/sh.6. The trek game in "trek" uses the rewritten portable library in "portlib". It (and the program tset) were written by Eric Allman whose address is in the trek setup instructions in "trek". - 3 - _D_i_r_e_c_t_o_r_y _c_o_n_t_e_n_t_s: pi Pascal translator source px Pascal interpreter pxp Pascal execution profiler eyacc Modified yacc for Pascal assubs Assembly stuff for Pascal tests Test programs for Pascal pcs Wirth's Pascal-S pxref Pascal cross-refence program opcodes Definition files for Pascal fpterp Sep ID floating point interpreter using FETCHI sys call s? Command software source man? Documents for s? stuff ashell A new shell with some nice features ex-1.1 Ex source exrecover Ex recovery routines (after system crashes)  trek Source for a "star trek" game portlib Portable library used by trek exrefm Troff source for "Ex 1.1 Reference Manual" puman Troff source for "UNIX Pascal User's Manual" help Sections from our help command lib Routines for /lib and /usr/lib bin Routines for /usr/bin etc Stuff for /etc _I_f _y_o_u _d_o_n'_t _h_a_v_e _f_l_o_a_t_i_n_g _p_o_i_n_t: If you don't have floating point hardware, and wish to run Pascal, you will need to add a system call to fetch an instruction word when running separate I/D so that the floating point interpreter can work. The system call to be added is "fetchi"... if you can make it system call 61. (decimal) then the binaries on this tape will work immedi- ately. The code for "fetchi" will reside in sys4.c and look like fetchi() { u.u_ar0[R0] = fuiword(u.u_ar0[R0]); }  It is used as in: mov $iaddr,r0 sys fetchi to get the contents of location "iaddr", a word in I-space. Look at the floating point interpreter in the directory - 4 - fpterp for a sample. Don't forget that to make the system call work you must add an entry to the sysent array in sysent.c. _M_i_s_c_e_l_l_a_n_e_o_u_s _n_o_t_e_s: A version 7 C compiler and many of the binaries in "bin" are required to make a new version of "pascal" or "ex". For Pascal the file "nofloat" in this directory should exist... it causes the scripts in the source directories to work slightly differently. _F_e_e_d_b_a_c_k: We would like to hear from all users of the Pascal system and of ex. Reports of problems in bringing this software up, or of bugs in the programs or documentation would be appreciated. We would also appreciate hearing of any local improvements you make. _1_1/_3_4 _o_r _1_1/_4_0 _P_a_s_c_a_l: It is indeed unfortunate that the Pascal system here won't run on an 11/34 or 11/40... the only reason this is true is that the translator "pi" is too large. Pi used to be two pass but was made one pass about a year ago. It is cer- tainly possible to break pi into two passes or two processes communicating through a pipe. If you have an 11/34 or 11/40 and are interested in trying this I will be glad to give you more details. Bill Joy CS Division Department of EE and CS UC Berkeley Berkeley, California 94704 (415) 524-4510 [HOME] (415) 642-4948 [SCHOOL] Feb 1 12:44 1978 ashell/READ_ME Page 1 Wed Oct 19, 1977 This directory contains the source for a shell. It requires floating point to do the time command which is built-in so you will have to cc it -f on machines without floating point. It also requires a version 7 C compiler. Accurate documentation is in the file "sh.6" to be nroffed with /usr/man/man0/naa and a new "version 7" nroff. This shell requires the "htmp" data base also used by the editor "ex". If you do not set it up so that the "sethome" command is done by "login" then you should use the old "osethome" routine in ../s6 rather than "sethome" and reenable the execl of this sethome in the file "sh.c" (with the correct pathname). Bill Joy CS Division Department of EE and CS UC Berkeley Berkeley, California 94704 (415) 524-4510 [HOME] (415) 642-4948 [SCHOOL] Feb 1 12:44 1978 bin/READ_ME Page 1 November 13, 1977 The files in this directory belong in /usr/bin. The only ones not documented are "lock" which lets you supply a password to lock up your terminal (so you can go to the bathroom...), rout which cleans old junk out of /tmp, and teco which is of unknown origin (its mentioned in the Pascal document so I threw it in.) The programs "dates" "public" and "procp" all need to be setuid. Dates requires the creation of a data file "/usr/lib/dates" and public a directory "/usr/public"... procp needs to be able to read the memory. Procp depends on your system configuration and will, most likely, have to be recompiled. The programs pi, pxp, px, ex and ashell as well as trek are in their own directories. The programs cpall/cptree in this directory can help you install all this stuff... Bill Joy CS Division Department of EE and CS UC Berkeley Berkeley, California 94704 (415) 524-4510 [HOME] (415) 642-4948 [SCHOOL] P.S. Note that `l' and `ls' were linked together, and should be linked again if you wish to use them... Feb 1 12:44 1978 etc/READ_ME Page 1 November 17, 1977 This directory contains prototype data files for /etc. Htmp is here simply to indicate that it must exist... it can be created via cp /dev/null /etc/htmp chown bin /etc/htmp chmod 644 /etc/htmp The file ttytype should be modified to conform to your configuration, and new entries should be added to ttycap for the terminals which you have. Note that the programs "sethome", "tset" and "ttytype" must be able to write on htmp so they must either be setuid or /etc/htmp must be mode 666 (safe only if you have a completely friendly community of users.) Feb 1 12:56 1978 ex-1.1/READ_ME Page 1 January 30, 1977 There is a binary for ex1.1 in this directory (a.out) which can be "installed" if you have a full load of user core and an 11/45 or 11/70. If you have an 11/34 or 11/40 with 64K bytes of user space, you can "mv a.outNOID a.out" and then "install". If you prefer an ex without open and visual modes (for whatever reason) choose between "a.outNOVISUAL" and "a.outNOVISNOID". If you have a Berkeley type system (with full word significant user id's) then you should use the "patchd" program in this directory on the binaries you wish to use. This is just a db "!" patch, but db doesn't work on separate i/d programs. Thus a typical installation, using just "a.out", on a standard UNIX system would be: sh install or to install the smallest ex here on an 11/34 or 11/40 mv a.outNOVISNOID a.out sh install This process will give you a basic editor (without any of its data bases) which you can try. Other files (other than /usr/bin/ex and /usr/bin/edit): The editor keeps its error messages in a file. This file is "/usr/lib/ex1.1strings", and must be present or all errors will be diagnosed as "ERROR". The data base for the editor "help" command lives in "/usr/lib/how_ex" (a directory)... the files in how_ex go there. The programs "expreserve" and "exrecover" (from ../exrecover) should be setuserid root and go in /usr/lib. There should be a directory /usr/preserve owned by root, mode 755 for use by these programs. If you clean out /tmp in /etc/rc there should be a line /usr/lib/expreserve -a before you do this. This editor needs a number of hooks into the rest of the system to get information about teletype types. The changes needed in the system at large to support this are described in the file SETUP. The editor uses the data base "/etc/ttycap" to discern capabilities of terminals, mapping a two character code it gleaned from the "htmp" data base (described below) to the characteristics of that terminal. You can add new terminals to /etc/ttycap quite easily... look at ../s6/ttycap.5. Adding a cursor addressible terminal requires an editor recompilation if you want to use the cursor addressing. Only a straightforward change to ex_ca.c is necessary. There is a system data base "/etc/ttytype" which maps terminals to 2 character type codes... see ../s6/ttytype.5. Look at ../etc/ttytype for a sample of this data base... you Feb 1 12:56 1978 ex-1.1/READ_ME Page 2 should change this file to correspond to your system. You can add new types as necessary to "/etc/ttycap" in this process or simply leave some terminals "unknown" for now. The editor uses a data base "/etc/htmp" to determine a user's home directory and his terminal type. This is necessary for terminal types to handle dial-ups and for home directories to allow them to be changed and to avoid password file searches on systems with large password files. The best way to implement the maintenance of "/etc/htmp" is to have the "login" program maintain it. There is a set of routines in ../s7 (libX.a) which make this trivial. The "htmp" routines can be used to access htmp, the "typeof" routines to extract types from /etc/ttytype. If you don't have "login" do this, you will have to do it by hand every time you login, or the editor may have the wrong terminal type and will not be able to find your start_up file. A login and an su program changed to handle the maintenance of "htmp" are given in ../s1. If you need to recompile: This directory contains all of the source for "ex" version 1.1. To recompile the editor you will need a version 7 C compiler as well as the following non-standard programs: mkstr create string message file lnall link a number of files to a directory in one blow mvall move all of a number of files rmtree remove a hierarchical subtree cxref a shell script giving a list of routine defn points All of these programs are on this tape (except the C compiler) and of the others, only mkstr is truly essential. (Recompilation should not be necessary unless you wish to change the editor or have a Version 7 UNIX system.) System dependencies: The only major problems here are the format of "/etc/utmp", the form of teletype names, and the meaning of user/group id's. Several of the programs in ../s6, notably "ttytype" and "sethome", assume that "utmp" is accessed as a array indexed by the letter of the terminal in use, treated as a number. Other systems have slots arranged '0', '1', ... '9', 'A', ... . If you have the latter format you'll have to change these programs. If you treat a user/id as being significant in all 16 bits returned from "getuid()" in determining if two people are the same person (i.e. if you have "newgrp") then should use the program "patchd" to change the initial value of "mask" to be 0177777, i.e.: patchd _mask 177777 a.out This is trivial, but essential. Note that you must also change the source for the ttytype and sethome programs to not mask off these bits and recompile (or use patchd) Feb 1 12:56 1978 ex-1.1/READ_ME Page 3 Finally the editor (and all other programs here) assume ttynames of the form "/dev/ttyx" with x a single letter. If you are having system related problems or have questions please feel free to give me a call. Other, less serious, dependencies are: 1. This editor assumes that you have a restricted, 512 byte argument list. If your system gives larger lists that is no problem, but the "next" command will allow at most 512 character lists on subsequent matchings. 2. The major and minor device numbers of /dev/null and /dev/tty are used and are given in ex_io.h. Also the system error codes are mapped from magic numbers to names here. If your system has additional codes these numbers will have to be extended and new cases will have to be added to the switch on page 6 of ex_io.c. 3. To add a cursor addressible terminal in this version, you must recompile. A simple change is required to the routines in "ex_ca.c", with a return code of 1 being supplied for the new known type, and a string doing the addressing being returned from cgoto. This information should be put in /etc/ttycap, but I haven't seen enough terminals to know a good encoding. 4. This version of the editor needs a printf which prints through putchar. Such a printf exists in printf.s in this directory. 5. The read routine rop in exr.c knows about special binary files. Thus if you have any more binary files with different magic numbers it makes sense to add them here so the editor will give better diagnostics. I would like to hear of other dependencies/problems you encounter. Scripts: The following scripts are in this directory of general interest makeex make a new binary and string file comp recompile and load one or more files install put new ex in /usr/bin... you may want to change the path names The shell used for these scripts is in the directory ../ashell, with documentation in ../s6/sh.6. If you comment out the "set" commands or make a dummy set command which does nothing then any other shell should do fine. Note also that the scripts making ex use a "version" shell script which uses ex. If you have no ex, the script will fail in a safe way. In order for the option setting for "edit" to work either the second or third character of its name must be a 'd'. Thus "edit" and "nedit" are fine. This is naive, but easy to change... look at the first few lines of ex.c. Feb 1 12:56 1978 ex-1.1/READ_ME Page 4 To complete the installation of ex you must also install exrecover and expreserve see the directory ../exrecover. I would appreciate hearing of any problems you have with the editor or of any improvements you make. One thing which would be nice to have is the ability to drive terminals with more intelligent operations such as add or delete a line on the screen or insert characters pushing them to the right. I havent done this because we have only 2 such terminals both of which are hard-wired at 9600 baud (and private terminals). The changes needed to do this are almost all localized in the routine "ex_vadjust.c". Bill Joy CS Division  Department of EE and CS UC Berkeley Berkeley, California 94704 (415) 524-4510 [HOME] (415) 642-4948 [SCHOOL] Feb 1 12:49 1978 exrecover/READ_ME Page 1 November 17, 1977 To have a fully functioning recovery mechanism you should place a command of the form /usr/lib/expreserve -a in /etc/rc if you clean out the directory /tmp there. For full security, exrecover and expreserve should be setuid root and the directory /usr/preserve should be mode 700. If you don't need or want this, change "install" and "setup". Feb 1 12:49 1978 eyacc/READ_ME Page 1 August 28, 1977 This directory contains source for a version of yacc needed by the Pascal parser. The differences between this yacc and a stadard version 6 yacc are indicated in a comment in y1.c. Note that the standard yacc parser will not work on the tables produced by "eyacc" and also that these changes are really useful only with a fairly large set of error recovery routines which are part of both "pi" and "pxp". The routines are language independent, but the method will only work on languages which have some redundancy in them... it is probably ill suited for C, but would work fine in ALGOL-60, ALGOL-W, EUCLID, LIS, SP/K, PL/1, ALPHARD, CLU, ... I am working on a short document describing the internals of the error recovery technique used in "pi"... It is a simple modification of the Graham/Rhodes technique described in a recent article in the CACM. Bill Joy Computer Science Division EECS Department University of California, Berkeley Berkeley, California 94704 Office: (415) 642-4948 Home: (415) 524-4510 Feb 1 12:49 1978 fpterp/READ_ME Page 1 November 13, 1977 This directory contains the source for a floating point interpreter modified to work in separate i/d space with a system call "fetchi" as described in ../SETUP. The interpreter assumes that the system call in number 61. If you have to add this call because you don't have floating point hardware, and you cannot make it call 61. you don't have to remake all the Pascal stuff... simply running the "load" scripts in ../pi, ../pxp and ../px is sufficient... these don't require that you have a version 7 C compiler. Bill Joy CS Division Department of EE and CS UC Berkeley Berkeley, California 94704 (415) 524-4510 [HOME] (415) 642-4948 [SCHOOL]  Feb 1 12:50 1978 lib/READ_ME Page 1 The routines in libX.a are from ../s7 and are used by ex and ashell. Feb 1 12:50 1978 opcodes/READ_ME Page 1 August 18, 1977 Contents of this directory are as follows: opc.d Description of machine opcodes. OPnames.h Opcode data for put.c - comes from opc.d via makeopc. opcode.h Opcode #defines - made from opc.d by makeopc. picture Pretty picture of abstract machine opcodes. trdata Data pertaining to the parse tree. tree.h Tree defines from trdata out of maketrdata. TRdata.c Tree description and printing names of operators. Feb 1 13:00 1978 pcs/READ_ME Page 1 November 13, 1977 This directory contains the source for the Pascal program pascals. It should be put in /usr/lib/pascals, the C program in in ../s6/pascals.c should be put in /usr/bin/pascals... this C driver hunts up "px" and executes the /usr/lib/pascals. For this program to run at any sort of reasonable speed it should be compiled with the options "-p" and "-t" and preferably "-b", i.e.: pi -pbt pascals.p Feb 1 13:03 1978 pi/READ_ME Page 1 November 9, 1977 This directory contains the source necessary to make a new pi. Many of the files in this directory were linked to files with the same name in the directory ../pxp, but the links were broken by tp. There is a binary of pi here that should work immediately. If you have floating point or with the simple system change in ../READ_ME. If you have to give a different number to the system call, you can simply reassemble the floating point interpreter and reload pi via load -i To print a copy of pi: printpi To make a new pi: makepi Read the file ../SETUP before you bother with any of this. The compiler made by makepi is suitable for running on an 11/45 or 11/70 which has hardware floating point. If you don't have hardware floating point, it is not possible to run separate I/D using the standard interpreter. Standard version 6 UNIX does not have the needed system call to allow it to fetch the floating point opcode from instruction space, and the mfpi instruction doesn't work on 11/70's. A simple system change to add a "mfpi" system call is explained in ../SETUP; the floating point interpreter which uses this system call is in ../fpterp. This tape does not contain a Pascal system which will run on 11/34's or 11/40's. Chuck and I were misinformed that 11/34's would have sep I/D so we went to a one pass compiler scheme. It should be possible to make a smaller "pi" or a two pass "pi" without a great deal of effort. Earlier versions of the translator "pi" were small enough to run without separate I/D, and a still earlier "pc" was two rather much smaller passes. The following non-standard programs are needed to compile pi: rmtree Remove a subtree of the directory system mvall Move a named group of files to a specified directory cc Version 7 C compiler lnall Make links to a number of files in a specified target directory squash reduce object file size for library not needed, just speeds loading and reduces library size mkstr Program to process C source putting error messages into an error message file eyacc Modified yacc In addition, the scripts here run with a shell that has a "set" command to enable automatic timing of commands. You can comment out the lines of the form set ... without any harm, or make a null set shell script. Other local shell features used here are the alias "cd" for chdir and the syntax "$*" expanding to all the arguments, i.e. "$1 $2 $3 ...". Feb 1 13:03 1978 pi/READ_ME Page 2 Note: it is normal for the grammar to have a number of shift/reduce conflicts; a message of the form conflicts: 16 shift/reduce (or worse) from yacc is to be expected. Defining the variable DEBUG on the first line of the file 0.h allows the following debugging options c print generated code y dump namelist E trace basic syntactic error recovery F full trace syn err rec A super full trace ... U prevent unique symbol insertion in error recovery As this option makes a much larger compiler it is not normally recommended. The syntactic error recovery relatively new code. It has not been as thoroughly tested as the rest of the system. Please let me know of any problems with Pascal, especially with the error recovery. I would be glad to hear of any problems, as well as any local modifications which you find necessary or desirable.  Bill Joy Computer Science Division EECS Department University of California, Berkeley Berkeley, California 94704 Office: (415) 642-4948 Home: (415) 524-4510 Feb 1 13:02 1978 px/READ_ME Page 1 August 28, 1977 This directory contains all the source for the interpreter px. The script "makepx" will make a new "px", the script "printpx" will print a copy of all the stuff here. The binaries here can be installed immediately with "install".  If you have no floating point use a.outNOFLOAT rather than a.out; do mv a.outNOFLOAT a.out before install In making a px for a system without floating point, the program "flt40" is used to massage the interpreter code to make it run a good deal faster. Bill Joy Computer Science Division EECS Department University of California, Berkeley Berkeley, California 94704 Office: (415) 642-4948 Home: (415) 524-4510 Feb 1 13:02 1978 pxp/READ_ME Page 1 November 16, 1977 This directory contains the source for pxp. Many of the files here were linked to the same in the directory ../pi. The links were broken by tp. The a.out binary here can be installed install This is all that should be necessary. To make a pxp do makepxp To print a listing do printpxp The variable DEBUG can be defined allowing tracing of the error recovery in the parser. Look at the first line of "0.h" to see if DEBUG is defined. A smaller pxp results if it is not. Non-standard programs required to make a pxp cc Version 7 C compiler, version 6 will not work eyacc Need modified yacc distributed with pxp set time=3 Causes commands taking more than 3 seconds of processor time to be "timed" in a variant shell. You can comment out this line or do cp /dev/null set; chmod 755 set to avoid a "set: Not found" diagnostic. I would like to know of any problems with pxp, or of any local modifications which you find necessary or desirable. Bill Joy  Computer Science Division EECS Department University of California, Berkeley Berkeley, California 94704 Office: (415) 642-4948 Home: (415) 524-4510 Feb 1 13:02 1978 pxref/READ_ME Page 1 To make a pxref do makepxref It can be installed using install If you have a shell which recognizes Pascal objects it is not necessary to use both the Pascal and C programs... the Pascal object can be put in /usr/bin... but it will have the same status as shell scripts (essentially) thus time pxref pxref.p would not work then. Feb 1 13:02 1978 s1/READ_ME Page 1 Here are a passwd command which asks you for the password twice so you dont screw yourself up, and a shell which has a couple nice features (interruptible waits, redirect unit 2) and which knows about Pascal objects... the glob (../s8/glob2.c) which goes with this shell takes arbitrary path names, i.e. /*/mbox This shell has been the standard at Berkeley for over a year. The login and su in ../s8 maintain the htmp data base, and also implement ".start_up" files which a shell runs when you log in. Also implemented are the file ".reminder" which you can place in your login directory to have catted on your terminal when you log in. These features of login are superfluous if you have "../ashell" but very useful otherwise. The "su" program also maintains an unused byte in /etc/utmp so that the "who" here can print out who you are "su'd" to ... currently we disable su's to anyone but the root except by the root ... this is easy to take out. Feb 1 13:02 1978 s7/READ_ME Page 1 These are the routines for manipulating the editor data bases. They live in ../s7/libX.a The program "Ttyn.c" is actually made by the program "makeTtyn" in ../s6... it produces a hashed version of "ttyn" called "Ttyn" which is useful because it runs much faster... it is however dependent on the structure of your /dev/. If you want the editor and ashell to start faster you can have them call a version of Ttyn which you can make using the program makeTtyn for your system. Feb 1 13:02 1978 s8/READ_ME Page 1 The glob2.c goes with the sh.c in s1. The login and su are here so hyou can see the (simple) changes needed to support the editor data base /etc/htmp. They need the routines in ../lib/libX.a See also ../s1/READ_ME Feb 1 13:03 1978 SETUP Page 1 October 12, 1977 The editor uses the following data bases: /etc/ttytype gives teletype types of hardwire ports /etc/ttycap gives capabilities of teletypes /etc/htmp gives home directories and teletype types The implications of the absence of these are as follows: /etc/ttycap Editor will think all terminals are model 33 teletypes, essentially, as they will be "unknown." You'll have no way of specifying the capabilities of your terminal. /etc/ttytype You will have to tell the editor the type of the terminal you are on every time you log in, unless you trust that the way the last user of your port set your terminal type is correct. /etc/htmp Editor start-up files cannot work; you won't be able to specify your terminal type once per login... you have to do it each time you enter the editor. These data bases are maintained and used in the following ways: HTMP data base: The file /etc/htmp contains a structure described by htmp (V). It contains, for each user, his "home" directory, normally the login directory, his user-id, and the type of terminal he is on. The home directory is here because on large systems searching the password file is unreasonably slow. Its presence in this data base also allows it to be changed. The tty type information is necessary here because users who dial in on a dialup port need to be able to specify it. TTYTYPE data base: The file /etc/ttytype is organized similarly to /etc/ttys and maps tty names to 2 character codes. This data base is used both by the editor and by the program "tset", and can be used by other programs. TTYCAP data base: The file /etc/ttycap allows programs to map a terminal's type code to its characteristics. This allows addition of new terminals to the system without changing any existing programs - only the data base needs to be updated. (Note that currently cursor addressing information is not recorded here requiring changes to the editor to add new such terminals.) The following utility programs are included with the editor: SETHOME Set the home directory entry in /etc/htmp. Feb 1 13:03 1978 SETUP Page 2 TTYTYPE Set the teletype type entry in /etc/htmp. The following changes to support the editor are suggested: LOGIN So that naive users may login on dial up ports and have their home directory and terminal-type set to reasonable values at initialization without any action on their part, the program login should be changed to write the initial  entry in /etc/htmp. The work involved is in getting the terminal type from the file /etc/ttytype and writing it into /etc/htmp. The overhead should be negligible, especially since the operations of reading /etc/passwd and looking for mail in /usr/mail are typically much more expensive. This change is simple to make, just calling some of the routines in the supplied library htmp (V) .. SU So that the home directory will be correct after a su command, the command should be changed to save and restore this entry in /etc/htmp before and after the su. This is similar to the saving and restoring of the utmp user byte entry to allow who to print out the name of the person one is su'd to. (This latter change has been made at Berkeley.) For more information on formats and programs see the following documents Section V: htmp, ttycap, ttytype Section VI: sethome, ttytype Section VII: htmp, typeof, ttycap Bill Joy CS Division Department of EE and CS UC Berkeley Berkeley, California 94704 (415) 524-4510 [home] (415) 642-4948 [school] Feb 1 13:03 1978 SYSDEP Page 1 November 9, 1977 KNOWN SYSTEM DEPENDENCIES / MAGIC NAMES IN EX-1.1 Globally: 1. Needs a printf which prints through putchar. 2. Wants the data bases described in SETUP. 3. Needs a large amount of core; separate i/d preferred. 4. Needs a version 7 C compiler. 5. Assumes (in the library routines and the way it deals with ttyn e.g. for the visualmessage option) that teletype names are single characters, and that /etc/utmp is indexed by this character. (More on this below.) --------------------------------------------- In the HEADERS: ex.h Defines ECHO and RAW for stty. Defines TTYNAM which is initialized in ex_tty.c and there assumes that single char teletype names are used. Note that ex does not catch the TERMINATE signal of version 7 UNIX... it should be defined here. ex_glob.h The definitions here limit the argument list size possible with the next command. This does not limit the size of entry argument list however... if invoked with a longer list that is ok (although it has never been tested of course!) ex_io.h The basic stat buffer structure is assumed here. Also the error codes for errno from system error returns on i/o are defined here... if you have more error codes you should add them... ex does not use "perror" because this way puts the messages in the string message file saving space. ex_vis.h  The definitions of TUBELINES, TUBECOLS, and TUBESIZE here limit the kinds of terminals on which open and visual are possible. The areas are allocated, with fixed size, on the stack at entry to the routines in exo.c and exv.c. Variable sized screens would be possible if you added an assembly language intermediary here, or you can make these numbers larger, at the expense of allocating these larger buffers on terminals with small screens. --- CODE files: ex.c /erpath =+ 9/  Assumes that the error path contains a prefix like "/usr/lib" so that adding 9 bytes will give the last portion of the Feb 1 13:03 1978 SYSDEP Page 2 error file name for testing "a.out". /== 'd'/ Here derive the properties of "edit". /signal/ New caught signals should be added here, notably the signal TERMINATE for a version 7 system. ex_ca.c To add a cursor addressible terminal you must add it to the routine canCA and change cgoto to return a string. All terminals which are to be added must have their properties recorded in /etc/ttycap. ex_glob.c This glob routine supports constructs in all portions of path names, e.g. "/*/bill/a.out"; it also interprets trailing slashes as forcing a directory match - eg "*/" matches all subdirectory names. This corresponds to the glob which is glob2.c in ../s6 and also the glob built into ../ashell. ex_tty.c This routine assumes the version 6 structure of teletype names in its handling of TTYNAM. This can be easily changed by forming the value of TTYNAM in a slightly different way. ex_io.c The routine ioerror embodies the strings from "perror" which are related to input/output. These should be added to or changed as appropriate to your system. Perror is not used because it is desired to have the error messages in the string message file (this saves ~~ 200 bytes per editor user in the swap image.) ex_put.c Note the routine "setcol" which fixes UNIX's notion of the tab column position after a cursor addressing sequence on an ADM-3A. This is hard, in general. If you wish to perform a similar fix for your terminals this is the place to do it. ex_recover.c The routines here assume that you have installed the exrecover and expreserve routines from ../exrecover, and that when the system crashes you run expreserve in /etc/rc to save the stuff from /tmp so that people can continue where they left off. If this is not true, no harm is done... as long as you don't ever crash! ex_set.c Note that the default directory and shell are initialized here. ex_tty.c Here the capabilities of the terminal which interest us are extracted. These are used by the print routines in ex_put.c, and more exten- sively by the visual and open mode routines. Currently, we are running visual on ADM-3A's (its native terminal) Feb 1 13:03 1978 SYSDEP Page 3 and also on HP2645's. For the latter, the editor makes use only  of the clear to end-of-line operation. I have not put in the use of the add and delete line operations (although they are read here into AL and DL). If you have a number of intelligent terminals you may wish to try to add the intelligent terminal driving to visual... it is not hard. I have not done it since we have only 2 HP2645's and both are at 9600 baud where it matters little if it knows about the intelligence. The routines most likely to be changed in such an addition are all in the file ex_vadjust.c... they are mentioned below. ex_unix.c It is here assumed that the shell understands the option "-c", and also the option "-i" to give a login type shell. Both of the shells from Berkeley, and also the Version 7 shell from Bell have this property. Note also that substituted file names are given high-order bits set so that glob will not be a nuisance... it is better of course not to edit files with funny names. ex_vadjust.c This is where the work is required to add the AL (add line) and DL (delete line) capabilities of the terminal to open and visual. Likely candidates for change are the routines "vopen", "vsync", and "vredraw"... with these capabilities you may well want to always use "vredraw"... "vsync" is the routine which leaves the dirty "@" lines on the screen. If you do any work here I would like to hear of it as I am not planning to do this but would like to have working code for it. ex_vcurs.c Note that the routine "vputchar" assumes that you can simply overwrite and have no trouble (that overstrking an "a" with a "b" works leaving a "b"). If you have terminals where this is not true (i.e. that have OS) you can send a blank to clear the position first... rumor has it that there are some ITT beasts of this flavor (at UCLA?). exr.c Sensibility detection by decoding the flags bit of a stat buffer an by looking at the magic numbers of PLAIN files should be changed to reflect the kinds of stuff you have in your file system. exw.c Note the explicit checks for /dev/tty and /dev/null by major and minor device number here. -------------------------------------------------- I would be glad to learn of any other problems you have or changes you make to ex. I will be glad to answer questions by mail or phone, and would be glad to know Feb 1 13:03 1978 SYSDEP Page 4 of any fixes and changes. Bill Joy CS Division Department of EE and CS UC Berkeley Berkeley, California 94704 (415) 524-4510 [home] (415) 642-4948 [school] Update to Ex Version 1.1 Documentation This sheet is a quick update to Ex version 1.1 documentation for features which were added after the documentation was prepared. _C_r_a_s_h _R_e_c_o_v_e_r_y The crash recovery mechanism has been improved to recover mangled buffers and to mail  to users that their files were lost after a crash. More information is available in ex "help". It is also possible to recover a buffer which had no current file name; it is saved as though it were named "LOST". _S_m_a_l_l_e_r _S_c_r_e_e_n_s _i_n _V_i_s_u_a_l A new, partially implemented feature, is smaller visual screens. You can specify a smaller window size for visual by set window=10 or on the "visual" command, similarly to the "z" command, i.e.: vi.5 _V_i_s_u_a_l _f_e_a_t_u_r_e_s - _U_n_i_m_p_l_e_m_e_n_t_e_d, _1_1/_3_4'_s _a_n_d _1_1/_4_0'_s The visual operations ``e'', ``E'', ``<'' and ``>'', which were _u_n_i_m_- _p_l_e_m_e_n_t_e_d in the documentation are, in fact, available on 11/45's and 11/70's but not on 11/34's and 11/40's due to space problems. In addition, the sequences ``^CTRL(d)'' and ``0CTRL(d)'' are not available with _a_u_t_o_i_n_- _d_e_n_t in _v_i_s_u_a_l and _o_p_e_n modes on the smaller machines. _F_u_t_u_r_e _v_i_s_u_a_l _c_h_a_n_g_e_s The following additions to _v_i_s_u_a_l are contemplated: 1) An operation `V' to dynamically respecify the window size. With no argument, `V' will set the window size to the maximum possible, this being rather innocuous. 2) Operations to deal with LISP S-Expressions. 3) Handling of intelligent terminals. February 1, 1978 Ex documentation corrections _T_a_b_l_e _o_f _C_o_n_t_e_n_t_s On page ii under _S_u_m_m_a_r_y _T_a_b_l_e_s change _O_p_e_n _a_n_d _v_i_s_u_a_l _t_a_r_g_e_t_s to _O_p_e_n _a_n_d _v_i_s_u_a_l _o_p_e_r_a_t_i_o_n_s. _C_r_a_s_h _R_e_c_o_v_e_r_y It is no longer true that you must have had a current file name to recover after a crash; files with no name are arbitrarily named ``LOST''. Also note that if the system crashes you will receive mail when it comes up telling you of the name of the file saved for you if you were in the editor. _F_i_l_e _c_o_m_m_a_n_d The _f_i_l_e command description should begin ``The current filename'' not ``The current file'' as the editor does not have a current file, only a current filename associated with a buffer. _V_i_s_u_a_l _C_o_m_m_a_n_d The _v_i_s_u_a_l command may take a trailing count indicating the number of lines to be used (physical) in the window. The default for this count is the value of the _w_i_n_d_o_w option. _V_i_s_u_a_l _O_p_e_r_a_t_i_o_n_s The operations ``e'', ``E'', ``<'' and ``>'' are implemented unless you are on a machine without separate I/D space (Evans "D" system) in which case the features ``0CTRL(d)'' and ``^CTRL(d)'' with _a_u_t_o_i_n_d_e_n_t in _o_p_e_n and _v_i_s_u_a_l also don't work. _E_x _m_a_n_u_a_l _s_e_c_t_i_o_n Add the following bugs: Lines which are _c_h_a_n_g_e_d or _j_o_i_n_e_d lose marks; it would be better for the marks to be attached to the (first) new line. There should be an option for maintaining a perfectly clean screen in _v_i_s_u_a_l and open on very fast (or intelligent) terminals. _T_t_y_c_a_p _d_a_t_a _b_a_s_e In the descripton of the ttycap data base, change ``set and cleared'' to ``cleared and set'' in the second line of the third paragraph. Refer to stty (II) for more information about the flags described in this paragraph. February 1, 1978 tached to the (first) new line. There should be an option for maintaining a perfectly clean screen in _v_i_s_u_a_l and open on very fast (or intelligent) terminals. _T_t_y_c_a_p _d_a_t_a _b_a_s_e In the descripton of the ttycap data base, change ``set and cleared'' to ``cleared and set'' Berkeley UNIX Software Tape Extracting the data from this tape: __________ ___ ____ ____ ____ ____ Most of the data on this tape has been archived to reduce the number of files so that tp will write this tape. You should extract the data from the libraries. This will require about 10000 blocks of storage if you don't remove each "cont.a" after you extract it. What is on this tape: ____ __ __ ____ ____ This tape includes sources and binaries for a quantity of UC Berkeley software. The major items on this tape are the instructional Pascal system and the text editor "ex". Other software here includes a modified shell, a new shell, new commands, and a "star trek" game. Machine readable documen- tation is included for all programs. The "Pascal User's Manual" and the "Ex reference manual" need a phototypesetter if readable copies are to be produced. Pascal: ______ The Pascal system has been used for a year for instruction here. It has undergone a number of improvements in the last six months, but is quite stable. We use it for undergradu- ate and graduate instruction. The Pascal system requires separate I/D space; that is, an 11/45 or 11/70 host. To run the Pascal stuff right away you will also need floating point hardware -- it is possible to run Pascal without floating point hardware but it requires adding a system call to replace the "mfpi" instruction that doesn't work on the 11/45's and 11/70's in user mode. Ex: __ The Ex editor has been in use for about the same length of time as Pascal, and is used by a majority of our users. It has undergone a number of improvements in the last few months. We intend to use ex for the text editing classes at the Computer Center here (for a general campus audience) starting in January. The Pascal documentation uses "ex" in its examples. Installing the software: __________ ___ ________ Compiled binaries have been included for most of the software here. (A few of the routines in the directory s6 include system dependent headers and so binaries would be of no use and are not included.) - 2 - The major programs "pi", "pxp", "px", and "ex-1.1" have the binaries in the directories with the same names. "Pi", "pxp" and "px" should run as they stand... if you have a non-standard teletype driver "ex" may require some system dependent changes. The binaries in "ex" will run directly on standard or Berkeley-type version 6 UNIX systems. Each major directory includes a file "READ_ME" describing the software in the directory. There is often a shell script "setup" in the directory to perform one time only operations. The script "install" in these directories will place the software in its standard home. For recompilation of these programs you can use the scripts "make*", and "comp" and "load" in the directories. Most directories also have "print" scripts, i.e. "printpi", to make a program listing with utility files and programs in a reasonable order. The suggested way to bring up the software on this tape is to run the install scripts in "pi", "pxp", and "px", and to then install (some or all) of the software from "bin". The editor "ex" can also be installed... this requires probably as much work as all the others combined as it uses some data bases which don't exist on standard UNIX relating to termi- nal types and capabilities. Note that some of the scripts to make new versions of the software on this tape use the programs in "bin". You can run these scripts easily, without adding all the stuff in "bin" to your "/usr/bin", by using the shell in "ashell". This shell has a number of nice features and was used in making all the software here... the files "errs" in each of the major directories are outputs from the "make*" scripts so you can see how this was done. Documentation for "ashell" is in s6/sh.6. The trek game in "trek" uses the rewritten portable library in "portlib".  It (and the program tset) were written by Eric Allman whose address is in the trek setup instructions in "trek". - 3 - Directory contents: _________ ________ pi Pascal translator source px Pascal interpreter pxp Pascal execution profiler eyacc Modified yacc for Pascal assubs Assembly stuff for Pascal tests Test programs for Pascal pcs Wirth's Pascal-S pxref Pascal cross-refence program opcodes Definition files for Pascal fpterp Sep ID floating point interpreter using FETCHI sys call s? Command software source man? Documents for s? stuff ashell A new shell with some nice features ex-1.1 Ex source exrecover Ex recovery routines (after system crashes) trek Source for a "star trek" game portlib Portable library used by trek exrefm Troff source for "Ex 1.1 Reference Manual" puman Troff source for "UNIX Pascal User's Manual" help Sections from our help command lib Routines for /lib and /usr/lib bin Routines for /usr/bin etc Stuff for /etc If you don't have floating point: __ ___ ___ _ ____ ________ _____ If you don't have floating point hardware, and wish to run Pascal, you will need to add a system call to fetch an instruction word when running separate I/D so that the floating point interpreter can work. The system call to be added is "fetchi"... if you can make it system call 61. (decimal) then the binaries on this tape will work immedi- ately. The code for "fetchi" will reside in sys4.c and look like fetchi() { u.u_ar0[R0] = fuiword(u.u_ar0[R0]); } It is used as in: mov $iaddr,r0 sys fetchi to get the contents of location "iaddr", a word in I-space. Look at the floating point interpreter in the directory - 4 - fpterp for a sample. Don't forget that to make the system call work you must add an entry to the sysent array in sysent.c. Miscellaneous notes: _____________ _____ A version 7 C compiler and many of the binaries in "bin" are required to make a new version of "pascal" or "ex". For Pascal the file "nofloat" in this directory should exist... it causes the scripts in the source directories to work slightly differently. Feedback: ________ We would like to hear from all users of the Pascal system and of ex. Reports of problems in bringing this software up, or of bugs in the programs or documentation would be appreciated. We would also appreciate hearing of any local improvements you make. 11/34 or 11/40 Pascal: __ __ __ __ __ ______ It is indeed unfortunate that the Pascal system here won't run on an 11/34 or 11/40... the only reason this is true is that the translator "pi" is too large. Pi used to be two pass but was made one pass about a year ago. It is cer- tainly possible to break pi into two passes or two processes communicating through a pipe. If you have an 11/34 or 11/40 and are interested in trying this I will be glad to give you more details. Bill Joy CS Division Department of EE and CS  UC Berkeley Berkeley, California 94704 (415) 524-4510 [HOME] (415) 642-4948 [SCHOOL] Feb 1 12:44 1978 ashell/READ_ME Page 1 Wed Oct 19, 1977 This directory contains the source for a shell. It requires floating point to do the time command which is built-in so you will have to cc it -f on machines without floating point. It also requires a version 7 C compiler. Accurate documentation is in the file "sh.6" to be nroffed with /usr/man/man0/naa and a new "version 7" nroff. This shell requires the "htmp" data base also used by the editor "ex". If you do not set it up so that the "sethome" command is done by "login" then you should use the old "osethome" routine in ../s6 rather than "sethome" and reenable the execl of this sethome in the file "sh.c" (with the correct pathname). Bill Joy CS Division  Department of EE and CS UC Berkeley Berkeley, California 94704 (415) 524-4510 [HOME] (415) 642-4948 [SCHOOL] Feb 1 12:44 1978 bin/READ_ME Page 1 November 13, 1977 The files in this directory belong in /usr/bin. The only ones not documented are "lock" which lets you supply a password to lock up your terminal (so you can go to the bathroom...), rout which cleans old junk out of /tmp, and teco which is of unknown origin (its mentioned in the Pascal document so I threw it in.) The programs "dates" "public" and "procp" all need to be setuid. Dates requires the creation of a data file "/usr/lib/dates" and public a directory "/usr/public"... procp needs to be able to read the memory. Procp depends on your system configuration and will, most likely, have to be recompiled. The programs pi, pxp, px, ex and ashell as well as trek are in their own directories. The programs cpall/cptree in this directory can help you install all this stuff... Bill Joy CS Division Department of EE and CS UC Berkeley Berkeley, California 94704 (415) 524-4510 [HOME]  (415) 642-4948 [SCHOOL] P.S. Note that `l' and `ls' were linked together, and should be linked again if you wish to use them... Feb 1 12:44 1978 etc/READ_ME Page 1 November 17, 1977 This directory contains prototype data files for /etc. Htmp is here simply to indicate that it must exist... it can be created via cp /dev/null /etc/htmp chown bin /etc/htmp chmod 644 /etc/htmp The file ttytype should be modified to conform to your configuration, and new entries should be added to ttycap for the terminals which you have. Note that the programs "sethome", "tset" and "ttytype" must be able to write on htmp so they must either be setuid or /etc/htmp must be mode 666 (safe only if you have a completely friendly community of users.) Feb 1 12:56 1978 ex-1.1/READ_ME Page 1 January 30, 1977 There is a binary for ex1.1 in this directory (a.out) which can be "installed" if you have a full load of user core and an 11/45 or 11/70. If you have an 11/34 or 11/40 with 64K bytes of user space, you can "mv a.outNOID a.out" and then "install". If you prefer an ex without open and visual modes (for whatever reason) choose between "a.outNOVISUAL" and "a.outNOVISNOID". If you have a Berkeley type system (with full word significant user id's) then you should use the "patchd" program in this directory on the binaries you wish to use. This is just a db "!" patch, but db doesn't work on separate i/d programs. Thus a typical installation, using just "a.out", on a standard UNIX system would be: sh install or to install the smallest ex here on an 11/34 or 11/40 mv a.outNOVISNOID a.out sh install This process will give you a basic editor (without any of its data bases) which you can try. Other files (other than /usr/bin/ex and /usr/bin/edit): The editor keeps its error messages in a file. This file is "/usr/lib/ex1.1strings", and must be present or all errors will be diagnosed as "ERROR". The data base for the editor "help" command lives in "/usr/lib/how_ex" (a directory)... the files in how_ex go there. The programs "expreserve" and "exrecover" (from ../exrecover) should be setuserid root and go in /usr/lib. There should be a directory /usr/preserve owned by root, mode 755 for use by these programs. If you clean out /tmp in /etc/rc there should be a line /usr/lib/expreserve -a before you do this. This editor needs a number of hooks into the rest of the system to get information about teletype types. The changes needed in the system at large to support this are described in the file SETUP. The editor uses the data base "/etc/ttycap" to discern capabilities of terminals, mapping a two character code it gleaned from the "htmp" data base (described below) to the characteristics of that terminal. You can add new terminals to /etc/ttycap quite easily... look at ../s6/ttycap.5. Adding a cursor addressible terminal requires an editor recompilation if you want to use the cursor addressing. Only a straightforward change to ex_ca.c is necessary. There is a system data base "/etc/ttytype" which maps terminals to 2 character type codes... see ../s6/ttytype.5. Look at ../etc/ttytype for a sample of this data base... you Feb 1 12:56 1978 ex-1.1/READ_ME Page 2 should change this file to correspond to your system. You can add new types as necessary to "/etc/ttycap" in this process or simply leave some terminals "unknown" for now. The editor uses a data base "/etc/htmp" to determine a user's home directory and his terminal type. This is necessary for terminal types to handle dial-ups and for home directories to allow them to be changed and to avoid password file searches on systems with large password files. The best way to implement the maintenance of "/etc/htmp" is to have the "login" program maintain it. There is a set of routines in ../s7 (libX.a) which make this trivial. The "htmp" routines can be used to access htmp, the "typeof" routines to extract types from /etc/ttytype. If you don't have "login" do this, you will have to do it by hand every time you login, or the editor may have the wrong terminal type and will not be able to find your start_up file. A login and an su program changed to handle the maintenance of "htmp" are given in ../s1. If you need to recompile: This directory contains all of the source for "ex" version 1.1. To recompile the editor you will need a version 7 C compiler as well as the following non-standard programs: mkstr  create string message file lnall link a number of files to a directory in one blow mvall move all of a number of files rmtree remove a hierarchical subtree cxref a shell script giving a list of routine defn points All of these programs are on this tape (except the C compiler) and of the others, only mkstr is truly essential. (Recompilation should not be necessary unless you wish to change the editor or have a Version 7 UNIX system.) System dependencies: The only major problems here are the format of "/etc/utmp", the form of teletype names, and the meaning of user/group id's. Several of the programs in ../s6, notably "ttytype" and "sethome", assume that "utmp" is accessed as a array indexed by the letter of the terminal in use, treated as a number. Other systems have slots arranged '0', '1', ... '9', 'A', ... . If you have the latter format you'll have to change these programs. If you treat a user/id as being significant in all 16 bits returned from "getuid()" in determining if two people are the same person (i.e. if you have "newgrp") then should use the program "patchd" to change the initial value of "mask" to be 0177777, i.e.: patchd _mask 177777 a.out This is trivial, but essential. Note that you must also change the source for the ttytype and sethome programs to not mask off these bits and recompile (or use patchd) Feb 1 12:56 1978 ex-1.1/READ_ME Page 3 Finally the editor (and all other programs here) assume ttynames of the form "/dev/ttyx" with x a single letter. If you are having system related problems or have questions please feel free to give me a call. Other, less serious, dependencies are: 1. This editor assumes that you have a restricted, 512 byte argument list. If your system gives larger lists that is no problem, but the "next" command will allow at most 512 character lists on subsequent matchings. 2. The major and minor device numbers of /dev/null and /dev/tty are used and are given in ex_io.h. Also the system error codes are mapped from magic numbers to names here. If your system has additional codes these numbers will have to be extended and new cases will have to be added to the switch on page 6 of ex_io.c. 3. To add a cursor addressible terminal in this version, you must recompile. A simple change is required to the routines in "ex_ca.c", with a return code of 1 being supplied for the new known type, and a string doing the addressing being returned from cgoto. This information should be put in /etc/ttycap, but I haven't seen enough terminals to know a good encoding. 4. This version of the editor needs a printf which prints through putchar. Such a printf exists in printf.s in this directory. 5. The read routine rop in exr.c knows about special binary files. Thus if you have any more binary files with different magic numbers it makes sense to add them here so the editor will give better diagnostics. I would like to hear of other dependencies/problems you encounter. Scripts: The following scripts are in this directory of general interest makeex make a new binary and string file comp recompile and load one or more files install put new ex in /usr/bin... you may want to change the path names The shell used for these scripts is in the directory ../ashell, with documentation in ../s6/sh.6. If you comment out the "set" commands or make a dummy set command which does nothing then any other shell should do fine. Note also that the scripts making ex use a "version" shell script which uses ex. If you have no ex, the script will fail in a safe way. In order for the option setting for "edit" to work either the second or third character of its name must be a 'd'. Thus "edit" and "nedit" are fine. This is naive, but easy to change... look at the first few lines of ex.c. Feb 1 12:56 1978 ex-1.1/READ_ME Page 4 To complete the installation of ex you must also install exrecover and expreserve see the directory ../exrecover. I would appreciate hearing of any problems you have with the editor or of any improvements you make. One thing which would be nice to have is the ability to drive terminals with more intelligent operations such as add or delete a line on the screen or insert characters pushing them to the right. I havent done this because we have only 2 such terminals both of which are hard-wired at 9600 baud (and private terminals). The changes needed to do this are almost all localized in the routine "ex_vadjust.c". Bill Joy CS Division Department of EE and CS UC Berkeley Berkeley, California 94704 (415) 524-4510 [HOME] (415) 642-4948 [SCHOOL] Feb 1 12:49 1978 exrecover/READ_ME Page 1 November 17, 1977 To have a fully functioning recovery mechanism you should place a command of the form /usr/lib/expreserve -a in /etc/rc if you clean out the directory /tmp there. For full security, exrecover and expreserve should be setuid root and the directory /usr/preserve should be mode 700. If you don't need or want this, change "install" and "setup". Feb 1 12:49 1978 eyacc/READ_ME Page 1 August 28, 1977 This directory contains source for a version of yacc needed by the Pascal parser. The differences between this yacc and a stadard version 6 yacc are indicated in a comment in y1.c. Note that the standard yacc parser will not work on the tables produced by "eyacc" and also that these changes are really useful only with a fairly large set of error recovery routines which are part of both "pi" and "pxp". The routines are language independent, but the method will only work on languages which have some redundancy in them... it is probably ill suited for C, but would work fine in ALGOL-60, ALGOL-W, EUCLID, LIS, SP/K, PL/1, ALPHARD, CLU, ... I am working on a short document describing the internals of the error recovery technique used in "pi"... It is a simple modification of the Graham/Rhodes technique described in a recent article in the CACM. Bill Joy Computer Science Division EECS Department University of California, Berkeley Berkeley, California 94704 Office: (415) 642-4948 Home: (415) 524-4510 Feb 1 12:49 1978 fpterp/READ_ME Page 1 November 13, 1977 This directory contains the source for a floating point interpreter modified to work in separate i/d space with a system call "fetchi" as described in ../SETUP. The interpreter assumes that the system call in number 61. If you have to add this call because you don't have floating point hardware, and you cannot make it call 61. you don't have to remake all the Pascal stuff... simply running the "load" scripts in ../pi, ../pxp and ../px is sufficient... these don't require that you have a version 7 C compiler. Bill Joy CS Division Department of EE and CS UC Berkeley Berkeley, California 94704 (415) 524-4510 [HOME] (415) 642-4948 [SCHOOL] Feb 1 12:50 1978 lib/READ_ME Page 1 The routines in libX.a are from ../s7 and are used by ex and ashell. Feb 1 12:50 1978 opcodes/READ_ME Page 1 August 18, 1977 Contents of this directory are as follows: opc.d Description of machine opcodes. OPnames.h Opcode data for put.c - comes from opc.d via makeopc. opcode.h Opcode #defines - made from opc.d by makeopc. picture Pretty picture of abstract machine opcodes. trdata Data pertaining to the parse tree. tree.h Tree defines from trdata out of maketrdata. TRdata.c Tree description and printing names of operators. Feb 1 13:00 1978 pcs/READ_ME Page 1 November 13, 1977 This directory contains the source for the Pascal program pascals. It should be put in /usr/lib/pascals, the C program in in ../s6/pascals.c should be put in /usr/bin/pascals... this C driver hunts up "px" and executes the /usr/lib/pascals. For this program to run at any sort of reasonable speed it should be compiled with the options "-p" and "-t" and preferably "-b", i.e.: pi -pbt pascals.p Feb 1 13:03 1978 pi/READ_ME Page 1 November 9, 1977 This directory contains the source necessary to make a new pi. Many of the files in this directory were linked to files with the same name in the directory ../pxp, but the links were broken by tp. There is a binary of pi here that should work immediately. If you have floating point or with the simple system change in ../READ_ME. If you have to give a different number to the system call, you can simply reassemble the floating point interpreter and reload pi via  load -i To print a copy of pi: printpi To make a new pi: makepi Read the file ../SETUP before you bother with any of this. The compiler made by makepi is suitable for running on an 11/45 or 11/70 which has hardware floating point. If you don't have hardware floating point, it is not possible to run separate I/D using the standard interpreter. Standard version 6 UNIX does not have the needed system call to allow it to fetch the floating point opcode from instruction space, and the mfpi instruction doesn't work on 11/70's. A simple system change to add a "mfpi" system call is explained in ../SETUP; the floating point interpreter which uses this system call is in ../fpterp. This tape does not contain a Pascal system which will run on 11/34's or 11/40's. Chuck and I were misinformed that 11/34's would have sep I/D so we went to a one pass compiler scheme. It should be possible to make a smaller "pi" or a two pass "pi" without a great deal of effort. Earlier versions of the translator "pi" were small enough to run without separate I/D, and a still earlier "pc" was two rather much smaller passes. The following non-standard programs are needed to compile pi: rmtree Remove a subtree of the directory system mvall Move a named group of files to a specified directory cc Version 7 C compiler lnall Make links to a number of files in a specified target directory squash reduce object file size for library not needed, just speeds loading and reduces library size mkstr Program to process C source putting error messages into an error message file eyacc Modified yacc In addition, the scripts here run with a shell that has a "set" command to enable automatic timing of commands. You can comment out the lines of the form set ... without any harm, or make a null set shell script. Other local shell features used here are the alias "cd" for chdir and the syntax "$*" expanding to all the arguments, i.e. "$1 $2 $3 ...". Feb 1 13:03 1978 pi/READ_ME Page 2 Note: it is normal for the grammar to have a number of shift/reduce conflicts; a message of the form conflicts: 16 shift/reduce (or worse) from yacc is to be expected. Defining the variable DEBUG on the first line of the file 0.h allows the following debugging options c print generated code y dump namelist E trace basic syntactic error recovery F full trace syn err rec A super full trace ... U prevent unique symbol insertion in error recovery As this option makes a much larger compiler it is not normally recommended. The syntactic error recovery relatively new code. It has not been as thoroughly tested as the rest of the system. Please let me know of any problems with Pascal, especially with the error recovery. I would be glad to hear of any problems, as well as any local modifications which you find necessary or desirable. Bill Joy Computer Science Division EECS Department University of California, Berkeley Berkeley, California 94704  Office: (415) 642-4948 Home: (415) 524-4510 Feb 1 13:02 1978 px/READ_ME Page 1 August 28, 1977 This directory contains all the source for the interpreter px. The script "makepx" will make a new "px", the script "printpx" will print a copy of all the stuff here. The binaries here can be installed immediately with "install". If you have no floating point use a.outNOFLOAT rather than a.out; do mv a.outNOFLOAT a.out before install In making a px for a system without floating point, the program "flt40" is used to massage the interpreter code to make it run a good deal faster. Bill Joy Computer Science Division EECS Department University of California, Berkeley Berkeley, California 94704  Office: (415) 642-4948 Home: (415) 524-4510 Feb 1 13:02 1978 pxp/READ_ME Page 1 November 16, 1977 This directory contains the source for pxp. Many of the files here were linked to the same in the directory ../pi. The links were broken by tp. The a.out binary here can be installed install This is all that should be necessary. To make a pxp do makepxp To print a listing do printpxp The variable DEBUG can be defined allowing tracing of the error recovery in the parser. Look at the first line of "0.h" to see if DEBUG is defined. A smaller pxp results if it is not. Non-standard programs required to make a pxp cc Version 7 C compiler, version 6 will not work eyacc Need modified yacc distributed with pxp set time=3 Causes commands taking more than 3 seconds of processor time to be "timed" in a variant shell. You can comment out this line or do cp /dev/null set; chmod 755 set to avoid a "set: Not found" diagnostic. I would like to know of any problems with pxp, or of any local modifications which you find necessary or desirable. Bill Joy Computer Science Division EECS Department University of California, Berkeley Berkeley, California 94704 Office: (415) 642-4948 Home: (415) 524-4510 Feb 1 13:02 1978 pxref/READ_ME Page 1 To make a pxref do makepxref It can be installed using install If you have a shell which recognizes Pascal objects it is not necessary to use both the Pascal and C programs... the Pascal object can be put in /usr/bin... but it will have the same status as shell scripts (essentially) thus time pxref pxref.p would not work then. Feb 1 13:02 1978 s1/READ_ME Page 1 Here are a passwd command which asks you for the password twice so you dont screw yourself up, and a shell which has a couple nice features (interruptible waits, redirect unit 2) and which knows about Pascal objects... the glob (../s8/glob2.c) which goes with this shell takes arbitrary path names, i.e. /*/mbox This shell has been the standard at Berkeley for over a year. The login and su in ../s8 maintain the htmp data base, and also implement ".start_up" files which a shell runs when you log in. Also implemented are the file ".reminder" which you can place in your login directory to have catted on your terminal when you log in. These features of login are superfluous if you have "../ashell" but very useful otherwise. The "su" program also maintains an unused byte in /etc/utmp so that the "who" here can print out who you are "su'd" to ... currently we disable su's to anyone but the root except by the root ... this is easy to take out. Feb 1 13:02 1978 s7/READ_ME Page 1 These are the routines for manipulating the editor data bases. They live in ../s7/libX.a The program "Ttyn.c" is actually made by the program "makeTtyn" in ../s6... it produces a hashed version of "ttyn" called "Ttyn" which is useful because it runs much faster... it is however dependent on the structure of your /dev/. If you want the editor and ashell to start faster you can have them call a version of Ttyn which you can make using the program makeTtyn for your system. Feb 1 13:02 1978 s8/READ_ME Page 1 The glob2.c goes with the sh.c in s1. The login and su are here so hyou can see the (simple) changes needed to support the editor data base /etc/htmp. They need the routines in ../lib/libX.a See also ../s1/READ_ME  Feb 1 13:03 1978 SETUP Page 1 October 12, 1977 The editor uses the following data bases: /etc/ttytype gives teletype types of hardwire ports /etc/ttycap gives capabilities of teletypes /etc/htmp gives home directories and teletype types The implications of the absence of these are as follows: /etc/ttycap Editor will think all terminals are model 33 teletypes, essentially, as they will be "unknown." You'll have no way of specifying the capabilities of your terminal. /etc/ttytype You will have to tell the editor the type of the terminal you are on every time you log in, unless you trust that the way the last user of your port set your terminal type is correct. /etc/htmp Editor start-up files cannot work; you won't be able to specify your terminal type once per login... you have to do it each time you enter the editor. These data bases are maintained and used in the following ways: HTMP data base: The file /etc/htmp contains a structure described by htmp (V). It contains, for each user, his "home" directory, normally the login directory, his user-id, and the type of terminal he is on. The home directory is here because on large systems searching the password file is unreasonably slow. Its presence in this data base also allows it to be changed. The tty type information is necessary here because users who dial in on a dialup port need to be able to specify it. TTYTYPE data base: The file /etc/ttytype is organized similarly to /etc/ttys and maps tty names to 2 character codes. This data base is used both by the editor and by the program "tset", and  can be used by other programs. TTYCAP data base: The file /etc/ttycap allows programs to map a terminal's type code to its characteristics. This allows addition of new terminals to the system without changing any existing programs - only the data base needs to be updated. (Note that currently cursor addressing information is not recorded here requiring changes to the editor to add new such terminals.) The following utility programs are included with the editor: SETHOME Set the home directory entry in /etc/htmp. Feb 1 13:03 1978 SETUP Page 2 TTYTYPE Set the teletype type entry in /etc/htmp. The following changes to support the editor are suggested: LOGIN So that naive users may login on dial up ports and have their home directory and terminal-type set to reasonable values at initialization without any action on their part, the program login should be changed to write the initial entry in /etc/htmp. The work involved is in getting the terminal type from the file /etc/ttytype and writing it into /etc/htmp. The overhead should be negligible, especially since the operations of reading /etc/passwd and looking for mail in /usr/mail are typically much more expensive. This change is simple to make, just calling some of the routines in the supplied library htmp (V) .. SU So that the home directory will be correct after a su command, the command should be changed to save and restore this entry in /etc/htmp before and after the su. This is similar to the saving and restoring of the utmp user byte entry to allow who to print out the name of the person one is su'd to. (This latter change has been made at Berkeley.) For more information on formats and programs see the following documents Section V: htmp, ttycap, ttytype Section VI: sethome, ttytype Section VII: htmp, typeof, ttycap Bill Joy CS Division Department of EE and CS UC Berkeley  Berkeley, California 94704 (415) 524-4510 [home] (415) 642-4948 [school] Feb 1 13:03 1978 SYSDEP Page 1 November 9, 1977 KNOWN SYSTEM DEPENDENCIES / MAGIC NAMES IN EX-1.1 Globally: 1. Needs a printf which prints through putchar. 2. Wants the data bases described in SETUP. 3. Needs a large amount of core; separate i/d preferred. 4. Needs a version 7 C compiler. 5. Assumes (in the library routines and the way it deals with ttyn e.g. for the visualmessage option) that teletype names are single characters, and that /etc/utmp is indexed by this character. (More on this below.) --------------------------------------------- In the HEADERS: ex.h Defines ECHO and RAW for stty. Defines TTYNAM which is initialized in ex_tty.c and there assumes that single char teletype names are used. Note that ex does not catch the TERMINATE signal of version 7 UNIX... it should be defined here. ex_glob.h The definitions here limit the argument list size possible with the next command. This does not limit the size of entry argument list however... if invoked with a longer list that is ok (although it has never been tested of course!) ex_io.h The basic stat buffer structure is assumed here. Also the error codes for errno from system error returns on i/o are defined here... if you have more error codes you should add them... ex does not use "perror" because this way puts the messages in the string message file saving space. ex_vis.h The definitions of TUBELINES, TUBECOLS, and TUBESIZE here limit the kinds of terminals on which open and visual are possible. The areas are allocated, with fixed size, on the stack at entry to the routines in exo.c and exv.c. Variable sized screens would be  possible if you added an assembly language intermediary here, or you can make these numbers larger, at the expense of allocating these larger buffers on terminals with small screens. --- CODE files: ex.c /erpath =+ 9/ Assumes that the error path contains a prefix like "/usr/lib" so that adding 9 bytes will give the last portion of the Feb 1 13:03 1978 SYSDEP Page 2 error file name for testing "a.out".  /== 'd'/ Here derive the properties of "edit". /signal/ New caught signals should be added here, notably the signal TERMINATE for a version 7 system. ex_ca.c To add a cursor addressible terminal you must add it to the routine canCA and change cgoto to return a string. All terminals which are to be added must have their properties recorded in /etc/ttycap. ex_glob.c This glob routine supports constructs in all portions of path names, e.g. "/*/bill/a.out"; it also interprets trailing slashes as forcing a directory match - eg "*/" matches all subdirectory names. This corresponds to the glob which is glob2.c in ../s6 and also the glob built into ../ashell. ex_tty.c This routine assumes the version 6 structure of teletype names in its handling of TTYNAM. This can be easily changed by forming the value of TTYNAM in a slightly different way. ex_io.c The routine ioerror embodies the strings from "perror" which are related to input/output. These should be added to or changed as appropriate to your system. Perror is not used because it is desired to have the error messages in the string message file (this saves ~~ 200 bytes per editor user in the swap image.) ex_put.c Note the routine "setcol" which fixes UNIX's notion of the tab column position after a cursor addressing sequence on an ADM-3A. This is hard, in general. If you wish to perform a similar fix for your terminals this is the place to do it. ex_recover.c The routines here assume that you have installed the exrecover and expreserve routines from ../exrecover, and that when the system crashes you run expreserve in /etc/rc to save the stuff from /tmp so that people can continue where they left off. If this is not true, no harm is done... as long as you don't ever crash! ex_set.c Note that the default directory and shell are initialized here. ex_tty.c Here the capabilities of the terminal which interest us are extracted. These are used by the print routines in ex_put.c, and more exten- sively by the visual and open mode routines. Currently, we are running visual on ADM-3A's (its native terminal) Feb 1 13:03 1978 SYSDEP Page 3  and also on HP2645's. For the latter, the editor makes use only of the clear to end-of-line operation. I have not put in the use of the add and delete line operations (although they are read here into AL and DL). If you have a number of intelligent terminals you may wish to try to add the intelligent terminal driving to visual... it is not hard. I have not done it since we have only 2 HP2645's and both are at 9600 baud where it matters little if it knows about the intelligence. The routines most likely to be changed in such an addition are all in the file ex_vadjust.c... they are mentioned below. ex_unix.c It is here assumed that the shell understands the option "-c", and also the option "-i" to give a login type shell. Both of the shells from Berkeley, and also the Version 7 shell from Bell have this property. Note also that substituted file  names are given high-order bits set so that glob will not be a nuisance... it is better of course not to edit files with funny names. ex_vadjust.c This is where the work is required to add the AL (add line) and DL (delete line) capabilities of the terminal to open and visual. Likely candidates for change are the routines "vopen", "vsync", and "vredraw"... with these capabilities you may well want to always use "vredraw"... "vsync" is the routine which leaves the dirty "@" lines on the screen. If you do any work here I would like to hear of it as I am not planning to do this but would like to have working code for it. ex_vcurs.c Note that the routine "vputchar" assumes that you can simply overwrite and have no trouble (that overstrking an "a" with a "b" works leaving a "b"). If you have terminals where this is not true (i.e. that have OS) you can send a blank to clear the position first... rumor has it that there are some ITT beasts of this flavor (at UCLA?). exr.c Sensibility detection by decoding the flags bit of a stat buffer an by looking at the magic numbers of PLAIN files should be changed to reflect the kinds of stuff you have in your file system. exw.c Note the explicit checks for /dev/tty and /dev/null by major and minor device number here. -------------------------------------------------- I would be glad to learn of any other problems you have or changes you make to ex. I will be glad to answer questions by mail or phone, and would be glad to know Feb 1 13:03 1978 SYSDEP Page 4 of any fixes and changes. Bill Joy CS Division Department of EE and CS UC Berkeley  Berkeley, California 94704 (415) 524-4510 [home] (415) 642-4948 [school] Update to Ex Version 1.1 Documentation This sheet is a quick update to Ex version 1.1 documentation for features which were added after the documentation was prepared. Crash Recovery _____ ________ The crash recovery mechanism has been improved to recover mangled buffers and to mail to users that their files were lost after a crash. More information is available in ex "help". It is also possible to recover a buffer which had no current file name; it is saved as though it were named "LOST". Smaller Screens in Visual _______ _______ __ ______ A new, partially implemented feature, is smaller visual screens. You can specify a smaller window size for visual by set window=10 or on the "visual" command, similarly to the "z" command, i.e.: vi.5 Visual features - Unimplemented, 11/34's and 11/40's ______ ________ _____________ __ __ _ ___ __ __ _ The visual operations ``e'', ``E'', ``<'' and ``>'', which were unim- _____ plemented in the documentation are, in fact, available on 11/45's and _________ 11/70's but not on 11/34's and 11/40's due to space problems. In addition, the sequences ``^CTRL(d)'' and ``0CTRL(d)'' are not available with autoin- _______ dent in visual and open modes on the smaller machines. ____ ______ ____ Future visual changes ______ ______ _______ The following additions to visual are contemplated: ______ 1) An operation `V' to dynamically respecify the window size. With no argument, `V' will set the window size to the maximum possible, this being rather innocuous. 2) Operations to deal with LISP S-Expressions. 3) Handling of intelligent terminals. February 1, 1978 Ex documentation corrections Table of Contents _____ __ ________ On page ii under Summary Tables change Open and visual targets to Open _______ ______ ____ ___ ______ _______ ____ and visual operations. ___ ______ __________ Crash Recovery _____ ________ It is no longer true that you must have had a current file name to recover after a crash; files with no name are arbitrarily named ``LOST''. Also note that if the system crashes you will receive mail when it comes up telling you of the name of the file saved for you if you were in the editor. File command ____ _______ The file command description should begin ``The current filename'' not ____ ``The current file'' as the editor does not have a current file, only a current filename associated with a buffer. Visual Command ______ _______ The visual command may take a trailing count indicating the number of ______ lines to be used (physical) in the window. The default for this count is the value of the window option. ______ Visual Operations ______ __________ The operations ``e'', ``E'', ``<'' and ``>'' are implemented unless you are on a machine without separate I/D space (Evans "D" system) in which case the features ``0CTRL(d)'' and ``^CTRL(d)'' with autoindent in open and __________ ____ visual also don't work. ______ Ex manual section __ ______ _______ Add the following bugs: Lines which are changed or joined lose marks; it would be better for _______ ______ the marks to be attached to the (first) new line. There should be an option for maintaining a perfectly clean screen in visual and open on very fast (or intelligent) terminals. ______ Ttycap data base ______ ____ ____ In the descripton of the ttycap data base, change ``set and cleared'' to ``cleared and set'' in the second line of the third paragraph. Refer to stty (II) for more information about the flags described in this paragraph. February 1, 1978 ks to be attached to the (first) new line. There should be an option for maintaining a perfectly clean screen in visual and open on very fast (or intelligent) terminals. ______ Tty