aboutsummaryrefslogtreecommitdiffstats
path: root/src/msdos.c
diff options
context:
space:
mode:
authorKaroly Lorentey2004-09-13 20:33:29 +0000
committerKaroly Lorentey2004-09-13 20:33:29 +0000
commit267eea215b322b02bc4bce13cae61813c50f4b5f (patch)
tree2dec815aa97a75c7d1589e72aa814bba68d4ade9 /src/msdos.c
parent5cd432338667788c6739f43e4aa37fb53cc2a125 (diff)
parentef3b7aae581ae555a11aa38f13e0eb55ad93a8c7 (diff)
downloademacs-267eea215b322b02bc4bce13cae61813c50f4b5f.tar.gz
emacs-267eea215b322b02bc4bce13cae61813c50f4b5f.zip
Merged in changes from CVS trunk.
Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-537 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-538 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-539 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-540 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-541 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-542 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-543 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-544 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-545 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-546 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-21 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-22 Update from CVS: lisp/nndb.el (require): Remove tcp and duplicate cl. * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-23 Update from CVS * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-24 lisp/nnimap.el (nnimap-open-connection): Remove extraneous end-paren * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-25 Update from CVS * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-26 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-244
Diffstat (limited to 'src/msdos.c')
-rw-r--r--src/msdos.c15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/msdos.c b/src/msdos.c
index 8b511abebd7..712eb05b959 100644
--- a/src/msdos.c
+++ b/src/msdos.c
@@ -752,6 +752,9 @@ msdos_set_cursor_shape (struct frame *f, int start_line, int width)
752 if (f && f != SELECTED_FRAME()) 752 if (f && f != SELECTED_FRAME())
753 return; 753 return;
754 754
755 if (termscript)
756 fprintf (termscript, "\nCURSOR SHAPE=(%d,%d)", start_line, width);
757
755 /* The character cell size in scan lines is stored at 40:85 in the 758 /* The character cell size in scan lines is stored at 40:85 in the
756 BIOS data area. */ 759 BIOS data area. */
757 max_line = _farpeekw (_dos_ds, 0x485) - 1; 760 max_line = _farpeekw (_dos_ds, 0x485) - 1;
@@ -851,10 +854,12 @@ IT_set_cursor_type (struct frame *f, Lisp_Object cursor_type)
851 } 854 }
852 } 855 }
853 else 856 else
854 /* Treat anything unknown as "box cursor". This includes nil, so 857 {
855 that a frame which doesn't specify a cursor type gets a box, 858 /* Treat anything unknown as "box cursor". This includes nil, so
856 which is the default in Emacs. */ 859 that a frame which doesn't specify a cursor type gets a box,
857 msdos_set_cursor_shape (f, 0, BOX_CURSOR_WIDTH); 860 which is the default in Emacs. */
861 msdos_set_cursor_shape (f, 0, BOX_CURSOR_WIDTH);
862 }
858} 863}
859 864
860static void 865static void
@@ -1826,6 +1831,8 @@ static int cursor_cleared;
1826static void 1831static void
1827IT_display_cursor (int on) 1832IT_display_cursor (int on)
1828{ 1833{
1834 if (termscript)
1835 fprintf (termscript, "\nCURSOR %s", on ? "ON" : "OFF");
1829 if (on && cursor_cleared) 1836 if (on && cursor_cleared)
1830 { 1837 {
1831 ScreenSetCursor (current_pos_Y, current_pos_X); 1838 ScreenSetCursor (current_pos_Y, current_pos_X);