how to log user commands in xterm without using "script" command
I need to log the commands a user is typing in the xterm.
I can't use the script command since it collects also non printable data and so I get a lot of junk in the log file.
the internal option of logging from the xterm (-lf) is disabled so I can't use that as well.
Does anyone know of a different tool to log commands or how to clean the output of script easily?