how do i simulate a null character from the keyboard?

James Garrison jhg@athensgroup.com
Wed Feb 20 14:39:00 GMT 2002


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@athensgroup.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/



More information about the Cygwin mailing list