Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2004-06

DOS 1.9.4

9 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

Hi,

thanks for new version for DOS.

I have some questions for DOS (Go32v2) version:

1. HTML page http://www.freepascal.org/down2-go32-i386.html doesn't exists.

2. In x:\pp\examples\pasjpeg\ i tried to compile demo.pas, but the units TEST.PAS and EXAMPLE.PAS are missing. I downloaded these files, but during compilation i got error "Can't find unit jdapistd"
even these compiled files are in x:\pp\units\go32v2\pasjpeg\jdapistd.*. This happen only in DOS window under Windows 2003, under pure DOS compiler found this unit jdapistd, but despite this program doesn't work. Maybe i have a false version of test/example.pas files.

3. HELP in IDE is not available. I downloaded extra file doc-htm.zip (because in distribution ZIP-file is missing)
and made a copy to unzipped install files - INSTALL made a file x:\pp\doc\fpctoc.htx, but when a press a key F1 or SHIFT+F1, i got nothing and exit from IDE in (maybe) CGA mode.
I'm running IDE DOS window under Windows 2003 - it could be a reason. Under pure DOS i cannot unzip doc-htm.zip, because inside are files with long names. Where can i got the HELP files only for DOS without file long names ?

Lubomir Cabla
http://www.freewebs.com/hdat2

Marco van de Voort
to Unknown author
Show quoted text 6 lines
3. HELP in IDE is not available. I downloaded extra file doc-htm.zip (because in distribution ZIP-file is missing) and made a copy to unzipped install files - INSTALL made a file x:\pp\doc\fpctoc.htx, but when a press a key F1 or SHIFT+F1, i got nothing and exit from IDE in (maybe) CGA mode. I'm running IDE DOS window under Windows 2003 - it could be a reason.

I don't know the other questions, but the dos release is not supported for windows NT and variants (NT4,2000,XP,2003), use the win32 release on these systems as much as possible.

Of course you could try to develop on NT, with the purpose of using it under plain dos later, but please try to verify problems on real dos or win9x.

Tomas Hajny
to Unknown author: thanks for new version for DOS. I have some questions for DOS (Go32v2) version: 1. HTML…

Subject: [fpc-pascal]DOS 1.9.4
From:
Date: Wed, June 9, 2004 10:19
To:

Thanks for reporting it, we'll correct it.

Show quoted text 9 lines
2. In x:\pp\examples\pasjpeg\ i tried to compile demo.pas, but the units TEST.PAS and EXAMPLE.PAS are missing. I downloaded these files, but during compilation i got error "Can't find unit jdapistd" even these compiled files are in x:\pp\units\go32v2\pasjpeg\jdapistd.*. This happen only in DOS window under Windows 2003, under pure DOS compiler found this unit jdapistd, but despite this program doesn't work. Maybe i have a false version of test/example.pas files.

There are (at least) two problems there:

1) /packages/base/pasjpeg/Makefile.fpc should be changed by appending " test examples" to the end of line 17 ("examples=...").

2) examples.pas cannot be compiled in default mode as it is now (it needs -Sd for successful compilation). We should change it to the default syntax (missing '@' on line 351 in example.pas).

Other from that, I can compile demo.pas using both the GO32v2 command line compiler and IDE even under W2K (which is not supported as already mentioned by Marco). A possible reason why it didn't find the unit for you could be that you didn't allow the installer to generate the default configuration files (fpc.cfg and fp.cfg) - you might want to check your cfg files if they include something like '-Fux:\pp\units\$TARGET\*' (slashes could be possibly mixed there - both forward slashes and backslashes should do).

Show quoted text 6 lines
3. HELP in IDE is not available. I downloaded extra file doc-htm.zip (because in distribution ZIP-file is missing) and made a copy to unzipped install files - INSTALL made a file x:\pp\doc\fpctoc.htx, but when a press a key F1 or SHIFT+F1, i got nothing and exit from IDE in (maybe) CGA mode. I'm running IDE DOS window under Windows 2003 - it could be a reason.

Yes, this can be the reason easily (see Marco's comment).

Under pure DOS i cannot unzip doc-htm.zip, because inside are files with long names. Where can i got the HELP files only for DOS without file long names ?

doc-htm.zip _should_ include short names (as opposed to doc-html.zip). Can you send the URL where you downloaded doc-htm.zip from, so we can correct it?

Thanks again for your reports

Tomas

Tomas Hajny
to Unknown author: thanks for new version for DOS. I have some questions for DOS (Go32v2) version: 1. HTML…

Subject: [fpc-pascal]DOS 1.9.4
From:
Date: Wed, June 9, 2004 10:19
To:

Thanks for reporting it, we'll correct it.

Show quoted text 9 lines
2. In x:\pp\examples\pasjpeg\ i tried to compile demo.pas, but the units TEST.PAS and EXAMPLE.PAS are missing. I downloaded these files, but during compilation i got error "Can't find unit jdapistd" even these compiled files are in x:\pp\units\go32v2\pasjpeg\jdapistd.*. This happen only in DOS window under Windows 2003, under pure DOS compiler found this unit jdapistd, but despite this program doesn't work. Maybe i have a false version of test/example.pas files.

There are (at least) two problems there:

1) /packages/base/pasjpeg/Makefile.fpc should be changed by appending " test examples" to the end of line 17 ("examples=...").

2) examples.pas cannot be compiled in default mode as it is now (it needs -Sd for successful compilation). We should change it to the default syntax (missing '@' on line 351 in example.pas).

Other from that, I can compile demo.pas using both the GO32v2 command line compiler and IDE even under W2K (which is not supported as already mentioned by Marco). A possible reason why it didn't find the unit for you could be that you didn't allow the installer to generate the default configuration files (fpc.cfg and fp.cfg) - you might want to check your cfg files if they include something like '-Fux:\pp\units\$TARGET\*' (slashes could be possibly mixed there - both forward slashes and backslashes should do).

Show quoted text 6 lines
3. HELP in IDE is not available. I downloaded extra file doc-htm.zip (because in distribution ZIP-file is missing) and made a copy to unzipped install files - INSTALL made a file x:\pp\doc\fpctoc.htx, but when a press a key F1 or SHIFT+F1, i got nothing and exit from IDE in (maybe) CGA mode. I'm running IDE DOS window under Windows 2003 - it could be a reason.

Yes, this can be the reason easily (see Marco's comment).

Under pure DOS i cannot unzip doc-htm.zip, because inside are files with long names. Where can i got the HELP files only for DOS without file long names ?

doc-htm.zip _should_ include short names (as opposed to doc-html.zip). Can you send the URL where you downloaded doc-htm.zip from, so we can correct it?

Thanks again for your reports

Tomas

Unknown author

Thanks for your help.

-doc-htm.zip _should_ include short names (as opposed to doc-html.zip). Can -you send the URL where you downloaded doc-htm.zip from, so we can correct it?

URL is ftp://ftp.freepascal.org/pub/fpc/beta/docs-1.9.4/doc-htm.zip

Installation of WIN32 version:

1. In install.dat i have to correct this section:

#
# Common packages
#
pack=~C~ommon to pack=C~o~mmon

because ~C~ is used for CONTINUE also.

2. On drive X: is cca. 12 GB free space, but install.exe say "There is notenough space on the target drive for all the selected components.
Do you want to change the installation path ?"

With answer "NO" it will continue in installation. It is WIN32 version 1.9.4 under Windows 2003 on NTFS drive.

3. IDE fp.exe started allways in 80x48 color mode and it is not possible to change it in Options-Environment-Preferences to 80x25. In menu is only this 80x48 mode...

Lubomir Cabla

Michael Van Canneyt
to Tomas Hajny: Subject: [fpc-pascal]DOS 1.9.4 From: Date: Wed, June 9, 2004 10:19 To: Thanks for…
Tomas Hajny wrote 30 lines
Subject: [fpc-pascal]DOS 1.9.4 From: Date: Wed, June 9, 2004 10:19 To: > 1. HTML page http://www.freepascal.org/down2-go32-i386.html > doesn't exists. Thanks for reporting it, we'll correct it. > 2. In x:\pp\examples\pasjpeg\ i tried to compile demo.pas, > but the units TEST.PAS and EXAMPLE.PAS are missing. I downloaded > these files, but during compilation i got error "Can't find unit > jdapistd" > even these compiled files are in > x:\pp\units\go32v2\pasjpeg\jdapistd.*. This happen only in DOS window > under Windows 2003, under pure DOS compiler found this unit jdapistd, > but despite this program doesn't work. Maybe i have a false version > of test/example.pas files. There are (at least) two problems there: 1) /packages/base/pasjpeg/Makefile.fpc should be changed by appending " test examples" to the end of line 17 ("examples=..."). 2) examples.pas cannot be compiled in default mode as it is now (it needs -Sd for successful compilation). We should change it to the default syntax (missing '@' on line 351 in example.pas).

No, we should add {$mode delphi}, because other features of delphi are needed.

Michael.

Tomas Hajny
to Michael Van Canneyt

Michael Van Canneyt said:

Show quoted text 27 lines
On Wed, 9 Jun 2004, Tomas Hajny wrote: > From: > Date: Wed, June 9, 2004 10:19 > > > 2. In x:\pp\examples\pasjpeg\ i tried to compile demo.pas, > > but the units TEST.PAS and EXAMPLE.PAS are missing. I downloaded > > these files, but during compilation i got error "Can't find unit > jdapistd" > > even these compiled files are in > > x:\pp\units\go32v2\pasjpeg\jdapistd.*. This happen only in DOS > window under Windows 2003, under pure DOS compiler found this unit > jdapistd, but despite this program doesn't work. Maybe i have a > false version of test/example.pas files. > > There are (at least) two problems there: > > 1) /packages/base/pasjpeg/Makefile.fpc should be changed by appending > " test examples" to the end of line 17 ("examples=..."). > > 2) examples.pas cannot be compiled in default mode as it is now (it > needs -Sd for successful compilation). We should change it to the > default syntax (missing '@' on line 351 in example.pas). No, we should add {$mode delphi}, because other features of delphi are needed.

Well, it compiled for me without any other changes, so it could be probably corrected both ways. In addition, I think that the native syntax should be preferred for our examples.

BTW, Michael, can you do the two corrections (Makefile.fpc and examples.pas), please (I wouldn't be able to do that before my holiday). Regarding doc-htm.zip - can you generate the correct version with short names and rename the current one to doc-html.zip, please?

Thanks

Tomas

Tomas Hajny
to Unknown author: Thanks for your help. -doc-htm.zip _should_ include short names (as opposed to…
2. On drive X: is cca. 12 GB free space, but install.exe say "There is notenough space on the target drive for all the selected components. Do you want to change the installation path ?"

Please, report this one using our bugs repository, so it isn't forgotten.

Show quoted text 6 lines
With answer "NO" it will continue in installation. It is WIN32 version 1.9.4 under Windows 2003 on NTFS drive. 3. IDE fp.exe started allways in 80x48 color mode and it is not possible to change it in Options-Environment-Preferences to 80x25. In menu is only this 80x48 mode...

The size depends on settings for your shortcut - by default it uses your default window size.

Tomas

Unknown author

Thanks for your help.

CBL

Earlier message 30 lines
-----Original Message----- From: Tomas Hajny Sent: Wednesday, June 09, 2004 2:35 PM To: Subject: RE: [fpc-pascal]DOS 1.9.4 > 2. On drive X: is cca. 12 GB free space, but install.exe say > "There is notenough space on the target drive for all the selected > components. > Do you want to change the installation path ?" Please, report this one using our bugs repository, so it isn't forgotten. > With answer "NO" it will continue in installation. > It is WIN32 version 1.9.4 under Windows 2003 on NTFS drive. > > 3. IDE fp.exe started allways in 80x48 color mode and it is not possible > to change it in Options-Environment-Preferences to 80x25. > In menu is only this 80x48 mode... The size depends on settings for your shortcut - by default it uses your default window size. Tomas