4 ms·
Not going to lie: when I discovered that `^` means _control_ and that `^]` means _control-]_, I suddenly started making sense of a ton of manpages^H^H^H^H^H^H^H
by inetknght 7y ago
Not going to lie: when I discovered that `^` means _control_ and that `^]` means _control-]_, I suddenly started making sense of a ton of manpages^H^H^H^H^H^H^H^Hdocumentation.
Then the `tmux` dude goes on and uses `C` instead of `^` [0]. God that was hard to figure out. But it gets worse: he continues to describe it as `C` even when he's not actually meaning _control_. No, that's just the _default_. He actually means `C` to mean whatever was bound to the configured "meta control". Uhh, at least, that's my understanding of it right now.
Tmux author (if you read this): I still haven't figured out why your software can't redraw lines. I'm continuously seeing garbled nonsense on the session from software clearing a line but tmux not actually clearing that line. `htop` works and looks great outside of tmux but inside of it? Oh god I can't read anything at all because it's all garbled.
But yeah, after learning that `^` means "press control", getting out of Telnet was eas....oh man I'm stuck in telnet stil.. Halp
[0]: https://github.com/tmux/tmux/wiki/FAQ https://github.com/tmux/tmux/wiki/FAQ
- rcfox 7y ago> whatever was bound to the configured "meta control" Be careful with your terminology, meta is a key too. https://en.wikipedia.org/wiki/Meta_key https://en.wikipedia.org/wiki/Meta_key
- inetknght 7y agoMaybe therein lies some of my confusion... Wait that page says nothing about tmux!
- ska 7y agoIt gets better: https://en.wikipedia.org/wiki/Space-cadet_keyboard https://en.wikipedia.org/wiki/Space-cadet_keyboard control, meta, super, and hyper.
- KarlKemp 7y ago„Hyper“ is still (again) being used. But „Greek“ is what I really want.and those Roman numerals are also quite pretty.
- chin7an 7y agoAs far as I can tell, emacs[0] denoted control as 'C' first. The tmux docs most likely follow that trend. I'm only starting to learn emacs, so haven't yet come across any key combos that require a capital letter 'C' preceded by Ctrl. Will be interesting to see how that's represented. [0]: https://www.gnu.org/software/emacs/manual/html_node/emacs/Keys.html#Keys https://www.gnu.org/software/emacs/manual/html_node/emacs/Ke...
- schoen 7y ago> But it gets worse: he continues to describe it as `C` even when he's not actually meaning _control_. No, that's just the _default_. He actually means `C` to mean whatever was bound to the configured "meta control". That notation comes from Emacs. For example, see https://www.emacswiki.org/emacs/EmacsNewbieKeyReference https://www.emacswiki.org/emacs/EmacsNewbieKeyReference Because of the Emacs focus on modifier keys, there is a joke that it stands for "Escape Meta Alt Control Shift".
- reaperducer 7y agoIt's only in the last few weeks that I've started noticing people using "C" to mean "Control." I've used "^" for "Control" for at least 40 years. And more confusing is that these days "C-x" is supposed to mean "Control X." But since I'm used to Control being ^, I read it as "Control-minus, followed by x."
- dragonwriter 7y agoI've seen both C-x and ^X since the 1980s.
- mwfunk 7y agoIt's not a "these days" thing, "C-x" has been around for as long as there's been an Emacs, which is longer than you've been using "^".
- miloignis 7y agoI'm not sure if it's a version, terminal, or configuration issue, but htop works fine in tmux for all of my shells...
- inetknght 7y agoI'm pretty sure it's a version + terminal + configuration issue. I work in terminals all day long at home and work. I have a consistent user profile. On the other hand different operating systems have different terminals. I've seen the symptom occur locally (Ubuntu -> Gnome-Terminal -> bash -> tmux) and usually go away after an update of one of the components. But most frequently it occurs when crossing boundaries ({Windows, Fedora, Ubuntu} | {putty,gnome-terminal,tilix,serial tty} | tmux | literally anything). It happens more frequently when embedding tmux sessions while crossing those boundaries. I _really_ wish there existed some software which would try to debug terminal display issues, even if it involved echoing something in a client program and then asking me "does this show up as intended and/or garbled?", with a timeout value for "it's so garbled that the user couldn't read or respond" similar to configuring a video display.
- lloeki 7y agoThis looks like some typical TERM env var/termcap mismatch with reality.
- inetknght 7y agoAll the terminal emulators support xterm-256color and that's what the TERM is set to outside of tmux. The TERM inside of tmux (and ssh sessions inside tmux and etc) is `tmux-256color` as tmux is documented to want. I just wish I knew how to debug it.
- JdeBP 7y agoNo, they do not. And it's this erroneous thinking that causes so many of the problems. * https://invisible-island.net/ncurses/ncurses.faq.html#xterm_generic https://invisible-island.net/ncurses/ncurses.faq.html#xterm_... * http://jdebp.uk./Softwares/nosh/guide/commands/TERM.xml#MIS-CONFIGURATION http://jdebp.uk./Softwares/nosh/guide/commands/TERM.xml#MIS-... * https://unix.stackexchange.com/a/419092/5132 https://unix.stackexchange.com/a/419092/5132 * https://unix.stackexchange.com/a/446912/5132 https://unix.stackexchange.com/a/446912/5132 * https://unix.stackexchange.com/a/515517/5132 https://unix.stackexchange.com/a/515517/5132 * https://unix.stackexchange.com/a/427299/5132 https://unix.stackexchange.com/a/427299/5132 * https://unix.stackexchange.com/a/441899/5132 https://unix.stackexchange.com/a/441899/5132 * https://unix.stackexchange.com/a/560992/5132 https://unix.stackexchange.com/a/560992/5132