September 30, 2006 Re: [Issue 387] When EOF of din is reached, a line of output is lost | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stewart Gordon | Stewart Gordon wrote:
> I know somebody who was, until a year or three ago, still doing everything in MS-DOS.
I know someone who was, until a day or six ago, still doing everything in MS-DOS. With about 4MB RAM. At 12 Mhz (IIRC).
Of course, "everything" here means "everything pc-related he does" which in turn means "run one specific program". All he did with it was use it as a terminal that connected (over an old-fashioned modem) to a special-purpose feeding computer on the farm he runs.
Some people use old stuff because it works and they don't need more than it provides. Especially if they never connect to the net (so no security updates, latest-browser-features, etc. required).
That said though, he has since upgraded... to Windows 98 ;)
He still only runs one program that would run fine in DOS though. But now he runs it at 1 GHz.
|
September 30, 2006 [Issue 387] When EOF of din is reached, a line of output is lost | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=387 ------- Comment #7 from jpelcis@gmail.com 2006-09-30 14:11 ------- (In reply to comment #4) > But at least something that can be done now is to find out on which Windows versions the bug occurs. Works Vista RC1. -- |
October 05, 2006 Re: [Issue 387] When EOF of din is reached, a line of output is lost | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | d-bugmail@puremagic.com wrote:
> http://d.puremagic.com/issues/show_bug.cgi?id=387
>
>
>
>
>
> ------- Comment #4 from smjg@iname.com 2006-09-30 11:47 -------
> Alas, it's a bug with the OS. I've tried the C stdio API (both DM and Borland
> implementations) and the Windows file I/O API with the same effect. And I'm
> still lost for a workaround.
For a workaround, test to see which version of Windows you're running under, and generate an extra line of output for the buggy one. Look in std/file.d for how to determine the version.
|
October 07, 2006 Re: [Issue 387] When EOF of din is reached, a line of output is lost | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright wrote: <snip> > For a workaround, test to see which version of Windows you're running under, and generate an extra line of output for the buggy one. Look in std/file.d for how to determine the version. That's what I thought for a moment. But how do I detect whether stdin or stdout is redirected? Stewart. -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/M d- s:-@ C++@ a->--- UB@ P+ L E@ W++@ N+++ o K-@ w++@ O? M V? PS- PE- Y? PGP- t- 5? X? R b DI? D G e++++ h-- r-- !y ------END GEEK CODE BLOCK------ My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit. |
October 07, 2006 Re: [Issue 387] When EOF of din is reached, a line of output is lost | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stewart Gordon | Stewart Gordon wrote:
> Walter Bright wrote:
> <snip>
>> For a workaround, test to see which version of Windows you're running under, and generate an extra line of output for the buggy one. Look in std/file.d for how to determine the version.
>
> That's what I thought for a moment. But how do I detect whether stdin or stdout is redirected?
C's isatty()
|
October 14, 2006 [Issue 387] When EOF of din is reached, a line of output is lost | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=387 ------- Comment #8 from smjg@iname.com 2006-10-14 15:58 ------- We've got that it works on 2000, XP and Vista RC1. And that it fails on 98SE. this leaves 95, 98FE, NT 4, ME and Server 2003. My guess would be that the bug is in 95 and 98FE as well as 98SE, and in Server 2003 as well as the others from 2000 up. But what about NT 4 and ME? I can't guess whether these have the bug at the moment. (OK, so there's also Win32s and NT 3.x - but do we really need to worry about these?) -- |
October 14, 2006 Re: [Issue 387] When EOF of din is reached, a line of output is lost | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | d-bugmail@puremagic.com wrote:
> (OK, so there's also Win32s and NT 3.x - but do we really need to worry about
> these?)
No.
|
May 28, 2011 [Issue 387] When EOF of din is reached, a line of output is lost | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=387 --- Comment #9 from Stewart Gordon <smjg@iname.com> 2011-05-28 09:28:45 PDT --- It's been established that it's a bug in some versions of Windows, not in Phobos or any of the C libraries it uses. Thinking about it now, I don't suppose it's worth adding a workaround layer. For all I know, the versions of Windows that suffer the bug are probably no longer supported. And those who want this compatibility anyway can use my library.... http://pr.stewartsplace.org.uk/d/sutil/ What are we going to do with this bug report now? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 08, 2012 [Issue 387] When EOF of din is reached, a line of output is lost | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=387 notna <more.more@ist-willig.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |more.more@ist-willig.de --- Comment #10 from notna <more.more@ist-willig.de> 2012-04-08 16:02:39 PDT --- As dlang-Win9x support will be stopped soon, close it? (In reply to comment #9) > It's been established that it's a bug in some versions of Windows, not in Phobos or any of the C libraries it uses. > > Thinking about it now, I don't suppose it's worth adding a workaround layer. > For all I know, the versions of Windows that suffer the bug are probably no > longer supported. And those who want this compatibility anyway can use my > library.... > http://pr.stewartsplace.org.uk/d/sutil/ > > What are we going to do with this bug report now? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 12, 2012 [Issue 387] When EOF of din is reached, a line of output is lost | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=387 Oleg Kuporosov <Oleg.Kuporosov@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Oleg.Kuporosov@gmail.com --- Comment #11 from Oleg Kuporosov <Oleg.Kuporosov@gmail.com> 2012-05-12 00:05:02 PDT --- (In reply to comment #10) > As dlang-Win9x support will be stopped soon, close it? Validated on Windows 7 x86_64 - works fine. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation