Re: [expert] replyto entry in Pine config

2000-08-08 Thread joakim viktorsson

On Tue, 8 Aug 2000, Mark Weaver wrote:

> Hi list,
> 
> could someone tell me where one defines the replyto address in Pine?

-- (main menu - setup - config)

 down to 'default-composer-headers' and add
'Reply-To'. next time you compose a mail, you'll be able to
specify this header.



 ...joakim





Re: [expert] Scripting- Uppercase to lowercase

2000-08-02 Thread joakim viktorsson


On Wed, 2 Aug 2000, Dave A. Peat II wrote:

> 1.  Change all file names (some are uppercase and some are
  lowercase) to ALL lowercase.

find www_root/ -type f -name \*.html | perl -ne 'chomp;$f=$_;tr/A-Z/a-z/;print "mv $f 
$_\n"' | /bin/sh

this commandline was all i could come up with quickly. it's
probably horribly convoluted and unnecessarily complex, but
hey - i'm tired. make changes as necessary.



 ...joakim





Re: [expert] MKNOD

2000-07-24 Thread joakim viktorsson

On Mon, 24 Jul 2000, Don wrote:

> 
> In mknod how would one create a device that is linked to another device?
> 
> I would like to make video to link to video0.  I have already found the video0
> and have tried: 
> mknod c video 81  0   
> but I don't see the way for linking this to video0.  By the way I am tring to
> get kwintv to work, and when I run the kwintv file it tells there is no such 
> device as /dev/video.
> this is the error Iam getting:
> 
> Fatal: v4lx: Error opening v4lx device /dev/video: No such device in ::v4lxif
> 
> Thanks for helping
> 
> Don 


linking /dev/video0 to /dev/video, regular symlink:

   ln -s /dev/video0 /dev/video

or re-config kwintv to look at /dev/video0, eh?


 ...joakim





Re: [expert] Mandrake's Arrogance

2000-07-21 Thread joakim viktorsson



actually, microsoft took the other approach, the one you're
suggesting is preferrable. they delivered a product
(outlook) with all safety features off, all doors open. how
many windows users knew to switch their scripting host off?
that's right, almost nobody - that's why LOVEYOU caught on
like a house on fire.

i don't understand what your problem is with safety as
default? if you want to dismantle your system security, feel
free to - mandrake won't come chasing you down. just don't
expect to be able to log in to irc servers around the world
(as was mentioned), or to have your mail and posts to
various lists accepted... other people may feel you're
stupid enough not to listen to, or ignorant enough not to
know better, hence nudging you in the right direction. it's
their right.



 ...joakim




On Fri, 21 Jul 2000, Michael R. Batchelor wrote:

> >I find it arrogant that Mandrake would deliberatly cripple the
> functionality
> >of programs in order to prohibit certain behavior that they have
> decided is
> >inappropriate. This kind of "I know better than you" unwelcomed
> >paternalistic coercion is awfully Microsoft-ish. Is this the direction
> >Mandrake is heading? Yuck!
> 
> I think it more like good solid design. We work machines in my line of
> work, and without safety limits it's easy to get killed or hurt very
> badly. So when we design something we put restrictions on what the
> operator can do. However, it's also necessary for someone to fix it
> occasionally, so we design a "maintenance mode" to defeat the safeties,
> but we don't make it easy to do by accident. (That's what root is, the
> UNIX "maintenance mode" user.)
> 
> Now, after the machine is in the plant there is absolutely nothing in
> world to stop the plant personnel from shoving a pencil in the safety
> switch and running the machine with the doors open. And there is nothing
> in the world stopping you from reconfiguring anything on your machine to
> work any way you feel like it should work. But, in the same way it would
> be irresponsible of us to deliver a machine that's unsafe to operate, it
> would be irresponsible of Mandrake to deliver a configuration that's
> unsafe. (And if you really want to see somebody making decisions for
> you, install an OpenBSD system. It's locked up tight as a drum! And they
> do it on purpose!)
> 
> Michael
> 
> 




[expert] samba + encryption 95/98

2000-07-12 Thread joakim viktorsson



i'm setting up samba and it's working nicely with my windows
95 machine. although the logfile says that authentication
failed, the shares show up in windows explorer and i can
access them based on user etc...

on my windows 98 machine, of course, i'm not so lucky. i get
the same message in the logfile, but win98 tells me
(correctly i assume) that authentication failed and kicks me
out.

the fix for this would be to either set up samba to use
encryption, or win98 to use plain text passwords...

what is recommended - i prefer encryption, i assume, but
don't want to break anything under win95. suggestions?

to make matters worse, i have three machines; both versions
of win95, and win98 second edition. are all versions happy
with encryption?


 ...joakim





Re: [expert] Help!

2000-06-05 Thread joakim viktorsson


On Mon, 5 Jun 2000, Charles Curley wrote:

> On Mon, Jun 05, 2000 at 12:01:59PM +0100, Cecil Watson wrote:
> -> Thanks for the input everyone, much appreciated.  I found the problem due to
> -> a misconfiguration in my bru script.  BRU created a file called -B in /root.
> -> I tried to delete, but it won't since it see -B as an option(DOH!).  I tried
> -> to use the file manager under X, but it cannot find my font path?!  At any
> -> rate, I'll try and load Midnight Commander on the system(if I have enough),
> -> and try it that way.  Thanks again,
> 
> Try:
> 
> rm ./-B

another good trick is;

   rm -- -B

that's a common way to turn of flag interpretation...



 ...joakim





Re: [expert] Linux PDA ??

2000-06-05 Thread joakim viktorsson


> > A coworker mentioned today that a PDA based on Linux was currently being
> > produced in Korea.. does anyone have any knowledge of this device or a web
> > site ??
> 
> The product is developed by Samsung - I once found something about it
> at http://www.samsungelectronics.com, but don't remember the exact URL.

the thing is called YOPY... might help in searching for info.


 ...joakim





Re: [expert] grep complexity

2000-05-31 Thread joakim viktorsson

On Wed, 31 May 2000, Thomas Lockhart wrote:

> > -> ... All I want to do is search all the *.c file
> > -> recursively starting from a specific directory for a specific string...
> > -> grep -r -e "function something" -f *.c
> > I'd start with:
> > grep -i "function" *.c
> 
> The above will search all .c files in the current directory, but will
> not descend the tree. Using -r will not likely help, since the shell
> will expand the "*.c" in the current directory before grep ever sees the
> command line.
> 
> I usually use something like:
> 
> find . -name '*.c' -exec egrep 'regexp' {} \; -print
> 
> where the "-print" will show you which file had the matching string(s).

i tend to prefer;

   find . -name \*.c -exec grep 'string' {} /dev/null \;

as grep when given more than one file prints the filename at
the beginning of the matching line (the second file  here is
/dev/null which won't match). i find it a little easier to
read, and it also helps if you want to further pipe the
output to awk or something such...


 ...joakim