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

Two terminals #19

Closed
neelabhg opened this issue Aug 29, 2014 · 1 comment · Fixed by #56
Closed

Two terminals #19

neelabhg opened this issue Aug 29, 2014 · 1 comment · Fixed by #56
Assignees

Comments

@neelabhg
Copy link
Member

jor1k supports two terminals - tty0 and tty1. Currently only one terminal is enabled and shown to the user. The task is to enable the other terminal and also have it shown, probably as another tab. This will allow users to run two different processes in the foreground, for example a server and a client so that they can experiment with sockets, etc.

@neelabhg neelabhg self-assigned this Aug 29, 2014
@neelabhg neelabhg removed their assignment Oct 22, 2014
@neelabhg neelabhg added this to the UIUC senior project fall 2014 milestone Nov 22, 2014
@wchill
Copy link
Contributor

wchill commented Nov 30, 2014

With a lot of experimentation, I found that while tty1 is supported (and I currently have a way to switch between the two in one of my experimental branches), to actually open another terminal you must use getty and have it listen on ttyS1. Not a big deal, just an interesting note.

Attached is a screenshot of this in action, I added a little button in the top right corner to switch between terminals.

Barring any other things I haven't thought of, all that remains is to clean up the dual terminal code and edit the jor1k disk images to run setsid getty 115200 ttyS1 on boot.

dual

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

Successfully merging a pull request may close this issue.

2 participants