2009-07-24

LINUX MUTT

2 .muttrc

  • http://dev.mutt.org/trac/wiki/ConfigLits
    CONFIGURATIONDESCRIPTION
    set move=nodont ask about moving message to mbox
    set imap_user =imap username
    set imap_pass =imap password
    set folder =main folder like "imaps://[hostname]"
    set ssl_starttls = yes
    set smtp_url =url lik smtp://[hostname]:25/
    set smtp_pass ="$imap_pass"
    set spoolfile ="+INBOX"
    set realname =name
    set from =name
    set record =folder for outgoing messages
    set copy = nocopy outgoing messages to above folder
    set pager_stop = yesdo not move to the next message during reading
    my_hdr From: <mail@domain>set header
    #my_hdr CC: <mail@domain>
    my_hdr Reply-to: <mail@domain>
    my_hdr User-Agent: Mutt
    set header_cache=~/.hcacheset file for source headers
    source /[path]/[filename]split config for many files
    set date_format="%b-%d %H:%M:%S"
    set index_format="%-4C%-5Z%-17d%-30a%s"index format
    auto_view text/html
    bind index "q" noop
    bind index "x" exit
    save-hook '~s [title]' "$folder/[folder]"set filter for saving directory
    alias [alias] email@domainset alias recipients, during sending put TAB
    color header brightyellow default "^date:"header coloers
    color header brightred default "^from:"
    color header white default "^to:"
    color header white default "^cc:"
    color header brightyellow red "^subject:"
    color status white black


3 OS mode

mutt -f imap://[IMAP_server]/inboxlogon to IMAP server

4 Main mode (index)

COMMANDDESCRIPTION
source [config_file]reload config
$run command, save mailbox, refresh
@show sender address
osort
entershow message
dmark to delete
Dmark to delete based on regexp
uunmark delete
Uunmark delete based on regexp
rreply
greply all
msend
=first message
kprevious message
fnext message
jnext message
*last message
nmessage nr [n]
C-gclean command line
cchange directory, ? - directory list
ssave message
vshow attachement
wset flag
Wunset flag
ttag message
Ttag messag based on regexp

4.1 index_format

  • default: %4C %Z %{%b %d} %-15.15L (%4l) %s
  • my: set index_format="%-5Z%-17d%-30a%s"
  • set date_format="%m-%d %H:%M:%S" #zgodne z strftime
    %aaddress of the author
    %bfilename of the original message folder (think mailBox)
    %Bthe list to which the letter was sent, or else the folder name (%b).
    %cnumber of characters (bytes) in the message
    %Ccurrent message number
    %ddate and time of the message in the format specified by ``date_format'' converted to sender's time zone
    %Ddate and time of the message in the format specified by ``date_format'' converted to the local time zone
    %ecurrent message number in thread
    %Enumber of messages in current thread
    %fentire From: line (address + real name)
    %Fauthor name, or recipient name if the message is from you
    %imessage-id of the current message
    %lnumber of lines in the message
    %LIf an address in the To or CC header field matches an address defined by the users ``lists'' command, this displays "To <list-name>", otherwise the same as %F.
    %mtotal number of message in the mailbox
    %Mnumber of hidden messages if the thread is collapsed.
    %Nmessage score
    %nauthor's real name (or address if missing)
    %O(_O_riginal save folder) Where mutt would formerly have stashed the message: list name or recipient name if no list
    %ssubject of the message
    %Sstatus of the message (N/D/d/!/r/*)
    %t`to:' field (recipients)
    %Tthe appropriate character from the $to_chars string
    %uuser (login) name of the author
    %vfirst name of the author, or the recipient if the message is from you
    %y`x-label:' field, if present
    %Y`x-label' field, if present, and (1) not at part of a thread tree, (2) at the top of a thread, or (3) `x-label' is different from preceding message's `x-label'.
    %Zmessage status flags

5 Message mode(pager)

iexit
[SPC]next page
-prev page
vattach

6 Flags

FLAGDESCRIPTION
Dmark to delete
Nnew, not read
Oold, but not read
*marked
PPGP included
rreplied to
+message only for you
Tmessage for you with CC field
Cyou are at CC field
Fmessage from you
Lmassage from subscribe list

7 Tagging

Ttag message based on regexp
;(semi-colon)apply operation form tagged messages
Wchange flag

8 Keybinding

  • edit muttrc ex.
    bind index "q" noop #means not bind "q" key with index mode

9 Patterns for messages

~Aall messages
~b EXPRmessages which contain EXPR in the message body
~B EXPRmessages which contain EXPR in the whole message
~c USERmessages carbon-copied to USER
~C EXPRmessage is either to: or cc: EXPR
~Ddeleted messages
~d [MIN]-[MAX]messages with ``date-sent'' in a Date range
~Eexpired messages
~e EXPRmessage which contains EXPR in the ``Sender'' field
~Fflagged messages
~f USERmessages originating from USER
~gPGP signed messages
~GPGP encrypted messages
~h EXPRmessages which contain EXPR in the message header
~kmessage contains PGP key material
~i IDmessage which match ID in the ``Message-ID'' field
~L EXPRmessage is either originated or received by EXPR
~lmessage is addressed to a known mailing list
~m [MIN]-[MAX]message in the range MIN to MAX *)
~n [MIN]-[MAX]messages with a score in the range MIN to MAX *)
~Nnew messages
~Oold messages
~pmessage is addressed to you (consults $alternates)
~Pmessage is from you (consults $alternates)
~Qmessages which have been replied to
~Rread messages
~r [MIN]-[MAX]messages with ``date-received'' in a Date range
~Ssuperseded messages
~s SUBJECTmessages having SUBJECT in the ``Subject'' field.
~Ttagged messages
~t USERmessages addressed to USER
~Uunread messages
~vmessage is part of a collapsed thread.
~x EXPRmessages which contain EXPR in the `References' field
~y EXPRmessages which contain EXPR in the `X-Label' field
~z [MIN]-[MAX]messages with a size in the range MIN to MAX *)
~=duplicated messages (see $duplicate_threads)

10 Keybinding patterns

\ttab
<tab>tab
\rcarriage return
\nnewline
\eescape
<esc>escape
<up>up arrow
<down>down arrow
<left>left arrow
<right>right arrow
<pageup>Page Up
<pagedown>Page Down
<backspace>Backspace
<delete>Delete
<insert>Insert
<enter>Enter
<return>Return
<home>Home
<end>End
<space>Space bar
<f1>function key 1
<f10>function key 10

2009-07-15

ORACLE VIEWS

view
description
dba_db_links
links
v$dba_registry
installed components
v$transportable_platform
big-endian,little-endian bytes orientation
nls_database_parameters
encoding
v$pwfile_users
users from password file