Re: Getting rid of "declare -x" statements at Terminal login
- From: Barry Margolin <barmar@xxxxxxxxxxxx>
- Date: Mon, 05 Nov 2007 20:48:42 -0500
In article
<usenet.kadin-ED0D03.15210705112007@xxxxxxxxxxxxxxxxxxxxxxxx>,
Kadin2048 <usenet.kadin@xxxxxxxx> wrote:
I was recently messing around in the X11 terminal (xterm), trying vainly
to get a functioning Meta key for Emacs, and something happened that's
now causing me to get lots of "declare -x" variable statements every
time I open a login shell.
For example, when I open a terminal (either Terminal.app, iTerm, or
xterm), I see:
Last login: Mon Nov 5 15:06:04 on ttyp1
Welcome to Darwin!
declare -x HOME="/Users/kadin"
declare -x LOGNAME="kadin"
declare -x OLDPWD
declare -x PATH="/bin:/sbin:/usr/bin:/usr/local/bin:/usr/sbin"
declare -x PWD="/Users/kadin"
declare -x SECURITYSESSIONID="506000"
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x TERM="xterm-new"
declare -x TERM_PROGRAM="iTerm.app"
declare -x USER="kadin"
declare -x __CF_USER_TEXT_ENCODING="0x1F5:0:0"
bigbox:~ kadin$
I've gone through and deleted all the configuration files that I created
in my meta-key hunt (.xinitrc and .Xmodmap), but I *still* can't get
this stuff to go away, and it's mighty irritating, since I do a lot of
opening and closing of terminal windows.
Can anyone tell me how to make it go away / suppress it? Or even just
tell me what's causing it? (Bonus points if you know how to get a
working Emacs Option-as-Meta key in iTerm...)
Look for a "set -x" command. This tells the shell to echo the commands
as it's executing them.
--
Barry Margolin, barmar@xxxxxxxxxxxx
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
.
- Follow-Ups:
- Re: Getting rid of "declare -x" statements at Terminal login
- From: Kadin2048
- Re: Getting rid of "declare -x" statements at Terminal login
- References:
- Getting rid of "declare -x" statements at Terminal login
- From: Kadin2048
- Getting rid of "declare -x" statements at Terminal login
- Prev by Date: Re: Oh ! my god ! the mac equivalent cost twice the price
- Next by Date: Re: How to publish my web site...
- Previous by thread: Getting rid of "declare -x" statements at Terminal login
- Next by thread: Re: Getting rid of "declare -x" statements at Terminal login
- Index(es):
Relevant Pages
|