75de25bb93
Standard curses library use eight bit for standout mode, so 8-bit characters displays like highlighted 7-bit characters. This patch produce library which is fully compatible with all curses programs and add 8-bit chars to all input/display functions. --- I don't think, that any programs wish to use internal curses attribute _STANDOUT directly, in expressions like: addch( ch | _STANDOUT ); Normal interface use standout() and standend() functions instead. Many programs use 'char' type (with sign extention) for input characters and sign extention becomes _STANDOUT mode in this case. So, I refuse this future and allow 8-bit characters for programs, which is designed for 7-bit only ('char' type using instead of 'unsigned char'). --- This small patch fix unpleasant standard curses bug: curses can't expand TAB at all (but tries). A man who wrote this curses misplace SYNC_IN and SYNCH_OUT, this patch exchange macro calls. This patch useful for standard 7-bit curses too, for this you must delete '_' symbol before waddbytes and apply patch. --- Oh, NO! This curses are really buggy! This small patch fix following problem: [ assumed scrollok(stdscr, TRUE) ] when addch(ch) at lower right corner of screen, curses are realy gone mad instead if simple scrolling... Curses code assumed that this will be done correctly, but implement it with two bugs. |
||
---|---|---|
.. | ||
addbytes.c | ||
addch.c | ||
addstr.c | ||
box.c | ||
clear.c | ||
clrtobot.c | ||
clrtoeol.c | ||
cr_put.c | ||
cr_tty.c | ||
curses.3 | ||
curses.c | ||
curses.ext | ||
curses.h | ||
delch.c | ||
deleteln.c | ||
delwin.c | ||
endwin.c | ||
erase.c | ||
fullname.c | ||
getch.c | ||
getstr.c | ||
id_subwins.c | ||
idlok.c | ||
initscr.c | ||
insch.c | ||
insertln.c | ||
longname.c | ||
Makefile | ||
move.c | ||
mvprintw.c | ||
mvscanw.c | ||
mvwin.c | ||
newwin.c | ||
overlay.c | ||
overwrite.c | ||
printw.c | ||
putchar.c | ||
refresh.c | ||
scanw.c | ||
scroll.c | ||
standout.c | ||
toucholap.c | ||
touchwin.c | ||
tstp.c | ||
unctrl.c |