I often use idiosyncratic screen setups with very specifically-purposed windows. I support this behavior with a special config file that launches screen with certain windows pre-loaded for certain uses:
I use stuff because it's the most straightforward way to send commands with carriage returns (015 in octal) to a window.
I make this even more effortless by using a special alias in my .bashrc:
alias scd='screen -c /home/mcantor/.screenrc-dev'
I also use a few other aliases to support common uses:
alias scr='screen -rd'
alias scx='screen -x'
alias lsc='screen -list'
Also, don't forget the very useful -S switch:
screen -S someproject
Or, you can use Ctrl-a :sessionname, if you're already within a session, to rename it. That way, screen -list and screen -r can use your sessionnames, and you don't have to parse or remember the process ID's.
I make this even more effortless by using a special alias in my .bashrc:
I also use a few other aliases to support common uses: Also, don't forget the very useful -S switch: Or, you can use Ctrl-a :sessionname, if you're already within a session, to rename it. That way, screen -list and screen -r can use your sessionnames, and you don't have to parse or remember the process ID's.