Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to index page
Thread view  Board view
Laaca

Homepage

Czech republic,
20.03.2024, 13:56
 

Another DOS port od NeoFetch from UNIXes (Announce)

Hello!
I wrote own port of utility NeoFetch known from UNIXes.

Screenshot is here:

http://www.laaca.borec.cz/soubory/fetch4fd.gif

Download link here:

http://www.laaca.borec.cz/soubory/fetch4fd.zip



FETCH4FD.TXT:
========================================================


FETCH4FD
version 1.0
19.3.2024

Fetch4FD is a DOS port of utility NeoFetch known from Linux and other
UNIXes.
There already exists one such port named DOSFETCH by Leah Neukirchen
see: https://github.com/leahneukirchen/dosfetch

My implementations uses few small fragments from his code but it is heavily
reworked and extends its capabilities.

New features in FETCH4FD over DOSFETCH:

-screen is not deleted before program output
-output can be redirected to file
-program is multilingual - messages can be translated to other languages
Currently English, Czech and Russian are available
-help screen after FETCH4FD /?
-Correctly detects huge RAM sizes (even above 4GB)
-Correctly detects disk sizes bigger than 2GB
-Shows list of all available disk drives
-More informative CPU detection
-Information about DOS code page and country information



How the language customization works:
There are two possibilities:
1) Set two environment variables like in this example:
SET LANG = CZ
SET NLSPATH = C:\NLS
After that FETCH4FD expects file C:\NLS\FETCH4FD.CZ for reading messages.

2) Use parameter /L
FETCH4FD /L:CZ
In this case FETCH4FD expects file FETCH4FD.CZ in its directory



Laaca (laaca@seznam.cz)
http://www.laaca.borec.cz

---
DOS-u-akbar!

ecm

Homepage E-mail

Düsseldorf, Germany,
20.03.2024, 14:50

@ Laaca
 

Another DOS port od NeoFetch from UNIXes

>
> Fetch4FD is a DOS port of utility NeoFetch known from Linux and other
> UNIXes.
> There already exists one such port named DOSFETCH by Leah Neukirchen
> see: https://github.com/leahneukirchen/dosfetch
>
> My implementations uses few small fragments from his code but it is
> heavily
> reworked and extends its capabilities.

Actually, according to the profile page at https://github.com/leahneukirchen she goes by "she/her · they/them".

---
l

Rugxulo

Homepage

Usono,
21.03.2024, 05:37

@ Laaca
 

Another DOS port od NeoFetch from UNIXes

> Fetch4FD is a DOS port of utility NeoFetch known from Linux and other UNIXes.

(While I did download it, I haven't tested it yet. TODO!)

I assume yours uses FPC (Go32v2, 386+) instead of TP 7 (8086). Important distinction.

> New features in FETCH4FD over DOSFETCH:
>
> -Correctly detects huge RAM sizes (even above 4GB)

How? CWSDPMI is somewhat incorrect (and so are most DPMI hosts). Okay, probably just raw (total) RAM installed.

EMS (3.2|4)? XMS (2|3)? VCPI? DPMI (16|32)? Are these enabled?

> -Correctly detects disk sizes bigger than 2GB

FPC's i8086-msdos cross-target should support FAT32 in (unit) DOS function diskfree.

You could also use the int64 type, if needed elsewhere.

> -More informative CPU detection

"Pentium" is a misnomer for some 686s these days. More useful would be "family / model / stepping" and maybe just mentioning supported types of FPU ([2356]87), MMX, SSE[1-4], AVX([12]|512F) or VT-X. (Oh, and if cpu supports CPUID, VME, or AMD64.)

> -Information about DOS code page and country information

"System" code page from "CHCP"? I guess that's better than nothing, but sometimes DISPLAY codepage and KEYB codepage don't match the country.

(Also, the "undocumented" MS-DOS call that FreeDOS DISPLAY supports isn't supported on DR-DOS, so you have to use the IOCTL way, which FreeDOS ignores. I wrote a C version with DJGPP a few years ago that works with both.)

N.B. "LFN support enabled / disabled" would be nice to see, too. (IIRC, checking int $21,$71A0 might suffice.)

Laaca

Homepage

Czech republic,
21.03.2024, 18:34

@ Rugxulo
 

Another DOS port od NeoFetch from UNIXes

No, Fetch4FD is written and compiled in Turbo pascal 7. But it can be adapted very easily for Free pascal too. But why to do it?
You ask whether is the code page and coutry detection relable.
Well, it is so reliable how it can be. It just calls the DOS function
AX=6501h/INT 21h

And the CPU detection is quite powerful. Just look at the screenshot in my first post. It shows the CPU brand string.
The tricky part is the serie of fallbacks if the CPU brand string is not available.

The LFN detection is o good idea. Other possible extension could be detection of XMS, EMS, DPMI and VCPI.

And in the beginning I planed a really killer feature. In case when FreeDOS is detected it would show not the "DOS" logo but FreeDOS logo.
But it was not implemented because of my laziness.
However I offer this: if somebody draws a nice colorful ASCII art logo for FreeDOS I can implement it.

---
DOS-u-akbar!

Oso2k

22.03.2024, 18:34

@ Laaca
 

Another DOS port od NeoFetch from UNIXes

> And in the beginning I planed a really killer feature. In case when FreeDOS
> is detected it would show not the "DOS" logo but FreeDOS logo.
> But it was not implemented because of my laziness.
> However I offer this: if somebody draws a nice colorful ASCII art logo for
> FreeDOS I can implement it.

Maybe use one of the Image to ASCII Art Converters?

https://www.google.com/search?q=image+to+ascii+art

Oso2k

26.03.2024, 08:24

@ Oso2k
 

Another DOS port od NeoFetch from UNIXes

> > And in the beginning I planed a really killer feature. In case when
> FreeDOS
> > is detected it would show not the "DOS" logo but FreeDOS logo.
> > But it was not implemented because of my laziness.
> > However I offer this: if somebody draws a nice colorful ASCII art logo
> for
> > FreeDOS I can implement it.
>
> Maybe use one of the Image to ASCII Art Converters?
>
> https://www.google.com/search?q=image+to+ascii+art

[image]


[image]

Laaca

Homepage

Czech republic,
24.03.2024, 22:42

@ Laaca
 

Another DOS port od NeoFetch from UNIXes - now with new name

I got some feedback about my utility Fetch4FD. It was a complain that Fetch4FD is linguistic nonsence at also that Fetch4FD is too difficult to write on keyboard (???)
Anyway, I renamed the program from Fetch4FD to MySysInf.
And except this change I added few more features:
- The help screen can be redirected too
- Verified that program correctly works in non standard text modes like 90x25
- Added copyright notice (GNU GPL, see MYSYSINF /?)
- Except total physical memory shows also presence of XMS, EMS, DPMI and VCPI
- Reports free conventional DOS memory
- Detects whether LFN services are available
x I had to remove the French and Turkish language files because they are not more compatible


Screenshot is here:

http://www.laaca.borec.cz/soubory/mysysinf.gif

Download link here:

http://www.laaca.borec.cz/soubory/mysysinf.zip

MYSYSINF
version 1.1
24.3.2024

MySysInf is a DOS port of utility NeoFetch known from Linux and other UNIXes.
There already exists one such port named DOSFETCH by Leah Neukirchen
see: https://github.com/leahneukirchen/dosfetch

My implementations uses few small fragments from her code but it is heavily
reworked and extends its capabilities.

New features in MYSYSINF over DOSFETCH:

-screen is not deleted before program output
-output can be redirected to file
-program is multilingual - messages can be translated to other languages
Currently English, Czech and Russian are available
-help screen after MYSYSINF /?
-Correctly detects huge RAM sizes (even above 4GB)
-Detects XMS, EMS, DPMI and VCPI memory drivers
-Correctly detects disk sizes bigger than 2GB
-Shows list of all available disk drives
-Detects presence of long file names services
-More informative CPU detection
-Information about DOS code page and country information



How the language customization works:
There are two possibilities:
1) Set two environment variables like in this example:
SET LANG = CZ
SET NLSPATH = C:\NLS
After that MYSYSINF expects file C:\NLS\MYSYSINF.CZ for reading messages.

2) Use parameter /L
MYSYSINF /L:CZ
In this case MYSYSINF expects file MYSYSINF.CZ in its directory



Laaca (Laaca@seznam.cz)
http://www.laaca.borec.cz

---
DOS-u-akbar!

ecm

Homepage E-mail

Düsseldorf, Germany,
25.03.2024, 06:59

@ Laaca
 

Another DOS port od NeoFetch from UNIXes - now with new name

>
> MySysInf is a DOS port of utility NeoFetch known from Linux and other
> UNIXes.
> There already exists one such port named DOSFETCH by Leah Neukirchen
> see: https://github.com/leahneukirchen/dosfetch
>
> My implementations uses few small fragments from her code but it is
> heavily
> reworked and extends its capabilities.

FTFY.

---
l

Laaca

Homepage

Czech republic,
30.03.2024, 22:07

@ Laaca
 

MySysInf 1.2

The new and probably final version (except eventual translations to other languages)


News in version 1.2
+ Detection of Virtual DMA Services (VDS)
+ Help screen is translantable to other languages like other program messages
+ Specific logo for FreeDOS (also see the help for /G option)
- Now properly works from read only disk drives

Screenshot is here:
http://www.laaca.borec.cz/soubory/mysysinf.gif


Download link here:
http://www.laaca.borec.cz/soubory/mysysinf.zip


MYSYSINF
version 1.2
20.3.2024

MySysInf is a DOS port of utility NeoFetch known from Linux and other UNIXes.
There already exists one such port named DOSFETCH by Leah Neukirchen
see: https://github.com/leahneukirchen/dosfetch

My implementations uses few small fragments from his code but it is heavily
reworked and extends its capabilities.

New features in MYSYSINF over DOSFETCH:

-screen is not deleted before program output
-output can be redirected to file
-program is multilingual - messages can be translated to other languages
Currently English, Czech, Russian, German, Turkish and French are available
-help screen after MYSYSINF /?
-Correctly detects huge RAM sizes (even above 4GB)
-Detects XMS, EMS, DPMI, VCPI and VDS memory drivers
-Correctly detects disk sizes bigger than 2GB
-Shows list of all available disk drives
-Detects presence of long file names services
-More informative CPU detection
-Information about DOS code page and country information


How the language customization works:
There are two possibilities:
1) Set two environment variables like in this example:
SET LANG = CZ
SET NLSPATH = C:\NLS
After that MYSYSINF expects file C:\NLS\MYSYSINF.CZ for reading messages.

2) Use parameter /L
MYSYSINF /L:CZ
In this case MYSYSINF expects file MYSYSINF.CZ in its directory

News in version 1.2
+ Detection of Virtual DMA Services (VDS)
+ Help screen is translantable to other languages like other program messages
+ Specific logo for FreeDOS (also see the help for /G option)
- Now properly works from read only disk drives

Laaca (Laaca@seznam.cz)
http://www.laaca.borec.cz

---
DOS-u-akbar!

ecm

Homepage E-mail

Düsseldorf, Germany,
31.03.2024, 01:57

@ Laaca
 

Pronouns again

>
> MySysInf is a DOS port of utility NeoFetch known from Linux and other
> UNIXes.
> There already exists one such port named DOSFETCH by Leah Neukirchen
> see: https://github.com/leahneukirchen/dosfetch
>
> My implementations uses few small fragments from his code but it is
> heavily
> reworked and extends its capabilities.

Please stop referring to her using "his"! I will remove your posts if you continue to do this.

---
l

glennmcc

Homepage E-mail

North Jackson, Ohio (USA),
31.03.2024, 06:51

@ ecm
 

Pronouns again

> >
>
> Please stop referring to her using "his"! I will remove your posts
> if you continue to do this.

https://github.com/leahneukirchen

Perhaps Laaca did not understand it when you posted it before ?

---
--
http://glennmcc.org/

Khusraw

E-mail

Bucharest, Romania,
31.03.2024, 08:59

@ glennmcc
 

Pronouns again

> https://github.com/leahneukirchen
>
> Perhaps Laaca did not understand it when you posted it before ?

The correct link:

https://leahneukirchen.org/faq.html

---
Glory to God for all things

ecm

Homepage E-mail

Düsseldorf, Germany,
31.03.2024, 09:59

@ Khusraw
 

Pronouns again

> > https://github.com/leahneukirchen
> >
> > Perhaps Laaca did not understand it when you posted it before ?
>
> The correct link:
>
> https://leahneukirchen.org/faq.html

The github profile is sufficient as it indicates the pronouns clearly. I already linked that in https://www.bttr-software.de/forum/forum_entry.php?id=21477 :

> Actually, according to the profile page at
> https://github.com/leahneukirchen she goes by "she/her · they/them".

---
l

Khusraw

E-mail

Bucharest, Romania,
31.03.2024, 10:58
(edited by Khusraw, 31.03.2024, 11:21)

@ ecm
 

Pronouns again

> The github profile is sufficient as it indicates the pronouns clearly. I
> already linked that in
> https://www.bttr-software.de/forum/forum_entry.php?id=21477 :

A github profile's clear indication of certain preferred pronouns is sufficient for what exactly? If you mean that it is sufficient in order to make everyone use them, let me doubt it. But you can insert among the forum rules one requiring forum members to comply with the use of such preferred pronouns under threat of banning.

---
Glory to God for all things

Laaca

Homepage

Czech republic,
31.03.2024, 18:20

@ ecm
 

Pronouns again

Well, Ok.
I was 100% convinced that Leah is a male name and that (s)he just has the gender identity problem.
But now I realised that Leah is a new name and that it is a female name and once agein I read the FAQ where is written that in current ID documents has stated female sex.
So it is stronger arguement that just gender dysphoria.
I am expecting the new language translations for MySysInf so in future I will have to update the archives. In this update I will update the TXT file.

---
DOS-u-akbar!

ecm

Homepage E-mail

Düsseldorf, Germany,
14.04.2024, 18:54

@ Laaca
 

Pronouns resolution

> Well, Ok.
> I was 100% convinced that Leah is a male name and that (s)he just has the
> gender identity problem.
> But now I realised that Leah is a new name and that it is a female name and
> once agein I read the FAQ where is written that in current ID documents has
> stated female sex.

Yes, "Leah" is a feminine name in German (and English).

> So it is stronger arguement that just gender dysphoria.
> I am expecting the new language translations for MySysInf so in future I
> will have to update the archives. In this update I will update the TXT
> file.

To resolve this problem, other than your update, Robert told me not to delete any posts over this. So I won't. However, we do prefer that to refer to one you should use the names and gendered pronouns of one's choice.

As to the "gender identity problem" or "just gender dysphoria" I don't think you should only refer to people as they want if they changed their legal records. Albeit, starting on 2024-11-01 it will get easier to change your legal given name(s) as a German citizen who is transgender. (And it may be illegal in Germany to refer to someone with a legally obsolete name, but I don't think this should be your only consideration.)

---
l

glennmcc

Homepage E-mail

North Jackson, Ohio (USA),
31.03.2024, 16:20

@ Khusraw
 

Pronouns again

> > https://github.com/leahneukirchen
> >
> > Perhaps Laaca did not understand it when you posted it before ?
>
> The correct link:
>
> https://leahneukirchen.org/faq.html

Thanks for that link... VERY much appreciated.

---
--
http://glennmcc.org/

Japheth

Homepage

Germany (South),
31.03.2024, 10:26

@ ecm
 

Pronouns again

> Please stop referring to her using "his"! I will remove your posts
> if you continue to do this.

Please remember that moderator has its roots in moderate! :-)

---
MS-DOS forever!

Back to index page
Thread view  Board view
22049 Postings in 2034 Threads, 396 registered users, 150 users online (0 registered, 150 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum