os/tty: proofread readme

This commit is contained in:
Henrik Lissner 2021-03-06 11:23:00 -05:00
parent 01b447a12c
commit 4c7c9cacd3

View file

@ -14,11 +14,12 @@
- [[#troubleshooting][Troubleshooting]] - [[#troubleshooting][Troubleshooting]]
* Description * Description
This module configures Emacs for terminal usage. This module configures Emacs for use in the terminal, by providing:
+ System clipboard integration (through an external clipboard program or OSC-52 + System clipboard integration (through an external clipboard program or OSC-52
escape codes in supported terminals). escape codes in supported terminals).
+ Fixes cursor-shape changing across evil states in terminal that support it. + Cursor-shape changing across evil states (requires a terminal that supports
it).
+ Mouse support in the terminal. + Mouse support in the terminal.
** Maintainers ** Maintainers
@ -27,31 +28,31 @@ This module has no dedicated maintainers.
** Module Flags ** Module Flags
+ =+osc= Instead of piping your kill ring through external programs, like xclip + =+osc= Instead of piping your kill ring through external programs, like xclip
or pbcopy, have Emacs emit OSC-52 escape codes instead, allowing Emacs to or pbcopy, have Emacs emit OSC-52 escape codes instead, allowing Emacs to
communicate to your clipboard through your terminal. This allows for clipboard communicate with your clipboard through your terminal, even across SSH
communication over SSH connections or tmux. However, this requires [[https://github.com/spudlyo/clipetty#terminals-that-support-osc-clipboard-operations][a supported connections or Tmux. However, this requires [[https://github.com/spudlyo/clipetty#terminals-that-support-osc-clipboard-operations][a supported terminal]].
terminal]].
** Plugins ** Plugins
+ clipetty + [[https://github.com/spudlyo/clipetty][clipetty]]* (if =+osc=)
+ evil-terminal-cursor-changer + [[https://github.com/7696122/evil-terminal-cursor-changer][evil-terminal-cursor-changer]]* (if =:editor evil=)
+ xclip + [[https://github.com/emacs-straight/xclip][xclip]]* (unless =+osc=)
* Prerequisites * Prerequisites
This module has no hard prerequisites, but in order for its features to work you This module has no hard prerequisites, but in order for its features to work you
need need:
+ For system clipboard integration: + For system clipboard integration:
+ A supported clipboard program, such as: + A supported clipboard program, such as:
+ Linux: =xclip=, =xsel=, or =wl-clibpoard= (Wayland) + Linux: =xclip=, =xsel=, or =wl-clibpoard= (Wayland)
+ macOS: =pbcopy= and =pbpaste= (included with macOS) + macOS: =pbcopy= and =pbpaste= (included with macOS)
+ Windows: =getclip= and =putclip= (cygwin) + Windows: =getclip= and =putclip= (cygwin)
+ A terminal that supports OSC 52 escape codes, such as: + (If =+osc= is enabled) A terminal that supports OSC 52 escape codes, such
xterm (unix), iTerm2 (macOS), alacritty (cross platform), kitty (macOS, linux), mintty (Windows), hterm (javascript), st (unix), mlterm (cross platform) as: xterm (unix), iTerm2 (macOS), alacritty (cross platform), kitty (macOS,
+ For cursor shape changing: linux), mintty (Windows), hterm (javascript), st (unix), mlterm (cross
+ A terminal that supports VT's DECSCUSR sequence, such as: platform)
Gnome Terminal, xterm, iTerm (macOS), Konsole, or mintty (Windows). + For cursor shape changing in the terminal you need A terminal that supports
Terminal.app (macOS) is supported to, but requires [[http://www.culater.net/software/SIMBL/SIMBL.php][SIMBL]] and [[https://github.com/saitoha/mouseterm-plus/releases][MouseTerm]] Plus VT's DECSCUSR sequence, such as: Gnome Terminal, xterm, iTerm (macOS),
to work. Konsole, or mintty (Windows). Terminal.app (macOS) is supported too, but
requires [[http://www.culater.net/software/SIMBL/SIMBL.php][SIMBL]] and [[https://github.com/saitoha/mouseterm-plus/releases][MouseTerm]] Plus to work.
* Configuration * Configuration
** True-color and italic support ** True-color and italic support