101 reputation
1
bio website babilonline.blogspot.com
location
age
visits member for 2 years, 9 months
seen Jul 20 at 11:04

Nov
21
comment How do I close a terminal without saving the history?
@amphetamachine: nope, it will only begin/end logging of current window. Neighther Ctrl+a H nor Ctrl+a :clear will remove history. You need Ctrl+a :scrollback 0. You can test it yourself. Start a fresh screen session. Now do a cat /etc/passwd. Now, do any of the above - Ctrl+a H or Ctrl+a :clear. Now, try copying from screen buffer by donig a Ctrl+a [ followed by up-arrow to go up and see how far you can go to copy. If you have done a Ctrl+a :scrollback followed by a clear, you would only go as far as you can see in current window since there wont be any scrollback buffer.
Nov
21
comment How do I close a terminal without saving the history?
He didn't. But, you could be running Bash inside a screen session and HISTSIZE=0 will still leave your activity details in screen's scroll-back buffer. So, if you really want it clean, you have to do scrollback=0 as well.
Nov
21
answered How do I close a terminal without saving the history?
Oct
14
awarded  Supporter