This seems consistent with what is written in bug report : write-to-disk feature is activated only when scrollback is set to infinite.Ĭonclusion : it looks like the simplest way to disable "scrollback-to-disk" feature it is to not set scrollback limit to infinite, but to a big enough value, and relying on 'script' on selected terminals where logging is useful. Then in the appearing xfce4-terminal, running a command that spits huge amount of text (a "find" which finds 1.3 million entries), doesn't show any sign of xfce4-terminal writing any data to disk, or opening any file to /tmp, /var/tmp or even any file for writing.Īlso, /proc/$PID/fd does not show any such file or any mention of deleted file. On Ubuntu 16.04, on an account where xfce4-terminal is setup to record a finite number (1000000 lines), on a X session where no xfce4-terminal is running, this command launched in another terminal (uxterm for that matter, running 'script' to get a session transcript): > is still present in modern implementations. See also ( "Bug 664611 – Deleted tmp files' filehandles still contain contents of buffers and are on disk") Wrapping the mess in encryption feels so wrong, I second It breaks expectations about the role of a terminal emulator. I have used XTerm on E17 but hadnt used UXterm until checking for updates while writing this. I found one post that suggested XTerm is faster. None of my terminal sessions are that secret, but I understand it can be a real problem for some people. The Gnome Terminal, XTerm, and UXterm are all terminal emulators that run on the X window system which Ubuntu uses. At least the file contents are now encrypted with AES256 GCM since 0.39.2, but this raises the question of what's so special about the VTE library that it requires such an exotic approach. It turns out the VTE library actually writes the scrollback buffer to disk, a "feature" that was noticed back in 2010 and that is still present in modern implementations.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |