Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

jobs -Z will destory environ variables



Hi,

Looks like "jobs -Z new_name" will destory the environ of current zsh.
After running of it, some programs like "less", "vim" won't work
correctly:

% ls | less
WARNING: terminal is not fully functional
-  (press RETURN)


There is no setproctitle() available on linux, bug there is a prctl()
which can set proc name to a string which length not big than 16 bytes.
I wondering if we can use it instead of modifying argv directly.

Thanks.



Messages sorted by: Reverse Date, Date, Thread, Author