Forum Home
Press F1
 
Thread ID: 34539 2003-06-16 07:56:00 Reading source from programs obtained from SourceForge PoWa (203) Press F1
Post ID Timestamp Content User
152952 2003-06-17 01:58:00 *nix uses a "linefeed" (0x0D -- decimal 13) character at end of line . DOS uses "carriage return" (0x0A -- decimal 10) and "linefeed" . So most DOS editors don't work well with *nix .

There are dos programmes around like "todos" (have a look at Simtel)which will make *nix files readable in DOS/Win .

If you use an editor with Find and Replace, you can replace decimal 13 with 10 and 13 . . . using the <Alt> nnn to enter the codes .

A quick and dirty trick (if you have an ftp server) is to use ftp to get the files into another directory using ASCII mode . :D This problem has been around for a long time . . . since DOS was invented, and people started using it to access the ftp servers on the Internet . There were other problems . . . some hosts used 6-bit and 9-bit bytes . :D

But a fully-grown sourceforge application code base might be a bit of a heavy introduction to C or C++ . There are tutorials around . And books . :O
Graham L (2)
152953 2003-06-17 03:13:00 Hey the program is only big enough for a floppy, and its sole purpose is nuking the hard drive. How hard could it be? :) PoWa (203)
152954 2003-06-17 03:25:00 > Hey the program is only big enough for a floppy, and
> its sole purpose is nuking the hard drive. How hard
> could it be? :)

you do know how much text a floppy could hold, and that programs are compiled, from what could be, er, tons of text,

and as long as know what language the program is programmed in, you should be able to find a good IDE for it at sourceforge :),

grtz sal.
nz
sal (67)
1 2