moved demo scripts and docs into the demo directory
Steve Scaffidi [Fri, 18 Sep 2009 18:48:58 +0000 (14:48 -0400)]
demo/DEMO [moved from DEMO with 100% similarity]
demo/DEMO_CHAT [moved from DEMO_CHAT with 100% similarity]
demo/DEMO_INETD [moved from DEMO_INETD with 100% similarity]
demo/DEMO_TAIL [moved from DEMO_TAIL with 100% similarity]
demo/chat2_demo [moved from bin/chat2_demo with 100% similarity]
demo/chat_demo [moved from bin/chat_demo with 100% similarity]
demo/hello_demo [moved from bin/hello_demo with 94% similarity]
demo/inetd_demo [moved from bin/inetd_demo with 96% similarity]
demo/tail_demo [moved from bin/tail_demo with 100% similarity]

diff --git a/DEMO b/demo/DEMO
similarity index 100%
rename from DEMO
rename to demo/DEMO
similarity index 100%
rename from DEMO_CHAT
rename to demo/DEMO_CHAT
similarity index 100%
rename from DEMO_INETD
rename to demo/DEMO_INETD
similarity index 100%
rename from DEMO_TAIL
rename to demo/DEMO_TAIL
similarity index 100%
rename from bin/chat2_demo
rename to demo/chat2_demo
similarity index 100%
rename from bin/chat_demo
rename to demo/chat_demo
similarity index 94%
rename from bin/hello_demo
rename to demo/hello_demo
index 313c5c1..3fe85d9 100755 (executable)
@@ -7,7 +7,7 @@ our $s ;
 print "HELLO DEMO\n" ;
 
 use File::Basename qw( basename );
-$ENV{PATH} .= ':' . basename( $0 ) . ':.';
+$ENV{PATH} .= ':' . basename( $0 ) . ':./bin:.';
 for my $prog qw( run_stem xterm ) {
     die "Can't find $prog in PATH\n" if
         system( "which $prog >/dev/null 2>&1" ) != 0;
similarity index 96%
rename from bin/inetd_demo
rename to demo/inetd_demo
index 9556f69..0a80d12 100755 (executable)
@@ -10,7 +10,7 @@ my @children ;
 print "INETD: $ENV{PATH}\n" ;
 
 use File::Basename qw( basename );
-$ENV{PATH} .= ':' . basename( $0 ) . ':.';
+$ENV{PATH} .= ':' . basename( $0 ) . ':.:../bin:./bin';
 for my $prog qw( run_stem xterm telnet ) {
     die "Can't find $prog in PATH\n" if
         system( "which $prog >/dev/null 2>&1" ) != 0;
similarity index 100%
rename from bin/tail_demo
rename to demo/tail_demo