Jump to content




Simultaneous Terminal & Monitor


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

#1 Okyloky9

  • Members
  • 57 posts

Posted 27 November 2013 - 08:34 PM

It was a while ago but I saw a program that you saw things on a monitor while they were happening, but you controlled and SAW everything on the terminal at the same time.

I was just wondering if there was still something like that, because I could use something like that for a program I'm working on.

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 27 November 2013 - 08:35 PM

Yeah there are mirroring/cloning APIs all over the place on the forums. Look through the Programs section and the APIs and Utilities subsection.

#3 Wojbie

  • Members
  • 631 posts
  • LocationKinda lost

Posted 28 November 2013 - 09:59 AM

For example this program http://www.computerc...mirror-utility.

#4 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 29 November 2013 - 11:25 AM

Well if you want to know how to create such a program you would have to override like all the term functions basically, Something like this
oldWrite = term.write         -- Creating a backup for term.write
term.write = function(text)  -- Overriding the function
    oldWrite(text)                 -- Using the original term.write function to write to the screen
    mon.write(text)               -- This is if you have wrapped a monitor as 'mon' and it will write the text on the screen on the monitor aswell
end






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users