Roberto Mariottini | 2 Jul 10:04

Re: Announce: italian translations for FreeCOM

Hi,
at the address:

http://www.mariottini.net/FreeDOS/italian.zip

you can find the package with the new ITALIAN.ERR (and the same old 
ITALIAN.LNG).

If someone can compile a version of FreeCOM with the new ITALIAN.ERR 
I'll include it in the zip file, at least until there isn't an official 
italian version in the official distribution.

Ciao

-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
Arkady V.Belousov | 5 Jul 14:06
Picon

bugs in FreeCOM

Hi!

1. FreeCOM incorrectly handles empty environment, _as this understanded by
   MS-DOS_. Trouble is that for empty environment MS-DOS places before
   16-bit counter not _one_, but _two_ zero bytes. This is easy to see: make
   empty config.sys with line INSTALL=FREECOM.COM and FreeCOM will not
   detect presence of path after environment.

   Solution (accept right variant and as MS-DOS):

/* env_seg != 0 */
const char FAR *p = MK_SEG_PTR (const char, env_seg);
while (*p)                              /* find end of environment */
  p += fstrlen (p) + 1;                 /* skip next variable */
if (FP_OFF (p) == 0)                    /* empty enviroment? */
{
  /* by definition empty enviornment should be
     "\0\1\0<path>\0", but MS-DOS make one more zero:
     "\0\0\1\0<path>\0"; accept both variants
  */
  if (*(const word FAR*)p == 0)         /* two zero bytes? */
    p++;                                /* skip one */
}

2. For empty config.sys with line SHELL=FREECOM.COM MS-DOS calls FreeCOM
   with PSP.ps_environ=0. This cause that FreeCOM not finds itself for
   strings resources. This is not bug, but unconvenient.

   Solution: before saying error message (when no environment, path not
   found after environment or path is wrong), FreeCOM should (like MS-DOS)
(Continue reading)

Arkady V.Belousov | 13 Jul 00:22
Picon

compiled FreeCOM

Hi!

     Last posts to freedos-cvs shows, that bug with empty environment in
FreeCOM should be solved. Steffen, may you point me URL, where I may
download latest FreeCOM compiled image?

-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

Gmane