[tkined] tcl8.0

Robert Seeger (rseeger@nortelnetworks.com)
Tue, 13 Apr 1999 12:02:14 -0400

I sent a similar message out last week, but recieved no response, so I
figured I'd ask again.

I've managed to compile scotty statically for ues with the TclPro wrapper.
However, I'm running into some problems with the way file manipulation is
handled within the Tnm package. Much of the code uses the standard C
functions for file I/O, such as fopen, fclose, ftell, access, and the like.
I've spent some time trying to convert it all to use Tcl_Channel code
(Tcl_Open, Tcl_Read, and the like), but it's slow going, and I don't think
I'm doing it very well. However, since code that wants to be executed from
within a wrapped application needs to use the Tcl versions of file I/O
commands, it needs to be done.

I was wondering if anyone could tell me if this change has already been
implemented somewhere else. For example, does the 3.0 version of Scotty use
the Tcl file I/O commands instead, or has somebody else already changed it
over for their own use. If not, are there any plans to change the code over
in the future? I'd really appreciate any help on this. I'm not that
wonderful of a C programmer, and I'm having a really difficult time. For
example, the Tnm code uses the C function 'access'. I can't find any Tcl
library equivalent of this. Thus, I've had to completely get rid of the code
that relies on it. In addition, there's a lot of code that uses the standard
C I/O functions. Given all that code, I'm sure I'm going to break something,
somewhere.

Thanks for your time,
Robert Seeger
========================================
Robert Seeger
Network Engineer
Bay Networks

Tel: (518) 237-2087
Pager: (800) SKY-8888 Pin#1264792
Fax: (518) 237-2593
Email: rseeger@baynetworks.com
Address: 224 5th Ave
Lansingburgh, NY 12180
========================================

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.