busybox-1.1.3-getty-nobaud.patch
Stuart Hughes
stuarth at freescale.com
Sat Aug 5 08:23:38 UTC 2006
On Fri, 2006-08-04 at 18:59 -0400, Rich Felker wrote:
> On Fri, Aug 04, 2006 at 04:16:18PM +0100, Stuart Hughes wrote:
> > I don't know if this will get into the mainline, but it may be useful to
> > someone.
> >
> > This patch is a bit of a hack that allows the specification
> > in /etc/inittab of '0' as the baud rate. If this is given, then the
> > current setting is used. I use this so I can have a generic entry
> > in /etc/inittab that will work for all target boards I use. The
> > entry I have in inittab is:
> >
> > ::respawn:/sbin/getty console 0 vt100
>
> Off-topic, but it's a very bad idea to use "vt100" as your TERM type
> unless you have a _real_ _vintage_ vt100 connected. The ncurses
> terminfo file stupidly defines the vt100 entry with so many
> intricacies of the original vt100 that it does not work correctly
> except on real vt100. TERM=screen is actually the closest to what
> TERM=vt100 should do, from my experience.
>
> Of course none of this matters if you don't have any terminfo or apps
> using terminfo. :) But it might still cause problems if you telnet or
> ssh to other systems and use programs that use terminfo.
>
> Rich
>
Hi Rich,
Thanks for the pointer. I've been using vt100 simply as it "seems to
work", nothing scientific. I'll swap and try 'screen'.
Regards, Stuart
More information about the busybox
mailing list