home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
100-199
/
ff114.lzh
/
Vt100
/
fixes
/
amiga.10293
next >
Wrap
Text File
|
1987-11-22
|
2KB
|
66 lines
Article 10293 of comp.sys.amiga:
Path: mcdsun!noao!hao!ames!sdcsvax!ucsdhub!hp-sdd!hplabs!cae780!tektronix!tekgen!tekred!joels
From: joels@tekred.TEK.COM (Joel Swank)
Newsgroups: comp.sys.amiga
Subject: Vt100 bug: Squished, and more
Message-ID: <1811@tekred.TEK.COM>
Date: 9 Nov 87 21:59:25 GMT
Distribution: na
Organization: Tektronix Inc., Beaverton, Or.
Lines: 52
From VT100 V2.7 readme:
- Nagging bug: On 2nd and subsequent uses of the requester, the
1st character of the last use is redisplayed. Intuition bug?
I got tired of this sucker last weekend, so I tracked it down and
squished it.
The Answer:
In window.c subroutine req() change:
/* copy in a prompt and a default */
strncpy(Prompt,prmpt,lprmpt); Prompt[lprmpt+1] = '\0';
strncpy(InpBuf,name,lname); InpBuf[lname+1] = '\0';
To:
/* copy in a prompt and a default */
strncpy(Prompt,prmpt,lprmpt); Prompt[lprmpt] = '\0';
strncpy(InpBuf,name,lname); InpBuf[lname] = '\0';
This bug also caused the Prompt field to get munged.
Another irritation with this program:
- req() subroutine in window.c leaves keyboard active in requestor
window. It should re-activate main window.
Add as the last statement in subroutine req() in window.c:
ActivateWindow(mywindow);
There a couple of other places that this call should be added, but
I haven't tracked them down yet. This takes care of the great majority.
There's another addition I needed, so I put it in while I was in there:
In order to have a beep at completion of kermit file transfer.
In vt100.c add a copy of the the statement:
cmd_beep();
After each of the following statements:
multi_xfer(name,dokreceive,0);
multi_xfer("",dokreceive,0);
multi_xfer(name,doksend,1);
A better solution would to be to add a flag that could be set in the
init file that would turn on or off beeps for all xfers, and code to
check the flag and do the cmd_beep in multi_xfer.
Joel Swank
Tektronix, Redmond, Oregon
joels@tekred.TEK.COM