Darac Marjal <mailingl...@darac.org.uk> 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?
> 

Reply via email to