[Bug 248754] sysutils/less: charset.c patch appears to break -R

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 17 19:24:46 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248754

Dmitry Marakasov <amdmi3 at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|ports-bugs at FreeBSD.org      |amdmi3 at FreeBSD.org

--- Comment #7 from Dmitry Marakasov <amdmi3 at FreeBSD.org> ---
I can confirm.

ps --libxo json | jq -C | /usr/local/bin/less -R

ESC[1;39m{
  ESC[0mESC[34;1m"process-information"ESC[0mESC[1;39m: ESC[0mESC[1;39m{
    ESC[0mESC[34;1m"process"ESC[0mESC[1;39m: ESC[0mESC[1;39m[
      ESC[1;39m{
        ESC[0mESC[34;1m"pid"ESC[0mESC[1;39m:
ESC[0mESC[0;32m"24867"ESC[0mESC[1;39m,
        ESC[0mESC[34;1m"terminal-name"ESC[0mESC[1;39m: ESC[0mESC[0;32m"2
"ESC[0mESC[1;39m,
        ESC[0mESC[34;1m"state"ESC[0mESC[1;39m:
ESC[0mESC[0;32m"Is+"ESC[0mESC[1;39m,
        ESC[0mESC[34;1m"cpu-time"ESC[0mESC[1;39m:
ESC[0mESC[0;32m"0:03.15"ESC[0mESC[1;39m,
        ESC[0mESC[34;1m"command"ESC[0mESC[1;39m:
ESC[0mESC[0;32m"zsh"ESC[0mESC[1;39m
      ESC[1;39m}ESC[0mESC[1;39m,

After patch removed (correctly colored output):

{
  "process-information": {
    "process": [
      {
        "pid": "24867",
        "terminal-name": "2 ",
        "state": "Is+",
        "cpu-time": "0:03.15",
        "command": "zsh"
      },

Both in system console and in urxvt.

> You’re welcome to try removing it with a committer’s help.

I take it as maintainer is OK with removing it. While here, some minor cleanup
to the port.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list