> On Thu, 21 Oct 2004, Alan Cox wrote:
> > $TERM during init depends upon what the init scripts set.
> Red Hat for
> > example basically assumes "linux console" unless you are
> running over a
> > serial port in which case I believe it uses "dumb"
>
> Right.
> That's where the problem lies.
> RH (not alone, but for example) makes this assumption
> in cases where it is not true.   Perhaps detecting 'uname -m' and
> varying based on that might help?   I don't like it,  but
> it'd be a start.

Possible solution (s):

Add entry in /etc/ttytype for 'console' to be 'dumb' as the default on
all distributions. Update this value during installation for the Intel
or other ANSI compliant distributions.

In the common header used by the scripts, use 'tset -m' to initialize
the $TERM variable to the correct value and process accordingly.

Then the Intel install can do the Right Thing and have cute ANSI stuff,
and the non-ANSI versions can not have to filter.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to