Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Konsole Konsole
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 20
    • Merge requests 20
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • UtilitiesUtilities
  • KonsoleKonsole
  • Merge requests
  • !535

Handle urls with non-empty ID-part

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Adriaan de Groot requested to merge work/adridg/fix-url-reading into master Nov 22, 2021
  • Overview 1
  • Commits 1
  • Pipelines 4
  • Changes 1

To test, you need the attached sample output from a bison run. This is with a bison that supports GNU libtextstyle and has colorized output enabled.

bison.output

You can cat the file in konsole. It displays a warning message, and documents that this is because of -Wdeprecated. Take a look with od -c to see that there is a URL embedded there. If you go to Settings -> Edit Current Profile -> Mouse -> Miscellaneous tab, you can click the Allow escape sequences for links feature. Cat the file again and when you hoven over -Wdeprecated it is a link. You can ctrl-click on it to open the link (which is not user-visible before opening, so the security warning mentioned in the settings dialog is relevant).

Without the patch, this URL format isn't recognized because there is an id-part in the escape sequence (e.g. konsole assumes \e ] 8 ; ; <url>). With the patch, it is.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: work/adridg/fix-url-reading