summary refs log tree commit diff
path: root/www/text.causal.agency/009-casual-update.7
blob: 0548436a098132888aaefefbac0618045893e087 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
.Dd May  6, 2020
.Dt CASUAL-UPDATE 7
.Os "Causal Agency"
.
.Sh NAME
.Nm casual update
.Nd software developments
.
.Sh DESCRIPTION
I've been figuring out more of IMAP
and Internet Messages in general
while working on a new project
so I've revisited some older ones.
I've copied my somewhat more proper
IMAP parsing code into them,
so they should be more robust.
.
.Pp
.Xr imbox 1
is my tool to export messages
in mboxrd format directly from IMAP.
It's mostly for applying patches sent by email
without having any kind of local mail setup.
For that,
it includes the
.Xr git-fetch-email 1
wrapper which works very similarly to
.Xr git-send-email 1 .
I learned by reading the source of
.Xr git-subtree 1
that
.Xr git-rev-parse 1
can be used by shell scripts
to parse long options,
so I added those.
I also added the
.Fl Fl apply
flag to automatically pipe to
.Xr git-am 1
with the right flags for mboxrd.
.
.Pp
.Xr notemap 1
is a tool for mirroring text files
to an IMAP Notes mailbox,
which is used by FastMail's web UI
and the macOS/iOS Notes app.
Its original parsing code
was particularly ad-hoc.
Since I've now learned
how UTF-8 headers are encoded,
I updated it to properly encode
the file name in the Subject line.
.
.Pp
I also got distracted by
a conversation about UNIX-domain sockets
where I was comparing the macOS and FreeBSD
.Xr unix 4
pages and the Linux
.Xr unix 7
page.
This lead me to make
.Xr exman 1 ,
a tool to locally install and read
manual pages for Linux, POSIX,
.Fx ,
.Nx
and
.Ox .
I've already gotten quite a bit of use out of it.
.
.Pp
In yet another IRC distraction,
I was talking about some further plans for my IRC software,
and realized it might be time to write
my future projects list down.
I opened a
.Pa .plan
file,
immediately wondered how anyone can write plain text,
then switched to a
.Pa plan.7
file.
There's nothing I won't use
.Xr mdoc 7
for.
After a little setup,
I can now be fingered,
and make jokes about this silly little protocol
from the days of old.
.Xr finger 1 Ap s
default output fills me with joy:
.Bd -unfilled -offset indent
No Mail.
No Plan.
.Ed
.
.Pp
And speaking of IRC and plans,
I've been meaning to tag
.Xr catgirl 1
version 1.0 for a while now.
I've been using it as my main client
and my commits to it have really slowed down.
When I do tag it,
I'm planning on writing another post
about my whole
.Dq suite
of IRC software
and how the parts work together.
Watch this space.
.
.Sh SEE ALSO
.Bl -item -compact
.It
.Lk https://git.causal.agency/imbox "imbox"
.It
.Lk https://git.causal.agency/notemap "notemap"
.It
.Lk https://git.causal.agency/exman "exman"
.It
.Lk https://git.causal.agency/catgirl "catgirl"
.El
.
.Sh AUTHORS
.An June Bug Aq Mt june@causal.agency
ogheader'>2020-02-11Add startup GPLv3 note and URLJune McEnroe I am a degenerate. 2020-02-11Make sure -D_GNU_SOURCE ends up in CFLAGS on LinuxJune McEnroe 2020-02-11Add note about setting PKG_CONFIG_PATHJune McEnroe 2020-02-11Rename query ID on nick changeJune McEnroe 2020-02-11Call completeClear when closing a windowJune McEnroe 2020-02-11Don't insert color codes for non-mentionsJune McEnroe 2020-02-11Take first two words in colorMentionsJune McEnroe This lets phrases like "hi june" get colored, but still doesn't get carried away. 2020-02-11Use time_t for save signatureJune McEnroe It's actually more likely to be 64-bit than size_t anyway, and it eliminates some helper functions. Also don't error when reading an empty save file. 2020-02-11Set self.nick to * initiallyJune McEnroe Allows removing a bunch of checks that self.nick is set, and it's what the server usually calls you before registration. Never highlight notices as mentions. 2020-02-11Define ColorCap instead of hardcoding 100June McEnroe 2020-02-11Move hash to top of chat.hJune McEnroe 2020-02-11Move base64 out of chat.hJune McEnroe 2020-02-11Move XDG_SUBDIR out of chat.hJune McEnroe 2020-02-11Fix whois idle unit calculationJune McEnroe Rookie mistake. 2020-02-11Cast towupper to wchar_tJune McEnroe For some reason it takes and returns wint_t... 2020-02-11Cast set but unused variables to voidJune McEnroe 2020-02-11Declare strlcatJune McEnroe 2020-02-11Check if VDSUSP existsJune McEnroe 2020-02-11Fix completeReplace iterationJune McEnroe 2020-02-11Use pkg(8) to configure on FreeBSDJune McEnroe 2020-02-11Remove legacy codeJune McEnroe 2020-02-11Add INSTALLING section to READMEJune McEnroe