Re: many xterm & x11 questions
Re: many xterm & x11 questions
- Subject: Re: many xterm & x11 questions
- From: "Patrick J. Collins" <email@hidden>
- Date: Thu, 20 Oct 2005 12:01:20 -0700 (PDT)
Hi Mark,
Thanks a lot for taking the time to reply to my questions... To answer yours:
I like xterm because of the font!! It's so crystal clear and bitmapped and
beautiful... If you can tell me how I can get this font in other terminal
programs, then perhaps I will abandon xterm.
As for my mouse cursor.. I swear, it's black.. and my background is black..
my xdefaults file is:
XTerm*Background: black
XTerm*Foreground: white
XTerm*font: -misc-fixed-medium-r-normal-*-15-*-*-*-*-*-*-*
XTerm*boldFont: -misc-fixed-medium-r-normal-*-15-*-*-*-*-*-*-*
XTerm*boldMode: false
XTerm*geometry: 80x40
and I am accessing xterm with "xterm -e login -fp patrick &"
anything wrong with what im doing?
Patrick J. Collins
http://collinatorstudios.com
On Thu, 20 Oct 2005, Mark J. Reed wrote:
On 10/20/05, Patrick J. Collins <email@hidden> wrote:
Hi everyone, I just switched over from iTerm to X11 & Xterm.
Ok, I have a question: why? :) I just made the opposite switch. xterm is too
buggy for me; crashes on resize in Panther, for instance.
#1: how can I make it so X11 on launch does NOT open xterm automatically?
Create a file in your home directory called .xinitrc. Put into it whatever
commands you want to run when you launch X11.
Important notes:
1. the file is run just as if you'd typed the commands in a terminal window,
which means that if you do this:
xterm
xterm
the second xterm will never open until the first one is closed. Put all but
the last command in the file into the background using the shell's & syntax:
xterm &
xterm
2. once you have a .xinitrc, it replaces the system one entirely - which
means that you don't get a window manager unless you put it in there, too.
For the "make X11 windows look like Mac windows" behavior, the window
manager you want to run is quartz-wm.
3. whatever the last foreground (no &) command in the file is, when that
program exits, it takes your X11 session with it. So it's usually best to
make that the place where you run the window manager.
#2: how can I make it so that when I launch xterm, that the window's
position
is not set to 0,0-- but rather somewhere in the middle of the screen?
Use the -geom (geometry) option to xterm. The arguments are
WIDTHxHEIGHT+HORIZONTAL_OFFSET+VERTICAL_OFFSET, where WIDTH and HEIGHT are
measured in character cells (default is 80x24) and HORIZONTAL_OFFSET and
VERTICAL_OFFSET are measured in pixels. So to get a standard 80x24 window
whose upper left corner is in the middle of your 1280x1024 screen, use xterm
-geom 80x24+640+512. To make it stick, use the X11 menus to edit the command
that gets run when you use command-N.
#3: when I set "defaults write com.apple.x11 enable_system_beep -boolean
false" for --Don't use the standard system beep effect for X11 alerts...
It
appears to beep with a sinewave-- Is there a way to replace this with an
aiff
or wav file?
That I don't know.
#4: my background of xterm is black (as I like it), however, I find that my
mouse cursor becomes black when it enters the window... Therefore making
it
virtually impossible to see my cursor.. Is there a way to make my mouse
cursor
more visible?
The mouse cursor color should change to match your xterm's foreground text
color. If you really have it set to black background and white letters, then
the mouse cursor should be white. If, however, you have it set to white
background and black letters plus "reverse mode", the cursor will stay
black. So use -bg and -fg instead of -rv to get your black background.
#5: has anyone modified/hacked xterm so that command-v works instead of only
middle-click?
Not that I know of with xterm. There are other X11 terminal programs which
participate in explicit command-based copy/paste schemes, usually associated
with a desktop environment like KDE or GNOME.
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden