tr: document tr_nl
char: improve some of the comments
reg: initialize global variables in env.c