Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!apple!amdahl!pccuts!acs From: acs@pccuts.pcc.amdahl.com (Tony Sumrall) Newsgroups: comp.sys.amiga Subject: Re: VT100 v2.9 problems. Message-ID: <842@pccuts.pcc.amdahl.com> Date: 31 Oct 89 00:26:11 GMT References: <7286@sdcsvax.UCSD.Edu> <125@tw-rnd.SanDiego.NCR.COM> Reply-To: acs@pccuts.pcc.amdahl.com (Tony Sumrall) Distribution: usa Organization: Amdahl Corporation, Sunnyvale CA Lines: 41 In article <125@tw-rnd.SanDiego.NCR.COM> johnl@tw-rnd.SanDiego.NCR.COM (John Lindwall) writes: >I've had some little problems. When I do an upload (Xmodem CRC) the byte count >wraps around to negatives. I suppose I should get the source and recompile >it with long ints. Also, some scripts don't seem to work the same. I connected >to Melvyl at UCSD, and instead of clearing the screen it would print ]1]2 - >but I'm not sure if melvyl is to blame or vt100. The file-size problem is, I suppose, a *real* bug. I'll try to remember to fix it in the next release. Scripts may not work the same if you use ON or WAIT commands. The way that VT100 handles scripts is not too intuitive in some cases. You see, VT100 doesn't process a script file from start to finish. Instead, it processes one script command then loops back to wait for data from the serial port (amongst other things). The next script command (aside from those executed as the result of matching an ON string) is not executed until after VT100 has processed the events that woke it up from its Wait() call. I'm working on a patch which will cause the script commands to be executed until a DELAY or a WAIT command is encountered -- this seems to match everyone's expectations of how it should work. If you have a counter-proposal or can foresee problems in handling scripts in this way, PLEASE send me e-mail. WRT printing "[1[2", what I have seen from folks so far lead me to believe that they have mismatched parity when connecting to their host (e.g. VT100 is using PARITY NONE but their host is using PARITY EVEN). If your situation is different from this PLEASE e-mail. >PS How do you enable the external Zmodem protocol? You need to include an EXTERNAL command in your vt100.init (take a look at the one provided with the VT100 archive) and put the rz and sz commands into a directory in your path (the external protocols are invoked via Execute(). >John Lindwall johnl@tw-rnd.SanDiego.NCR.COM > "Above opinions are my own, not my employer's" --- Tony Sumrall author of VT100 2.9 (and 2.8a and 2.8 and...) acs@pccuts.pcc.amdahl.com <=> amdahl!pccuts!acs [ Opinions expressed herein are the author's and should not be construed to reflect the views of Amdahl Corp. ]