[OT-ish] IGPL - Idea General Public Licence

2003-08-28 Thread Karl M. Hegbloom
What if we made a GPL for Ideas?  Write up your idea, and licence it
under a GPL like licence.  Since I cannot just get a thing done or
manufactured, perhaps I can get my idea accomplished by simply sharing
it...?

I thought of this, again, while reading:

http://www.nytimes.com/2003/08/28/technology/circuits/28wind.html

... and:

http://www.vestas.dk/

I was thinking about how things like that could be done under a GPL or
open hardware like system, with an industry co-op for research and
design sharing, college tuition scholarships, internships, etc...  they
could licence the blueprints in some way that would ensure that nobody
takes over and overcompetes for a sales area or something... but there
could be more factories and distributed world wide to simplify logistics
for new ones and _compatible_ replacement parts.


These wind-dragons --- will they slow the wind down, and thus prevent
air pollution from being flushed from our cities?

Never mind.

-- 
Karl M. Hegbloom [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Why does dpkg prompt for unchanged conffiles during upgrade?

2002-06-12 Thread Karl M. Hegbloom

Why is it prompting for these when I have not modified them at all
AFAIK?  Is this a bug in dpkg or a packaging error?  Anyone know?

8-8
Setting up libgnome2-common (2.0.1-1) ...

Configuration file 
`/etc/gconf/schemas/desktop_gnome_applications_window_manager.schemas'
 == File on system created by you or by a script.
 == File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
Y or I  : install the package maintainer's version
N or O  : keep your currently-installed version
  D : show the differences between the versions
  Z : background this process to examine the situation
 The default action is to keep your current version.
*** desktop_gnome_applications_window_manager.schemas (Y/I/N/O/D/Z) [default=N] 
? y
Installing new version of config file 
/etc/gconf/schemas/desktop_gnome_applications_window_manager.schemas ...

Configuration file `/etc/gconf/schemas/desktop_gnome_file_views.schemas'
 == File on system created by you or by a script.
 == File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
Y or I  : install the package maintainer's version
N or O  : keep your currently-installed version
  D : show the differences between the versions
  Z : background this process to examine the situation
 The default action is to keep your current version.
*** desktop_gnome_file_views.schemas (Y/I/N/O/D/Z) [default=N] ?

8-8


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Both kernels are installed. s/lilo/grub/g (Re: cannot upgrade kernel 2.4.16 - 2.4.18)

2002-05-01 Thread Karl M. Hegbloom
On Wed, 2002-05-01 at 15:29, Russell L. Harris wrote:
 Greetings, Karl.
 
  You recall that, upon discovering that the network was down after 
 I upgraded from kernel 2.2.20 to 2.4.18-586tsc, I rebooted from floppy and 
 installed kernel 2.4.16-586tsc (the only other suitable alternative in 
 TESTING).
 
  Today, when I try to upgrade back to kernel 2.4.18-586tsc, apt-get 
 returns the message:
 
  Sorry, kernel-image-2.4.18-586tsc is already the newest version.
 
  However, uname tells me that the kernel is 2.4.16.  I rebooted and 
 tried again to install 2.4.18, but received the same error message from 
 apt-get.  Must I be content to run 2.4.16 forever?

You have both kernels installed right now.  Are you using Lilo to boot,
or Grub?  I assume Lilo, since you installed using the standard CD...

If you look in your /etc/lilo.conf, you'll see that there are two images
available for booting.  Look in / or in /boot for the symlinks
referenced by the lilo.conf.  You can reverse them if you like:

# mv vmlinuz.old vmlinuz.new
# mv vmlinuz vmlinuz.old
# mv vmlinuz.new vmlinuz

Do the same thing for the initrd.img links if they exist, and then run
lilo before you reboot.

Another option, really a better one, IMO, is to apt-get install grub
grub-doc.  (leave lilo installed for now; and please read this to the
end before you proceed, at your own risk, NO WARRANTY and all that...)

Have you ever forgotten to run lilo after changing something, and
wound up with an unbootable machine?  Grub fixes that problem, by giving
you a boot loader shell from which you can choose, by hand if necessary,
which kernel to boot and what command line to give it.  You can also, of
course, set that all up in advance, in the menu.lst file... (see below
and RTFM)  Grub is filesystem aware.  Make sure that your /boot drive
has a supported filesystem type on it.  Run ls /usr/lib/grub/i386-pc/
to see which ones it supports.

I don't think that Grub, yet, can deal with EVMS or LVM volumes.  It
could not do so last time I tried it, so your /boot directory must
reside on a PC BIOS compatible volume. (a normal partition)

# cd /boot
# mkdir grub
# ln -s . boot
# cd grub
# cp -a /usr/lib/grub/i386-pc/* .

# grub

At this point, you are inside the grub shell.  You are about to replace
the master boot record with Grub!

How is your drive partitioned?  What partition is /boot on?

In Grub, (hd0) means the same as Linux /dev/hda, and (hd1) is /dev/hdb.
(hd0,0) is /dev/hda1, and (hd0,1) is /dev/hda2.  It's simple enough...

So, say your /boot directory resides on /dev/hda1.  It probably
does, but perhaps is not... find out by typing df /boot and seeing
what device it prints out.

If you are using devfs and a 2.4 kernel, it might print something like
the following, rather than something like /dev/hda1:

/dev/ide/host0/bus0/target0/lun0/part1

... for the device name.  If so, you must translate that into a grub
device name...  ls -l /dev/discs/ (note the trailing /!) will show
you the table.  (hd0) == disc0, (hd1) == disc1, and so forth.

Now that you know what disk device /boot resides on, you can use the
grub shell's setup command to install Grub.  There's an info
document for Grub, so you can read that with info grub to get the
details.  The grub shell has a help command also.  Here's the quick
recipe... remember to replace the drive and boot partition in my example
with the right devices for your own machine!

grub setup (hd0) (hd0,0)

If that worked, then proceed to the next step.  Otherwise, RTFM and ask
someone what do next if you can't figure it out...

!!! Don't forget to run lilo if grub DID NOT install, since the failed
grub install probably left your computer unbootable...  If you are not
using Lilo in the MBR (look in lilo.conf and see if boot and root
are the same, or if boot is the device without the partition
number...  If the latter, that is, boot is the device and not a
partition of it, then just running lilo will restore your old MBR,
otherwise, you probably need to reinstall mbr or a (gasp) DOS MBR.  I
imagine that most people with a Linux only system (no dual boot) will
have Lilo in the MBR...  Remember the question regarding this that it
asked during install from the boot-floppies or CD?)

Type Ctrl-D to exit the grub shell, and then use your editor to change
/etc/kernel-img.conf (make a backup of the current one if you like) to
read:

88
do_symlinks=no
image_in_boot=yes
do_initrd=yes
do_bootfloppy=no
do_bootloader=no
postinst_hook=update-grub
postrm_hook=update-grub
88

Now run update-grub, and let it create a default /boot/grub/menu.lst
for you.  Edit that (it is mostly self-documented), then run
update-grub again.  The hooks in the kernel-img.conf will ensure that
the file is updated automaticly when you install a new kernel-image
package.  update-grub adds the new kernel to the boot 

Re: Securing bind..

2002-03-06 Thread Karl M. Hegbloom
 [ The quoted email is dated last December... I hope nobody minds me ]
 [ reviving the conversation.  I'm catching up on a few mail groups. ]

 Russell == Russell Coker [EMAIL PROTECTED] writes:

Russell On Sun, 30 Dec 2001 16:17, Jor-el wrote:
 On Sun, 30 Dec 2001, Russell Coker wrote:
  Also don't allow recursion from outside machines.
 
 Why does this help?

Russell When someone sends a recursive query to your server then they know 
(with a 
Russell good degree of accuracy) what requests are going to be made by 
that server 
Russell and what responses will be expected.  So you can send a recursive 
query for 
Russell www.microsoft.com, then send a dozen packets appearing to be 
responses from 
Russell the Microsoft DNS servers giving an IP address of one of your 
servers.  While 
Russell you're at it you make sure that the false packets you sent had 
long TTL 
Russell entries so that they stay in the cache for a while.  Then suddenly 
you have 
Russell all clients of that DNS server thinking that the MS servers are on 
your IP 
Russell addresses (with lots of potential for abuse).

 {Internal network}[firewall/gateway router]-+{Internet}
 |
 +---[Nameserver]

  The nameserver is configured to allow recursive queries only from
  hosts coming from inside, through the firewall/gateway router (Linux
  2.4 w/iptables).  What if someone on the internal network trys to
  poison the DNS like this?  They could be a student on a school
  network, a contract employee, a misbehaving full timer, or whatever.

  To prevent that, you should have some sort of egress filtering on
  the firewall router, to prevent DNS replies (spoofed) from being
  sent out through the gateway.

  That still does not prevent them from logging into an outside host
  they own -- their home computer, a co-located machine someplace out
  on the net -- and sending the spoofed responses from there.

  My question is; is this scenario possible, and is there any way to
  prevent it from occuring?

Russell Recursive requests go to port 53 (getting a DNS client to even 
talk to 
Russell another port is difficult or impossible depending on the client).

Russell iptables/ipchains blocks access to port 53 from untrusted IPs (IE 
everything 
Russell outside your LAN or dialup pool).

 But then how will anyone on the network access your domain's primary
 name server?

Russell Bind will not be expecting any data other than replies to it's 
requests on 
Russell port 54 (the port that is open to the outside world) so even if 
you screw up 
Russell in your configuration of bind to not allow recursion from the 
outside world 
Russell you're still protected.

 But it's an inside job.  By an expert.  How do I win the chess game
 then?

Russell Smart people NEVER rely on only one layer of protection if they 
can avoid it.

 And they never rely solely on their OWN knowledge and experience.

-- 
mailto: (Karl M. Hegbloom) [EMAIL PROTECTED]
Free the Software  http://www.debian.org/social_contract
http://www.microsharp.com
phone://USA/WA/360-260-2066



Why don't we every see Debian articles on these sites?

2002-01-24 Thread Karl M. Hegbloom
 [ Sorry for sending this to so many lists; I want to reach a wider
   audience. ]

 I would really like to see articles touting Debian GNU/Linux on sites
 like this one:

 URL:http://techupdate.zdnet.com/techupdate/filters/rc/0,14177,6020498,00.html

 The commercial distributions hire PR writers to write press release
 articles that are submitted for publication on sites like zdnet.com.
 It would be very awesome if someone would get a little writing
 practice out of creating an article about Debian!  We are as good as
 or better than the commercial distributions, but the suits won't hire
 folks from the Debian consultants page unless they know Debian exists
 and see it as a viable alternative to the commercial distributions.

 Any tech/business writing students out there using Debian GNU/Linux?
 How about writing an (a series of?) article(s) and see if you can get
 paid by submitting it for a grade in your writing class?  Any
 professors out there who are Debian afficionados?  Please assign
 stuff like this!  Anyone using Debian on the job or to solve
 consulting problems?  Write us an article!

 Code matters more than commercials, but nobody will use it if they
 don't know it exists or don't take it seriously.  Perhaps the
 consultants listed on the Debian web site could toss some cash in a
 hat and pay a good PR person part time?  (I really like the Progeny
 built on strength slogan.  It's the perfect counter to the RHAT
 Red Hat District article.  Enjoy a virtual workout today!  Water
 please.)

 In particular, this article is the sort of thing that decision makers
 who control the purse strings are going to like the sound of... note
 the emphasis on monetary cost and value provided!

 
URL:http://techupdate.zdnet.com/techupdate/stories/main/0,14179,2841690,00.html

 Why don't I write it?  Because I'm just not any good at that sort of
 thing.  I have little business experience and don't come off well
 trying to talk about that type of thing.  I hate neckties.  One of
 you will be much better at it than I.

-- 
mailto: (Karl M. Hegbloom) [EMAIL PROTECTED]
Free the Software  http://www.debian.org/social_contract
http://www.microsharp.com
phone://USA/WA/360-260-2066



Linux counter registration?

2001-11-14 Thread Karl M. Hegbloom
 Have you registered your machines at Linux Counter?  I wonder if we
 really are in second place, or if we are undercounted?

 URL:http://counter.li.org/

-- 
mailto: (Karl M. Hegbloom) [EMAIL PROTECTED]
http://www.microsharp.com
phone://USA/WA/360-260-2066
jabber: [EMAIL PROTECTED]



Freegeek non profit SHOULD use non-profit libré Linux distro.

2001-10-16 Thread Karl M. Hegbloom
 The first in-a-rut NERDO that clackers about flame bait or flame
 war get's E (gnus-summary-mark-as-expirable) pushed on the message
 and I go on to read the coherent responses. ;-) I've been LIFTING
 WEIGHTS and can push it hard and fast if I have to.  Wouldn't you
 rather I read your entire message instead?  Please treat this as a
 serious discussion, cow pokes.  My stream of concousness (the pasta,
 yeah.  It's a glop; overeditted glop or as I think of it glop?) style
 of writing may be difficult for some folks who got forced to sit all
 in a row and salute the flag and pray to it (quite the symbol of
 freedom; obey!  salute! recite it! shut up! don't touch that! be
 polite!) and got taught proper english normative grammar and have
 never burned a draft card or smoked a joint.

 It is my feeling that Freegeek (they don't use the needle nose pliers
 to smoke dope) is making a serious goof - faux paux?  (not my words)
 by installing Mandrake (A for-profit commercial Linux distribution)
 rather than Debian GNU/Linux, a distribution put together by a
 coalition of volunteer software engineers, under the auspices of a
 non-profit corporation.  (Software In the Public Interest, NY) The
 Debian folks are paid, (and not all of the pay is monetary); their
 paychecks come from various sources; debian is _part_ of their job;
 of their LIFE.  They share the work.  They share the kit.  Yes, it's
 a kit.  (Yes, I'm sure you are very disapointed by that.  Another
 darned kit.  melodramatic-sigh/

 Ok, my turn to sling a little fud and paranoia.  Maybe someone
 lobbied _them_ (freegeek; heretofore and henceforth and sobeeit to be
 known forever as them until they see the light and confess to
 wishing they'd joined the Debian family; we hope it's not too late)
 to use Mandrake who saw future customers?  If that's true, money,
 rather than engineering and communal ideals was the
 motivator... (begging your no doubt heated responses...)  Perhaps
 they just plain don't know any darn better.  Maybe they bought into
 that marketroid fud about Debian not being secure.  Insecurity is
 relative?  To what?  Where's a nail biting computer security expert
 when you need one?  (apt-get install tusk-harden; urpmi fnjord) Oh
 yeah and just look at the consultants list for Debian supporters.  So
 there.  And it is NOT A RELIGION.  It is a LIFESTYLE.  Get it
 straight.  Gee whiz.

 They don't know anything at all about Debian; have never used it, nor
 have ever spent the time it takes to become familiar with the
 installer; the installer that rarely needs to be used more than once
 on the same machine; that you run once and for years and years after
 that you just upgrade and never see the installer again... that you
 RUN ONCE ON THE MASTER THAT YOU REPLICATE on every machine after
 that...  and the cost of development!?  Not paid for by slave labor
 at factories who shrink wrap (land fill fodder) and palletize cute
 little waste of natural resources penguin cartooned at $95 a box
 we'll (the upper management) be RICH RICH RICH!  bon bon bon; or by
 doesn't pay the bills one life to live a hundred dollars a day-yay
 bitching all day trying to get that insane man to get a job; but by
 people who are learning an awful lot more working on Debian than
 they'd learn in any usury funded college in the world; by people who
 work for firms that enjoy the prestige of owning stock who can
 code...  hahah.  Just a little joke; I'll put my tie right back on
 now sarcastic-tone/SIR/... had it hanging in my nose ring while I
 had it off... enjoy sharing with the community who provided them with
 the basis they utilize to solve whatever problem it was that brought
 them to their knees before christ our god I swear I'll pay off that
 student loan massa!  ... To install Linux.  To do it yourself.  To
 take responsibility themselves and shoulder a churl's fair
 load. (flash peace-sign/) (but only if you work on what I want you
 to work on and only if I can make a get rich quick eBuck with what you
 create for me and my customers and who really gives a shit about that
 arcane lisp anyway it doesn't pay the usury bills)

 But paid for with the time and effort of many people working in
 _concert_, who believe that there are more important things than
 little green men who... peices of paper.  A wheelbarrow full for a
 loaf of bread at $60,000 a year foreach programmer, admin, and
 whoever can use a computer well enough to warm body sits in the chair
 and wants to go live for real inflation.  Just think of how much
 manpower we are going to need in the future in this industry...
 Share the load; stream of conciousness fire off an email to the
 trouble ticket line and a few months later your wishlist bug is
 closed by upstream thank you for the idea now millions of people can
 enjoy the new feature.  Full stop. For a dollar two ninty five; and
 please send us a few billion more tons of potatos for our starving
 babies (we love to fuck too).

 But only if 

Re: [PLUG] File copy method that is twice as fast as cp -a.

2001-06-07 Thread Karl M. Hegbloom
 Russell == Russell Senior [EMAIL PROTECTED] writes:

 Karl == Karl M Hegbloom [EMAIL PROTECTED] writes:

Russell   c) if I am doing this between machines, I can pipe it through ssh
Russell  thusly:

Russell   tar -C /srcdir -clf - . | ssh targethost 'tar -C /targetdir -xpf 
-'

Russell  or

Russell   ssh targethost 'tar -C /srcdir -clf - .' | tar -C /targetdir 
-xpf -

 This will be faster, I think...  Am I right?  (I've not time to test right 
now.)

 # tar -C /srcdir/.. -clf - srcdir | ssh targethost 'buffer -m 8m -p 75 | tar 
-C /landingzone -xpf -'

 Note that the buffer is running on the other end.

 If the link is slow, you may want to use the -C option to ssh, or
 put that in you ~/.ssh/config for that host.

-- 
mailto: (Karl M. Hegbloom) [EMAIL PROTECTED]
http://www.microsharp.com
phone://USA/WA/360-260-2066
jabber: [EMAIL PROTECTED]



File copy method that is twice as fast as cp -a.

2001-06-03 Thread Karl M. Hegbloom
 the filesystem handing file names off to
 cpio who must then stat and read each file itself, and then also
 write it back out to the new location.  In the tar c | buffer | tar
 x case though, the tar c is making its own list of files, then
 packing them up and piping the whole bundle off to the buffer (our
 BTS?), where it is then ready to be unpacked by the tar x.  Hmmm.

 cpio doesn't know how to find, it just knows how to archive or copy
 through...  Many of you don't know how to fix the code when you find
 a bug, yet.  Nor do I.  Often enough it's way over my head.  Often
 enough the BTS already contains a report about the bug I just found.

 :-) It's late and I'm rambling and I don't feel like editting this
 story any longer.  Just thought I'd share my findings.  Hope it
 helps someone.

-- 
Karl M. Hegbloom
mailto: [EMAIL PROTECTED]



GNU Emacs / XEmacs tip #(incf emacsen-tip-number)

2001-05-06 Thread Karl M. Hegbloom

 I just did an apt-get source in the course of gathering mise en
 place to study OpenLDAP, and needed a quick way to review the man
 pages for all of the Build-Depends libraries, etc.  Here's my
 five minute solution.

 First, I visited debian/control, and used C-space C-e M-w[1] to
 grab a copy of the Build-Depends line.  Here's what it looks like:

Build-Depends: libdb3-dev, libwrap0-dev, debhelper (= 2.0.54), libiodbc2-dev, 
patch, libsasl-dev, dpkg-dev (= 1.7.1), libncurses5-dev

 I then did M-x shell, then C-y to grab that into a shell prompt,
 after a quick cd to a more convienient location than the debian/
 directory of OpenLDAP 2.  I editted it, removing the header, the
 commas, and the version numbers, leaving just a space separated list,
 and then stuck it in a shell variable for easy access.

 % export pkgs=libdb3-dev libwrap0-dev debhelper libiodbc2-dev patch 
libsasl-dev dpkg-dev libncurses5-dev

 I made sure those packages were all installed with a quick[2]:

 % sudo apt-get -q install $pkgs

 ... and then:

 % for pkg in $pkgs; do egrep '/man/' /var/lib/dpkg/info/$pkg.list  
manlist.txt; done

 After that, I did C-x C-f manlist.txt, and wrote the following lisp
 function, which is now in my `user-init-file'[3]:

(require 'thingatpt)
(defun man-locally-at-point ()
  (interactive)
  (let ((manpage (thing-at-point 'filename)))
(if (= 1 (function-max-args #'manual-entry))
(manual-entry (concat manpage  -l))
  (manual-entry manpage -l

 With my cursor on an interesting line in that manlist.txt file now,
 I can type M-x man-locally-at-point, and instantly have the man
 page in view.

 For browsing man pages that are part of a source package, here's what
 I do:

(defun dired-man-locally ()
  (interactive)
  (if (= 1 (function-max-args #'manual-entry))
  (manual-entry (concat (dired-get-filename)  -l))
(manual-entry (dired-get-filename) -l)))

(add-hook 'dired-setup-keys-hook
  #'(lambda ()
  (define-key dired-mode-map [(?l)] #'dired-man-locally)))

 Now the l key in dired mode invokes `dired-man-locally'.


Footnotes: 
[1]  If you don't know what that did, here's a hint.  F1-k invokes
 `describe-key-binding', F1-f invokes `describe-function', and
 F1-a invokes `apropos'.

[2]  The -q here is for quiet, not quick.  It suppresses the
 spinners and updating percentage transfered, which doesn't work
 right in the emacs shell mode.  I don't know why apt-get
 doesn't just check the term settings to see if it can do that.

[3]  This is compatible with both GNU Emacs and XEmacs.



Debian Potato -- Woody on a reiserfs + devfs micro-HOWTO

2000-12-16 Thread Karl M. Hegbloom

 Here's how I installed a Debian Woody workstation that's got a Reiserfs 
filesystem.  Wow!
 It makes `dpkg' a lot quicker, at least subjectively.  (Though other factors 
may be
 involved; it is a snappier machine than the one I use at home.  YMMV)

 The Debian potato installer does not support Reiserfs... (yet.  Have no fear.  
The next
 installer promises to be a *lot* better than the previous somewhat prototypical
 installers.  You can view it via cvs.debian.org and the debian-boot mailing 
list if you
 are curious.)

 I partitioned the single hard drive with a smallish /boot (hda1) (room for 
several
 kernels and maybe, later on, GRUB), two 127 Mb swap partitions, and the rest 
of the drive
 free.  I marked one of the swaps as type Linux Swap and the other as type 
Linux (for
 now).  Then I installed a very minimal potato, with / on the spare swap 
partition, and
 /boot mounted second.  If you select the simple package selection method, 
and don't
 check off any packages, the entire base system will fit in the 127Mb with 
plenty of room
 to spare.

 After it was installed, rebooted and initial configuration completed, I logged 
into a
 co-worker's workstation, grabbed kernel source and the reiserfs patch, built a 
kernel and
 modules, then used `ncftp' to transfer them to my workstation.  If you look in 
the kernel
 toplevel Makefile, you'll find a variable that tells it where to stage the 
modules during
 make modules_install.  I used that and created a tarball of them to 
transfer.  The
 Debian kernel packager deb would have done fine; then I could have installed 
that kernel
 as a deb.  (but the co-worker runs another distro, currently).  While that was 
going on,
 I had `apt-get dist-upgrade' running, bringing the workstation forward to 
current Woody.

 I fixed up /etc/lilo.conf, and used `apt-get' to install the reiserfsprogs 
and devfsd,
 then turned the free partition into a `-v 2' reiserfs.  Now I ran `lilo', and 
rebooted to
 the original configuration, this time with a kernel that's got reiserfs 
support built
 into it, so that I could mount the reiserfs I had created.  (I could just as 
easily have
 delayed mkreiserfs until this point.)

 I mounted the reiserfs partition on /mnt/tmp, and then did `ls /' to get a 
view of what
 needed copying...  I used mkdir to create all of the mountpoints (ones not to 
`cp -a',
 like /mnt/tmp/proc and /mnt/tmp/mnt), and then `cp -a' to copy each of the
 directories (/etc, /usr, /home, ...).  On that machine, /mnt/tmp/dev 
is a
 mountpoint, since I've enabled devfs[1], and thus did not copy /dev over.  
Since GNU `cp
 -a' will preserve timestamps and hardlinks and will copy special files also, 
it's just as
 good as `tar' or `cpio' for this purpose.  (bragThe BusyBox `cp -a' ought to 
work
 correctly also, thanks to yours truely./brag)

 The final steps where fixing /etc/lilo.conf, checking to make sure 
everything is set up
 right in /etc/fstab (pointing it to the new / partition --- the reiserfs), 
setting
 fsckfix to yes in /etc/default/rcS (hindsight; I just learned this last 
night) so
 that it doesn't hang at boot with a question from `fsck.reiserfs', running 
`lilo', and
 then rebooting to the new ready to implement and configure workstation.

 The first thing I did was run `fdisk' to change the partition type of the 
stepping stone
 ext2 / from Linux to Linux Swap, ran `mkswap' on it, added it to 
/etc/fstab, then
 did a `swapon'.  I think it is usually safe to use `fdisk' like that provided 
you don't
 change the partition sizes; just change the partition type. (NO WARRANTEE)

Footnotes: 
[1] Make sure you read the 
kernel-source/Documentation/filesystems/devfs/README if you
plan to use devfs.  There is some very important information there.  Also, 
for you
Debian users, please note that the libc6.deb:/etc/init.d/devpts.sh has 
(had?)
incorrect logic and breaks things (not disastrous; don't panic) with devfs. 
 The grep
statements are incorrect.  I have submitted a bug report.  You are not 
supposed to
mount the devpts when devfs is mounted, since devfs handles the devpts for 
you in
2.4.0 kernels. (gathered from the README) If you do mount it, you will 
experience
problems with things that need to allocate a pty -- eg: `gnome-terminal -e 
screen'
will fail with devpts mounted on a devfs.

-- 
mailto: Karl M. Hegbloom [EMAIL PROTECTED]
http://people.debian.org/~karlheg/
 ( -- These are full-on slotskis. -- )
 This is only a semi-colon -- ;



Re: Scsh (Was: Re: My orphaned packages.)

2000-09-12 Thread Karl M. Hegbloom
 Daniel == Daniel Kobras [EMAIL PROTECTED] writes:

Daniel On 11 Sep 2000, Karl M. Hegbloom wrote:
  Daniel == Daniel Kobras [EMAIL PROTECTED] writes:
 
Daniel On 10 Sep 2000, Karl M. Hegbloom wrote:
  `scsh' ought to be taken over by someone who actually uses it.  I've
  not even looked at it in over a year.
 
Daniel If nobody objects I'd like to do this together with Martin
Daniel Gasbichler who wrote a fair part of scsh 0.6. But me
Daniel having just applied for Debian maintainership this will
Daniel take some time...
 
 I also have an adoption offer from Georg Bauer (Cc'd), who I
 responded to on the attached message, telling him that if he contacts
 the new maintainer team and has a working `scsh' package, he can have
 it.
 
 Since you are teaming with Martin Gasbichler, and since Martin is a
 co-author of Scsh, I'd say that puts you two in as most qualified to
 handle the package.  (Daniel?  Please forward this mail to Martin.)
 
 Perhaps the three of you could team?  What do you all think?

Daniel Sounds good to me. Martin is on vacation for a couple of days but 
I'm sure
Daniel we can work out a scheme everyone's confident with as soon as he's
Daniel back. The big problem IMHO however being that neither of us is 
registered
Daniel as a developer so far. I'd be happy to work on debs for a recent 
version
Daniel of scsh but we'd really need some maintainer to adopt the package 
until my
Daniel appliance gets through.

 Georg Bauer wrote back saying that he thinks you and Martin are more
 qualified, and thus should maintain the Scsh package.

 What stage of the new maintainer process are you in?

 Do you have working packages of Scsh done yet?  Perhaps I can look
 them over and upload them for you.



Scsh (Was: Re: My orphaned packages.)

2000-09-11 Thread Karl M. Hegbloom
 Daniel == Daniel Kobras [EMAIL PROTECTED] writes:

Daniel On 10 Sep 2000, Karl M. Hegbloom wrote:
 `scsh' ought to be taken over by someone who actually uses it.  I've
 not even looked at it in over a year.

Daniel If nobody objects I'd like to do this together with Martin
Daniel Gasbichler who wrote a fair part of scsh 0.6. But me
Daniel having just applied for Debian maintainership this will
Daniel take some time...

 I also have an adoption offer from Georg Bauer (Cc'd), who I
 responded to on the attached message, telling him that if he contacts
 the new maintainer team and has a working `scsh' package, he can have
 it.

 Since you are teaming with Martin Gasbichler, and since Martin is a
 co-author of Scsh, I'd say that puts you two in as most qualified to
 handle the package.  (Daniel?  Please forward this mail to Martin.)

 Perhaps the three of you could team?  What do you all think?


8---8
From: Georg Bauer [EMAIL PROTECTED]
Subject: Bug#71265: Documentation for scsh not in /usr/share/doc
To: Karl M. Hegbloom [EMAIL PROTECTED],
gb [EMAIL PROTECTED]
Date: Sun, 10 Sep 2000 22:26:42 +0200

Hi!

On 10 Sep 2000 11:26:13 -0700 [EMAIL PROTECTED] (Karl M.
Hegbloom) wrote:

 Ok.  I sure wish someone would take over `scsh'.  I've not got time
 for it anymore.

I am not a debian developer currently, but I would step up if some
maintainer is needed. scsh is quite cool and I once created my own package
for it (yours wasn't available at that time). I am not that new on debian
packages, as I have my own repository for (mostly hack) packages for my own
use (http://www.gws-online.de/download/), so I think I could handle it.

I didn't keep up with debian developments in the political area, so I am not
quite sure about what would be needed to be done be me to step up, but your
best way out might be to help me in ;-)



My orphaned packages.

2000-09-10 Thread Karl M. Hegbloom

 [ CC me in replies; I am not subscribed right now. ]

 I do not have time anymore to work on the packages I once maintained
 for Debian.  I'm sorry that I did not properly orphan them.  I just
 don't have time for it.  My health is most important, followed by
 studies.  I cannot live in a chair anymore, and I have to spend my
 computer time working on homework assignments and reading.

 `scsh' ought to be taken over by someone who actually uses it.  I've
 not even looked at it in over a year.

 I've got some work begun on packaging XEmacs-21.2.  It should be
 looked over by anyone interested in continuing it.

 Perhaps after college I will take up some packages again.

 Time to go for a run, then hook on down to the gym for a workout.
 (Pre-vailing.)



Re: apt-get new helixcode gnome

2000-06-06 Thread Karl M. Hegbloom
 Rogerio == Rogerio Brito [EMAIL PROTECTED] writes:

Rogerio On Jun 04 2000, David S. Bateman wrote:
 Just out of curiosity, does Helix add anything to Gnome or is it
 just an easy install? I went to the website and looked at the
 screenshots and it looks pretty much like what i'm running now.
 (gdm,enlightenment,Gnome)

RogerioHelix Gnome is more or less a specially canned version of
RogerioGnome, with some cute applets and things that end users like
Rogerio(like loads and loads of themes).

RogerioIf you run just a vanilla X with a window manager, you might
Rogeriowant to try it. But if you already use GNOME (or KDE for that
Rogeriomatter), then I don't think that it's worth the trouble.

RogerioIn other words, keep what you've got.

 I disagree!  Helix Gnome is *way* better than the old Debian Gnome
 packages were.  It's worth the upgrade!



Re: How to start Gnome

2000-06-06 Thread Karl M. Hegbloom
 MH == MH  [EMAIL PROTECTED] writes:

MH  Not my understanding... It's an executable script like
MH  /etc/X11/Xsession.  Try chmod -x .xsession for yourself.
MH  Then see if what you put in .xsession gets used.  

MH It's getting used anyway...

MH But that's not the interesting point (it seems /etc/X11/Xsession deals 
with
MH both possibilities), so
MH in Debian xinit - e.g. through startx - looks for ~/.xinitrc or 
~/.xsession and
MH the display-managers (xdm and ?) only for .xsession, is this right?

 UTFS



Libré Software universities? (USA or Canada)

2000-06-05 Thread Karl M. Hegbloom

 I cannot get into a CS course at PCC.edu because it is to be taught
 with Micro$oft C++ on the Windows platform, and they don't think
 GCC is a suitable alternative.[1] The instructor is an aging man
 who's really paunchy and out of condition (like, get OUT of the chair
 once in a while) who's got carpal tunnel only on the mouse hand.

 I think I'll stay there for Summer term since I'm already signed up
 and have tuition grants coming... but I will change colleges starting
 Fall term for sure.  If they don't take Freed Software seriously
 enough to allow its use for completion of coursework in CS courses,
 then to hell with them - they've got their head up their butts.

 Are there any good inexpensive community or state colleges out there
 that will allow us to use our freed toolset for the coursework?

 I hope that PDX.edu will let me use GCC.  We'll see what they say
 next fall.  If they don't, I won't be here very long.


Footnotes: 
[1]  `suitable'... hahah.  I'll never wear one in my life anyway.  Form
 follows function.  Never see me in a tie.  Nor using non-liberated
 software for much more than a look-it-over for an example of an
 interface.

-- 
A few months in the laboratory often saves several hours at the library.
mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)
irc: nick karlheg on irc.debian.org



Re: Using gnuserv (Re: bigots - was Emacs - was Mail/news software)

2000-05-31 Thread Karl M. Hegbloom
 jsja == john s jacobs anderson [EMAIL PROTECTED] writes:

 Peter == Peter S Galbraith [EMAIL PROTECTED] writes:

jsja Oh, no, I agree -- that's why I tend toward vi in those
jsja situations. However, over the weekend I've been playing with
jsja gnuserv/gnuclient in XEmacs, and I'm getting towards liking it.

jsja Okay, that could work -- but I'm too forgetful to remember if there's
jsja already an XEmacs process running -- anybody have a shell script that
jsja will execute the following pseudocode?

jsja if there's an XEmacs process running
jsja `gnuclient -q $1`
jsja else
jsja `xemacs -nw $1`

 `fuser' is in the `psmisc' package.



xg
Description: Binary data


Re: Using gnuserv (Re: bigots - was Emacs - was Mail/news software)

2000-05-31 Thread Karl M. Hegbloom
 Carel == Carel Fellinger [EMAIL PROTECTED] writes:

Carel And to really speed up things, you could even use the -vanilla flag
Carel next to -nw to tell xemacs to forget about all those nifty packages
Carel that take all this time to load.

 Better to let it load it all up... have a sip of coffee and think
 about what edits you are going to make or something.  Once it's
 running, using `gnuclient' is instant.


 `XG_INITIAL_XEMACS_ARGS=-unmapped xg' -- panel launcher button

;; `.emacs' (or .xemacs/init.el if you're set up that way)
(when (member -unmapped command-line-args)
  (add-hook 'gnuserv-init-hook
#'(lambda ()
(popup-dialog-box '(XEmacs is ready [Ok nil])

 # .profile
 export EDITOR=xg



xg
Description: Binary data




Getting docs in the emacsen, running subprocesses (Was: Re: [*] buffer of Emacs)

2000-05-31 Thread Karl M. Hegbloom
 maths == maths  [EMAIL PROTECTED] writes:

maths i am a newbie of Emacs. i had learned the toturial, and now reading
maths the info page, but its too long. could someone tell me what's run
maths a program in Emacs's buffer and how to do it ?

 `M-x shell'

  Learn to use the `apropos' and `info'.  `F1 a regexp' finds
  documentation of emacs lisp functions and commands that match the
  regexp.  Try:

 `F1 a process'
 `F1 a shell'
 `F1 a comint'

 You can run `cmulisp' under XEmacs (and GNU Emacs iff `ilisp' is
 installed) also.  `M-x load-library ilisp' then `M-x cmulisp' OR if
 that fails, try `C-u M-x ilisp', use the defaults at most of the
 prompts, but for the lisp program, tell it lisp -lazy.

 Every mode has documentation available on `F1 m'.

 There is a Maxima (a computer algebra system) package in incoming
 right now, and I've got a simple mode for running in from XEmacs.  If
 you like, I'll mail a copy of it to whoever wants it.

-- 
A few months in the laboratory often saves several hours at the library.
mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)
irc: nick karlheg on irc.debian.org



xg - Use `gnuclient' for quick edits. (Was: Re: bigots - was Emacs - was Mail/news software)

2000-05-25 Thread Karl M. Hegbloom
 Peter == Peter S Galbraith [EMAIL PROTECTED] writes:

Peter Felix Natter wrote:

 john s jacobs anderson [EMAIL PROTECTED] writes:
 
  Oh, I'm with you -- I'll often use vi for small edits, even if I have
  XEmacs open on another desktop, just because doing the edit 'in-line'
  in an xterm fits my work-flow better. Again, it's all about choosing
  the right tool for the job.
 
 you can do emacs -nw (no windowing).

Peter Or use gnuserv.

 I use the attached script as EDITOR, and make sure that xemacs has
 been told to `gnuserv-start'.  `fuser' is part of the `psmisc'
 package.



xg
Description: Binary data


/etc/tmac.man.local snippet - `man' output as one long Scroll.

2000-05-23 Thread Karl M. Hegbloom

 I find it annoying that when I view a man page from either the
 emacsen or on a tty, it is broken into pages, when it should really
 be one long scroll.  If you add the following snippet to your
 /etc/tmac.man.local, the `man' pages will no longer be paginated.
 For postscript output, it will still be paginated.  Make sure you
 don't leave any blank lines in the file, or they will show up in the
 output.

 I've filed a wishlist bug against `man-db', so perhaps this will
 become part of our `man' package in the future.

   For /etc/tmac.man.local:
88
.\ The following block appends a section to the title header macro.
.\ If we are in `nroff' mode, which is what is used to produce ascii
.\ or latin1 output from a man page source, then turn off hyphenation,
.\ so that in emacs the highlights in man page references don't have
.\ to try and cross lines, and undefine the traps that execute at the
.\ top and bottom of the pages, then print the heading here, since a
.\ trap used to do that.  This effectively causes `man' output to
.\ appear all on one long scroll, rather than paginated.
.\
.am TH
.if n \{\
.  nh
.  wh 0
.  wh -1i
.  wh -.5i
.  an-header
.\}
..
88

 I must thanks Dominic Dunlop, who replied to my USENET query about
 this, for showing me how to make this work.

-- 
mailto: [EMAIL PROTECTED] (Karl M. Hegbloom)



`dired-man-locally' for XEmacs.

2000-05-23 Thread Karl M. Hegbloom

 If you put the following in your ~/.emacs (or your
 ~/.xemacs/init.el if you prefer) you'll be able to put the cursor
 over a man page filename in `dired', and push `l' to display it in
 the emacs manual viewer.  This works for XEmacs.  Anyone know a way
 to make it work with GNU Emacs?  If so, please post it.

 I have two versions of `man.el' installed; one is the default,
 supplied with XEmacs, and the other is a modified version of the one
 that ships with GNU Emacs.  That is why I test the number of args
 that `manual-entry' takes.

 This is really helpful while you are writing a man page.

(defun dired-man-locally ()
  (interactive)
  (if (= 1 (function-max-args #'manual-entry))
  (manual-entry (concat (dired-get-filename)  -l))
(manual-entry (dired-get-filename) -l)))

(add-hook 'dired-setup-keys-hook
  #'(lambda ()
  (define-key dired-mode-map [(?l)] #'dired-man-locally)))

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: Can't compile GTK programs in Slink

2000-05-20 Thread Karl M. Hegbloom
 Cameron == Cameron Matheson [EMAIL PROTECTED] writes:

Cameron Whenever I try to compile GTK+ or GTK-- programs, It says it can't 
find
Cameron glib-config.h.  I have the rest of the glib headers, so I don't 
know why
Cameron I don't have this one.  Anyway, Does anybody know what package 
that file
Cameron would be in?

 Why not just upgrade to Potato?  Do you have a good net connection?

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: Successful upgrade to potato, with work...

2000-05-20 Thread Karl M. Hegbloom
 Ben == Ben Collins [EMAIL PROTECTED] writes:

Ben Most likely this close to release, I'll just add your (paraphrased) 
notes
Ben to the Release Notes for sparc. This should ease other users upgrades
Ben (sorry again that you had to be the one to do the trial and error :)

 I guess most folks who can afford to own a Sparc are probably savvy
 enough to deal with these problems...  What I wonder though is
 whether the same problems will occur on the i386 platform, where
 there's likely to be more people who don't have as much (formal)
 training and experience.

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: Installation Problem

2000-05-20 Thread Karl M. Hegbloom
 Joab == Joab Schultheis [EMAIL PROTECTED] writes:

Joab hde:  Quantum Fireball ST3.2A, 3079MB w/81kB Cache, CHS=6256,16,63, 
UDMA

Joab Partition check:
Joab hde:  [PTBL] [782/128/63] hde1 hde2 ,  hde5  hde3

 ??? Why is it `hde' rather than `hda'?  Do you have more than one
 drive attached?  How are they physically configured?

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Please use more descriptive article titles. (Was: Re: Configuration)

2000-05-20 Thread Karl M. Hegbloom
 Jay == Jay Kelly [EMAIL PROTECTED] writes:

Jay Im working on getting Samba to run and I came across:

 It would be helpful if the subject of your message read something
 more like Samba Configuration, rather than just Configuration.
 Be more specific, and try to mention something relevant in your
 title, so that folks who don't read all of the messages will be able
 to see from the subject line whether it will be interesting to read
 (or whether they might know the answer to someone's question) or not.

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Glimpse (Re: obsolete packages in dselect)

2000-05-20 Thread Karl M. Hegbloom
 Gary == Gary Hennigan [EMAIL PROTECTED] writes:

Gary If you don't need them then it's generally safe to delete obsolete
Gary packages. I have a couple that I keep around because there's no
Gary replacement in potato. glimpse for example is obsoleted but there's
Gary nothing to substitue for it so I keep it around.

 I think there's still a `glimpse' package around.  Try searching for
 it with either `apt-cache' or the web interface.

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



rawrite broken from DOS-box under W98? (Was: Re: thinkpad install prob)

2000-05-20 Thread Karl M. Hegbloom
 Robert == Robert Waldner [EMAIL PROTECTED] writes:

 Michael Skipper [EMAIL PROTECTED] writes:
 When I try to boot from the rescue floppy (downloaded from the
 http://www.debian.org/releases/slink/i386/
 ch-install-methods.en.html#s-file-descs area and written to
 floppy with rawrite2 in DOS), the install hangs after the following:

Robert Did you write the floppy in _real_ DOS or in a DOS-box in Win9x?

Robert Every floppy I've written in a DOS-box so far wrote fine but
Robert didn't work, so I strongly recommend booting into real DOS (via
Robert F8 when Starting Windows 9x...).

 Have other people exerienced this?  (I've never used Windows = 3.1,
 so I don't know.)

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: Linux Telephony is it real?

2000-05-20 Thread Karl M. Hegbloom
 VEVE == VEVE ROUDY [EMAIL PROTECTED] writes:

VEVE Linux is a great headache that I support for longtime

 Please go to the university and study computer science (and english),
 then help us remedy the situation!

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Realtime sched and floppy (Was: Re: rawrite broken from DOS-box under W98? (Was: Re: thinkpad install prob))

2000-05-20 Thread Karl M. Hegbloom
 Richard == Richard Lyon [EMAIL PROTECTED] writes:

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Behalf Of Karl M. Hegbloom
 Sent: Saturday, 20 May 2000 4:00 PM
 To: Robert Waldner
 Cc: debian-user@lists.debian.org; Michael Skipper
 Subject: rawrite broken from DOS-box under W98? (Was: Re: thinkpad
 install prob)
 
 Have other people exerienced this?  (I've never used Windows = 3.1,
 so I don't know.)
 

Richard It works correctly from the dos box in WIN98 second edition. I 
wouldn't
Richard recommend trying it while you have other application running.

 Linux has similar trouble under certain conditions.  I wrote a little
 program that will set the scheduling policy and priority of a PID,
 and used it to set the `esd' (enlightened sound daemon) to Round
 Robin Scheduling with a high priority, so that the music doesn't skip
 when I switch virtual desktop screens in `sawmill'.  With that
 setting, burning a floppy image with `dd' produces `boot-floppies'
 root.bin diskettes that fail the CRC check.  Resetting the `esd'
 scheduling policy to the standard setting, I find that diskette
 images I burn work fine, given the identical image file and diskette.

 So if you're using POSIX real-time scheduling, don't use the floppy
 disk.  The floppy won't get all of the timeslices it needs, and will
 be unreliable.

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: HELP!

2000-05-19 Thread Karl M. Hegbloom
 Mattthew == Mattthew Russell [EMAIL PROTECTED] writes:

Mattthew Please tell me how to unsubscribe from all debian lists
Mattthew (I am now using another account to access emails, and
Mattthew need to get rid!!)

 Send a message to the the lists's name with -request appended,
 @lists.debian.org with un prepended to subscribe in the subject,
 and also please formally complain to the listmaster that the web
 interface does not allow un - subscription.

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: potato boot floppies and FTP/HTTP install

2000-05-19 Thread Karl M. Hegbloom
 S == S Salman Ahmed [EMAIL PROTECTED] writes:

S I recently tried using Corel Linux and Caldera on this one spare
S system I have at work just because I had received free copies of those
S CDs. After trying to get used to these other distributions I decided
S enough was enough and just had to go back to good old Debian.

 8-{)

S I'd like to do a ftp/http install of potato on this system since we have
S a fast connection at work. How many boot floppies are required to do
S this kind of ftp/http install ?

 There are several `flavors' of i386 boot floppy sets.  You might want
 to try the `compact' or `idepci' version (see the README in the ftp
 archive).  With `compact', often the NIC driver for your card will be
 built into the kernel, and you'll be able to netfetch both the
 drivers and the base system.  Both `compact' and `idepci' are a 3
 disk set - rescue, root, and drivers.  The vanilla kernel is still a
 5 disk set.

S And secondly, where can I download these potato boot floppies/images
S from ?

 http://http.us.debian.org/debian/dists/potato/main/disks-i386

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: Clone of hard drive

2000-05-19 Thread Karl M. Hegbloom
 Jay == Jay Kelly [EMAIL PROTECTED] writes:

Jay Is it possible to clone my linux hard drive to an image or to
Jay another drive?  This way in the event of hard drive failure I
Jay can swap drives and be right back up. If it is, how would I
Jay go about it?

 Don't use `dd' - it won't work well if the two drives are not the
 same size.  Partition and format the new drive using the standard
 tools, then use a `cpio' archive or `cpio' in copythrough mode to
 clone the filesystem.  (RTFM `cpio'.)

 GNU `cp' or the BusyBox `cp' from the _Potato_ `boot-floppies' will
 also work, if you use the `-a' switch and are careful not to try and
 copy `/proc' and other things that shouldn't get copied over.  Don't
 try this with the `boot-floppies' `cp' from before around version
 2.2.8 (iirc) or so - it would flatten the filesystem and would not
 preserve hard links.  (does now though - I saw to that.)

  make-cpio-archive
88
#!/bin/bash
find / -print0 |
 grep --invert-match --extended-regexp --null-data \
  --file=/root/make-cpio-archive.exclude-patterns |
 cpio --create --format=crc --null --reset-access-time --block-size=10 |
 gzip --best  /tmp/system-snapshot_$(date +%Y.%m.%d).cpio.crc.gz
88

   make-cpio-archive.exclude-patterns
88
^/proc/.*
^/tmp/.*
^/lost+found
^/boot/lost+found
^/var/cache/apache/.*
^/var/cache/apt/.*\.deb
^/var/log/.*\.log
^/var/log/\(amanda\|apache\|gdm\|ksymoops\|mailman\|news\|sendfile\|wu-ftpd\)/.*
^/var/log/\(syslog\|smb\|nmb\|messages\|mail\|lpr\|debug\|dmesg\).*
^/var/lock/\.LCK.*
^/var/run/.*\.pid
^/var/run/\(ndc\|utmp\)
^/var/samba/.*
\.bash_history
\.gnome-errors
.*~
/\.saves-.*
/\.#.*
/\.netscape/cache/.*
88

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: Hard Drive Upgrade

2000-05-19 Thread Karl M. Hegbloom
 Daniel == Daniel J Kruszyna [EMAIL PROTECTED] writes:

Daniel I just recently upgraded the hard drive on my Debian machine (an 
intel box
Daniel running potato), and while everything copied successfully, I could 
not get
Daniel the new hard disk to boot.  I then changed my lilo.conf to point to
Daniel /boot/vmlinuz-2.2.14 instead of the symlink at /vmlinuz, and
Daniel everythinig worked fine.  Does anyone know what's going on here?  
How
Daniel come lilo doesn't recognize the symlink like it did before?  If you
Daniel any more information, just let me know.  Thanks. 

 Had you run `lilo' on the new drive before you tried to reboot?  If
 not, then what it was is that the kernel isn't at the same block
 address as it was on the other disk...

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: apt-get, upgrade, /var/cache/apt/archives

2000-05-19 Thread Karl M. Hegbloom

 I also wonder if you still have a list of the selections held by
 `dpkg' in that machine?

 `dpkg --get-selections'

 `dpkg --set-selections  dpkg-selections'

 `apt-get dselect-upgrade'

 Antonio == Antonio Rodriguez [EMAIL PROTECTED] writes:

Antonio I haven't found any package called dpkg-scanpackages. I searched 
the deb
Antonio site, can't find it. can you be more explicit?
Antonio Thanks

% dpkg --search dpkg-scanpackages
diversion by dpkg-multicd from: /usr/bin/dpkg-scanpackages
diversion by dpkg-multicd to: /usr/bin/dpkg-scanpackages.dpkg
dpkg-dev, dpkg-multicd: /usr/bin/dpkg-scanpackages
dpkg-dev: /usr/share/man/man8/dpkg-scanpackages.8.gz
diversion by dpkg-multicd from: /usr/bin/dpkg-scanpackages
diversion by dpkg-multicd to: /usr/bin/dpkg-scanpackages.dpkg
diversion by dpkg-multicd from: /usr/man/man8/dpkg-scanpackages.8.gz
diversion by dpkg-multicd to: /usr/man/man8/dpkg-scanpackages.dpkg.8.gz
dpkg-multicd: /usr/man/man8/dpkg-scanpackages.8.gz
diversion by dpkg-multicd from: /usr/man/man8/dpkg-scanpackages.8.gz
diversion by dpkg-multicd to: /usr/man/man8/dpkg-scanpackages.dpkg.8.gz


 Here's the script I run to update the Packages files in my partial
 mirror.  The mirror is in /home/ftp/pub/mirrors/debian, and this
 script is run with it's PWD in /home/ftp/pub/mirrors.  The
 debian-non-US mirror is a sibling of the debian mirror.

 
#!/bin/sh
pushd debian
dpkg-scanpackages -m 'Debian GNU/Linux binary-i386' 
dists/potato/main/binary-i386 indices/override.potato.gz  
dists/potato/main/binary-i386/Packages
dpkg-scanpackages -m 'Debian GNU/Linux binary-i386' 
dists/potato/contrib/binary-i386 indices/override.potato.contrib.gz  
dists/potato/contrib/binary-i386/Packages
popd

pushd debian-non-US
dpkg-scanpackages -m 'Debian GNU/Linux binary-i386' 
dists/potato/non-US/main/binary-i386 indices-non-US/override.potato.gz  
dists/potato/non-US/main/binary-i386/Packages
dpkg-scanpackages -m 'Debian GNU/Linux binary-i386' 
dists/potato/non-US/contrib/binary-i386 
indices-non-US/override.potato.contrib.gz  
dists/potato/non-US/contrib/binary-i386/Packages
popd

find . -name 'Packages' -exec gzip -f -9 \{\} \;


-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: Deb. 2.2 setting up loopback/route

2000-05-19 Thread Karl M. Hegbloom
 Malte == Malte Schmidt [EMAIL PROTECTED] writes:

Malte i've installed a frozen 2.2 debian and encountered some problems 
setting
Malte up route  network loopback. First I found that a nslookup 
localhost wasn't
Malte working. Since no network is attached to the PC i understood that i 
have to
Malte configure loopback/route. 
Malte I configured the loopback device using 
 ifconfig -lo 127.0.0.1 

 Have a look in /etc/network/interfaces and at `man ifup'.  Look at
 your /etc/hosts and make sure there's an entry for localhost also.

Malte ifconfig told me LOOPBACK DEVICE UP (or so) and a ping
Malte 127.0.0.1 worked

Malte I think that i have to configure route as well and tried a 
 route add -net 127.0.0.0 or route add -net 127.0.0.1
Malte and got the errormsg SIODTTR (something like it)
Malte A cat /proc/net/route showed me no routing at all. 

Malte System is a Debian 2.2 frozen with a 2.2.14 homebrew Kernel i.e. not 
the
Malte standard 2.2.15 Kernel any more. Will update to 2.2.15 again soon.

 You don't have to add a route for the lo interface anymore - it's
 implicit.

Malte Could anybody tell me: Where is my mistake?

 No major mistakes.  You came to the right place for help.

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: emacs ignores certain commands in .emacs

2000-05-19 Thread Karl M. Hegbloom
 Johann == Johann Spies [EMAIL PROTECTED] writes:

Johann I like emacs and prefer it to xemacs because of xemac's delete-key 
and
Johann backspace key behaviour which differs between the console and X
Johann environments. But I have a few problems which I do not understand.

 `M-x customize-apropos delete'.  If you can't fix it that way, then
 try `f1 k', press the offending key, find out what it's called, and
 rebind it in the `term-setup-hook'.  Also see my xhypermap.m4 and
 ext-fkeymap.el in URL:http://master.debian.org/~karlheg/XE-Lisp.

8-8
(add-hook 'text-mode-hook 'turn-on-auto-fill)
(add-hook 'text-mode-hook 'iso-accents-mode)

;; For iso-8859-1 keyboarding (German, Spanish, French, etc.)
(require 'x-compose)
(define-key function-key-map [multi-key] compose-map)
;; Uncomment if you like the binding. éèñ¿¡æß
;; This is the same key you'd use on the console with the
;; x?hypermap.m4 keymap installed.
;; (define-key function-key-map [(control ?.)] compose-map)

(add-hook 'LaTeX-mode-hook 'turn-on-reftex)   ; with AUCTeX LaTeX mode
(add-hook 'latex-mode-hook 'turn-on-reftex)   ; with Emacs latex mode

(gnuserv-start)

(add-hook 'python-mode-hook 'turn-on-font-lock)
8-8

 Don't set the font lock keywords to the python ones.  Font lock mode
 will do that for you when you visit a Python program.

 Use `add-hook' rather than `setq' to get a hook function into a hook
 list variable.

 If you do `M-x load-library reftex', then `M-x customize-group
 reftex', I think you'll find that it's a lot simpler than editting
 .emacs.

 Did you know about `M-x customize-apropos[Tab][Tab]' ?

 Many of the settings you want are on the menubar (eg: global font
 lock mode).  Use the name of the item in the menubar as a hint as to
 what variable you need to set via the `M-x customize' interface.

Johann When I start xemacs, everything seems to work.

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: making potato cds

2000-05-19 Thread Karl M. Hegbloom
 Zachary == Zachary Hartley [EMAIL PROTECTED] writes:

Zachary does anyone know how to make potato cds?
Zachary i found .raw files at debian.bilow.com
Zachary i was thinking i could put them on a cd to install potato
Zachary what do i need to do to make them into a installable cd?

 Grab `gcombust'.  It's the best one, I think.

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: UPS wars: APC vs Tripplite?

2000-05-19 Thread Karl M. Hegbloom
 Jaye == Jaye Inabnit ke6sls [EMAIL PROTECTED] writes:

Jaye I tried them both. I was happier with Triplite... Tho, it too was 
returned. I
Jaye need to leave my box here, some times for days unattended. I have a 
huge
Jaye set of backup batteries that I run all my radio gear from.. I decided 
there
Jaye had to be a product that would use MY batteries and not some little 
dinkster
Jaye battery that will die in 30 minutes.

Jaye So far tho, I haven't found a solution other then using a modified 
sinewave
Jaye which can get pretty noisy. For true sine wave, I did find a product 
for the
Jaye off grid folks with a fairly fast optional relay.  Tho, they 
haven't replied
Jaye to my tech request.

 What about one of those things that's for a car cigarette lighter,
 that has power outlets on it for things like laptops and tv sets?

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Mass install / Autoinstall (Was: Re: Debian vs Red Hat??? I need info.)

2000-05-18 Thread Karl M. Hegbloom
 Jeremy == Jeremy Hansen [EMAIL PROTECTED] writes:

Jeremy Autoinstall (Red Hat's kickstart)
Jeremy This is also something fairly important.  We need this as we do 
a
Jeremy lot of mass installs.

 The best way to do that that I've found so far is to set up a box
 with two removable hard drive racks, install and _configure_
 everything on one drive, then use `cfdisk', `mkswap', and `mke2fs' to
 partition and format the second drive.  Use `cpio' from a script to
 copy everything from the master drive to the copy, then run the
 appropriate Lilo command to make that copy bootable.  You can then
 mount it in another machine and it's ready to go.  You have to filter
 some things out when you copy.  See below.

 Another way to do it would be to create a tar archive, useing find |
 grep -v -f exclude-patterns | cpio, name it `base2_2.tgz' and put it
 in place on an intranet web server where you can point the Debian
 installer's netfetch...  Then you can install several machines at
 once over the LAN... in theory.

 This is just a starter... I have not done this much yet myself, since
 I don't have extra hardware to work with and really need to spend my
 time on reading and studies.  I have done it from drive to drive
 using `cpio' to install the filesystem snapshot, but have not done it
 by naming a tar format archive as base and using the debian-boot
 installer.  It might just work.  NFS mounting the server directory
 where the `cpio' or `tar' archive sits might work fine also.

 You could burn a bootable CD with the archive on it, and on the
 bootable's root.bin, have `sfdisk' etc. and a script that automaticly
 partitions, formats, and installs the archive.  It might be simpler
 to try the netfetch/dbootstrap approach though.

 You can make a copy of the system like this... it will create a
 `cpio' archive... substitute `ustar' for `crc' to make a `tar'
 compatible archive.  RTFM's... you're on your own.

88
#!/bin/bash
find / -print0 |
 grep --invert-match --extended-regexp --null-data 
--file=/root/make-tarball.exclude-patterns |
 cpio --create --format=crc --null --reset-access-time --block-size=10 |
 gzip --best  /tmp/system-snapshot_$(date +%Y.%m.%d).cpio.crc.gz
88

 You may need to tweak this some.  (NO WARRANTEE)

 make-tarball.exclude-patterns
88
^/proc/.*
^/tmp/.*
^/lost+found
^/boot/lost+found
^/var/cache/apache/.*
^/var/cache/apt/.*\.deb
^/var/log/.*\.log
^/var/log/\(amanda\|apache\|gdm\|ksymoops\|mailman\|news\|sendfile\|wu-ftpd\)/.*
^/var/log/\(syslog\|smb\|nmb\|messages\|mail\|lpr\|debug\|dmesg\).*
^/var/lock/\.LCK.*
^/var/run/.*\.pid
^/var/run/\(ndc\|utmp\)
^/var/samba/.*
\.bash_history
\.gnome-errors
.*~
/\.saves-.*
/\.#.*
/\.netscape/cache/.*

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: Debian vs Red Hat??? I need info.

2000-05-18 Thread Karl M. Hegbloom
 Chris == Chris Wagner [EMAIL PROTECTED] writes:

Chris For mass installs, just make a standard issue CD, boot from that CD, 
and
Chris copy over the OS.  Or you could even make a disk image and dd it 
onto the
Chris hard drive.  That assumes you have the same hard drive in all the 
machines.
Chris You can turn a 20GB drive into a 10GB drive. :)  But even if you 
have 4 or 5
Chris different hard drives in your organization, using disk images will 
still
Chris save you tons of time.  Thats what we do at GE, if somebody has a 
funky
Chris problem with their machine, we don't reinstall Windows and all the 
apps, we
Chris just reimage the hard disk.

 It's much better to `cfdisk', `mkswap', `mke2fs' the drive, then use
 `cpio' to copy the filesystems.  See my other message for more
 detail.  This works even when the drives are not the same size, and
 when the partitioning structure is different.  You can run the `cpio'
 across the net too, afaik.  (I know it works over NFS.)

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: Debian vs Red Hat??? I need info.

2000-05-18 Thread Karl M. Hegbloom
 Steve == Steve Morocho [EMAIL PROTECTED] writes:

Steve I agree, rpm is not a piece of crap.  deb packages are a
Steve lot harder to create for the novice users.  There is not
Steve much documentation to help in this area either.  Also, when
Steve updates are released .debs are usually the last to be
Steve released (because someone usually has to hack an .rpm or
Steve something similar) When security is an issue, .rpms are
Steve usually quicker to be released and thus should never be
Steve discounted.  It is fast becoming the standard package
Steve system in the industry.

 Point to ponder:  Are these really statements of fact, or are they
 just marketeering claims from press releases?

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: Help with the /etc/init.d/network

2000-05-18 Thread Karl M. Hegbloom
 Ethan == Ethan Benson [EMAIL PROTECTED] writes:

 Pardon my ignorance. I had no idea that any mechanism for tracking 
threads
 existed other than the subject line. I'll keep that in mind.
 =20
 Incidentally, how exactly does thread tracking work? I assume there is a
 header of some kind. Maybe I'll hack it out. Interesting.

Ethan most non-broken mailers include a reference header, i see you use MS
Ethan Worm+Virus Develop... er Outlook. i am quite impressed they actually
Ethan bothered to implement this feature correctly...

 Is that what does all that weird line splitting with the equal signs
 and stuff?

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: PCI 128...

2000-05-18 Thread Karl M. Hegbloom
 David == David Henningsson [EMAIL PROTECTED] writes:

David Okay, so I continue to try to get my PCI128 working.

 I had trouble with the kernel drivers for the PCI128.  I tried the
 `alsa' modules from Debian, and those did not work either.  I ended
 up useing CVS to get the latest `alsa' drivers from the developers,
 and after following the instructions to build and install them, it
 works fairly well now.  See if you can figure out how to
 that... search for alsa on the net, and follow the clickers...

 It may well be that the latest version of the alsa modules in Woody
 (unstable) will function fine.  I have not tried them lately.

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: x-server for ATI Rage Fury?

2000-05-18 Thread Karl M. Hegbloom
 Ned == Ned Harkey [EMAIL PROTECTED] writes:

Ned I just purchased and installed Debian and there are no x-servers listed
Ned that are compatible with my Rage Fury 32Mb AGP video card. Is it
Ned possible to install the compatible x-server from another distribution
Ned into debian? If so, how would I go about doing this?

 Perhaps the `xserver-rage128' will work?

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: Maxima on debian

2000-05-18 Thread Karl M. Hegbloom

 I believe there is a Maxima package now, either in Woody or in the
 works.  I have one installed that I grabbed out of `incoming' one
 day...

Package: maxima
Status: install ok installed
Priority: optional
Section: math
Installed-Size: 10640
Maintainer: Camm Maguire [EMAIL PROTECTED]
Version: 5.4-1
Depends: wish
Description: A fairly complete computer algebra system.
 This system MAXIMA is a COMMON LISP implementation due to William F.
 Schelter, and is based on the original implementation of Macsyma at
 MIT, as distributed by the Department of Energy.  I now have
 permission from DOE to make derivative copies, and in particular to
 distribute it under the GNU public license.

 You might also like to have:

 export CVSROOT=:pserver:[EMAIL PROTECTED]:/var/cvs/emacsen
 cvs login
  empty password
 cvs -z3 checkout maxima

 ... an XEmacs mode for Maxima that I cobbled together from peices of
 the original maxima-mode.  (It might work with GNU Emacs also - It's
 untested there.)  It will probably become part of the Debian package
 at some point.

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: GDM and 16bpp in X

2000-05-18 Thread Karl M. Hegbloom
 Kelly == Kelly Corbin [EMAIL PROTECTED] writes:

Kelly I can get 16 bit color working with xdm as listed in the HowTo, but
Kelly after switching to GDM, I can't figure out how to do it.  I wan't it 
to
Kelly be a centralized fix, not user specific.  If anyone has an idea, 
please
Kelly let me know. Thanks

 In your /etc/X11/XF86Config file, insert:

DefaultColorDepth 16

 into the top of the Screen section for the driver you use.

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: laptop booting potato

2000-05-18 Thread Karl M. Hegbloom
 cls--colo == cls--colo spgs [EMAIL PROTECTED] writes:

cls--colo i'm just upgrading my slink lapbox to potato (on the
cls--colo 2.0.36 kernel).  my boot hangs at scsi. 

cls--colo i copied a scsi-free kernel into /boot.  but it still
cls--colo tries to boot the scsi kernel and then hangs.

cls--colo i renamed /boot/linux to /boot/vmlinux-2.0.36, the name
cls--colo of the kernel that i had been using.  ...still no go.

cls--colo q:  where might i find the kernel that comes with
cls--colo potato?--what directory is it in?

 Look in /etc/lilo.conf, and see that it's got something like:

image=/vmlinuz
  label=Linux
  ...

 ... and that there's a symlink in / something like:

 /vmlinuz - /boot/vmlinuz-2.2.XX

 OR... the image line can point to /boot/vmlinuz, and the analagous
 symlink can be in /boot.

 Then run `lilo' once, and reboot.

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: The /source of the problem...or is that the /src?

2000-05-18 Thread Karl M. Hegbloom
 montefin == montefin  [EMAIL PROTECTED] writes:

montefin But*, one tiny, core question remains. Which is it: /usr/src,
montefin /usr/local/source, /usr/local/src?

montefin Some docs and HOWTO's say to build Linux in /usr/local/source; 
some
montefin mail, even from this list, mentions /usr/local/src; make-kpkg, I
montefin believe, builds into /usr/src. Sweet 'apt-get --configure source' 
will
montefin build where ever I happen to be at the moment.

 The `kernel-source' packages will put the kernel sources in
 /usr/src/.  /usr/src is mainly for dpkg use, I guess.

 For your own system-wide use, you might like to use
 /usr/local/src/subdir for stuff...

  cd /usr/local/src
  mkdir pkgname
  cd pkgname
  apt-get source pkgname

 By putting it in a subdir like that, when you `debian/rules binary'
 the package, it will write the .deb in a subdir, rather than out in
 the /usr/local/src.  I find that organization more convienient.

 I use the /usr/local/src area for that sort of thing, for CVS
 checkouts, and for my own projects.  But I'm the only one using this
 workstation.  On a multi-user machine, you might want to create
 per-user directories up in /usr/local/src/user, OR just let them
 work from inside their $HOME/src directory.

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



[humor] opensource.microsoft.com

2000-05-18 Thread Karl M. Hegbloom

 I was just reading /. and a strange idea struck me...

 Have you ever seen that Unix utils joke where you type in `ar god'
 and it says god does not exist?

[EMAIL PROTECTED]:~
% host opensource.microsoft.com
opensource.microsoft.com does not exist, try again
Exit Status: [0]
[EMAIL PROTECTED]:~
% host cvs.microsoft.com
cvs.microsoft.com does not exist, try again
Exit Status: [0]
[EMAIL PROTECTED]:~
% host microsoft.org
 at this point it hangs for several seconds, as though dumbstruck
microsoft.org A record not found, server failure
Exit Status: [0]
[EMAIL PROTECTED]:~
% 

-- 
Those who do not study Linux are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Wordinspect and the Mini-Commander

2000-05-18 Thread Karl M. Hegbloom

 I just discovered a really neat thing and thought I'd share it with
 yous.

 There's a GTK+ `dict' client called `wordinspect'.  I've got the
 `mini-commander' applet running in the gnome panel, and it lets you
 set up macros.  I defined:

 ?  to  `(wordinspect --define '$1'  wait)'

 ... and now I can type `?tree' in the box, and the definition pops
 up.  Neato!

-- 
Those who do not study Trees are doomed to live in them - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: Maxima on debian

2000-05-18 Thread Karl M. Hegbloom
 Boris == Boris Veytsman [EMAIL PROTECTED] writes:

 From: [EMAIL PROTECTED] (Karl M. Hegbloom)
 Date: 17 May 2000 22:25:14 -0700
 
 
 I believe there is a Maxima package now, either in Woody or in the
 works.  I have one installed that I grabbed out of `incoming' one
 day...

Boris Interesting. Does it work well? Here are some problems with the 
Maxima
Boris I compiled. I wrote a letter to Schetler, but he did not respond :(((

 It works pretty well, so far.  I've just signed up for math 112, so
 have not learned the mathematics that I'll eventually need Maxima for
 yet.

Boris 2. Is it possible to enable readline in gcl and maxima? It would be
Borisgreat to use arrows to edit the command line and use history.

 Why not just run it under XEmacs or GNU Emacs?  I've updated the
 maxima-mode.el that ships with Maxima.  You can have a copy if you
 like.  Mail me for CVS instructions.

 Other interesting things like it are: jacal and TeXmacs.  TeXmacs is
 a WYSIWYG editor for TeX that's going to be an interface to computer
 algebra systems.  It has Guile embedded as a scripting language.
 Right now it's using a GUI toolkit written by it's author, but he
 says that he plans to eventually make it use Guile-GTK instead.

 It would be interesting to tie that to jacal (or something like it
 and Maxima, but better, written with Guile's new Goops object system)
 and a reinterfaced GeomView.

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: Help with the /etc/init.d/network

2000-05-18 Thread Karl M. Hegbloom
 A == A Scott White [EMAIL PROTECTED] writes:

A Ethan Benson wrote:
 that is because outlook is broken and does not understand
 RFC2015.

A What Linux MUA should I use. I'd like one that has a complete feature set
A and doesn't rely on X (I don't like X).

 Gnus in XEmacs is the best there is.  Use `nnml' for mail with the
 `fancy' splitting.  RTFM.  It's well worth the effort to get it
 configured.

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: MUAs (was Re: Help with the /etc/init.d/network)

2000-05-18 Thread Karl M. Hegbloom
 Ethan == Ethan Benson [EMAIL PROTECTED] writes:

Ethan the only MUA for *nix that includes an MTA is bloatscape
Ethan communicator. 

 It's better to install a MTA, like `exim', `postfix', or `sendmail'.
 You can set it up so it doesn't accept connections from the net if
 you like.

 I didn't like Netscrape for mail - it word wraps in the wrong places
 and to put mail in separate folders you've either got to monkey
 around with `procmail' or endlessly drag and drop from Inbox to your
 sort folders.

 Go with `gnus' if you've got a lot of mail, and with `vm' if you've
 got not too much.  Both work very well in XEmacs, the finest text
 editor on the planet.  (soon to have gtk widgetry!)

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: Mass install / Autoinstall (Was: Re: Debian vs Red Hat??? I need info.)

2000-05-18 Thread Karl M. Hegbloom
 Craig == Craig Sanders [EMAIL PROTECTED] writes:

 For example, I have 20 machines at a co location I need to go install.
 Right now with Red Hat I can take my laptop, slap a floppy in each
 machine, turn 'em on, 5 minutes later I have 20 fully configured
 machines ready to rock.

Craig you can do the same thing with debian...just install the nfs server
Craig package on your laptop.

 I think that with `Woody' we'll have something as good as or better
 than KickStart.  Read up on `debconf', and think about what I said
 about creating a custom Debian `baseX_X.tgz'.

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: XF86, maxima, gnome binaries

2000-05-17 Thread Karl M. Hegbloom

 Maxima is packaged for Woody.

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: remapping M$ windows key to act as meta under console emacs (like X)

2000-05-16 Thread Karl M. Hegbloom
 Britton == Britton  [EMAIL PROTECTED] writes:

Britton I notice that under X, emacs now uses the little window key as a 
meta,
Britton while doing something totally other with Alt.  This is fine, but I 
like to
Britton use emacs from the console, and there Alt is still needed.  I 
don't think
Britton it's a good idea to have emacs requiring different keystrokes 
depending on
Britton where is is run.  Anyone know the best way to make things
Britton consistent?  Should this perhaps be changed in the package?

 You have to change key keymaps with the `loadkeys' for the console or
 with `xmodmap' for X.  I've created a console keymap for use with
 XEmacs that you might like to try.  Look in:

   URL:http://master.debian.org/~karlheg/XE-Lisp

 ... for xhypermap.m4 and ext-fkeymap.el.

 If you don't like how I've got the change vt keys mapped, then you
 can modify the .m4 file to suit yourself.  I based it on the
 hypermap.m4 that's part of `console-tools'.

-- 
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)



Re: gnome-session + .Xclients, stopped working

2000-05-15 Thread Karl M. Hegbloom

 I think the best solution would be to, rather than trying to use
 .XClients, .xsession, or .gnomerc, to get rid of those, put a script
 in ~/bin, and use the Gnome configuration tool to make that script be
 a startup program.



Re: Cannot mail out of debian

2000-05-15 Thread Karl M. Hegbloom
 Russ == Russ Pitman [EMAIL PROTECTED] writes:

Russ May 13 15:31:58 arjay kernel: Packet log: output DENY ppp0 PROTO=6
Russ  203.31.178.49:1038 203.31.178.14:110 L=60 S=0x00 I=99 F=0x T=64
Russ SYN (#2)

 Install `gfcc' (Gnome Firewall Control Center), and rebuild your
 firewall setup using that.  You can have it export the rules to a
 shell script, then do:

 # cd /etc/rcS.d
 # ln -s ../gfcc/rules/scriptname.sh S43scriptname.sh

 ... so that it's loaded when you reboot.  Make sure that in your
 configuration that S43 is the right place to make that symlink.

 There's a pretty decent starting point rule set included with `gfcc'.



Re: small problem after installing 2.2.15 kernel

2000-05-15 Thread Karl M. Hegbloom
 Pollywog == Pollywog  [EMAIL PROTECTED] writes:

Pollywog I installed the 2.2.15 kernel and now I get this in my logs:
Pollywog May 14 06:07:08 lilypad kernel: cat uses obsolete /proc/pci 
interface

 Go to kernelnotes.org, and have a look at:

  URL:http://kernelnotes.org/change22.html

 ... under PCI utils.  There's a Debian package, more likely than not.



Re: modprobe failed: no /lib/modules/2.2.14-5.0

2000-05-15 Thread Karl M. Hegbloom
 David == David Karlin [EMAIL PROTECTED] writes:

David I have installed potato on an old machine.  I'm trying to reconfigure
David the modules so that the ethernet card will work.  When I run depmod,
David I get the following message:

David depmod: Can't open /lib/modules/2.2.14-5.0/modules.dep for writing

David So I do cd /lib/modules and ls and get:

David 2.2.15

David unmame -a tells me that I'm running 2.2.14-5.0.

David I don't understand why I have /lib/modules/2.2.15, and not 
David /lib/modules/2.2.14-5.0, although it explains why when I do
David modprobe ne io=0x300 I get:

David modprobe: Can't open dependencies file 
/lib/modules/2.2.14-5.0/modules.dep (No such file or directory)

David I tried ln -s 2.2.15 2.2.14-5.0 and reran modprobe ne io=0x300 
and
David get a bunch of unresolved symbol messages

David Anyone have a clue on this?

 The modules for the kernel you are running are apparentl *not*
 installed.  You get the unresolved symbol errors because the modules
 that are there do not correctly match the running kernel.

 Did you build the kernel yourself?  If so, then go back to the
 kernel-source directory, and run:

 # make modules  make modules_install

 Make sure you remove that symlink you made *first*, then run the
 `depmod -a' again, and see if everything just works after that.


-- 
I am karlheg of deB-ORG.  You will be freed.
mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)
Portland, OR  USA
Debian GNU Potato Linux 2.2  AMD K6-200(@233) XEmacs-21.2beta



Re: fdisk problem

2000-05-15 Thread Karl M. Hegbloom

 I've found that I get best results when I set the disk, in the BIOS,
 to standard translation, rather than to LBA or Large.

-- 
I am karlheg of deB-ORG.  You will be freed.
mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)
Portland, OR  USA
Debian GNU Potato Linux 2.2  AMD K6-200(@233) XEmacs-21.2beta



Re: fdisk problem

2000-05-15 Thread Karl M. Hegbloom

 PS : I should add that I've not an awful lot of experience installing
 Debian, since I don't have hardware to experiment with.  I've only
 installed on three or four different computers.  (quite a few times,
 but only on those few machines.)



Re: Setting up X

2000-05-15 Thread Karl M. Hegbloom
 Kent == Kent West [EMAIL PROTECTED] writes:

Kent How have you tried to set up X? Did you use xf86config, or
Kent XF86Setup? Try using the other tool; sometimes one will give better
Kent results than the other one.

 `anXious' from the `xviddetect' package works very well also.  It
 will even download missing packages for you with `apt-get'.



Re: How to change log rotation schedule

2000-05-15 Thread Karl M. Hegbloom
 Paul == Paul McHale [EMAIL PROTECTED] writes:

Paul I would like for /var/log/mail.* to rotate daily instead of weekly.  
When I
Paul use syslogd-listfiles, it verifies mail.* is configured to rotate 
weekly.  I
Paul checked the syslogd script in /etc/cron.daily and /etc/cron.weekly.  
They
Paul are all running as the they should calling savelog according to
Paul configuration.

Paul How do I change configuration to rotate mail.* daily?  If there is a
Paul configuration file, I can't find the rascal anywhere.  A book 
mentioned
Paul /etc/logrotate.d, but I think this only applies to Caldera.  I would 
assume
Paul debian has a similar file ...

 `logrotate' (from Red Hat Software) is packaged in Potato, but is not
 used by everything yet.  (Grep the list archives on debian-policy and
 debian-devel for it if you're interested in how the discussion about
 that went.)

 You can install it, RTFM (and RTFS if you feel like it), then use it
 to customize your log rotation setup.  It works very well.



Re: What is the diff. b/w libstdc++ and libg++ ?

2000-05-15 Thread Karl M. Hegbloom
 Graeme == Graeme Mathieson [EMAIL PROTECTED] writes:

Graeme If you want to search for the package that a file belongs to, find
Graeme /debian/dists/potato/Contents-i386.gz and zgrep for particular 
files.

 `dpkg-awk' works pretty good, and so does `apt-cache', for finding
 things.  I also like to use the web search interface at
 www.debian.org, under the Packages clicker.



Re: Debian over Caldera

2000-05-15 Thread Karl M. Hegbloom
 John == John Plummer [EMAIL PROTECTED] writes:

John Would like to install Debian in place of Caldera on a PC
John currently dual booting NT and Caldera.

 Hey!  Great idea!  8-{)

John Caldera installed cleanly, including seeing the cable modem,
John except for configuring the printer.  But is doesn't seem to
John have the 'open', non-commercial mindset that Debian has.
John Installing other software packages has incurred problems for
John which a support maillist like this wasn't found.

 Probably costs $80/hr to talk to some kid at Caldera on the phone
 too.  Though I'd like to have a little money now and then for what I
 do for Debian, I can't see it being worth *that* much...  (Someone
 else besides the kid on the phone probalby gets most of the $80...)

John The question then is what is the easiest way to install
John Debian over the Caldera?

 The best way as I see it would be to create tar archives of your
 personal files and any configurations you've put much work into, then
 go ahead and install Debian Potato after re-initializing (wipe it
 clean) the disk partition.  After it's installed, you can restore
 your home directory, CVSROOT, and whatever else you tarchived.

 Trying to install over another Linux distro without clearing the
 partition first like that is too iffy - it would likely leave cruft
 behind, and the file system layout may differ in wierd unpredictable
 ways, leading to lots of trouble later on.

 Back it up, blow it away, and `dbootstrap' it!

-- 
I am karlheg of deB-ORG.  You will be freed.
mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)
Portland, OR  USA
Debian GNU Potato Linux 2.2  AMD K6-200(@233) XEmacs-21.2beta



Re: Mouse Configuration

2000-05-15 Thread Karl M. Hegbloom
 Jay == Jay Kelly [EMAIL PROTECTED] writes:

Jay Anyone have any idea;s what would keep my mouse from woring
Jay in X Windows.  Its a PS2 Kensington mouse. I cant seem to get
Jay it to work. Is it compatible with Debian?

 Likely - It's /dev/psaux.

-- 
I am karlheg of deB-ORG.  You will be freed.
mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)
Portland, OR  USA
Debian GNU Potato Linux 2.2  AMD K6-200(@233) XEmacs-21.2beta



[Kevin Cosgrove kevinc@dOink.COM] [PLUG] FW: humor?? UNIX - Not a virus.....

2000-05-13 Thread Karl M. Hegbloom

 Gotcha all!  Delete your old .deb's and upgrade, you Rats!  Bwahhaha! 
 haha!

--- Start of forwarded message ---
Date: Fri May 12 22:52:55 2000
From: Kevin Cosgrove [EMAIL PROTECTED]
Subject: [PLUG] FW: humor?? UNIX - Not a virus.

Topics:
   [PLUG] FW: humor?? UNIX - Not a virus.


--

Date: Fri, 12 May 2000 16:09:35 -0700
From: Kevin Cosgrove [EMAIL PROTECTED]
Subject: [PLUG] FW: humor?? UNIX - Not a virus.
Message-Id: [EMAIL PROTECTED]
Content-Type: text


- -- Forwarded Message


This is a virus that works on the honor system: For those Unix 
Linux fanatics who're feeling left out, please forward this message
to everyone you know and delete a bunch of your files at random.


- -- End of Forwarded Message




--

End of forwardMwEqws Digest
***
--- End of forwarded message ---



Re: Promise Ultra 66

2000-03-19 Thread Karl M. Hegbloom
 Ray == Ray  J.H.M. writes:

Ray On Fri, Mar 17, 2000 at 21:32:35 -0800, Brian Lavender wrote:
 but it just flashes the characters
 
 2FA:

Ray That's from the Master Boot Record program. 

 I also tried booting with a floppy with IDE support, but it won't
 detect it either.

Ray The bootfloppies for Slink don't handle UDMA66. You need to use 
bootfloppies
Ray with a kernel on them that's patched for UDMA66 support (using the IDE
Ray patches from ftp.kernel.org:/pub/linux/kernel/people/hedrick/). I'm 
not sure
Ray if potato's bootfloppies (will) support UDMA66.

 Oh, so _that_ is what the ide kernel is for.  I wish the long
 description in the package would at least describe what it's for...

 Should we create another flavor ide?


Re: Promise Ultra 66

2000-03-19 Thread Karl M. Hegbloom
 Adam == Adam Di Carlo [EMAIL PROTECTED] writes:

Adam [EMAIL PROTECTED] (Karl M. Hegbloom) writes:
 The bootfloppies for Slink don't handle UDMA66. You need to use
 bootfloppies with a kernel on them that's patched for UDMA66
 support (using the IDE patches from
 ftp.kernel.org:/pub/linux/kernel/people/hedrick/). I'm not sure if
 potato's bootfloppies (will) support UDMA66.

 Oh, so _that_ is what the ide kernel is for.  I wish the long
 description in the package would at least describe what it's for...
 
 Should we create another flavor ide?

Adam Yes -- tausq is working on a no-scsi flavor and the ide flavor.  We
Adam already have the kernel and pcmcia modules in potato for the ide patch
Adam flavor.  Randolph had a good name for it... I think maybe the name was
Adam -idepatch or -udma66.

 I like `-udma66', unless of course the kernel-image*ide gets a decent
 description added to the control file.  I leave this to Tausq.

Adam So hopefully we will have this ready soon.

 Great news.


Re: Why no package seems to take care of the new /dev/console device?

2000-01-31 Thread Karl M. Hegbloom
 Filip == Filip Van Raemdonck [EMAIL PROTECTED] writes:

Filip Just a question... what are the correct permissions for
Filip /dev/console? I found it to be 622 on my system... these
Filip look rather unusual to me, at least.

 I'm not sure what's correct...  Here's what it looks like here.

crw--w--w-1 root tty5,   1 Jan 26 15:51 /dev/console
crw-rw-rw-1 root tty5,   0 Jan 26 14:13 /dev/tty
crw--w--w-1 root root   4,   0 Jan 26 15:51 /dev/tty0
crw---1 root root   4,   1 Jan 31 03:05 /dev/tty1
crw-rw-rw-1 root tty4,  10 Jan 26 15:51 /dev/tty10
crw-rw-rw-1 root tty4,  11 Jan 26 15:51 /dev/tty11
crw-rw-rw-1 root root   4,  12 Jan 31 12:53 /dev/tty12
crw-rw-rw-1 root tty4,   2 Jan 26 15:51 /dev/tty2
crw-rw-rw-1 root tty4,   3 Jan 26 15:51 /dev/tty3
crw-rw-rw-1 root tty4,   4 Jan 26 15:51 /dev/tty4
crw-rw-rw-1 root tty4,   5 Jan 26 15:51 /dev/tty5
crw-rw-rw-1 root tty4,   6 Jan 26 15:51 /dev/tty6
crw-rw-rw-1 root root   4,   7 Jan 26 15:51 /dev/tty7
crw-rw-rw-1 root tty4,   8 Jan 26 15:51 /dev/tty8
crw-rw-rw-1 root tty4,   9 Jan 26 15:51 /dev/tty9

 I think these are wrong.  /dev/tty{1,2} have `getty' running on
 them right now. /dev/tty12 has output from `syslog-ng'.

 According to W. Richard Stevens, in Advanced Programming in the UNIX
 Environment, they should be something like `root.tty' `u=rw,g=w,o='.

 I don't see why these ought to be world writeable like this.  The
 `getty' runs as root, writeable for group tty is for `write',
 `sendmsg', and `wall'.

 I think that the section at the top of `MAKEDEV' where the
 permissions are configured ought to be pulled out into a conffile
 down in /etc.


Re: Why no package seems to take care of the new /dev/console device?

2000-01-29 Thread Karl M. Hegbloom
 Shaul == Shaul Karl [EMAIL PROTECTED] writes:

Shaul Is it simply a matter of rm slink /dev/console and MAKEDEV
Shaul the new /dev/console and that is all? What will be the
Shaul consequences of doing these rm and MAKEDEDV on a running
Shaul system?

 That's what I did.  There's code in MAKEDEV that tests the running
 kernel version, and does the right thing based on that.  I don't
 think you have to rm the old one first; just run `MAKEDEV console'.

 Actually, on a formerly `slink' system upgraded to kernel 2.2.x, I
 think you should run `MAKEDEV generic' once.  There are probably
 other devices it needs to update.


Terminal flow control, noting errors during `apt-get install' (Was: Re: random comments and requests for information)

2000-01-26 Thread Karl M. Hegbloom
 Ross == Ross Boylan [EMAIL PROTECTED] writes:

Ross Third, is there a standard way to capture errors?  During
Ross most of the install things just sail by.

 Use the terminal flow-control keys to stop and start the output of
 `dpkg'.  `C-s' should stop the output, blocking the `dpkg' when it
 tries to print anything -- the OS stops it, blocked on IO.  `C-q'
 will start output again.  This is a feature of the terminal driver.
 It works for sure in `xterm', `gnome-terminal', and the Linux
 console.  On the Linux console, the `Scroll-Lock' key will work just
 as well as `C-s' `C-q'.

 So, you can stop it, then use `gpm'[1], or the middle mouse button in
 X, to highlight and paste into a running editor.


Footnotes: 
[1] `gpm' is the general purpose mouse; You can paste from one
`Alt-Fn' Linux console to another with it.


/dev/console - Kernel upgrades from 2.0 to 2.2

2000-01-26 Thread Karl M. Hegbloom

 I was learning (a little) about tty devices, and learned, from
 `potato' MAKEDEV and the kernel sources, that in 2.0 kernels,
 /dev/console - /dev/tty0, but in 2.2, /dev/console should be node
 5,1.

 I've been running 2.2 for some time... but until yesterday, my
 /dev/console was still a symlink to /dev/tty0.  I removed it and ran
 `MAKEDEV console', and now it is corrected.

 What's up with this?  Why wasn't that done for me when I upgraded my
 kernel?  Answering my own question... I didn't use the Debian kernel
 package to upgrade; so even if it does fix those devices, it wouldn't
 have been done on my machine.

 /dev/tty0 and /dev/console have different major device numbers.

 /dev/tty and /dev/console are both major 5.

 /dev/tty is the controlling terminal of the current process.  I am
 not sure, but I think that if a process does not have a controlling
 terminal, that /dev/tty and /dev/console are the same thing... Is
 that true?

 /dev/console is always the foreground Linux text console?

 What is /dev/tty0 now?

 The manual pages for this stuff are out of date.  They do not explain
 very much about these devices.  The only real source of documentation
 is the kernel source itself; reading that is a major undertaking.


README: Reporting Bugs

1999-07-23 Thread Karl M. Hegbloom

 We appreciate the bug reports you, as users, submit to the bug
 tracking system.  It helps us improve the software.  When you do find 
 a bug, and wish to report it, please:

 * Use one of the bug reporting tools: `bug' or `reportbug'.  You can
   set your EDITOR environment variable, and it will use your prefered
   editing tool.  It will write in the proper pseudo headers for the
   BTS to parse, and it will fill in the version number and some
   dependancy information.  All you type is the report itself.  This
   makes things easier for both you and the maintainer(s) who will
   read the bug report.

 * !!! Before you submit a bug report, check to see if the bug has
   already been reported !!!  The bugged package's maintainer must do
   work to merge duplicate bug reports, to fix bugs or apply patches
   then upload the new release, and to close reports after the bug has
   been swatted.

   It eases our labor some if you don't re-report bugs that someone
   else has already reported...  UNLESS you have additional
   information that you feel we'll need.  So PLEASE, go to the Debian
   web site, at URL:http://www.debian.org, follow the link to the
   bug tracking system, and use the provided interface to look up bugs
   on the package.  Look for ones that might be the similar thing to
   what you've found wrong, and read them.  If you feel the other
   reporter did a good enough job, you're done.

 * If you know how to fix the problem, have the time to do so, and the
   diff is non-trivial, PLEASE take the time to fix the problem and
   submit a patch along with your bug report.  Your patch should be
   accompanied by a `ChangeLog' entry or a short paragraph or two
   itemizing and detailing the modifications.  (See: the GNU Coding
   Standards info documentation for good stuff about ChangeLogs.)
   Please don't send a patch for the ChangeLog, but send a paste-in of
   the relevant entry or entries.  You will be given credit for the
   bugfix, and your patch will be forwarded to the upstream author if
   that is appropriate.  Software doesn't just spring into existance
   into empty *scratch* buffers.  It takes time and effort to produce.
   We appreciate people who help us carry the load.

   (If you're bored and want something to do, go look up bugs on
   things, and submit patches...  I would be good to check with the
   maintainer first, to see if it still needs to be done.)

  Thank you for using and supporting Debian GNU Linux/Hurd!

Karl M. Hegbloom [EMAIL PROTECTED]

 (Maybe I'm out on a limb... I'm hoping that the other maintainers
 think the similar way; so maybe I speak for Debian, maybe just for
 myself.  You know how that is.  Either they'll agree that I'm right
 or they won't.)


Re: Xemacs

1999-07-21 Thread Karl M. Hegbloom
 Timothy == Timothy Hospedales [EMAIL PROTECTED] writes:

Timothy So can anyone point me to any online tutorial/manual type
Timothy resources which are more comprehensive than the included
Timothy tutorial (from help menu) which doesnt even scratch the
Timothy surface?

 There's a Debian package of the `Introduction to Emacs Lisp' that's
 worth downloading and reading.

 Some useful commands are `f1 a' (apropos) `f1 f', (describe function)
 `f1 v' (describe variable), `f1 w' (where is...), and `f1 k' (what
 does this key do?).  If you install the supportel package, you can
 also do `M-x find-function' or `M-x find-library' to jump to the
 source.

 The source to modes is often a good way to learn what the keybindings
 are...  though `f1 m' (describe mode) and `f1 i' are usually quite
 adequate.


Re: [PLUG] No good to be Root?

1999-07-21 Thread Karl M. Hegbloom
 James == James  [EMAIL PROTECTED] writes:

James I hope this isn't too much of a newbie question, but I
James thought I'd get it out of the way.  All the manuals I read
James suggest to NOT administer Linux as root, but nowhere have I
James found the reason why.  What is the major problem with
James being on your system as root all the time?  Everyone
James suggests logging in as a normal user.  Why?  Thanks.

 Last week, I was resetting ownerships and permissions on some
 directories on a machine I adminster.  I was working as `root', using 
 `dired' in XEmacs.  In dired, you can run a shell command on a file
 or directory the cursor is on by pushing the `!' key, then typing the 
 command in the minibuffer.

 In that command, `*' expands to the file you had the cursor on, or to
 the list of marked files, if you've marked a set.  `.' expands to
 $(pwd).

 I put the cursor on a directory, intending to `chown -R' it to a
 user's name and group, typed `!', followed by (as if I was working in
 an xterm or from the console and had done a `cd' into that directory) 
 `chown -R user.group .', when it should have been `chown -R
 user.group *' or just plain leave off the star...

 The command was taking a lot longer than I expected... and the
 directory I ran it on was anchored off `/'.  It took the rest of the
 day (6 hours?) to reset the ownerships and permissions on the
 filesystem, because it effectively ran `chown -R user.group /', and
 almost finished before I stopped it.  There's about 12Gb of files on
 this box.  (It's very fast SCSI.)

 Well, I HAD to be root to do that kind of admin work.  But as a user, 
 had I been working in my own directories and typed a command like
 that or worse, it could NOT escape and affect other people's or the
 system's files, because of *nix file protections.

 It's a very good thing that one of the default Debian cron.daily jobs 
 makes a listing of the setuid and setgid binaries on the system.  (It 
 does this then generates a diff against yesterday, so you can see if
 things are being changed on you.)  I was able to write a simple `awk' 
 command that dumped a command script to fix them all.

 I've heard that `rpm' keeps a database of the ownership and
 permission settings of every registered file.  It would be nice if
 `dpkg' would incorporate that functionality someday.


`portmap' won't start. Why?

1998-06-19 Thread Karl M. Hegbloom

Jun 18 21:03:06 bittersweet portmap[7548]: svc_run: - select failed: Bad file 
descriptor
Jun 18 21:03:06 bittersweet portmap[7548]: run_svc returned unexpectedly

 What does this mean?  Why won't portmap start?


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Work-Needing and Prospective Packages for Debian GNU/Linux

1997-12-16 Thread Karl M. Hegbloom

wnpp o Removed perl documentaion from works in progress, as the
wnpp provided manpages are sufficient.

 There really needs to be a `perl-info' package, with the Perl TeXinfo
 docs in it.  `cperl-mode' in the emacs editors has the ability to
 look up perl functions in the info.  It's indispensable.

 Yes, I should `bug' the maintainer... ;-)


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: netbook and diskless workstations

1997-09-15 Thread Karl M. Hegbloom
 clashes.
Also, the whole /var hierarchy is kept differently to prevent any risk, but
that could be optimized perhaps. Note that nfsd and mountd have been
replaced by a script which switches off translations, in the style

-rwxr-xr-x   2 root root   70 Mar 22 12:54 /usr/sbin/rpc.mountd
-rwxr-xr-x   1 root root32772 Jun 11  1995 
/usr/sbin/rpc.mountd.notrans
-rwxr-xr-x   2 root root   70 Mar 22 12:54 /usr/sbin/rpc.nfsd
-rwxr-xr-x   1 root root45060 Jun 11  1995 
/usr/sbin/rpc.nfsd.notrans

where /usr/sbin/rpc.mountd has the contents

#!/bin/sh
exec /usr/bin/env - NAMETRANS= `/usr/bin/env` $0.notrans $*

Of course, that could be improved, but is a quick hack to get things work.

Enjoy,

-- Thomas


The author can be contacted under
   [EMAIL PROTECTED]
or snailmail
   Thomas Schoebel-Theuer
   Institut fuer Informatik
   Breitwiesenstr. 20-22
   D-70565 Stuttgart

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.3.1+hamm  Linux pre-2.0.31-9+select+QNX  AMD K5 PR-133
You tell me and we'll both know.


Re: Xemacs and cperl-mode

1997-09-15 Thread Karl M. Hegbloom
 Carl == Carl Johnson [EMAIL PROTECTED] writes:

Carl I have recently been trying to edit some perl scripts using
Carl xemacs, so I tried using the cperl-mode instead of
Carl perl-mode.

 Try (require 'cperl-mode) and see if that brings it in.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: root access via telnet?

1997-09-15 Thread Karl M. Hegbloom
 Michael == Michael Legart [EMAIL PROTECTED] writes:

Michael Hi!  Is it possible to allow root access via telnet?

 Edit /etc/securetty and add entries for the /dev/ttypN's that
telnet uses.  To see what I mean, log on with telnet, and run `w' or
`who', and look at the TTY names.


-- 
mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.3.1+hamm  Linux pre-2.0.31-9+select+QNX  AMD K5 PR-133


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: XFree86 and Threads...

1997-09-10 Thread Karl M. Hegbloom
 Dale == Dale Martin [EMAIL PROTECTED] writes:

Dale I was just curious - since libc6 is thread safe, and GUIs
Dale seem to be something that can be naturally multithreaded,
Dale is XFree86 multithreaded under Linux? (or any other system,
Dale for that matter?)

Dale I'm about to get a second PPro for my box at home, and I
Dale already have SMP at work, so the prospect of a multithreaded
Dale X is quite interesting to me.

 I'm interested too, though it will be a year or so before I can help
with any code...  ;-)

 The sources and some documentation for a multi-threaded X-Lib are
available for ftp at:

 ftp://parcftp.xerox.com/pub/mt-xlib/

 ... It sure would be a good thing to have!


-- 
mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.3.1+hamm  Linux pre-2.0.31-9+select  AMD K5 PR-133


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Xemacs wont run under SU: `super' will solve your problem.

1997-09-10 Thread Karl M. Hegbloom
 `super' is a great way to solve this problem.  I have this in my
/etc/super.tab file:


xemacs  /root/start-xemacs :staff @localhost @bittersweet.inetarena.com \
setenv=DISPLAY=unix:0 \

setenv=PATH=/usr/local/bin:/usr/bin:/bin:/usr/lib/texmf/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/X11:/usr/games
 \
password=n \
uid=root gid=root\
info=XEmacs editor as 'root' 

... and now I can start an XEmacs that has full root priveledges with:

$ super xemacs 

... It also works from a window manager or TkDesk menu button.  I have
found that the syntax of `super's configuration file is *much* easier
to understand and use than that of `sudo'.  It seems fairly secure as
well.  You might like to give it a try.


-- 
mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.3.1  Linux 2.0.30+parport AMD K5 PR-133


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: New Login

1997-09-10 Thread Karl M. Hegbloom
 Jason == Jason Gunthorpe [EMAIL PROTECTED] writes:

Jason Hi, Does anyone know how to make the login program in bo
Jason disable echo sooner?

 Look at /etc/login.defs.  You want to lower the FAIL_DELAY, I
think.


-- 
mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.3.1+hamm  Linux pre-2.0.31-9+select  AMD K5 PR-133


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Auto Responder

1997-09-10 Thread Karl M. Hegbloom
 Tony == Tony Koehn [EMAIL PROTECTED] writes:

Tony Does anyone know where I can find or how I go about getting
Tony an Auto Responder on a Debian Linux Box?

 Get `procmail', `smartlist' and the `procmail-lib' packages.  If
you've got a little shell programming experience, you'll be able to
piece together what you want from those with a few days of study.  If
you use `sendmail', you should make `procmail' your local mailer.

 I've got a technical support system set up that will autoreply to
folks who send mail to it, but only once per day.  It sends them a
note telling them that support staff will reply within 24hrs.  I did
it with `smartlist', just to learn how.  It's not being used by anyone
right now; I don't have a job---I just study.

 If you are interested enough, and need something like this for your
ISP or business, let me know.  I can always use a few extra book
dollars or a couple of cheeseburgers.  ;-)  I'm sure I could find the
time.

  You can try the list by sending mail to:

 [EMAIL PROTECTED]

... note that bittersweet isn't on the net 24 hours a day, so it might
sit in your out Q for a while.  In the normal case, the response would
be immediate, of course.  Uhhmmm... If you send mail to it, and *dont*
get an autoreply, let me know.  It may need further debugging. :-)


-- 
mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.3.1+hamm  Linux pre-2.0.31-9+select  AMD K5 PR-133


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: SCSI Host Adapter (+ Re: 2 CPU servers)

1997-09-10 Thread Karl M. Hegbloom
 F == F Potorti Francesco writes:

F I am resending this, this time to the mailing list.  I suspect
F that the list-group gateway is not bidirectional, is that true?

F [EMAIL PROTECTED] (Jeff Noxon) writes:
   
F If you think going buslogic, the following are very recommended
F readings: http://www.dandelion.com/Linux/Quantum.html
F http://www.dandelion.com/Linux/BusLogic.html

 I noticed that there is not a Debian GNU/Linux rescue disk set
available on that page.  Shouldn't that be remedied?


-- 
mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.3.1+hamm  Linux pre-2.0.31-9+select  AMD K5 PR-133


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: ZIP drive

1997-09-01 Thread Karl M. Hegbloom
 Magossa'nyi == Magossa'nyi A'rpa'd [EMAIL PROTECTED] writes:

Magossa'nyi On Mon, 1 Sep 1997, Michael Harnois wrote:
 Milos Prudek [EMAIL PROTECTED] writes:
 
  Could someone help me with the installation of parallel
 version of  iomega ZIP under Debian Linux? I do not know where
 to start...
 
 Can you do it from a stock Debian kernel? I'm not sure. I'm
 doing it under 2.1.51 and it's easy from there ...

Magossa'nyi It is easy with 2.0.30 at least. I am not brave
Magossa'nyi enough to use more instable kernel than that.  All
Magossa'nyi you have to do is to compile the module for it, and
Magossa'nyi modprobe ppa when you want to use it. You will have
Magossa'nyi /dev/sda to mount the disks from.

 You can get it to be autoloaded by `kerneld' iff you edit the
/lib/modules/`uname -r`/modules.dep file after you `depmod -a`.
Attached is a diff; you'll have to hand edit though; I doubt if this
will work as a patch.

 I've found that `ppa' works best as a module, since that way, you can
plug the Zip in with the computer already booted, and when the driver
is inserted, it gets initialized.  Otherwise, with it compiled in, you
have to reboot before the computer will see the drive.  (Sound is
the similar thing.  When quake screws up the sound driver, you can
unload and reload the module to fix it. Otherwise it takes a reboot.)

 I'm using 2.0.30 with the `parport' patch and the Curtin ppa driver.
It's a lot faster than the stock ppa from 2.0.30.  If you look on
http://www.linuxhq.org/, you should be able to find the parport
patch...  I think.


 This is a bug in `depmod', isn't it???  I reported it once.
--- /lib/modules/2.0.30/modules.dep~Thu Jul 24 12:34:18 1997
+++ /lib/modules/2.0.30/modules.dep Thu Jul 24 12:35:36 1997
@@ -20,7 +20,7 @@
 
 /lib/modules/2.0.30/fs/nfs.o:
 
-/lib/modules/2.0.30/fs/isofs.o:
+/lib/modules/2.0.30/fs/isofs.o: /lib/modules/2.0.30/scsi/sr_mod.o
 
 /lib/modules/2.0.30/fs/vfat.o: /lib/modules/2.0.30/fs/fat.o
 
@@ -54,7 +54,7 @@
 
 /lib/modules/2.0.30/scsi/fdomain.o:
 
-/lib/modules/2.0.30/scsi/ppa.o: /lib/modules/2.0.30/scsi/scsi_mod.o
+/lib/modules/2.0.30/scsi/ppa.o: /lib/modules/2.0.30/scsi/sd_mod.o
 
 /lib/modules/2.0.30/scsi/sr_mod.o: /lib/modules/2.0.30/scsi/scsi_mod.o
 
mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.3.1  Linux 2.0.30+parport AMD K5 PR-133


Re: GNUS and Mail

1997-07-19 Thread Karl M. Hegbloom
-announce
RedHat.Announce

#-
:0:
* ^TOlinux.*kernel
Linux.Kernel

:0:
* ^To.*cc-mode
CC-Mode

:0:
* ^Toshadow-list
Shadow

:0:
* ^TO([EMAIL PROTECTED]|[EMAIL PROTECTED])
PLUG

:0:
* ^TOprocmail
Procmail

:0:
* ^TOsmartlist
Smartlist

:0:
* ^TOparport
Parport

#---
#  XEmacs mailing lists
:0:
* ^TOxemacs-beta-discuss
XEmacs.Discuss

:0:
* ^TOxemacs-beta
* ! ^Subject.*re:
* ^Subject.*patch
XEmacs.Patches

:0:
* ^TOxemacs-beta
XEmacs.Beta

#--
# Misc. Mailing lists
:0:
* ^From.*wordsmith.org
Wordsmith

:0:
* ^To:[EMAIL PROTECTED]
Lfa

:0:
* [EMAIL PROTECTED]
LyX

:0:
* [EMAIL PROTECTED]
GCL

#--
#  Cron mail from mail run job bringing diald up.
:0
* ^Subject.*/bin/echo.*/dev/dialdctl
/dev/null

#---
# System Accounts
:0:
* ^From.*Cron.Daemon
Cron

:0:
* ^From.*news.news
News

:0:
* ^Subject.*Returned.mail:
Bounce

:0:
* ^FROM_DAEMON
Daemons

#--
# Mail from myself and from anyone at Inetarena
:0:
* ^From.*karlheg
Myself
:0:

* ^From.*inetarena
Inetarena

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.3  Linux 2.1.36 AMD K5 PR-133


g++ won't compile. How do I fix it?

1997-07-18 Thread Karl M. Hegbloom

 How do I fix this?  What's wrong?

bash-2.00$ g++ --help
ld: warning: libm.so.5, needed by /usr/lib/libg++.so, may conflict with 
libm.so.6
/lib/libm.so.5: warning: erfl is not implemented and will always fail
/usr/lib/crt1.o(.text+0x36): undefined reference to `main'
/lib/libm.so.5: undefined reference to `__getfpucw'

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.3  Linux 2.1.36 AMD K5 PR-133


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Problems with xauth PAM

1997-07-13 Thread Karl M. Hegbloom
 Juan Jose Quintela writes:

Juan And when I try to launch a window in a remote machine I
Juan obtain the following message:

Juan   ~$ xterm  [1] 5939 ~$ Xlib: connection to krilin:0.0
Juan refused by server Xlib: Client is not authorized to connect
Juan to Server Error: Can't open display: krilin:0.0

 You have to make an `xauth' entry for the machine running the program
that wants to use the display, on the machine running that program.

 Read the man for xauth, of course, then do:

Here:

`xauth list unix:0.0'

... and highlight everything from `MIT' through the end of the line
with the near button.  Then, in an xterm where you're logged into the
other machine, do: 

`xauth add here:0.0 [PASTE with middle button]'

... and hit enter.  That will make an `xauth' entry on the remote
machine, so it can authenticate itself for display authorization.

 The reason it needs authorization is that X Windows programs have the
ability to send synthetic events to other programs through the display
server.  (I'm not an expert, yet; I've got the XBooks pack, but have
read only one or two of the documents.)  Programs running on separate
computers can rendevous through a third machine's Xserver, where you
sit, controlling programs on several computers whos displays are in
front of you.  This means drag-and-drop operations across machines and
architectures can be done, and that a subwindow inside an application
can be run by a program on the mainframe, while the app runs on your
workstation, and things like that.

 It wouldn't be safe if just anyone could put a window up on your
display and watch what you type, or send events to your programs, from
anyplace on the global internet, without proper authorization.

 I think that's all there is wrong.  I don't think anything from X
uses PAM yet.


-- 
mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.3  Linux 2.1.36 AMD K5 PR-133


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Off-topic: Making ALT be the META key

1997-07-13 Thread Karl M. Hegbloom
 David == David R Kohel [EMAIL PROTECTED] writes:

David Did anyone come up with a solution to this one?  Is this
David controlled by emacs of X keymapping (or both)?

I've found `xkeycaps' to be invaluable for setting X Windows keysyms.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: ftp after installing debian 1.3

1997-06-30 Thread Karl M. Hegbloom
 grewer == grewer  [EMAIL PROTECTED] writes:

grewer *hmm* seems to me like the ftp in debian 1.3 is buggy or
grewer have I forgotten something?

`ncftp' is much superiour.  Try it instead.  (That's if you can
download it...  I could MIME attach and mail it to you if you like.)


-- 
mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.3  Linux 2.1.36 AMD K5 PR-133


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: fetchmail problem ...

1997-06-30 Thread Karl M. Hegbloom
 Richard == Richard G Roberto [EMAIL PROTECTED] writes:

Richard I've tried the two following fetchmailrc files:
[]

 I do a similar thing; but in the ipup script, I do:

(su - karlheg -c /usr/bin/fetchmail)

... and in ~/.fetchmailrc, I have:

poll mail.inetarena.com
# interface ppp0/206.129.216.38
# monitor ppp0
protocol pop3
username MYNAME
password MYPASSWD
mda formail -s procmail

 It works very well.  I've got a ~/.procmailrc that tosses my mail
into several inboxes, which I read with Gnus inside XEmacs-20.


-- 
mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.3  Linux 2.1.36 AMD K5 PR-133


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: rsh authentication ...

1997-06-29 Thread Karl M. Hegbloom
 Richard == Richard G Roberto [EMAIL PROTECTED] writes:

Richard I have (after some frustration with explicit entries, as
Richard well as ALL: ALL) removed hosts.deny and hosts.allow on
Richard both machines. 

 The solution is to ditch `inetd' and tcpwrappers, and install
`xinetd'.  It is *MUCH* easier to configure, and has superiour logging
and access control facilities.

 It should be the SPI standard, not `inetd', IMO.


-- 
mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.3  Linux 2.1.36 AMD K5 PR-133


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Too many open files: ulimits

1997-06-29 Thread Karl M. Hegbloom
 Marcelo == Marcelo E Magallon [EMAIL PROTECTED] writes:

Marcelo Hi, I'm getting this message very often in one of the
Marcelo Debian Linux machines I work with, and I have no clue of
Marcelo where to start looking. It's not coming from the kernel
Marcelo since it's not logged along other kernel messages, but it
Marcelo shows up in the console.

MarceloThe first time I saw it, it came from fortune. But
Marcelo now it's coming from various tex programs, lyx, ldconfig,
Marcelo and others.

 Your `ulimit's are too low.  Here's what I do, in /etc/profile for
now.  (If the user changes shells to non-sh, it won't get run unless,
in the /etc/$shell-init script for that shell, a similar command is
run.)  I think this works better than Lshells, or the similar settings
in the `login.defs' file.  It will also set ulimits for `sshd' logins.
(sshd has its own internal login, and thus bypasses ulimit settings
for the standard login you'd get with rlogin or telnet.)

 Clipped from the top of /etc/profile:
# --
# Set the Limits - this will work for `slogin`s too.
# --
# The format of /etc/ulimits.conf is:
#login_id:core:D:F:L:M:N:S:T:U:V
mylimits=$(grep ^$(whoami) /etc/ulimits.conf)
if [ -z $mylimits ]; then
mylimits=$(grep default /etc/ulimits.conf)
fi
eval $(echo $mylimits | awk -F: \
'{printf(\
ulimit -c %s;\
ulimit -d %s;\
ulimit -f %s;\
ulimit -l %s;\
ulimit -m %s;\
ulimit -n %s;\
ulimit -s %s;\
ulimit -t %s;\
ulimit -u %s;\
ulimit -v %s,\
$2,$3,$4,$5,$6,$7,$8,$9,$10,$11)}')
# clean up a little.
unset mylimits
#---

 This is all of /etc/ulimits.conf:
#  help ulimit
# ulimit: ulimit [-SHacdflmnpstuv] [limit]
# Ulimit provides control over the resources available to processes
# started by the shell, on systems that allow such control.  If an
# option is given, it is interpreted as follows:

# -Suse the `soft' resource limit
# -Huse the `hard' resource limit
# -aall current limits are reported
# -cthe maximum size of core files created
# -dthe maximum size of a process's data segment
# -fthe maximum size of files created by the shell
# -l  the maximum size a process may lock into memory
# -mthe maximum resident set size
# -nthe maximum number of open file descriptors
# -pthe pipe buffer size
# -sthe maximum stack size
# -tthe maximum amount of cpu time in seconds
# -uthe maximum number of user processes
# -vthe size of virtual memory

# If LIMIT is given, it is the new value of the specified resource.
# Otherwise, the current value of the specified resource is printed.
# If no option is given, then -f is assumed.  Values are in 1024-byte
# increments, except for -t, which is in seconds, -p, which is in
# increments of 512 bytes, and -u, which is an unscaled number of
# processes.

#  H so how does that go again?
# 1024 bytes is 1k...
# 1k * 1024 =   1024is  1 Mb60 * 60 = 3600 seconds/hour
#   2048is  2 Mb
#   4096is  4 Mb
#   8192is  8 Mb
#   12288   is 12 Mb
#   16384   is 16 Mb
#   18432   is 18 Mb
#   24576   is 24 Mb
#   32768   is 32 Mb

# The format of this file is:
#login_id:core:D:F:L:M:N:S:T:U:V
default:0:16384:8192:4096:18432:128:8192:3600:32:24576

# More priveledged users:
karlheg:unlimited:unlimited:unlimited:unlimited:unlimited:1024:unlimited:unlimited:unlimited:unlimited
root:unlimited:unlimited:unlimited:unlimited:unlimited:1024:unlimited:unlimited:unlimited:unlimited

mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.3  Linux 2.1.36 AMD K5 PR-133


Re: xemacs with auctex

1997-06-29 Thread Karl M. Hegbloom
 Mario == Mario Olimpio de Menezes [EMAIL PROTECTED] writes:

 (require 'tex-site)
Mario   ^^^ nothing seems to happen with this :(

 The autoloading isn't working right, I think.  You might try
reporting it on news:comp.emacs.xemacs. Try:

(load-library latex) for the AUCTeX LaTeX mode, and
(load-library tex) for its TeX mode.


-- 
mailto:[EMAIL PROTECTED] (Karl M. Hegbloom)
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.3  Linux 2.1.36 AMD K5 PR-133


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: fetchmail, procmail, mail reading, Gnus, XEmacs

1997-06-19 Thread Karl M. Hegbloom
 Bob == Bob Nielsen [EMAIL PROTECTED] writes:

Bob When I try to run fetchmail, my ISP is connected and when
Bob attempting to retrieve mail, I get the error message:

Bob reading message 1 (2679 bytes) .fetchmail: SMTP connect to
Bob (null) failed fetchmail: SMTP transaction error while
Bob fetching from pop.primenet.com

Bob here is my ~/.fetchmailrc file:

Bob poll pop.primenet.com proto pop3 user USERNAME pass PASSWORD

 Try adding an `mda' line to it.  Here's what I use:

poll mail.provider.com
protocol pop3
username myusername
password MYPASSWD
mda formail -s procmail

... I've got a rudimentary ~/.procmailrc that tosses my mail into
spool files in ~/Mail/.incoming/, and I read my mail with XEmacs and
Gnus.  I used the `nnfolder' setup almost verbatim from the TeXinfo
manual, and it works very well.  My ~/.gnus looks like this:

;; -*- emacs-lisp -*-
(require 'mime-setup)
(add-hook 'gnus-group-mode-hook 'gnus-topic-mode)
(setq nnfolder-directory ~/Mail/
  nnmail-spool-file 'procmail
  nnmail-procmail-directory ~/Mail/.incoming/
  gnus-select-method (quote (nntp news.inetarena.com))
  gnus-secondary-select-methods '((nnfolder ))
  nnmail-procmail-suffix 
  gnus-group-line-format
   %M\%S\%p\%P\%5y: %(%-40,40g%) %6,6~(cut 2)d\n)
(add-hook 'gnus-select-group-hook 'gnus-group-set-timestamp)


Karl M. Hegbloom [EMAIL PROTECTED]   finger or ytalk:
http://www.inetarena.com/~karlheg   [EMAIL PROTECTED]
Portland, OR  USA
Debian GNU 1.3  Linux 2.1.36 AMD K5 PR-133


  1   2   3   >