home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sources.misc
- From: iain@norisc.siemens.de (Iain J. Lea)
- Subject: v23i083: tin - threaded full screen newsreader, Patch04b/2
- Message-ID: <1991Oct20.032326.24939@sparky.imd.sterling.com>
- X-Md4-Signature: 1c292425f5a295b44930228c2d303f69
- Date: Sun, 20 Oct 1991 03:23:26 GMT
- Approved: kent@sparky.imd.sterling.com
-
- Submitted-by: iain@norisc.siemens.de (Iain J. Lea)
- Posting-number: Volume 23, Issue 83
- Archive-name: tin/patch04b
- Environment: BSD, SCO, ISC, SUNOS, SYSVR3, SYSVR4, ULTRIX, XENIX
- Patch-To: tin: Volume 23, Issue 15-23
-
- #!/bin/sh
- # this is tin.patch.02 (part 2 of tin1.0)
- # do not concatenate these parts, unpack them in order with /bin/sh
- # file tin.patch04 continued
- #
- if touch 2>&1 | fgrep '[-amc]' > /dev/null
- then TOUCH=touch
- else TOUCH=true
- fi
- if test ! -r shar3_seq_.tmp; then
- echo "Please unpack part 1 first!"
- exit 1
- fi
- (read Scheck
- if test "$Scheck" != 2; then
- echo "Please unpack part $Scheck next!"
- exit 1
- else
- exit 0
- fi
- ) < shar3_seq_.tmp || exit 1
- echo "x - Continuing file tin.patch04"
- sed 's/^X//' << 'SHAR_EOF' >> tin.patch04 &&
- X***************
- X*** 3,9 ****
- X * Module : save.c
- X * Author : R.Skrenta / I.Lea
- X * Created : 01-04-91
- X! * Updated : 22-09-91
- X * Release : 1.0
- X * Notes :
- X * Copyright : (c) Copyright 1991 by Rich Skrenta, Iain Lea
- X--- 3,9 ----
- X * Module : save.c
- X * Author : R.Skrenta / I.Lea
- X * Created : 01-04-91
- X! * Updated : 02-10-91
- X * Release : 1.0
- X * Notes :
- X * Copyright : (c) Copyright 1991 by Rich Skrenta, Iain Lea
- X***************
- X*** 91,101 ****
- X set_tin_uid_gid ();
- X return (ret_code);
- X }
- X! /*
- X! if (! filename) {
- X! wait_message (txt_saving);
- X! }
- X! */
- X fprintf(fp, "From %s %s\n", note_h_path, note_h_date);
- X
- X if (fseek(note_fp, 0L, 0) == -1) {
- X--- 91,97 ----
- X set_tin_uid_gid ();
- X return (ret_code);
- X }
- X!
- X fprintf(fp, "From %s %s\n", note_h_path, note_h_date);
- X
- X if (fseek(note_fp, 0L, 0) == -1) {
- X***************
- X*** 598,603 ****
- X--- 594,601 ----
- X if (save_num) {
- X wait_message (txt_post_processing);
- X
- X+ set_real_uid_gid();
- X+
- X switch (proc_type_ch) {
- X case 's':
- X post_process_sh ();
- X***************
- X*** 619,624 ****
- X--- 617,624 ----
- X post_process_patch ();
- X break;
- X }
- X+ set_tin_uid_gid();
- X+
- X info_message (txt_post_processing_finished);
- X sleep (1);
- X return TRUE;
- X***************
- X*** 740,745 ****
- X--- 740,746 ----
- X
- X sprintf (buf, "cd %s; uudecode %s", file_out_dir, file_out);
- X if (invoke_cmd (buf)) {
- X+ set_real_uid_gid ();
- X /*
- X * sum file
- X */
- X***************
- X*** 764,772 ****
- X--- 765,775 ----
- X free (file);
- X file = (char *) 0;
- X }
- X+ set_tin_uid_gid ();
- X }
- X
- X if (pp > POST_PROC_UUDECODE) {
- X+ set_real_uid_gid ();
- X sprintf (buf, "*.%s", archiver[pp].ext);
- X if ((file = get_archive_file (file_out_dir, buf)) != NULL) {
- X if (pp == POST_PROC_UUD_EXT_ZOO) {
- X***************
- X*** 784,797 ****
- X if (! invoke_cmd (buf)) {
- X error_message ("Post processing failed", "");
- X }
- X- /*
- X- continue_prompt ();
- X- */
- X }
- X }
- X delete_processed_files ();
- X
- X unlink (file_out);
- X }
- X
- X /*
- X--- 787,799 ----
- X if (! invoke_cmd (buf)) {
- X error_message ("Post processing failed", "");
- X }
- X }
- X }
- X delete_processed_files ();
- X
- X unlink (file_out);
- X+
- X+ set_tin_uid_gid ();
- X }
- X
- X /*
- XFiles 103/screen.c and 104/screen.c are identical
- XFiles 103/search.c and 104/search.c are identical
- Xdiff -rcs 103/select.c 104/select.c
- X*** 103/select.c Mon Sep 30 18:49:10 1991
- X--- 104/select.c Mon Sep 30 20:43:20 1991
- X***************
- X*** 91,97 ****
- X next_unread_group (TRUE);
- X break;
- X
- X! case 27: /* (ESC) common arrow keys */
- X ch = ReadCh ();
- X if (ch == '[' || ch == 'O')
- X ch = ReadCh();
- X--- 91,97 ----
- X next_unread_group (TRUE);
- X break;
- X
- X! case ESC: /* (ESC) common arrow keys */
- X ch = ReadCh ();
- X if (ch == '[' || ch == 'O')
- X ch = ReadCh();
- XFiles 103/signal.c and 104/signal.c are identical
- Xdiff -rcs 103/tin.1 104/tin.1
- X*** 103/tin.1 Mon Sep 30 14:53:29 1991
- X--- 104/tin.1 Wed Oct 2 09:58:17 1991
- X***************
- X*** 1,4 ****
- X! .TH TIN 1 "Version 1.0 PL3"
- X .SH NAME
- X tin \- Visual threaded Usenet news reader
- X .SH SYNOPSIS
- X--- 1,4 ----
- X! .TH TIN 1 "Version 1.0 PL4"
- X .SH NAME
- X tin \- Visual threaded Usenet news reader
- X .SH SYNOPSIS
- X***************
- X*** 866,878 ****
- X
- X Klaus Arzig, Anton Aylward, Reiner Balling, Volker Beyer, Roger Binns,
- X Georg Biehler, Andreas Brosig, Peter Dressler, Gerhard Ermer, Hugh Fader,
- X! Joachim Feld, Bernhard Gmelch, Viet Hoang, Torsten Homeyer, Andy Jackson,
- X! Joe Johnson, Cyrill Jung, Karl-Koenig Koenigsson, Hans-Juergen Knopp,
- X! Hakan Lennestal, Bob Lukas, Clifford Luke, Phillip Molloy, Toni Metz,
- X! Greg Miller, Klaus Neuberger, Otto Niesser, Wolf Paul, Nickolay Saukh,
- X! Rich Salz, Fredy Schwatz, Bernd Schwerin, Klamer Schutte, Karl-Olav
- X! Serrander, Chris Smith, Steve Spearman, Cliff Stanford, Adri Verhoef,
- X! Cary Whitney
- X .SH AUTHOR
- X .TP
- X Iain Lea
- X--- 866,878 ----
- X
- X Klaus Arzig, Anton Aylward, Reiner Balling, Volker Beyer, Roger Binns,
- X Georg Biehler, Andreas Brosig, Peter Dressler, Gerhard Ermer, Hugh Fader,
- X! Joachim Feld, Paul Fox, Bernhard Gmelch, Viet Hoang, Torsten Homeyer,
- X! Andy Jackson, Joe Johnson, Cyrill Jung, Karl-Koenig Koenigsson,
- X! Hans-Juergen Knopp, Hakan Lennestal, Bob Lukas, Clifford Luke,
- X! Phillip Molloy, Toni Metz, Greg Miller, Klaus Neuberger, Otto Niesser,
- X! Reiner Oelhaf, Wolf Paul, Nickolay Saukh, Rich Salz, Fredy Schwatz,
- X! Bernd Schwerin, Klamer Schutte, Karl-Olav Serrander, Chris Smith,
- X! Steve Spearman, Cliff Stanford, Adri Verhoef, Cary Whitney
- X .SH AUTHOR
- X .TP
- X Iain Lea
- Xdiff -rcs 103/tin.h 104/tin.h
- X*** 103/tin.h Mon Sep 30 12:42:08 1991
- X--- 104/tin.h Mon Sep 30 20:23:00 1991
- X***************
- X*** 3,9 ****
- X * Module : tin.h
- X * Author : R.Skrenta / I.Lea
- X * Created : 01-04-91
- X! * Updated : 29-09-91
- X * Release : 1.0
- X * Notes :
- X * Copyright : (c) Copyright 1991 by Rich Skrenta & Iain Lea
- X--- 3,9 ----
- X * Module : tin.h
- X * Author : R.Skrenta / I.Lea
- X * Created : 01-04-91
- X! * Updated : 30-09-91
- X * Release : 1.0
- X * Notes :
- X * Copyright : (c) Copyright 1991 by Rich Skrenta & Iain Lea
- X***************
- X*** 169,178 ****
- X #define TABLE_SIZE 1409
- X #define MAX_PAGES 1000
- X
- X #ifdef BSD
- X! #define CR '\r'
- X #else
- X! #define CR 10
- X #endif
- X
- X /*
- X--- 169,180 ----
- X #define TABLE_SIZE 1409
- X #define MAX_PAGES 1000
- X
- X+
- X+ #define ESC 27
- X #ifdef BSD
- X! #define CR '\r'
- X #else
- X! #define CR 10
- X #endif
- X
- X /*
- X***************
- X*** 392,397 ****
- X--- 394,400 ----
- X extern char default_regex_pattern[LEN];
- X extern char default_save_file[LEN];
- X extern char default_shell_command[LEN];
- X+ extern char default_post_subject[LEN];
- X extern char proc_ch_default; /* set in change_rcfile () */
- X
- X extern char *help_select[];
- Xdiff -rcs 103/tin.nrf 104/tin.nrf
- X*** 103/tin.nrf Mon Sep 30 19:01:47 1991
- X--- 104/tin.nrf Wed Oct 2 19:49:00 1991
- X***************
- X*** 1,7 ****
- X
- X
- X
- X! Version 1.0 PL3 TIN(1)
- X
- X
- X
- X--- 1,7 ----
- X
- X
- X
- X! Version 1.0 PL4 TIN(1)
- X
- X
- X
- X***************
- X*** 67,73 ****
- X
- X
- X
- X! TIN(1) Version 1.0 PL3
- X
- X
- X -S save news articles for later reading. Useful when going
- X--- 67,73 ----
- X
- X
- X
- X! TIN(1) Version 1.0 PL4
- X
- X
- X -S save news articles for later reading. Useful when going
- X***************
- X*** 133,139 ****
- X
- X
- X
- X! Version 1.0 PL3 TIN(1)
- X
- X
- X A good way to keep Tin index files current is to run tin -u from
- X--- 133,139 ----
- X
- X
- X
- X! Version 1.0 PL4 TIN(1)
- X
- X
- X A good way to keep Tin index files current is to run tin -u from
- X***************
- X*** 199,205 ****
- X
- X
- X
- X! TIN(1) Version 1.0 PL3
- X
- X
- X COMMON MOVING KEYS
- X--- 199,205 ----
- X
- X
- X
- X! TIN(1) Version 1.0 PL4
- X
- X
- X COMMON MOVING KEYS
- X***************
- X*** 265,271 ****
- X
- X
- X
- X! Version 1.0 PL3 TIN(1)
- X
- X
- X M User configurable options menu (for more information
- X--- 265,271 ----
- X
- X
- X
- X! Version 1.0 PL4 TIN(1)
- X
- X
- X M User configurable options menu (for more information
- X***************
- X*** 331,337 ****
- X
- X
- X
- X! TIN(1) Version 1.0 PL3
- X
- X
- X B Mail a bug/gripe/comment to the author of tin. This is
- X--- 331,337 ----
- X
- X
- X
- X! TIN(1) Version 1.0 PL4
- X
- X
- X B Mail a bug/gripe/comment to the author of tin. This is
- X***************
- X*** 397,403 ****
- X
- X
- X
- X! Version 1.0 PL3 TIN(1)
- X
- X
- X v Print tin version number.
- X--- 397,403 ----
- X
- X
- X
- X! Version 1.0 PL4 TIN(1)
- X
- X
- X v Print tin version number.
- X***************
- X*** 463,469 ****
- X
- X
- X
- X! TIN(1) Version 1.0 PL3
- X
- X
- X h Help screen of article page commands.
- X--- 463,469 ----
- X
- X
- X
- X! TIN(1) Version 1.0 PL4
- X
- X
- X h Help screen of article page commands.
- X***************
- X*** 529,535 ****
- X
- X
- X
- X! Version 1.0 PL3 TIN(1)
- X
- X
- X z Mark article as unread.
- X--- 529,535 ----
- X
- X
- X
- X! Version 1.0 PL4 TIN(1)
- X
- X
- X z Mark article as unread.
- X***************
- X*** 595,601 ****
- X
- X
- X
- X! TIN(1) Version 1.0 PL3
- X
- X
- X Goto 1st unread
- X--- 595,601 ----
- X
- X
- X
- X! TIN(1) Version 1.0 PL4
- X
- X
- X Goto 1st unread
- X***************
- X*** 661,667 ****
- X
- X
- X
- X! Version 1.0 PL3 TIN(1)
- X
- X
- X On starting tin the users killfile $_H_O_M_E/._t_i_n/_k_i_l_l is read and on
- X--- 661,667 ----
- X
- X
- X
- X! Version 1.0 PL4 TIN(1)
- X
- X
- X On starting tin the users killfile $_H_O_M_E/._t_i_n/_k_i_l_l is read and on
- X***************
- X*** 727,733 ****
- X
- X
- X
- X! TIN(1) Version 1.0 PL3
- X
- X
- X If regex pattern matching is selected you are asked to enter a
- X--- 727,733 ----
- X
- X
- X
- X! TIN(1) Version 1.0 PL4
- X
- X
- X If regex pattern matching is selected you are asked to enter a
- X***************
- X*** 793,799 ****
- X
- X
- X
- X! Version 1.0 PL3 TIN(1)
- X
- X
- X specified by the variable. This is useful if the machine is
- X--- 793,799 ----
- X
- X
- X
- X! Version 1.0 PL4 TIN(1)
- X
- X
- X specified by the variable. This is useful if the machine is
- X***************
- X*** 859,865 ****
- X
- X
- X
- X! TIN(1) Version 1.0 PL3
- X
- X
- X $_H_O_M_E/._t_i_n/_b_u_g__a_d_d_r_e_s_s address to send bug reports to.
- X--- 859,865 ----
- X
- X
- X
- X! TIN(1) Version 1.0 PL4
- X
- X
- X $_H_O_M_E/._t_i_n/_b_u_g__a_d_d_r_e_s_s address to send bug reports to.
- X***************
- X*** 915,921 ****
- X
- X Klaus Arzig, Anton Aylward, Reiner Balling, Volker Beyer, Roger
- X Binns, Georg Biehler, Andreas Brosig, Peter Dressler, Gerhard
- X! Ermer, Hugh Fader, Joachim Feld, Bernhard Gmelch, Viet Hoang,
- X
- X
- X 14
- X--- 915,921 ----
- X
- X Klaus Arzig, Anton Aylward, Reiner Balling, Volker Beyer, Roger
- X Binns, Georg Biehler, Andreas Brosig, Peter Dressler, Gerhard
- X! Ermer, Hugh Fader, Joachim Feld, Paul Fox, Bernhard Gmelch, Viet
- X
- X
- X 14
- X***************
- X*** 925,939 ****
- X
- X
- X
- X! Version 1.0 PL3 TIN(1)
- X
- X
- X! Torsten Homeyer, Andy Jackson, Joe Johnson, Cyrill Jung, Karl-
- X! Koenig Koenigsson, Hans-Juergen Knopp, Bob Lukas, Clifford Luke,
- X! Phillip Molloy, Toni Metz, Greg Miller, Klaus Neuberger, Otto
- X! Niesser, Wolf Paul, Nickolay Saukh, Rich Salz, Fredy Schwatz,
- X! Bernd Schwerin, Klamer Schutte, Karl-Olav Serrander, Chris Smith,
- X! Steve Spearman, Cliff Stanford, Adri Verhoef, Cary Whitney
- X
- X AUTHOR
- X
- X--- 925,940 ----
- X
- X
- X
- X! Version 1.0 PL4 TIN(1)
- X
- X
- X! Hoang, Torsten Homeyer, Andy Jackson, Joe Johnson, Cyrill Jung,
- X! Karl-Koenig Koenigsson, Hans-Juergen Knopp, Hakan Lennestal, Bob
- X! Lukas, Clifford Luke, Phillip Molloy, Toni Metz, Greg Miller,
- X! Klaus Neuberger, Otto Niesser, Reiner Oelhaf, Wolf Paul, Nickolay
- X! Saukh, Rich Salz, Fredy Schwatz, Bernd Schwerin, Klamer Schutte,
- X! Karl-Olav Serrander, Chris Smith, Steve Spearman, Cliff Stanford,
- X! Adri Verhoef, Cary Whitney
- X
- X AUTHOR
- X
- X***************
- X*** 983,987 ****
- X
- X
- X
- X-
- X 15
- X--- 984,989 ----
- X
- X
- X
- X 15
- X+
- X+
- XFiles 103/wildmat.3 and 104/wildmat.3 are identical
- XFiles 103/wildmat.c and 104/wildmat.c are identical
- SHAR_EOF
- echo "File tin.patch04 is complete" &&
- $TOUCH -am 1002194991 tin.patch04 &&
- chmod 0600 tin.patch04 ||
- echo "restore of tin.patch04 failed"
- set `wc -c tin.patch04`;Wc_c=$1
- if test "$Wc_c" != "58972"; then
- echo original size 58972, current size $Wc_c
- fi
- rm -f shar3_seq_.tmp
- echo "You have unpacked the last part"
- exit 0
-
- exit 0 # Just in case...
- --
- Kent Landfield INTERNET: kent@sparky.IMD.Sterling.COM
- Sterling Software, IMD UUCP: uunet!sparky!kent
- Phone: (402) 291-8300 FAX: (402) 291-4362
- Please send comp.sources.misc-related mail to kent@uunet.uu.net.
-