File: TODO

package info (click to toggle)
tin 981002-2
  • links: PTS
  • area: non-free
  • in suites: slink
  • size: 3,088 kB
  • ctags: 4,969
  • sloc: ansic: 46,800; sh: 1,655; makefile: 1,144; yacc: 699; perl: 103
file content (502 lines) | stat: -rw-r--r-- 19,345 bytes parent folder | download
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
Bugs
----
o  '-X' doesn't disable changing the killfile and the tinrc from
   inside tin
   [Urs Janssen <urs@tin.org>]

o  in batch mode (i.e. -S) ~/.tin/attributes is not evaluated, thus
   batch_save etc. is broken.
     scope=*
     batch_save=OFF
     scope=foo.bar
     batch_save=ON
   'tin -S' saves all groups, not only foo.bar
   [Urs Janssen <urs@tin.org>]

o  '-d' cmd-line switch tunrs of show_description in the tinrc, thus
   afer once using '-d' (or -Q) you have to explicitly turn it on
   again.
   [Urs Janssen <urs@tin.org>]

o  '-s' cmd-line switch specifies the spooldir also in the tinrc.
   [Urs Janssen <urs@tin.org>]

o  multiple calls of '/' are 'corrupting' the previus_page-pionter
   page-up jumps 'near' the last page before the search (should we remeber
   the previus page here (if so, we must hit the exact position again, IMHO
   this is usefull) or just go up one page?
   [Dirk Nimmich <nimmich@uni-muenster.de>]

o  strfmailer() calls rfc1522_encode() for Subject/To even with
   use_mailreader_i=ON (not very usefull as modern mailreaders
   also try to mime-encode these line which would lead to a double encoded
   subject (with inner encoding 'broken' due to escape_shell_meta() call
   in strfmailer())

o  external inews, ~/.signature and base64 encoding MUST 'fail'
   (article will be encoded, signature will be not!)
   [Sven Paulus <sven@karlsruhe.org>]

o  a problem concerning .tin/posted: when I post a postponed followup,
   a 'w' is written to the file instead of a 'f'. If there's a
   "References:" header, the article should be regarded as a followup.
   [Vincent Lefevre <vlefevre@ens-lyon.fr>]
   (970919 - partial solution by checking for "Re: " in subject -sp)

o  the cursor position gets 'lost' after 'y'ank in 'y'ank out - it'll
   be placed to the first(last?) group in your list, not to the one it
   pointed to before the yanks.

o  with use_builtin_inews=ON && default_sigfile=~/.tin/sig && a existing
   ~/.signature ~/.signature is used instead of ~/.tin/sig
   (does not happen if a sigfile is specified via attributes i.e.
    scope=*.test sigfile=--none [urs])
   [Stan Brooks <stabro@almatel.net>]

o  commas in real-name might cause problems in mail-replys
   -> rewrite To: before mailing to old-style notation user@dom.in (real-name)

o  fix tinrc-update from old (tin1.2pl2) versions (sometime causes crashes)

o  sender-patch
   If reverse-lookup for Sender: 'fails' put it in the 'real name' part of the
   Sender:-line nobody@akk.uni-karlsruhe.de (RFC 1413 reverse-lookup not
   verified)
   If user ads Sender:-line rename it to X-Unverifiable-Sender and
   ad a Sender:-line

o  'K' is still a bit inconsistent
   - in the group and thread menu it marks current item read & jumps to the
     next unread item.
   - in the article pager (page.c) it marks the whole current thread as read
     and jumps to the next unread article.

o  'c' and 'C' are a bit inconsistent
   - 'C' (captial c) catches up the current group and enters the next group
      containing unread articles - this works at any level except the
      thread display level where only the current thread is marked read;
      no matter if using 'c' or 'C' - both do the same in the thread level.
      'C' should enter the next thread containing unread articles or skip to
      the next group, then we would need another key to catchup threads.
    - 'c' (small c) catches up the current group and skips the pointer to
      the next group - this works on any level except the pager where the
      pointer stays at the current group.

o  In cases where a tinrc variable is stored in group->attributes
   (ie on a per-group basis) then changes in the config menu won't always
   have an effect.  This is because the Option-Menu in {group,page}.c
   doesn't reread the attributes, whereas select.c does. It might be better
   to fix the problem properly in config.c by flashing changes to all
   groups using default attributes.

o  reposting of a thread does not work

o  with --enable-forgery reposting of an thread reposts only the first
   article ('x' 't' 'r' <group> 'p')

o  if no INEWSDIR is given INEWSDIR is set to NEWSLIBDIR which is not always
   true (Linux) ... search $NEWSLIBDIR, /usr/bin/,... in that case.

o  if external inews could not be found posting fails but no dead.article
   is saved :(
   fall-back to build_in_inews would be good if running NNTP_ONLY

o  Followup-To: line is not examined whether the mentioned group(s) are
   valid on this server.

o  sort Followup-To:/Newsgroups: after stripping doubled newsgroups and
   before checking if they are identical, if so, strip Followup-To: and
   use unsorted but stripped Newsgroups:-line only

o  if save marked_hot_article fails with cannot create file the
   post-process query comes up - stupid!

o  When tagging/auto-selecting files to be saved and decoded, if a tagged
   article is expired from the server (WHY do they show up? they are
   expired! (cnews only?)), it is untouched, and remains marked as unread.

o  According to 026) in CHANGES, some of the config files can be
   trashed on a bad write (except .newsrc/tinrc/attributes)

o  remove built in path of external commands (metamail, ispell, ...)
   [for metamail $METAMAIL could be used to override systempath and
    progname]

o  when enabling the 'cc/bcc on every message that is sent', and
   then mailing a message to myself, tin will print the message
   "Mailing to ... gary gary".  a nice touch would be if tin
   checks the mail_to line, and doesn't add the user's name
   twice.  yes, sendmail removes the duplicate ... but it'd
   be better if tin caught this case first.

Pager Problems
--------------
o  ctrl-h doesn't turn off "Skip multipart/alternative parts"
   [Urs Janssen <urs@tin.org>]

o  if a colored signature wraps over a page-break, the coloring gets lost

o  full_page_scroll=OFF is not implemented in page.c (article viewer)
   and config.c (option 'M'enu)

o  keyboard 'end' does not always scroll to the end.
   Sometimes there are a few lines missing.
   [Mark-Oliver Wolter <mow@mow.physik.uni-bremen.de>]

o  word highlighting shouldn't be enabled in signatures, as '*'
   and '_' characters may be used for ASCII art (e.g. '___').
   [Vincent Lefevre <vlefevre@ens-lyon.fr>]

New features
------------
o  lock news/tinrc via flock, lockf, fcntl or dotfile-locking (depending
   on which mechanism is available)

o  add cmd-line/tinrc-switch to fetch only headers of unread articles;
   in that case, make 'r' readin the reast of the articles

o  use libuu (uudeview) for uudecoding
   (http://www.informatik.uni-frankfurt.de/~fp/uudeview/)

o  Add a trunc() function or something similar for shortening long strings
   like a group name to a fixed length ending in ... (like center_line does)
   for embedding into status messages.
   Maybe somehow merge with sized_message(), then you can use
   message(txt, trunc(group, 20)) etc.

o  check if server supports 'LIST MOTD' (i.e. INN 2.0) and display it
   on startup.

o  fix check_upgrade() (config.c)
   - check if TINRC_VERSION machtes (allready done, but used string is 'wrong'
     as it's still talking about tin-unoff)
   - check if TINRC_VERSION is 'older' (missmatch and not newer) then in the
     config file, give a warings and the possibilliy to qiit without saving
     config file
   - check if TINRC_VERSION is 'newer' (allreday done) and give a warning

o  if using mailreader_i add In-Reply-To: header and rename Newsgroups:
   to X-Newsgroups (RFC 822 doesn't define a Newsgroups:-header)
   [might be impossible]

o  if using "-n" commandline switch you can't subscribe to newsgroups not
   present in your newsrc - a simple check against the server
   [i.e. GROUP $newsgroup] would help - and if the server understands
    LIST NEWSGROUPS pattern or XGTITLE pattern we could also fetch the
    description without loosing "-n" speed improvements; if the server
    understands LIST ACTIVE pattern we could also get group attribute
    (modereated, etc.)]

o  allow changing From: in mail-replys

o  item_by_item_etiquette_warnings [compile-time?]
   (i.e. enable x-posts without f'up waring, disable long-sig warning)

o  Menu/tinrc/attributes entry for TeX2ISO_Conversion=ON/OFF
   [toggle via '"']

o  Rather than cc/bcc, I'd like to see tin simply append the
   message to a mail folder, whose name is given by a setting
   in the (M)enu command, possibly overridden by the current
   setting of "record" environment variable.  The folder would
   have to be locked using a convention that will hold off
   the various Unix mailer programs.

o  have the default answer to "do you really want to send this
   bug report?" be: (y)es. check for a null body, and just ignore it ...
   [I hate all those empty bugreports ,-)]

o  add support for ispell language change

o  MIME-pgp support according to RFC2015

o  add RFC1468/1922 support

o  add feature save selected/tagged files sequentially to the same file
   (like it's currently done when prepending filename with '=')

o  add counter to post-processing commands (processing file x of y)

o  add feature Cc:

o  add feature show_new_newsgroups_since

o  add feature goto using the 'G' key
   use a general purpose routine for locating regex's in articles
   Use this to goto:
   URL's
   Message-ID's

   Could also be used to better detect (or act upon) :
   Quoted text
   uuencode header lines
   etc...

o  Additions to the group menu :
        'L' (lookup message-id)

o  Additions to the thread menu :
	'/','?' (search subject)
	'B' (body search)
        'D' (cancel article)
	'M' (option menu)
	'w' (post an article)
	'r' (reply to) /* not 'R' cause it conflicts with mail_bugreport */
	''  r ought to be toggle show all/show only unread
	'f' (post a followup)
	'-' (goto last article)
	'L' (lookup message-id)
	keys to goto previous/next thread

o  Additions to the pager:
	'l' (goto thread menu)

o  Add to the 'M'enu:
        DEFAULT_MAILER

o  Add to the POST_INFO-level:
        '?','/' search
        'h' help-screen

o  Add a commandline switch that prints out all values of cpp-symbols etc.

o  Reorganize tinrc into related sections for easier editing
   e.g., Display, Posting etc.

o  A system-wide tinrc configuration file, the $HOME/.tin/tinrc need only
   store the differences from this.
   A key code to reset to the system defaults
   Maybe a file which could be used to force settings (eg inews & mailer)
   (tin.defaults [--with-defaults-dir] is a start)

o  - remove global filter file (TIN_LIBDIR/filter) as you don't know which
     pattermatchingstyle the user has defined
   - think about removing global attributes files (TIN_LIBDIR/attributes)
   - move global files (TIN_LIBDIR/tinrc, TIN_LIBDIR/attributes) to
     TIN_DEFAULTS_DIR

o  if Newsgroups:-line has groups in it which are not present in the users
   active file ask the user if he wants to strip these groups from the
   newsgroups-line (N/y)
   do the same for Followup-to:

o  bring up a warning on a long newsgroup (>=5) line and
   force the user to confirm every single group he wants to post (or
   redirect followups to) in. (N/y)
   rewrite NGLIMIT handling (post.c)
   (not just truncate Newsgroups:-line after the NGLIMITth newsgroup -
    or if we do so - give an extra warning to the user and give the the
    chance to edit the Newsgroups:-line)

o  bring up a warning when trying to f'up into a binaries group
   (Warning, sending a followup to a binaries group is undesired, post it
   anyway? N/y)

o  posting to a binaries group should warn if no followup is set to another
   group/poster (you have not set a target for a possible discussion on your
   post, would you like to go on anyway? N/y)

o  when posting to a group containing uppercase-letters: bring up a
   warning: "Newsgroup-names should be all lowercase, correct it? (Y/n)"

   (g)oto group is case sensitive
   also newsgroup names in the command-line are case sensitive
   better would be: check if they exist and if not ask if you would like to
   convert newsgroup name to lowercase
	[son_of_1036]
	NOTE: Possibly newsgroup names  should  have  been
	case-insensitive, but all existing software treats
	them as case-sensitive.   (RFC  977  [rrr]  claims
	that they are case-insensitive in NNTP, but exist-
	ing implementations are believed to ignore  this.)
	The simplest solution is just to ban use of upper-
	case letters, since no widespread  newsgroup  name
	uses  them  anyway; this avoids any possibility of
	confusion.

o  when From: only contains "First-name Last-name" tin strips the space
   misc.c:parse_from() ??

o  Bounce duplicate Message-ID's when the headers are read. This will
   make the threading code happier too.

Internal Changes
----------------
o  use XGTITLE (if available) if -n cmd-line flag is present

o  check where snprintf() would be usefull and if system has one
   (mutt comes with one).

o  clean-up INDEX_DAEMON code add configure option for it
   (or remove the tind-code (IMHO it's no longer needed))

o  change all system()/popen() calls to fork() and exec() calls
   [close security holes]

o  compile-time option: generate own MSGIDs on host with a proper FQDN
   (to add a _-_ to the local part of the MSGID on a subject-change; keep
    MSGIDs of own articles in ~/.tin/posted to be able to detect f'ups to
    own postings)

o  add
   to autoconf; determine which network libraries are needed; eradicate
   platform/compiler ifdefs

o  clean up architecture independent files, rename several defines,
   remove useless doubled defines

o  split tin.h/proto.h for better dependencies in make

o  check where int/long/... should be replaced by size_t/uid_t/mode_t/off_t...

o  add check for sizeof char, short, int, long, ...
   make sure that the code works even with 'uncommon' values
   (i.e. char = 1 byte with 32 bit)

o  join Makefile and makefile (not entirely possible)

o  move all strings to lang.c

o  cleanup (=rewrite) post.c/inews.c/header.c/page.c

o  cleanup main.c/init_selfinfo()
   ('strace -e trace=file tin' and you know what I mean)

o  is art->inthread really needed, surely art->thread contains enough
   information

o  remove annoying casts to (t_hashnode *)aptr in {art,refs}.c

o  check where tin_done() should be called instead of using exit()

o  check where STRCPY() should be used

o  check code with lclint (http://www.sds.lcs.mit.edu/lclint/)

Docs/online help
----------------
o  man page is still out dated (and buggy)

o  error message when tin -uv and using xover is misleading

o  tin.defaults is not mentioned in manpage/INSTALL

Not yet classified
------------------
o  'B'ody search doesn't jump to the match in the article
   (IMHO this is confusing inside the pager (at least if the hit
    is in the current article), but ok at any other level).

o  strip Xref:-header if saving news in batch mode (-S)?

o  tin in batchmode dumps core if getting a SIGINT, useful?

o  'tin -N|-M address' dosn't work out of cron

o  'u'nsubscribe/'s'ubscribe are inconsistent - bug or feature?
   's' subscribes you to the curent group and does _not_ skip to the next
       group (annoying wehen subscribing to multiple groups, but useful
       when subsribing to a single group right before reading it)
   'u' unsubsribes you form the curent goup and skips to the next group.

o  what is with the conflicting settings? should we disallow those, or leave
   it to the user to realise that i.e. strip_blanks=ON && inverse_okay=ON
   looks ugly?

o  what is with DEBUG_NEWSRC_FIXME (not DEBUG_NEWSRC) in newsrc.c?

o  what is with NEW_HASH_METHOD in list.c?

o  repost ('x') ignores ~/.tin/headers & ~/.tin/attributes - bug or
   feature?!

o  forged cancelling via Supersedes:/Also-Control:/Control:-header is possible
   if it is supplied by hand (buildin_inews)

o  f'uping with 'F' to a article which has Followup-To: poster set an then
   use 'm' quotes the text, but it should not! (mail_to_someone has no
   copy_text switch)

o  f'uping with '^w' (include headers) to an article which has Followup-To:
   poster set does not include headers when using 'm' (mail to poster)

o  when last articles in a newsgroup were cancelled, it shows that there are
   new articles in that group, even if entered that group in a session before

o  article save with auto_save=ON & Archive-name: doesn't not work correctly

o  shows up cross-postings multiple times even if read once before getting
   a resync/reread active/newsrc-file

o  numbering of Hot articles is wrong after (post)processing them
   (6T 0A 0K -5H R)

o  fix reposition of cursor after reading active file... annoying!

o  think about group numbering in "only unread" display mode
   (using different numbers in show all/show only unread leads to some
    problems, f.e. group moving)

o  mailers other than sendmail (f.e. elm) and use_mailreader_i=OFF may lead
   to 'duplicated'-headers and multiple signatures

o  mail_bugreport() with other mailers than sendmail and use_mailreader_i=ON
   ignores start_line_offset

Filtering enhancements
----------------------
o  add command: mark all articles older than <date> as read
   (useful when subscribing to a new group with high-traffic...)

o  fix kill/hot mechanism so that it is possible to match articles on
   arbitrary headers
   i.e.: killing on References only would be nice

o  don't strip "Re: " out of the subject before applying the filter on it

o  cleanup xref-filter (xref_score is no longer needed with score).

o  allow any given amount of days in default_filter_days not only
   {1, 2, 4} * 28 days

o  allow expiering filter entrys n-days after the last time they matched

Fixed allready?:
----------------
o  The subject lines for the 1st newsgroup in .newsrc is truncated when
   the author field is toggled off using the 'd' command.
   [Jason C Lin <jlin@hawaii.edu>]
   [I can't reproduce this - jason@radar.demon.co.uk]

o  tin (sometimes?) overwrites the newsgroup-number and number of unread
   articles with spaces when turning on newsgroup descriptions with
   strip_blanks=OFF - the bugs seems to be related to the screen-width and
   does not show up on small screens, but in large xterms...
   (sounds like a calculation error with float -> int values [urs])
   [Karsten Weiss <knweiss@trick.informatik.uni-stuttgart.de> ]

o  sometimes tin truncates newsgroup-names after turning off newsgroup
   descriptions.
   [Urs Janssen <urs@akk.uni-karlsruhe.de>]

o  if you compile debug.c with -O3 on IRIX (5.3) & native-compiler tin won't
   compile at all... - use -O2 for debug.c!!

o  --enable-curses has several bugs
   (screen redraw is broken, tty-settings get messed up, color might not
    work, ...)
   [seems to work properly with ncurses and SVr4 curses - need specifics
    dickey@clark.net]

o  tin crashes if compiled without default-newsserver and unset $NNTPSERVER
   ???

o  if postings fails tin rereads the article numbers for the group you
   tried to post in to sync with your new article which does not exist,
   useless!

o  Colors are not reset when tin is suspended with ^Z (signal.c)
   Other tty characteristics (eg echo) are not reset after a fatal signal

o  looks like DEFAULT_EDITOR (fall-back if neither $EDITOR nor $VISUAL is set)
   is missing for SCO