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

Already on GitHub? Sign in to your account

use readline functions only in interactive mode #331

Open
wookietreiber opened this Issue May 10, 2017 · 0 comments

Comments

Projects
None yet
1 participant

The readline functions should only be used in interactive mode.

When I'm using mothur on an HPC cluster in batch mode the mothur output is captured in a log file automatically by the job management system, e.g. SGE or SLURM. These logs contain the readline escape characters, e.g. to clear the screen, which makes the log in part unreadable. Also, when these batch mode mothur jobs are executed on non-interactive compute nodes, there is no TERM variable. The log then shows: TERM environment variable not set. This happens, when readline functions are used in a non-interactive environment and this should be avoided.

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