emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multi-tty design (Re: Reordering etc/NEWS)


From: David Kastrup
Subject: Re: Multi-tty design (Re: Reordering etc/NEWS)
Date: Sun, 13 May 2007 23:11:39 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.51 (gnu/linux)

David Kastrup <address@hidden> writes:

> So one of the differences appears to be that the tty session has
> TERMCAP information.

I get the following:

C-u M-: (environment) RET

("PATH=/usr/local/texlive/2005/bin/i386-linux:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games"
"TERMINFO_DIRS" "TERMCAP" "NCURSES_NO_SETBUF" "NCURSES_ASSUMED_COLORS"
"HOME=/home/dak" "COLUMNS" "LC_ALL" "LANG=en_US.UTF-8"
"MAILHOST=fencepost.gnu.org"
"TEXINPUTS=.:/usr/local/emacs-21/share/emacs/site-lisp/preview/latex:"
"GNOME_DESKTOP_SESSION_ID=Default"
"GNOME_KEYRING_SOCKET=/tmp/keyring-ZprRPl/socket"
"SESSION_MANAGER=local/lola:/tmp/.ICE-unix/5904"
"GTK_RC_FILES=/etc/gtk/gtkrc:/home/dak/.gtkrc-1.2-gnome2"
"DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-c5o8W5Kz0G,guid=e768e7262a51bc0ce774130046386332"
"SSH_AGENT_PID=6226" "SSH_AUTH_SOCK=/tmp/ssh-uzAAcD5904/agent.5904"
"EDITOR=/usr/local/emacs-21/bin/emacsclient -n --alternate-editor vi"
"PWD=/home/dak" "TEXDOCVIEW_html=( firefox %s ) &"
"GS_OPTIONS=-sPAPERSIZE=a4 " "GDMSESSION=default" "SHELL=/bin/bash"
"TEXDOCVIEW_pdf=( xpdf %s ) &" "XAUTHORITY=/home/dak/.Xauthority"
"DISPLAY=:0.0" "GDM_LANG=en_US.UTF-8" "USERNAME=dak" "LOGNAME=dak"
"GDM_XSERVER_LOCATION=local"
"VISUAL=/usr/local/emacs-21/bin/emacsclient -n --alternate-editor vi"
"NEWSSERVER=news.t-online.de" "DESKTOP_SESSION=default"
"BROWSER=firefox" "USER=dak" "LANGUAGE=en_US.UTF-8" "CVS_RSH=ssh")

And in a Window initiated from emacsclient (no -t) very much the same
except for:
 "OLDPWD=/home/tmp/emacs" "_=/usr/local/emacs-21/bin/emacsclient"
 "COLORTERM=gnome-terminal" "WINDOW=1" "SHLVL=2" "PWD=/home/tmp"
 "STY=17353.pts-0.lola" "WINDOWID=41943133")

So the funny thing is that some environment variables appear to make
it through emacsclient, but the termcap related stuff doesn't.  And
the ones that make it are seemingly those which don't exist in the
other session (and it is very strange that some seem to exist as just
the environment variable names without "=" and a value).

Messy.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

[Prev in Thread] Current Thread [Next in Thread]