Bug#785219: stterm: TERM environment var is incorrect

2017-09-14 Thread Matthijs Kooijman
Package: stterm
Followup-For: Bug #785219

Hi folks,

I can't really reproduce this problem, but for me `ls --color` outputs
color even when I run with TERM=foo or whatever, so there might be
something else going on.

However, I wanted to point out that the stterm package currently
provides stterm-256color termino (and some other variants), whereas the
ncurses-term package provides the st-256color termino (and again some
other variants).

Looking at xterm, that does not provide any terminfo at all, but relies
on the ncurses-term package to provide its terminfo (though it does not
Depend on it, so I guess it expects whoever needs terminfo to do so).
Splitting the terminfo off from the terminal itself makes it easier to
make things work remotely: When SSH'ing to a remote system, the remote
system needs the terminfo, but might not have the stterm available (or
even any GUI packages at all).

So, it seems this bug should be fixed by changing the TERM variable set,
and removing the terminfo from the stterm package.

Until then, placing this in your .bashrc should fix the problem in most
cases:

if [ "$TERM" = "stterm-256color" ]; then
TERM=st-256color;
fi

Gr.

Matthijs



Bug#785219: stterm: TERM environment var is incorrect

2016-10-22 Thread Jari Aalto

Noted. Put on todo list.



Bug#785219: stterm: TERM environment var is incorrect

2015-05-13 Thread June Tate-Gans
Package: stterm
Version: 0.5+20140606+gitc2fd275-1
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***

1. Install stterm from apt-get.
2. Start stterm
3. Run ls --color
4. Note the lack of color.
5. Check TERM (echo $TERM).
6. Note that it is set to stterm-256color.
7. Run ls --color=yes
8. Note the lack of color.
9. Set TERM=st-256color
10. Run ls --color
11. Note the color.



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages stterm depends on:
ii  libc6   2.19-18
ii  libfontconfig1  2.11.0-6.3
ii  libx11-62:1.6.3-1
ii  libxft2 2.3.2-1

stterm recommends no packages.

stterm suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org