Re: Is there a nice graphical front end available for gpg or pgp ?

2001-01-03 Thread Sam Vilain
> I am looking for a graphical front end for gpg and or pgp. Possibly qt or gtk 
> based. Is geheimnis packaged already ?

Check out the GnuPG home page at http://www.gnupg.org/, it has a list of many 
front-ends available.  Then just use the "search" function in dselect with the 
name of the package, if you're lucky it'll exist.  Until Debian has a functionally structured package repository 
there isn't really a better solution.

At least one of them has a Debian package (gpgp), but gpgp is ... well, just 
oozing with opportunities for features, shall we say.
--
Sam Vilain, [EMAIL PROTECTED]WWW: http://sam.vilain.net/
GPG public key: http://sam.vilain.net/sam.asc



Re: 4 Mouse buttons with gpm?

2001-01-03 Thread Sam Vilain
> > I've got a Logitech 4 button "MouseMan" (according to the label) mouse, and 
> > I can't get gpm to repeat the fourth button; it keeps being repeated as 
> > button 2.
> Don't know if this solves your problem, but you definitely should use
> "repeat_type=raw" here.  And to complement the use of "raw" you should
> specify the corresponding types/protocols for X and for gpm.

It's still only behaving as if it had 3 buttons; button 4 is still being button 
2.

Thanks for that, I'm definitely closer now :-).  I think I just need to get gpm 
to talk the equivalent of X's "MouseManPlusPS/2", like perhaps the mouse is 
detecting that it's being accessed in a 3 button protocol or something and 
translating the buttons for me.  Hmm.

I'll have a chat with the GPM authors directly.

Cheers,
--
Sam Vilain, [EMAIL PROTECTED]WWW: http://sam.vilain.net/
GPG public key: http://sam.vilain.net/sam.asc



Re: how to grep without changing timestamps?

2001-01-02 Thread Sam Vilain
You need to make sure that something calls utime() to reset the filestamps.  
You can't reset the ctime (inode change time), but the atime (inode access 
time) and the mtime (inode timestamp) are changable.

Here is a simple example Perl script that works a little like grep:
--
#!/usr/bin/perl

use strict;

my ($regexp);

$regexp = shift @ARGV;

for my $filename (@ARGV) {
my @stat = stat $filename or do {
print STDERR "stat of $filename failed; $!\n";
next;
};

open FILE, "<$filename" or do {
print STDERR ("open of $filename for reading failed; "
  ."$!\n");
next;
};

while () {
m/$regexp/ && print "$filename: $_";
}

close FILE;

utime @stat[8,9], $filename or
print STDERR "utime call of $filename failed; $!\n";
}
--
Cheers,
Sam.

On Sun, 31 Dec 2000 14:04:57 -0500
Maciej Kalisiak <[EMAIL PROTECTED]> wrote:

> Hello all,
> 
> Is it possible to grep a ton of files without modifying their date/timestamps?
> Currently if I use grep, it changes the access time of all files touched,
> which causes mutt to lose track of the folders which have new mail (I guess it
> looks at the timestamp last modified and last accessed to figure this out).
> Occasionally I do want to include the mail folders in my greps, so bypassing
> the "mail" directory is not a solution.
> 
> -- 
> Maciej Kalisiak   [EMAIL PROTECTED]   www.dgp.toronto.edu/~mac
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 
> 


--
Sam Vilain, [EMAIL PROTECTED]WWW: http://sam.vilain.net/
GPG public key: http://sam.vilain.net/sam.asc



4 Mouse buttons with gpm?

2000-12-31 Thread Sam Vilain
Hi,

I've got a Logitech 4 button "MouseMan" (according to the label) mouse, and I 
can't get gpm to repeat the fourth button; it keeps being repeated as button 2.

This X configuration works (sacrificing gpm, of course):

[/etc/X11/XF86Config-4]
Section "InputDevice"
Identifier  "Generic Mouse"
Driver  "mouse"
Option  "CorePointer"
Option  "Protocol"  "MouseManPlusPS/2"
Option  "Device""/dev/psaux"
Option  "Buttons"   "4"
EndSection

The configuration that doesn't work properly is:
[/etc/gpm.conf]
device=/dev/psaux
responsiveness=
type=imps2
append="-l \"a-zA-Z0-9_.:~/\300-\326\330-\366\370-\377\" -b 9600 -S 
:/etc/gpm-special/middle:/etc/gpm-special/right"
repeat_type=ms3

[/etc/X11/XF86Config-4]
Section "InputDevice"
Identifier  "Generic Mouse"
Driver  "mouse"
Option  "CorePointer"
Option  "Protocol"  "Intellimouse"
Option  "Device""/dev/gpmdata"
Option  "Buttons"   "4"
EndSection

Does anyone know if this is possible?  There seems to be no "-4" option to gpm 
(or "-5" or ...), but it says in places it does allow wheel repeating, which 
IIRC are just 'buttons' as well.  I've tried the "mman" gpm mouse type, but it 
doesn't work at all.

Any ideas?
--
Sam Vilain, [EMAIL PROTECTED]WWW: http://sam.vilain.net/
GPG public key: http://sam.vilain.net/sam.asc



Re: correct way to move /usr to a new partition...

1999-09-19 Thread Sam Vilain
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

William T Wilson <[EMAIL PROTECTED]> writes:

> The correct sequence is:
> cd /usr
> tar cf - . | (cd /linux2a; tar xvf - )
> cp gets things subtly wrong from time to time.  That includes sparse
> files, device files and pipes, and hard links.  You probably won't
> encounter any of these on /usr (although you might!).  But why do it wrong
> when you can do it right?

Or go the whole way:

cd /usr
find . -depth -print | cpio -pdmuV /linux2a
- -- 
Sam Vilain, [EMAIL PROTECTED]
http://www.hydro.gen.nz/~sam/
GPG key: http://www.hydro.gen.nz/~sam/gpgkey.txt
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE35CrU4XJBugPwNAgRAvUOAJ9a7Cg84AFTCn3eMp2oQ3YGpAfMAQCZAfcl
ZtFNKPyxcpwvisBa1Je4uPs=
=4V5J
-END PGP SIGNATURE-


Re: Debian to be too late released

1999-09-19 Thread Sam Vilain
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

"Martin Waller" <[EMAIL PROTECTED]> writes:

> Yes - I'm trying to persuade some people here at my work place to
> switch to Debian from RedHat as they 'discover' linux, but they're
> put off by the lack of a stable 2.2.x debian release, especially as
> they want to do some SMP work.  OK - upgrade slink to 2.2.x, but
> then there's more faffing about getting dchcpcd to work properly
> again so that these can sit happily on our MS driven network.

Why not just:

# echo "deb http://http.us.debian.org/ potato main" >> /etc/apt/sources.list
# apt-get update
# apt-get install dhcpcd kernel-image-2.2.10
# perl -npi~ -e '!m/ potato /' /etc/apt/sources.list

This will give you the minimum number of packages from the Potato
distribution that will let you run dhcpcd and the 2.2 kernel.
- -- 
Sam Vilain, [EMAIL PROTECTED]
http://www.hydro.gen.nz/~sam/
GPG key: http://www.hydro.gen.nz/~sam/gpgkey.txt
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE35Ckn4XJBugPwNAgRAjOsAJ0Y8TbmC8ZwemOqfrCl94lKJkhuqgCgrcAf
TLP0HExq+R4bOEFjrGkmEbk=
=jdot
-END PGP SIGNATURE-


Re: Debian terminfo's (was Re: xterm/rxvt screen clearing / restoration)

1999-09-15 Thread Sam Vilain
Benjamin Low <[EMAIL PROTECTED]> writes:

> but I can find no reference to untic. Can tic 'untic' given appropriate
> arguments?

"infocmp" is the command you're after.
-- 
Sam Vilain, [EMAIL PROTECTED]
http://www.hydro.gen.nz/~sam/