zsh-users
 help / color / mirror / code / Atom feed
* lost sysread
@ 2024-05-03 22:42 Ray Andrews
  2024-05-03 23:55 ` Lawrence Velázquez
  0 siblings, 1 reply; 8+ messages in thread
From: Ray Andrews @ 2024-05-03 22:42 UTC (permalink / raw)
  To: Zsh Users

[-- Attachment #1: Type: text/plain, Size: 1152 bytes --]

Any ideas?


0 /aWorking/Zsh/Source/Wk 2 % . test1; print -r -- $(( srand32() ))
srand32:4: command not found: sysread
4

0 /aWorking/Zsh/Source/Wk 2 % exit

0 /aWorking/Zsh/Source/Wk 1 % . test1; print -r -- $(( srand32() ))
3551593729

0 /aWorking/Zsh/Source/Wk 1 % zsh -f
b6-12-Deb12b# . test1; print -r -- $(( srand32() ))
srand32:4: command not found: sysread
4
b6-12-Deb12b# exit

0 /aWorking/Zsh/Source/Wk 1 % . test1; print -r -- $(( srand32() ))
2230494374

... for some unknown reason one of my open shells can find sysread while 
others can't.  I use hibernate, so the OK shell has been open for far 
too long to digress as to which commands might have put it into a 
friendly mood as to sysread.  How on earth do I figure this out?  
Printing out all my variables, there's dozens of differences, but there 
always are.  Any hot prospects? I can't think where I'd even begin.  How 
can a builtin ever not be found? I know sometimes one 'level' of command 
can mask another, like a function 'sysread' might mask the builtin, but 
that's not the case here.  It's not disabled.  Nothing else seems to be 
broken or missing.  No idea.



[-- Attachment #2: Type: text/html, Size: 1654 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-05-05 16:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-03 22:42 lost sysread Ray Andrews
2024-05-03 23:55 ` Lawrence Velázquez
2024-05-03 23:57   ` Bart Schaefer
2024-05-05  5:23     ` Lawrence Velázquez
2024-05-05 13:17       ` Ray Andrews
2024-05-05 15:42         ` Bart Schaefer
2024-05-05 16:19           ` Ray Andrews
2024-05-04  1:06   ` Ray Andrews

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).