Re: [9fans] PDP11 (Was: Re: what heavy negativity!)

2018-10-08 Thread Nils M Holm
-bit machine. -- Nils M Holm < n m h @ t 3 x . o r g > www.t3x.org

Re: [9fans] PDP11 (Was: Re: what heavy negativity!)

2018-10-08 Thread Nils M Holm
Unix" variants for the PDP-11/03 and other 16-bit systems. Then there is UZI, the Unix Z80 Implementation, which can run multiple processes (with swapping) in 64K bytes of RAM. CP/M ran in much less than 64KB. -- Nils M Holm < n m h @ t 3 x . o r g > www.t3x.org

[9fans] Porting Klong and unexpected behavior of page command

2017-11-18 Thread Nils M Holm
everything works as expected. So the problem is solved, but I'm curious as to what causes page to hang in the first case. Any ideas? -- Nils M Holm < n m h @ t 3 x . o r g > www.t3x.org

[9fans] Scheme 9 ported to Plan 9

2015-07-02 Thread Nils M Holm
directory without installation) - the HELP function works properly So, if you are looking for a Scheme interpreter for Plan 9, look no further! :) http://t3x.org/s9fes Enjoy! -- Nils M Holm n m h @ t 3 x . o r g www.t3x.org

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-29 Thread Nils M Holm
On 2015-06-27T22:24:50+0200, Nils M Holm wrote: On 2015-06-27T11:54:58+0200, David du Colombier wrote: I'm using version 0.12, from here: https://swtch.com/9vx/ This is a pretty old version (2009), which have known issues. Later, Yiyus and Ron Minnich made a lot of improvements. I

Re: [9fans] Help with interrupting fgetc()

2015-06-28 Thread Nils M Holm
currently working on a program that is supposed to run on both Unix and Plan 9, this is why I'm using stdio. -- Nils M Holm n m h @ t 3 x . o r g www.t3x.org

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-27 Thread Nils M Holm
://swtch.com/9vx/ -- Nils M Holm n m h @ t 3 x . o r g www.t3x.org

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-27 Thread Nils M Holm
://github.com/0intro/vx32 Will give it a try, thanks! -- Nils M Holm n m h @ t 3 x . o r g www.t3x.org

Re: [9fans] Help with interrupting fgetc()

2015-06-27 Thread Nils M Holm
On 2015-06-27T22:12:09+0100, Charles Forsyth wrote: On 27 June 2015 at 21:30, Nils M Holm n...@t3x.org wrote: if (!strcmp(s, interrupt)) { A minor stylistic point: Plan 9 code almost invariably uses if(strcmp(...) == 0), and for pointers if(p == nil) instead of if(!p

[9fans] Help with interrupting fgetc()

2015-06-27 Thread Nils M Holm
) { fputc(c, stdout); c = fgetc(stdin); } return 0; } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- Nils M Holm n m h @ t 3 x . o r g www.t3x.org

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-26 Thread Nils M Holm
On 2015-06-26T10:22:14+0200, Nils M Holm wrote: Looks like ftpfs and ftpd cannot agree on a port for passive mode: Of course, here's the problem: PASV 227 Entering passive mode (127,0,0,1,212,96) ^ passive mode connect to /net/tcp!127.0.0.1!54368 failed

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-26 Thread Nils M Holm
On 2015-06-25T13:16:53-0700, Bakul Shah wrote: On Thu, 25 Jun 2015 21:51:49 +0200 Nils M Holm n...@t3x.org wrote: My guess is ftpfs requires active mode connection (but should be easy to change). Looking at the ftpfs sources, I see that it should do passive mode fine. You should debug

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-26 Thread Nils M Holm
On 2015-06-26T01:52:25-0700, Bakul Shah wrote: I just tried this on an old qemu plan9 image. I tried connecting to the hosts' external address, not 10.0.2.2 and it all worked. Works. Didn't know that was possible. Thanks! -- Nils M Holm n m h @ t 3 x . o r g www.t3x.org

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-26 Thread Nils M Holm
On 2015-06-25T19:25:36+0200, Nils M Holm wrote: When logging in via ftpfs, though, I get an empty /n/ftp directory. Turns out that ftpd on FreeBSD announces a port on localhost for passive mode connections: 227 Entering Passive Mode (127,0,0,1,247,55) If I understand QEMU user networking

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-26 Thread Nils M Holm
interesting, e.g. compile a program with 8c. -- Nils M Holm n m h @ t 3 x . o r g www.t3x.org

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-25 Thread Nils M Holm
On 2015-06-25T13:16:53-0700, Bakul Shah wrote: On Thu, 25 Jun 2015 21:51:49 +0200 Nils M Holm n...@t3x.org wrote: My guess is ftpfs requires active mode connection (but should be easy to change). Looking at the ftpfs sources, I see that it should do passive mode fine. You should debug

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-25 Thread Nils M Holm
, not even ip/ping works. So I'll stick to QEMU for now. -- Nils M Holm n m h @ t 3 x . o r g www.t3x.org

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-25 Thread Nils M Holm
On 2015-06-25T11:28:12-0700, Bakul Shah wrote: On Thu, 25 Jun 2015 19:25:36 +0200 Nils M Holm n...@t3x.org wrote: Came back to Plan 9 recently, and I'm running into some trouble. I'm running Plan 9 on QEMU and wanted to use ftpfs to exchange data with my FreeBSD system. When logging

[9fans] ftpfs shows empty /n/ftp after login

2015-06-25 Thread Nils M Holm
and nothing more. ns | grep ftp says mount -c '#|/data1' /n/ftp Does anyone have any idea about what's going on here or how to debug? It's been a while and my Plan-9-fu is quite rusty. Thanks, Nils -- Nils M Holm n m h @ t 3 x . o r g www.t3x.org