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

Monitor Terminal - Use your computer through a monitor

Started by faubiguy, 28 March 2013 - 07:05 AM
faubiguy #1
Posted 28 March 2013 - 08:05 AM
This is a program that allows you to run programs interactively on an advanced monitor using an onscreen keyboard. It requires an advanced monitor that is at least 5x5 blocks.

The top half of the monitor is the output from the program, and the bottom half is the keyboard and other controls. Touching (right clicking the monitor) the program display part will act like you clicked there with the selected mouse button. Touching a key on the virtual keyboard will act like you typed that key in. To press down shift, alt or control, touch that key twice quickly. Pressed down keys will reset after any key other than shift, alt, or control are pressed, or its pressed again. To change the mouse button, or scroll up or down, just touch the text beside the appropriate label.

You can get it from pastebin at q22zxAU0
It also requires my terminal redirection code, which is on pastebin at QcF6wue6.
The string on the first line of the main program will need to be edited to wherever you downloaded the redirection code to (that's the only thing in the file that needs to be modified).

To run, use the arguments <side/name of monitor> <program to run> [arguments for program]

Note: There are a few limitations. You cannot drag the mouse, because there is no clear way to tell between dragging and separate touches next to each other on a monitor. Also some keys don't exist on the virtual keyboard (e.g. numpad, right control, scroll lock). You can still enter these keys by typing them into the main terminal.

Screenshots:
Spoiler
Monitor terminal running edit


Monitor terminal running the CraftOS shell


Monitor terminal running paint
Sammich Lord #2
Posted 28 March 2013 - 08:09 AM
Wow. This looks awesome! Good job!
superaxander #3
Posted 28 March 2013 - 08:30 AM
This is awesome
oeed #4
Posted 28 March 2013 - 09:44 AM
This is cool, I was intending on doing something like this for PearOS.
Quick question, why did you go for this layout and not a QWERTY layout?
faubiguy #5
Posted 28 March 2013 - 10:01 AM
While I was deciding the layout, I found that it was much simpler just to put all the characters in a grid, instead of trying to fit everything into a QWERTY layout, which would have needed one or two more rows and looked a bit uneven.
oeed #6
Posted 28 March 2013 - 10:09 AM
Ok, fair enough.
smb128 #7
Posted 29 June 2013 - 08:08 PM
I'm having an issue with editing the location of the redirect program, does it have to have a certain name? or am I just putting the location in wrong?
Dave-ee Jones #8
Posted 04 July 2013 - 03:49 AM
Wow…I've wanted something like this!

P.S Imagine a door-lock with this massive screen…That would be sick.
hobo124 #9
Posted 04 July 2013 - 02:11 PM
This is really cool, having a gui for computercraft!
UMayBleed #10
Posted 04 July 2013 - 03:40 PM
Holy mother of god! That is sooo Awesome!
Zudo #11
Posted 08 July 2013 - 04:18 PM
Wow holy f•••

I think by putting the last three letters of that word in would make me Lyqydated.

How about a divide between the keyboard and the actual terminal?
ztc0611 #12
Posted 17 May 2014 - 05:57 PM
Is it possible to force this to always run? (like on boot)
awsmazinggenius #13
Posted 19 May 2014 - 03:58 PM
a ) Yes. Use a startup file.
b )You bumped a topic that is almost a year old.
Edited on 19 May 2014 - 01:58 PM
apemanzilla #14
Posted 19 May 2014 - 05:12 PM
a ) Yes. Use a startup file.
b ) You bumped a topic that is almost a year old.
c ) This program likely doesn't work any more with the new updates and will have to be updated.