Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EOF (Ctrl-D) does not exit interpreter #206

Open
haunab-ornl opened this issue Jul 14, 2023 · 1 comment
Open

EOF (Ctrl-D) does not exit interpreter #206

haunab-ornl opened this issue Jul 14, 2023 · 1 comment

Comments

@haunab-ornl
Copy link

The interpreter does not cleanly exit upon receiving an EOF, instead treating it as a command:

% pkpass
Welcome to PKPass (Public Key Based Password Manager) v2.7.8!
Type ? to list commands
pkpass> ^DCommand 'EOF' not found, see help (?) for available commands
pkpass>
@ginsburgnm
Copy link
Collaborator

This is more of a feature than a bug, this allows you to kill a subcommand of the interpreter while remaining in the interpreter. The only supported way to exit it is exit

The initial reasoning for this was because when the program was originally developed use of badges was required, there were no yubikeys. Badges take forever on commands, so being able to kill the subcommand without having to reload the data from the computer was desired functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants