From owner-freebsd-questions@FreeBSD.ORG Thu Aug 4 01:38:16 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89D7E16A41F for ; Thu, 4 Aug 2005 01:38:16 +0000 (GMT) (envelope-from mtbeedee@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EB3243D45 for ; Thu, 4 Aug 2005 01:38:16 +0000 (GMT) (envelope-from mtbeedee@gmail.com) Received: by wproxy.gmail.com with SMTP id 68so285002wra for ; Wed, 03 Aug 2005 18:38:15 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=d1mBejZaaH+02XcReQdxgcuLCYZ8qhVEAYGjKvrmmpGF0miZ8gOyAymtmDVknhGM0rowTBh3dDiYEeJ+zmrV6TAyK5hmPmF+B4U7z3cs62Q60zuKzZWvpgEJw+4pAywEziqf9Jgih/BFpe8oq//+wYmZhEzIUI7cwdm4nSyufN4= Received: by 10.54.53.63 with SMTP id b63mr1119970wra; Wed, 03 Aug 2005 18:38:15 -0700 (PDT) Received: by 10.54.159.14 with HTTP; Wed, 3 Aug 2005 18:38:15 -0700 (PDT) Message-ID: Date: Wed, 3 Aug 2005 21:38:15 -0400 From: Michael Beattie To: Wouter van Rooij In-Reply-To: <7603e5d8050803181766be524b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <7603e5d805080317593a046eec@mail.gmail.com> <7603e5d8050803181766be524b@mail.gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: perl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Michael Beattie List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Aug 2005 01:38:16 -0000 On 8/3/05, Wouter van Rooij wrote: > \ >=20 > Hello, >=20 > At the first place, sorry for my bad English. > My question is: > How can you, when you're writing a perl program, make a input > () hidden, so that when someone is typing an input in the > following program is hidden: > #!/usr/bin/perl > print "Your name:"; > $name =3D > I would like to get the input like this: ******** >=20 You might be able to redirect STDOUT to nowhere and then when there's a character pressed write a '*' to STDOUT or something.