[comp.windows.x] TEKEMU. FROM VTEMU.

ingar%tellus.unik.uninett@nac.no (Ingar Brokke) (11/10/89)

I am hacking on xterm(puh....). My problem is that I want
to start the tekemulator from VT if an US <1F hex> occur.

The parsing is going ok but what am I supposed to do to
start the tekemulator. I have tried to start TekRun() but
I don't think this is the right thing to do......
Do I have to change main.c ? 

I hope someone out there can help me..., thanks.


Ingar Brokke
University of Oslo, Kjeller

envbvs@epb2.lbl.gov (Brian V. Smith) (11/11/89)

In article <164*ingar@tellus.unik.uninett>,
ingar%tellus.unik.uninett@nac.no (Ingar Brokke) writes:
< 
< I am hacking on xterm(puh....). My problem is that I want
< to start the tekemulator from VT if an US <1F hex> occur.
< 
< The parsing is going ok but what am I supposed to do to
< start the tekemulator. I have tried to start TekRun() but
< I don't think this is the right thing to do......
< Do I have to change main.c ? 

You shouldn't have to hack very much.
Already the escape sequence  "ESC [ ? 38 h" will make it go to Tek mode.
Just look in the character state tables to see where that sequence 
sends xterm if you really want to make it go to Tek mode with US.
_____________________________________
Brian V. Smith    (bvsmith@lbl.gov)
Lawrence Berkeley Laboratory
I don't speak for LBL, these non-opinions are all mine.