| 2021-10-23 00:00:07 +0000 | <L29Ah> | how do you ppl set and revert terminal emulator window titles? |
| 2021-10-23 00:00:24 +0000 | <L29Ah> | vim does that somehow, but i couldn't understand what's going on after reading its and urxvt's source code |
| 2021-10-23 00:01:41 +0000 | <liskin> | L29Ah: vim cheats, it reads it by looking at the WINDOWID env var and then going through X |
| 2021-10-23 00:02:35 +0000 | <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 |
| 2021-10-23 00:03:32 +0000 | <geekosaur> | interestingly those escapes are not disabled in the mate and gnome terminal emulators |
| 2021-10-23 00:03:42 +0000 | <geekosaur> | (but what they accept is sanitized) |
| 2021-10-23 00:04:41 +0000 | <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) |
| 2021-10-23 00:05:18 +0000 | <liskin> | hm, sanitizing probably helps, but it's still risky |
| 2021-10-23 00:05:45 +0000 | <liskin> | if you're in a root shell, you don't want anything asking the terminal to dump the title to the pty input |
| 2021-10-23 00:06:17 +0000 | <geekosaur> | that's a different set of escapes though |
| 2021-10-23 00:08:50 +0000 | <L29Ah> | liskin: i see some code that supposedly should output the title in urxvt but it doesn't for me |
| 2021-10-23 00:09:29 +0000 | <L29Ah> | ahh it's disabled for security's sake |
| 2021-10-23 00:10:36 +0000 | <liskin> | well vim does weird shit |
| 2021-10-23 00:11:12 +0000 | <geekosaur> | one thing that gets me about all this is $WINDOWID is as much of a security violation as the others, possibly more so |
| 2021-10-23 00:11:13 +0000 | <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 |
| 2021-10-23 00:11:25 +0000 | <L29Ah> | http://www.shelldorado.com/scripts/cmds/xtitle great i found some $WINDOWID kludges |
| 2021-10-23 00:15:21 +0000 | <liskin> | note that vim only uses WINDOWID for reading, it uses \033]0;…\007 to set the title as any other terminal program should |
| 2021-10-23 00:15:26 +0000 | <liskin> | it wouldn't work in tmux otherwise |
| 2021-10-23 00:16:11 +0000 | <liskin> | (it's still crazy to use WINDOWID in tmux but it usually works) |
| 2021-10-23 00:18:10 +0000 | <geekosaur> | oh. yeh, I only ever set it |
| 2021-10-23 00:18:30 +0000 | <geekosaur> | use wrappers around commands that change the title themselves to restore it |
| 2021-10-23 00:19:06 +0000 | <geekosaur> | also wrappers around things that change state I show in the prompt and/or titlebar |
| 2021-10-23 00:19:56 +0000 | <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 |
| 2021-10-23 00:20:25 +0000 | <liskin> | (although it quite likely can be overridden somehow, I haven't had to go that deep fortunately) |
| 2021-10-23 00:21:23 +0000 | <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 |
| 2021-10-23 00:38:47 +0000 | mvk | (~mvk@2607:fea8:5cc1:300::4b63) (Ping timeout: 264 seconds) |
| 2021-10-23 01:01:55 +0000 | mestre | (~mestre@191.177.175.57) (Quit: Lost terminal) |
| 2021-10-23 02:03:23 +0000 | bsjd` | (~user@2a02:a020:52:a929:bed2:ac3a:6654:7798) (Ping timeout: 264 seconds) |
| 2021-10-23 02:03:23 +0000 | bsjd | (~user@2a02:a020:52:a929:bed2:ac3a:6654:7798) (Ping timeout: 264 seconds) |
| 2021-10-23 02:03:55 +0000 | banc | (banc@gateway/vpn/airvpn/banc) (Ping timeout: 265 seconds) |
| 2021-10-23 02:22:11 +0000 | banc | (banc@gateway/vpn/airvpn/banc) |
| 2021-10-23 02:40:35 +0000 | td_ | (~td@94.134.91.189) (Ping timeout: 264 seconds) |
| 2021-10-23 02:42:09 +0000 | td_ | (~td@muedsl-82-207-238-090.citykom.de) |
| 2021-10-23 02:45:15 +0000 | eyenx | (~m-5paiux@eyenx.ch) (Remote host closed the connection) |
| 2021-10-23 02:46:03 +0000 | eyenx | (~m-5paiux@eyenx.ch) |
| 2021-10-23 03:56:03 +0000 | catman | (~catman@user/catman) (Ping timeout: 265 seconds) |
| 2021-10-23 03:59:13 +0000 | catman | (~catman@user/catman) |
| 2021-10-23 05:58:08 +0000 | ^[ | (~user@user//x-8473491) |
| 2021-10-23 06:12:55 +0000 | <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 :) |
| 2021-10-23 06:13:17 +0000 | <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 |
| 2021-10-23 06:15:08 +0000 | <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 |
| 2021-10-23 06:22:42 +0000 | <Solid> | as for the email I'd go for a proper plain text version of that markdown file (possibly shortened, but not necessarily) |
| 2021-10-23 07:00:07 +0000 | qbt | (~qbt@user/edun) |
| 2021-10-23 07:33:17 +0000 | Guest2999 | (~ectospasm@23-227-173-50.static.hvvc.us) (Quit: WeeChat 3.3) |
| 2021-10-23 07:33:30 +0000 | ectospasm | (~ectospasm@user/ectospasm) |
| 2021-10-23 08:31:22 +0000 | bsjd | (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) |
| 2021-10-23 08:37:18 +0000 | bsjd | (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) (Read error: Connection reset by peer) |
| 2021-10-23 08:41:39 +0000 | bsjd | (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) |
| 2021-10-23 09:00:07 +0000 | syntactic_sugar[ | (~syntactic@2001:470:69fc:105::b4af) (Quit: You have been kicked for being idle) |
| 2021-10-23 09:24:29 +0000 | seschwar | (~seschwar@user/seschwar) |
| 2021-10-23 09:27:48 +0000 | bsjd | (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) (Remote host closed the connection) |
| 2021-10-23 09:31:17 +0000 | qbt | (~qbt@user/edun) (Quit: Leaving.) |
| 2021-10-23 09:33:20 +0000 | bsjd | (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) |
| 2021-10-23 09:55:00 +0000 | bsjd | (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) (Remote host closed the connection) |
| 2021-10-23 10:09:49 +0000 | mestre | (~mestre@191.177.175.57) |
| 2021-10-23 10:10:01 +0000 | mc47 | (~mc47@xmonad/TheMC47) |
| 2021-10-23 10:11:38 +0000 | bsjd | (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) |
| 2021-10-23 10:31:44 +0000 | qbt | (~qbt@user/edun) |
| 2021-10-23 10:47:07 +0000 | bsjd | (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) (Remote host closed the connection) |
| 2021-10-23 10:48:31 +0000 | bsjd | (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) |
| 2021-10-23 10:59:33 +0000 | bsjd | (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) (Remote host closed the connection) |
| 2021-10-23 11:00:36 +0000 | bsjd | (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) |
| 2021-10-23 11:00:37 +0000 | bsjd` | (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) |
| 2021-10-23 11:01:36 +0000 | bsjd` | (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) (Remote host closed the connection) |
| 2021-10-23 11:01:36 +0000 | bsjd | (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) (Remote host closed the connection) |
| 2021-10-23 11:05:26 +0000 | bsjd | (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) |
| 2021-10-23 11:05:32 +0000 | bsjd` | (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) |
| 2021-10-23 11:06:42 +0000 | bsjd | (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) (Remote host closed the connection) |
| 2021-10-23 11:06:42 +0000 | bsjd` | (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) (Remote host closed the connection) |
| 2021-10-23 11:07:21 +0000 | bsjd | (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) |
| 2021-10-23 11:09:11 +0000 | bsjd | (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) (Remote host closed the connection) |
| 2021-10-23 11:10:02 +0000 | bsjd | (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) |
| 2021-10-23 11:11:21 +0000 | bsjd | (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) (Remote host closed the connection) |
| 2021-10-23 11:56:37 +0000 | <liskin> | hm, the Virtual Haskell Cohack is today: https://www.meetup.com/NY-Haskell/events/280998863 |
| 2021-10-23 11:56:58 +0000 | <liskin> | but writing a release announcement isn't exactly an exciting thing for a hackathon, is it? |
| 2021-10-23 12:00:42 +0000 | <geekosaur> | not really. and it's somewhat badly timed wrt the release |
| 2021-10-23 12:00:50 +0000 | <geekosaur> | unless we want a headstart on 0.18 |
| 2021-10-23 12:15:57 +0000 | <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 :-) |
| 2021-10-23 12:16:40 +0000 | <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 |
| 2021-10-23 12:17:18 +0000 | <liskin> | on the other hand zurihac have us the sublayouts window swallowing contribution which I enabled a couple days ago and it's awesome |
| 2021-10-23 12:17:35 +0000 | <liskin> | so here I am again thinking what to do to make the most of the cohack :-/ |
| 2021-10-23 12:17:43 +0000 | <liskin> | s/have us/gave us/ |
| 2021-10-23 12:20:16 +0000 | <geekosaur> | sounds like my life tbh |
| 2021-10-23 12:32:14 +0000 | <Solid> | last time that cohack thing relied on using proprietary video conferencing software :/ |
| 2021-10-23 12:32:41 +0000 | Solid | is busy for the rest of the day anyways, though |
| 2021-10-23 12:51:35 +0000 | electr0n | (~electr0n@about/security/founder/electr0n) (Quit: WeeChat 3.3) |
| 2021-10-23 12:53:51 +0000 | <liskin> | Solid: what software? |
| 2021-10-23 12:54:04 +0000 | <liskin> | (haven't seen any details/instructions anywhere) |
| 2021-10-23 13:05:23 +0000 | bsjd | (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) |
| 2021-10-23 13:16:14 +0000 | mestre | (~mestre@191.177.175.57) (Quit: Lost terminal) |
| 2021-10-23 14:06:38 +0000 | <Solid> | liskin: afair it was zoom |
| 2021-10-23 14:53:34 +0000 | geekosaur | (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 2021-10-23 14:55:14 +0000 | geekosaur | (~geekosaur@xmonad/geekosaur) |
| 2021-10-23 17:16:42 +0000 | catman | (~catman@user/catman) (Ping timeout: 260 seconds) |
| 2021-10-23 17:46:11 +0000 | allbery_b | (~geekosaur@xmonad/geekosaur) |
| 2021-10-23 17:46:11 +0000 | geekosaur | (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b))) |
| 2021-10-23 17:46:14 +0000 | allbery_b | geekosaur |
| 2021-10-23 17:50:10 +0000 | bsjd | (~user@2a02:a020:56:3ef1:98bb:31a7:7253:2c31) (Read error: Connection reset by peer) |
| 2021-10-23 18:38:33 +0000 | benin | (~benin@183.82.207.116) |
| 2021-10-23 18:40:49 +0000 | ml| | (~ml|@user/ml/x-5298235) (Ping timeout: 252 seconds) |
| 2021-10-23 18:54:09 +0000 | ml| | (~ml|@user/ml/x-5298235) |
| 2021-10-23 19:59:53 +0000 | qbt | (~qbt@user/edun) (Quit: Leaving.) |
| 2021-10-23 20:50:05 +0000 | benin | (~benin@183.82.207.116) (Ping timeout: 244 seconds) |
| 2021-10-23 20:51:15 +0000 | benin | (~benin@183.82.207.116) |
| 2021-10-23 21:24:12 +0000 | allbery_b | (~geekosaur@xmonad/geekosaur) |
| 2021-10-23 21:24:12 +0000 | geekosaur | (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b))) |
| 2021-10-23 21:24:15 +0000 | allbery_b | geekosaur |
| 2021-10-23 22:01:10 +0000 | catman | (~catman@user/catman) |
| 2021-10-23 22:42:00 +0000 | cyr4x3 | (~cyr4x3@139.47.115.87) |
| 2021-10-23 22:43:13 +0000 | catman | (~catman@user/catman) (Ping timeout: 244 seconds) |
| 2021-10-23 22:44:15 +0000 | benin | (~benin@183.82.207.116) (Ping timeout: 244 seconds) |
| 2021-10-23 22:44:46 +0000 | benin | (~benin@183.82.207.116) |
| 2021-10-23 22:45:44 +0000 | catman | (~catman@user/catman) |
| 2021-10-23 22:54:17 +0000 | cyr4x3 | (~cyr4x3@139.47.115.87) (Quit: WeeChat 2.3) |
| 2021-10-23 23:43:40 +0000 | mvk | (~mvk@2607:fea8:5cc1:300::4b63) |
| 2021-10-23 23:59:58 +0000 | seschwar | (~seschwar@user/seschwar) (Quit: :wq) |