[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/msdos.c,v
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/src/msdos.c,v |
Date: |
Tue, 26 Aug 2008 20:27:44 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Eli Zaretskii <eliz> 08/08/26 20:27:44
Index: msdos.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/msdos.c,v
retrieving revision 1.220
retrieving revision 1.221
diff -u -b -r1.220 -r1.221
--- msdos.c 23 Aug 2008 21:25:28 -0000 1.220
+++ msdos.c 26 Aug 2008 20:27:44 -0000 1.221
@@ -2414,6 +2414,7 @@
void
internal_terminal_init ()
{
+ static int init_needed = 1;
char *term = getenv ("TERM"), *colors;
struct frame *sf = SELECTED_FRAME();
struct tty_display_info *tty;
@@ -2438,6 +2439,8 @@
}
tty = FRAME_TTY (sf);
+ if (init_needed)
+ {
if (!tty->termscript && getenv ("EMACSTEST"))
tty->termscript = fopen (getenv ("EMACSTEST"), "wt");
if (tty->termscript)
@@ -2451,12 +2454,12 @@
fprintf (tty->termscript, "=====================\n\n");
}
- Vinitial_window_system = current_kboard->Vwindow_system = Qpc;
+ Vinitial_window_system = Qpc;
Vwindow_system_version = make_number (23); /* RE Emacs version */
- sf->output_method = output_msdos_raw;
tty->terminal->type = output_msdos_raw;
- /* If Emacs was dumped on DOS/V machine, forget the stale VRAM address. */
+ /* If Emacs was dumped on DOS/V machine, forget the stale VRAM
+ address. */
screen_old_address = 0;
/* Forget the stale screen colors as well. */
@@ -2508,6 +2511,10 @@
fprintf (tty->termscript, "<SCREEN SAVED (dimensions=%dx%d)>\n",
screen_size_X, screen_size_Y);
+ init_needed = 0;
+ }
+ current_kboard->Vwindow_system = Qpc;
+ sf->output_method = output_msdos_raw;
init_frame_faces (sf);
#endif
}
- [Emacs-diffs] Changes to emacs/src/msdos.c,v, Eli Zaretskii, 2008/08/23
- [Emacs-diffs] Changes to emacs/src/msdos.c,v, Eli Zaretskii, 2008/08/23
- [Emacs-diffs] Changes to emacs/src/msdos.c,v, Eli Zaretskii, 2008/08/23
- [Emacs-diffs] Changes to emacs/src/msdos.c,v,
Eli Zaretskii <=
- [Emacs-diffs] Changes to emacs/src/msdos.c,v, Eli Zaretskii, 2008/08/27
- [Emacs-diffs] Changes to emacs/src/msdos.c,v, Eli Zaretskii, 2008/08/30
- [Emacs-diffs] Changes to emacs/src/msdos.c,v, Eli Zaretskii, 2008/08/30
- [Emacs-diffs] Changes to emacs/src/msdos.c,v, Eli Zaretskii, 2008/08/31