SuSE GmbH

SuSE Support Database

Title: Terminal type command in XEmacs

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

Terminal type command in XEmacs

Applicable to
S.u.S.E. version: 4.2

Symptom:

A customer wrote us:
[...]
when I start the Xemacs on a fvwm button, and then I call a man page in 
Xemacs, I get in the output always something like the following:

File: /usr/man/man2/read.2.gz
WARNING: terminal cannot clear to end of line
WARNING: terminal cannot clear screen
WARNING: terminal cannot home cursor
WARNING: terminal cannot move cursor to lower left of screen
WARNING: terminal cannot scroll backwards

as well as a displayed "^M". Besides some man pages are not fully 
displayed, but they simply break off anywhere. If I call the Xemacs manually
(entry of "xemacs" in a xterm), everything goes wonderful.
[...]

Cause:

The window manager is started with the terminal type "dumb". Since every programme, that is started from the window manager menu, is started in the same shell as the window manager, it has the same terminal type as well, that is, "dumb".

Most of the programmes under X, however, expect at least the terminal type "xterm" or "linux". If a programme is started under X from a XTerm, it also has available this terminal type. The above errors do not appear.

Solution:

Please enter into your file ~/.xinitrc the following line with the terminal type's commitment:
# 
# finally start the window manager
#

export TERM=xterm

$WINDOWMANAGER 
The errors mentioned above should not appear anymore.

----------

Keywords: XEMACS, TERM, XTERM, TERMINAL, FVWM, WINDOW MANAGER

----------

Feedback welcome: Send Mail to martin.scherbaum@suse.de (Please give the following subject: SDB-maddin_terminal)

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

SDB-maddin_terminal, Copyright SuSE GmbH, Nuremberg, Germany - Version:
SuSE GmbH - Last generated: 07. Oct 1999 17:05:44 by maddin with sdb_gen 1.00.0