busybox-1.1.3-getty-nobaud.patch
Rich Felker
dalias at aerifal.cx
Fri Aug 4 22:59:05 UTC 2006
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
More information about the busybox
mailing list