Discussion:
resize ?
(too old to reply)
Vincent Coen
2022-08-13 15:44:19 UTC
Permalink
Hello All!

I am looking for the resize program that is some where within the X11
packages but I cannot find it.

Any one know just what x64 package it is in for MGA v8 ?

Thanks for any help,

Out of interest is there a MGA or other tools, which can be used to search
for such tools ?


Vincent
Bobbie Sellers
2022-08-13 15:52:21 UTC
Permalink
Post by Vincent Coen
Hello All!
I am looking for the resize program that is some where within the X11
packages but I cannot find it.
To resize what material or?
Post by Vincent Coen
Any one know just what x64 package it is in for MGA v8 ?
Thanks for any help,
Out of interest is there a MGA or other tools, which can be used to search
for such tools ?
Vincent
For display does not the Computer Control Center still exist with a
hardware section and a display section?

bliss
--
bliss dash SF 4 ever at dslextreme dot com
William Unruh
2022-08-13 16:45:30 UTC
Permalink
Post by Bobbie Sellers
Post by Vincent Coen
Hello All!
I am looking for the resize program that is some where within the X11
packages but I cannot find it.
To resize what material or?
Post by Vincent Coen
Any one know just what x64 package it is in for MGA v8 ?
Thanks for any help,
Out of interest is there a MGA or other tools, which can be used to search
for such tools ?
Vincent
For display does not the Computer Control Center still exist with a
hardware section and a display section?
You mean Mageia Control Center ( mcc) ?
Post by Bobbie Sellers
bliss
Vincent Coen
2022-08-13 23:50:49 UTC
Permalink
Hello Bobbie!

Saturday August 13 2022 16:52, Bobbie Sellers wrote to All:

No that will not help and in any event does not handle display settings.

It has to be a program or library routine that can be called by a C
protocol program.

I am also 'assuming' how it will work will depend on the terminal program
used - there is a few of then, even for MGA.
Post by Bobbie Sellers
Post by Vincent Coen
Hello All!
I am looking for the resize program that is some where within the
X11 packages but I cannot find it.
To resize what material or?
Post by Vincent Coen
Any one know just what x64 package it is in for MGA v8 ?
Thanks for any help,
Out of interest is there a MGA or other tools, which can be used to
search for such tools ?
Vincent
For display does not the Computer Control Center still exist with
a hardware section and a display section?
bliss
--
bliss dash SF 4 ever at dslextreme dot com
Vincent
William Unruh
2022-08-13 15:55:56 UTC
Permalink
No idea what you mean, but if you mean a package to resize disk
partitions, use gparted. If you mean something else you better state
what this program you are looking for is meant to do.
Post by Vincent Coen
Hello All!
I am looking for the resize program that is some where within the X11
packages but I cannot find it.
Any one know just what x64 package it is in for MGA v8 ?
Thanks for any help,
Out of interest is there a MGA or other tools, which can be used to search
for such tools ?
urpmf /usr/bin/resize
urpmf /usr/sbin/resize
would look into all rpm packages to see which carries a program with
that name.

(eg if you mean the xterm program of that name, it is in the package
xterm
Post by Vincent Coen
Vincent
Vincent Coen
2022-08-13 23:55:46 UTC
Permalink
Hello William!
Post by William Unruh
No idea what you mean, but if you mean a package to resize disk
partitions, use gparted. If you mean something else you better state
what this program you are looking for is meant to do.
Post by Vincent Coen
Hello All!
I am looking for the resize program that is some where within the
X11 packages but I cannot find it.
Any one know just what x64 package it is in for MGA v8 ?
Thanks for any help,
Out of interest is there a MGA or other tools, which can be used to
search for such tools ?
urpmf /usr/bin/resize
urpmf /usr/sbin/resize
would look into all rpm packages to see which carries a program with
that name.
Program or library call to resize a terminal when called by a C program.

The program is not installed here and both of those produces no results.
Post by William Unruh
(eg if you mean the xterm program of that name, it is in the package
xterm
Have installed it but resize will not work - produces :

resize 110 45
resize: Can't set window size under VT100 emulation



Vincent
William Unruh
2022-08-14 02:20:16 UTC
Permalink
Post by Vincent Coen
Hello William!
Post by William Unruh
No idea what you mean, but if you mean a package to resize disk
partitions, use gparted. If you mean something else you better state
what this program you are looking for is meant to do.
Post by Vincent Coen
Hello All!
I am looking for the resize program that is some where within the
X11 packages but I cannot find it.
Any one know just what x64 package it is in for MGA v8 ?
Thanks for any help,
Out of interest is there a MGA or other tools, which can be used to
search for such tools ?
urpmf /usr/bin/resize
urpmf /usr/sbin/resize
would look into all rpm packages to see which carries a program with
that name.
Program or library call to resize a terminal when called by a C program.
The program is not installed here and both of those produces no results.
Post by William Unruh
(eg if you mean the xterm program of that name, it is in the package
xterm
resize 110 45
resize: Can't set window size under VT100 emulation
Open an xterm window from the Mageia Application Menu->Tools
then type
resize. It will print the commands needed to set the window size

tunnel:0[unruh]>resize
COLUMNS=80;
LINES=24;
export COLUMNS LINES;
tunnel:0[unruh]>

Not terribly useful from my point of view.
man resize
Post by Vincent Coen
Vincent
Vincent Coen
2022-08-14 12:36:20 UTC
Permalink
Hello William!
Post by William Unruh
Post by Vincent Coen
Hello William!
Post by William Unruh
No idea what you mean, but if you mean a package to resize disk
partitions, use gparted. If you mean something else you better
state
Post by William Unruh
what this program you are looking for is meant to do.
Post by Vincent Coen
Hello All!
I am looking for the resize program that is some where within the
X11 packages but I cannot find it.
Any one know just what x64 package it is in for MGA v8 ?
Thanks for any help,
Out of interest is there a MGA or other tools, which can be used
to
Post by William Unruh
Post by Vincent Coen
search for such tools ?
urpmf /usr/bin/resize
urpmf /usr/sbin/resize
would look into all rpm packages to see which carries a program
with
Post by William Unruh
that name.
Program or library call to resize a terminal when called by a C program.
The program is not installed here and both of those produces no results.
Post by William Unruh
(eg if you mean the xterm program of that name, it is in the
package
Post by William Unruh
xterm
resize 110 45
resize: Can't set window size under VT100 emulation
Open an xterm window from the Mageia Application Menu->Tools
then type
resize. It will print the commands needed to set the window size
tunnel:0[unruh]>resize
COLUMNS=80;
LINES=24;
export COLUMNS LINES;
tunnel:0[unruh]>
Not terribly useful from my point of view.
man resize
resize
COLUMNS=80;
LINES=24;
export COLUMNS LINES;
[***@applewood ~]$ resize 110 43
resize: Can't set window size under VT100 emulation

I think I must give up on this one and find another solution.

Basically when running some programs written in GnuCobol that have to run
within a terminal program that accepts and displays data I need the screen
to be 106 x 24 (or longer) instead of 80 x 24.

Within the program I capture the environment variable that has the Row and
Column sizes and check if it is the minimum size and if not, tell the user
to adjust the screen size and hit return where the program will retry the
screen size check etc.

I was looking for a way within the program (that is created via gcc) to
change these setting automatically at the start and possibly reverting back
at the end.

Some one suggest 'resize' but he runs on OSX and that is a BSD *nix system.

So not hardly a match for a Linux system, heck not even for a BSD with all
the changes done by apple.



Vincent
Bit Twister
2022-08-14 19:28:16 UTC
Permalink
Post by Vincent Coen
Hello William!
Post by William Unruh
Post by Vincent Coen
Hello William!
Post by William Unruh
No idea what you mean, but if you mean a package to resize disk
partitions, use gparted. If you mean something else you better
state
Post by William Unruh
what this program you are looking for is meant to do.
Post by Vincent Coen
Hello All!
I am looking for the resize program that is some where within the
X11 packages but I cannot find it.
Any one know just what x64 package it is in for MGA v8 ?
Thanks for any help,
Out of interest is there a MGA or other tools, which can be used
to
Post by William Unruh
Post by Vincent Coen
search for such tools ?
urpmf /usr/bin/resize
urpmf /usr/sbin/resize
would look into all rpm packages to see which carries a program
with
Post by William Unruh
that name.
Program or library call to resize a terminal when called by a C program.
The program is not installed here and both of those produces no results.
Post by William Unruh
(eg if you mean the xterm program of that name, it is in the
package
Post by William Unruh
xterm
resize 110 45
resize: Can't set window size under VT100 emulation
Open an xterm window from the Mageia Application Menu->Tools
then type
resize. It will print the commands needed to set the window size
tunnel:0[unruh]>resize
COLUMNS=80;
LINES=24;
export COLUMNS LINES;
tunnel:0[unruh]>
Not terribly useful from my point of view.
man resize
resize
COLUMNS=80;
LINES=24;
export COLUMNS LINES;
resize: Can't set window size under VT100 emulation
I think I must give up on this one and find another solution.
Basically when running some programs written in GnuCobol that have to run
within a terminal program that accepts and displays data I need the screen
to be 106 x 24 (or longer) instead of 80 x 24.
Within the program I capture the environment variable that has the Row and
Column sizes and check if it is the minimum size and if not, tell the user
to adjust the screen size and hit return where the program will retry the
screen size check etc.
I was looking for a way within the program (that is created via gcc) to
change these setting automatically at the start and possibly reverting back
at the end.
Some one suggest 'resize' but he runs on OSX and that is a BSD *nix system.
So not hardly a match for a Linux system, heck not even for a BSD with all
the changes done by apple.
Sounds like you need to use xterm commands. for example I have

$ echo $TERM
xterm

$ alias ww
alias ww='echo -ne '\''\033[?3h\033[?66h'\'''
$ alias wn
alias wn='echo -ne '\''\033[?3l\033[?66h'\'''

ww sets terminal to 132 chars wide or wn sets it back to 80 char wide.

No idea if there is a command for number of lines.

Quick google search suggested
https://www.math.utah.edu/docs/info/screen_10.html

ESC [ 8 ; Ph ; Pw t Resize the window to `Ph' lines and
`Pw' columns (SunView special)

It would be nice if you post a follow up Solution if you find one.
Vincent Coen
2022-08-15 15:56:50 UTC
Permalink
Hello Bit!

Sunday August 14 2022 20:28, Bit Twister wrote to All:

Does not work for me but xterm is for specific types of kit such as ~DEC
etc.

I just want to use a normal terminal program such as qterminal under kde
or similar.


No panic - it is a nice to have but looks like there is no solution.

I will put it down to *nix.

Vince
Post by Bit Twister
Post by Vincent Coen
Hello William!
Post by William Unruh
Post by Vincent Coen
Hello William!
Post by William Unruh
No idea what you mean, but if you mean a package to resize disk
partitions, use gparted. If you mean something else you better
state
Post by William Unruh
what this program you are looking for is meant to do.
Post by Vincent Coen
Hello All!
I am looking for the resize program that is some where within
the
Post by William Unruh
Post by Vincent Coen
Post by William Unruh
Post by Vincent Coen
X11 packages but I cannot find it.
Any one know just what x64 package it is in for MGA v8 ?
Thanks for any help,
Out of interest is there a MGA or other tools, which can be
used
Post by William Unruh
Post by Vincent Coen
to
Post by William Unruh
Post by Vincent Coen
search for such tools ?
urpmf /usr/bin/resize
urpmf /usr/sbin/resize
would look into all rpm packages to see which carries a program
with
Post by William Unruh
that name.
Program or library call to resize a terminal when called by a C program.
The program is not installed here and both of those produces no results.
Post by William Unruh
(eg if you mean the xterm program of that name, it is in the
package
Post by William Unruh
xterm
resize 110 45
resize: Can't set window size under VT100 emulation
Open an xterm window from the Mageia Application Menu->Tools
then type
resize. It will print the commands needed to set the window size
tunnel:0[unruh]>resize
COLUMNS=80;
LINES=24;
export COLUMNS LINES;
tunnel:0[unruh]>
Not terribly useful from my point of view.
man resize
resize
COLUMNS=80;
LINES=24;
export COLUMNS LINES;
resize: Can't set window size under VT100 emulation
I think I must give up on this one and find another solution.
Basically when running some programs written in GnuCobol that have
to run within a terminal program that accepts and displays data I
need the screen to be 106 x 24 (or longer) instead of 80 x 24.
Within the program I capture the environment variable that has the
Row and Column sizes and check if it is the minimum size and if not,
tell the user to adjust the screen size and hit return where the
program will retry the screen size check etc.
I was looking for a way within the program (that is created via gcc)
to change these setting automatically at the start and possibly
reverting back at the end.
Some one suggest 'resize' but he runs on OSX and that is a BSD *nix system.
So not hardly a match for a Linux system, heck not even for a BSD
with all the changes done by apple.
Sounds like you need to use xterm commands. for example I have
$ echo $TERM
xterm
$ alias ww
alias ww='echo -ne '\''\033[?3h\033[?66h'\'''
$ alias wn
alias wn='echo -ne '\''\033[?3l\033[?66h'\'''
ww sets terminal to 132 chars wide or wn sets it back to 80 char wide.
No idea if there is a command for number of lines.
Quick google search suggested
https://www.math.utah.edu/docs/info/screen_10.html
ESC [ 8 ; Ph ; Pw t Resize the window to `Ph' lines and
`Pw' columns (SunView special)
It would be nice if you post a follow up Solution if you find one.
Vincent

Loading...