How to escape "find" result

2002-11-29 Thread Try KDE
Hi, I'm trying to run the following script: for f in $(find . -name "*.txt"); do cmd1;cmd2;cmd3; done ,where cmd1, cmd2 and cmd3 are arbiturary commands. The problem is, if the found file names contain a space , for example "part1 part2.txt" will be interpreted as "part1" and "part2.txt". I'm

Re: Javascript and forms

2002-11-14 Thread Try KDE
alert ("The checked value is " + selected); } http://localhost:1234/cgi";> -tk Michael Naumann wrote: On Thursday 14 November 2002 03:20, Try KDE wrote: Your html is ill-formed. The

Re: Javascript and forms

2002-11-13 Thread Try KDE
Your html is ill-formed. The text field should be: input type="text" name="n1" size=20 -tk Michael Naumann wrote: I have a small problem accessing form-vars via JavaScript. In below example, I have two vars in a form, one of type radio (n0) and a normal input-var (n1). In the JavaScript

premature cp exit?

2002-11-07 Thread Try KDE
Hi, I've just observed something interesting on my PC. My machine is a AMD1800+ with 1GB RAM, kernel 2.4.18. I have a floppy disk: $ mkdosfs /dev/fd0 1440 $ mount /mnt/floppy $ cp some-big-fie /mnt/floppy What I found is that cp returns immediately, and the floppy drive's LED doesn't

Non-interactive shell and /dev/null

2002-10-26 Thread Try KDE
Hi Everyone, I noticed some shell script, for example those under /etc/cron.*/, uses "command > /dev/null" style. I think it's because they know the scripts is run under non-interactive shell. My question is, what would happen if ">/dev/null" is removed and the command tries to print something

Re: Dumb terminals possible with i386 Debian

2002-10-21 Thread Try KDE
Kent West wrote: Suppose I wanted to set up some kiosks for web browsing, solitaire, etc (just generic users). I can envision three scenarios: 1) full-blown workstations, each one with their own hard drives and OS setup, etc. 2) one server and the rest of the workstations are thin clients,

Sorting processes by disk usage?

2002-10-20 Thread Try KDE
Hi, Here is the situation: the hard drive LED is flashing every 2 seconds, I don't which process is causing it, or if it's a kernel thread doing swapping or something. So how can I find out? "top" doesn't seem to answer that question. (Note that a disk intensive program is not neccesarrily

Re: specify a parent proxy to a certain domain name

2002-10-15 Thread Try KDE
First of all, if it's a routing problem that you want to solve, you might want to do something like this: ip route via dev If you think your question is more squid specific, you might find more help on [EMAIL PROTECTED] Hope it helps, -WY Patrick Hsieh wrote: >Hello list, > >I hav

Best plotting software?

2002-10-15 Thread Try KDE
I'm looking for such a software that takes arrays of scientific data and spit out a gif file consisting of chart or pie picture (like what you'd often see on a benchmark site?). Any suggestions? Thanks, -tk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Troub

How does Debian keep Packages.gz consistent over different sites?

2002-10-14 Thread Try KDE
Lets say I have two lines in sources.list that are almost identical expect for the http sites are different. And now I issue a "apt-get update", and site1 tells apt "the latest version of testing/vim is 1.3", while site2, which may not be up to date, tells apt "the latest version of testing/v

exim+fetchmail, the best combo for local retrieval?

2002-10-14 Thread Try KDE
To work with my ISP 's email cap limit, it seems to be a good idea to use a local server to fetch the emails first, and then use a client machine to finally retrieve them later (client machine is not always on). Shyamal points out (on Oct 12) that he uses exim+fetchmail to do that. In your ex

Re: How does apt-get construt package uri?

2002-10-14 Thread Try KDE
Rob, thanks for the example. Yes, it clearly shows the same package may have much more than three package files listed, considering all the different archs. -tk. Rob Weir wrote: >On Mon, Oct 14, 2002 at 09:49:27PM -0400, Try KDE wrote: > > >>Thanks Rob. >> >>

Re: How does apt-get construt package uri?

2002-10-14 Thread Try KDE
;On Mon, Oct 14, 2002 at 08:46:20PM -0400, Try KDE wrote: > > >>Thanks to Eduardo Pereira Habkost's answer to the previous question - it >>works beautifully. >> >>Here is a harder question (in my opinion, anyway): given a http/ftp line in >>sources.list,

How does apt-get construt package uri?

2002-10-14 Thread Try KDE
Thanks to Eduardo Pereira Habkost's answer to the previous question - it works beautifully. Here is a harder question (in my opinion, anyway): given a http/ftp line in sources.list, what's apt's algorithm for retrieve the list of packages. For example, deb http://http.us.debian.org/debian/

how to reinstall a package without removing it first?

2002-10-14 Thread Try KDE
I cannot remove the package because the package in question is "apt" and I screwed up on of its example files. :) I might be able to down its deb file and extract the files I needed from it. But is there a simpler way to force re-installation of the same version? Thanks, -tk -- To UNSUBS

how to control console's resolution?

2002-10-14 Thread Try KDE
In debian v3, the virtual console's resolution is deeper than 80*25, it's like 43 lines or something (i cannot remember, and i'm typing from another box now). My question is, where is this controlled? and how to change it back to 80*25 if I want to ? Thanks, -tk -- To UNSUBSCRIBE, email to

"Kept back" packages?

2002-10-09 Thread Try KDE
Hi, I have a pre-woody installation: # uname -a Linux bigbird 2.4.18IP #1 Sat May 4 18:39:41 EDT 2002 i586 unknown unknown GNU/Linux # apt-get -v apt 0.5.4 for linux i386 compiled on Aug 19 2001 01:02:26 When I do a "apt-get upgrade", there are a lot of packages "kept back". How can I find o