script
è un ottimo strumento per registrare tutte le attività nel terminale (http://linuxers.org/article/script-command-line-tool-recordsave-your-terminal-activity). L'eseguibile integrato script
su Mac non è in grado di registrare i tempi del dattiloscritto. Sto cercando di compilare il pacchetto util-linux (https://github.com/karelzak/util-linux, che contiene linux versione script
) ma senza successo:script per registrare il terminale su Mac
$ make
make all-recursive
Making all in po
make[2]: Nothing to be done for `all'.
CC lib/libcommon_la-strutils.lo
In file included from lib/strutils.c:16:
./include/strutils.h:77: error: conflicting types for 'strmode'
/usr/include/string.h:168: error: previous declaration of 'strmode' was here
lib/strutils.c:351: error: conflicting types for 'strmode'
/usr/include/string.h:168: error: previous declaration of 'strmode' was here
lib/strutils.c: In function 'size_to_human_string':
lib/strutils.c:442: warning: format '%jd' expects type 'intmax_t', but argument 8 has type 'uint64_t'
make[2]: *** [lib/libcommon_la-strutils.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
c'è qualche compilato excutable là fuori per Mac?
OSX High Sierra: 'Errore: porta ttyrec non trovata' e la versione brew non riesce' Fuori da pty's' :( –