Mercurial > hg > xemacs-beta
comparison src/redisplay-tty.c @ 209:41ff10fd062f r20-4b3
Import from CVS: tag r20-4b3
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:04:58 +0200 |
parents | f53b5ca2e663 |
children | 677f6a0ee643 |
comparison
equal
deleted
inserted
replaced
208:f427b8ec4379 | 209:41ff10fd062f |
---|---|
1100 doing this after all the tgetstr()s and adjusting all the | 1100 doing this after all the tgetstr()s and adjusting all the |
1101 pointers. */ | 1101 pointers. */ |
1102 CONSOLE_TTY_DATA (c)->term_entry_buffer = (char *) xmalloc (2044); | 1102 CONSOLE_TTY_DATA (c)->term_entry_buffer = (char *) xmalloc (2044); |
1103 bufptr = CONSOLE_TTY_DATA (c)->term_entry_buffer; | 1103 bufptr = CONSOLE_TTY_DATA (c)->term_entry_buffer; |
1104 | 1104 |
1105 #if !defined(WIN32) | |
1106 /* SIGTT* don't exist under win32 */ | |
1105 EMACS_BLOCK_SIGNAL (SIGTTOU); | 1107 EMACS_BLOCK_SIGNAL (SIGTTOU); |
1108 #endif | |
1106 status = tgetent (entry_buffer, terminal_type); | 1109 status = tgetent (entry_buffer, terminal_type); |
1110 #if !defined(WIN32) | |
1107 EMACS_UNBLOCK_SIGNAL (SIGTTOU); | 1111 EMACS_UNBLOCK_SIGNAL (SIGTTOU); |
1112 #endif | |
1108 #if 0 | 1113 #if 0 |
1109 if (status < 0) | 1114 if (status < 0) |
1110 return TTY_UNABLE_OPEN_DATABASE; | 1115 return TTY_UNABLE_OPEN_DATABASE; |
1111 else if (status == 0) | 1116 else if (status == 0) |
1112 return TTY_TYPE_UNDEFINED; | 1117 return TTY_TYPE_UNDEFINED; |