Re: Corrupting the terminal with /dev/urandom

2013-09-26 Thread Saad Malik
Paulo, Hmm there is no 'reset' for Cygwin users. Any one know of a method of resetting mintty terminal when it's in a 'non-normal' state? I've been bit by this issue a couple times--mostly by careless catting of binary files. The only workaround was to completely kill the tmux session and then star

Re: switching panes in cygwin

2013-09-06 Thread Saad Malik
Mark, Glad to hear you were able to compile Cygwin tmux! I just tried ctrl+arrow and selecting panes with mouse, both work fine in Cygwin tmux for me. Is your terminal mintty? What version? Mine is 1.1.3. Could you temporarily try tmux with my configuration: https://github.com/saamalik/dotvim/bl

Re: tmux on Cygwin

2013-09-04 Thread Saad Malik
Mark Volkmann > wrote: > >> On Wed, Sep 4, 2013 at 12:45 AM, Saad Malik wrote: >> >>> Mark, >>> Here are the instructions for compiling tmux in cygwin: >>> >>> *libevent* >>> $ cd libevent-2.0.21-stable >>> $ make clea

Re: tmux on Cygwin

2013-09-03 Thread Saad Malik
Mark, Here are the instructions for compiling tmux in cygwin: *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

Re: tmux on Cygwin

2013-09-03 Thread Saad Malik
Hi Mark, I'm sorry we couldn't get Tmux running on your Cygwin environment. I hope you get it sorted out soon! I've been running two long-running tmux sessions on my windows desktop for over a month without ANY crashes or problems. On Tue, Sep 3, 2013 at 9:10 AM, L. V. Lammert wrote: > On Tue,

Re: default-path doesn't work on OSX

2013-08-04 Thread Saad Malik
I would like to piggy-back on this bug request. default-path doesn't work in cygwin either. I hope it's the same root cause. On Fri, Aug 2, 2013 at 8:50 AM, Rogério Yokomizo wrote: > Hi! > > I would like to report a bug. > I am sorry if this isn't the right method. > > So… > > I'm using tmux on

Re: tmux + putty: Using mouse off window on a maximized window shows junk characters

2013-08-01 Thread Saad Malik
Naseer, I'm pretty sure this is a different issue, but I also had garbage characters while scrolling with mintty (cygwin) over ssh. Add the following to your .tmux.conf: #setting the delay between prefix and command set -s escape-time 500 If the scroll works, then redude the escape timeout to a l

Re: patch for tmux on cygwin

2013-07-15 Thread Saad Malik
ave 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, Saad Malik wrote: > >> Mark, >> Okay, at least y

Re: patch for tmux on cygwin

2013-07-15 Thread Saad Malik
failed > Makefile:857: recipe for target 'install-recursive' failed > Makefile:1182: recipe for target 'install' failed > > > On Fri, Jul 12, 2013 at 8:49 PM, Saad Malik wrote: > >> Mark, >> I don't know why. That works perfectly for me. Make sure yo

Re: Mapping meta key within tmux in vim

2013-07-14 Thread Saad Malik
Yah all on one line. My windows Mintty terminals doesn't send the correct keycodes for Ctrl-1..9 with XT in terminal-overrides. Anyway, good luck On Sun, Jul 14, 2013 at 12:09 PM, Marco wrote: > On 2013–07–14 Saad Malik wrote: > > > It's a long shot, but try removing

Re: Mapping meta key within tmux in vim

2013-07-14 Thread Saad Malik
It's a long shot, but try removing the 'XT' from terminal-overrides. Add this to your .tmux.conf: On Sun, Jul 14, 2013 at 11:03 AM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > Turn it off if you don't want xterm style arrow keys. > > > > Original message > From:

Re: Mapping meta key within tmux in vim

2013-07-14 Thread Saad Malik
It's a long shot, but try removing the 'XT' from terminal-overrides. Add this to your .tmux.conf: set -g terminal-overrides "xterm*:smcup@:rmcup@:Ms=\\E]52;%p1%s;%p2%s\\007:Ss=\\E[%p1%d q:Se=\\E[0 q" On Sun, Jul 14, 2013 at 11:46 AM, Saad Malik wrote: > It

Re: patch for tmux on cygwin

2013-07-12 Thread Saad Malik
12, 2013 at 6:36 PM, Mark Volkmann wrote: > Thanks! No errors now, but when I enter: > > tmux new-session -s mytmux > > it runs for a few seconds and then ends without actually starting tmux. > I do have ncurses installed. > > > On Fri, Jul 12, 2013 at 7:51 PM, Saad Malik

Re: patch for tmux on cygwin

2013-07-12 Thread Saad Malik
l If this doesn't work, I'll write a simple guide on how to compile both libevent and tmux on cygwin. -Saad On Fri, Jul 12, 2013 at 5:30 PM, Saad Malik wrote: > My apologies. I forgot to include the libevent dependency for tmux. Give > me a couple minutes and I'll uploa

Re: patch for tmux on cygwin

2013-07-12 Thread Saad Malik
loading shared libraries: > cygevent-2-0-5.dll: can > not open shared object file: No such file or directory > > Are there other things I need to install to get it to work? > > > On Fri, Jul 12, 2013 at 5:02 PM, Saad Malik wrote: > >> Sure, no problem. >> >> Uplo

Re: patch for tmux on cygwin

2013-07-12 Thread Saad Malik
.1 -Saad On Fri, Jul 12, 2013 at 2:56 PM, Patrick Shanahan wrote: > * Saad Malik [07-12-13 17:43]: > > Mark, I've been using tmux on Cygwin for a whole day--all the features > > work, it's stable, and fast! You have to compile using the cygwin gcc > > toolkit--if

Re: patch for tmux on cygwin

2013-07-12 Thread Saad Malik
Mark, I've been using tmux on Cygwin for a whole day--all the features work, it's stable, and fast! You have to compile using the cygwin gcc toolkit--if you want I can upload a binary for you. On Fri, Jul 12, 2013 at 2:32 PM, Mark Volkmann wrote: > Is tmux on cygwin considered ready to use now?

Re: patch for tmux on cygwin

2013-07-10 Thread Saad Malik
J Raynor/Nicholas! Awesome job, and thank you! The latest patch by Nicholas applied cleanly, and I'm running tmux in cygwin! Woot =) 1. As J Raynor mentioned, the CFLAGS is required for ncurses header to be found: CFLAGS="-I/usr/include/ncurses" ./configure --prefix=/usr. Can this be done automati

Re: [PATCH 1/1] FAQ: Mention copying tmux selection to clipboard

2013-07-01 Thread Saad Malik
RESENDING FROM CORRECT EMAIL ADDY Thomas, Ironically I'm in the middle of patching mintty to support OSC clipboard key escapes. I got the save to clipboard working (just need to decode the base64 data). Why doesn't tmux support the get clipboard escape? It's the same key escape as set clipboard