8000 Fish breaks flow control in child processes · Issue #2315 · fish-shell/fish-shell · GitHub
[go: up one dir, main page]

Skip to content

Fish breaks flow control in child processes #2315

@mwm

Description

@mwm

If I start a command and then decide there's to much output and try and stop it with C-S, it doesn't stop. This works properly in most other shells.

Seems that fish purposely turns off flow control to make screen users with odd configurations happy. See issue #814: #814 for more info. I will say that being able to pause the output has nothing to do with vt100s, and everything to do with wanting to scroll through more output than your terminal emulator has lines configured.

My take is that the solution should be to make terminal_mode_for_executing_programs be set to the terminal mode after each command exits, rather than being whatever it was when the shell started with some random set of tweaks added. This would make stty work properly, so users could set it themselves.

Downside would be that if some command screws up the tty settings, it would propagate to future commands (but not suspended jobs). Just like it did back when I still used screen. But it also means that they can fix it with a simple "stty sane" (at least, they can on my Unix boxes).

I'm looking into creating a pull request.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0