?

Log in

No account? Create an account
entries friends calendar profile Scribbles in the Dark Previous Previous Next Next
"This bash shell is now fully operational!" - Please Visit http://glyph.twistedmatrix.com/ - This Blog Is Closed. — LiveJournal
Sorry about the ads, I can't turn them off.
glyf
glyf
"This bash shell is now fully operational!"
14 comments or Leave a comment
Comments
glyf From: glyf Date: August 2nd, 2007 07:29 pm (UTC) (Link)

Re: Question about preexec.bash

Sorry for the long delay; I keep thinking I'll have time to eventually clean everything up and do a real release of my whole config.

In the meanwhile, just do this in your shell startup somewhere:
export SCREEN_HOST=`hostname -s`
then in your screenrc,
setenv SCREEN_RUN_HOST $SCREEN_HOST
setenv SCREEN_RUN_USER $USER

# Many sshd configurations accept "LC_*" environment variables.  Take advantage
# of that to sneak our environment variables over there.
setenv LC_SCREEN_RUN_HOST $SCREEN_HOST
setenv LC_SCREEN_RUN_USER $USER
14 comments or Leave a comment