On Sat, 9 Oct 2021, Boris Faure wrote:

Are you just running `emacs file`? Are you using any plugin? Is there a
mode in emacs to run with an empty configuration and if so, do you
notice the same issue?

Yes, I am just running emacs filename.
emacs -q filename has the same effect in terminology 1.10, emacs -Q filename 
also. it is independent of the file, with terminology 1.6.0 the file can be 
opened.

I have  done a strace emacs -Q <testfile> and then a diff -y diff.1.6 diff.1.10 
they diverge with this:

read(7, "\n(defconst xterm-paste-ending-se"..., 4096) = 4096  | read(5, "\n(defconst 
xterm-paste-ending-se"..., 4096) = 4096
lseek(7, 6402, SEEK_SET)                = 6402                | lseek(5, 6402, 
SEEK_SET)                = 6402
lseek(7, 6402, SEEK_SET)                = 6402                | lseek(5, 6402, 
SEEK_SET)                = 6402
lseek(7, 6402, SEEK_SET)                = 6402                | lseek(5, 6402, 
SEEK_SET)                = 6402
lseek(7, 6402, SEEK_SET)                = 6402                | lseek(5, 6402, 
SEEK_SET)                = 6402
read(7, "\\201\\300\0\\201\\301\0#\\210\\303\1\\201"..., 4096 | read(5, 
"\\201\\300\0\\201\\301\0#\\210\\303\1\\201"..., 4096
read(7, " \"\33O5Q\" [C-f2] \"\33O5R\" [C-f3] \"\33O"..., 409 | read(5, " \"\33O5Q\" [C-f2] 
\"\33O5R\" [C-f3] \"\33O"..., 409
read(7, "58 [67108922]) (6 60 [67108924])"..., 4096) = 4096   | read(5, "58 
[67108922]) (6 60 [67108924])"..., 4096) = 4096
lseek(7, 18690, SEEK_SET)               = 18690               | lseek(5, 18690, 
SEEK_SET)               = 18690
lseek(7, 18690, SEEK_SET)               = 18690               | lseek(5, 18690, 
SEEK_SET)               = 18690
read(7, "d\" 1 (205 0 0)) (\"green\" 2 (0 20"..., 4096) = 409 | read(5, "d\" 1 (205 0 0)) 
(\"green\" 2 (0 20"..., 4096) = 409
lseek(7, 22786, SEEK_SET)               = 22786               | lseek(5, 22786, 
SEEK_SET)               = 22786
lseek(7, 22786, SEEK_SET)               = 22786               | lseek(5, 22786, 
SEEK_SET)               = 22786
lseek(7, 22786, SEEK_SET)               = 22786               | lseek(5, 22786, 
SEEK_SET)               = 22786
lseek(7, 22786, SEEK_SET)               = 22786               | lseek(5, 22786, 
SEEK_SET)               = 22786
lseek(7, 22786, SEEK_SET)               = 22786               | lseek(5, 22786, 
SEEK_SET)               = 22786
read(7, "-keys #[0 \"\\300\\301!\\210\\302\\303"..., 4096) =  | read(5, "-keys #[0 
\"\\300\\301!\\210\\302\\303"..., 4096) =
lseek(7, 26882, SEEK_SET)               = 26882               | lseek(5, 26882, 
SEEK_SET)               = 26882
lseek(7, 26882, SEEK_SET)               = 26882               | lseek(5, 26882, 
SEEK_SET)               = 26882
lseek(7, 26882, SEEK_SET)               = 26882               | lseek(5, 26882, 
SEEK_SET)               = 26882
lseek(7, 26882, SEEK_SET)               = 26882               | lseek(5, 26882, 
SEEK_SET)               = 26882
lseek(7, 26882, SEEK_SET)               = 26882               | lseek(5, 26882, 
SEEK_SET)               = 26882
lseek(7, 24576, SEEK_SET)               = 24576               | lseek(5, 24576, 
SEEK_SET)               = 24576
read(7, "er nil terminal-initted terminal"..., 4096) = 4096   | read(5, "er nil 
terminal-initted terminal"..., 4096) = 4096
lseek(7, 28672, SEEK_SET)               = 28672               | lseek(5, 28672, 
SEEK_SET)               = 28672
read(7, "-background-mode #[771 \"\\300\3\3\3#"..., 4096) = 2 | read(5, "-background-mode 
#[771 \"\\300\3\3\3#"..., 4096) = 2
read(7, "", 4096)                       = 0                   | read(5, "", 
4096)                       = 0
close(7)                                = 0                   | close(5)        
                        = 0
ioctl(6, TCGETS, {B38400 opost isig -icanon -echo ...}) = 0   | ioctl(4, 
TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
ioctl(6, TCGETS, {B38400 opost isig -icanon -echo ...}) = 0   | ioctl(4, 
TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
ioctl(6, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig -ican | ioctl(4, 
SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig -ican
ioctl(6, TCGETS, {B38400 opost isig -icanon -echo ...}) = 0   | ioctl(4, 
TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
ioctl(6, TCGETS, {B38400 opost isig -icanon -echo ...}) = 0   | ioctl(4, 
TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
write(6, "\33[>0c", 5)                  = 5                   | write(4, 
"\33[>0c", 5)                  = 5
write(6, "\33[H\33[2J", 7)              = 7                   | write(4, 
"\33[H\33[2J", 7)              = 7
--- SIGIO {si_signo=SIGIO, si_code=SI_KERNEL} ---               --- SIGIO 
{si_signo=SIGIO, si_code=SI_KERNEL} ---
rt_sigreturn({mask=[]})                 = 3                     
rt_sigreturn({mask=[]})                 = 3
ioctl(6, FIONREAD, [12])                = 0                   | ioctl(4, 
FIONREAD, [12])                = 0
read(6, "\33[>61;337;0c", 12)           = 12                  | read(4, 
"\33[>61;337;0c", 12)           = 12
ioctl(6, FIONREAD, [0])                 = 0                   | ioctl(4, 
FIONREAD, [0])                 = 0
ioctl(6, FIONREAD, [0])                 = 0                   | ioctl(4, 
FIONREAD, [0])                 = 0
mmap(NULL, 466944, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON | mmap(NULL, 
466944, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON
rt_sigprocmask(SIG_BLOCK, [WINCH IO], NULL, 8) = 0              
rt_sigprocmask(SIG_BLOCK, [WINCH IO], NULL, 8) = 0
brk(0x2c59000)                          = 0x2c59000           | brk(0x31c3000)  
                        = 0x31c3000
write(6, "\33[60d\33[K\33[H\33[?25l\33[7mFile Edit O"..., 254 | write(4, 
"\33[60d\33[K\33[H\33[?25l\33[7mFile Edit O"..., 188
write(6, "\n\33[K\n\33[K\n\33[K\n\33[K\n\33[K\n\33[K\n\33[K\n | write(4, 
"\n\33[K\n\33[K\n\33[K\n\33[K\n\33[K\n\33[K\n\33[K\n
write(6, "\n\33[K\n\33[K\n\33[K\n\33[K\n\33[K\n\33[K\n\33[K\n | write(4, 
"\n\33[K\n\33[K\n\33[K\n\33[K\n\33[K\n\33[K\n\33[K\n
write(6, "\n\33[K\n\33[K\n\33[K\n\33[K\n\33[K\n\33[K\n\33[K\n | write(4, 
"\n\33[K\n\33[K\n\33[K\n\33[K\n\33[K\n\33[K\n\33[K\n
write(6, "\n\33[K\n\33[K\n\33[K\n\33[K\n\33[K\n\33[K\n\33[7m- | write(4, 
"\n\33[K\n\33[K\n\33[K\n\33[K\n\33[K\n\33[K\n\33[7m-
rt_sigprocmask(SIG_UNBLOCK, [WINCH IO], NULL, 8) = 0            
rt_sigprocmask(SIG_UNBLOCK, [WINCH IO], NULL, 8) = 0
ioctl(6, TCGETS, {B38400 opost isig -icanon -echo ...}) = 0   | ioctl(4, 
TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
ioctl(6, TCGETS, {B38400 opost isig -icanon -echo ...}) = 0   | ioctl(4, 
TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
ioctl(6, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig -ican | ioctl(4, 
SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig -ican
ioctl(6, TCGETS, {B38400 opost isig -icanon -echo ...}) = 0   | ioctl(4, 
TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
ioctl(6, TCGETS, {B38400 opost isig -icanon -echo ...}) = 0   | ioctl(4, 
TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
write(6, "\33]11;?\33\\", 8)            = 8                   | write(4, 
"\33]11;?\33\\", 8)            = 8
ioctl(6, FIONREAD, [0])                 = 0                   | ioctl(4, 
FIONREAD, [0])                 = 0
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0                   <
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0                  <
pselect6(7, [6], [], NULL, {tv_sec=1, tv_nsec=999986098}, {NU <
--- SIGIO {si_signo=SIGIO, si_code=SI_KERNEL} ---             <
rt_sigreturn({mask=[]})                 = 1                   <
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0                     
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0                    
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
ioctl(6, FIONREAD, [25])                = 0                   | --- SIGINT 
{si_signo=SIGINT, si_code=SI_KERNEL} ---
read(6, "\33]11;rgb:2020/2020/2020\33\\", 25) = 25            <
ioctl(6, FIONREAD, [0])                 = 0                   <
ioctl(6, FIONREAD, [0])                 = 0                   <
write(6, "\33[>4;1m", 7)                = 7                   <
write(6, "\33[?2004h", 8)               = 8                   <
write(6, "\33[60d\33[?25lFor information about"..., 104) = 10 <
stat("/home/peter/mnemonics", {st_mode=S_IFREG|0644, st_size= <
readlinkat(AT_FDCWD, "/home", 0x7ffdca740d20, 1024) = -1 EINV <


I am not sure if this helps somehow. I have also done an strace of terminology 
1.10 up to the point where the *scratch*  window waits for input,
but that is a lot of stuff that ends with the snippet below, so probably nto 
too helpful either.

What puzzles me is that everything else seems to work fine. I guess it must 
have something to do with some terminal capabilities and the escape sequences 
before the difference in strace output.
Emacs opens /lib/terminfo/x/xterm, the then following kilometer of strace 
output looks the same apart from file numbers and memory addresses up to the 
diverging point.



terminology 1.10 strace last screenful after starting emacs:

fcntl(26, F_GETFL)                      = 0x800 (flags O_RDONLY|O_NONBLOCK)
fcntl(26, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
read(26, 0x563346a5a918, 4)             = -1 EAGAIN (Recurso no disponible 
temporalmente)
recvmsg(47, {msg_namelen=0}, 0)         = -1 EAGAIN (Recurso no disponible 
temporalmente)
recvmsg(47, {msg_namelen=0}, 0)         = -1 EAGAIN (Recurso no disponible 
temporalmente)
recvmsg(47, {msg_namelen=0}, 0)         = -1 EAGAIN (Recurso no disponible 
temporalmente)
recvmsg(47, {msg_namelen=0}, 0)         = -1 EAGAIN (Recurso no disponible 
temporalmente)
getpid()                                = 13599
select(8, [7], [], [], {tv_sec=0, tv_usec=499922}) = 1 (in [7], left {tv_sec=0, 
tv_usec=490558})
getpid()                                = 13599
epoll_wait(7, [{EPOLLIN, {u32=1185252640, u64=94778228573472}}], 32, 0) = 1
read(19, "\4\0\0\0", 4)                 = 4
read(19, "*\0\0\0", 4)                  = 4
read(19, 0x563346a5a8c8, 4)             = -1 EAGAIN (Recurso no disponible 
temporalmente)
recvmsg(47, {msg_namelen=0}, 0)         = -1 EAGAIN (Recurso no disponible 
temporalmente)
recvmsg(47, {msg_namelen=0}, 0)         = -1 EAGAIN (Recurso no disponible 
temporalmente)
recvmsg(47, {msg_namelen=0}, 0)         = -1 EAGAIN (Recurso no disponible 
temporalmente)
recvmsg(47, {msg_namelen=0}, 0)         = -1 EAGAIN (Recurso no disponible 
temporalmente)
getpid()                                = 13599
select(8, [7], [], [], {tv_sec=0, tv_usec=490034}) = 1 (in [7], left {tv_sec=0, 
tv_usec=473618})
getpid()                                = 13599
epoll_wait(7, [{EPOLLIN, {u32=1185252640, u64=94778228573472}}], 32, 0) = 1
read(19, "\4\0\0\0", 4)                 = 4
read(19, "*\0\0\0", 4)                  = 4
write(56, "\0", 1)                      = 1
read(19, 0x563346a5a8c8, 4)             = -1 EAGAIN (Recurso no disponible 
temporalmente)
recvmsg(47, {msg_namelen=0}, 0)         = -1 EAGAIN (Recurso no disponible 
temporalmente)
recvmsg(47, {msg_namelen=0}, 0)         = -1 EAGAIN (Recurso no disponible 
temporalmente)
recvmsg(47, {msg_namelen=0}, 0)         = -1 EAGAIN (Recurso no disponible 
temporalmente)
recvmsg(47, {msg_namelen=0}, 0)         = -1 EAGAIN (Recurso no disponible 
temporalmente)
getpid()                                = 13599
select(8, [7], [], [], {tv_sec=0, tv_usec=472962}) = 0 (Timeout)
recvmsg(47, {msg_namelen=0}, 0)         = -1 EAGAIN (Recurso no disponible 
temporalmente)
recvmsg(47, {msg_namelen=0}, 0)         = -1 EAGAIN (Recurso no disponible 
temporalmente)
poll([{fd=47, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=47, revents=POLLOUT}])
writev(47, [{iov_base="+\3\1\0", iov_len=4}, {iov_base=NULL, iov_len=0}, 
{iov_base="", iov_len=0}], 3) = 4
poll([{fd=47, events=POLLIN}], 1, -1)   = 1 ([{fd=47, revents=POLLIN}])
recvmsg(47, {msg_name=NULL, msg_namelen=0, 
msg_iov=[{iov_base="\1\1J\20\0\0\0\0#\0\200\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",
 iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
shmdt(0x7fb86bae7000)                   = 0
shmctl(696025104, IPC_RMID, NULL)       = 0
poll([{fd=47, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=47, revents=POLLOUT}])
writev(47, [{iov_base="\202\2\2\0\256\3 \4", iov_len=8}, {iov_base=NULL, iov_len=0}, 
{iov_base="", iov_len=0}], 3) = 8
recvmsg(47, {msg_namelen=0}, 0)         = -1 EAGAIN (Recurso no disponible 
temporalmente)
recvmsg(47, {msg_namelen=0}, 0)         = -1 EAGAIN (Recurso no disponible 
temporalmente)
getpid()                                = 13599
select(8, [7], [], [], {tv_sec=39, tv_usec=1141}) = 1 (in [7], left {tv_sec=18, 
tv_usec=785280})
getpid()                                = 13599
epoll_wait(7, [{EPOLLIN, {u32=1185253408, u64=94778228574240}}], 32, 0) = 1
recvmsg(47, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\34\0K\20#\0 
\4\232\1\0\0\31\251/\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", iov_len=4096}], 
msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(47, {msg_namelen=0}, 0)         = -1 EAGAIN (Recurso no disponible 
temporalmente)
recvmsg(47, {msg_namelen=0}, 0)         = -1 EAGAIN (Recurso no disponible 
temporalmente)
recvmsg(47, {msg_namelen=0}, 0)         = -1 EAGAIN (Recurso no disponible 
temporalmente)
recvmsg(47, {msg_namelen=0}, 0)         = -1 EAGAIN (Recurso no disponible 
temporalmente)
getpid()                                = 13599
select(8, [7], [], [], {tv_sec=18, tv_usec=785207}

--


_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to