head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.54 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.52 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.50 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.48 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.46 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.44 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.42 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.40 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.38 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.36 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.34 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.32 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.30 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.28 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.26 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.24 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.22 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.20 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.18 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.16 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.14 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.12 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.10 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 buildlink2-base:1.4 netbsd-1-5-PATCH001:1.2 netbsd-1-5-RELEASE:1.1.1.1 netbsd-1-4-PATCH003:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2001.11.01.00.25.16; author zuntum; state dead; branches; next 1.3; 1.3 date 2001.10.24.23.40.02; author jwise; state Exp; branches; next 1.2; 1.2 date 2001.01.04.15.10.47; author agc; state Exp; branches; next 1.1; 1.1 date 2000.09.05.16.20.30; author jwise; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2000.09.05.16.20.30; author jwise; state Exp; branches; next ; desc @@ 1.4 log @Move pkg/ files into package's toplevel directory @ text @@@comment $NetBSD: PLIST,v 1.3 2001/10/24 23:40:02 jwise Exp $ bin/expect include/expect.h include/expect_comm.h include/expect_tcl.h include/tcldbg.h lib/tcl/expect5.33/pkgIndex.tcl lib/libexpect533.a lib/libexpect533.la lib/libexpect533.so lib/libexpect533.so.1 lib/libexpect533.so.1.0 man/man1/expect.1.gz man/man3/libexpect.3.gz share/examples/tcl/expect/autoexpect share/examples/tcl/expect/autoexpect.1 share/examples/tcl/expect/autopasswd share/examples/tcl/expect/cryptdir share/examples/tcl/expect/cryptdir.1 share/examples/tcl/expect/decryptdir share/examples/tcl/expect/decryptdir.1 share/examples/tcl/expect/dislocate share/examples/tcl/expect/dislocate.1 share/examples/tcl/expect/ftp-rfc share/examples/tcl/expect/kibitz share/examples/tcl/expect/kibitz.1 share/examples/tcl/expect/lpunlock share/examples/tcl/expect/mkpasswd share/examples/tcl/expect/mkpasswd.1 share/examples/tcl/expect/passmass share/examples/tcl/expect/passmass.1 share/examples/tcl/expect/rftp share/examples/tcl/expect/rlogin-cwd share/examples/tcl/expect/timed-read share/examples/tcl/expect/timed-run share/examples/tcl/expect/tknewsbiff share/examples/tcl/expect/tknewsbiff.1 share/examples/tcl/expect/tkpasswd share/examples/tcl/expect/unbuffer share/examples/tcl/expect/unbuffer.1 share/examples/tcl/expect/weather share/examples/tcl/expect/xkibitz share/examples/tcl/expect/xkibitz.1 share/examples/tcl/expect/xpstat @@dirrm lib/tcl/expect5.33 @@dirrm share/examples/tcl/expect @ 1.3 log @Update the tcl-expect packages to be based on expect-5.33. Changes from 5.32.1 (the last pkgsrc version): 10/1/01 5.33.0 found that expect's diagnostics didn't include the "no" after testing for a full buffer. Hemang Lavana noted that "debug" (Dbg_On) calls didn't always force the debugger into step mode. Martin Kammerhofer noted that the man page neglected to document interpreter -eof. Chris Clare provided fix for multiple decl in C lib. Sheng Wang 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 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 checkout \ config Added pipeline example to unbuffer man page. 8/4/00 5.32.2 Allen J. Newton provided code for generating passwords with special characters in mkpasswd. Brent Welch 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. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.2 2001/01/04 15:10:47 agc Exp $ @ 1.2 log @ The way that shared objects were handled in the PLISTs and bsd.pkg.mk was out of date - it was based on a.out OBJECT_FMT, and added entries in the generated PLISTs to reflect the symlinks that ELF packages uses. It also tried to be clever, and removed and recreated any symbolic links that were created, which has resulted in some fun, especially with packages which use dlopen(3) to load modules. Some recent changes to our ld.so to bring it more into line with other Operating Systems also exposed some cracks. + Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain the ELF symlinks. + Don't mess about with file system entries when handling shared objects in bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will have got it right, and have a much better idea than we do. + Modify PLISTs to contain "ELF symlinks" + On a.out platforms, delete any "ELF symlinks" from the generated PLISTs + On ELF platforms, no extra processing needs to be done in bsd.pkg.mk + Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on a.out platforms + Update the documentation in Packages.txt With many thanks to Thomas Klausner for keeping me honest with this. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.1.1.1 2000/09/05 16:20:30 jwise Exp $ d7 6 a12 6 lib/tcl/expect5.32/pkgIndex.tcl lib/libexpect532.a lib/libexpect532.la lib/libexpect532.so lib/libexpect532.so.1 lib/libexpect532.so.1.0 d45 1 a45 1 @@dirrm lib/tcl/expect5.32 @ 1.1 log @Initial revision @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.6 1998/07/15 11:46:32 agc Exp $ d10 2 @ 1.1.1.1 log @Initial import of tcl-expect-5.32.1, the tcl half of the new expect packages. Changes to the expect package since expect-5.25: * This package is now split into two packages, tcl-expect, and tk-expect. tcl-expect can be installed on systems without X11 (and by extension, without tk). * the copious expect examples and their man pages are now installed into ${PREFIX}/share/examples/tcl/expect instead of into ${PREFIX}/bin and ${PREFIX}/man. If any of them are determined to be worth separate use, they should be split out into a separate package. Changes to expect itself since expect-5.25: ** SUMMARY Expect 5.31 now works with Tcl 8.2. Expect 5.31 does NOT work with prior releases of Tcl. Thanks to an incredible amount of work by Scott Stanton, Henry Spencer, Melissa Hirschl, and funding from Scriptics for making this possible. ** NEW FEATURES What? You mean that working with Tcl 8.2 isn't enough????? Expect supports Tcl's new regexp engine. Expect supports null bytes in strings directly. (You no longer have to use the "null" keyword to send or match nulls. Of course, the "null" keyword will continue to be supported.) Null removal (on input) is still enabled by default since nulls are almost never intended for end-user consumption in interactive dialogues. ** CHANGES IN BEHAVIOR (POTENTIAL INCOMPATIBILITIES) The interpreter command used to exit upon eof. Now it uses "-eof script" to control this behavior. The default behavior is to return. (This change was required because Expect now gives control to Tcl upon exit and Tcl waits (potentially forever) for all processes to die on exit.) Explicit calls to interpreter are almost non-existent. However, you should look for *implicit* calls via interact commands with a pattern but no action. This required changes in the examples: dislocate, dvorak, kibitz, and xkibitz. Indirect variables can no longer start with "exp". Such variables will be interpreted as channel names. Old-style regexps may need conversion. If you have been protecting regexps containing backslashes with {}, then you need to examine all your backslashes since the new regexp engine interprets backslash sequences (such as \n) itself. For example: expect "\n" (works the same in Tcl 8.0 and 8.1) expect {\n} (works differently in Tcl 8.0 and 8.1) Scriptics has also created a new-regexp-features page which you should read: http://www.scriptics.com/support/howto/regexp81.html. Some of the new features allow much more efficient regexps than before. For example, non-greedy quantifiers can replace [split] looping constructions with a single regexp, enabling Tcl to parse very efficiently. For the whole story, read the re_syntax man page. The interact command's regexp matching no longer skips nulls. (I'd be surprised if anyone misses this. At least I hope ....) Expect's C library now reports failures in spawn's underlying exec directly (by returning -1) rather than the way it used to (as data in the pty). This makes user code more robust. However, it requires you to simplify your code, alas. See the chesslib.c example. Linking with Expect's C library no longer requires the Tcl library (unless, of course, you make Tcl calls yourself). Tcl is still required to build the library in the first place, however. ** CHANGES IN BEHAVIOR (SHOULD NOT CAUSE INCOMPATIBILITIES) The match_max command now controls by bytes, not chars. This won't cause problems unless your existing scripts are interacting using sizeable chunks of multibyte characters. (If you don't know what I'm talking about, ignore this.) The Make/configure suite now corresponds to the TEA conventions (at least in theory; the conventions are changing regularly so it's hard to be less vague on this point). Significantly, this means that you should be able to use the same configure flags as when compiling Tcl or any other TEA-compatible extension. (See the INSTALL file.) The values of special variables such as exp_spawn_id_any have changed. (The values were never documented so you shouldn't have been using them anyway.) Spawn ids now appear as "exp...". (They used to be small integers.) Do not assume that spawn ids will continue to be represented in any particular way (other than unique strings). ** OTHER NOTES Expect uses channels. There is an Expect channel type. It is possible to use Tcl's channel commands, such as fconfigure, to change the encoding. However, Expect layers its own buffering system on top of Tcl's channel handler so don't expect intuitive behavior when using commands such as gets and puts. Unless you know what you're doing, I recommend manipulating the Expect channels only with the expect commands. Some effort was made to make Expect support threads, however it is not complete. You can compile Expect with threads enabled but don't run Expect in multiple threads just yet. So much code has changed, there are bound to be bugs in dark corners. Please let me know of such cases. The best response will come by supplying a simple test case that can be added to Expect's test suite. In places where the behavior of Expect was not precisely documented, full advantage was taken to do something different :-) Several esoteric bugs were fixed. Although Expect itself uses Henry Spencer's new regexp engine, Expect's C library still uses his original regexp engine. No testing has been done of the poll and non-event subsystems. (These are used on systems which don't support select on ptys or ttys. Some minor work needs to be done on them (because the event subsystem was rewritten) which I'll probably do only if anyone requests it. Many deprecated features (deprecated for many years!) have been removed. All such features were deprecated prior to Exploring Expect so if that's how you learned Expect, you have nothing to worry about. For example, Expect's getpid command predates Tcl's pid command and it's been deprecated for, oh.... 6 years - wow! Other deprecated features include: expect -timestamp (flag only; behavior itself was removed years ago) expect -iwrite (flag only; behavior occurs all the time) expect_version (use "exp_version" command) expect_library (use "exp_library" global variable) interact -eof (use "eof" keyword) interact -timeout (use "timeout" keyword) interact -timestamp (use "clock" command) getpid (use "pid" command) system stty (use "stty" command) With this release, the following are deprecated: timestamp (use "clock" command) debugger (use a different one; there are very nice replacements around. Fortunately the Expect debugger is not something anyone is wiring into their scripts, so for now, consider it on the endangered species list. Anyone still want this debugger?) From now on, the most current snapshots of Expect will be found in the Scriptics CVS repository. Not all snapshots are official releases. For more, see the ChangeLog file in the expect distribution. @ text @@