From owner-freebsd-questions Tue Oct 22 23:54:27 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA27502 for questions-outgoing; Tue, 22 Oct 1996 23:54:27 -0700 (PDT) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id XAA27489 for ; Tue, 22 Oct 1996 23:54:15 -0700 (PDT) Received: (from smap@localhost) by gatekeeper.barcode.co.il (8.7.5/8.6.12) id IAA23651; Wed, 23 Oct 1996 08:51:30 +0200 (IST) X-Authentication-Warning: gatekeeper.barcode.co.il: smap set sender to using -f Received: from localhost.barcode.co.il(127.0.0.1) by gatekeeper.barcode.co.il via smap (V1.3) id sma023649; Wed Oct 23 08:51:13 1996 Message-ID: <326DC03B.57A2@barcode.co.il> Date: Wed, 23 Oct 1996 08:50:36 +0200 From: Nadav Eiron X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5 sun4m) MIME-Version: 1.0 To: Kevin Keyser CC: questions@FreeBSD.org Subject: Re: References: <9610222127.AA12591@clio.rice.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Kevin Keyser wrote: > > FreeBSD folks, [snip] > > The problems I have are: > > 1) I have a DEC VT220 terminal that I would like to use on sio0. > It is connected with a null modem cable. I changed the > ttyd0 line in /etc/ttys to read: > > ttyd0 "/usr/libexec/getty std.9600" vt220 on secure > > then did a "kill -1 1". Getty is running after this (according > to "ps -ax"), but nothing appears on the terminal except the > cursor. sio0 is recognized at boot time ("sio0 at 0x3f8-0x3ff > irq 4 on isa") and I am able to dial out through it if I connect > a modem. > > A) Is there anything else I need to configure in FreeBSD to > make it see this terminal? Such as setting flags on the > "device" line in the kernel config file to indicate a soft > carrier? > > B) What values need to be specified in the "Set Up" menus on > the VT220 terminal itself? For instance, number of data > and stop bits, VT200 mode (7 or 8 bit controls), > XOFF (at 64 or 128), etc. I think your problems is in the "null-modem" cable. Most null modem cables only have three wires inside. FreeBSD wants more (specifically, it wants the CD line). Look at: http://www.freebsd.org/handbook/handbook137.html#330 for specifics (especially the section on cables). If you make (or get) a full null-modem cable, you should set the VT220 to hardware flow control (not XON/XOFF). If you want to use the (probably partial) cable you have, you may use cuaa instead of ttyd and XON/XOFF, but beware: some programs don't like this (pine for one will need special setup, and pico will not work at all). [snip] > > Thanks for your time. I appreciate any help you can give me. > > Kevin Keyser > keyser@clio.rice.edu Nadav