delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/07/15:45:28

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 7 Feb 2003 21:44:30 +0100 (MET)
From: svartsjel AT gmx DOT net
To: shankar AT cotagesoft DOT com
Cc: cygwin AT cygwin DOT com
MIME-Version: 1.0
Subject: Re: assimilation cmd towards cygwin/bash
X-Priority: 3 (Normal)
X-Authenticated-Sender: #0000624634 AT gmx DOT net
X-Authenticated-IP: [80.132.40.137]
Message-ID: <26425.1044650670@www10.gmx.net>
X-Flags: 0001

Shankar Unni wrote:
> As long as you don't mind hitting <CR> after the ^D, this seems to
> work:
>
>    c:\> doskey ^D=exit
>
> Now, if you hit ^D<cr>  (the <cr> is unfortunately required), CMD.EXE
> will exit.
Yes, this seems to work... and there should still be a trick for adding the
missing <cr> key code to the line, maybe a bit like:
doskey ^D="exit >nul | x"
[ x representing the <cr> key code ]
I guess a different, i.e. enhanced doskey replacement could allow this?
Or better: an additional program which emulates key codes?
Unfortunately I don't know any...
The only way in the past of getting <cr> to work properly for keyboard
macros was ANSI.SYS. Any other suggestions?

Greetings,

Svartsjel

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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