aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/term/linux.el (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix dragging mode line on text terminals with a mouse (bug#67457)Jared Finder2023-12-091-1/+5
| | | | | | | * lisp/xt-mouse.el (xterm-mouse-translate-1): Fix the 'event-kind' property of mouse-movement symbols emitted by xt-mouse. * lisp/term/linux.el (terminal-init-linux): Call 'gpm-mouse-mode' to set up the terminal for the mouse, if needed.
* * lisp/term/linux.el (gpm-mouse-enable): Remove left-over declarationStefan Monnier2022-09-031-6/+2
|
* t-mouse.el: Make sure we apply the setting to new terminalsStefan Monnier2022-08-301-2/+0
| | | | | | | * lisp/t-mouse.el (gpm-mouse-tty-setup): New function. (gpm-mouse-mode): Use it as well as `tty-setup-hook`. * lisp/term/linux.el (terminal-init-linux): Remove gpm-specific code, not neded any more.
* Linux console: don't translate ESC TAB to `backtab' in input-decode-map.Alan Mackenzie2022-05-081-0/+4
| | | | | | | | | | | | This translation happened after the terminfo entry for <shift>TAB in the linux section was changed to kcbt=\E^I in ncurses version 6.3. * lisp/term/linux.el (terminal-init-linux): Add a define-key form to remove the entry for "\e\t" from input-decode-map. * etc/PROBLEMS: Add a new section under "character terminals" about S-TAB wrongly doing the same thing as M-TAB, giving tips about amending the Linux keyboard layout.
* Disable auto compositions on the Linux console onlyLars Ingebrigtsen2021-08-181-1/+1
| | | | | | | | | | | | | | | | * lisp/term/linux.el (terminal-init-linux): Disable auto compositions on "linux" consoles (bug#21363). * src/composite.c (inhibit_auto_composition): New function to implement this. (composition_compute_stop_pos, composition_adjust_point) (Ffind_composition_internal): Use it. (syms_of_composite): Document it. * src/lisp.h: Export tty_type_name. * src/term.c (tty_type_name): Factored out. (Ftty_type): Use it.
* Fix cursor movement on the Linux console with certain charactersLars Ingebrigtsen2021-08-161-0/+3
| | | | | | * lisp/term/linux.el (terminal-init-linux): Switch off auto-compositions, because they confuse cursor movement on the Linux console (bug#21363).
* ; Normalize and add missing first and last linesStefan Kangas2021-04-191-1/+3
|
* Use lexical-binding for some term librariesStefan Kangas2020-05-021-1/+1
| | | | | | | | | | | | This takes care of the most trivial cases, but there are more that could be easily converted. * lisp/term/bobcat.el: * lisp/term/cygwin.el: * lisp/term/konsole.el: * lisp/term/linux.el: * lisp/term/vt100.el: * lisp/term/vt200.el: Use lexical-binding.
* Provide 'term/name in lisp/term files.Glenn Morris2016-02-151-0/+2
| | | | | | | | | | | * lisp/term/AT386.el, lisp/term/bobcat.el, lisp/term/cygwin.el: * lisp/term/internal.el, lisp/term/iris-ansi.el, lisp/term/linux.el: * lisp/term/lk201.el, lisp/term/news.el, lisp/term/ns-win.el: * lisp/term/pc-win.el, lisp/term/rxvt.el, lisp/term/screen.el: * lisp/term/sun.el, lisp/term/tty-colors.el, lisp/term/tvi970.el: * lisp/term/vt100.el, lisp/term/vt200.el, lisp/term/w32-win.el: * lisp/term/w32console.el, lisp/term/wyse50.el, lisp/term/x-win.el: For consistency, provide 'term/name in all files that don't already.
* Silence byte-compiler warnings.Juanma Barranquero2012-05-021-0/+2
| | | | | | lisp/notifications.el (dbus-debug): lisp/term/linux.el (gpm-mouse-enable): lisp/term/screen.el (xterm-register-default-colors): Declare.
* Remove no-byte-compile setting from some lisp/term files.Glenn Morris2012-04-301-1/+0
| | | | | | | Not that compiling these will bring any noticeable speed benefit, but there's really no reason not to compile them. The extra disk space and build time is negligible, and it might reveal use of obsolete functions, bugs, etc.
* Nuke arch-tags.Glenn Morris2011-01-151-1/+0
|
* (terminal-init-linux): Load t-mouse.Stefan Monnier2008-06-131-1/+1
|
* * t-mouse.el (gpm-mouse-enable, gpm-mouse-disable): New functions.Stefan Monnier2008-06-111-1/+1
| | | | | (gpm-mouse-mode): Make it into a proper global minor mode. * term/linux.el (terminal-init-linux): Use gpm-mouse-enable.
* (terminal-init-linux): Use gpm-mouse-mode rather than obsolete alias.Glenn Morris2008-06-071-3/+2
|
* Fix up comment convention on the arch-tag lines.Stefan Monnier2008-04-101-1/+1
|
* Merged from emacs--devo--0Miles Bader2007-05-201-0/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs@sv.gnu.org/emacs--devo--0--patch-744 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-745 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-746 Merge from emacs--rel--22 * emacs@sv.gnu.org/emacs--devo--0--patch-747 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-748 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-749 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-750 Merge from emacs--rel--22 * emacs@sv.gnu.org/emacs--devo--0--patch-751 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-752 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-753 Merge from emacs--rel--22 * emacs@sv.gnu.org/emacs--devo--0--patch-754 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-755 Merge from emacs--rel--22 * emacs@sv.gnu.org/emacs--devo--0--patch-756 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-757 Update from CVS: lisp/textmodes/sgml-mode.el: Revert last change. * emacs@sv.gnu.org/emacs--devo--0--patch-758 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-759 Merge from emacs--rel--22 * emacs@sv.gnu.org/emacs--devo--0--patch-760 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-761 Update from CVS * emacs@sv.gnu.org/emacs--rel--22--patch-14 Update from CVS * emacs@sv.gnu.org/emacs--rel--22--patch-15 Update from CVS * emacs@sv.gnu.org/emacs--rel--22--patch-16 Update from CVS: src/xterm.c (XTread_socket): Revert last change. * emacs@sv.gnu.org/emacs--rel--22--patch-17 Update from CVS * emacs@sv.gnu.org/emacs--rel--22--patch-18 Update from CVS * emacs@sv.gnu.org/emacs--rel--22--patch-19 Update from CVS * emacs@sv.gnu.org/emacs--rel--22--patch-20 Update from CVS * emacs@sv.gnu.org/emacs--rel--22--patch-21 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-221 Update from CVS Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-12 Creator: Karoly Lorentey <karoly@lorentey.hu>
| * (terminal-init-linux): Don't signal an errorNick Roberts2007-05-201-1/+2
| | | | | | | | if gpm isn't running.
| * (terminal-init-linux): Enable t-mouse by default.Nick Roberts2007-05-201-0/+2
| |
* | Don't let x_initialize break 8-bit input on ttys. (Reported by Joakim ↵Karoly Lorentey2005-12-231-3/+2
|/ | | | | | | | | | | | | | | | | | | Verona.) Split `set-input-mode'. * lisp/international/encoded-kb.el (encoded-kbd-setup-display): Use `set-input-meta-mode'. * lisp/linux.el (terminal-init-linux): Ditto. * src/keyboard.c (Fset_input_interrupt_mode, Fset_output_flow_control) (syms_of_keyboard): Defsubr them. (Fset_input_meta_mode, Fset_quit_char): New functions. (Fset_input_mode): Split to above functions. * lisp.h: EXFUN the new functions. * xterm.c (x_initialize): Use Fset_input_interrupt_mode. * macterm.c (mac_initialize): Ditto. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-457
* * term/apollo.el (terminal-init-apollo): New function containingDan Nicolaescu2005-07-271-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | all former top level forms in the file. * term/bobcat.el (terminal-init-bobcat): * term/cygwin.el (terminal-init-cygwin): * term/iris-ansi.el (terminal-init-iris-ansi): * term/linux.el (terminal-init-linux): * term/news.el (terminal-init-news): * term/rxvt.el (terminal-init-rxvt): * term/sun.el (terminal-init-sun): * term/tvi970.el (terminal-init-tvi970): * term/vt100.el (terminal-init-vt100): * term/vt102.el (terminal-init-vt102): * term/vt125.el (terminal-init-vt125): * term/vt200.el (terminal-init-vt200): * term/vt201.el (terminal-init-vt201): * term/vt220.el (terminal-init-vt220): * term/vt240.el (terminal-init-vt240): * term/vt300.el (terminal-init-vt300): * term/vt320.el (terminal-init-vt320): * term/vt400.el (terminal-init-vt400): * term/vt420.el (terminal-init-vt420): * term/wyse50.el (terminal-init-wyse50): * term/xterm.el (terminal-init-xterm): Likewise. * term/README: Describe the terminal-init-* functionality. * startup.el (command-line): After loading the terminal initialization file call the corresponding terminal initialization function.
* Call tty-no-underline.Richard M. Stallman2005-06-171-0/+3
|
* Add arch taglinesMiles Bader2003-09-011-0/+1
|
* Add "no-byte-compile: t" in first line.Juanma Barranquero2002-10-011-0/+1
|
* Some fixes to follow coding conventions.Pavel Janík2001-07-151-0/+2
|
* Don't call set-terminal-coding-systemKarl Heuer1997-12-191-1/+2
| | | | if it was already set.
* Use set-input-mode to make Latin-1 chars work.Karl Heuer1997-11-151-0/+8
|
* Initial revisionRichard M. Stallman1997-07-041-0/+3