Re: Trouble w/sockets

2013-03-03 Thread Chris Vine
On Sat, 2 Mar 2013 20:48:45 -0800 (PST) Mike Gran wrote: [snip] > The problem with `write-char' in Guile 2.0 is that it does all the > conversion to the current locale.  So, once you start hitting the > bytes greater than 127 in your string, `write-char' tries to convert > each byte to something i

Re: Trouble w/sockets

2013-03-03 Thread mark . d . witmer
Thien-Thi Nguyen writes: > () m...@markwitmer.com > () Sun, 03 Mar 2013 00:36:09 -0500 > >an error that the "resource is temporarily unavailable." Perhaps >there's something I need to do before connecting to the X server to >ensure that it doesn't hang up on me. > > Check out Xnest -

Re: Trouble w/sockets

2013-03-03 Thread mark . d . witmer
mark.d.wit...@gmail.com writes: > But calls to readv() after I do the select + usleep loop you suggest > here just give me garbage data. (read-char) gets #. > Oh, and the return value (bytes read) from readv() is zero, so the garbage data is just stuff in an unitialized bytevector. Looks like the