zsh-users
 help / color / mirror / code / Atom feed
* jobs -Z will destory environ variables
@ 2012-11-17  8:56 Han Pingtian
  2012-11-17 17:36 ` Bart Schaefer
  0 siblings, 1 reply; 8+ messages in thread
From: Han Pingtian @ 2012-11-17  8:56 UTC (permalink / raw)
  To: zsh-user

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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-12-21 16:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-17  8:56 jobs -Z will destory environ variables Han Pingtian
2012-11-17 17:36 ` Bart Schaefer
2012-11-18  2:31   ` Han Pingtian
2012-11-18 18:22     ` Bart Schaefer
2012-12-21 13:35       ` Valodim Skywalker
2012-12-21 15:56         ` Bart Schaefer
2012-12-21 16:36           ` Valodim Skywalker
2012-12-21 16:38           ` Valodim Skywalker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).