From owner-freebsd-questions Mon Jul 10 11:55: 9 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id A2FBB37B6EC for ; Mon, 10 Jul 2000 11:55:02 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id NAA22087; Mon, 10 Jul 2000 13:54:55 -0500 (CDT) (envelope-from dan) Date: Mon, 10 Jul 2000 13:54:54 -0500 From: Dan Nelson To: Steve Abraham Cc: questions@freebsd.org Subject: Re: issue / issue.net Message-ID: <20000710135454.A28202@dan.emsphone.com> References: <3969D91C.C4B3BCF9@enets.co.uk> <20000710092846.A16340@dan.emsphone.com> <3969EDF3.88CB1BB@enets.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.3.5i In-Reply-To: <3969EDF3.88CB1BB@enets.co.uk>; from "Steve Abraham" on Mon Jul 10 16:38:27 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Jul 10), Steve Abraham said: > Dan Nelson wrote: > > In the last episode (Jul 10), Steve Abraham said: > > > Can anyone tell me where the FreeBSD equivelant of the Linux > > > /etc/issue.net file? If there is nothing, what needs to be done > > > to customise the telnet login screen? > > > > The equivalent is whatever filename you put in the :if=: capability > > /in etc/gettytab. man gettytab for more info. > > I've specified the following, but it sees to ignore it and still > displays nothing... > > default:\ > :cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:if=/etc/issue: Hmm. Works fine for me (on -current). Note that there is a 1024-byte limit on the if= file, or telnetd will coredump. You can probably raise the limit by editting telnetd.c, lines 130 and 131, and changing the arrays from BUFSIZ (i.e. 1024) to something larger. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message