]> www.wagner.pp.ru Git - sites/home_page.git/blob - software/tcl/modemtcl.html
b0738d6c9ba490ee567e74354ee12697e491f4ac
[sites/home_page.git] / software / tcl / modemtcl.html
1 <HTML><HEAD>
2 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=koi8-r">
3 <TITLE>modemtcl - Tcl interpreter with modem access</TITLE>
4 <META NAME="description" CONTENT="This is suid/sgid Tcl interpeter which
5 can access modem and do proper UUCP-style locking">
6 </HEAD><BODY>
7 <H1>modemtcl - Tcl interpreter with modem access</H1>
8 On Unix one typically needs special rights to access modem, as it is
9 system-wide resources. Typically one should need to be member of group
10 <b>uucp</b> or <b>dialout</b> to be able to open modem device and create
11 proper lock file which would prevent other programs to access modem
12 while it in use.
13 <p>
14 This makes task of writing dialout programs on interpreted languages
15 more complicated
16 <p>
17 Modemtcl is a special tcl interpreter (really startup program which uses
18 libtclX.X.so) which can be installed SUID or SGID. It does give up
19 special rights immediately after startup, before reading any startup
20 scripts, and uses them only when special <b>openmodem</b> command is
21 invoked.
22 <p>
23 This command opens specified device and creates proper UUCP-style
24 lockfile. IT returns usial tcl channel identifier.
25 <p>
26 Really there also should be some interface to tcgetattr/tcsetattr C
27 functions, for instance something like expect's <b>stty</b> command.
28 But I haven't found time to write it. So you have only options provided
29 by standard Tcl <b>fconfigure</b> command at your disposal.
30 <p>
31 Download: <a
32 href="http://ftp.45.free.net/pub/tcl/modemtcl-0.1.tar.gz">modemtcl-0.1.tar.gz</a>
33
34
35
36
37 </BODY>
38 </HTML>