% Filename: shell.sl % Version: 0.9.0 % Author: Troy Piggins % This macro opens a bash shell from within slrn. % I had the idea for when I visit groups like grc.news.latestversions where an % update for something is announced. I just hit my 'browse_url' key, 'U' by % default, on the open article which usually provides a link to the updated % software to download. Once it's downloaded I run this macro to open a bash % shell, change to the dir for source code, compile and install it all in one % hit. Once finished I just 'ctrl-d' to quit the shell and I'm returned to % slrn. I'm lazy so I figure I will be more likely to keep things up to date % as I read them than going back and doing it later. define shell () { variable shell="/bin/bash"; () = system ( shell); } definekey ( "shell", "\eb", "article"); definekey ( "shell", "\eb", "group");