<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font style="" color="#000000" face="Tahoma,sans-serif">Neil,<br><br> Do a 'cd' at the linux prompt cd with nothing after it. This will put you in the root home directory. Then edit the file called .bash_profile - dot bash underscore profile<br><br>Here is an example -<br><br>alias ls="ls --color"<br>alias ll="ls -lias"<br>alias l="ls -CF"<br>alias la="ls --color -a"<br>alias cp='cp -iv'<br>alias rm='rm -iv'<br>alias mv='mv -iv'<br>alias nslookup='nslookup -silent'<br><br>export EDITOR=/usr/bin/nano<br><br># source the allstar variables<br><br id="FontBreak"></font><font style="" face="Tahoma,sans-serif">End of example</font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif">Skip to after the alias lines and add the line </font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif">export EDITOR=/usr/bin/nano</font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif">When you reboot the nano editor should be the default for crontab -e </font><br><br><font style="" face="Tahoma,sans-serif">I will answer your second question in another message.</font><font style="" face="Tahoma,sans-serif"><br></font><br><b><font style="font-size:16pt;" size="4">73 Doug</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">WA3DSP</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">http://www.crompton.com/hamradio</font></b><font style="font-size:16pt;" size="4"><br></font><br><br><div><hr id="stopSpelling">From: k8it@cac.net<br>To: fred@fmeco.com; arm-allstar@hamvoip.org<br>Date: Mon, 18 May 2015 14:37:37 -0400<br>Subject: Re: [arm-allstar] crontab editing on BBB asterisk v1.2.1 and rx audio capture - recording<br><br>
<div><font face="Calibri">Chris and Fred and others....</font></div>
<div><font face="Calibri">I got crontab modified ok but still do not know the name
of the system profile filename to make the default editor choice permanent. I am
running on a beagle bone black asterisk v1.2.1</font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri">Also is there a script or function that can record
received audio and then let me pipe it to TTS_Audio.sh</font></div>
<div><font face="Calibri">the idea is to create a dtmf callable function
macro that captures received audio on the local simplex rf frequency,
convert it to digital audio and plays it back. The cats meow implementation
would help simplex link users set their audio properly</font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri">73 Neil K8IT node Allstar 41838 and
Echolink K8IT-L</font></div>
<div style="FONT:10pt Tahoma;">
<div><br></div>
<div style="BACKGROUND:#f5f5f5;">
<div style=""><b>From:</b> <a title="mailto:fred@fmeco.com CTRL + Click to follow link" href="mailto:fred@fmeco.com">Fred Moore</a> </div>
<div><b>Sent:</b> Monday, May 18, 2015 9:24 AM</div>
<div><b>To:</b> <a title="arm-allstar@hamvoip.org" href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a> </div>
<div><b>Subject:</b> Re: [arm-allstar] crontab editing on BBB asterisk
v1.2.1</div></div></div>
<div><br></div>"export" will only carry the shell variable till the next time
the shell is restarted, or the system rebooted, to make it permanent, it needs
to be placed in your profile (you only) or the system profile if you want it to
apply to all users. <br><br>Not knowing what shell you are using.. something
like <br><br>echo "export EDITOR=nano" >> ~/.bashrc<br><br>will make it
permanent. The name of your profile file will change depending on what
shell you are using.. . Run a "ls -a" so you can see what hidden file you
have in your home directory.. Fred<br><br><br><br>
<div class="ecxmoz-cite-prefix">On 5/18/15 8:41 AM, Christopher Kovacs
wrote:<br></div>
<blockquote cite="mid:CANLbPWTB77h5jCJZUEEDsCOpdOSW_=VoLEyi4WTuZGpy0crNEQ@mail.gmail.com">
<div dir="ltr">
<div>Hi Neil,</div>
<div><br></div>Use the following command to set your default browser:
export EDITOR=nano
<div><br></div>
<div>This will allow you to set the editor of your choosing. If you used
contab -e, it will use this edtor. When the crontab is saved, the syntax
is checked and valided before saving. You will not need to restart
crond, as it will pick up the entries when they are saved.</div>
<div><br></div>
<div>Another userful crontab command is:</div>
<div><br></div>
<div>crontab -l <br></div>
<div><br></div>
<div>This lists the crontab entry.</div>
<div><br></div>
<div><br></div>
<div>73,</div>
<div><br></div>
<div>Chris, w0anm</div></div>
<div class="ecxgmail_extra"><br>
<div class="ecxgmail_quote">On Sun, May 17, 2015 at 11:50 PM, Neil k8it <span dir="ltr"><<a href="mailto:k8it@cac.net" target="_blank">k8it@cac.net</a>></span> wrote:<br>
<blockquote class="ecxgmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid;">
<div style="PADDING-TOP:15px;PADDING-LEFT:10px;PADDING-RIGHT:10px;">
<div>I have been doing some reading about how to edit crontab but need some
specific information on how to edit crontab on a bbb running asterisk
v1.2.1</div>
<div>my questions</div>
<div>1. what's the easiest way to schedule and edit the crontab file?
for a non wx task!</div>
<div>2. if I use crontab -e will it default or can I set the editor to
nano?</div>
<div>3. how do I restart the cron file?</div>
<div> do I reboot ? or do I need to issue a special
commands?</div>
<div> </div>
<div>thanks 73 k8it Allstar node 41838 echolink k8it-L</div>
<div> </div>
<div> </div>
<div> </div></div><br>_______________________________________________<br><br>arm-allstar
mailing list<br><a href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a><br><a href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a><br><br>Visit
the BBB web page - <a href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/" target="_blank">http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</a><br></blockquote></div><br></div><br>--
<br>This message has been scanned for viruses and <br>dangerous content by <a href="http://www.mailscanner.info/" target="_blank"><b>MailScanner</b></a>, and is <br>believed to be
clean. <br>
<fieldset class="ecxmimeAttachmentHeader"></fieldset> <br><pre>_______________________________________________
arm-allstar mailing list
<a class="ecxmoz-txt-link-abbreviated" href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a>
<a class="ecxmoz-txt-link-freetext" href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a>
Visit the BBB web page - <a class="ecxmoz-txt-link-freetext" href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/" target="_blank">http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</a></pre></blockquote><br><pre class="ecxmoz-signature">--
Fred Moore
email: <a class="ecxmoz-txt-link-abbreviated" href="mailto:fred@fmeco.com">fred@fmeco.com</a>
<a class="ecxmoz-txt-link-abbreviated" href="mailto:fred@safes.com">fred@safes.com</a>
phone: 321-217-8699
</pre>
<BR><hr>
<BR>_______________________________________________<br><br>arm-allstar
mailing
list<br>arm-allstar@hamvoip.org<br>http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar<br><br>Visit
the BBB web page - http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/
<BR><hr>
<BR>-----<br>No virus found in this message.<br>Checked by AVG -
www.avg.com<br>Version: 2015.0.5941 / Virus Database: 4342/9808 - Release Date:
05/18/15
<br>_______________________________________________
arm-allstar mailing list
arm-allstar@hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB web page - http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</div> </div></body>
</html>