[mdlug] xterm question
Michael ORourke
mrorourke at earthlink.net
Thu Oct 9 13:50:28 EDT 2008
Ray,
Couldn't you do something like...
xterm -geometry 100x40+25+5 -bg cyan -fg red -fn "-*-courier-huge-*"
-Mike
----- Original Message -----
From: "Raymond McLaughlin" <driveray at ameritech.net>
To: <mdlug at mdlug.org>
Sent: Thursday, October 09, 2008 1:38 PM
Subject: [mdlug] xterm question
> MDLUGers:
>
> It is easy spawn an xterm with certain attributes predefined at the
> command line, for instance:
>
> xterm -geometry 100x40+25+5 -bg cyan -fg red
>
> will start a 100 character by 40 line xterm with the left edge 25 pixels
> from the left side of the screen, and with the top edge 5 pixels below
> the top of the screen, and with red text (foreground) on a cyan
> background.
>
> This gets me most of the way to where I want to go. Once the xterm has
> started I can <Ctrl><Right Click> on the xterm and get a menu from which
> I can select "Huge" from a list of "VT Fonts". This gets me the rest of
> the way. The question is how do I get there directly from the command
> line?
>
> If I use the -fs switch I get an error message if it is followed by any
> non-numeric argument. A numeric produces no error, but also no change in
> the font displayed. I have tried using the -fn and -font switches, but
> haven't been able to determine an acceptable arguement. I have tried
> using filenames from several of the directories declared in my
> /etc/X11/xorg.conf file, but I always get an error like:
>
> xterm: unable to open font "times", trying "fixed"....
>
> xterm: unable to open font "times.ttf", trying "fixed"....
>
> I have been unable to find any information about what type of font the
> xterm is looking for, or where.
>
> Ideally I want a command line option that gets the xterm up with the
> "Huge" font selected as if from the <Ctrl><Right Click> menu. In this
> menu it always starts with "Default" (=medium) selected, so a second
> best would be to figure out how to change the "Default"
>
> Raymond McLaughlin
>
> mdlug
> _______________________________________________
> mdlug mailing list
> mdlug at mdlug.org
> http://mdlug.org/mailman/listinfo/mdlug
--------------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.173 / Virus Database: 270.7.6/1716 - Release Date: 10/9/2008
9:44 AM
More information about the mdlug
mailing list