diff --git a/twander.1 b/twander.1 index 53696c3..7b81e78 100644 --- a/twander.1 +++ b/twander.1 @@ -2333,6 +2333,16 @@ display. .TP +.B SCALEPRECISION [Numeric] (1) + +This specifies the number of digits of precision to display when +scaling file lengths (i.e., when ACTUALENGTH is set or toggled to +False). SCALEPRECISION sets how many digits to the right of the +decimal point to display in the scaled length. Notice that this does +not do proper rounding and thus the rightmost digit can be off by -1. + + +.TP .B SORTBYFIELD [String] (Name) Specifies which field is to be used as the sort key. May be one of @@ -3926,6 +3936,53 @@ .ft \" revert +.SS Forcing Association Case Insensitivity + +Associations on Win32 are case insensitive because the underlying +operating system - while it preserves case - does not observe case +distinctions in file and directories. On Unix-like systems, however, +the underlying operating system +.B is +case sensitive, so case matters when defining associations for +such systems. + +There are circumstances where ignoring case in an association can be +helpful, even in Unix-like systems. For example, if you'd like to +associate an application with text files, it is annoying to have to +write individual associations for "*.txt", "*.Txt", "*.TXT", and so +on. Forcing case insensitivity allows us to write one association +rule that matches each of these file types: + +.ft C \" courier +.nf + + ASSOC ! /*tXt # Exludes files ending in txt, TXT, TxT, TXt, ... + ASSOC /*txT emacs [SELECTION] # Invokes emacs for files ending as above + +.fi +.ft \" revert + +Prepending the "/" character to the association pattern is what tells +\fCtwander\fP to ignore case when doing the matching. + +Notice that exclusions have higher precedence than associations. In +the example above, files ending in txt, Txt, and so on would always be +excluded and the association with emacs would never happen. + +To cancel a case insensitive association you must use the +.B exact +string originally used to establish the association: + +.ft C\" courier +.nf + + ASSOC /*txT emacs .... + ASSOC *txT # Does NOT undo the previous association + ASSOC *txt # Neither does this + ASSOC /*txT # But this does + +.fi +.ft \" revert .SS A Few Association Subtleties @@ -5319,4 +5376,4 @@ .ft \" revert .SH DOCUMENT REVISION INFORMATION -$Id: twander.1,v 1.154 2009/06/28 07:54:30 tundra Exp $ +$Id: twander.1,v 1.155 2009/07/01 20:16:33 tundra Exp $