On Fri, Jun 20, 2008 at 8:57 AM, Rob Lines <<a href="mailto:rlinesseagate@gmail.com">rlinesseagate@gmail.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am looking for an app that would run from the terminal and would emulate a bash shell (or pass everything to the shell) that would allow me to set a log file and then record all my input and the output to the screen from the commands.  As an added bonus if it would allow me to run it from two terminals (or more) on the same machine and log all the input and output to the same file while still displaying it on the screen that would be great.  The goal being that when making changes or diagnosing a problem it can sometimes become hard to tell what command came when especially when you have more than one termial session open.  While using putty with a really large buffer helps it doesn't deal well with the two terminal issue or disconnected sessions.<br>

<br>Anyone know of an app like this or any suggestions that could be added to my bashrc to provide the functionality?<br><br>Thanks,<br><font color="#888888">Rob<br>
</font></blockquote><div><br>I recently need something similar, but wanted everything sent to a remote syslog server.  A friend of my suggested install rootsh or sudosu as the shell and wrap it in a script that pipes everything to syslog using a script like this <a href="http://www.oreillynet.com/pub/a/sysadmin/2006/10/12/httpd-syslog.html">http://www.oreillynet.com/pub/a/sysadmin/2006/10/12/httpd-syslog.html</a><br>
<br>I haven't had time to set it up, but it seems like it could work.  If you didn't want remote syslog, just pipe it to a local file. <br></div></div><br clear="all"><br>-- <br>-matt