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

Re: What is xemacs-tty?



*- On  9 Sep, rich wrote about "What is xemacs-tty?"
> Hello,
> 
> I just installed XEmacs, and in my Windowmaker menu there now appears:
> 
> XEmacs20-nomule
> XEmacs20-tty-nomule
> 
> What is the tty entry? Why do I have 2 installations of Xemacs when I
> only picked 1?
> 

It is an menu entry for a text terminal based xemacs on a tty. 
According to the menu entry definition in /usr/lib/menu/xemacs20:

?package(xemacs20-nomule):  needs=X11  section=Apps/Editors  title="XEmacs20-nom
ule"  command="/usr/bin/xemacs-20.4-nomule"

?package(xemacs20-nomule):  needs=text  section=Apps/Editors  title="XEmacs20-tt
y-nomule"  command="/usr/bin/xemacs-20.4-nomule"

Notice that one has needs=X11 and the tty one has needs=text(See the
doc in /usr/doc/menu for more details). So the tty version says that it
requires a text terminal to run.  Maybe this is a bug in the menu entry
but I think the command string for the tty version should have the -nw
option added to it, i.e. command="/usr/bin/xemacs-20.4-nomule -nw". 
Otherwise if you are running X and select the tty version it just
launches an xterm and then spawns a GUI xemacs from there, a waist of
resources.
 

-- 
Brian 
---------------------------------------------------------------------
Mechanical Engineering                              servis@purdue.edu
Purdue University                   http://www.ecn.purdue.edu/~servis
---------------------------------------------------------------------


Reply to: