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

88 Commits

Author SHA1 Message Date
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Glenn Morris
c90f275771 Update copyright years. 2006-12-05 07:06:08 +00:00
Richard M. Stallman
503bc651bd (term-exec-1): Set envvar INSIDE_EMACS. 2006-11-28 02:21:28 +00:00
Dan Nicolaescu
2b0193e1fb * term/xterm.el (terminal-init-xterm): Update key availability
info.

* term.el (term-delete-lines, term-insert-lines): Clarify
comments.
2006-06-20 18:12:23 +00:00
Dan Nicolaescu
2f182d8d51 (term-handle-scroll, term-delete-lines)
(term-insert-lines): Fix off by one errors.
2006-06-15 22:58:10 +00:00
Dan Nicolaescu
c57597ddb2 (term-if-xemacs, term-ifnot-xemacs): Delete, replace
uses with a simple test.
(term-set-escape-char, term-mode, term-check-kill-echo-list)
(term-send-raw-string, term-send-raw, term-mouse-paste)
(term-char-mode, term-line-mode, term-exec, term-sentinel)
(term-handle-exit, term-read-input-ring)
(term-previous-matching-input-string)
(term-previous-matching-input-string-position)
(term-previous-matching-input-from-input)
(term-replace-by-expanded-history, term-send-input)
(term-skip-prompt, term-bol, term-send-invisible)
(term-kill-input, term-delchar-or-maybe-eof)
(term-backward-matching-input, term-check-source)
(term-proc-query, term-emulate-terminal)
(term-handle-colors-array, term-process-pager, term-pager-line)
(term-pager-bob, term-unwrap-line, term-word)
(term-dynamic-complete-filename)
(term-dynamic-complete-as-filename)
(term-dynamic-simple-complete): Replace one arm ifs with whens or
unlesses.
2006-05-29 06:11:33 +00:00
Dan Nicolaescu
f5c0ef7bd4 (term-handle-ansi-escape): Fix off by one error. 2006-05-04 13:23:38 +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
Eli Zaretskii
59be5828de (term-emulate-terminal): Let term-handle-ansi-terminal-messages override
what Bash says about its current directory.
2005-12-16 12:16:35 +00:00
Dan Nicolaescu
59c560f76f (term-termcap-format): Fix typos.
(term-down): Fix the negative argument case.
2005-11-15 17:13:22 +00:00
Dan Nicolaescu
51d96f88e0 (term-emulate-terminal, term-handle-colors-array)
(term-handle-ansi-escape): Specify the terminfo capabilities
implemented.
2005-10-26 18:57:45 +00:00
Eli Zaretskii
e5536c543d (term-term-name): Initialize to "eterm-color". 2005-10-20 15:28:58 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Dan Nicolaescu
9ea818ab0b (term-mode): Disable cua-mode for term buffers. 2005-07-14 17:39:46 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Juanma Barranquero
34de8ce77c (term): Finish `defgroup' description with period.
(term-dynamic-list-input-ring, term-dynamic-list-completions): "?\ " -> "?\s".
2005-07-04 02:35:55 +00:00
Richard M. Stallman
5773891df7 (term-get-old-input, term-input-filter, term-input-sender)
(term-mode-hook, term-exec-hook, term-escape-char): Doc fixes.
2005-06-17 14:37:55 +00:00
Juanma Barranquero
e60cf11fb2 (term-replace-by-expanded-filename, term-prompt-regexp,
term-delimiter-argument-list): Fix spelling in docstrings.
2005-06-16 16:11:46 +00:00
Juanma Barranquero
14629f1501 (term-mode, term-check-proc, term-input-sender, term-simple-send,
term-extract-string, term-word, term-match-partial-filename): Fix typos in
docstrings.
(term-send-string): Improve argument/docstring consistency.
2005-06-10 00:43:13 +00:00
Lute Kamstra
6d0be2925a Use run-mode-hooks in example.
(term-mode): Use run-mode-hooks.
2005-05-26 13:17:27 +00:00
Juanma Barranquero
027a4b6b3f Replace string-to-int' by string-to-number'. 2005-05-16 11:34:49 +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
22c061d682 * term.el (term-ansi-current-bold, term-ansi-current-underline)
(term-ansi-current-reverse, term-ansi-current-invisible)
(term-ansi-face-already-done): Change to boolean.
(term-reset-terminal, term-handle-colors-array): Handle the above
vars accordingly.
(term-buffer-vertical-motion): Rename from buffer-vertical-motion.
(term-emulate-terminal): Use the new name.

* faces.el (secondary-selection): Use yellow1, not yellow.
(trailing-whitespace): Use red1, not red.
2005-04-11 20:47:25 +00:00
Dan Nicolaescu
099dcdcf27 * cus-edit.el (custom-modified-face):
* comint.el (comint-highlight-input): Fix previous changes.
* term.el (term-handle-ansi-escape): Add a comment.
2005-04-08 20:55:09 +00:00
Dan Nicolaescu
99a5658144 (term-move-columns): Fix face after extending a line.
(term-insert-spaces): Likewise.
(term-reset-terminal): Fix off by one error.
2005-03-26 22:32:43 +00:00
Dan Nicolaescu
d56bb1ab22 (term-termcap-format): Synchronyze with terminfo.
(term-emulate-terminal): Handle reset.
(term-reset-terminal): New function.
2004-12-11 21:05:19 +00:00
Richard M. Stallman
269cb13ecc (term-escape-char, term-mode): Doc fixes. 2004-11-25 02:54:20 +00:00
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