On Friday 2007, March 02, Linus Torvalds wrote: > On Fri, 2 Mar 2007, Andy Parkins wrote: > > On Friday 2007, March 02, Linus Torvalds wrote: > > > Yes. How about just having the built-in git pager do the right > > > thing? > > > > Perfect. This is absolutely the right thing to do I think. > > Well, it would be perfect, except it's rather hard to do. Right now > we simply don't have any way to tell the pager what to do with the > data, and we'd need to do some communications passing thing to let it > know. There is an alternative. pager.c:run_pager() runs a select() to wait for data before it actually exec()s the pager. What if after the select() the process didn't exec(), but read the first line to decide what pager to exec? Then, when pager_in_use is true, the sending process writes, say, a handler identifier which tells the pager process what to exec(). Andy -- Dr Andy Parkins, M Eng (hons), MIET andyparkins@xxxxxxxxx - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html