Re: [wmii] 3.6-rc2: bar behavior (bug?)

From: Kris Maglione <bsdaemon_AT_comcast.net>
Date: Thu, 8 Mar 2007 17:08:02 -0500

On Fri, Mar 09, 2007 at 03:57:18AM +0600, Mikhail Gusarov wrote:
>Hi,
>
>echo'ing empty string (not the single "\n") into /[rl]bar/<whatever>
>does not change contents of the label. Is this intentional?

The text in the bars, or any file, is automatically truncated whenever
you write any data to them. If you don't write any data, they're not
truncated. Ideally, the O_TRUNCATE flag would be supported, but it's not
atm. If you want to clear a bar, write some white space to it.

-- 
Kris Maglione
A shy, introverted child will choose a crowded public
area to loudly demonstrate new acquired vocabulary.

Received on Thu Mar 08 2007 - 23:08:34 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:23:28 UTC