Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
jobs -Z will destory environ variables
- X-seq: zsh-users 17400
- From: Han Pingtian <hanpt@xxxxxxxxxxxxxxxxxx>
- To: zsh-user <zsh-users@xxxxxxx>
- Subject: jobs -Z will destory environ variables
- Date: Sat, 17 Nov 2012 16:56:20 +0800
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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