Xterm Font size

Xterm Font size

Post by Gary Howel » Wed, 23 Dec 1998 04:00:00



How do you change the font size in an xterm shell?

Thanks
G.

 
 
 

Xterm Font size

Post by Alex Vinoku » Tue, 29 Dec 1998 04:00:00



> How do you change the font size in an xterm shell?

> Thanks
> G.

===============================================================
========================== 1. man xterm =======================
===============================================================

User Commands                                            XTERM(1)

NAME
     xterm - terminal emulator for X

[snip]

     -fb font
             This  option  specifies  a  font  to  be  used  when
             displaying  bold  text.  This  font must be the same
             height and width as the normal font.  If only one of
             the  normal  or  bold fonts is specified, it will be
             used as the normal font and the bold  font  will  be
             produced  by overstriking this font.  The default is
             to do overstriking of the normal font.

[snip]

     -fn font
             This option  specifies  the  font  to  be  used  for
             displaying normal text.  The default is fixed.
[snip]

===============================================================
========================== 2. Fonts ===========================
===============================================================

To get fonts you need to use xlsfonts (1)

===============================================================
========================== 3. Example =========================
===============================================================

xterm -fn -adobe-helvetica-bold-i-normal--0-0-0-0-p-0-iso8859-1

===============================================================

        Alex

 
 
 

Xterm Font size

Post by lt lindle » Tue, 29 Dec 1998 04:00:00


While an xterm is active you can change the font too.

Hold down the control key and press and hold the M3 (third or right mouse
button).  You should be able to release the mouse button on top of one of a
limited set of font size choices.  

:>> How do you change the font size in an xterm shell?
:>>
:>> Thanks
:>> G.

:>===============================================================
:>========================== 1. man xterm =======================
:>===============================================================

:>User Commands                                            XTERM(1)

:>NAME
:>     xterm - terminal emulator for X

:>[snip]

:>     -fb font
:>             This  option  specifies  a  font  to  be  used  when
:>             displaying  bold  text.  This  font must be the same
:>             height and width as the normal font.  If only one of
:>             the  normal  or  bold fonts is specified, it will be
:>             used as the normal font and the bold  font  will  be
:>             produced  by overstriking this font.  The default is
:>             to do overstriking of the normal font.

:>[snip]

:>     -fn font
:>             This option  specifies  the  font  to  be  used  for
:>             displaying normal text.  The default is fixed.
:>[snip]

:>===============================================================
:>========================== 2. Fonts ===========================
:>===============================================================

:>To get fonts you need to use xlsfonts (1)

:>===============================================================
:>========================== 3. Example =========================
:>===============================================================

:>xterm -fn -adobe-helvetica-bold-i-normal--0-0-0-0-p-0-iso8859-1

:>===============================================================

:>        Alex

--
// Lee.Lindley   | There was a time when I thought that "being right"

//    | was more important.  Still, being right is more fun!
//    | And if I'm wrong, somebody will get some joy out of telling me!

 
 
 

Xterm Font size

Post by hans maye » Tue, 05 Jan 1999 04:00:00




Quote:>While an xterm is active you can change the font too.

>Hold down the control key and press and hold the M3 (third or right mouse
>button).  You should be able to release the mouse button on top of one of a
>limited set of font size choices.  

not at me. there is no difference between not pressing
or pressing the control key. i always get the "term pane" window
and no possibility to change the font.
i use openwin, maybe this is the cause.

--
best regards from vienna           |   mayer (at) unisys.co.at_SPAM
hans                               |   mayer (at) relay.bfl.at_SPAM

 
 
 

Xterm Font size

Post by hans maye » Tue, 05 Jan 1999 04:00:00






>>While an xterm is active you can change the font too.

>>Hold down the control key and press and hold the M3 (third or right mouse
>>button).  You should be able to release the mouse button on top of one of a
>>limited set of font size choices.  

>not at me. there is no difference between not pressing
>or pressing the control key. i always get the "term pane" window
>and no possibility to change the font.
>i use openwin, maybe this is the cause.

sorry, my mistake, i was in a commandtool window - not xterm.
but the choice is not very great. only the fontdefault
doesn't bring a peep. so i have the choice of 1 font - wonderfull !
do you know, how to install other fonts ?

--
best regards from vienna           |   mayer (at) unisys.co.at_SPAM
hans                               |   mayer (at) relay.bfl.at_SPAM

 
 
 

Xterm Font size

Post by lt lindle » Tue, 05 Jan 1999 04:00:00


:>but the choice is not very great. only the fontdefault
:>doesn't bring a peep. so i have the choice of 1 font - wonderfull !
:>do you know, how to install other fonts ?

I haven't done it because I haven't needed to do so.  You are
probably already overriding the default font set either with an X
resource (.Xdefaults) or from the command used to start the xterm.

man xterm

will tell you way too much about xterm.  You will learn things that you
never knew an xterm could do or why anybody would ever want one to.  
But if you keep searching on the word "font" you will find what you
need to know in the section on resources for "class VT100".

--
// Lee.Lindley   | There was a time when I thought that "being right"

//    | was more important.  Still, being right is more fun!
//    | And if I'm wrong, somebody will get some joy out of telling me!

 
 
 

Xterm Font size

Post by John Stran » Wed, 06 Jan 1999 04:00:00


Well you could put the following into the .Xdefaults and roll your own font selection:

XTerm*fontMenu.Label:  VT Fonts
XTerm*fontMenu*fontdefault*Label:       Default
XTerm*fontMenu*font1*Label:     Unreadable
XTerm*VT100*font1:              nil2
XTerm*fontMenu*font2*Label:     Tiny
XTerm*VT100*font2:              5x8
XTerm*fontMenu*font3*Label:     Small
XTerm*VT100*font3:              6x10
XTerm*fontMenu*font4*Label:     Medium
XTerm*VT100*font4:              8x13
XTerm*fontMenu*font5*Label:     Large
XTerm*VT100*font5:              9x15
XTerm*fontMenu*font6*Label:     Huge
XTerm*VT100*font6:              12x24
XTerm*fontMenu*fontescape*Label:        Escape Sequence
XTerm*fontMenu*fontsel*Label:           Selection





: >>While an xterm is active you can change the font too.
: >>
: >>Hold down the control key and press and hold the M3 (third or right mouse
: >>button).  You should be able to release the mouse button on top of one of a
: >>limited set of font size choices.  
: >
: >not at me. there is no difference between not pressing
: >or pressing the control key. i always get the "term pane" window
: >and no possibility to change the font.
: >i use openwin, maybe this is the cause.

: sorry, my mistake, i was in a commandtool window - not xterm.
: but the choice is not very great. only the fontdefault
: doesn't bring a peep. so i have the choice of 1 font - wonderfull !
: do you know, how to install other fonts ?

:  
: --
: best regards from vienna           |   mayer (at) unisys.co.at_SPAM
: hans                               |   mayer (at) relay.bfl.at_SPAM

--
While Alcatel may claim ownership of all my ideas (on or off the job),
Alcatel does not claim any responsibility for them. Warranty expired when u
opened this article and I will not be responsible for its contents or use.