SSH Term dimensions #351
andreas-globi
started this conversation in
General
Replies: 1 comment 2 replies
-
|
How do you use pet to execute the commands exactly? Do you use the ZSH function or pet exec for example? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I use Pet a lot to execute commands on remote servers.
One thing I'm struggling with is commands that display info.
One of my often-used commands is to watch an apache process list on a remote server, eg:
I managed to get it to work in a one-liner as:
The issue I'm running into is that when I run this via Pet, the result does not get the correct screen dimensions and seems stuck in a 80x25 window.
If I run the command directly on the command line, I get the correct current number of columns.
Problem 1: How can I get the columns to adjust when using Pet?
Problem 2: How can I get the rows to adjust?
Beta Was this translation helpful? Give feedback.
All reactions