OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Apr 25, 2024 9:51 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: libtsm - Terminal-emulator State Machine
PostPosted: Thu Jan 19, 2017 10:46 pm 
Offline
Member
Member
User avatar

Joined: Sun Dec 25, 2016 1:54 am
Posts: 204
Has anyone made use of this as part of a vga console driver?

Quote:
TSM is a state machine for DEC VT100-VT520 compatible terminal emulators. It tries to support all common standards while keeping compatibility to existing emulators like xterm, gnome-terminal, konsole, ..

TSM itself does not provide any rendering nor window management. It is a simple plain state machine without any external dependencies. It can be used to implement terminal emulators, but also to implement other applications that need to interpret terminal escape sequences.


https://www.freedesktop.org/wiki/Softwa ... on/libtsm/

If I understand correctly, you attach it to render onto your VGA code and then bolt a stdout stream on it....

If you then had say, a curses application feeding stdout, then you get a text mode UI on your console.

I found an example in the OSV project and I am thinking I am going to do it.

_________________
Plagiarize. Plagiarize. Let not one line escape thine eyes...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], deblokc and 227 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group