1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00:00
Commit Graph

61 Commits

Author SHA1 Message Date
Richard M. Stallman
fde020bd87 Add maintainer. 2004-10-17 07:05:11 +00:00
Dan Nicolaescu
9936158105 (term-adjust-current-row-cache): Don\'t allow the current
row to become negative.
(term-emulate-terminal): Fix insert mode. Handle tab insertion at
the end of the line. Fix scroll down. Add comments.
(term-handle-ansi-escape): Don\'t exceed terminal width when moving
right.
(term-scroll-region): Move the cursor after setting the scroll region.
2004-10-02 18:23:27 +00:00
Dan Nicolaescu
aecde54d18 (term-ansi-at-eval-string, term-ansi-default-fg)
(term-ansi-default-bg, term-ansi-current-temp): Delete unused vars.
(map): Bind S-prior, S-next and S-insert.
(term-mode): Set `indent-tabs-mode\' to nil.
(term-paste): New function to be bound to S-insert.
(term-send-del, term-send-backspace): Change the strings sent.
(term-termcap-format): Synchronyze with etc/e/eterm.ti.
(term-handle-colors-array): Fix handling of underline and reverse.
(term-handle-ansi-escape): Do not handle smcup/rmcup.  Add comments.
(term-erase-in-line): Fix comparison.
(term-emulate-terminal): Fix line wrap handling.
(term-start-output-log): Rename from `term-set-output-log\'.
(term-stop-output-log): Rename from `term-stop-photo\'.
(term-switch-to-alternate-sub-buffer): Comment out, unused.
From Stefan  <monnier@iro.umontreal.ca>
(term-display-table): New variable.
(term-mode): Use it.
(term-exec-1): Set the coding system to binary.
(term-emulate-terminal): Decode the string before inserting it.
2004-09-26 18:39:10 +00:00
Richard M. Stallman
fd4f1b364f (term-emulate-terminal): Turn off undo for output.
Use with-current-buffer and save-selected-window.
2004-09-20 15:59:31 +00:00
Kim F. Storm
502a4ee98f From Dan Nicolaescu <dann@ics.uci.edu>
(term-down): Perform vertical motion if DOWN is negative.
(term-exec-1): Set both TERMCAP and TERMINFO unconditionally.
(term-termcap-format): Synchronyze with the eterm terminfo entry
in etc/e/eterm.ti.
(term-handle-colors-array): If the current foreground or
background are zero (i.e. unspecified), use the foreground and
background of the default face for reverse video.
(term-ansi-at-eval-string, term-ansi-default-fg)
(term-ansi-default-bg, term-ansi-current-temp): Delete unused variable.
(term-mem): Delete ununsed function.
(term-protocol-version): Increment.
(term-current-face): Set to default.
2004-09-17 21:07:12 +00:00
Kim F. Storm
59cc2a2738 (term-window-width): Only use full window width on
window system if overflow-newline-into-fringe is enabled.
(term-mode): Don't disable overflow-newline-into-fringe.
2004-09-07 20:54:03 +00:00
Richard M. Stallman
3598531837 (term-default-fg-color, term-default-bg-color)
(ansi-term-color-vector): Use `unspecified', not nil, as default.
2004-08-16 22:41:56 +00:00
Kim F. Storm
6781410f61 (term-is-xemacs): Remove.
(term-if-xemacs, term-ifnot-xemacs): Test (featurep 'xemacs).
(term-window-width): New function.
(term-mode, term-check-size): Use it.
(term-mode): Disable overflow-newline-into-fringe in term buffer.
2004-04-05 21:34:05 +00:00
Richard M. Stallman
2d7502b55b (term-mouse-paste): Call mouse-set-point. 2004-01-30 16:53:11 +00:00
Richard M. Stallman
9d133481d6 (term-exec): Set up sentinel.
(term-sentinel): New function.
(term-handle-exit): New function.
2003-12-29 19:58:11 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Richard M. Stallman
f44a5d5870 (term-exec-1): Bind coding-system-for-read. 2003-08-29 16:11:53 +00:00
Juanma Barranquero
f1180544bb Trailing whitespace deleted. 2003-02-04 12:29:42 +00:00
Richard M. Stallman
c2f0944a1e (term-raw-map): Set it up at load time.
(term-char-mode): Don't set up term-raw-map here.
(term-set-escape-char): Don't set up C-x subcommand.
(term-ansi-face-already-done): Renamed from
term-ansi-face-alredy-done.
(term-command-hook): Avoid error if STRING is empty.
(term, term-mode): Doc fixes.

Redesign handling of colors and faces.
Delete all the faces that this mode used to make.
(ansi-term-color-vector): New variable.
(ansi-term-fg-faces-vector, ansi-term-bg-faces-vector)
(ansi-term-inv-bg-faces-vector, ansi-term-inv-fg-faces-vector):
Variables deleted.
(term-default-fg-color, term-default-bg-color): Use defcustom.
(term-handle-colors-array): Use ansi-term-color-vector,
and specify face attributes rather than faces in `face' property.

(term-ansi-fg-faces-vector, term-ansi-bg-faces-vector)
(term-ansi-inv-fg-faces-vector, term-ansi-inv-bg-faces-vector)
(term-ansi-reverse-faces-vector): Unused variables deleted.
(term-ignore-error): Macro deleted.
2003-02-04 11:43:01 +00:00
Eli Zaretskii
04e7ed7b6e (term-emulate-terminal): Fix last change. 2002-04-16 18:50:07 +00:00
Eli Zaretskii
46ea0665a7 (term-emulate-terminal): Extract proper command string
which is supplied to term-command-hook.
2002-02-03 11:25:50 +00:00
Pavel Janík
110c171f4d Fix typo. 2002-01-13 10:09:20 +00:00
Pavel Janík
0ff9b955fe Doc fixes. 2001-12-20 18:59:32 +00:00
Stefan Monnier
f7e339ec1f *** empty log message *** 2001-11-04 02:20:18 +00:00
Richard M. Stallman
df4eaaf048 (term-if-emacs19): Macro deleted.
Callers changed to use progn instead.
2001-10-30 00:27:25 +00:00
Pavel Janík
60370d4073 Some fixes to follow coding conventions. 2001-07-15 19:53:53 +00:00
Kenichi Handa
da1cee4955 These changes are based on a patch sent from Yong Lu <lyongu@yahoo.com>.
(term-set-escape-char): Bind M-x to execute-extended-command in
term-raw-escape-map.
(term-move-columns): Don't try to move to negagive column.
(term-emulate-terminal): Insert a string before deleting a text to
overwrite.
2001-03-13 11:21:52 +00:00
Kenichi Handa
447086241b (term-char-mode): Define all non-ascii self-inserting
characters to 'term-send-raw in term-raw-map.
2000-12-27 05:25:52 +00:00
Gerd Moellmann
4bf4fb05c2 (term-send-raw-meta): Strip modifiers from the keyboard
event when deciding what to send to the terminal.
2000-07-12 18:25:40 +00:00
Dave Love
720712eb90 Avoid ange-ftp related compilation warnings. 1999-08-19 17:50:02 +00:00
Gerd Moellmann
41f8865874 (toplevel): Make face `term-default' an empty face.
The code relied on the fact that Emacs ignored invalid faces in
face text properties in 20.4.
1999-08-17 00:37:45 +00:00
Karl Heuer
9b80213097 (ansi-term-fg-faces-vector): Added support for ANSI
color codes 39 and 49, which by the way lynx uses them seem to
mean "foreground reset" and "background reset".
1999-07-20 01:46:01 +00:00
Richard M. Stallman
db7fa396bd (term-emulate-terminal): Avoid infinite loop
in strange case where minibuffer window is selected but not active.
1999-07-09 02:32:02 +00:00
Richard M. Stallman
69791a3cd4 (term_send_home): Change the string to
be the same as the one emitted by xterm and consistent with the
ones emitted by prior and next.
(term_send_end): Likewise.
1999-01-11 12:59:36 +00:00
Karl Heuer
69edcf7e99 (term-delimiter-argument-list): Doc fix.
(term-emulate-terminal): Escape literal semicolon.
1998-09-23 23:36:59 +00:00
Kenichi Handa
34c0365b51 (term-exec-1): Bind inhibit-eol-conversion to t before
calling start-process.
1997-10-23 12:03:07 +00:00
Karl Heuer
39f9c42439 (term-regexp-arg): No need to bind
minibuffer-history-sexp-flag any more.
1997-10-02 03:03:50 +00:00
Karl Heuer
3f172d5d65 (term-if-emacs19): Recognize version 20. 1997-09-24 16:38:24 +00:00
Richard M. Stallman
81f9cf5226 (term-default-fg-color):
(term-default-bg-color): Default to nil.
1997-08-07 18:54:49 +00:00
Richard M. Stallman
d387400c75 (term-ignore-error): Fix foolish errors. 1997-08-02 20:41:55 +00:00
Richard M. Stallman
37a4471952 Don't create faces if make-face isn't defined.
Catch errors in setting face attributes.
(ansi-term-inv-fg-faces-vector): Define with defvar.
(ansi-term-inv-bg-faces-vector): Likewise.
(ansi-term-bg-faces-vector, ansi-term-fg-faces-vector): Likewise.
(term-ignore-error): New mcro.
1997-05-15 05:18:28 +00:00
Richard M. Stallman
ff4b5ef3af (term-mode): Add a mode-class property. 1997-05-05 04:24:01 +00:00
Richard M. Stallman
cd482e0573 Add defgroup's; change use defcustom for user vars. 1997-04-12 02:51:38 +00:00
Richard M. Stallman
ce0ba762d7 Added a lot of new faces, they all start with
term- and follow a simple lexicographical convention.  Note that
each change is commented: just search for -mm in the source.
(term-char-mode): Added all the "grey-keys" to term-raw-map.
(term-send-up):  Similar, decided to go for the more xterm-like
\eOA bindings in place of the previous \e[A.
(term-buffer-maximum-size): New variable.
(term-mode): Added some make-local: now term-buffer-maximum-size,
ange-ftp-default-user/password/an-pwd.
(term-emulate-terminal): Quite some modifications to allow
multiple outstanding ANSI style commands: notably all the
-previous-parameter stuff.  Call term-handle-ansi-terminal-messages.
(term-emulate-terminal): Added simple trimming function: at the
end we simply check if the buffer is > term-buffer-maximum-size
and cut it accordingly.
(term-handle-colors-array): New function.
(term-handle-ansi-terminal-messages): New function.
(term-handle-ansi-escape): Modified to allow ANSI coloring
(ansi-term): New function that creates multiple terminals. Put
in the standard C-x map too: I'm quite used to C-x C-f and C-c C-f
was too awkward.
1997-04-02 03:46:39 +00:00
Karl Heuer
3b4956e868 (term-completion-addsuffix): Doc fix.
(term-dynamic-complete-as-filename): Support the case where
term-completion-addsuffix is a (DIRSUFFIX . FILESUFFIX) cons
pair.
1997-03-12 00:23:49 +00:00
Simon Marshall
6abd38efcd delete comments referring to long defunct make-shell. 1997-01-08 14:57:02 +00:00
Richard M. Stallman
bf0e6b0ce8 (term-exec-1): Run process on pty if possible. 1996-06-23 15:51:57 +00:00
Richard M. Stallman
eee841c36e (term-terminal-menu): Don't make a self-recursive keymap. 1996-06-12 21:45:45 +00:00
Karl Heuer
1f96acec5e (term-send-raw-string): send-string -> process-send-string.
(term-arguments):  Remove unused local `values'.
(term-handle-deferred-scroll):  Fix off-by-one bug.
1996-05-17 21:16:00 +00:00
Richard M. Stallman
e38ee395e8 (term-emulate-terminal): On CR, set term-current-column
to term-start-line-column, not 0.
1996-05-11 17:11:06 +00:00
Karl Heuer
4d656e4255 (term-read-noecho): Pass proper format string to message. 1996-01-25 00:57:49 +00:00
Erik Naggum
09a61b7fff (term-exec-hook): Doc fix. 1996-01-24 19:12:08 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
a4cc06e29d (term-process-pager): Fix message spelling. 1996-01-04 23:20:49 +00:00
Richard M. Stallman
be01074898 Comment change. 1995-10-30 17:35:01 +00:00