delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/07/16:03:41

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
Message-Id: <4.3.1.2.20030207155637.02503bf0@pop.rcn.com>
X-Sender: lhall AT pop DOT rcn DOT com
Date: Fri, 07 Feb 2003 16:00:13 -0500
To: svartsjel AT gmx DOT net, shankar AT cotagesoft DOT com
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: assimilation cmd towards cygwin/bash
Cc: cygwin AT cygwin DOT com
In-Reply-To: <26425.1044650670@www10.gmx.net>
Mime-Version: 1.0

At 03:44 PM 2/7/2003, svartsjel AT gmx DOT net wrote:
>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?


Sounds to me like you're really looking for suggestions about cmd.exe 
specifics and related Windows mechanisms.  I'm not sure this list is the
best one to direct such questions to, though perhaps someone here has an
idea how to do what you want.  If not, you might want to send the 
specifics of your question to a more Windows-oriented list or group.
I'm sure there's some CMD.EXE evangelist list out there somewhere! ;-)



Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
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