| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:date:from:to:subject:message-id:reply-to | |
| :references:mime-version:content-type:in-reply-to; q=dns; s= | |
| default; b=q3b9QLMgbM+tj0QBFe26AB9CFWe78b8dR238Affip8PS/FGt48UGW | |
| ERj+gTG3ezP3KKRnVOmTcR9cMX8N1432y1FytgsXLAinCbQWfW1OJyoa6/AT3MKF | |
| QCzhBLAMyRLU0gpy8o7lAyZXvGBXmpCMNMB62y1SWmImMIewBUpZgs= | |
| DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:date:from:to:subject:message-id:reply-to | |
| :references:mime-version:content-type:in-reply-to; s=default; | |
| bh=loP3nuUis6R8ejjW9m/T10hR6Qs=; b=Lx5zoxtq6kVFENsqQa7oRq6GyJc9 | |
| 7fp/T4z5MzJ9UWtOiI+//+m+dfKYl1W6eyKmgLcD4JzG9BIH0wrkNrxG6sOs2Q6e | |
| f0Pw7yCfay0xQNsRXuE+MQ6mmMwWUMro0BRywZLEjdrKN0Zd+nacCWNE9JA4SHJe | |
| fOC80Vu+nVI+aYs= | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Authentication-Results: | sourceware.org; auth=none |
| X-Virus-Found: | No |
| X-Spam-SWARE-Status: | No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 |
| X-HELO: | calimero.vinschen.de |
| Date: | Tue, 4 Nov 2014 15:47:19 +0100 |
| From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: terminfo and /usr/share/terminfo requirement |
| Message-ID: | <20141104144719.GA28300@calimero.vinschen.de> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <CABa6CEnJ_mLxq3Z6ZhPSU--NO2XRYR0CHuC=mRz4OYawiWLyCQ AT mail DOT gmail DOT com> <0o355a5qcje49cevq02fb581uahr2jb38r AT 4ax DOT com> <CABa6CEktvx6s1s-JgKr35+=zC9fJz19Fd2e4DGnwH0ok9Mfd_w AT mail DOT gmail DOT com> <20141031211001 DOT GD14051 AT calimero DOT vinschen DOT de> <CABa6CEmNeiofyXK0YmtVxkePhNYdwrNYRPO0s3WJLjb6TZuQYw AT mail DOT gmail DOT com> <54580070 DOT 70908 AT cygwin DOT com> <CABa6CEn6JUskAMzoZQQe3Ci0rH8OrPQoiTntyZ_d3yfw4HvZXQ AT mail DOT gmail DOT com> <20141104092948 DOT GK28636 AT calimero DOT vinschen DOT de> <CABa6CE=fcvUkMOyp8VWJ3H_i5Hxp+hiM1GYx0LCZ9W9-_6XeOw AT mail DOT gmail DOT com> |
| MIME-Version: | 1.0 |
| In-Reply-To: | <CABa6CE=fcvUkMOyp8VWJ3H_i5Hxp+hiM1GYx0LCZ9W9-_6XeOw@mail.gmail.com> |
| User-Agent: | Mutt/1.5.23 (2014-03-12) |
--17pEHd4RhPHOinZp
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Nov 4 09:42, cyg Simple wrote:
> On Tue, Nov 4, 2014 at 4:29 AM, Corinna Vinschen wrote:
> > On Nov 3 17:34, cyg Simple wrote:
> >> On Mon, Nov 3, 2014 at 5:23 PM, Yaakov Selkowitz wrote:
> >> > On 2014-11-03 16:14, cyg Simple wrote:
> >> >>
> >> >> It is true that I am not using setup-${arch}.exe but that shouldn't
> >> >> matter as long as I have the dependencies resolved.
> >> >
> >> >
> >> > Yes, it does matter; Cygwin setup is the only supported method of cr=
eating
> >> > and managing a Cygwin installation. Please try again from scratch w=
ith
> >> > Cygwin setup and you will see that there is absolutely no need for a
> >> > /usr/share =3D> /share mount.
> >>
> >> Are you saying setup or some post install file doesn't mount
> >> /usr/share?
> >
> > It's not necessary. Setup-${arch}.exe creates the default directory
> > layout.
> >
> >> If a mounted /usr/share isn't important then why is
> >> /usr/bin and /usr/lib automounted?
> >
> > Two reasons:
> >
> > - Windows.
> >
> > DLLs are found in the directory of the application even if $PATH
> > doesn't point to the directory containing the DLL. cygwin1.dll and
> > all other cygwin DLLs are in the same path as the essential binaries
> > so that you can start them from Windows even if $PATH is not set to
> > contain Cygwin's /bin. If we had separate /bin and /usr/bin dirs, we
> > would have the essential binaries spread over two directories, but the
> > cygwin DLLs in only one of them, or worse, spread over two dirs as
> > well. Hilarity ensues.
> >
> > - GCC.
> >
> > GCC generates the path to certain files under the lib dir relative to
> > the path it has been started from. So, if you run /bin/gcc, it searc=
hes
> > for the files under /lib, if you start /usr/bin/gcc it searches under
> > /usr/lib. Since you can do both, you have to handle lib just as bin.
> >
> > There was never a need to do that for any other directory, that's why
> > we don't have /sbin <=3D> /usr/sbin as Fedora.
>=20
> But /usr/share is used by the terminfo library to find the files that
> define TERM=3Dcygwin or whatever value it has. Without the mount of
> /usr/share then the terminal doesn't know how to handle things like
> the Backspace key when deleting characters.
>=20
> If /usr is mounted to the PREFIX/usr directory and PREFIX/usr/lib does
> not exist the issue becomes one of a confusing file or directory not
> found message. My suggestion would be to automount /usr pointing to
> PREFIX/usr instead of adding another specific directory of /usr/share;
> one never knows when some other reason exists to have another one. If
> that isn't acceptable at least add the /usr/share automount, please.
> It would eliminate the plethora of email and forum posts asking why
> the Backspace key doesn't work.
Nope. The problem you're encountering is homemade. /usr/share is a
normal directory just like /usr. There's no reason at all to mount
anything there. If your installation doesn't have /usr/share, your
installation is clearly broken and given that you didn't use setup
to install it, it's really just a case of PEBCAK.
Corinna
--=20
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
--17pEHd4RhPHOinZp
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBAgAGBQJUWOb3AAoJEPU2Bp2uRE+g1msP/jfofrMzFfVCgUs0B649NYi6
thLLdDFA+V6Z+vFJOS9YF71NVS5jIvgPQXEqZ3WQhH7piDXjk0QPNl3g7t9Rwz3C
/3QxGkTusMSNJdmCEC2fymnkDXYRU6LDWTq8YzbdXt1nmBXt3An8tpGIjngCCefZ
7n7bCXgGqMmiAOCksWdJUx0JOsB4kL/QXlR0LSlyI81rTsDvrCuEgRGUu8kvxrhp
AmEJCxxQ5UnGY8aBrpzJr8I5JjbNRmKUAX9rA1WNJGdWvzy2VxZ53pIBN3shDP9Y
3ZmG1UDk45x/m6v1lCBNYG7Zpgl3H7573WYXSU86jr0G+I/1Jt9B2atYvVI/HFww
a8ZQWL5JHOAPQvJJiw3hVsYpSjftUE9MLycxYORbB/b3zlAhPruTogYBAfOxbUMZ
ybBcpwm7iHpJWwi6CpZ+kY6ybOHxmA0Pw5WEMvetid60KAw7kWcnXNmp6GoFXW1r
D0zaySJzTB92UDdlP4FPhi07jYlUUur4o0jfUe+ZgIz5ebtaMxgYYRb1ICGwUC41
psSzsl28a/IUw3n/90lEO839x41K2tNkHiAMdzThFZNVEh9VUkTiSAUkFGVRrAH4
ojc8rBncnGBW0VNvSDb/ehflS29MLOG130FVNC73P4f8jcENjo4/gj9aeITo4hc6
+myBx+Ukh+nMLI3tc8Yl
=4LhF
-----END PGP SIGNATURE-----
--17pEHd4RhPHOinZp--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |