<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Neat hack!<br>
<br>
Cheers,<br>
<br>
On 2/23/2023 11:39 AM, Hilaire Fernandes via Cuis-dev wrote:
<blockquote cite="mid:0ad5713a-2d7c-c6fe-3d0b-f9a431c10e52@free.fr"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p><font size="4">Both does not work.</font></p>
<p><font size="4">I need the home directory of the user, i.e.
/home/ken</font></p>
<p><font size="4">For now I will do it at OS level. Work on Linux,
for the Windows counter part, I hope I use the right
environement variable (feedback, any?)<br>
</font></p>
<p>On Linux<br>
</p>
<p># execute<br>
exec "$VM/squeak" $COMPO \<br>
--plugins "$VM" \<br>
--encoding utf-8 \<br>
-vm-display-X11 \<br>
--title "GNU Dr. Geo" \<br>
"$image" \<br>
<b> -d "Smalltalk at: #home put: '$HOME' asDirectoryEntry"</b><br>
$DRGEO_OPT"$filename"<br>
</p>
<p><br>
</p>
<p>On Windows:</p>
<p>START "" /MAX /B VM\SqueakConsole.exe
Resources\image\drgeo.image<b> -d "Smalltalk at: #home put:
'%LOCALAPPDATA%' asDirectoryEntry"</b><br>
<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">Le 23/02/2023 à 15:34, <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:ken.dickey@whidbey.com">ken.dickey@whidbey.com</a>
a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:672e93811c4c50b91e559a4c838d2b9c@whidbey.com"><br>
Depending on what you want: <br>
<br>
Smalltalk imagePath. <br>
<br>
Note also (home directory on Linux) <br>
<br>
'~' asDirectoryEntry pathName. <br>
</blockquote>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich</pre>
</body>
</html>