-- ncurses-5.6/include/curses.h-443-extern NCURSES_EXPORT(void) nofilter(void); ncurses-5.6/include/curses.h-444-#else ncurses-5.6/include/curses.h-445-#define curses_version() NCURSES_VERSION ncurses-5.6/include/curses.h-446-#endif ncurses-5.6/include/curses.h-447- ncurses-5.6/include/curses.h-448-/* ncurses-5.6/include/curses.h-449- * This is an extension to support events... ncurses-5.6/include/curses.h-450- */ ncurses-5.6/include/curses.h-451-#if 1 ncurses-5.6/include/curses.h-452-#ifdef NCURSES_WGETCH_EVENTS ncurses-5.6/include/curses.h:453:#if !defined(__BEOS__) /* Fix _nc_timed_wait() on BEOS... */ ncurses-5.6/include/curses.h-454-# define NCURSES_EVENT_VERSION 1 ncurses-5.6/include/curses.h:455:#endif /* !defined(__BEOS__) */ ncurses-5.6/include/curses.h-456- ncurses-5.6/include/curses.h-457-/* ncurses-5.6/include/curses.h-458- * Bits to set in _nc_event.data.flags ncurses-5.6/include/curses.h-459- */ ncurses-5.6/include/curses.h-460-# define _NC_EVENT_TIMEOUT_MSEC 1 ncurses-5.6/include/curses.h-461-# define _NC_EVENT_FILE 2 ncurses-5.6/include/curses.h-462-# define _NC_EVENT_FILE_READABLE 2 ncurses-5.6/include/curses.h-463-# if 0 /* Not supported yet... */ ncurses-5.6/include/curses.h-464-# define _NC_EVENT_FILE_WRITABLE 4 ncurses-5.6/include/curses.h-465-# define _NC_EVENT_FILE_EXCEPTION 8 -- ncurses-5.6/include/curses.h.in-443-extern NCURSES_EXPORT(void) nofilter(void); ncurses-5.6/include/curses.h.in-444-#else ncurses-5.6/include/curses.h.in-445-#define curses_version() NCURSES_VERSION ncurses-5.6/include/curses.h.in-446-#endif ncurses-5.6/include/curses.h.in-447- ncurses-5.6/include/curses.h.in-448-/* ncurses-5.6/include/curses.h.in-449- * This is an extension to support events... ncurses-5.6/include/curses.h.in-450- */ ncurses-5.6/include/curses.h.in-451-#if @NCURSES_EXT_FUNCS@ ncurses-5.6/include/curses.h.in-452-#ifdef NCURSES_WGETCH_EVENTS ncurses-5.6/include/curses.h.in:453:#if !defined(__BEOS__) /* Fix _nc_timed_wait() on BEOS... */ ncurses-5.6/include/curses.h.in-454-# define NCURSES_EVENT_VERSION 1 ncurses-5.6/include/curses.h.in:455:#endif /* !defined(__BEOS__) */ ncurses-5.6/include/curses.h.in-456- ncurses-5.6/include/curses.h.in-457-/* ncurses-5.6/include/curses.h.in-458- * Bits to set in _nc_event.data.flags ncurses-5.6/include/curses.h.in-459- */ ncurses-5.6/include/curses.h.in-460-# define _NC_EVENT_TIMEOUT_MSEC 1 ncurses-5.6/include/curses.h.in-461-# define _NC_EVENT_FILE 2 ncurses-5.6/include/curses.h.in-462-# define _NC_EVENT_FILE_READABLE 2 ncurses-5.6/include/curses.h.in-463-# if 0 /* Not supported yet... */ ncurses-5.6/include/curses.h.in-464-# define _NC_EVENT_FILE_WRITABLE 4 ncurses-5.6/include/curses.h.in-465-# define _NC_EVENT_FILE_EXCEPTION 8 -- ncurses-5.6/include/curses.head-443-extern NCURSES_EXPORT(void) nofilter(void); ncurses-5.6/include/curses.head-444-#else ncurses-5.6/include/curses.head-445-#define curses_version() NCURSES_VERSION ncurses-5.6/include/curses.head-446-#endif ncurses-5.6/include/curses.head-447- ncurses-5.6/include/curses.head-448-/* ncurses-5.6/include/curses.head-449- * This is an extension to support events... ncurses-5.6/include/curses.head-450- */ ncurses-5.6/include/curses.head-451-#if 1 ncurses-5.6/include/curses.head-452-#ifdef NCURSES_WGETCH_EVENTS ncurses-5.6/include/curses.head:453:#if !defined(__BEOS__) /* Fix _nc_timed_wait() on BEOS... */ ncurses-5.6/include/curses.head-454-# define NCURSES_EVENT_VERSION 1 ncurses-5.6/include/curses.head:455:#endif /* !defined(__BEOS__) */ ncurses-5.6/include/curses.head-456- ncurses-5.6/include/curses.head-457-/* ncurses-5.6/include/curses.head-458- * Bits to set in _nc_event.data.flags ncurses-5.6/include/curses.head-459- */ ncurses-5.6/include/curses.head-460-# define _NC_EVENT_TIMEOUT_MSEC 1 ncurses-5.6/include/curses.head-461-# define _NC_EVENT_FILE 2 ncurses-5.6/include/curses.head-462-# define _NC_EVENT_FILE_READABLE 2 ncurses-5.6/include/curses.head-463-# if 0 /* Not supported yet... */ ncurses-5.6/include/curses.head-464-# define _NC_EVENT_FILE_WRITABLE 4 ncurses-5.6/include/curses.head-465-# define _NC_EVENT_FILE_EXCEPTION 8 -- ncurses-5.6/misc/shlib-50-# Using the actual soname (e.g., ../lib/libncurses.so) alone, is a more ncurses-5.6/misc/shlib-51-# flexible solution; you can link without having to set the environment ncurses-5.6/misc/shlib-52-# variable, and on some systems (IRIX) you can even run the resulting binaries ncurses-5.6/misc/shlib-53-# without setting LD_LIBRARY_PATH. ncurses-5.6/misc/shlib-54-# ncurses-5.6/misc/shlib-55-# Using a conventional link, with -L and -l options on Linux results in a ncurses-5.6/misc/shlib-56-# statically linked executable, which we don't want at all. ncurses-5.6/misc/shlib-57-# ncurses-5.6/misc/shlib-58-# Special cases: ncurses-5.6/misc/shlib-59-# ncurses-5.6/misc/shlib:60:# BeOS R4.5 uses $LIBRARY_PATH rather than $LD_LIBRARY_PATH. ncurses-5.6/misc/shlib-61-# Cygwin uses $PATH ncurses-5.6/misc/shlib-62-# Mac OS X uses $DYLD_LIBRARY_PATH ncurses-5.6/misc/shlib-63-# ncurses-5.6/misc/shlib-64-# Other cases not handled by this script: ncurses-5.6/misc/shlib-65-# ncurses-5.6/misc/shlib-66-# AIX uses $LIBPATH ncurses-5.6/misc/shlib-67-# IRIX64 may use $LD_LIBRARY64_PATH or $LD_LIBRARYN32_PATH ncurses-5.6/misc/shlib-68-# Solaris may use $LD_LIBRARY_PATH_64 ncurses-5.6/misc/shlib-69-# ncurses-5.6/misc/shlib-70-CDPATH= -- ncurses-5.6/misc/shlib-87-done ncurses-5.6/misc/shlib-88- ncurses-5.6/misc/shlib-89-# Set the environment variable. ncurses-5.6/misc/shlib-90-if test -n "$q" ; then ncurses-5.6/misc/shlib-91- system= ncurses-5.6/misc/shlib-92- if test -n "$SHLIB_HOST" ; then ncurses-5.6/misc/shlib-93- system="$SHLIB_HOST" ncurses-5.6/misc/shlib-94- elif test -n "$PATHEXT" ; then ncurses-5.6/misc/shlib-95- system=cygwin ncurses-5.6/misc/shlib-96- elif test -n "$LIBRARY_PATH" ; then ncurses-5.6/misc/shlib:97: system=beos ncurses-5.6/misc/shlib-98- elif test -n "$DYLD_LIBRARY_PATH" ; then ncurses-5.6/misc/shlib-99- system=darwin ncurses-5.6/misc/shlib-100- elif test -n "$LD_LIBRARY_PATH"; then ncurses-5.6/misc/shlib-101- system=unix ncurses-5.6/misc/shlib-102- else ncurses-5.6/misc/shlib-103- for r in $q/*.* ncurses-5.6/misc/shlib-104- do ncurses-5.6/misc/shlib-105- if test -f "$r" ncurses-5.6/misc/shlib-106- then ncurses-5.6/misc/shlib-107- case $r in -- ncurses-5.6/misc/shlib-114- esac ncurses-5.6/misc/shlib-115- fi ncurses-5.6/misc/shlib-116- test -n "$system" && break ncurses-5.6/misc/shlib-117- done ncurses-5.6/misc/shlib-118- fi ncurses-5.6/misc/shlib-119- ncurses-5.6/misc/shlib-120- case .$system in ncurses-5.6/misc/shlib-121- .cygwin*) ncurses-5.6/misc/shlib-122- variable=PATH ncurses-5.6/misc/shlib-123- ;; ncurses-5.6/misc/shlib:124: .beos*) ncurses-5.6/misc/shlib-125- variable=LIBRARY_PATH ncurses-5.6/misc/shlib-126- ;; ncurses-5.6/misc/shlib-127- .darwin*) ncurses-5.6/misc/shlib-128- variable=DYLD_LIBRARY_PATH ncurses-5.6/misc/shlib-129- ;; ncurses-5.6/misc/shlib-130- *) ncurses-5.6/misc/shlib-131- variable=LD_LIBRARY_PATH ncurses-5.6/misc/shlib-132- ;; ncurses-5.6/misc/shlib-133- esac ncurses-5.6/misc/shlib-134- -- ncurses-5.6/misc/terminfo.src-640-# ncurses-5.6/misc/terminfo.src-641-# See ansi.sysk and nansi.sys above. ncurses-5.6/misc/terminfo.src-642-nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi, ncurses-5.6/misc/terminfo.src-643- dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L, ncurses-5.6/misc/terminfo.src-644- is2=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p, ncurses-5.6/misc/terminfo.src-645- use=ansi.sysk, ncurses-5.6/misc/terminfo.src-646- ncurses-5.6/misc/terminfo.src-647-#### ANSI console types ncurses-5.6/misc/terminfo.src-648-# ncurses-5.6/misc/terminfo.src-649- ncurses-5.6/misc/terminfo.src:650:#### BeOS ncurses-5.6/misc/terminfo.src-651-# ncurses-5.6/misc/terminfo.src:652:# BeOS entry for Terminal program Seems to be almost ANSI ncurses-5.6/misc/terminfo.src:653:beterm|BeOS Terminal, ncurses-5.6/misc/terminfo.src-654- am, eo, mir, msgr, xenl, xon, ncurses-5.6/misc/terminfo.src-655- colors#8, cols#80, it#8, lines#25, ncv#5, pairs#64, ncurses-5.6/misc/terminfo.src-656- bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, ncurses-5.6/misc/terminfo.src-657- csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, ncurses-5.6/misc/terminfo.src-658- cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, ncurses-5.6/misc/terminfo.src-659- cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ncurses-5.6/misc/terminfo.src-660- dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ncurses-5.6/misc/terminfo.src-661- ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, ncurses-5.6/misc/terminfo.src-662- hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ncurses-5.6/misc/terminfo.src-663- il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, -- ncurses-5.6/misc/terminfo.tmp-640-# ncurses-5.6/misc/terminfo.tmp-641-# See ansi.sysk and nansi.sys above. ncurses-5.6/misc/terminfo.tmp-642-nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi, ncurses-5.6/misc/terminfo.tmp-643- dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L, ncurses-5.6/misc/terminfo.tmp-644- is2=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p, ncurses-5.6/misc/terminfo.tmp-645- use=ansi.sysk, ncurses-5.6/misc/terminfo.tmp-646- ncurses-5.6/misc/terminfo.tmp-647-#### ANSI console types ncurses-5.6/misc/terminfo.tmp-648-# ncurses-5.6/misc/terminfo.tmp-649- ncurses-5.6/misc/terminfo.tmp:650:#### BeOS ncurses-5.6/misc/terminfo.tmp-651-# ncurses-5.6/misc/terminfo.tmp:652:# BeOS entry for Terminal program Seems to be almost ANSI ncurses-5.6/misc/terminfo.tmp:653:beterm|BeOS Terminal, ncurses-5.6/misc/terminfo.tmp-654- am, eo, mir, msgr, xenl, xon, ncurses-5.6/misc/terminfo.tmp-655- colors#8, cols#80, it#8, lines#25, ncv#5, pairs#64, ncurses-5.6/misc/terminfo.tmp-656- bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, ncurses-5.6/misc/terminfo.tmp-657- csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, ncurses-5.6/misc/terminfo.tmp-658- cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, ncurses-5.6/misc/terminfo.tmp-659- cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ncurses-5.6/misc/terminfo.tmp-660- dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ncurses-5.6/misc/terminfo.tmp-661- ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, ncurses-5.6/misc/terminfo.tmp-662- hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ncurses-5.6/misc/terminfo.tmp-663- il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, -- ncurses-5.6/ncurses/README.IZ-65- the change in the value represents only the amount of time spent in ncurses-5.6/ncurses/README.IZ-66- waiting for events, not the amount of time spent bookkeeping; ncurses-5.6/ncurses/README.IZ-67- ncurses-5.6/ncurses/README.IZ-68-*) the return KEY_EVENT of wgetstrn_event() means that the output ncurses-5.6/ncurses/README.IZ-69- string includes the user input typed so far, but the user did not have ncurses-5.6/ncurses/README.IZ-70- a chance to press ENTER (or whatever). This call should be ncurses-5.6/ncurses/README.IZ-71- repeated (with "shifted" pointer to a buffer, of course) to ncurses-5.6/ncurses/README.IZ-72- complete the input; ncurses-5.6/ncurses/README.IZ-73- ncurses-5.6/ncurses/README.IZ-74-*) The presence of this extension can be checked via inspecting ncurses-5.6/ncurses/README.IZ:75: #ifdef NCURSES_EVENT_VERSION. This symbol is not defined on BeOS, ncurses-5.6/ncurses/README.IZ:76: since there is no support for this on BeOS. ncurses-5.6/ncurses/README.IZ-77- ncurses-5.6/ncurses/README.IZ-78-Known issues: calls interrupted by KEY_EVENT reset the ESCDELAY ncurses-5.6/ncurses/README.IZ-79-timer. This is not entirely new, since other synthetic events behave ncurses-5.6/ncurses/README.IZ-80-the same (see "if (ch >= KEY_MIN)" branch of kgetch()). However, ncurses-5.6/ncurses/README.IZ-81-KEY_EVENT may be generated in a continuous stream (say, when ncurses-5.6/ncurses/README.IZ-82-downloading a file), thus this may be more important than with other ncurses-5.6/ncurses/README.IZ-83-synthetic keys. An additional field in window structure which keeps ncurses-5.6/ncurses/README.IZ-84-timestamp of the first raw key in the queue may be needed to ncurses-5.6/ncurses/README.IZ-85-circumvent this. ncurses-5.6/ncurses/README.IZ-86- -- ncurses-5.6/ncurses/tty/lib_twait.c-35-** lib_twait.c ncurses-5.6/ncurses/tty/lib_twait.c-36-** ncurses-5.6/ncurses/tty/lib_twait.c-37-** The routine _nc_timed_wait(). ncurses-5.6/ncurses/tty/lib_twait.c-38-** ncurses-5.6/ncurses/tty/lib_twait.c-39-** (This file was originally written by Eric Raymond; however except for ncurses-5.6/ncurses/tty/lib_twait.c-40-** comments, none of the original code remains - T.Dickey). ncurses-5.6/ncurses/tty/lib_twait.c-41-*/ ncurses-5.6/ncurses/tty/lib_twait.c-42- ncurses-5.6/ncurses/tty/lib_twait.c-43-#include ncurses-5.6/ncurses/tty/lib_twait.c-44- ncurses-5.6/ncurses/tty/lib_twait.c:45:#ifdef __BEOS__ ncurses-5.6/ncurses/tty/lib_twait.c-46-#undef false ncurses-5.6/ncurses/tty/lib_twait.c-47-#undef true ncurses-5.6/ncurses/tty/lib_twait.c-48-#include ncurses-5.6/ncurses/tty/lib_twait.c-49-#endif ncurses-5.6/ncurses/tty/lib_twait.c-50- ncurses-5.6/ncurses/tty/lib_twait.c-51-#if USE_FUNC_POLL ncurses-5.6/ncurses/tty/lib_twait.c-52-# if HAVE_SYS_TIME_H ncurses-5.6/ncurses/tty/lib_twait.c-53-# include ncurses-5.6/ncurses/tty/lib_twait.c-54-# endif ncurses-5.6/ncurses/tty/lib_twait.c-55-#elif HAVE_SELECT -- ncurses-5.6/ncurses/tty/lib_twait.c-151- ncurses-5.6/ncurses/tty/lib_twait.c-152-#ifdef NCURSES_WGETCH_EVENTS ncurses-5.6/ncurses/tty/lib_twait.c-153- int timeout_is_event = 0; ncurses-5.6/ncurses/tty/lib_twait.c-154- int n; ncurses-5.6/ncurses/tty/lib_twait.c-155-#endif ncurses-5.6/ncurses/tty/lib_twait.c-156- ncurses-5.6/ncurses/tty/lib_twait.c-157-#if USE_FUNC_POLL ncurses-5.6/ncurses/tty/lib_twait.c-158-#define MIN_FDS 2 ncurses-5.6/ncurses/tty/lib_twait.c-159- struct pollfd fd_list[MIN_FDS]; ncurses-5.6/ncurses/tty/lib_twait.c-160- struct pollfd *fds = fd_list; ncurses-5.6/ncurses/tty/lib_twait.c:161:#elif defined(__BEOS__) ncurses-5.6/ncurses/tty/lib_twait.c-162-#elif HAVE_SELECT ncurses-5.6/ncurses/tty/lib_twait.c-163- static fd_set set; ncurses-5.6/ncurses/tty/lib_twait.c-164-#endif ncurses-5.6/ncurses/tty/lib_twait.c-165- ncurses-5.6/ncurses/tty/lib_twait.c-166- long starttime, returntime; ncurses-5.6/ncurses/tty/lib_twait.c-167- ncurses-5.6/ncurses/tty/lib_twait.c-168- TR(TRACE_IEVENT, ("start twait: %d milliseconds, mode: %d", ncurses-5.6/ncurses/tty/lib_twait.c-169- milliseconds, mode)); ncurses-5.6/ncurses/tty/lib_twait.c-170- ncurses-5.6/ncurses/tty/lib_twait.c-171-#ifdef NCURSES_WGETCH_EVENTS -- ncurses-5.6/ncurses/tty/lib_twait.c-252- evl->result_flags |= _NC_EVENT_TIMEOUT_MSEC; ncurses-5.6/ncurses/tty/lib_twait.c-253- } ncurses-5.6/ncurses/tty/lib_twait.c-254- } ncurses-5.6/ncurses/tty/lib_twait.c-255- } ncurses-5.6/ncurses/tty/lib_twait.c-256- ncurses-5.6/ncurses/tty/lib_twait.c-257- if (fds != fd_list) ncurses-5.6/ncurses/tty/lib_twait.c-258- free((char *) fds); ncurses-5.6/ncurses/tty/lib_twait.c-259- ncurses-5.6/ncurses/tty/lib_twait.c-260-#endif ncurses-5.6/ncurses/tty/lib_twait.c-261- ncurses-5.6/ncurses/tty/lib_twait.c:262:#elif defined(__BEOS__) ncurses-5.6/ncurses/tty/lib_twait.c-263- /* ncurses-5.6/ncurses/tty/lib_twait.c:264: * BeOS's select() is declared in socket.h, so the configure script does ncurses-5.6/ncurses/tty/lib_twait.c-265- * not see it. That's just as well, since that function works only for ncurses-5.6/ncurses/tty/lib_twait.c-266- * sockets. This (using snooze and ioctl) was distilled from Be's patch ncurses-5.6/ncurses/tty/lib_twait.c-267- * for ncurses which uses a separate thread to simulate select(). ncurses-5.6/ncurses/tty/lib_twait.c-268- * ncurses-5.6/ncurses/tty/lib_twait.c-269- * FIXME: the return values from the ioctl aren't very clear if we get ncurses-5.6/ncurses/tty/lib_twait.c-270- * interrupted. ncurses-5.6/ncurses/tty/lib_twait.c-271- * ncurses-5.6/ncurses/tty/lib_twait.c-272- * FIXME: this assumes mode&1 if milliseconds < 0 (see lib_getch.c). ncurses-5.6/ncurses/tty/lib_twait.c-273- */ ncurses-5.6/ncurses/tty/lib_twait.c-274- result = 0; -- ncurses-5.6/ncurses/tty/lib_twait.c-415- if (result != 0) { ncurses-5.6/ncurses/tty/lib_twait.c-416- if (result > 0) { ncurses-5.6/ncurses/tty/lib_twait.c-417- result = 0; ncurses-5.6/ncurses/tty/lib_twait.c-418-#if USE_FUNC_POLL ncurses-5.6/ncurses/tty/lib_twait.c-419- for (count = 0; count < MIN_FDS; count++) { ncurses-5.6/ncurses/tty/lib_twait.c-420- if ((mode & (1 << count)) ncurses-5.6/ncurses/tty/lib_twait.c-421- && (fds[count].revents & POLLIN)) { ncurses-5.6/ncurses/tty/lib_twait.c-422- result |= (1 << count); ncurses-5.6/ncurses/tty/lib_twait.c-423- } ncurses-5.6/ncurses/tty/lib_twait.c-424- } ncurses-5.6/ncurses/tty/lib_twait.c:425:#elif defined(__BEOS__) ncurses-5.6/ncurses/tty/lib_twait.c-426- result = 1; /* redundant, but simple */ ncurses-5.6/ncurses/tty/lib_twait.c-427-#elif HAVE_SELECT ncurses-5.6/ncurses/tty/lib_twait.c-428- if ((mode & 2) ncurses-5.6/ncurses/tty/lib_twait.c-429- && (fd = SP->_mouse_fd) >= 0 ncurses-5.6/ncurses/tty/lib_twait.c-430- && FD_ISSET(fd, &set)) ncurses-5.6/ncurses/tty/lib_twait.c-431- result |= 2; ncurses-5.6/ncurses/tty/lib_twait.c-432- if ((mode & 1) ncurses-5.6/ncurses/tty/lib_twait.c-433- && FD_ISSET(SP->_ifd, &set)) ncurses-5.6/ncurses/tty/lib_twait.c-434- result |= 1; ncurses-5.6/ncurses/tty/lib_twait.c-435-#endif -- ncurses-5.6/ncurses/tty/tty_update.c-37- * lib_doupdate.c ncurses-5.6/ncurses/tty/tty_update.c-38- * ncurses-5.6/ncurses/tty/tty_update.c-39- * The routine doupdate() and its dependents. ncurses-5.6/ncurses/tty/tty_update.c-40- * All physical output is concentrated here (except _nc_outch() ncurses-5.6/ncurses/tty/tty_update.c-41- * in lib_tputs.c). ncurses-5.6/ncurses/tty/tty_update.c-42- * ncurses-5.6/ncurses/tty/tty_update.c-43- *-----------------------------------------------------------------*/ ncurses-5.6/ncurses/tty/tty_update.c-44- ncurses-5.6/ncurses/tty/tty_update.c-45-#include ncurses-5.6/ncurses/tty/tty_update.c-46- ncurses-5.6/ncurses/tty/tty_update.c:47:#ifdef __BEOS__ ncurses-5.6/ncurses/tty/tty_update.c-48-#undef false ncurses-5.6/ncurses/tty/tty_update.c-49-#undef true ncurses-5.6/ncurses/tty/tty_update.c-50-#include ncurses-5.6/ncurses/tty/tty_update.c-51-#endif ncurses-5.6/ncurses/tty/tty_update.c-52- ncurses-5.6/ncurses/tty/tty_update.c-53-#if defined(TRACE) && HAVE_SYS_TIMES_H && HAVE_TIMES ncurses-5.6/ncurses/tty/tty_update.c-54-#define USE_TRACE_TIMES 1 ncurses-5.6/ncurses/tty/tty_update.c-55-#else ncurses-5.6/ncurses/tty/tty_update.c-56-#define USE_TRACE_TIMES 0 ncurses-5.6/ncurses/tty/tty_update.c-57-#endif -- ncurses-5.6/ncurses/tty/tty_update.c-313- return FALSE; ncurses-5.6/ncurses/tty/tty_update.c-314- ncurses-5.6/ncurses/tty/tty_update.c-315- if (SP->_checkfd >= 0) { ncurses-5.6/ncurses/tty/tty_update.c-316-#if USE_FUNC_POLL ncurses-5.6/ncurses/tty/tty_update.c-317- struct pollfd fds[1]; ncurses-5.6/ncurses/tty/tty_update.c-318- fds[0].fd = SP->_checkfd; ncurses-5.6/ncurses/tty/tty_update.c-319- fds[0].events = POLLIN; ncurses-5.6/ncurses/tty/tty_update.c-320- if (poll(fds, 1, 0) > 0) { ncurses-5.6/ncurses/tty/tty_update.c-321- have_pending = TRUE; ncurses-5.6/ncurses/tty/tty_update.c-322- } ncurses-5.6/ncurses/tty/tty_update.c:323:#elif defined(__BEOS__) ncurses-5.6/ncurses/tty/tty_update.c-324- /* ncurses-5.6/ncurses/tty/tty_update.c:325: * BeOS's select() is declared in socket.h, so the configure script does ncurses-5.6/ncurses/tty/tty_update.c-326- * not see it. That's just as well, since that function works only for ncurses-5.6/ncurses/tty/tty_update.c-327- * sockets. This (using snooze and ioctl) was distilled from Be's patch ncurses-5.6/ncurses/tty/tty_update.c-328- * for ncurses which uses a separate thread to simulate select(). ncurses-5.6/ncurses/tty/tty_update.c-329- * ncurses-5.6/ncurses/tty/tty_update.c-330- * FIXME: the return values from the ioctl aren't very clear if we get ncurses-5.6/ncurses/tty/tty_update.c-331- * interrupted. ncurses-5.6/ncurses/tty/tty_update.c-332- */ ncurses-5.6/ncurses/tty/tty_update.c-333- int n = 0; ncurses-5.6/ncurses/tty/tty_update.c-334- int howmany = ioctl(0, 'ichr', &n); ncurses-5.6/ncurses/tty/tty_update.c-335- if (howmany >= 0 && n > 0) { -- ncurses-5.6/tack/HISTORY-1- ncurses-5.6/tack/HISTORY-2-Current history: ncurses-5.6/tack/HISTORY-3- ncurses-5.6/tack/HISTORY-4-2006/11/25 Fixes for ncurses tparm() prototype. ncurses-5.6/tack/HISTORY-5-2006/06/24 1.02 Modify to support ncurses extended string capabilities. ncurses-5.6/tack/HISTORY-6-2003/10/18 1.01 Fix some logic in pad.c, improve bce test. ncurses-5.6/tack/HISTORY-7-2003/09/20 Modified to allow running from compiled-in terminfo. ncurses-5.6/tack/HISTORY-8-2001/10/20 Make menu titles agree with descriptions. ncurses-5.6/tack/HISTORY-9-2000/03/04 Fix a few spelling errors ncurses-5.6/tack/HISTORY:10:1999/09/04 Minor fix to build/link on BeOS ncurses-5.6/tack/HISTORY-11-1999/05/16 Minor fix to build/link on CLIX ncurses-5.6/tack/HISTORY-12-1999/05/09 Update to build/link on NeXT ncurses-5.6/tack/HISTORY-13-1999/04/17 Update to work with ncurses 5.0 beta1 (TERMTYPE struct) ncurses-5.6/tack/HISTORY-14-1999/02/07 Build with ncurses 4.2 981219 (renamed function) ncurses-5.6/tack/HISTORY-15-1998/01/09 1.00 First release under GPL ncurses-5.6/tack/HISTORY-16-1997/12/24 0.02 First version that requires ncurses ncurses-5.6/tack/HISTORY-17-1997/10/29 0.01 Second beta release to the ncurses mailing list. ncurses-5.6/tack/HISTORY-18-1997/10/06 0.00 First beta release to the ncurses mailing list. ncurses-5.6/tack/HISTORY-19- ncurses-5.6/tack/HISTORY-20-Ancient history: TACK -- the terminfo action checker -- ncurses-5.6/tack/sysdep.c-27-#ifdef HAVE_CONFIG_H ncurses-5.6/tack/sysdep.c-28-#include ncurses-5.6/tack/sysdep.c-29-#endif ncurses-5.6/tack/sysdep.c-30-#include /* include before curses.h to work around glibc bug */ ncurses-5.6/tack/sysdep.c-31- ncurses-5.6/tack/sysdep.c-32-#include ncurses-5.6/tack/sysdep.c-33- ncurses-5.6/tack/sysdep.c-34-#include ncurses-5.6/tack/sysdep.c-35-#include ncurses-5.6/tack/sysdep.c-36- ncurses-5.6/tack/sysdep.c:37:#if defined(__BEOS__) ncurses-5.6/tack/sysdep.c-38-#undef false ncurses-5.6/tack/sysdep.c-39-#undef true ncurses-5.6/tack/sysdep.c-40-#include ncurses-5.6/tack/sysdep.c-41-#endif ncurses-5.6/tack/sysdep.c-42- ncurses-5.6/tack/sysdep.c-43-#if HAVE_SELECT ncurses-5.6/tack/sysdep.c-44-#if HAVE_SYS_TIME_H && HAVE_SYS_TIME_SELECT ncurses-5.6/tack/sysdep.c-45-#include ncurses-5.6/tack/sysdep.c-46-#endif ncurses-5.6/tack/sysdep.c-47-#if HAVE_SYS_SELECT_H -- ncurses-5.6/tack/sysdep.c-335- /* the following loop has to be tuned for each computer */ ncurses-5.6/tack/sysdep.c-336- for (j = 0; j < 1000; j++) { ncurses-5.6/tack/sysdep.c-337- ioctl(fileno(stdin), FIONREAD, &i); ncurses-5.6/tack/sysdep.c-338- if (i) ncurses-5.6/tack/sysdep.c-339- return i; ncurses-5.6/tack/sysdep.c-340- } ncurses-5.6/tack/sysdep.c-341- return i; ncurses-5.6/tack/sysdep.c-342-} ncurses-5.6/tack/sysdep.c-343- ncurses-5.6/tack/sysdep.c-344-#else ncurses-5.6/tack/sysdep.c:345:#if defined(__BEOS__) ncurses-5.6/tack/sysdep.c-346-int ncurses-5.6/tack/sysdep.c-347-char_ready(void) ncurses-5.6/tack/sysdep.c-348-{ ncurses-5.6/tack/sysdep.c-349- int n = 0; ncurses-5.6/tack/sysdep.c-350- int howmany = ioctl(0, 'ichr', &n); ncurses-5.6/tack/sysdep.c-351- return (howmany >= 0 && n > 0); ncurses-5.6/tack/sysdep.c-352-} ncurses-5.6/tack/sysdep.c-353-#else ncurses-5.6/tack/sysdep.c-354-#define char_ready() 1 ncurses-5.6/tack/sysdep.c-355-#endif