Emacs looks if DISPLAY is set, if not it opens in a terminal, if
DISPLAY is set, it trys to open in its own window unless you give it
"-nw". When you ssh in, before you launch screen do
echo $DISPLAY
if you get something like "localhost:10.0" then you have ssh set to
forward X connections. If you get something like "0.0" then look in
your startup files (.bashrc, .tcshrc .bash_profile or the like) as
somewhere something is setting DISPLAY. It may be that one of those
files calls a program like "getdisplay" to set the display. In any
event, if DISPLAY has a value, then emacs will need a "-nw" to launch
in screen, if it doesn't, it will launch with out it.
If you are an emacs user you may like adding these lines to your
.screenrc
bind 1 only
bind 2 split
bind 0 remove
bind o focus
These will add emacs like bindings for some screen operations:
in emacs in screen
-------- ------------
C-x 1 does "delete other window" now C-a 1 will do screen "only"
C-x 2 does "spit-window-vertically" now C-a 2 will do "spilt" in screen
C-x 0 does "delete-window" now C-a 0 will do the same in screen
C-x o does "other-window" now C-a o will shift focus to the other
window in screen
Hope this helps
-Greg
--
Greg Priest-Dorman
[EMAIL PROTECTED]
_______________________________________________
Mid-Hudson Valley Linux Users Group http://mhvlug.org
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug
Upcoming Meetings (6pm - 8pm) MHVLS Auditorium
Mar 5 - Wearable Linux Computing
Apr 2 - Building a Kernel the Debian / Ubuntu way
May 7 - Setting up a platform-independent home/small office network using
Linux
Jun 4 - TBD
Jul 2 - KVM (Tenative)