[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: AOUT packages



>>>>> J H M Dassen writes:
> setterm does the following (near the end of setterm.c): vcterm =
> !strncmp(term, "con", 3); which is used for the old style TERM
> values (con80x25 etc.); in early 1.3 the default TERM changed to
> "linux", so this should probably be: vcterm = !strcmp(term,
> "linux");

Hmm, wouldn't it be better to use ioctls to check that the tty is
truly a Linux console?  Environment varibles are known to be
unreliable!  

-Dominik


Reply to: