Subject: Re: Serial Port Strangeness.
To: None <port-i386@NetBSD.ORG>
From: Michael C. Richardson <mcr@sandelman.ottawa.on.ca>
List: port-i386
Date: 09/09/1997 17:45:28
-----BEGIN PGP SIGNED MESSAGE-----
>>>>> "Dave" == Dave Burgess <burgess@cynjut.neonramp.com> writes:
Dave> I'm working on mgetty with the 1.2G tar 'non-release' from
Dave> last month. Whenever I use the TIOCMGET ioctl on the
I use 1.2D on my dialin server and mgetty 1.1.0, built on May
29. (So definitely built with 1.2D source and headers)
I get:
Sep 9 16:41:09 lox mgetty[315]: tio_get_rs232_lines: TIOCMGET failed: Inappropriate ioctl for device
Sep 9 16:41:09 lox mgetty[315]: tcsetattr failed: Invalid argument
Sep 9 16:47:38 lox mgetty[315]: failed A_FAIL dev=tty01, pid=315, caller=none, conn='', name=''
Is this what you mean?
Dave> kermit exhibits the same behavior: when the command 'sho
Dave> comm' is issued, kermit dutifully shows the port information
Dave> from the software side, but fails to show the comm port line
Dave> statuses. This is a 'fairly' recent change. Does anyone
Dave> have any insight (or a 'better solution')?
Yes, I noticed the same thing. I vaguely recall that a much older
version of kermit did the right thing, but I didn't have source to
that version and wanted to change some compile options. So, maybe it
is a problem with the #define for TIOCMGET?
:!mcr!: | Network security programming, currently
Michael Richardson | on contract with DataFellows F-Secure IPSec
WWW: mcr@sandelman.ottawa.on.ca. PGP key available.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: latin1
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface
iQB1AwUBNBXDdaZpLyXYhL+BAQElvwL+PfSqahKj8bMmGA3I/12ORlBhBOpiGDBu
87OF494IT2+iDsqzEewi7Q1bL743WUW7iRNaiG0rlRcSvNVUEwgGvcovkJM4UlOD
8/jXOh6tcZXbGAY1S4wN2gAkdc31l1bD
=zkHb
-----END PGP SIGNATURE-----