Subject: Re: how to change pre-login message?
To: Will Roberts <oldbear@arctos.com>
From: Andrew Doran <ad@netbsd.org>
List: netbsd-help
Date: 08/06/2001 10:09:45
Will Roberts <oldbear@arctos.com> wrote:

> I was able to edit the /etc/gettytab file to add the screen clearing 
> and cursor positioning escape sequences without any problem:
> 
> default:\
>     :ce:ck:np:im=\033[2J\033[H\r\n%s/%m (%h) (%t)\r\n\r\n:sp#9600:
                   ^^^^^^^^^^^^^

Wrong - for this you should be using `cl' or `cs'. The latter addresses the
problem you describe here:

> This clearly is the 'quick-and-dirty' approach because it incorporates 
> the VT-100 esc codes in the im= field rather than referencing them 
> elsewhere.

Andrew