<ericonr>
I compiled a fully static foot and moved it over to another system by itself, and it looks like it fails to load the system configs under XDGCONFIG
<ericonr>
...XDG_CONFIG_DIRS and then doesn't try to load the one under home
<ericonr>
I found that via strace but couldn't figure out why
<ericonr>
And I just realized it's because I compiled statically with musl to deploy on a glibc system with dynamic users and get_user_home_dir uses passwd()
ashpil has joined #foot
hpfr has quit [Ping timeout: 240 seconds]
ashpil has quit [Ping timeout: 252 seconds]
hpfr has joined #foot
Consolatis_ has joined #foot
Consolatis_ is now known as Consolatis
Consolatis is now known as Guest9617
Guest9617 has quit [Ping timeout: 272 seconds]
<ericonr>
turns out I forgot to type it out, is there some reason to do this with passwd() and not fallback to $HOME?
<sterni>
doesn't the XDG spec demand that $HOME is used?
<dnkl>
haven't read that part of the spec.. but if so, of course we should change it. foot that is, not the spec...
<ericonr>
all your specs are belong to us :D
<ericonr>
I just installed nscd for the moment as a stopgap, but I can make a patch later, if you don't get to it before I do
<sterni>
> $XDG_CONFIG_HOME defines the base directory relative to which user-specific configuration files should be stored. If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used.
<sterni>
dnkl: looks good, I guess you could stick with the old behavior for expanding ~
<yyp>
Hi! From where escape sequences in keymap.h are coming from?
<dnkl>
yyp: some are documented in XTerm's "control sequences" document. The rest have been manually checked against xterm
<dnkl>
sterni: maybe, but I'm not sure it's a good idea to use different mechanisms for locating the home directory. That could end up being confusing
<sterni>
indeed
<sterni>
it probably also doesn't make sense to fall back to the old behavior
<sterni>
I guess HOME should be documented in the env vars section of the man page if you have such a seciton
<dnkl>
sterni: ah, yes we do. thanks!
<yyp>
dnkl: thanks, but I couldn't find <esc>[27;modifiers;key~ format in that document
<dnkl>
yyp: not at the computer right now, but try searching for "modifyOtherKeys". Foot defaults to level 1.
<ericonr>
dnkl: cheers, thanks!
<ericonr>
Good to know about SHELL too :)
sorta has quit [Ping timeout: 240 seconds]
stian has joined #foot
<stian>
Hi, just wondering if there is a undocumented feature to use the scrollbar without the mousue wheel or keyboard. Like using mousepointer to drag up and down?