> they are a good candidate for a modular design (i.e. you may want to swap
> out one emulator object against another one if the client changes the
> terminal type). 

Yep.

> That shouldn't be too hard to get right. 

It's not trivial, but quite possible.

> Most terminal programs I'v looked into are awefully messy, mostly because
> they don't separate the graphics from the tty and the parser properly.

*nods*

> This cries for a good object oriented design ! (have a look into the
> berlin code, we do have a terminal widget. What's missing is the emulator,
> i.e. a pluggable parser which reads out the control sequences. Right now
> we simply ignore them, i.e. all we can run are programs in canonical
> mode)

Get a copy of EvStack, then. It has a modular TTY layer, with xterm
emulation and all.

CU, ANdy

-- 
= Andreas Beck                    |  Email :  <[EMAIL PROTECTED]>        =

Reply via email to