File History

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History of exp_command.h

* exp_main_sub.c: Updated EXP_VERSION to 5.45.1 * configure, configure.in: Updated expect to version 5.45.1 * exp_chan.c: Applied patch sent in by Ogawa Hirofumi <hirofumi@mail.parknet.co.jp>. The patch fixes a problem when talking a tty where the writer has died. Some operating systems report the condition as EIO with nothing read, while this actually an EOF. Without the patch the returned data is incomplete due to the error reported immediately and dropping data in buffers. * exp_chan.c: [Bug 3526461]: Applied patch by Michael Cleverly <cleverly@users.sourceforge.net> fixing a problem with the iteration over the expect channel list where the loop code may modify the list, breaking the iterator. * exp_chan.c: [Bug 3526707]: Applied patch by Michael Cleverly * exp_command.h: <cleverly@users.sourceforge.net> fixing problem * expect.c: with an insufficient test for a lost channel in exp_background_channelhandler. file: [8e23291a59] check-in: [bfc8076f3c] user: andreas_kupries branch: trunk, size: 13612
more ANSIfications file: [af2e19c94a] check-in: [db3d6db8b3] user: eee branch: trunk, size: 12734
ANSIfication changes. file: [8013db6e7e] check-in: [7261e72970] user: eee branch: trunk, size: 12734
WHITESPACE CHANGES ONLY. I removed a number of form-feed characters that had been littered about the source code. file: [9ffe1179dd] check-in: [427e90617d] user: eee branch: trunk, size: 13531
* configure.in: Bumped version to * configure: Regen'd, autoconf 2.59. * The following set of changes was sent our way by Reinhard Max <max@tclers.tk>. * exp_command.c: Fixed more compiler warnings, and started * exp_command.h: to ansify the code base, beginning with * exp_inter.c: the introduction of proper function prototypes. * exp_main_exp.c: * exp_pty.h: * exp_tty.c: * exp_tty.h: * exp_win.c: * expect.c: * pty_termios.c: * retoglob.c: file: [045ab2599c] check-in: [e37bec9cc7] user: andreas_kupries branch: trunk, size: 13532
* exp_chan.c: Converted the buffering system from UTF-8 in Tcl_Obj * exp_command.h: to UTF-16 C-array, to avoid the repeated conversion * expect.c: of the input from utf-8 to utf-16. Updated the glob * exp_glob.c: matching code to use the same tricks for speed which * exp_inter.c: are used by the Tcl core. Extended the regexp * exp_log.c: matching path with a glob matcher which uses a gate * exp_log.h: keeper glob pattern to weed out most non-candidates * retoglob.c (New file): in a speedy manner. Regexp matching now has to be done only for the small number of candidates identified by the gate keeper. Overall speed improvement as glob matching is faster than regexp matching. Added code translating regular expressions into their gate keeper glob pattern. file: [688e1d9346] check-in: [b236a54f31] user: andreas_kupries branch: trunk, size: 13473
* exp_chan.c: Fixed bug causing crash of expect on exit when a * exp_command.c: Tcl channel is used with -(leave)open more than * exp_command.h: once. It tried to close such channels multiple times, going through already freed memory. Added data structures to track and refcount all such channels, to close them only when the last user goes away. file: [4615df8c0e] check-in: [cce8bca8e2] user: andreas_kupries branch: trunk, size: 12838
* Merged changes from the official versions 5.42.1 and 5.43.0 of expect into the SF sources. See the details below. -------------------- 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 Peterson <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. Removed beta designation. Daniel A. Steffen <steffen@ics.mq.edu.xau> provided patch for MacOS to avoid panic-redefinition. -------------------- file: [530433f082] check-in: [a4ce3c033f] user: andreas_kupries branch: trunk, size: 12649
* Merged changes from the official version 5.42b0 of expect into the SF sources. See details below (In the ChangeLog). file: [23005da41e] check-in: [51b6a4242b] user: andreas_kupries branch: trunk, size: 12554
* Merged changes from the official version 5.40 of expect into the SF sources. See details below. Partially already done (Rich Kennedy's patch). -------------------- 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. -------------------- file: [a53aeede4c] check-in: [79aeec465b] user: andreas_kupries branch: trunk, size: 12374
* Merged changes from the official version 5.39 of expect into the SF sources. See details below. Partially already done. -------------------- Poorva Gupta <poorva@cup.hp.xcom> noted that grantpt/unlockpt order was backward. Strange that this was never a prob before! Eric Raymond <esr@snark.thyrsus.xcom> provided a troff-related fix for the multixterm man page. 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. 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. 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. 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 } -------------------- file: [2a122b534e] check-in: [676ad4907d] user: andreas_kupries branch: trunk, size: 12089
* configure.in: Made expect aware of tcl stubs. Derived from the * exp_command.h: patches to expect done by Steve Landers * exp_command.c: <stevel@digital-smarties.com>. Modifications: * exp_main_sub.c No global cmdinfo structures for 'close' and * exp_main_exp.c: 'return'. Made this per-interpreter information * exp_main_tk.c: as it should be. Using interp assoc data for this. NOTE: stubs is not default, but has to be activated via '--enable-stubs'. * configure: Regenerated. file: [6bc53d4ce9] check-in: [9080bccfc6] user: andreas_kupries branch: trunk, size: 12086
Andreas Kupries mods to provide CONST support per TIP 27. file: [5bdad7e2c7] check-in: [64a314a49a] user: libes branch: trunk, size: 11996
* Applied patch for SF #514590 to correct behaviour of expect when expecting and send from and to bogus spawn id's. file: [3e9134f895] check-in: [0068d605cc] user: andreas_kupries branch: expect-sf418892-sf439042-branch, size: 11984
Made exp_wait with no spawned processes behave like in 5.29 - see HISTORY. file: [0245afce81] check-in: [dc693e4dd3] user: libes branch: trunk, size: 11985
Fixed Expect's standalone C library and examples. This required some changes to Expect since it and the library share some things. file: [bfee248554] check-in: [4393c392d5] user: libes branch: master-UNNAMED-BRANCH, size: 11987
exp_chan.c: Fixed incompatible type assignment in expWaitOnOne() exp_command.h: Now includes <tclPort.h> instead of ../unix/tclUnixPort.h Other files touched but not changed. file: [c49e3e8754] check-in: [136bdddb56] user: wart branch: master-UNNAMED-BRANCH, size: 11915
fixes throughout code but all tests and examples finally run see NEWS file for summary file: [ab6b38288b] check-in: [f7e72007fa] user: libes branch: master-UNNAMED-BRANCH, size: 11927
Fixed interact's -input/-output. More fixes to exp_eval_with_one_arg. Now runs dislocate. file: [b98bf3f3c7] check-in: [0904536911] user: libes branch: master-UNNAMED-BRANCH, size: 11619
Fixed: expect command's arg handling to work (like interact) spawn -open expect eof and various other bugs. Expect now runs its minimal test suite (but not the examples). file: [3ce21487c5] check-in: [52b9167573] user: libes branch: master-UNNAMED-BRANCH, size: 11444
compiled! file: [9aa0738d93] check-in: [45350b762d] user: don branch: master-UNNAMED-BRANCH, size: 11063
Checkpoint file: [52c8fbf4e1] check-in: [2943576409] user: don branch: master-UNNAMED-BRANCH, size: 12532
making expect.c compile file: [0ecccb8e13] check-in: [020744c864] user: don branch: master-UNNAMED-BRANCH, size: 11960
made stuff compile file: [9c201d09d8] check-in: [c10b879c97] user: don branch: master-UNNAMED-BRANCH, size: 11937
fixed Log/Diag and ExpectCmd file: [ab53f12159] check-in: [123d22d566] user: don branch: master-UNNAMED-BRANCH, size: 11875
got rid of remaining references to exp_fs and friends and exp_update_masters file: [65175e0550] check-in: [38035ef0b7] user: don branch: master-UNNAMED-BRANCH, size: 12347
modified expect command to use new regexp interfaces, made various I18N changes file: [7f38b1cff4] check-in: [830f1ec7fe] user: stanton branch: master-UNNAMED-BRANCH, size: 12347
Added Exp channel driver and modified rest to support it. file: [7e338c5274] check-in: [28941cd7fd] user: don branch: master-UNNAMED-BRANCH, size: 12343
Initial 8.1 changes. file: [8ba3de7868] check-in: [ccd6fc80e5] user: libes branch: master-UNNAMED-BRANCH, size: 10829
*** empty log message *** file: [5443c9c5ce] check-in: [c9cbab5472] user: cvsadmin branch: trunk, size: 11560 Added