* Buddy Burden <[EMAIL PROTECTED]> [2006-07-20 19:09 -0400]: > Phil!, > > >>For getting commands to run in shells inside screen, the screen command > >>you need to use is 'stuff'. To run 'df -h', you'd use 'stuff "df -h ^J"' > >>where "^J" is a quoted control-J (or enter) character. I couldn't manage > >>to get the ^J entered from screen's colon mode, though. > > Just use "\015" instead. That has always worked for me (and it's much > easier to type).
Aha. Actually, I seem to recall this coming up on the list before, and I'd just forgotten about it. I'll try to remember for next time. "screen strings accept octal escapes. screen strings accept octal escapes." -- ...computer contrarian of the first order... / http://aperiodic.net/phil/ PGP: 026A27F2 print: D200 5BDB FC4B B24A 9248 9F7A 4322 2D22 026A 27F2 --- -- It's very inconvenient to be mortal -- you never know when everything may suddenly stop happening. _______________________________________________ screen-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/screen-users
