|
From: Wolfgang D. <wol...@da...> - 2020-07-02 18:54:15
|
Am 02.07.20 um 16:11 schrieb David Randall: > I got the wxMaxima-Maxima connection alive by > 1) going on the work network and restoring the drives (including > H:\). > 2) H:\ is now a valid drive > 3) Maxima works... Hi David, ok. I assume, the issue was, that wxMaxima probably checks for 'unusual' error output (maybe Gunter Königsmann can tell more...) and because of the error message, it did not believe, that the connection with Maxima was correctly established. > Is there any way to have the command default location that is used > to start maxima assume that it is starting from a driver other than > H:\ (my default drive)? > [...] > Maybe something needs to be edited / modified in the maxima.bat batch > file? There are some options: (a) According to maxima.bat you can set the variables MAXIMA_USERDIR and MAXIMA_TEMPDIR before starting Maxima (maybe in a batch file which you use to start wxMaxima). Hmm. There should be an easy option to do this, maybe a configuration option in wxMaxima... (b) You can modify maxima.bat and change the lines: rem set userdir and tempdir - replace "\" with "/" if not defined MAXIMA_USERDIR set "MAXIMA_USERDIR=%USERPROFILE:\=/%/maxima" if not defined MAXIMA_TEMPDIR set "MAXIMA_TEMPDIR=%TEMP:\=/%" to some directory, you want, maybe for D:\ (if that exists), or C:\windows\temp - for that you might replace these lines with set "MAXIMA_USERDIR=C:/windows/temp" set "MAXIMA_TEMPDIR=C:/windows/temp" You should set it to a directory, where you have write permissions, Maxima need to write e.g. Gnuplot files when creating plots, etc. Beware that if you change that file, the reasonable default (your profile directory) will not be used, even if you are at work and the H:-drive is available. (c) Maybe the easiest option: When you are not connected to the work network, you can connect the H:\ drive to another drive/directory on the local PC. In an 'explorer'-window use 'Map network drive' and connect the H:-drive letter to \\localhost\c$ (then the H: drive will be the same as the c: drive) or \\localhost\c$\windows\temp or any other directory on your C: drive (or any other drive...). Do not connect it permanently or disconnect the connnection before you go to work, otherwise you might have problems with your network drive there - and your IT departement will hate me... ;-) Best regards, Wolfgang |