| Summary: | shells/bash: terminfo is not auto installed or suggested with bash, will cause some features to not work | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | hym2209268914 |
| Component: | Individual Port(s) | Assignee: | Emanuel Haupt <ehaupt> |
| Status: | In Progress --- | ||
| Severity: | Affects Some People | Flags: | bugzilla:
maintainer-feedback?
(ehaupt) |
| Priority: | --- | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
hym2209268914
2024-01-12 16:14:33 UTC
My test procedure involves the following steps: $ jot 3 $ [pressed CTRL-L invoking clear-display] As far as I know, this issue usually occurs when the TERM environment variable is not defined. However, in this case, installing the terminfo-db does not seem to help either. Could you show me how you're conducting your tests? Sorry i had a typo. I meant the "clear-screen" readline binding. It should output "^[[H^[[2J^[[3J" which creates a new blank page and clears the scrollback, much like the cmd+K in Terminal.app on macOS. My problem is with the PuTTY which supports this escape sequence, and did properly set TERM=xterm, but bash just refuses to do so until installing terminfo from ports. "clear-screen" should be bound to meta(alt/option)+ctrl+l by default. |