console-screen.sh does not set font for tty6

Bug #117001 reported by Cai Qian
2
Affects Status Importance Assigned to Milestone
console-tools (Debian)
Fix Released
Unknown
console-tools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: console-tools

version: 0.2.3dbs-65ubuntu3

It only set font for from tty1 to tty5, but not tty6. Here is the patch.

--- console-screen.sh.orig 2007-05-26 13:40:58.000000000 +0100
+++ console-screen.sh 2007-05-26 13:41:32.000000000 +0100
@@ -116,7 +116,7 @@
        NUM_CONSOLES=$(($NUM_CONSOLES - 1))
        [ ${NUM_CONSOLES} -eq 1 ] && NUM_CONSOLES=6
        i=1
- while [ $i -lt $NUM_CONSOLES ]
+ while [ $i -le $NUM_CONSOLES ]
            do
            if ! ${SETFONT} --tty=${DEVICE_PREFIX}$i ${SETFONT_OPT} ${SCREEN_FONT} ${SCREEN_FONT_MAP} ; then
              [ "$VERBOSE" != "no" ] && log_action_end_msg 1

Cai Qian

Revision history for this message
Colin Watson (cjwatson) wrote :

Thanks, applied. I used the more complete patch from the linked Debian bug.

Revision history for this message
Colin Watson (cjwatson) wrote :

console-tools (1:0.2.3dbs-65ubuntu4) gutsy; urgency=low

  * Set fonts and LEDs on tty6 too (LP: #117001).
  * Set Ubuntu maintainer address.

 -- Colin Watson <email address hidden> Wed, 30 May 2007 13:33:34 +0100

Changed in console-tools:
status: Unconfirmed → Fix Released
Changed in console-tools:
status: Unknown → Unconfirmed
Changed in console-tools (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.