Le jeu. 2 mars 2023 à 04:21, hebisch <notificati...@github.com> a écrit :
> On Wed, Mar 01, 2023 at 04:07:11AM -0800, Greg wrote: > > On WSL 2, it's a real Linux system. Yes. With an extended 4 filesystem. > > > > $uname -a > > Linux ellipse 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 > 02:56:13 > > UTC 2023 x86_64 GNU/Linux > > > > Applications have no cues to know they are on a Linux system virtualized > > via the processor capability. It's not on an emulated system. Maybe I > said > > that but no, it's really Linux. The only difference I know of is that > > 'init' and its different levels have no meanings, you have to start > > yourself the necessary services and X has no real use since you're on the > > 'explorer.exe' Window Manager (unless via 'xrdp'). > > I am not sure what window manager have to do with "use of X". AFAIK > you can run X server on Windows (just Windows, without need for WSL). > If WSL is real Linux, then it can make network connections and > connect to X under Windows. So any program using X should work > in this setup. Of course, using network connctions you need to > fight with Windows firewall which may be too hard average > Windows user. > The X.Org X Window System. And I know for X server on Windows but, I never wanted to afford it, and from my point of view the free version is not of the required quality. Furthermore there is now WSL with GUI apps support, I can now run 'xterm' for example without starting xrdp/Xorg. That was the _very_ good news of the week for me. Here are some explanations I wrote two days ago: I use Linux in a virtualized environment, WSL, via the Intel Virtualization Technology (Intel VT), there is also the AMD Virtualization (AMD-V). See: https://learn.microsoft.com/en-us/windows/wsl/about And I start X via the Linux xrdp server, and connect to X via the RDP protocol from Windows. This is highly resource consuming, so I do not use this method a lot, and I prefer using FriCAS directly in a Windows Linux shell (wsl.exe in a PowerShell). (EDIT: I have just seen that Intel (AMD and NVIDIA too) now supports WSL GPU emulation with new drivers since the end of 2022 apparently and I can since _today_ use X apps directly from Windows. Good news for me!) So I can now run FriCAS with HyperDoc and graphics on Windows (just as with X.) https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps That was not possible in the past. > > And in current times Linux have a lot of graphic programs. Does > WSL support running graphic programs? If yes, then question is > how? > Yes. I discovered this two days ago,I don't really know how, virtual GPU apparently (see links above). But I reiterate, I think, first add 'xterm' as a prerequisite in the INSTALL file for now, and modify the help file to not mention EDITOR env var or use it really in SPADEDIT. Secondly, allow the use of 'vi' as EDITOR|FRICASEDITOR. Or any others, like gvim or emacs. Unless you do not encounter this issue of course. Personally, I installed mate-desktop and later xorg-dev Debian packages, I effectively had to manually add the Debian xterm package. $export FRICASEDITOR=vi $fricas [...] )edit /home/greg/.bashrc gives nothing (even in mate via X.Org under the RDP protocol). If it is 'gvim' or 'emacs' as EDITOR|FRICASEDITOR the file is not edited, just gvim or emacs are loaded with an empty file. So the example in )help edit: )edit /u/julius/matrix.input Does not edit this file with an editor instead of 'more' which runs nicely in an _xterm_. That's all. I can send a really simple patch if necessary of course, just which one of EDITOR or FRICASEDITOR must be chosen. Personally I would choose EDITOR but I don't think you would agree. __ Greg Message ID: <fricas/fricas/issues/119/1451239...@github.com> > > -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/fricas-devel/CAHnU2dZADfJKtVo1JLac7j6_e_wViqYkub_YpuYLp5tzjB%2B15g%40mail.gmail.com.