Bug 59918 - /sbin/setsysfont ignores SYSFONTACM
Summary: /sbin/setsysfont ignores SYSFONTACM
Keywords:
Status: CLOSED DUPLICATE of bug 76472
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-02-14 20:35 UTC by Leonid Kanter
Modified: 2014-03-17 02:25 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-02-21 18:48:28 UTC
Embargoed:


Attachments (Terms of Use)

Description Leonid Kanter 2002-02-14 20:35:42 UTC
Description of Problem:

/sbin/setsysfont ignores SYSFONTACM

Version-Release number of selected component (if applicable):

initscripts-6.51-1


How Reproducible:

always

Steps to Reproduce:

sh -x /sbin/setsysfont

Actual Results:

[root@leon /]# sh -x /sbin/setsysfont.orig
+ PATH=/bin:/usr/bin
+ '[' -f /etc/sysconfig/i18n ']'
+ . /etc/sysconfig/i18n
++ LANG=ru_RU.koi8r
++ SUPPORTED=ru_RU.koi8r:ru_RU:ru:uk_UA:uk
++ SYSFONT=cyr-sun16
++ SYSFONTACM=koi8-u
+ '[' -x /bin/consolechars -o -x /usr/bin/consolechars ']'
+ '[' -x /bin/setfont ']'
+ '[' -n cyr-sun16 -a -n '' ']'
+ '[' -n cyr-sun16 ']'
+ /bin/setfont cyr-sun16
+ exit 0

Expected Results:

[root@leon /]# sh -x /sbin/setsysfont
+ PATH=/bin:/usr/bin
+ '[' -f /etc/sysconfig/i18n ']'
+ . /etc/sysconfig/i18n
++ LANG=ru_RU.koi8r
++ SUPPORTED=ru_RU.koi8r:ru_RU:ru:uk_UA:uk
++ SYSFONT=cyr-sun16
++ SYSFONTACM=koi8-u
+ '[' -x /bin/consolechars -o -x /usr/bin/consolechars ']'
+ '[' -x /bin/setfont ']'
+ '[' -n cyr-sun16 -a -n '' ']'
+ '[' -n koi8-u ']'
+ /bin/setfont -m koi8-u
+ exit 0


Additional Information:
	
[root@leon /]# diff /sbin/setsysfont.orig /sbin/setsysfont -u
--- /sbin/setsysfont.orig       Mon Feb 11 19:15:41 2002
+++ /sbin/setsysfont    Mon Feb 11 19:19:43 2002
@@ -20,10 +20,10 @@
 elif [ -x /bin/setfont ]; then
   if [ -n "$SYSFONT" -a -n "$UNIMAP" ]; then
     /bin/setfont $SYSFONT -u $UNIMAP
+  elif [ -n "$SYSFONTACM" ]; then
+    /bin/setfont -m $SYSFONTACM
   elif [ -n "$SYSFONT" ]; then
     /bin/setfont $SYSFONT
-#  else
-#    /bin/setfont
   fi
 else
   echo $"can't set font"

Comment 1 Bill Nottingham 2003-09-29 21:20:56 UTC

*** This bug has been marked as a duplicate of 76472 ***

Comment 2 Red Hat Bugzilla 2006-02-21 18:48:28 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.


Note You need to log in before you can comment on or make changes to this bug.