News for hackers. Stuff that matters.
Re:Ask HN: Which is better tmux or screen? by dllthomas on Friday April 14, 2017 @05:08PM (#14117390)
It's not screen doing the work.

Screen is just a process that spawns other processes, and like always those inherit environment variables. The script I have that starts screen defines a variable called "SESSION" beforehand, and that's used in my bashrc to set HISTFILE (and other things). Screen is just how I organize it.

There are no comments on this comment yet.