nixpkgs icon indicating copy to clipboard operation
nixpkgs copied to clipboard

escape sequences displayed verbatim in man ("xterm" terminfo is used)

Open imz opened this issue 11 years ago • 13 comments

I've installed man. (I'm using nix as a single user under CentOS.)

I'm running man in a terminal (TERM is set to xterm) in an ssh session.

The version from nix:

$ man man

displays verbatim the escape sequences, like this:

man(1)                                                                                         General Commands Manual                                                                                         man(1)

ESC[1mNAMEESC[0m
       man - format and display the on-line manual pages

ESC[1mSYNOPSISESC[0m

whereas the version from CentOS:

$ /usr/bin/man man

renders everything smoothly.

Some exploration (regarding terminfo)

The first thing I wanted to check was which terminfo file is used:

$ strace -fF -e trace=file /usr/bin/man man 2> man_sys.trace
$ strace -fF -e trace=file man man 2> man_nix.trace
$ fgrep xterm *.trace
man_nix.trace:[pid 123578] access("/nix/store/g5wsmk977z2hmqwb0a2pvlyr3wx2w1bg-ncurses-5.9/share/terminfo/x/xterm", R_OK <unfinished ...>
man_nix.trace:[pid 123578] open("/nix/store/g5wsmk977z2hmqwb0a2pvlyr3wx2w1bg-ncurses-5.9/share/terminfo/x/xterm", O_RDONLY) = 4
man_sys.trace:[pid 124991] access("/etc/terminfo/x/xterm", R_OK) = -1 ENOENT (No such file or directory)
man_sys.trace:[pid 124991] access("/usr/share/terminfo/x/xterm", R_OK <unfinished ...>
man_sys.trace:[pid 124991] open("/usr/share/terminfo/x/xterm", O_RDONLY) = 4
$ 

So, both commands do use a terminfo file. Well, they differ, but I'm not sure that this is the problem:

$ diff /nix/store/g5wsmk977z2hmqwb0a2pvlyr3wx2w1bg-ncurses-5.9/share/terminfo/x/xterm /usr/share/terminfo/x/xterm
Binary files /nix/store/g5wsmk977z2hmqwb0a2pvlyr3wx2w1bg-ncurses-5.9/share/terminfo/x/xterm and /usr/share/terminfo/x/xterm differ
$ 

The version in CentOS:

$ rpm -qf /usr/share/terminfo/x/xterm
ncurses-base-5.7-3.20090208.el6.x86_64
$ 

Any ideas?

Should something be fixed in nixpkgs, and what?

imz avatar Apr 08 '15 14:04 imz

Should I assign some labels to my bug report? (But how?..)

imz avatar Apr 08 '15 17:04 imz

This happens also ofr other man-pages.

You can figure out all the involved package versions and files from my man_nix.trace:

execve("/home/ivan/.nix-profile/bin/man", ["man", "man"], [/* 27 vars */]) = 0
access("/etc/ld-nix.so.preload", R_OK)  = -1 ENOENT (No such file or directory)
open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/x86_64", 0x7fff72b00bf0) = -1 ENOENT (No such file or directory)
open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls", 0x7fff72b00bf0) = -1 ENOENT (No such file or directory)
open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/x86_64", 0x7fff72b00bf0) = -1 ENOENT (No such file or directory)
open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
open("/etc/man.conf", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/nix/store/4ghcdlnlm4pv945w1b730fgqj67462km-man-1.6g/lib/man.conf", O_RDONLY) = 3
stat("/home/ivan/.nix-profile/bin/man", {st_mode=S_IFREG|0555, st_size=57624, ...}) = 0
stat("/home/ivan/.nix-profile/bin/MAN", 0x7fff72afd1b0) = -1 ENOENT (No such file or directory)
stat("/home/ivan/.nix-profile/man", 0x7fff72afd1b0) = -1 ENOENT (No such file or directory)
stat("/home/ivan/.nix-profile/man1", 0x7fff72afd1b0) = -1 ENOENT (No such file or directory)
stat("/home/ivan/.nix-profile/man8", 0x7fff72afd1b0) = -1 ENOENT (No such file or directory)
stat("/home/ivan/.nix-profile/bin/man", {st_mode=S_IFREG|0555, st_size=57624, ...}) = 0
stat("/home/ivan/.nix-profile/bin/MAN", 0x7fff72afd1b0) = -1 ENOENT (No such file or directory)
stat("/home/ivan/.nix-profile/share/man", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
stat("/home/ivan/.nix-profile/share/man/ru_RU.utf8", 0x7fff72afb0b0) = -1 ENOENT (No such file or directory)
stat("/home/ivan/.nix-profile/share/man/ru_RU", 0x7fff72afb0b0) = -1 ENOENT (No such file or directory)
stat("/home/ivan/.nix-profile/share/man/ru", 0x7fff72afb0b0) = -1 ENOENT (No such file or directory)
stat("/home/ivan/.nix-profile/share/man", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
stat("/home/ivan/.nix-profile/sbin/man", {st_mode=S_IFREG|0555, st_size=57624, ...}) = 0
stat("/home/ivan/.nix-profile/sbin/MAN", 0x7fff72afd1b0) = -1 ENOENT (No such file or directory)
stat("/home/ivan/.nix-profile/man", 0x7fff72afd1b0) = -1 ENOENT (No such file or directory)
stat("/home/ivan/.nix-profile/man1", 0x7fff72afd1b0) = -1 ENOENT (No such file or directory)
stat("/home/ivan/.nix-profile/man8", 0x7fff72afd1b0) = -1 ENOENT (No such file or directory)
stat("/home/ivan/.nix-profile/sbin/man", {st_mode=S_IFREG|0555, st_size=57624, ...}) = 0
stat("/home/ivan/.nix-profile/sbin/MAN", 0x7fff72afd1b0) = -1 ENOENT (No such file or directory)
stat("/home/ivan/.nix-profile/share/man", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
stat("/home/ivan/.nix-profile/share/man/ru_RU.utf8", 0x7fff72afb0b0) = -1 ENOENT (No such file or directory)
stat("/home/ivan/.nix-profile/share/man/ru_RU", 0x7fff72afb0b0) = -1 ENOENT (No such file or directory)
stat("/home/ivan/.nix-profile/share/man/ru", 0x7fff72afb0b0) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/man/ru_RU.utf8", 0x7fff72afb0b0) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/man/ru_RU", 0x7fff72afb0b0) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/man/ru", 0x7fff72afb0b0) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/share/man/ru_RU.utf8", 0x7fff72afb0b0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/ru_RU", 0x7fff72afb0b0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/ru", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/share/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/share/man/ru_RU.utf8", 0x7fff72afb0b0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/ru_RU", 0x7fff72afb0b0) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/man/ru_RU.utf8", 0x7fff72afb0b0) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/man/ru_RU", 0x7fff72afb0b0) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/man/ru", 0x7fff72afb0b0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/ru_RU.utf8", 0x7fff72afb0b0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/ru_RU", 0x7fff72afb0b0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/ru_RU.utf8", 0x7fff72afb0b0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/ru_RU", 0x7fff72afb0b0) = -1 ENOENT (No such file or directory)
stat("/home/ivan/bin/man", 0x7fff72afd1b0) = -1 ENOENT (No such file or directory)
stat("/home/ivan/bin/MAN", 0x7fff72afd1b0) = -1 ENOENT (No such file or directory)
stat("/home/ivan/man", 0x7fff72afd1b0)  = -1 ENOENT (No such file or directory)
stat("/home/ivan/man1", 0x7fff72afd1b0) = -1 ENOENT (No such file or directory)
stat("/home/ivan/man8", 0x7fff72afd1b0) = -1 ENOENT (No such file or directory)
stat("/home/ivan/bin/man", 0x7fff72afd1b0) = -1 ENOENT (No such file or directory)
stat("/home/ivan/bin/MAN", 0x7fff72afd1b0) = -1 ENOENT (No such file or directory)
stat("/home/ivan/share/man", 0x7fff72afd1b0) = -1 ENOENT (No such file or directory)
stat("/home/ivan/share/man1", 0x7fff72afd1b0) = -1 ENOENT (No such file or directory)
stat("/home/ivan/share/man8", 0x7fff72afd1b0) = -1 ENOENT (No such file or directory)
stat("/usr/man/ru_RU.utf8", 0x7fff72afb100) = -1 ENOENT (No such file or directory)
stat("/usr/man/ru_RU", 0x7fff72afb100)  = -1 ENOENT (No such file or directory)
stat("/usr/man/ru", 0x7fff72afb100)     = -1 ENOENT (No such file or directory)
stat("/usr/man", 0x7fff72afb150)        = -1 ENOENT (No such file or directory)
stat("/usr/share/man/ru_RU.utf8", 0x7fff72afb100) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/ru_RU", 0x7fff72afb100) = -1 ENOENT (No such file or directory)
stat("/usr/local/man/ru_RU.utf8", 0x7fff72afb100) = -1 ENOENT (No such file or directory)
stat("/usr/local/man/ru_RU", 0x7fff72afb100) = -1 ENOENT (No such file or directory)
stat("/usr/local/man/ru", 0x7fff72afb100) = -1 ENOENT (No such file or directory)
stat("/usr/local/man", 0x7fff72afb150)  = -1 ENOENT (No such file or directory)
stat("/usr/local/share/man/ru_RU.utf8", 0x7fff72afb100) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/man/ru_RU", 0x7fff72afb100) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/man/ru", 0x7fff72afb100) = -1 ENOENT (No such file or directory)
stat("/usr/X11R6/man/ru_RU.utf8", 0x7fff72afb100) = -1 ENOENT (No such file or directory)
stat("/usr/X11R6/man/ru_RU", 0x7fff72afb100) = -1 ENOENT (No such file or directory)
stat("/usr/X11R6/man/ru", 0x7fff72afb100) = -1 ENOENT (No such file or directory)
stat("/usr/X11R6/man", 0x7fff72afb150)  = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/ivan/.nix-profile/share/man/html1/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/ivan/.nix-profile/share/man/man1/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
openat(AT_FDCWD, "/home/ivan/.nix-profile/share/man/man1/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
access("/home/ivan/.nix-profile/share/man/man1/man.1.gz", R_OK) = 0
openat(AT_FDCWD, "/usr/local/share/man/html1/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/share/man/man1/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
openat(AT_FDCWD, "/usr/local/share/man/man1/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
openat(AT_FDCWD, "/usr/share/man/ru/html1/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/man/ru/man1/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
openat(AT_FDCWD, "/usr/share/man/ru/man1/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
openat(AT_FDCWD, "/usr/share/man/html1/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/man/man1/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
openat(AT_FDCWD, "/usr/share/man/man1/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
access("/usr/share/man/man1/man.1.gz", R_OK) = 0
access("/home/ivan/.nix-profile/share/man/man1/man.1.gz", R_OK) = 0
Process 123571 attached
[pid 123571] execve("/bin/sh", ["sh", "-c", "/nix/store/h5qhpwjf2mb69y2s9xlx3"...], [/* 27 vars */]) = 0
[pid 123571] access("/etc/ld.so.preload", R_OK) = 0
[pid 123571] open("/etc/ld.so.preload", O_RDONLY) = 4
[pid 123571] open("/usr/local/lib/libsnoopy.so", O_RDONLY) = 4
[pid 123571] open("/etc/ld.so.cache", O_RDONLY) = 4
[pid 123571] open("/lib64/libtinfo.so.5", O_RDONLY) = 4
[pid 123571] open("/lib64/libdl.so.2", O_RDONLY) = 4
[pid 123571] open("/lib64/libc.so.6", O_RDONLY) = 4
[pid 123571] open("/dev/tty", O_RDWR|O_NONBLOCK) = 4
[pid 123571] open("/usr/lib/locale/locale-archive", O_RDONLY) = 4
[pid 123571] open("/proc/meminfo", O_RDONLY|O_CLOEXEC) = 4
[pid 123571] stat("/home/ivan", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
[pid 123571] stat(".", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
[pid 123571] open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 4
[pid 123571] stat(".", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
[pid 123571] stat("/home/ivan/.nix-profile/bin/sh", 0x7fff5bcaaa10) = -1 ENOENT (No such file or directory)
[pid 123571] stat("/home/ivan/.nix-profile/sbin/sh", 0x7fff5bcaaa10) = -1 ENOENT (No such file or directory)
[pid 123571] stat("/usr/local/bin/sh", 0x7fff5bcaaa10) = -1 ENOENT (No such file or directory)
[pid 123571] stat("/bin/sh", {st_mode=S_IFREG|0755, st_size=904872, ...}) = 0
[pid 123571] stat("/bin/sh", {st_mode=S_IFREG|0755, st_size=904872, ...}) = 0
[pid 123571] access("/bin/sh", X_OK)    = 0
[pid 123571] stat("/bin/sh", {st_mode=S_IFREG|0755, st_size=904872, ...}) = 0
[pid 123571] access("/bin/sh", R_OK)    = 0
[pid 123571] stat("/bin/sh", {st_mode=S_IFREG|0755, st_size=904872, ...}) = 0
[pid 123571] stat("/bin/sh", {st_mode=S_IFREG|0755, st_size=904872, ...}) = 0
[pid 123571] access("/bin/sh", X_OK)    = 0
[pid 123571] stat("/bin/sh", {st_mode=S_IFREG|0755, st_size=904872, ...}) = 0
[pid 123571] access("/bin/sh", R_OK)    = 0
[pid 123571] open("/etc/snoopy.ini", O_RDONLY) = 4
[pid 123571] readlink("/proc/self/fd/0", "/dev/pts/1", 4095) = 10
[pid 123571] getcwd("/home/ivan", 4097) = 11
[pid 123571] open("/etc/localtime", O_RDONLY) = 4
[pid 123571] execve("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gunzip", ["/nix/store/h5qhpwjf2mb69y2s9xlx3"..., "-c", "/home/ivan/.nix-profile/share/ma"...], [/* 26 vars */]) = 0
[pid 123571] access("/etc/ld.so.preload", R_OK) = 0
[pid 123571] open("/etc/ld.so.preload", O_RDONLY) = 4
[pid 123571] open("/usr/local/lib/libsnoopy.so", O_RDONLY) = 4
[pid 123571] open("/etc/ld.so.cache", O_RDONLY) = 4
[pid 123571] open("/lib64/libtinfo.so.5", O_RDONLY) = 4
[pid 123571] open("/lib64/libdl.so.2", O_RDONLY) = 4
[pid 123571] open("/lib64/libc.so.6", O_RDONLY) = 4
[pid 123571] open("/dev/tty", O_RDWR|O_NONBLOCK) = 4
[pid 123571] open("/usr/lib/locale/locale-archive", O_RDONLY) = 4
[pid 123571] open("/proc/meminfo", O_RDONLY|O_CLOEXEC) = 4
[pid 123571] stat("/home/ivan", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
[pid 123571] stat(".", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
[pid 123571] open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 4
[pid 123571] open("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gunzip", O_RDONLY) = 4
[pid 123571] stat(".", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
[pid 123571] stat("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", {st_mode=S_IFREG|0555, st_size=110502, ...}) = 0
[pid 123571] stat("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", {st_mode=S_IFREG|0555, st_size=110502, ...}) = 0
[pid 123571] access("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", X_OK) = 0
[pid 123571] stat("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", {st_mode=S_IFREG|0555, st_size=110502, ...}) = 0
[pid 123571] access("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", R_OK) = 0
[pid 123571] stat("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", {st_mode=S_IFREG|0555, st_size=110502, ...}) = 0
[pid 123571] stat("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", {st_mode=S_IFREG|0555, st_size=110502, ...}) = 0
[pid 123571] access("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", X_OK) = 0
[pid 123571] stat("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", {st_mode=S_IFREG|0555, st_size=110502, ...}) = 0
[pid 123571] access("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", R_OK) = 0
[pid 123571] open("/etc/snoopy.ini", O_RDONLY) = 4
[pid 123571] readlink("/proc/self/fd/0", "/dev/pts/1", 4095) = 10
[pid 123571] getcwd("/home/ivan", 4097) = 11
[pid 123571] open("/etc/localtime", O_RDONLY) = 4
[pid 123571] execve("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", ["gzip", "-d", "-c", "/home/ivan/.nix-profile/share/ma"...], [/* 25 vars */]) = 0
[pid 123571] access("/etc/ld-nix.so.preload", R_OK) = -1 ENOENT (No such file or directory)
[pid 123571] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123571] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/x86_64", 0x7fff0ccaa970) = -1 ENOENT (No such file or directory)
[pid 123571] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123571] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls", 0x7fff0ccaa970) = -1 ENOENT (No such file or directory)
[pid 123571] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123571] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/x86_64", 0x7fff0ccaa970) = -1 ENOENT (No such file or directory)
[pid 123571] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 4
[pid 123571] open("/home/ivan/.nix-profile/share/man/man1/man.1.gz", O_RDONLY|O_NOCTTY|O_NONBLOCK) = 4
[pid 123571] +++ exited with 0 +++
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=123571, si_uid=501, si_status=0, si_utime=0, si_stime=0} ---
Process 123572 attached
[pid 123572] execve("/bin/sh", ["sh", "-c", "/nix/store/h5qhpwjf2mb69y2s9xlx3"...], [/* 27 vars */]) = 0
[pid 123572] access("/etc/ld.so.preload", R_OK) = 0
[pid 123572] open("/etc/ld.so.preload", O_RDONLY) = 4
[pid 123572] open("/usr/local/lib/libsnoopy.so", O_RDONLY) = 4
[pid 123572] open("/etc/ld.so.cache", O_RDONLY) = 4
[pid 123572] open("/lib64/libtinfo.so.5", O_RDONLY) = 4
[pid 123572] open("/lib64/libdl.so.2", O_RDONLY) = 4
[pid 123572] open("/lib64/libc.so.6", O_RDONLY) = 4
[pid 123572] open("/dev/tty", O_RDWR|O_NONBLOCK) = 4
[pid 123572] open("/usr/lib/locale/locale-archive", O_RDONLY) = 4
[pid 123572] open("/proc/meminfo", O_RDONLY|O_CLOEXEC) = 4
[pid 123572] stat("/home/ivan", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
[pid 123572] stat(".", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
[pid 123572] open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 4
[pid 123572] stat(".", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
[pid 123572] stat("/home/ivan/.nix-profile/bin/sh", 0x7fff7cc92f20) = -1 ENOENT (No such file or directory)
[pid 123572] stat("/home/ivan/.nix-profile/sbin/sh", 0x7fff7cc92f20) = -1 ENOENT (No such file or directory)
[pid 123572] stat("/usr/local/bin/sh", 0x7fff7cc92f20) = -1 ENOENT (No such file or directory)
[pid 123572] stat("/bin/sh", {st_mode=S_IFREG|0755, st_size=904872, ...}) = 0
[pid 123572] stat("/bin/sh", {st_mode=S_IFREG|0755, st_size=904872, ...}) = 0
[pid 123572] access("/bin/sh", X_OK)    = 0
[pid 123572] stat("/bin/sh", {st_mode=S_IFREG|0755, st_size=904872, ...}) = 0
[pid 123572] access("/bin/sh", R_OK)    = 0
[pid 123572] stat("/bin/sh", {st_mode=S_IFREG|0755, st_size=904872, ...}) = 0
[pid 123572] stat("/bin/sh", {st_mode=S_IFREG|0755, st_size=904872, ...}) = 0
[pid 123572] access("/bin/sh", X_OK)    = 0
[pid 123572] stat("/bin/sh", {st_mode=S_IFREG|0755, st_size=904872, ...}) = 0
[pid 123572] access("/bin/sh", R_OK)    = 0
[pid 123572] open("/etc/snoopy.ini", O_RDONLY) = 4
[pid 123572] readlink("/proc/self/fd/0", "/dev/pts/1", 4095) = 10
[pid 123572] getcwd("/home/ivan", 4097) = 11
[pid 123572] open("/etc/localtime", O_RDONLY) = 4
[pid 123572] execve("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gunzip", ["/nix/store/h5qhpwjf2mb69y2s9xlx3"..., "-c", "/home/ivan/.nix-profile/share/ma"...], [/* 26 vars */]) = 0
[pid 123572] access("/etc/ld.so.preload", R_OK) = 0
[pid 123572] open("/etc/ld.so.preload", O_RDONLY) = 4
[pid 123572] open("/usr/local/lib/libsnoopy.so", O_RDONLY) = 4
[pid 123572] open("/etc/ld.so.cache", O_RDONLY) = 4
[pid 123572] open("/lib64/libtinfo.so.5", O_RDONLY) = 4
[pid 123572] open("/lib64/libdl.so.2", O_RDONLY) = 4
[pid 123572] open("/lib64/libc.so.6", O_RDONLY) = 4
[pid 123572] open("/dev/tty", O_RDWR|O_NONBLOCK) = 4
[pid 123572] open("/usr/lib/locale/locale-archive", O_RDONLY) = 4
[pid 123572] open("/proc/meminfo", O_RDONLY|O_CLOEXEC) = 4
[pid 123572] stat("/home/ivan", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
[pid 123572] stat(".", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
[pid 123572] open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 4
[pid 123572] open("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gunzip", O_RDONLY) = 4
[pid 123572] stat(".", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
[pid 123572] stat("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", {st_mode=S_IFREG|0555, st_size=110502, ...}) = 0
[pid 123572] stat("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", {st_mode=S_IFREG|0555, st_size=110502, ...}) = 0
[pid 123572] access("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", X_OK) = 0
[pid 123572] stat("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", {st_mode=S_IFREG|0555, st_size=110502, ...}) = 0
[pid 123572] access("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", R_OK) = 0
[pid 123572] stat("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", {st_mode=S_IFREG|0555, st_size=110502, ...}) = 0
[pid 123572] stat("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", {st_mode=S_IFREG|0555, st_size=110502, ...}) = 0
[pid 123572] access("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", X_OK) = 0
[pid 123572] stat("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", {st_mode=S_IFREG|0555, st_size=110502, ...}) = 0
[pid 123572] access("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", R_OK) = 0
[pid 123572] open("/etc/snoopy.ini", O_RDONLY) = 4
[pid 123572] readlink("/proc/self/fd/0", "/dev/pts/1", 4095) = 10
[pid 123572] getcwd("/home/ivan", 4097) = 11
[pid 123572] open("/etc/localtime", O_RDONLY) = 4
[pid 123572] execve("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", ["gzip", "-d", "-c", "/home/ivan/.nix-profile/share/ma"...], [/* 25 vars */]) = 0
[pid 123572] access("/etc/ld-nix.so.preload", R_OK) = -1 ENOENT (No such file or directory)
[pid 123572] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123572] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/x86_64", 0x7fff567f1be0) = -1 ENOENT (No such file or directory)
[pid 123572] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123572] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls", 0x7fff567f1be0) = -1 ENOENT (No such file or directory)
[pid 123572] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123572] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/x86_64", 0x7fff567f1be0) = -1 ENOENT (No such file or directory)
[pid 123572] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 4
[pid 123572] open("/home/ivan/.nix-profile/share/man/man1/man.1.gz", O_RDONLY|O_NOCTTY|O_NONBLOCK) = 4
[pid 123572] +++ exited with 0 +++
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=123572, si_uid=501, si_status=0, si_utime=0, si_stime=0} ---
Process 123573 attached
[pid 123573] execve("/bin/sh", ["sh", "-c", "(cd \"/home/ivan/.nix-profile/sha"...], [/* 27 vars */]) = 0
[pid 123573] access("/etc/ld.so.preload", R_OK) = 0
[pid 123573] open("/etc/ld.so.preload", O_RDONLY) = 4
[pid 123573] open("/usr/local/lib/libsnoopy.so", O_RDONLY) = 4
[pid 123573] open("/etc/ld.so.cache", O_RDONLY) = 4
[pid 123573] open("/lib64/libtinfo.so.5", O_RDONLY) = 4
[pid 123573] open("/lib64/libdl.so.2", O_RDONLY) = 4
[pid 123573] open("/lib64/libc.so.6", O_RDONLY) = 4
[pid 123573] open("/dev/tty", O_RDWR|O_NONBLOCK) = 4
[pid 123573] open("/usr/lib/locale/locale-archive", O_RDONLY) = 4
[pid 123573] open("/proc/meminfo", O_RDONLY|O_CLOEXEC) = 4
[pid 123573] stat("/home/ivan", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
[pid 123573] stat(".", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
[pid 123573] open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 4
[pid 123573] stat(".", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
[pid 123573] stat("/home/ivan/.nix-profile/bin/sh", 0x7fffe16aca70) = -1 ENOENT (No such file or directory)
[pid 123573] stat("/home/ivan/.nix-profile/sbin/sh", 0x7fffe16aca70) = -1 ENOENT (No such file or directory)
[pid 123573] stat("/usr/local/bin/sh", 0x7fffe16aca70) = -1 ENOENT (No such file or directory)
[pid 123573] stat("/bin/sh", {st_mode=S_IFREG|0755, st_size=904872, ...}) = 0
[pid 123573] stat("/bin/sh", {st_mode=S_IFREG|0755, st_size=904872, ...}) = 0
[pid 123573] access("/bin/sh", X_OK)    = 0
[pid 123573] stat("/bin/sh", {st_mode=S_IFREG|0755, st_size=904872, ...}) = 0
[pid 123573] access("/bin/sh", R_OK)    = 0
[pid 123573] stat("/bin/sh", {st_mode=S_IFREG|0755, st_size=904872, ...}) = 0
[pid 123573] stat("/bin/sh", {st_mode=S_IFREG|0755, st_size=904872, ...}) = 0
[pid 123573] access("/bin/sh", X_OK)    = 0
[pid 123573] stat("/bin/sh", {st_mode=S_IFREG|0755, st_size=904872, ...}) = 0
[pid 123573] access("/bin/sh", R_OK)    = 0
Process 123574 attached
[pid 123574] stat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 123574] stat("/home/ivan", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
[pid 123574] stat("/home/ivan/.nix-profile", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
[pid 123574] stat("/home/ivan/.nix-profile/share", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
[pid 123574] stat("/home/ivan/.nix-profile/share/man", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
[pid 123574] chdir("/home/ivan/.nix-profile/share/man") = 0
Process 123575 attached
Process 123576 attached
Process 123577 attached
[pid 123576] open("/etc/snoopy.ini", O_RDONLY) = 4
Process 123578 attached
Process 123579 attached
[pid 123577] open("/etc/snoopy.ini", O_RDONLY) = 4
[pid 123579] open("/etc/snoopy.ini", O_RDONLY) = 4
[pid 123576] getcwd("/nix/store/9xbv9vh9riixqswcjj80zp00bcgvvzn9-user-environment/share/man", 4097) = 71
[pid 123578] open("/etc/snoopy.ini", O_RDONLY) = 4
[pid 123576] open("/etc/localtime", O_RDONLY <unfinished ...>
[pid 123577] getcwd("/nix/store/9xbv9vh9riixqswcjj80zp00bcgvvzn9-user-environment/share/man", 4097) = 71
[pid 123579] readlink("/proc/self/fd/0",  <unfinished ...>
[pid 123576] <... open resumed> )       = 4
[pid 123579] <... readlink resumed> "/dev/pts/1", 4095) = 10
[pid 123579] getcwd("/nix/store/9xbv9vh9riixqswcjj80zp00bcgvvzn9-user-environment/share/man", 4097) = 71
[pid 123577] open("/etc/localtime", O_RDONLY <unfinished ...>
[pid 123579] open("/etc/localtime", O_RDONLY <unfinished ...>
[pid 123577] <... open resumed> )       = 4
[pid 123579] <... open resumed> )       = 4
[pid 123578] getcwd("/nix/store/9xbv9vh9riixqswcjj80zp00bcgvvzn9-user-environment/share/man", 4097) = 71
[pid 123578] open("/etc/localtime", O_RDONLY) = 4
[pid 123579] execve("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gunzip", ["/nix/store/h5qhpwjf2mb69y2s9xlx3"..., "-c", "/home/ivan/.nix-profile/share/ma"...], [/* 27 vars */]) = 0
[pid 123577] execve("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/bin/nroff", ["/nix/store/xjgqlzld2vhyqbryw57z6"..., "-mandoc"], [/* 27 vars */] <unfinished ...>
[pid 123579] access("/etc/ld.so.preload", R_OK) = 0
[pid 123579] open("/etc/ld.so.preload", O_RDONLY) = 4
[pid 123578] execve("/nix/store/waqqa942wvwcsw2anq6mx3si1jkd9f0i-less-471/bin/less", ["/nix/store/waqqa942wvwcsw2anq6mx"..., "-is"], [/* 27 vars */] <unfinished ...>
[pid 123577] <... execve resumed> )     = 0
[pid 123579] open("/usr/local/lib/libsnoopy.so", O_RDONLY) = 4
[pid 123578] <... execve resumed> )     = 0
[pid 123577] access("/etc/ld-nix.so.preload", R_OK) = -1 ENOENT (No such file or directory)
[pid 123577] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/x86_64/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123577] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/x86_64", 0x7fffcb6a0180) = -1 ENOENT (No such file or directory)
[pid 123578] access("/etc/ld-nix.so.preload", R_OK <unfinished ...>
[pid 123577] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/libdl.so.2", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123578] <... access resumed> )     = -1 ENOENT (No such file or directory)
[pid 123577] <... open resumed> )       = -1 ENOENT (No such file or directory)
[pid 123579] open("/etc/ld.so.cache", O_RDONLY <unfinished ...>
[pid 123578] open("/nix/store/g5wsmk977z2hmqwb0a2pvlyr3wx2w1bg-ncurses-5.9/lib/tls/x86_64/libncursesw.so.5", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123579] <... open resumed> )       = 4
[pid 123578] <... open resumed> )       = -1 ENOENT (No such file or directory)
[pid 123578] stat("/nix/store/g5wsmk977z2hmqwb0a2pvlyr3wx2w1bg-ncurses-5.9/lib/tls/x86_64", 0x7fff211410d0) = -1 ENOENT (No such file or directory)
[pid 123578] open("/nix/store/g5wsmk977z2hmqwb0a2pvlyr3wx2w1bg-ncurses-5.9/lib/tls/libncursesw.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123578] stat("/nix/store/g5wsmk977z2hmqwb0a2pvlyr3wx2w1bg-ncurses-5.9/lib/tls", 0x7fff211410d0) = -1 ENOENT (No such file or directory)
[pid 123579] open("/lib64/libtinfo.so.5", O_RDONLY <unfinished ...>
[pid 123578] open("/nix/store/g5wsmk977z2hmqwb0a2pvlyr3wx2w1bg-ncurses-5.9/lib/x86_64/libncursesw.so.5", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123579] <... open resumed> )       = 4
[pid 123578] <... open resumed> )       = -1 ENOENT (No such file or directory)
[pid 123578] stat("/nix/store/g5wsmk977z2hmqwb0a2pvlyr3wx2w1bg-ncurses-5.9/lib/x86_64", 0x7fff211410d0) = -1 ENOENT (No such file or directory)
[pid 123578] open("/nix/store/g5wsmk977z2hmqwb0a2pvlyr3wx2w1bg-ncurses-5.9/lib/libncursesw.so.5", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123577] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls",  <unfinished ...>
[pid 123578] <... open resumed> )       = 4
[pid 123577] <... stat resumed> 0x7fffcb6a0180) = -1 ENOENT (No such file or directory)
[pid 123577] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/x86_64/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123577] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/x86_64",  <unfinished ...>
[pid 123579] open("/lib64/libdl.so.2", O_RDONLY) = 4
[pid 123577] <... stat resumed> 0x7fffcb6a0180) = -1 ENOENT (No such file or directory)
[pid 123577] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/libdl.so.2", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123578] open("/nix/store/g5wsmk977z2hmqwb0a2pvlyr3wx2w1bg-ncurses-5.9/lib/libc.so.6", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123577] <... open resumed> )       = 4
[pid 123578] <... open resumed> )       = -1 ENOENT (No such file or directory)
[pid 123578] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123578] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/x86_64", 0x7fff211410a0) = -1 ENOENT (No such file or directory)
[pid 123578] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123579] open("/lib64/libc.so.6", O_RDONLY <unfinished ...>
[pid 123578] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls",  <unfinished ...>
[pid 123579] <... open resumed> )       = 4
[pid 123578] <... stat resumed> 0x7fff211410a0) = -1 ENOENT (No such file or directory)
[pid 123578] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123578] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/x86_64", 0x7fff211410a0) = -1 ENOENT (No such file or directory)
[pid 123578] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 4
[pid 123577] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 4
[pid 123576] execve("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/bin/tbl", ["/nix/store/xjgqlzld2vhyqbryw57z6"...], [/* 27 vars */]) = 0
[pid 123579] open("/dev/tty", O_RDWR|O_NONBLOCK) = 4
[pid 123576] access("/etc/ld-nix.so.preload", R_OK) = -1 ENOENT (No such file or directory)
[pid 123576] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123579] open("/usr/lib/locale/locale-archive", O_RDONLY <unfinished ...>
[pid 123578] stat("/home/ivan/.terminfo",  <unfinished ...>
[pid 123579] <... open resumed> )       = 4
[pid 123578] <... stat resumed> 0x7fff2113ff40) = -1 ENOENT (No such file or directory)
[pid 123578] stat("/nix/store/g5wsmk977z2hmqwb0a2pvlyr3wx2w1bg-ncurses-5.9/share/terminfo", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
[pid 123578] access("/nix/store/g5wsmk977z2hmqwb0a2pvlyr3wx2w1bg-ncurses-5.9/share/terminfo/x/xterm", R_OK <unfinished ...>
[pid 123576] <... open resumed> )       = -1 ENOENT (No such file or directory)
[pid 123578] <... access resumed> )     = 0
[pid 123576] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/x86_64",  <unfinished ...>
[pid 123578] open("/nix/store/g5wsmk977z2hmqwb0a2pvlyr3wx2w1bg-ncurses-5.9/share/terminfo/x/xterm", O_RDONLY) = 4
[pid 123576] <... stat resumed> 0x7fffd5ee6270) = -1 ENOENT (No such file or directory)
[pid 123576] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/libstdc++.so.6", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123577] open("/dev/tty", O_RDWR|O_NONBLOCK) = 4
[pid 123576] <... open resumed> )       = -1 ENOENT (No such file or directory)
[pid 123579] open("/proc/meminfo", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123576] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls",  <unfinished ...>
[pid 123579] <... open resumed> )       = 4
[pid 123576] <... stat resumed> 0x7fffd5ee6270) = -1 ENOENT (No such file or directory)
[pid 123576] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123577] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123577] open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123576] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/x86_64",  <unfinished ...>
[pid 123577] <... open resumed> )       = 4
[pid 123576] <... stat resumed> 0x7fffd5ee6270) = -1 ENOENT (No such file or directory)
[pid 123576] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123578] open("/nix/store/waqqa942wvwcsw2anq6mx3si1jkd9f0i-less-471/bin/.sysless", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123578] open("/etc/sysless", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123578] open("/home/ivan/.less", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123578] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123576] <... open resumed> )       = -1 ENOENT (No such file or directory)
[pid 123578] <... open resumed> )       = -1 ENOENT (No such file or directory)
[pid 123578] open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123576] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib",  <unfinished ...>
[pid 123578] <... open resumed> )       = 4
[pid 123579] stat("/home/ivan/.nix-profile/share/man", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
[pid 123579] stat(".", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
[pid 123576] <... stat resumed> {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
[pid 123579] open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY <unfinished ...>
[pid 123576] open("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/tls/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123579] <... open resumed> )       = 4
[pid 123578] open("/home/ivan/.lesshst", O_RDONLY) = 4
[pid 123576] <... open resumed> )       = -1 ENOENT (No such file or directory)
[pid 123576] stat("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/tls/x86_64", 0x7fffd5ee6270) = -1 ENOENT (No such file or directory)
[pid 123576] open("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/tls/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123577] open("/proc/meminfo", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123576] stat("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/tls",  <unfinished ...>
[pid 123578] open("/dev/tty", O_RDONLY <unfinished ...>
[pid 123577] <... open resumed> )       = 4
[pid 123578] <... open resumed> )       = 4
[pid 123576] <... stat resumed> 0x7fffd5ee6270) = -1 ENOENT (No such file or directory)
[pid 123576] open("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123576] stat("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/x86_64", 0x7fffd5ee6270) = -1 ENOENT (No such file or directory)
[pid 123576] open("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 4
[pid 123578] stat("-", 0x7fff21141840)  = -1 ENOENT (No such file or directory)
[pid 123576] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = 4
[pid 123579] open("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gunzip", O_RDONLY) = 4
[pid 123577] stat("/home/ivan/.nix-profile/share/man", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
[pid 123577] stat(".", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
[pid 123576] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123577] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/gconv/gconv-modules.cache", O_RDONLY <unfinished ...>
[pid 123576] <... open resumed> )       = 4
[pid 123577] <... open resumed> )       = -1 ENOENT (No such file or directory)
[pid 123577] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/gconv/gconv-modules", O_RDONLY|O_CLOEXEC) = 4
[pid 123576] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 4
[pid 123579] stat(".", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
[pid 123579] stat("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", {st_mode=S_IFREG|0555, st_size=110502, ...}) = 0
[pid 123579] stat("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", {st_mode=S_IFREG|0555, st_size=110502, ...}) = 0
[pid 123579] access("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", X_OK) = 0
[pid 123579] stat("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", {st_mode=S_IFREG|0555, st_size=110502, ...}) = 0
[pid 123579] access("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", R_OK) = 0
[pid 123579] stat("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", {st_mode=S_IFREG|0555, st_size=110502, ...}) = 0
[pid 123579] stat("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", {st_mode=S_IFREG|0555, st_size=110502, ...}) = 0
[pid 123579] access("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", X_OK) = 0
[pid 123579] stat("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", {st_mode=S_IFREG|0555, st_size=110502, ...}) = 0
[pid 123579] access("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", R_OK) = 0
[pid 123579] open("/etc/snoopy.ini", O_RDONLY) = 4
[pid 123579] readlink("/proc/self/fd/0", "/dev/pts/1", 4095) = 10
[pid 123579] getcwd("/nix/store/9xbv9vh9riixqswcjj80zp00bcgvvzn9-user-environment/share/man", 4097) = 71
[pid 123579] open("/etc/localtime", O_RDONLY) = 4
[pid 123579] execve("/nix/store/h5qhpwjf2mb69y2s9xlx3cpf9fh5xpc9-gzip-1.6/bin/gzip", ["gzip", "-d", "-c", "/home/ivan/.nix-profile/share/ma"...], [/* 25 vars */]) = 0
[pid 123579] access("/etc/ld-nix.so.preload", R_OK) = -1 ENOENT (No such file or directory)
[pid 123579] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123579] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/x86_64", 0x7fffe5d718b0) = -1 ENOENT (No such file or directory)
[pid 123579] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123579] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls", 0x7fffe5d718b0) = -1 ENOENT (No such file or directory)
[pid 123579] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123579] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/x86_64", 0x7fffe5d718b0) = -1 ENOENT (No such file or directory)
[pid 123579] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 4
[pid 123579] open("/home/ivan/.nix-profile/share/man/man1/man.1.gz", O_RDONLY|O_NOCTTY|O_NONBLOCK) = 4
[pid 123577] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/bin/nroff", O_RDONLY) = 4
[pid 123579] +++ exited with 0 +++
[pid 123575] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=123579, si_uid=501, si_status=0, si_utime=0, si_stime=0} ---
[pid 123575] +++ exited with 0 +++
Process 123580 attached
[pid 123576] +++ exited with 0 +++
[pid 123580] open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4
[pid 123580] stat(".", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
[pid 123580] stat("/home/ivan/.nix-profile/bin/locale", {st_mode=S_IFREG|0555, st_size=46269, ...}) = 0
[pid 123580] stat("/home/ivan/.nix-profile/bin/locale", {st_mode=S_IFREG|0555, st_size=46269, ...}) = 0
[pid 123580] access("/home/ivan/.nix-profile/bin/locale", X_OK) = 0
[pid 123580] stat("/home/ivan/.nix-profile/bin/locale", {st_mode=S_IFREG|0555, st_size=46269, ...}) = 0
[pid 123580] access("/home/ivan/.nix-profile/bin/locale", R_OK) = 0
[pid 123580] stat("/home/ivan/.nix-profile/bin/locale", {st_mode=S_IFREG|0555, st_size=46269, ...}) = 0
[pid 123580] stat("/home/ivan/.nix-profile/bin/locale", {st_mode=S_IFREG|0555, st_size=46269, ...}) = 0
[pid 123580] access("/home/ivan/.nix-profile/bin/locale", X_OK) = 0
[pid 123580] stat("/home/ivan/.nix-profile/bin/locale", {st_mode=S_IFREG|0555, st_size=46269, ...}) = 0
[pid 123580] access("/home/ivan/.nix-profile/bin/locale", R_OK) = 0
Process 123581 attached
[pid 123581] execve("/home/ivan/.nix-profile/bin/locale", ["locale", "charmap"], [/* 26 vars */]) = 0
[pid 123581] access("/etc/ld-nix.so.preload", R_OK) = -1 ENOENT (No such file or directory)
[pid 123581] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123581] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123581] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/x86_64", 0x7fffc4d18810) = -1 ENOENT (No such file or directory)
[pid 123581] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123581] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls", 0x7fffc4d18810) = -1 ENOENT (No such file or directory)
[pid 123581] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123581] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/x86_64", 0x7fffc4d18810) = -1 ENOENT (No such file or directory)
[pid 123581] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 4
[pid 123581] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123581] open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 4
[pid 123581] +++ exited with 0 +++
[pid 123580] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=123581, si_uid=501, si_status=0, si_utime=0, si_stime=0} ---
[pid 123580] +++ exited with 0 +++
[pid 123577] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=123580, si_uid=501, si_status=0, si_utime=0, si_stime=0} ---
[pid 123577] stat(".", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
[pid 123577] stat("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/bin/groff", {st_mode=S_IFREG|0555, st_size=97854, ...}) = 0
[pid 123577] stat("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/bin/groff", {st_mode=S_IFREG|0555, st_size=97854, ...}) = 0
[pid 123577] access("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/bin/groff", X_OK) = 0
[pid 123577] stat("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/bin/groff", {st_mode=S_IFREG|0555, st_size=97854, ...}) = 0
[pid 123577] access("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/bin/groff", R_OK) = 0
[pid 123577] stat("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/bin/groff", {st_mode=S_IFREG|0555, st_size=97854, ...}) = 0
[pid 123577] stat("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/bin/groff", {st_mode=S_IFREG|0555, st_size=97854, ...}) = 0
[pid 123577] access("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/bin/groff", X_OK) = 0
[pid 123577] stat("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/bin/groff", {st_mode=S_IFREG|0555, st_size=97854, ...}) = 0
[pid 123577] access("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/bin/groff", R_OK) = 0
Process 123582 attached
[pid 123582] execve("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/bin/groff", ["groff", "-mtty-char", "-Tutf8", "-mandoc"], [/* 27 vars */]) = 0
[pid 123582] access("/etc/ld-nix.so.preload", R_OK) = -1 ENOENT (No such file or directory)
[pid 123582] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123582] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/x86_64", 0x7fffb5f35010) = -1 ENOENT (No such file or directory)
[pid 123582] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123582] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls", 0x7fffb5f35010) = -1 ENOENT (No such file or directory)
[pid 123582] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123582] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/x86_64", 0x7fffb5f35010) = -1 ENOENT (No such file or directory)
[pid 123582] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123582] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
[pid 123582] open("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/tls/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123582] stat("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/tls/x86_64", 0x7fffb5f35010) = -1 ENOENT (No such file or directory)
[pid 123582] open("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/tls/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123582] stat("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/tls", 0x7fffb5f35010) = -1 ENOENT (No such file or directory)
[pid 123582] open("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123582] stat("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/x86_64", 0x7fffb5f35010) = -1 ENOENT (No such file or directory)
[pid 123582] open("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 4
[pid 123582] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = 4
[pid 123582] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 4
[pid 123582] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 4
[pid 123582] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-font/devutf8/DESC", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123582] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/font/devutf8/DESC", O_RDONLY) = 4
Process 123583 attached
Process 123584 attached
[pid 123583] execve("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/bin/troff", ["troff", "-mtty-char", "-mandoc", "-Tutf8"], [/* 28 vars */] <unfinished ...>
[pid 123584] execve("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/bin/grotty", ["grotty"], [/* 28 vars */] <unfinished ...>
[pid 123583] <... execve resumed> )     = 0
[pid 123583] access("/etc/ld-nix.so.preload", R_OK <unfinished ...>
[pid 123584] <... execve resumed> )     = 0
[pid 123583] <... access resumed> )     = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123583] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/x86_64", 0x7fff27ca7c30) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/libstdc++.so.6", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123584] access("/etc/ld-nix.so.preload", R_OK <unfinished ...>
[pid 123583] <... open resumed> )       = -1 ENOENT (No such file or directory)
[pid 123584] <... access resumed> )     = -1 ENOENT (No such file or directory)
[pid 123583] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls",  <unfinished ...>
[pid 123584] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123583] <... stat resumed> 0x7fff27ca7c30) = -1 ENOENT (No such file or directory)
[pid 123584] <... open resumed> )       = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123584] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/x86_64",  <unfinished ...>
[pid 123583] <... open resumed> )       = -1 ENOENT (No such file or directory)
[pid 123584] <... stat resumed> 0x7fffb571ca70) = -1 ENOENT (No such file or directory)
[pid 123583] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/x86_64",  <unfinished ...>
[pid 123584] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls/libstdc++.so.6", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123583] <... stat resumed> 0x7fff27ca7c30) = -1 ENOENT (No such file or directory)
[pid 123584] <... open resumed> )       = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123584] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/tls",  <unfinished ...>
[pid 123583] <... open resumed> )       = -1 ENOENT (No such file or directory)
[pid 123584] <... stat resumed> 0x7fffb571ca70) = -1 ENOENT (No such file or directory)
[pid 123583] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib",  <unfinished ...>
[pid 123584] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123583] <... stat resumed> {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
[pid 123584] <... open resumed> )       = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/tls/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123584] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/x86_64",  <unfinished ...>
[pid 123583] <... open resumed> )       = -1 ENOENT (No such file or directory)
[pid 123584] <... stat resumed> 0x7fffb571ca70) = -1 ENOENT (No such file or directory)
[pid 123583] stat("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/tls/x86_64",  <unfinished ...>
[pid 123584] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123583] <... stat resumed> 0x7fff27ca7c30) = -1 ENOENT (No such file or directory)
[pid 123584] <... open resumed> )       = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/tls/libstdc++.so.6", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123584] stat("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib",  <unfinished ...>
[pid 123583] <... open resumed> )       = -1 ENOENT (No such file or directory)
[pid 123584] <... stat resumed> {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
[pid 123583] stat("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/tls",  <unfinished ...>
[pid 123584] open("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/tls/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123583] <... stat resumed> 0x7fff27ca7c30) = -1 ENOENT (No such file or directory)
[pid 123584] <... open resumed> )       = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123584] stat("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/tls/x86_64",  <unfinished ...>
[pid 123583] <... open resumed> )       = -1 ENOENT (No such file or directory)
[pid 123584] <... stat resumed> 0x7fffb571ca70) = -1 ENOENT (No such file or directory)
[pid 123583] stat("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/x86_64",  <unfinished ...>
[pid 123584] open("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/tls/libstdc++.so.6", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123583] <... stat resumed> 0x7fff27ca7c30) = -1 ENOENT (No such file or directory)
[pid 123584] <... open resumed> )       = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123584] stat("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/tls",  <unfinished ...>
[pid 123583] <... open resumed> )       = 4
[pid 123584] <... stat resumed> 0x7fffb571ca70) = -1 ENOENT (No such file or directory)
[pid 123584] open("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123584] stat("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/x86_64", 0x7fffb571ca70) = -1 ENOENT (No such file or directory)
[pid 123584] open("/nix/store/jrhjp66sdfv0pc95dwgdz2sly9hima23-gcc-4.8.4/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 4
[pid 123583] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = 4
[pid 123584] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = 4
[pid 123583] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 4
[pid 123584] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 4
[pid 123583] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/libc.so.6", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123584] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/libc.so.6", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 123583] <... open resumed> )       = 4
[pid 123584] <... open resumed> )       = 4
[pid 123584] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123584] open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 4
[pid 123583] open("/nix/store/93zfs0zzndi7pkjkjxawlafdj8m90kg5-glibc-2.20/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 123583] open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 4
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-font/devutf8/DESC", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/font/devutf8/DESC", O_RDONLY) = 4
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-font/devutf8/R", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/font/devutf8/R", O_RDONLY) = 4
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-font/devutf8/I", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/font/devutf8/I", O_RDONLY) = 4
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-font/devutf8/B", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/font/devutf8/B", O_RDONLY) = 4
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-font/devutf8/BI", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/font/devutf8/BI", O_RDONLY) = 4
[pid 123583] open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 4
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/lib/groff/site-tmac/troffrc", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-tmac/troffrc", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/tmac/troffrc", O_RDONLY) = 4
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/lib/groff/site-tmac/composite.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-tmac/composite.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/tmac/composite.tmac", O_RDONLY) = 5
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/lib/groff/site-tmac/fallbacks.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-tmac/fallbacks.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/tmac/fallbacks.tmac", O_RDONLY) = 5
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/lib/groff/site-tmac/tty.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-tmac/tty.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/tmac/tty.tmac", O_RDONLY) = 5
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/lib/groff/site-tmac/unicode.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-tmac/unicode.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/tmac/unicode.tmac", O_RDONLY) = 6
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/lib/groff/site-tmac/latin1.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-tmac/latin1.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/tmac/latin1.tmac", O_RDONLY) = 6
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/lib/groff/site-tmac/hyphen.us", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-tmac/hyphen.us", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/tmac/hyphen.us", O_RDONLY) = 5
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/lib/groff/site-tmac/hyphenex.us", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-tmac/hyphenex.us", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/tmac/hyphenex.us", O_RDONLY) = 5
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/lib/groff/site-tmac/papersize.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-tmac/papersize.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/tmac/papersize.tmac", O_RDONLY) = 5
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/lib/groff/site-tmac/pspic.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-tmac/pspic.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/tmac/pspic.tmac", O_RDONLY) = 5
[pid 123583] open("/home/ivan/tty-char.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/lib/groff/site-tmac/tty-char.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-tmac/tty-char.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/tmac/tty-char.tmac", O_RDONLY) = 4
[pid 123583] open("/home/ivan/latin1.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/lib/groff/site-tmac/latin1.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-tmac/latin1.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/tmac/latin1.tmac", O_RDONLY) = 5
[pid 123583] open("/home/ivan/andoc.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/lib/groff/site-tmac/andoc.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-tmac/andoc.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/tmac/andoc.tmac", O_RDONLY) = 4
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/lib/groff/site-tmac/troffrc-end", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-tmac/troffrc-end", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/tmac/troffrc-end", O_RDONLY) = 4
[pid 123583] open("/home/ivan/an-old.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/lib/groff/site-tmac/an-old.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-tmac/an-old.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/tmac/an-old.tmac", O_RDONLY) = 4
[pid 123583] open("/home/ivan/devtag.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/lib/groff/site-tmac/devtag.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-tmac/devtag.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/tmac/devtag.tmac", O_RDONLY) = 5
[pid 123583] open("/home/ivan/an-ext.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/lib/groff/site-tmac/an-ext.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-tmac/an-ext.tmac", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/tmac/an-ext.tmac", O_RDONLY) = 5
[pid 123583] open("/home/ivan/man.local", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/lib/groff/site-tmac/man.local", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-tmac/man.local", O_RDONLY) = 5
[pid 123584] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-font/devutf8/DESC", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123584] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/font/devutf8/DESC", O_RDONLY) = 4
[pid 123584] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-font/devutf8/R", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123584] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/font/devutf8/R", O_RDONLY) = 4
[pid 123584] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-font/devutf8/B", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123584] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/font/devutf8/B", O_RDONLY) = 4
[pid 123584] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-font/devutf8/I", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123584] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/font/devutf8/I", O_RDONLY) = 4
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/site-font/devutf8/CW", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/nix/store/xjgqlzld2vhyqbryw57z69jsh99503il-groff-1.22.3/share/groff/1.22.3/font/devutf8/CW", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] open("/usr/lib/font/devutf8/CW", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 123583] +++ exited with 0 +++
[pid 123582] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=123583, si_uid=501, si_status=0, si_utime=3, si_stime=0} ---
[pid 123584] +++ exited with 0 +++
[pid 123582] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=123584, si_uid=501, si_status=0, si_utime=0, si_stime=0} ---
[pid 123582] +++ exited with 0 +++
[pid 123577] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=123582, si_uid=501, si_status=0, si_utime=0, si_stime=0} ---
[pid 123577] +++ exited with 0 +++
[pid 123578] +++ exited with 0 +++
[pid 123574] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=123575, si_uid=501, si_status=0, si_utime=0, si_stime=0} ---
[pid 123574] +++ exited with 0 +++
[pid 123573] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=123574, si_uid=501, si_status=0, si_utime=0, si_stime=0} ---
[pid 123573] +++ exited with 0 +++
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=123573, si_uid=501, si_status=0, si_utime=0, si_stime=0} ---
+++ exited with 0 +++

imz avatar Apr 08 '15 17:04 imz

If you export LESS=r, it should display fine. It confused me as well when I started using NixOS. Maybe it should be the default.

alinnow avatar Apr 22 '15 21:04 alinnow

@alanpearce

Yes, it helped, thanks!

   -r or --raw-control-chars
          Causes  "raw" control characters to be displayed.  The default is to display control characters using the caret notation; for example, a control-A (octal 001) is displayed as "^A".  Warning: when the
          -r option is used, less cannot keep track of the actual appearance of the screen (since this depends on how the screen responds to each type of control character).  Thus, various display problems may
          result, such as long lines being split in the wrong place.

I'm not sure about exporting it by default. But I definitely need it when running man. So perhaps at least man should ensure that less -r is used.

imz avatar Apr 24 '15 11:04 imz

Solved?

jagajaga avatar Apr 24 '15 13:04 jagajaga

This also worked for me, but I would agree that it would be nice to have as default.

statusfailed avatar Apr 24 '15 21:04 statusfailed

On nixos man is piping to less -R. Is the issue still happening on other OSes ?

zimbatm avatar Feb 18 '16 00:02 zimbatm

Hmm, I can't reproduce this on NixOS (with clean env without $LESS).

vcunat avatar Feb 19 '16 07:02 vcunat

Try with PAGER=less man man, this breaks on NixOS but works on e.g. Arch and Ubuntu. The reason seems to be that they are pulling the man binary from the GNU man-db package, whereas we're using something different.

dezgeg avatar Feb 19 '16 08:02 dezgeg

Installing man_db instead of man solves the escaping issues if PAGER is unset.

I suppose that we are using man by default because it's much smaller (228K vs 2.2M), it would be good to get a confirmation on that. The biggest difference is that man-db includes translated versions of the pages, we could strip them out and gain 1M back.

man is hosted at http://primates.ximian.com/~flucifredi/man/ and hasn't seen any development lately. I can't reach the website at the moment.

man-db is hosted at http://man-db.nongnu.org/ and used by all the big distros (Arch, Debian, Gentoo, Fedora, ...).

Based on that I would recommend to remove the man package and use man_db. Then we can remove the PAGER environment variable (which is no set in any other distro I know of).

zimbatm avatar Mar 10 '16 15:03 zimbatm

^ PR that implements the suggestion

zimbatm avatar Mar 10 '16 16:03 zimbatm

fixed in #15646, @imz can you confirm? please reopen if issue still exists.

garbas avatar May 24 '16 22:05 garbas

I confirm that our previous is broken on Ubuntu+ssh and now it's OK.

vcunat avatar May 25 '16 08:05 vcunat