delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/20/17:31:49

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
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3C742391.1030308@athensgroup.com>
Date: Wed, 20 Feb 2002 16:30:41 -0600
From: James Garrison <jhg AT athensgroup DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1
X-Accept-Language: en-us
MIME-Version: 1.0
CC: cygwin AT cygwin DOT com
Subject: Re: how do i simulate a null character from the keyboard?
References: <4 DOT 3 DOT 1 DOT 2 DOT 20020220163818 DOT 0215c598 AT pop DOT ma DOT ultranet DOT com>

Ctrl-space seems to work.  Try

od -xc

and then press Ctrl-space a few times, followed by some characters,
ENTER and Ctrl-D.  Here's what happens when I enter the
characters

    a a Ctrl-space Ctrl-space Ctrl-space Ctrl-space z <cr> ^D

$ od -xc
aaz
0000000 6161 0000 0000 0a7a
           a   a  \0  \0  \0  \0   z  \n
0000010

-- 
James Garrison                                Athens Group, Inc.
mailto:jhg AT athensgroup DOT com                    5608 Parkcrest Dr
http://www.athensgroup.com                    Austin, TX 78731
PGP: RSA=0x92E90A3B DH/DSS=0x498D331C         (512) 345-0600 x150



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