/[emacs]/emacs/src/term.c
ViewVC logotype

Diff of /emacs/src/term.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.165 by ttn, Sun Aug 7 12:33:18 2005 UTC revision 1.166 by rms, Sun Aug 7 17:35:09 2005 UTC
# Line 449  set_terminal_modes () Line 449  set_terminal_modes ()
449  {  {
450    if (FRAME_TERMCAP_P (XFRAME (selected_frame)))    if (FRAME_TERMCAP_P (XFRAME (selected_frame)))
451      {      {
452        OUTPUT_IF (TS_termcap_modes);        if (TS_termcap_modes)
453            OUTPUT (TS_termcap_modes);
454          else
455            {
456              /* Output enough newlines to scroll all the old screen contents
457                 off the screen, so it won't be overwritten and lost.  */
458              int i;
459              for (i = 0; i < FRAME_LINES (XFRAME (selected_frame)); i++)
460                putchar ('\n');
461            }
462    
463        OUTPUT_IF (TS_cursor_visible);        OUTPUT_IF (TS_cursor_visible);
464        OUTPUT_IF (TS_keypad_mode);        OUTPUT_IF (TS_keypad_mode);
465        losecursor ();        losecursor ();

Legend:
Removed from v.1.165  
changed lines
  Added in v.1.166

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26