<elshize>
unless I'm doing something wrong, but when I press ctrl+shift+u, I only get the first line highlighted
<elshize>
might be because it's inside mutt
<lechner>
in weechat, there is alt-l (ell)
<elshize>
k
<ericonr>
elshize: it needs to be actually multiline, like if you cat a file
<ericonr>
If there are frames, like in an editor or some other TUI application, foot usually can't find the entire URL
<ericonr>
If you split a tmux window you will face the same issue
<veiviser>
yeah, seems to work on just a raw url being cat
<elshize>
ericonr: hmm, that's a shame
<veiviser>
but considering how rare it is itll be aligned like that, usually dont get to make use of it
<ericonr>
I usually use it with weechat, where lechner's suggestion is plenty enough
<veiviser>
yeah, i have a similar thing in mine
<ericonr>
Or short enough links too :p
<veiviser>
if only everything was short
<elshize>
yeah, ususally they're short enough
<ericonr>
elshize: I don't think any terminal can implement what you want
<elshize>
sadly, some generated links in emails are super long
<elshize>
oh well
<elshize>
worth a try :)
<veiviser>
its usually at least slightly easy to copy wrapped email links
<veiviser>
even if its a hassle
<elshize>
yeah, definitely doable
craftyguy has quit [Ping timeout: 252 seconds]
<lechner>
Hi, is it possible to save all buffered lines from the terminal? I forgot to capture a long-running log. Thanks!
<veiviser>
there is a pipe-scrollback hotkey you can bind, but by default its not
<lechner>
bummer. thanks!
craftyguy has joined #foot
<Arnavion>
You can also scroll to the top, start a tiny selection, scroll to the bottom, and then extend the selection to end. scrollback-up-page, scrollback-down-page and select-extend in the config - Shift+PgUp, Shift+PgDn, right-click by default
<lechner>
Arnavion: thanks! i'll try
<Arnavion>
Also, re: your TERM question, when openssh 8.7p1 releases it'll support doing `SetEnv TERM=xterm` in ~/.ssh/config so you can do that for specific hosts that you know won't have the foot terminfo
<lechner>
Arnavion: yay! that saved me four or five hours while documenting a bug in Debian's webpages. thanks so much!
themainman has quit [Quit: WeeChat 3.1]
rcf has quit [Quit: WeeChat 3.3-dev]
rcf has joined #foot
yyp has joined #foot
<dnkl>
elshize: for proper URL support, you want OSC8 support in the editor/tmux/<application>. With that, line crossing URLs will work, even inside panes/frames etc.
<dnkl>
lechner: I have occasionally used an alias: ssh='TERM=xterm-256color ssh'
novakane has joined #foot
<lechner>
dnkl: thanks!
<dnkl>
Arnavion: thanks for the openssh tip!
lilblacky has joined #foot
<lilblacky>
So I had to reference something from sway master today and noticed that foot had been set as the "preferred" term for sway back in May. Nice!
<dnkl>
lilblacky: very nice :) don't think it has made it into a sway release yet though?
<dnkl>
River's example conf also uses foot, btw
<Arnavion>
Yeah, ddevault switched to it so he updated the default config
<tsujp>
hey dnkl you know how kitty (the terminal emulator) has kittens and specifically one for ssh that automatically adds the terminfo to an ssh session
<tsujp>
would you accept a pr equivalent of something like that in foot?
<tsujp>
im torn between trying because I am also writing a script that just checks if the host id is in .known-hosts and if it is NOT it will do xinfocmp first otherwise normally ssh
<tsujp>
so idk if it's in-line with minimalistic
<tsujp>
s/xinfocmp/infocmp/
<tsujp>
i.e. `infocmp -a foot | ssh user@remote tic -x -o \~/.terminfo /dev/stdin`
<dnkl>
tsujp: did you see the ssh link from Arnavion earlier? Next openssh release will be able to set per-host custom TERM values
<tsujp>
I did not see this, lemme open channel logs
<dnkl>
tsujp: but that will if course not use foot's own terminfo on the remote
<tsujp>
right that's just a way of forcing the TERM during connection automatically
<tsujp>
so there's still scope for something to get foot's terminfo on the host
<tsujp>
either a "hey use this pre-made script" or "use this feature of foot"
<dnkl>
Re toes (kittens...), Guess that depends on how it's implemented. If it's scripted on top of foot, it can go in a contrib directory
<tsujp>
my god `toes` LMFAO
<dnkl>
If it requires changes to foot itself, I'd have to see them implementation before deciding
<dnkl>
Or at least the planned design
<tsujp>
ill finish my script and then do the contrib thing first
<dnkl>
Anyone running emacsclient 28 in terminal mode? Having issues with it not starting at all...
<cbb>
#define MAX_TOES 5
<cbb>
any more than that is sacrilege
<dnkl>
cbb: and prevent footclient from spawning more than two feet
<cbb>
dnkl: lol
<cbb>
dnkl: do you build emacs yourself?
<fnurkla>
dnkl: starts up just fine for me
<dnkl>
cbb: no. Usually run stable 27. Wanted to test the new native compilation and installed the arch aur package, which is pre-compiled
<dnkl>
fnurkla: weird. Regular emacs -nw works just fine... But emacsclient -nw doesn't 🤷♂️
<fnurkla>
dnkl: that starts fine for me too
<fnurkla>
I use the emacs-gcc-wayland-devel-bin AUR package
<dnkl>
fnurkla: me too. Guess that means there's something in my conf. Wasn't obvious from the error message...
<dnkl>
That was it, with emacs -q --daemon it works
* dnkl
goes bug hunting
tsujp has quit [Ping timeout: 246 seconds]
lilblacky has quit [Ping timeout: 248 seconds]
<dnkl>
I built the nox-version of emacs-git instead, and now everything works
<dnkl>
Nice, emacs now recognizes COLORTERM. Emacs was the only application I'm using that needed the foot-direct terminfo.
novakane has quit [Quit: WeeChat 3.2]
novakane has joined #foot
fnurkla has quit [Read error: Connection reset by peer]
novakane has quit [Quit: WeeChat 3.2]
novakane has joined #foot
cbb has quit [Ping timeout: 268 seconds]
cbb has joined #foot
hexa- has joined #foot
<lechner>
Hi, on emacs: I like to use the lightweight yi, an emacs clone, over ssh (in a foot terminal, of course) but C-y (yank) does not work. Another clone, mg, does not have that problem, and both work fine locally. Could that be terminal-relatod? Thanks!
<testuser[m]>
Did you try another terminal
<dnkl>
lechner: you mean pasting to/from other applications? Check which pasting technique it uses. For it to work seamless over ssh, you'll want to use OSC-52.
<dnkl>
I use it in regular emacs, but don't know if yi supports it
<lechner>
dnkl: no, just within yi, i.e. C-k followed by C-y
<dnkl>
Have you verified it recognizes the keys correctly?
<lechner>
i'm not sure i know how to do that
elshize has quit [Remote host closed the connection]
fnurkla has joined #foot
elshize has joined #foot
<dnkl>
'describe-key', followed by C-k/y is a start
<lechner>
dnkl: yeah, that function is not implemented. it's some interaction with cursor movement. C-y work in the original placa, but that defies the purpose. It only happens remotely. Is the foot terminfo selected automatically, if installed?
<dnkl>
No, there's no such auto-detection. Foot will export TERM to whatever you have configured in foot.ini (and _that_ defaults to 'foot')
<dnkl>
But if you ssh and override TERM then that's obviously what gets used
<dnkl>
And, if you have start TERM to foot, and that terminfo isn't installed, then *no* terminfo is active
<dnkl>
s/start/set
elshize has quit [Ping timeout: 268 seconds]
elshize has joined #foot
fnurkla has quit [Ping timeout: 268 seconds]
fnurkla has joined #foot
themainman has quit [Quit: WeeChat 3.1]
themainman has joined #foot
elshize has quit [Ping timeout: 268 seconds]
elshize has joined #foot
ecs has quit [Read error: Connection reset by peer]
ecs has joined #foot
ecs is now known as Guest780
elshize has quit [Ping timeout: 248 seconds]
Guest780 is now known as ecs
ecs has joined #foot
ecs has quit [Changing host]
elshize has joined #foot
themainman has quit [Quit: WeeChat 3.1]
themainman has joined #foot
novakane has quit [Quit: WeeChat 3.2]
fnurkla has quit [Quit: WeeChat 3.2]
<Arnavion>
Oh, I didn't know kitty had such a feature
<Arnavion>
I wonder if that idea of "a pre-ssh command to load the terminfo" can be adapted to work with my FreeBSD machine, since it can't use foot's terminfo even if it wanted to