Skip to content

"ctrl-v" keystrokes are not received by (n)curses apps #2588

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
macdanny opened this issue Oct 22, 2017 · 4 comments
Closed

"ctrl-v" keystrokes are not received by (n)curses apps #2588

macdanny opened this issue Oct 22, 2017 · 4 comments

Comments

@macdanny
Copy link

Windows build number: Microsoft Windows [Version 10.0.16299.19]

After I upgraded to the Fall Creator's Update, I completely uninstalled and re-installed WSL and installed the new Ubuntu from the app store. This issue is not new, however. I had the same problem prior to upgrading.

Running (n)curses editors that support familiar key bindings for selecting, copying, and pasting text. The two editors I have tried are textadept and tilde. Note that at any time I reference textadept in this bug report, I am talking about textadept-curses, and not the GUI program.

In these editors, I can shift-arrow to select text and ctrl-c to copy text. However when I try to paste text using ctrl-v, nothing happens. Please understand that unlike most of the issues people are reporting about ctrl-c, ctrl-v etc. I neither care about nor want these keystrokes to integrate with the Windows clipboard. The first, last, and only thing I am trying to do is to copy and paste text within the same file and within the same editing session. These apps have their own internal "clipboard" and that is all I want to use.

Textadept is easily configurable (without recompiling) to show keystrokes it receives in its status line by uncommenting the following line in core/keys.lua:

  --if CURSES then ui.statusbar_text = '"'..key_seq..'"' end

I have done this, and it is not receiving the ctrl-v keystroke at all.

I know that it is ctrl-v, and not ctrl-c, that is the issue, because textadept allows direct entry of lua commands by hitting alt-c. If I hit alt-c and then run the command "buffer.paste", the text I previously copied (into textadept's internal clipboard) with ctrl-c is pasted. Also if I edit core/keys.lua as described above, hitting ctrl-c on my keyboard causes "cc" to show up in the status bar. In the notation that textadept uses for key bindings, the first "c" denotes control and the second denotes "c".

I have tried the micro text editor, which is also a text mode editor that supports these normal key bindings for selecting, copying, and pasting text. In micro, these key bindings work fine. The difference evidently is that micro does not use (n)curses.

All of these programs work as expected in (real) Linux -- for example, on the Linux Mint 18.2 machine next to me.

I ran strace as instructed and did a minimal editing session where I simply selected a line of text, hit ctrl-c to copy, ctrl-v to paste, and ctrl-q to quit. I don't know how helpful this will be but the (rather lengthy) strace output is here:

execve("/home/danm/.local/app/textadept_9.5.x86_64/textadept-curses", ["/home/danm/.local/app/textade"...], [/* 15 vars */]) = 0
brk(NULL)                               = 0xdd9000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2d81b0000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=21163, ...}) = 0
mmap(NULL, 21163, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fc2d81aa000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libncursesw.so.5", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20q\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=191464, ...}) = 0
mmap(NULL, 2286952, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc2d7bd0000
mprotect(0x7fc2d7bfd000, 2097152, PROT_NONE) = 0
mmap(0x7fc2d7dfd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2d000) = 0x7fc2d7dfd000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\r\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14608, ...}) = 0
mmap(NULL, 2109680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc2d79c0000
mprotect(0x7fc2d79c3000, 2093056, PROT_NONE) = 0
mmap(0x7fc2d7bc2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fc2d7bc2000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \235\10\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1566440, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2d81a0000
mmap(NULL, 3675136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc2d7630000
mprotect(0x7fc2d77a2000, 2097152, PROT_NONE) = 0
mmap(0x7fc2d79a2000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x172000) = 0x7fc2d79a2000
mmap(0x7fc2d79ae000, 13312, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fc2d79ae000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0V\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1088952, ...}) = 0
mmap(NULL, 3178744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc2d7320000
mprotect(0x7fc2d7428000, 2093056, PROT_NONE) = 0
mmap(0x7fc2d7627000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x107000) = 0x7fc2d7627000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p*\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=89696, ...}) = 0
mmap(NULL, 2185488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc2d7100000
mprotect(0x7fc2d7116000, 2093056, PROT_NONE) = 0
mmap(0x7fc2d7315000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7fc2d7315000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\t\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1868984, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2d8190000
mmap(NULL, 3971488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc2d6d30000
mprotect(0x7fc2d6ef0000, 2097152, PROT_NONE) = 0
mmap(0x7fc2d70f0000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c0000) = 0x7fc2d70f0000
mmap(0x7fc2d70f6000, 14752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fc2d70f6000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\310\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=167240, ...}) = 0
mmap(NULL, 2264256, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc2d6b00000
mprotect(0x7fc2d6b25000, 2093056, PROT_NONE) = 0
mmap(0x7fc2d6d24000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24000) = 0x7fc2d6d24000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2d8180000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2d8170000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2d8160000
arch_prctl(ARCH_SET_FS, 0x7fc2d8160740) = 0
mprotect(0x7fc2d70f0000, 16384, PROT_READ) = 0
mprotect(0x7fc2d6d24000, 16384, PROT_READ) = 0
mprotect(0x7fc2d7627000, 4096, PROT_READ) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2d8150000
mprotect(0x7fc2d79a2000, 40960, PROT_READ) = 0
mprotect(0x7fc2d7bc2000, 4096, PROT_READ) = 0
mprotect(0x7fc2d7dfd000, 4096, PROT_READ) = 0
mprotect(0x6e7000, 4096, PROT_READ)     = 0
mprotect(0x7fc2d8025000, 4096, PROT_READ) = 0
munmap(0x7fc2d81aa000, 21163)           = 0
brk(NULL)                               = 0xdd9000
brk(0xe0b000)                           = 0xe0b000
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
stat("/home/danm/.terminfo", 0xdebc20) = -1 ENOENT (No such file or directory)
stat("/etc/terminfo", {st_mode=S_IFDIR|0755, st_size=512, ...}) = 0
stat("/lib/terminfo", {st_mode=S_IFDIR|0755, st_size=512, ...}) = 0
stat("/usr/share/terminfo", {st_mode=S_IFDIR|0755, st_size=512, ...}) = 0
time(NULL)                              = 1508690636
access("/etc/terminfo/x/xterm-256color", R_OK) = -1 ENOENT (No such file or directory)
access("/lib/terminfo/x/xterm-256color", R_OK) = 0
open("/lib/terminfo/x/xterm-256color", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=3417, ...}) = 0
read(3, "\32\1%\0&\0\17\0\235\1\262\5xterm-256color|xterm"..., 4096) = 3417
read(3, "", 512)                        = 0
close(3)                                = 0
time(NULL)                              = 1508690636
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCGWINSZ, {ws_row=85, ws_col=157, ws_xpixel=0, ws_ypixel=0}) = 0
brk(0xe2c000)                           = 0xe2c000
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 opost isig -icanon -echo ...}) = 0
ioctl(0, TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
fstat(0, {st_mode=S_IFCHR|0660, st_rdev=makedev(4, 2), ...}) = 0
write(0, "\33[?1h\33=", 7)              = 7
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1668976, ...}) = 0
mmap(NULL, 1668976, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fc2d7e8d000
close(3)                                = 0
ioctl(1, TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
time(NULL)                              = 1508690636
access("/etc/terminfo/x/xterm-256color", R_OK) = -1 ENOENT (No such file or directory)
access("/lib/terminfo/x/xterm-256color", R_OK) = 0
open("/lib/terminfo/x/xterm-256color", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=3417, ...}) = 0
read(3, "\32\1%\0&\0\17\0\235\1\262\5xterm-256color|xterm"..., 4096) = 3417
read(3, "", 512)                        = 0
close(3)                                = 0
time(NULL)                              = 1508690636
ioctl(1, TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
ioctl(1, TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
ioctl(1, TIOCGWINSZ, {ws_row=85, ws_col=157, ws_xpixel=0, ws_ypixel=0}) = 0
ioctl(1, TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
ioctl(1, TIOCGWINSZ, {ws_row=85, ws_col=157, ws_xpixel=0, ws_ypixel=0}) = 0
brk(0xe4d000)                           = 0xe4d000
brk(0xe6e000)                           = 0xe6e000
brk(0xe8f000)                           = 0xe8f000
brk(0xeb0000)                           = 0xeb0000
brk(0xed2000)                           = 0xed2000
brk(0xef3000)                           = 0xef3000
ioctl(1, TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
ioctl(1, TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
brk(0xf14000)                           = 0xf14000
brk(0xf35000)                           = 0xf35000
brk(0xf56000)                           = 0xf56000
ioctl(1, TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
ioctl(1, TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
ioctl(1, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig -icanon -echo ...}) = 0
ioctl(1, TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
ioctl(1, TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
ioctl(1, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig -icanon -echo ...}) = 0
ioctl(1, TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
rt_sigaction(SIGTSTP, NULL, {SIG_DFL, [], SA_RESTORER, 0x7fa8f8c254b0}, 8) = 0
rt_sigaction(SIGTSTP, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL, [], SA_RESTORER, 0x7fa8f8c254b0}, 8) = 0
rt_sigaction(SIGINT, {0x7fc2d7be8270, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], SA_RESTORER, 0x7fa8f8c254b0}, 8) = 0
rt_sigaction(SIGTERM, {0x7fc2d7be8270, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGWINCH, NULL, {SIG_DFL, [], SA_RESTORER, 0x7fa8f8c254b0}, 8) = 0
rt_sigaction(SIGWINCH, {0x7fc2d7be8260, [], SA_RESTORER, 0x7fc2d6d654b0}, NULL, 8) = 0
ioctl(1, TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
write(1, "\33[?1049h\33[1;85r\33(B\33[m\33[4l\33[?7h\33["..., 36) = 36
readlink("/proc/self/exe", "/home/danm/.local/app/textade"..., 4096) = 62
time(NULL)                              = 1508690636
open("/home/danm/.local/app/textadept_9.5.x86_64/core/init.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=9736, ...}) = 0
read(3, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(3, " module, package.searchers, bit3"..., 7680) = 7680
read(3, "t() end\n\n---\n-- Reads and return"..., 512) = 512
read(3, "e in Lua's `io.read()`, but \"n\"\n"..., 7680) = 1032
read(3, "", 6144)                       = 0
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/core/iface.lua", O_RDONLY) = 3
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/core/iface.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=24046, ...}) = 0
read(3, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(3, "TRANSPARENT=0,ANNOTATION_BOXED=2"..., 7680) = 7680
read(3, "0,0},delete_range={2645,0,3,1},d"..., 512) = 512
read(3, "nd_column={2456,1,1,1},find_indi"..., 7680) = 7680
read(3, "0,2213,5,0},call_tip_use_style={"..., 512) = 512
brk(0xf78000)                           = 0xf78000
read(3, "2008,2141,3,0},cursor={2387,2386"..., 7680) = 7150
read(3, "", 512)                        = 0
brk(0xf9a000)                           = 0xf9a000
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/core/events.lua", O_RDONLY) = 3
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/core/events.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=15624, ...}) = 0
read(3, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(3, "o do something each time Textade"..., 7680) = 7680
read(3, "l open buffers. If a handler ret"..., 512) = 512
read(3, " search for.\n--   * _`repl_text`"..., 7680) = 6920
read(3, "", 512)                        = 0
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/core/args.lua", O_RDONLY) = 3
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/core/args.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=3570, ...}) = 0
read(3, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(3, "ort* and\n-- *long*, respectively"..., 7680) = 3058
read(3, "", 4608)                       = 0
close(3)                                = 0
stat("/home/danm/.textadept", {st_mode=S_IFDIR|0700, st_size=512, ...}) = 0
open("/home/danm/.textadept/init.lua", O_RDWR|O_CREAT|O_APPEND, 0666) = 3
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/core/locale.lua", O_RDONLY) = 3
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/core/locale.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=1102, ...}) = 0
read(3, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(3, " then f = io.open(_HOME..'/core/"..., 7680) = 590
read(3, "", 6656)                       = 0
close(3)                                = 0
open("/home/danm/.textadept/locale.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/core/locales/locale.en.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/core/locale.conf", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=14125, ...}) = 0
read(3, "# Copyright 2007-2017 Mitchell m"..., 512) = 512
read(3, "key\n# along with that letter wil"..., 512) = 512
read(3, "ing could not be detected\n# and "..., 512) = 512
read(3, "l\nClose _without saving = Close "..., 512) = 512
read(3, "the first\nFile Limit Exceeded = "..., 512) = 512
read(3, "ges and error messages to.\n[Mess"..., 512) = 512
read(3, "played in a dialog when the user"..., 512) = 512
read(3, "rticular line.\nGo To = Go To\nLin"..., 512) = 512
read(3, "[Replace]\n[All] = [All]\nCase(F1)"..., 512) = 512
read(3, "uffer] = [Files Found Buffer]\n# "..., 512) = 512
read(3, "aborted by the user.\nFind in Fil"..., 512) = 512
brk(0xfbb000)                           = 0xfbb000
read(3, "ose\nClose All = Close All\nLoa_d "..., 512) = 512
read(3, "ent\nT_ranspose Characters = T_ra"..., 512) = 512
read(3, "tes = Select in _Double Quotes\nS"..., 512) = 512
read(3, "g\nEnclose in Single _Quotes = En"..., 512) = 512
read(3, "cremental\nFind in Fi_les = Find "..., 512) = 512
read(3, "nning or compiling the current s"..., 512) = 512
read(3, "mmand.\nS_top = S_top\n# Menu item"..., 512) = 512
read(3, "uick open dialog lists all files"..., 512) = 512
read(3, "ippets = _Snippets\n_Insert Snipp"..., 512) = 512
read(3, "mentation\n# Menu item for inspec"..., 512) = 512
read(3, "ettings for the current buffer.\n"..., 512) = 512
read(3, "ISO-8859-1 Encoding = _ISO-8859-"..., 512) = 512
read(3, "itting them, closing them, and\n#"..., 512) = 512
read(3, "ggle Current _Fold = Toggle Curr"..., 512) = 512
read(3, "Manual = Show _Manual\nShow _LuaD"..., 512) = 512
read(3, "exers\n# perform syntax highlight"..., 512) = 512
read(3, "sion\n\n# [modules/textadept/snipp"..., 512) = 301
read(3, "", 512)                        = 0
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/core/file_io.lua", O_RDONLY) = 3
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/core/file_io.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=17625, ...}) = 0
read(3, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(3, ")`]().\n--   Arguments:\n--\n--   *"..., 7680) = 7680
read(3, "oint()\n  buffer.mod_time = lfs.a"..., 512) = 512
read(3, "tch('^(.-[/\\\\]?)([^/\\\\]*)$')\n  f"..., 7680) = 7680
read(3, "  local utf8_list = {}\n  for i ="..., 512) = 512
read(3, "                    io.quick_ope"..., 7680) = 729
read(3, "", 6656)                       = 0
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/core/lfs_ext.lua", O_RDONLY) = 3
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/core/lfs_ext.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=5522, ...}) = 0
read(3, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(3, "', 'bz2', 'class', 'dll', 'exe',"..., 7680) = 5010
read(3, "", 2560)                       = 0
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/core/ui.lua", O_RDONLY) = 3
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/core/ui.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=25611, ...}) = 0
read(3, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(3, "context menu for the buffer's ta"..., 7680) = 7680
read(3, "function ui.switch_buffer(zorder"..., 512) = 512
read(3, " '')..basename\n    utf8_list[#ut"..., 7680) = 7680
read(3, " + 1\n  local lexer = buffer:priv"..., 512) = 512
brk(0xfdf000)                           = 0xfdf000
read(3, "rmat(text, _L['Line:'], line, ma"..., 7680) = 7680
read(3, "rom table *menu_table* and retur"..., 512) = 512
read(3, " characters are treated as a men"..., 7680) = 523
read(3, "", 6656)                       = 0
close(3)                                = 0
open("/home/danm/.textadept/themes/term.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/themes/term.lua", O_RDONLY) = 3
close(3)                                = 0
fstat(1, {st_mode=S_IFCHR|0660, st_rdev=makedev(4, 2), ...}) = 0
ioctl(1, TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
write(1, "\33[?1002h", 8)               = 8
open("/home/danm/.local/app/textadept_9.5.x86_64/core/keys.lua", O_RDONLY) = 3
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/core/keys.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=10184, ...}) = 0
read(3, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(3, " sequence with a table of more s"..., 7680) = 7680
read(3, "modifier is pressed.\n-- @param a"..., 512) = 512
read(3, "t and 'upper' or 'lower'](string"..., 7680) = 1480
read(3, "", 6144)                       = 0
close(3)                                = 0
brk(0x1000000)                          = 0x1000000
brk(0x1021000)                          = 0x1021000
brk(0x1042000)                          = 0x1042000
brk(0x1064000)                          = 0x1064000
write(1, "\33[39;49m\33[?1h\33=", 15)   = 15
brk(0x1086000)                          = 0x1086000
brk(0x10a7000)                          = 0x10a7000
brk(0x10c8000)                          = 0x10c8000
write(1, "\33[?1h\33=", 7)              = 7
open("/home/danm/.local/app/textadept_9.5.x86_64/init.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=567, ...}) = 0
read(3, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(3, "f lfs.attributes(user_init) then"..., 7680) = 55
read(3, "", 7168)                       = 0
close(3)                                = 0
open("/home/danm/.textadept/textadept.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/textadept.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/textadept/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/textadept.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/textadept/init.lua", O_RDONLY) = 3
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/textadept/init.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=666, ...}) = 0
read(3, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(3, "nippets = require('textadept.sni"..., 7680) = 154
read(3, "", 7168)                       = 0
close(3)                                = 0
open("/home/danm/.textadept/textadept/bookmarks.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/textadept/bookmarks.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/textadept/bookmarks/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/textadept/bookmarks.lua", O_RDONLY) = 3
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/textadept/bookmarks.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=3554, ...}) = 0
read(3, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(3, "ether to add or remove a bookmar"..., 7680) = 3042
read(3, "", 4608)                       = 0
close(3)                                = 0
open("/home/danm/.textadept/textadept/command_entry.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/textadept/command_entry.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/textadept/command_entry/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/textadept/command_entry.lua", O_RDONLY) = 3
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/textadept/command_entry.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=8360, ...}) = 0
read(3, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(3, "ua'` or `'send'`) due to the met"..., 7680) = 7680
read(3, " 0, 0\n  M.call_tip_position = tr"..., 512) = 168
read(3, "", 7680)                       = 0
close(3)                                = 0
open("/home/danm/.textadept/textadept/editing.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/textadept/editing.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/textadept/editing/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/textadept/editing.lua", O_RDONLY) = 3
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/textadept/editing.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=28963, ...}) = 0
read(3, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(3, "rom all open buffers.\n--   If `t"..., 7680) = 7680
read(3, " disable completely\nM.auto_pairs"..., 512) = 512
read(3, "= 1, [123] = 1, [125] = 1}\n\n---\n"..., 7680) = 7680
read(3, "then return end\n    line = line "..., 512) = 512
read(3, " pos == buffer.length then\n    p"..., 7680) = 7680
read(3, "uffer:set_sel(buffer.target_star"..., 512) = 512
read(3, "n_entered, list = M.autocomplete"..., 7680) = 3875
read(3, "", 3584)                       = 0
close(3)                                = 0
write(1, "\33[?2004h", 8)               = 8
open("/home/danm/.textadept/textadept/file_types.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/textadept/file_types.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/textadept/file_types/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/textadept/file_types.lua", O_RDONLY) = 3
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/textadept/file_types.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=9899, ...}) = 0
read(3, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(3, "events.LEXER_LOADED = 'lexer_loa"..., 7680) = 7680
read(3, "get_lexer, set_lexer\n  buffer.st"..., 512) = 512
read(3, "ved_as then buffer:set_lexer() e"..., 7680) = 1195
read(3, "", 6144)                       = 0
close(3)                                = 0
stat("/home/danm/.local/app/textadept_9.5.x86_64/lexers", {st_mode=S_IFDIR|0700, st_size=512, ...}) = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/lexers", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFDIR|0700, st_size=512, ...}) = 0
getdents(3, /* 129 entries */, 32768)   = 4208
getdents(3, /* 0 entries */, 32768)     = 0
close(3)                                = 0
stat("/home/danm/.textadept/lexers", 0x7fffc3e6a810) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=26258, ...}) = 0
mmap(NULL, 26258, PROT_READ, MAP_SHARED, 3, 0) = 0x7fc2d81a9000
close(3)                                = 0
open("/home/danm/.textadept/textadept/find.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/textadept/find.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/textadept/find/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/textadept/find.lua", O_RDONLY) = 3
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/textadept/find.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=19029, ...}) = 0
read(3, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(3, "rs in\n--   searches.\n--   The de"..., 7680) = 7680
read(3, "\nlocal function find_incremental"..., 512) = 512
read(3, "xt*, depending on boolean *next*"..., 7680) = 7680
read(3, " then ff_view = _VIEWS[i] break "..., 512) = 512
read(3, "l pos = f(buffer, buffer.FIND_RE"..., 7680) = 2133
read(3, "", 5120)                       = 0
close(3)                                = 0
open("/home/danm/.textadept/textadept/run.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/textadept/run.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/textadept/run/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/textadept/run.lua", O_RDONLY) = 3
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/textadept/run.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=24095, ...}) = 0
read(3, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(3, "sage buffer is open, though it d"..., 7680) = 7680
read(3, "nsi_c='gcc -o \"%e\" \"%f\"',antlr='"..., 512) = 512
read(3, "-o \"%e.cpp\" \"%f\"',fsharp=WIN32 a"..., 7680) = 7680
read(3, "D_OUTPUT, '> exit status: '..sta"..., 512) = 512
read(3, "(buffer:get_line(line_num)))\n  e"..., 7680) = 7199
read(3, "", 512)                        = 0
close(3)                                = 0
open("/home/danm/.textadept/textadept/session.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/textadept/session.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/textadept/session/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/textadept/session.lua", O_RDONLY) = 3
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/textadept/session.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=8805, ...}) = 0
read(3, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(3, "`textadept.session.load()`]().\n-"..., 7680) = 7680
read(3, "nd\n  -- Write the session.\n  loc"..., 512) = 512
read(3, ".attributes(name) then name = _U"..., 7680) = 101
read(3, "", 7168)                       = 0
close(3)                                = 0
open("/home/danm/.textadept/textadept/snippets.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/textadept/snippets.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/textadept/snippets/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/textadept/snippets.lua", O_RDONLY) = 3
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/textadept/snippets.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=27358, ...}) = 0
read(3, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(3, "iders snippets in the current le"..., 7680) = 7680
read(3, "  end\n  text = table.concat(line"..., 512) = 512
read(3, "gles') + V('brackets') +\n       "..., 7680) = 7680
read(3, "cancel_current\nfunction M._cance"..., 512) = 512
read(3, "for trigger, text in pairs(snipp"..., 7680) = 7680
read(3, "e(e, s)\n    if not self.index th"..., 512) = 512
read(3, "de:gsub('%f[%%]%%%f[^%%]', text)"..., 7680) = 2270
read(3, "", 5120)                       = 0
close(3)                                = 0
open("/home/danm/.textadept/textadept/menu.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/textadept/menu.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/textadept/menu/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/textadept/menu.lua", O_RDONLY) = 3
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/textadept/menu.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=22763, ...}) = 0
read(3, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(3, "ARATOR = {''}\n\n-- The following "..., 7680) = 7680
read(3, "oto_error(false, false)\n    end}"..., 512) = 512
brk(0x10ea000)                          = 0x10ea000
read(3, "      {_L['Quickly Open _User Ho"..., 7680) = 7680
read(3, "ot contextmenu and #menu_items +"..., 512) = 512
read(3, "ged or added, *update* is called"..., 7680) = 5867
read(3, "", 1536)                       = 0
close(3)                                = 0
open("/home/danm/.textadept/textadept/keys.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/textadept/keys.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/textadept/keys/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/textadept/keys.lua", O_RDONLY) = 3
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/textadept/keys.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=29246, ...}) = 0
read(3, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(3, "     |\342\214\230O       |^O        |Ope"..., 7680) = 7680
read(3, "ce\n-- Ctrl+=                   |"..., 512) = 512
read(3, "\n-- Ctrl+Down       |^\342\207\243       "..., 7680) = 7680
read(3, "rminals\nif not OSX then keys.cy "..., 512) = 512
read(3, " 'mm'] = textadept.editing.match"..., 7680) = 7680
read(3, "]][2]\n  keys[not OSX and 'cas' o"..., 512) = 512
brk(0x110c000)                          = 0x110c000
read(3, "_L['Shrin_k View']][2]\nelse\n  ke"..., 7680) = 4158
read(3, "", 3072)                       = 0
close(3)                                = 0
stat("/home/danm/.textadept/init.lua", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
open("/home/danm/.textadept/init.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
read(3, "", 512)                        = 0
close(3)                                = 0
time(NULL)                              = 1508690636
open("/home/danm/.local/app/textadept_9.5.x86_64/themes/term.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=3562, ...}) = 0
read(3, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(3, " = 0xC0C0C0\n\n-- Light colors. (1"..., 7680) = 3050
read(3, "", 4608)                       = 0
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/properties.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=7576, ...}) = 0
read(3, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(3, "link = false\n--buffer.additional"..., 7680) = 7064
read(3, "", 512)                        = 0
close(3)                                = 0
stat("/home/danm/.textadept/properties.lua", 0x7fffc3e6a7c0) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/lexers/lexer.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/lexers/lexer.lua", O_RDONLY) = 3
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/lexers/lexer.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=71553, ...}) = 0
read(3, "-- Copyright 2006-2017 Mitchell "..., 512) = 512
read(3, "nes, and embed lexers within one"..., 7680) = 7680
read(3, " escape character.\n--\n-- C-style"..., 512) = 512
read(3, "ent from the block\n-- comment sh"..., 7680) = 7680
read(3, "the text is changeable or read-o"..., 512) = 512
read(3, "\n-- colors in a style because th"..., 7680) = 7680
read(3, "[`lexer.line_state`](). It\n-- wa"..., 512) = 512
read(3, "his is the concept of\n-- \"foldin"..., 7680) = 7680
read(3, "ng)\n--   The token name for whit"..., 512) = 512
read(3, "ns.\n-- @field PREPROCESSOR (stri"..., 7680) = 7680
read(3, "lexers\n--   to access this parti"..., 512) = 512
read(3, "LEORDER + 1] = id\nend\n\n-- Adds a"..., 7680) = 7680
read(3, "ng lexers, build a new grammar w"..., 512) = 512
read(3, "}\n    local function append(toke"..., 7680) = 7680
read(3, "token. If this name is not a pre"..., 512) = 512
brk(0x112d000)                          = 0x112d000
read(3, "s* characters.\n-- This is a conv"..., 7680) = 7680
read(3, "ment.\n-- This is used for determ"..., 512) = 512
read(3, "l p = pos - 1\n  if text:sub(p, p"..., 7680) = 5505
read(3, "", 2048)                       = 0
close(3)                                = 0
open("/home/danm/.textadept/lexers/text.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/lexers/text.lua", O_RDONLY) = 3
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/lexers/text.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=129, ...}) = 0
read(3, "-- Copyright 2006-2017 Mitchell "..., 512) = 129
read(3, "", 7680)                       = 0
close(3)                                = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, 8) = 0
write(1, "\33[39;49m\33[37m\33[40m\33[H\33[2JUntitle"..., 56) = 56
rt_sigaction(SIGTSTP, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\33[85;113HLine: 1/1  Col: 1  text"..., 64) = 64
rt_sigaction(SIGTSTP, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
rt_sigaction(SIGTSTP, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, NULL, 8) = 0
open("/home/danm/.textadept/text.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/text.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/text/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/text.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/text/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/core/text.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/lua/5.3/text.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/lua/5.3/text/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/lua/5.3/text.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/lua/5.3/text/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
time(NULL)                              = 1508690636
open("/home/danm/.local/app/textadept_9.5.x86_64/themes/term.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=3562, ...}) = 0
read(3, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(3, " = 0xC0C0C0\n\n-- Light colors. (1"..., 7680) = 3050
read(3, "", 4608)                       = 0
close(3)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/properties.lua", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=7576, ...}) = 0
read(3, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(3, "link = false\n--buffer.additional"..., 7680) = 7064
read(3, "", 512)                        = 0
brk(0x114e000)                          = 0x114e000
close(3)                                = 0
stat("/home/danm/.textadept/properties.lua", 0x7fffc3e6a7c0) = -1 ENOENT (No such file or directory)
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\33[1;32H", 7)                = 7
rt_sigaction(SIGTSTP, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\33[85;157H", 9)              = 9
rt_sigaction(SIGTSTP, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
rt_sigaction(SIGTSTP, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, NULL, 8) = 0
open("/home/danm/.textadept/text.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/text.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/text/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/text.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/text/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/core/text.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/lua/5.3/text.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/lua/5.3/text/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/lua/5.3/text.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/lua/5.3/text/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/session_term", O_RDONLY) = 3
time(NULL)                              = 1508690636
open("/home/danm/.local/app/textadept_9.5.x86_64/themes/term.lua", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0600, st_size=3562, ...}) = 0
read(4, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(4, " = 0xC0C0C0\n\n-- Light colors. (1"..., 7680) = 3050
read(4, "", 4608)                       = 0
close(4)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/properties.lua", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0600, st_size=7576, ...}) = 0
read(4, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(4, "link = false\n--buffer.additional"..., 7680) = 7064
read(4, "", 512)                        = 0
close(4)                                = 0
stat("/home/danm/.textadept/properties.lua", 0x7fffc3e69e30) = -1 ENOENT (No such file or directory)
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\33[1;32H", 7)                = 7
rt_sigaction(SIGTSTP, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\33[85;157H", 9)              = 9
rt_sigaction(SIGTSTP, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\33[1;32H", 7)                = 7
rt_sigaction(SIGTSTP, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\33[85;157H", 9)              = 9
rt_sigaction(SIGTSTP, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, NULL, 8) = 0
open("/home/danm/.textadept/text.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/text.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/text/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/text.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/text/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/core/text.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/lua/5.3/text.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/lua/5.3/text/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/lua/5.3/text.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/lua/5.3/text/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
fstat(3, {st_mode=S_IFREG|0600, st_size=206, ...}) = 0
read(3, "buffer: 10190 10190 226 /home/da"..., 512) = 206
stat("/home/danm/.local/app/textadept_9.5.x86_64/core/keys.lua", {st_mode=S_IFREG|0600, st_size=10184, ...}) = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/core/keys.lua", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0600, st_size=10184, ...}) = 0
read(4, "-- Copyright 2007-2017 Mitchell "..., 8192) = 8192
read(4, "modifier is pressed.\n-- @param a"..., 8192) = 1992
read(4, "", 6144)                       = 0
close(4)                                = 0
time(NULL)                              = 1508690636
open("/home/danm/.local/app/textadept_9.5.x86_64/themes/term.lua", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0600, st_size=3562, ...}) = 0
read(4, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(4, " = 0xC0C0C0\n\n-- Light colors. (1"..., 7680) = 3050
read(4, "", 4608)                       = 0
close(4)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/properties.lua", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0600, st_size=7576, ...}) = 0
read(4, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(4, "link = false\n--buffer.additional"..., 7680) = 7064
read(4, "", 512)                        = 0
close(4)                                = 0
stat("/home/danm/.textadept/properties.lua", 0x7fffc3e69e40) = -1 ENOENT (No such file or directory)
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\33[1;32H", 7)                = 7
rt_sigaction(SIGTSTP, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\33[85;157H", 9)              = 9
rt_sigaction(SIGTSTP, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\33[1;10H*\33[1;32H", 15)     = 15
rt_sigaction(SIGTSTP, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, NULL, 8) = 0
stat("/home/danm/.local/app/textadept_9.5.x86_64/core/keys.lua", {st_mode=S_IFREG|0600, st_size=10184, ...}) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\rkeys.lua -\33[1;23H/home/danm/"..., 78) = 78
rt_sigaction(SIGTSTP, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\rUntitled\33[1;23HUntitled)\33[K", 28) = 28
rt_sigaction(SIGTSTP, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\33[85;157H", 9)              = 9
rt_sigaction(SIGTSTP, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, NULL, 8) = 0
open("/home/danm/.textadept/text.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/text.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/text/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/text.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/text/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/core/text.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/lua/5.3/text.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/lua/5.3/text/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/lua/5.3/text.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/lua/5.3/text/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/home/danm/.local/app/textadept_9.5.x86_64/core/keys.lua", {st_mode=S_IFREG|0600, st_size=10184, ...}) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\33[Hkeys.lua\33[1;23H/home/danm/"..., 78) = 78
rt_sigaction(SIGTSTP, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\33[85;111HLine: 1/248\33[157G", 26) = 26
rt_sigaction(SIGTSTP, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, NULL, 8) = 0
open("/home/danm/.textadept/lexers/lua.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/lexers/lua.lua", O_RDONLY) = 4
close(4)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/lexers/lua.lua", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0600, st_size=6271, ...}) = 0
read(4, "-- Copyright 2006-2017 Mitchell "..., 512) = 512
read(4, "eq..']', index, true)\n          "..., 7680) = 5759
read(4, "", 1536)                       = 0
close(4)                                = 0
open("/home/danm/.textadept/lua.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/lua.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/lua/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/lua.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/lua/init.lua", O_RDONLY) = 4
close(4)                                = 0
open("/home/danm/.textadept/lua.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/lua.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/lua/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/lua.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/lua/init.lua", O_RDONLY) = 4
close(4)                                = 0
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/lua/init.lua", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0600, st_size=3561, ...}) = 0
read(4, "-- Copyright 2007-2017 Mitchell "..., 512) = 512
read(4, "ing.api_files) files for Lua mod"..., 7680) = 3049
read(4, "", 4608)                       = 0
close(4)                                = 0
open("/home/danm/.textadept/lua.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/lua.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/lua/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/lua.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/lua/init.lua", O_RDONLY) = 4
close(4)                                = 0
brk(0x116f000)                          = 0x116f000
brk(0x1190000)                          = 0x1190000
stat("/home/danm/.local/app/textadept_9.5.x86_64/core/keys.lua", {st_mode=S_IFREG|0600, st_size=10184, ...}) = 0
brk(0x11b5000)                          = 0x11b5000
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\33[1;83H", 7)                = 7
rt_sigaction(SIGTSTP, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\33[85;110HLine: 248/248  Col: 1  "..., 41) = 41
rt_sigaction(SIGTSTP, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, NULL, 8) = 0
open("/home/danm/.textadept/lua.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/lua.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.textadept/modules/lua/init.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/lua.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/danm/.local/app/textadept_9.5.x86_64/modules/lua/init.lua", O_RDONLY) = 4
close(4)                                = 0
brk(0x11d6000)                          = 0x11d6000
brk(0x11f7000)                          = 0x11f7000
read(3, "", 512)                        = 0
read(3, "", 512)                        = 0
close(3)                                = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
rt_sigaction(SIGTSTP, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, 8) = 0
write(1, "\33[39;49m\33[37m\33[40m\33[H\33[2Jkeys.lu"..., 14180) = 14180
write(1, "(B\33(B\33[m\33[39;49m\33[37m\33[40m\33[55;2"..., 4600) = 4600
rt_sigaction(SIGTSTP, {0x7fc2d7be8360, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, NULL, 8) = 0
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
dup3(3, 2, 0)                           = 2
close(3)                                = 0
rt_sigaction(SIGTSTP, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGCONT, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGWINCH, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, NULL, 8) = 0
select(1, [0], NULL, NULL, NULL)        = 1 (in [0])
read(0, "\33OA", 256)                   = 3
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\r\n", 2)                     = 2
rt_sigaction(SIGTSTP, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\"up\"", 4)                   = 4
rt_sigaction(SIGTSTP, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\33[85;118H7\33[157G", 16)    = 16
rt_sigaction(SIGTSTP, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\33[83;7H\33(B\33[0;1m\33[30m\33[107mr\n\10\33("..., 76) = 76
rt_sigaction(SIGTSTP, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, NULL, 8) = 0
select(1, [0], NULL, NULL, NULL)        = 1 (in [0])
read(0, "\33[1;2B", 256)                = 6
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\33[85;109H\33[1K L\r", 16)   = 16
rt_sigaction(SIGTSTP, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\"sdown\"", 7)                = 7
rt_sigaction(SIGTSTP, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\33[85;118H8\33[157G", 16)    = 16
rt_sigaction(SIGTSTP, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\33[83;7H\33(B\33[0;1m\33[30m\33[47mreturn"..., 92) = 92
rt_sigaction(SIGTSTP, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, NULL, 8) = 0
select(1, [0], NULL, NULL, NULL)        = 1 (in [0])
read(0, "\3", 256)                      = 1
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\33[85;109H\33[1K L\r", 16)   = 16
rt_sigaction(SIGTSTP, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\"cc\"", 4)                   = 4
rt_sigaction(SIGTSTP, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\33[84;7H", 7)                = 7
rt_sigaction(SIGTSTP, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, NULL, 8) = 0
select(1, [0], NULL, NULL, NULL)        = 1 (in [0])
read(0, "\33OB", 256)                   = 3
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\33[85;109H\33[1K L\r", 16)   = 16
rt_sigaction(SIGTSTP, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\"down\"", 6)                 = 6
rt_sigaction(SIGTSTP, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\33[157G", 6)                 = 6
rt_sigaction(SIGTSTP, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\33[83;7H\33(B\33[0;1m\33[37m\33[40mreturn"..., 94) = 94
rt_sigaction(SIGTSTP, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, NULL, 8) = 0
select(1, [0], NULL, NULL, NULL)        = 1 (in [0])
read(0, "\21", 256)                     = 1
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\33[85;109H\33[1K L\r", 16)   = 16
rt_sigaction(SIGTSTP, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTORER|SA_RESTART, 0x7fc2d6d654b0}, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=0, events=POLLIN}], 1, 0)     = 0 (Timeout)
write(1, "\"cq\"", 4)                   = 4
rt_sigaction(SIGTSTP, {0x481e76, ~[RTMIN RT_1], SA_RESTORER, 0x7fc2d6d654b0}, NULL, 8) = 0
open("/home/danm/.textadept/session_term", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
write(3, "buffer: 10184 10184 165 /home/da"..., 207) = 207
close(3)                                = 0
write(1, "\33[?1002l", 8)               = 8
write(1, "\33[?2004l", 8)               = 8
brk(0x11e8000)                          = 0x11e8000
brk(0x11b1000)                          = 0x11b1000
brk(0x115d000)                          = 0x115d000
brk(0x113e000)                          = 0x113e000
write(1, "\33[39;49m\33[37m\33[40m\r\33[K\33[85;1H\33[?"..., 41) = 41
write(1, "\33[?1049l\r\33[?1l\33>", 16) = 16
ioctl(1, TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
ioctl(1, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig -icanon -echo ...}) = 0
ioctl(1, TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
fstat(0, {st_mode=S_IFCHR|0660, st_rdev=makedev(4, 2), ...}) = 0
write(0, "\33[?1l\33>", 7)              = 7
ioctl(0, TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
ioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
exit_group(0)                           = ?
+++ exited with 0 +++
@zadjii-msft
Copy link
Member

I'll make a bug to examine this, though I think that what you're asking for is support for VT clipboard sequences, which we don't yet support.

See "Ps = 5 2 -> Manipulate Selection Data" at this link: http://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-Operating-System-Commands

@macdanny
Copy link
Author

I am quite ignorant of pretty much everything on the page you linked, but I don't believe this issue has anything to do with VT clipboard sequences. The only way it could possibly have anything to do with the "VT clipboard sequences" which you say you don't support is if those are the only way to send ctrl-v at all. But that really isn't possible either, because as I said ctrl-v performs as expect at a bash prompt and in other, non-curses applications.

I'm sure you have a much (much) better idea of what's going on than I do. I only want to stress that it's the transmission of the natural ctrl-v that is failing in ncurses applications. That keystroke is getting dropped somewhere along the way.

It's really only a coincidence that ctrl-v is the key binding for "paste" in textadept. I could bind it to any other function and it still would not work. The proof of that pudding is the edit to core/keys.lua. It changes the statusbar to show any keystroke that is received by the program. This happens before that event is dispatched to take any action in textadept, whether that be to paste, show a message box, save the file, or do anything else I might choose for it to do.

Thank you for your kind attention.

@zadjii-msft
Copy link
Member

Oh I see, that is curious. That definitely looks wrong to me. Should be easier to debug and fix then adding clipboard sequence support :) Thanks!

@bitcrazed
Copy link
Contributor

This issue was moved to microsoft/terminal#77

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants