aboutsummaryrefslogtreecommitdiffstats
path: root/src/sysdep.c
diff options
context:
space:
mode:
authorJim Blandy1992-07-13 20:56:17 +0000
committerJim Blandy1992-07-13 20:56:17 +0000
commit0137dbf747e9fcbfe6f37c7fb0bbb29012a27179 (patch)
tree658380474eae580fc6b03b724e6498d9cf0b783f /src/sysdep.c
parentff11dfa15b3b56559bac0d5c6b0a26a80d2d5f6d (diff)
downloademacs-0137dbf747e9fcbfe6f37c7fb0bbb29012a27179.tar.gz
emacs-0137dbf747e9fcbfe6f37c7fb0bbb29012a27179.zip
entered into RCS
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index 5c3bdfc232e..7283f7d9e06 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -133,7 +133,7 @@ extern char *sys_errlist[];
133 133
134extern int quit_char; 134extern int quit_char;
135 135
136#include "screen.h" 136#include "frame.h"
137#include "window.h" 137#include "window.h"
138#include "termhooks.h" 138#include "termhooks.h"
139#include "termchar.h" 139#include "termchar.h"
@@ -897,7 +897,7 @@ init_sys_modes ()
897 EMACS_SET_TTY (input_fd, &tty, 0); 897 EMACS_SET_TTY (input_fd, &tty, 0);
898 898
899 /* This code added to insure that, if flow-control is not to be used, 899 /* This code added to insure that, if flow-control is not to be used,
900 we have an unlocked screen at the start. */ 900 we have an unlocked terminal at the start. */
901 901
902#ifdef TCXONC 902#ifdef TCXONC
903 if (!flow_control) ioctl (0, TCXONC, 1); 903 if (!flow_control) ioctl (0, TCXONC, 1);
@@ -966,10 +966,10 @@ init_sys_modes ()
966 } 966 }
967 else 967 else
968 { 968 {
969 screen_garbaged = 1; 969 frame_garbaged = 1;
970#ifdef MULTI_SCREEN 970#ifdef MULTI_FRAME
971 if (SCREENP (Vterminal_screen)) 971 if (FRAMEP (Vterminal_frame))
972 SCREEN_GARBAGED_P (XSCREEN (Vterminal_screen)) = 1; 972 FRAME_GARBAGED_P (XFRAME (Vterminal_frame)) = 1;
973#endif 973#endif
974 } 974 }
975 975
@@ -991,7 +991,7 @@ tabs_safe_p ()
991 Store number of lines into *heightp and width into *widthp. 991 Store number of lines into *heightp and width into *widthp.
992 If zero or a negative number is stored, the value is not valid. */ 992 If zero or a negative number is stored, the value is not valid. */
993 993
994get_screen_size (widthp, heightp) 994get_frame_size (widthp, heightp)
995 int *widthp, *heightp; 995 int *widthp, *heightp;
996{ 996{
997 997
@@ -1044,7 +1044,7 @@ get_screen_size (widthp, heightp)
1044 1044
1045 1045
1046/* Prepare the terminal for exiting Emacs; move the cursor to the 1046/* Prepare the terminal for exiting Emacs; move the cursor to the
1047 bottom of the screen, turn off interrupt-driven I/O, etc. */ 1047 bottom of the frame, turn off interrupt-driven I/O, etc. */
1048reset_sys_modes () 1048reset_sys_modes ()
1049{ 1049{
1050 if (noninteractive) 1050 if (noninteractive)
@@ -1056,10 +1056,10 @@ reset_sys_modes ()
1056 return; 1056 return;
1057 if (read_socket_hook || !EQ (Vwindow_system, Qnil)) 1057 if (read_socket_hook || !EQ (Vwindow_system, Qnil))
1058 return; 1058 return;
1059 cursor_to (SCREEN_HEIGHT (selected_screen) - 1, 0); 1059 cursor_to (FRAME_HEIGHT (selected_frame) - 1, 0);
1060 clear_end_of_line (SCREEN_WIDTH (selected_screen)); 1060 clear_end_of_line (FRAME_WIDTH (selected_frame));
1061 /* clear_end_of_line may move the cursor */ 1061 /* clear_end_of_line may move the cursor */
1062 cursor_to (SCREEN_HEIGHT (selected_screen) - 1, 0); 1062 cursor_to (FRAME_HEIGHT (selected_frame) - 1, 0);
1063#ifdef IBMR2AIX 1063#ifdef IBMR2AIX
1064 { 1064 {
1065 /* HFT devices normally use ^J as a LF/CR. We forced it to 1065 /* HFT devices normally use ^J as a LF/CR. We forced it to
@@ -1233,7 +1233,7 @@ kbd_input_ast ()
1233 struct input_event e; 1233 struct input_event e;
1234 e.kind = ascii_keystroke; 1234 e.kind = ascii_keystroke;
1235 XSET (buf[i].code, Lisp_Int, cbuf[i]); 1235 XSET (buf[i].code, Lisp_Int, cbuf[i]);
1236 e.screen = selected_screen; 1236 e.frame = selected_frame;
1237 kbd_buffer_store_event (&e); 1237 kbd_buffer_store_event (&e);
1238 } 1238 }
1239 1239
@@ -1729,7 +1729,7 @@ read_input_waiting ()
1729 1729
1730 /* Scan the chars for C-g and store them in kbd_buffer. */ 1730 /* Scan the chars for C-g and store them in kbd_buffer. */
1731 e.kind = ascii_keystroke; 1731 e.kind = ascii_keystroke;
1732 e.screen = selected_screen; 1732 e.frame = selected_frame;
1733 for (i = 0; i < nread; i++) 1733 for (i = 0; i < nread; i++)
1734 { 1734 {
1735 XSET (e.code, Lisp_Int, buf[i]); 1735 XSET (e.code, Lisp_Int, buf[i]);
@@ -3881,7 +3881,7 @@ rename_sans_version (from,to)
3881 stat = sys$dassgn (chan); 3881 stat = sys$dassgn (chan);
3882 if (!stat) 3882 if (!stat)
3883 lib$signal (stat); 3883 lib$signal (stat);
3884 strcpy (vms_file_written, to_esn); /* We will write this to the screen*/ 3884 strcpy (vms_file_written, to_esn); /* We will write this to the terminal*/
3885 return 0; 3885 return 0;
3886} 3886}
3887 3887