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

Accommodate user input #1

Open
ilectra opened this issue Apr 3, 2019 · 3 comments
Open

Accommodate user input #1

ilectra opened this issue Apr 3, 2019 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@ilectra
Copy link
Contributor

ilectra commented Apr 3, 2019

The command the user runs and wants to document, might request input from the user. Have to accommodate this!

@ajjackson
Copy link
Contributor

The simplest approach to this might be to treat each user interaction as a separate input/output "command" pair? This requires no additional syntax, and may work with the wizard implementation. The key difference is that we are defining the separation of blocks as "whenever the user gets a prompt" rather than "whenever a foreground process finishes running."

@ajjackson
Copy link
Contributor

The latter is probably easier to detect but the former may be more intuitive, especially for novices?

@giordano
Copy link
Contributor

giordano commented Apr 3, 2019

Related to this issue, it may happen that the tutorial suggests to open a program which requires interaction to exit. For example, https://github.com/swcarpentry/shell-novice/blob/gh-pages/_episodes/03-create.md runs nano to edit a file. This might also expect that students will write something to the file.

@dpshelio dpshelio added enhancement New feature or request help wanted Extra attention is needed labels Apr 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants