emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/msdos.c [emacs-unicode-2]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/src/msdos.c [emacs-unicode-2]
Date: Wed, 15 Sep 2004 05:22:56 -0400

Index: emacs/src/msdos.c
diff -c emacs/src/msdos.c:1.184.2.5 emacs/src/msdos.c:1.184.2.6
*** emacs/src/msdos.c:1.184.2.5 Fri Aug 27 07:00:32 2004
--- emacs/src/msdos.c   Wed Sep 15 09:00:00 2004
***************
*** 752,757 ****
--- 752,760 ----
    if (f && f != SELECTED_FRAME())
      return;
  
+   if (termscript)
+     fprintf (termscript, "\nCURSOR SHAPE=(%d,%d)", start_line, width);
+ 
    /* The character cell size in scan lines is stored at 40:85 in the
       BIOS data area.  */
    max_line = _farpeekw (_dos_ds, 0x485) - 1;
***************
*** 851,860 ****
        }
      }
    else
!     /* Treat anything unknown as "box cursor".  This includes nil, so
!        that a frame which doesn't specify a cursor type gets a box,
!        which is the default in Emacs.  */
!     msdos_set_cursor_shape (f, 0, BOX_CURSOR_WIDTH);
  }
  
  static void
--- 854,865 ----
        }
      }
    else
!     {
!       /* Treat anything unknown as "box cursor".  This includes nil, so
!        that a frame which doesn't specify a cursor type gets a box,
!        which is the default in Emacs.  */
!       msdos_set_cursor_shape (f, 0, BOX_CURSOR_WIDTH);
!     }
  }
  
  static void
***************
*** 1826,1831 ****
--- 1831,1838 ----
  static void
  IT_display_cursor (int on)
  {
+   if (termscript)
+     fprintf (termscript, "\nCURSOR %s", on ? "ON" : "OFF");
    if (on && cursor_cleared)
      {
        ScreenSetCursor (current_pos_Y, current_pos_X);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]