dnkl changed the topic of #foot to: Foot - fast, lightweight and minimalistic Wayland terminal emulator || 1.20.2 || https://codeberg.org/dnkl/foot || channel logs: https://libera.irclog.whitequark.org/foot
mtm has quit [Ping timeout: 260 seconds]
boomboxnation has joined #foot
mtm has joined #foot
erdem has quit [Quit: ZNC 1.9.1 - https://znc.in]
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
ls-alh has joined #foot
ls-alh has quit [Ping timeout: 240 seconds]
<dnkl> ls-alh (for the logs): foot propagates the exit value of the shell. When you close the window via a compositor shortcut, or the CSD, foot sends SIGHUP to the shell. Bash, zsh and sh seem to respond by exiting with value 1. Fish exits with value 0
dutchie has quit [Ping timeout: 276 seconds]
dutchie has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
xenrox has quit [Remote host closed the connection]
xenrox has joined #foot
<dnkl> I suppose we could special case SIGHUP and just exit with 0 in that case
<dnkl> not sure I think it's a good idea, but made a patch and posted a PR for discussion: https://codeberg.org/dnkl/foot/pulls/1941
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
Guest17 has joined #foot
Guest17 has quit [Quit: Client closed]
Guest77 has joined #foot
<Guest77> I need some help with `show-url-launch`. The urls are highlighted correctly but whenever I press the corresponding buttons, nothing happens. Running foot with log-level info also shows no relevant info. Are there any other ways of figuring out why this does not work?
sreaming has quit [Quit: Ping timeout (120 seconds)]
sreaming has joined #foot
<dnkl> Guest77: by default, foot runs xdg-open <url>. try that manually and see what happens
<Guest77> running xdg-open manually works as expected
<dnkl> which is?
<dnkl> you could also try strace:ing foot, maybe with follow-forks, to see what happens
alebastr has quit [Ping timeout: 252 seconds]
alebastr has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
mtm has quit [Ping timeout: 272 seconds]
boomboxnation has joined #foot
mtm has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
<Guest77> dnkl basically firefox opens the file (which is not the correct program, but that's unrelated to foot).
<Guest77> I use foot in server mode, could this be related or cause this?
<dnkl> Guest77: yes, --server is likely the cause here. Try in a standalone foot instance to verify.
<dnkl> if that works, it's hard to say exactly what's wrong with your server setup. *something* in the environment variables perhaps
<dnkl> fwiw, I open links in firefox, with foot --server, without any issues
<Guest77> Hmm, I see. Would it me sufficient to execute `foot` in a foot client, and test url open in the newly spawned terminal?
boomboxnation has joined #foot
<dnkl> if 'xdg-open' works from the foot client, I would assume running 'foot' from there, and then launching URLs would work
<dnkl> other things to try is setting "url.launch=firefox ${url}"
<dnkl> that is, skip xdg-open
<Guest77> actually setting the launcher to firefox did something: I now get the error `firefox <full path>: failed to spawn: no such file or directory
<Guest77> manually executing the same command works as the path is correct
<dnkl> sounds like Firefox isn't in your PATH variable, as seen by foot
chilledfrogs has quit [Quit: connection reset by purr]
<Guest77> hmmmmm, I think there is something else going on, I'll have to debug further. For now, I use the copy url command instead. Thanks a lot!
chilledfrogs has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
chilledfrogs has quit [Ping timeout: 248 seconds]
boomboxnation has quit [Read error: Connection reset by peer]
chilledfrogs has joined #foot
boomboxnation has joined #foot
Guest77 has quit [Quit: Client closed]
<ovf> so if i (by accident) am running under rlwrap, there's no single control sequence to say "disable fancy features i don't support", i have to explicitly disable e.g. bracketed paste mode that readline has enabled?
<ovf> (or perhaps i'm missing something about terminal replies that will allow me to swallow ones i don't recognise)
boomboxnation has quit [Read error: Connection reset by peer]
<dnkl> ovf: no, there's no such thing
<dnkl> an application can implement the VT parsing state machine. That would allow it to handle replies it recognizes and ignore ("swallow") all others
boomboxnation has joined #foot
<ovf> thanks! i guess i was missing https://vt100.net/emu/dec_ansi_parser (for some reason that's much more difficult to read than a normal state transition diagram, but at least i can see that there is a grammar of csi replies that i can implement)
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
primalmotion has quit [Quit: Bye]
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
aktina has quit [Ping timeout: 252 seconds]
sewn has quit [Ping timeout: 252 seconds]
boomboxnation has joined #foot
chilledfrogs has quit [Quit: connection reset by purr]
chilledfrogs has joined #foot
<rockorager> dnkl: any performance difference between using mode 2027 or explicity width? I am defaulting to use explicit width if it's available, so terminals (like foot) that support both will use explicit width
<rockorager> But since you would be the first to support both - I'd prefer to set a precedence if there is one that is a clear winner
<rockorager> s/explicity/explicit
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
xgpt has quit [Quit: The Lounge - https://thelounge.chat]
xgpt has joined #foot
nrv has joined #foot
chimo has quit [Ping timeout: 252 seconds]
boomboxnation has quit [Read error: Connection reset by peer]
nrv has quit [Quit: Client closed]
nrv has joined #foot
boomboxnation has joined #foot
chimo has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
nrv has quit [Quit: Client closed]
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot