--------- --------- --------- --------- --------- --------- General: --------- --------- --------- --------- --------- --------- Notes for script used to set 'new = 0' for all Conferences included in the menu (per /cyberspace/grex/bbs/confmenu). Excludes conferences not in confmenu. Non-menu conferences can be accessed via ft 'join' or bt 'Goto Conference'. --------- --------- --------- --------- --------- --------- Version 1: superseded --------- --------- --------- --------- --------- --------- See this backtalk post: Garage > #57: fronttalk: getting new items = 0 > Response 0 Procedure & script to set 'new items = 0' for all conferences on the conference menu. --------- --------- --------- --------- --------- --------- Version 2: current --------- --------- --------- --------- --------- --------- Run the .bash script which uses the .data file (mappings). bt-cfdir-new-eq-0.bash bt-cfdir-new-eq-0.data Script output: **START** grex$ ./bt-cfdir-new-eq-0.bash These steps can be used to recreate the ~/.cfdir such that for conferences properly included in the data file all items will be marked as read (new=0). Contents of the existing ~/.cfdir will be moved to ~/cfdir_bak delete later if result is good restore if result is not good After running the script read and review this item: Grex > Garage > #45: Backtalk Crash > Response #23 Enter to continue or Ctrl+C to abort. Name to use in all conferences: Your Name [stderr output] grep: backtalk2/_4: Permission denied grep: internet/_50: Permission denied grep: music4/_1: Permission denied grep: music4/_2: Permission denied grep: music4/_4: Permission denied grep: music4/_7: Permission denied grep: politics/_123: Permission denied **STOP** Notes: (1) Items not world readable will be printed to stderr like above. Read those items 'manually'. (2) INCORRECT MAPPING noticed (attempt to fix later) confmenu | bbs dir | .cfdir is: sexuality | cflirt2 | .cflirt2.cf sb: sexuality | cflirt | .cflirt.cf --------- --------- --------- --------- --------- --------- Version 3: planned --------- --------- --------- --------- --------- --------- Determine mapping scheme from docs and source code. Ditch the data file, instead build list via script. done < <(script to get bbs/dirs and .cfdir/files)