{SOLVED] Re: Searching of files in plasma5?

2023-12-18 Thread Hans
Am Montag, 18. Dezember 2023, 17:05:27 CET schrieb Hans:
I am answering myself.

Deleted the whole database an recreated it. Now it is working again.

Looks like solved.

Sorry for the noise.

Have a nice day!

Hans

> Dear list,
> 
> I discovered, that the search function in Dolphin is not working. When
> searching for example for --> *.jpg  <-- , it is not finding any files,
> whilst kfind is finding more than 800 files.
> 
> Baloo search in settings is enabled and a baloo database is existent.
> 
> Anything else I missed and have to pay attention for?
> 
> Thanks for any feedback.
> 
> Best regards
> 
> Hans






Searching of files in plasma5?

2023-12-18 Thread Hans
Dear list,

I discovered, that the search function in Dolphin is not working. When 
searching for example for --> *.jpg  <-- , it is not finding any files, whilst 
kfind is finding more than 800 files.

Baloo search in settings is enabled and a baloo database is existent.

Anything else I missed and have to pay attention for?

Thanks for any feedback.

Best regards

Hans





Re: setting IFS to new line doesn't work while searching?

2023-12-15 Thread David Wright
On Fri 15 Dec 2023 at 08:58:10 (-0500), Greg Wooledge wrote:
> On Fri, Dec 15, 2023 at 02:30:21PM +0100, Nicolas George wrote:
> > Greg Wooledge (12023-12-15):
> > > readarray -d '' fndar < <(
> > > find "$sdir" ... -printf 'stuff\0' |
> > > sort -z --otherflags
> > > )
> 
> > It is possible to do it safely in bash plus command-line tools, indeed.
> > But in such a complex case, it is better to use something with a
> > higher-level interface. I am sure File::Find and Version::Compare can
> > let Perl do the same thing in a much safer way.
> 
> Equally safe, perhaps.  Not safer.  I don't know those particular perl
> modules -- are they included in a standard Debian system, or does
> one need to install optional packages?  And then there's a learning
> curve for them as well.
> 
> By the way, your MUA is adding 1 years to its datestamps.

Don't knock it: beats using the French Republican calendar.
But I miss the hours:minutes used by most MUAs (the minutes
being relatively unaffected by time zones). They can help
with following threads stored in different locations.

Cheers,
David.



Re: setting IFS to new line doesn't work while searching?

2023-12-15 Thread Nicolas George
Greg Wooledge (12023-12-15):
> Equally safe, perhaps.  Not safer.  I don't know those particular perl
> modules -- are they included in a standard Debian system, or does
> one need to install optional packages?  And then there's a learning
> curve for them as well.

File::Find is a standard module, Version::Compare is packaged.

I consider it safer because I factor mistakes in my estimate: if you get
the Perl version working without using strange constructs in your code,
the odds that it will break on special characters are vanishingly thin.
With shell, unless we tested for it, there are chances we forgot a
corner case.

> By the way, your MUA is adding 1 years to its datestamps.

It is called the Holocene calendar, the principle being that everything
that happened that might deserve to be expressed as a year in the last
12K years.

See:

https://en.wikipedia.org/wiki/Holocene_calendar

Or possibly:

https://www.youtube.com/watch?v=czgOWmtGVGs

Regards,

-- 
  Nicolas George



Re: setting IFS to new line doesn't work while searching?

2023-12-15 Thread Greg Wooledge
On Fri, Dec 15, 2023 at 02:30:21PM +0100, Nicolas George wrote:
> Greg Wooledge (12023-12-15):
> > readarray -d '' fndar < <(
> > find "$sdir" ... -printf 'stuff\0' |
> > sort -z --otherflags
> > )

> It is possible to do it safely in bash plus command-line tools, indeed.
> But in such a complex case, it is better to use something with a
> higher-level interface. I am sure File::Find and Version::Compare can
> let Perl do the same thing in a much safer way.

Equally safe, perhaps.  Not safer.  I don't know those particular perl
modules -- are they included in a standard Debian system, or does
one need to install optional packages?  And then there's a learning
curve for them as well.

By the way, your MUA is adding 1 years to its datestamps.



Re: setting IFS to new line doesn't work while searching?

2023-12-15 Thread Nicolas George
Greg Wooledge (12023-12-15):
> On Fri, Dec 15, 2023 at 01:42:14PM +0100, Nicolas George wrote:
> > Also, note that file names can also contain newlines in general. The
> > only robust delimiter is the NUL character.
> 
> True.  In order to be 100% safe, the OP's code would need to look
> more like this:
> 
> readarray -d '' fndar < <(
> find "$sdir" ... -printf 'stuff\0' |
> sort -z --otherflags
> )
> 
> The -d '' option for readarray requires bash 4.4 or higher.  If this
> script needs to run on bash 4.3 or older, you'd need to use a loop
> instead of readarray.
> 
> This may look a bit inscrutable, but the purpose is to ensure that
> a NUL delimiter is used at every step.  First, find -printf '...\0'
> will print a NUL character after each filename-and-stuff.  Second,
> sort -z uses NUL as its record separator (instead of newline), and
> produces sorted output that also uses NUL.  Finally, readarray -d ''
> uses the NUL character as its record separator.  The final result is
> an array containing each filename-and-stuff produced by find, in the
> order determined by sort, even if some of the filenames contain
> newline characters.

It is possible to do it safely in bash plus command-line tools, indeed.
But in such a complex case, it is better to use something with a
higher-level interface. I am sure File::Find and Version::Compare can
let Perl do the same thing in a much safer way.

Regards,

-- 
  Nicolas George



Re: setting IFS to new line doesn't work while searching?

2023-12-15 Thread Greg Wooledge
On Fri, Dec 15, 2023 at 01:42:14PM +0100, Nicolas George wrote:
> Also, note that file names can also contain newlines in general. The
> only robust delimiter is the NUL character.

True.  In order to be 100% safe, the OP's code would need to look
more like this:

readarray -d '' fndar < <(
find "$sdir" ... -printf 'stuff\0' |
sort -z --otherflags
)

The -d '' option for readarray requires bash 4.4 or higher.  If this
script needs to run on bash 4.3 or older, you'd need to use a loop
instead of readarray.

This may look a bit inscrutable, but the purpose is to ensure that
a NUL delimiter is used at every step.  First, find -printf '...\0'
will print a NUL character after each filename-and-stuff.  Second,
sort -z uses NUL as its record separator (instead of newline), and
produces sorted output that also uses NUL.  Finally, readarray -d ''
uses the NUL character as its record separator.  The final result is
an array containing each filename-and-stuff produced by find, in the
order determined by sort, even if some of the filenames contain
newline characters.



Re: setting IFS to new line doesn't work while searching?

2023-12-15 Thread Albretch Mueller
On 12/15/23, Greg Wooledge  wrote:
> More to the point, bash has a 'readarray' command which does what you
> *actually* want:
>
> readarray -t fndar < <(find "$sdir" ...)
>
 Yes, that was what I actually needed!

 lbrtchx



Re: setting IFS to new line doesn't work while searching?

2023-12-15 Thread Nicolas George
Albretch Mueller (12023-12-15):
> sdir="$(pwd)"
> #fndar=($(IFS=$'\n'; find "$sdir" -type f -printf '%P|%TY-%Tm-%Td
> %TI:%TM|%s\n' | sort --version-sort --reverse))
> #fndar=($(IFS='\n'; find "$sdir" -type f -printf '%P|%TY-%Tm-%Td
> %TI:%TM|%s\n' | sort --version-sort --reverse))
> fndar=($(find "$sdir" -type f -printf '%P|%TY-%Tm-%Td %TI:%TM|%s\n' |
> sort --version-sort --reverse))
> fndarl=${#fndar[@]}
> echo "// __ \$fndarl: |${fndarl}|${fndar[0]}"
> 
> the array construct ($( ... )) is using the space (between the date
> and the time) also to split array elements, but file names and paths
> may contain spaces, so ($( ... )) should have a way to reset its
> parsing metadata, or, do you know of any other way to get each whole
> -printf ... line out of find as part of array elements?

You set IFS in the subshell, but the subshell is doing nothing related
to IFS, it is just calling find and sort. You need to set IFS on the
shell that does the splitting.

Also, note that file names can also contain newlines in general. The
only robust delimiter is the NUL character.

Also, ditch batch. For simple scripts, do standard shell. For complex
scripts and interactive use, zsh rulz:

fndar=(${(f)"$(...)"})
fndar=(${(ps:\0:)"$(...)"})
fndar=(**/*(O))

(I do not think zsh can sort version numbers easily, though.)

Regards,

-- 
  Nicolas George



Re: setting IFS to new line doesn't work while searching?

2023-12-15 Thread Greg Wooledge
On Fri, Dec 15, 2023 at 12:33:01PM +, Albretch Mueller wrote:
> #fndar=($(IFS=$'\n'; find "$sdir" -type f -printf '%P|%TY-%Tm-%Td
> %TI:%TM|%s\n' | sort --version-sort --reverse))

> the array construct ($( ... )) is using the space (between the date
> and the time) also to split array elements,

Yeah, no.  That's not how it works.

You're setting IFS *inside* the command substitution whose value is
what you're trying to word-split.  It needs to be set outside.

In addition to word splitting, an unquoted command substitution's
output is going to undergo filename expansion (globbing).  So you
would also need to disable that.

More to the point, bash has a 'readarray' command which does what you
*actually* want:

readarray -t fndar < <(find "$sdir" ...)

This avoids all of the issues with word splitting and globbing and
setting/resetting the IFS variable, and is more efficient as well.

BTW, readarray is a synonym for 'mapfile'.  You may use either spelling.



setting IFS to new line doesn't work while searching?

2023-12-15 Thread Albretch Mueller
sdir="$(pwd)"
#fndar=($(IFS=$'\n'; find "$sdir" -type f -printf '%P|%TY-%Tm-%Td
%TI:%TM|%s\n' | sort --version-sort --reverse))
#fndar=($(IFS='\n'; find "$sdir" -type f -printf '%P|%TY-%Tm-%Td
%TI:%TM|%s\n' | sort --version-sort --reverse))
fndar=($(find "$sdir" -type f -printf '%P|%TY-%Tm-%Td %TI:%TM|%s\n' |
sort --version-sort --reverse))
fndarl=${#fndar[@]}
echo "// __ \$fndarl: |${fndarl}|${fndar[0]}"

the array construct ($( ... )) is using the space (between the date
and the time) also to split array elements, but file names and paths
may contain spaces, so ($( ... )) should have a way to reset its
parsing metadata, or, do you know of any other way to get each whole
-printf ... line out of find as part of array elements?

lbrtchx



Re: Searching for HA shared storage free for docker

2023-05-16 Thread Stefan Monnier
> GlusterFS is vary simplistic to setup.

"simplistic" means something like *too* simple, which implies that it
is misleading.
You presumably meant "simple" or "very simple" :-)


Stefan



Re: Searching for HA shared storage free for docker

2023-05-16 Thread Mimiko

Thank you for suggestions.

I had found the problem with GlusterFS and Linstor+DRBD. It was about MTU set on servers of value 9000, while the switches did not have jumbo frames 
enabled. I've changed MTU on servers to standard 1500 and GlusterFS works pretty well. I suppose that Cepth would have same problem. And DRBD where 
facing the problem also because of MTU.


DRBD is fastest of all.
Linstor on top of DRBD is a good one with extensive command line options. Linstor knows how to use ZFS and LVM to create volumes. A good status 
overview. But Linstor is toward commercial and the free version is not up-to-date. Also the Linstor plugin for Docker gives a segfault and an unusable 
Docker environment. In order to use Linstor+DRBD volumes mounted on several servers, one should also use GFS2 or OCFS2 file systems.


GlusterFS is vary simplistic to setup. It is a filesystem itself on top of volumes. But the status is not very intuitive to view. It will take some 
time to figured out. But as you find it, it is simplistic. GlusterFS does not know about underlying hardware. You give a folder (which may be on 
separate volume ie ZFS, LVM, Disk) formated with desired filesystem (zfs, ext3, ext4, gfs2, etc.). GlusterFS have a plugin for Docker which allows one 
to create volumes as any others in Docker.


As for Ceph, it is way too complicated (make sense when using more than 5 servers for storages). Ceph have a good web interface do administer. Ceph 
can not be easely used on top of ZFS or LVM. Ceph preffer raw devices. I would like to move to Ceph but with a good consistent step by step manual 
which will give a working solution.



On 29.04.2023 01:26, Linux-Fan wrote:

Mimiko writes:


Hello.

I would want to use a shared storage with docker to store volume so swarm 
containers can use the volumes from different docker nodes.
As for now I tried glusterFS and linstor+drbd.
GlusterFS has a bug with slow replication and slow volume status presentation or timing out. Also directory listing or data access is not reliable, 
despite the nodes are connected with each other. So the GlusterFS didn't worked for me.

With linstor+drbd and linstor plugin for docker, the created volumes are 
inconsistend on creation. Did not find a solution.


DRBD might still be a solid base to run upon. Consider using an alternative file system on top of it like e.g. GFS2 or OCFS2. The management tools to 
assemble these kinds of cluster file systems can be found in packages

gfs2-utils and ocfs2-utils respectively. Back when I tried it, I found OCFS2 
slightly easier to setup.

I once tested a Kubernetes + OCFS2 setup (backed by a real iSCSI target rather 
than DRBD though) and it worked OK.


I want to try Ceth.

What other storage distributions did you tried and worked? It should have mirroring data on more than 2 nodes, representation as a bloch device to 
mount in system, or as a network file system to be mounted using fstab, or using docker volume. Sould be HA and consistent with at least 3 nodes and 
can automatically get back even if two of three nodes restarts, and be prune to sporadic network shortage.


I am not aware of any system that fulfils all of these requirements. Specifically, systems are typically either low-latency OR robust in event of 
“sporadic network shortage” issues.



GlusterFS could be preferrable on this with there were not the bug with timeout.


I have never used GlusterFS, but from things I heard about it it very much seems as if this is not really a ”bug” but rather by design. I think that 
the observed behaviour might also be similar if you were to use Ceph instead of GlusterFS, but if you find out that it works much better, I'd be  
interested in learning about it :)


HTH and YMMV
Linux-Fan

öö




Re: Searching for HA shared storage free for docker

2023-04-28 Thread Linux-Fan

Mimiko writes:


Hello.

I would want to use a shared storage with docker to store volume so swarm  
containers can use the volumes from different docker nodes.

As for now I tried glusterFS and linstor+drbd.
GlusterFS has a bug with slow replication and slow volume status  
presentation or timing out. Also directory listing or data access is not  
reliable, despite the nodes are connected with each other. So the GlusterFS  
didn't worked for me.
With linstor+drbd and linstor plugin for docker, the created volumes are  
inconsistend on creation. Did not find a solution.


DRBD might still be a solid base to run upon. Consider using an alternative  
file system on top of it like e.g. GFS2 or OCFS2. The management tools to  
assemble these kinds of cluster file systems can be found in packages
gfs2-utils and ocfs2-utils respectively. Back when I tried it, I found OCFS2  
slightly easier to setup.


I once tested a Kubernetes + OCFS2 setup (backed by a real iSCSI target  
rather than DRBD though) and it worked OK.



I want to try Ceth.

What other storage distributions did you tried and worked? It should have  
mirroring data on more than 2 nodes, representation as a bloch device to  
mount in system, or as a network file system to be mounted using fstab, or  
using docker volume. Sould be HA and consistent with at least 3 nodes and  
can automatically get back even if two of three nodes restarts, and be prune  
to sporadic network shortage.


I am not aware of any system that fulfils all of these requirements.  
Specifically, systems are typically either low-latency OR robust in event of  
“sporadic network shortage” issues.


GlusterFS could be preferrable on this with there were not the bug with  
timeout.


I have never used GlusterFS, but from things I heard about it it very much  
seems as if this is not really a ”bug” but rather by design. I think that  
the observed behaviour might also be similar if you were to use Ceph instead  
of GlusterFS, but if you find out that it works much better, I'd be   
interested in learning about it :)


HTH and YMMV
Linux-Fan

öö


pgpovu3A5nOlL.pgp
Description: PGP signature


Searching for HA shared storage free for docker

2023-04-28 Thread Mimiko

Hello.

I would want to use a shared storage with docker to store volume so swarm 
containers can use the volumes from different docker nodes.
As for now I tried glusterFS and linstor+drbd.
GlusterFS has a bug with slow replication and slow volume status presentation or timing out. Also directory listing or data access is not reliable, 
despite the nodes are connected with each other. So the GlusterFS didn't worked for me.

With linstor+drbd and linstor plugin for docker, the created volumes are 
inconsistend on creation. Did not find a solution.
I want to try Ceth.

What other storage distributions did you tried and worked? It should have mirroring data on more than 2 nodes, representation as a bloch device to 
mount in system, or as a network file system to be mounted using fstab, or using docker volume. Sould be HA and consistent with at least 3 nodes and 
can automatically get back even if two of three nodes restarts, and be prune to sporadic network shortage.

GlusterFS could be preferrable on this with there were not the bug with timeout.



Re: OT: Strange behavior in Firefox -- google searches start by searching another URL / domain

2021-06-08 Thread Joe
On Mon, 7 Jun 2021 18:11:13 -0400
Greg Wooledge  wrote:

> On Mon, Jun 07, 2021 at 06:08:39PM -0400, rhkra...@gmail.com wrote:
> > Thanks for the reply -- not quite, comments interspersed below:
> > 
> > On Monday, June 07, 2021 04:38:24 PM Greg Wooledge wrote:  
> > > On Mon, Jun 07, 2021 at 04:28:03PM -0400, rhkra...@gmail.com
> > > wrote:  
> > > > time) when I go to do a google search, the little message down
> > > > in the lower left corner of the screen that typically gives
> > > > messages like (paraphrased): ~"waiting for google.com" or
> > > > "loading data from google.com" (with variations on the URL)
> > > > sometimes starts with a completely irrelevant URL (but one that
> > > > I recognize and that concerns me).  
> > > 
> > > Let's make sure we understand each other completely here.  I
> > > believe what you are doing is:
> > > 
> > > 1) Open firefox.  It has a default or nearly-default
> > > configuration.
> > > 
> > > 2) Go to www.google.com.
> > > 
> > > 3) Search for something.  Doesn't matter what.  
> > 
> > What I see is happening while the google search result page is
> > "populating" (or actually waiting for it to start populating), the
> > first thing I see (sometimes) is something like ~"waiting for
> > buckslib.org"  
> 
> It might be firefox pre-fetching pages (or at least verifying they're
> actually reachable).  Beyond that, I don't know.
> 

Though Google always heads the list of The Usual Suspects, ISPs can also
be involved in dodgy behaviours. I remember once investigating a
curious behaviour, where a client was sometimes shown the kind of page
he was looking for, but not the one he'd asked for.

It turned out that the ISP's DNS server, on failing to get a reply to a
query, instead of telling the user this, would return another company's
IP address. Presumably this based on a database of companies and their
products and who had paid them for this service. I'm afraid this rather
offended me, and I switched the client's DNS server to operating from
root hints.

Apparently the service company that did this still exists (this was at
least ten years ago, a lifetime on the Net), and is called bare fruit
(all one word) for anyone wanting to see a company that boasts about DNS
hijacking.

-- 
Joe



Re: OT: Strange behavior in Firefox -- google searches start by searching another URL / domain

2021-06-07 Thread Steve McIntyre
rhkra...@gmail.com wrote:
>This is definitely OT and further, I'm using an old version of Firefox (ESR 
>52.8.0 on Wheezy, which is still my daily driver), 

Not so much answering your original question, but more of a plea to
you for *your* own safety...

If you're going to use a web browser connected to the open internet,
*please* upgrade and move forwards to something that has some security
support. You're using a browser that was last updated three years ago
on top of of an OS where security support ended *five* years ago. You
are *asking* for trouble doing this. There have been many holes found
and fixed in your browser that could allow for remote attackers to
gain access to your system, and then multiple kernel security bugs
that could easily give root privileges to an attacker who wanted them.

By all means use old and unmaintained software if you wish - that's
your right. But connecting old software to the internet is
*dangerous*. You appear to be worried about a third-party
website/domain potentially tracking your activity, but I think that
should be the least of your concerns at this point.

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
"We're the technical experts.  We were hired so that management could
 ignore our recommendations and tell us how to do our jobs."  -- Mike Andrews



Re: OT: Strange behavior in Firefox -- google searches start by searching another URL / domain

2021-06-07 Thread Greg Wooledge
On Mon, Jun 07, 2021 at 06:08:39PM -0400, rhkra...@gmail.com wrote:
> Thanks for the reply -- not quite, comments interspersed below:
> 
> On Monday, June 07, 2021 04:38:24 PM Greg Wooledge wrote:
> > On Mon, Jun 07, 2021 at 04:28:03PM -0400, rhkra...@gmail.com wrote:
> > > time) when I go to do a google search, the little message down in the
> > > lower left corner of the screen that typically gives messages like
> > > (paraphrased): ~"waiting for google.com" or "loading data from
> > > google.com" (with variations on the URL) sometimes starts with a
> > > completely irrelevant URL (but one that I recognize and that concerns
> > > me).
> > 
> > Let's make sure we understand each other completely here.  I believe
> > what you are doing is:
> > 
> > 1) Open firefox.  It has a default or nearly-default configuration.
> > 
> > 2) Go to www.google.com.
> > 
> > 3) Search for something.  Doesn't matter what.
> 
> What I see is happening while the google search result page is "populating" 
> (or actually waiting for it to start populating), the first thing I see 
> (sometimes) is something like ~"waiting for buckslib.org"

It might be firefox pre-fetching pages (or at least verifying they're
actually reachable).  Beyond that, I don't know.



Re: OT: Strange behavior in Firefox -- google searches start by searching another URL / domain

2021-06-07 Thread rhkramer
Thanks for the reply -- not quite, comments interspersed below:

On Monday, June 07, 2021 04:38:24 PM Greg Wooledge wrote:
> On Mon, Jun 07, 2021 at 04:28:03PM -0400, rhkra...@gmail.com wrote:
> > time) when I go to do a google search, the little message down in the
> > lower left corner of the screen that typically gives messages like
> > (paraphrased): ~"waiting for google.com" or "loading data from
> > google.com" (with variations on the URL) sometimes starts with a
> > completely irrelevant URL (but one that I recognize and that concerns
> > me).
> 
> Let's make sure we understand each other completely here.  I believe
> what you are doing is:
> 
> 1) Open firefox.  It has a default or nearly-default configuration.
> 
> 2) Go to www.google.com.
> 
> 3) Search for something.  Doesn't matter what.

What I see is happening while the google search result page is "populating" 
(or actually waiting for it to start populating), the first thing I see 
(sometimes) is something like ~"waiting for buckslib.org"



You don't have to go any further (i.e., to your step 4, the problem I see 
occurs before that).  Aside: I am familiar with the behavior you describe 
below, the redirecting through www.google.com first.

(For now, I haven't deleted the following.)
 
> 4) Hover the mouse on one of the search results.  A URL will be shown in
>the lower left corner.
> 
> 5) Actually click the search result.  Instead of going to the page that
>you saw in the corner prior to clicking, you are redirected through
>www.google.com first.
> 
> If this is what you mean, then yes, this is how Google works.  It's not
> specific to Firefox.
> 
> If you replace step 4 with "Right-click on the URL and select Copy Link
> Location, then paste the URL into a terminal", you'll see that the actual
> URL is of the form
> https://www.google.com/[stuff]=https%3A%2F%2F[realURL].
> 
> This is how Google knows which link you clicked on.
> 
> Ostensibly, they do this so they can "score" their search results and
> promote the ones that people click, and demote the ones they don't.
> 
> Whatever else they may use this information for... is not public knowledge,
> but we can speculate.
> 
> So, you may be asking, "Hey, if the real URL that I'm going to visit is
> www.google.com/something, why is it showing me www.debian.org in the
> corner of the page?"  Javascript.  The answer is Javascript.  It allows
> page creators to lie to end users in all kinds of ways.



Re: OT: Strange behavior in Firefox -- google searches start by searching another URL / domain

2021-06-07 Thread Greg Wooledge
On Mon, Jun 07, 2021 at 04:28:03PM -0400, rhkra...@gmail.com wrote:
> time) when I go to do a google search, the little message down in the lower 
> left corner of the screen that typically gives messages like (paraphrased): 
> ~"waiting for google.com" or "loading data from google.com" (with variations 
> on the URL) sometimes starts with a completely irrelevant URL (but one that I 
> recognize and that concerns me).

Let's make sure we understand each other completely here.  I believe
what you are doing is:

1) Open firefox.  It has a default or nearly-default configuration.

2) Go to www.google.com.

3) Search for something.  Doesn't matter what.

4) Hover the mouse on one of the search results.  A URL will be shown in
   the lower left corner.

5) Actually click the search result.  Instead of going to the page that
   you saw in the corner prior to clicking, you are redirected through
   www.google.com first.

If this is what you mean, then yes, this is how Google works.  It's not
specific to Firefox.

If you replace step 4 with "Right-click on the URL and select Copy Link
Location, then paste the URL into a terminal", you'll see that the actual
URL is of the form https://www.google.com/[stuff]=https%3A%2F%2F[realURL].

This is how Google knows which link you clicked on.

Ostensibly, they do this so they can "score" their search results and
promote the ones that people click, and demote the ones they don't.

Whatever else they may use this information for... is not public knowledge,
but we can speculate.

So, you may be asking, "Hey, if the real URL that I'm going to visit is
www.google.com/something, why is it showing me www.debian.org in the
corner of the page?"  Javascript.  The answer is Javascript.  It allows
page creators to lie to end users in all kinds of ways.



OT: Strange behavior in Firefox -- google searches start by searching another URL / domain

2021-06-07 Thread rhkramer
This is definitely OT and further, I'm using an old version of Firefox (ESR 
52.8.0 on Wheezy, which is still my daily driver), but I want to describe the 
behavior and see if anybody has seen anything similar, has an explanation, or 
has a fix.

The behavior is this: at least sometimes (I can't confirm that it happens every 
time) when I go to do a google search, the little message down in the lower 
left corner of the screen that typically gives messages like (paraphrased): 
~"waiting for google.com" or "loading data from google.com" (with variations 
on the URL) sometimes starts with a completely irrelevant URL (but one that I 
recognize and that concerns me).

The URL is buckslib.org, which is the URL of a public library (in the US) of 
which I am a member.

My concerns include the following:

   * is buckslib.org somehow tracking what I do on google?

   * even if not, this seems to be slowing down my search results

I have experimented with disabling cookies from both https://buckslib.org and 
the http:// variation, but that doesn't seem to have an effect.

Any ideas how this could be happening or how to stop it?

(I do plan to write to the administrator at buckslib.org, but I thought I'd 
try to do some investigation first (into how this might happen.)

All ideas welcome, including search terms which might be useful to search for 
more information on google or such.

Thanks!



Re: Searching for tutorials on ambiguous Debian commands

2020-02-19 Thread David Wright
On Wed 19 Feb 2020 at 07:24:06 (-0600), Richard Owlett wrote:
> I'm looking for a tutorial covering
> "cron(3tcl) cron" [.../tcllib/cron.3tcl.en.html]
> NOT "CRON(8) System Manager's Manual" [.../cron/cron.8.en.html]
> 
> Neither DuckDuckGo nor Google gave acceptable references.
> Many were references to cron(8) *NOT* cron(3tcl).
> 
> A website of interest updates data hourly.
> There is an internal time stamp in the data.
> There is a significant, but a to be determined, delay between the
> time-stamp and when the data is available on the web.
> 
> I want to do data captures at 1 minute intervals from 10 minutes
> before to 10 minutes after the top of the hour.
> 
> Suggestions?
> TIA

cron (8) and wget¹, downloading to a directory whose name is
constructed with $(date some-format), so that you can pick over
your downloads at leisure.

¹ some might suggest curl instead. One day I'll settle down, read
their man pages and compare them. Perhaps write a tutorial :)

Cheers,
David.



Re: Searching for tutorials on ambiguous Debian commands

2020-02-19 Thread Greg Wooledge
On Wed, Feb 19, 2020 at 02:49:13PM +0100, to...@tuxteam.de wrote:
> On Wed, Feb 19, 2020 at 07:24:06AM -0600, Richard Owlett wrote:
> > I'm looking for a tutorial covering
> > "cron(3tcl) cron" [.../tcllib/cron.3tcl.en.html]
> > NOT "CRON(8) System Manager's Manual" [.../cron/cron.8.en.html]
> 
> cron(3tcl) is a Tcl library (or module or what it's ever called),
> not a command. So it's to be used from a Tcl program. It schedules
> actions at given times whithin a running Tcl program and is not
> based on its namesake (just inspired on it).

It's a package within Tcllib, apparently.  Not one that I've used
personally, though.

> That said, "man 3tcl cron" should lead you to the man page. One
> of Tcl's niceties is that its docs are available as man pages).

Yeah, that works if tcllib is installed locally.

Upstream documentation is also at


Debian's man page is also at




Re: Searching for tutorials on ambiguous Debian commands

2020-02-19 Thread John Hasler
Have you looked at   ?
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: Searching for tutorials on ambiguous Debian commands

2020-02-19 Thread tomas
On Wed, Feb 19, 2020 at 07:24:06AM -0600, Richard Owlett wrote:
> I'm looking for a tutorial covering
> "cron(3tcl) cron" [.../tcllib/cron.3tcl.en.html]
> NOT "CRON(8) System Manager's Manual" [.../cron/cron.8.en.html]

cron(3tcl) is a Tcl library (or module or what it's ever called),
not a command. So it's to be used from a Tcl program. It schedules
actions at given times whithin a running Tcl program and is not
based on its namesake (just inspired on it).

That said, "man 3tcl cron" should lead you to the man page. One
of Tcl's niceties is that its docs are available as man pages).

I don't know whether there is any tutorial on that around (I
don't even know whether Tcl's cron is what you are after --
guessing from your question it's not clear to me).

A quick search of cron in https://wiki.tcl.tk doesn't yield
good hits -- only two describing how to interact with the
system cron, i.e. the "real thing".

> Neither DuckDuckGo nor Google gave acceptable references.
> Many were references to cron(8) *NOT* cron(3tcl).
> 
> A website of interest updates data hourly.
> There is an internal time stamp in the data.
> There is a significant, but a to be determined, delay between the
> time-stamp and when the data is available on the web.
> 
> I want to do data captures at 1 minute intervals from 10 minutes
> before to 10 minutes after the top of the hour.

And you want to control all of that from a constantly
running Tcl process (so some kind of daemon)?

If your answer is "yes", then cron(3tcl) might be for
you (OTOH it's pretty straightforward to schedule timing
things from Tcl without a special library, so perhaps
understanding cron(3tcl) ends up being more complex than
cooking something up around [after]).

If your answer is "no", then that's not the cron for you.

My Tcl is a bit rusty, but if you're still on the "yes"
branch above, you can show us the code you already
tried and we can try to take it from there.

Cheers
-- tomás


signature.asc
Description: Digital signature


Searching for tutorials on ambiguous Debian commands

2020-02-19 Thread Richard Owlett

I'm looking for a tutorial covering
"cron(3tcl) cron" [.../tcllib/cron.3tcl.en.html]
NOT "CRON(8) System Manager's Manual" [.../cron/cron.8.en.html]

Neither DuckDuckGo nor Google gave acceptable references.
Many were references to cron(8) *NOT* cron(3tcl).

A website of interest updates data hourly.
There is an internal time stamp in the data.
There is a significant, but a to be determined, delay between the 
time-stamp and when the data is available on the web.


I want to do data captures at 1 minute intervals from 10 minutes before 
to 10 minutes after the top of the hour.


Suggestions?
TIA







Re: Searching for a package containing ch-releases.en.html and similar history about Debian

2019-12-27 Thread Keith Christian
On Fri, Dec 27, 2019 at 2:58 PM Sven Joachim  wrote:

> On 2019-12-27 12:20 -0700, Keith Christian wrote:
>
> > It seems at one point there was a debian documentation package that
> > contained either text or HTML versions of the project's history as
> > seen on this page:
> >
> >
> https://www.debian.org/doc/manuals/project-history/ch-releases.en.html
>
> That package is still available, it is called debian-history.
>
> > Unable to find anything on packages.debian.org containing
> > "ch-releases.en" or "ch-releases.en.html."
>
> There is /usr/share/doc/debian-history/docs/releases.en.html with the
> same information.  I don't know where the "ch-" prefix for the files on
> the website comes from.
>
> Cheers,
>Sven




Thank you Sven!

Keith


Re: Searching for a package containing ch-releases.en.html and similar history about Debian

2019-12-27 Thread Sven Joachim
On 2019-12-27 12:20 -0700, Keith Christian wrote:

> It seems at one point there was a debian documentation package that
> contained either text or HTML versions of the project's history as
> seen on this page:
>
> https://www.debian.org/doc/manuals/project-history/ch-releases.en.html

That package is still available, it is called debian-history.

> Unable to find anything on packages.debian.org containing
> "ch-releases.en" or "ch-releases.en.html."

There is /usr/share/doc/debian-history/docs/releases.en.html with the
same information.  I don't know where the "ch-" prefix for the files on
the website comes from.

Cheers,
   Sven



Searching for a package containing ch-releases.en.html and similar history about Debian

2019-12-27 Thread Keith Christian
It seems at one point there was a debian documentation package that
contained either text or HTML versions of the project's history as
seen on this page:

https://www.debian.org/doc/manuals/project-history/ch-releases.en.html

Unable to find anything on packages.debian.org containing
"ch-releases.en" or "ch-releases.en.html."

Thanks and Happy New Year everyone!



Re: Searching and organizing emails (Re: If not "newbie" then ????)

2018-08-23 Thread Richard Owlett

On 08/23/2018 09:29 AM, rhkra...@gmail.com wrote:

On Monday, August 06, 2018 10:41:48 AM Richard Owlett wrote:

I don't remember what he wrote, but, at one point, I got the idea he had a lot
of posts (emails, I presume)  that he wanted to be able to search.  And maybe
organize / index.


Yes and Yes.



I have used recol for purposes like that--it can index and do full text
searches on, among other things, mbox files.


Just took a quick look at website. Worth a closer look.



(And, for my (attempt at) an askSam workalike, I organize other data into mbox
files for easy manipulation by various tools: editors with syntax highlighting
and folding capabilities, email clients, sorting utilities, ...)


The Wikipedia entry hints at interesting.



My attempt at an askSam workalike works reasonably well for me, but is not
ready for distribution.



Someone pointed me to CherryTree. It will do nicely for a loosely 
related task. I'm working on extracting what I'm interested in from 
SeaMonkey bookmarks. Email will be a while.






Searching and organizing emails (Re: If not "newbie" then ????)

2018-08-23 Thread rhkramer
On Monday, August 06, 2018 10:41:48 AM Richard Owlett wrote:

I don't remember what he wrote, but, at one point, I got the idea he had a lot 
of posts (emails, I presume)  that he wanted to be able to search.  And maybe 
organize / index.

I have used recol for purposes like that--it can index and do full text 
searches on, among other things, mbox files.  

(And, for my (attempt at) an askSam workalike, I organize other data into mbox 
files for easy manipulation by various tools: editors with syntax highlighting 
and folding capabilities, email clients, sorting utilities, ...)

My attempt at an askSam workalike works reasonably well for me, but is not 
ready for distribution.



Re: Failure searching forfile known to exist

2017-01-10 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Jan 10, 2017 at 07:26:59AM -0600, Richard Owlett wrote:

[...]

> I said I had "a command line outlook", not that I was strongly
> anti-GUI.
> See, no "  required ;/
> Seriously though, I think the default action of Mate's "Find" menu
> option should have  been that of "locate" or "find".
> In this case "find" was more useful. There was a directory with
> improper permissions set. "locate" ignored it but "find" reported
> that it could not be searched.

To assess a tool you gotta understand how it works :)

Find recursively traverses current directory structure. Hence
its advantages:

 - precise (i.e. based on current status, not on some past
   indexing run)
 - comprehensive (nearly everything about files is queryable)

and its disadvantages

 - excruciatingly slow on big file systems

Locate queries a database of file paths which is refreshed
at some regular intervals (if you hear your computer's tummy
rumoring and catch a glimpse of "updatedb" in the process
list: this is it). Hence its advantages:

 - blazingly fast

and its disadvantages

 - deferred (last updatedb)
 - only knows about file paths

I tend to use both (sometimes even combined).

Regards
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlh045IACgkQBcgs9XrR2kbpMwCeM1Y7fk5+pKXM/GMrBgBI3XSc
lNoAnjq63dni1qEUMPSoEUESqsXvDT1Q
=ZcrJ
-END PGP SIGNATURE-



Re: Failure searching forfile known to exist

2017-01-10 Thread Richard Owlett

On 1/9/2017 5:43 PM, Lisi Reisz wrote:

On Monday 09 January 2017 15:34:44 Richard Owlett wrote:

On 1/9/2017 8:13 AM, Greg Wooledge wrote:

On Mon, Jan 09, 2017 at 12:23:47AM -0600, Richard Owlett wrote:

I could not remember where "profiles.ini" was stored.


locate profiles.ini
find ~ -name profiles.ini


Works like a charm. I basically have a command line outlook


But you were using a GUI for a command line function . :-/ 

Lisi


but
have been using Windows since ver. 3.1 . There's a reason I'm
moving to Linux (Debian in particular ;)

Thanks.


I said I had "a command line outlook", not that I was strongly 
anti-GUI.

See, no "  required ;/
Seriously though, I think the default action of Mate's "Find" 
menu option should have  been that of "locate" or "find".
In this case "find" was more useful. There was a directory with 
improper permissions set. "locate" ignored it but "find" reported 
that it could not be searched.






Re: Failure searching forfile known to exist

2017-01-09 Thread Lisi Reisz
On Monday 09 January 2017 15:34:44 Richard Owlett wrote:
> On 1/9/2017 8:13 AM, Greg Wooledge wrote:
> > On Mon, Jan 09, 2017 at 12:23:47AM -0600, Richard Owlett wrote:
> >> I could not remember where "profiles.ini" was stored.
> >
> > locate profiles.ini
> > find ~ -name profiles.ini
>
> Works like a charm. I basically have a command line outlook

But you were using a GUI for a command line function . :-/ 

Lisi

> but 
> have been using Windows since ver. 3.1 . There's a reason I'm
> moving to Linux (Debian in particular ;)
>
> Thanks.



Re: Failure searching for file known to exist

2017-01-09 Thread David Wright
On Mon 09 Jan 2017 at 09:29:12 (-0600), Richard Owlett wrote:
> On 1/9/2017 8:08 AM, David Wright wrote:
> >On Mon 09 Jan 2017 at 00:23:47 (-0600), Richard Owlett wrote:
> >>Environment: Jessie with Mate DE
> >>Background: Doing an atypical install of SeaMonkey using the generic
> >>Linux version.
> >>
> >>I could not remember where "profiles.ini" was stored. As my
> >>reference information was on another system, it appeared easier to
> >>use the search function of the file manager.
> >
> >What file manager?
> 
> Whatever the GUI file manager that is installed when using the
> installer on DVD 1 of 13 and specifying Mate as the desktop.

Oh, that one. You should have used the other.

Cheers,
David.



Re: Failure searching forfile known to exist

2017-01-09 Thread Richard Owlett

On 1/9/2017 8:13 AM, Greg Wooledge wrote:

On Mon, Jan 09, 2017 at 12:23:47AM -0600, Richard Owlett wrote:

I could not remember where "profiles.ini" was stored.


locate profiles.ini
find ~ -name profiles.ini



Works like a charm. I basically have a command line outlook but 
have been using Windows since ver. 3.1 . There's a reason I'm 
moving to Linux (Debian in particular ;)


Thanks.




Re: Failure searching for file known to exist

2017-01-09 Thread Richard Owlett

On 1/9/2017 8:08 AM, David Wright wrote:

On Mon 09 Jan 2017 at 00:23:47 (-0600), Richard Owlett wrote:

Environment: Jessie with Mate DE
Background: Doing an atypical install of SeaMonkey using the generic
Linux version.

I could not remember where "profiles.ini" was stored. As my
reference information was on another system, it appeared easier to
use the search function of the file manager.


What file manager?


Whatever the GUI file manager that is installed when using the 
installer on DVD 1 of 13 and specifying Mate as the desktop.


I now have an additional piece of information and a "possible 
solution" if the phrase is interpreted VERY loosely.


I customarily invoke the file manager by clicking on either the 
Computer icon or that of the Home folder for current user.


I *RARELY* use the drop-down menu under "Applications" for 
anything. The four or five icons need to launch the appropriate 
program. Those icons serve >95% of my needs. The most used icon 
is the one to launch a terminal window.


Today,for the first time ever, I clicked on the "Search for files 
menu entry".

It requires that you specify if you wish to search hidden folders.

Thus I would lean towards classing the problem as a "bug" rather 
than a "feature".






I chose "file system" as starting point and entered "profiles.ini"
in the search bar.
No success whether logged in as a normal user or as root.

The file DOES exist.
the complete path is
/home/richard/.mozilla/seamonkey/profiles.ini

A little experimentation demonstrated that the apparent trigger was
that the target file was in a "hidden" folder.
As the file manager preferences were set to display hidden files and
folders, I expected search to actually SEARCH!

Is this a bug or a "feature"?
Is there a work-around?


Cheers,
David.






Re: Failure searching forfile known to exist

2017-01-09 Thread David Wright
On Mon 09 Jan 2017 at 00:23:47 (-0600), Richard Owlett wrote:
> Environment: Jessie with Mate DE
> Background: Doing an atypical install of SeaMonkey using the generic
> Linux version.
> 
> I could not remember where "profiles.ini" was stored. As my
> reference information was on another system, it appeared easier to
> use the search function of the file manager.

What file manager?

> I chose "file system" as starting point and entered "profiles.ini"
> in the search bar.
> No success whether logged in as a normal user or as root.
> 
> The file DOES exist.
> the complete path is
> /home/richard/.mozilla/seamonkey/profiles.ini
> 
> A little experimentation demonstrated that the apparent trigger was
> that the target file was in a "hidden" folder.
> As the file manager preferences were set to display hidden files and
> folders, I expected search to actually SEARCH!
> 
> Is this a bug or a "feature"?
> Is there a work-around?

Cheers,
David.



Re: Failure searching forfile known to exist

2017-01-09 Thread Greg Wooledge
On Mon, Jan 09, 2017 at 12:23:47AM -0600, Richard Owlett wrote:
> I could not remember where "profiles.ini" was stored.

locate profiles.ini
find ~ -name profiles.ini



Failure searching forfile known to exist

2017-01-08 Thread Richard Owlett

Environment: Jessie with Mate DE
Background: Doing an atypical install of SeaMonkey using the 
generic Linux version.


I could not remember where "profiles.ini" was stored. As my 
reference information was on another system, it appeared easier 
to use the search function of the file manager.


I chose "file system" as starting point and entered 
"profiles.ini" in the search bar.

No success whether logged in as a normal user or as root.

The file DOES exist.
the complete path is
/home/richard/.mozilla/seamonkey/profiles.ini

A little experimentation demonstrated that the apparent trigger 
was that the target file was in a "hidden" folder.
As the file manager preferences were set to display hidden files 
and folders, I expected search to actually SEARCH!


Is this a bug or a "feature"?
Is there a work-around?

TIA



Re: package version searching

2016-12-03 Thread Frank

Op 03-12-16 om 21:54 schreef Felix Miata:

1-How can I get similar results from apt as I get from zypper?


No idea whether that's possible.


2-How can I discover if versions between 4.8.13 and 4.8.18 are available
somewhere?


I would look here: http://snapshot.debian.org/package/mc/

Regards,
Frank



Re: package version searching

2016-12-03 Thread Joe
On Sat, 3 Dec 2016 15:54:55 -0500
Felix Miata  wrote:

> I'm looking to see what version(s) of mc are present in enabled repos
> on a Jessie installation. In openSUSE, I get desired results as
> follows:
> 
> # zypper se -s mc | grep 4.8
> il | mc| package| 4.8.17-114.1 | x86_64 | (System
> Packages) vl | mc| package| 4.8.15-5.1   | x86_64
> | Update vl | mc| package| 4.8.14-3.8   | x86_64
> | OSS | mc| srcpackage | 4.8.15-5.1   | noarch |
> Update l | mc-lang   | package| 4.8.15-5.1   | noarch |
> Update l | mc-lang   | package| 4.8.14-3.8   | noarch |
> OSS
> 
> I can see by looking on
> http://mirrors.us.kernel.org/debian/pool/main/m/mc/
> that 4.8.13 and 4.8.18 are present.
> 
> I have
> deb http://ftp.debian.org/debian jessie-backports main
> in /etc/apt/sources.list.d/backports.list
> but attempts to find anything other than 4.8.13 with apt-cache, apt
> list or apt show have proven futile.
> 
> 1-How can I get similar results from apt as I get from zypper?
> 
> 2-How can I discover if versions between 4.8.13 and 4.8.18 are
> available somewhere?
> 
> My underlying problem is 4.8.13 and 4.8.18 have problem bugs that are
> solved or not yet arisen in 4.8.15 thru 4.8.17.

http://snapshot.debian.org/binary/mc/

-- 
Joe



package version searching

2016-12-03 Thread Felix Miata
I'm looking to see what version(s) of mc are present in enabled repos on a 
Jessie installation. In openSUSE, I get desired results as follows:


# zypper se -s mc | grep 4.8
il | mc| package| 4.8.17-114.1 | x86_64 | (System Packages)
vl | mc| package| 4.8.15-5.1   | x86_64 | Update
vl | mc| package| 4.8.14-3.8   | x86_64 | OSS
   | mc| srcpackage | 4.8.15-5.1   | noarch | Update
 l | mc-lang   | package| 4.8.15-5.1   | noarch | Update
 l | mc-lang   | package| 4.8.14-3.8   | noarch | OSS

I can see by looking on
http://mirrors.us.kernel.org/debian/pool/main/m/mc/
that 4.8.13 and 4.8.18 are present.

I have
deb http://ftp.debian.org/debian jessie-backports main
in /etc/apt/sources.list.d/backports.list
but attempts to find anything other than 4.8.13 with apt-cache, apt list or apt 
show have proven futile.


1-How can I get similar results from apt as I get from zypper?

2-How can I discover if versions between 4.8.13 and 4.8.18 are available 
somewhere?

My underlying problem is 4.8.13 and 4.8.18 have problem bugs that are solved or 
not yet arisen in 4.8.15 thru 4.8.17.

--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: searching for hosts in domain local

2016-04-17 Thread Dan Hitt
Hi David,

Thanks for your responses.

I'm going to try to your questions and points all in this one post
so it's easier to comprehend.

Regarding the 'local' name, i don't know how it came into being
(or whether it was deliberate on anybody's part).  I sure don't
think i created it.

Thanks for pointing out /var/lib/dhcp/, and thanks very much for
pointing out netstat.

My /etc/services is like yours regarding mdns (no surprise there
i guess), and also like yours regarding what netstat reveals:
udp and udp6 for 5353 so something is trying to use that port.

I've subsequently set up ~/.ssh/config so i can ssh to all my
machines without '.local'.  I don't ping too much, so that's not
a problem (but it is a little unsatisfactory).

And --- i was wrong about how i have my network laid out.

So if anybody stumbles on this thread with a similar problem:

The router just connects directly to my main linux machine,
and the other three hosts (one linux, two other)
are all on a subnet that does not include the router.

So their behavior is much more plausible --- they don't
need '.local' at all --- the only machine that seems to need
'.local' is my main linux machine, but it has two network
interfaces, so it's in a unique situation.

(And that's why i don't want to be too emphatic about
'local' --- i sure don't think i chose that word, but because
i was wrong about describing my network earlier, maybe
i did something else and just don't recall it.  For example,
if 'local' was a drop down in one of the guis i went through,
then that might be the origin.  And i'm very sorry for
leaving a trail of red herrings if so!!! :( )

dan




On Sun, Apr 17, 2016 at 1:37 PM, David Wright  wrote:
> On Sun 17 Apr 2016 at 09:42:38 (-0700), Dan Hitt wrote:
>> If there's a way to determine if i'm running mDNS on my main linux
>> machine i'm certainly interested, but i don't want to be too greedy about 
>> this.
>> Because, after all, maybe it is reasonable that if my main linux
>> machine is sending all these packets around it needs more help
>> in determining what's on the local network.
>
> $ grep -i mdns /etc/services
> mdns5353/tcp# Multicast DNS
> mdns5353/udp
> $ netstat -n -a -e | grep 5353
> udp0  0 0.0.0.0:53530.0.0.0:* 10314857
> udp6   0  0 :::5353 :::*  10314858
> $
>
> Cheers,
> David.
>



Re: searching for hosts in domain local

2016-04-17 Thread David Wright
On Sun 17 Apr 2016 at 09:42:38 (-0700), Dan Hitt wrote:
> If there's a way to determine if i'm running mDNS on my main linux
> machine i'm certainly interested, but i don't want to be too greedy about 
> this.
> Because, after all, maybe it is reasonable that if my main linux
> machine is sending all these packets around it needs more help
> in determining what's on the local network.

$ grep -i mdns /etc/services 
mdns5353/tcp# Multicast DNS
mdns5353/udp
$ netstat -n -a -e | grep 5353
udp0  0 0.0.0.0:53530.0.0.0:* 10314857  
udp6   0  0 :::5353 :::*  10314858  
$ 

Cheers,
David.



Re: searching for hosts in domain local

2016-04-17 Thread David Wright
On Sat 16 Apr 2016 at 23:56:11 (-0700), Dan Hitt wrote:
> On Sat, Apr 16, 2016 at 10:42 PM, Andy Smith  wrote:
> > ".local" TLD is kind of special so you may find problems anyway -
> > it's used for multicast DNS (Avahi). You may be better off picking a
> > different domain for your local network.
> 
> I didn't pick that name :)

So how did you come by it?

> And my router is a black box which i cannot touch.

Is it a wireless router? How do you set/change to password?

> Is there any way to reload the dhclient.conf file without restarting dhclient?
> I don't want to get a new lease, just have an already running dhclient reread
> the file.  The man page for dhclient doesn't seem to indicate how you
> can get the file reread without restarting dhclient and getting a new lease.
> This seems perplexing to me, because i'm not unhappy with any of the
> ips i'm getting, i just want to be able to refer to hosts by shorter names.

man dhclient on my systems says:

"In order to keep track of leases across system reboots and server
 restarts, dhclient keeps a list of leases it has been assigned in the
 dhclient.leases file. On startup, after reading the dhclient.conf
 file, dhclient reads the dhclient.leases file to refresh its memory
 about what leases it has been assigned."

(in /var/lib/dhcp/ of course.) Don't ask me what happens if you
surreptitiously edit the appropriate line in that file and then
restart your network (or reboot). Others may know.

Cheers,
David.



Re: searching for hosts in domain local

2016-04-17 Thread David Wright
On Sat 16 Apr 2016 at 22:14:29 (-0700), Dan Hitt wrote:
> In my local network, the machines generally know each other by names like
> first_host.local
> second_host.local
> third_host.local
> ...
> 
> So if i'm on first_host, i can ssh to second_host with
> ssh my_account@second_host.local
> and i can ping second_host by
> ping second_host.local
> 
> I would like to drop the '.local' because it's an extra six characters
> with absolutely no value.
> 
> In principle, i think it should be possible to by just adding
>  search local
> to my /etc/resolv.conf, but this absolutely does not work.  (I imagine that
> local is a really magic name in some contexts but not very magic in others.)

If your router is ISP-provided, it's probably cheap, therefore lacking
a DNS server, so only routable domains can be looked up on your WAN
nameserver. (Local isn't routable.)

> Furthermore, /etc/resolv.conf doesn't want to be written, as it
> says it is generated automatically, so even if it worked, it wouldn't
> be such a good solution.
> 
> I can sort of fix the situation by editing ~/.ssh/config and adding lines
> Host second_host
> Hostname second_host.local
> but this has the disadvantage that i have to do it for every host on
> the network, and it only affects ssh --- ping and presumably every
> other command (naturally!) do not consult this file.
> 
> (I don't have any influence over my router which comes from
> my service provider, but i wouldn't want to change it even if
> i could, since i'm just asking my own machine to intercept
> a name like second_host and convert it to second_host.local
> before processing further.)

Obviously we don't know what sort of router you have. Does it have a
range of addresses which is does not (or can be told not to) serve
with DHCP? Can you deduce this range by seeing what IP addresses you
*do* get served with? Eg, if all your hosts are 192.168.1.32,
192.168.1.33, 192.168.1.34,... then it's possible that configuring a
machine as venus=192.168.1.12 will just *work*. In which case you can
put all your hosts into /etc/hosts as static addresses, and leave
the network name blank.

Cheers,
David.



Re: searching for hosts in domain local

2016-04-17 Thread Dan Hitt
Andy --- thanks for all your help in diagnosing my situation and educating me!

This includes facts like the nature of these names (second_host was
indeed an example, did not know about the restriction on the names) and
use of dig.

I did some more experimentation on my system, and in fact my other
linux machine (which i'll just call 'secondhost', since 'second_host'
is illegitimate)
has no problems dropping the '.local', for ping and ssh.

And there is a difference between the two machines, which i didn't
think was important, but it must be.  I.e., i think i've been
concealing evidence :(

My main machine ('firsthost') also connects to a little switch (via a
usb-to-ethernet
adapter) where two other machines are.  These other machines are really
allergic to my router so cannot be plugged in directly to it.  (I was amazed
at how easy it was to do this, the network manager on my main linux
machine had a little gui that offered to 'share the network' and it
all just worked.)

None of the names for any of the machines are served.

Now, just for reference, since you were so nice to answer all these questions:

My second linux machine is NXDOMAIN accourding to dig -t a, and that's
also the case for the two hypersensitive machines hiding behind my
main linux machine.

I haven't written anything in any /etc/hosts file anywhere, so the machines
all know each others ips in some other way.

If there's a way to determine if i'm running mDNS on my main linux
machine i'm certainly interested, but i don't want to be too greedy about this.
Because, after all, maybe it is reasonable that if my main linux
machine is sending all these packets around it needs more help
in determining what's on the local network.

If i get to the point where all my hardware is running free software
i may get greedier.  :)

Thanks again for all your help!!

dan



On Sun, Apr 17, 2016 at 2:19 AM, Andy Smith  wrote:
> Hi Dan,
>
> On Sat, Apr 16, 2016 at 11:56:11PM -0700, Dan Hitt wrote:
>> On Sat, Apr 16, 2016 at 10:42 PM, Andy Smith  wrote:
>> > What doesn't work about it?
>>
>> It has no effect.
>>
>> So, if i do
>> ping second_host
>> i get "unknown host" from ping.
>
> OK. So all the hosts on your local network are getting .local as a
> domain name by suggestion of the DHCP server, but do you have a DNS
> server anywhere that is serving those names, or are you putting
> everything in /etc/hosts?
>
> I have done some tests on my own machines and I find that if I add
> "local." to my search line in /etc/resolv.conf it does seem to
> generate a DNS query for whatever.local. I do not have a DNS server
> that is serving the .local zone though, so it gives me NXDOMAIN. Of
> course if I would add google.com to my search list then a query for
> say, "mail" would turn into "mail.google.com" and I'd get an answer.
>
> So I wonder how your DNS is set up.
>
> If you are relying on the ISP-supplied router to serve DNS for names
> it is giving out by DHCP, well, some would and some wouldn't. You
> could check by running DNS diagnostic tools such as "dig" against
> the IP address of your router, e.g.:
>
> dig -t a second-host.local @192.168.0.1
>
> where "second-host.local" is what you want to look up, "192.168.0.1"
> is the IP address of your router and the "-t a" is asking for
> answers of type A: IPv4 address. If that gave an NXDOMAIN answer
> then there isn't any configuration mistake on your side, it's just
> that your router is not acting as a DNS server for that zone.
>
> (By the way, underscores are not permitted in Internet host names,
> so your "first_host" and "second_host" examples are not good, but I
> am guessing they were merely examples.)
>
>> Given this, is there any way to change the network's name?
>
> Although .local is reserved for mDNS, I think that unless you
> actually use mDNS you should be okay. As I say, I put ".local" in my
> search list and then saw DNS queries going out for those names so it
> probably doesn't interfere with (normal, unicast) DNS.
>
>> Is there any way to reload the dhclient.conf file without restarting 
>> dhclient?
>
> These settings only take effect when you get a new lease or renew an
> existing one. So I think the answer is no. Is getting a new lease
> problematic? Normally on a DHCP network you don't tend to care if
> your IP address changes… (if you do care, you can get the DHCP
> server to give you the same one each time, but in your case that'd
> be a setting in the router which you don't manage).
>
>> This seems perplexing to me, because i'm not unhappy with any of the
>> ips i'm getting, i just want to be able to refer to hosts by shorter names.
>
> The issue is that these are different concepts and different
> services here, although they seem related and in your case are being
> provided by the same black box. The black box tells you your IP
> address and your host name and your domain name, so it seems logical
> that it should be able to also 

Re: searching for hosts in domain local

2016-04-17 Thread Dan Hitt
Thanks Andy for your suggestions --- some answers and questions
interspersed below:

On Sat, Apr 16, 2016 at 10:42 PM, Andy Smith <a...@strugglers.net> wrote:
> Hi Dan,
>
> On Sat, Apr 16, 2016 at 10:14:29PM -0700, Dan Hitt wrote:
>> I would like to drop the '.local' because it's an extra six characters
>> with absolutely no value.
>>
>> In principle, i think it should be possible to by just adding
>>  search local
>> to my /etc/resolv.conf, but this absolutely does not work.  (I imagine that
>> local is a really magic name in some contexts but not very magic in others.)
>
> You may need to use "local." with a dot at the end.
>
> What doesn't work about it?


It has no effect.

So, if i do
ping second_host
i get "unknown host" from ping.

On the other hand, if i add something like
search google.com
then a command like
ping mail
really does work, and really does ping mail.google.com.

So i know that /etc/resolv.conf is being read and acted on, on every
invocation of ping, if i'm searching google.com, but if i'm searching
local, nothing whatsoever happens.

Further, "local." with a dot at the end, is no different (although i see
that it looks like you can add a dot to any host name, although
not two consecutive dots).

>
> ".local" TLD is kind of special so you may find problems anyway -
> it's used for multicast DNS (Avahi). You may be better off picking a
> different domain for your local network.

I didn't pick that name :)

And my router is a black box which i cannot touch.

Given this, is there any way to change the network's name?

>
>> Furthermore, /etc/resolv.conf doesn't want to be written, as it
>> says it is generated automatically, so even if it worked, it wouldn't
>> be such a good solution.
>
> You can override the domain search list that your DHCP server
> provides by editing /etc/dhcp/dhclient.conf and putting in either:
>
> supersede domain-name "local."
>
> or:
>
> prepend domain-name "local."
>
> or:
>
> append domain-name "local."
>
> Depending upon whether you want to have *only* your search domains,
> your search domains *first*, or your search domains *last*,
> respectively.
>
> See man dhclient.conf for more info.

This is very useful information.

Is there any way to reload the dhclient.conf file without restarting dhclient?
I don't want to get a new lease, just have an already running dhclient reread
the file.  The man page for dhclient doesn't seem to indicate how you
can get the file reread without restarting dhclient and getting a new lease.
This seems perplexing to me, because i'm not unhappy with any of the
ips i'm getting, i just want to be able to refer to hosts by shorter names.

>
> Cheers,
> Andy

Thanks again for your help!!

dan

>
> --
> http://bitfolk.com/ -- No-nonsense VPS hosting
>



Re: searching for hosts in domain local

2016-04-17 Thread Andy Smith
Hi Dan,

On Sat, Apr 16, 2016 at 11:56:11PM -0700, Dan Hitt wrote:
> On Sat, Apr 16, 2016 at 10:42 PM, Andy Smith  wrote:
> > What doesn't work about it?
> 
> It has no effect.
> 
> So, if i do
> ping second_host
> i get "unknown host" from ping.

OK. So all the hosts on your local network are getting .local as a
domain name by suggestion of the DHCP server, but do you have a DNS
server anywhere that is serving those names, or are you putting
everything in /etc/hosts?

I have done some tests on my own machines and I find that if I add
"local." to my search line in /etc/resolv.conf it does seem to
generate a DNS query for whatever.local. I do not have a DNS server
that is serving the .local zone though, so it gives me NXDOMAIN. Of
course if I would add google.com to my search list then a query for
say, "mail" would turn into "mail.google.com" and I'd get an answer.

So I wonder how your DNS is set up.

If you are relying on the ISP-supplied router to serve DNS for names
it is giving out by DHCP, well, some would and some wouldn't. You
could check by running DNS diagnostic tools such as "dig" against
the IP address of your router, e.g.:

dig -t a second-host.local @192.168.0.1

where "second-host.local" is what you want to look up, "192.168.0.1"
is the IP address of your router and the "-t a" is asking for
answers of type A: IPv4 address. If that gave an NXDOMAIN answer
then there isn't any configuration mistake on your side, it's just
that your router is not acting as a DNS server for that zone.

(By the way, underscores are not permitted in Internet host names,
so your "first_host" and "second_host" examples are not good, but I
am guessing they were merely examples.)

> Given this, is there any way to change the network's name?

Although .local is reserved for mDNS, I think that unless you
actually use mDNS you should be okay. As I say, I put ".local" in my
search list and then saw DNS queries going out for those names so it
probably doesn't interfere with (normal, unicast) DNS.

> Is there any way to reload the dhclient.conf file without restarting dhclient?

These settings only take effect when you get a new lease or renew an
existing one. So I think the answer is no. Is getting a new lease
problematic? Normally on a DHCP network you don't tend to care if
your IP address changes… (if you do care, you can get the DHCP
server to give you the same one each time, but in your case that'd
be a setting in the router which you don't manage).

> This seems perplexing to me, because i'm not unhappy with any of the
> ips i'm getting, i just want to be able to refer to hosts by shorter names.

The issue is that these are different concepts and different
services here, although they seem related and in your case are being
provided by the same black box. The black box tells you your IP
address and your host name and your domain name, so it seems logical
that it should be able to also serve DNS for that zone, but it is
not always the case.

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting



Re: searching for hosts in domain local

2016-04-16 Thread Andy Smith
Hi Dan,

On Sat, Apr 16, 2016 at 10:14:29PM -0700, Dan Hitt wrote:
> I would like to drop the '.local' because it's an extra six characters
> with absolutely no value.
> 
> In principle, i think it should be possible to by just adding
>  search local
> to my /etc/resolv.conf, but this absolutely does not work.  (I imagine that
> local is a really magic name in some contexts but not very magic in others.)

You may need to use "local." with a dot at the end.

What doesn't work about it?

".local" TLD is kind of special so you may find problems anyway -
it's used for multicast DNS (Avahi). You may be better off picking a
different domain for your local network.

> Furthermore, /etc/resolv.conf doesn't want to be written, as it
> says it is generated automatically, so even if it worked, it wouldn't
> be such a good solution.

You can override the domain search list that your DHCP server
provides by editing /etc/dhcp/dhclient.conf and putting in either:

supersede domain-name "local."

or:

prepend domain-name "local."

or:

append domain-name "local."

Depending upon whether you want to have *only* your search domains,
your search domains *first*, or your search domains *last*,
respectively.

See man dhclient.conf for more info.

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting



searching for hosts in domain local

2016-04-16 Thread Dan Hitt
In my local network, the machines generally know each other by names like
first_host.local
second_host.local
third_host.local
...

So if i'm on first_host, i can ssh to second_host with
ssh my_account@second_host.local
and i can ping second_host by
ping second_host.local

I would like to drop the '.local' because it's an extra six characters
with absolutely no value.

In principle, i think it should be possible to by just adding
 search local
to my /etc/resolv.conf, but this absolutely does not work.  (I imagine that
local is a really magic name in some contexts but not very magic in others.)

Furthermore, /etc/resolv.conf doesn't want to be written, as it
says it is generated automatically, so even if it worked, it wouldn't
be such a good solution.

I can sort of fix the situation by editing ~/.ssh/config and adding lines
Host second_host
Hostname second_host.local
but this has the disadvantage that i have to do it for every host on
the network, and it only affects ssh --- ping and presumably every
other command (naturally!) do not consult this file.

(I don't have any influence over my router which comes from
my service provider, but i wouldn't want to change it even if
i could, since i'm just asking my own machine to intercept
a name like second_host and convert it to second_host.local
before processing further.)

Thanks in advance for any clues or references to man pages
or even other mailing lists.

dan



Re: Searching for MAAS equivalen

2015-09-26 Thread Lisi Reisz
On Thursday 24 September 2015 13:05:16 Himanshu Shekhar wrote:
> Is there anything equivalent to MAAS, with which we can handle multiple
> servers from a single system, as provided in Ubuntu Server?
> If yes, then please provide the package name.

Himanshu,

Could you possibly ask questions without requiring us to look up all sorts of 
things to find out what oyu are talking about.  You can't reasonably expect 
all of us to install Ubuntu Server in order to find out how it can do what.  
This is the Debian list.

Lisi



Re: Searching for MAAS equivalen

2015-09-26 Thread Himanshu Shekhar
Ok! No offence! :)
MAAS(Metal as a Service) is something which can be used to boot and control
multiple servers from a single system. A single change in one can be
deployed across all the servers on the network.
Why I occasionally ask questions about Ubuntu, is just because I am a
student who loves Debian but continuously tries to experiment all sorts of
software on his machine, and Ubuntu was how I was introduced to Linux but
switched to Debian cause it was the real OS.
That's all!

On Sat, Sep 26, 2015 at 5:21 PM, Lisi Reisz  wrote:

> On Thursday 24 September 2015 13:05:16 Himanshu Shekhar wrote:
> > Is there anything equivalent to MAAS, with which we can handle multiple
> > servers from a single system, as provided in Ubuntu Server?
> > If yes, then please provide the package name.
>
> Himanshu,
>
> Could you possibly ask questions without requiring us to look up all sorts
> of
> things to find out what oyu are talking about.  You can't reasonably expect
> all of us to install Ubuntu Server in order to find out how it can do what.
> This is the Debian list.
>
> Lisi
>
>


-- 
Himanshu Shekhar
IIIT-Allahabad
IRM2015006


Re: Searching for MAAS equivalen

2015-09-26 Thread Curt
On 2015-09-26, Brian  wrote:
>
> No offence taken here; it's a 10 second search to discover what MAAS is.
> Debian doesn't seem to have an equivalent. 
>

That's what I found out in thirty seconds (I admire your celerity).



Re: Searching for MAAS equivalen

2015-09-26 Thread Brian
On Sat 26 Sep 2015 at 15:45:54 +, Curt wrote:

> On 2015-09-26, Brian  wrote:
> >
> > No offence taken here; it's a 10 second search to discover what MAAS is.
> > Debian doesn't seem to have an equivalent. 
> >
> 
> That's what I found out in thirty seconds (I admire your celerity).

Thanks. I spend a lot of time on improving my vegetable patch.



Re: Searching for MAAS equivalen

2015-09-26 Thread Curt
On 2015-09-26, Brian  wrote:
> On Sat 26 Sep 2015 at 15:45:54 +, Curt wrote:
>
>> On 2015-09-26, Brian  wrote:
>> >
>> > No offence taken here; it's a 10 second search to discover what MAAS is.
>> > Debian doesn't seem to have an equivalent. 
>> >
>> 
>> That's what I found out in thirty seconds (I admire your celerity).
>
> Thanks. I spend a lot of time on improving my vegetable patch.
>

I've dyed my American roots, but I still eat them with peanut butter
slathered in the groove.



Re: Searching for MAAS equivalen

2015-09-26 Thread Brian
On Sat 26 Sep 2015 at 19:54:10 +0530, Himanshu Shekhar wrote:

> Ok! No offence! :)
> MAAS(Metal as a Service) is something which can be used to boot and control
> multiple servers from a single system. A single change in one can be
> deployed across all the servers on the network.
> Why I occasionally ask questions about Ubuntu, is just because I am a
> student who loves Debian but continuously tries to experiment all sorts of
> software on his machine, and Ubuntu was how I was introduced to Linux but
> switched to Debian cause it was the real OS.
> That's all!
> 
> On Sat, Sep 26, 2015 at 5:21 PM, Lisi Reisz  wrote:
> 
> > On Thursday 24 September 2015 13:05:16 Himanshu Shekhar wrote:
> > > Is there anything equivalent to MAAS, with which we can handle multiple
> > > servers from a single system, as provided in Ubuntu Server?
> > > If yes, then please provide the package name.
> >
> > Himanshu,
> >
> > Could you possibly ask questions without requiring us to look up all sorts
> > of
> > things to find out what oyu are talking about.  You can't reasonably expect
> > all of us to install Ubuntu Server in order to find out how it can do what.
> > This is the Debian list.
> >
> > Lisi

No offence taken here; it's a 10 second search to discover what MAAS is.
Debian doesn't seem to have an equivalent. 



Searching for MAAS equivalen

2015-09-24 Thread Himanshu Shekhar
Is there anything equivalent to MAAS, with which we can handle multiple
servers from a single system, as provided in Ubuntu Server?
If yes, then please provide the package name.

-- 
Himanshu Shekhar
IIIT-Allahabad
IRM2015006


Re: searching for a structure viewer tool

2015-03-22 Thread Fabrizio Carrai
Maybe you can have a look at this wikipedia page:
http://en.wikipedia.org/wiki/Comparison_of_hex_editors

--
F.

2015-03-20 18:26 GMT+01:00 Sergey Spiridonov s...@hurd.homeunix.org:

 Hi

 On 20/03/15 17:50, Renaud (Ron) OLGIATI wrote:

  I am looking for a tool which will allow to describe binary structure,
  some thing like

  COBOL ?

 Well, it exists in Debian (as well as perl and gcc), but I will prefer
 something more specialized.

 --
 Sergey



 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: https://lists.debian.org/vq1utb-vuu@legba.gamic.com




-- 
*Fabrizio*


Re: searching for a structure viewer tool

2015-03-22 Thread Sergey Spiridonov

Hi

On 20.03.2015 15:56, Sergey Spiridonov wrote:


If found such a tool exists for MS Windows [1]. I remember there was
similar for MS DOS. Is there something like that for the Debian GNU/Linux?


[1]
http://www.hexworkshop.com/onlinehelp/500/html/idhelp_struct_overview.htm


Here [1] is similar tool written by author of HIEW for MS-DOS. You can 
run it in dosbox:


[1] ftp://ftp.sac.sk/sac/utilprog/stl430.zip

--
Best regards, Sergey Spiridonov



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/memsb5$af6$1...@ger.gmane.org



searching for a structure viewer tool

2015-03-20 Thread Sergey Spiridonov
Hi all

I am looking for a tool which will allow to describe binary structure,
some thing like

byte 0-3: ascii string: name
byte 4-5: uint16 network order:  age
byte 6: bitfield: flags

and so on


Then it should take arbitrary binary file and display contents of the
file nicely according to the description.

If found such a tool exists for MS Windows [1]. I remember there was
similar for MS DOS. Is there something like that for the Debian GNU/Linux?


[1]
http://www.hexworkshop.com/onlinehelp/500/html/idhelp_struct_overview.htm

-- 
Best regards, Sergey Spiridonov


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/mehcfc$6tj$1...@ger.gmane.org



Re: searching for a structure viewer tool

2015-03-20 Thread Sergey Spiridonov
Hi

On 20/03/15 17:50, Renaud (Ron) OLGIATI wrote:

 I am looking for a tool which will allow to describe binary structure,
 some thing like

 COBOL ?

Well, it exists in Debian (as well as perl and gcc), but I will prefer
something more specialized.

-- 
Sergey



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/vq1utb-vuu@legba.gamic.com



Re: searching for a structure viewer tool

2015-03-20 Thread Ron
On Fri, 20 Mar 2015 15:56:44 +0100
Sergey Spiridonov s...@hurd.homeunix.org wrote:

 I am looking for a tool which will allow to describe binary structure,
 some thing like
 
 byte 0-3: ascii string: name
 byte 4-5: uint16 network order:  age
 byte 6: bitfield: flags
 
 and so on
 
 
 Then it should take arbitrary binary file and display contents of the
 file nicely according to the description.
 
 If found such a tool exists for MS Windows [1]. I remember there was
 similar for MS DOS. Is there something like that for the Debian GNU/Linux?

COBOL ?
 
Cheers,
 
Ron.
-- 
   S'il vous arrive quelque chose d'heureux, ne manquez pas
 d'aller le dire à vos amis, afin de leur faire de la peine.
   -- Casimir, Comte de Montrond

   -- http://www.olgiati-in-paraguay.org --
 


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150320135000.00035...@ron.cerrocora.org



Re: Searching for information site

2015-01-12 Thread Darac Marjal
On Sun, Jan 11, 2015 at 11:38:58PM +0100, Hans wrote:
 Hello list,
 
 is there an information site, which or where I can subscribe, to get 
 informed, 
 when packages are put off the repo and its reason for it? 

Yes. https://ftp-master.debian.org/removals.html

 
 Thanks for any infos.
 
 Best 
 
 Hans
 
 
 
 -- 
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: https://lists.debian.org/2353102.Q4ozpoJYfO@protheus2
 


signature.asc
Description: Digital signature


Searching for information site

2015-01-11 Thread Hans
Hello list,

is there an information site, which or where I can subscribe, to get informed, 
when packages are put off the repo and its reason for it? 

Thanks for any infos.

Best 

Hans



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/2353102.Q4ozpoJYfO@protheus2



Searching uninstalled packages by directory name

2014-10-24 Thread Malte Forkel
Hi,

how can I find all packages that will install files in a specific directory?

dpkg-query (dpkg -S) only searches installed packages. apt-file will
only search filenames, not directory names.

Thanks
Malte


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/m2da2e$fsb$1...@ger.gmane.org



Re: Searching uninstalled packages by directory name

2014-10-24 Thread Darac Marjal
On Fri, Oct 24, 2014 at 12:36:01PM +0200, Malte Forkel wrote:
 Hi,
 
 how can I find all packages that will install files in a specific directory?
 
 dpkg-query (dpkg -S) only searches installed packages. apt-file will
 only search filenames, not directory names.

Actually, apt-file will search the whole path (try 'apt-file search
bin'). If you like, try the -x option to apt-file to specify a
perl-compatible regex.

 
 Thanks
 Malte
 
 
 -- 
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: https://lists.debian.org/m2da2e$fsb$1...@ger.gmane.org
 


signature.asc
Description: Digital signature


Re: Searching uninstalled packages by directory name

2014-10-24 Thread Malte Forkel
Am 24.10.2014 um 13:08 schrieb Darac Marjal:
 Actually, apt-file will search the whole path (try 'apt-file search
 bin'). If you like, try the -x option to apt-file to specify a
 perl-compatible regex.

You're right! Thanks for pointing that out. I was mislead by the man
page auf apt-file 2.5.1 (in wheezy) which says

search Search in which package a file is included. A list of all  pack‐
   ages containing the pattern pattern is returned.

   apt-file  will  only  search for filenames, not directory names.
   This is due to the format of the Contents files it searches.

A misinterpretation on my behalf or a bug in the documentation?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/m2de24$hri$1...@ger.gmane.org



Re: Searching in PDF-file broken?

2014-09-11 Thread Jörg-Volker Peetz
Thank you Brian and B.
As I said, I tried three different viewers on Linux with no success.
I'm still trying to convince german Postbank that they have introduced a problem
by switching to version 2.0.8 of this iText tool. Their answer is that on
Windows it works.
-- 
Regards,
Jörg-Volker.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/lustiu$1fv$1...@ger.gmane.org



Searching in PDF-file broken?

2014-09-10 Thread Jörg-Volker Peetz
Recently I got a PDF-file which displays alright with a pdf-viewer but searching
for text or numbers does not work correctly.

I tried different viewers like the one built into iceweasel, one of the
poppler-family like xpdf or evince, and mupdf.
The text search fails if using a whole word with its first letter (like monat
in the example file available at
http://www.file-upload.net/download-9507877/iText-2.0.8-example.pdf.html).
Searching without the first letter works.

Likewise, copying strings from a pdf-viewer results in several wrong letters.
Also for digits either searching nor copying works.

I was told that it works in Windows. I don't have a Windows system to check.

Has anybody else experienced this phenomenon? Is it a problem of some debian
package?
-- 
Regards,
Jörg-Volker.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/lupnei$906$1...@ger.gmane.org



Re: Searching in PDF-file broken?

2014-09-10 Thread Brian
On Wed 10 Sep 2014 at 16:32:50 +0200, Jörg-Volker Peetz wrote:

 Recently I got a PDF-file which displays alright with a pdf-viewer but 
 searching
 for text or numbers does not work correctly.
 
 I tried different viewers like the one built into iceweasel, one of the
 poppler-family like xpdf or evince, and mupdf.
 The text search fails if using a whole word with its first letter (like 
 monat
 in the example file available at
 http://www.file-upload.net/download-9507877/iText-2.0.8-example.pdf.html).
 Searching without the first letter works.

Having to sign-up is a disincentive to examining the PDF.

 Likewise, copying strings from a pdf-viewer results in several wrong letters.
 Also for digits either searching nor copying works.
 
 I was told that it works in Windows. I don't have a Windows system to check.
 
 Has anybody else experienced this phenomenon? Is it a problem of some debian
 package?

The problem is far more likely to lie with the PDF and its fonts.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/10092014171824.28c505a53...@desktop.copernicus.demon.co.uk



Re: Searching in PDF-file broken?

2014-09-10 Thread Jörg-Volker Peetz
Brian wrote on 09/10/2014 18:20:
 On Wed 10 Sep 2014 at 16:32:50 +0200, Jörg-Volker Peetz wrote:
 
 Recently I got a PDF-file which displays alright with a pdf-viewer but 
 searching
 for text or numbers does not work correctly.

 I tried different viewers like the one built into iceweasel, one of the
 poppler-family like xpdf or evince, and mupdf.
 The text search fails if using a whole word with its first letter (like 
 monat
 in the example file available at
 http://www.file-upload.net/download-9507877/iText-2.0.8-example.pdf.html).
 Searching without the first letter works.
 
 Having to sign-up is a disincentive to examining the PDF.
 
No, you don't have to sign up. There are two download buttons, choose the one on
the right side. But you'll also get an offensive advertisement.

 Likewise, copying strings from a pdf-viewer results in several wrong letters.
 Also for digits neither searching nor copying works.

 I was told that it works in Windows. I don't have a Windows system to check.

 Has anybody else experienced this phenomenon? Is it a problem of some debian
 package?
 
 The problem is far more likely to lie with the PDF and its fonts.
 
-- 
Regards,
Jörg-Volker.




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/luqerq$ji$1...@ger.gmane.org



Re: Searching in PDF-file broken?

2014-09-10 Thread Brian
On Wed 10 Sep 2014 at 23:12:26 +0200, Jörg-Volker Peetz wrote:

 Brian wrote on 09/10/2014 18:20:
  On Wed 10 Sep 2014 at 16:32:50 +0200, Jörg-Volker Peetz wrote:
  
  Recently I got a PDF-file which displays alright with a pdf-viewer but 
  searching
  for text or numbers does not work correctly.
 
  I tried different viewers like the one built into iceweasel, one of the
  poppler-family like xpdf or evince, and mupdf.
  The text search fails if using a whole word with its first letter (like 
  monat
  in the example file available at
  http://www.file-upload.net/download-9507877/iText-2.0.8-example.pdf.html).
  Searching without the first letter works.
  
  Having to sign-up is a disincentive to examining the PDF.
  
 No, you don't have to sign up. There are two download buttons, choose the one 
 on
 the right side. But you'll also get an offensive advertisement.

  brian@desktop:~$ pdffonts iText-2.0.8-example.pdf 
  name type  emb sub uni object ID
   - --- --- --- -
  ArialMT  TrueType  no  no  yes 49  0

The font is not embedded in the PDF and ArialMT is not on this system. I
suppose the system will substitute something for it.

A portion of  pdftotext's output is

  pparen mit bxtra-Bonus
  Bis zu NIUM B pKaK winsen für maxK 4 jonate

  peÜr geeÜrte hundinI seÜr geeÜrter hundeI
  mit mostÄank oendite päusI dem neuen pparCard honto mit

My money would still be on mangled font encodings rather than defective
viewing applications.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/10092014232243.4bd64f287...@desktop.copernicus.demon.co.uk



Re: Searching in PDF-file broken?

2014-09-10 Thread Bzzzz
On Wed, 10 Sep 2014 23:34:16 +0100
Brian a...@cityscape.co.uk wrote:

 My money would still be on mangled font encodings rather than defective
 viewing applications.

Yeah, evince says it is 'WinAnsi' encoded (those two 2 words contracted
in one made me laugh;) Anyway, evince automatically substituted it
with DejaVu Sans).

Funny, the left of evince shows the same mess as your pdf2text,
but a text research is functional (seek for 'könn' actually work)
however, seeking for numbers fails (even for one number!)


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140911005032.547b2fca@msi.defcon1



Re: Searching for process filling root FS.

2013-05-23 Thread Sthu Deus
Good time of the day, Martin.


Thank You, Martin, for Your time and answer. You wrote:

 btrace /dev/dm-0
 
 on an otherwise idle system might help. If system is not idle
 otherwise you likely get too much output.

At random, I have found who ate the space( or one among others) - I
just catched it! :o)

 blktrace needs to be installed for this. I think I remember some knob
 in /proc or /sys which has a similar effect and you can watch I/O
 accesses in dmesg then, but I didn´t find it right now.

I will try it if there will be such need.
 
 Otherwise I like the suggestion to watch with iotop. You can run
 iotop in batch mode and output stuff to a file to inspect later (but
 be careful about free space on / :).

Oh! I even did not guess it has such ability! Thank You!
 
 I´d strongly suggest more than 100 MiB free space on /.
 
 Usually its good to leave at least 10-20% of the filesystem free to
 avoid fragmentation.

And that makes 10-20% extra money spending on HDD purchase. :o)


Sthu.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/519e4ba2.6d0cb40a.4323.a...@mx.google.com



Re: Searching for process filling root FS.

2013-05-23 Thread Slavko
Dňa 23.05.2013 19:02 Sthu Deus  wrote / napísal(a):
 Usually its good to leave at least 10-20% of the filesystem free to
 avoid fragmentation.
 
 And that makes 10-20% extra money spending on HDD purchase. :o)

You aren't right. The 1 TB disks are 2x bigger than 500 GB, but they
cost is not 2x bigger. And the 20 % free space is not only for
fragmentation (but it is right suggestion). It is very good for
unexpected situations (misconfiguration, software errors and some system
inspection – for example iotop output to file, etc). ;-)

Of course, the exact % value depends on the disk size, on bigger disk i
can left less %, but for fragmenation's purpose the 5 % is minimum,
suggested for many filesystems.

regards

-- 
Slavko
http://slavino.sk



signature.asc
Description: OpenPGP digital signature


Re: Searching for process filling root FS.

2013-05-20 Thread Stan Hoeppner
On 5/20/2013 12:06 AM, Sthu Deus wrote:

 I watch carefully disk space on my root device i try to find the
 culprit that fills the space.
 
 For example, i have free space only 100 MiB. 

If you only have 100MiB free space in your root filesystem, that is
normally a bad situation.

 After 2-3 hours space is
 gone. After reboot i see the space again.

What daemons are running?  What applications are you running?  Desktop
or server workload?

 What i did is du -ms for every dir. on the disk only (not
 for /dev, /sys, ...) - before i have the space and after it vanished
 away.

Temp files of some kind?

 The interesting point is that though total free disk spaces are
 different for the amount of MiB, yet every dir. size is the same or 2-3
 of it differs no more that 1 MiB.
 
 So question is, how it may be? Is it so large calculations drift ?

What filesystem is this?

-- 
Stan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5199db21.4070...@hardwarefreak.com



Re: Searching for process filling root FS.

2013-05-20 Thread Klearchos-Angelos Gkountras
You can use  gparted live cd . 

This will make some time change the partitions if they are on primary
partiotion ... 

On Mon, May 20, 2013 at 12:06:11PM +0700, Sthu Deus wrote:
 Good time of the day.
 
 
 I watch carefully disk space on my root device i try to find the
 culprit that fills the space.
 
 For example, i have free space only 100 MiB. After 2-3 hours space is
 gone. After reboot i see the space again.
 
 What i did is du -ms for every dir. on the disk only (not
 for /dev, /sys, ...) - before i have the space and after it vanished
 away.
 
 The interesting point is that though total free disk spaces are
 different for the amount of MiB, yet every dir. size is the same or 2-3
 of it differs no more that 1 MiB.
 
 So question is, how it may be? Is it so large calculations drift ?
 
 Thanks for Your time.
 
 
 Sthu.
 
 
 -- 
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: http://lists.debian.org/5199af49.07300f0a.6a85.6...@mx.google.com
 

-- 
Klearchos-Angelos Gkountras
http://jemadux.no-ip.info


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130520081914.GA16141@snf-44236



Re: Searching for process filling root FS.

2013-05-20 Thread Ralf Mardorf
On Mon, 2013-05-20 at 03:13 -0500, Stan Hoeppner wrote:
 If you only have 100MiB free space in your root filesystem, that is
 normally a bad situation.

Stan, please be more precise with your replay to the OP ;p.

Sthu, if you're running a regular Debian, with a common desktop
environment, then you don't need to search a culprit. You need more,
much more free disk space.

Do you run a customized and/or minimal Debian?
Is MiB a typo?

Regards,
Ralf



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1369039034.1816.82.camel@archlinux



Re: Searching for process filling root FS.

2013-05-20 Thread Darac Marjal
On Mon, May 20, 2013 at 12:06:11PM +0700, Sthu Deus wrote:
 Good time of the day.
 
 
 I watch carefully disk space on my root device i try to find the
 culprit that fills the space.
 
 For example, i have free space only 100 MiB. After 2-3 hours space is
 gone. After reboot i see the space again.
 
 What i did is du -ms for every dir. on the disk only (not
 for /dev, /sys, ...) - before i have the space and after it vanished
 away.
 
 The interesting point is that though total free disk spaces are
 different for the amount of MiB, yet every dir. size is the same or 2-3
 of it differs no more that 1 MiB.
 
 So question is, how it may be? Is it so large calculations drift ?

OK, so your directory sizes aren't changing but you're losing space. It
might be that an application is writing to a deleted file (unpacking or
streaming to a temporary file, for example).

Try running iotop -a as root, then use cursors to move the sort column
to DISK WRITE. Leave that running for a few minutes and you'll be able
to see which processes are writing the most data.



signature.asc
Description: Digital signature


Re: Searching for process filling root FS.

2013-05-20 Thread Sthu Deus
Good time of the day, Stan.


Thank You, Stan, for Your time and answer. You wrote:

 If you only have 100MiB free space in your root filesystem, that is
 normally a bad situation.

Why ?
 
 What daemons are running?  What applications are you running?  Desktop
 or server workload?

Well, it is desktop w/ about 20-30 services starting from by init.
Which exactly you are concerned about?

 Temp files of some kind?

I'm trying to figure that out. That i also suppose to be: something
does its work then releases the occupied space. 

  The interesting point is that though total free disk spaces are
  different for the amount of MiB, yet every dir. size is the same or
  2-3 of it differs no more that 1 MiB.
  
  So question is, how it may be? Is it so large calculations drift ?
 
 What filesystem is this?
 
It is ext4 .


Sthu.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5199f477.ed14b40a.024e.9...@mx.google.com



Re: Searching for process filling root FS.

2013-05-20 Thread Martin Steigerwald
Hi Sthu,

Am Montag, 20. Mai 2013, 12:06:11 schrieb Sthu Deus:
 Good time of the day.
 
 
 I watch carefully disk space on my root device i try to find the
 culprit that fills the space.
 
 For example, i have free space only 100 MiB. After 2-3 hours space is
 gone. After reboot i see the space again.
 
 What i did is du -ms for every dir. on the disk only (not
 for /dev, /sys, ...) - before i have the space and after it vanished
 away.
 
 The interesting point is that though total free disk spaces are
 different for the amount of MiB, yet every dir. size is the same or 2-3
 of it differs no more that 1 MiB.
 
 So question is, how it may be? Is it so large calculations drift ?

btrace /dev/dm-0

on an otherwise idle system might help. If system is not idle otherwise you 
likely get too much output.

blktrace needs to be installed for this. I think I remember some knob in /proc 
or /sys which has a similar effect and you can watch I/O accesses in dmesg 
then, but I didn´t find it right now.

Otherwise I like the suggestion to watch with iotop. You can run iotop in 
batch mode and output stuff to a file to inspect later (but be careful about 
free space on / :).

I´d strongly suggest more than 100 MiB free space on /.

Usually its good to leave at least 10-20% of the filesystem free to avoid 
fragmentation.

Ciao,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4545470.3iDn6scfhm@merkaba



Re: Searching for process filling root FS.

2013-05-20 Thread Sthu Deus
Good time of the day, Darac.


Thank You, Darac, for Your time and answer. You wrote:

 OK, so your directory sizes aren't changing but you're losing space.
 It might be that an application is writing to a deleted file
 (unpacking or streaming to a temporary file, for example).

Shouldn't dir space also grow even having already removed file ?

 Try running iotop -a as root, then use cursors to move the sort
 column to DISK WRITE. Leave that running for a few minutes and
 you'll be able to see which processes are writing the most data.

Not so easy: space can stand the same within an hour! :o)

But i got the point.So it can be an attack: file does not exist
(seen). but occupies whole the free space! - Awesome.


Sthu.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/519a1e6e.c1510f0a.1961.0...@mx.google.com



Re: Searching for process filling root FS.

2013-05-20 Thread Darac Marjal
On Mon, May 20, 2013 at 08:00:18PM +0700, Sthu Deus wrote:
 Good time of the day, Darac.
 
 
 Thank You, Darac, for Your time and answer. You wrote:
 
  OK, so your directory sizes aren't changing but you're losing space.
  It might be that an application is writing to a deleted file
  (unpacking or streaming to a temporary file, for example).
 
 Shouldn't dir space also grow even having already removed file ?

No. If the file is deleted, that implies that all references to it have
been removed from its parent directories. The only reference left is the
one the program is holding.

The file has been removed from the directory so (assuming a directory
'knew' its own size), the directory is smaller. In practice, you find
the size of a directory by walking all the files within it and summing
their sizes.

 
  Try running iotop -a as root, then use cursors to move the sort
  column to DISK WRITE. Leave that running for a few minutes and
  you'll be able to see which processes are writing the most data.
 
 Not so easy: space can stand the same within an hour! :o)

That's fine. You should be able to leave iotop running for hours (days,
weeks) on end and it will continue to sum up the output.

Your only problem is if the disk usage comes from something launched
several times and appending to a file (for example a cron job writing to
a log). But if that were the case, you'd expect to see the directories
swelling, too.

 
 But i got the point.So it can be an attack: file does not exist
 (seen). but occupies whole the free space! - Awesome.

Well, yes, I suppose you could see that as an attack. It IS possible
to find deleted files, but if it's not big (and with only 100Mb free
space, that's possible) it might be difficult to find.



signature.asc
Description: Digital signature


Searching for process filling root FS.

2013-05-19 Thread Sthu Deus
Good time of the day.


I watch carefully disk space on my root device i try to find the
culprit that fills the space.

For example, i have free space only 100 MiB. After 2-3 hours space is
gone. After reboot i see the space again.

What i did is du -ms for every dir. on the disk only (not
for /dev, /sys, ...) - before i have the space and after it vanished
away.

The interesting point is that though total free disk spaces are
different for the amount of MiB, yet every dir. size is the same or 2-3
of it differs no more that 1 MiB.

So question is, how it may be? Is it so large calculations drift ?

Thanks for Your time.


Sthu.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5199af49.07300f0a.6a85.6...@mx.google.com



Re: A method of searching recovered files from dying hard drive?

2011-11-23 Thread Christofer C. Bell
On Tue, Nov 22, 2011 at 10:24 AM, Cybe R. Wizard
cybe_r_wiz...@earthlink.net wrote:

 Is there a way for me to locate the .jpg files in these directories
 without hand-searching? I've already updatedb and run locate with no
 joy.

You should be able to locate them with a command like this:

$ find /path/to/mount/point -type f -name \*.jpg -print | less

This says, find, under the /path/to/mount/point directory, files that
are plain files (type f - file), named anything ending in .jpg
(*.jpg), print what you find where I can see it, and give it to me in
a pager (less).

-- 
Chris


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOEVnYunBduRpHZFPJ96NFcJqy_pkuQ=ei9ud57wjdi4bnw...@mail.gmail.com



Re: A method of searching recovered files from dying hard drive?

2011-11-23 Thread Cybe R. Wizard
On Wed, 23 Nov 2011 09:22:46 -0600
Christofer C. Bell christofer.c.b...@gmail.com wrote:

 On Tue, Nov 22, 2011 at 10:24 AM, Cybe R. Wizard
 cybe_r_wiz...@earthlink.net wrote:
 
  Is there a way for me to locate the .jpg files in these directories
  without hand-searching? I've already updatedb and run locate with no
  joy.
 
 You should be able to locate them with a command like this:
 
 $ find /path/to/mount/point -type f -name \*.jpg -print | less
 
 This says, find, under the /path/to/mount/point directory, files that
 are plain files (type f - file), named anything ending in .jpg
 (*.jpg), print what you find where I can see it, and give it to me in
 a pager (less).
 
Thanks, Christofer, that worked a charm and all the funny monsters are
safely tucked onto a CD now.

Cybe R. Wizard
-- 
It's curtains for Windows around my house.
me


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2023113224.7b2fa7c1@wizardstower



A method of searching recovered files from dying hard drive?

2011-11-22 Thread Cybe R. Wizard

Hi, all,
I've run photorec, part of testdisk6.11-2, to try to recover some of
last Halloween's pictures from a dying 160 gig hard drive.

It has made its run and given me 1147 directories labeled,
recup_dir.number with 500 files in each.  The software claims to
have recovered some 400+ .jpg files, most of which are of no interest
as they are already backed up. 

Is there a way for me to locate the .jpg files in these directories
without hand-searching? I've already updatedb and run locate with no
joy.

Cybe R. Wizard
-- 
When Windows are opened the bugs come in.
Winduhs


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2022102427.0deec13a@wizardstower



[OT] Searching Squeeze on Google

2011-10-04 Thread Alois Mahdal

Hi,

sorry for OT--this is probably more about Google, but I find
this quite puzzling *and* somehow Debian-(popularity)-related :)


Why first Debian-related hit in results after searching squeeze
on Google is actually Wheezy?  Not Squeeze?

Actually (not counting images/videos/news for...), Debian Wheezy
was 4th result, Squeeze was 11th.


I always thought that Google gives better score to pages that are
actually related, i.e. most people who were looking for 'squeeze'
went there and did not come back.


Any ideas?


Thanks,
aL.

--
Alois Mahdal, using Opera's revolutionary e-mail client:  
http://www.opera.com/mail/



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/op.v2t4zeopntc...@aloism.cz.avg.com



Re: [OT] Searching Squeeze on Google

2011-10-04 Thread Camaleón
On Tue, 04 Oct 2011 18:19:52 +0200, Alois Mahdal wrote:

 sorry for OT--this is probably more about Google, but I find this quite
 puzzling *and* somehow Debian-(popularity)-related :)

I wouldn't worry about this. Google's search results varies *a lot* 
depending on your location, stored, cookies, browser, IP address, rainy 
or sunny day, etc... ;-)

 Why first Debian-related hit in results after searching squeeze on
 Google is actually Wheezy?  Not Squeeze?

(...)

My first Debian hit directs me to Squeeze (current stable). In fact, I 
see nothing about Wheezy (at least within the first 10 results). 

I run the query using this URI:

***
http://www.google.com/webhp?complete=0hl=en
***

And this is the excerpt I get (#10):

***
Debian -- Debian “squeeze” Release Information
www.debian.org/releases/stable/
Debian “squeeze” Release Information. Debian 6.0.2 was released June 
25th, 2011. Debian 6.0.0 was initially released on February 6th, 2011. 
The release ...
***

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.10.04.16.48...@gmail.com



Re: [OT] Searching Squeeze on Google

2011-10-04 Thread Alois Mahdal

On Tue, 04 Oct 2011 18:48:30 +0200, Camaleón noela...@gmail.com wrote:


On Tue, 04 Oct 2011 18:19:52 +0200, Alois Mahdal wrote:


sorry for OT--this is probably more about Google, but I find this quite
puzzling *and* somehow Debian-(popularity)-related :)


I wouldn't worry about this. Google's search results varies *a lot*
depending on your location, stored, cookies, browser, IP address, rainy
or sunny day, etc... ;-)


Thanks, I kinda forgot that---trying to see things simple way all day  
long. :-)


Just took a glimpse into HTTP headers and I remembered that there's a whole
(beautiful  scary) world between my browser and Google... ;-)



Why first Debian-related hit in results after searching squeeze on
Google is actually Wheezy?  Not Squeeze?


(...)

My first Debian hit directs me to Squeeze (current stable). In fact, I
see nothing about Wheezy (at least within the first 10 results).


...kind of soothing to know, though... :-D


aL.

--
Alois Mahdal, using Opera's revolutionary e-mail client:  
http://www.opera.com/mail/



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/op.v2t753zuntc...@aloism.cz.avg.com



Re: searching through open-/libreoffice documents

2011-06-18 Thread Wayne Topa
On 06/16/2011 10:06 AM, lee wrote:
 Hi,
 
 when I have a collection of documents created with
 openoffice/libreoffice writer and want to search through them for
 strings contained in the text, how do I do that? Is there some
 equivalent for grep that works on such files?
 

I use the recoll package for searching for terms of all kinds of
files Including OpenOffice/libreoffice files.

HTH
Wayne


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4dfd08e0.5000...@gmail.com



searching through open-/libreoffice documents

2011-06-16 Thread lee
Hi,

when I have a collection of documents created with
openoffice/libreoffice writer and want to search through them for
strings contained in the text, how do I do that? Is there some
equivalent for grep that works on such files?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87ips5vpjw@yun.yagibdah.de



Re: searching through open-/libreoffice documents

2011-06-16 Thread Juan Sierra Pons
Hi

Google is your friend :P

http://forums.opensuse.org/archives/sf-archives/archives-programming-scripting/337622-using-grep-openoffice-files.html


The openoffice file (something.odt) is a zip file with a collection of
files that make up the document inside. One of these files is a .XML
file called contents.xml that contains the actual text of your
document.


You can create un script to unzip the file and then grep the xml content

Best regards

Juan
-- 
Mi nueva dirección es: - My new email address is: - Mon nouveau email est:
j...@elsotanillo.net

Usuario Linux Registrado: #257202
http://www.elsotanillo.net



2011/6/16 lee l...@yun.yagibdah.de:
 Hi,

 when I have a collection of documents created with
 openoffice/libreoffice writer and want to search through them for
 strings contained in the text, how do I do that? Is there some
 equivalent for grep that works on such files?


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: http://lists.debian.org/87ips5vpjw@yun.yagibdah.de




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTimQQvHgggJWdd=mrhdarr9rfg1...@mail.gmail.com



Re: searching through open-/libreoffice documents

2011-06-16 Thread Juan Sierra Pons
or you can use zgrep

zgrep - search possibly compressed files for a regular expression

Best regards

-- 
Mi nueva dirección es: - My new email address is: - Mon nouveau email est:
j...@elsotanillo.net

Usuario Linux Registrado: #257202
http://www.elsotanillo.net


2011/6/16 Juan Sierra Pons j...@elsotanillo.net:
 Hi

 Google is your friend :P

 http://forums.opensuse.org/archives/sf-archives/archives-programming-scripting/337622-using-grep-openoffice-files.html

 
 The openoffice file (something.odt) is a zip file with a collection of
 files that make up the document inside. One of these files is a .XML
 file called contents.xml that contains the actual text of your
 document.
 

 You can create un script to unzip the file and then grep the xml content

 Best regards

 Juan
 --
 Mi nueva dirección es: - My new email address is: - Mon nouveau email est:
 j...@elsotanillo.net
 
 Usuario Linux Registrado: #257202
 http://www.elsotanillo.net
 


 2011/6/16 lee l...@yun.yagibdah.de:
 Hi,

 when I have a collection of documents created with
 openoffice/libreoffice writer and want to search through them for
 strings contained in the text, how do I do that? Is there some
 equivalent for grep that works on such files?


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: http://lists.debian.org/87ips5vpjw@yun.yagibdah.de





--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTikHOQbpS1hK_6K_SVd6i4Qc=9p...@mail.gmail.com



Re: searching through open-/libreoffice documents

2011-06-16 Thread Camaleón
On Thu, 16 Jun 2011 16:06:27 +0200, lee wrote:

 when I have a collection of documents created with
 openoffice/libreoffice writer and want to search through them for
 strings contained in the text, how do I do that? Is there some
 equivalent for grep that works on such files?

Google also finds some premade scripts from the competition :-)

Search multiple .odt files 
http://ubuntuforums.org/showthread.php?t=899179

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.06.16.14.47...@gmail.com



Searching inside e-mail clients (was: KMail - forwarding issues)

2010-11-05 Thread Camaleón
On Thu, 04 Nov 2010 16:35:31 -0400, Celejar wrote:

 On Sat, 30 Oct 2010 15:48:30 + (UTC) Camaleón wrote:
 
 ...
 
 with mbox and searching strings in Icedove is bit slow if mbox files
 are big (measured in GiB :-P).
 
 If you're still doing on-demand searching, have you considered using a
 mail indexer, such as Sylph-Searcher, or a generic file indexer, such as
 recoll?

Yep, I'm using Tracker. But Tracker for Lenny still lacks Icedove 
integration so I have to use Icedove embedded search, which is fine but 
so basic. And I need to keep Icedove because of its hmtl support. Another 
option is Evolution but always found it too much resource consuming and 
bloated.
 
 Obviously, dedicated mail indexers have the advantage of understanding
 the structure of emails, so you can search for mail with specific field
 contents.

I would like to see Icedove supporting both, mbox and maildir :-)

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.11.05.07.01...@gmail.com



Re: Searching inside e-mail clients (was: KMail - forwarding issues)

2010-11-05 Thread Celejar
On Fri, 5 Nov 2010 07:01:28 + (UTC)
Camaleón noela...@gmail.com wrote:

 On Thu, 04 Nov 2010 16:35:31 -0400, Celejar wrote:
 
  On Sat, 30 Oct 2010 15:48:30 + (UTC) Camaleón wrote:
  
  ...
  
  with mbox and searching strings in Icedove is bit slow if mbox files
  are big (measured in GiB :-P).
  
  If you're still doing on-demand searching, have you considered using a
  mail indexer, such as Sylph-Searcher, or a generic file indexer, such as
  recoll?
 
 Yep, I'm using Tracker. But Tracker for Lenny still lacks Icedove 
 integration so I have to use Icedove embedded search, which is fine but 
 so basic. And I need to keep Icedove because of its hmtl support. Another 
 option is Evolution but always found it too much resource consuming and 
 bloated.

I use recoll, which has no MUA integration.  I'm thinking of configuring
Sylph-Searcher, which uses a postgresql backend.

I don't do HTML mail ;)

  Obviously, dedicated mail indexers have the advantage of understanding
  the structure of emails, so you can search for mail with specific field
  contents.
 
 I would like to see Icedove supporting both, mbox and maildir :-)

Sylph uses MH, similar to maildir, but can import and export mbox.

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101105163317.6e723cc8.cele...@gmail.com



Re: searching inside files with find, cat and grep as a oneliner ...

2010-09-18 Thread Alexander Batischev
On Fri, Sep 17, 2010 at 11:07:53PM -0600, Bob Proulx wrote:
 Albretch Mueller wrote:

 But newer POSIX standard find can use a {} + to launch grep once and
 to pass as many files on the command line as the system allows.  That
 is faster since grep is launched only as many times as needed.
 Usually only once.
 
   $ find -name '*.extension' -exec grep -H 'pattern' {} +

Wow! I thought that such things can be done only by xargs. Thank you very much!

-- 
Regards,
Alexander Batischev

1024D/69093C81
F870 A381 B5F5 D2A1 1B35  4D63 A1A7 1C77 6909 3C81


signature.asc
Description: Digital signature


  1   2   3   4   >