News for hackers. Stuff that matters.
Re:Aminal: Golang terminal emulator from scratch by voltagex_ on Tuesday November 27, 2018 @11:10PM (#18549235)
I wish I understood it enough to throw it into GDB - it looks like it uses O_TMPFILE, but I don't think that quite gives you what you want.

https://github.com/GNOME/vte/blob/65d67f6f814df4f4ab800898bb...

Re:Aminal: Golang terminal emulator from scratch by paavoova on Wednesday November 28, 2018 @12:43AM (#18549542)
The O_TMPFILE flag is just an anonymous file as far as I understand. From that source file, VTE uses glib, particularly g_get_tmp_dir() and g_file_open_tmp() (which uses the latter), which claims to honor TMPDIR according to the docs: https://developer.gnome.org/glib/stable/glib-Miscellaneous-U...

Perhaps a terminal emulator is unable to read variables exported in .bashrc, as the terminal is started prior to executing the shell.