<div dir="ltr"><div>Terminator is a terminal program that will put a configured number of frames in a full-screen window and let you execute something in each when it launches.<br><br></div>It&#39;s python based and in most distros.<br>

<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 17, 2013 at 8:56 PM, Ron Frazier (ALE) <span dir="ltr">&lt;<a href="mailto:atllinuxenthinfo@techstarship.com" target="_blank">atllinuxenthinfo@techstarship.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>


  

<div text="#000000" bgcolor="#ffffff">
Hi Dennis,<br>
<br>
Thanks for the reply.  I&#39;m afraid that&#39;s over my head.  But, I&#39;ll keep
it in mind for future use.  Tell me more about what terminator does.<br>
<br>
Sincerely,<br>
<br>
Ron<div><div class="h5"><br>
<br>
<br>
On 4/17/2013 3:28 PM, Dennis Ruzeski wrote:
<blockquote type="cite">
  <div dir="ltr">If you want the code for this hit me up off list but I
would open a file descriptor for each script and send all output to it,
then launch terminator (or similar with 4 sub terminals) and fire off a
screen session in each to display the contents of one of the file
descriptors.<br>
  <br>
  <br>
  </div>
  <div class="gmail_extra"><br>
  <br>
  <div class="gmail_quote">On Wed, Apr 17, 2013 at 3:08 PM, Brian
MacLeod <span dir="ltr">&lt;<a href="mailto:nym.bnm@gmail.com" target="_blank">nym.bnm@gmail.com</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote" style="border-left:1px solid rgb(204,204,204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">-----BEGIN
PGP SIGNED MESSAGE-----<br>
Hash: SHA256<br>
    <br>
On 4/17/13 2:35 PM, Ron Frazier (ALE) wrote:<br>
&gt; Thanks (I think) dev null.  However, sometimes it&#39;s more efficient<br>
&gt; to just ask someone who knows rather than spend hours searching<br>
&gt; through results in Google.  There are some nuances to my question<br>
&gt; that make the answers non obvious.<br>
    <br>
    <br>
I&#39;m going to be a grouch here.<br>
    <br>
The only nuances that aren&#39;t obvious in this situation are the<br>
Terminal/Window Manger you use and the specification of window size,<br>
The rest of what you asked is answered very well with the various<br>
documents explaining how to write bash scripts, as posted by dev null,<br>
and where you place your icon / your philosophy on how things should<br>
start up on boot.<br>
    <br>
Unless you have ABSOLUTE physical control of this machine and its<br>
location, I would give great pause to having the window manager<br>
auto-login and do this unless you script in some sort of screen lock,<br>
but that would defeat your purpose in having the terminals displaying<br>
the information.<br>
    <br>
Frankly, if at all possible, I&#39;d ditch the window-manager altogether<br>
and do this in screen, but even then with your heavy concentration on<br>
other security matters, this may not be the solution you think it is.<br>
 And I capitalized ABSOLUTE for a reason.<br>
    <br>
    <br>
BEGIN QUOTE:<br>
- --------<br>
So, my first question is how do I set up a basic script file with<br>
these commands in it.  I can fill in all the details later.<br>
    <br>
cd ~/cgminer<br>
export .....<br>
./cgminer .....<br>
    <br>
Also, how do I put comments in the file?<br>
- --------<br>
END QUOTE<br>
    <br>
    <br>
    <br>
ummm...<br>
    <br>
    <br>
    <br>
    <br>
BEGIN SCRIPT<br>
- -------<br>
#!/bin/bash<br>
    <br>
# Other than the required shell interpreter line<br>
# above, the hashed lines are comments.<br>
# This is a hash #<br>
    <br>
cd ~/cgminer<br>
export .....<br>
./cgminer .....<br>
    <br>
- -------<br>
END SCRIPT<br>
    <br>
    <br>
    <br>
BEGIN QUOTE<br>
- --------<br>
Finally, I want to create a master script to start all the other 4.<br>
Here&#39;s the trick.  I want the master script to start each of the sub<br>
scripts in its own window and continue executing commands in the<br>
master script.  I don&#39;t want the master script to hang waiting for<br>
MINER1 to exit before executing MINER2, and so forth.<br>
    <br>
Let&#39;s say that the master script is called START-MINERS.<br>
- --------<br>
    <br>
    <br>
BEGIN START-MINERS<br>
- --------<br>
#!/bin/bash<br>
    <br>
# The ampersand after the command causes a fork and puts<br>
# the job in the background.<br>
# Commonly, geometry can be set by --geometry= option.<br>
# See your terminal man page for details.<br>
    <br>
$TERMINAL $SCRIPT1 &amp;<br>
$TERMINAL $SCRIPT2 &amp;<br>
$TERMINAL $SCRIPT3 &amp;<br>
$TERMINAL $SCRIPT4 &amp;<br>
- --------<br>
END START-MINERS<br>
    <br>
    <br>
Brian</blockquote>
  </div>
  </div>
</blockquote>
<br>
</div></div><div class="im"><pre cols="72">-- 

(PS - If you email me and don&#39;t get a quick response, you might want to
call on the phone.  I get about 300 emails per day from alternate energy
mailing lists and such.  I don&#39;t always see new email messages very quickly.)

Ron Frazier
<a href="tel:770-205-9422" value="+17702059422" target="_blank">770-205-9422</a> (O)   Leave a message.
linuxdude AT <a href="http://techstarship.com" target="_blank">techstarship.com</a> 
Litecoin: LZzAJu9rZEWzALxDhAHnWLRvybVAVgwTh3
Bitcoin: 15s3aLVsxm8EuQvT8gUDw3RWqvuY9hPGUU
</pre>
</div></div>

<br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></blockquote></div><br></div>