Site Tools


Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
suggestions [2006-06-09 20:21]
71.29.76.110
suggestions [2021-02-19 20:39] (current)
asciiphil Remove old comment.
Line 3: Line 3:
 This page is for suggestions.  If you have an idea for the site, please add it to the list below. This page is for suggestions.  If you have an idea for the site, please add it to the list below.
  
-Please fix the wiki so spammers don't overwrite it with levitra/viagra ads ;)+A code walkthrough would be cool. 
 + 
 +Some tutorial/discussion on screen v.s. ssh (more specifically, ssh-key-ring/agentinteraction.  
  
 ==== Finish documentation ==== ==== Finish documentation ====
  
 I need to finish writing out the documentation for the screen commands.  <PMG> I need to finish writing out the documentation for the screen commands.  <PMG>
 +
 +==== Discussion of how to set up bash/tcsh autocompletion of attachable screen sessions ====
 +I saw a reference (http://wiki.unixpod.com/Screen) that bash would autocomplete screen sessionnames, as in
 +
 +        guest@zanzibar:~$ screen -list
 +        There are screens on:
 +                2441.bar        (Detached)
 +                2393.foo        (Detached)
 +        2 Sockets in /var/run/screen/S-guest.
 +        guest@zanzibar:~$ screen -r b<TAB>
 +
 +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.

User Tools