Skip to content

multiple Term API to multiple Screen... #221

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

Closed
alwaeles opened this issue Apr 21, 2014 · 8 comments
Closed

multiple Term API to multiple Screen... #221

alwaeles opened this issue Apr 21, 2014 · 8 comments

Comments

@alwaeles
Copy link

I was looking for a simple way to redirect the "term" API to a screen other than the default, but unfortunately I have not found ...

I guess it would be practical to incorporate this functionality, for example:

local component = require("component")
gpu = component.gpu
term2 = term.redirect(gpu)
term2.setCursor(2, 2)
term2.write("Hello second screen !")

thank you

@fnuecke
Copy link
Member

fnuecke commented Apr 22, 2014

Thanks for bringing that up; "instances" of term is something I had been thinking of adding, but would probably have forgotten. I'll see if I can get it into 1.3.

@Wuerfel21
Copy link
Contributor

component.setPrimary() should do(untested)

@Wuerfel21
Copy link
Contributor

Or binding the gpu?

@alwaeles
Copy link
Author

Hello I just see just to remind you to integrate support for "instances" in the API, thank you

@fnuecke
Copy link
Member

fnuecke commented Jun 19, 2014

No need for reminders. If the issue is still open I haven't forgotten about it.

@WazWaz
Copy link
Contributor

WazWaz commented Jul 13, 2014

The tooltip for Server items says they can support multiple remote terminals. Currently these just seem to be mirrors of the one GPU output and shared keyboard input, so this seems related to this Issue. If not, the documentation doesn't seem to make it clear how to make any other use of multiple remote terminals on a single Server. A Tier 2 server only has 3 card slots, so multiple GPUs can't be the way to get 4 terminals.

@fnuecke
Copy link
Member

fnuecke commented Jul 15, 2014

That's a different topic, really. The remote terminals are intended to share display and input. It's merely a way to allow multiple players to interact with the same server. Laptops/tablets/whatever incarnation of portable device it'll be will provide more flexible remote control capabilities.

@fnuecke
Copy link
Member

fnuecke commented Apr 11, 2015

The last few times I thought about this I ran into obstacles in OpenOS and stopped. Trying to retroactively add this to OpenOS would, from what I can estimate, break too much. It's more realistic for someone to write an alternative OS that supports this.

Sorry, something went wrong.

@fnuecke fnuecke closed this as completed Apr 11, 2015
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

4 participants