[TriLUG] Centos command line question
Mike Norwood
norwoodm at earthlink.net
Fri Jul 13 16:35:19 EDT 2007
Hi,
I appreciate your reply. It is funny, because I tried this and it appeared
to work (even though I was sure I was already using linux as the term
variable), so I rebooted to see if it would work again and it did not. I
tried to remember what else I might have done to change it, and finally
stumbled onto that I had run the command setfont from a remote session.
This appeared to fix it, so I added setfont to the end of rc.local and
when I reboot it now works and displays the way I prefer. It is strange
because I am not giving setfont any parameters, so the only thing it is
supposed to be doing is loading the default font. I can only assume that
somehow without running this, the system has loaded a font that does not
support bold.
Thanks again. Mike
On Fri, 13 Jul 2007, Craig Taylor wrote:
> I haven't messed with setterm on pennyOS but most issues like this are
> related to what the $TERM variable is set to. Most commonly it's either
> 'xterm' or something along the lines of 'vt220' etc.
>
> Try doing an 'export TERM=xterm' and seeing if the bold starts appearing.
> It may not be set on the console based upon how the console is being
> initialized. I'm not sure of the exact console terminal emulation sequence
> but I believe that it can be told what console identification string to
> return. If there is no match, or it fails to recognize the console query
> sequence then you'll end up with an empty TERM variable.
>
> Hope this helps,
>
> - Craig Taylor
>
> On 7/12/07, Mike Norwood <norwoodm at earthlink.net> wrote:
> >
> >
> > Hello,
> >
> > I have a bit of command line weirdness that I wondered if anyone else
> > could verify for me. I have a machine we just loaded with Centos 5.0 and
> > from the console it appears that the setterm command will not turn on bold
> > lettering as in "setterm -bold on". This command does not change
> > anything, but SHOULD make the text appear bright and shiny (bolder). I did
> > check the linux terminfo with infocmp and it looks to have the same entry
> > for bold as other machines that do work.
> >
> > I only have this problem directly on the command line console. From a
> > terminal window I can use this command and it will change the text and
> > also if I ssh in from another machine it will work.
> >
> > Thanks in advance for any ideas, Mike N.
> >
> > --
> > TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> > TriLUG Organizational FAQ : http://trilug.org/faq/
> > TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> >
>
More information about the TriLUG
mailing list