Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot use ctrl-L to clear screen in 2024.08.29 amd64 portable release #2651

Closed
tesuji opened this issue Dec 26, 2024 · 3 comments
Closed

cannot use ctrl-L to clear screen in 2024.08.29 amd64 portable release #2651

tesuji opened this issue Dec 26, 2024 · 3 comments
Assignees
Labels

Comments

@tesuji
Copy link

tesuji commented Dec 26, 2024

Description

With system-installed gdb (from apt-get), I can use ctrl-L to clear the screen.
However, using bin/pwndbg from pwndbg_2024.08.29_amd64-portable.tar.xz I couldn't do that.

Steps to reproduce

Download and install 1.
Load it by typing bin/pwndbg /bin/cat.
Generate some output: disass main
Try to clear the screen with ctrl-L.

My setup

Gdb: 15.1
Python: 3.12.4 (main, Jun 6 2024, 18:26:44) [GCC 13.3.0]
Pwndbg: 2024.08.29
Capstone: 5.0.1280
Unicorn: 2.0.1

There is also .inputrc and .gdbinit but I don't think those files causing this problem
because with vanilla gdb, ctrl-L works.

@tesuji tesuji added the bug label Dec 26, 2024
@patryk4815
Copy link
Member

$ /pwndbg/bin/pwndbg -tui
Cannot enable the TUI: error opening terminal [TERM=xterm-256color]

this is the problem

@patryk4815
Copy link
Member

Issue was fixed in #2531 #2532
But not released yet.

For workaround you can execute:

export TERMINFO_DIRS=/etc/terminfo:/lib/terminfo:/usr/share/terminfo:/run/current-system/sw/share/terminfo

@disconnect3d disconnect3d self-assigned this Dec 27, 2024
@disconnect3d
Copy link
Member

I am going to close this issue for the time being as we have a workaround above. This being said, we should make a release shortly so that this is fixed in the released version (along with many many other fixes, improvements and new features).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants