Re: [Freedos-user] COUNTRY.SYS settings

2007-06-28 Thread Eduardo Casino
Source code for COUNTRY.SYS is written in nasm assembler. Just get the file 
from:

http://freedos.svn.sourceforge.net/viewvc/*checkout*/freedos/kernel/branches/UNSTABLE/kernel/country.asm?revision=1261

Then, use nasm to assemble:

nasm -o country.sys country.asm

And you're done.

Eduardo.

-Mensaje original-
De: Aitor Santamaría [EMAIL PROTECTED]

I ignore it, perhaps Eduardo (developer of NLSFUNC) has some tools for
creating/editing such files, or Eric or Henrique have some ideas?


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] djgpp snprintf?

2007-06-28 Thread Gordon . Schumacher
Robert Riebisch [EMAIL PROTECTED] wrote on Tue, 26 Jun 2007 22:23:33
+0200:

# DJGPP 2.04 beta supports snprintf().

I'd pretty strongly recommend using v2.04 anyway; as soon as the guy in
Legal gets back, I expect that I'll get the paperwork in order to be the
release maintainer for this version and it'll become an actual release
soon.

There's quite a lot of stuff supported in v2.04 that's not in v2.03.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] COUNTRY.SYS settings

2007-06-28 Thread Mateusz Viste
On Thursday 28 June 2007 13:54, Eduardo Casino wrote:
 Source code for COUNTRY.SYS is written in nasm assembler. Just get the file
 from:
 http://freedos.svn.sourceforge.net/viewvc/*checkout*/freedos/kernel/branche
s/UNSTABLE/kernel/country.asm?revision=1261

 Then, use nasm to assemble:
 nasm -o country.sys country.asm

 And you're done.

Thank you, Eduardo!

That's exactly the answer I was waiting for!
I done what you said, and got what I wanted. It took me no more than 30s :-)

By the way, it would be a nice thing to have a tool in FreeDOS which gives the 
possibility of an easy changing of those COUNTRY settings (recompiling the 
COUNTRY.SYS file, even if its trivial, shouldn't be considered as an easy 
way)... All operating systems I know have such thing...

Bye!
Mateusz Viste

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] runtime tool needs new translations

2007-06-28 Thread Eric Auer

Hi everybody,

as Jim declared my RUNTIME clone to be the replacement
of his version, I would like to add translations now :-).

http://sourceforge.net/forum/forum.php?forum_id=710387

Here are the strings of runtime. Actually, string 1 and
2 could be removed by simply showing runtime: X instead
of showing X seconds elapsed / X elapsed (the latter
is used if at least 1:00.00 minute has elapsed). Anyway.
Please send me translations for the following strings:

 1  seconds
 2  elapsed
 3 RUNTIME is free public domain software by Eric Auer 2007
   Usage: RUNTIME your_program [your_options]
   Shows how long your_program ran, max 1 day (23
 4 :59:59.99)
 5 COMSPEC not found

The split into 3 and 4 is used to let RUNTIME automatically
format the example timestamp in your local COUNTRY setting.
So I need no translations for string 4 ;-).

For the old RUNTIME, translations in German, Spanish, Russian,
Latvian and Hungarian were available. I would like to support
at least DE ES and RU again, plus any other common language I
can get :-). Examples are French, Dutch, Polish, Italian,
Swedish, Portuguese. Of course we should not overdo things...

Another example: FreeCOM is available in German, Russian,
Spanish, Dutch, English. Partial translations are available
for Portuguese, Yugoslavian (?), Serbian, Swedish, French,
Italian. Would be nice if somebody could update the trans-
lations for FreeCOM. Please contact me if you want to help.

As with FreeCOM, RUNTIME does not use nls/programname.language
files. While FreeCOM has too many messages for that, RUNTIME
has too few :-). I will just add the translations to the
runtime.com binary itself and recompile it. I hope to be able
to squeeze up to 10 languages into a 2-3 kilobyte binary.


Please send your translations of strings 1, 2, 3 and 5 to me.
Thank you :-).

Eric



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] runtime tool needs new translations

2007-06-28 Thread Aitor Santamaría
Hello Eric,

A quick one:

2007/6/28, Eric Auer [EMAIL PROTECTED]:
  1  seconds
segundos
  2  elapsed
transcurrido
(or transcurridos if it's plural)

  3 RUNTIME is free public domain software by Eric Auer 2007
Usage: RUNTIME your_program [your_options]
Shows how long your_program ran, max 1 day (23
RUNTIME es software libre y dominio público, por Eric Auer 2007
Uso: RUNTIME  programa [opciones]
Muestra el tiempo de ejecución del programa, máximo 1 día (23 h

  5 COMSPEC not found

No se ha encontrado COMSPEC

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] runtime tool needs new translations

2007-06-28 Thread Geraldo Netto
Hi Guys,

In portuguese we have:
1 - segundos
2 - passados
3 - RUNTIME é um software livre de domínio público por Eric Auer 2007
Uso: RUNTIME seu_programa [suas_opções]
Mostra quanto tempo o seu programa executou, max 1 dia (23:59:59.99)
5 - COMSPEC não encontrado

Alguma sugestão Henrique Peron/Alain? :P

Any suggestion guys?

Kind Regards and Best Wishes,

Geraldo
-- 
site: http://extremedev.sf.net
msn: [EMAIL PROTECTED]
skype: geraldo-netto
icq: 145-061-456
mobile: +55 11 8949-4757

On 28/06/07, Eric Auer [EMAIL PROTECTED] wrote:

 Hi everybody,

 as Jim declared my RUNTIME clone to be the replacement
 of his version, I would like to add translations now :-).

 http://sourceforge.net/forum/forum.php?forum_id=710387

 Here are the strings of runtime. Actually, string 1 and
 2 could be removed by simply showing runtime: X instead
 of showing X seconds elapsed / X elapsed (the latter
 is used if at least 1:00.00 minute has elapsed). Anyway.
 Please send me translations for the following strings:

  1  seconds
  2  elapsed
  3 RUNTIME is free public domain software by Eric Auer 2007
Usage: RUNTIME your_program [your_options]
Shows how long your_program ran, max 1 day (23
  4 :59:59.99)
  5 COMSPEC not found

 The split into 3 and 4 is used to let RUNTIME automatically
 format the example timestamp in your local COUNTRY setting.
 So I need no translations for string 4 ;-).

 For the old RUNTIME, translations in German, Spanish, Russian,
 Latvian and Hungarian were available. I would like to support
 at least DE ES and RU again, plus any other common language I
 can get :-). Examples are French, Dutch, Polish, Italian,
 Swedish, Portuguese. Of course we should not overdo things...

 Another example: FreeCOM is available in German, Russian,
 Spanish, Dutch, English. Partial translations are available
 for Portuguese, Yugoslavian (?), Serbian, Swedish, French,
 Italian. Would be nice if somebody could update the trans-
 lations for FreeCOM. Please contact me if you want to help.

 As with FreeCOM, RUNTIME does not use nls/programname.language
 files. While FreeCOM has too many messages for that, RUNTIME
 has too few :-). I will just add the translations to the
 runtime.com binary itself and recompile it. I hope to be able
 to squeeze up to 10 languages into a 2-3 kilobyte binary.


 Please send your translations of strings 1, 2, 3 and 5 to me.
 Thank you :-).

 Eric



 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Freedos-user mailing list
 Freedos-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] runtime tool needs new translations (PL/FR)

2007-06-28 Thread Mateusz Viste
Hi Eric,

On Thursday 28 June 2007 20:35, Eric Auer wrote:
 Please send me translations for the following strings:
  1  seconds
  2  elapsed
  3 RUNTIME is free public domain software by Eric Auer 2007
Usage: RUNTIME your_program [your_options]
Shows how long your_program ran, max 1 day (23
  4 :59:59.99)
  5 COMSPEC not found

Here they are:

POLISH:
1  sekund
2  minęło
3 RUNTIME jest wolnym oprogramowaniem typu 'public domain' - Eric Auer 2007
  Użycie: RUNTIME twój_program [twoje_parametry]
  Wyświetla jak długo twój_program pracował, maks 1 dzień (23
4 :59:59.99)
5 Nie odnaleziono COMSPEC

FRENCH:
1  secondes
2  écoulée(s)
3 RUNTIME est un logiciel libre du domaine public par Eric Auer 2007
  Usage: RUNTIME ton_programme [tes_options]
  Affiche le temps d'exécution de ton_programme, max 1 jour (23
4 :59:59.99)
5 COMSPEC n'a pas été trouvé

Bye!
Mateusz Viste

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] djgpp snprintf?

2007-06-28 Thread Dietmar Segbert
Hello Robert,

thanks for your tips.

There are some other problems. google says that the getopt function is in
unistd.h. But i can't not compile espeak. I have downloades kpseaxxxs.zip.
In this package is an getopt.c and a getopt.h.. thats was better, but in
an if phrase with access and r_ok. If i comment this lines out, speak.cpp
compiles.
and in dictionary.cpp are functions iswalpha ... and must i put another
lib on the libflag -l...?

Quoestions over quoestions.

Regards.

Dietmar

 [EMAIL PROTECTED] schrieb am 28.06.07:

 Robert Riebisch wrote:

 Another solution is linking against GNU GLib, which has
 g_snprintf(). I could tell you more tomorrow.

 1) Grab `current/v2tk/glib126b.zip' from a DJGPP repository.
 2) Expand `glib126b.zip' to your DJGPP installation.
 3) Add the following to `src/speech.h'.

 #ifdef __DJGPP__
 #include glib.h
 #define snprintfg_snprintf
 #endif

 4) Add `-lglib' to `LIBSx =' lines in `src/Makefile'.
 5) Add `-I/dev/env/DJDIR/lib/glib/include' to `CXXFLAGS=' line in
 `src/Makefile'.

 Robert Riebisch
 --
 BTTR Software
 http://www.bttr-software.de/

 ---
 -- This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Freedos-user mailing list
 Freedos-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] djgpp snprintf?

2007-06-28 Thread Eric Auer

Hi Dietmar,

indeed, it is possible that djgpp does not include a getopt,
but you can add your own copy of getopt.c and getopt.h ...

 In this package is an getopt.c and a getopt.h.. thats was better, but
 in an if phrase with access and r_ok. If i comment this lines out

Maybe you forgot to cut and paste a bit of text here?

 and in dictionary.cpp are functions iswalpha

The iswalpha( wint_t value ) tests whether a wide character
is alphabetic. In other words, it is the Unicode equivalent
of isalpha( int value ). Just replace iswalpha by isalpha or
set I want no Unicode / UTF-8. But there is also another
method: It might be possible to copy parts of the two files
./riscos/cpp/speak_riscos and ./riscos/h/wctype into for
example wctype.cpp and wctype.h, they seem to contain their
own implementation of the wide character functions.
You could also ask the author of those files, as mentioned
at the beginning of those files, to help you.

It seems that espeak supports both utf16 and utf8 internally,
so it can handle much of utf8 without Unicode aware C libs.

Another method is limit yourself to ASCII: For that, you
may be interested in the following:

#define wchar_t int
#define iswalpha isalpha
#define iswdigit isdigit
#define iswalnum isalnum
#define towlower tolower
#define towupper toupper
#define iswupper isupper
#define iswlower islower
#define iswspace isspace
#define iswpunct ispunct

Put the above into a fakewide.h file and add, at the start of
each of the .c files for which you get errors about iswsomething,

#include fakewide.h

That should give you ASCII support and make it easy to compile
things. Real implementations of the issomething and tosomething
functions are in ./riscos/cpp/speak_riscos which you can copy
into a wctype.cpp file as mentioned above. You may also have to
add wctype.cpp to the 2 lists of some_SOURCES in the Makefile.

I hope you can figure it out. Good luck!

Eric



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Install fail

2007-06-28 Thread Ray Davison
Eric Auer wrote:

 Then it tried to download further updates but failed to
 communicate with your ADSL router or similar device.

Could it have reasonably been expected to succeed?

If so, how to make it work.
 
How can I determine what did not get installed because of this?
 
 I think the whole install process did not finalize that way...

It does boot.
 
I cannot find a list of features and addon packages.  Are some on the CD 
and some downloaded?

Is there a file manager on the CD?  I am using NC.

Below is another machine that has had problems with DOS.  It is 
out-of-the-box except I added LH NC.  Does it look normal?

Modules using memory below 1 MB:

   Name   Total   Conventional   Upper Memory
           
   SYSTEM  25,568   (25K) 11,008   (11K) 14,560   (14K)
   HIMEM2,704(3K)  2,704(3K)  0(0K)
   EMM386   3,632(4K)  3,632(4K)  0(0K)
   LBACACHE20,464   (20K)336(0K) 20,128   (20K)
   COMMAND  4,064(4K)  3,024(3K)  1,040(1K)
   RTSPKT  26,160   (26K) 26,160   (26K)  0(0K)
   COMMAND  3,552(3K)  3,024(3K)528(1K)
   XCDROM   2,320(2K)  0(0K)  2,320(2K)
   CDRCACHE13,072   (13K)  0(0K) 13,072   (13K)
   MORESYS544(1K)  0(0K)544(1K)
   FDAPM  928(1K)  0(0K)928(1K)
   SHSUCDX  8,416(8K)  0(0K)  8,416(8K)
   NC  13,520   (13K)  0(0K) 13,520   (13K)
   MOUSE3,328(3K)  0(0K)  3,328(3K)
   Free   652,800  (638K)604,160  (590K) 48,640   (48K)

Memory TypeTotal   Used   Free
        
Conventional  639K49K   590K
Upper 124K76K48K
Reserved  261K   261K 0K
Extended (XMS)   1,014,528K31,941K   982,587K
        
Total memory 1,015,552K32,327K   983,225K

Total under 1 MB  763K   125K   638K

Largest executable program size   590K (603,808 bytes)
Largest free upper memory block43K ( 43,888 bytes)
FreeDOS is resident in the high memory area.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Install fail

2007-06-28 Thread Eric Auer

Hi,

  Then it tried to download further updates but failed to
  communicate with your ADSL router or similar device.
 Could it have reasonably been expected to succeed?

Depends on many factors. You better try that with for
example Arachne after installing a basic DOS :-).

The realtek driver is usually okay, but BIG operating
systems do the router / modem init once, while DOS
has to do it again each time when you start a network
client (browser for example), and each time it can
fail... Which can hang if during the install.

 It does boot.

Nice :-).

 I cannot find a list of features and addon packages.
 Are some on the CD and some downloaded?

See, as usual,
 http://fd-doc.sourceforge.net/wiki/index.php?n=FdDocEn.FdInstall
 http://fd-doc.sourceforge.net/wiki/index.php?n=FdDocEn.FdDependencies
...which tells which packages require internet... but see also...

For a full list, see:
 http://www.freedos.org/freedos/software/
Base is what is in the base distro,
all others should be in the full distro.

 Is there a file manager on the CD?  I am using NC.

 http://www.freedos.org/cgi-bin/freedos-lsm.cgi?q=fa=util/ndn.lsm
Necromancer Dos Navigator seems to be our standard NC clone.




 Below is another machine that has had problems with DOS.  It is
 out-of-the-box except I added LH NC.  Does it look normal?

Maybe the usual: UMB problems. Start without emm386. No UMB
(lh / loadhigh / devicehigh then) but better stability :-).

Name   Total   Conventional   Upper Memory
SYSTEM  25,568   (25k) 11,008   (11k) 14,560   (14k)
sounds like dosdata=umb dos=high,umb :-)

HIMEM2,704(3k)  2,704(3k)  0(0k)
EMM386   3,632(4k)  3,632(4k)  0(0k)
LBACACHE20,464   (20k)336(0k) 20,128   (20k)
that is quite a big cache, loaded high but with the scsi safe
option that should make loading the cache high safe... you can
still try loading lbacache without lh, just in case.

COMMAND  4,064(4k)  3,024(3k)  1,040(1k)
probably a big environment size ;-)

RTSPKT  26,160   (26k) 26,160   (26k)  0(0k)
as you see, the network packet driver uses a lot of ram. realtek one.
you could comment out the line that loads that one, or add a ? in
front of it - then you are asked each time you boot if you want to
load the driver. when you need no network, you can skip it.

COMMAND  3,552(3k)  3,024(3k)528(1k)
a second command.com, probably loaded by nc?

XCDROM   2,320(2k)  0(0k)  2,320(2k)
cdrom: not sure if this works well when loaded high, try loading low

CDRCACHE13,072   (13k)  0(0k) 13,072   (13k)
a pretty big cdrom cache... should work okay in high area, no prob.

MORESYS544(1k)  0(0k)544(1k)
lets you do things like tree  more$

FDAPM  928(1k)  0(0k)928(1k)
a driver to save energy while dos is idle :-)

SHSUCDX  8,416(8k)  0(0k)  8,416(8k)
cdrom: not sure if this works well when loaded high, try loading low

NC  13,520   (13k)  0(0k) 13,520   (13k)
MOUSE3,328(3k)  0(0k)  3,328(3k)

Free   652,800  (638k)604,160  (590k) 48,640   (48k)

Nice config, 615k free if you boot without networking :-)
Or 10-15k less if you keep the cdrom stuff low.
Without emm386, you would have roughly 550k free only.

Eric



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] runtime tool needs new translations

2007-06-28 Thread Alain M.


Geraldo Netto escreveu:
 Hi Guys,
 
 In portuguese we have:
 1 - segundos
Ok

 2 - passados
2 - decorridos

 3 - RUNTIME é um software livre de domínio público por Eric Auer 2007
 Uso: RUNTIME seu_programa [suas_opções]
 Mostra quanto tempo o seu programa executou, max 1 dia (23:59:59.99)
3 - RUNTIME é um software livre, de domínio público por Eric Auer 2007
 Uso: RUNTIME seu_programa [opções]
 Mostra quanto tempo durou a execução do seu programa, max 1 dia 
(23:59:59.99)

 5 - COMSPEC não encontrado
Ok

My suggestion: message 5 should be somethin like:
COMMAND.COM not found

Alain


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user