Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Dec 1999 18:24:09 -0800
From:      "Duke Normandin" <01031149@3web.net>
To:        "Oliver Fromme" <olli@dorifer.heim3.tu-clausthal.de>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: kill -HUP 1
Message-ID:  <006901bf526d$615f1f40$5c9ac5d1@webserver>

next in thread | raw e-mail | index | archive | help
-----Original Message-----
From: Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de>
To: freebsd-questions@FreeBSD.ORG <freebsd-questions@FreeBSD.ORG>
Date: Wednesday, December 29, 1999 3:22 PM
Subject: Re: kill -HUP 1


>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.

Yes! I've been editting /etc/rc.conf until my fingers are sore. I'm kinda
partial to
iso_thin-8x16 -- but for the sake of learning I'll try out ISO 8859-1 ;)

> - Edit /etc/ttys and change "cons25" to "cons25l1".
>   This will change the default $TERM (termcap) setting
>   for the console and virtual terminals.


You bet...done that!

> - 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.


Now this is the step that wasn't working for me! I'll try it as I said
above, but I'm looking for a cons25xxxx setting that: (will work with
iso_thin-xxxx) && (not trash "midc" window borders). So if "kill -HUP 1
is my friend here, I'll stake my sanity on it. Worse comes to worse, I
have the above ISO 8859-1 methodology to fall back on.

> - 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.


Yes, I check that regularly as you indicate; also with the "env" command.

>   For sh, ksh, bash, zsh:
>      export TERM=cons25l1
>   For csh, tcsh:
>      setenv TERM cons25l1


Yes! I have this in the knowledge-base that I'm compiling from this
mailing list.

I want to express my gratitude for your verbose and concise explanations.
You, Ryan Thompson, Annelise and several others should be commended by
the newbie community for your patience and understanding. The quicker we
learn, the sooner we bear some of the load on this mailing list. Thanks.

-duke




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006901bf526d$615f1f40$5c9ac5d1>