-
Notifications
You must be signed in to change notification settings - Fork 0
/
HISTORY
3552 lines (2582 loc) · 142 KB
/
HISTORY
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
This is the HISTORY file for Expect. Modifications made by Cygnus
support are in ChangeLog. - Don
Date Version Description
------- ------- ------------------------------------------------------
1/31/06 5.44.1 Marius Schamsula <marius173@mchsi.xcom> reported tclconfig
missing, evidentally for new TEA.
1/20/06 5.44.0 Lots of massaging to fix TEAification of Makefile and configure
including that version numbers will now be full three part.
Daniel Wong <danielwong@berkeley.xedu> noted the home page
should note that Wikipedia has a very readable entry for
Expect.
Andre Alves <aalves@escloyalty.xcom> noted passmass needed some
fixes to handle Solaris 9 passwd prompt changes.
Andreas fixed several things: changes to better support TEA,
fix debugger interaction with nonblocking mode, and probably
other things I'm overlooking.
Martin Dietze <di@fh-wedel.xde> noted that autoconf 2.59 is
confused by C comment after undefs in expect_cf.h.in.
Added additional code to unbuffer -p so that if a process
earlier in the pipeline exits, unbuffer attempts to
recover any remaining output from the spawned proc before
unbuffer itself exits.
Jeffrey Hobbs noted that once stty was called, a bg'd script
would be suspended at exit. Turned out to be overaggressive
code in stty that recorded what 'damage' the user might have
caused when calling stty in the first place.
Jens Petersen provided patch to make setpgrp configure better
on some Linux systems.
Added example/getpassck script to test for getpass bug.
multixterm had debugging stuff leftover ("hello").
2/7/05 5.43.0 Martin Forssen <maf@tkrat.xorg> fixed bug in ExpOutputProc
that caused misbehavior during partial writes.
Someone noted that gets stdin behaves differently (returns -1
immediately) from tclsh because with 5.42, stdin is unblocked
by defaults.
Robroy Gregg <robroy@armory.xcom> noted that expect_background
ignores timeouts. Added to documentation.
Jens Petersen <peterson@redhat.xcom> provided patch for
"mkpasswd -vo".
Gary Bliesener <gary.bliesener@nextel.xcom> noted that
multixterm failed on his system which had an old Tk that didn't
support the Tk package.
8/3/04 5.42.1 Removed beta designation.
Daniel A. Steffen <steffen@ics.mq.edu.xau> provided patch for
MacOS to avoid panic-redefinition.
7/6/04 5.42b0 Releasing as beta because nonblocking mode is a big change in
the code. http://expect.nist.gov/beta.tar.gz
Alexander Doktorovich <alexander.doktorovich@ericsson.xcom>
wanted to use Expect as a filter. This is possible but 'too
hard'. To make it easier, added close_on_eof command to
control whether expect/interact automatically close the
channel on eof. This should simplify/enable other scripts.
Kurt Heberlein <kurth@3pardata.xcom> noted that Expect would
hang. Andreas tracked it down to a change in Tcl such that
when Tcl had data left in its buffers, it would check for more
data rather than returning what it had to Expect first. If
no data was forthcoming then Tcl would hang because the pty
driver runs in blocked mode. Recoded to use nonblocking mode.
Yi Luo <yluo@brocade.xcom> noted that multixterm xterms were
reporting the parent's X window ids (via the WINDOWID env
variable) instead of the new ones.
Dick Van Deun <dirk@dinf.vub.ac.xbe> noted that kibitz expects
to find write in /bin but it is in /usr/bin on Slackware.
Seems safe to drop the prefix.
Steve Lee <steve@tuxsoft.xcom> noted that building Expect
failed on Linux when built from scratch because stty ends up
in /usr/local/bin rather than the assumed /bin. Added code to
support this.
4/20/04 5.41.0 Simon Taylor <simon@unisolve.com.xau> provided fix for
interact -o which was completely broken by 5.40.1.
4/6/04 5.40.1 Added scroll support to official tkterm. Copied all fixes
from/to term_expect to/from tkterm.
Kiran Madabhushi <maskiran@hotmail.xcom> encountered interact
diagnostics incorrectly pointing to expect_background. Also,
found multiple -o flags behaving unexpectedly. Added diag.
Kristoffer Eriksson <ske@pkmab.xse> noted typo in SIMPLE code
in exp_inter.c. However, this is extremely unlikely to affect
any machines.
Reinhard Max <max@suse.xcom> noted that "make test" failed when
run in the background. The log testcase was testing the
send_tty command. Added code in both Expect and in the test
to handle this.
1/30/04 5.40.0 Eric Raymond <esr@snark.thyrsus.xcom> provided troff-related
fixes for the expect, lib, and dislocate man pages.
Rich Kennedy <rickenne@cisco.xcom> noted a bug having to do
with our caching of whether we have registered a filehandler.
This broke when Tcl was setting a handler on the same file.
Ken Pizzini <ken.pizzini@explicate.xorg> provided patch for
leak in spawn error handling.
Pete Lancashire <plancashire@columbia.xcom> noted autopasswd
example broke on Solaris which capitalized prompts.
7/31/03 5.39.0 Poorva Gupta <poorva@cup.hp.xcom> noted that grantpt/unlockpt
order was backward. Strange that this was never a prob before!
Andreas Kupries <andreask@pliers.activestate.xcom> noted that
in exp_command.c, Tcl_GetChannelHandle expected a ClientData*,
but got an int*. sizeof(int) != sizeof(ClientData) on 64bit
platforms. Crashed the command on a PA-RISC 2.0 machine with
--enable-64bit set. Fix: Use temp. variables of type ClientData
to retrieve the fd's, and copy this into the actual variables,
with a cast to int.
More fixes from Andreas to sync this version with SF.
Fixed: exp_chan, weather, exp_main_tk.
Eric Raymond <esr@snark.thyrsus.xcom> provided a troff-related
fix for the multixterm man page.
7/29/03 5.38.4 Nicolas Roeser <n-roeser@gmx.xnet> noted confusion with md5 so
I made the Expect page more explicit about which file that hash
was based on.
7/11/03 5.38.3 Josh Purinton noted that earlier fix wasn't quite right. Exit
on INT/TERM should cause Expect to exit with signal embedded in
status. He also requested I obfuscate email addresses in this
file.
7/7/03 5.38.2 Guido Ostkamp <Guido.Ostkamp@t-online.xde> and Igor Sobrado
<sobrado@string1.ciencias.uniovi.xes> noted that fixline1
rewrote scripts to be expect scripts even if they were expectk
scripts.
5/27/03 5.38.1 Dirk Petera <dirkpetera@yahoo.xcom> noted that any_spawn_id
used to work but did no longer. Looks like a bug left over
from the the I18L conversion. Fixed.
Steve Szabo noted exp_log_file -open channel failed. Fixed.
Fixed bug from 5.31 that prevent stty from returning messages
from underlying program.
Thomas Dickey <dickey@herndon4.his.xcom> noted that ncurses
ignores 2-char term names because of, well, poor assumptions
and coding. Changed tkterm to use longer names.
Heath Moore <hmoore@systran.xcom> noted that exp_clib could
lock up if remtime happened to be precisely 0. Recoded to
avoid.
At request of Per Otterholm <otterholm@telia.xcom>, wrote
script to read from stdin and echo passwords (exercise 9 in Tk
chapter of Expect book). Added to example directory as
passwdprompt.
Josh Purinton <josh@purinton.xorg> pointed out that
by default, SIGINT/TERM should cause expect's return status to
be 1, not 0.
Paul Reithmuller <paul.reithmuller@eng.sun.xcom> noted that
unbuffer shouldn't postprocess its output. Added stty_init.
Mordechai T. Abzug <morty@sanctuary.arbutus.md.xus> noted that
log_file wasn't recording -append status.
James Kelly <macubergeek@comcast.xnet> noted weather example
needed new source.
Dimitar Haralanov <mitko@tahoenetworks.xcom> noted that
interact dumped core with interact { timeout 1 }
7/18/02 5.38.0 At request of Hugh Sasse <hgs@dmu.ac.xuk> added md5 hash of gz
to homepage.
Dave Schooler <dave@stashtea.xcom> reported that send -s wasn't
handling certains chars correctly. Turned out to be those
that had multibyte UTF8 reps. send -s was just pumping out
hunks of bytes without regard to UTF boundaries and evidentally
Tcl's I/O engine thought that it should translate a partial
UTF8 character into, uh, something else.
Curt Shroeder <c.schroeder@computer.xorg> fixed bug in rftp - a
a filename looked enough like a 3-digit diagnostic that the
script got confused.
4/16/02 5.37.2 Multixterm couldn't find man page all the time.
4/16/02 5.37.1 Made multixterm handle user-supplied args.
4/15/02 5.37.0 Added multixterm to example directory.
4/8/02 5.36.1 Backed out CONST qualifiers. Too much trouble with older
versions of Tcl. I'll let someone else worry about them.
4/8/02 5.36.0 Made first cut at multixterm, a replacement for crlogin.
Fixed bug in background handler. If an action waited on the
same spawn id, esPtr would become invalidated.
Ryan Schmidt <rschmidt@mac.xcom> noted configure didn't
recognize MacOS X. Downloaded new config.guess.
Andreas Kupries <andreask@activestate.xcom> provided CONST
patches to accomodate Tcl changes per TIP 27.
2/25/02 5.35.0 Joe Eggleston <joe@arbor.xnet> noted bug in full_buffer test.
The test hadn't been I18'd properly and was testing chars
instead of bytes. Also fixed diagnostics so it printed when
it was testing full buffer even if there wasn't one.
2/7/02 5.34.1 Bruce Hartweg <brhartweg@bigfoot.xcom> noted that direct spawn
ids were not being tested so something like "expect -i exp9999"
would dump core. Evidentally a bug from the 5.31 transition.
12/20/01 5.34.0 Don Porter <don.porter@nist.xgov> provided package-related
fixes for test suite.
Brian Theado <brian.theado@usa.xnet> noted that interact's -re
support broke when offsets kicked in. Turned out that the
regexp engine supports them during execution but the results
are delivered RELATIVE to the offset. (I suspect this was done
due to expediency.)
10/1/01 5.33.0 <mark@doradosoftware.xcom> found that expect's diagnostics
didn't include the "no" after testing for a full buffer.
Hemang Lavana <hlavana@cisco.xcom> noted that "debug" (Dbg_On)
calls didn't always force the debugger into step mode.
Martin Kammerhofer <dada@sbox.tugraz.xat> noted that the man
page neglected to document interpreter -eof.
Chris Clare <clarec@nortelnetworks.xcom> provided fix for
multiple decl in C lib.
Sheng Wang <wangs@sh.bel.alcatel.xbe> found interact's
can-match code had broken. It was missing the special hook
that Henry had added just for this purpose. How strange.
Dieter Fiebelkorn <dieter@fiebelkorn.xnet> requested addition
to config.guess for Power*Macintosh:Darwin for MacOSX.
Aside - to download latest config.guess:
cvs -d :pserver:anoncvs@subversions.gnu.org:/cvs co \
autoconf/config
Added pipeline example to unbuffer man page.
8/4/00 5.32.2 Allen J. Newton <anewton@alturia.fleet.xorg> provided code for
generating passwords with special characters in mkpasswd.
Brent Welch <welch@ajubasolutions.xcom> changed the fix1line
install script so that "autoexpect" and other scripts that
get installed into the platform-independent bin directory
generically invoke "expect" from the users PATH instead
of hardwiring the platform-specific expect pathname.
TclPro 1.4 released with 5.32.2 bundled.
7/13/00 5.32.1 Uwe Klein <uwe-klein@foni.xnet> reported segfaults from reading
nulls. Due to code rewrite in 5.30->5.31 transition.
5/14/00 5.32.0 New version for timing with Ajuba TclPro 1.4. This version
of Expect has no new features or behaviors but a lot has been
fixed since 5.31.0.
Martin Buchholz <martin@xemacs.xorg> noted that his
alphaev56-dec-osf4.0e has ptmx and ptmx_bsd (and ptm, pts,
pty, ptym). He suggested that BSD things are now usually
deprecated so to skip ptmx_bsd if ptmx avail.
Chang Li <changl@neatware.xcom> noted that debugger's bp cmd
broke on every command. Was a bug in breakpoint_trace from
when we installed the new regexp engine.
Jonathan Kamens fixed printf formats in several pty diags.
rm_nulls -d was set to wrong value.
5/12/00 5.31.8 After receiving yet another request for fully versioned
archives, gave in.
Signal handler sometimes sent error to stderr inappropriately.
4/27/00 5.31.7 Rob Savoye fixed Debian ptys and properly checking of libpt.
3/8/00 5.31.6 Petrus Vloet <petrus.vloet@siemens.xat> noted that Expect
installed tclRegexp.h which included regex.h which of course
misbehaves when it reads the system's version. This is new
since 8.0. Since I need to revise the Clib anyway (which
is what this install was for), I'll back this out for now.
3/6/00 5.31.5 Larry Virden noted that configure checked for threads twice.
2/19/00 5.31.4 Omer Azmon <oazmon@telsoft-solutions.xcom> note errors in
pty_termios.c in exp_pty_test that caused problems during
pty testing.
Jeffrey Hobbs recommended having configure accept and warn
about --enable-threads.
John Ellson <ellson@lucent.xcom> noted configure's autoconf
testing had leftover debugging code. Also provided a fix for
building w/shared libs on HP - appeared to be leftover from
earlier Tcl-required configuration that has now disappeared.
Susan Muston <smuston@crosskeys.xcom> noted that exp_wait with
no spawned processes exited immediately which is different
than 5.29 behavior which reported "no children". This new
behavior was evidentally a gratuitous change during the
channel driver addition. Backed out. At the same time,
neither behavior matches documentation - doc should be fixed
and improved except I'm not sure if the behavior should yet
be something else (depending if stdin closed or not).
istvan.nadas@epfl.ch reported "spawn cat;exp_open" failed.
Uninited variable.
Scriptics reported memory leak. Was bug in parse_expect_args.
"Michael P. Reilly" <arcege@shore.xnet> noted clib was hanging
in spawn code. status_pipe wasn't being closed.
Egil Kvaleberg <egil@kvaleberg.xno> provided fix due to new gcc
which defines strchr as a macro.
Dave Morrison <drmorris@corp.phone.xcom> noted some printfs
in exp_log.c that misinterpreted embedded %'s with resulting
core dumps.
Dick Goodwin <goodwin@qosnetics.xcom> noted that "system echo
foo" returned with no apparent effect. Due to closeonexec
in expect's channel driver. Added skip if std channel.
Fixed similar bug in stty command. Minor bug left in stty
which isn't passing output back from underlying exec.
Stacy W. Smith <stacy@ixc-comm.xcom> provided patch that uses
sigsetjmp instead of setjmp that he says fixes a problem he
encountered with C lib where it stopped timing out in expect()
as if the signals were corrupted. The man page doesn't
explain the difference between these calls in a way that makes
sense as to why they should make a difference, but I'll the
names are certainly suggestive so I'll try it. He says "it
appears that the linux setjmp behaves a little differently
compared to setjmp on some other OSs. Specifically, setjmp
on linux does not save the signal context. It seems most
BSDish OSs do save the signal context with setjmp. On those
machines, it appears setjmp(env) is equivalent to
sigsetjmp(env,1) whereas on linux, setjmp(env) is equivalent
to sigsetjmp(env,0). My patch made a (probably bad)
assumption that if siglongjmp() exists that we should use
the sigXXX versions. I specifically tested for siglongjmp
rather than sigsetjmp because on linux, sigsetjmp is just a
#define for __sigsetjmp. It appears that linux will give
the BSD behaviour if __FAVOR_BSD is defined, but I didn't
know what other implications that might have.
Michael Schumacher provided fix so that test for whether
configure was out-of-date worked when not using the default
build dir.
11/1/99 5.31.3 Shlomi Mahlab <shlomi@seagull.co.xil> noted all.tcl in CVS
but not distribution.
More notes from Keith Brown on HP cc complaints in exp_pty.c.
10/28/99 5.31.2 "Keith Brown" <surely@nortelnetworks.xcom> noted that HP cc
objected to auto aggregate initialization in
expLogChannelOpen.
10/22/99 5.31.1 Official release!
P Darcy Barnett <pdb@cam.nist.xgov> noted Makefile could
produce "autoconf not found" for non-developers using CVS.
Made configure detect and provide advice on workaround.
Fixed bug in interact -echo exhibited in rftp example.
Ryan Murray <rmurray@cyberhqz.xcom> noted Expect wasn't
handling handling 8-bit bytes correctly. I had accidentally
used Tcl_Write instead of Tcl_WriteChar.
Ashley Pittman <ashley@ilo.dec.xcom> noted that digital unix
V5.0 prefers openpty (4000 ptys) over ptmx (60 ptys), so I'm
reversing the login in pty_termios.c. This also controls
linux, but no linux hackers have weighed in on this subject
yet.
Andrew Tannenbaum <trb@world.std.xcom> noted exp_internal
command and "expect -exact" were broken.
6/29/99 5.31.0 See the NEWS file for this date for an overview. (I'm
too tired to add all the details. Maybe later.)
Fixed exp_clib so that it immediately reported failure of
exec (in spawn) rather than passing it back through pipe.
Removed error checking from ioctl(TIOCSCTTY) to pacify the
variety of (but not all) Linux systems and a few others which
define TIOCSCTTY but return an error although seem to work
anyway.
Added configure test for 0 vs 2-arg setpgrp.
Kenji Kamizono <kenji@math.columbia.xedu> noted it was possible
to compile Linux (2.2.5) so that it recognized both openpty
and ptmx leading to conflicts. I arbitrarily chose ptmx.
10/15/99 5.30.2 Herve Tireford <tdes46@email.sps.mot.xcom> noted extraneous
sleep(20) in clib. Apparently left over from debugging, oops.
8/18/99 5.30.1 Added test for newer versions of Tcl that are incompatible.
Kenji Kamizono <kenji@math.columbia.xedu> noted it was possible
to compile Linux (2.2.5) so that it recognized both openpty
and ptmx leading to conflicts. I arbitrarily chose ptmx.
4/1/99 5.30.0 Martin Forssen <maf@crt.xse> provided fix to allow configure
to start with LDFLAGS from environment.
Paul Tazzyman <Paul.Tazzyman@one.xat> noted that log_file
didn't check for logging twice without turning off logging
first.
Ben <spy@calvin.iconoclasm.xorg> provided updated host for
weather example.
Jonathon Kamens noted that Expect didn't build properly if
Tcl and/or Tk used build/install directories out of the usual
hierarchy. At the same time, I fixed a number of other related
problems in Makefile/configure.
Pierre Pomes <ppomes@it.marseille-innov.assoc.xfr> provided fix
to ftp-inband. It blew up from an unprotected send that
was handed a uuencoded line that started with a -.
Autoexpect was thrown off by simple-minded [file executable]
test picking up expect directory while searching for
executable.
1/21/99 5.29.0 Martin Forssen provides mods to support INSTALL_ROOT.
Bryan Surles <surles@scriptics.xcom> modified configure.in to
map DBGX to the same value as TCL_DBGX so the .so is named
correctly.
Suresh Sastry <suresh@scriptics.xcom> forced $LIBS to be
added to EXP_SHLIB_LD_LIBS. It's not clear to me why this is
necessary (since Tk doesn't) but he was having a problem
with openpty not being found during runtime on Linux.
Martin Forssen noted expectk was crashing if a Tcl error was
encountered. He found that exp_exit_handlers() was trying
to write into interp->result after interp had been deleted.
Added another copy to distribution site - with version number.
Stanislav Shalunov <shalunov@mccme.xru> closed race in pty
code.
Fixed man page: -brace should be -nobrace.
Dan O'Brien <dmobrien@lucent.xcom> noted that Expect needed to
call Tcl_FindExecutable at startup for info nameofexecutable.
Robbie Gilbert <rwg@nc.fnc.fujitsu.xcom> noted indirect spawn
ids occasionally failed. Fixed.
9/30/98 5.28.1 Brian France <franceb@fsj.co.xjp> noted that his compiler
rejected label with no statement.
9/28/98 5.28.0 Fixed two bugs in tcl-debugger (see that HISTORY file).
Submitted Expect documentation for official NIST review. At
their request, modified a couple things.
9/21/98 5.27.0 Added support for Tcl 8.0.3. Simple compiles already work
fine but exotic things break. In particular, Expect needed to
understand new TCL_DBGX feature. Massaged debugger interface
which was recently revised.
Karun Krishnaswamy <karun@transarc.xcom> noted that pine didn't
run in term_expect. The problem was that pine uses curses
(or terminfo) directly (!!) and insists on clear-to-eol (a
really dumb thing to insist on since it's so easily emulated).
bert@xpilot.org (Bert Gijsbers) (of xpilot fame) provided patch
to passmass to handle ssh protocol and explanation of how to
create new password entries.
6/15/98 5.26.1 Dean Sauder <dsauder@dcn.att.xcom> noted C-preprocessor lines in
configure must start in column 0.
5/18/98 5.26.0 Kevin Schleicher <kms@lucent.xcom> noted xkibitz leaves xterms
if first xterm is HUP'd. Kevin also noticed a resource leak
in dislocate. Both problems fixed.
Robbie Gilbert <rwg@fns.xcom> noted expect_devtty was logging
devtty (twice) to stdout. Fixed.
Added support inttypes.h, required on Solaris 5.6 for termios.h
Kristina <kristina@greatbasin.xnet> noted that tip failed when
spawned from a cgi script (BSDI BSD/OS 3.1 i386) because tip
didn't see a definition for SHELL and HOME. They need to be
set. (Doesn't have to be anything useful; the empty string is
fine!) Solution: documented this in Expect man page.
Zachariah Baum <zack@studioarchetype.xcom> noted that
config.sub didn't recognize Intel 686. Found a newer version
that did in autoconf-2.11.
POTENTIAL INCOMPATIBILITY: Changed interact so that it observes
parity while matching. It used to ignore parity. This impacts
people who use interact to connect through to a real serial
device that generates parity. If matches don't work, use the
exp_parity command. (This fix should have been made years ago,
when the exp_parity command was added. It is now absolutely
necessary now that people are doing matching with 8 bits.)
After the second occurrence of a system admin who broke grantpt
by removing setuid from the relevant system util, I added an
explicit test and explanation.
Disabled history in xkibitz. There seems to be some new
incestuous relationship between history and unknown now so that
redefining unknown leaves Tcl calling history but without
knowing what it is because it's never been defined (as it would
be by the traditional unknown).
Fixed quoting bug in passwd.cgi example.
9/28/97 5.25.0 Switched back to hand-generating pkgIndex.tcl file after too
many complaints about problems running pkg_mkIndex.
8/12/97 5.24.1 Chris Schanzle <chris@goof2.ncsl.nist.xgov> pointed out that
install fails on a virgin file system because install_shared_
lib depends on a directory that hasn't yet been created.
Larry Virden gave corrections to URLs in README.
8/21/97 5.24.0 Bo Johansson <bo.johansson@mbox2.swipnet.xse> noted TclWordEnd
had changed and provided fix. This caused crash in expect.
8/18/97 5.23.0 This version supports Tcl 8.0 and continues support for 7.6.
Refs to Tcl_Files dropped. inter_return and close became
obj cmds. Rewrote notifier (again) to accomodate new notifier
model. Lots of other miscellaneous tweaks. Also see debugger
HISTORY file.
Finally removed long-deprecated commands "continue -expect",
"send_spawn", and "getpid" and their exp_ versions.
Harold Brauer <harold.brauer@canada.cdev.xcom> reported problem
with an old SCO system (i386-unknown-sco3.2v5.0) that turned
out to be due to a typo in the configure script.
Jimmy Aitken supplied mods to config.guess for brand new and
very old Pyramid systems.
Buz Owen noted memory leak in use of expect_background (with
no args).
Jonathon Kamens noted provided patch for pty_termios.c for
modern Sequent (which ptmx).
Jonathon Kamens noted that TCL defined RANLIB for shared lib
(if --enabled-shared) which isn't appropriate when Expect tries
to build both shared and unshared libs.
Jonathon Kamens noted that shared lib config didn't work on
SunOS. I had used Tcl's SHLIB_SUFFIX instead of its
SHARED_LIB_SUFFIX.
Qingyi Liao <liao@casabyte.xcom> encountered core dump when
exp_bg -i $exp_spawn_any was retracted. Bug in ecmd_remove_fd.
Fixed a bunch of bugs in example/gethostbyaddr.
Josef Sachs noted that stty cannot be caught when no /dev/tty.
It calls exit instead of returning an error.
Gordon Chaffee <chaffee@plateau.CS.Berkeley.XEDU> patched
Exp_WaitCmd - it was zeroing pid element instead of wait.
Bob Manson <manson@cygnus.xcom> provided fix for HP on which it
was possible for timer to be mistakenly deleted in
exp_get_next_event while processing a pty open event.
Jeff Slonaker <JSlonaker@osc.uscg.xmil> noted that exp_poll.c
had wrong signature and poll had arguments out of order! That
would suggest that no one has ever used exp_poll.c before...
5.22.1 Larry Virden noted that TCL_BUILD_LIB_SPEC can't be used if
build directory has been removed. Added check to configure.
Worked more on package command. Buz Owen pointed out that my
code wouldn't support redefinition of TCL_LIBRARY. Bumped up
minor version to avoid package loading mishaps.
Nigel Standing <nigel@idiom.xcom> noted lack of C-u binding in
tkpasswd - must be due to change in tk4.2.
Forced env(SHELL) to be defined inside kibitz for when using
with CGI.
Charles Packer <packer@fermi.gsfc.nasa.xgov> noted that
CRAY-YMP needed sys/types.h in exp_console.c
Extra / when developing defn of TCL_LIBRARY. Shouldn't
actually cause any problems though.
2/3/97 5.22.0 Fixed package support - again. Sigh.
David Pasirstein <dpasirst@sun.cs.wcupa.xedu> noted that RedHat
Linux 2nd passwd prompt requires slightly different pattern -
modified mkpasswd and tkpasswd.
Toshiaki Nomura <nom@yk.fujitsu.co.xjp> provided patch to
config.guess for Fujitsu DS/90.
Roger Brooks <R.S.Brooks@liverpool.ac.xuk> noted C lib passed
argv[0] instead of file to first arg of execvp.
Cary D. Renzema <caryr@mxim.xcom> noted that a simple puts -nnl
might never appear - Expect closes all of its fds before Tcl
gets a chance to flush. Stdout is the obvious problem since
Expect thinks it can cavalierly close that too. Hmm.
At request of Tom Tromey, solved possible missing tclRegexp.h
problem by having Expect install it. Cleaned up TCLHDIR and
TCL_LIBRARY hackery in Makefile.
12/27/96 5.21.7 Nelson Beebe noted unset is not portable in /bin/sh. Removed
and converted everything to understand CONFIG_SHELL.
Modified cryptdir to strip out shell metachars from filenames.
12/10/96 5.21.6 Michael Schumacher noted that some systems cannot build
unshared libs from shared objects. Chose to go with BLT's
approach of building shared objs in separate shared directory.
Buz Owen <ado@bbn.xcom> noted that "package require Expect"
didn't work because it looked for Expect lib in the wrong
place (well, the "documented" place). The problem is that Tcl
insists libraries should be in the same directory as the
pkgIndex.tcl file while the natural thing to do would be to
split them up and put the .tcl file in the arch-indepent
app-specific scripts dir and the lib in the arch-dependent
common dir. Sigh. If this is ever fixed/changed, the
instructions in the Makefile should be fixed.
<Van.Trinh@siemenscom.xcom> noted that expect library name
exceed filename max on some systems - like his old SCO.
12/4/96 5.21.5 Michael Schumacher noted new configure wasn't passing on Tcl's
shared lib cflags.
10/26/96 5.21.4 Achyutram Bhamidipaty <ram@epic.xcom> ran into bugs in Expect's
file event handler which prevented expectk from entering
implied event loop. Also found one memory problem - thanks
to CenterLine.
Tom Tromey fixed handling of --enable-shared when overriding
Tcl's value et al. Tom also added missing "else true" to
Makefile: "In a Makefile, you have to always supply an "else"
clause for an "if", to work around a bug in certain versions of
sh. In some versions of sh, an "if" whose test fails will
return the status of the test if there is no "else" clause --
causing spurious make failures." See ChangeLog.
10/18/96 5.21.3 Example directory was missing several examples.
10/17/96 5.21.2 Debugger section of configure file corrupted.
10/10/96 5.21.1 Oops, distribution unpacked into wrong version.
Tom Tromey provided patch for stty to understand OSF 4.0.
9/28/96 5.21.0 Official Expect release for Tcl 7.5.
Junio Hamano <junio@twinsun.xcom> provided fixes for aclocal
for with_tcl/tkconfig.
Roger Billau <rfbilla@amtnet.sandia.xgov> noted that C library
didn't work on Solaris 2.5. Turns out Solaris requires fflush
be called between input and output operations on FILE pointers.
Lots of Cygnus mods - see ChangeLog.
Sid Cowles <scowles@incyte.xcom> and Hans Riethmann
<hans@F1.telekurs.xch> noted relative path specs of
tcl-includes (and others) caused debugger config to fail since
it is at a different directory level.
Al Snow <asnow@fuwutai.att.xcom> noted -C failed due to typo.
8/17/96 5.20b18 Andrew Rakowski <andrew.rakowski@nr.usu.xedu> noted no defn of
LIB_RUNTIME_DIR, a creation of Tcl7.5p1.
Tom Tromey added -v to Expect and -version to Expectk.
Ben Boule <bboule@xylogics.xcom> noted that Interactive (IUNIX)
requires 9 char max length after -l. Looks like squeezing out
the "." is sufficient. He also noted that IUNIX needs -Xp in
LIBS to find strftime. This test should really be done by Tcl.
8/12/96 5.20b17 Glen Biagioni <glen@prosoft.xcom> noted interact -re "A(xx)"
failed to match. Problem turned out to be that Tcl 7.5 changed
a constant which in the regexp code, which Expect didn't see
because it provides its own defn for interact. Alas, the one
thing Expect reuses from Tcl was where the change was. This
should really be fixed so Expect doesn't rely on Tcl in this
way, but there's no point in putting in a lot of work on regexp
when we're anticipating a new one soon anyway.
Bjorn S. Nilsson <nilsson@nbivms.nbi.xdk> noted fixcat hangs.
Turned out that new Tcl (7.5p1) now waits for all children to
disappear. But Expect still had a handle to a child. I added
an exit handler to close the connections before Tcl's exit
handler.
Tom Tromey provided patch to support augmenting CFLAGS on
Makefile invocation.
Gary Merinstein <gmerin@panix.xcom> noted that configure failed
on his linux unless it had --enabled-shared. Not quite sure
about how this can be, but the flag wasn't being passed to the
debugger's configure, so I've fixed that and hopefully this
will cure the original prob.
Added initial announcement of full version at beginning of
configure. This should ease my pain in responding to people
sending me config output without including version numbers.
Tom Tromey noted expect_cf.h was machine dependent. Fixed
expect_comm.h so that it no longer required expect_cf.h (which
should be renamed to indicate it is no longer public).
Bart Robinson <lomew@cs.utah.xedu> provides mods to support
openpty() in FreeBSD/NetBSD. Without openpty, Expect doesn't
see the full pty namespace (ptyX[0-v]).
7/15/96 5.20b16 Nathan Estey <nfe@the-hermes.xnet> noted that Makefile failed
on SunOS when shared libs were enabled due to incomplete dot
stripping in lib prefix.
7/6/96 5.20b15 Malcolm Tredinnick <malcolmt@geko.net.xau> noted that shared
lib has to be installed before building expect. Also noted
that ldconfig should be run on Linux 2.0 systems and maybe
others.
6/25/96 5.20b14 Tim Mooney provided fixes to obey --includedir and similar
configure conventions.
6/25/96 5.20b13 A bug when installing Expect using new _installed targets.
6/24/96 5.20b12 Numerous complaints from Solaris users about shared libraries.
Unfortunately, no one is giving me configure-ready fixes so
(and Tk's configure seems to have bugs as well) so fixing
these is like throwing darts.
Stan Brown <stanb@netcom.xcom> noted noidle example broke when
fed "-".
Gordon Irlam <gordoni@cygnus.xcom> noted typo in install-sh.
David Sheinberg <sheinb@bcmvision.neusc.bcm.tmc.xedu> noted no
args test for spawn -open/leaveopen.
Misc patches from Tim Mooney to pacify much of gcc -wall.
Kayvan Sylvan insists Linux stty reads from stdin so added
hardcoding to configure.in for that. In xkibitz, Linux stty
-raw didn't disable all post-processing. How odd that it is
not a problem in interact. In the meantime, added extra stty
to xkibitz to do what was missed.
5/30/96 5.20b11 Kayvan Sylvan <kayvan@sylvan.xcom> noted quoting bug in
autoexpect.
5/22/96 5.20.b10 Patches from Larry Virden in Makefile.in and exp_int.h
5/20/96 5.20.b9 Too many substitutions in configure caused sed failures on
DEC (limit 99) and HP (100). Commented out definitions
that weren't absolutely critical. Hopefully, this gets us
under the limit but can't be sure since there's no easy way
of knowing.
Numerous mods from Mark Diekhans to support clist-style ptys
on SCO OpenServer. (He says SVR4 ptys are broken on that
platform.)
Simon J. Gerraty <sjg@zen.void.oz.xau> says that write()
returns 0 inside of exact_write on SunOS. This is outside the
SunOS spec so of course we have no idea what's going on. So I
added code to try and recover from (or at least warn of) this.
Tom Tromey unified decls of errno to #includes.
5/13/96 5.20b8 Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.xedu> pointed out
backwards stty test - this would have corrupted every platform!
He also pointed out that alpha-dec-osf3.2 (3.2c) complained
too many args to sed. Someone earlier said similarly about
HPUX 10, but I assumed it was the quotes in the weird stty
flag I was passing, so that "fix" wasn't. GNU sed has no
problem, but obviously this is not sufficient for many people.
5/10/96 5.20b7 Renamed/numbered versions so that it's easier for others to
track.
Upgraded to autoconf 2.10.
Matthias Kurz <mk@baerlap.north.xde> noted Makefile problems
with final Tcl7.5.
Blair Zajac <blair@gps.caltech.xedu> noted configure mishandled
stty defaults on HP and shared lib must be installed executable
on HP.
autoconf insists on adding -O to CFLAGS when using gcc. Ack!
3/23/96 5.20b1 Beta release 1 of Expect for Tcl 7.5.
Michael Hunter <mphunter@qnx.xcom> provided misc mods for QNX.
Various people reported problems with IRIX. Removing from the
stty list fixed the problem. Similar problem with Solaris.
Added explicit close to autoexpect. Added a mechanism for
enabling conservative mode after script is generated.
Hal Schechner <hal-j@netusa.xnet> pointed out passwd.cgi must
meet passwd's requirement that it not be run by an unrelated
user. Easy enough - just do an su first.
3/26/96 5.20a5 Alpha release 5 of Expect for Tcl 7.5b3.
Added example passwd.{html,cgi} to change a password.
Many fixes from Stephen Williams <steve@icarus.xcom>
and Jonathon Kamens for Makefile and configure.
3/22/96 5.20a4 Alpha release 4 of Expect for Tcl 7.5b3.
Added version number to lib directories (POTENTIAL
INCOMPATIBILITY).
Revised gethostbyaddr example - evidentally hadn't worked for
some time!
Jan Nijtmans <nijtmans@nici.kun.xnl> provided pkgIndex.tcl.in.
Renamed Exp_Init to Expect_Init to support package cmd.
Provided #define so that Exp_Init will continue to work.
Revised exit handling so that it works if Expect is dynamically
loaded.
aclocal.m4 Patches from Tom Tromey.
3/15/96 5.20a3 Alpha release 3 of Expect for Tcl 7.5b3.
Edward Haletky <elh@astroarch.xcom> noted that Machten required
inclusion of types.h in exp_tty_in.h.
Added various patches from Rob Savoye. One incompatibility
is that the static lib now ends with the version number.
Added support for TCL_SHLIB_{LD_LIBS,VERSION} in Tcl b3.
Jonathan Karges <J.Karges@dkfz-heidelberg.xde> found that clib
was timing out immediately on -1.
3/6/96 5.20a2 Alpha release 2 of Expect for Tcl 7.5b2.
Leland Joseph <leland@tec.tetd.bellcore.xcom> noted
expect-tests.exp exceeds the 14 character filename length.
Added config.{sub,guess} to support AC_CANONICAL_....
Rewrote much of aclocal, configure.in, and Makefile.in
to handle Tcl/Tk config.sh files and shared/dl support.
Simplified varargs/stdarg mess for Expect's C library.
Threw away closetcl junk. No longer required because
Tcl finally started doing close-on-exec.
Incorporated various fixes from Tom Tromey at Cygnus.
See ChangeLog for details.
Added require/provide support.
Rejiggered event handling to support new Tcl_File interface.
Removed libexpectk. Because event loop was moved into Tcl, it
is no longer necessary for it to be different than libexpect.
Removed all support for earlier versions of Tcl and Tk.
Numerous misc patches from Paul Eggert <eggert@twinsun.xcom>
most to support Tcl 7.5.
Arnold Robbins supplied yet another patch to fix earlier
problem noted by Hume Smith.
David Engel <david@ods.xcom> reported problem with Linux
dumping core. CenterLine, of course, immediately found the
problem - uninit'd lowercase buffer.
Peter Haggerty <haggerty@borg.lib.vt.xedu> noted that his Next
died in cron. It seems that Next doesn't support O_NOCTTY
(even though the man pages says it does) and so during pty
testing, control terminal would get allocated and then kill
the process (by generating a HUP) when deallocated. Avoid
by ignoring HUP when doing pty testing on such machines.
1/3/96 5.19.0 Fixed bug that made expect report wrong string when using
a terminating anchor in a positive-length glob match,
reported by Graham L. Randall <grandall@nit.airtouch.xcom>.
Added rlogin-display to included examples. rlogin-display
automatically propagates your $DISPLAY when you rlogin.
Hume Smith <hclsmith@localhost.isisnet.xcom> noted problem
with day of the week calc at year end/start. Arnold Robbins
supplied fixes.
Jonathan Kamens provided fix to make sync byte reads
recover from EINTR.
Henry Spencer noted errant line of spaces in Makefile.
10/21/95 5.18.1 Began adding support for tcl7.5a1/tk4.1a1. (not finished!!)
- Make aclocal understand new Tcl/Tk directory layout
for finding tclInt.h and private libraries.
- Added support for Tcl_AsyncReady.
Paul Townsend <aab@aab.cc.purdue.xedu> noted that distclean did
not remove some config cruft. Also recommended unsetting
M*FLAGS that cause make called from configure to fail.
Various fixes from Cygnus. See Changelog.
Deleted "-" before rm in loop in deinstall in Makefile as per
Doug Claar <dclaar@hprtnyc.ptp.hp.xcom>. Doug also found prob
involving recent STTY fix. Symptom was that pty wasn't
correctly inited in cgi scripts on HPs - and Cray pty support
blew up entirely.
Added exp_ prefix to tests so that they can be run with other
extensions.
Seth Ornstein <pp001465@pop3.interramp.xcom> noted bug in the
way rftp detected symlinks.
Upgraded to autoconf 2.4. This fixes a bug in AC_PROC_CPP
which blew up when CPP was defined in the environment. Noted
by John Pfuntner.
Jonathan Kamens noted that library didn't check return pipe()
return value.
Added vrfy example.
Przemek Klosowski <przemek@rrdjazz.nist.xgov> Irix 6.0 fails
to use ptys that have been used by someone else. SGI admitted
this is a bug and the solution is to upgrade to 6.1.
Yoad Grinberg noted "expect -timeout" mistakenly ate next arg
as pattern.
8/24/95 5.18.0 Wayne Christopher noted that the way exp_eval_with_one_arg
modifies the original argv makes the ICEM Tcl compiler unhappy
so I rewrote it to avoid that.
Ian Zimmerman <itz@rahul.xnet> found that a braced arg list of
a single pattern beginning with a \n caused expect to reeval