home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 45
/
Amiga_Dream_45.iso
/
Amiga
/
Magazine
/
Dossier-LaTeX
/
AmiWeb2C.lha
/
source
/
web2c-6.1
/
web2c
/
web
/
weave.chch
< prev
next >
Wrap
Text File
|
1995-03-26
|
1KB
|
61 lines
Changes for WEAVE.CH by Andreas Scherer, March 26, 1995.
@x l.76
@d banner=='This is WEAVE, Version 4.4' {more is printed later}
@y
@d banner=='This is WEAVE, Version 4.4' {more is printed later}
@d amiga==ifdef('_AMIGA')
@d agima==endif('_AMIGA')
@z
@x l.91
program WEAVE;
@y
program WEAVE;
amiga@;
@=#include "weave.version";@>
agima@;
@z
Patching the NULL device in WEB is much harder than in CWEB. :-(
But in the end it can be done in a portable way. :-)
@x l.540
@ @<Set up null...@>=
begin
change_file_name[1]:='/';
change_file_name[2]:='d';
change_file_name[3]:='e';
change_file_name[4]:='v';
change_file_name[5]:='/';
change_file_name[6]:='n';
change_file_name[7]:='u';
change_file_name[8]:='l';
change_file_name[9]:='l';
change_file_name[10]:=' ';
end
@y
@ @<Set up null...@>=
begin
change_file_name[1]:='/';
change_file_name[2]:='d';
change_file_name[3]:='e';
change_file_name[4]:='v';
change_file_name[5]:='/';
change_file_name[6]:='n';
change_file_name[7]:='u';
change_file_name[8]:='l';
change_file_name[9]:='l';
change_file_name[10]:=' ';
amiga@;
change_file_name[1]:='N';
change_file_name[2]:='I';
change_file_name[3]:='L';
change_file_name[4]:=':';
change_file_name[5]:=' ';
agima@;
end
@z