[Bug 2104280] Re: [FFe] Pass -SMK to less

Julian Andres Klode 2104280 at bugs.launchpad.net
Wed Mar 26 16:47:07 UTC 2025


https://salsa.debian.org/apt-team/apt/-/merge_requests/470

** Description changed:

  APT in plucky uses a pager, so far we pass LESS=FRX, but this is not
  very intuitive, so I'd like to pass SMK as well:
  
  * S disables the bell
  * M changes the prompt from ":" to "lines 1-2"
  * K makes the pager exit on ctrl+c which makes it more discoverable how to exit
  
  These flags are aligned with systemd; the former set was derived from
  git
+ 
+ This will be bundled with some more bugfixes in apt 2.9.35.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/2104280

Title:
  [FFe] Pass -SMK to less

Status in apt package in Ubuntu:
  New

Bug description:
  APT in plucky uses a pager, so far we pass LESS=FRX, but this is not
  very intuitive, so I'd like to pass SMK as well:

  * S disables the bell
  * M changes the prompt from ":" to "lines 1-2"
  * K makes the pager exit on ctrl+c which makes it more discoverable how to exit

  These flags are aligned with systemd; the former set was derived from
  git

  This will be bundled with some more bugfixes in apt 2.9.35.

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




More information about the foundations-bugs mailing list