Menu

#16 Get TTerminal class cleaned up and working please

open
nobody
None
5
2007-01-16
2006-12-19
dugz
No

I believe that the TTerminal class is possibly one of the most potentially useful classes in the entire library expecially on Unix type systems.

Getting this class functional would enable one to implement a unix shell inside the tvision UI which would be extremely nifty. A lightweight window system could be made that would load on one of the linux consoles, for instance, allowing one to read a file and type commands in a shell without having to flip back and forth between virtual consoles.

Other things could be done like having system logs piped into tvision windows, process monitoring, etc. Perfect for a server that doesn't require the overhead of running the x-window system, yet retaining some *gee whiz* factors.

Since I now have sucessfully compiled and installed tvision on my system, I can start tinkering around with it at least. If I can manage to get anything debugged I'll send you back some patches.

Discussion

  • dugz

    dugz - 2006-12-19
    • priority: 5 --> 9
     
  • Salvador Eduardo Tropea

    Logged In: YES
    user_id=3906
    Originator: NO

    I agree that's a nice thing to do. SETEdit could debug programs running inside a window.
    What's even more interesting: TV already have code to decode escape sequences. Is used by the low level drivers and this code could be reused.
    But I don't have the ammount of time needed for that.
    Patchs are welcome.

     
  • Salvador Eduardo Tropea

    • priority: 9 --> 5
     
  • Nobody/Anonymous

    Logged In: NO

    I've got rather decent vt100/vt220 and linux emulation code (can pass vttest) in my project at qodem.sf.net . I'm beginning to use TV for a new project and may have time later this year to look into this feature request too.

     
  • Autumn Lamonte

    Autumn Lamonte - 2008-02-19

    Logged In: YES
    user_id=1746612
    Originator: NO

    I have refactored the vt100 and linux emulation code from my project Qodem and made a subclass of TTextDevice that runs a bash shell with the right behavior. Check out the code and screenshots of QTerminal on http://qodem.sf.net .

    I don't know Turbo Vision all that well yet, so sorry about the performance and that it doesn't quite match the design of other TV components. Still, with some help in integrating it (and converting the forkpty() call to an appropriate Win32 function) I think it could be good enough to become TTerminal.

     

Log in to post a comment.