Notices


Reply
Thread Tools
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#1
Torchio is a derivative of the Lanterne flashlight app. It features a subset of Lanterne's capabilities, including pulsed and SOS mode flashing, use of either the white or red LEDs, and a timeout feature.

Version 0.0.1 should now be in the extras-devel repository.

Please run "torchio -h" at the command line to see all the available options. (Torchio should install into /opt/torchio, so the path to find the executable should be /opt/torchio/bin/torchio.)

Torchio is open-source software, licensed under the GPL version 2 (or greater). The source code is housed at Github:

https://github.com/jpietrzak8/Torchio
 

The Following 22 Users Say Thank You to Copernicus For This Useful Post:
nokiabot's Avatar
Posts: 1,974 | Thanked: 1,834 times | Joined on Mar 2013 @ india
#2
Good name good app
 

The Following 2 Users Say Thank You to nokiabot For This Useful Post:
Posts: 638 | Thanked: 1,692 times | Joined on Aug 2009
#3
...It's nice to see that you don't like sleep too much

Thanks again!
 

The Following 6 Users Say Thank You to xes For This Useful Post:
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#4
Ha, I thought, he has drifted away from the pasta theme! And then google showed me otherwise.....

Inuit have a trillion descriptors for snow and Italians similarly for pasta.
 

The Following 6 Users Say Thank You to handaxe For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#5
Originally Posted by handaxe View Post
Ha, I thought, he has drifted away from the pasta theme! And then google showed me otherwise.....
I really have to give credit here to Sixwheeledbeast for this pasta name; he pointed it out to me a long, long time ago.
 

The Following 3 Users Say Thank You to Copernicus For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#6
Torchio version 0.0.2 is now heading up to the extras-devel repository. This update contains support for parsing ASCII text into Morse code. There are two modes available:

"torchio -m" will read input from the STDIN stream.

"torchio -mf <filename>" will attempt to open the named file and read text from it.

In both cases, torchio will exit when it reaches the end of the text. The STDIN option allows text to be piped in from another process; for example, the command:

Code:
ls | /opt/torchio/bin/torchio -m
will flash out the names of the current directory's files in Morse code.
 

The Following 8 Users Say Thank You to Copernicus For This Useful Post:
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#7
No torchio "hello world" then?
Or will the stdin variant recognize a string parameter?
If not, then I suggest -ms "bla bla" or -mi "bla bla" (s for string, i for immediate).
__________________
Русский военный корабль, иди нахуй!
 

The Following 2 Users Say Thank You to pichlo For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#8
Originally Posted by pichlo View Post
No torchio "hello world" then?
Or will the stdin variant recognize a string parameter?
If not, then I suggest -ms "bla bla" or -mi "bla bla" (s for string, i for immediate).
Actually, since it's using stdin, you can do things like

Code:
> echo 'hello world' | /opt/torchio/bin/torchio -m
or, you could just type text in directly from the console:

Code:
> /opt/torchio/bin/torchio -m
hello world
So, I was kind of thinking that a string input option would be unnecessary.
 

The Following 5 Users Say Thank You to Copernicus For This Useful Post:
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#9
Yeah, I realized that 5 minutes after that post
Incidentally, one can just as well do this, making the -mf option unnecessary:
Code:
torchio -m < file
__________________
Русский военный корабль, иди нахуй!
 

The Following 4 Users Say Thank You to pichlo For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#10
Originally Posted by pichlo View Post
Incidentally, one can just as well do this, making the -mf option unnecessary:
Code:
torchio -m < file
Hmm, I suppose so... Torchio is never going to do more than read the data, so there should never really be any advantage to letting it do the file manipulation work internally, right? (I don't think there'd be any advantages to letting Torchio do the error handling, for example...) Perhaps I should just remove that option...
 

The Following 3 Users Say Thank You to Copernicus For This Useful Post:
Reply

Tags
flashlight, nokia n900


 
Forum Jump


All times are GMT. The time now is 12:42.