Uptime?

2013-07-15 Thread Sharon Kimble
I've been trying this for several days now and I just cant get it to work, how do you get your machines uptime in the status bar please? I've tried - #set -g status-left '#[fg=green]#H #[fg=black]• #[fg=green,bright]###(uptime|awk '{split(substr($0, index($0, "load")), a, ":"); print a[2]})'#[defa

Re: patch for tmux on cygwin

2013-07-15 Thread Thomas Adam
On 15 July 2013 22:07, Saad Malik wrote: > Mark, I don't know--maybe Raynor or Nicholas can chime in. > > Try running tmux with 'strace tmux'. strace -f -o /somewhere/tmux.out tmux and send through the log file, please. -- Thomas Adam ---

Re: patch for tmux on cygwin

2013-07-15 Thread Saad Malik
Mark, I don't know--maybe Raynor or Nicholas can chime in. Try running tmux with 'strace tmux'. On Mon, Jul 15, 2013 at 12:15 PM, Mark Volkmann wrote: > Thanks for the detailed instructions! > I got everything to build without errors using these steps. > I have the tmux command now. > > However

Re: patch for tmux on cygwin

2013-07-15 Thread Mark Volkmann
Thanks for the detailed instructions! I got everything to build without errors using these steps. I have the tmux command now. However, when I enter "tmux new-session -s foo" it runs for a couple of seconds and nothing happens. It doesn't start a tmux session. On Mon, Jul 15, 2013 at 12:52 PM, S

Re: patch for tmux on cygwin

2013-07-15 Thread Saad Malik
Mark, Okay, at least you have the sources now. *libevent* $ cd libevent-2.0.21-stable $ make clean $ ./configure --prefix=/usr $ make && make install *tmux* $ cd tmux-tmux-code $ make clean $ CFLAGS="-I/usr/include/ncurses" ./configure --prefix=/usr $ make && make install Let me know how this g

Re: patch for tmux on cygwin

2013-07-15 Thread Mark Volkmann
I just tried the steps you suggested. The "make install" for libevent fails for me. It says the following: Makefile:693: recipe for target 'libevent.la' failed Makefile:857: recipe for target 'install-recursive' failed Makefile:1182: recipe for target 'install' failed On Fri, Jul 12, 2013 at 8:4

Re: Mapping meta key within tmux in vim

2013-07-15 Thread Marco
Hi, I got it working now. The solution is to use set -g xterm-keys on and mappings like these [1;3A, [1;3B, … Thanks to everyone! Marco -- See everything from the browser to the database with AppDynamics Get end-to