Commit Graph

53 Commits

Author SHA1 Message Date
Leah Neukirchen
b2e97e6cfe mscan: use wint_t for %lc
%lc arguments in fprintf are of type wint_t, not wchar_t.

Reported by Léo Villeveygoux.
2017-05-31 14:57:24 +02:00
Leah Neukirchen
94854ad185 mscan: spawn a pager for interactive use 2017-05-23 15:25:28 +02:00
Leah Neukirchen
3732dd355d mscan: use %H:%M timestamp for all mails newer than 24h 2017-05-21 01:07:47 +02:00
Leah Neukirchen
b21daa47d6 mscan: squeeze slashes for %F
Fixes #30.
2017-04-27 13:54:10 +02:00
Leah Neukirchen
04b29f4e30 mscan: kill stray tab in format string 2017-03-13 15:59:18 +01:00
Leah Neukirchen
14a12635bd mscan: don't print C0 control symbols 2017-03-13 15:49:30 +01:00
Leah Neukirchen
2b4e3aa66d clean up whitespace 2017-01-26 20:27:26 +01:00
Leah Neukirchen
cf36745b0c mscan: fmt_from: first decode RFC2047, then parse address 2017-01-21 17:40:52 +01:00
Christian Neukirchen
77d7f8c7f6 mscan: style 2016-09-07 20:57:49 +02:00
Ivy Foster
ca8cef1660 Add $MBLAZE environment variable to set profile location
As a side benefit, all callers of blaze822_home_file need only pass
the filename, so the base directory is set in only one place.
2016-09-01 18:50:20 -05:00
Christian Neukirchen
d4f72ab52d mscan: add %I for message-id 2016-08-11 20:32:54 +02:00
Christian Neukirchen
2ad6ae80d8 mscan: make negative width in %f, %s mean "rest minus N" 2016-08-10 18:00:51 +02:00
Christian Neukirchen
b4df49565f mscan: add %S for stripped subject 2016-08-10 17:48:33 +02:00
Christian Neukirchen
923ef6a51e mscan: better width for %F 2016-08-09 21:27:44 +02:00
Christian Neukirchen
4c5a007030 mscan: add width to %b 2016-08-09 21:16:09 +02:00
Christian Neukirchen
56e87c6a10 mscan: u8putstr: force left-alignment 2016-08-09 21:13:54 +02:00
Christian Neukirchen
a5c5e22204 mscan: fix formatting of %f without width, and for %s with width 2016-08-09 21:08:49 +02:00
Christian Neukirchen
20dae518c4 mscan: oneline: fix flag fiddling 2016-08-08 16:13:51 +02:00
Christian Neukirchen
1fece7b090 mscan: oneline: don't show not existing messages as unseen 2016-08-06 18:15:24 +02:00
Christian Neukirchen
516c3ec6f2 mscan: default %F left-aligned 2016-08-05 20:02:49 +02:00
Christian Neukirchen
2c3a1c0049 mscan: silence a warning 2016-08-04 22:39:51 +02:00
Christian Neukirchen
5aafeb8550 mscan: actually show To: in TO: 2016-08-04 22:32:21 +02:00
Christian Neukirchen
a8397824b1 mscan: use Scan-Format from profile by default 2016-08-04 21:43:51 +02:00
Christian Neukirchen
53852d7517 mscan: fmt_date: refactor, add 5-char %d 2016-08-04 21:41:27 +02:00
Christian Neukirchen
c2f9fa7271 mscan: silence %b when !msg 2016-08-04 20:17:07 +02:00
Christian Neukirchen
019a6680f5 mscan: fix %M 2016-08-04 20:16:59 +02:00
Christian Neukirchen
59c00003f6 mscan: adaptive iso date 2016-08-04 20:00:42 +02:00
Christian Neukirchen
e97bf25a4e mscan: look up message number when needed 2016-08-04 19:39:01 +02:00
Christian Neukirchen
3f1fb14ecd mscan: refactor, slight output change 2016-08-04 19:37:22 +02:00
Christian Neukirchen
26f694c91d mscan: support \n and \t 2016-08-04 19:12:20 +02:00
Christian Neukirchen
f628a10ff6 mscan: use format strings 2016-08-04 18:59:46 +02:00
Christian Neukirchen
41474c2e68 rename .santoku to .mblaze 2016-08-01 19:36:23 +02:00
Christian Neukirchen
9e02ec69f1 mscan: add -n to only print message number 2016-07-31 19:42:30 +02:00
Christian Neukirchen
5e1d751f29 mscan: keep local time 2016-07-28 12:20:23 +02:00
Christian Neukirchen
9d8783df4d mscan: adaptive date display 2016-07-27 18:06:55 +02:00
Christian Neukirchen
0d2b19f702 mscan: glibc needs _XOPEN_SOURCE for wcwidth 2016-07-26 18:20:05 +02:00
Christian Neukirchen
6592bdb912 import musl memmem 2016-07-26 18:10:39 +02:00
Christian Neukirchen
2b81707c51 rename map to seq
The old terminology didn't make much sense to users.
2016-07-26 16:55:55 +02:00
Christian Neukirchen
1fd83bf1a8 mscan: tweak output 2016-07-26 16:53:36 +02:00
Christian Neukirchen
c618ba7556 mscan: decode more From: to allow enough UTF-8 glyphs 2016-07-26 13:43:20 +02:00
Christian Neukirchen
8f9803f341 mscan: unbreak TO: 2016-07-25 21:23:54 +02:00
Christian Neukirchen
9ecd681c5b mscan: display if we are in To, Cc or Resent-To 2016-07-25 21:19:41 +02:00
Christian Neukirchen
06debb7703 mscan: display TO: for own messages 2016-07-25 21:01:34 +02:00
Christian Neukirchen
182a32ff9d blaze822: blaze822_addr: return 0 when no address is found
Also return null pointers instead of empty strings.
2016-07-25 13:10:35 +02:00
Christian Neukirchen
2212bb39d9 mscan: use blaze822_loop1 2016-07-23 00:26:55 +02:00
Christian Neukirchen
af9e32ecf8 mscan: delay loading of map until first line is read 2016-07-20 23:22:59 +02:00
Christian Neukirchen
9ddcd7787f mscan: fix truncation logic 2016-07-20 19:16:43 +02:00
Christian Neukirchen
f7535f2cec mscan: truncate deep indents 2016-07-20 18:47:18 +02:00
Christian Neukirchen
bf912ab920 mscan: default to all messages when interactive w/o args 2016-07-20 15:38:00 +02:00
Christian Neukirchen
3c012d3a96 mscan: don't crash when cur isn't set 2016-07-20 15:37:45 +02:00