Public bug reported:

    $ lsb_release -rd

    Description:    Ubuntu 16.04.2 LTS
    Release:        16.04

The file /etc/terminfo/README says

    This directory is for system-local terminfo descriptions. By default,
    ncurses will search ${HOME}/.terminfo first, then /etc/terminfo (this
    directory), then /lib/terminfo, and last not least /usr/share/terminfo.

but it seems that /usr/share/terminfo is not used or does not work as
expected?

Repro:

1) Install `stterm`

2) Start `stterm`

3) Type `clear`

Result:

    terminals database is inaccessible

Expected result:

Screen is cleared

Workaround:

Symlink the terminfo database to a user-local ~/.terminfo

    mkdir -p ~/.terminfo/s && ln -sf /usr/share/terminfo/s/stterm*
~/.terminfo/s

** Affects: ncurses (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ncurses in Ubuntu.
https://bugs.launchpad.net/bugs/1705067

Title:
  system-local terminfo does not search /usr/share/terminfo as README
  says

Status in ncurses package in Ubuntu:
  New

Bug description:
      $ lsb_release -rd

      Description:    Ubuntu 16.04.2 LTS
      Release:        16.04

  The file /etc/terminfo/README says

      This directory is for system-local terminfo descriptions. By default,
      ncurses will search ${HOME}/.terminfo first, then /etc/terminfo (this
      directory), then /lib/terminfo, and last not least /usr/share/terminfo.

  but it seems that /usr/share/terminfo is not used or does not work as
  expected?

  Repro:

  1) Install `stterm`

  2) Start `stterm`

  3) Type `clear`

  Result:

      terminals database is inaccessible

  Expected result:

  Screen is cleared

  Workaround:

  Symlink the terminfo database to a user-local ~/.terminfo

      mkdir -p ~/.terminfo/s && ln -sf /usr/share/terminfo/s/stterm*
  ~/.terminfo/s

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ncurses/+bug/1705067/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to