[tin-dev] [tin 2.6.4] snapshots

Urs Janßen urs at tin.org
Thu Jul 4 11:14:16 CEST 2024


New snapshots available. As usual, the new features are not well tested,
esp. away from x86_64-pc-linux-gnu/gcc and new option names may change
before the official release without any code to catch that ...

New tinrc option:
- dont_break_words, if set don't break long ines inside words, just on
  SPACE or TAB if possible.

New attributes option (requires ucsdet_*() from ICU >= 3.6; libicui18n):
- undeclared_cs_guess, if set try to guess the charset of an article
  whenit has no charset given via Content-Type param.

If ucsdet_*() is available the charset of the description of the group
is guessed; description shall be in UTF-8, but ... As descriptions are
short guessing is difficult and may lead to wrong results (see
ukr.commerce.auto below, I doubt that is correct), but without we hard
assumed UTF-8 and the result were usualy lots of '?' if the description
was not in UTF-8 or US-ASCII. e.g.:

old:
       8       tw.bbs.alumni.hsntnu              ?????O?W?v?j???????ͷ|
       9       han.talk.economy                  ???? ?????? ???? ???߱?.
...
      17       ukr.commerce.auto                 ?????????????
      18       ukr.commerce.chemical             ??????? ????Ҧ???, ?????????...
      19       ukr.commerce.construction         ????????Φ ????Ҧ???

new:
       8       tw.bbs.alumni.hsntnu              國立臺灣師大附中校友會
       9       han.talk.economy                  ؛?ب? ?نء?؟? ?ًار ?ج???ق.
...
      17       ukr.commerce.auto                 퓏퓒쇎폐쿒
      18       ukr.commerce.chemical             Х╕м╕чн╕ матер╕али, препараты..
      19       ukr.commerce.construction         Буд╕вельн╕ матер╕али


Disallow giving both --with-socks and --with-socks5.

If REPRODUCIBLE_BUILD is set (compile time), __DATE__, __TIME__, $CFLAGS,
$CPPFLAGS and $LDFLAGS in not recoded the binary.

The use of "Distribution: all" will now result on an error and
the use of "Distribution: world" will give a waring right before the
article is posted.

<ftp://ftp.tin.org/pub/news/clients/tin/v2.6/snapshots/tin-2.6.4.tar.gz>
<ftp://ftp.tin.org/pub/news/clients/tin/v2.6/snapshots/tin-2.6.4.tar.bz2>
<ftp://ftp.tin.org/pub/news/clients/tin/v2.6/snapshots/tin-2.6.4.tar.xz>

Changes since 2.6.3:

 023) Thomas E. Dickey <dickey at invisible-island.net>
      REM. bundled-intl stuff
      ADD. disallow giving both --with-socks and --with-socks5
      ADD. try also libsocks5 and libsocksd if using --with-socks5
      FIX. intl/*, aclocal.m4, configure[.in], autoconf.hin, nntplib.h
           tcurses.h, Makefile[.in], conf-tin

 022) Enrik Berkhan <enrik at tin.org>
      ADD. avoid implicit conversion
      FIX. curses.c, misc.c, nntplib.c, rfc2047.c

 021) Matt Anton <tin at lv223.org>
      ADD. updated French translation
      FIX. fr.po

 020) Dennis Preiser <dennis at d--p.de>
      ADD. always cast arg to is*()-functions to unsigned char
      ADD. avoid implicit conversion
      ADD. formatted output for -vZ and large article counts
      ADD. avoid malloc()/free() overhead in match_group_list()
      ADD. dont_break_words tinrc option, if set don't break long
           lines inside words, just on SPACE or TAB if possible.
      ADD. charset guessing via undeclared_cs_guess in attributes
      BUG. txt_help_config_search_opt_forwards,
           txt_help_config_search_opt_forwards and
           txt_help_attrib_search_opt_backwards,
           txt_help_attrib_search_opt_forwards were mixed up
      BUG. memleak when using bsd-sockets without getservbyname()
      BUG. possible memleak on quit in version.c:upgrade_prompt_quit()
      FIX. active.c, art.c, charset.c, config.c, cook.c, filter.c, getline.c
           group.c, header.c, keymap.c, lang.c, main.c, mail.c, makecfg.c
           misc.c, nntplib.c, page.c, post.c, regex.c, rfc2046.c, rfc2047.c
           save.c, search.c, select.c, string.c, tags.c, version.c, xref.c
           parsdate.y, newsrc.h, proto.h, tin.h

 019) Urs Janssen <urs at tin.org>
      ADD. silence some unused parameter warnings
      ADD. avoid sscanf(3) in check_upgrade()
      ADD. avoid fixed length buffer in my_mktmp()
      ADD. configure check for buggy snprintf(3)
      ADD. changed snprintf(3) fallback implementation from Patrick Powell
           to the one by Mark Martinec
      ADD. use snprintf(3) in STRCPY macro
      ADD. config.guess, config.sub update
      ADD. avoid tmpfile(3) usage
      ADD. configure check for blockable signal-type (POSIX, BSD, SYSV, NONE)
      ADD. configure check for tiuser.h (TLI; SVR3, SVR4)
      ADD. configure check for lrand48(3) and random(3), prefer over rand(3)
      ADD. configure check for tcflag_t
      ADD. configure check for PRIdLEAST64 and SCNdLEAST64
      ADD. configure check for ucsdet_detect() from libicui18n
      ADD. simplify _Noreturn check, just note the C11 standard
      ADD. removed fixed buffer from copy_body()
      ADD. SASL info to connection-info ('J')
      ADD. -L cmd.line switch
      ADD. create missing newsrc-dir
      ADD. -g "[ipv6::address]"[:port] also in .newsauth and newsrctable
      ADD. check that a recipient is present in mailgroups
      ADD. mention location of files being read on startup
      ADD. only display MOTD on startup if it did change since the last
           connect (use 'J' to see it anyway).
      ADD. cache MOTD during session
      ADD. REPRODUCIBLE_BUILD define to prevent recoding of __DATE__, __TIME__,
           $CFLAGS, $CPPFLAGS and $LDFLAGS in the binary if set
      ADD. disallow Distribution: all, warn about Distribution: world
      ADD. charset guessing via undeclared_cs_guess in attributes
      REM. tmpfile.c
      BUG. AUTHINFO SASL * didn't check possible 283 return code
           (as we do not support anything but SASL PLAIN yet, not an issue)
      BUG. -t not mentioned in -h
      BUG. malloc(3)- and fopen(3)-leaks on error exits
      BUG. didn't remove '.' from normalized charset when looking for a
           keymap-file
      BUG. socket(3)-leak on early exit due to TLS-errors
      BUG. possible NULL-pointer dereference in connection-info ('J') if
           CAPABILITIES does not return IMPLEMENTATION
      BUG. wrong sign for shown default kill-score value in kill-menu
      BUG. art_mark_xref_read() didn't allow '\t' between locations
      BUG. a From longer than > cCOLS wasn't properly truncated
           before appending organitazion in the pager
      BUG. may truncate format string instead of result in draw_page_header
      BUG. -X did not disallow EditFilter
      FIX. active.c, art.c, attrib.c, auth.c, config.c, cook.c, curses.c
           debug.c, feed.c, filter.c, getline.c, group.c, header.c, help.c
           inews.c, init.c, keymap.c, lang.c, lock.c, mail.c, main.c
           makecfg.c, misc.c, my_tmpfile.c, newsrc.c, nntplib.c, nntps.c
           nrctbl.c, options_menu.c, page.c, pgp.c, post.c, prompt.c, read.c
           rfc1524.c, rfc2046.c, rfc2047.c, save.c, search.c, select.c
           sigfile.c, snprintf.c, string.c, tcurses.c, thread.c, version.c
           xface.c, xref.c, parsdate.y, debug.h, extern.h, nntplib.h, proto.h
           snprintf.h, tin.h, tinrc.h, tnntp.h, tincfg.tbl, autoconf.h[in]
           configure[.in], Makefile[.in], config.guess, config.sub, tin.1
           tin.5



More information about the tin-dev mailing list