News for hackers. Stuff that matters.
Re:MinC Is Not Cygwin by dbacar on Wednesday April 23, 2025 @07:28AM (#43770848)
With all respect, why would anyone bother to use these tools when you have a full-blown linux distro at your command with WSL/2?
Re:MinC Is Not Cygwin by nottorp on Wednesday April 23, 2025 @08:06AM (#43771144)
Yes, set up a VM and then add 3 levels of nested containers inside the VM just to be sure.

Incidentally next week I have to debug one of our tester's laptop - he installed vmware which stopped WSL from running somehow and now neither option works.

Re:MinC Is Not Cygwin by skinner927 on Wednesday April 23, 2025 @09:16AM (#43771800)
This is pretty common. They turned off hyper-v.
Re:MinC Is Not Cygwin by nottorp on Wednesday April 23, 2025 @09:40AM (#43772061)
Thanks, I'll check that when the easter some-people-took-more-time-off period is over.
Re:MinC Is Not Cygwin by thingfish on Wednesday April 23, 2025 @09:55AM (#43772260)
You hit an important point here. Teaching IT to 16 jear old children is very much like being an admin for a large corporation. Most of them have installed VMWare, VirtualBox, Hyper-V and pfSense, depending on the preference of the other teachers. Most first-graders don't know anything about networking, so I didn't want to add WSL to that. I used Cygwin. Worked perfectly until I started to teach Sendmail. Sendmail runs in unprivileged mode. This means that it starts as root, but then switches to a user with very few rights. Cygwin couldn't handle that at first, but I got it working. But then students couldn't uninstall Cygwin anymore because of changed file ownership in Windows. I had to install a second Cygwin to uninstall the first. With MinC I took extreme care to get all the different models of Access Control Lists that are used in Windows right.
Re:MinC Is Not Cygwin by hughw on Wednesday April 23, 2025 @04:38PM (#43776389)
wait, first graders?!?
Re:MinC Is Not Cygwin by nottorp on Thursday April 24, 2025 @08:03AM (#43781691)
He said 16 year old. I was installing Slackware from floppies at 16 so why wouldn't modern kids play with VMs?
Re:MinC Is Not Cygwin by dbacar on Sunday April 27, 2025 @12:46AM (#43809489)
yes but you get what you pay for, a real linux environment that you can install any tool. Vmware is kinda problematic as I observe on my windows 11. And I had problems with hyperv . Even for wsl2 i had to do reinstalls till I get it working but now it is pretty cool. It takes around 5-6 seconds for initial vm startup. If you close the terminal the vm shuts down in a couple of minutes. But if you want it always up, I use the tmux trick to make it always stay up.
Re:MinC Is Not Cygwin by thunder-blue-3 on Wednesday April 23, 2025 @07:43AM (#43770958)
wow, TIL. Can't believe I've done nearly 40 circles around our sun and never knew about WSL/2.
Re:MinC Is Not Cygwin by orra on Wednesday April 23, 2025 @08:31AM (#43771322)
To be fair, WSL/2 didn't exist for most of those circles.
Re:MinC Is Not Cygwin by i_am_proteus on Wednesday April 23, 2025 @07:48AM (#43771008)
One reason would be if anyone does not want to, or is not able to, enable virtualization (WSL requires this).
Re:MinC Is Not Cygwin by robohoe on Wednesday April 23, 2025 @08:03AM (#43771112)
Many orgs’ security policies don’t permit WSL/2.
Re:MinC Is Not Cygwin by blueflow on Wednesday April 23, 2025 @07:40AM (#43770936)
Better manual pages?
Re:MinC Is Not Cygwin by cowmix on Wednesday April 23, 2025 @08:49AM (#43771518)
WSL/2 has a lot of overhead and it NOT Windows native. I used it all the time, but I also use Windows Git Bash -- which is also like this project.
Re:MinC Is Not Cygwin by dbacar on Sunday April 27, 2025 @12:40AM (#43809470)
I used Git Bash also but it is kinda slowish, does not act like a true terminal always but it is OK. WSL2 is much better in my opinion, and fast.
Re:MinC Is Not Cygwin by Borg3 on Wednesday April 23, 2025 @11:44AM (#43773437)
Because I want more tight coupling with Win32 OS. Im old Cygwin user here. Actually, I cant work on Windows without Cygwin. Its very first thing installed on fresh system so I can bring all my tools with it :)

I have free access to entire FS, I can run Win32 console tools as well inside bash. If I want true Linux environment, I can always spawn VM and use Xserver on Win32 to work on it (Xming).

Re:MinC Is Not Cygwin by charcircuit on Wednesday April 23, 2025 @12:10PM (#43773716)
You can have access to the entire fs (/mnt/c) and run exe files with WSL too
Re:MinC Is Not Cygwin by Borg3 on Wednesday April 23, 2025 @04:12PM (#43776175)
Probably WSL1.. Yeah.. But why should I bother with it if Cygwin does the work just fine? :)
Re:MinC Is Not Cygwin by butterisgood on Wednesday April 23, 2025 @09:17PM (#43778416)
Works in WSL2 - thanks to Plan 9’s 9P protocol
Re:MinC Is Not Cygwin by dehrmann on Wednesday April 23, 2025 @02:19PM (#43775069)
Doesn't WSL 2 essentially run Linux in a VM? It's fine when things are in one OS or the other, but gets weird when it crosses over.
Re:MinC Is Not Cygwin by dbacar on Sunday April 27, 2025 @12:43AM (#43809479)
Yes it is in a VM but beautifully handled.Your C drive is mounted and slower than a real linux because it is NTFS but works much better than those cygwin, or git bash tools.
Re:MinC Is Not Cygwin by silverwind on Thursday April 24, 2025 @12:51PM (#43784857)
Because WSL is just a VM, Cygwin is native.
Re:MinC Is Not Cygwin by dbacar on Sunday April 27, 2025 @12:57AM (#43809520)
In my observation, cygwin is so slow to be usable.