This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: terminfo and /usr/share/terminfo requirement
- From: Andrew Schulman <schulman dot andrew at epa dot gov>
- To: cygwin at cygwin dot com
- Date: Fri, 31 Oct 2014 17:51:15 -0400
- Subject: Re: terminfo and /usr/share/terminfo requirement
- Authentication-results: sourceware.org; auth=none
- 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>
> On Thu, Oct 30, 2014 at 3:20 PM, Andrew Schulman
> <schulman.andrew@epa.gov> wrote:
> >> I have found that terminfo is built such that it requires /usr/share
> >> to be available but /usr/share isn't mounted by default. This causes
> >> unexpected side effects of the terminal not responding properly
> >> especially noticed when using the Backspace key. In my opinion either
> >> terminfo needs to change its settings to use /share instead of
> >> /usr/share or Cygwin needs modified to automatically mount /usr/share
> >> like it does /usr/lib. Or rather just automount /usr such that it
> >> points to / regardless of the underlying directory. The automount of
> >> /usr/lib also presents an issue when the user mounts /usr to point to
> >> `cygpath -m /` in that any access to /usr gives a directory not found
> >> error when /lib doesn't actually exist.
> >
> > /usr/share isn't mounted separately, at least in any Cygwin installation
> > I've ever had. It's just a directory within /usr, which is within the
> > mount /.
> >
>
> But not automounted within the cygwin1.dll initialization process.
> Only /usr/bin and /usr/lib are. At least with 1.7.32.
>
> > Moreover /usr/share should always exist, since many base packages store
> > files in it. Does it not exist in your installation? Do you have e.g.
> > /usr/share/doc?
>
> /usr/share doesn't exist unless /usr or /usr/share is mounted via
> /etc/fstab. /share does exist.
You have a strange installation. In every Cygwin installation I've ever
had, /usr and /usr/share are not mounted separately and there's no /share.
You may want to consider deleting your current Cygwin installation, and
starting with a fresh one.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple