delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/25/15:17:18

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: <044301c30b65$5b8a5260$0a00a8c0@toyon.corp>
From: "Peter J. Stieber" <developer AT toyon DOT com>
To: <cygwin AT cygwin DOT com>
Subject: termios usage - unblocked single character read from terminal
Date: Fri, 25 Apr 2003 13:00:43 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Note-from-DJ: This may be spam

------=_NextPart_000_0440_01C30B2A.AE060D30
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

I have some old code I'm trying to port to cygwin. It uses termios and what
I'm trying to do is read a single key without waiting. I've attached a
simple C source module that sets termios up in the same manner my larger
code does. I've compiled it on RH 8 using the provided gcc 3.2 and it works
the way I desire: prints -1 continually until a key is hit, then it prints
the decimal and ASCII value of the key, then goes back to printing many -1s
until the user hits the q key.

If I set CYGWIN=tty the code (getchar) waits (doesn't printf anything) until
the first key is hit, then getchar returns 0 on successive calls, but no
keys are read. I have to exit the code by using ^C.

If CYGWIN is unset, the getchar call always waits for a key to be hit (not
what I want), and returns the proper value.

Is there something else I should set in my CYGWIN environment variable, or
termios structure?

Pete Stieber

------=_NextPart_000_0440_01C30B2A.AE060D30
Content-Type: text/plain;
	name="cygcheck.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="cygcheck.txt"


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Apr 25 12:10:28 2003

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3

Path:	C:\cygwin\usr\local\bin
	C:\cygwin\bin
	C:\cygwin\bin
	c:\Program Files\Microsoft Visual Studio\Common\Tools
	c:\Program Files\Microsoft Visual Studio\Common\Msdev98\BIN
	c:\Program Files\Microsoft Visual Studio\DF98\BIN
	c:\Program Files\Microsoft Visual Studio\VC98\BIN
	c:\WINNT\system32
	c:\WINNT
	c:\WINNT\System32\Wbem
	c:\Tcl\bin
	c:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT
	c:\OutsideSource\rtis-1.3\lib\winnt_vc++-6.0
	c:\jdk1.3.1_02\bin
	c:\jdk1.3.1_02\jre\bin\hotspot
	c:\ACE_wrappers\bin
	c:\Programs\Tex2RTF
	c:\Program Files\Microsoft Visual Studio\Common\Tools
	c:\Program Files\Microsoft Visual Studio\Common\Msdev98\BIN
	c:\Program Files\Microsoft Visual Studio\DF98\BIN
	c:\Program Files\Microsoft Visual Studio\VC98\BIN
	c:\WINNT\system32
	c:\WINNT
	c:\WINNT\System32\Wbem
	C:\cygwin\usr\X11R6\bin
	.
	c:\Source\Utilities\cygwinbin
	C:\cygwin\usr\local\sbin
	C:\cygwin\usr\local\lib
	C:\cygwin\usr\local\bin\netpbm

C:\cygwin\bin\id.exe output (nontsec)
UID: 1001(pete)      GID: 513(None)
513(None)            544(Administrators) =20
545(Users)

C:\cygwin\bin\id.exe output (ntsec)
UID: 1001(pete)      GID: 513(None)
513(None)            544(Administrators) =20
545(Users)

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

CYGWIN =3D `tty'
HOME =3D `C:\cygwin\home\pete'
LD_LIBRARY_PATH =3D `:\home\pete\lib'
LIBRARY_PATH =3D `:/home/pete/lib'
MAKE_MODE =3D `unix'
PWD =3D `/home/pete'
USER =3D `pete'

ACE_ROOT =3D `C:\ACE_wrappers'
ALLUSERSPROFILE =3D `C:\Documents and Settings\All Users'
APPDATA =3D `C:\Documents and Settings\pete\Application Data'
BASH_ENV =3D `/home/pete/.bashrc'
CC =3D `gcc'
CLASSPATH =3D `C:\antlr-2.7.2\antlr.jar;.'
COABSGRID_ROOT =3D `C:\CoABSGrid'
COMMONPROGRAMFILES =3D `C:\Program Files\Common Files'
COMPUTERNAME =3D `LISA'
COMSPEC =3D `C:\WINNT\system32\cmd.exe'
CPU =3D `i386'
CVS_RSH =3D `ssh'
CXX =3D `g++'
F77 =3D `g77'
HOMEDRIVE =3D `C:'
HOMEPATH =3D `\'
HOSTNAME =3D `lisa'
INCLUDE =3D `C:\Program Files\Microsoft Visual =
Studio\VC98\atl\include;C:\Program Files\Microsoft Visual =
Studio\VC98\mfc\include;C:\Program Files\Microsoft Visual =
Studio\VC98\include'
LIB =3D `C:\Program Files\Microsoft Visual =
Studio\VC98\mfc\lib;C:\Program Files\Microsoft Visual Studio\VC98\lib'
LOGONSERVER =3D `\\LISA'
MANPATH =3D `:/usr/ssl/man'
MSDEVDIR =3D `C:\Program Files\Microsoft Visual Studio\Common\MSDev98'
NUMBER_OF_PROCESSORS =3D `1'
OLDPWD =3D `/home/pete/terminal'
OS2LIBPATH =3D `C:\WINNT\system32\os2\dll;'
OS =3D `Windows_NT'
PATHEXT =3D `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PCCTS =3D `C:\Toyon\Source\Pccts'
PLOT =3D `/cygdrive/c/plot'
PROCESSOR_ARCHITECTURE =3D `x86'
PROCESSOR_IDENTIFIER =3D `x86 Family 6 Model 6 Stepping 2, AuthenticAMD'
PROCESSOR_LEVEL =3D `6'
PROCESSOR_REVISION =3D `0602'
PROGRAMFILES =3D `C:\Program Files'
PROMPT =3D `$P$G'
PS1 =3D `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
REPLYTO =3D `pete AT toyon DOT com'
SHLVL =3D `1'
SIMETC =3D `/cygdrive/c/plot/etc'
SIMLIB =3D `/home/pete/simlib'
SYSTEMDRIVE =3D `C:'
SYSTEMROOT =3D `C:\WINNT'
TEMP =3D `c:\DOCUME~1\pete\LOCALS~1\Temp'
TERM =3D `cygwin'
TEXMF =3D `{/usr/share/lilypond/1.6.8,/usr/share/texmf}'
TMP =3D `c:\DOCUME~1\pete\LOCALS~1\Temp'
TOYON_CLASSPATH =3D `C:\Source\toyonlib\Agent'
USERDOMAIN =3D `LISA'
USERNAME =3D `'
USERPROFILE =3D `C:\Documents and Settings\pete'
VOODINI =3D `/cygdrive/c/plot/etc/voodoo.ini'
WINDIR =3D `C:\WINNT'
WXWIN =3D `/cygdrive/c/wx240'
_ =3D `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) =3D `/cygdrive'
  cygdrive flags =3D 0x00000020
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) =3D `C:\cygwin'
  flags =3D 0x00000008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) =3D `C:\cygwin/bin'
  flags =3D 0x00000008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) =3D `C:\cygwin/lib'
  flags =3D 0x00000008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts =
v2\/usr/X11R6/lib/X11/fonts
  (default) =3D `C:\cygwin\usr\X11R6\lib\X11\fonts'
  flags =3D 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd           N/A    N/A                   =20
c:  hd  NTFS   39252Mb  57% CP CS UN PA FC    =20
d:  cd  UDF     2113Mb 100%    CS UN           DNQ130ENU0
e:  cd           N/A    N/A                   =20
f:  fd           N/A    N/A                   =20

C:\cygwin                          /                         system  =
textmode
C:\cygwin/bin                      /usr/bin                  system  =
textmode
C:\cygwin/lib                      /usr/lib                  system  =
textmode
C:\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system  =
binmode
.                                  /cygdrive                 system  =
textmode,cygdrive

Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe

   58k 2002/05/07 C:\cygwin\bin\cygbz2-1.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygbz2-1.dll" v0.0 ts=3D2002/5/6 23:33
   54k 2002/01/27 C:\cygwin\bin\cygbz21.0.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygbz21.0.dll" v0.0 ts=3D2002/1/26 17:07
    6k 2002/06/24 C:\cygwin\bin\cygcharset-1.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygcharset-1.dll" v0.0 ts=3D2002/6/24 11:23
  848k 2003/04/11 C:\cygwin\bin\cygcrypto-0.9.7.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygcrypto-0.9.7.dll" v0.0 ts=3D2003/4/11 3:33
  645k 2003/04/11 C:\cygwin\bin\cygcrypto.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygcrypto.dll" v0.0 ts=3D2003/4/11 3:37
  551k 2003/04/02 C:\cygwin\bin\cygcurl-2.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygcurl-2.dll" v0.0 ts=3D2003/4/2 13:09
  380k 2002/07/24 C:\cygwin\bin\cygdb-3.1.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygdb-3.1.dll" v0.0 ts=3D2002/7/24 9:24
  326k 2002/06/26 C:\cygwin\bin\cygdb2.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygdb2.dll" v0.0 ts=3D2002/6/26 10:48
  487k 2002/07/24 C:\cygwin\bin\cygdb_cxx-3.1.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygdb_cxx-3.1.dll" v0.0 ts=3D2002/7/24 9:25
  136k 2002/10/17 C:\cygwin\bin\cygexpat-0.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygexpat-0.dll" v0.0 ts=3D2002/10/17 8:21
   50k 2002/03/17 C:\cygwin\bin\cygexslt-0.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygexslt-0.dll" v0.0 ts=3D2002/3/16 22:24
   45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygform5.dll" v0.0 ts=3D2001/4/24 22:28
   35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygform6.dll" v0.0 ts=3D2002/1/8 22:03
   76k 2003/03/09 C:\cygwin\bin\cygform7.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygform7.dll" v0.0 ts=3D2003/3/9 12:51
   28k 2003/03/22 C:\cygwin\bin\cyggdbm-3.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cyggdbm-3.dll" v0.0 ts=3D2003/3/22 14:19
   19k 2003/03/22 C:\cygwin\bin\cyggdbm.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cyggdbm.dll" v0.0 ts=3D2002/2/19 19:05
   15k 2003/03/22 C:\cygwin\bin\cyggdbm_compat-3.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
                  "cyggdbm_compat-3.dll" v0.0 ts=3D2003/3/22 14:22
  490k 2002/09/21 C:\cygwin\bin\cygguile-12.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygguile-12.dll" v0.0 ts=3D2002/9/21 3:01
  488k 2002/07/18 C:\cygwin\bin\cygguile-14.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygguile-14.dll" v0.0 ts=3D2002/7/18 3:35
   63k 2002/07/18 C:\cygwin\bin\cygguile-srfi-srfi-13-14-1.dll - =
os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygguile-srfi-srfi-13-14-1.dll" v0.0 ts=3D2002/7/18 =
3:35
   63k 2002/09/21 C:\cygwin\bin\cygguile-srfi-srfi-13-14-v-1-1.dll - =
os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygguile-srfi-srfi-13-14-v-1-1.dll" v0.0 =
ts=3D2002/9/21 3:01
   24k 2002/07/18 C:\cygwin\bin\cygguile-srfi-srfi-4-1.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
                  "cygguile-srfi-srfi-4-1.dll" v0.0 ts=3D2002/7/18 3:35
   24k 2002/09/21 C:\cygwin\bin\cygguile-srfi-srfi-4-v-1-1.dll - =
os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygguile-srfi-srfi-4-v-1-1.dll" v0.0 ts=3D2002/9/21 =
3:01
   14k 2002/07/18 C:\cygwin\bin\cygguilereadline-14.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
                  "cygguilereadline-14.dll" v0.0 ts=3D2002/7/18 3:35
   14k 2002/09/21 C:\cygwin\bin\cygguilereadline-v-12-12.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
                  "cygguilereadline-v-12-12.dll" v0.0 ts=3D2002/9/21 =
3:01
   17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cyghistory4.dll" v0.0 ts=3D2001/1/6 20:34
   20k 2002/10/10 C:\cygwin\bin\cyghistory5.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cyghistory5.dll" v0.0 ts=3D2002/10/10 10:28
  306k 2002/04/27 C:\cygwin\bin\cyghttpd.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cyghttpd.dll" v0.0 ts=3D2002/4/27 6:23
  929k 2002/06/24 C:\cygwin\bin\cygiconv-2.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygiconv-2.dll" v0.0 ts=3D2002/6/24 11:24
   22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygintl-1.dll" v0.0 ts=3D2001/12/13 1:28
   28k 2002/09/20 C:\cygwin\bin\cygintl-2.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygintl-2.dll" v0.0 ts=3D2002/9/19 20:13
   21k 2001/06/20 C:\cygwin\bin\cygintl.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygintl.dll" v0.0 ts=3D2001/6/20 10:09
   12k 2003/02/17 C:\cygwin\bin\cygioperm-0.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygioperm-0.dll" v0.0 ts=3D2003/2/17 11:58
   47k 2003/03/09 C:\cygwin\bin\cygjbig1.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygjbig1.dll" v0.0 ts=3D2003/3/9 13:30
  119k 2002/02/09 C:\cygwin\bin\cygjpeg6b.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygjpeg6b.dll" v0.0 ts=3D2002/2/8 21:19
   61k 2003/03/05 C:\cygwin\bin\cygkpathsea-3.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygkpathsea-3.dll" v0.0 ts=3D2003/3/5 12:09
   32k 2003/04/16 C:\cygwin\bin\cygltdl-3.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygltdl-3.dll" v0.0 ts=3D2003/4/15 18:41
   26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygmenu5.dll" v0.0 ts=3D2001/4/24 22:27
   20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygmenu6.dll" v0.0 ts=3D2002/1/8 22:03
   48k 2003/03/09 C:\cygwin\bin\cygmenu7.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygmenu7.dll" v0.0 ts=3D2003/3/9 12:51
  156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygncurses++5.dll" v0.0 ts=3D2001/4/24 22:29
  175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygncurses++6.dll" v0.0 ts=3D2002/1/8 22:03
  226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygncurses5.dll" v0.0 ts=3D2001/4/24 22:17
  202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygncurses6.dll" v0.0 ts=3D2002/1/8 22:03
  284k 2003/03/09 C:\cygwin\bin\cygncurses7.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygncurses7.dll" v0.0 ts=3D2003/3/9 12:50
   15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygpanel5.dll" v0.0 ts=3D2001/4/24 22:27
   12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygpanel6.dll" v0.0 ts=3D2002/1/8 22:03
   31k 2003/03/09 C:\cygwin\bin\cygpanel7.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygpanel7.dll" v0.0 ts=3D2003/3/9 12:50
   63k 2003/04/11 C:\cygwin\bin\cygpcre.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygpcre.dll" v0.0 ts=3D2003/4/11 1:31
   61k 2003/04/11 C:\cygwin\bin\cygpcreposix.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygpcreposix.dll" v0.0 ts=3D2003/4/11 1:31
 1005k 2003/03/30 C:\cygwin\bin\cygperl5_8_0.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygperl5_8_0.dll" v0.0 ts=3D2003/3/30 7:39
  168k 2003/02/23 C:\cygwin\bin\cygpng10.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygpng10.dll" v0.0 ts=3D2003/2/23 15:02
  173k 2003/02/23 C:\cygwin\bin\cygpng12.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygpng12.dll" v0.0 ts=3D2003/2/23 14:02
  170k 2002/01/21 C:\cygwin\bin\cygpng2.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygpng2.dll" v0.0 ts=3D2002/1/20 17:05
   22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygpopt-0.dll" v0.0 ts=3D2002/6/8 22:45
  108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygreadline4.dll" v0.0 ts=3D2001/1/6 20:34
  127k 2002/10/10 C:\cygwin\bin\cygreadline5.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygreadline5.dll" v0.0 ts=3D2002/10/10 10:28
  176k 2003/04/11 C:\cygwin\bin\cygssl-0.9.7.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygssl-0.9.7.dll" v0.0 ts=3D2003/4/11 3:33
  165k 2003/04/11 C:\cygwin\bin\cygssl.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygssl.dll" v0.0 ts=3D2003/4/11 3:37
  281k 2003/02/24 C:\cygwin\bin\cygtiff3.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygtiff3.dll" v0.0 ts=3D2003/2/23 20:58
   25k 2002/07/14 C:\cygwin\bin\cygungif-4.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygungif-4.dll" v0.0 ts=3D2002/7/14 7:58
 2689k 2002/11/16 C:\cygwin\bin\cygxerces-c21.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygxerces-c21.dll" v0.0 ts=3D2002/11/15 20:07
 2984k 2003/02/07 C:\cygwin\bin\cygxerces-c22.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygxerces-c22.dll" v0.0 ts=3D2003/2/7 10:50
  633k 2002/07/22 C:\cygwin\bin\cygxml2-2.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygxml2-2.dll" v0.0 ts=3D2002/7/21 23:29
   41k 2002/01/20 C:\cygwin\bin\cygXpm-noX4.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygXpm-noX4.dll" v0.0 ts=3D2002/1/20 10:49
   46k 2002/01/20 C:\cygwin\bin\cygXpm-X4.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygXpm-X4.dll" v0.0 ts=3D2002/1/20 10:50
  152k 2002/03/17 C:\cygwin\bin\cygxslt-1.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygxslt-1.dll" v0.0 ts=3D2002/3/16 22:19
   15k 2002/03/17 C:\cygwin\bin\cygxsltbreakpoint-1.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
                  "cygxsltbreakpoint-1.dll" v0.0 ts=3D2002/3/16 22:24
   50k 2002/03/12 C:\cygwin\bin\cygz.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygz.dll" v0.0 ts=3D2002/3/11 20:38
  948k 2003/03/18 C:\cygwin\bin\cygwin1.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
                  "cygwin1.dll" v0.0 ts=3D2003/3/18 6:20
    Cygwin DLL version info:
        DLL version: 1.3.22
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 78
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix:=20
        Build date: Tue Mar 18 09:20:11 EST 2003
        CVS tag: dontuse-21
        Shared id: cygwin1S3

   41k 2002/05/14 C:\cygwin\usr\X11R6\bin\cygPropList-0.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
                  "cygPropList-0.dll" v0.0 ts=3D2002/5/13 20:13

Cygwin Package Information
Last downloaded files to: C:\Downloads\Cygwin
Last downloaded files from: ftp://archive.progeny.com/cygwin

Package                 Version
_update-info-dir        00162-1
agetty                  2.1-1
apache                  1.3.24-5
ash                     20020731-1
astyle                  1.15.3-3
autoconf                2.54-1
autoconf-devel          2.57-1
autoconf-stable         2.13-4
automake                1.7.1-1
automake-devel          1.7.3-1
automake-stable         1.4p5-5
base-files              1.3-1
base-passwd             1.1-1
bash                    2.05b-9
bc                      1.06-1
binutils                20030307-1
bison                   20030307-1
byacc                   1.9-1
bzip2                   1.0.2-2
ccache                  1.9-1
cgoban                  1.9.12-1
chkconfig               1.2.24h-1
clear                   1.0-1
cmake                   1.6.6-1
compface                1.4-5
cpio                    2.5-1
cron                    3.0.1-9
crypt                   1.0-1
ctags                   5.5-3
curl                    7.10.4-1
curl-devel              7.10.4-1
cvs                     1.11.0-1
cygrunsrv               0.96-1
cygutils                1.1.3-1
cygwin                  1.3.22-1
cygwin-doc              1.3-3
db2                     2.7.7-4
db3.1                   3.1.17-2
dejagnu                 20021217-2
diff                    1.0-1
diffutils               2.8.1-1
doxygen                 1.2.18-1
dpkg                    1.10.4-2
ed                      0.2-1
ELFIO                   1.0.0-1
emacs                   21.2-12
emacs-el                21.2-12
emacs-X11               21.2-12
enscript                1.6.3-3
exim                    4.14-1
expat                   1.95.5-1
expect                  20030128-1
fetchmail               6.2.2-1
figlet                  2.2-1
file                    4.02-1
fileutils               4.1-1
findutils               4.1.7-4
flex                    2.5.4-2
fortune                 1.8-2
fvwm                    2.4.7-2
gawk                    3.1.2-2
gcc                     3.2-3
gcc-mingw               20020817-5
gcc2                    2.95.3-10
gdb                     20030303-1
gdbm                    1.8.0-5
gettext                 0.11.5-1
gettext-devel           0.11.5-1
ghostscript             7.05-2
ghostscript-base        7.05-2
ghostscript-x11         7.05-2
gnugo                   3.2-1
gnupg                   1.2.1-1
gperf                   2.7.2-1
grace                   5.1.12-1
grep                    2.5-1
groff                   1.18.1-2
gsl                     1.3-1
guile                   1.6.0-1
guile-devel             1.6.0-1
guile-doc               1.6.0-1
gzip                    1.3.3-4
indent                  2.2.8-1
inetutils               1.3.2-22
initscripts             0.9-1
ioperm                  0.4-1
irc                     20010101-1
jbigkit                 1.4-1
jpeg                    6b-7
keychain                1.9-1
less                    378-1
lesstif                 0.93.41-1
libbz2_0                1.0.2-1
libbz2_1                1.0.2-2
libcharset1             1.8-2
libdb2                  2.7.7-4
libdb2-devel            2.7.7-4
libdb3.1                3.1.17-2
libdb3.1-devel          3.1.17-2
libgdbm                 1.8.0-5
libgdbm-devel           1.8.0-5
libgdbm3                1.8.3-1
libguile12              1.6.0-1
libguile14              1.5.6-5
libiconv                1.8-2
libiconv2               1.8-2
libintl                 0.10.38-3
libintl1                0.10.40-1
libintl2                0.11.5-1
libkpathsea3            2.0.2-1
libltdl3                1.5-1
libncurses-devel        5.3-1
libncurses5             5.2-1
libncurses6             5.2-8
libncurses7             5.3-1
libpng                  1.2.5-1
libpng10                1.0.15-1
libpng10-devel          1.0.15-1
libpng12                1.2.5-1
libpng12-devel          1.2.5-1
libpng2                 1.0.12-1
libpopt0                1.6.4-4
libPropList             0.10.1-3
libreadline4            4.1-2
libreadline5            4.3-2
libtool                 20020705-1
libtool-devel           1.5-1
libtool-stable          1.4.3-1
libungif                4.1.0-2
libxerces-c21           2.1.0-1
libxerces-c22           2.2.0-1
libxml2                 2.4.23-1
libxslt                 1.0.13-1
lilypond                1.6.8-2
lilypond-doc            1.6.8-2
links                   0.96-1
login                   1.8-1
lynx                    2.8.4-5
m4                      1.4-1
make                    3.79.1-7
man                     1.5j-2
mc                      4.6.0-2
mingw-runtime           2.4-1
mktemp                  1.4-1
mod_auth_mysql          1.11-1
mod_auth_ntsec          1.7-1
mod_dav                 1.0.3-1.3.6-1
mod_php4                4.2.0-2
mod_ssl                 2.8.8-1.3.24-1
more                    2.11o-1
mt                      2.0.1-1
mutt                    1.4-1
nano                    1.2.0-1
nasm                    0.98.36-1
ncftp                   3.1.4-1
ncurses                 5.3-1
ncurses-demo            5.3-1
newlib-man              20020801
openbox                 0.99.1-3
opengl                  1.1.0-6
openssh                 3.6.1p1-1
openssl                 0.9.7b-1
openssl-devel           0.9.7b-1
openssl096              0.9.6j-1
par                     1.52-1
patch                   2.5.8-3
pcre                    4.1-1
pdksh                   5.2.14-2
perl                    5.8.0-2
perl_manpages           5.8.0-2
pine                    4.53-1
pinfo                   0.6.6p1-1
pkgconfig               0.15.0-1
popt                    1.6.4-4
postgresql              7.3.2-1
procmail                3.22-7
procps                  010801-2
python                  2.2.2-7
rcs                     5.7-3
readline                4.3-2
rebase                  2.2-2
robots                  2.0-1
rsync                   2.5.6-1
rxvt                    2.7.10-3
sed                     4.0.7-1
sh-utils                2.0.15-3
sharutils               4.2.1-2
shutdown                1.2-2
squid                   2.4.STABLE7-1
ssmtp                   2.38.7-3
sunrpc                  4.0-1
swig                    1.3.19-1
sysvinit                2.84-3
tar                     1.13.25-1
tcltk                   20030214-1
tcp_wrappers            7.6-1
tcsh                    6.12.00-5
termcap                 20020930-1
terminfo                5.3-2
tetex                   2.0.2-1
tetex-base              2.0.2-1
tetex-bin               2.0.2-1
tetex-devel             2.0.2-1
tetex-doc               2.0.2-1
tetex-extra             2.0.2-1
tetex-tiny              2.0.2-1
tetex-x11               2.0.2-1
texinfo                 4.2-4
texmf                   20020911-1
texmf-base              20020911-1
texmf-doc               20020911-1
texmf-extra             20020911-1
texmf-tiny              20020911-1
textutils               2.0.21-1
tidy                    030201-1
tiff                    3.6.0-1
time                    1.7-1
tin                     1.4.7-1
ttcp                    19980512-1
ucl                     1.01-1
units                   1.77-1
unzip                   5.50-2
upx                     1.24-1
vim                     6.1.300-1
w32api                  2.3-1
wget                    1.8.2-2
which                   1.5-1
whois                   4.6.2-1
WindowMaker             0.80.0-2
x2x                     1.27-2
Xaw3d                   1.5-1
xerces-c                2.2.0-1
xerces-c-devel          2.2.0-1
xerces-c-doc            2.2.0-1
XFree86-base            4.2.0-1
XFree86-bin             4.2.0-3
XFree86-doc             4.2.0-1
XFree86-etc             4.2.0-1
XFree86-f100            4.2.0-2
XFree86-fcyr            4.2.0-2
XFree86-fenc            4.2.0-2
XFree86-fnts            4.2.0-2
XFree86-fscl            4.2.0-2
XFree86-fsrv            4.2.0-1
XFree86-html            4.2.0-1
XFree86-jdoc            4.2.0-1
XFree86-lib             4.2.0-5
XFree86-man             4.2.0-1
XFree86-nest            4.2.0-1
XFree86-prog            4.2.0-1
XFree86-prt             4.2.0-1
XFree86-ps              4.2.0-1
XFree86-startup-scripts 4.2.0-3
XFree86-vfb             4.2.0-1
XFree86-xserv           4.2.0-30
XFree86-xwinclip        4.2.0-8
xinetd                  2.3.9-1
xpm-nox                 4.2.0-1
zip                     2.3-2
zlib                    1.1.4-1
zsh                     4.0.6-5

Use -h to see help about each section

------=_NextPart_000_0440_01C30B2A.AE060D30
Content-Type: application/octet-stream;
	name="terminal2.c"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="terminal2.c"

#include <unistd.h>=0A=
#include <stdio.h>=0A=
#include <termios.h>=0A=
=0A=
int main (void)=0A=
{=0A=
  struct termios new_settings;=0A=
  struct termios stored_settings;=0A=
  char c;=0A=
=0A=
  /* record the old settings to restore the terminal when finished */=0A=
  tcgetattr (0, &stored_settings);=0A=
  new_settings =3D stored_settings;=0A=
=0A=
  /* set things up for character-at-a-time */=0A=
  new_settings.c_lflag &=3D ~(ICANON | ECHO);=0A=
  new_settings.c_cc[VTIME] =3D 0;=0A=
  new_settings.c_cc[VMIN] =3D 0;=0A=
  tcsetattr (0, TCSANOW, &new_settings);=0A=
=0A=
  /* main loop - press q to exit */=0A=
  do=0A=
  {=0A=
    c =3D getchar ();=0A=
    if (c > 0)=0A=
      printf ("%d\t%c\n", c, c);=0A=
    else=0A=
      printf ("%d\n", c);=0A=
  }=0A=
  while (c !=3D 'q');=0A=
=0A=
  /* restore the old settings */=0A=
  tcsetattr (0, TCSANOW, &stored_settings);=0A=
  return 1;=0A=
 }=0A=


------=_NextPart_000_0440_01C30B2A.AE060D30
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
------=_NextPart_000_0440_01C30B2A.AE060D30--

- Raw text -


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