Hi,

I have just hacked together a little bit of code to log messages onto OpenPeripherals Terminal Glasses.
It looks like this:
[attachment=2279:2015-05-17_05.32.54.png]

The program uses a computer with a rednet modem and a Terminal Glasses Bridge to receive messages from all your computers and especially turtles and allowes them to display text/log messages on your glasses. This is handy for debugging moving turtles where you can't always see their display output.


os.loadAPI("glassDebug")
glassDebug.open("top", "Fluttershy", 67, "Test-PC")
glassDebug.hookGlobal()
print "Hallo :3"
glassDebug.writeText("Text here", 0x00FF00, 20)

It also has the ability to hijack the default print() function and display the standard
You can set the text color as a RGB hex color and also set a timeout, after which the message slowly fades out.


glassDebug.open("Modem Side", "Secret Key", ID of Receiver, nil for broadcast, Prefix to be shown in Front of messages, nil for no prefix)
glassDebug.hookGlobal() -- Hooks into the print() function to display everything on the glasses
glassDebug.writeText(text, hex-color, timeout in seconds)


Download: https://github.com/Manawyrm/glassDebug

So long,
Tobias