1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
Commit Graph

54 Commits

Author SHA1 Message Date
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
Richard M. Stallman
3b8c40f5ba Various optimizations. The main one is to optimize for
simple output at the end of the buffer, with no paging, and in that
case to defer scrolling while we can.
(term-emulate-terminal):  Don't call term-handle-scroll in
simple cases unless we are either paging or term-scroll-with-delete.
(term-down):  Likewise.
(term-handle-scroll):  Modify accordingly.
(term-emulate-terminal):  Avoid deleting old text in common case.
Optimize the simple case of CRLF when we're at buffer end.
Handle deferred scroll when done processing output.
(term-handle-deferred-scroll):  New function.
(term-down):  Simplify - no longer take RIGHT argument.  Tune.
(term-goto):  Use term-move-columns to compensate for the above.

(term-escape-char, term-set-escape-char):  Add doc-string.
(term-mouse-paste):  Add xemacs support.

Various speed enhencements:
(term-handle-scroll):  Don't clear term-current-row; maybe adjust it.
(term-down):  Don't call term-adjust-current-row-cache if we've
done term-handle-scroll.
(term-emulate-terminal):  Don't call term-adjust-current-row-cache.
(term-emulate-terminal):  For TAB, don't nil term-start-line-column.
(term-goto):  Possible optimization.
1995-06-14 22:30:16 +00:00
Karl Heuer
feb4aa21c8 (term-update-mode-line, term-process-pager): Use force-mode-line-update.
(term-pager-continue): Use force-mode-line-update.
1995-04-25 22:25:25 +00:00
Per Bothner
aade4ab28e (term-mouse-paste): Make work for xemacs. Minor GNU emacs fixes. 1995-03-16 02:23:24 +00:00
Per Bothner
5232b7532b (term-char-mode): Fix arrow key and [button2] support for xemacs. 1995-03-16 01:24:19 +00:00
Per Bothner
624f44f19f * term.el (term-eol-on-send): New variable. Use it.
(term-send-input):  Don't move process-mark until after 'history stuff.
1995-03-08 00:54:20 +00:00
Richard M. Stallman
d2d9b86c1c (term-protocol-version): Renamed from term-version. 1995-02-07 08:00:33 +00:00
Per Bothner
bfda79ab49 Version 0.95. Numerous small fixes. See ChangeLog. 1995-02-06 21:56:37 +00:00