mac pbg4 todo list

*~3/4 done* access points for wireless to cover house and rear porch
	buy and install at least one more 2611 ap3 or 2511 ap

		eng1
		rear hall, to cover kitchen, guest br, library, porch
			wired
			engenius 2611-ap3-plus installed:
			eng1
			strong ~max signal all locations listed above
**todo			**possibly install switch+poe in/above s. br2 closet

		eng2
		end of lr (den), to cover den, lr, mbr
			wired - need to place ap center north wall lr den
			netgear used here temporarily = capap
			strong signals in lr den and at s. end lr; weak in mbr
			installed 2611-ap3-plus
			eng2
			strong signals in lr den and throughout lr
			ok-good signal in mbr

		air0
		eng0
		2nd floor hall, replacing/complementing airport
			wired (of course)
			airport g-protocol ap installed:
			air0
			engenius 2511 ap pro plus hotspot installed:
			eng0
			strong ~max signal upstairs
			good signal s. end lr, mbr, e. end porch
			ok signal dining rooma, weak in library, kitchen
			ok-good signal in mbr, ila dressing room
			(stronger than eng2 [= lr den 2611])
			ap located at present on top of big metal=sgi
**todo			**move ap about to improve signals on 1st floor

		----?
		basement
			wired
**todo			**possibly install ap == air0 or capap

		if all installed, then 4 ap total, wired to main switch
			3 engenius, 1 airport or eric's netgear

**todo	antenna for airport, or for 2511 if needed
**NOW	**call dr. botts to return dr. botts as broken
	get, if dr. botts replacement not useful and need antenna:
		8 db omnidirectional
		17 db panel == sector
		12 db cushcraft 90deg sector
		pigtail, for connectors, as appropriate
		check out canadian "superpass" website

**********************************************************************


*done* files/apps downloaded and installed

	checked that loaded all of apple's X11 distrib., 
	including developer's tools, from 10.3 disk set

	apps brought over - see server:~jar/LOG:
	/sw/bin:
		binaries brought over via fink, with ancillaries in pkg; 
		all work
			fink installer
			pstree
			tree
			psutils		(large collection)
			gv		(ghostview)
			fortune		(the old unix game/app)
			lynx		(dup of x11 macosx util, 
					but newer/snazzier)
	/usr/local/...	
		various pkgs brought over by i-installer
		eg:
			/usr/X11R6/bin/xfig
			/usr/local/bin/gs
		i-installer pkgs:
			ImageMagick.ii2/
			cm-super.ii2/
			freetype2.ii2/
			ghostscript-8.ii2/
			libpng.ii2/
			libwmf.ii2/
			macutils.ii2/
			tex.ii2/
			xfig.ii2/
	/usr/X11R6/bin:
		xfig			works
	/usr/local/bin:
		xv			works
		gs (ghostscript)	works
		hfstar			works
		xtermcontrol
	/Applications:
		Microsoft Office X	works
		NFS Manager		works
		RealOne Player		works
		StartR			works - RAqua == new "S" 
					also binary, to run from command line
					/usr/local/bin/R
		StuffIt Standard 8.0	works
		TeXShop			works
					includes support = gs, tex, ..., e.g.:
					/usr/local/bin/gs
		VPNClient		works
	/Applications/System Preferences:
		IOXPerts		works - eng. wireless driver control
	/Applications/Utilities:
		i-Installer		works
	/Users/jar/Applications:
		MacGhostView		effectively useless
		Mozilla			works - navigator, imap mail, news
	/Library/Internet Plug-Ins:
		PDF Browser Plugin	works with safari
					(else safari pdf/ps to "preview")
		RealPlayer Plugin	works with safari
	/Users/jar/bib:
		dircmp			ATT script copied from sgi
					mods for macosx
		dircmp-macsys		above rev for cf disk volumes
	/Users/jar/Downloads/
		Carbon Copy Cloner	from bombich software
					makes bootable clone of boot drive
					does not work well if want partial clone
					kludged personal backup instead
	/Users/jar/Downloads/downloads-software:
		various utilities not installed, to be compiled, etc
			whereis.c/.1	to be compiled - done - need to update
			exportfs	shell script - nfs setup
			chem.tools-sharfile-kernighan-belllabs	shell script
			indexing.tools-sharfile-kernighan-belllabs  shell script
			hexcalc		works - xwindow gui
			macGSView	binary - try install again 
			safaritohtml	xcode - compiles and works


compare following list with above
extract more from ~/Downloads
extract more from /Applications, /sw, /opt, fink record, ~/darwinports
utilities/apps:
	mac:
		safari - fast, clean, well-engineered (e.g. font size)
		finder/search - fast search, easy navig thru tree
		sherlock - enhanced google with commercial tinge
			search, airline info, dictionary, ...

	osx = std unix (free bsd, net bsd, gnu):
		mac window mgr:
			control of both mac + x11 apps
			simultaneous display:
			    xterm + mac app windows
		bash == ksh
		vim (and related, e.g., colordiff)

	fink, darwinports-opendarwin:
		pstree
		tree
		colordiff
		bvi
		netcat
		lynx
		[gnumeric]
		aspell
		gv

	old, carried along opsys to opsys
		sunrise
		recipes
		note
		ad
		dugraph, dtree->[tree]
		whereis (old version)
		ll, zap, tac, rev
		kinetics
		beav->[bvi]
		hexcalc
		refer + bib + ...
		scripts:
			areacode
			rename
			blout
			calendar
			dircmp
			various text filters
	


**********************************************************************


** files/apps to bring over/test:

**maybe	macGSView
		try again now that gs cleanly installed

	primary installs - (for operation/maintenance):
**done	checkout gnu fileutils, gnu networking;
	note that some are scripts, or can be implemented as scripts;
**done		lynx - networking
**done		mac utils probably ok for:
			rev, (un)expand, fold, yes, whatis, apropos
			lsx = ls with color, vim = vi with color + more
**done		indent - part of macosx distribution
**done		gnu fileutils - part of macosx distribution
**done		tree = dtree (binary)
**done		psutils and related (binaries)
		which (script: csh pbg4; sh sgi), ?where, ?whence
**done		whereis (binary)
			mac whereis - NOT ok
				fixed PATH; MANPATH not followed
			have sources for older/better version
**done		ll, zap, tac (binaries); 
			not on  mac
			sources on sgi:
				server:~/src/miscA.c/ll.c
				server:~/src/k-p/zap.c
				iris:/B/usr3/local/src/miscA.c/tac.c/tac.c
**done		rename, dircmp, blout, blone (scripts on sgi)
**done		dusort, dutree (scripts on sgi)
**done		dugraph (binary)(sources on sgi)
**done		chgdate (binary - sources jar; uses phoon/tws lib)
**done		hexcalc, hoc, (binaries - sources on sgi:~jar/src)
**forget	bs, beav (replaced by bvi) (binaries - sources on sgi:~jar/src)

**done		netcat - networking
**done		Bvi = binary editor/vi cmds - like beav editor/emacs cmds
**osx to come	virtual desktops
**done		menu meters
**done		ispell/aspell

	secondary installs - (high/frequent laptop use)(sources/scripts on sgi):
**done		calcnt
**done		recipes
**done		note
**done		ad
**todo		att calendar script + dependants = calday, etc
			decide how to handle calendar problem

	low priority (for laptop) 
	whether install/bring over depends on how use pbg4;
	for much can rlogin to sgi or enclose in rsh alias/function:
**done		fortune
**done		tws - phoon, libtws.a (needed for chgdate, note, ...)
**done		sunrise - useful game that depends on libtws.a
**done		xtoys
		look
**done		areacode
**done		sets cdecl
**done		xstr

**done		lifeline - genealogy - gnu-darwin
**done		bluefish - web editor
**done		colordiff
**done		chemtool - ??

	major sgi stuff:
**groff ok	dwb - groff = excellent = duplicates/better than troff
**todo			dwb-related: bib, refer, etc
**done		kinetics (sources on sgi)
		computation, statistics:
**done			R == new S
**get now		xgobi
			mathematica, ? under ua site license
			matlab, ? under ua site license
**todo		database software - mysql, postgres, db, ...
**forget?	midas, display, amber = illinois stuff better?
**forget	rasmol

	recommended std mac stuff/commercial apps:
**done		x11 rsync/psync = keep mirror drives up-to-date
**done		carbon copy cloner
**done		omnigraffle 2/3 = outliner?
**done		ms entourage = good
		cyberduck or fugu = ftp
**done		kismac = sniffer
		BBEdit = general purpose editor
		kaleidagraph = graph prgm, igor = plotter from wavemetrics
		virtual window manager - see apple osx downloads page
**done		consider .mac acct
**done		mac? watson - try it
**done		mac keynote = try it - replace/better than ppt
**done		mac pbcopy, pbpaste = try it - into/out of pasteboard buffer
**done		mac mail program

**********************************************************************


*all done* - sync various control/lookup files on all local hosts: 
	server, iris, pbg4, pbg3; 
	also where relevant, research.u.arizona.edu

	done for (maybe not pbg3):
		/etc/hosts
		/etc/hosts.equiv 
		/etc/X0.hosts
		~jar/.rhosts		~root/.rhosts
		~jar/.Xauthority	~root/.Xauthority

	hosts is read for name lookup [second in resolv seq]

	rhosts or one of the other authentication files is read 
	for export/import of x11 displays

	need to check: that this behavior is to be expected:
		panther/developer manuals


*all done* - configured xinetd for start of demons for: login, shell, telnet:
	to allow rlogin without passwd check if from machine on which user
	has same name and if machine is authorized;
	less secure than ssh, but ok for local 10.0.0.* net


*done for now* - bash startup/config files
	.bash_profile, .bashrc, .bash_aliases, .bash_aliases_pers
		modeled on sgi config files
		structured somewhat logically

	checked net for suggestions for added aliases, functions


**done - turn journaling on:
	sudo diskutil enableJournal /
	journaling was already enabled...

**done - remote printing: 
	**already ready - setup sgi for lp spooling from remote
	**done setup pbg4
	usage: lp [-opts] filenames
**todo:
	text printing: font+size to match sgi
		prfold/prcut/asis filters
		check lp directory for models/interfaces

**done partially - mail reader/net news:
	imap, pop or relay from sgi to sendmail/procmail?
	which mail reader?
	which agent, if not sendmail/procmail?
	also net news!

**done for now - exrc/vimrc file for vi/vim on pbg4; 
	**done - possible use of color
	**done - check out change in color defaults for w-fg;b-bg

**done use of color with ls on pbg4
	check out change in color defaults for w-fg;b-bg

**done - setup root account
		so can repair disaster that blocks admin login

**done	how use fast user switching? 
		one has to relogin?

**done	finder display of:
		/sw, /bin, /usr/bin, /etc, ....???
		sudo /Developer/Tools/SetFile -a [V,v] /sw etc
			V=hide, v=show

**done	vpn client on pbg4, display on sgi, clicked from mail on pbg4
		vpn works well from pbg4
		if launch vpn from pbg4, does netscape on sgi use vpn tunnel?
			first trial = failure - 
			vpn seems to block all other remote access to system 
		alternative to vpn?
			ssh -C (compression) -X (X11 mode)  user@host
			check /etc/sshd_config
				x11forwarding	yes

**done	makewhatis, apropos, whatis
		either build filter to limit line lengths into makewhatis,
		or construct aliases for apropos/whatis with:
			line length filter
			sort -f
		note: a whatis db is built for each mandir on MANPATH,
		and all read read by apropos/whatis
		note: whatis.db set rebuilt periodically under mac osx

**done	dusort (and dutree wrapper for dusort)
		removed from ~/bin
		major flaw = dir cf equal subdir print below subdir tree
	tree -dsFC : use as dutree replacement == better prog. (options etc.)
	dugraph checked out - ok, except for any dirpath arg, no terminal /


**largely done	backup:
**done		pbg4 -> firewire drive (as clone)
			cleaned up root level dirs/files
			constructed backup = cloning script
				/clone-info/mkbackup
**todo		pbg3 -> pbg4 = backup, pbg3 -> pbg4 firewire drive = clone
**todo		script for daily incremental backup (and/or sync with clone)

**done	selection of apps/comparisons as demos of pbg4

**done	list of pros/cons wrt pbg4


**********************************************************************

** setup on mac/todo/....

**todo	merge server (sgi) directories/files for mail:
		mozailla/imap/sgi  on pbg4 with netmail on sgi
		[merge/common nsmail files may not be possible]
`
**todo	vim in terminal app odd: vim color bg restricted to text area
		probably a termcap/terminfo problem

	bash to do:
**todo		redo dirstack functions - they were carried over from ksh;
			could be done more simply with bash builtins
			**these are broken for mac-style filepaths with %20=sp
		check out quoting of parameters in aliases (%20=sp problem)

**todo	daily incremental backup of pbg4

**todo	clones/backups of pbg3

**todo	check out sgi exrc -> vimrc key bindings - probably not right for mac
		figure out how to use ! ops

**todo	finder search of /usr - other dirs searched (hidden directories?)
		do not know why **not** searched

**todo	join apple developer's group


**********************************************************************


** setup on mac/get information/hints/....

hints:
	how cope with sporadic (after ~ 1 week uptime) failure of airport
	connection to engenius access points:
		switch from automatic selection strongest ap to specific
			set in pref/network to eng1
		kill finder app and relaunch
		change mtu size fro  1500 default to 1492
			???
		note: first two of above no help at last fail of airport
		connection (current date Sun May 23 14:24:58 MST 2004)
			so deleted 
			      library/preferences/systemconfiguration/*airport*
			then reboot
		question:
			how list access point/machine as trusted network
				air0	10.0.0.3	airport base
				eng0	10.0.0.9	engenius ap
				eng1	10.0.0.10	ditto
				eng2	10.0.0.11	ditto
			added all to /etc/hosts.equiv
			add to /etc/machines or ???
			add to .../hosts.allow ??

	make hiddenn apps transparent in doc:
		defaults write com.apple.Dock showhidden -bool yes
		see:
	http://www.macdevcenter.com/pub/a/mac/2003/05/30/macosxhints.html	
		book:
	http://www.oreilly.com/catalog/macxhints/TOC.pdf

	search invisible root directories/other invisible files/dir with
	finder search function:
		add by dragging from finder window to search other window 
		must have made visible in finder window first

	cut cpu load of top:
		robg adds: I created it as an alias (in tcsh) by adding alias
		ttop 'top -ocpu -R -F -s 2 -n30' (ttop can be whatever you
		like, of course) to my .tcshrc file, so I can run both
		versions easily. Even on my Dual G5, top is a CPU hog -- it
		takes about 10% - 15% of the CPU; using these command line
		switches, it's down around 1%.

	avoid airport disconnecting when machine sleeps:
		uncheck the "Sleep hard drive when possible" checkbox in the
		Energy Saver pane of the System Preferences panel. 

	remove .DS_Store files with 
		find ... exec rm

	if you want to move the contents of a drive
	named Foo to a another drive, named Bar
		ditto -v -rsrcFork /Volumes/Foo /Volumes/Bar

	flaky connection to net via wireless after software
	update (~2/24/2004) = security+more; prev update = airport->3.3;
		apple tech support case ident: 21828552	2/27/2004
		call to apple -> delete preferences plist:
 /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist
		plist reconstructed next time around
		seemed to work - assumption = plist corrupted
		may not be it; 
		problem was could not join/find list trusted networks;
		what is "trusted network? security? netinfo mgr has
		"trusted.."  - but no values for it.
	another loss wireless connectivity - eng[012] - air0 held
		2/17/04 - called in  after getting up as before =
		delete plist + reboot
		no conclusion - but next time call before repair =
		leave problem active so can troubleshoot

	problem with dr botts antenna = call dr botts, apple does not support
	3rd party stuff
	
	defaults write com.apple.finder AppleShowAllFiles 1
		show all files, incl. those in /.hidden, in  Finder:

	defaults write com.apple.X11 wm_ffm true
		focus follows mouse for x11 windows

	(for more see man XQuartz)

	startx script (bring up X11) broken compile in 10.3
		top line: #pragma GCC ....
		see man X

	open [-a app | -e] file
		open file (or dir...) from xterm window, as if
		had double-clicked in finder
		-a app opens file with app
		-e opens file with textedit

**done	defaults write com.apple.Safari IncludeDebugMenu 1
		installs debug menu in safari
		useful - e.g. importing bookmarks

	copy/paste between x11 and aqua apps
		cmd-c to copy highlited text/items in both
		cmd-v to drop in aqua at pointer
		ctrl-opt-click (middle mouse button)
			to drop in xterm at cursor
		and/or
		use pasteboard as intermediate carrier

	terminal key binding can be altered by shell commands/aliases

	...macaddict.../osx/xphiles/index.html
		???

	netinfo info:  (may be removed, get copy stored elsewhere)
		apple: "understanding and using netinfo"

	sudo Developer/Toolsw/SetFile	-a V /sw	to hide
					-a v /sw	to show
							in Finder

	to remove passwd requirement for user jar, edit /etc/sudoers:
		jar ALL = NOPASSWD: ALL
			be careful, of course

	to change configuration info that would be handled in
	sysv or bsd unix by /etc/configfile
	in mach
		use netinfo utility
			e.g., to change a user's shell tcsh->bash
		or
		use sequence of command line progs, e.g.,
			nicl	nifind	nireport	...


get information:

	mac Xcode development tools:
		how use - trial intriguing...

	location system xinitrc and related:
		/usr/X111R6/lib/X11/xinit/
		symlinked tto
		/etc/X11/xinit/
		where is the system file
			xinitrc
		where are system versions of:
			.xmodkeys
			.Xresources

	how best setup Xauthority (correctly):
		~/.Xauthority
		xhost +....
		/etc/hosts.equiv
		???

	how keep pbg4 active=not sleeping when not in active use?
	if sleeps, cannot login and use from sgi....

	how reactivate disconnected nfs mount that does not autoload?
	(this has happened several times - used nfs manager to reactivate)

	how configure nfs automount **without using**:
		nfs manager
		netinfo

	nfs mount hint:
		sudo niload fstab	#to load mount info in /etc/fstab fmt
		menu bar: go -> server
		nfs: ip/path

	how configure safari (or IE?) (or Mozilla....)
		bookmarks from sgi netscape
		helpers/plugins for ms doc, pdf, ps, ....
		how print/save html as postscript, pdf as postscript

	check:
		chflags to unlock attributes
		/Library/Web.../Doc = apache root dir
		sudo niload fstab (fstab = std unix file)(for nfs setup)

	xterm/terminal config (mostly done, but can tweak):

		key bindings:
			keys for paging/scrolling

		focus follows mouse pointer - possibly
			defaults write com.apple.x11 wm_ffm true
			same for com.apple.Terminal?
			how do for all apps? else probably will not fly 
				can finesse by use of expose

		color of terminal pointer for mac terminal app (xterm ok)
			change to red, possibly change symbol
			anything similar to xterm config?
				xterm -ms red
				xterm -xrm "*pointerColor: red"
		
		geometry/font
**done=xtermcontrol	change on the fly within xterm - lower-rh drag not good
				popup menu/key bindings/...
			alternative- have several "xterm" apps
				xterm24-18, xterm48-14, ...
				launch several via .xinitrc?
				via key bindings?
				
		termcap ?
			xterm-color installed - no effect
			use to set color of pointer?
			change colors used in vim, lsc

	(.)xinitrc
		at startup:
			open xterm with login to server
			open xterm with smaller screen (80x24)/different font
		NB: startx script (run X11) broken in 10.3
			inserts of #pragma GCC .....
			e.g., see man X
			need to edit to repair if found

	plists - 
		how are they used?
		how find them?
		are there global plists?
		how translate plist xml o "english" = std list?
		or to/from other formats (IE, netscape for bookmarks, etc.)?

**********************************************************************


*done* buy/install

**done - o'reilly (and other publisher's) books on panther os
	mac os x panther? for unix geeks
	mac osx the missing manual
	???

**done - install diskettes for pbg3
	os9x						$30
	os10.2x						$40

**done - 1 GB SDRAM - 2 DIMMS                           $214
	the pbg4 is memory bound - thrashing
	dms = data memory systems:
	http://www.datamem.com/viewitems.asp?C=1108&K=
&IT_KEY=2201&action=close&x=#DM50 154

**done - 80/120gb external firewire drive for mirror/backup	$150-170

**********************************************************************


** buy/install
primary:
	wireless mouse and keyboard (bluetooth), 20" terminal hardwired:
		worth it if easy to do, to convert laptop to desktop
		mouse = 3-button and wheeled (get a good one)

	virtual pc -  ms windows xp or ?

	software: photo management, manipulation, and display
		check photography sites
		which?
			Digital Ice or FARE, to correct surface flaws;
			PhotoMechanic Pro 2.0 (camera bits?)
			AP viewer ?

		database management:
			high end:
				ACDSee
				IMatch
			low end:
				Photoshop Album
				ThumbsPlus
				Picasa
				FotoAlbum

		image manipulation:
**Done			Photoshop Pro
				along with rest of adobe "creative suite"
			Paint Shop Pro 8
			Roxio's PhotoSuite 5 Platinum 

	software:
		map viewers
		gps, gis software


** buy/install
secondary:
	scanners
	color printer
		not worth pursuing until decide on/get desktop (g[45])

	software:
		autocad
		mysql
		dreamweaver
		omnipage
		quicken
		toast

	additional engenius pc card (with antennas?), for eric/guests
		** wait for 802.11g mac drivers for g card

	softcase for canon g5

	extra pbg4 battery

	sniffer, handheld, for finding location and net names of hotspots

**********************************************************************

RECOMMENDED ORDER FOR MAC PBG4 AND ACCESSORIES AND SOFTWARE
[BASED ON 2003 ORIGINAL ORDERS]
[see "note-mac-intel.txt", "~/memos/notes.03", various receipts]

		M8980LL/A:						$1799
			as listed 
			except combo drive, airport ready
			NOTE: don't want superdrive - combo is fine

		extras:
			AirPort Extreme Card 				$89
				M8881LL/A
			AppleCare Protection Plan (APP)			$239
				M8853LL/A
			2 x 500 MB dimms				$214

			external firewire drive >100GB		      ~ $150

			acmemade sleeve for 15" [$100]			-

			sjdesign laptrap case				$60

			iGo car/air adapter				$99

			extra battery [$116]				-

			screen protector [$18]				-

						HARDWARE SUBTOTAL	$2650

			Office v.X for Mac Standard Edition		$149
				word, excel, powerpoint, entourage
					T4119LL/A
				(Student and Teacher Edition)
					T7538LL/A
			Adobe Creative Suite				$400
				photoshop, acrobat, golive, illustrator,
				reader, indesign, cue
				(Student and Teacher Edition)

						SOFTWARE SUBTOTAL	$549

						TOTAL			$3199
