From owner-freebsd-questions Wed Dec 29 15:22:15 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dorifer.heim3.tu-clausthal.de (dorifer.heim3.tu-clausthal.de [139.174.243.252]) by hub.freebsd.org (Postfix) with ESMTP id 64F7F15754 for ; Wed, 29 Dec 1999 15:22:12 -0800 (PST) (envelope-from olli@dorifer.heim3.tu-clausthal.de) Received: (from olli@localhost) by dorifer.heim3.tu-clausthal.de (8.8.8/8.8.8) id AAA18009 for freebsd-questions@FreeBSD.ORG; Thu, 30 Dec 1999 00:22:11 +0100 (CET) (envelope-from olli) Date: Thu, 30 Dec 1999 00:22:11 +0100 (CET) From: Oliver Fromme Message-Id: <199912292322.AAA18009@dorifer.heim3.tu-clausthal.de> To: freebsd-questions@FreeBSD.ORG Subject: Re: kill -HUP 1 Organization: Administration TU Clausthal Reply-To: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: TIN [version 1.2 RZTUC(3) PL2] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Duke Normandin wrote in list.freebsd-questions: > I suppose I should have been more precise as to what I was doing and > wanted to do: > > TERM=cons25 > > In /etc/rc.conf, I've been experimenting with various fonts. I now > understand from a reply to a previous question of mine, that the fonts I > use must be "matched" to the correct termcap console. So I've been > editting ttys, trying out cons25l1, cons25w, etc etc. Before I got the > nerve to try "kill -HUP 1", I simply did "shutdown -r now", to > re-initialize the system. When I first tried "kill -HUP 1, I _did not_ > expect a "pat on the back" from the system, congradulating me on a > successful "kill" ;-) -- rather I was looking for the problem's symptoms > to have disappeared, or different symptom's for the same problem. Nothing > happened; nothing changed with my consoles, leading me to believe that I > had screwed up the command somehow. OK, here are step-by-step instructions. - Be sure that you have ISO 8859-1 fonts loaded. Use ``vidcontrol -f'' for this; see the manual page. Add the appropriate entries to /etc/rc.conf to have the fonts loaded upon boot automatically (see /etc/defaults/rc.conf). DO NOT use a screenmap. - Edit /etc/ttys and change "cons25" to "cons25l1". This will change the default $TERM (termcap) setting for the console and virtual terminals. - For the change to take effect, type ``kill -HUP 1'' (be careful to type this command exactly like that -- a typo can cause a reboot! See "man 8 init"). This should restart the getty processes that are running on the vritual terminals. - You can type ``echo $TERM'' to verify the correct setting. It should print ``cons25l1''. If it doesn't, try setting it manually -- this depends on your shell. For sh, ksh, bash, zsh: export TERM=cons25l1 For csh, tcsh: setenv TERM cons25l1 Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" (Terry Pratchett) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message