On Mon, Mar 20, 2006 at 04:15:26PM +0100, Stefan Tibus wrote: > Hmm...ok, but it's quite unusual and not even consistent. Why can I > access a file which the listing says does not exist? To be consistent, > if "1" is named "sel" then "wmiir read /..../1" should fail. But it > is very useful to be able to access all areas/clients by number, so > it was kept. But then I think it should also be listed. > Currently, "sel" can be thought of being a temporary symlink (as > shorthand) to the selected area/client and I think it should be listed > as such then.
"sel" always points to the selected object (its index can be still accessed but is not displayed if it is selected, because you can easily determine which index relates to "sel"). If "sel" is displayed, but no client exists, then it is simply a bug. "sel" and no index should be displayed if no client exists. But as far as I tested the behavior, it is not possible to have non-existing client namespace in /ws, except if you call wmiir from a tty in /tmp/ directly accessing the wmii socket (and in such a case the /ws/sel does not provide any clients inside). Regards, -- Anselm R. Garbe ><>< www.ebrag.de ><>< GPG key: 0D73F361 _______________________________________________ [email protected] mailing list http://wmii.de/cgi-bin/mailman/listinfo/wmii
