comparison src/redisplay-tty.c @ 2:ac2d302a0011 r19-15b2

Import from CVS: tag r19-15b2
author cvs
date Mon, 13 Aug 2007 08:46:35 +0200
parents 376386a54a3c
children 4b173ad71786
comparison
equal deleted inserted replaced
1:c0c6a60d29db 2:ac2d302a0011
1086 doing this after all the tgetstr()s and adjusting all the 1086 doing this after all the tgetstr()s and adjusting all the
1087 pointers. */ 1087 pointers. */
1088 CONSOLE_TTY_DATA (c)->term_entry_buffer = (char *) xmalloc (2044); 1088 CONSOLE_TTY_DATA (c)->term_entry_buffer = (char *) xmalloc (2044);
1089 bufptr = CONSOLE_TTY_DATA (c)->term_entry_buffer; 1089 bufptr = CONSOLE_TTY_DATA (c)->term_entry_buffer;
1090 1090
1091 EMACS_BLOCK_SIGNAL (SIGTTOU);
1091 status = tgetent (entry_buffer, terminal_type); 1092 status = tgetent (entry_buffer, terminal_type);
1093 EMACS_UNBLOCK_SIGNAL (SIGTTOU);
1092 #if 0 1094 #if 0
1093 if (status < 0) 1095 if (status < 0)
1094 return TTY_UNABLE_OPEN_DATABASE; 1096 return TTY_UNABLE_OPEN_DATABASE;
1095 else if (status == 0) 1097 else if (status == 0)
1096 return TTY_TYPE_UNDEFINED; 1098 return TTY_TYPE_UNDEFINED;