<<< Date Index >>>     <<< Thread Index >>>

Re: wrap long lines



On Tue, Aug 29, 2006 at 02:43:08PM -0400, Kyle Wheeler wrote:
> Mmmm, some versions of ksh require traps to be labelled somewhat 
> differently. This should work:
> 
>     trap 'echo SIGWINCH' WINCH
> 
> If all else fails, you can look up the signal number like so:
> 
>     grep SIGWINCH /usr/include/*/*.h

kill -l is probably a lot easier...  Though I suppose it may not work
on every conceivable system.

> > but I get only one "SIGWINCH" for every roughly 12 window resizings.
> 
> Weird.

I'm not sure, but I think this is pretty common when the X client is
running on a remote machine...


> > So I guess the answer is to run bash everywhere.
> 
> Some would say that "bash" stands for "Bad-Ass SHell" rather than 
> "Bourne Again SHell"

True, but some would also say that bash stands for "bloat-abundant
shell"  ;-)

-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail.  Sorry for the inconvenience.  Thank the spammers.

Attachment: pgph2SD1ENlQt.pgp
Description: PGP signature