1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-04 08:47:11 +00:00
Commit Graph

24 Commits

Author SHA1 Message Date
Miha Rihtaršič
81886aeaff Implement alternative sub-buffer support in term.el
* etc/e/eterm-color.ti: Added termcaps for entering and leaving an
alternative sub-buffer.
* lisp/term.el (term-reset-size): Resize correctly in an alternative
sub-buffer is in use.
(term-clear-full-screen-programs): New user option.
(term-handle-ansi-escape):
(term-termcap-format): Handle termcaps for entering and leaving an
alternative sub-buffer.
(term-switch-to-alternate-sub-buffer): New (used to be commented out)
function to enter or leave an alternative sub-buffer.
bug#53485
2022-01-24 20:02:33 +01:00
Miha Rihtaršič
0707fdd36c In term-mode, handle ANSI codes, specifying italic and other modes
* etc/e/eterm-color.ti: Add new capabilities
* lisp/term.el: New faces and variables to support new ANSI modes.
(term-termcap-format): Add new capabilities
(term-emulate-terminal): When saving cursor, additionally save the new
variables.
(term--handle-colors-list): Handle ANSI codes, specifying italic other
modes.
* test/lisp/term-tests.el (ansi-test-strings): Adjust tests.
2021-10-05 08:54:25 +02:00
Miha Rihtaršič
76895fcd0b Add support for 256-color and 24bit ANSI colors in term-mode
(term-ansi-face-already-done): Make obsolete
(term--maybe-brighten-color): Remove
(term--color-as-hex): New function
(term-handle-colors-array): Make obsolete in favour of the new
function 'term--handle-colors-list'.
(term--handle-colors-list): New function, that can also handle ANSI
codes 38 and 48.
(term-handle-ansi-escape): Use it

* test/lisp/term-tests.el (ansi-test-strings): Add tests for 256-color
and 24bit ANSI colors
2021-10-05 08:54:00 +02:00
Paul Eggert
1be208c2b0 Prefer straight quoting in some etc text files
These files are plain text and might be used by non-Emacs apps.
They’re mostly ASCII, so just use straight quotes.
2015-08-26 14:09:07 -07:00
Paul Eggert
e47695319f Spelling fixes. 2011-11-26 20:43:11 -08:00
Dan Nicolaescu
3bca7ca557 * term.el (term-handle-ansi-escape): Add comments with the
terminfo capabilities implemented.

* e/eterm-color.ti (msgr, u6, u7): New capabilities.
2009-08-07 07:04:02 +00:00
Glenn Morris
50919dad15 Mention how to remake eterm-color (moved here from ../Makefile). 2007-09-12 06:59:32 +00:00
Glenn Morris
06974c3385 New file, with most information formerly in etc/Makefile. 2007-08-23 03:23:34 +00:00
Glenn Morris
5cc01309a1 Add comment on lack of copyright. 2007-02-17 21:26:36 +00:00
Dan Nicolaescu
14397ea756 * e/eterm-color.ti: Re-enable the ri entry. Add kich1.
* term.el (term-raw-map): Add mapping for insert.
(term-send-insert): New.
(term-mode): Make variables local here instead of doing it in
`term-emulate-terminal'.
(term-emulate-terminal): Delete incorrect optimization for cr+lf.
Scroll reverse needs to take into account the scroll
region.  Saving and restoring the cursor should save the color
attributes too.
(term-reset-terminal): Reset the scroll region.
(term-handle-ansi-escape): Cursor up and down should take into
account the scroll region.
(term-set-scroll-region): Renamed from `term-scroll-region'.  Move
to 0,0 after setting the region.
(term-handle-scroll): Handle scroll up.
(term-down): Fix off by one error.
(term-delete-lines): Do not delete outside the scroll region.
(term-insert-lines): Take into account the scroll region.
2006-01-15 19:36:10 +00:00
Dan Nicolaescu
04a4075fb9 * e/eterm-color.ti: Temporarily disable the ri entry.
* e/eterm-color: Regenerate.
2005-12-28 23:03:31 +00:00
Dan Nicolaescu
cc795ef0bb (el1): Undo 2005-10-23 change.
Add some comments on how to update this file. Add ri
capability that has long been supported by term.el.
2005-10-27 07:05:04 +00:00
Richard M. Stallman
61796b3ce3 (el1): Capability deleted, since term.el doesn't implement it. 2005-10-24 03:37:47 +00:00
Dan Nicolaescu
6f97b9c82c * e/eterm-color.ti: Change the terminal name to eterm-color.
* e/eterm-color: Regenerate.
2005-10-20 18:36:38 +00:00
Eli Zaretskii
fc609417e1 Renamed eterm to eterm-color and eterm.ti to eterm-color.ti. 2005-10-20 15:37:48 +00:00
Dan Nicolaescu
c9b630f7f2 * e/eterm.ti: Add a comment.
* e/eterm: Regenerate.

* term.el (ansi-term-color-vector): Use the xterm colors.
(term-raw-map): Don't add mappings for \eO and \e[. Map
deletechar.
2005-04-25 18:11:33 +00:00
Dan Nicolaescu
09411f50cd * e/eterm.ti: Add rs1.
* e/eterm: Regenerate.
2004-12-11 21:09:12 +00:00
Dan Nicolaescu
3c399be077 Regenerate. 2004-09-26 18:39:10 +00:00
Dan Nicolaescu
08e8e7e924 Comment out smcup, rmcup. Add kbs, kdch1, rc, sc.
Reformat.
2004-09-26 18:39:10 +00:00
Kim F. Storm
0f6dfa1a7b From Dan Nicolaescu <dann@ics.uci.edu>
Regenerate.
2004-09-17 21:10:20 +00:00
Kim F. Storm
d4c2ad4868 From Dan Nicolaescu <dann@ics.uci.edu>
Change the strings for smso and rmso.
2004-09-17 21:08:45 +00:00
Kim F. Storm
b294ccec5b Regenerate with `op' entry (from Dan Nicolaescu). 2004-09-07 21:08:21 +00:00
Kim F. Storm
be0f8dd9fc Add `op' entry to enable colors in term (from Dan Nicolaescu). 2004-09-07 21:07:44 +00:00
Dave Love
a933dad155 # 1999-10-03 12:39:42 +00:00