DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

(guile.info.gz) Terminals and Ptys

Info Catalog (guile.info.gz) Signals (guile.info.gz) POSIX (guile.info.gz) Pipes
 
 38.9 Terminals and Ptys
 =======================
 
  -- Scheme Procedure: isatty? port
  -- C Function: scm_isatty_p (port)
      Return `#t' if PORT is using a serial non-file device, otherwise
      `#f'.
 
  -- Scheme Procedure: ttyname port
  -- C Function: scm_ttyname (port)
      Return a string with the name of the serial terminal device
      underlying PORT.
 
  -- Scheme Procedure: ctermid
  -- C Function: scm_ctermid ()
      Return a string containing the file name of the controlling
      terminal for the current process.
 
  -- Scheme Procedure: tcgetpgrp port
  -- C Function: scm_tcgetpgrp (port)
      Return the process group ID of the foreground process group
      associated with the terminal open on the file descriptor
      underlying PORT.
 
      If there is no foreground process group, the return value is a
      number greater than 1 that does not match the process group ID of
      any existing process group.  This can happen if all of the
      processes in the job that was formerly the foreground job have
      terminated, and no other job has yet been moved into the
      foreground.
 
  -- Scheme Procedure: tcsetpgrp port pgid
  -- C Function: scm_tcsetpgrp (port, pgid)
      Set the foreground process group ID for the terminal used by the
      file descriptor underlying PORT to the integer PGID.  The calling
      process must be a member of the same session as PGID and must have
      the same controlling terminal.  The return value is unspecified.
 
Info Catalog (guile.info.gz) Signals (guile.info.gz) POSIX (guile.info.gz) Pipes
automatically generated byinfo2html