home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume23 / tin / patch04b < prev    next >
Encoding:
Text File  |  1991-10-19  |  15.0 KB  |  600 lines

  1. Newsgroups: comp.sources.misc
  2. From: iain@norisc.siemens.de (Iain J. Lea)
  3. Subject:  v23i083:  tin - threaded full screen newsreader, Patch04b/2
  4. Message-ID: <1991Oct20.032326.24939@sparky.imd.sterling.com>
  5. X-Md4-Signature: 1c292425f5a295b44930228c2d303f69
  6. Date: Sun, 20 Oct 1991 03:23:26 GMT
  7. Approved: kent@sparky.imd.sterling.com
  8.  
  9. Submitted-by: iain@norisc.siemens.de (Iain J. Lea)
  10. Posting-number: Volume 23, Issue 83
  11. Archive-name: tin/patch04b
  12. Environment: BSD, SCO, ISC, SUNOS, SYSVR3, SYSVR4, ULTRIX, XENIX
  13. Patch-To: tin: Volume 23, Issue 15-23
  14.  
  15. #!/bin/sh
  16. # this is tin.patch.02 (part 2 of tin1.0)
  17. # do not concatenate these parts, unpack them in order with /bin/sh
  18. # file tin.patch04 continued
  19. #
  20. if touch 2>&1 | fgrep '[-amc]' > /dev/null
  21.  then TOUCH=touch
  22.  else TOUCH=true
  23. fi
  24. if test ! -r shar3_seq_.tmp; then
  25.     echo "Please unpack part 1 first!"
  26.     exit 1
  27. fi
  28. (read Scheck
  29.  if test "$Scheck" != 2; then
  30.     echo "Please unpack part $Scheck next!"
  31.     exit 1
  32.  else
  33.     exit 0
  34.  fi
  35. ) < shar3_seq_.tmp || exit 1
  36. echo "x - Continuing file tin.patch04"
  37. sed 's/^X//' << 'SHAR_EOF' >> tin.patch04 &&
  38. X***************
  39. X*** 3,9 ****
  40. X   *  Module    : save.c
  41. X   *  Author    : R.Skrenta / I.Lea
  42. X   *  Created   : 01-04-91
  43. X!  *  Updated   : 22-09-91
  44. X   *  Release   : 1.0
  45. X   *  Notes     :
  46. X   *  Copyright : (c) Copyright 1991 by Rich Skrenta, Iain Lea
  47. X--- 3,9 ----
  48. X   *  Module    : save.c
  49. X   *  Author    : R.Skrenta / I.Lea
  50. X   *  Created   : 01-04-91
  51. X!  *  Updated   : 02-10-91
  52. X   *  Release   : 1.0
  53. X   *  Notes     :
  54. X   *  Copyright : (c) Copyright 1991 by Rich Skrenta, Iain Lea
  55. X***************
  56. X*** 91,101 ****
  57. X          set_tin_uid_gid ();
  58. X          return (ret_code);
  59. X      }
  60. X! /*
  61. X!     if (! filename) {
  62. X!         wait_message (txt_saving);
  63. X!     }
  64. X! */    
  65. X      fprintf(fp, "From %s %s\n", note_h_path, note_h_date);
  66. X  
  67. X      if (fseek(note_fp, 0L, 0) == -1) {
  68. X--- 91,97 ----
  69. X          set_tin_uid_gid ();
  70. X          return (ret_code);
  71. X      }
  72. X! 
  73. X      fprintf(fp, "From %s %s\n", note_h_path, note_h_date);
  74. X  
  75. X      if (fseek(note_fp, 0L, 0) == -1) {
  76. X***************
  77. X*** 598,603 ****
  78. X--- 594,601 ----
  79. X      if (save_num) {
  80. X          wait_message (txt_post_processing);
  81. X  
  82. X+         set_real_uid_gid();
  83. X+ 
  84. X          switch (proc_type_ch) {
  85. X              case 's':
  86. X                  post_process_sh ();
  87. X***************
  88. X*** 619,624 ****
  89. X--- 617,624 ----
  90. X                  post_process_patch ();
  91. X                  break;
  92. X          }
  93. X+         set_tin_uid_gid();
  94. X+ 
  95. X          info_message (txt_post_processing_finished);
  96. X          sleep (1);
  97. X          return TRUE;
  98. X***************
  99. X*** 740,745 ****
  100. X--- 740,746 ----
  101. X      
  102. X      sprintf (buf, "cd %s; uudecode %s", file_out_dir, file_out); 
  103. X      if (invoke_cmd (buf)) {
  104. X+         set_real_uid_gid ();
  105. X          /*
  106. X           *  sum file
  107. X           */
  108. X***************
  109. X*** 764,772 ****
  110. X--- 765,775 ----
  111. X              free (file);
  112. X              file = (char *) 0;
  113. X          }
  114. X+         set_tin_uid_gid ();
  115. X      }
  116. X  
  117. X      if (pp > POST_PROC_UUDECODE) {
  118. X+         set_real_uid_gid ();
  119. X          sprintf (buf, "*.%s", archiver[pp].ext); 
  120. X          if ((file = get_archive_file (file_out_dir, buf)) != NULL) {
  121. X              if (pp == POST_PROC_UUD_EXT_ZOO) {
  122. X***************
  123. X*** 784,797 ****
  124. X              if (! invoke_cmd (buf)) {
  125. X                  error_message ("Post processing failed", "");
  126. X              }
  127. X- /*
  128. X- continue_prompt ();
  129. X- */
  130. X          }
  131. X      }
  132. X      delete_processed_files ();
  133. X  
  134. X      unlink (file_out);
  135. X  }
  136. X  
  137. X  /*
  138. X--- 787,799 ----
  139. X              if (! invoke_cmd (buf)) {
  140. X                  error_message ("Post processing failed", "");
  141. X              }
  142. X          }
  143. X      }
  144. X      delete_processed_files ();
  145. X  
  146. X      unlink (file_out);
  147. X+ 
  148. X+     set_tin_uid_gid ();
  149. X  }
  150. X  
  151. X  /*
  152. XFiles 103/screen.c and 104/screen.c are identical
  153. XFiles 103/search.c and 104/search.c are identical
  154. Xdiff -rcs 103/select.c 104/select.c
  155. X*** 103/select.c    Mon Sep 30 18:49:10 1991
  156. X--- 104/select.c    Mon Sep 30 20:43:20 1991
  157. X***************
  158. X*** 91,97 ****
  159. X                  next_unread_group (TRUE);
  160. X                  break;
  161. X  
  162. X!             case 27:    /* (ESC) common arrow keys */
  163. X                  ch = ReadCh ();
  164. X                  if (ch == '[' || ch == 'O')
  165. X                      ch = ReadCh();
  166. X--- 91,97 ----
  167. X                  next_unread_group (TRUE);
  168. X                  break;
  169. X  
  170. X!             case ESC:    /* (ESC) common arrow keys */
  171. X                  ch = ReadCh ();
  172. X                  if (ch == '[' || ch == 'O')
  173. X                      ch = ReadCh();
  174. XFiles 103/signal.c and 104/signal.c are identical
  175. Xdiff -rcs 103/tin.1 104/tin.1
  176. X*** 103/tin.1    Mon Sep 30 14:53:29 1991
  177. X--- 104/tin.1    Wed Oct  2 09:58:17 1991
  178. X***************
  179. X*** 1,4 ****
  180. X! .TH TIN 1 "Version 1.0 PL3"
  181. X  .SH NAME
  182. X  tin \- Visual threaded Usenet news reader
  183. X  .SH SYNOPSIS
  184. X--- 1,4 ----
  185. X! .TH TIN 1 "Version 1.0 PL4"
  186. X  .SH NAME
  187. X  tin \- Visual threaded Usenet news reader
  188. X  .SH SYNOPSIS
  189. X***************
  190. X*** 866,878 ****
  191. X  
  192. X  Klaus Arzig, Anton Aylward, Reiner Balling, Volker Beyer, Roger Binns,
  193. X  Georg Biehler, Andreas Brosig, Peter Dressler, Gerhard Ermer, Hugh Fader,
  194. X! Joachim Feld, Bernhard Gmelch, Viet Hoang, Torsten Homeyer, Andy Jackson,
  195. X! Joe Johnson, Cyrill Jung, Karl-Koenig Koenigsson, Hans-Juergen Knopp,
  196. X! Hakan Lennestal, Bob Lukas, Clifford Luke, Phillip Molloy, Toni Metz,
  197. X! Greg Miller, Klaus Neuberger, Otto Niesser, Wolf Paul, Nickolay Saukh,
  198. X! Rich Salz, Fredy Schwatz, Bernd Schwerin, Klamer Schutte, Karl-Olav
  199. X! Serrander, Chris Smith, Steve Spearman, Cliff Stanford, Adri Verhoef,
  200. X! Cary Whitney
  201. X  .SH AUTHOR
  202. X  .TP
  203. X  Iain Lea
  204. X--- 866,878 ----
  205. X  
  206. X  Klaus Arzig, Anton Aylward, Reiner Balling, Volker Beyer, Roger Binns,
  207. X  Georg Biehler, Andreas Brosig, Peter Dressler, Gerhard Ermer, Hugh Fader,
  208. X! Joachim Feld, Paul Fox, Bernhard Gmelch, Viet Hoang, Torsten Homeyer,
  209. X! Andy Jackson, Joe Johnson, Cyrill Jung, Karl-Koenig Koenigsson,
  210. X! Hans-Juergen Knopp, Hakan Lennestal, Bob Lukas, Clifford Luke,
  211. X! Phillip Molloy, Toni Metz, Greg Miller, Klaus Neuberger, Otto Niesser,
  212. X! Reiner Oelhaf, Wolf Paul, Nickolay Saukh, Rich Salz, Fredy Schwatz,
  213. X! Bernd Schwerin, Klamer Schutte, Karl-Olav Serrander, Chris Smith,
  214. X! Steve Spearman, Cliff Stanford, Adri Verhoef, Cary Whitney
  215. X  .SH AUTHOR
  216. X  .TP
  217. X  Iain Lea
  218. Xdiff -rcs 103/tin.h 104/tin.h
  219. X*** 103/tin.h    Mon Sep 30 12:42:08 1991
  220. X--- 104/tin.h    Mon Sep 30 20:23:00 1991
  221. X***************
  222. X*** 3,9 ****
  223. X   *  Module    : tin.h
  224. X   *  Author    : R.Skrenta / I.Lea
  225. X   *  Created   : 01-04-91
  226. X!  *  Updated   : 29-09-91
  227. X   *  Release   : 1.0
  228. X   *  Notes     :
  229. X   *  Copyright : (c) Copyright 1991 by Rich Skrenta & Iain Lea
  230. X--- 3,9 ----
  231. X   *  Module    : tin.h
  232. X   *  Author    : R.Skrenta / I.Lea
  233. X   *  Created   : 01-04-91
  234. X!  *  Updated   : 30-09-91
  235. X   *  Release   : 1.0
  236. X   *  Notes     :
  237. X   *  Copyright : (c) Copyright 1991 by Rich Skrenta & Iain Lea
  238. X***************
  239. X*** 169,178 ****
  240. X  #define        TABLE_SIZE        1409
  241. X  #define        MAX_PAGES        1000
  242. X  
  243. X  #ifdef BSD
  244. X! #define CR    '\r'
  245. X  #else
  246. X! #define CR    10
  247. X  #endif
  248. X  
  249. X  /*
  250. X--- 169,180 ----
  251. X  #define        TABLE_SIZE        1409
  252. X  #define        MAX_PAGES        1000
  253. X  
  254. X+ 
  255. X+ #define        ESC        27
  256. X  #ifdef BSD
  257. X! #define        CR        '\r'
  258. X  #else
  259. X! #define        CR        10
  260. X  #endif
  261. X  
  262. X  /*
  263. X***************
  264. X*** 392,397 ****
  265. X--- 394,400 ----
  266. X  extern char default_regex_pattern[LEN];
  267. X  extern char default_save_file[LEN];
  268. X  extern char default_shell_command[LEN];
  269. X+ extern char default_post_subject[LEN];
  270. X  extern char proc_ch_default;                /* set in change_rcfile () */
  271. X  
  272. X  extern char *help_select[];
  273. Xdiff -rcs 103/tin.nrf 104/tin.nrf
  274. X*** 103/tin.nrf    Mon Sep 30 19:01:47 1991
  275. X--- 104/tin.nrf    Wed Oct  2 19:49:00 1991
  276. X***************
  277. X*** 1,7 ****
  278. X  
  279. X  
  280. X  
  281. X!      Version 1.0 PL3                                                 TIN(1)
  282. X  
  283. X  
  284. X  
  285. X--- 1,7 ----
  286. X  
  287. X  
  288. X  
  289. X!      Version 1.0 PL4                                                 TIN(1)
  290. X  
  291. X  
  292. X  
  293. X***************
  294. X*** 67,73 ****
  295. X  
  296. X  
  297. X  
  298. X!      TIN(1)                                                 Version 1.0 PL3
  299. X  
  300. X  
  301. X            -S        save news articles for later reading. Useful when going
  302. X--- 67,73 ----
  303. X  
  304. X  
  305. X  
  306. X!      TIN(1)                                                 Version 1.0 PL4
  307. X  
  308. X  
  309. X            -S        save news articles for later reading. Useful when going
  310. X***************
  311. X*** 133,139 ****
  312. X  
  313. X  
  314. X  
  315. X!      Version 1.0 PL3                                                 TIN(1)
  316. X  
  317. X  
  318. X            A good way to keep Tin index files current is to run tin -u from
  319. X--- 133,139 ----
  320. X  
  321. X  
  322. X  
  323. X!      Version 1.0 PL4                                                 TIN(1)
  324. X  
  325. X  
  326. X            A good way to keep Tin index files current is to run tin -u from
  327. X***************
  328. X*** 199,205 ****
  329. X  
  330. X  
  331. X  
  332. X!      TIN(1)                                                 Version 1.0 PL3
  333. X  
  334. X  
  335. X       COMMON MOVING KEYS
  336. X--- 199,205 ----
  337. X  
  338. X  
  339. X  
  340. X!      TIN(1)                                                 Version 1.0 PL4
  341. X  
  342. X  
  343. X       COMMON MOVING KEYS
  344. X***************
  345. X*** 265,271 ****
  346. X  
  347. X  
  348. X  
  349. X!      Version 1.0 PL3                                                 TIN(1)
  350. X  
  351. X  
  352. X            M         User configurable options menu (for more information
  353. X--- 265,271 ----
  354. X  
  355. X  
  356. X  
  357. X!      Version 1.0 PL4                                                 TIN(1)
  358. X  
  359. X  
  360. X            M         User configurable options menu (for more information
  361. X***************
  362. X*** 331,337 ****
  363. X  
  364. X  
  365. X  
  366. X!      TIN(1)                                                 Version 1.0 PL3
  367. X  
  368. X  
  369. X            B         Mail a bug/gripe/comment to the author of tin. This is
  370. X--- 331,337 ----
  371. X  
  372. X  
  373. X  
  374. X!      TIN(1)                                                 Version 1.0 PL4
  375. X  
  376. X  
  377. X            B         Mail a bug/gripe/comment to the author of tin. This is
  378. X***************
  379. X*** 397,403 ****
  380. X  
  381. X  
  382. X  
  383. X!      Version 1.0 PL3                                                 TIN(1)
  384. X  
  385. X  
  386. X            v         Print tin version number.
  387. X--- 397,403 ----
  388. X  
  389. X  
  390. X  
  391. X!      Version 1.0 PL4                                                 TIN(1)
  392. X  
  393. X  
  394. X            v         Print tin version number.
  395. X***************
  396. X*** 463,469 ****
  397. X  
  398. X  
  399. X  
  400. X!      TIN(1)                                                 Version 1.0 PL3
  401. X  
  402. X  
  403. X            h         Help screen of article page commands.
  404. X--- 463,469 ----
  405. X  
  406. X  
  407. X  
  408. X!      TIN(1)                                                 Version 1.0 PL4
  409. X  
  410. X  
  411. X            h         Help screen of article page commands.
  412. X***************
  413. X*** 529,535 ****
  414. X  
  415. X  
  416. X  
  417. X!      Version 1.0 PL3                                                 TIN(1)
  418. X  
  419. X  
  420. X            z         Mark article as unread.
  421. X--- 529,535 ----
  422. X  
  423. X  
  424. X  
  425. X!      Version 1.0 PL4                                                 TIN(1)
  426. X  
  427. X  
  428. X            z         Mark article as unread.
  429. X***************
  430. X*** 595,601 ****
  431. X  
  432. X  
  433. X  
  434. X!      TIN(1)                                                 Version 1.0 PL3
  435. X  
  436. X  
  437. X            Goto 1st unread
  438. X--- 595,601 ----
  439. X  
  440. X  
  441. X  
  442. X!      TIN(1)                                                 Version 1.0 PL4
  443. X  
  444. X  
  445. X            Goto 1st unread
  446. X***************
  447. X*** 661,667 ****
  448. X  
  449. X  
  450. X  
  451. X!      Version 1.0 PL3                                                 TIN(1)
  452. X  
  453. X  
  454. X            On starting tin the users killfile $_H_O_M_E/._t_i_n/_k_i_l_l is read and on
  455. X--- 661,667 ----
  456. X  
  457. X  
  458. X  
  459. X!      Version 1.0 PL4                                                 TIN(1)
  460. X  
  461. X  
  462. X            On starting tin the users killfile $_H_O_M_E/._t_i_n/_k_i_l_l is read and on
  463. X***************
  464. X*** 727,733 ****
  465. X  
  466. X  
  467. X  
  468. X!      TIN(1)                                                 Version 1.0 PL3
  469. X  
  470. X  
  471. X            If regex pattern matching is selected you are asked to enter a
  472. X--- 727,733 ----
  473. X  
  474. X  
  475. X  
  476. X!      TIN(1)                                                 Version 1.0 PL4
  477. X  
  478. X  
  479. X            If regex pattern matching is selected you are asked to enter a
  480. X***************
  481. X*** 793,799 ****
  482. X  
  483. X  
  484. X  
  485. X!      Version 1.0 PL3                                                 TIN(1)
  486. X  
  487. X  
  488. X                 specified by the variable.  This is useful if the machine is
  489. X--- 793,799 ----
  490. X  
  491. X  
  492. X  
  493. X!      Version 1.0 PL4                                                 TIN(1)
  494. X  
  495. X  
  496. X                 specified by the variable.  This is useful if the machine is
  497. X***************
  498. X*** 859,865 ****
  499. X  
  500. X  
  501. X  
  502. X!      TIN(1)                                                 Version 1.0 PL3
  503. X  
  504. X  
  505. X            $_H_O_M_E/._t_i_n/_b_u_g__a_d_d_r_e_s_s    address to send bug reports to.
  506. X--- 859,865 ----
  507. X  
  508. X  
  509. X  
  510. X!      TIN(1)                                                 Version 1.0 PL4
  511. X  
  512. X  
  513. X            $_H_O_M_E/._t_i_n/_b_u_g__a_d_d_r_e_s_s    address to send bug reports to.
  514. X***************
  515. X*** 915,921 ****
  516. X  
  517. X            Klaus Arzig, Anton Aylward, Reiner Balling, Volker Beyer, Roger
  518. X            Binns, Georg Biehler, Andreas Brosig, Peter Dressler, Gerhard
  519. X!           Ermer, Hugh Fader, Joachim Feld, Bernhard Gmelch, Viet Hoang,
  520. X  
  521. X  
  522. X       14
  523. X--- 915,921 ----
  524. X  
  525. X            Klaus Arzig, Anton Aylward, Reiner Balling, Volker Beyer, Roger
  526. X            Binns, Georg Biehler, Andreas Brosig, Peter Dressler, Gerhard
  527. X!           Ermer, Hugh Fader, Joachim Feld, Paul Fox, Bernhard Gmelch, Viet
  528. X  
  529. X  
  530. X       14
  531. X***************
  532. X*** 925,939 ****
  533. X  
  534. X  
  535. X  
  536. X!      Version 1.0 PL3                                                 TIN(1)
  537. X  
  538. X  
  539. X!           Torsten Homeyer, Andy Jackson, Joe Johnson, Cyrill Jung, Karl-
  540. X!           Koenig Koenigsson, Hans-Juergen Knopp, Bob Lukas, Clifford Luke,
  541. X!           Phillip Molloy, Toni Metz, Greg Miller, Klaus Neuberger, Otto
  542. X!           Niesser, Wolf Paul, Nickolay Saukh, Rich Salz, Fredy Schwatz,
  543. X!           Bernd Schwerin, Klamer Schutte, Karl-Olav Serrander, Chris Smith,
  544. X!           Steve Spearman, Cliff Stanford, Adri Verhoef, Cary Whitney
  545. X  
  546. X       AUTHOR
  547. X  
  548. X--- 925,940 ----
  549. X  
  550. X  
  551. X  
  552. X!      Version 1.0 PL4                                                 TIN(1)
  553. X  
  554. X  
  555. X!           Hoang, Torsten Homeyer, Andy Jackson, Joe Johnson, Cyrill Jung,
  556. X!           Karl-Koenig Koenigsson, Hans-Juergen Knopp, Hakan Lennestal, Bob
  557. X!           Lukas, Clifford Luke, Phillip Molloy, Toni Metz, Greg Miller,
  558. X!           Klaus Neuberger, Otto Niesser, Reiner Oelhaf, Wolf Paul, Nickolay
  559. X!           Saukh, Rich Salz, Fredy Schwatz, Bernd Schwerin, Klamer Schutte,
  560. X!           Karl-Olav Serrander, Chris Smith, Steve Spearman, Cliff Stanford,
  561. X!           Adri Verhoef, Cary Whitney
  562. X  
  563. X       AUTHOR
  564. X  
  565. X***************
  566. X*** 983,987 ****
  567. X  
  568. X  
  569. X  
  570. X- 
  571. X                                                                           15
  572. X--- 984,989 ----
  573. X  
  574. X  
  575. X  
  576. X                                                                           15
  577. X+ 
  578. X+ 
  579. XFiles 103/wildmat.3 and 104/wildmat.3 are identical
  580. XFiles 103/wildmat.c and 104/wildmat.c are identical
  581. SHAR_EOF
  582. echo "File tin.patch04 is complete" &&
  583. $TOUCH -am 1002194991 tin.patch04 &&
  584. chmod 0600 tin.patch04 ||
  585. echo "restore of tin.patch04 failed"
  586. set `wc -c tin.patch04`;Wc_c=$1
  587. if test "$Wc_c" != "58972"; then
  588.     echo original size 58972, current size $Wc_c
  589. fi
  590. rm -f shar3_seq_.tmp
  591. echo "You have unpacked the last part"
  592. exit 0
  593.  
  594. exit 0 # Just in case...
  595. -- 
  596. Kent Landfield                   INTERNET: kent@sparky.IMD.Sterling.COM
  597. Sterling Software, IMD           UUCP:     uunet!sparky!kent
  598. Phone:    (402) 291-8300         FAX:      (402) 291-4362
  599. Please send comp.sources.misc-related mail to kent@uunet.uu.net.
  600.