PertTelnet - Telnet Daemon Plugin (v1.2) - Updated

PertTelnet - Telnet Daemon Plugin (v1.2) - Updated

Postby Kaota » Sun Jan 14, 2007 7:16 am

Someone mentioned it would be nice to have a plugin that listened on a port for input to the display, so I made one today. I agree it's a pretty nifty thing to have.

Versions:
- v1.2 - changed to use a list instead of an array for the screen buffer. this means I changed from writing to the screen as 1-2-3-4-1-2-3-4, it writes now as 1-2-3-4-4-4-4-4-4, each time pushing the prior lines up one. anyway, it's what most people expect it should have been doing. also added some default text so you can quickly recognize the plugin.
- v1.1 - fixed config box - you can change the default port now. also fixed a rare crash instance, and another not so rare crash instance.
- v1.0 - initial release.

Some notes:
- To clear and reset the screen, send a Ctrl-A character (ASCII code '1')
- As mentioned, it listens on TCP port 4000.
- Hitting enter twice will close the telnet connection

Just drop the plugin in, switch to your display to it (it's blank by default), and have fun.

http://files.radicand.org/PertTelnet.zip

Example usage:
Windows:
Code: Select all
`telnet localhost 4000`


Linux/etc:
Code: Select all
tail -n1 -f /var/log/messages | telnet my.remote.pertelian.host 4000


Enjoy.
Last edited by Kaota on Sat Jan 20, 2007 10:04 pm, edited 4 times in total.
Kaota
 
Posts: 51
Joined: Mon Dec 25, 2006 8:01 pm

Postby Pokesomi » Sun Jan 14, 2007 8:29 am

Can you provide instructions for guys Like me who cant seem to get it to work?
User avatar
Pokesomi
 
Posts: 90
Joined: Tue Nov 28, 2006 5:02 am
Location: Woodland Hills, CA

Postby Kaota » Sun Jan 14, 2007 5:16 pm

Sure, sorry for not having much up in post #1, it was terribly late and I just wanted to put it up.

- Unzip the plugin to the plugins folder.
- Restart Pertelian
- Verify it shows up in the plugin list
- Use Ctrl-Alt-3 (switch plugin hotkey) until you come to one with a blank screen. Yes, I think I should probably put something there by default.
- Once you're at that screen, use your system's telnet command to connect.
- Just run `telnet 127.0.0.1 4000`. This will open a telnet session on your machine to port 4000 where the plugin is listening. If you're lucky, you'll see a prompt saying "Pertelian". All you have to do now is enter some text and hit enter. Each line of text should appear on the LCD.
- To clear the screen, press "Ctrl-A" and hit enter in the telnet session.

Visual Example:
Image
Image
Image
Image
Image
Image
Kaota
 
Posts: 51
Joined: Mon Dec 25, 2006 8:01 pm

Postby Alex » Mon Jan 15, 2007 6:16 pm

Any plans to release this to the CDC?
ForeSight Systems LLC
ALEXANDER S. JARZEBINSKI
Chief Executive Officer
(714) 657-2522
Email: alex@pertelian.com
Alex
 
Posts: 1016
Joined: Tue Dec 06, 2005 5:36 pm

Postby devnill » Mon Jan 15, 2007 7:54 pm

Wow, That could be really useful for web admins. Does it have ssh support?
devnill
 

Postby Kaota » Tue Jan 16, 2007 12:26 am

Alex-
There's been a report of it crashing already for someone, so I want to let it test a little longer first. I also need to clean up my codebase slightly. But yes, once I can nail the rare crash, I'll submit for CDC.

devnill-
Sort of, if you ssh into your server, and then run the following:
Code: Select all
tail -f webserver_log | telnet your.pertelian.host 4000


Then it should start displaying hits to your site as they happen. Be warned though, the screen isn't really big enough to display the entire line, so it'll just keep scrolling. On busy sites, you may not even be able to read much (one of mine just kept listing line after line after line, etc). I suggest creating some sort of script that uses tail and awk to pull just the sections you want. Initial testing showed that awk doesn't like playing with tail -f, but ymmv.
Kaota
 
Posts: 51
Joined: Mon Dec 25, 2006 8:01 pm

Postby Kaota » Fri Jan 19, 2007 5:04 am

Everyone, please update to the latest version and let me know if you have any issues with it. If nothing is reported in the next week, I'll CDC it. I'm pretty confident with the current state of it now.
Kaota
 
Posts: 51
Joined: Mon Dec 25, 2006 8:01 pm

Postby Tweakfiend » Sat Jan 20, 2007 7:55 pm

Hi Kaota
Had issues with multiple entries (4) appearing in the plug in section even before accessing the plug in itself !
This is in v 1.1
Tweakfiend
 
Posts: 94
Joined: Fri Nov 24, 2006 4:35 pm
Location: England

Postby Kaota » Sat Jan 20, 2007 9:28 pm

Hi there,

Could you elaborate a little more? What do you mean multiple entries? Things on the LCD screen?

Also, I updated again to better show screen updating (unrelated to above comment).
Kaota
 
Posts: 51
Joined: Mon Dec 25, 2006 8:01 pm

Postby Tweakfiend » Sun Jan 21, 2007 9:45 am

Kaota wrote:Hi there,

Could you elaborate a little more? What do you mean multiple entries? Things on the LCD screen?

Also, I updated again to better show screen updating (unrelated to above comment).


Hi
That is to say the the "tray" icon "show" / "plugin" entries that can be ticked/unticked rather than entries on the pertelian screen itself
Tweakfiend
 
Posts: 94
Joined: Fri Nov 24, 2006 4:35 pm
Location: England

Postby Kaota » Sun Jan 21, 2007 2:33 pm

So you have four of the below?
Image

I'm not entirely sure that's an issue with my plugin- it may be something for the Pertelian team to investigate. Can anyone else replicate Tweak's issue?
Kaota
 
Posts: 51
Joined: Mon Dec 25, 2006 8:01 pm

Postby Tweakfiend » Sun Jan 21, 2007 2:47 pm

Kaota wrote:So you have four of the below?
Image

I'm not entirely sure that's an issue with my plugin- it may be something for the Pertelian team to investigate. Can anyone else replicate Tweak's issue?



Yes ... as shown !
Tweakfiend
 
Posts: 94
Joined: Fri Nov 24, 2006 4:35 pm
Location: England

Postby Kaota » Fri Jan 26, 2007 10:44 pm

Alex - you can post this for the CDC, and you may even want to leave a link to this forum posting for people to ask questions or leave comments.
Kaota
 
Posts: 51
Joined: Mon Dec 25, 2006 8:01 pm

Postby Alex » Sat Jan 27, 2007 4:03 am

Hey Kaota,
I'll send a Community Download Center email from you with the plug-in. Sorry for the formalities. If you could also provide an official plug-in description and if needed a quick instruction guide, that would be awesome.
ForeSight Systems LLC
ALEXANDER S. JARZEBINSKI
Chief Executive Officer
(714) 657-2522
Email: alex@pertelian.com
Alex
 
Posts: 1016
Joined: Tue Dec 06, 2005 5:36 pm

Postby jayson.barker » Sun Mar 09, 2008 10:37 pm

How easy would it be to make some sort of alert or notice if something happens, ie i get a new message and the screen flashes or sends a notice to the welcome screen?

Is there any plans to release the source to this really cool plugin?

:D
jayson.barker
 
Posts: 3
Joined: Fri Mar 07, 2008 1:25 pm


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 0 guests

cron