Does pdd/tsdos/m100 handle zero-length files? I guess the ROM entry directory entries can be 0 bytes, but I don't know about the pdd or software servers.
Does Mono in general understand named pipes? I have no experience with it. Anyway this still isn't a bug report or even a feature request. don't lose any sleep on my account. :-) Willard Sent from Samsung tablet -------- Original message -------- From "John R. Hogerhuis" <[email protected]> Date: 01/09/2017 2:28 PM (GMT-07:00) To Model 100 Discussion <[email protected]> Subject Re: [M100] THAT didn't work... ;-) On Mon, Jan 9, 2017 at 1:04 PM, Willard Goosey <[email protected]> wrote: So I tried a clever trick and it didn't work. (This is NOT a bug report about any of the named programs, as it's a weird edge case.) So UNIX (and therefore Linux) has these things called "named pipes". They're like files, except that they're strictly buffers -- you write something to one and it's only there until it's read. galvatron:~$ mkfifo foo galvatron:~$ date > foo & [1] 395 galvatron:~$ date Mon Jan 9 13:52:21 MST 2017 galvatron:~$ cat foo Mon Jan 9 13:52:23 MST 2017 [1]+ Done date >foo galvatron:~$ So, interestingly, note that the date written to the named pipe "foo" wasn't written until it was read! Just as an experiment, I created ~/root/DATE.DO as a named pipe and redirected date(1) into it... Then tried to read it from tsdos via the laddiealpha PDD server. The result: M100 visits Cold Start City. Not really surprising, something probably got confused by the fact that the named pipe is reported as a 0-length file. Ugh. Possibilities... 0 length file issue Short file issue You might try a static file with the date and see if that works to see if it's the pipe or the file. But it might be the 0 length thing. Another thing we could do is add a special file to LaddieAlpha that always has the current date in it. Like @DATE and @TIME. Something like that. I don't remember if NADSBox has any special files. -- John.
