1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-30 16:51:41 +00:00

Poul says that setting fonts on monocrome displays is useless

as most mono displays aren't that intelligent anyway.  Disable it in this
case.
This commit is contained in:
Jordan K. Hubbard 1995-05-18 17:49:09 +00:00
parent fcddc1c2bc
commit 9786c33e55
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8612
3 changed files with 6 additions and 6 deletions

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: system.c,v 1.15 1995/05/18 15:29:46 jkh Exp $
* $Id: system.c,v 1.16 1995/05/18 15:58:32 jkh Exp $
*
* Jordan Hubbard
*
@ -220,7 +220,7 @@ systemHelpFile(char *file, char *buf)
void
systemChangeFont(const u_char font[])
{
if (OnVTY) {
if (OnVTY && ColorDisplay) {
if (ioctl(0, PIO_FONT8x16, font) < 0)
msgConfirm("Sorry! Unable to load font for %s", getenv("LANG"));
}

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: system.c,v 1.15 1995/05/18 15:29:46 jkh Exp $
* $Id: system.c,v 1.16 1995/05/18 15:58:32 jkh Exp $
*
* Jordan Hubbard
*
@ -220,7 +220,7 @@ systemHelpFile(char *file, char *buf)
void
systemChangeFont(const u_char font[])
{
if (OnVTY) {
if (OnVTY && ColorDisplay) {
if (ioctl(0, PIO_FONT8x16, font) < 0)
msgConfirm("Sorry! Unable to load font for %s", getenv("LANG"));
}

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: system.c,v 1.15 1995/05/18 15:29:46 jkh Exp $
* $Id: system.c,v 1.16 1995/05/18 15:58:32 jkh Exp $
*
* Jordan Hubbard
*
@ -220,7 +220,7 @@ systemHelpFile(char *file, char *buf)
void
systemChangeFont(const u_char font[])
{
if (OnVTY) {
if (OnVTY && ColorDisplay) {
if (ioctl(0, PIO_FONT8x16, font) < 0)
msgConfirm("Sorry! Unable to load font for %s", getenv("LANG"));
}