Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: candycanearter07 Newsgroups: comp.os.linux.misc Subject: Re: What programs do you make sure are installed on a new Linux Date: Fri, 19 Jul 2024 14:50:03 -0000 (UTC) Organization: the-candyden-of-code Lines: 58 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 19 Jul 2024 16:50:04 +0200 (CEST) Injection-Info: dont-email.me; posting-host="fd74a1eab1aa2121d8a10b0d169e620a"; logging-data="3193330"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/9x+QseOFdW8T98MlencQDdy9sIrtYz5TBqtlOUGZldg==" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:iRlUfUAQtB5MaLQ1Wr4CHFqBzPo= X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]% b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx `~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e ZrQsWJ >|l^I_[pbsIqwoz.WGA] wrote at 11:56 this Friday (GMT): > On 19/07/2024 10:57, Borax Man wrote: >> On 2024-07-16, Richard Kettlewell wrote: >>> Borax Man writes: >>>> On 2024-07-15, Lawrence D'Oliveiro wrote: >>>>> On Sun, 14 Jul 2024 22:38 +0100 (BST), John Dallman wrote: >>>>>> ldo@nz.invalid (Lawrence D'Oliveiro) wrote: >>> >>>>>>> But it is fundamental in Windows, is it not, that every process has >>>>>>> a GUI. Unless it is a _service_, which runs in the background, and >>>>>>> is managed separately. >>>>>> >>>>>> No, it is not. "Console applications" run with stdin, stdout & stderr, >>>>>> rather like traditional Unix programs. They can also have character >>>>>> graphics UIs, in terminal windows. >>>>> >>>>> So why do Python scripts, for example, have to come in two varieties on >>>>> Windows, with different extensions “.PY” versus “.PYW”? >>>> >>>> Windows definately does do "console" applications. What is missing, is >>>> the ability to run a console application without the GUI running itself, >>>> but the standard C "Hello world" program does run on Windows >>> >>> I’m not sure what you mean by “the GUI running itself”. Windows >>> executables either use the CUI (console) or GUI subsystem, and this is >>> represented by a field in the PE file header, rather than being a >>> behavior of the application after it starts. >>> >>> CUI subsystem applications always run within a console, either inherited >>> from the parent process, or created automatically if there isn’t one to >>> inherit. GUI subsystem applications don’t normally get one (but can >>> create one). Presumably a GUI subsystem application doesn’t have to open >>> any Window at all if it doesn’t want to. >>> >>> In Python the .py vs .pyw distinction presumably allows file >>> associations to a CUI subsystem version of the interpreter and a GUI >>> subsystem version of the interpreter. >>> >>> References: >>> * https://devblogs.microsoft.com/oldnewthing/20090101-00/?p=19643 >>> * https://learn.microsoft.com/en-us/windows/console/creation-of-a-console >>> * https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-image_optional_header32 >>> >> You can run Linux without X or Wayland. You can run in pure text mode, >> no graphics at all. Windows, as far as I can tell, boots into a GUI >> always. Am I wrong on that? > > I think you can still boot DOS > > And many still do. > > A|houigh most of what DOS can do is done better on a raspberry PI PICO > or arduino... I thought DOS was removed from Windows starting in Windows ME.. -- user is generated from /dev/urandom