Bug#838439: stterm: 30-config.def.h.patch breaks dircolors

2016-10-22 Thread Jari Aalto
On 2016-10-22 18:31, Paride Legovini wrote:
| Thanks Jari for the explanation.
| 
| On 2016-10-22 14:08, Jari Aalto wrote:
| >> (...) it would be a good idea not to rename it at all and
| >> provide a bin/stterm -> bin/st symlink for compatibility.
| > 
| > Background:
| > 
| > The "st" (simple term) in Debian is under name "stterm"
| > This has to do with not profiliterating /usr/bin with
| > two lettter commands that are not system commands.
| 
| I get the point. I see the "avoid 2 letter commands" suggestion
| better suited to upstream development rather than to downstream
| packaging efforts, but I understand your choice.
| 
| > But for the actual color problem getting resolved, will
| > investigate. Thanks for the report.
| 
| Why not just leaving TERM=st? It's the simplest fix, stays nearer to
| upstream, fixes also #785219, and will work on any system using
| upstream's terminfo file.

I'll see what changes are needed

thank you,
Jari



Bug#838439: stterm: 30-config.def.h.patch breaks dircolors

2016-10-22 Thread Paride Legovini
Thanks Jari for the explanation.

On 2016-10-22 14:08, Jari Aalto wrote:
>> (...) it would be a good idea not to rename it at all and
>> provide a bin/stterm -> bin/st symlink for compatibility.
> 
> Background:
> 
> The "st" (simple term) in Debian is under name "stterm"
> This has to do with not profiliterating /usr/bin with
> two lettter commands that are not system commands.

I get the point. I see the "avoid 2 letter commands" suggestion
better suited to upstream development rather than to downstream
packaging efforts, but I understand your choice.

> But for the actual color problem getting resolved, will
> investigate. Thanks for the report.

Why not just leaving TERM=st? It's the simplest fix, stays nearer to
upstream, fixes also #785219, and will work on any system using
upstream's terminfo file.

Paride



Bug#838439: stterm: 30-config.def.h.patch breaks dircolors

2016-10-22 Thread Jari Aalto

> (...) it would be a good idea not to rename it at all and
> provide a bin/stterm -> bin/st symlink for compatibility.

Background:

The "st" (simple term) in Debian is under name "stterm"
This has to do with not profiliterating /usr/bin with
two lettter commands that are not system commands.
Terminal commands, like st, are not in that category, to
be used often like cp(1) etc.

The sucless project which develops similar two letter
commands may not have considered the implications
throughly. Users are best recomended to use standard
shell features to make short commands as they see fit.
An example:

alias st=stterm

But for the actual color problem getting resolved, will
investigate. Thanks for the report.

Jari



Bug#838439: stterm: 30-config.def.h.patch breaks dircolors

2016-09-21 Thread Paride Legovini
Package: stterm
Version: 0.6-1
Severity: normal

Dear Maintainer,

The dircolors command from coreutils knows the st terminal,
but not the stterm terminal.

In coreutils-8.25/src/dircolors.hin:37 we have:

TERM st
TERM st-256color

but no stterm. I would suggest not changing the terminal name,
thus dropping these two patches:

20-st.info.patch
30-config.def.h.patch

I can't guess why it has been renamed in the first place, but
if the reason doesn't apply anymore I think it would be a good
idea not to rename it at all and provide a bin/stterm -> bin/st
symlink for compatibility.

Thank you,

Paride