Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #411757
| From | Jasen Betts <jasen@xnet.co.nz> |
|---|---|
| Newsgroups | sci.electronics.design |
| Subject | Re: WHOA! Microsoft strikes again... |
| Date | 2016-05-13 12:35 +0000 |
| Organization | "JJ's own news server" |
| Message-ID | <nh4hmb$ib9$1@gonzo.alcatraz> (permalink) |
| References | (8 earlier) <VU3Uy.9474$Sk5.8536@fx45.am4> <nfvl63$70o$2@gonzo.alcatraz> <6d4f8841-e0a2-4ff0-88e0-2c51f9b38329@googlegroups.com> <ngv34m$moc$1@gonzo.alcatraz> <e931cb01-d9de-4b33-8766-93173b069eed@googlegroups.com> |
On 2016-05-11, Lasse Langwadt Christensen <langwadt@fonz.dk> wrote: > Den onsdag den 11. maj 2016 kl. 13.31.22 UTC+2 skrev Jasen Betts: >> On 2016-04-29, Lasse Langwadt Christensen <langwadt@fonz.dk> wrote: >> > Den fredag den 29. april 2016 kl. 15.01.44 UTC+2 skrev Jasen Betts: >> >> On 2016-04-27, Tom Gardner <spamjunk@blueyonder.co.uk> wrote: >> >> > On 27/04/16 14:04, Phil Hobbs wrote: >> >> >>> Thanks Jeff, You know I miss all the command line stuff from the old DOS days. >> >> >>> (It gave me this illusion, that I knew what I was doing with the 'puter.) >> >> >> >> >> >> No need to miss it, it's all still there. On my remaining Windows boxes I install Cygwin, which gives me a Unix-style (bash) command line. >> >> > >> >> > You may not need to do that much longer: MS is bringing bash and much >> >> > more to windows >> >> > Bash on Windows is Microsoft's solution to the problem and it aims to >> >> > bring the entire Ubuntu userland, minus the Linux kernel to Windows. >> >> > As a result, developers have access to the complete set of Ubuntu >> >> > CLI tools and utilities. In layman's terms, it's akin to running >> >> > Linux in Windows, natively. >> >> > >> >> > https://www.linux.com/news/bash-windows-what-does-it-mean >> >> > and widely reported elsewhere, e.g. >> >> > http://techcrunch.com/2016/03/30/be-very-afraid-hell-has-frozen-over-bash-is-coming-to-windows-10/ >> >> > >> >> > It will be interesting to see how it all pans out. >> >> >> >> Windows doesn't have "argv[]"... fork() neither SFAIK this could get messy. >> >> >> > >> > argv[] as in command-line arguments? that is standard C on all platforms >> >> yeah, windows doesn't have that. instead every program gets a single >> string and has to figure out where each argument starts and ends and >> what it contains... different programs often do it differently. > > someone forgot to tell Microsoft that, because it is an array of strings > like usual Yeah according to msvc documentation it seems there's a way to escape any string I can think of such that any argv can be produced. it didn't seem so easy when I actually had to do it. could be because I was calling .bat files... >> > cygwin implements fork on windows and native windows has a createProcess >> > that does kinda the same thing so I'm sure MS could figure it out >> >> FAICT createproccess is not the same as fork, doesn't have the same >> capablities... >> >> I did somge googleing, it seems they're using a linux emulation layer >> (like wine but pointing the opposite direction) so they can fake argv[] >> in a self-consistent way without too much effort, fork will be trickier. > > with createprocess doing something similar to fork like a bicycle pump is similar to dynamite > and a third party, cygwin, implementing a full featured fork, I doubt it would > that difficult for MS add > if they don't already have it in Interix available for servers Iouldn't find anything that said a fully functional fork was available. Say I write a program that has state in memory and implement the save feature by forking a process to write the state to disk while the main process continues to run uninterrupted manipulating the state. cywin's going to stop me while it finds space in ram (or more likely the swap file) so it can duplicate all of the memory... -- \_(ツ)_
Back to sci.electronics.design | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: WHOA! Microsoft strikes again... Jasen Betts <jasen@xnet.co.nz> - 2016-05-11 10:56 +0000
Re: WHOA! Microsoft strikes again... Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-05-11 11:35 -0400
Re: WHOA! Microsoft strikes again... Jasen Betts <jasen@xnet.co.nz> - 2016-05-13 12:06 +0000
Re: WHOA! Microsoft strikes again... Jasen Betts <jasen@xnet.co.nz> - 2016-05-13 12:40 +0000
Re: WHOA! Microsoft strikes again... Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-05-13 11:00 -0400
Re: WHOA! Microsoft strikes again... Jasen Betts <jasen@xnet.co.nz> - 2016-05-13 20:56 +0000
Re: WHOA! Microsoft strikes again... Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-05-13 18:19 -0400
Re: WHOA! Microsoft strikes again... Jasen Betts <jasen@xnet.co.nz> - 2016-05-14 06:21 +0000
Re: WHOA! Microsoft strikes again... Lasse Langwadt Christensen <langwadt@fonz.dk> - 2016-05-11 09:54 -0700
Re: WHOA! Microsoft strikes again... M Philbrook <jamie_ka1lpa@charter.net> - 2016-05-11 14:05 -0400
Re: WHOA! Microsoft strikes again... Jasen Betts <jasen@xnet.co.nz> - 2016-05-13 12:38 +0000
Re: WHOA! Microsoft strikes again... Jasen Betts <jasen@xnet.co.nz> - 2016-05-13 12:35 +0000
csiph-web