Skip to content

Enable the interactive mode if the shell is invoked with the -s option and an operand with stdin and stderr connected to a terminal #100

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

Open
Tracked by #84
magicant opened this issue Jan 9, 2025 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@magicant
Copy link
Owner

magicant commented Jan 9, 2025

Currently, yash does not start in the interactive mode if all of the following conditions are true on invocation:

  • The -s option is specified on the command line,
  • One or more operands (i.e. positional parameters) are specified on the command line, and
  • Stdin and stderr are connected to a terminal.

POSIX expects the shell to start in the interactive mode in this situation.

@magicant magicant added enhancement New feature or request good first issue Good for newcomers labels Jan 9, 2025
@magicant magicant mentioned this issue Jan 9, 2025
56 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant