Re: How to trigger a screen update from RealWaitForChar

2006-08-27 Thread Brad Beveridge
SNIP Q1) Is using ml_append from (effectively) within RealWaitForChar a bad thing? At the moment it appears to work properly. Yes. You never know where in Vim you are, the caller may not handle the situation that the text changes unexpectedly. It's similar to autocommands, which have

Re: How to trigger a screen update from RealWaitForChar

2006-08-25 Thread A.J.Mechelynck
Brad Beveridge wrote: [...] Potential issues : [...] - I am not familiar with autoconf stuff, so this patch does not integrate with the make system of Vim, somebody probably needs to add it to config.in. There were too many diffs in the various files that I thought to check, and I didn't

Re: How to trigger a screen update from RealWaitForChar

2006-08-24 Thread Brad Beveridge
I have gathered together the network_io patch as best I can. The author is Jim Bailey, not me - however Jim is currently roaming about in the world and was unable to respond to my requests for permission to distribute this code. Jim did include the standard Vim license comments in his files,

Re: How to trigger a screen update from RealWaitForChar

2006-08-22 Thread Bram Moolenaar
Brad Beveridge wrote: Hi all, I'm working with a Vim that has been hacked so that you can get callbacks when data appears on a socket. Basically, our callback system works in pretty much the same way as the code in FEAT_SNIFF. We add the filedescriptors that we are interested in to the

Re: How to trigger a screen update from RealWaitForChar

2006-08-18 Thread Gautam Iyer
On Thu, Aug 17, 2006 at 11:35:09PM -0700, Brad Beveridge wrote: Hi all, I'm working with a Vim that has been hacked so that you can get callbacks when data appears on a socket. Basically, our callback system works in pretty much the same way as the code in FEAT_SNIFF. We add the