Talk:Voicenote
From Openmoko
m (→enable job control) |
|||
(One intermediate revision by one user not shown) | |||
Line 2: | Line 2: | ||
I (kimaidou) copy/paste the comments I had on the community mailing list | I (kimaidou) copy/paste the comments I had on the community mailing list | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== enable job control == | == enable job control == | ||
Line 23: | Line 15: | ||
# Enable job control | # Enable job control | ||
set -em | set -em | ||
− | + | ||
− | + | ........ | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
# Kill arecord | # Kill arecord | ||
kill %1 | kill %1 | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
== other ? == | == other ? == | ||
+ | |||
+ | Would you be interested in taking part in the Call Recorder cum Dictaphone Application for the Freerunner Competition (http://openmoko.cofundos.org/project.php?id=154) as you have already done a lot of work on voice recording | ||
+ | --[[User:Rakshat|Rakshat]] 12:58, 19 March 2009 (UTC) |
Latest revision as of 14:58, 19 March 2009
Please add any idea / comment / code sample here
I (kimaidou) copy/paste the comments I had on the community mailing list
[edit] enable job control
You should use "kill %1" instead, this will only kill the instance you just started (and TERM is the default). For that, you need to enable job control (set -m) + remove the &
Result :
#!/bin/bash # Exit on error # Enable job control set -em
........
# Kill arecord kill %1
[edit] other ?
Would you be interested in taking part in the Call Recorder cum Dictaphone Application for the Freerunner Competition (http://openmoko.cofundos.org/project.php?id=154) as you have already done a lot of work on voice recording --Rakshat 12:58, 19 March 2009 (UTC)