Re: TERM_PROGRAM: Undefined variable.
Re: TERM_PROGRAM: Undefined variable.
- Subject: Re: TERM_PROGRAM: Undefined variable.
- From: Gibbons Burke <email@hidden>
- Date: Tue, 14 Jan 2003 09:13:20 -0600
Many thanks to everyone who responded to my query with interesting
solutions. I chose to implement was the one John Rothschild mentions
below, which gives you the ability to use the settermtitle alias to
reset xterm's window title text as well as Terminal's.
Cheers,
Gibbons Burke
On Monday, January 13, 2003, at 08:48 PM, John Rothschild wrote:
Message: 14
Date: Mon, 13 Jan 2003 13:05:02 -0600
Subject: TERM_PROGRAM: Undefined variable.
From: Gibbons Burke <email@hidden>
To: email@hidden
When X11 starts up and starts an xterm window, or if I launch another
xterm window, the first line always says:
TERM_PROGRAM: Undefined variable.
I have also noted another user who posted a screen shot in the X11
thread in the Ars Technica Mac Achaia forum had the same problem.
Where is the TERM_PROGRAM variable supposed to be defined? termcap?
The
man page is silent on the issue.
XDarwin and Orobor were previously installed, but were deleted before
installing OSX X11 beta.
This is actually coming from /usr/share/tcsh/examples/rc
and more specifically the aliases file in the same directory.
TERM_PROGRAM is a Terminal specific variable and I don't think it's
necessary since xterms use the same escape sequences as the Terminal.
I would either comment out the offending lines or change it as > follows:
if ("$TERM_PROGRAM" == "Apple_Terminal") then
alias settermtitle 'echo -n "^[]2;\!:1^G"'
endif
to
alias settermtitle 'echo -n "^[]2;\!:1^G"'
I hope this helps.
JR
JR email@hidden
#include <interesting_comment.here>
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.