2015-03-14T00:30:14Z gz quit (Connection reset by peer) 2015-03-14T02:25:29Z dustinm`_ quit (Ping timeout: 244 seconds) 2015-03-14T02:36:12Z dustinm` joined #ccl 2015-03-14T04:15:35Z gbyers quit (Ping timeout: 265 seconds) 2015-03-14T04:34:07Z gbyers joined #ccl 2015-03-14T05:52:40Z szillath joined #ccl 2015-03-14T09:31:44Z Intensity quit (Ping timeout: 244 seconds) 2015-03-14T09:36:48Z Intensity joined #ccl 2015-03-14T09:41:23Z |3b|` is now known as |3b| 2015-03-14T09:41:56Z Intensity quit (Remote host closed the connection) 2015-03-14T09:52:04Z Intensity joined #ccl 2015-03-14T10:05:56Z |3b| quit (Read error: Connection reset by peer) 2015-03-14T10:07:27Z |3b| joined #ccl 2015-03-14T11:25:52Z Quadrescence quit (Quit: This computer has gone to sleep) 2015-03-14T19:13:00Z szillath1 joined #ccl 2015-03-14T19:13:37Z szillath quit (Ping timeout: 265 seconds) 2015-03-14T20:03:21Z foo1 joined #ccl 2015-03-14T20:08:22Z foo1: is there a way to wrap unix file descriptor in a stream? 2015-03-14T20:09:36Z rme: I don't think we export a way to do that. 2015-03-14T20:11:46Z foo1: it's not in the docs, but i thought maybe there's a private function. the real problem i'm trying to solve is opening a resource fork via ../namedfork/rsrc, which is reported as no such file or directory. but i can open it with #_open 2015-03-14T20:13:49Z rme: There's an internal function ccl::make-fd-stream 2015-03-14T20:15:01Z pjb: rme: I tried it yesterday, but it seems it produces streams that are incompatible: http://paste.lisp.org/+34UM 2015-03-14T20:15:36Z pjb: gives; The value # is not of the expected type (AND CCL::CHARACTER-STREAM CCL:OUTPUT-STREAM). 2015-03-14T20:15:36Z pjb: 2015-03-14T20:15:44Z rme: But I don't recommend that you use an internal function. 2015-03-14T20:15:51Z pjb: Of course. 2015-03-14T20:16:09Z pjb: That's why I didn't complain yesterday, but since the feature is requested today by somebody else, I mention it. 2015-03-14T20:16:25Z pjb: Notice that clisp has an API to build stream from file descriptors. 2015-03-14T20:16:56Z szillath1 quit (Quit: szillath1) 2015-03-14T20:19:41Z rme: foo1: You're saying that (open "filename/..namedfork/rsrc") doesn't work? I don't have a file with a resource fork close at hand or I'd look myself. 2015-03-14T20:21:35Z foo1: rme: doesn't work, i'm using textClipping's to test it out 2015-03-14T20:27:11Z rme: Yeah, I see. We end up calling #_realpath, and that doesn't seem to work on "filename/..namedfork/rsrc". 2015-03-14T20:27:36Z rme: It looks like you're stuck using the FFI here. 2015-03-14T20:28:35Z rme: Maybe you could try getting the fd with #_open and then doing (open "/dev/fd/13") or whatever. 2015-03-14T20:38:58Z foo1: that seems to suffer from similar issue, no such file. doing #_open on it works though 2015-03-14T20:41:57Z foo1: in my case i could read the whole fork into memory using ffi calls and ivector and be done with it 2015-03-14T20:43:06Z rme: That sounds reasonablle. 2015-03-14T20:55:44Z gbyers quit (Remote host closed the connection) 2015-03-14T21:37:22Z foo1 quit (Ping timeout: 245 seconds) 2015-03-14T21:44:52Z Adlai quit (Ping timeout: 240 seconds) 2015-03-14T22:03:10Z Quadrescence joined #ccl 2015-03-14T22:12:06Z Adlai joined #ccl 2015-03-14T22:21:24Z foo1 joined #ccl 2015-03-14T22:42:53Z foo1 quit (Remote host closed the connection) 2015-03-14T22:45:35Z wws quit (Quit: Linkinus - http://linkinus.com) 2015-03-14T22:52:09Z billstclair joined #ccl