summaryrefslogtreecommitdiff
path: root/main.c
Commit message (Collapse)AuthorAgeFilesLines
* use xor instead of incrementing blinkBobby Bingham2015-08-291-1/+1
| | | | | Because blink is a signed integer, an eventual overflow would result in undefined behavior.
* major changes to input handling in preparation for pasting, which willRich Felker2006-10-251-6/+13
| | | | | | | | | | | | | | | | | | | | require support for large blocks of input: output which cannot be written to the tty (pty) is no longer discarded. instead, the display module is responsible for keeping the buffer alive until it has been entirely consumed. one simple (and smart) way to ensure this is to refuse to process events that could generate new input text as long as there is unwritten data. this works as long as there is an earlier layer of buffering (for fbcon, kernel; for x11, xlib). a direct-on-x-protocol display implementation will have to do its own buffer management. this architecture allows pasting to be performed direct from a buffer owned by the display module, which could reside in static or shared memory, or even as a memory-mapped file. it also facilitates reuse of the code in non-tty-connected settings.
* make size of built-in font known, may be neededRich Felker2006-10-121-1/+2
|
* fbcon target: let the kernel do the key mapping for us...Rich Felker2006-10-081-1/+3
| | | | | | | this made it easy to fix vc switching and window resizing, so i'm fixing those in the same commit as well.
* the big UCF-font commit!Rich Felker2006-10-051-0/+11
| | | | | | still a little bit messy, but it works quite well already more to come soon.
* use larger buffer, same as linux kernel tty buffer it seemsRich Felker2006-10-031-1/+1
|
* first working version of uuterm!Rich Felker2006-10-031-0/+96
- at this point it is purely experimental. only ascii characters are visible (using builtin font) although all characters are processed. - there are known bugs, including crashes. - there are major missing features. - but it works. ^_^