On Wed, 2003-09-10 22:56:46 +0800, Michael Frank <[EMAIL PROTECTED]>
wrote in message <[EMAIL PROTECTED]>:
> On Saturday 06 September 2003 18:55, Jan-Benedict Glaw wrote:
> > I've never seen that. My impression is that this (only?) happens if
> > there are some bytes received from serial, but not read out from
> > userspace. For NMEA, this is mostly always the case because the GPS
> > receiver is sending data all the time:)
> 
> _all_ the time or in packets with idle time between?

You get about 60 chars, 5 times per second.

> Rephrase, once it (the terminal emulator cu) hung _once_, exiting it, 
> starting it again, it dumps a few hundred bytes (rarely the garbage you 
> mentioned), and hangs again.

It didn't hang for me. Only the first few bytes after open() were
garbeled.

> What you said "some bytes received from serial, but not read out", can
> be what cu dumps on its restart. At that time, the hardware handshake 
> also stops, so RTS never gets cleared and data coming in on the serial 
> line are lost.

Maybe. I don't have access to the serial line because these are deeply
inside the GPS receiver...

MfG, JBG

-- 
   Jan-Benedict Glaw       [EMAIL PROTECTED]    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!
      ret = do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | TCPA));

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to