Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #261668

Re: su

From Vincent Lefevre <vincent@vinc17.net>
Newsgroups linux.debian.user
Subject Re: su
Date 2023-09-14 17:30 +0200
Message-ID <HdWs2-8Xqb-1@gated-at.bofh.it> (permalink)
References (5 earlier) <HaRfb-70Vt-3@gated-at.bofh.it> <HaRId-714u-3@gated-at.bofh.it> <HaViN-73jK-1@gated-at.bofh.it> <HdRVo-8UCe-21@gated-at.bofh.it> <HdVvX-8WRK-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2023-09-14 21:25:56 +0700, Max Nikulin wrote:
> On 14/09/2023 17:30, Vincent Lefevre wrote:
> > Yes, XDG_RUNTIME_DIR is problematic, but as "su -" doesn't work in
> > GNU Screen (it yields major display issues), I presume that some
> > environment variables (terminal related?) are still useful.
> 
> I just have tried it. "su -" preserves TERM=screen.xterm-256color. Behavior
> is different from pure xterm-256color, but I have no guess what you may
> consider as major display issues. E.g. vim is even able to determine if
> background is dark or light and to adjust color scheme accordingly.

I noticed the issue just before the upgrade to bookworm (I wanted
to do that for the upgrade). But I can't reproduce it in bookworm.
So this may have been an old bug that has been fixed.

IIRC, this was text positioning issues, perhaps when recalling
commands from the history.

BTW, I don't think that the preservation of $TERM is sufficient.
Preserving $TERMINFO (when set) is important too.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

just a question about the iwlwifi_20230515-3 file Maureen L Thomas <silverorb@verizon.net> - 2023-09-05 06:30 +0200
  Re: just a question about the iwlwifi_20230515-3 file jeremy ardley <jeremy.ardley@gmail.com> - 2023-09-05 07:50 +0200
    Re: just a question about the iwlwifi_20230515-3 file Greg Wooledge <greg@wooledge.org> - 2023-09-05 13:20 +0200
    Re: just a question about the iwlwifi_20230515-3 file "Andrew M.A. Cater" <amacater@einval.com> - 2023-09-05 21:50 +0200
      Re: just a question about the iwlwifi_20230515-3 file Charles Curley <charlescurley@charlescurley.com> - 2023-09-05 22:30 +0200
        Re: just a question about the iwlwifi_20230515-3 file Charles Curley <charlescurley@charlescurley.com> - 2023-09-06 00:40 +0200
        Re: just a question about the iwlwifi_20230515-3 file Michel Verdier <mv524@free.fr> - 2023-09-06 05:20 +0200
          Re: just a question about the iwlwifi_20230515-3 file Max Nikulin <manikulin@gmail.com> - 2023-09-06 06:00 +0200
        Re: just a question about the iwlwifi_20230515-3 file debian-user@howorth.org.uk - 2023-09-06 12:30 +0200
          Re: just a question about the iwlwifi_20230515-3 file <tomas@tuxteam.de> - 2023-09-06 13:00 +0200
    Re: just a question about the iwlwifi_20230515-3 file Greg Wooledge <greg@wooledge.org> - 2023-09-05 22:30 +0200
      Re: just a question about the iwlwifi_20230515-3 file Michel Verdier <mv524@free.fr> - 2023-09-06 05:20 +0200
        Re: su Greg Wooledge <greg@wooledge.org> - 2023-09-06 05:50 +0200
          Re: su Charlie <ariestao@skymesh.com.au> - 2023-09-06 08:00 +0200
          Re: su Max Nikulin <manikulin@gmail.com> - 2023-09-06 09:40 +0200
            Re: su Vincent Lefevre <vincent@vinc17.net> - 2023-09-14 12:40 +0200
              Re: su Max Nikulin <manikulin@gmail.com> - 2023-09-14 16:30 +0200
                Re: su Vincent Lefevre <vincent@vinc17.net> - 2023-09-14 17:30 +0200
                Re: su Max Nikulin <manikulin@gmail.com> - 2023-09-15 04:20 +0200
          Re: su Michel Verdier <mv524@free.fr> - 2023-09-06 11:10 +0200
  Re: just a question about the iwlwifi_20230515-3 file Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2023-09-05 12:00 +0200
  Re: just a question about the iwlwifi_20230515-3 file Charles Curley <charlescurley@charlescurley.com> - 2023-09-05 17:20 +0200
    Re: just a question about the iwlwifi_20230515-3 file David Wright <deblis@lionunicorn.co.uk> - 2023-09-05 20:40 +0200
    Re: just a question about the iwlwifi_20230515-3 file Charles Curley <charlescurley@charlescurley.com> - 2023-09-05 22:50 +0200
      Re: just a question about the iwlwifi_20230515-3 file Greg Wooledge <greg@wooledge.org> - 2023-09-06 00:50 +0200
      Re: just a question about the iwlwifi_20230515-3 file Charles Curley <charlescurley@charlescurley.com> - 2023-09-06 01:00 +0200
      Re: just a question about the iwlwifi_20230515-3 file Max Nikulin <manikulin@gmail.com> - 2023-09-06 09:50 +0200
  Re: just a question about the iwlwifi_20230515-3 file piorunz <piorunz@gmx.com> - 2023-09-06 00:00 +0200
    Re: just a question about the iwlwifi_20230515-3 file Greg Wooledge <greg@wooledge.org> - 2023-09-06 00:20 +0200

csiph-web