aboutsummaryrefslogtreecommitdiff
path: root/tcap.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Force a screen re-draw after tcap 'ti' on terminal openLinus Torvalds2011-08-251-0/+7
| | | | | | | | | | | | | | | | | The 'tcapkopen()' function re-initializes the terminal with the 'ti' sequence, which for most sane termcap entries is just empty. But for 'xterm', that seems to actually be a real control sequence (clear and reset?), and we'd better tell display.c that the screen is now garbage and needs to be re-drawn. Also, make tcapkclose() match the 'ti' (terminal init) with a 'te' (terminal exit). Maybe we should just stop playing games with ti/te, but this at least improves the situation a bit. Reported-by: Bijan Soleymani <bijan@psq.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: Remove two completly unused functions (fnclabel and spal).Thiago Farina2010-09-071-48/+23
| | | | | | | | The implementation of these functions are doing anything at all at this moment. So cleanup a bit the code by removing fnclabel and spal functions completly. Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: Fix return statementsPekka Enberg2010-08-291-2/+2
| | | | | | | | Return statement is not a function so remove superfluous use of parenthesis. Cc: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* uemacs: convert typedef struct TERM to struct terminal.Thiago Farina2010-07-111-2/+2
| | | | | Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* Clean up various compile warningsLinus Torvalds2006-11-191-0/+2
| | | | | | | | | | Most of them were harmless: gcc not being smart enough to realize that an uninitialized variable was never used if it wasn't initialized etc. Some of them were name clashes ("crypt()" is a standard library function, so rename it to "myencrypt()") etc. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Make sources mostly sparse-cleanLinus Torvalds2005-10-011-1/+0
| | | | | Mainly an issue of taking care of a few remaining K&R function declarations.
* Fix more compiler warningsLinus Torvalds2005-10-011-1/+1
| | | | Better initializers, and more proper function types.
* Fix ugly "definitions in header file" crudLinus Torvalds2005-10-011-5/+5
| | | | | | | Move various initializations into new "globals.c" file. Also mark some variables static, and fix up some trivial compiler and sparse warnings.
* Avoid various name clashes with curses and termcap headersLinus Torvalds2005-10-011-18/+7
| | | | | This allows us to include the proper headers, instead of declaring things (badly) by hand.
* Fix up some trivial gcc -Wall warningsLinus Torvalds2005-09-301-1/+0
| | | | Lots more to go.
* Lots of ANSI'fication and cleanupsLinus Torvalds2005-09-301-0/+1
| | | | | | Still tons of warnings with "-Wall", but now it's actually getting closer. It even compiles again.
* More ANSI-fication of the sourcesLinus Torvalds2005-09-301-48/+54
| | | | | Ugh. Some of this is ugly. We should really include <curses.h> etc, but there are too many name clashes for that right now.
* Run "indent -kr -i8" on the sourcesLinus Torvalds2005-09-301-206/+198
| | | | Let's see how nasty it is to clean things up. For real.
* Initial import of em-4.0.15-ltLinus Torvalds2005-05-311-0/+386
This is a slightly updated version of uemacs-PK (PK is Pekka Kutvonen) which was used at Helsinki University a long time ago. My fingers cannot be retrained.