SR Technology WTK Repo
Check-in [fc779c28cf]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:allow server to be started as a shell script
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: fc779c28cfabc23007e00a2850ede0f96465386f
User & Date: stever 2013-01-08 23:46:17.455
Context
2013-01-08
23:46
change tk textarea widget to text as it should be check-in: 5c95dd93e2 user: stever tags: trunk
23:46
allow server to be started as a shell script check-in: fc779c28cf user: stever tags: trunk
22:59
realized text.tcl is covered by textarea.tcl, fixing file/widget names check-in: eb9e805a5f user: stever tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to server.tcl.




1
2
3
4
5
6
7




# Main application, which runs a webserver and is responsible for creating new 
# application instances in response to client (web) connections, and acts as an ongoing
# communication middle man between each instance and the clients.
#
# Each instance is associated with a separate Tcl interpreter. Instances are 
# identified using a "sessionid".  The global array "sessions" holds information
# on each session, including the interpreter, messages queued up to send to the
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env netbin64

#!/usr/bin/env tclsh8.6

# Main application, which runs a webserver and is responsible for creating new 
# application instances in response to client (web) connections, and acts as an ongoing
# communication middle man between each instance and the clients.
#
# Each instance is associated with a separate Tcl interpreter. Instances are 
# identified using a "sessionid".  The global array "sessions" holds information
# on each session, including the interpreter, messages queued up to send to the