• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: TERM_PROGRAM: Undefined variable.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TERM_PROGRAM: Undefined variable.


  • Subject: Re: TERM_PROGRAM: Undefined variable.
  • From: John Rothschild <email@hidden>
  • Date: Mon, 13 Jan 2003 21:48:38 -0500

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.

  • Follow-Ups:
    • Re: TERM_PROGRAM: Undefined variable.
      • From: Gibbons Burke <email@hidden>
  • Prev by Date: Re: X11 Dies - Here's The Crash Log
  • Next by Date: Re: Sloppy and menu bars
  • Previous by thread: Re: TERM_PROGRAM: Undefined variable.
  • Next by thread: Re: TERM_PROGRAM: Undefined variable.
  • Index(es):
    • Date
    • Thread