Skip to content

external commands launched from config.fish don't have the correct tty modes #2980

@andrew-schulman

Description

@andrew-schulman

When I run /bin/rm -i in fish 2.3b1 in Cygwin, the command waits for me to answer y or n, but it doesn't receive any keyboard input. I have to press Ctrl-C to abort the command.

Reproduction Steps:

  1. Run touch tstfile
  2. Run /bin/rm -i tstfile
  3. Command responds with /bin/rm: remove regular empty file 'tstfile'?

Expected behavior:

Command accepts y or n as an answer.

Observed behavior:

No keyboard input is accepted. The command hangs until I interrupt it with Ctrl-C.

Additional information:

rm -i worked fine in fish 2.2.0 in Cygwin.

fish-2.3b1-1 is available in Cygwin setup as a test release (or it will be shortly) (click on "Exp" at the top right to see test releases).


Fish version: 2.3b1

Operating system: Cygwin x86_64

Terminal or terminal emulator: mintty

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that's not working as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions