Joachim Breitner

screen-message now in an online version

Published 2009-11-27 in sections English, Digital World.

Folllowing an idea by Kai Hendry, I re-implemented my Linux application screen-message, which does nothing but display a piece of text that you enter as large as possible, in HTML. So whenever you are in need of screen-message, but don’t have it installed at the moment, put your browser into fullscreen mode, go to

http://sm.nomeata.de/

and type away.

I only tested it with the web browser galeon, so I expect it to work with Firefox and related browsers. If it does not work with Internet Explorer, I can’t help it – but patches are welcome. The file is stored in the screen-message Darcs repository at http://darcs.nomeata.de/screen-message.upstream.

PS: If anyone wants to donate a shorter domain for this, you are welcome. But I guess all good domains with “sm” in them are taken...

Comments

Works fine in Chromium (even the spell checker, which I didn't expect).
#1 Marius Gedminas (Homepage) am 2009-11-27
Thank you ^____^



Love it!
#2 SIO am 2009-11-27
Works great in Firefox.



A suggestion: how about making the entire page "overflow: hidden" so scrollbars stop appearing and disappearing?
#3 Anonymous am 2009-11-27
It does not here. What browser are you using? Can you send me a patch that works for you?
#4 Joachim Breitner (Homepage) am 2009-11-27
Debian Iceweasel 3.5.5



Build identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091123 Iceweasel/3.5.5 (like Firefox/3.5.5; Debian-3.5.5-1)
#5 Anonymous am 2009-11-27
Where's the setting of the background colour? or giving it a pre-defined message?



Pah! the original sm is better :D
#6 Mez (Homepage) am 2009-11-27
Hmm, could be implemented via # attributes in the URL and some javascript. But you are right, I prefer “my” sm program as well.
#7 Joachim Breitner (Homepage) am 2009-11-27
sm[dot]it is free... inwx tells me it needs paperwork...
#8 Tobias am 2009-11-27
When I typed a message that went on long enough (beginning for me at 111 characters) on a single line, screen-message started to clip the bottom of the text.



The clipping became more prominent the more characters I typed, beginning with only the descenders (y,g,q, etc) and eventually clipping all but the tops of the letters.



Work around was to type a newline at the end.
#9 Anonymous am 2009-11-27
Sorry, this was in Debian Iceweasel, 3.0.14.
#10 Anonymous am 2009-11-27
I noticed that as well. Might be some rounding errors or the like. But since that long lines are kinda outside the expected use-case for sm, it should not be too much of a problem for now. As always, patches accepted :-)
#11 Joachim Breitner (Homepage) am 2009-11-27
www.sm is available:



http://www.nic.sm/

http://en.wikipedia.org/wiki/.sm
#12 Paul Wise am 2009-11-28
sm.debian.net?
#13 Holger am 2009-11-28
Good idea for those who forget my nickanme.



I just sent the record setting request, should be available in a short while.
#14 Joachim Breitner (Homepage) am 2009-11-29
I think this really shows the power of open Web technologies.



Original sm is 1246 lines of code.



The Web version is 114 lines.



It's also far easier to read and run the source on the Web.



I hope developers think twice about writing a gtk GUI app. :P



Thank you Joachim,
#15 Kai Hendry (Homepage) am 2009-12-02
Cool.



Could you consider putting the page/script under an Open-Source license?



Thanks you.
#16 Frank lin Piat (Homepage) am 2011-06-20
It is under the GPL, as it is included in the screen-message (the client software) distribution. But you are right, I should include a licensing header in the file.... done.
#17 Joachim Breitner (Homepage) am 2011-06-20

Have something to say? You can post a comment by sending an e-Mail to me at <mail@joachim-breitner.de>, and I will include it here.