Force terminal size columns and lines rows to exactly 80x25 or 24 for DOS CPM etc old apps #3578
Replies: 2 comments 6 replies
-
For dosemu the little published setting is
|
Beta Was this translation helpful? Give feedback.
-
You may like to spam yourself, but this is not the place for it, excessive spamming can lead to a ban. For your problem, termux does not have any terminal width setting. Columns are automatically calculated based on font size which is changed when pinch zooming. You are not able to get exactly 80 since either your screen resolution doesn't allow that ratio or terminal horizontal margin is preventing that exact size. You need to set |
Beta Was this translation helpful? Give feedback.
-
I need the best ideas to force EXACTLY 80 columns
I spent the whole day debugging a dos app that breaks if tput cols are 81. I only noticed it after I installed X11 forwarding in desperation and ran tilix through X. It opened automatically in exactly CP/M format or possibly some kind of UNIX standard format 80x24. And the text displayed fine
Anything else and the app would not print any text
They did not test this in 1981 but I didn't think of that brittleness it's the first dos app I have debugged
I only know how to resize by gesture and the closest I can get is 76 or 81 not 80
And I only know how to READ it from a typical xterm
I don't know where I can set columns by default any other way. Or dynamically
Beta Was this translation helpful? Give feedback.
All reactions