I'd reckon a simple test and exec in the initialization files would work for changing roots shell when it's safe to and continuing otherwise.
Under bourne it would probably look some thing like:
if [ -x /usr/local/bin/foosh ]; then exec /usr/local/bin/foosh else echo 'WARNING: foosh not available!' fi
As long as it has line editing, redirection, and pipes, I could care less which shell root uses. So I've never bothered to change roots shell on any of my systems ^_^
Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Last edited by TerryP; 11th May 2008 at 10:42 PM.
|Thread||Thread Starter||Forum||Replies||Last Post|
|HOWTO: Encoding // Pure Terminal // Virtual Terminal||vermaden||Guides||1||25th June 2010 08:02 AM|
|Manpage colorization on the terminal||JMJ_coder||NetBSD General||2||17th February 2009 08:17 PM|
|netbsd terminal error||jaideep_jdof||NetBSD General||1||21st November 2008 11:50 PM|
|Favorite Terminal Emulator||JMJ_coder||General software and network||23||5th November 2008 05:30 PM|
|terminal||darken||FreeBSD General||8||18th July 2008 07:12 PM|