From 0b2600ddad954be4f8ee531e078d5a480816c043 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Sat, 30 Jun 2012 13:06:11 +0200 Subject: [PATCH 01/13] [PATCH] Make Gimp produce better man page output Patch by carol 18 Feb 2003 With this patch applied to aalib, Gimp produces better output for: Save as, ASCII art (*.txt, *.ansi, *.text) Format: For including in a man page Save Origin: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=181558 Gbp-Pq: Name 0001-Make-Gimp-produce-better-man-page-output.patch --- src/aasave.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aasave.c b/src/aasave.c index e96f10e..ea57fbb 100644 --- a/src/aasave.c +++ b/src/aasave.c @@ -270,13 +270,13 @@ __AA_CONST struct aa_format aa_roff_format = NORMALPRINTS, {"", "", - "\n.B ", + "\\fB", "", "" }, {"", "", - "\n", + "\\fP", "", "" }, From 8db294a86d54233cb5fafa2c660a1065921e0a30 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Sat, 30 Jun 2012 13:08:13 +0200 Subject: [PATCH 02/13] [PATCH] Typo fix: KEY_MOUDE => KEY_MOUSE Patch by Sam Hocevar 17 Nov 2003 Origin: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=221243 Gbp-Pq: Name 0002-Typo-fix-KEY_MOUDE-KEY_MOUSE.patch --- src/aacurkbd.c | 2 +- src/aastdin.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aacurkbd.c b/src/aacurkbd.c index 801897b..418b6a3 100644 --- a/src/aacurkbd.c +++ b/src/aacurkbd.c @@ -112,7 +112,7 @@ static int curses_getchar(aa_context * c1, int wait) return (AA_UP); case KEY_DOWN: return (AA_DOWN); -#ifdef KEY_MOUDE +#ifdef KEY_MOUSE case KEY_MOUSE: #ifdef GPM_MOUSEDRIVER if (!__curses_usegpm) diff --git a/src/aastdin.c b/src/aastdin.c index 696d87b..e2dabe4 100644 --- a/src/aastdin.c +++ b/src/aastdin.c @@ -88,7 +88,7 @@ static int stdin_getchar(aa_context * c1, int wait) if (c > 0 && c < 127 && c != 127) return (c); switch (c) { -#ifdef KEY_MOUDE +#ifdef KEY_MOUSE case KEY_MOUSE: return AA_MOUSE #endif From 1011883d9fe731ad211a53d70d2d51bc32338f27 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Sat, 30 Jun 2012 13:09:37 +0200 Subject: [PATCH 03/13] [PATCH] Manual page for aalib-config, and aafire(1) updates Patch by Joey Hess and Uwe Hermann , 24 Oct 2001. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481707 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=116912 Gbp-Pq: Name 0003-Manual-page-for-aalib-config-and-aafire-1-updates.patch --- man/aafire.1 | 22 ++++++++++++++++++-- man/aalib-config.1 | 52 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+), 2 deletions(-) create mode 100644 man/aalib-config.1 diff --git a/man/aafire.1 b/man/aafire.1 index 5269fcc..972a491 100644 --- a/man/aafire.1 +++ b/man/aafire.1 @@ -23,10 +23,10 @@ and programs. .PP All of these programs exist to demonstrate the capabilities of the aalib -library, an ascii art library. +library, an ASCII art library. .PP .B aafire -displays burning ascii art flames. +displays burning ASCII art flames. .PP .B aainfo displays information about what drivers aalib will use for the display, @@ -38,6 +38,24 @@ saves a font to a file. .PP .B aatest tests the capabilities of aalib. +.SH BUGS +Please report any bugs you find to Jan Hubicka . +.SH LICENSE +.BR aafire , +.BR aainfo , +.BR aasavefont , +and +.BR aatest +are all covered by the GNU Lesser General Public License (LGPL). .SH AUTHOR +Jan Hubicka +.PP This manual page was written by Joey Hess, for the Debian GNU/Linux system. +.SH SEE ALSO +.BR bb (1), +.BR aatv (1), +.BR aview (1), +.BR asciiview (1), +.BR aaflip (1), +.BR xaos (6). diff --git a/man/aalib-config.1 b/man/aalib-config.1 new file mode 100644 index 0000000..223df54 --- /dev/null +++ b/man/aalib-config.1 @@ -0,0 +1,52 @@ +.TH AALIB 1 +.SH NAME +aalib-config - script to get information about the installed version of aalib +.SH SYNOPSIS +.B aalib-config +[\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP] [\-\-version] [\-\-libs] [\-\-static-libs] [\-\-cflags] +.SH DESCRIPTION +.PP +\fIaalib-config\fP is a tool that is used to configure to determine +the compiler and linker flags that should be used to compile +and link programs that use \fIaalib\fP. It is also used internally +to the .m4 macros for GNU autoconf that are included with \fIaalib\fP. +. +.SH OPTIONS +.l +\fIaalib-config\fP accepts the following options: +.TP 8 +.B \-\-version +Print the currently installed version of \fIaalib\fP on the standard output. +.TP 8 +.B \-\-libs +Print the linker flags that are necessary to link a \fIaalib\fP program. +.TP 8 +.B \-\-static-libs +Print the linker flags that are necessary to link a \fIaalib\fP program +statically. +.TP 8 +.B \-\-cflags +Print the compiler flags that are necessary to compile a \fIaalib\fP program. +.TP 8 +.B \-\-prefix=PREFIX +If specified, use PREFIX instead of the installation prefix that \fIaalib\fP +was built with when computing the output for the \-\-cflags and +\-\-libs options. This option is also used for the exec prefix +if \-\-exec\-prefix was not specified. This option must be specified +before any \-\-libs or \-\-cflags options. +.TP 8 +.B \-\-exec\-prefix=PREFIX +If specified, use PREFIX instead of the installation exec prefix that +\fIaalib\fP was built with when computing the output for the \-\-cflags +and \-\-libs options. This option must be specified before any +\-\-libs or \-\-cflags options. +.SH COPYRIGHT +Copyright \(co 1998 Owen Taylor + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation. + +Modified for aalib by Joey Hess From 7553cbb30265d52c2a679e8fcb875d3343003213 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Sat, 30 Jun 2012 13:12:16 +0200 Subject: [PATCH 04/13] [PATCH] Fix linux_init() Patch by Joey Hess 21 May 2001 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=97695 Gbp-Pq: Name 0004-Fix-linux_init.patch --- src/aalinux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aalinux.c b/src/aalinux.c index 0006d37..a732d4f 100644 --- a/src/aalinux.c +++ b/src/aalinux.c @@ -91,7 +91,7 @@ linux_init (__AA_CONST struct aa_hardware_params *p, __AA_CONST void *none, sprintf (fname, "/dev/vcsa%i", vt); vc[0] = fopen (fname, "w+"); if (vc[0] == NULL) - vc[0] = fopen (tmp, "w"), readonly = 1; + vc[0] = fopen (fname, "w"), readonly = 1; nvcs = 1; } if (vc[0] == NULL) From a8b08f12e6295a70de98b36ced60a0d42c00bcb3 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Sat, 30 Jun 2012 13:13:08 +0200 Subject: [PATCH 05/13] [PATCH] Fix the info file's direntry. Patch by Daniel Schepler 21 Feb 2008 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466951 Gbp-Pq: Name 0005-Fix-the-info-file-s-direntry.patch --- doc/aalib.texinfo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/aalib.texinfo b/doc/aalib.texinfo index bff13c1..42e1612 100644 --- a/doc/aalib.texinfo +++ b/doc/aalib.texinfo @@ -8,7 +8,7 @@ @settitle An ascii-art library @dircategory Libraries @direntry - * AA-lib: (aalib). An ASCII-art graphics library +* AA-lib: (aalib). An ASCII-art graphics library @end direntry From bbf316f8f290703111be39c273bb02fe529b156b Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Sat, 30 Jun 2012 13:14:09 +0200 Subject: [PATCH 06/13] [PATCH] Fixes manpage-has-errors-from-man "`l' not defined". Patch by Bart Martens . Gbp-Pq: Name 0006-Fixes-manpage-has-errors-from-man-l-not-defined.patch --- man/aalib-config.1 | 1 - 1 file changed, 1 deletion(-) diff --git a/man/aalib-config.1 b/man/aalib-config.1 index 223df54..db13383 100644 --- a/man/aalib-config.1 +++ b/man/aalib-config.1 @@ -12,7 +12,6 @@ and link programs that use \fIaalib\fP. It is also used internally to the .m4 macros for GNU autoconf that are included with \fIaalib\fP. . .SH OPTIONS -.l \fIaalib-config\fP accepts the following options: .TP 8 .B \-\-version From 85ad686e041f7ac1ae2c2cc2726707107c50c4f7 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Sat, 30 Jun 2012 13:15:48 +0200 Subject: [PATCH 07/13] [PATCH] Better Dim support Patch by Jindrich Makovicka 10 Jan 2007 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=406367 Gbp-Pq: Name 0007-Better-Dim-support.patch --- src/aacurses.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/aacurses.c b/src/aacurses.c index a3dc713..dc3b220 100644 --- a/src/aacurses.c +++ b/src/aacurses.c @@ -36,8 +36,14 @@ static int curses_init(__AA_CONST struct aa_hardware_params *p, __AA_CONST void dest->supported=AA_NORMAL_MASK; #ifdef HAVE_TERMATTRS a = termattrs(); - if (a & A_DIM) + if (has_colors()) { + start_color(); + init_pair(1, COLOR_BLACK, COLOR_BLACK); dest->supported |= AA_DIM_MASK; + } else { + if (a & A_DIM) + dest->supported |= AA_DIM_MASK; + } if (a & A_BOLD) dest->supported |= AA_BOLD_MASK; if (a & A_BOLD) @@ -86,7 +92,12 @@ static void curses_setattr(aa_context * c, int attr) attrset(A_NORMAL); break; case AA_DIM: - attrset(A_DIM); + if (has_colors()) { + attrset(A_BOLD); + attron(COLOR_PAIR(1)); + } else { + attrset(A_DIM); + } break; case AA_BOLD: attrset(A_BOLD); From a40fbc2e42256c8d6cee872112cd65e3cf8355d4 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Sat, 30 Jun 2012 13:17:01 +0200 Subject: [PATCH 08/13] [PATCH] Symbol versioning Patch by Alastair McKinstry 22 Jun 2005 Later edited by Debian package maintainer. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=315419 Gbp-Pq: Name 0008-Symbol-versioning.patch --- src/Makefile.am | 2 +- src/aalib.1.4.ver | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 src/aalib.1.4.ver diff --git a/src/Makefile.am b/src/Makefile.am index ad23666..b62d4d8 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -57,7 +57,7 @@ libaa_la_SOURCES= \ aaattrs.c \ aaputpixel.c \ aarecfunc.c -libaa_la_LDFLAGS=@LDFLAGS@ -version-info 1:4:0 +libaa_la_LDFLAGS=@LDFLAGS@ -version-info 1:4:0 -Wl,--version-script=aalib.1.4.ver bin_PROGRAMS=aainfo aatest aafire aasavefont aainfo_LDADD= libaa.la diff --git a/src/aalib.1.4.ver b/src/aalib.1.4.ver new file mode 100644 index 0000000..fd62716 --- /dev/null +++ b/src/aalib.1.4.ver @@ -0,0 +1,6 @@ +AA_1.4 { + global: + aa_*; save_d; mem_d; + local: + *; +}; From 0805c473c5d7b6fe4576335aefbedfe50755e47b Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Sat, 30 Jun 2012 13:18:06 +0200 Subject: [PATCH 09/13] [PATCH] Various build system changes Build system changes by Debian package maintainer. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481704 Gbp-Pq: Name 0009-Various-build-system-changes.patch --- Makefile.am | 4 +++- aalib-config.in | 7 +++++-- aalib.m4 | 2 +- configure.in | 20 +++++++++++++------- 4 files changed, 22 insertions(+), 11 deletions(-) diff --git a/Makefile.am b/Makefile.am index 172aa85..dd98dca 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,7 @@ #AUTOMAKE_OPTIONS = foreign #include-deps -SUBDIRS=src man doc +# Debian mod: don't autorecurse to doc directory; debian/rules runs its +# targets seperatly. +SUBDIRS=src man EXTRA_DIST = README.OS2 ANNOUNCE aalib.lsm acconfig.h aalib.m4 bin_SCRIPTS = aalib-config m4datadir = $(datadir)/aclocal diff --git a/aalib-config.in b/aalib-config.in index f7a7563..7adbf82 100644 --- a/aalib-config.in +++ b/aalib-config.in @@ -5,7 +5,7 @@ exec_prefix=@exec_prefix@ exec_prefix_set=no usage="\ -Usage: aalib-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]" +Usage: aalib-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--static-libs] [--cflags]" if test $# -eq 0; then echo "${usage}" 1>&2 @@ -49,11 +49,14 @@ while test $# -gt 0; do ;; @ENABLE_SHARED_TRUE@ --libs) @ENABLE_SHARED_TRUE@ libdirs="-L@libdir@ @AALIB_RLD_FLAGS@" -@ENABLE_SHARED_TRUE@ echo $libdirs @AALIB_LIBS@ +@ENABLE_SHARED_TRUE@ echo $libdirs -laa @ENABLE_SHARED_TRUE@ ;; @ENABLE_STATIC_TRUE@@ENABLE_SHARED_TRUE@ --static-libs) @ENABLE_STATIC_TRUE@@ENABLE_SHARED_FALSE@ --libs|--static-libs) @ENABLE_STATIC_TRUE@ libdirs="-L@libdir@ @AALIB_RLD_FLAGS@" +@ENABLE_STATIC_TRUE@ if [ "`uname -s`" = Linux ]; then +@ENABLE_STATIC_TRUE@ printf "%s" "-lgpm " +@ENABLE_STATIC_TRUE@ fi @ENABLE_STATIC_TRUE@ echo $libdirs @AALIB_LIBS@ @ENABLE_STATIC_TRUE@ ;; *) diff --git a/aalib.m4 b/aalib.m4 index c40b8db..991fbda 100644 --- a/aalib.m4 +++ b/aalib.m4 @@ -9,7 +9,7 @@ dnl AM_PATH_AALIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) dnl Test for AALIB, and define AALIB_CFLAGS and AALIB_LIBS dnl -AC_DEFUN(AM_PATH_AALIB, +AC_DEFUN([AM_PATH_AALIB], [dnl dnl Get the cflags and libraries from the aalib-config script dnl diff --git a/configure.in b/configure.in index 4de06a8..5901f80 100644 --- a/configure.in +++ b/configure.in @@ -1,8 +1,7 @@ -include(aclocal.m4) AC_INIT(src/aalib.c) -AM_INIT_AUTOMAKE(aalib,1.4.0) AC_CANONICAL_HOST AC_CANONICAL_TARGET +AM_INIT_AUTOMAKE(aalib,1.4.0) AM_CONFIG_HEADER(src/config.h) @@ -92,7 +91,8 @@ AC_ARG_WITH(gpm-mouse, AC_DEFINE(GPM_MOUSEDRIVER) gpm_mousedriver=true CFLAGS="$CFLAGS -I$withval/include" - AALIB_LIBS="$AALIB_LIBS -L$withval/lib -lgpm" +dnl See Debian hack below for explination. +dnl AALIB_LIBS="$AALIB_LIBS -L$withval/lib -lgpm" AC_MSG_RESULT(defining use_gpm) fi ) @@ -113,7 +113,13 @@ if test "$gpm_mousedriver_test" = yes; then AC_CHECK_LIB(gpm, Gpm_Repeat,[ AC_DEFINE(GPM_MOUSEDRIVER) gpm_mousedriver=true - AALIB_LIBS="$AALIB_LIBS -lgpm" +dnl Debian hack: Don't bother putting gpm on the libs list, so aalib-config +dnl will not require programs link with gpm. Since aalib itself links to +dnl gpm, gpm support is still pulled in for client programs, but they need +dnl not build-depend on it. This means that the -dev package need not +dnl depend on libgpm1g-dev, which is a good thing since gpm support is not +dnl available at all on some platforms like the hurd. +dnl AALIB_LIBS="$AALIB_LIBS -lgpm" LIBS="$LIBS -lgpm"]) fi @@ -373,9 +379,9 @@ esac # Set runtime shared library paths as needed -if test $ARCH = linux -o $ARCH = freebsd -o $ARCH = bsdi; then - AALIB_RLD_FLAGS="-Wl,-rpath,\${exec_prefix}/lib" -fi +#if test $ARCH = linux -o $ARCH = freebsd -o $ARCH = bsdi; then +# AALIB_RLD_FLAGS="-Wl,-rpath,\${exec_prefix}/lib" +#fi if test $ARCH = solaris; then AALIB_RLD_FLAGS="-R\${exec_prefix}/lib" From b9c333b0630f0a190d5ca4db712df3dbc675af0c Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Sat, 30 Jun 2012 13:19:25 +0200 Subject: [PATCH 10/13] [PATCH] Gpm_GetEvent fix Discussion in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506718 Patch by Bart Martens . Gbp-Pq: Name 0010-Gpm_GetEvent-fix.patch --- src/aaslnkbd.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/aaslnkbd.c b/src/aaslnkbd.c index 36742ac..d717983 100644 --- a/src/aaslnkbd.c +++ b/src/aaslnkbd.c @@ -76,6 +76,7 @@ static int slang_getchar(aa_context * c1, int wait) #endif struct timeval tv; fd_set readfds; + int evflag; if (wait) { setjmp(buf); @@ -124,7 +125,10 @@ static int slang_getchar(aa_context * c1, int wait) return (AA_NONE); } if ((gpm_fd > -1) && (FD_ISSET(gpm_fd, &readfds))) { - if (Gpm_GetEvent(&ev) && gpm_handler + evflag = Gpm_GetEvent(&ev); + if ( evflag < 0 ) + return AA_NONE; + if ( evflag == 1 && gpm_handler && ((*gpm_handler) (&ev, gpm_data))) { gpm_hflag = 1; return AA_MOUSE; From af9871005f075edf531e7c85f945e4f5b260bf10 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Mon, 12 Aug 2013 09:41:41 +0200 Subject: [PATCH 11/13] [PATCH] Fix TexInfo error This fixes buiilding the docs with recent texinfo, where some warnings became errors. (Debian bug #712332). Patch from Daniel Schepler . Gbp-Pq: Name 0011-Fix-TexInfo-error.patch --- doc/aalib.texinfo | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/aalib.texinfo b/doc/aalib.texinfo index 42e1612..2a4b514 100644 --- a/doc/aalib.texinfo +++ b/doc/aalib.texinfo @@ -29,11 +29,11 @@ this permission notice are preserved on all copies. @titlepage -@title{AA-lib @value{VERSION}} -@subtitle{An ascii-art library} -@subtitle{API-DESCRIPTION} +@title AA-lib @value{VERSION} +@subtitle An ascii-art library +@subtitle API-DESCRIPTION -@author{Jan Hubi@v cka & Kamil Toman} +@author Jan Hubi@v cka & Kamil Toman @tex Dukelsk\'ych bojovn\'\i ku 1944 @end tex @@ -1318,7 +1318,7 @@ To write new driver is quite easy. You need to implement just few very basic functions (like initialization, drawing to screen etc...) and register it in the driver registry. There is separate drivers for screen, mouse and keyboard. -@subsection Display driver +@section Display driver Display driver is the most significant driver (of course) so it is recomended to implement it first. Its structure is as follows: From 9cbd60eb4cdee4ba7aa06e1faa53d7a2032ada3a Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Tue, 18 Mar 2014 12:31:48 +0100 Subject: [PATCH 12/13] [PATCH] aalinuxkbd: Always return with a value Since rawmode_init() needs to return an int, make sure that we return with a value, even when we bail out early. This fixes Debian #739932. Reported-by: Arthur Marble Signed-off-by: Gergely Nagy Gbp-Pq: Name 0012-aalinuxkbd-Always-return-with-a-value.patch --- src/aalinuxkbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aalinuxkbd.c b/src/aalinuxkbd.c index 610e026..918cb3a 100644 --- a/src/aalinuxkbd.c +++ b/src/aalinuxkbd.c @@ -200,7 +200,7 @@ static void vt_to_here(int num) static int rawmode_init(void) { if (!closed) - return; + return (1); mypid = getpid(); if (tty_fd == -1) { tty_fd = fileno(stdin); From ce6fb924e2d836c7106b8f67b402f556637e230f Mon Sep 17 00:00:00 2001 From: Jonathan Carter Date: Fri, 13 May 2022 19:52:08 +0800 Subject: [PATCH 13/13] fix typos and grammar in help Fix a whole paragraph in the help printout. Bug-Debian: https://bugs.debian.org/396824 Last-Update: 2019-02-28 Gbp-Pq: Name fix-wording --- src/aahelp.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/aahelp.c b/src/aahelp.c index e1c0fc2..d1bc54a 100644 --- a/src/aahelp.c +++ b/src/aahelp.c @@ -98,9 +98,9 @@ __AA_CONST char * __AA_CONST aa_help = "Monitor parameters:\n" " -dimmul multiply factor for dim color (5.3)\n" " -boldmul multiply factor for dim color (2.7)\n" -" The default parameters are set to fit my monitor (15\" goldstar)\n" -" With contrast set to maximum and bright set to make black black\n" -" This values depends at quality of your monitor (and setting of controls\n" -" Defaultd settings should be OK for most PC monitors. But ideal monitor\n" -" Needs dimmul=1.71 boldmul=1.43. For example monitor used by SGI is very\n" -" close to this values. Also old 14\" vga monitors needs higher values.\n"; +" The default parameters are based on my 15\" Goldstar monitor,)\n" +" With contrast set to maximum, and brightness to the minimum.\n" +" This values depend on your particular monitor and how the controls are set.\n" +" Default settings should be OK for most PC monitors, but an ideal monitor\n" +" needs dimmul=1.71 boldmul=1.43. SGI monitors, for example, are very\n" +" close to this values. Old 14\" VGA monitors need higher values.\n";