[comp.emacs] More info on vt100 Problem

mike5@rruxjj.UUCP (michael rabinowitz) (03/24/89)

Regarding my previous posting ... IBM 3194 Terminal, VT100 Emulation,
GNU, garbled output, and so on ... I have a little more information:

I think I can explain why 'cat' would act differently than 'gnuemacs'.
GNU puts the tty into some variation of raw mode, and cat uses the tty
as is (cooked?).  Here's a run-down of what happens:

  (1) $ gnuemacs                       ;; garbled output...but
                                       ;; (term-script "./foo") is active...
  (2) $ cat foo                        ;; comes out perfectly!
  (3) $ stty raw;cat foo;stty cooked   ;; garbled...similar to (1)

So...it seems that sending vt100 escape sequences to my terminal works
great in cooked mode, but doesn't work in raw mode?!  Any suggestions
on how to fix?