Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2001 22:31:24 +0200 (CEST)
From:      "A. L. Meyers" <a.l.meyers@consult-meyers.com>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: xterm-color (2nd posting)
Message-ID:  <20010713222908.W454-100000@consult-meyers.com>
In-Reply-To: <86vgkxf4d1.fsf@hades.hell.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
Giorgos,

Thanks a lot! It works perfectly.

Where is all this stuff documented in detail?

Greetings to the homeland of Aristotle from

Lucien


On 13 Jul 2001, Giorgos Keramidas wrote:

> "A. L. Meyers" <a.l.meyers@consult-meyers.com> writes:
>
> > Hi!
> >
> > This may be such a simple, stupid question that no one has
> > replied yet.
> >
> > How do I set up X to get TERM=xterm-color by default?
> >
> > The standard install makes me do
> >
> > export TERM=xterm-color
> >
> > every time I open a terminal in X.
>
> You can set up the XTerm resource *termName to have this automagically changed
> by xterm(1) every time you fire up an xterm.  With my ~/.xinitrc file being:
>
>     #!/bin/sh
>
>     userresources=$HOME/.Xresources
>     usermodmap=$HOME/.Xmodmap
>     sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
>     sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
>
>     test -f "${sysresources}"	&& xrdb -merge "${sysresources}"
>     test -f "${userresources}"	&& xrdb -merge "${usersresources}"
>
>     test -f "${sysmodmap}"		&& xmodmap "${sysmodmap}"
>     test -f "${usermodmap}"		&& xmodmap "${usermodmap}"
>
>     xset m 22/10 4
>     xset +dpms
>     xset dpms 300 1200 1800
>     xset b 100 800 20
>     xset r on
>     xset r rate 250 30
>
>     exec wmaker
>
> I can put the changes to ~/.Xresources. A part of this file looks like:
>
>     % grep XTerm ~/.Xresources
>     XTerm*background: #224477
>     XTerm*foreground: #ffffff
>     XTerm*colorULMode: off
>     XTerm*font3: -b&h-lucidatypewriter-medium-r-normal-sans-10-100-75-75-m-60-iso8859-1
>     XTerm*font: -b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-1
>     XTerm*termName:	xterm-color
>
> -giorgos
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010713222908.W454-100000>