Interrupt signal leaves the terminal with tty echo off

Basically, if you are using the CLI and press ^C while it's asking for your password (which is a pretty natural thing to do) then when you get out of the command your terminal is screwed up because echo is still off on tty. That means you don't get to see what you're typing anymore. Sad day.

Maybe catch the SIGINT yourself and turn echo back on before you leave.

This is for the CLI version 0.4


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Sync Type: Not Provided
Referrer: forum-search:cli tty

Comments

  • Strangely, if I have a #!/bin/bash line it doesn't exhibit the same problem.
    I'm running on Ubuntu 16.04.

  • rickfillionrickfillion Junior Member

    Team Member

    Thanks @micahhainline. We'll look into what we can do to make this better. I've filed it as issue 420 in our tracker.

    Rick

  • rickfillionrickfillion Junior Member

    Team Member

    As a temporary workaround, does running reset fix things?

    Rick

  • jpgoldbergjpgoldberg Agile Customer Care

    Team Member

    Is reset what they young folk are calling stty sane these days? Ah. Yes it is.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file