Home » Questions » Computers [ Ask a new question ]

GNU Screen: Indicate if C-a (escape) is pressed in hardstatus

GNU Screen: Indicate if C-a (escape) is pressed in hardstatus

Been searching around for this one without much luck. What I want is something that tells me if I've pressed C-a in Screen. Vim displays "-- INSERT --" when insert mode is selected. Something like that would be handy to have in Screen's hardstatus. Anybody got some suggestions on how to do this (if it's really possible)?

Asked by: Guest | Views: 171
Total answers/comments: 1
Guest [Entry]

"That isn't possible in the current version of screen.

That said, I usually just hit C-a (again) to check if I'm uncertain... If nothing happens, you know it's ready for a command; if it changes window (or tells you there are no other windows) then you know you are ""clear""."