Jump to content




Show everything I do on my computer on a monitor?


  • You cannot reply to this topic
3 replies to this topic

#1 Klausar

  • Members
  • 110 posts

Posted 18 February 2013 - 03:00 AM

I wondered if it is possible to show everything I do (like writing a program) on a monitor next to the computer, can someone tell me how to do it?

#2 Exerro

  • Members
  • 801 posts

Posted 18 February 2013 - 03:08 AM

side = enter side here
oldTerm = _G["term"]["write"] -- sets oldTerm.write to term.write
function term.write( arg ) -- overwrites term.write
	  local x, y = term.getCursorPos() -- gets the cursor pos
	  oldTerm.write( arg ) -- writes the arg
	  mon = peripheral.wrap( side ) -- changes display to monitor
	  mon.setCursorPos( x, y ) -- sets the cursor pos to the same as the screen
	  mon.write( arg ) --writes the stuff
end
--code here
term.write = oldTerm.write -- put this at the end of your code or anywhere that you will stop running the code
this should work i think but it wont do colours...is that a problem?

#3 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 18 February 2013 - 04:21 AM

BigSHinyToys already made a program for this. It called splitter. Can't link you sorry, on my phone at the moment. Just try searching for it.

#4 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 18 February 2013 - 05:02 AM

http://www.computerc...-the-same-time/





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users