[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
trouble with ttys in log
From: |
Jim C. |
Subject: |
trouble with ttys in log |
Date: |
Fri, 03 Sep 2004 23:44:56 -0700 |
User-agent: |
Mozilla Thunderbird 0.7.2 (Windows/20040707) |
I want to have separate logs for each tty so that when I log in using
multiple putty/ssh sessions I have no trouble sorting them out. My
current .screenrc settings are as follows:
hardcopy_append on
startup_message off
logtstamp on
hardcopydir $HOME/.screen
deflog on
compacthist on
time "%D %d %M %c"
verbose on
caption string "%w"
logfile $HOME/.screen/screen.%.log
hardstatus alwayslastline "%{b}[ %{B}%H %{b}][
%{w}%?%-Lw%?%{b}(%{W}%n*%f %t%?(%u)%?%{b})%{w}%?%+Lw%?%?%= %{b}][%{B}
%d/%m %{W}%C%a %{b}]"
The general idea is this: I want everything root does logged. I'm
going to do this by starting a screen session on login.
What I've found that works is this:
In .bash_profile:
screen -L -RR;exit
Any suggestions?
Jim C.
--
-----------------------------------------------------------------
| I can be reached on the following Instant Messenger services: |
|---------------------------------------------------------------|
| MSN: address@hidden AIM: WyteLi0n ICQ: 123291844 |
|---------------------------------------------------------------|
| Y!: j_c_llings Jabber: address@hidden |
-----------------------------------------------------------------
- trouble with ttys in log,
Jim C. <=