Changeset 5343:ba0d96408425 for init.h

Show
Ignore:
Timestamp:
2008-01-15 01:49:41 (10 months ago)
Author:
Rocco Rutte <pdmef@…>
Branch:
HEAD
Message:

Make formatting of query menu configurable via $query_format (closes #170).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • init.h

    r5342 r5343  
    22702270  ** with the query string the user types.  See ``$query'' for more 
    22712271  ** information. 
     2272  */ 
     2273  { "query_format",     DT_STR, R_NONE, UL &QueryFormat, UL "%4c %t %-25.25a %-25.25n %?e?(%e)?" }, 
     2274  /* 
     2275  ** .pp 
     2276  ** This variable describes the format of the `query' menu. The 
     2277  ** following printf-style sequences are understood: 
     2278  ** .pp 
     2279  ** .dl 
     2280  ** .dt %a  .dd destination address 
     2281  ** .dt %c  .dd current entry number 
     2282  ** .dt %e  .dd extra information * 
     2283  ** .dt %n  .dd destination name 
     2284  ** .dt %t  .dd ``*'' if current entry is tagged, a space otherwise 
     2285  ** .dt %>X .dd right justify the rest of the string and pad with "X" 
     2286  ** .dt %|X .dd pad to the end of the line with "X" 
     2287  ** .dt %*X .dd soft-fill with character "X" as pad 
     2288  ** .de 
     2289  ** .pp 
     2290  ** For an explanation of `soft-fill', see the ``$$index_format'' documentation. 
     2291  ** .pp 
     2292  ** * = can be optionally printed if nonzero, see the ``$$status_format'' documentation. 
    22722293  */ 
    22732294  { "quit",             DT_QUAD, R_NONE, OPT_QUIT, M_YES },