Re: "take-prompt" command in table "choice"?

2010-02-06 Thread clemens fischer
Nicholas Marriott wrote: > On Fri, Feb 05, 2010 at 12:55:22AM +0100, clemens fischer wrote: > You want a -p option to confirm-before, I guess and the ability to > insert the prompt text, which would be nice for both. I've got a better idea, I hope. Change the syntax of the "-p" option to "comma

Re: list-keys shows wrong keys

2010-02-06 Thread clemens fischer
Frank Terbeck wrote: > clemens fischer wrote: > >> I found out that nils provos libevent is needed, this should be >> mentioned in the FAQ for the dev version. > > It's in the NOTES file. You just need to read it. :) Right. I somehow expect this info to be in an "INSTALL" or "README" file, which

Re: "take-prompt" command in table "choice"?

2010-02-06 Thread Nicholas Marriott
On Sat, Feb 06, 2010 at 04:01:42PM +0100, clemens fischer wrote: > Nicholas Marriott wrote: > > > On Fri, Feb 05, 2010 at 12:55:22AM +0100, clemens fischer wrote: > > > You want a -p option to confirm-before, I guess and the ability to > > insert the prompt text, which would be nice for both. >

Re: "take-prompt" command in table "choice"?

2010-02-06 Thread Thomas Adam
On Sat, Feb 06, 2010 at 05:11:02PM +, Nicholas Marriott wrote: > On Sat, Feb 06, 2010 at 04:01:42PM +0100, clemens fischer wrote: > > > > Currently I cannot perform a "login" with the same error. I'd much > > rather prefer mercurial or git. > > Yeah well I like CVS. You can always use: htt

Re: How to checkout the latest source code

2010-02-06 Thread clemens fischer
Micah Cowan wrote: > 1. Check out OpenBSD CVS, as of a version that has already been > synched to SourceForge, and hasn't yet been changed since that synch. Sounds like a race. > 2. When I become aware of changes to OpenBSD CVS, I make a copy of the > current CVS working directory, update the

Re: How to checkout the latest source code

2010-02-06 Thread Micah Cowan
clemens fischer wrote: > Micah Cowan wrote: > >> 1. Check out OpenBSD CVS, as of a version that has already been >> synched to SourceForge, and hasn't yet been changed since that synch. > > Sounds like a race. Yes, it is. I usually win, because it's just NicM checking in. Also, if I miss some t

terminal-overrides: proper terminfo entries?

2010-02-06 Thread clemens fischer
(using CVS HEAD from today on linux with urxvt-unicode) Hi, I have the following problems: - In "tin" (the ncurses newsreader) I had a black background with various colours on it, while the urxvt has a brownish background with light sand coloured text on it. With "screen", the background of

Re: terminal-overrides: proper terminfo entries?

2010-02-06 Thread Nicholas Marriott
On Sat, Feb 06, 2010 at 06:58:19PM +0100, clemens fischer wrote: > (using CVS HEAD from today on linux with urxvt-unicode) > > Hi, > > I have the following problems: > > - In "tin" (the ncurses newsreader) I had a black background with > various colours on it, while the urxvt has a brownish ba

Re: "take-prompt" command in table "choice"?

2010-02-06 Thread clemens fischer
Nicholas Marriott wrote: >> cvs [update aborted]: connect to >> tmux.cvs.sourceforge.net(0.0.0.0):2401 failed: Connection refused > > Looks like you have DNS problems to me, nothing should resolve to > 0.0.0.0. Oh, I hadn't thought about this! That's easy to fix: should it happen again, I

alternative git repo mirror (Re: "take-prompt" command in table "choice"?)

2010-02-06 Thread clemens fischer
Thomas Adam wrote: > You can always use: > > http://github.com/ThomasAdam/tmux > > Automatically synched hourly from SF.net Thanks, I wasn't aware of that. clemens -- The Planet: dedicated and managed hosting, cloud

Re: terminal-overrides: proper terminfo entries?

2010-02-06 Thread Micah Cowan
Nicholas Marriott wrote: >> - Any time I view a manual page, use the "less" pager or the "vim" >> editor, I get a fresh screen page. This disturbs me somewhat, because >> I'm used to go up in copy-mode, select some text and paste it where >> it's needed. > > I don't understand what you mean

Re: "take-prompt" command in table "choice"?

2010-02-06 Thread Nicholas Marriott
On Sat, Feb 06, 2010 at 07:08:20PM +0100, clemens fischer wrote: > Nicholas Marriott wrote: > > >> cvs [update aborted]: connect to > >> tmux.cvs.sourceforge.net(0.0.0.0):2401 failed: Connection refused > > > > Looks like you have DNS problems to me, nothing should resolve to > > 0.0.0.0. >

Re: [Patch] Don't complain about nested tmux if it's a new server.

2010-02-06 Thread Nicholas Marriott
Committed, thanks! On Fri, Feb 05, 2010 at 08:46:43AM -0800, Micah Cowan wrote: > Micah Cowan wrote: > > Micah Cowan wrote: > >> Nicholas Marriott wrote: > >>> Hi > >>> > >>> This is a cool idea, tmux should definitely just do the right thing. > >>> > >>> We could call realpath() to get around the

Re: bind -t cmd-with-args?

2010-02-06 Thread clemens fischer
Nicholas Marriott wrote: > Yes, so you could do 1 C-w or 1 y to copy into buffer 1 instead of 0. The vi meaning of this would be "copy one item": the prefix number says how many to handle. I'm not sure how much this difference hinders intuitive typing in vi modes. The double-quote designating

Re: "take-prompt" command in table "choice"?

2010-02-06 Thread clemens fischer
Nicholas Marriott wrote: > Projects the size of tmux don't need branches. Is that why there are two repos, the OpenBSD and the portable one? (Couldn't resist ...) clemens -- The Planet: dedicated and managed hosting,

Re: terminal-overrides: proper terminfo entries?

2010-02-06 Thread clemens fischer
Micah Cowan wrote: > I think he's referring to the alternate buffer. > > clemens, one way of working around that would be to simply suspend > less or vim (or whatever) with C-z, enter copy-mode and grab what you > want, then exit copy-mode and resume your app. Oh, I'm doing that all the time, bu

Re: terminal-overrides: proper terminfo entries?

2010-02-06 Thread Micah Cowan
clemens fischer wrote: > Micah Cowan wrote: > >> I think he's referring to the alternate buffer. >> >> clemens, one way of working around that would be to simply suspend >> less or vim (or whatever) with C-z, enter copy-mode and grab what you >> want, then exit copy-mode and resume your app. > >

Re: terminal-overrides: proper terminfo entries?

2010-02-06 Thread clemens fischer
Micah Cowan wrote: > I think he's referring to the alternate buffer. I'm sorry: where is this "alternate buffer" implemented? Does it have to do with "input.c: * Enter alternative screen mode." and the "*saved_grid" pointer? Maybe I should try to add an option for switching it off, per window

Re: How to checkout the latest source code

2010-02-06 Thread clemens fischer
Micah Cowan wrote: > Right; I have no desire to sync a hg repo with cvs. However, my quilt > patches dir is itself a mercurial repo, so I never lose my patches. So you have "no desire to sync a hg repo with cvs", how prude ;-) "Should there be men abreast with desire, let them sync with civilness

[Patch] Repeat search in reverse direction

2010-02-06 Thread Micah Cowan
The attached patch bind "N" (both copy modes) to "search-reverse", a new command that does the same as "search-again", but in the reverse of the current direction (same as "N" normally does in the vi editor). -- Micah J. Cowan http://micah.cowan.name/ Index: mode-key.c ===

Re: terminal-overrides: proper terminfo entries?

2010-02-06 Thread clemens fischer
Micah Cowan wrote: > clemens fischer wrote: >> Micah Cowan wrote: >> >>> I think he's referring to the alternate buffer. >>> >>> clemens, one way of working around that would be to simply suspend >>> less or vim (or whatever) with C-z, enter copy-mode and grab what >>> you want, then exit copy-mo

Re: terminal-overrides: proper terminfo entries?

2010-02-06 Thread Micah Cowan
clemens fischer wrote: > The problem I see looking at lines 1189pp @ input.c is the GRID_HISTORY > flag, which is supposed to be off after handling the sm sequence. I'm > not sure if it should stay on if a new option disables the saved_grid. My guess would be that this flag controls whether or no

Re: terminal-overrides: proper terminfo entries?

2010-02-06 Thread Nicholas Marriott
On Sat, Feb 06, 2010 at 11:17:03PM +0100, clemens fischer wrote: > Micah Cowan wrote: > > > clemens fischer wrote: > >> Micah Cowan wrote: > >> > >>> I think he's referring to the alternate buffer. > >>> > >>> clemens, one way of working around that would be to simply suspend > >>> less or vim (o

Re: terminal-overrides: proper terminfo entries?

2010-02-06 Thread clemens fischer
Nicholas Marriott wrote: > On Sat, Feb 06, 2010 at 11:17:03PM +0100, clemens fischer wrote: > >> What I'd like to see after exiting from or suspending vim is this: >> >> --- (part of) vim output: >> ... >> /* >> * Enter alternative screen mode. A copy of the visible >>