NAME
    calc_tty - restore normal input conditions for interactive use

SYNOPSIS
    calc_tty()

TYPES
    return	none if appears to be successful, error-value otherwise

DESCRIPTION
    This may enable a return to normal operation if abnormal activity
    results from a change of one or more terminal characteristics, as
    may occur when activity is resumed by an fg command after a ctrl-Z
    interrupt, or by any of the three commands:

	; !stty echo
	; !stty -cbreak
	; !stty echo -cbreak

EXAMPLE
    ; calc_tty();

LIBRARY
    none

SEE ALSO
    none

## Copyright (C) 2000-2006  Ernest Bowen
##
## Calc is open software; you can redistribute it and/or modify it under
## the terms of the version 2.1 of the GNU Lesser General Public License
## as published by the Free Software Foundation.
##
## Calc is distributed in the hope that it will be useful, but WITHOUT
## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
## or FITNESS FOR A PARTICULAR PURPOSE.	 See the GNU Lesser General
## Public License for more details.
##
## A copy of version 2.1 of the GNU Lesser General Public License is
## distributed with calc under the filename COPYING-LGPL.  You should have
## received a copy with calc; if not, write to Free Software Foundation, Inc.
## 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
##
## @(#) $Revision: 30.1 $
## @(#) $Id: calc_tty,v 30.1 2007/03/16 11:10:42 chongo Exp $
## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/calc_tty,v $
##
## Under source code control:	2000/12/14 01:33:00
## File existed as early as:	2000
##
## Share and enjoy!  :-)	http://www.isthe.com/chongo/tech/comp/calc/
