#!/usr/bin/sh #---------------------------------------------------------------------------- # anykey - wait for CR # # Creation: 2001-11-04 fm # Last Update: $Id$ # # Copyright (c) 2001-@@YEAR@@ the eisfair-team, team(at)eisfair(dot)org # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. #---------------------------------------------------------------------------- # --------------------------------------------------------------------------- # usage # --------------------------------------------------------------------------- # # anykey # # --------------------------------------------------------------------------- # --------------------------------------------------------------------------- # main # --------------------------------------------------------------------------- anykey() { if [ "$_EISLIB_PRINTMODE" == "tty" ] then echo -e "Press ENTER to continue \c" read dummy fi } # --------------------------------------------------------------------------- # end # ---------------------------------------------------------------------------