• 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: Undefined variable, TERM
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Undefined variable, TERM


  • Subject: Re: Undefined variable, TERM
  • From: John W Baxter <email@hidden>
  • Date: Wed, 22 Jan 2003 23:33:54 -0800
  • Envelope-to: email@hidden

At 9:39 -0700 1/22/2003, Doug McNutt wrote:
>Since I started working seriously with Apple's new X11 the problem has
>occurred at every login. (X11 uses an environment variable $TERM.) X11 has
>not been activated at the time of failure.

When I launch Terminal (which I seldom do any more) and type echo $TERM I get
vt100
When I launch GLTerm (which is running nearly constantly, so I opened a new
window instead) and type echo $TERM I get
xterm

It's not just X11 which uses the TERM environment variable, which names the
terminal (or lies about what it is). There is a whole capabilities system
which allows a program to drive the particular terminal which is [claimed
to be] in use. For more than you could possibly want to know (including a
"burst of static" on my machine for some reason), do man terminfo. Or
don't, if you want to stay sane ;-).

And YMMV for several reasons, not least of which is that my shell in both
Terminal and GLTerm is bash (as it is on the machine I just went to skim
terminfo without the "burst of static.")

Static as in a whole bunch of things like
/usr/bin/tbl:/usr/share/man/man5/terminfo.5:1141: excess data entry `Enter
horizontal highlight mode' discarded
/usr/bin/tbl:/usr/share/man/man5/terminfo.5:1143: excess data entry `-'
discarded
/usr/bin/tbl:/usr/share/man/man5/terminfo.5:1143: excess data entry `-'
discarded

--
John Baxter email@hidden Port Ludlow, WA, USA
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >(no subject) (From: Joe Ragosta <email@hidden>)
 >Undefined variable, TERM (From: Doug McNutt <email@hidden>)

  • Prev by Date: Re: triggering applescript over the web?
  • Next by Date: Re: (no subject)
  • Previous by thread: Re: Undefined variable, TERM
  • Next by thread: Re: (no subject)
  • Index(es):
    • Date
    • Thread