From owner-freebsd-questions Tue Dec 21 1: 5:16 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dorifer.heim3.tu-clausthal.de (dorifer.heim3.tu-clausthal.de [139.174.243.252]) by hub.freebsd.org (Postfix) with ESMTP id 2538014E63 for ; Tue, 21 Dec 1999 01:05:14 -0800 (PST) (envelope-from olli@dorifer.heim3.tu-clausthal.de) Received: (from olli@localhost) by dorifer.heim3.tu-clausthal.de (8.8.8/8.8.8) id KAA09867 for freebsd-questions@freebsd.org; Tue, 21 Dec 1999 10:05:12 +0100 (CET) (envelope-from olli) Date: Tue, 21 Dec 1999 10:05:12 +0100 (CET) From: Oliver Fromme Message-Id: <199912210905.KAA09867@dorifer.heim3.tu-clausthal.de> To: freebsd-questions@freebsd.org Subject: Re: press any key to continue in sh Organization: Administration TU Clausthal Reply-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: TIN [version 1.2 RZTUC(3) PL2] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dan Larsson wrote in list.freebsd-questions: > How do I best produce a 'press any key to continue' prompt in sh? echo -n "Press any key to continue... " stty cbreak dd of=/dev/null bs=1 count=1 2>/dev/null stty -cbreak echo Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" (Terry Pratchett) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message