X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Date: Thu, 17 Mar 2011 00:45:12 +0100 From: David Sastre To: Brian Ha , cygwin AT cygwin DOT com Subject: Re: /etc/profile optimization and correctness Message-ID: <20110316234512.GB12538@jethro.local.lan> References: <4D807560 DOT 2010609 AT gmail DOT com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="b5gNqxB1S1yM7hjW" Content-Disposition: inline In-Reply-To: <4D807560.2010609@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --b5gNqxB1S1yM7hjW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 16, 2011 at 07:31:28PM +1100, Brian Ha wrote: > Your fix: >=20 > # Zero forks >=20 > read -r PRINTER< > '/proc/registry/HKEY_CURRENT_USER/Software/Microsoft/Windows > NT/CurrentVersion/Windows/Device' > export PRINTER=3D${PRINTER%%,*} >=20 > Broke my install: >=20 > bash: /proc/registry/HKEY_CURRENT_USER/Software/Microsoft/Windows > NT/CurrentVers ion/Windows/Device: No such file or directory >=20 > I have no printer installed or printspooler service running. Hello, Please address all questions regarding cygwin packages to the cygwin maillist, not to the maintainers. A fix for that problem will be included in base-files-4.0-5. If you don't want to wait, and knowing you don't have a printer installed, you can comment those lines in /etc/profile to stop seeing the warning message. --=20 Huella de clave primaria: 0FDA C36F F110 54F4 D42B D0EB 617D 396C 448B 31EB --b5gNqxB1S1yM7hjW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk2BS4gACgkQYX05bESLMesunACgu3DCvlKPdP7isAKoZ0XvqgRy JbkAn0syDQ262DcffiuahD5oxtA7poJm =PUKF -----END PGP SIGNATURE----- --b5gNqxB1S1yM7hjW--