  The terse c getc dept 
 The Question is:
 
getchar does not block and is not reading from stdin.  Is it possible stdin was
 overridden to point to a device besides the keyboard?
 
 
Thanks,
 
 
Lori
 
 The Answer is :
 
  This could easily be the input environment of a command procedure,
  for instance.  (Reading data from a comman procedure will return
  an End-Of-File when the next $ command is read.)  This could
  also be that OpenVMS prefers to use record mode input, and not
  character mode.  Or this could be something else entirely.
 
  Please contact the support center.  Expect to be asked the
  specific details of the C compiler involved, and for the getc
  execution environment, and for a reproducer.
 
  If you want to perform single keystroke input -- as differentiated
  from single character input -- please see the extended-read code
  examples on the OpenVMS Freeware.  On Freeware V5.0, look in the
  directory SRH_EXAMPLES for C source code.  Look specificall for
  "extended", and for the $qio operation involved in the extended
  read operation.
 
 Answer written or last revised on  3-AUG-2002 
