SwirlyMyself

2009-11-27T16:52:06+00:00

screen-message now in an online version

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-27T17:31:05+00:00
Thank you ^____^

Love it!
#2 SIO am 2009-11-27T17:35:20+00:00
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-27T17:43:42+00:00
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-27T18:12:08+00:00
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-27T21:00:22+00:00
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-27T18:27:52+00:00
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-27T18:43:20+00:00
sm[dot]it is free... inwx tells me it needs paperwork...
#8 Tobias am 2009-11-27T20:02:27+00:00
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-27T20:20:54+00:00
Sorry, this was in Debian Iceweasel, 3.0.14.
#10 Anonymous am 2009-11-27T20:24:56+00:00
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-27T22:15:12+00:00
www.sm is available:

http://www.nic.sm/
http://en.wikipedia.org/wiki/.sm
#12 Paul Wise am 2009-11-28T05:07:51+00:00
sm.debian.net?
#13 Holger am 2009-11-28T08:26:37+00:00
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-29T12:38:57+00:00
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-02T14:33:30+00:00
Cool.

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

Thanks you.
#16 Frank lin Piat (Homepage) am 2011-06-20T07:18:29+00:00
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-20T07:28:14+00:00

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.