• mlterm configuration

    From Haines Brown@21:1/5 to All on Thu Jan 23 14:50:01 2025
    My attemtpts configure mlterm have no effect. For exaJmple, I create a file .mlterm/font with the line line: DEFAULT=20x28.
    And in the file .m lterm/background is the line bg_color=linen


    --

    Haines Brown

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Henning Follmann@21:1/5 to Haines Brown on Thu Jan 23 15:40:02 2025
    On Thu, Jan 23, 2025 at 08:45:02AM -0500, Haines Brown wrote:
    My attemtpts configure mlterm have no effect. For exaJmple, I create a file .mlterm/font with the line line: DEFAULT=20x28.
    And in the file .m lterm/background is the line bg_color=linen


    Well,
    what you did is just the wrong syntax.

    in .mlterm/font DEFAULT needs a font. Like "monospace"
    according to the man .mlterm/background is not a file recognized by mlterm

    -H

    --
    Henning Follmann | [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Haines Brown@21:1/5 to Henning Follmann on Thu Jan 23 21:10:01 2025
    On Thu, Jan 23, 2025 at 09:35:24AM -0500, Henning Follmann wrote:
    On Thu, Jan 23, 2025 at 08:45:02AM -0500, Haines Brown wrote:
    My attemtpts configure mlterm have no effect. For exaJmple, I
    create a file .mlterm/font with the line line: DEFAULT=20x28. And
    in the file .m lterm/background is the line bg_color=linen


    Well,
    what you did is just the wrong syntax.

    in .mlterm/font DEFAULT needs a font. Like "monospace"
    according to the man .mlterm/background is not a file recognized by mlterm

    Thanks, Henning, but I remain bewildered.

    The mlterm man page provides command line options, I find these all
    work and are what I am after:

    -f 20 -
    -g 128x30
    -bg FAF0E6

    There is a section in the manual for a background page and the font
    page, but, oddly, not for the main page. But intstead of providing a
    syntax for the pages, they merely repeat the command line options.

    For some reason when I start mlterm, the background color is linen,
    That's what I want, but forget what I did to get it. It been many
    year since I've worried about it. But when I now install a UHD monitor
    I have to make adjustments.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Haines Brown@21:1/5 to Henning Follmann on Sat Jan 25 16:50:01 2025
    On Thu, Jan 23, 2025 at 09:35:24AM -0500, Henning Follmann wrote:
    On Thu, Jan 23, 2025 at 08:45:02AM -0500, Haines Brown wrote:
    My attemtpts configure mlterm have no effect. For exaJmple, I create a file .mlterm/font with the line line: DEFAULT=20x28.
    And in the file .m lterm/background is the line bg_color=linen


    Well,
    what you did is just the wrong syntax.

    in .mlterm/font DEFAULT needs a font. Like "monospace"
    according to the man .mlterm/background is not a file recognized by mlterm

    The man page was not much help. It provides only command line options.
    I find that these work, but I want is toi have information in the ~/.mlterm/main config file such as this:

    geometry = 128x30
    bg_color = FAF0E6
    font = monospace20

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Haines Brown@21:1/5 to Henning Follmann on Sun Jan 26 19:30:01 2025
    On Thu, Jan 23, 2025 at 09:35:24AM -0500, Henning Follmann wrote:
    On Thu, Jan 23, 2025 at 08:45:02AM -0500, Haines Brown wrote:
    My attemtpts configure mlterm have no effect. For exaJmple, I create a file .mlterm/font with the line line: DEFAULT=20x28.
    And in the file .m lterm/background is the line bg_color=linen


    Well,
    what you did is just the wrong syntax.

    in .mlterm/font DEFAULT needs a font. Like "monospace"
    according to the man .mlterm/background is not a file recognized by mlterm

    Thanks, but man mlterm discuses command line options, but not syntax for a condfiguration file.
    What seek is
    geometry = 128x30
    font = monospace-20
    bg = FAF0E6

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [email protected]@21:1/5 to Darac Marjal on Sun Jan 26 21:30:01 2025
    Darac Marjal <[email protected]> wrote:
    On 26/01/2025 18:29, Haines Brown wrote:
    On Thu, Jan 23, 2025 at 09:35:24AM -0500, Henning Follmann wrote:
    On Thu, Jan 23, 2025 at 08:45:02AM -0500, Haines Brown wrote:
    My attemtpts configure mlterm have no effect. For exaJmple, I
    create a file .mlterm/font with the line line: DEFAULT=20x28. And
    in the file .m lterm/background is the line bg_color=linen


    Well,
    what you did is just the wrong syntax.

    in .mlterm/font DEFAULT needs a font. Like "monospace"
    according to the man .mlterm/background is not a file recognized
    by mlterm
    Thanks, but man mlterm discuses command line options, but not
    syntax for a condfiguration file. What seek is
    geometry = 128x30
    font = monospace-20
    bg = FAF0E6

    Maybe your man page is different. https://manpages.debian.org/bookworm/mlterm/mlterm.1.en.html shows
    the manpage as in Bookworm. There, under the section "CONFIGURATION",
    it states:

    *    mlterm* loads configuration files of "*main*", "*font*",
    "*vfont*", "*tfont*", "*aafont*", "*vaafont*", "*taafont*",
    "*color*", "*key*", "*termcap*", and "*xim*" on start up.

        The contents of these configuration files (other than *menu*) consist of lines of "/key/=/value/" format. Lines beginning with
    "*#*" are ignored.

        Note that the configuration files are changed since version
    1.9.44.

    Then, under "Main Configuration File" it states:


    *bg_color=*/color/ (*-b*, *--bg*)
    <https://manpages.debian.org/bookworm/mlterm/mlterm.1.en.html#bg_color=>
    Background color.

    *geometry=*/value/ (*-g*, *--geometry*)
    <https://manpages.debian.org/bookworm/mlterm/mlterm.1.en.html#geometry=>
    Specify size and position of the window; see X(7)
    <https://manpages.debian.org/bookworm/xorg-docs-core/X.7.en.html>.

    Then, under "Font Configuration File" it states:

    The font configuration files "*font*", "*vfont*", "*tfont*",
    "*aafont*", "*vaafont*", and "*taafont*" have the following keys.

    *DEFAULT=*/font/

    //

    (and so on..)


    So, my reading of that could be that *.mlterm/main* should read:

        bg_color=FAF0E6
    geometry=128x30

    The page also mentions "Valid values for color are color names defined
    in rgb.txt and color rgb string whose format is "#RRGGBB", "#RRGGBBAA", "rgb:RR/GG/BB" or "rgba:RR/GG/BB/AA"."

    Six hex digits unadorned is not there! :)


    and *.mlterm/font* should read:

    DEFAULT=monospace-20

    But if I could read that information (and I don't even use mlterm)
    maybe I've misunderstood your problem?


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Haines Brown@21:1/5 to Darac Marjal on Tue Jan 28 14:00:01 2025
    On Sun, Jan 26, 2025 at 07:04:44PM +0000, Darac Marjal wrote:

    On 26/01/2025 18:29, Haines Brown wrote:
    On Thu, Jan 23, 2025 at 09:35:24AM -0500, Henning Follmann wrote:
    On Thu, Jan 23, 2025 at 08:45:02AM -0500, Haines Brown wrote:
    My attemtpts configure mlterm have no effect. For exaJmple, I create a file .mlterm/font with the line line: DEFAULT=20x28.
    And in the file .m lterm/background is the line bg_color=linen


    Well,
    what you did is just the wrong syntax.
    ...
    So, my reading of that could be that *.mlterm/main* should read:

    ��� bg_color=FAF0E6
    geometry=128x30

    and *.mlterm/font* should read:

    DEFAULT=monospace-20

    But if I could read that information (and I don't even use mlterm) maybe
    I've misunderstood your problem?

    Yes, the problem is that the configuration has no effect. My .mlterm/main
    file constains:

    geometry = 128x30
    bg_color = #FAF0E6
    bg_color = FAF0E6

    and my font file has:

    DEFAULT = monospace-20

    This has no effect. I presume I do not have to restart X or reboot to
    have them have effect.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Greg Wooledge@21:1/5 to Haines Brown on Tue Jan 28 14:30:02 2025
    On Tue, Jan 28, 2025 at 07:51:44 -0500, Haines Brown wrote:
    On Sun, Jan 26, 2025 at 07:04:44PM +0000, Darac Marjal wrote:
    So, my reading of that could be that *.mlterm/main* should read:

    ��� bg_color=FAF0E6
    geometry=128x30

    and *.mlterm/font* should read:

    DEFAULT=monospace-20

    Yes, the problem is that the configuration has no effect. My .mlterm/main file constains:

    geometry = 128x30
    bg_color = #FAF0E6
    bg_color = FAF0E6

    and my font file has:

    DEFAULT = monospace-20

    Do you see the difference between what you wrote, and what Darac wrote?

    I found <https://manpages.debian.org/bookworm/mlterm/mlterm.1.en.html>
    which has a "CONFIGURATION" section, which says:

    The contents of these configuration files (other than menu)
    consist of lines of "key=value" format. Lines beginning with
    "#" are ignored.

    Your files have spaces around the = sign. The man page, and Darac's
    proposal, do not. So, the first thing I would try would be to remove
    the spaces.

    However, the people who wrote <https://wiki.archlinux.org/title/Mlterm>
    seem to think the spaces are allowed. Some of their examples have
    spaces in them. And some do not. So... who knows. I've never used
    this terminal before, so all I can do is search for documentation.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Haines Brown@21:1/5 to Greg Wooledge on Tue Jan 28 20:40:02 2025
    On Tue, Jan 28, 2025 at 08:25:57AM -0500, Greg Wooledge wrote:
    On Tue, Jan 28, 2025 at 07:51:44 -0500, Haines Brown wrote:
    On Sun, Jan 26, 2025 at 07:04:44PM +0000, Darac Marjal wrote:
    So, my reading of that could be that *.mlterm/main* should read:

    ��� bg_color=FAF0E6
    geometry=128x30

    and *.mlterm/font* should read:

    DEFAULT=monospace-20

    Yes, the problem is that the configuration has no effect. My .mlterm/main file constains:

    geometry = 128x30
    bg_color = #FAF0E6
    bg_color = FAF0E6

    and my font file has:

    DEFAULT = monospace-20

    Do you see the difference between what you wrote, and what Darac wrote?

    Yes retarding the spaces around the equal sign. Based on my limited
    experiene I'm surprised it makes a difference.

    But that is not the real problem. For example, Darac said that the configuration for fonts is:

    DEFAULT=*/font/

    What is the asterisk there for? Is the forward slashes around the
    workd "font " means to indicate it is variable? I had assumed so. In
    any case in my font file I have the line

    DEFAULT=monospace-20

    This has no effect. My main file has the line bg_color=red and this has no effect either.

    My default mlterm window linen background, which is what I want. If I
    use any command line options, the background turns white. This
    suggests to me there is a configutatioan file somewhere that ddoes not
    yield to what is in the files in ~/.mltemp



    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)