[Touch-packages] [Bug 1845529] Re: bash completion in 19.10 shows `awk: line 18: function gensub never defined` on ``umount /dev/`

2019-10-10 Thread Thomas Dickey
Sure - actually not a **bug** in gawk or mawk, but the nuances of that
were omitted from the cited discussions (which you appear to not have
read - take some time and do that).

** Package changed: mawk (Ubuntu) => gawk (Ubuntu)

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

Title:
  bash completion in 19.10 shows `awk: line 18: function gensub never
  defined` on ``umount /dev/`

Status in bash-completion package in Ubuntu:
  Confirmed
Status in gawk package in Ubuntu:
  Invalid
Status in ubuntu-meta package in Ubuntu:
  New
Status in Debian:
  Confirmed

Bug description:
  Steps to reproduce:
  1. Install Ubuntu MATE 19.10 using minimal desktop option
  2. Open terminal and enter `umount /dev/s` and then hit 

  Expected result:
  * bash completion works as expected

  Actual results:
  * bash completion does not work :

  $ umount /dev/awk: line 18: function gensub never defined
  awk: line 18: function gensub never defined
  awk: line 18: function gensub never defined
  awk: line 18: function gensub never defined

  
  $ umount /meawk: line 18: function gensub never defined
  awk: line 18: function gensub never defined
  awk: line 18: function gensub never defined
  awk: line 18: function gensub never defined

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: bash-completion 1:2.9-1ubuntu1
  ProcVersionSignature: Ubuntu 5.3.0-10.11-generic 5.3.0-rc8
  Uname: Linux 5.3.0-10-generic x86_64
  ApportVersion: 2.20.11-0ubuntu7
  Architecture: amd64
  CurrentDesktop: MATE
  Date: Thu Sep 26 18:46:59 2019
  Dependencies:
   
  InstallationDate: Installed on 2019-09-26 (0 days ago)
  InstallationMedia: Ubuntu-MATE 19.10 "Eoan Ermine" - Beta amd64 (20190926.1)
  PackageArchitecture: all
  SourcePackage: bash-completion
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1845529/+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


[Touch-packages] [Bug 1845529] Re: bash completion in 19.10 shows `awk: line 18: function gensub never defined` on ``umount /dev/`

2019-10-10 Thread Thomas Dickey
(this isn't a bug in mawk, since gawk's extensions aren't in the
standard).

** Changed in: mawk (Ubuntu)
   Status: New => Invalid

** Changed in: bash-completion (Ubuntu)
   Status: Confirmed => Invalid

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

Title:
  bash completion in 19.10 shows `awk: line 18: function gensub never
  defined` on ``umount /dev/`

Status in bash-completion package in Ubuntu:
  Invalid
Status in mawk package in Ubuntu:
  Invalid
Status in Debian:
  Confirmed

Bug description:
  Steps to reproduce:
  1. Install Ubuntu MATE 19.10 using minimal desktop option
  2. Open terminal and enter `umount /dev/s` and then hit 

  Expected result:
  * bash completion works as expected

  Actual results:
  * bash completion does not work :

  $ umount /dev/awk: line 18: function gensub never defined
  awk: line 18: function gensub never defined
  awk: line 18: function gensub never defined
  awk: line 18: function gensub never defined

  
  $ umount /meawk: line 18: function gensub never defined
  awk: line 18: function gensub never defined
  awk: line 18: function gensub never defined
  awk: line 18: function gensub never defined

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: bash-completion 1:2.9-1ubuntu1
  ProcVersionSignature: Ubuntu 5.3.0-10.11-generic 5.3.0-rc8
  Uname: Linux 5.3.0-10-generic x86_64
  ApportVersion: 2.20.11-0ubuntu7
  Architecture: amd64
  CurrentDesktop: MATE
  Date: Thu Sep 26 18:46:59 2019
  Dependencies:
   
  InstallationDate: Installed on 2019-09-26 (0 days ago)
  InstallationMedia: Ubuntu-MATE 19.10 "Eoan Ermine" - Beta amd64 (20190926.1)
  PackageArchitecture: all
  SourcePackage: bash-completion
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1845529/+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


[Touch-packages] [Bug 1845529] Re: bash completion in 19.10 shows `awk: line 18: function gensub never defined` on ``umount /dev/`

2019-10-10 Thread Thomas Dickey
gensub is a gawk extension (it helps to read the manual page).

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

Title:
  bash completion in 19.10 shows `awk: line 18: function gensub never
  defined` on ``umount /dev/`

Status in bash-completion package in Ubuntu:
  Invalid
Status in mawk package in Ubuntu:
  Invalid
Status in Debian:
  Confirmed

Bug description:
  Steps to reproduce:
  1. Install Ubuntu MATE 19.10 using minimal desktop option
  2. Open terminal and enter `umount /dev/s` and then hit 

  Expected result:
  * bash completion works as expected

  Actual results:
  * bash completion does not work :

  $ umount /dev/awk: line 18: function gensub never defined
  awk: line 18: function gensub never defined
  awk: line 18: function gensub never defined
  awk: line 18: function gensub never defined

  
  $ umount /meawk: line 18: function gensub never defined
  awk: line 18: function gensub never defined
  awk: line 18: function gensub never defined
  awk: line 18: function gensub never defined

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: bash-completion 1:2.9-1ubuntu1
  ProcVersionSignature: Ubuntu 5.3.0-10.11-generic 5.3.0-rc8
  Uname: Linux 5.3.0-10-generic x86_64
  ApportVersion: 2.20.11-0ubuntu7
  Architecture: amd64
  CurrentDesktop: MATE
  Date: Thu Sep 26 18:46:59 2019
  Dependencies:
   
  InstallationDate: Installed on 2019-09-26 (0 days ago)
  InstallationMedia: Ubuntu-MATE 19.10 "Eoan Ermine" - Beta amd64 (20190926.1)
  PackageArchitecture: all
  SourcePackage: bash-completion
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1845529/+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


[Touch-packages] [Bug 1841654] Re: Consider replacing mawk with gawk in main

2019-09-05 Thread Thomas Dickey
NetBSD pkgsrc has a more recent version of mawk than stated in this
report:

http://pkgsrc.se/lang/mawk

2019-02-15) Updated to version: mawk-1.3.4.20171017

MacPorts has the 2019-02-03 version:

https://github.com/macports/macports-
ports/blob/master/lang/mawk/Portfile

The report as worded implies that none of the various packages are newer
than "1.3.4" by omitting most of the details about patchlevel.  In
practice, the age of packages says more about the ported platform than
the programs which are provided on that platform.

Regarding OpenCSW, the same comments about old version apply to gawk:

https://www.opencsw.org/packages/gawk/

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

Title:
  Consider replacing mawk with gawk in main

Status in mawk package in Ubuntu:
  New

Bug description:
  For POSIX compatibility reasons Ubuntu ships with mawk ("Mike's awk" =
  mawk) in main. There is an awk-symlink to mawk, thus mawk is the
  official awk implementation in Ubuntu.

  == Reasons against keeping mawk ==

  *The mawk package is synced from debian and it is heavily
  undermaintained: Debian (and thus Ubuntu) still ships version
  1.3.3-17, the same version at least since oldoldstable:
  https://packages.debian.org/search?searchon=names=mawk

  *maintainer Thomas E. Dickey (https://invisible-island.net/mawk/)
  called officially out that Debian "neglected" mawk in 2014 ("As noted,
  mawk has been neglected by some packagers (see for example this
  http://bugs.debian.org/cgi-bin/pkgreport.cgi?package=mawk)". And
  Debian (and Ubuntu) still ship the same version five years later

  *Most other distributions ship mawk at least in its last official
  incarnation 1.3.4 in their repositories. Dickey lists AIX, Fedora,
  FinkPorts (Mac OS X), FreeBSD port, Gentoo, HPUX, MacPorts (Mac OS X),
  NetBSD pkgsrc/lang, OpenCSW (Solaris). That version is from 2014 but
  updated snapshots are released in regular intervals. The current
  snapshot is from February 2019: https://github.com/ThomasDickey/mawk-
  snapshots/blob/ab13a164013940e90c0b1ad36a039feae06a0b65/CHANGES

  *A planned rewrite mawk2 was planned by original author Mike Brennan
  in 2016 but obviously came to nothing:
  https://github.com/ploxiln/mawk-2/commits/master

  *Thus mawk sits in Ubuntu main in a version published upstream in 2009
  and celebrates its 10th anniversary of negligence. In a state that
  Debian was called out for 5 years ago.

  *This year it is 10 years unmaintained and largely untouched. At the
  end of the next LTS-support-cycle we can celebrate 15 years of not
  supporting it.

  *awk is included in Linux for POSIX standard compliance. Mawk is known
  to be fast and small but it is the implementation that is farthest
  from being POSIX compliant, missing things like named character
  classes like [[:space:]] within its EREs.

  == Reasons for gawk as a replacement ==

  *It is the official GNU awk implementation and known to work well with
  the rest of the GNU userland.

  *It is actively maintained with the last version 5.01 shipping in
  June, 2019 (even if Ubuntu will obviously still ship 4.2 for Eoan).

  *It is mostly compliant with the POSIX standard.

  *Most other distributions ship it as the standard POSIX
  implementation, with a awk symlink. So it had security reviews already
  by Red Hat and others.

  == Possible problems with switching to gawk in time for Ubuntu 20.4 ==

  - It might need to be MIRed by the Ubuntu security team and a review
  might take some time. So I filed this bug early with Eoan not yet out
  of the door.

  - It is much larger than mawk, the Ubuntu package is 1600 kB in size,
  while mawk is only about 190KB. Thus some might want to split out some
  basic functionality to save size. Like what is vim-tiny to vim. To
  start gawk in --traditional or --posix mode and disable the extensions
  at compile time might be a good start to reduce the size. See:
  https://www.gnu.org/software/gawk/manual/html_node/Additional-
  Configuration-Options.html#Additional-Configuration-Options

  =

  ProblemType: Bug
  DistroRelease: Ubuntu 19.04
  Package: mawk 1.3.3-17ubuntu3
  ProcVersionSignature: Ubuntu 5.0.0-27.28-generic 5.0.21
  Uname: Linux 5.0.0-27-generic x86_64
  ApportVersion: 2.20.10-0ubuntu27.1
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Aug 27 20:12:11 2019
  Dependencies:
   gcc-9-base 9.1.0-2ubuntu2~19.04
   libc6 2.29-0ubuntu2
   libgcc1 1:9.1.0-2ubuntu2~19.04
   libidn2-0 2.0.5-1
   libunistring2 0.9.10-1ubuntu2
  InstallationDate: Installed on 2018-02-23 (550 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180214)
  ProcEnviron:
   LANGUAGE=de_AT:de
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=de_AT.UTF-8
   SHELL=/bin/bash
  

[Touch-packages] [Bug 1841654] Re: Consider replacing mawk with gawk in main

2019-09-01 Thread Thomas Dickey
I updated the webpage last week, to reduce confusion:

https://invisible-island.net/mawk/mawk.html

However, back to the stated issue: if the packager follows the same
guidelines as previously stated (100% compatibility with the existing
scripts, no effort whatsoever required of the packager), it's not likely
that any change will be made.

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

Title:
  Consider replacing mawk with gawk in main

Status in mawk package in Ubuntu:
  New

Bug description:
  For POSIX compatibility reasons Ubuntu ships with mawk ("Mike's awk" =
  mawk) in main. There is an awk-symlink to mawk, thus mawk is the
  official awk implementation in Ubuntu.

  == Reasons against keeping mawk ==

  *The mawk package is synced from debian and it is heavily
  undermaintained: Debian (and thus Ubuntu) still ships version
  1.3.3-17, the same version at least since oldoldstable:
  https://packages.debian.org/search?searchon=names=mawk

  *maintainer Thomas E. Dickey (https://invisible-island.net/mawk/)
  called officially out that Debian "neglected" mawk in 2014 ("As noted,
  mawk has been neglected by some packagers (see for example this
  http://bugs.debian.org/cgi-bin/pkgreport.cgi?package=mawk)". And
  Debian (and Ubuntu) still ship the same version five years later

  *Most other distributions ship mawk at least in its last official
  incarnation 1.3.4 in their repositories. Dickey lists AIX, Fedora,
  FinkPorts (Mac OS X), FreeBSD port, Gentoo, HPUX, MacPorts (Mac OS X),
  NetBSD pkgsrc/lang, OpenCSW (Solaris). That version is from 2014 and
  at first it looked like it wasn't developed anymore:
  https://github.com/ThomasDickey/mawk-20140914/commits/master A recent
  comment by Thomas Dickey below indicates that he is still maintaining
  mawk.

  *A planned rewrite mawk2 was planned by original author Mike Brennan
  in 2016 but obviously came to nothing:
  https://github.com/ploxiln/mawk-2/commits/master

  *Thus mawk sits in Ubuntu main in a version published upstream in 2009
  and celebrates its 10th anniversary of negligence. In a state that
  Debian was called out for 5 years ago.

  *This year it is 10 years unmaintained and largely untouched. At the
  end of the next LTS-support-cycle we can celebrate 15 years of not
  supporting it.

  *awk is included in Linux for POSIX standard compliance. Mawk is known
  to be fast and small but it is the implementation that is farthest
  from being POSIX compliant, missing things like named character
  classes like [[:space:]] within its EREs.

  == Reasons for gawk as a replacement ==

  *It is the official GNU awk implementation and known to work well with
  the rest of the GNU userland.

  *It is actively maintained with the last version 5.01 shipping in
  June, 2019 (even if Ubuntu will obviously still ship 4.2 for Eoan).

  *It is mostly compliant with the POSIX standard.

  *Most other distributions ship it as the standard POSIX
  implementation, with a awk symlink. So it had security reviews already
  by Red Hat and others.

  == Possible problems with switching to gawk in time for Ubuntu 20.4 ==

  - It might need to be MIRed by the Ubuntu security team and a review
  might take some time. So I filed this bug early with Eoan not yet out
  of the door.

  - It is much larger than mawk, the Ubuntu package is 1600 kB in size,
  while mawk is only about 190KB. Thus some might want to split out some
  basic functionality to save size. Like what is vim-tiny to vim. To
  start gawk in --traditional or --posix mode and disable the extensions
  at compile time might be a good start to reduce the size. See:
  https://www.gnu.org/software/gawk/manual/html_node/Additional-
  Configuration-Options.html#Additional-Configuration-Options

  =

  ProblemType: Bug
  DistroRelease: Ubuntu 19.04
  Package: mawk 1.3.3-17ubuntu3
  ProcVersionSignature: Ubuntu 5.0.0-27.28-generic 5.0.21
  Uname: Linux 5.0.0-27-generic x86_64
  ApportVersion: 2.20.10-0ubuntu27.1
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Aug 27 20:12:11 2019
  Dependencies:
   gcc-9-base 9.1.0-2ubuntu2~19.04
   libc6 2.29-0ubuntu2
   libgcc1 1:9.1.0-2ubuntu2~19.04
   libidn2-0 2.0.5-1
   libunistring2 0.9.10-1ubuntu2
  InstallationDate: Installed on 2018-02-23 (550 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180214)
  ProcEnviron:
   LANGUAGE=de_AT:de
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=de_AT.UTF-8
   SHELL=/bin/bash
  SourcePackage: mawk
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~tou

Re: [Touch-packages] [Bug 1841654] Re: Replace mawk with gawk in main

2019-08-27 Thread Thomas Dickey
On Tue, Aug 27, 2019 at 10:15:39PM -, amano wrote:
>   *Most other distributions ship mawk at least in its last official
>   incarnation 1.3.4 in their repositories. Dickey lists AIX, Fedora,
>   FinkPorts (Mac OS X), FreeBSD port, Gentoo, HPUX, MacPorts (Mac OS X),
>   NetBSD pkgsrc/lang, OpenCSW (Solaris). But even that version is from
>   2014 and doesn't seem to be developed anymore:
>   https://github.com/ThomasDickey/mawk-20140914/commits/master

That's inaccurate and misleading.

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net

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

Title:
  Replace mawk with gawk in main

Status in mawk package in Ubuntu:
  New

Bug description:
  For POSIX compatibility reasons Ubuntu ships with mawk ("Mike's awk" =
  mawk) in main. There is an awk-symlink to mawk, thus mawk is the
  official awk implementation in Ubuntu.

  == Reasons against keeping mawk ==

  *The mawk package is synced from debian and it is heavily
  undermaintained: Debian (and thus Ubuntu) still ships version
  1.3.3-17, the same version at least since oldoldstable:
  https://packages.debian.org/search?searchon=names=mawk

  *part-time maintainer Thomas E. Dickey (https://invisible-
  island.net/mawk/) called officially out that Debian "neglected" mawk
  in 2014 ("As noted, mawk has been neglected by some packagers (see for
  example this http://bugs.debian.org/cgi-
  bin/pkgreport.cgi?package=mawk)". And Debian (and Ubuntu) still ship
  the same version five years later

  *Most other distributions ship mawk at least in its last official
  incarnation 1.3.4 in their repositories. Dickey lists AIX, Fedora,
  FinkPorts (Mac OS X), FreeBSD port, Gentoo, HPUX, MacPorts (Mac OS X),
  NetBSD pkgsrc/lang, OpenCSW (Solaris). But even that version is from
  2014 and doesn't seem to be developed anymore:
  https://github.com/ThomasDickey/mawk-20140914/commits/master

  *A planned rewrite mawk2 was planned by original author Mike Brennan
  in 2016 but obviously came to nothing:
  https://github.com/ploxiln/mawk-2/commits/master

  *Thus mawk sits in Ubuntu main in a version published upstream in 2009
  and celebrates its 10th anniversary of negligence. In a state that
  Debian was called out for 5 years ago.

  *This year it is 10 years unmaintained and largely untouched. At the
  end of the next LTS-support-cycle we can celebrate 15 years of not
  supporting it.

  *awk is included in Linux for POSIX standard compliance. Mawk is known
  to be fast and small but it is the implementation that is farthest
  from being POSIX compliant, missing things like named character
  classes like [[:space:]] within its EREs.

  == Reasons for gawk as a replacement ==

  *It is the official GNU awk implementation and known to work well with
  the rest of the GNU userland.

  *It is actively maintained with the last version 5.01 shipping in
  June, 2019 (even if Ubuntu will obviously still ship 4.2 for Eoan).

  *It is mostly compliant with the POSIX standard.

  *Most other distributions ship it as the standard POSIX
  implementation, with a awk symlink. So it had security reviews already
  by Red Hat and others.

  == Possible problems with switching to gawk in time for Ubuntu 20.4 ==

  - It might need to be MIRed by the Ubuntu security team and a review
  might take some time. So I filed this bug early with Eoan not yet out
  of the door.

  - It is much larger than mawk, the Ubuntu package is 1600 kB in size,
  while mawk is only about 190KB. Thus some might want to split out some
  basic functionality to save size. Like what is vim-tiny to vim. To
  start gawk in --traditional or --posix mode and disable the extensions
  at compile time might be a good start to reduce the size. See:
  https://www.gnu.org/software/gawk/manual/html_node/Additional-
  Configuration-Options.html#Additional-Configuration-Options

  =

  ProblemType: Bug
  DistroRelease: Ubuntu 19.04
  Package: mawk 1.3.3-17ubuntu3
  ProcVersionSignature: Ubuntu 5.0.0-27.28-generic 5.0.21
  Uname: Linux 5.0.0-27-generic x86_64
  ApportVersion: 2.20.10-0ubuntu27.1
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Aug 27 20:12:11 2019
  Dependencies:
   gcc-9-base 9.1.0-2ubuntu2~19.04
   libc6 2.29-0ubuntu2
   libgcc1 1:9.1.0-2ubuntu2~19.04
   libidn2-0 2.0.5-1
   libunistring2 0.9.10-1ubuntu2
  InstallationDate: Installed on 2018-02-23 (550 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180214)
  ProcEnviron:
   LANGUAGE=de_AT:de
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=de_AT.UTF-8
   SHELL=/bin/bash
  SourcePackage: mawk
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:

[Touch-packages] [Bug 1786617] Re: setupterm doesn't find terminfo entry in non-standard database location

2018-09-09 Thread Thomas Dickey
either way: not a bug in ncurses

** Changed in: ncurses (Ubuntu)
   Status: New => Invalid

-- 
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/1786617

Title:
  setupterm doesn't find terminfo entry in non-standard database
  location

Status in ncurses package in Ubuntu:
  Invalid

Bug description:
  My terminal emulator (Kitty) installs its terminfo entry to:

  /usr/local/lib/kitty/terminfo/x/xterm-kitty

  But it also registers /usr/local/lib/kitty/terminfo/ as a terminfo
  database:

  % infocmp -D
  /usr/local/lib/kitty/terminfo
  /etc/terminfo
  /lib/terminfo
  /usr/share/terminfo

  I use tmux, which uses setupterm:
  https://github.com/tmux/tmux/blob/b2a2c3a1e90756313b6709905f189934123f85ed
  /tty-term.c#L412

  setupterm sets an error code unless I symlink the terminfo def to a
  traditional location:

  sudo ln -s /usr/local/lib/kitty/terminfo/x/xterm-kitty
  /usr/share/terminfo/x/xterm-kitty

  This stops the problem. setupterm is presumably not searching all
  database locations.

  I am not the developer of tmux, he directed me here to log the issue.

  See https://github.com/tmux/tmux/issues/1433 for the original bug
  report.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ncurses/+bug/1786617/+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


[Touch-packages] [Bug 1705067] Re: system-local terminfo does not search /usr/share/terminfo as README says

2018-09-09 Thread Thomas Dickey
** Changed in: ncurses (Ubuntu)
   Status: New => Invalid

-- 
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:
  Invalid

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


[Touch-packages] [Bug 1786617] Re: setupterm doesn't find terminfo entry in non-standard database location

2018-08-11 Thread Thomas Dickey
Looking at kitty's source, it appears that
kitty's install copies a compiled binary terminfo
rather than using the tic utility.
As such, it's not an ncurses bug.

** Changed in: ncurses (Ubuntu)
   Status: New => Invalid

-- 
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/1786617

Title:
  setupterm doesn't find terminfo entry in non-standard database
  location

Status in ncurses package in Ubuntu:
  Invalid

Bug description:
  My terminal emulator (Kitty) installs its terminfo entry to:

  /usr/local/lib/kitty/terminfo/x/xterm-kitty

  But it also registers /usr/local/lib/kitty/terminfo/ as a terminfo
  database:

  % infocmp -D
  /usr/local/lib/kitty/terminfo
  /etc/terminfo
  /lib/terminfo
  /usr/share/terminfo

  I use tmux, which uses setupterm:
  https://github.com/tmux/tmux/blob/b2a2c3a1e90756313b6709905f189934123f85ed
  /tty-term.c#L412

  setupterm sets an error code unless I symlink the terminfo def to a
  traditional location:

  sudo ln -s /usr/local/lib/kitty/terminfo/x/xterm-kitty
  /usr/share/terminfo/x/xterm-kitty

  This stops the problem. setupterm is presumably not searching all
  database locations.

  I am not the developer of tmux, he directed me here to log the issue.

  See https://github.com/tmux/tmux/issues/1433 for the original bug
  report.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ncurses/+bug/1786617/+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


[Touch-packages] [Bug 1783162] Re: mvwin doesn't work if window is created with zero coordinates.

2018-07-23 Thread Thomas Dickey
It's in the manual page: the zero-coordinates produce a window as large
as the screen, and mvwin will not move it off the screen.

** Changed in: ncurses (Ubuntu)
   Status: New => Invalid

-- 
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/1783162

Title:
  mvwin doesn't work if window is created with zero coordinates.

Status in ncurses package in Ubuntu:
  Invalid

Bug description:
  Using the following code I cant move the window with mvwin
  
  #include 
  #include 

  void quit();

  int main(int argc, char** argv) {
initscr();
atexit(quit);
curs_set(0);
noecho();

WINDOW *win = newwin(0,0,0,0); // <-- Defference
mvwin(win,10,10);
wresize(win,10,10);

refresh();
box(win,0,0);
wrefresh(win);
getch();

return 0;
  }

  void quit() {
endwin();
  }
  

  
  Changing the window start coordinates to 1,1 and it works.
  
  #include 
  #include 

  void quit();

  int main(int argc, char** argv) {
initscr();
atexit(quit);
curs_set(0);
noecho();

WINDOW *win = newwin(1,1,0,0); // <-- Defference
mvwin(win,10,10);
wresize(win,10,10);

refresh();
box(win,0,0);
wrefresh(win);
getch();

return 0;
  }

  void quit() {
endwin();
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ncurses/+bug/1783162/+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


[Touch-packages] [Bug 1705067] Re: system-local terminfo does not search /usr/share/terminfo as README says

2017-07-18 Thread Thomas Dickey
Works for me:

$ infocmp stterm|head -5
#   Reconstructed via infocmp from file: /usr/share/terminfo/s/stterm
stterm| Suckless Tools simple terminal,
am, bce, hs, mir, msgr, ul, xenl,
colors#8, cols#80, it#8, lines#24, ncv#3, pairs#64,
acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,

$ infocmp -D
/etc/terminfo
/lib/terminfo
/usr/share/terminfo

$ toe -as
--> /etc/terminfo
> /lib/terminfo
--> /usr/share/terminfo
...
*-: stterm   Suckless Tools simple terminal
*-: stterm-256color  Suckless Tools simple terminal with 256 colors
*-: stterm-meta  Suckless Tools simple terminal with meta key
*-: stterm-meta-256color Suckless Tools simple terminal with meta key 

Since /usr/share/terminfo is the compiled-in system default, it's hard
to break that...

-- 
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


[Touch-packages] [Bug 1549665] Re: getch returning ENOENT

2016-02-25 Thread Thomas Dickey
Likely sc was always wrong, and ncurses was fixed.  Now it's sc's turn
to play.

http://invisible-island.net/ncurses/NEWS.html#t20151128

-- 
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/1549665

Title:
  getch returning ENOENT

Status in ncurses package in Ubuntu:
  New

Bug description:
  The program 'sc' was recently recompiled (according to changelog) for
  ncurses6.  Since that happened, its call to getch() (in
  lex.c:nmgetch() around line 680) returns -1 with errno ENOENT.  The
  version in older releases properly waits for an input character.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ncurses/+bug/1549665/+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


[Touch-packages] [Bug 1074404] Re: Segfault with mawk

2015-11-22 Thread Thomas Dickey
Actually, a specific example would be useful and constructive information.
Your comment is neither.

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

Title:
  Segfault with mawk

Status in mawk package in Ubuntu:
  Confirmed
Status in mawk package in Debian:
  New

Bug description:
  release: ubuntu 12.04.1 LTS
  mawk version: 1.3.3-17
  Got a segfault with: echo "x" | awk "/x/ { print \"(`cat test`)\"; next; } { 
print; }" -

  'test' file attached

  removing a few chars from the test files resolves the issue

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mawk/+bug/1074404/+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