I can't log in from a serial port under kernel 2.4.9-12. It used to work fine. zsh blocks at open("/dev/ttyS0", O_RDWR|O_NOCTTY)
Created attachment 37703 [details] A patch
Can you see if using zsh as shipped with Red Hat Linux 7.2 helps?
I did try zsh from RedHat 7.2. It has the same problem.
The one from rawhide? (4.0.4)
The same. # rpm -q zsh zsh-4.0.4-1 # strace -p 20994 open("/dev/ttyS0", O_RDWR|O_NOCTTY|O_LARGEFILE
zsh in RedHat 7.3 has the same problem. I am uploading a patch.
Created attachment 58047 [details] A patch to support serial port.
Patch added to zsh-4.0.4-8
Has this patch been ever proposed to Zsh upstream?
According to the following thread at the upstream mailing list: https://www.zsh.org/mla/users/2009/msg00287.html ... it was not a bug of Zsh, so the fix does not belong there. A possible workaround is to use 'agetty -L': https://www.zsh.org/mla/users/2009/msg00289.html ... or mgetty: http://www.zsh.org/mla/workers/2001/msg00862.html
patch removed in zsh-5.3.1-6.fc27 by the following downstream commit: https://src.fedoraproject.org/cgit/rpms/zsh.git/commit/?id=16616a0f