NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: emacs icomplete-vertical for manpages chdir(2) fails



VL> Do the manpages need to be indexed periodically?

Yes, and weekly(5) takes care of that.  It will also refresh the locatedb.

You'll want to review root's crontab to see when they daily/weekly/monthly
get run.  If your machine is not running continuously, you...

	- ... can always run the /etc/{daily,weekly,monthly} scripts manually
	  (as root),
	- ... can change the crontab trigger times from night- to day-time,
	- ... might set up an hourly cronjob on only irregularly running
	  machine which assures that these periodic jobs get run:

	0 * * * *	/usr/local/sbin/check-period-jobs

	/usr/local/sbin/check-period-jobs:
#!/bin/sh
export PATH=/bin:/usr/bin:/sbin:/usr/sbin
test -n "$(find /var/log/last.daily   -mtime -1)"  ||
	sh /etc/daily | tee /var/log/last.daily | sendmail -t sendmail
test -n "$(find /var/log/last.weekly  -mtime -8)"  || ...
test -n "$(find /var/log/last.monthly -mtime -32)" || ...

For your mouse:

	crontab -l    (as root)
	man weekly
	man daily
	man monthly
	man afterboot   (for general netbsd post-install config hints)

Sorry for knowing nothing about the current emacs pre-requisites.
(I was an avid emacs user until around 2004, before returning to
plain vi.)

							Martin Neitzel


Home | Main Index | Thread Index | Old Index