From: Rogaski, M. A. <ro...@at...> - 2002-12-03 17:19:02
|
: From: Austin Schutz [mailto:te...@of...] :=20 : On Tue, Dec 03, 2002 at 01:35:53PM -0200, Paulo Roberto wrote: : > Hi, i=B4m from Brazil, and i try make interface program (with=20 : terminal 3270) to web... : >=20 : > I have so problem, may someone could help me.... : >=20 : > I need execute e send commands to program, and pick up the=20 : screen and show to user in web... : > Execute i can, but pick up the screen and send command i don=B4t = know : > Down have the script ... :=20 : Try setting $Expect::Exp_Internal and $Expect::Debug=20 : and see if those : help show why it's not matching 'data: .*'. It may be, if=20 : it's a curses client, : that it doesn't actually print 'data: ' each time it puts new=20 : data on the : screen. :=20 I've worked with another control-character-happy interface, too. What I = usually do is use the UNIX 'script' utility to capture a manual session, = then I examine the captured data in 'less' (a recent, 8-bit capable = release) or with 'cat -vAT' to figure out what sort of junk is being = inserted in the text I'm trying to match. Mark -- [] Mark Rogaski "Computers save time like=20 [] AT&T Frame Relay Service kudzu prevents soil erosion" [] email: ro...@at... -- Al Castanoli [] voice: 732-885-7534 fax: 732-885-7699 [] pager: 888-858-7243 pin 200853 or 20...@pa...=20 |