######################################################################
# File Name: chat2.example.tchrist # File Size in BYTES: 2396 # Sender/Author/Poster: Tom Christiansen# Subject: Re: Help: chat2.pl # Archived: Apr 29 02:16 1994 # # :>:Does anyone know why $output is being set to NULL in the following line of # :>:&chat'expect($handle,30,'(.*)','$output=$1;print $output."\n"'); # :>You want to use $& instead of $1. # Here's an example of a little chat2 client I wrote for my perl #
######################################################################
An additional open routine for chat2.pl
# File Name: chat2.open_duphandle.patch # File Size in BYTES: 2143 # Sender/Author/Poster: dov@menora.weizmann.ac.il (Dov Grobgeld) # Subject: An additional open routine for chat2.pl # Archived: Apr 29 02:16 1994 # # Here is a suggestion for an additional open routine for the chat2.pl # library. It duplicates a user file handle to make it conform to the chat # format. This makes it possible to use chat2 together with programs that # duplicates stdin and stdout for their own input, e.g. the ~C option of #
######################################################################
# File Name: chat2.pty.fix # File Size in BYTES: 4220 # Sender/Author/Poster: paul@alantec.com (G. Paul Ziemba) # Subject: Re: Problem with passwd # Archived: Apr 29 02:16 1994 # # >[chat2 doesn't seem to give exec-ed program a tty] # >Does anyone know what I'm missing? What changes to chat2 will solve this # >little problem? #
######################################################################
Re: Getting perl to do a telnet
# File Name: chat2.examp # File Size in BYTES: 3341 # Sender/Author/Poster: mkgray@athena.mit.edu (Matthew K Gray) # Subject: Re: Getting perl to do a telnet # Archived: Apr 6 1993 # # The easiest way to do this is probably with the chat2.pl package. # Here is a sample of using chat2.pl that retrieves info from the geographical # name server: #
######################################################################
Simple patch for chat2.pl for multi-interfaced hosts
# File Name: chat2.patch.multi.interface.host # File Size in BYTES: 1519 # Sender/Author/Poster: timbo@ig.co.uk (Tim Bunce) # Subject: Simple patch for chat2.pl for multi-interfaced hosts # Archived: Aug 14 1993 # # I started using chat2.pl recently but found that it would not work # correctly across one of our dial-up PPP interfaces (using ftplib.pl). # The following very simple patch does not change the default behaviour # but adds a function that can be used to select an alternate origin # name and address. #
Comments, suggestions, or criticisms on this archive to <wjm@metronet.com> #