;p  Z(3):akr@flux% ;s ;p;fpw;d;O  ;T, /home/akr ;M=  Z(3):akr@flux% ;I m;@ mk;X d;Zi;Ir;O< ;:/;n$t;GCm;kp; /;R ;V  ;ذ file acin.SbgboBt367   fvwmm4-358-output  ssh-DmxH2410/    acin.moWVivy550   jd_sockV4=  ssh-KvdaJ403-3720/   fvwmm4-358-input   screens/  ssh-kDiLX329/    ; ;z;ď  ;u  Z(3):akr@flux% ;mx ; c;cd; Ð;=/Ð;tÐ;mÐ;НpÐ;X/Ð;gzÐ;:  Ð;(  Z(3):akr@flux% Ð;K# lÐ;lsĐ;a+ Đ;< Z(3):akr@flux% Đ;?Đ;j cĐ;+ cvĐ;PsŐ; Ő;-Ő;FdŐ;o| Ő; Ő;  Ő;u ;zsh: do you wish to see all 186 possibilities (187 lines)? Ɛ;n  Ɛ;:ǐ;;pǐ;sǐ;weǐ;'rǐ;ver:Ȑ;aɐ;nɐ; oɐ;nɐ;hbyɐ;ҹmous@ʐ;'.ʐ;9 nʐ; aʐ;#cvs.namazu.org:/storage/cvsroot ː;c̐;[o̐; ΐ;% ΐ;\)  ΐ;v* module name CVSROOT  kakasi-web  namazu-web  sary  sgmt-perl  Search-Namazu  mail-classify  pdumpfs  sary-perl  sgmt-ruby  emacs-w3m  migemo  pysary  sary-ruby  sgmt-web  emacs-w3m-web  migemo-web  ruby-bsearch  sary-web  ttyrec  guile-sgmt  namazu  ruby-migemo  sdic  w3mmee  kakasi  namazu-ng  ruby-romkan  sgmt    ϐ;1 CVSROOT ϐ;3#module name CVSROOT  kakasi-web  namazu-web  sary  sgmt-perl  Search-Namazu  mail-classify  pdumpfs  sary-perl  sgmt-ruby  emacs-w3m  migemo  pysary  sary-ruby  sgmt-web  emacs-w3m-web  migemo-web  ruby-bsearch  sary-web  ttyrec  guile-sgmt  namazu  ruby-migemo  sdic  w3mmee  kakasi  namazu-ng  ruby-romkan  sgmt     ϐ;OSearch-Namazu ϐ;h#module name CVSROOT  kakasi-web  namazu-web  sary  sgmt-perl  Search-Namazu  mail-classify  pdumpfs  sary-perl  sgmt-ruby  emacs-w3m  migemo  pysary  sary-ruby  sgmt-web  emacs-w3m-web  migemo-web  ruby-bsearch  sary-web  ttyrec  guile-sgmt  namazu  ruby-migemo  sdic  w3mmee  kakasi  namazu-ng  ruby-romkan  sgmt     ϐ; emacs-w3m  ϐ;ό #module name CVSROOT  kakasi-web  namazu-web  sary  sgmt-perl  Search-Namazu  mail-classify  pdumpfs  sary-perl  sgmt-ruby  emacs-w3m  migemo  pysary  sary-ruby  sgmt-web  emacs-w3m-web  migemo-web  ruby-bsearch  sary-web  ttyrec  guile-sgmt  namazu  ruby-migemo  sdic  w3mmee  kakasi  namazu-ng  ruby-romkan  sgmt     А;!=-web А;>#module name CVSROOT  kakasi-web  namazu-web  sary  sgmt-perl  Search-Namazu  mail-classify  pdumpfs  sary-perl  sgmt-ruby  emacs-w3m  migemo  pysary  sary-ruby  sgmt-web  emacs-w3m-web  migemo-web  ruby-bsearch  sary-web  ttyrec  guile-sgmt  namazu  ruby-migemo  sdic  w3mmee  kakasi  namazu-ng  ruby-romkan  sgmt     А;^guile-sgmt  А;_#module name CVSROOT  kakasi-web  namazu-web  sary  sgmt-perl  Search-Namazu  mail-classify  pdumpfs  sary-perl  sgmt-ruby  emacs-w3m  migemo  pysary  sary-ruby  sgmt-web  emacs-w3m-web  migemo-web  ruby-bsearch  sary-web  ttyrec  guile-sgmt  namazu  ruby-migemo  sdic  w3mmee  kakasi  namazu-ng  ruby-romkan  sgmt     ѐ;_$ttyrec  ѐ;%#module name CVSROOT  kakasi-web  namazu-web  sary  sgmt-perl  Search-Namazu  mail-classify  pdumpfs  sary-perl  sgmt-ruby  emacs-w3m  migemo  pysary  sary-ruby  sgmt-web  emacs-w3m-web  migemo-web  ruby-bsearch  sary-web  ttyrec  guile-sgmt  namazu  ruby-migemo  sdic  w3mmee  kakasi  namazu-ng  ruby-romkan  sgmt     ѐ; ѐ; "module name CVSROOT  kakasi-web  namazu-web  sary  sgmt-perl  Search-Namazu  mail-classify  pdumpfs  sary-perl  sgmt-ruby  emacs-w3m  migemo  pysary  sary-ruby  sgmt-web  emacs-w3m-web  migemo-web  ruby-bsearch  sary-web  ttyrec  guile-sgmt  namazu  ruby-migemo  sdic  w3mmee  kakasi  namazu-ng  ruby-romkan  sgmt     Ґ;Dv Ԑ;cvs server: Updating ttyrecԐ; Ԑ;U ttyrec/ChangeLog Ԑ; U ttyrec/Makefile Ԑ; U ttyrec/README Ԑ;R3 U ttyrec/io.c Ԑ;J U ttyrec/io.h Ԑ; b U ttyrec/ttyplay.c Ԑ;U ttyrec/ttyrec.c Ր;U ttyrec/ttyrec.h ֐;  Z(3):akr@flux% ֐; ֐;Q c֐;8 cd֐;WL  ֐;tא;(tyrec/א;($ א;' א;: Z(3):akr@flux% א;flא;Klsא;  א; (CVS Makefile io.c ttyplay.c ttyrec.h א;w' "ChangeLog README io.h ttyrec.c א;:  Z(3):akr@flux% ؐ;<lِ;g6leِ;2sِ;6sِ; ِ;c Rِ; EADME ڐ;,ڐ;-1 ڐ;`7[?47h[?1h=ڐ;lattyrec is a tty recorder. ttyplay is a tty player. Installation: % make or if your system is SVR4 system (Solaris etc.), % make CFLAGS=-DSVR4 Usage: % ttyrec (In the excuted shell, do whatever you want and exit) % ttyplay ttyrecord Have fun! -- Satoru Takabayashi README (END) ڐ;s? (END) ې;J (END) ߐ;$[?1l>[?47l8ߐ; Z(3):akr@flux% ߐ;Maߐ;i amߐ; kߐ;­ e;i  ;$ m;͗ ma;8 k;m e;B ;#gcc -O2 -c -o ttyrec.o ttyrec.c ;Agcc -O2 -c -o io.o io.c ;v !gcc -O2 -o ttyrec ttyrec.o io.o ;D%gcc -O2 -c -o ttyplay.o ttyplay.c ;e#gcc -O2 -o ttyplay ttyplay.o io.o ;1% Z(3):akr@flux% ;R';"l;Qls;Y ; 'CVS README io.o ttyplay.o ttyrec.h ; NChangeLog io.c ttyplay ttyrec ttyrec.o Makefile io.h ttyplay.c ttyrec.c ;%  Z(3):akr@flux% ;.;d./;ut;t; y;G r;ec ;oH;rL ;kOut of pty's ;~zsh: terminated ./ttyrec ; Z(3):akr@flux% ;u\ k;] kt;Qe;Or;Im; ; &; ;1 [1] 4652 ;H Z(3):akr@flux% ;  ;+ [1] + done kterm ; Z(3):akr@flux% ; g;L gr;Fe;p; ; p;qt;y;y  ;.*;d.;c;! ; ttyrec.c:#ifdef HAVE_openpty ;/ Tttyrec.c:#include ttyrec.c:#ifndef HAVE_openpty ttyrec.c:char line[] = "/dev/ptyXX"; ttyrec.c:#ifdef HAVE_openpty ttyrec.c:#ifdef HAVE_openpty ttyrec.c:#ifdef HAVE_openpty ttyrec.c: if (openpty(&master, &slave, NULL, &tt, &win) < 0) { ttyrec.c: fprintf(stderr, _("openpty failed\n")); ttyrec.c: char *pty, *bank, *cp; ttyrec.c: pty = &line[strlen("/dev/ptyp")]; ttyrec.c: line[strlen("/dev/pty")] = *bank; ttyrec.c: *pty = '0'; ttyrec.c: *pty = *cp; ttyrec.c: fprintf(stderr, _("Out of pty's\n")); ttyrec.c:#endif /* not HAVE_openpty */ ttyrec.c:#ifndef HAVE_openpty ;zG  Z(3):akr@flux% ;W: bck-i-search: _; ;zm;ma;Wk;We;' ; c; l;`D e;"a;Wn;* ;*'rm -f *.o ttyrec ttyplay ttyrecord *~ ;^ Z(3):akr@flux% ;P;Vkm;_ma;k;q9e; ;n HAVE_openpty;DC=; ;|. [@C ; [@F ;1_[@L ;[@A ;H[@G ;[@S ;W [@= ; [@- ;@[@D ;; ; ;) .gcc -DHAVE_openpty -c -o ttyrec.o ttyrec.c ;ttyrec.c;T':77: pty.h: No such file or directory ;6gmake: ;<*** [ttyrec.o] Error 1 ;M Z(3):akr@flux%  ;\n ;nv ;i ;  ; t ;t ;y ;_Mr ;ec. ;mc ; ;E  ;J  ;H~ 7[?47h[?1h= ;ƕ $)B(B/* *Copyright(c)1980RegentsoftheUniversityofCalifornia. *Allrightsreserved. * *Redistributionanduseinsourceandbinaryforms,withorwithout *modification,arepermittedprovidedthatthefollowingconditions *aremet: *1.Redistributionsofsourcecodemustretaintheabovecopyright *notice,thislistofconditionsandthefollowingdisclaimer. *2.Redistributionsinbinaryformmustreproducetheabovecopyright *notice,thislistofconditionsandthefollowingdisclaimerinthe *documentationand/orothermaterialsprovidedwiththedistribution. *3.Alladvertisingmaterialsmentioningfeaturesoruseofthissoftware *mustdisplaythefollowingacknowledgement: *This ; productincludessoftwaredevelopedbytheUniversityof *California,Berkeleyanditscontributors. *4.NeitherthenameoftheUniversitynorthenamesofitscontributors *maybe[ ;8 Cusedtoendorseorpromoteproductsderivedfromthissoftware *withoutspecificpriorwrittenpermission. * *THISSOFTWAREISPROVIDEDBYTHEREGENTSANDCONTRIBUTORS``ASIS''AND *ANYEXPRESSORIMPLIEDWARRANTIES,INCLUDING,BUTNOTLIMITEDTO,THE *IMPLIEDWARRANTIESOFMERCHANTABILITYANDFITNESSFORAPARTICULARPURPOSEttyrec.c:unmodified:line1 ;ci #include #include "tyrec.h" #incude "io.h"  #define HAVE_inet_ton #define HAVE_scsi_h #define HAVE_kd_h  #define _(FOO) FOO  #ifdef HAVE_openpty #inclue  #endif  voiddone(void); voidfail(void); void fixty(void); voidgetmaster(void); voidgetslave(void); voiddoinput(void); void dooutput(void); void doshell(void);  ;/#include ;?x*#include ;.)Copyingfileforrecovery...;5 ;z7;T;C *;d /;=;7b:;w;Ywq;# ;' Writing...;/ ; 2-ttyrec.c:400lines,7928characters ;\[?1l>;cb). [?47l8; Z(3):akr@flux% ;-m; (ma;k;He;0  ; i #gcc -O2 -c -o ttyrec.o ttyrec.c ;6gcc -O2 -c -o io.o io.c ;^C;Jgmake: ;L*** Deleting file `io.o' ;([ gmake: ;` *** [io.o] Interrupt ;t  Z(3):akr@flux% ; bck-i-search: _;,nvi ttyrec.c[@c ;;y#make clean l_;  ;M  ; 'rm -f *.o ttyrec ttyplay ttyrecord *~ ;#  Z(3):akr@flux% ; ;9 bck-i-search: _;*make clean[@m ;~ a_;?k_;8 e_;@  ;l CFLAGS=-DHAVE_openpty;  ;|  ;.gcc -DHAVE_openpty -c -o ttyrec.o ttyrec.c ;A&gcc -DHAVE_openpty -c -o io.o io.c ;ا,gcc -DHAVE_openpty -o ttyrec ttyrec.o io.o ;ttyrec.o;: In function `; getmaster;=': ttyrec.o(.text+0x571): undefined reference to `openpty' ;ggmake: ;mm*** [ttyrec] Error 1 ;΀ Z(3):akr@flux% ; m; ma;Y n;A  ;3o;p;e;n;X' p;% t;R y;S ;37[?47h[?1h=;B*PTY(3) FreeBSD Library Functions Manual PTY(3) NAME openpty, forkpty - auxiliary functions to obtain a pseudo-terminal LIBRARY System Utilities Library (libutil, -lutil) SYNOPSIS #include  #include  #include  #include  int openpty(int *amaster, int *aslave, char *name, struct termios *termp, struct winsize *winp) int forkpty(int *amaster, char *name, struct termios *termp, ;K>Z struct winsize *winp) DESCRIPTION :#; [?1l>[?47l8#;.!  Z(3):akr@flux% $;1~v$;ܘvi$;` $; M$;8 a$; k%;efile %;%; %;j%;7[?47h[?1h=%;ؠ!]2;VIM - /tmp/z/ttyrec/Makefile%;G$)B"Makefile"%;T"25lines,489characters[E]CC = gccCFLAGS = -O2VERSION = 1.0.3TARGET = ttyrec ttyplayall: $(TARGET)ttyrec: ttyrec.o io.o$(CC) $(CFLAGS) -o ttyrec ttyrec.o io.ottyplay: ttyplay.o io.o$(CC) $(CFLAGS) -o ttyplay ttyplay.o io.oclean:rm -f *.o $(TARGET) ttyrecord *~dist:rm -rf ttyrec-$(VERSION)rm -f ttyrec-$(VERSION).tar.gzmkdir ttyrec-$(VERSION)cp ttyrec.c ttyplay.c ttyrec.h README Makefile ttyrec-$(VERSION)%;h %;%;O%;,&;nr&;|&;Dz&;&;݉&;i&;O&;$&;(;(;(;P );s*--- INSERT --);Wk);-);l*;Ou*;uR t*;3 i*;g l+;p+;:+;;w+;q+;O "Makefile"+;I$25 lines, 496 characters [E]+;| ]2;kterm+; [?1l>[?47l8+;Q  Z(3):akr@flux% ,;\/ v,;pVvi-;? -;`t-;t.;ƍ  /;n/;Onv/; i/;v 0;X t0;׹ t1;?y1;r1;V ec.2;c2; 2;2;  2; d 7[?47h[?1h=2;x $)B(B/* *Copyright(c)1980RegentsoftheUniversityofCalifornia. *Allrightsreserved. * *Redistributionanduseinsourceandbinaryforms,withorwithout *modification,arepermittedprovidedthatthefollowingconditions *aremet: *1.Redistributionsofsourcecodemustretaintheabovecopyright *notice,thislistofconditionsandthefollowingdisclaimer. *2.Redistributionsinbinaryformmustreproducetheabovecopyright *notice,thislistofconditionsandthefollowingdisclaimerinthe *documentationand/orothermaterialsprovidedwiththedistribution. *3.Alladvertisingmaterialsmentioningfeaturesoruseofthissoftware *mustdisplaythefollowingacknowledgement: *This2;I productincludessoftwaredevelopedbytheUniversityof *California,Berkeleyanditscontributors. *4.NeitherthenameoftheUniversitynorthenamesofitscontributors *maybe[2; Cusedtoendorseorpromoteproductsderivedfromthissoftware *withoutspecificpriorwrittenpermission. * *THISSOFTWAREISPROVIDEDBYTHEREGENTSANDCONTRIBUTORS``ASIS''AND *ANYEXPRESSORIMPLIEDWARRANTIES,INCLUDING,BUTNOTLIMITEDTO,THE *IMPLIEDWARRANTIESOFMERCHANTABILITYANDFITNESSFORAPARTICULARPURPOSEttyrec.c:unmodified:line12;K' 3; ANYEXPRESSORIMPLIEDWARRANTIES,INCLUDING,BUTNOTLIMITEDTO,THEIMPLIED WARRANTIESOF MERCHANTABILITY AND FITNESS FOR A PARTICULARPURPOSEREDISCLAIMED. IN NOEVENTSHALLTHEREGENTSORCONTRIBUTORSBELIABLE FORANYDIRECT,INDIRECT,INCIDENTAL,SPECIAL,EXEMPLARY,ORCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSSOF USE, DATA, OR PROFITS; OR BUSINESSINTERRUPTION) HOWEVER CAUSEDANDONANYTHEORYOFLIABILITY,WHETHERINCONTRACT,STRICT LIABILITY, OR TORT(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING INANYWAY OUT OF THEUSE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITYOF SUCH DAMAGE. /  /1999-02-22 Arkadiusz Mikiewicz  -addedNative Language Support /3;  /2000-12-27Satoru Takabayashi  -modify `scrip'to ceate `ttyrec'. /  / script /3;{{/5;MRp5;Rt5;y5;~ #include  #include "ttyrec.h" #include "io.h"  #define HAVE_inet_aton #define HAVE_scsi_h #define HAVE_kd_h  #define_(FOO) FOO  #ifdefHAVE_openpty #include */ #endif  voiddone(void); void fail(void); voidfixtt(void); voidgetmaster(void); voidgetslave(void); voiddoinput(void); void dooutput(void); voiddoshell(void); 6;/#  6;= 7; )Copyingfileforrecovery...7; 7;*#include */ 7;$#include */ 7; 7;> 7; 8; $8;l8;_Zi8;D b9;tV u.h>*/9;JO t.h>*/9;{ i.h>*/9; l.h>*/9;b/ 9;u 9;|:;;:;%:;  :; ::;R)w;;q;; ;; Writing...;; ;;-ttyrec.c:400lines,7928characters ;; 0[?1l>;;6). [?47l8;;!\ Z(3):akr@flux% <;  bck-i-search: _=;Q+vi Makefile[@m =;r-a_=; k_>;"make CFLAGS=-DHAVE_openpty>;  >;;  >;` .gcc -DHAVE_openpty -c -o ttyrec.o ttyrec.c >;3gcc -DHAVE_openpty -o ttyrec ttyrec.o io.o -lutil ?;70gcc -DHAVE_openpty -c -o ttyplay.o ttyplay.c ?;.gcc -DHAVE_openpty -o ttyplay ttyplay.o io.o ?;d Z(3):akr@flux% ?;b@;ND .@;Z ./A;+otA;Q\tA;yA;rA;v ec B;hB;x B; Z(4):akr@flux% B;͉C;IlC;h lsC;՟ C;'CVS README io.o ttyplay.o ttyrec.h C;XChangeLog io.c ttyplay ttyrec ttyrec.o Makefile io.h ttyplay.c ttyrec.c ttyrecord C;t Z(4):akr@flux% D; Z(3):akr@flux% D;E;"tE;- ttE;D yE;pG;  G; .G;= ./H;QtH;htH;CyH;pH; lH;yaI;{JyI; K;^CK;: K; Z(3):akr@flux% K;K; ./ttyplayL;ZG L;]  +#include #endif Y;  void done(void); Y;~ zsh: exit 1 cvs diff Y;"  Z(3):akr@flux% a;, cvs diff b;|b;8flb;oec; c;0( c;# c;  c;y Tmodified file Makefile  ttyrec.c  d;P Makefiled;  d;\modified file Makefile  ttyrec.c  d;ttyrec.c d;\modified file Makefile  ttyrec.c  d;  d;ږ ]modified file Makefile  ttyrec.c  |e;wle;ee;Wse;}se; e;a7[?47h[?1h=g;$ Index: ttyrec.c =================================================================== RCS file: /storage/cvsroot/ttyrec/ttyrec.c,v retrieving revision 1.4 diff -u -r1.4 ttyrec.c --- ttyrec.c 2001/05/16 11:22:22 1.4 +++ ttyrec.c 2001/05/17 08:52:58 @@ -74,7 +74,7 @@ #define _(FOO) FOO #ifdef HAVE_openpty -#include +#include #endif void done(void); g; (END) i;q[?1l>[?47l8i;#zsh: exit 1 cvs diff ttyrec.c i; Z(3):akr@flux%