From owner-freebsd-questions Fri Jul 13 13:23:53 2001 Delivered-To: freebsd-questions@freebsd.org Received: from onsult-meyers.com (dialup-49-38.dplanet.ch [212.35.49.38]) by hub.freebsd.org (Postfix) with ESMTP id 3354037B401 for ; Fri, 13 Jul 2001 13:23:48 -0700 (PDT) (envelope-from a.l.meyers@consult-meyers.com) Received: from localhost (localhost [127.0.0.1]) by 0onsult-meyers.com (8.11.4/8.11.4) with ESMTP id f6DKVPR00686; Fri, 13 Jul 2001 22:31:31 +0200 (CEST) (envelope-from a.l.meyers@consult-meyers.com) Date: Fri, 13 Jul 2001 22:31:24 +0200 (CEST) From: "A. L. Meyers" To: Giorgos Keramidas Cc: Subject: Re: xterm-color (2nd posting) In-Reply-To: <86vgkxf4d1.fsf@hades.hell.gr> Message-ID: <20010713222908.W454-100000@consult-meyers.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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" 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