Quantcast
Channel: Use GNU screen as login "shell" - Super User
Viewing all articles
Browse latest Browse all 5

Use GNU screen as login "shell"

$
0
0

What's the best way to have screen automatically run when you open a new shell, whether by login, xterm, or anything else?

I see the most common recommendation is to put exec screen in your regular shell's rc or login/profile file, but for, for example, tcsh, login shells run .login last, while non-login shells read .cshrc last. If I put exec screen in .cshrc, login shells won't source the .login file, and if I put it in .login, non-login shells won't run screen. I assume that there are similar issues with other shells.


Viewing all articles
Browse latest Browse all 5

Latest Images

Trending Articles





Latest Images