Module Name: src Committed By: christos Date: Mon Mar 7 00:27:52 UTC 2011
Modified Files: src/lib/libterminfo: termcap.3 termcap.c Log Message: Restore historical behavior of tgoto() to return "OOPS" on failure. This is best for now because there are too many programs that don't check the return value of it. Of course cursor motion commands from $TERMCAP have 0 chance of working now, since their % escapes are not translated to terminfo. In the window case %+ expects one param from the stack in the termcap case and two in the terminfo so we barf. We need proper captoinfo handling for the % escapes, like the one in ncurses. Hi Roy :-) To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/lib/libterminfo/termcap.3 cvs rdiff -u -r1.10 -r1.11 src/lib/libterminfo/termcap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.