[squeak-smalltalk/squeak-object-memory] Squeak on Linux cannot read from `/dev/stdin` (Issue #164)
Christoph Thiede via Squeak-dev <[email protected]> Sun, 02 Aug 2026 12:51:34 -0700
| Newsgroups | gmane.comp.lang.smalltalk.squeak.general |
|---|---|
| Message-ID | <squeak-smalltalk/squeak-object-memory/issues/[email protected]> |
--===============7279824042895633616==
Content-Type: multipart/alternative;
boundary="--==_mimepart_6a6f9fc680ad8_e911608434070";
charset=UTF-8
Content-Transfer-Encoding: 7bit
----==_mimepart_6a6f9fc680ad8_e911608434070
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
LinqLover created an issue (squeak-smalltalk/squeak-object-memory#164)
```smalltalk
(FileStream readOnlyFileNamed: '/dev/stdin') contents --> MultiByteFileStream(StandardFileStream)>>primGetPosition: failed (ec: nil)
```
```bash
$ squeak squeak/FreshTrunk.image --file /dev/stdin <<EOF
> 'From Squeak6.1rc2 of 2 August 2026 [latest update: #23945] on 2 August 2026 at 9:38:14 pm'!
!Object methodsFor: 'accessing' stamp: 'ct 8/2/2026 21:38'!
newselector
^self! !
EOF
MessageNotUnderstood: UndefinedObject>>contentsOfEntireFile
```
--
Reply to this email directly or view it on GitHub:
https://github.com/squeak-smalltalk/squeak-object-memory/issues/164
You are receiving this because you are subscribed to this thread.
Message ID: <squeak-smalltalk/squeak-object-memory/issues/[email protected]>
----==_mimepart_6a6f9fc680ad8_e911608434070
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/38782922?s=3D20&v=3D4" /><strong>LinqLover</strong=
> created an issue <a href=3D"https://github.com/squeak-smalltalk/squeak-=
object-memory/issues/164">(squeak-smalltalk/squeak-object-memory#164)</a>=
</div>
<div class=3D"highlight highlight-source-smalltalk" dir=3D"auto"><pre cla=
ss=3D"notranslate">(<span class=3D"pl-c1">FileStream</span> <span class=3D=
"pl-c1">readOnlyFileNamed:</span> <span class=3D"pl-s"><span class=3D"pl-=
pds">'</span>/dev/stdin<span class=3D"pl-pds">'</span></span>) contents <=
span class=3D"pl-k">--</span><span class=3D"pl-k">></span> <span class=
=3D"pl-c1">MultiByteFileStream</span>(<span class=3D"pl-c1">StandardFileS=
tream</span>)<span class=3D"pl-k">>></span><span class=3D"pl-c1">pr=
imGetPosition:</span> failed (<span class=3D"pl-c1">ec:</span> <span clas=
s=3D"pl-c1">nil</span>)</pre></div>
<div class=3D"highlight highlight-source-shell" dir=3D"auto"><pre class=3D=
"notranslate">$ squeak squeak/FreshTrunk.image --file /dev/stdin <span cl=
ass=3D"pl-s"><span class=3D"pl-k"><<</span><span class=3D"pl-k">EOF=
</span></span>
<span class=3D"pl-s">> 'From Squeak6.1rc2 of 2 August 2026 [latest upd=
ate: #23945] on 2 August 2026 at 9:38:14 pm'!</span>
<span class=3D"pl-s"></span>
<span class=3D"pl-s">!Object methodsFor: 'accessing' stamp: 'ct 8/2/2026 =
21:38'!</span>
<span class=3D"pl-s">newselector</span>
<span class=3D"pl-s"> ^self! !</span>
<span class=3D"pl-s"><span class=3D"pl-k">EOF</span></span>
MessageNotUnderstood: UndefinedObject<span class=3D"pl-k">>></span>=
contentsOfEntireFile</pre></div>
<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&email_token=3DBFYAK6JWKV5ZOR53O2PZ3OL5H6LUNA5CNFSL4Z3JMQ5C6L3HNF2C=
22DVMIXUS43TOVSS6NJQGQ2DCOJRHE4DFJTSMVQXG33OVJZXKYTTMNZGSYTFMSSWK5TFNZ2KY=
ZTPN52GK4S7MNWGSY3L">view it on GitHub</a>, or <a href=3D"https://github.=
com/notifications/unsubscribe-auth/BFYAK6PDIPH7GUOUHJZGI4L5H6LUNAVCNFSNUA=
BFKJSXA33TNF2G64TZHM2DKNBYHA3TANRUHNEXG43VMU5TKMBUGQYTSMJZHAZKC5QC">unsub=
scribe</a>.<br />Triage notifications, keep track of coding agent tasks a=
nd review pull requests on the go with GitHub Mobile for <a href=3D"https=
://github.com/notifications/mobile/ios/BFYAK6NRQYRSD2DURZ2ASAT5H6LUNA5CNF=
SL4Z3JMQ5C6L3HNF2C22DVMIXUS43TOVSS6NJQGQ2DCOJRHE4DFJTSMVQXG33OVJZXKYTTMNZ=
GSYTFMSSWK5TFNZ2KUZTPN52GK4S7NFXXG">iOS</a> and <a href=3D"https://github=
.com/notifications/mobile/android/BFYAK6POZY6UQ3442P3ZIXL5H6LUNA5CNFSL4Z3=
JMQ5C6L3HNF2C22DVMIXUS43TOVSS6NJQGQ2DCOJRHE4DFJTSMVQXG33OVJZXKYTTMNZGSYTF=
MSSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA">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/BFYAK6MWHPTNUVXXK42DAHT=
5H6LUNBFCNFSM6AAAAAC4XECAKKWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3J=
MTHQAAAAAEWKQQXOUZZGKYLTN5XKU43VMJZWG4TJMJSWI.gif" height=3D"1" width=3D"=
1" alt=3D"" /><span style=3D"color: transparent; font-size: 0; display: n=
one; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: =
0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><sque=
ak-smalltalk/squeak-object-memory/issues/164</span><span>@</span><span>gi=
thub</span><span>.</span><span>com></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=3DBFYAK6PFRGAGEZ2OKGZ=
HFQD5H6LUNA5CNFSL4Z3JMQ5C6L3HNF2C22DVMIXUS43TOVSS6NJQGQ2DCOJRHE4DFJTSMVQX=
G33OVJZXKYTTMNZGSYTFMSSWK5TFNZ2KWZ3NMFUWYX3DNRUWG2Y",
"url": "https://github.com/squeak-smalltalk/squeak-object-memory/issues/1=
64?email_source=3Dnotifications\u0026email_token=3DBFYAK6PFRGAGEZ2OKGZHFQ=
D5H6LUNA5CNFSL4Z3JMQ5C6L3HNF2C22DVMIXUS43TOVSS6NJQGQ2DCOJRHE4DFJTSMVQXG33=
OVJZXKYTTMNZGSYTFMSSWK5TFNZ2KWZ3NMFUWYX3DNRUWG2Y",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>
----==_mimepart_6a6f9fc680ad8_e911608434070--
--===============7279824042895633616==
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]
--===============7279824042895633616==--