---------- Forwarded message ---------
From:
Adam Ibrahim <ibrahimadam193@gmail.com>Date: Sun, May 21, 2023, 14:48
Subject: Re: bug#63629: 28.3; Emacsclient exits with no error message and breaks terminal when opening a file without permissions
To: Eli Zaretskii <
eliz@gnu.org>
output of `ls -l`:
ls -l no-perms
---------- 1 u0_a331 u0_a331 0 May 21 14:27 no-perms
commands used:
emacs --fg-daemon -Q
emacsclient no-perms # in a separate terminal
what stops working: when I type, the letters I type don't appear in the terminal anymore. nothing is echoed back to me. stuff still happens, and I can enter commands, but I can't see anything. And the terminal width seems screwed up. like things that should get indented, they don't look right.
I've tried this on two terminal emulators: termux on Android and kitty on my desktop running Linux. On termux the problems in the terminal are consistent. and kitty, it happens sometimes. sometimes the terminal continues to function like normal and I can see the keys I typed echoed back to me, and sometimes not.
what happens when I try using GDB: I can only use GDB on my desktop right now. when I try running `gdb emacsclient no-perms`, it prints an error message: `/path/to/no-perms: Permission denied`. So whatever this problem is, it doesn't show up in GDB on my desktop.