[Info-vax] select() returning -1
John E. Malmberg
wb8tyw at qsl.network
Sat Apr 6 00:38:19 EDT 2013
On 4/5/2013 4:22 PM, Sam Ferencik wrote:
> On Wednesday, February 20, 2013 12:40:05 PM UTC+1, Neil Rieck wrote:
>> On Saturday, February 16, 2013 7:22:54 PM UTC-5, Sam Ferencik wrote:
>>
>>> It seems select() really only works for sockets. The return value
>>> of -1 is accompanied by errno = 38, which is (errno.h):
>>
>>> So, is there an alternative call available on VMS?
This appears to be in the context of updating the port of VIM?
I previously replied to someone not that long ago to look at the vms
specific source for Bash 4.2.39 at the GNV sourceforge cvs repository.
The source is also available for extraction from the Bash 4.2.39 PCSI
kits at ftp.encompasserve.org/gnv/....
In that source is the hacks needed to make a wrapper for select() and
poll() that work on pipes, terminals, and X11 file descriptors.
That hack is also in the GLIB port source that is also in a PCSI kits.
It also has the fixes needed to get the correct terminal geometry on VIM.
When I discovered that it was broken on the older Bash, a internet
search showed the source code to VIM was using the same code that did
not work.
The code in Bash 4.2.39 works and can be put into VIM.
Regards,
-John
wb8tyw at qsl.network
Personal Opinion Only
More information about the Info-vax
mailing list