an easier way without programming is to:
1. capture it from screen to text in terminal emulation
2. use ftp to download in ascii mode from unix to dos
-----Original Message-----
From: Pablo Manalastas <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, February 20, 2001 12:08 AM
Subject: Re: [plug] How do i convert *nix text to msdos text format?
>Quoting Juan Miguel Cacho <[EMAIL PROTECTED]>:
>
>> #_ todos < unixtextfile > dostextfile
>> I don't have it, I'll look for it in freshmeat.
>
>Here is a version of todos.c
>
>----------------todos.c---------------------
>/* todos.c -
> converts text files so that lines ending
> with "\n" will end with "\r\n" instead */
>
>#include <stdio.h>
>
>int main()
>{ int c;
> while ( c=getchar(), c!=EOF ) {
> if ( c=='\n') putchar ('\r');
> putchar(c)
> }
>}
>
>------------------end-----------------------
>
>PMana
>
>
>--------
>This mail sent through IMP: mail.ateneo.net
>_
>Philippine Linux Users Group. Web site and archives at
http://plug.linux.org.ph
>To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
>
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]