delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/01/21/11:36:19

From: pd AT kubism DOT ku DOT dk (Peter Dalgaard BSA)
Subject: Re: 2 newlines instead of 1?
21 Jan 1997 11:36:19 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <x220bfc4e5.fsf.cygnus.gnu-win32@bush.kubism.ku.dk>
References: <199701210422 DOT WAA32186 AT cube DOT ice DOT net>
Original-To: gnu-win32 AT cygnus DOT com
In-Reply-To: kunglao@prairienet.org's message of Mon, 20 Jan 1997 22:22:20 +0000
X-Mailer: Gnus v5.2.40/Emacs 19.34
Original-Sender: owner-gnu-win32 AT cygnus DOT com

kunglao AT prairienet DOT org writes:

> 
> > > But in DOS, running a.exe gives:
> > > 
> > > 	C:\Work>a
> > > 	Hello world!
> > > 
> > > 	C:\Work>_
> 
> I'm sure he just meant a DOS shell run in win95, since nothing made 
> with cygwin32 runs in plain MSDOS .  I've also noticed this behavior, 
> a fix would be nice .. but it's not a emergency or anything :).

- and cat > file puts an extra blank line at the top, 

- and terminating a ported Unix program with ^D leaves the character
in the input buffer, so that you need to backspace to answer
confirmation questions. Er, that wasn't clear ... effect like this:

> command
output
> command
more output
> ^D
save workspace (y/n/c)? *

with '*' being the caret character that indicates ^D

In the same vein:
> command
output
> command
more output
> q()
save workspace (y/n/c)?
save workspace (y/n/c)?

- as if an extra CR is getting sent. Using the readline library, by
the way.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p DOT dalgaard AT biostat DOT ku DOT dk)             FAX: (+45) 35327907
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019