NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: /etc/ttys | kermit



On 2012-07-09 17:31, Darrel wrote:

On Mon, 9 Jul 2012, Johnny Billquist wrote:

On 2012-07-09 17:26, Darrel wrote:
Hello,

This is my first time trying to use kermit on NetBSD.  I am getting an
error about 'set line'.

I have tried 'set line /dev/tty00' and 'set line /dev/ttyu00'.

Do I need to alter /etc/ttys?  Mine is default at the moment:

console "/usr/libexec/getty Pc"         vt100   on secure
constty "/usr/libexec/getty Pc"         vt100   off secure
ttyE0   "/usr/libexec/getty Pc"         vt220   off secure
ttyE1   "/usr/libexec/getty Pc"         vt220   on secure
ttyE2   "/usr/libexec/getty Pc"         vt220   on secure
ttyE3   "/usr/libexec/getty Pc"         vt220   on secure
tty00   "/usr/libexec/getty std.9600"   unknown off secure
tty01   "/usr/libexec/getty std.9600"   unknown off secure
tty02   "/usr/libexec/getty std.9600"   unknown off secure

No. /etc/ttys have nothing to do with this.
What error message do you get?


Hey, Johnny.

Here is the output from kermit:

C-Kermit>take .kermitrc
?SET SPEED has no effect without prior SET LINE
Sorry, you must SET LINE or SET HOST first

My .kermitrc file looks like this:

#!/usr/local/pkg/kermit
set modem type none
#set line /dev/tty00
set line /dev/ttyu00
set carrier-watch off
set speed 9600
set stop-bits 1
set flow-control none
connect

What happens if you do the "set line" command interactively in kermit?

The error you see are from the "set speed" command, which complains that you haven't done a set line... Weird in its own way, considering the command file...

        Johnny


Home | Main Index | Thread Index | Old Index