From urs at tin.org Mon May 19 11:01:48 2025 From: urs at tin.org (Urs =?UTF-8?Q?Jan=C3=9Fen?=) Date: Mon, 19 May 2025 11:01:48 +0200 Subject: [tin-dev] [tin 2.6.5] snapshots References: Message-ID: New Snapshots available. This time it is all about hiding message parts. hideline_regex (default is empty can be used to e.g. hide excessive quoting by setting it to something like "^>\s?>\s?>". This is more or less $HIDELINE from trn (but we don't check the env-var). hide_uue now also hides (partial) yenc and xx encoded data, inline pgp key/signatures and/or shar sections. As before '(' can be used in the pager to toggle through the possible values to hide or show data which is affected by hide_uue. This requires at least (but pcre2 is recommended) pcre-7.0 (that is the ~19 year old bundeled version). No internal yenc- or xx-decoding is done (but for yenc we do crc32 validation). You still have to post-process that data if you like to decode it. Yenc- and xx- parts are stored in a MIME-like "attachment" (as it was done for uu-data before). For yenc the display format of the hidden data can be tweaked via "page_yenc_format" (like page_uue_format). Hiding shar-files should be used with care as it will hide any shell scripts starting with "^#!\s?(/usr)?/bin/sh\b" till either "^exit(\s0)?$" or end of article is reached. Verbatim handling inside shar-blocks is not disabled, but shar detection inside verbatim blocks is. Both new options are currently only available via tinrc and not via attributes (both would be useful, e.g. to exclude ascii-art groups from the above hideline_regex example or hide shar data only in *sources) Changes since 2.6.4: 028) Bjarni Ingi Gislason ADD. manpage fixes (debian bug #1093395, #1096177) FIX. tin.1, tin.5 027) Dennis Preiser ADD. avoid macro in snprintf() as that might be a macro too ADD. fallback code for the !CPP_DOES_CONCAT case ADD. plural forms ADD. prefer MIME filename*-parameter over filename-parameter ADD. if a MIME filename parameter is empty after path removal fallback to the next filename parameter if available. ADD. PageToggleVerbatim (,) ADD. validate undeclared_charset in 'M'enu ADD. extend verbatim_handling options ADD. ignore col_invers_bg == col_invers_fg == -1 ADD. page_yenc_format BUG. -L/'L' did depend on sort_article_type/sort_threads_type and failed for some combinations BUG. possible memleaks FIX. art.c, attrib.c, charset.c, color.c, config.c, cook.c, curses.c feed.c, filter.c, global.c, group.c, header.c, help.c, init.c keymap.c, lang.c, main.c, makecfg.c, memory.c, misc.c, nntplib.c options_menu.c, page.c, post.c, prompt.c, rfc2045.c, rfc2046.c rfc2047.c, save.c, select.c, tcurses.c, thread.c, extern.h keymap.h, proto.h, rfc2046.h, tin.h, tincfg.tbl, tin.[15] 026) Urs Janssen ADD. avoid bison warning ADD. use ngettext(3) for plural-forms ADD. avoid "install -D" ADD. --with-url-normalization[=[uriparser,curl] (default: yes) check for liburiparser or libcurl for URL normalization ADD. if reading via NNTP Message-ID 'L'ookup in group-, thread- and page level now try to find the ID via NNTP if the ID is not in the current group ADD. adjust IPv6 part of URL_REGEX ADD. do not check for libgsasl but zlib if not using NNTP ADD. move setlocale in write_overview() out of the loop ADD. reject invalid undeclared_charset in attributes ADD. if cache_overview_files is set, keep raw Subject and From data so the cache is build with the original data instead of trying recompile it from our preprocessed data. ADD. hash Path in overview-data ADD. Xref- and Path-filter to filter-menu ADD. ToggleInfoLastLine ('i') to OptionMenu ('M') ADD. configure check for getsockopt(), setsockopt(), posix_close(), realpath(), lstat() ADD. set TCP_USER_TIMEOUT or TCP_CONNECTIONTIMEOUT and TCP_RXT_CONNDROPTIME if available ADD. use truncate/append for .oldnewsrc (debian bug #151113) ADD. detect "begin-encoded" as start of an uuencoded file with a base64 encoed filename. ADD. hide_uue now also can hide (partial) yenc, inline pgp and shar ADD. crc32()-fallback from Gary S. Brown ADD. hideline_regex tinrc/'M'enu option similar to trn4 $HIDELINE BUG. mixed up error-messages BUG. missing checks for empty string in From BUG. possible memleaks REM. ISO2ASC=6 (CP437) table FIX. active.c, art.c, attrib.c, auth.c, charset.c, config.c, cook.c crc32.c, feed.c, filter.c, group.c, header.c, help.c, init.c keymap.c, lang.c, main.c, memory.c, misc.c, newsrc.c, nntplib.c nntps.c, options_menu.c, page.c, pgp.c, post.c, prompt.c, regex.c rfc1524.c, rfc2045.c, save.c, search.c, select.c, signal.c, string.c thread.c, xref.c, extern.h, policy.h, proto.h, rfc2046.h, tin.h tinrc.h, parsdate.y, autoconf.h[in], tincfg.tbl, Makefile[.in] configure[.in], tin.[15] 025) Toomas Soome ADD. updated Estonian translation FIX. et.po