-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Rafael Fini wrote: > Hi list! > > I was thinking about write a program like screen, with some features, > like horizontal split, different shortcut schemes, etc.. > But i don't know where to begin. I already downloaded Screen source, but > the code is a little complex, and i want to start with a simple one. I'm > a inexperienced programmer. Can you recommend me some manual, or text > about this type of programming?
This may be sacrilege, but from what I've seen, the source code for tmux (tmux.sourceforge.net) is vastly more readable/comprehensible than screen's. (In fact, from conversing with the author, the state of screen's source was a primary motivation for beginning tmux in the first place). But screen, tmux's, and probably anyone else's term-emulation code will still tend to assume some existing knowledge on how terminals work. Sources for information include http://invisible-island.net/xterm/ctlseqs/ctlseqs.html (which documents how Xterm handles various control sequences), the terminfo(5) manpage (which documents how terminfo databases describe various terminal features), and your system documentation on terminals (like termios(3)). - -- HTH, Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. Maintainer of GNU Wget and GNU Teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkpt76YACgkQ7M8hyUobTrGKQACfcLKcToFiN+0hD6EVahtQxHPq SrgAniU0itR95Ler53RlZaabM+R5P4UZ =Ifgn -----END PGP SIGNATURE-----