[comp.sys.apple2] kermit on the GS

carlitz@unix.cis.pitt.edu (Robert D. Carlitz) (10/18/90)

After several days of reading the kermit documentation and experimenting
with various machines, I would like to know if the problem I have solved
is a real one - and if the solution I have found is the only
possibility.  Here's the problem:  I'm running Kermit 3.86 on an Apple
IIGS in VT-100 emulation mode.  When the IIGS receives a BEL character
(CNTRL-G or \007), it drops several of the characters which follow.  The
louder the bell, the more characters that get dropped.  An immediate
symptom (for those of you who may have had a similar experience) is that
when I start up EDT on a VMS system to edit a new file, the bell rings
and only a fraction of the warning "file does not exist" gets displayed
on the screen.  The solution:  use the Control Panel to turn the volume
off, so that only a "visual bell" or screen flash is employed.  Now no
characters are lost, and everything works just fine.  On an Apple IIe
there is no problem of this sort.  Have I missed something obvious in
the operation of the IIGS?  Is this a familiar problem with programs
using the bell on this machine?  Have I made some obvious configuration
error?  I was surprised to find no mention of this problem in the kermit
documentation.  In fact, I suspect I have overlooked something simple
and obvious (or obvious to those to whom it is obvious - certainly not
to me).

Thanks,
Bob Carlitz - carlitz@unix.cis.pitt.edu

alfter@uns-helios.nevada.edu (SCOTT ALFTER) (10/19/90)

My guess (as someone who doesn't have a GS, but who has been working on a
terminal program) is that the GS bell kills interrupts.  Kermit relies on
interrupts to tell it when a character has arrived from the remote system.  If
the firmware shuts off interrupts, any characters that arrive will be lost.

The IIe bell, on the other hand, doesn't turn off interrupts.  You will notice,
though, that the bell sounds a bit different if a bunch of characters keep 
coming in after the bell--the pitch is lowered, and the bell may sound
scratchy.  This is the result of the terminal program's interrupt daemon
kicking in while the bell is dinging.

-----------------------------------------------------------------------------
Scott Alfter                             _/_
                                        / v \ Apple II:
Internet: alfter@uns-helios.nevada.edu (    ( the power to be your best!
   GEnie: S.ALFTER                      \_^_/

toddpw@tybalt.caltech.edu (Todd P. Whitesel) (10/19/90)

The GS BELL routine turns off interrupts, diabling serial port receiving
until the bell is over.

I use an init that patches the bell vector so it acts just like the
original bell and allows interrupts. Appletalk, however, can't avoid
dropping characters during long packets, so I don't use the GS for serial
communications. (I use the //+ and my own studly little terminal program.)

Todd Whitesel
toddpw @ tybalt.caltech.edu

MQUINN@UTCVM.BITNET (10/19/90)

On Thu, 18 Oct 90 16:58:55 GMT <info-apple-request@APPLE.COM> said:
>possibility.  Here's the problem:  I'm running Kermit 3.86 on an Apple
>IIGS in VT-100 emulation mode.  When the IIGS receives a BEL character
>(CNTRL-G or \007), it drops several of the characters which follow.  The

Just a few days ago, someone posted a fix for that called CHIRP.  It's a
replacement bell for the GS and IS interruptable so you don't loose characters.

>
>Thanks,
>Bob Carlitz - carlitz@unix.cis.pitt.edu

 ____________________________________________________________________
|                                    |                               |
|  This is your brain...             |  BITNET-- mquinn@utcvm        |
|  This is your brain on drugs...    |  pro-line:                    |
|  This is your brain on whole wheat.|    mquinn@pro-gsplus.cts.com  |
|____________________________________|_______________________________|