🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by Toivo Pedaste Thu, 24 Jul 1997 00:00
NN-TK - patch to 16.1
#8537
Author: Toivo Pedaste
Date: Thu, 24 Jul 1997 00:00
149 lines
4139 bytes
This patch fixes some problems with the GUI for auto kill/selecting 
articles:

Homepage: http://www.general.uwa.edu.au/u/toivo/nn-tk/changes.html 

*** killsel.tcl~	Thu Jul 24 00:01:49 1997
--- killsel.tcl	Thu Jul 24 00:02:09 1997
***************
*** 9,24 ****
      global ksel
  
      article_info
!     global ksel_group ksel_subj ksel_send ksel_from ksel_msgid
  
      killsel_Make
      update
  
!     set f [open "/home/toivo/.nn/kill" r]
!     while {[gets $f l] > 0} {
! 	.killsel.lb.l insert end $l
      }
-     close $f
      
      if {$item != ""} {
  	killsel_list_add
--- 9,26 ----
      global ksel
  
      article_info
!     global ksel_group ksel_subj ksel_send ksel_from ksel_msgid nn_directory
  
      killsel_Make
      update
  
!     if {[file readable "$nn_directory/kill"]} {
! 	set f [open "$nn_directory/kill" r]
! 	while {[gets $f l] > 0} {
! 	    .killsel.lb.l insert end $l
! 	}
! 	close $f
      }
      
      if {$item != ""} {
  	killsel_list_add
***************
*** 53,65 ****
  }
  
  proc killsel_writefile {} {
!     global ksel
  
      if {$ksel(listbox) >= 0} {
  	ksel_out_item $ksel(listbox)
      }
  
!     set f [open "/home/toivo/.nn/kill" w]
  
      set size [.killsel.lb.l size]
      for {set i 0} {$i < $size} {incr i} {
--- 55,67 ----
  }
  
  proc killsel_writefile {} {
!     global ksel nn_directory
  
      if {$ksel(listbox) >= 0} {
  	ksel_out_item $ksel(listbox)
      }
  
!     set f [open "$nn_directory/kill" w]
  
      set size [.killsel.lb.l size]
      for {set i 0} {$i < $size} {incr i} {
***************
*** 471,477 ****
      # CREATING WIDGETS
      ###################
      toplevel .ksel -class Toplevel 
! 
      wm deiconify .ksel
      wm title .ksel "ksel"
  
--- 473,479 ----
      # CREATING WIDGETS
      ###################
      toplevel .ksel -class Toplevel 
!     bind .ksel <Destroy> ksel_destroyed
      wm deiconify .ksel
      wm title .ksel "ksel"
  
***************
*** 698,700 ****
--- 700,707 ----
      }
  }
  
+ proc ksel_destroyed {} {
+     global ksel
+ 
+     set ksel(listbox) -1
+ }
*** exmh_inter.tcl~	Thu Jul 24 00:01:38 1997
--- exmh_inter.tcl	Thu Jul 24 00:06:23 1997
***************
*** 89,95 ****
      set mime(dir) /usr/local/bin
      set pgp(path) /usr/local/bin
  
!     set exmh(version) nn-tk.15.0
      set exmh(library) $nn_x_dir/tcl/exmh
      set exmh(folder)  $nn_directory
      set exmh(userLibrary)  $nn_directory
--- 89,95 ----
      set mime(dir) /usr/local/bin
      set pgp(path) /usr/local/bin
  
!     set exmh(version) nn-tk.16.1
      set exmh(library) $nn_x_dir/tcl/exmh
      set exmh(folder)  $nn_directory
      set exmh(userLibrary)  $nn_directory
*** nn-defaults~	Thu Jul 24 00:01:25 1997
--- nn-defaults	Thu Jul 24 00:02:09 1997
***************
*** 80,86 ****
  ! Geometry of windows
  !
  !
! *nn.position: 966x667+20+27
  *prompt.position: 72x1+376+0
  !
  ! Which cascading menus to split on first character, use a _ to indicate
--- 80,86 ----
  ! Geometry of windows
  !
  !
! *nn.position: 980x680+20+27
  *prompt.position: 72x1+376+0
  !
  ! Which cascading menus to split on first character, use a _ to indicate


--
 Toivo Pedaste                        Email:  toivo@ucs.uwa.edu.au
 University Computing Services,       Phone:  +61 8 9 380 2605
 University of Western Australia      Fax:    +61 8 9 380 1109
"The time has come", the Walrus said, "to talk of many things"...

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads