I got an error while applying the patch. This is what I did:

$ svn co https://tmux.svn.sourceforge.net/svnroot/tmux tmux
$ cd tmux/trunk/
$ patch < ~/Desktop/foo.diff
patching file input.c
patching file tmux.h
patch: **** malformed patch at line 46: void             
window_pane_resize(struct window_pane *, u_int, u_int);

On Jul 15, 2012, at 1:25 PM, Nicholas Marriott wrote:

> You are missing redirection. Either
> 
> patch <~/Desktop/foo.diff
> 
> Or
> 
> cat ~/Desktop/foo.diff|patch
> 
> 
> 
> 
> On Sun, Jul 15, 2012 at 10:35:11AM -0700, Kevin Tran wrote:
>>   I tried applying the patch, but the prompt never returns when I do:
>>   $ patch ~/Desktop/foo.diff
>>   This is what foo.diff looks like: [1]http://dpaste.com/771005/plain/
>>   I am on OS X.
>>   Is my diff file wrong?
>>   On Jul 14, 2012, at 11:49 PM, Nicholas Marriott wrote:
>> 
>>     He should use smcup and rmcup from terminfo.
>> 
>>     Does this patch work for you?
>> 
>>     On Sat, Jul 14, 2012 at 03:59:54PM -0700, Kevin Tran wrote:
>> 
>>       The author of urwid says that he is using ^[7^[[?47h to switch to the
>>       alternate screen and ^[[?47l^[8 to switch back.
>> 
>>       What are the sequences that tmux is expecting?
>> 
>>       On Jul 11, 2012, at 9:38 AM, Nicholas Marriott wrote:
>> 
>>         You need to save the email (make sure your mailer saves it raw and
>>         does
>> 
>>         not wrap lines), then checkout tmux SVN and do:
>> 
>>         cd tmux/trunk
>> 
>>         patch </path/to/mail
>> 
>>         sh autogen.sh
>> 
>>         ./configure
>> 
>>         make


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to