Subject: Re: X settings
To: Albert Carter <SilverMoonTiger@wizzard.tiac.net>
From: Nico van Eikema Hommes <hommes@derioc1.organik.uni-erlangen.de>
List: port-mac68k
Date: 04/13/1997 21:20:47
Hi Albert,
>Ok I've tried to do this several times read the manuals and appearently
>still can't get it right. Whenever I start up X running startx it gives me
>2 xterms a login and an xclock. My problem is that both the login and the
>first xterm window are too long they go way off the screen. I have a 13"
>Apple RGB monitor. If anyone can help me out with setting this up
>currectly so things don't just scroll off the screen it would be helpful.
Put the part between the "=3D=3D=3D=3D=3D=3D=3D" lines into a file called=
".xinitrc", which
should be in your homedirectory and you'll get a more pleasant setup (it is
what I use on a 13" monitor).
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
userresources=3D$HOME/.Xresources
usermodmap=3D$HOME/.Xmodmap
sysresources=3D/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=3D/usr/X11R6/lib/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
xrdb -merge $userresources
fi
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
# start some nice programs
# this is to speed up the mouse with the GENERIC#29 kernel from -current
xset m 6 2
# start the window manager. TWM is present by default, you'd have to
# install the other two. I like mlvwm: it looks like MacOS.
twm &
# fvwm2 &
# mlvwm &
# uncomment this line or continue using your wristwatch :-)
# xclock -geometry 50x50-1+1 &
xterm -fn 6x10 -name "Xterm 2" -geometry 80x36+48+48 -sb &
xterm -fn 6x10 -name "Xterm 1" -geometry 80x36+16+16 -sb &
exec xterm -fn 6x10 -geometry 80x10+0+0 -name console -sb -iconic
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>Also there should be some way of setting up scroll bars as well as setting
>up the ability to cut and paste in X.
The xterms set up above have a scrollbar. Use the middle mouse button to
move it. To copy: just select text by dragging over it with the left button
pressed. The X system remembers the last selection. To paste: click with the
middle mouse button in the window where you want it pasted.
Best wishes,
Nico
--
Dr. N.J.R. van Eikema Hommes Computer-Chemie-Centrum
hommes@ccc.uni-erlangen.de Universitaet Erlangen-Nuernberg
Phone: +49-(0)9131-856532 Naegelsbachstr. 25
FAX: +49-(0)9131-856566 D-91052 Erlangen, Germany