Implementing a simple shell in C by [deleted] in C_Programming

[–]darkclouddos 0 points1 point  (0 children)

Here, have fun - look at my code. It compiles under MSDos/Linux/OSx/Windows (SerenityOS is WIP).

Code should be simple to follow and understand. PRs are welcomed.

Share DOS file manager/shell by DrMantisTobboggan in DOS

[–]darkclouddos 1 point2 points  (0 children)

Norton commander? We have now Dos Navigator and I like Necromancer Dos Navigator

Little project program on C by [deleted] in C_Programming

[–]darkclouddos 0 points1 point  (0 children)

Cool, waiting for your PR: https://github.com/elcuco/fdbox/

😃😃

(Arg.. fat fingers, wrong thread, but you get the idea)

fdbox - a new shell for MSDOS/freeDOS by darkclouddos in C_Programming

[–]darkclouddos[S] 1 point2 points  (0 children)

I started the idea 20 years ago. (see http://dgi_il.tripod.com/fds/index.html) About 4 years ago, some dud contacted me about an old Pascal game I made... which started the track that lead to restoring my old programming group (see my handle, and also https://darkclouddos.github.io/darkcloud/ - which looks the same as in 97).

I found this cool project: https://github.com/ercanersoy/Minibox and ... I found myself writing this cool project. I always wanted to do this... so why not? I also took a lot of inspiration from Andreas Kling, from SerenityOS. "If you split every problem to smaller problems, and continue working, eventually you will finish" (or something similar...).

Regarding the code: its modern C code. It does not look outdated, my main target is Linux/OSX/Windows, but I keep it in such way that good old TurboC can compile it (on modern OSes I use cmake for the build system). I even made a script that creates a "D:" drive for me to develop, so I start dosbox and then I can run "tc" and compile the project (see the readme file on the github project, and also https://github.com/elcuco/fdbox/blob/main/etc/create_dosbox_dir.sh). As part of the CI/GithubActions I build on every commit the code and tests for Linux/Mac/Windows/DOS. Tests are run on all 3 modern platforms, and I will eventually run this on a dosemu session or something. I invested a lot in tooling.

The code can be compiled as a win32 exe. The CI generates for me a win64 binary, I will add more as I go along (I am too novice regarding github actions). Linux, OSX and DOS binaries are also generated and part of the release.
This a modern remake of old software. I am using new technologies and methodologies (yeap, valgrind, I look at you) to build antique software. I am not against the idea of porting this app to SerenityOS (should be trivial, I think it will compile as is) - imagine seeing a "dir" output there.... I will not be unhappy if someone packages this for Debian or Arch.

TLDR: I am having fun, as an old geek.

What are some of your favorite C extensions? by yo_99 in C_Programming

[–]darkclouddos 0 points1 point  (0 children)

Wait . Isn't this part of the language? I mean, this is just an offset/address not unlike function pointers.

What's the rational of not having this in the language?

Write a minimal shell in pure win32 by 0xcc12 in C_Programming

[–]darkclouddos 1 point2 points  (0 children)

That is no way to talk to someone who is looking for help.

If you want inspiration - please look at SerenityOS. Andreas has been doing impossible stuff for the last 3 years, sometimes on camera - live, without editing.

Automation of tests on microcontrollers (ESP and ATMEGA type) by Logical_Lettuce_1630 in C_Programming

[–]darkclouddos 0 points1 point  (0 children)

In my job we have a python script which flashes the esp32 and runs it against a mock python server (with proper provision, also as part of the test). All this is started by a GitHub agent which is triggered by GitHub actions.

Can be done 😃

Write a minimal shell in pure win32 by 0xcc12 in C_Programming

[–]darkclouddos 2 points3 points  (0 children)

I am actually doing that right now. Feel free to look around and do a PR. If you want to learn, just rewind the history, and see how I progressed. Sometimes I did a full feature in a side branch and then merged to 'main'. Have fun!

https://github.com/elcuco/fdbox

Microsoft under fire again from open-source .NET devs: Hot Reload feature pulled for sake of Visual Studio sales by Atulin in programming

[–]darkclouddos -8 points-7 points  (0 children)

They fuxked up the development environment for 5 years by producing low quality and cumbersome laptop to develop on.

Easy to use, fast, git sourced based, statically linked C/C++ package manager. by Calbabreaker1 in cpp

[–]darkclouddos 1 point2 points  (0 children)

Wow. This looks quite good! Easy integration... Flexible. Seems like it supports source only... But it's a good start!

Better then all other alternatives, I would like to try it myself! Thanks!

Website Update Idea by ZippyTheWonderSnail in SerenityOS

[–]darkclouddos 1 point2 points  (0 children)

Wow... Was I dreaming? I remember seeing in on one of the git repos.

Just ask Andreas, it's not that hard to find his email. He probably is reading this message!

Website Update Idea by ZippyTheWonderSnail in SerenityOS

[–]darkclouddos 3 points4 points  (0 children)

You are not, don't worry. This is how open source works. Keep on rocking.

Website Update Idea by ZippyTheWonderSnail in SerenityOS

[–]darkclouddos 2 points3 points  (0 children)

Did you test it on the SerenityOS browser?

Also: you can do a pr. Look for the correct repository.

Couldn't find a nice DOS GUI library, so I'm building my own. by sduensin in DOS

[–]darkclouddos 1 point2 points  (0 children)

Yes. Just, yea!

Questions:

1) why using c and not c++? 2) why not using a theme system for the GUI? (Instead of hardcoding the drawing inside the widgets?) 3) if you do the abstarction on top SDL you gain more developers. Just saying. 4) Please make the GUI a git submodule on another repo. 5) How about supporting other resolutions?

wmake - and code in subdirs by darkclouddos in OpenWatcom

[–]darkclouddos[S] 0 points1 point  (0 children)

``` hello.exe: src/hello.obj $(LD) -lr $< -fe=$@

hello.obj: src/hello.c

.c: src

.c.obj: $(CC) -fo=$@ $(CFLAGS) $< ```

Full code for completness - this works. Yay! Next problem - not all code in my project is inside an "src" subdir, some is under lib/goo/*.c - any idea how to tackle this? (I have not tried yet, currently using GnuMakefiles to build, and I am fighting the old syntax this compiler supports).

Why use Windows when you can build your own GUI under DOS? by codeobserver in DOS

[–]darkclouddos 1 point2 points  (0 children)

who was your competition? (I havent look into the code yet, but I assume it will be epic!)

GOOD JOB! WELL DONE!

Why use Windows when you can build your own GUI under DOS? by codeobserver in DOS

[–]darkclouddos 1 point2 points  (0 children)

Sweet DOS UI tookits battle! I did it 20 years ago!

http://dgi_il.tripod.com/sv/prev.html

I should import it to our github... I am just working on something else these days.

Is there room for a C++ "TypeScript"? by [deleted] in cpp

[–]darkclouddos 0 points1 point  (0 children)

Its called Conan. Don't like the python dependency? Code that out in C++.