[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LYNX-DEV DOS patches for ac-0.98
From: |
Doug Kaufman |
Subject: |
LYNX-DEV DOS patches for ac-0.98 |
Date: |
Sun, 14 Dec 1997 00:45:38 -0800 (PST) |
I just compiled and checked the code for ac-0.98. Version 0.99 doesn't
seem to be on SLCC yet. I noticed that several patches for DOS that I
previously posted to fix problems haven't yet been incorporated into the
code. I believe that the patches to HTDOS.c, LYEdit.c, and LYCurses.c
have been checked out, without any new problems found. I know that Bill
Schiavo has been planning rewrites of HTDOS.c and LYEdit.c, but I don't
remember seeing the patches on the list. The patches to these files are
reposted here, updated against ac-0.98.
I also included a patch to have DOS use textmode when PRINTing to a
local file as had been requested by Leonid Pauzner. This will result in
DOS textfiles, rather than unix files being written. The makefile.dos
for chartrans was revised to include the new character sets.
Unless someone sees problems with any of these patches, I would
recommend that they be put into the code before 2.8 comes out.
There is one other problem that I would like to see addressed. The
files doc/CHANGES2-[3-7] exceed the DOS 8+3 filename rules, so they all
translate into CHANGES2. Could we rename them to CHANGES2.[3-7], so
that each doesn't have to be renamed by hand when in an 8+3 system.
Doug
*** lynx2-7-1/WWW/Library/Implementation/HTDOS.c Tue Nov 4 14:55:08 1997
--- lynx2-7-1/WWW/Library/Implementation/HTDOS.c.new Sat Dec 13 19:54:48 1997
***************
*** 69,77 ****
}
// if(strlen(cp_url) < 4) cp_url[] = ':';
! if(strlen(cp_url) == 3) cp_url[3] = '\\';
! if(strlen(cp_url) == 4) cp_url[4] = '.';
if((strlen(cp_url) > 2) && (cp_url[1] == '|'))
cp_url[1] = ':';
--- 69,77 ----
}
// if(strlen(cp_url) < 4) cp_url[] = ':';
! /* if(strlen(cp_url) == 3) cp_url[3] = '\\';
! if(strlen(cp_url) == 4) cp_url[4] = '.'; */
if((strlen(cp_url) > 2) && (cp_url[1] == '|'))
cp_url[1] = ':';
*** lynx2-7-1/src/LYCurses.c Thu Dec 4 07:54:28 1997
--- lynx2-7-1/src/LYCurses.c.new Sat Dec 13 21:58:38 1997
***************
*** 634,640 ****
initscr(); /* start curses */
first_time = FALSE;
cbreak();
- noecho();
keypad(stdscr, TRUE);
fflush(stdin);
fflush(stdout);
--- 634,639 ----
***************
*** 650,655 ****
--- 649,655 ----
} else sock_init();
LYCursesON = TRUE;
+ noecho();
clear();
}
#else
*** lynx2-7-1/src/LYEdit.c Thu Jul 10 13:40:10 1997
--- lynx2-7-1/src/LYEdit.c.new Sat Dec 13 19:58:44 1997
***************
*** 144,155 ****
--- 144,159 ----
filename);
#endif /* DOSPATH */
else
+ #ifdef __DJGPP__
+ sprintf(command, "%s %s", editor, HTDOS_name(filename));
+ #else
sprintf(command, "%s \"%s\"", editor,
#ifdef DOSPATH
HTDOS_name(filename));
#else
filename);
#endif /* DOSPATH */
+ #endif /* __DJGPP__ */
#endif /* VMS */
if (TRACE) {
fprintf(stderr, "LYEdit: %s\n", command);
*** lynx2-7-1/src/LYPrint.c Fri Nov 7 03:30:54 1997
--- lynx2-7-1/src/LYPrint.c.new Sat Dec 13 23:49:20 1997
***************
*** 223,228 ****
--- 223,231 ----
*/
switch (type) {
case TO_FILE:
+ #ifdef __DJGPP__
+ _fmode = O_TEXT;
+ #endif /* __DJGPP__ */
_statusline(FILENAME_PROMPT);
retry: strcpy(filename, sug_filename); /* add suggestion info */
/* make the sug_filename conform to system specs */
***************
*** 477,482 ****
--- 480,488 ----
#else
HTAddSugFilename(buffer);
#endif /* VMS */
+ #ifdef __DJGPP__
+ _fmode = O_BINARY;
+ #endif /* __DJGPP__ */
break;
case MAIL:
*** lynx2-7-1/src/chrtrans/makefile.dos Thu Oct 9 11:04:26 1997
--- lynx2-7-1/src/chrtrans/makefile.dos.new Sat Dec 13 20:32:30 1997
***************
*** 25,54 ****
CHRTR=
! TABLES= $(CHRTR)iso01_un.h \
! $(CHRTR)iso02_un.h \
$(CHRTR)def7_uni.h \
! $(CHRTR)iso03_un.h \
! $(CHRTR)iso04_un.h \
! $(CHRTR)iso05_un.h \
! $(CHRTR)iso06_un.h \
! $(CHRTR)iso07_un.h \
! $(CHRTR)iso08_un.h \
! $(CHRTR)iso09_un.h \
! $(CHRTR)iso10_un.h \
! $(CHRTR)koi8r_un.h \
! $(CHRTR)cp437_un.h \
! $(CHRTR)cp850_un.h \
! $(CHRTR)cp852_un.h \
! $(CHRTR)cp866_un.h \
! $(CHRTR)cp1250_u.h \
! $(CHRTR)cp1251_u.h \
! $(CHRTR)cp1252_u.h \
! $(CHRTR)viscii_u.h \
$(CHRTR)utf8_uni.h \
$(CHRTR)rfc_suni.h \
! $(CHRTR)mnemonic.h \
! $(CHRTR)mnem_sun.h
default: $(TABLES)
--- 25,64 ----
CHRTR=
! TABLES= $(CHRTR)iso01_uni.h \
$(CHRTR)def7_uni.h \
! $(CHRTR)iso02_uni.h \
! $(CHRTR)cp1252_uni.h \
! $(CHRTR)dmcs_uni.h \
! $(CHRTR)mac_uni.h \
! $(CHRTR)next_uni.h \
! $(CHRTR)koi8r_uni.h \
! $(CHRTR)viscii_uni.h \
! $(CHRTR)cp437_uni.h \
! $(CHRTR)cp850_uni.h \
! $(CHRTR)cp852_uni.h \
! $(CHRTR)cp866_uni.h \
! $(CHRTR)cp737_uni.h \
! $(CHRTR)cp869_uni.h \
! $(CHRTR)cp864_uni.h \
! $(CHRTR)cp862_uni.h \
! $(CHRTR)cp1250_uni.h \
! $(CHRTR)cp1251_uni.h \
! $(CHRTR)cp1253_uni.h \
! $(CHRTR)cp1255_uni.h \
! $(CHRTR)cp1256_uni.h \
! $(CHRTR)iso03_uni.h \
! $(CHRTR)iso04_uni.h \
! $(CHRTR)iso05_uni.h \
! $(CHRTR)iso06_uni.h \
! $(CHRTR)iso07_uni.h \
! $(CHRTR)iso08_uni.h \
! $(CHRTR)iso09_uni.h \
! $(CHRTR)iso10_uni.h \
$(CHRTR)utf8_uni.h \
$(CHRTR)rfc_suni.h \
! $(CHRTR)mnemonic_suni.h \
! $(CHRTR)mnem_suni.h
default: $(TABLES)
***************
*** 61,88 ****
.tbl.h:
./makeuctb $*.tbl > $@
! iso01_un.h: iso01_un.tbl makeuctb.exe
! iso02_un.h: iso02_un.tbl makeuctb.exe
! def7_uni.h: def7_uni.tbl makeuctb.exe
! iso03_un.h: iso03_un.tbl makeuctb.exe
! iso04_un.h: iso04_un.tbl makeuctb.exe
! iso05_un.h: iso05_un.tbl makeuctb.exe
! iso06_un.h: iso06_un.tbl makeuctb.exe
! iso07_un.h: iso07_un.tbl makeuctb.exe
! iso08_un.h: iso08_un.tbl makeuctb.exe
! iso09_un.h: iso09_un.tbl makeuctb.exe
! iso10_un.h: iso10_un.tbl makeuctb.exe
! koi8r_un.h: koi8r_un.tbl makeuctb.exe
! cp437_un.h: cp437_un.tbl makeuctb.exe
! cp850_un.h: cp850_un.tbl makeuctb.exe
! cp852_un.h: cp852_un.tbl makeuctb.exe
! cp1250_u.h: cp1250_u.tbl makeuctb.exe
! cp1251_u.h: cp1251_u.tbl makeuctb.exe
! cp1252_u.h: cp1252_u.tbl makeuctb.exe
! utf8_uni.h: utf8_uni.tbl makeuctb.exe
! mnemonic.h: mnemonic.tbl makeuctb.exe
! mnem_sun.h: mnem_sun.tbl makeuctb.exe
! rfc_suni.h: rfc_suni.tbl makeuctb.exe
clean:
rm -f makeuctb.exe makeuctb *.o *un.h *u.h *c.h *i.h
--- 71,110 ----
.tbl.h:
./makeuctb $*.tbl > $@
! def7_uni.h: def7_uni.tbl makeuctb.exe
! iso01_uni.h: iso01_uni.tbl makeuctb.exe
! iso02_uni.h: iso02_uni.tbl makeuctb.exe
! cp1252_uni.h: cp1252_uni.tbl makeuctb.exe
! dmcs_uni.h: dmcs_uni.tbl makeuctb.exe
! mac_uni.h: mac_uni.tbl makeuctb.exe
! next_uni.h: next_uni.tbl makeuctb.exe
! koi8r_uni.h: koi8r_uni.tbl makeuctb.exe
! viscii_uni.h: viscii_uni.tbl makeuctb.exe
! cp437_uni.h: cp437_uni.tbl makeuctb.exe
! cp850_uni.h: cp850_uni.tbl makeuctb.exe
! cp852_uni.h: cp852_uni.tbl makeuctb.exe
! cp866_uni.h: cp866_uni.tbl makeuctb.exe
! cp737_uni.h: cp737_uni.tbl makeuctb.exe
! cp869_uni.h: cp869_uni.tbl makeuctb.exe
! cp864_uni.h: cp864_uni.tbl makeuctb.exe
! cp862_uni.h: cp862_uni.tbl makeuctb.exe
! cp1250_uni.h: cp1250_uni.tbl makeuctb.exe
! cp1251_uni.h: cp1251_uni.tbl makeuctb.exe
! cp1253_uni.h: cp1253_uni.tbl makeuctb.exe
! cp1255_uni.h: cp1255_uni.tbl makeuctb.exe
! cp1256_uni.h: cp1256_uni.tbl makeuctb.exe
! iso03_uni.h: iso03_uni.tbl makeuctb.exe
! iso04_uni.h: iso04_uni.tbl makeuctb.exe
! iso05_uni.h: iso05_uni.tbl makeuctb.exe
! iso06_uni.h: iso06_uni.tbl makeuctb.exe
! iso07_uni.h: iso07_uni.tbl makeuctb.exe
! iso08_uni.h: iso08_uni.tbl makeuctb.exe
! iso09_uni.h: iso09_uni.tbl makeuctb.exe
! iso10_uni.h: iso10_uni.tbl makeuctb.exe
! utf8_uni.h: utf8_uni.tbl makeuctb.exe
! mnemonic_suni.h: mnemonic_suni.tbl makeuctb.exe
! mnem_suni.h: mnem_suni.tbl makeuctb.exe
! rfc_suni.h: rfc_suni.tbl makeuctb.exe
clean:
rm -f makeuctb.exe makeuctb *.o *un.h *u.h *c.h *i.h
__
Doug Kaufman
Internet: address@hidden (preferred)
address@hidden
- LYNX-DEV DOS patches for ac-0.98,
Doug Kaufman <=