From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 1164f8,fa9a4f206956ed7e X-Google-Attributes: gid1164f8,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!newsfeed.stanford.edu!sn-xit-02!sn-xit-09!sn-xit-08!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: Alex Snow Newsgroups: comp.sys.dec Subject: Re: reading/writing ansi tapes in linux Date: Sun, 05 Sep 2004 21:39:22 -0400 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <10jng7b5i144d7d@corp.supernews.com> User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 References: <10jknj2cu4v2q7d@corp.supernews.com> <413A79DF.C18186FF@comcast.net> In-Reply-To: <413A79DF.C18186FF@comcast.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@supernews.com Xref: g2news1.google.com comp.sys.dec:501 Hi, Tried compiling this version on linux (slack 10/gcc3.3.4) with no luck...the errors I got were Script started on Sun Sep 5 21:33:21 2004 root@h14me:~/ansitape# root@h14me:~/ansitape# make cc -c -o tables.o tables.c cc -O -o ansitape -DEBCDIC ansitape.c tables.o ansitape.c: In function `list_volume_set': ansitape.c:392: error: `FREAD' undeclared (first use in this function) ansitape.c:392: error: (Each undeclared identifier is reported only once ansitape.c:392: error: for each function it appears in.) ansitape.c: In function `write_volume_set': ansitape.c:454: error: `FREAD' undeclared (first use in this function) ansitape.c: In function `write_file': ansitape.c:538: error: `FWRITE' undeclared (first use in this function) ansitape.c: In function `read_volume_set': ansitape.c:591: error: `FREAD' undeclared (first use in this function) ansitape.c: In function `read_file': ansitape.c:631: warning: comparison between pointer and integer ansitape.c: In function `ansi_open': ansitape.c:656: error: `FREAD' undeclared (first use in this function) ansitape.c: In function `ansi_read': ansitape.c:708: warning: return makes integer from pointer without a cast ansitape.c:730: warning: return makes integer from pointer without a cast ansitape.c: In function `ansi_close': ansitape.c:857: error: `FWRITE' undeclared (first use in this function) ansitape.c: In function `ansi_date': ansitape.c:1194: error: dereferencing pointer to incomplete type ansitape.c:1194: error: dereferencing pointer to incomplete type make: *** [ansitape] Error 1 root@h14me:~/ansitape# exit Script done on Sun Sep 5 21:33:27 2004 I'll try googling this again but all I could find before was links to various docs on using the app itself. David J Dachtera wrote: > Alex Snow wrote: > >>Hi, >>I'm trying to find an app for linux that can read/write ansi-formatted >>tapes for vms. The only app I've found so far is a rather ancient >>version of ansitape from a usenet post dated sometime in 1987 that won't >>compile on anything modern. Does anyone know of a more modern version of >>this program, or another prog with similar functionality? >>thanks. > > > ansitape was apparently used as recently as 1996 in HP-UX: > http://www.informatik.uni-frankfurt.de/doc/man/hpux/ansitape.1.html > > Links to a downloadable tarball can be found at: > http://sources.isc.org/utils/backup/ansitape.txt > > ...or try your favorite search engine (I found these via Yahoo!). > > Hope this helps... > > -- > David J Dachtera > dba DJE Systems > http://www.djesys.com/