Logs on 2021-10-23 (liberachat/#xmonad)
| 00:00:07 | <L29Ah> | how do you ppl set and revert terminal emulator window titles? |
| 00:00:24 | <L29Ah> | vim does that somehow, but i couldn't understand what's going on after reading its and urxvt's source code |
| 00:01:41 | <liskin> | L29Ah: vim cheats, it reads it by looking at the WINDOWID env var and then going through X |
| 00:02:35 | <liskin> | there isn't any better way, really. xterm has escapes for that but these are by default disabled presumably for security reasons, and urxvt doesn't have that at all |
| 00:03:32 | <geekosaur> | interestingly those escapes are not disabled in the mate and gnome terminal emulators |
| 00:03:42 | <geekosaur> | (but what they accept is sanitized) |
| 00:04:41 | <geekosaur> | so my prompt+etc. setup sends a bunch of escapes to set the window and icon titles (the latter is often used by taskbars/pagers) |
| 00:05:18 | <liskin> | hm, sanitizing probably helps, but it's still risky |
| 00:05:45 | <liskin> | if you're in a root shell, you don't want anything asking the terminal to dump the title to the pty input |
| 00:06:17 | <geekosaur> | that's a different set of escapes though |
| 00:08:50 | <L29Ah> | liskin: i see some code that supposedly should output the title in urxvt but it doesn't for me |
| 00:09:29 | <L29Ah> | ahh it's disabled for security's sake |
| 00:10:36 | <liskin> | well vim does weird shit |
| 00:11:12 | <geekosaur> | one thing that gets me about all this is $WINDOWID is as much of a security violation as the others, possibly more so |
| 00:11:13 | <liskin> | like I had to hack the terminfo entry to contain the word "xterm" otherwise some stuff wouldn't work: https://github.com/liskin/dotfiles/blob/home/.terminfo/terminfo.src#L1 |
| 00:11:25 | <L29Ah> | http://www.shelldorado.com/scripts/cmds/xtitle great i found some $WINDOWID kludges |
| 00:15:21 | <liskin> | note that vim only uses WINDOWID for reading, it uses \033]0;…\007 to set the title as any other terminal program should |
| 00:15:26 | <liskin> | it wouldn't work in tmux otherwise |
| 00:16:11 | <liskin> | (it's still crazy to use WINDOWID in tmux but it usually works) |
| 00:18:10 | <geekosaur> | oh. yeh, I only ever set it |
| 00:18:30 | <geekosaur> | use wrappers around commands that change the title themselves to restore it |
| 00:19:06 | <geekosaur> | also wrappers around things that change state I show in the prompt and/or titlebar |
| 00:19:56 | <liskin> | well it's a bit silly that vim will only set the title if it thinks it can restore it, as many people configure their shell to just reset it in PROMPT_COMMAND |
| 00:20:25 | <liskin> | (although it quite likely can be overridden somehow, I haven't had to go that deep fortunately) |
| 00:21:23 | <geekosaur> | I'd use that but it actually takes a while to generate all the information I stuff in there so I optimize to only regen it when needed |
| 00:38:47 | × | mvk quits (~mvk@2607:fea8:5cc1:300::4b63) (Ping timeout: 264 seconds) |
| 01:01:55 | × | mestre quits (~mestre@191.177.175.57) (Quit: Lost terminal) |
| 02:03:23 | × | bsjd` quits (~user@2a02:a020:52:a929:bed2:ac3a:6654:7798) (Ping timeout: 264 seconds) |
| 02:03:23 | × | bsjd quits (~user@2a02:a020:52:a929:bed2:ac3a:6654:7798) (Ping timeout: 264 seconds) |
| 02:03:55 | × | banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 265 seconds) |
| 02:22:11 | → | banc joins (banc@gateway/vpn/airvpn/banc) |
| 02:40:35 | × | td_ quits (~td@94.134.91.189) (Ping timeout: 264 seconds) |
| 02:42:09 | → | td_ joins (~td@muedsl-82-207-238-090.citykom.de) |
| 02:45:15 | × | eyenx quits (~m-5paiux@eyenx.ch) (Remote host closed the connection) |
| 02:46:03 | → | eyenx joins (~m-5paiux@eyenx.ch) |
| 03:56:03 | × | catman quits (~catman@user/catman) (Ping timeout: 265 seconds) |
| 03:59:13 | → | catman joins (~catman@user/catman) |
| 05:58:08 | → | ^[ joins (~user@user//x-8473491) |
| 06:12:55 | <Solid> | 08:05 <liskin> [01:52:14] so I guess I'll leave this bit for Solid to tackle as he originally suggested that :-) << fair enough :) |
| 06:13:17 | <Solid> | though I'd hope that most changes (like the XDG handling) are backwards compatible and thus wouldn't necessarily be "breaking changes" as such |
| 06:15:08 | <Solid> | some things are _technically_ breaking changes (like changing `data T = T { a :: !A }` to `newtype T = T { a :: A }` ostensibly changes the strictness behaviour slightly) but I'd hope no one relies on these |
| 06:22:42 | <Solid> | as for the email I'd go for a proper plain text version of that markdown file (possibly shortened, but not necessarily) |
| 07:00:07 | → | qbt joins (~qbt@user/edun) |
| 07:33:17 | × | Guest2999 quits (~ectospasm@23-227-173-50.static.hvvc.us) (Quit: WeeChat 3.3) |
| 07:33:30 | → | ectospasm joins (~ectospasm@user/ectospasm) |
| 08:31:22 | → | bsjd joins (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) |
| 08:37:18 | × | bsjd quits (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) (Read error: Connection reset by peer) |
| 08:41:39 | → | bsjd joins (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) |
| 09:00:07 | × | syntactic_sugar[ quits (~syntactic@2001:470:69fc:105::b4af) (Quit: You have been kicked for being idle) |
| 09:24:29 | → | seschwar joins (~seschwar@user/seschwar) |
| 09:27:48 | × | bsjd quits (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) (Remote host closed the connection) |
| 09:31:17 | × | qbt quits (~qbt@user/edun) (Quit: Leaving.) |
| 09:33:20 | → | bsjd joins (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) |
| 09:55:00 | × | bsjd quits (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) (Remote host closed the connection) |
| 10:09:49 | → | mestre joins (~mestre@191.177.175.57) |
| 10:10:01 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 10:11:38 | → | bsjd joins (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) |
| 10:31:44 | → | qbt joins (~qbt@user/edun) |
| 10:47:07 | × | bsjd quits (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) (Remote host closed the connection) |
| 10:48:31 | → | bsjd joins (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) |
| 10:59:33 | × | bsjd quits (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) (Remote host closed the connection) |
| 11:00:36 | → | bsjd joins (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) |
| 11:00:37 | → | bsjd` joins (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) |
| 11:01:36 | × | bsjd` quits (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) (Remote host closed the connection) |
| 11:01:36 | × | bsjd quits (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) (Remote host closed the connection) |
| 11:05:26 | → | bsjd joins (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) |
| 11:05:32 | → | bsjd` joins (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) |
| 11:06:42 | × | bsjd quits (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) (Remote host closed the connection) |
| 11:06:42 | × | bsjd` quits (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) (Remote host closed the connection) |
| 11:07:21 | → | bsjd joins (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) |
| 11:09:11 | × | bsjd quits (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) (Remote host closed the connection) |
| 11:10:02 | → | bsjd joins (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) |
| 11:11:21 | × | bsjd quits (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) (Remote host closed the connection) |
| 11:56:37 | <liskin> | hm, the Virtual Haskell Cohack is today: https://www.meetup.com/NY-Haskell/events/280998863 |
| 11:56:58 | <liskin> | but writing a release announcement isn't exactly an exciting thing for a hackathon, is it? |
| 12:00:42 | <geekosaur> | not really. and it's somewhat badly timed wrt the release |
| 12:00:50 | <geekosaur> | unless we want a headstart on 0.18 |
| 12:15:57 | <liskin> | it's just me still thinking that these events are something that I should enjoy, and every time I try it's a bit of a disaster :-) |
| 12:16:40 | <liskin> | like zurihac, I couldn't focus on a thing and it took me days to catch up with the talks I wanted to see, I have no idea how anyone manages to actually hack on something as well |
| 12:17:18 | <liskin> | on the other hand zurihac have us the sublayouts window swallowing contribution which I enabled a couple days ago and it's awesome |
| 12:17:35 | <liskin> | so here I am again thinking what to do to make the most of the cohack :-/ |
| 12:17:43 | <liskin> | s/have us/gave us/ |
| 12:20:16 | <geekosaur> | sounds like my life tbh |
| 12:32:14 | <Solid> | last time that cohack thing relied on using proprietary video conferencing software :/ |
| 12:32:41 | Solid | is busy for the rest of the day anyways, though |
| 12:51:35 | × | electr0n quits (~electr0n@about/security/founder/electr0n) (Quit: WeeChat 3.3) |
| 12:53:51 | <liskin> | Solid: what software? |
| 12:54:04 | <liskin> | (haven't seen any details/instructions anywhere) |
| 13:05:23 | → | bsjd joins (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) |
| 13:16:14 | × | mestre quits (~mestre@191.177.175.57) (Quit: Lost terminal) |
| 14:06:38 | <Solid> | liskin: afair it was zoom |
| 14:53:34 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 14:55:14 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 17:16:42 | × | catman quits (~catman@user/catman) (Ping timeout: 260 seconds) |
| 17:46:11 | → | allbery_b joins (~geekosaur@xmonad/geekosaur) |
| 17:46:11 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b))) |
| 17:46:14 | allbery_b | is now known as geekosaur |
| 17:50:10 | × | bsjd quits (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) (Read error: Connection reset by peer) |
| 18:38:33 | → | benin joins (~benin@183.82.207.116) |
| 18:40:49 | × | ml| quits (~ml|@user/ml/x-5298235) (Ping timeout: 252 seconds) |
| 18:54:09 | → | ml| joins (~ml|@user/ml/x-5298235) |
| 19:59:53 | × | qbt quits (~qbt@user/edun) (Quit: Leaving.) |
| 20:50:05 | × | benin quits (~benin@183.82.207.116) (Ping timeout: 244 seconds) |
| 20:51:15 | → | benin joins (~benin@183.82.207.116) |
| 21:24:12 | → | allbery_b joins (~geekosaur@xmonad/geekosaur) |
| 21:24:12 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b))) |
| 21:24:15 | allbery_b | is now known as geekosaur |
| 22:01:10 | → | catman joins (~catman@user/catman) |
| 22:42:00 | → | cyr4x3 joins (~cyr4x3@139.47.115.87) |
| 22:43:13 | × | catman quits (~catman@user/catman) (Ping timeout: 244 seconds) |
| 22:44:15 | × | benin quits (~benin@183.82.207.116) (Ping timeout: 244 seconds) |
| 22:44:46 | → | benin joins (~benin@183.82.207.116) |
| 22:45:44 | → | catman joins (~catman@user/catman) |
| 22:54:17 | × | cyr4x3 quits (~cyr4x3@139.47.115.87) (Quit: WeeChat 2.3) |
| 23:43:40 | → | mvk joins (~mvk@2607:fea8:5cc1:300::4b63) |
| 23:59:58 | × | seschwar quits (~seschwar@user/seschwar) (Quit: :wq) |
All times are in UTC on 2021-10-23.