[comp.emacs] GNU Emacs 18.54 not displaying properly on Radio Shack Model 100

shadow@uafhp.uark.edu (Kyoki-san) (08/26/90)

I know you think it's funny, but I have got GNU Emacs 18.54 99% working using
my Model 100 as the display.  I have only two problems, I think:

1) All lines are overwriting each other.  I.e. I get carriage-returns, but no
linefeeds.

2) The status line is getting a "D" at the beginning of the line instead of
being displayed in reverse video.

Can anyone help me to solve these two little problems?  Here is my termcap file
which I have compiled with 'tic':

m100|rs100|R/S Model 100,
 il1=\EL, am, bs, ed=^L, el=\EK, clear=\EE, cup=\EY%+\040%+\040,
 co#40, dl1=\EM, home=\EH, kcud1=^_, kcub1=^], kcuf1=^\, kcuu1=^^,
 cub1=^H, li#8, cuf1=^\, rmso=\Eq, smso=\Ep, cuu1=\EA, xt

Any help you can give me would be much appreciated.  By the way, 'vi' complains
that it recquires scrolling....

James

bsp09@audrey.cs.tu-berlin.de (Uebung bsp) (08/26/90)

In article <5145@uafhp.uark.edu> shadow@uafhp.uark.edu (Kyoki-san) writes:

   I know you think it's funny, but I have got GNU Emacs 18.54 99% working 
   using my Model 100 as the display.  I have only two problems, I think:

   1) All lines are overwriting each other.  I.e. I get carriage-returns, but
   no linefeeds.

   2) The status line is getting a "D" at the beginning of the line instead of
   being displayed in reverse video.

My Problem is similar: Using a 386-PC with Interactive 386ix 3.2 and
GNU Emacs 18.55 I do NOT have problem no. 1) (as above), but problem
no. 2), if the console (terminal at386) is used.

All other screen-oriented programs I tested are running well.
(Nethack, vi (of course!), user interface of a mailbox, MicroEmacs
3.9, etc.). Inverse video used by these programs is correct.

I made one patch to the Emacs source:
In sysdep.c I #undef'ed TIOCGETC after #including <termio.h>. this was
necessary because termio.h defines TIOCGETC, but omits a definition
Emacs needs if TIOCGETC is defined.

Any help is welcome, thanks in advance!

Juergen
--
-----------------
Juergen Nickelsen
nickelsen@mikroperipherik.e-technik.tu-berlin.dbp.de

pauld@scenic.wa.com (Paul Davis) (08/27/90)

   Date: 25 Aug 90 21:04:37 GMT
   From: mcsun!unido!tub!tubopal!opal!bsp09@uunet.uucp  (Uebung bsp)
   Organization: Technical University of Berlin

      2) The status line is getting a "D" at the beginning of the line instead of
      being displayed in reverse video.

   My Problem is similar: Using a 386-PC with Interactive 386ix 3.2 and
   GNU Emacs 18.55 I do NOT have problem no. 1) (as above), but problem
   no. 2), if the console (terminal at386) is used.

   Any help is welcome, thanks in advance!

   Juergen

Delete the "xt" entry from the terminfo entry for your terminal. Someone
messed up when they put this in for the AT386 entry, and its probably
true for several others.

- enjoy, paul

ckd@cs.bu.edu (Christopher Davis) (08/28/90)

bsp> On 25 Aug 90 21:04:37 GMT, bsp09@audrey.cs.tu-berlin.de (Uebung bsp) said:
shadow> In <5145@uafhp.uark.edu> shadow@uafhp.uark.edu (Kyoki-san) writes:

shadow> I know you think it's funny, but I have got GNU Emacs 18.54 99%
shadow> working using my Model 100 as the display.  I have only two
shadow> problems, I think:
shadow> [...]
shadow> 2) The status line is getting a "D" at the beginning of the line
shadow> instead of being displayed in reverse video.

bsp> My Problem is similar: Using a 386-PC with Interactive 386ix 3.2 and
bsp> GNU Emacs 18.55 I do NOT have problem no. 1) (as above), but problem
bsp> no. 2), if the console (terminal at386) is used.

bsp> Any help is welcome, thanks in advance!

I have experienced this problem as well (AT&T 6386 WGS with AT&T SysV); the
solution is buried in etc/TERMS.

It turns out that the 'xt' terminfo attribute is usually incorrect.  Use
infocmp -I to read out the AT386 entries, remove 'xt' from the entries,
then use tic to recompile them.  (The same problem is evidenced on the TRS
Model 100, I guess.)
--
   Christopher Davis, BU SMG '90  <ckd@cs.bu.edu> <...!bu.edu!cs.bu.edu!ckd>
     "Dammit, we're all going to die, let's die doing something *useful*!"
	 --Hal Clement on comments that space exploration is dangerous

bsa@telotech.UUCP (08/29/90)

In your message of 27 Aug 90 17:34:06 EST, you write:
Ah, but tabs *are* destructive on the TRS-80 Model 100.  I used to use it with
Jove all the time, with "xt" turned on; I sold the thing before I got GNU
Emacs running, so I don't know anything about how it works with that.

However, I might suggest that unless "xt" has been tested with other
terminals that need it, perhaps Emacs is doing something wrong.  Open a
termscript file next time you go into Emacs on the 100 and let's see what
kind of garbage it's being fed.

++Brandon