pwndbg displays not well in docker tmux

Created on 31 Oct 2018  Â·  7Comments  Â·  Source: pwndbg/pwndbg

Description

Hello , I use the latest verison of pwndbg.
When I use it in docker , I use tmux and run the gdb.
It displays not well like the picture bellow.
Could you fix it ?

image

bug invalid

Most helpful comment

image
it still works for me. I used tmux on a remote machine, not sure if that matters?

Also, my tmux version is 2.6 - maybe it is the problem?

Thanks for your reply.
At last, I figure out the problem is tmux.
Tmux version 2.1 does't work well with pwndbg.
And I change my tmux to the lastest version next-2.9 and 2.6 is both ok as can be seen in your picture.

My bash script for compiling the lastest tmux is here:
https://gist.github.com/thinkycx/8323b10474c2c9d35cc16c6355a56259

All 7 comments

Hmm I have used pwndbg with tmux before and it worked fine.

Can you share your tmux configuration?

Hmm I have used pwndbg with tmux before and it worked fine.

Can you share your tmux configuration?

I use the default tmux and only add mouse settings in it

$ cat ~/.tmux.conf
set -g mouse on

#Enable oh my zsh in tmux
set -g default-command /bin/zsh

# Mouse based copy
bind-key -T copy-mode-vi MouseDragEnd1Pane send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
bind-key -T copy-mode MouseDragEnd1Pane send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"

Hmm I have used pwndbg with tmux before and it worked fine.

Can you share your tmux configuration?

# root @ d7af3bda10e2
$ cat ~/.tmux.conf
set-option -g mouse on
#setw -g mouse

# root @ d7af3bda10e2
$ tmux -V
tmux 2.1

After I clear tmux's configuration, it still displays not well.
I think that it might be pwndbg's output problem with tmux.
Is this a bug?

After I change to peda, it works well.
Wish pwndbg will work well with tmux in future.

I will check it out today on my setup. I still feel it worked before... :S

On Thu, Nov 1, 2018, 3:11 PM thinkycx notifications@github.com wrote:

Hmm I have used pwndbg with tmux before and it worked fine.

Can you share your tmux configuration?

root @ d7af3bda10e2

$ cat ~/.tmux.conf
set-option -g mouse on

setw -g mouse

root @ d7af3bda10e2

$ tmux -V
tmux 2.1

After I clear tmux's configuration, it still displays not well.
I think that it might be pwndbg's output problem with tmux.
Is this a bug?

After I change to peda, it works well.
Wish pwndbg will work well with tmux in future.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pwndbg/pwndbg/issues/565#issuecomment-435042916, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJi7CiunpnTVA4AmdLYo7ocI0WjZv1pVks5uqwEJgaJpZM4YDsMI
.

Can u show ur gdbinit file?

On Thu, Nov 1, 2018, 3:15 PM Dominik Czarnota dominik.b.czarnota@gmail.com
wrote:

I will check it out today on my setup. I still feel it worked before... :S

On Thu, Nov 1, 2018, 3:11 PM thinkycx notifications@github.com wrote:

Hmm I have used pwndbg with tmux before and it worked fine.

Can you share your tmux configuration?

root @ d7af3bda10e2

$ cat ~/.tmux.conf
set-option -g mouse on

setw -g mouse

root @ d7af3bda10e2

$ tmux -V
tmux 2.1

After I clear tmux's configuration, it still displays not well.
I think that it might be pwndbg's output problem with tmux.
Is this a bug?

After I change to peda, it works well.
Wish pwndbg will work well with tmux in future.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pwndbg/pwndbg/issues/565#issuecomment-435042916, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJi7CiunpnTVA4AmdLYo7ocI0WjZv1pVks5uqwEJgaJpZM4YDsMI
.

image
it still works for me. I used tmux on a remote machine, not sure if that matters?

Also, my tmux version is 2.6 - maybe it is the problem?

image
it still works for me. I used tmux on a remote machine, not sure if that matters?

Also, my tmux version is 2.6 - maybe it is the problem?

Thanks for your reply.
At last, I figure out the problem is tmux.
Tmux version 2.1 does't work well with pwndbg.
And I change my tmux to the lastest version next-2.9 and 2.6 is both ok as can be seen in your picture.

My bash script for compiling the lastest tmux is here:
https://gist.github.com/thinkycx/8323b10474c2c9d35cc16c6355a56259

Was this page helpful?
0 / 5 - 0 ratings

Related issues

disconnect3d picture disconnect3d  Â·  7Comments

zachriggle picture zachriggle  Â·  6Comments

degrigis picture degrigis  Â·  6Comments

GrosQuildu picture GrosQuildu  Â·  6Comments

sudhackar picture sudhackar  Â·  6Comments