From owner-freebsd-stable Thu Feb 17 20:45:22 2000 Delivered-To: freebsd-stable@freebsd.org Received: from jason.argos.org (a1-3b058.neo.rr.com [24.93.181.58]) by hub.freebsd.org (Postfix) with ESMTP id 76DCB37B7E7 for ; Thu, 17 Feb 2000 20:45:16 -0800 (PST) (envelope-from mike@argos.org) Received: from localhost (mike@localhost) by jason.argos.org (8.9.1/8.9.1) with ESMTP id XAA03739; Thu, 17 Feb 2000 23:45:07 -0500 Date: Thu, 17 Feb 2000 23:45:07 -0500 (EST) From: Mike Nowlin To: Dan the Man Cc: freebsd-stable@FreeBSD.ORG Subject: Re: gettytab question In-Reply-To: <38AC5C40.C82D0133@microtech.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Maybe someone out there can shed some light on this for me. My 3.4 > system (right off of the CD) seems to be ignoring the 'if' and 'lm' > fields in /etc/gettytab. Everything I have read indicates that what I > am doing should work, and the 'im' field works fine. There don't appear > to be any later entries in the file that override what I have specified > in the default. Here's what I've got, anybody have any ideas? > > default:\ > :cb:ce:ck:lc:fd#1000:sp#1200:if=/etc/issue:\ > :lm=Please log in\072 :im=\r\n\ > +--------------------------+\r\n\ > | Welcome to Capricorn.org |\r\n\ > +--------------------------+\r\n\r\n: I ran into this one, and finally figured it out.... Keep in mind that it's been about three months since I've looked this, so it might be a little iffy: maxtech288:\ :np:hw:ht:to#60:sp#115200:tt=vt100:\ :pp=/usr/local/bin/pppin:\ :lm=Username\72\40:\ :im=:\ :if=/usr/local/etc/dialupmsg: Note the use of "\40" in the lm field instead of a " " character, and the \72 for a colon... (Octal values). Not sure if you can use "\r" and "\n" -- you may need to convert those into octal as well... Probably putting in: :lm=Please\40log\40in\072\40: ... will work. I also vaguely remember that if the "lm" field was screwed up, the "if" field was ignored. mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message