WHEN(1) When 1.1.45 WHEN(1) (NAME) when - (SYNOPSIS) when when [options] [commands] `when` . . `when e` . : 2003 feb 3 , Fly to Stockholm to accept Nobel Prize. `when` . (COMMANDS) i . ( .) c ( ) . e . w,m,y . j ( ). d . (OPTIONS) --help . (/) --option --nooption 0 1 . --help . --version . --language=LANG LANG. . . --future=DAYS . : 14 --past=DAYS . --future --past . : -1 --calendar=FILE . When . --editor=COMMAND . : "emacs -nw" : when --editor="vim" --wrap=COLUMNS ( 0 ). : 80 --[no]wrap_auto . tty --wrap_max . --wrap . : no --wrap_max=COLUMNS ( -1 ). --wrap_auto . : -1 --rows=ROWS . . --future m y ( ). --norows_auto . : 40 --[no]rows_auto --rows. tty . --rows . : yes --[no]header i c w m y. : yes --[no]paging rows rows_auto . ( PAGER LESS . PAGER "less" .) : yes --paging_less_options "less" . : "-rXFE" --[no]filter_accents_on_output . : yes $TERM "mlterm" "xterm" . --[no]styled_output ANSI : yes --[no]styled_output_if_not_tty . : no --calendar_today_style=STYLE --items_today_style=STYLE (c) . <> (i) . : bold : bold underlined flashing. : fgblack fgred fggreen fgyellow fgblue fgpurple fgcyan fgwhite. bg fg. : when --calendar_today_style="bold,fgred,bgcyan" c --prefilter (pipe) . : "" --now="Y M D" . --[no]neighboring_months "when c" . --noneighboring_months --past --future . --[no]monday_first . : no --[no]orthodox_easter . : no --[no]ampm - -. . : yes --auto_pm=x x AM PM PM AM. : 0 --[no]literal_only "2008 jul 4". "w=thu". : no --test_expression --bare_version --make_filter_regex --test_accent_filtering . (DESCRIPTION) When . . << >> When . When ( ) Khal Calcurse . . Perl . . When Perl . (INSTALLATION AND GETTING STARTED) (root) : make install When : when . (USE) When . . . : 2003 feb 3 , Fly to Stockholm to accept Nobel Prize. : when e ( When ). -- . ( February F Fe Feb Februa . . (.) . "cer" Cerven "cec" Cervenec .) . # . When . ( . When .) ``when m'' y w . ``when c'' When . . ``when cw'' . * : * dec 25 , Christmas : 1920* aug 29 , Charlie Parker turns \a, born in \y \a \y : today 2003 Aug 29 Charlie Parker turns 83, born in 1920 w=xxx xxx . ( w=th w=tu w=t.) : w=sun , go to church, 10:00 << >> . : m=jan & w=mon & a=3 , Martin Luther King Day * feb 14 , Valentine's Day m=feb & w=mon & a=3 , Washington's Birthday observed m=may & w=sun & a=2 , Mother's Day m=may & w=mon & b=1 , Memorial Day m=jun & w=sun & a=3 , Father's Day * jul 4 , Independence Day m=sep & w=mon & a=1 , Labor Day m=oct & w=mon & a=2 , Columbus Day m=nov & w=thu & a=4 , Thanksgiving (U.S.) m=oct & w=mon & a=2 , Thanksgiving (Canada) m=may & w=mon & (d>=18 & d<=24) , Victoria Day * nov 11 , Armistice Day e=47 , Mardi Gras e=46 , Ash Wednesday e=7 , Palm Sunday e=0 , Easter Sunday e=0-49 , Pentecost (49 days after easter) . http://www.opm.gov/operating_status_schedules/fedhol/2011.asp . : * jul 4 , Independence Day m=jul & c=4 , Independence Day (observed as a federal holiday) (COMMENTS) # () . . (INTERNATIONALIZATION) When . When . When ( $LANG ) When When When . UTF-8 ( ASCII UTF-8 ). ISO-8859 When . UTF-8 . (aterm ...) (mlterm xterm...) . When $TERM "mlterm" "xterm" . . filter_accents_on_output = 0 filter_accents_on_output = 1 . $TERM . 2005 Fev 17 e . When . language = fr --language $LANG . (LOCATION AND FORMAT OF THE PREFERENCES FILE) ~/.when/preferences . XDG . : ${WHEN_CONFIG_HOME}/preferences ${XDG_CONFIG_HOME}/when/preferences $HOME/.config/when/preferences $HOME/.when/preferences. : variable = value . . . #. (MORE EXAMPLES) : when --past=0 --future=1 : when --past=0 --future=365 c (POPPING UP YOUR CALENDAR WHEN YOU LOG IN) . .xsession .xinitrc : /usr/bin/when --past=0 --future=1 &>~/when.today emacs -geometry 70x25 -bg bisque ~/when.today & startkde .xsession .xinitrc . . When (PATH) . emacs . KDE . . (SORTING BY TIME OF DAY) . . . When . h:mm hh:mm . --ampm a p AM PM 9:30a 9:30 .. AM/PM --auto_pm=9 PM . : 2010 apr 25 , 7:00 dinner at the anarcho-syndicalist commune w=sun , 10:00 church . --auto_pm 8 7:00 7:00 PM . (FANCY TESTS) w : w - m - d - y - j - a - b - c - -1 n - e - () z - ( ) m=2 m=feb . & () | () . : d=1 | d=15 , Pay employees. : w=sat & b=1 , Rehearse with band. : * dec 25 , Christmas m=dec & d=25 , Christmas . ( When . .) . . (<< >>) e . (not) !: w=fri & !(m=dec & d=25) , poker game % - . j When : !(j%14-1) , do something every other Wednesday . `when j --now="2005 jan 26"` . (true) . ( ) : left % left - left < > <= >= left = != right ! left & left | (INCLUDING FILES) -- . m4 prefilter = m4 -P : m4_include(/home/yourname/.when/birthdays) (ENVIRONMENT) $LANG $TERM (FILES) $HOME/.when/calendar - ( ) $HOME/.when/preferences - . ( XDG .) (BUGS) . File::Glob::glob() . : http://perl5.git.perl.org/perl.git/blob/HEAD:/Porting/todo.pod http://stackoverflow.com/questions/18436275/should-perls-fileglob-always-be-post-filtered-through-utf8decode (OTHER INFORMATION) When : http://www.lightandmatter.com/when/when.html . (AUTHOR) When Ben Crowell http://www.lightandmatter.com/personal Dimiter Trendafilov . (COPYRIGHT AND LICENSE) Copyright (C) 2003-2012 by Benjamin Crowell. When (GPL) / . 1.1.45 2024-07-14 WHEN(1)