[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r105103: Remove support for supdup, c
From: |
Lars Magne Ingebrigtsen |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r105103: Remove support for supdup, c10 and perq terminals, which are no longer supported. |
Date: |
Mon, 11 Jul 2011 17:16:10 +0200 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 105103
fixes bug(s): http://debbugs.gnu.org/1482
committer: Lars Magne Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Mon 2011-07-11 17:16:10 +0200
message:
Remove support for supdup, c10 and perq terminals, which are no longer
supported.
modified:
src/ChangeLog
src/term.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2011-07-10 21:49:05 +0000
+++ b/src/ChangeLog 2011-07-11 15:16:10 +0000
@@ -1,3 +1,8 @@
+2011-07-11 Lars Magne Ingebrigtsen <address@hidden>
+
+ * term.c (init_tty): Remove support for supdup, c10 and perq
+ terminals, which are no longer supported (bug#1482).
+
2011-07-10 Johan Bockgård <address@hidden>
* xdisp.c (Ftool_bar_lines_needed): Fix WINDOWP check.
=== modified file 'src/term.c'
--- a/src/term.c 2011-07-07 15:39:23 +0000
+++ b/src/term.c 2011-07-11 15:16:10 +0000
@@ -3505,55 +3505,6 @@
Down (tty) = 0;
}
- /* Special handling for certain terminal types known to need it */
-
- if (!strcmp (terminal_type, "supdup"))
- {
- terminal->memory_below_frame = 1;
- tty->Wcm->cm_losewrap = 1;
- }
- if (!strncmp (terminal_type, "c10", 3)
- || !strcmp (terminal_type, "perq"))
- {
- /* Supply a makeshift :wi string.
- This string is not valid in general since it works only
- for windows starting at the upper left corner;
- but that is all Emacs uses.
-
- This string works only if the frame is using
- the top of the video memory, because addressing is memory-relative.
- So first check the :ti string to see if that is true.
-
- It would be simpler if the :wi string could go in the termcap
- entry, but it can't because it is not fully valid.
- If it were in the termcap entry, it would confuse other programs. */
- if (!tty->TS_set_window)
- {
- const char *m = tty->TS_termcap_modes;
- while (*m && strcmp (m, "\033v "))
- m++;
- if (*m)
- tty->TS_set_window = "\033v%C %C %C %C ";
- }
- /* Termcap entry often fails to have :in: flag */
- terminal->must_write_spaces = 1;
- /* :ti string typically fails to have \E^G! in it */
- /* This limits scope of insert-char to one line. */
- strcpy (area, tty->TS_termcap_modes);
- strcat (area, "\033\007!");
- tty->TS_termcap_modes = area;
- area += strlen (area) + 1;
- p = AbsPosition (tty);
- /* Change all %+ parameters to %C, to handle
- values above 96 correctly for the C100. */
- while (*p)
- {
- if (p[0] == '%' && p[1] == '+')
- p[1] = 'C';
- p++;
- }
- }
-
tty->specified_window = FrameRows (tty);
if (Wcm_init (tty) == -1) /* can't do cursor motion */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r105103: Remove support for supdup, c10 and perq terminals, which are no longer supported.,
Lars Magne Ingebrigtsen <=