From: ndm AT shore DOT net (Norman D. Megill) Newsgroups: comp.os.msdos.djgpp Subject: Re: djgpp loses characters when pasting to DOS Organization: Shore.Net; a service of Eco Software, Inc. (info AT shore DOT net) Lines: 38 Message-ID: <784uli$ri0@northshore.shore.net> References: <784ho5$1hv AT northshore DOT shore DOT net> <784s17$5cv$1 AT antares DOT lu DOT erisoft DOT se> Date: 20 Jan 1999 11:01:54 -0500 NNTP-Posting-Host: 192.233.85.1 X-Complaints-To: abuse AT shore DOT net X-Trace: news.shore.net 916848115 192.233.85.1 (Wed, 20 Jan 1999 11:01:55 EDT) NNTP-Posting-Date: Wed, 20 Jan 1999 11:01:55 EDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article <784s17$5cv$1 AT antares DOT lu DOT erisoft DOT se>, Martin Stromberg wrote: >Norman D. Megill (ndm AT shore DOT net) wrote: >: Help! Cut-and-paste from a text editor into DOS is losing characters >: when used with djgpp programs. This does not happen with the lcc >: compiler, nor with standard DOS utilities. It happens even with "fast >: pasting" turned off in DOS. I downloaded the latest djgpp as of 1/20/99 >: and the bug is still there. > >: By the way something seems to have degraded over time on my machine >: where this bug used to not happen very often, then more frequently, and >: now all the time. Wierd. > >: I have Windows 95 on a Gateway 2300 laptop purchased 2/98. The problem >: happens with both: djdev201.zip/gcc2721b.zip and djdev202.zip/gcc281b.zip. >: (BTW how do I find out the version of DOS? There seems to be no "About.." >: button on the DOS window and MS has also removed the "HELP" command...) > >Type "ver" at a DOZE prompt. It doesn't tell me the DOS version. It says: D:\r>ver Windows 95. [Version 4.00.1111] > >I have notice a similar effect while copying from a DOZE window to another >DOZE window. Although I do not cut out the end of line, the paste operation >is inserting one anyway. My guess is that your editor (or perhaps WINDOZE >itself) is inserting some control characters or something. > OK, I tried it from Notepad. Same behavior. Also, why would djgpp be sensitive to it and not lcc? The extra end-of-line copy from DOS is known (and at least deterministic) behavior, I believe. --Norm