1 2018-08-08 16-22h @BeLUGev @IN-Berlin
2 http://www.guckes.net/talks/workshop.2018-08-08.belug.neomutt.txt
3 http://www.guckes.net/talks/workshop.2018-08-08.belug.neomutt.html
4 Latest change: Thu Aug 09 02:42:23 CEST 2018
5
6 = people =
7
8 * sven guckes 8000R-0185391B
9 * oliver bandel
10 * jon NJ
11
12 = editors =
13
14 look at both emacs+vim! :)
15
16 = mosh/scp/ssh =
17
18 http://www.guckes.net/Setup/ssh-config
19 install: wget $file -O ~/.ssh/config
20
21 configure:
22
23 Host k
24 HostName kudu.in-berlin.de
25 User guckes
26 ForwardX11 no
27
28 now you can use "k:" instead of "user@host:" :-)
29
30 quick backup: scp file k:dir/
31
32 mosh: per wrapper for ssh. really cool!
33 mosh k
34
35 alias m='mosh k'
36 and 'm' much quicker than "mosh guckes@kudu.in-berlin.de" ;-)
37
38 "ssh-copy-id" copies the id to the other host,
39 ie to user@host:.ssh/authorized_keys
40
41 = screen =
42
43 purpose: keep processes alive. share sessions between users.
44
45 Screen listens to "CTRL-A" (gobbles it),
46 and takes next character, too.
47 if this is not bound to a command
48 then you get an error message.
49 otherwise command is executed.
50
51 http://www.guckes.net/Screen/
52 http://www.guckes.net/Screen/intro.html read this!
53
54 http://www.guckes.net/Setup/screenrc
55 http://www.guckes.net/Setup/screenrc.minimal
56
57 install: wget $file -O ~/.screenrc
58
59 screen vs tmux: tmux wins.
60 http://www.guckes.net/screen/vs.tmux.html
61
62 = mutt =
63
64 Workshop files.. initial startup for mutt:
65 http://www.guckes.net/Setup/muttrc.workshop.de.txt
66 http://www.guckes.net/Setup/muttrc.workshop.en.txt
67 install: wget $file -O ~/.muttrc
68
69 Sven's pages on mutt an neomutt:
70 http://www.guckes.net/mutt/
71 http://www.guckes.net/neomutt/
72
73 you do not need a full MTA (like exim postfix qmail or sendmail)
74 on your laptop. a small one should suffice to forward
75 messages through another mailserver, eg "msmtp":
76
77
78 /usr/share/doc/msmtp/examples
79
80 unbound functions:
81 bind index zt current-top
82 bind index zz current-middle
83 bind index zb current-bottom
84
85 command line
86 "source" command:
87 :source filename
88
89 "limit" display to matching messages:
90 ~f from ~s subject ~p ~d<6w ~b foo
91
92 macro example: new mails, at most two weeks old, no duplicates
93 macro index ,, "<limit>~N ~d<2w !~=\n"
94
95 = gpg =
96
97 gpg1: gpg --gen-key
98 gpg2: gpg --full-generate-key
99
100 http://www.guckes.net/talks/gpg_intro.txt
101
102 = shells =
103
104 bash+zsh
105
106 wget http://www.guckes.net/tmp/VIM.bz2
107 wget http://www.guckes.net/tmp/NEOMUTT.bz2
108
109 an "em(pty)" neomutt:
110 alias neomuttem='neomutt -n -f /dev/null -F /dev/null'
111
112 alias '?'='screen -ls' # "are there any sessions?"
113 alias '!'='screen -d -RR' # "use latest session!"
114
115 job control:
116 CTRL-Z put current process into background
117 fg put latest job into foreground again
118
119 = next =
120
121 what to talk about next time:
122
123 index_format
124
125 aliases
126 colors
127 sidebar
128
129 mailboxes -> startup with "(neo)mutt -y"
130 hooks: send-hook save-hook fcc-hook crypt-hook
131
132 encrypt+sign messages.
133
134 attachments:
135 auto_view ~/.mailcap
136 save+delete
137 access via web
138
139 bindings+macros
140
141 ~/Mail and ~/Mail.IN
142 fetchmail -> procmail
143
144 shell aliases
145 shell job control
146 shell editing
147
148 = etc =
149
150 https://www.meetup.com/FreeCodeCamp-Berlin/
151 Fridays 10-18h @IN-Berlin
152
153 vim: set ft=sven: EOF