Re: [squeak-smalltalk/squeak-object-memory] Squeak on Linux cannot read from `/dev/stdin` (Issue #164)

David T Lewis via Squeak-dev <[email protected]> Sun, 02 Aug 2026 15:02:42 -0700
Newsgroups gmane.comp.lang.smalltalk.squeak.general
Message-ID <squeak-smalltalk/squeak-object-memory/issues/164/[email protected]>
--===============4291826362980630708==
Content-Type: multipart/alternative;
 boundary="--==_mimepart_6a6fbe824b695_c211603466e7";
 charset=UTF-8
Content-Transfer-Encoding: 7bit


----==_mimepart_6a6fbe824b695_c211603466e7
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

dtlewis290 left a comment (squeak-smalltalk/squeak-object-memory#164)

The root cause of this and many related problems is that our file streams all inherit from PositionableStream, but pipes and stdio streams (and socket streams etc) are not positionable. We do not have a proper representation of non-positionable I/O streams.

If you have OSProcess/CommandShell loaded, take a look at AttachableFileStream. This is a complete kludge (I can say the because I wrote it) but it gives an idea of the workarounds needed to 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/squeak-smalltalk/squeak-object-memory/issues/164#issuecomment-5160545771
You are receiving this because you are subscribed to this thread.

Message ID: <squeak-smalltalk/squeak-object-memory/issues/164/[email protected]>
----==_mimepart_6a6fbe824b695_c211603466e7
Content-Type: text/html;
 charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div style=3D"display: flex; flex-wrap: wrap; white-space: pre-wrap; alig=
n-items: center; "><img height=3D"20" width=3D"20" style=3D"border-radius=
:50%; margin-right: 4px;" decoding=3D"async" src=3D"https://avatars.githu=
busercontent.com/u/2997787?s=3D20&amp;v=3D4" /><strong>dtlewis290</strong=
> left a comment <a href=3D"https://github.com/squeak-smalltalk/squeak-ob=
ject-memory/issues/164#issuecomment-5160545771">(squeak-smalltalk/squeak-=
object-memory#164)</a></div>
<p dir=3D"auto">The root cause of this and many related problems is that =
our file streams all inherit from PositionableStream, but pipes and stdio=
 streams (and socket streams etc) are not positionable. We do not have a =
proper representation of non-positionable I/O streams.</p>
<p dir=3D"auto">If you have OSProcess/CommandShell loaded, take a look at=
 AttachableFileStream. This is a complete kludge (I can say the because I=
 wrote it) but it gives an idea of the workarounds needed to</p>

<p style=3D"font-size:small;-webkit-text-size-adjust:none;color:#666;">&m=
dash;<br />Reply to this email directly, <a href=3D"https://github.com/sq=
ueak-smalltalk/squeak-object-memory/issues/164?email_source=3Dnotificatio=
ns&amp;email_token=3DBFYAK6J73TFH32YD35Z4QGT5H63AFA5CNFSNUABFM5UWIORPF5TW=
S5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMJWGA2TINJXG4Y2M4TFMFZW63VKON2WE43DOJUWE=
ZLEUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#issuecomment-5160545771">view it on Gi=
tHub</a>, or <a href=3D"https://github.com/notifications/unsubscribe-auth=
/BFYAK6IVNCAW6QAYWDMSTRT5H63AFAVCNFSNUABFKJSXA33TNF2G64TZHM2DKNBYHA3TANRU=
HNEXG43VMU5TKMBUGQYTSMJZHAZKC5QC">unsubscribe</a>.<br />Triage notificati=
ons, keep track of coding agent tasks and review pull requests on the go =
with GitHub Mobile for <a href=3D"https://github.com/notifications/mobile=
/ios/BFYAK6NOSLE5N2GPTRHZ4YT5H63AFA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZX=
KZKDN5WW2ZLOOQXTKMJWGA2TINJXG4Y2M4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOSVGM=
33PORSXEX3JN5ZQ">iOS</a> and <a href=3D"https://github.com/notifications/=
mobile/android/BFYAK6JHEE4OTETX2HD7XOT5H63AFA5CNFSNUABFM5UWIORPF5TWS5BNNB=
2WEL2JONZXKZKDN5WW2ZLOOQXTKMJWGA2TINJXG4Y2M4TFMFZW63VKON2WE43DOJUWEZLEUVS=
XMZLOOSXGM33PORSXEX3BNZSHE33JMQ">Android</a>. Download it today!
<br />You are receiving this because you are subscribed to this thread.<i=
mg src=3D"https://github.com/notifications/beacon/BFYAK6IEHMFAFHN3GAV24RL=
5H63AFBFCNFSM6AAAAAC4XECAKKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3P=
NVWWK3TUL5UWJTYAAAAACM4XVXV2M4TFMFZW63VKON2WE43DOJUWEZLE.gif" height=3D"1=
" width=3D"1" alt=3D"" /><span style=3D"color: transparent; font-size: 0;=
 display: none; visibility: hidden; overflow: hidden; opacity: 0; width: =
0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <sp=
an>&lt;squeak-smalltalk/squeak-object-memory/issues/164/5160545771</span>=
<span>@</span><span>github</span><span>.</span><span>com&gt;</span></span=
></p>

<script type=3D"application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/squeak-smalltalk/squeak-object-memory/issue=
s/164?email_source=3Dnotifications\u0026email_token=3DBFYAK6JJJ7HEMW3CGXZ=
OKN35H63AFA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMJWGA2T=
INJXG4Y2M4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOSVWO3LBNFWF6Y3MNFRWW#issueco=
mment-5160545771",
"url": "https://github.com/squeak-smalltalk/squeak-object-memory/issues/1=
64?email_source=3Dnotifications\u0026email_token=3DBFYAK6JJJ7HEMW3CGXZOKN=
35H63AFA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMJWGA2TINJ=
XG4Y2M4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOSVWO3LBNFWF6Y3MNFRWW#issuecomme=
nt-5160545771",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>

----==_mimepart_6a6fbe824b695_c211603466e7--

--===============4291826362980630708==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Squeak-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
--===============4291826362980630708==--