Using FreeDOS - FreeDOS for Linux users
ฝัง
- เผยแพร่เมื่อ 12 ธ.ค. 2024
- Maybe you've used Linux before, but this could be your first time with FreeDOS. In this video, we'll go over a few commands to help you get around in FreeDOS, from the perspective of someone who's used Linux.
Facebook
/ freedos
Twitter
/ freedos_project
Patreon
/ freedos
Thanks for another great video, I enjoyed it. :)
A few other FreeDOS-Linux differences/similarities are worth pointing out. Note that FreeDOS:
1. also has command-line completion by using Tab;
2. has "/?" as the command-line argument to get help on the command syntax, as opposed to the inconsistent "-h", "--help" in Linux utilities;
3. it is not a multi-user operating system, so the files and directories have attributes that can be changed by anyone;
4. can also handle "cd.." (without the space) to go up a directory and "cd\" to go to the root directory of the current partition;
5. has "\" as the directory separator;
6. has partitions with their own root directory;
7. has a case-insensitive file-system, but "find" is case-sensitive by default so you have to pass "/i" if you need that;
8. can also use "command | more" to paginate any command's output that is big enough not to fit on the screen.
This brings memories.
DOS may be old tech, but still good, solid tech. 😃
Thank you for this video, you have helped me so much
Glad I could help!
Great video I would love to see more of these videos. I’ve been trying to add networking support to my FreeDOS build. I can’t find the a packet driver for my nic and I’m to dumb to get ODI working.
I'll add networking to the list - but specific steps may differ depending on the setup involved. I run FreeDOS in QEMU, so my setup is probably different from yours. But I can do something about networking, and you can follow the general steps.
Also check out the wiki at wiki.freedos.org/wiki/index.php/VirtualBox_-_Chapter_5
I know it was somewhat messy in 1990s but at the same time things were really kept simple without the weird GUI which makes everything complex for a programmer.
It was a simpler time, to be sure.
is there a way to tab complete programs in your defined DOS path?
I don't think there's a way to do that in FreeCOM. You might ask Jeremy (Kernel and FreeCOM maintainer) to add it. Or enter a Change Request ticket in our Sourceforge project.
So it basically uses the same commands as the original DOS?
Yes. To be more correct, the "base" version of FreeDOS (what you get if you install "Plain DOS" in the install) is basically what you'd use in original DOS. But FreeDOS is a modern DOS and includes a bunch of other cool software and games too. So there's more to use in FreeDOS than original DOS.
@@freedosproject I knew there was more to it, I just wasn’t sure about the commands. I grew up using DOS and I miss it sometimes 🤣
Mr.JIM i have question
how i can alias some program to run it after allias coz freeDOS not use RUN command.
I wont start wordstar4.0 from alias
i create alias
*wstar=cd c:\ws4.0\*
then i must write only *ws and enter* then i start *ws.exe* from that *dir*.
but i wont use that.
*wstar=RUN c:\ws4.0\ws.exe* What i must use to run app directly i must swap run to *exec* ot other but what i must use coz *RUN* not exist in FD, how i can do that? I wont just write wstar and start ws.exe without use cd for path first.
Another problem i have with Polish font even if i use *keyb pl,852* for latin2 table and even if i swap keybrd4.sys in freedos from my polish version win98SE i still not have polish font... This is coz my bios is to new? Or something else? I need polish programers keyboard loyaut. In dos 6.22 and 7.1 i not have this problem but i have it on older pc not laptop... :(
Cheers from Poland.
Simplest is to create a batch file, which is what that's for - to group several commands into a "batch" of commands. Create a WSTAR.BAT file file that has these lines:
@ECHO OFF
C:
CD \WS4.0
WS.EXE
..and put WSTAR.BAT somewhere in your PATH.
Yes of course im so stupid :D thanks for tip. I know how to do that. Thanks.
Can i edit autoexec.bat and add lane with *cls* command at the end to start freedos with empty screen with c:\> only? or in cfg?
Mr. Jim i have hudge problem setup code page for my Polish font. I need *keyb pl,852* - is latin2 CP but even if i use keyb i have message:
*Keyboard Layout : c:\fdos\bin\keyboard.sys:pl [852] (4)* i even try swap keybrd4.sys from my win98SE cd but this is not help coz i not have polish(programers) only normal pl without using right alt for polish font. My keyboard is US international, and i think all now must work but still not wont even if keyb change CP and layout properly. This is rly bad for me coz if i wont use word procesor i cant... I test this on virtual box and on my hdd instal all the seme CP is changed but still not polish font like ąęłżźó... I have word star on my old pc with win 98SE and all work but on my laptop i wont config freedos coz i rly need mobile device with WS to write in work on it :) and i cant use win98 install coz he not support multi core cpu and laptop is to new...
Last question
Freedos can use virtual sound card and emulate soundblaster16 or gravis? Coz in new laptop i can play meny games like Tomb Raider on free dos but when i use setup audio and test no any audio detected... If i choice manualy with even with good parametrs irq dma etc. Game crash or freedos freze... and only hard reset can help. I think Free dos need 1 shortcut to reboot or end operation like ^C or ^D like in old termianl or linux. OK thats all thank You for Your Time. Cheers from Poland. :) YOU are truly my hero! i Love Free dos alias pkg manager and other meke this system so awesome :)
I create bat file put in to fdos\bin\ directory and then i create simple alias ws=wstar.bat
and work like charm :D coz i can write ws enter from all directory in dos and program run instant :) like in linux termial :) mplayer and program start in my case ws and wordstar on ^^ This make me happy Mr. Jim coz now i can do alias for all great program and games and run it from simple command :) Thank YOU for help!
@@Bekon241 "Can i edit autoexec.bat and add lane with cls command at the end to start freedos with empty screen with c:\> only? or in cfg?"
Yes, just add CLS to the end of C:\AUTOEXEC.BAT
@@Bekon241 "..problem setup code page for my Polish font. I need keyb pl,852.."
Not sure about this one. Please open a bug in the FreeDOS bug tracker so someone can look at it.
sourceforge.net/p/freedos/bugs/
Hi Mr. Jim
I try meny times and i cant setup my keyboard layout for Polish (programers) only this problem i cant resolve...
i use comand:
keyb pl,852 but this not help. No any error but still not work.
when i use
keyb pl,c:\fdos\bin\keybrd.4sys /id:852
same coz i have error "not have info about keyboard layout."
on win 98SE ms-dos i have all ok i only edit autoexec file in windows 98 and change keybrd2.sys > keybrd4.sys
i know defoult is keyboard.sys but i also try this file...
I wont use free dos all the time but i rly need all fonts :)
i need pl layout where i use RIGHT *gr.ALT* and have that layou ---> www.bing.com/th?id=OIP.cqlxVWM0rf1DRMcNKR4iFgHaC9&pid=Api&rs=1
this is polish (progrmers) keyboard layout qwerty.... even if i try shift + alt swap i dont have any changes...
What i do wrong? I must download some file like KPDOS v3.0 or this is implemented?
I read all free dos doc but not work...
*Examples:
KEYB SP,858 Loads KEYB with the layout for the Spanish*
Layouts available on the KEYBOARD.SYS library file
-------------------------------------------------------------------------------------------------
*Poland (101-key, prog.) (1) pl 852* 858, 850 EGA
667, 668, 790, 991 EGA10
58335 EGA12
848, 849 EGA4
(102-key) pl214 852, 858, 850 EGA
667, 668, 790, 991 EGA10
58335 EGA12
848, 849 EGA4
When i load keyoard like this i have info all load but number in () is (4) not (1) like above... is ok or not? I alweys think (4) is coz keybrd4.sys file... not like in table... > *Poland (101-key, prog.) >>>(1)
Great :D i dont have idea to free dos use alias :D awesome future coz i can run my all aps like this.
Example: wordstar4.0
wstar=cd c:\prog\ws4.0\
then ws enter :) coz i not find run command in freedos.
This is live safer thanks. On linux i use meny alliases for mplayer :D Like use filter or open playlist.
It's more common to include aliases for commands & utilities that you use all the time, but want to avoid including all of the options. For example, ls=DIR/w/ogne/b. That makes it easier to type "ls" rather than all the options to DIR every time.
For applications like WordStar, you might be better to include this in the PATH variable. Then you can run your application from wherever you are. (This is very common for programmers who use the compiler or other programming tools.)
I know linux comand :) now i use 3 boot pc with puppy bionic linux win 10 and FreeDos
I rly dont know my laptop have to new bios or something coz i have only problem with Polish Font in Free dos even if i use keyb *pl,852* not work :( i cant use polish (programers) keyboard coz i not se polish font like łóżźęą only random mark... I must try swap freedos keybrd4.sys to orginal file from winj98SE ms-dos or dos 7.1 coz i use meny os now and i have meny config...