this post was submitted on 26 Oct 2023
122 points (94.2% liked)

Linux

48364 readers
1038 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Beginning Linux user: "Ctrl-Z is undo, right?"

Advanced Linux user: "Ctrl-Z dammit fg"

you are viewing a single comment's thread
view the rest of the comments
[–] cadekat@pawb.social 20 points 1 year ago (2 children)

Advanced advanced Linux user: "Ctrl+S shit what's the unsuspend button"

[–] tal@lemmy.today 17 points 1 year ago* (last edited 1 year ago) (1 children)

Control-Q

Or you can disable software flow control in cooked mode with stty -ixon and then Control-S won't suspend flow.

EDIT: If you use screen or tmux, I suppose that you probably don't need software flow control anyway from a UI standpoint, because both will suspend flow if you enter their copy mode, which acts similarly.

EDIT2: I suppose that the utility of software flow control is probably rather reduced today from its original role. At one point in time, the rates at which data could be sent to the terminal was low enough that it wasn't a particularly large issue to suspend it while interesting information was still on the screen. I certainly remember some relatively-slow terminal systems, especially with control sequences mixed in; BBSes took advantage of the fact that it took time for ANSI art to be transmitted at 9600 baud modem connections or so to make the display of an image something of an animated, vertically-scrolling banner; you'd have banners that were rather vertically-larger than the typical display, but moved slowly-enough to watch as they scrolled by. But today, a large chunk of software can throw text at the terminal so quickly that, unless its performance is otherwise-constrained, one has little chance of stopping flow while the information one wants is visible. Only really useful if the software naturally has stops at useful places and one can suspend flow there, and I don't know what percentage of cases that comes up with. Maybe there's an argument to default to not having software flow control any more.

[–] vector_zero@lemmy.world 2 points 1 year ago

Bonus when you disable software flow control: In addition to Ctrl+r to reverse search through commands, you can search forward via Ctrl+s

[–] dan@upvote.au 1 points 1 year ago

Ctrl+S works in Nano now.