Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #1059
| From | Robert Riches <spamtrap42@jacob21819.net> |
|---|---|
| Newsgroups | comp.os.linux.misc |
| Subject | Re: Debian: Using the native video card fonts on IBM compatible PC |
| Date | 2011-05-10 03:34 +0000 |
| Organization | none-at-all |
| Message-ID | <slrnishcj1.o2f.spamtrap42@one.localnet> (permalink) |
| References | <iq677p$o1a$1@dont-email.me> <-7WdnYBvTf9hN1vQnZ2dnUVZ_jSdnZ2d@posted.localnet> |
On 2011-05-08, Robert Heller <heller@deepsoft.com> wrote: > At Sun, 8 May 2011 13:53:04 +0000 (UTC) Mark Hobley <markhobley@yahoo.donottypethisbit.co> wrote: > >> >> I am using Debian on an IBM compatible personal computer. Early in the >> startup process, Debian switches the video font and number of terminal >> lines. How do I disable this switchover, so that my computer remains in >> native video mode using the builtin VGA supplied fonts? >> >> I don't mind editing the scripts to remove the offending switchover code. > > I don't know about Debian. On my CentOS system in /etc/rc.sysinit there > is the line: > > if [ -x /sbin/setsysfont -a -c /dev/tty1 ]; then > /sbin/setsysfont < /dev/tty1 > /dev/tty1 2>/dev/null > fi > > Which is what I presume does what you are talking about. > > /sbin/setsysfont happens to be a bash script making use of /bin/setfont > and it loads /etc/sysconfig/i18n, which sets a shell variable named > SYSFONT. I would suspect that some editing of /etc/sysconfig/i18n might > do what you want. > > You probably DON'T want to directly edit /etc/rc.sysinit or > /sbin/setsysfont, since the next time you do a system update, your edits > will be clobbered. It is safe to edit /etc/sysconfig/i18n, since that > is a local configuration file and the package manager knows to leave any > local edits alone, although it might install an updated config file with a > special extension (RedHat's rpm program will drop these with the > extension '.rpmnew' and issue a message). There is at least one solution to the problem of system updates undoing your edits. For several years now, I have maintained directory and RCS repository of all the system config scripts and such that I modify. I also have a list of the files and relevant paths or commands in a text file. Finally, a short script checks the system file against my modified version (using sudo to get around files only root can read). I run the checker script before and after any package updates. If some package update alters one of the files I edited, I find out and can take appropriate (counter-)action. HTH -- Robert Riches spamtrap42@jacob21819.net (Yes, that is one of my email addresses.)
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Debian: Using the native video card fonts on IBM compatible PC Mark Hobley <markhobley@yahoo.donottypethisbit.co> - 2011-05-08 13:53 +0000
Re: Debian: Using the native video card fonts on IBM compatible PC Robert Heller <heller@deepsoft.com> - 2011-05-08 09:38 -0500
Re: Debian: Using the native video card fonts on IBM compatible PC Mark Hobley <markhobley@yahoo.donottypethisbit.co> - 2011-05-08 19:23 +0000
Debian: Repackaging modified initrd files Mark Hobley <markhobley@yahoo.donottypethisbit.co> - 2011-05-08 19:52 +0000
Re: Debian: Repackaging modified initrd files Mark Hobley <markhobley@yahoo.donottypethisbit.co> - 2011-05-08 20:15 +0000
Debian: Repackaging modified initrd files Mark Hobley <markhobley@yahoo.donottypethisbit.co> - 2011-05-08 19:54 +0000
Re: Debian: Repackaging modified initrd files Richard Kettlewell <rjk@greenend.org.uk> - 2011-05-08 22:20 +0100
Re: Debian: Using the native video card fonts on IBM compatible PC Robert Riches <spamtrap42@jacob21819.net> - 2011-05-10 03:34 +0000
Re: Debian: Using the native video card fonts on IBM compatible PC Aragorn <aragorn@chatfactory.invalid> - 2011-05-08 21:58 +0200
Re: Debian: Using the native video card fonts on IBM compatible PC TomB <tommy.bongaerts@gmail.com> - 2011-05-09 23:51 +0200
Re: Debian: Using the native video card fonts on IBM compatible PC The Natural Philosopher <tnp@invalid.invalid> - 2011-05-10 03:16 +0100
csiph-web