[Bug 398388] Re: rc-scripts termput handling broken when on serial console

Arkadiusz Miśkiewicz arekm at pld-linux.org
Thu Jul 16 19:03:50 CEST 2009


Changing

[ -z "$COLUMNS" ] && COLUMNS=80

to

[ -z "$COLUMNS" -o "$COLUMNS" -lt 0 ] && COLUMNS=80

fixes things.

-- 
rc-scripts termput handling broken when on serial console
https://bugs.launchpad.net/bugs/398388
You received this bug notification because you are subscribed to PLD
Linux.

Status in PLD Linux Distribution: New

Bug description:

When using rc-scripts over a serial console (additionally this is via ipmi)
I get errors on console. It was introduced after some changes by glen in that area
few months ago I think. Unfortunately I don't know which change exactly.

[   10.790565] Trying to move old root to /initrd ... okay                                                                                         
INIT: version 2.86 booting
tput: invalid option -- '1'
usage: tput [-V] [-S] [-T term] capname
tput: invalid option -- '1'
usage: tput [-V] [-S] [-T term] capname
tput: invalid option -- '1'
usage: tput [-V] [-S] [-T term] capname
tput: invalid option -- '1'
usage: tput [-V] [-S] [-T term] capname
tput: invalid option -- '1'
usage: tput [-V] [-S] [-T term] capname
                        Napędzane przez PLD Linux Distribution
              Proszę wcisnąć I żeby wejść w tryb interaktywny
Host: xyz[  ZAJĘTY  ][ ZROBIONE]


More information about the pld-bugs mailing list