Real terminal emulators? There is only XTerm.
Announcement
Collapse
No announcement yet.
Enlightenment's Terminal Gets New Features
Collapse
X
-
Originally posted by c117152 View PostA stand alone terminal will need to duplicate a whole lot of functionality the GUI tool kits already implement. i.e. If you wanted a stand alone Terminal, you'd need to write a font rendering library, an abstraction around the native APIs (X and Wayland for linux, USER\MFC\.Net\Metro for Windows...), something for concurrency, something to handle mouse input, audio output for the beeps and such, maybe an image library to go beyond vt100... Essentially, you'll be writing a fair sized GUI Tool Kit even before starting.
The rest is far from that complex. Beeps are done by emitting a special char. Font rendering is one call per line to Xft. The only somewhat complex part is emulating all the weird terminals - if you don't care for that, it's quite simple.
Comment
-
Originally posted by c117152 View PostA stand alone terminal will need to duplicate a whole lot of functionality the GUI tool kits already implement. i.e. If you wanted a stand alone Terminal, you'd need to write a font rendering library, an abstraction around the native APIs (X and Wayland for linux, USER\MFC\.Net\Metro for Windows...), something for concurrency, something to handle mouse input, audio output for the beeps and such, maybe an image library to go beyond vt100... Essentially, you'll be writing a fair sized GUI Tool Kit even before starting.
Supporting X and Wayland would be pretty simple at that point...
Comment
-
Originally posted by curaga View PostMouse? Threading? Why would you need those?
Originally posted by curaga View PostThe rest is far from that complex. Beeps are done by emitting a special char.
Originally posted by curaga View PostFont rendering is one call per line to Xft.
Originally posted by curaga View PostThe only somewhat complex part is emulating all the weird terminals - if you don't care for that, it's quite simple.
Originally posted by Daktyl198 View PostOr, get this, they could make a "core" backend that can be used with different front-ends (see: limetext). This way, each DE could, if they wanted, make their own fancy front-end using their favorite toolkit but all would contribute to the same back-end.
Supporting X and Wayland would be pretty simple at that point...
Are you new to linux?Last edited by c117152; 09 December 2013, 04:10 PM.
Comment
-
Originally posted by curaga View PostThe only somewhat complex part is emulating all the weird terminals - if you don't care for that, it's quite simple.
Comment
-
Originally posted by Daktyl198 View PostOr, get this, they could make a "core" backend that can be used with different front-ends (see: limetext). This way, each DE could, if they wanted, make their own fancy front-end using their favorite toolkit but all would contribute to the same back-end.
Supporting X and Wayland would be pretty simple at that point...
Comment
-
Originally posted by curaga View PostMouse? Threading? Why would you need those?
The rest is far from that complex. Beeps are done by emitting a special char. Font rendering is one call per line to Xft. The only somewhat complex part is emulating all the weird terminals - if you don't care for that, it's quite simple.
Comment
-
Originally posted by dh04000 View PostSomething I've never gotten is WHY each desktop environment feels like needs to build a terminal off of their libraries.
For example, with terminology, you can view and run multimedia files. See http://www.youtube.com/watch?v=ibPziLRGvkg .
It has more unique features, but those shown in the video are certainly some of the more interesting ideas.
Comment
-
Originally posted by c117152 View Post
Originally posted by Ancurio View PostI don't get how that would affect supporting X/Wayland. In fact, it would be orthogonal to that. Supporting windowing systems is the toolkit's job.
There can be X-specific calls within the application as well, not going through the toolkit. There are a lot of applications with this, actually, since most people came to expect X11 to be on every Linux desktop...
Comment
-
Originally posted by Daktyl198 View PostThere can be X-specific calls within the application as well, not going through the toolkit. There are a lot of applications with this, actually, since most people came to expect X11 to be on every Linux desktop...
Comment
Comment