zsh-users
 help / color / mirror / code / Atom feed
* CHECK_JOBS for suspended jobs only?
@ 2003-04-28 13:09 Haakon Riiser
  2003-04-28 13:19 ` Zefram
  2003-04-28 13:29 ` Peter Stephenson
  0 siblings, 2 replies; 3+ messages in thread
From: Haakon Riiser @ 2003-04-28 13:09 UTC (permalink / raw)
  To: zsh-users

I have disabled the HUP option, so it is safe to do

  % foo &
  % exit

I would like to disable the "you have running jobs" warning for jobs
that are running in the background, but /not/ for suspended jobs;
NO_CHECK_JOBS disables both.  Is this fixable without hacking the
source code?

Also, I have a completly unrelated question which is too silly to
warrant its own posting. :-)  If I type "|" after expanding a name
with the completion system, the "|" is inserted to the /left/ of the
cursor instead of /under/ the cursor.  This doesn't break anything
because the completion system inserts a space after the completed
word, but it feels a bit weird so I had to ask why this happens.

zsh 4.0.6 (i386-slackware-linux-gnu).

-- 
 Haakon


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

* Re: CHECK_JOBS for suspended jobs only?
  2003-04-28 13:09 CHECK_JOBS for suspended jobs only? Haakon Riiser
@ 2003-04-28 13:19 ` Zefram
  2003-04-28 13:29 ` Peter Stephenson
  1 sibling, 0 replies; 3+ messages in thread
From: Zefram @ 2003-04-28 13:19 UTC (permalink / raw)
  To: zsh-users

Haakon Riiser wrote:
>Also, I have a completly unrelated question which is too silly to
>warrant its own posting. :-)  If I type "|" after expanding a name
>with the completion system, the "|" is inserted to the /left/ of the
>cursor instead of /under/ the cursor.  This doesn't break anything
>because the completion system inserts a space after the completed
>word, but it feels a bit weird so I had to ask why this happens.

This is suffix removal.  The completion system added a space after the
completed name in case you wanted to type another command argument next,
but instead you typed a "|", so you obviously didn't need the space so
it removed it before adding the "|".  Suffix removal is more useful in
some other cases, such as the removable "/" after completing a directory
name or the removable "}" after completing a variable name inside "${".

-zefram


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

* Re: CHECK_JOBS for suspended jobs only?
  2003-04-28 13:09 CHECK_JOBS for suspended jobs only? Haakon Riiser
  2003-04-28 13:19 ` Zefram
@ 2003-04-28 13:29 ` Peter Stephenson
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Stephenson @ 2003-04-28 13:29 UTC (permalink / raw)
  To: zsh-users

"Haakon Riiser" wrote:
> I have disabled the HUP option, so it is safe to do
> 
>   % foo &
>   % exit
> 
> I would like to disable the "you have running jobs" warning for jobs
> that are running in the background, but /not/ for suspended jobs;
> NO_CHECK_JOBS disables both.  Is this fixable without hacking the
> source code?

Looking at the code the answer seems to be no, though it's a pretty
reasonable idea.

You can of course `disown' jobs you don't want to know about.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
prohibited.  
If you received this in error, please contact the sender and 
delete the material from any computer.
**********************************************************************


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

end of thread, other threads:[~2003-04-28 13:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-28 13:09 CHECK_JOBS for suspended jobs only? Haakon Riiser
2003-04-28 13:19 ` Zefram
2003-04-28 13:29 ` Peter Stephenson

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).