From 94f9f7a6691325b00b2d5a5a0639b6565a624633 Mon Sep 17 00:00:00 2001 From: jkh Date: Mon, 19 May 1997 07:30:45 +0000 Subject: sysconfig -> rc.conf PR: 3461 Submitted by: "Donald J. Maddox" --- usr.sbin/kbdmap/kbdmap.1 | 8 ++++---- usr.sbin/kbdmap/kbdmap.pl | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/usr.sbin/kbdmap/kbdmap.1 b/usr.sbin/kbdmap/kbdmap.1 index 6db69a9..6bc49d3 100644 --- a/usr.sbin/kbdmap/kbdmap.1 +++ b/usr.sbin/kbdmap/kbdmap.1 @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id$ +.\" $Id: kbdmap.1,v 1.10 1997/02/22 16:06:01 peter Exp $ .Dd Mar 25, 1995 .Dt KBDMAP 1 @@ -84,7 +84,7 @@ Print description of available keymaps or fonts to stdout and exit. .It Fl r , Fl restore Load default font from -.Pa /etc/sysconfig . +.Pa /etc/rc.conf . .It Fl s , Fl show Show currently supported languages and exit. .It Fl v , Fl verbose @@ -99,7 +99,7 @@ Prefered language. Database for keymaps. .It Pa /usr/share/syscons/fonts/INDEX.fonts Database for fonts. -.It Pa /etc/sysconfig +.It Pa /etc/rc.conf Default font. .It Pa /usr/X11/lib/X11/locale/locale.alias Describe common LANG values. @@ -117,7 +117,7 @@ work only on a (virtual) console and not with X11. .Xr dialog 1 , .Xr kbdcontrol 1 , .Xr vidcontrol 1 , -.Xr sysconfig 5 +.Xr rc.conf 5 .Sh HISTORY The .Nm kbdmap diff --git a/usr.sbin/kbdmap/kbdmap.pl b/usr.sbin/kbdmap/kbdmap.pl index 6b60d25..66180da 100644 --- a/usr.sbin/kbdmap/kbdmap.pl +++ b/usr.sbin/kbdmap/kbdmap.pl @@ -26,7 +26,7 @@ # # kbdmap/vidfont - front end for syscons # -# $Id$ +# $Id: kbdmap.pl,v 1.6 1997/02/22 16:06:02 peter Exp $ # simple test if syscons works @@ -44,13 +44,13 @@ sub variables_static { $program = $0; $program =~ s|.*/||; $program =~ s/\.(pl|perl)$//; $keymapdir = "/usr/share/syscons/keymaps"; $fontdir = "/usr/share/syscons/fonts"; - $sysconfig = "/etc/sysconfig"; + $sysconfig = "/etc/rc.conf"; # for test only #$keymapdir = "/tmp/kbdmap/syscons/keymaps"; #$fontdir = "/tmp/kbdmap/syscons/fonts"; - # read current font from sysconfig + # read current font from rc.conf $font_default = "cp437-8x16.fnt"; $font_current = &font_current($font_default); @@ -239,16 +239,16 @@ sub dialog { -1 -1 10"; ## *always* start right font, don't believe that your current font - ## is equal with default font in /etc/sysconfig + ## is equal with default font in /etc/rc.conf ## see also at end of this function ## if ($font) { # start right font, assume that current font is equal - # to default font in /etc/sysconfig + # to default font in /etc/rc.conf # # $font is the font which require the language $lang; e.g. # russian *need* a koi8 font - # $font_current is the current font from /etc/sysconfig + # $font_current is the current font from /etc/rc.conf if ($font && $font ne $font_current) { &vidcontrol($font); } -- cgit v1.1