Mailinglist Archive: opensuse (3729 mails)

< Previous Next >
Re: [SLE] xterm question
  • From: Paul Varner <suse-linux-e@xxxxxxxxxxxxxxxx>
  • Date: 24 Jun 2003 19:29:57 -0500
  • Message-id: <1056500997.2363.10.camel@xxxxxxxxxxxxxxxxxx>
On Tue, 2003-06-24 at 19:07, Carlos E. R. wrote:
> The 03.06.24 at 15:51, Christopher Mahmood wrote:
>
> > * Carlos E. R. (robin1.listas@xxxxxxxxxx) [030624 15:36]:
> > > Is it possible to start an xterm with a parameter on the command line
> > > producing the same effect as the menu selection "VT Fonts: Huge"?
> > >
> > > And if there is another to give a certain size and possition, better still ;-)
> >
> > The Xresources xterm*Geometry: and xterm*font: or the corresponding
> > command line options if your don't want to mess with Xresources.
>
> Xresources wouldn't work, as I need different xterms of different sizes.
> As for the command line, that is what I'm looking for, and not finding
> O:-)
>
> It could be a -f?? something, but it seems to be expecting a font name,
> and I only want to specify that the size I want is Huge. There is a "-fs
> size", but it wants size in points for truetype fonts... and it doesn't
> work, "xterm -fs 24" does nothing different than "xterm -fs 12"
>
> As for geometry, it seems to be:
>
> -geometry geometry
> This option specifies the preferred size and posiĀ­
> tion of the VT102 window; see X(7).
>
> and sends me to "man X", where I get lost again... Ah! found it:
> "-geometry WIDTHxHEIGHT+XOFF+YOFF", where width and height are in chars.
> And that one works.
>
> Well, something solved. I still need the standard font size set to huge,
> normal, unreadable, etc...
Carlos,

You are going to have to specify the font using the -fn option. The
"Huge" font is normally the font 10x20. The follwing command will list
the "VT fonts" on your system.

xlsfonts | grep ^[1-9].*

You will have to play with it until you get the right one. Another
example is the "Large" font is 9x15.
--
Paul Varner <suse-linux-e@xxxxxxxxxxxxxxxx>


< Previous Next >
References