2006-07-08

Boredom

Following the CompSocBFL 2006 and a week at home, I've moved to the Southampton area for my IT year at IBM Hursley.

Not having had an internet connection for most of that time, I've had to come up with some other things to do (besides watching QI).

First, anyone who's used GnuWin32's CoreUtils' ls will probably have noticed how slow it was (for example, it takes ~4 seconds to list the files on my desktop); it also lacks actual checking of the owner/group of the file, the permissions and the colouring/console-width-awareness provided on other platforms. I can (now) appreciate the permissions, but the others.. Anyway, I decided to rewrite it. Going reasonably well, but reading the permissions (for anyone but the current user) is a pain. A serious pain.. if I ever manage to do it successfully, I'll probably write about it. As far as I can tell, nobody else has ever managed it, so things aren't looking good.

It's not ready for general use yet, but it's definitely working:

Secondly, having seen both Silver's ConResMgr (a tool that lets you drag-resize Windows Command Prompt windows), and the way he lays out windows on his screen, I thought I'd have a go at doing it semi-automatically.

The result was the imaginitively 'FauWM Assistant', which, when you Ctrl+drag or Ctrl+resize windows will show a dialog prompting you for which sextant(s) of which screen(s) you'd like the window to be placed in.

The result is that it's very easy to get a window setup that looks something like:

The (ultimately sexy) prompt for window position currently looks like:

So, to use:

  • Grab (pretty much) any window by the title bar, I know it doesn't work with Winamp and (partially) Putty.
  • Hold control and just drop the window anywhere; the Segment Select.. window shown above will come up under your cursor.
  • Drag a box through some of the rectangles shown.
  • The window should now be where you wanted it.

You can download FauWM Assistant (sig), it needs the Visual Studio 2005 (8) Runtime Library.


Commenting is disabled for this post.

Read more of Faux' blog