disabling tmux separater line

2010-06-24 Thread Perl Whore
When I split the window with Ctrl+B Ctrl+%, there's a few pixel wide green
divider line separating the two windows. How do I make it thinner or disable
it? I don't see an option anywhere.
--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


tmux as logging solution for ssh

2010-06-24 Thread Jiri B.
Hello,

in one environment we use a patched OpenSSH server which uses
ForceCommand option, a command declared in ForceCommand takes
its arguments and then it establishes ssh/telnet/scp connection to
destination server while logging everything into a log file and
forwarding the output for transfered data to the initiator.

I was thinking if similar solution could be built with OpenSSH and
tmux without patching OpenSSH. If tmux could be ForceCommand and logging
every activity of an user in any of its window/pane (this means also
output if the user would ssh to somewhere else inside tmux).

Thank you for your ideas and tips.

jirib


--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: tmux as logging solution for ssh

2010-06-24 Thread Nicholas Marriott
There is no global logging in tmux (unless you turn on debug logging and
use the output file but that will make tmux slow and will use a lot of
space).

Even if there was, how would you stop them turning it off?


On Thu, Jun 24, 2010 at 05:25:15PM +0200, Jiri B. wrote:
> Hello,
> 
> in one environment we use a patched OpenSSH server which uses
> ForceCommand option, a command declared in ForceCommand takes
> its arguments and then it establishes ssh/telnet/scp connection to
> destination server while logging everything into a log file and
> forwarding the output for transfered data to the initiator.
> 
> I was thinking if similar solution could be built with OpenSSH and
> tmux without patching OpenSSH. If tmux could be ForceCommand and logging
> every activity of an user in any of its window/pane (this means also
> output if the user would ssh to somewhere else inside tmux).
> 
> Thank you for your ideas and tips.
> 
> jirib
> 
> 
> --
> ThinkGeek and WIRED's GeekDad team up for the Ultimate 
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
> lucky parental unit.  See the prize list and enter to win: 
> http://p.sf.net/sfu/thinkgeek-promo
> ___
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


[PATCH] Link with -Wl,--as-needed.

2010-06-24 Thread Pierre Habouzit
It prevents NEEDED entries for libcrypt and librt on linux that aren't
required.

Signed-off-by: Pierre Habouzit 
---
 GNUmakefile |2 +-
 Makefile|2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/GNUmakefile b/GNUmakefile
index 7a8adb4..54da5a6 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -23,7 +23,7 @@ FDEBUG= 1
 
 CC?= cc
 CFLAGS+= -DBUILD="\"$(VERSION)\""
-LDFLAGS+= -L/usr/local/lib
+LDFLAGS+= -L/usr/local/lib -Wl,--as-needed
 LIBS+=
 
 # Sun CC 
diff --git a/Makefile b/Makefile
index a026e0d..348cef7 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@ FDEBUG= 1
 
 CC?= cc
 CFLAGS+= -DBUILD="\"$(VERSION)\""
-LDFLAGS+= -L/usr/local/lib
+LDFLAGS+= -L/usr/local/lib -Wl,--as-needed
 LIBS+=
 
 .ifdef FDEBUG
-- 
1.7.1.755.geb6f2


--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: [PATCH] Link with -Wl,--as-needed.

2010-06-24 Thread Nicholas Marriott
Hi

Thanks, but I don't like this. I think if it was a good idea, it would
be the default in GNU ld - and if that is still being decided, I am
happy to wait.

If an individual user or the packagers for a particular platform want to
do this, it is trivial to add to LDFLAGS.


On Thu, Jun 24, 2010 at 09:29:00PM +0200, Pierre Habouzit wrote:
> It prevents NEEDED entries for libcrypt and librt on linux that aren't
> required.
> 
> Signed-off-by: Pierre Habouzit 
> ---
>  GNUmakefile |2 +-
>  Makefile|2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/GNUmakefile b/GNUmakefile
> index 7a8adb4..54da5a6 100644
> --- a/GNUmakefile
> +++ b/GNUmakefile
> @@ -23,7 +23,7 @@ FDEBUG= 1
>  
>  CC?= cc
>  CFLAGS+= -DBUILD="\"$(VERSION)\""
> -LDFLAGS+= -L/usr/local/lib
> +LDFLAGS+= -L/usr/local/lib -Wl,--as-needed
>  LIBS+=
>  
>  # Sun CC 
> diff --git a/Makefile b/Makefile
> index a026e0d..348cef7 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -24,7 +24,7 @@ FDEBUG= 1
>  
>  CC?= cc
>  CFLAGS+= -DBUILD="\"$(VERSION)\""
> -LDFLAGS+= -L/usr/local/lib
> +LDFLAGS+= -L/usr/local/lib -Wl,--as-needed
>  LIBS+=
>  
>  .ifdef FDEBUG
> -- 
> 1.7.1.755.geb6f2
> 
> 
> --
> ThinkGeek and WIRED's GeekDad team up for the Ultimate 
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
> lucky parental unit.  See the prize list and enter to win: 
> http://p.sf.net/sfu/thinkgeek-promo
> ___
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: [PATCH] Link with -Wl,--as-needed.

2010-06-24 Thread Pierre Habouzit
On Thu, Jun 24, 2010 at 09:08:18PM +0100, Nicholas Marriott wrote:
> Hi
> 
> Thanks, but I don't like this. I think if it was a good idea, it would
> be the default in GNU ld - and if that is still being decided, I am
> happy to wait.

FWIW it has no known drawbacks with properly written libraries (IOW if
you rely on libraries constructors in the sense of GCC
__attribute__((constructor)) side effects for your code to work fine).

I've been told this kind of ugly things can (may ?) happen for C++ code
with heavy templating stuff. Though C is fine.

> If an individual user or the packagers for a particular platform want to
> do this, it is trivial to add to LDFLAGS.

Makes sense.
-- 
·O·  Pierre Habouzit
··Omadco...@debian.org
OOOhttp://www.madism.org

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users