This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
LDDestroier's profile picture

Monc v2.0 - Terminal to Monitors Mirroring

Started by LDDestroier, 15 December 2016 - 03:52 AM
LDDestroier #1
Posted 15 December 2016 - 04:52 AM
One fateful night, I was searching for a program to copy my terminal output onto a monitor…and I found it! "Mirror"!

And it didn't work! Boo!

So then I coded my own program, called 'Monc'! And it sucked.

But then I decided to rewrite it into something bigger, stronger, faster…


Ladies, gentlemen, and transgender;

I give you…


MONC v2.0



pastebin get LxbBS18S monc
std PB LxbBS18S monc
std ld monc2 monc


With this program, you can copy all terminal output and output it to a list of monitors! How handy is that!?

Syntax:
Spoiler

monc toggle
Toggles screen mirroring.


monc <on/off>
Turns screen mirroring ON or OFF.


monc list
Lists all monitors, and shows which ones are on the mirroring list. (specific monitors ON or OFF)


monc add/delete <monitor1> [monitor2] [monitor3] [...]
Adds OR deletes monitors from the mirroring list.


monc (all previous arguments) -p <program> [argument1] [argument2] [...]
After all other arguments, will execute a program to be mirrored onto the monitors.


monc setsize <text scale> [monitor]
Sets the text scale of all monitors on the mirroring list, or a single specified monitor.

Screenshots:
Spoiler
It works with Opus Editor!! See!?



Most every program will work with Monc!



Want someone to watch you play, for a Tron competition or something?



Want to sell your game to other people, on various monitors!? (yes, they will all play the same game)

Bug(s):
Spoiler

+If your program works with its own terminal objects, chances are it won't work. I'm looking at you, KrapFile! I haven't figured out how to fix that.
Edited on 19 January 2017 - 09:42 PM
LDDestroier #2
Posted 19 January 2017 - 10:43 PM
No comments!? Well! I have an update for that.


+Got term.scroll() working properly, finally
+Added limited support for programs that use the windowing API. They will render properly on the PC, but not on the monitors.
+Changed syntax from 'monc' to 'monc toggle'

And I added screenshots! About time.
exosceleton #3
Posted 20 January 2017 - 07:29 AM
This looks really cool!
Clean out the Bugs and I can see myself using this quite a lot.