The PVENode task list in PVE9 is partially obscured due to the terminal font being too large.

jzxkkk

New Member
Sep 9, 2024
8
0
1
The image below shows the PVE8 pvenode task list in the upper half, which is displayed correctly. The lower half shows the PVE9 output, where the font size is noticeably larger, causing the status information to be truncated.
1780160282447.png
 
The fonts look the same to me, but the way times are displayed is different and takes up more characters. Anyway, the font size for ssh would be controlled by your terminal, not by anything on the remote side.
The problem is that I'm logged into iTerm2 within the same terminal, and the font size is set to a fixed value. I first logged into PVE8 and ran `task list`, then logged into PVE9 and ran `task list` again.
 
When I use Termius, the font size is too large compared to the normal size. Although Termius displays correctly, I occasionally still use iTerm2 to connect.
1780161565089.png
1780161578854.png
 
Please look at the Starttime and Endtime columns. See that one shows Unix time format while the other shows fully broken-out time. The latter takes up more screen width because there are more characters. It isn't a font problem, it is a display format change.

Maybe you can use a format option to get the old format back, I don't know. Check "man pvenode".

ETA: You could also just set a smaller font in your terminal.
 
Last edited:
Font size is not the problem but the feature that pvenode cuts the output according to the available line length, or something along those lines.

Try pvenode task list --noborder | cat
 
This does work, but will the official team address this issue with the default output? I'm not sure if it counts as a bug.
1780162666815.png
Font size is not the problem but the feature that pvenode cuts the output according to the available line length, or something along those lines.

Try pvenode task list --noborder | cat
 
It is not a bug. They changed the default output format between v8 and V9 to make it easier to understand the starttime and endtime fields. But that made it not fit on your particular terminal with your particular setup. Nobody cares but you. Life is hard.
 
Just to be clear...the way terminals work is they use fixed-size character cells. So many lines by so many columns. This information is communicated to the remote end so it knows how much room there is on the display. The remote end has limited control over the font and size of the terminal. It is generally not possible for the remote end to specify a font or font size, that is determined by the terminal settings[1]. A given font size plus the pixel dimensions of the window determines the number of rows and columns that are reported to the remote program.

There is usually some limited support for things like resizing the window[2]. That causes a message to be sent to the remote informing of the new numbers of rows and columns. If the remote supports supports terminal resizing then it will redraw the display according to the new numbers of rows and columns while the size of the font remains the same.

Pvenode could perhaps be smarter and tell you the terminal is too small or something if the output won't fit. But that is asking a bit much of a utility like this.

[1] I'm sure somewhere there is a terminal that allows selecting the font size from the remote end but that is very far from a standard feature. There are terminals that can display graphics, but this is not common and isn't used very much. I've never seen it used to display text output from a utility like pvenode.

[2] For network terminals like your case with ssh. This isn't true for serial terminals which can't be resized this way.
 
  • Like
Reactions: Markku