On Jan 10, 2007, at 9:24 AM, Dominic Mitchell wrote:
On Wed, Jan 10, 2007 at 04:31:41PM +0200, Yossi Kreinin wrote:
My admin suggested One Hell of a Workaround: `unsetenv DISPLAY`. That
surely handles the timeout and is especially useful in scripts running bk.
Somewhat tiring in interactive sessions though.

If you're not using csh, then you can unsetenv for a single command:

  % DISPLAY= bk pull
  ...

And whether you're using csh or not, you can use "env DISPLAY= bk pull".

If you're doing it a lot, an alias or function seems indicated.

Or go into the source and fix it so it doesn't fuck around with $DISPLAY until it's ready to use it for something.

Reply via email to