Strict Standards: Declaration of action_plugin_loglog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/public/screen/lib/plugins/loglog/action.php on line 15

Strict Standards: Declaration of action_plugin_captcha::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/public/screen/lib/plugins/captcha/action.php on line 0
GNU screen [suggestions]

Differences

This shows you the differences between two versions of the page.

suggestions [2009/12/09 19:22]
199.246.40.54
suggestions [2011/01/21 19:49] (current)
66.11.131.162 Launch apps in screen on system startup.
Line 27: Line 27:
where hitting the TAB key at <TAB> above would complete "b" to "bar".  But it doesn't work on my system.  A code snippet for the .bashrc and/or .tcshrc files would be great! where hitting the TAB key at <TAB> above would complete "b" to "bar".  But it doesn't work on my system.  A code snippet for the .bashrc and/or .tcshrc files would be great!
 +==== Launch processes in a screen session on system startup ====
 +I've almost got this working on a FreeBSD system except for the terminal type. Everything gets started, but only in B&W.
 +The screen is for user bongo. First I wrote a script to start screen on system startup.
 +<file - /usr/local/etc/rc.d/bongo_screen.sh>
 +if [ "$1" = "start" ]; then
 +    su -l bongo -c "/usr/local/bin/screen -c /usr/local/etc/bongo_screen.conf -d -m"
 +    echo -n "bongo_screen "
 +fi
 +</file>
 +Then I wrote the screen configuration file to launch the applications necessary.
 +<file - /usr/local/etc/bongo_screen.conf>
 +term xterm
 +screen -t app_1 /usr/local/bin/app_1 app_1_options
 +screen /usr/local/bin/app_2
 +screen
 +</file>
 +
 +The first line got me closest to the proper terminal type.
 +The second line starts app_1 and names the screen "app_1".
 +The third line starts app_2.
 +The fourth line just starts a shell.
 
suggestions.txt · Last modified: 2011/01/21 19:49 by 66.11.131.162
Recent changes RSS feed GNU General Public License Driven by DokuWiki