Mar 15
Jolle Carlestam Give me a beep when done
Mar 15, 2016; 08:32
Jolle Carlestam
Give me a beep when done
Here’s a tiny tidbit that I found out yesterday semi related to Lasso.
I tend to do a lot of compiling of Lassoapps and some of the apps are fairly large. As a consequence of that I find myself frequently sitting idle at my computer staring at the CLI row waiting for the make process to finish so that I can move the compiled apps to the proper directory and then restart the instance. My new knowledge from yesterday was that I can have the terminal play me a sound when the process is done, alerting me to it so I can do other things while waiting. Here’s how to do it.
Write:
make -B appname.lassoapp another_appname.lassoapp; tput bel;
That’s it! tput bel will play a discrete but sufficient beep letting me know the process is done.
Further breakdown on the proposed command line.
”make" is the command to compile, in this case, Lassoapps.
-B is a flag to instruct make to compile even if make considers the app(s) to be unchanged.
You can stash several lassoapps after one another instructing make to compile all of them in one go.
The ; is an instruction to the OS that you’re done with the command and it’s flags and that allows you to write another command on the same line.
tput bel is an instruction to the OS to play a beep on the terminal you’re sitting at.
Have fun!
HDB
Jolle
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Mar 15
Bil Corry Re: Give me a beep when done
Mar 15, 2016; 08:57
Bil Corry
Re: Give me a beep when done
Mar 15
Jolle Carlestam Re: Give me a beep when done
Mar 15, 2016; 09:58
Jolle Carlestam
Re: Give me a beep when done
Mar 16
Rick Draper Re: Give me a beep when done
Mar 16, 2016; 18:51
Rick Draper
Re: Give me a beep when done
Mar 16
Jolle Carlestam Re: Give me a beep when done
Mar 16, 2016; 11:38
Jolle Carlestam
Re: Give me a beep when done