• resize ?

    From Vincent Coen@2:250/1 to All on Sat Aug 13 16:44:19 2022
    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


    SEEN-BY: 25/0 250/0 1 2 3 4 5 6 12 263/0
  • From Bobbie Sellers@2:250/1 to All on Sat Aug 13 16:52:21 2022
    On 8/13/22 08:44, Vincent Coen wrote:
    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?

    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



    --- MBSE BBS v1.0.8 (Linux-x86_64)
    * Origin: dis-organization (2:250/1@fidonet)
  • From William Unruh@2:250/1 to All on Sat Aug 13 16:55:56 2022
    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.


    On 2022-08-13, Vincent Coen <VBCoen@gmail.com> wrote:
    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




    Vincent



    --- MBSE BBS v1.0.8 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From William Unruh@2:250/1 to All on Sat Aug 13 17:45:30 2022
    On 2022-08-13, Bobbie Sellers <bliss@mouse-potato.com> wrote:
    On 8/13/22 08:44, Vincent Coen wrote:
    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?

    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) ?

    bliss


    --- MBSE BBS v1.0.8 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Vincent Coen@2:250/1 to Bobbie Sellers on Sun Aug 14 00:50:49 2022
    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.



    On 8/13/22 08:44, Vincent Coen wrote:
    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?

    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


    SEEN-BY: 25/0 250/0 1 2 3 4 5 6 12 263/0
  • From Vincent Coen@2:250/1 to William Unruh on Sun Aug 14 00:55:46 2022
    Hello William!

    Saturday August 13 2022 16:55, William Unruh wrote to All:

    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.


    On 2022-08-13, Vincent Coen <VBCoen@gmail.com> wrote:
    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.

    (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


    SEEN-BY: 25/0 250/0 1 2 3 4 5 6 12 263/0
  • From William Unruh@2:250/1 to All on Sun Aug 14 03:20:16 2022
    On 2022-08-13, Vincent Coen <VBCoen@gmail.com> wrote:
    Hello William!

    Saturday August 13 2022 16:55, William Unruh wrote to All:

    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.


    On 2022-08-13, Vincent Coen <VBCoen@gmail.com> wrote:
    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.

    (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

    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






    Vincent



    --- MBSE BBS v1.0.8 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Vincent Coen@2:250/1 to William Unruh on Sun Aug 14 13:36:20 2022
    Hello William!

    Sunday August 14 2022 03:20, William Unruh wrote to All:

    On 2022-08-13, Vincent Coen <VBCoen@gmail.com> wrote:
    Hello William!

    Saturday August 13 2022 16:55, William Unruh wrote to All:

    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.


    On 2022-08-13, Vincent Coen <VBCoen@gmail.com> wrote:
    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.

    (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

    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;
    [vince@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


    SEEN-BY: 25/0 250/0 1 2 3 4 5 6 12 263/0
  • From Bit Twister@2:250/1 to All on Sun Aug 14 20:28:16 2022
    On Sun, 14 Aug 2022 13:36:20 +0100, Vincent Coen wrote:
    Hello William!

    Sunday August 14 2022 03:20, William Unruh wrote to All:

    On 2022-08-13, Vincent Coen <VBCoen@gmail.com> wrote:
    Hello William!

    Saturday August 13 2022 16:55, William Unruh wrote to All:

    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.


    On 2022-08-13, Vincent Coen <VBCoen@gmail.com> wrote:
    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.

    (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

    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;
    [vince@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.


    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.

    --- MBSE BBS v1.0.8 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Vincent Coen@2:250/1 to Bit Twister on Mon Aug 15 16:56:50 2022
    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


    On Sun, 14 Aug 2022 13:36:20 +0100, Vincent Coen wrote:
    Hello William!

    Sunday August 14 2022 03:20, William Unruh wrote to All:

    On 2022-08-13, Vincent Coen <VBCoen@gmail.com> wrote:
    Hello William!

    Saturday August 13 2022 16:55, William Unruh wrote to All:

    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.


    On 2022-08-13, Vincent Coen <VBCoen@gmail.com> wrote:
    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.

    (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

    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;
    [vince@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.


    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


    SEEN-BY: 25/0 250/0 1 2 3 4 5 6 12 263/0