Subject: | |
From: | |
Reply To: | |
Date: | Wed, 28 Oct 1998 09:11:00 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
PNauman751 writes:
>
> I am kind of new to posix things and know even less about networking, all I
> want to do is transfer a file from my HP3000 to my PC which is running Linux.
> The file is a tar file created on the HP3000 of a bunch of files that were read
> from a DAT2 tape. (I do not have a DAT drive on my PC so that is not an
> option). When I try to download the tar file with xmodem, it simply quites. A
> tar file is a byte stream file which xmodem can not read (I am guessing.)
If both machines are on the network, how about using ftp instead?
> I found another xmodem program from an HP-UX ftp site (can not remember
> where) which included C source code. After a few minor changes I was able to
> compile and link the program using c89, when I try to run it I get unresolved
> externals for tcgetattr and tcsetattr. These two functions are defined as
> externals in /usr/include/termios.h.
>
> Please help me find these functions, do I need to include some library from
> somewhere?
Try linking with -lcurses. Both tcgetattr and tcsetattr seem to exist within
-lcurses, but they're undocumented. I've never tried to use them, nor have I
ever tried to compile an xmodem program on MPE/iX.
--
Mark Bixby E-mail: [log in to unmask]
Coast Community College Dist. Web: http://www.cccd.edu/~markb/
District Information Services 1370 Adams Ave, Costa Mesa, CA, USA 92626-5429
Technical Support Voice: +1 714 438-4647
"You can tune a file system, but you can't tune a fish." - tunefs(1M)
|
|
|