Re: Security updates for wheezy breaking my FAI-installation

2015-05-04 Thread Mathias Friman
2015-05-04 13:03 GMT+02:00 Christian Seiler :

> Am 2015-05-04 12:30, schrieb Alexis:
>
>> Further, afaik, the wheezy-updates line should refer to the same set
>> of packages as the wheezy/updates line from security.debian.org. If
>> that's so, then having two different lines refer to the same package
>> set is merely confusing the config further. If not, then i would
>> certainly be interested to know what the difference between the two
>> archives is!
>>
>
> I linked a wiki page in my previous email describing precisely what
> wheezy-updates is (and it is NOT the regular security update
> repository):
> https://wiki.debian.org/StableUpdates
>
> Christian
>
>
Thank you all for the feedback, your tips indeed did the trick. :) Thanks
also to gusnan @ #debian.se who solved it too.

Sometimes one does stare too long at a problem not seeing the obvious...

Kindest regards,
Mathias


Security updates for wheezy breaking my FAI-installation

2015-05-04 Thread Mathias Friman
Hello,

recently I've encountered this problem when doing a server-installation
with FAI from CD. There seems to be some security updates that break the
dependencies I rely on.

As of now I've disabled the security repository on the install-CD and
enable it when the server is rebooted and do a regular apt-get update &&
apt-get upgrade at which point I can install the security updates as
expected.

--

The following packages have unmet dependencies:
 libmysqlclient18 : Depends: libc6 (>= 2.14) but 2.13-38+deb7u6 is
installed.
 libcurl3 : Depends: libc6 (>= 2.17) but 2.13-38+deb7u6 is installed.
Depends: librtmp1 (>= 2.4+20131018.git79459a2-3~) which is a
virtual package.
Depends: libssh2-1 (>= 1.2.6) but it is not going to be
installed.
 libgd2-xpm : Conflicts: libgd2 which is a virtual package.
  Conflicts: libgd2-noxpm but 2.0.36~rc1~dfsg-6.1 is to be
installed.
 libcurl3-gnutls : Depends: libc6 (>= 2.17) but 2.13-38+deb7u6 is installed.
   Depends: libgnutls-deb0-28 (>= 3.3.0) but it is not
going to be installed.
   Depends: librtmp1 (>= 2.4+20131018.git79459a2-3~) which
is a virtual package.
   Depends: libssh2-1 (>= 1.2.6) but it is not going to be
installed.
 libgd2-noxpm : Conflicts: libgd2 which is a virtual package.
Conflicts: libgd2-xpm but 2.0.36~rc1~dfsg-6.1 is to be
installed.
The following actions will resolve these dependencies:

  Keep the following packages at their current version:
1)  bsd-mailx [Not Installed]
2)  etckeeper [Not Installed]
3)  exim4 [Not Installed]
4)  exim4-daemon-heavy [Not Installed]
5)  fusiondirectory [Not Installed]
6)  fusiondirectory-plugin-asterisk [Not Installed]
7)  fusiondirectory-plugin-autofs [Not Installed]
8)  fusiondirectory-plugin-database-connector [Not Installed]
9)  fusiondirectory-plugin-dhcp [Not Installed]
10) fusiondirectory-plugin-sudo [Not Installed]
11) fusiondirectory-plugin-systems [Not Installed]
12) git [Not Installed]
13) icinga [Not Installed]
14) icinga-cgi [Not Installed]
15) icinga-common [Not Installed]
16) icinga-core [Not Installed]
17) libcurl3 [Not Installed]
18) libcurl3-gnutls [Not Installed]
19) libgd2-xpm [Not Installed]
20) libmysqlclient18 [Not Installed]
21) php-mdb2-driver-mysql [Not Installed]
22) php5-curl [Not Installed]
23) php5-gd [Not Installed]
24) php5-mysql [Not Installed]

-
My sources.list:

deb http://http.debian.net/debian/ wheezy main
deb http://security.debian.org/ stable/updates main
deb http://http.debian.net/debian/ wheezy-updates main

## Backports repository:
deb http://http.debian.net/debian/ wheezy-backports main

# fusiondirectory repository
deb http://repos.fusiondirectory.org/debian wheezy main

# fusiondirectory debian-extra repository
deb http://repos.fusiondirectory.org/debian-extra wheezy main

-

Any ideas on how to fix this? Seems to me to be a problem with the security
updates, but perhaps I've just missed something.

If you wish to test this behaviour, go to http://sverigelinux.github.io and
download the torrent iso-file and do an install from that image.

Kindest regards,
Mathias


Re: How to `echo' the core # a bash script is running on?

2014-02-09 Thread Mathias Bauer
* Andrei POPESCU wrote on 2014-02-09 at 19:36 (+0200):
> On Du, 09 feb 14, 18:14:29, Mathias Bauer wrote:
> > * Marco Ippolito wrote on 2014-02-09 at 13:24 (+0100):
> >
> > > How can I `echo', in `bash', the core # the current script
> > > is running on?
> >
> > you can try
> >
> >   $ grep ^processor /proc/cpuinfo | wc -l
>
> I think the OP wants to know on which particular core the
> script is running on.

I read "...core #..." as "...the number of cores on the
machine...".  Hm, yes, your interpretation is also possible.

Anyway, is it possible at all to determine the particular core
the current script is running?  I mean, there is one underlying
shell process.  But if the script uses a pipeline, a command that
is not builtin in bash, or just a simple while loop, etc. there
will surely be further (sub)processes.  I doubt they are all
running on the same core.  Therefore the particular core a shell
script is running on doesn't seem to be sensible?

Perhaps the OP wants to use taskset, cpuset and the like.  But
without providing much more details...

Regards,
Mathias


-- 
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/20140209191827.ga11...@gmx.org



Re: How to `echo' the core # a bash script is running on?

2014-02-09 Thread Mathias Bauer
Marco,

* Marco Ippolito wrote on 2014-02-09 at 13:24 (+0100):

> How can I `echo', in `bash', the core # the current script is
> running on?

you can try

  $ grep ^processor /proc/cpuinfo | wc -l

Short question - short answer,
Mathias


-- 
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/20140209171429.ga4...@gmx.org



Re: chronyd startup issues

2014-01-31 Thread Mathias Bauer
Marc,

* Marc Shapiro wrote on 2014-01-31 at 07:09 (-0800):

> OK, I just replaced chrony, yesterday.  I have one question.
> Is there an equivalent to using chronyc to check how accurate
> the time is, or what server is being used?  That way, I could
> verify that it is connecting on its own when I have to do a
> reboot.

unfortunately, there isn't.  However you may run something like

# lsof -i UDP:123 | grep ^ntpd

You also can look (grep?) in /var/log/daemon.log for messages
like

ntpd[12345]: ntp engine ready
ntpd[12345]: peer 1.2.3.4 now valid
ntpd[12345]: clock is now synced

Perhaps it also helps to check the periodically written drift
file /var/lib/openntpd/ntpd.drift.

Also sending "a SIGINFO signal, it [ntpd] will write its peer and
sensor status to syslog" does not work either as there is no
SIGINFO signal in Linux.  ntpd(8) is wrong here.

Regards,
Mathias


-- 
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/20140131175026.ga11...@gmx.org



Re: chronyd startup issues

2014-01-31 Thread Mathias Bauer
Philippe,

* Philippe Clérié wrote on 2014-01-29 at 19:18 (-0500):

> On 01/29/2014 06:10 AM, Mathias Bauer wrote:
>
> Also, it's probably a good idea to add the -s option to
> DAEMON_OPTS in /etc/default/openntpd.

maybe.  But consider time jumps just after booting won't make
reconstructing things easier in case something goes wrong.  Maybe
some process already started before ntpd also won't be very
amused about that.  If you take a look into the logs of an
unsynced machine, you will see that it is "soon" resynced again.
So I won't do it.

Regards,
Mathias


--
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/20140131175624.gb11...@gmx.org



Re: chronyd startup issues

2014-01-29 Thread Mathias Bauer
* Darac Marjal wrote on 2014-01-29 at 10:22 (+):

> On Wed, Jan 29, 2014 at 12:06:13AM -0800, Marc Shapiro wrote:
> > When my system boots up it starts chronyd.  The problem is
> > that it seems to not have (or find) a network connection at
> > the time, so it comes up in offline mode.  If I restart it
> > then everything is fine.  Otherwise, the box gradually loses
> > time.  Since I rarely reboot my system I always forget that I
> > need to restart chronyd.  What do I need to do to get it to
> > start up in online mode?  Do I need to position it farther
> > down in /etc/rc2.d?  I thought that I had changed it to run
> > AFTER network-manager, but, if so, something changed it back.
>
> Chrony will put "offline" sources to "online" when a PPP link
> comes up (any PPP link, bug #252131) but not when an ethernet
> link comes up (bug #312092).
>
> If you like, there are instructions and a patch in bug #389961
> to fix this.

Yes, but expect some tricky fiddling :-)

However, comparing the bug history - some of chrony's ones
haven't been handled or closed for 5+ years, also the relevant
ones here - and the number of users of chrony (847) and openntpd
(1902), I strongly suggest you considering a switch to the
openntpd package.

Regards,
Mathias


-- 
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/20140129111021.ga17...@gmx.org



Re: Help with command - cp

2014-01-26 Thread Mathias Bauer
* Felix C. Stegerman wrote on 2014-01-26 at 23:58 (+0100):

> On 2014-01-26 23:24, Mathias Bauer wrote:

> > * Mr Smiley wrote on 2014-01-26 at 20:56 (+):
> >
> > > > cp -Rp /path/to/sourcedir/A/* /path/to/destinationdir/B
> > >
> > > If you don't put a / after B it will copy all files to a
> > > file called B
> >
> > No, obviously not.
> >
> > [...]
>
> It does if there's only one file in A and B does not exist.
>
>   $ mkdir A; echo HI >> A/foo
>   $ cp -a A/* B
>   $ cat B
>   HI

Yes, but ... come on, that's a rather trivial shell expansion!
By the way, don't you consider it a little bit strange to change
the original problem conditions *afterwards*?

* Lisi Reisz wrote on Sun, 26 Jan 2014, at 14:26 (+):

> I am wanting to use the CLI to copy some files from dirA to
> dirB.  I want to exclude all hidden files.

Read ... file*S*.

Regards,
Mathias


-- 
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/20140127010425.ga31...@gmx.org



Re: Help with command - cp

2014-01-26 Thread Mathias Bauer
* Mr Smiley wrote on 2014-01-26 at 20:56 (+):

> > cp -Rp /path/to/sourcedir/A/* /path/to/destinationdir/B
>
> If you don't put a / after B it will copy all files to a file
> called B

No, obviously not.

$ mkdir src
$ echo foo > src/file1
$ echo bar > src/file2
$ echo baz > src/.hidden1
$ [ -e ./target ] || echo "./target not found!"
./target not found!
$ cp -Rp ./src/* ./target
cp: target `./target' is not a directory
$ cp -Rp ./src/* ./target/
cp: target `./target/' is not a directory
$ [ -e ./target ] || echo "./target not found!"
./target not found!

> So your above
> cp -Rp /path/to/sourcedir/A/* /path/to/destinationdir/B
> Should be
> cp -Rp /path/to/sourcedir/A/* /path/to/destinationdir/B/

If the target directory *exists* the trailing slash will *not* be
necessary:

$ mkdir target1 target2
$ cp -Rp ./src/* ./target1
$ cp -Rp ./src/* ./target2/

Both directories are identical.  There will be no *file* B!

> Also when using rsync, i use the following
>
> rsync -vrthiP --progress --stats  source/ destination/
>
> This also checks for and only updates changed files on any
> subsequent rsync from A to B
>
> Don't forget the / at the end, even rsync will copy everything to a
> file rather than the wanted directory if you miss of the /

That's not correct.  In contrast to the slash trailing the
*source*, the final slash trailing the *target* is completely
irrelevant.  See my other mail.

Regards,
Mathias


-- 
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/20140126222437.ga8...@gmx.org



Re: Help with command - cp

2014-01-26 Thread Mathias Bauer
* Felix C. Stegerman wrote on 2014-01-26 at 15:49 (+0100):

> On 2014-01-26 15:26, Lisi Reisz wrote:
> > I am wanting to use the CLI to copy some files from dirA to
> > dirB.  I want to exclude all hidden files.  Will this command
> > achieve it?
>
> I prefer using rsync instead:
>
> $ rsync --dry-run -av --progress --exclude='.*' /path/to/A/ /path/to/B/
>
> * The slashes after A and B are important.

No, you only have to take care about the trailing slash of the
source A.  See rsync(1):

A trailing slash on the source changes this behavior to avoid
creating an additional directory level at the destination.
You can think of a trailing / on a source as meaning "copy
the contents of this directory" as opposed to "copy the
directory by name", but in both cases the attributes of the
containing directory are transferred to the containing
directory on the destination.  In other words, each of the
following commands copies the files in the same way,
including their setting of the attributes of /dest/foo:

rsync -av /src/foo /dest
rsync -av /src/foo/ /dest/foo

The trailing slash of the target directory B is irrelevant:

$ mkdir -p foo/dir
$ touch foo/file foo/dir/file foo/.hidden foo/dir/.hidden
$ rsync -av --exclude='.*' foo target1
$ rsync -av --exclude='.*' foo target2/

The results are identical directories ./target1 and ./target2.
Of course, both need not exist.

Regards,
Mathias


-- 
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/20140126204815.ga29...@gmx.org



Re: Determine XTerm Geometry

2014-01-20 Thread Mathias Bauer
* Patrick Bartek wrote on 2014-01-20 at 14:35 (-0800):

> And FYI: you don't even need the WINDOW_ID. Just run xwininfo
> in any terminal, left click on the target window, and it spits
> out THAT windows stats.

I know :-)  You mentioned, you already had columns and lines (via
the $COLUMNS/$LINES shell variables?), so I supposed, you wanted
to do some non-interactive scripting...

Regards,
Mathias


-- 
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/20140121063702.ga23...@gmx.org



Re: Determine XTerm Geometry

2014-01-20 Thread Mathias Bauer
Hello Patrick,

* Patrick Bartek wrote on 2014-01-20 at 13:18 (-0800):

> Need to get geometry of running xterms.  Resize gives me the
> columns and lines.  How do I get the X & Y offsets?

take a look at

  $ xwininfo -id WINDOW_ID

Perhaps that helps.

Regards,
Mathias


-- 
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/20140120213531.ga10...@gmx.org



Re: Installing TrueType Fonts (TTF)

2013-12-12 Thread Mathias Bauer
Hello Siard,

* Siard wrote on 2013-12-12 at 16:48 (+0100):

> On Wed, 11 Dec 2013 18:30:40 +0100, Mathias Bauer wrote:
>
> > To keep things clear I simply don't want to put all these
> > files into one single directory,
>
> Note that ~/fonts would be sufficient here.  For
> your own convenience you can put your fonts in any sub- or
> sub-sub-directory and they will still be seen.
>
> > neither into ~/.fonts (for a single user) nor into
> > /usr/local/share/fonts (for all local users).
>
> Under these, too, you can create any directory structure you
> like, without having to specify it in ~/.fonts.conf.

ah, I just tried that - it works fine!  Thanks for the hint.

> Not sure why you prefer ~/fonts over one of these, but never
> mind, it's not that important.

Several (upstream) versions of TeX Live plus some other external
fonts and the like.  ~/fonts was a simple example only.  ---> OT

Regards,
Mathias


-- 
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/20131212190414.ga24...@gmx.org



Re: Installing TrueType Fonts (TTF)

2013-12-11 Thread Mathias Bauer
* Siard wrote on 2013-12-11 at 17:24 (+0100):

> Mathias Bauer:
> > Also, fonts-conf(5) contains an example user configuration file
> > ~/.fonts.conf, so that your font files (.ttf, .otf) may remain in
> > their original directories and need not to be mixed together in
> > *one* of the directories mentioned above by Siard.
>
> "Original directories"? We're talking about locally installed
> fonts here, living beyond the package manager's realm.

Yes, so do I.  Perhaps I wasn't clear enough.  My ~/.fonts.conf
lists several directories:

snip



  ~/.fonts
  ~/fonts/sourcecodepro
  ~/fonts/sourcesanspro
  

snip

Each font family I use, consists of serveral font files, e.g. 6
files for Adobe SourceCodePro, 13 files for Adobe SourceSansPro,
etc.  To keep things clear I simply don't want to put all these
files into one single directory, neither into ~/.fonts (for a
single user) nor into /usr/local/share/fonts (for all local
users).  I left them in separate directories which I called
"original directories" in my previous mail and adapted
~/.fonts.conf accordingly.  Sorry for the confusion.

> http://lists.debian.org/debian-user/2013/05/msg00148.html
> "For locally installed, system wide fonts, /usr/local/share/fonts
> looks like the most suitable place."
>
> BTW, /usr/local/share/fonts is mentioned in my /etc/fonts/fonts.conf.

Yes, here it is, too, and there's no need to alter this file.

The above link is a little bit misleading.  For short: Don't run
fc-cache as normal user.  You don't want to have in ~/.fontconfig
a mixture of cache files for all the system font directories
/usr/share/fonts/* with those for the user font directories
specified in your ~/.fonts.conf.  The former ones are located in
/var/cache/fontconfig (you don't have write permissions for it)
and are handled by the package management hooks.  You can simply
remove ~/.fontconfig completely and let it rebuild automatically.
To initiate this rebuild just now, run, e.g. fc-list.

Regards,
Mathias


-- 
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/20131211173040.ga14...@gmx.org



Re: script line not working as its supposed to, but why?

2013-12-11 Thread Mathias Bauer
* Gian Uberto Lauri wrote on 2013-12-11 at 12:42 (+0100):

> Sharon Kimble writes:
>
> > I want to delete the 'menu-*' files if there are more than 7,
> > and the command is parsed when I have 'set -x' at the head of
> > the script but this line does nothing! It runs but doesn't
> > achieve anything.
>
> I would try with something like this:
>
> if [  `ls -1 menu-* | wc -l` -gt 7 ]
> then
> ls -t menu-* | tail $((7-`ls | wc -l`)) | xargs rm
> fi
>
> The first test ensures that you have more than 7 files.
>
> Then you list the files in reverse asciibetical order (that is
> older last), then the expression
>
> $((7-`ls | wc -l`))
>
> does the magic to compute the option to pass to tail so that it
> shows the last (number of files - 7). And finally xargs feeds
> rm. You can use rm -v to see them being deleted :)

This is too complicated: too many subshells, too many pipelines.

  $ cd /dir/with/files && LC_ALL=C ls menu-* | head -n -7 | xargs -r rm

will do the job:

* cd ... and && ensure that the directory exists and if (and only
  if it does the pipeline will be executed.

* LC_ALL=C ls menu-* lists all relevant files, one file per line,
  in the correct ascending order after the shell had expanded the
  "*".

* head -n -7 lists all but the last 7 lines.

* xargs -r will only call rm if there is some input.

For testing purposes run the above line without |xargs... part.

Although bash(1) is very long and its learning curve a little bit
steep I do recommend reading it.  In the long term there is no
way avoiding that.  Beginners may first tend to [1] and later to
[2].  Also, [3] is quite interessting.

Regards,
Mathias

[1] http://tldp.org/LDP/Bash-Beginners-Guide/html/index.html
[2] http://tldp.org/LDP/abs/html/
[3] http://www.gnu.org/software/bash/manual/bashref.html


-- 
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/20131211141922.gb11...@gmx.org



Re: Installing TrueType Fonts (TTF)

2013-12-11 Thread Mathias Bauer
Hello,

* Siard wrote on 2013-12-10 at 18:56 (+0100):

besides the hints you got from Siard and Patrick, I recommend
GNOME Character Map, package gucharmap, for examining and viewing
fonts.

> Muntasim-Ul-Haque wrote:
> > TrueType Fonts (TTF) would open in GNOME with a dialog box,
> > and it was just one-click away. But here in XFCE, I see
> > nothing that can open the TTFs.
>
> There is a more general, yet easy way to install fonts: just
> shove them into ~/.fonts (locally) or /usr/local/share/fonts
> (systemwide).

To get all the customization possibilities, take a look at the
fontconfig machinery and the packages fontconfig and
fontconfig-config which are almost certainly installed as you use
XFCE.

Also, fonts-conf(5) contains an example user configuration file
~/.fonts.conf, so that your font files (.ttf, .otf) may remain in
their original directories and need not to be mixed together in
*one* of the directories mentioned above by Siard.  Finally

  $ fc-list

will give you feedback if the fonts had been found and installed
correctly.  You don't need to logout or to restart as the cache
files in ~/.fontconfig will be updated automatically.

Regards,
Mathias


-- 
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/2013121310.ga4...@gmx.org



Re: Privacy Debian 7

2013-11-25 Thread Mathias Bauer
Dave,

* David Guntner wrote on 2013-11-25 at 08:35 (-0800):

> praetorien grabbed a keyboard and wrote:
> >
> > I'm a Windows user, but Microsoft may collect privacy
> > information about users witch is not good, so I wonder does
> > Debian 7.2 collect ANY information about Users or monitoring?
>
> I could be wrong, but to the best of my knowledge, NO Linux
> distribution does.

perhabs you know

https://www.eff.org/deeplinks/2012/10/privacy-ubuntu-1210-amazon-ads-and-data-leaks

Okay, as it's related to Ubuntu/Canonical it'll be rather off
topic here.

Regards,
Mathias


-- 
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/20131125181928.ga25...@gmx.org



Re: Question about bogofilter -R

2013-11-25 Thread Mathias Bauer
* Mathias Bauer wrote on 2013-11-25 at 11:50 (+0100):

> * pecon...@mesanetworks.net wrote on 2013-11-23 at 11:33 (-0800):
>
> > I have processed some spam and ham to create a bogofilter
> > database. I want to use the -R option to create the TEXT data
> > frame and examine its contents.
> >
> > $ bogofilter -R > bogo-rframe
> >
> > This should, to my understanding, write a text file in
> > bogo-rframe, but it has been running for about an hour and
> > shows no sign of terminating. What is wrong? Please help.
>
> bogofilter -R reads from stdin.  Use
>   $ bogofilter -R /path/to/your/wordlist.db >bogo-rframe

Of course, it must be

  $ bogofilter -R bogo-rframe

Sorry,
Mathias


-- 
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/20131125105424.gb13...@gmx.org



Re: Question about bogofilter -R

2013-11-25 Thread Mathias Bauer
Hello!

* pecon...@mesanetworks.net wrote on 2013-11-23 at 11:33 (-0800):

> I have processed some spam and ham to create a bogofilter
> database. I want to use the -R option to create the TEXT data
> frame and examine its contents.
>
> $ bogofilter -R > bogo-rframe
>
> This should, to my understanding, write a text file in
> bogo-rframe, but it has been running for about an hour and
> shows no sign of terminating. What is wrong? Please help.

bogofilter -R reads from stdin.  Use

  $ bogofilter -R /path/to/your/wordlist.db >bogo-rframe

Regards,
Mathias


-- 
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/20131125105046.ga13...@gmx.org



command substitution (was: wget and captcha puzzle !!!)

2012-01-21 Thread Mathias Bauer
* Tony Baldwin wrote on 2012-01-21 at 12:15 (-0500):

> Why use $(command) instead of `command`?
> Generally, I've always used $(command), but see scripts all
> over using `command`, and wondered if there were advantages of
> one over the other.  It seems they give the same result, no?

Some do, some don't :-)  See some curious examples on
http://tldp.org/LDP/abs/html/commandsub.html
For short, I think you should use $(...) and try to avoid `...`.
Also keep in mind that in Debian /bin/sh -> dash

--test1.sh--
#!/bin/sh
set -xv
echo `echo \\`
echo $(echo \\)


$ ./test1.sh< same output as  dash ./test1.sh
echo `echo \\`
+ echo \
+ echo \
\   < Watch this...
echo $(echo \\)
+ echo \
+ echo \
\

$ bash ./test1.sh
echo `echo \\`
echo \
++ echo
+ echo
< ...and this!
echo $(echo \\)
echo \\)
echo \\
++ echo '\'
+ echo '\'
\

Mathias


-- 
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/20120121180536.gb15...@gmx.org



Re: Environment nomenclature undefined.

2012-01-21 Thread Mathias Bauer
* lina wrote on 2012-01-22 at 00:10 (+0800):

> On Sat, Jan 21, 2012 at 11:25 PM, Camaleón  wrote:
> > On Sat, 21 Jan 2012 21:48:25 +0800, lina wrote:
> >
> >> Are there some debian package which contains some certain
> >> documentclass which can satisfy the environment for the
> >> nomenclature and cknowledgement in padflatex. I used the
> >> article, not work. I am hesitated whether used external
> >> .cls? or look inside the debian package.
> >
> > I know nothing about LaTeX but "texlive-latex-extra" does not
> > help? :-?
> This one had been installed long time ago.

You should also have the Debian package texlive-latex-extra-doc
installed.

> > For nomenclature → nomencl class, (e.g., \nomenclature)
> I tried the \begin{nomenclauture}, the first time tried this.

In fact, nomencl is not a LaTeX documentation class but a LaTeX
package.  For its documentation and examples see
/usr/share/doc/texlive-doc/latex/nomencl/nomencl.pdf

> > For acknowledgements → article/book or amsart/amsbook clases
> > (e.g., \thanks)

At first, you should keep using the article document class until
your nomenclature is fine and try to solve the acknowledgement
problems later.

> Later I just roughly used the \section*{Acknowledgement} to
> substitute the \begin{acknowledgment} which worked in other
> article document class.  will refine it later.

For discussing the LaTeX details you can also consult the texhash
mailing list. See http://www.tug.org/mailman/listinfo/texhax

Regards,
Mathias


-- 
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/20120121172723.ga15...@gmx.org



getmail replacing fetchmail (was: POP3 in Debian)

2012-01-19 Thread Mathias Bauer
Hello again,

* Martin Steigerwald wrote on 2012-01-19 at 19:28 (+0100):

> Am Donnerstag, 19. Januar 2012 schrieb Jon Dowland:
> > On 19/01/12 12:50, Mathias Bauer wrote:
> > > Is this a general advice?  If so, then why?
> >
> > Yes.
> >
> > <http://pyropus.ca/software/getmail/faq.html#faq-about-why>
> > covers many reasons.

thanks for the link.

> Holy smoke!
>
> Well that are enough reasons for me. OTOH it would be
> interesting to know the other side of the story.

I got curious about getmail so I just gave it a try and it seems
to be quite nice.  But apart from fetchmail's "security history"
and the asserted complexity of its config file, that was pointed
to several times in the (in some way emotionally heated) document
linked above, getmail lacks two features at first glance:

(a) Any SSL certification check avoiding a man-in-the-middle
attack.

(b) A mechanism for direct re-injection retrieved messages via
SMTP to the client machine's port 25.

Concerning a) it may possibly be implemented by stunnel somehow.
For now I haven't figured it out.  And concerning b) getmail
itself provides a mechanism handing over the retrieved messages
via a pipe (e.g. using /usr/sbin/sendmail to the MTA).  Of course
the needed additional process(es) are far away from being as
efficient as direct delivery via SMTP.  (Although getmail doesn't
(and won't) support (b) and other solutions are recommended in
the docs and its mailing list's messages, there may be situations
where "going through the MTA" is necessary.)

Well, for the moment it seems to me that this is the price of
replacing fetchmail - and of "The Unix Way (tm) - do one thing
and do it well" :-)

Regards,
Mathias


-- 
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/20120119220908.ga10...@gmx.org



Re: POP3 in Debian

2012-01-19 Thread Mathias Bauer
* Jon Dowland wrote on 2012-01-19 at 11:38 (+):

> On 19/01/12 09:32, Martin Steigerwald wrote:
> >You could try with fetchmail, but I am not completely sure
> >whether it can store what it retrieves in a mbox or whether it
> >only supports maildir.
>
> Fairly sure fetchmail (et al) can inject mail to the local MDA,
> so where it ends up afterwards depends on how you've set up
> exim or an alternative.
>
> I'd strongly recommend using something *other* than fetchmail:
> getmail or mpop are options.

Is this a general advice?  If so, then why?  Or is it your advice
for the OP's aim to directly deliver messages to a mbox or
maildir without exim and without running an MDA.

Yes, I checked the short package descriptions of getmail and
mpop.  And I'm using fetchmail for myself (but no POP3s) without
any problems.

Regards,
Mathias


-- 
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/20120119125009.gb12...@gmx.org



Re: Let's talk about HTTPS Everywhere

2011-01-22 Thread S Mathias
"Even on a switched network, there may be a way to fool
> the switch into giving you enough data from the HTTP traffic to preform
> a "sidejack"."


http://hakipedia.com/index.php/CAM_Table_Overflow#Description




--- On Sat, 1/22/11, Camaleón  wrote:

> From: Camaleón 
> Subject: Re: Let's talk about HTTPS Everywhere
> To: debian-user@lists.debian.org
> Date: Saturday, January 22, 2011, 9:00 PM
> On Sat, 22 Jan 2011 13:37:20 -0600,
> Boyd Stephen Smith Jr. wrote:
> 
> > In ,
> Camaleón wrote:
> >>On Sat, 22 Jan 2011 15:31:10 -0200, Eduardo M
> KALINOWSKI wrote:
> >>> That's the same reason I was advocating that
> people should not leave
> >>> Wi-Fi (even if public) unencrypted. If traffic
> is unencrypted, it is
> >>> trivial for anyone to capture session IDs
> flying in plain text through
> >>> the air. If the network is encrypted, then it
> is much harder to
> >>> capture other people's traffic. (Should be
> impossible, but there are
> >>> attacks. But things are much more difficult.)
> >>
> >>I agree. Wired networks are not that exposed to
> these attacks.
> > 
> > Not entirely true.  On a hubbed network, putting
> your network card into
> > promiscuous mode will allow you do see other's HTTP
> traffic and
> > "sidejack" them.  Even on a switched network,
> there may be a way to fool
> > the switch into giving you enough data from the HTTP
> traffic to preform
> > a "sidejack".
> 
> A wired network can be easily monitored while wireless ones
> need 
> additional effort. You control the cables so you can
> control the traffic 
> and possible "black" points. A misconfigured wifi access
> point or a buggy 
> firmware in the device can lead to open access to anywhere
> inside the AP 
> range.
>  
> > WPA2 is still relatively secure.  WEP and WPA
> have known attacks that
> > allow attackers in radio range to effectively "tap" to
> connection
> > between the client and the AP, in addition to joining
> the AP as a
> > client.
> 
> And WPA2 with AES encryption is considerably slow. There
> are also 
> drawbacks when you enforce to use of the best encryption
> method.
>  
> >>And I still fail to see why should we encrypt _all_
> of our browsing
> >>steps regardless its nature.
> > 
> > Not encrypting is fine, if you are willing to expose
> the entirety of the
> > connection to "tapping" at various locations. 
> Most notably all the
> > switches between you and the destination. 
> However, session cookies (and
> > other authentication tokens) are not generally
> something you want
> > disclosed with is why end-to-end encryption with some
> sort of server
> > authentication is recommended for transferring that
> data.
> 
> I would prefer to see a good cookie policy that should be
> enforced to 
> companies. If you want to keep a secret do not write it
> anywhere.
> 
> > At the end of the day, a server must use *something*
> in the request
> > itself to associate it with a user.  That
> something must be protected
> > from snooping, so end-to-end encryption is
> required.  Encrypted session
> > cookies are more secure that any of the HTTP Auth
> mechanisms for use
> > after the initial log in / on. For the initial log in
> / on, we are
> > already accustomed to using SSL/TLS since it is more
> widely supported
> > that any of the secure HTTP Auth mechanisms.
> 
> You need more than encrypted traffic to avoid some of those
> hijacking 
> attacks. Https helps, sure, but it's not the "panacea" and
> the "cure" for 
> all the treats. It should be used in conjunction with
> additional measures.
> 
> > HTTP Everywhere is meant as a way for users to protect
> themselves when
> > the servers refuse to for whatever reason.  
> 
> If the server refuses to provide https the plugin can't do
> much.
> 
> > Ideally, servers would take only non- sensitive
> actions and provide
> > only non-sensitive information over HTTP (and of
> course, automatically
> > "downgrade" cookies transferred over HTTP to "only for
> non-sensitive"
> > status), but some server don't actually see that as
> being in their
> > interest.  (E.g. Facebook loses relatively few
> page views if it
> > discloses too much information about you.)
> 
> And precisely Facebook is a perfect example of "bad policy"
> (they have a 
> long record of privacy issues, most of them involving
> coding bugs and  
> relaxed privacy rules).
> 
> 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.01.22.21.00...@gmail.com
> 
> 





--
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/97048.73019...@web121403.mail.ne1.yahoo.com



Re: Let's talk about compression rates

2011-01-22 Thread S Mathias
wow...

http://pastebin.com/raw.php?i=ihLLHyiT


$ time 7z a -mx=9 linux-2.6.37.tar.7z linux-2.6.37.tar; echo; time xz -9 -z 
linux-2.6.37.tar; echo; ls -lS

7-Zip 9.13 beta  Copyright (c) 1999-2010 Igor Pavlov  2010-04-15
p7zip Version 9.13 (locale=en_US.utf8,Utf16=on,HugeFiles=on,2 CPUs)
Scanning

Creating archive linux-2.6.37.tar.7z

Compressing  linux-2.6.37.tar  

Everything is Ok

real6m43.608s
user10m1.092s
sys 0m3.957s


real10m40.788s
user10m33.363s
sys 0m2.106s

total 120264
-rw-rw-r--. 1 g g 61570448 Jan 22 15:42 linux-2.6.37.tar.xz
-rw-rw-r--. 1 g g 61567410 Jan 22 16:13 linux-2.6.37.tar.7z
$ 


  


-- 
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/980971.87919...@web121404.mail.ne1.yahoo.com



Let's talk about compression rates

2011-01-22 Thread S Mathias
http://pastebin.com/raw.php?i=MwDnhknf

$ ls -Sl
total 461252
-rw-rw-r--. 1 g g 111709730 Jan 22 11:06 linux-2.6.37.zip
-rw-rw-r--. 1 g g  93174605 Jan 22 11:03 linux-2.6.37.tar.gz
-rw-rw-r--. 1 g g  73552510 Jan 22 11:10 linux-2.6.37.tar.bz2
-rw-rw-r--. 1 g g  66333786 Jan 22 11:16 linux-2.6.37.7z
-rw-rw-r--. 1 g g  64035788 Jan 22 11:16 linux-2.6.37.tar.7z
-rw-rw-r--. 1 g g  63480808 Jan 22 11:20 linux-2.6.37.tar.xz
$ 

I presume kernel.org knows this. Why doesn't people use e.g.: XZ?

This is the same as in PDF's. DJVU files could be amazing too. They could 
compress [convert] a 400 MByte PDF to a 20 MByte DJVU. Amazing.

Why don't these technologies spread??

Any opinions regarding it?

Thanks.


  


-- 
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/607661.44460...@web121409.mail.ne1.yahoo.com



how to set imagemagicks tmp folder?

2011-01-21 Thread S Mathias
my /tmp is too small [when i want to use "convert"]. how can i set imagemagick, 
to use an other tmp folder, what has enough space?

thank you!


  


-- 
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/778354.58265...@web121401.mail.ne1.yahoo.com



Let's talk about HTTPS Everywhere

2011-01-19 Thread S Mathias
Ok. It's a Firefox Add-on:

https://www.eff.org/https-everywhere

Questions:

1) But: Why can't i find it on the offical Firefox Add-ons site?: 
https://addons.mozilla.org/en-US/firefox/

2) Did anyone audited the "HTTPS Everywhere" code?

3) Can someone trust this Add-on? Is it safe to install/use?

4) If it's so great why isn't it more prevalent?

What's youre opinion? Or answer? :\

Thanks!


  


-- 
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/518009.96732...@web121410.mail.ne1.yahoo.com



recursively find duplicate filenames

2011-01-05 Thread S Mathias
find duplicate filenames in a folder
find | perl -ne 's!([^/]+)$!lc $1!e; print if 1 == $seen{$_}++'

find duplicate filenames in a folder recursively
? how? 


  


-- 
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/827694.496...@web121409.mail.ne1.yahoo.com



Re: check, that a script is in a folder

2011-01-05 Thread S Mathias
thank you, the:

if ! [ "${PWD##*/}" == "asdf" ]; then echo "error: not the asdf dir"; exit 1; fi

worked! :)

--- On Wed, 1/5/11, Pascal Hambourg  wrote:

> From: Pascal Hambourg 
> Subject: Re: check, that a script is in a folder
> To: debian-user@lists.debian.org
> Date: Wednesday, January 5, 2011, 10:47 AM
> Hello,
> 
> S Mathias a écrit :
> > $ if "${PWD##*/}" -eq "asdf" > /dev/null; then echo
> "this is the asdf folder"; else exit 1; fi
> > bash: notthatfolder: command not found...
> > this is the asdf folder
> > 
> > What's wrong with my one-liner?
> 
> Two mistakes :
> 1) "if" expects a command, not a boolean expression. Use
> "test
> " or "[  ]" to evaluate
> the expression.
> 2) "-eq" is the equal operator for numeric integers, not
> strings. Use
> "=" for string comparison.
> 
> 
> -- 
> 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/4d244c40.7040...@plouf.fr.eu.org
> 
> 





--
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/738152.73961...@web121407.mail.ne1.yahoo.com



check, that a script is in a folder

2011-01-05 Thread S Mathias
$ echo ${PWD##*/}
somefolder
$ if "${PWD##*/}" -eq "asdf" > /dev/null; then echo "this is the asdf folder"; 
else exit 1; fi
bash: notthatfolder: command not found...
this is the asdf folder
$ 


So i just want to check that i'm in an exact folder. e.g.: "asdf"

What's wrong with my one-liner?

I just want to check, that a script is in a folder, and if it isn't, then it 
exits


  


-- 
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/434149.43513...@web121408.mail.ne1.yahoo.com



why is this html looks like this?

2011-01-04 Thread S Mathias
soruce code of the html file:
http://img443.imageshack.us/img443/6448/sourcey.png
it looks like this in the realiy:
http://img443.imageshack.us/img443/6448/sourcey.png

WHY? 

if i put it in "< pre >", then it's good.
but if it isn't in "< pre >" then the lines ends are random. why dont they end 
in the same vertical line?

thank you, and sorry for askin html...i just can't figure it out :(


  


-- 
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/846011.86290...@web121409.mail.ne1.yahoo.com



Re: firewall package for laptop wi-fi client

2011-01-04 Thread S Mathias
http://lcamtuf.blogspot.com/2010/12/unencrypted-public-wifi-should-die.html
http://www.exploit-db.com/search/?action=search&filter_page=1&filter_description=&filter_exploit_text=&filter_author=&filter_platform=45&filter_type=3&filter_lang_id=0&filter_port=&filter_osvdb=&filter_cve=

--- On Tue, 1/4/11, Andrei Popescu  wrote:

> From: Andrei Popescu 
> Subject: Re: firewall package for laptop wi-fi client
> To: debian-user@lists.debian.org
> Date: Tuesday, January 4, 2011, 11:19 AM
> On Lu, 03 ian 11, 12:28:25, tv.deb...@googlemail.com
> wrote:
> > 
> > I wouldn't do my internet banking/shopping over such a
> network though...
> 
> Would you care to explain why you find an open wireless to
> be more 
> dangerous than your regular internet connection?
> 
> Regards,
> Andrei
> -- 
> Offtopic discussions among Debian users and developers:
> http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
> 


  


-- 
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/690903.15138...@web121403.mail.ne1.yahoo.com



a perl question

2011-01-04 Thread S Mathias
cat asdf.txt
bla-bla
bla-bla
bla[XYZ]
importantthing
another important thing
[/XYZ]
bla-bla
bla-bla
[XYZ]
yet another thing
hello!
[/XYZ]
bla-bla
etc.
$ SOMEPERLMAGIC asdf.txt > output.txt
$ cat output.txt
importantthing
another important thing
yet another thing
hello!


how can i sovle this question? what is SOMEPERLMAGIC? are there any perl gurus, 
that have a little spare time?

Thank you! :\


  


-- 
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/847887.46702...@web121408.mail.ne1.yahoo.com



variable in loop

2011-01-02 Thread S Mathias
$ ASDF=hello; a=0; a=$(( 70 - $(echo $ASDF | awk '{print length}') )); echo "$a 
$ASDF"$(for i in {1..$a}; do printf "."; done)
65 hello.
$ 


Why doesn't it print:
65 hello.



What am i missing?


  


-- 
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/733711.52712...@web121404.mail.ne1.yahoo.com



set privoxy to rewrite http to https

2011-01-01 Thread S Mathias
I use the

KB SSL Enforcer
https://chrome.google.com/extensions/detail/flcpelgcagfhfoegekianiofphddckof?hl=en

so i could browse the net safer [i mean webserver <-> me] with using https, if 
available.

The problem is: e.g.: facebook...

if i go to 
https://www.facebook.com/

that's ok, it's https.
But all the links are "http" on the site..
if i click on a "http" link, it will request the page on "http", and THEN it 
switches to "https". Heres the problem. 

How/where could i write a privoxy rule, to rewrite all the "http" links to 
"https"? [so that it would by always trully over https]

Are there any "general" rules (with privoxy), so that i don't have to write 
rules / site? 

with the KB SSL Enforcer its always first http, then it recognizes that the 
site can do https, than it switches to it. But i want to "bypass" the http part.

thank you for any information

Happy New Year!


  


-- 
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/249711.75899...@web121410.mail.ne1.yahoo.com



recursively count the words occurrence in the text files

2010-12-30 Thread S Mathias
I just can't google for it:

I'm searching for a "bash" "one liner" (awk, perl, or anything) for this: 

there are text files, in several directories: 

mkdir one
mkdir two
mkdir three

echo "word1 word2 word3" > one/asf.txt
echo "word2 word4, word5" > one/asfcxv saf.txt
echo "word1. word2" > one/dsgsdg.txt

echo "word6, word3!" > two/sdgsd dsf.txt
echo "word6" > two/ergd.txt

echo "asdf, word2" > three/werdf.txt
echo "word7, word8 word9 word10" > three/qwerb erfsdgdsg.txt
echo "word4 word3" > three/web erg as.txt

so it does the magic* "recursively":

$ SOMEMAGIC > output.txt
cat output.txt
asdf 1
word1 2
word2 4
word3 3
word4 2
word5 1
word6 2
word7 1
word8 1
word9 1
word10 1
$



*recursively count the words occurrence in the text files like: "word1 2"
can anyone point to a howto/link? [re: i just can't google for it :\]


  


-- 
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/788911.43739...@web121407.mail.ne1.yahoo.com



microsoft.com -> NetBSD

2010-12-30 Thread S Mathias
http://research.microsoft.com/en-us/downloads/754fee75-c5a0-4542-bf9b-47f236c0a90b/default.aspx

Any comments?


  


-- 
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/726161.5795...@web121403.mail.ne1.yahoo.com



Does anybody know a PeerGuardian like app?

2010-12-29 Thread S Mathias
Are there any programs blocking ip, and has frequently updated lists, like the 
peerguardian on windows?

sorry for the question, but i looking for this kind of application :O

Thank you, and a happy christmas!


  


-- 
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/597761.81921...@web121409.mail.ne1.yahoo.com



what process is sending this packet?

2010-12-27 Thread S Mathias
I can see, that theres a program that keeps sending packets on port 25:

Dec 27 14:11:46 a kernel: [ 6336.992320] O_D_LOG: IN= OUT=lo SRC=127.0.0.1 
DST=127.0.0.1 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=61533 DF PROTO=TCP SPT=37263 
DPT=25 WINDOW=32792 RES=0x00 SYN URGP=0 
Dec 27 14:12:01 a kernel: [ 6352.635704] O_D_LOG: IN= OUT=lo SRC=127.0.0.1 
DST=127.0.0.1 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=55853 DF PROTO=TCP SPT=40644 
DPT=25 WINDOW=32792 RES=0x00 SYN URGP=0 
Dec 27 14:12:04 a kernel: [ 6355.641085] O_D_LOG: IN= OUT=lo SRC=127.0.0.1 
DST=127.0.0.1 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=55854 DF PROTO=TCP SPT=40644 
DPT=25 WINDOW=32792 RES=0x00 SYN URGP=0 
Dec 27 14:12:10 a kernel: [ 6361.649059] O_D_LOG: IN= OUT=lo SRC=127.0.0.1 
DST=127.0.0.1 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=55855 DF PROTO=TCP SPT=40644 
DPT=25 WINDOW=32792 RES=0x00 SYN URGP=0 

but where or how could i find out, that what process sends these packets?

thank you!


  


-- 
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/564723.48179...@web121403.mail.ne1.yahoo.com



whats wrong with my internet connection checker script?

2010-12-26 Thread S Mathias
perfect! thank you Oliver Grawert! :) made my day :) it's working! :


ping -W 1 -c 4 google.com >& /dev/null && ping -W 1 -c 4 www.yahoo.com >& 
/dev/null || echo "no internet connection"



  


-- 
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/913669.63663...@web121402.mail.ne1.yahoo.com



whats wrong with my internet connection checker script?

2010-12-26 Thread S Mathias
$ true && true || echo hi
$ true && false || echo hi
hi
$ false && true || echo hi
hi
$ false && false || echo hi
hi
$ ping -W 1 -c 4 google.com >& /dev/null | grep -q "100% packet loss" && ping 
-W 1 -c 4 www.yahoo.com >& /dev/null | grep -q "100% packet loss" || echo "no 
internet connection"
no internet connection
$
ping -W 1 -c 4 google.com >& /dev/null | grep "100% packet loss"
$
ping -W 1 -c 4 www.yahoo.com >& /dev/null | grep "100% packet loss"
$



...both sides "false", because they have no output, because google.com and 
www.yahoo.com is reachable.
how come it writes "no internet connection"? [at the longest line]
i just want a "oneliner" that checks if theres "internet connection" or no. :\

where did i screw up? 8)


  


-- 
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/471466.28989...@web121403.mail.ne1.yahoo.com



2 Ethernet cabling question

2010-12-25 Thread S Mathias
Two questions that was not always clear for me [sorry for posting to this list 
:\]:

##

Q1) when cabling, is the color order important? like:

straight cabling:
A side: white-orange, orange, white-green, blue, white-blue, green, 
white-brown, brown
B side: white-orange, orange, white-green, blue, white-blue, green, 
white-brown, brown

could be eg.: like this??
A side: white-orange, brown, white-blue, green, white-green, blue, white-brown, 
orange
B side: white-orange, brown, white-blue, green, white-green, blue, white-brown, 
orange

##

Q2) again cabling.. i know what is the color order of straight and crossover 
cabling. BUT: what are the color orders, when i need to create physically two 
separated networks?

568B; straight; nic to switch:
A side: white-orange, orange, white-green, blue, white-blue, green, 
white-brown, brown
B side: white-orange, orange, white-green, blue, white-blue, green, 
white-brown, brown
--
568A; crossover; nic to nic: [it's not so important about from ~2005]:
switch the pairs: 1&2 with 3&6 on one side:
A side: white-green, green, white-orange, blue, white-blue, orange, 
white-brown, brown
B side: white-orange, orange, white-green, blue, white-blue, green, 
white-brown, brown
--
one cable, two straight networks:
A side: 
I.: 
II.: 
B side: 
I.: 
II.: 
--
one cable, two crossover networks:
A side: 
I.: 
II.: 
B side: 
I.: 
II.: 
--
one cable, one straight and one crossover network:
A side [straight]: 
I.: 
II.: 
B side [crossover]: 
I.: 
II.: 
--
one cable, one crossover and one straight network:
A side [crossover]: 
I.: 
II.: 
B side [straight]: 
I.: 
II.: 

##

Thank you for any pointings, links, or specific answers.

Happy Christmas!


  


-- 
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/300521.28446...@web121410.mail.ne1.yahoo.com



google chrome "big brother"

2010-12-17 Thread S Mathias
Google Chrome Terms of Service(Google Chrome executable), BSD (source code and 
Chromium executable except chromium 5 beta),BSD License with proprietary parts 
(source code and chromium 5 beta executable, as it integrates Adobe Flash 
Player 10.1[1])[2]
http://en.wikipedia.org/wiki/Google_Chrome
in my interpretation, this means Google Chrome is fully open-source, only the 
flash player has proprietary codes.
am i right, or i'm missing something?
i would be happy if someone could correct me.
thank you!!
*ps.: because "they" say google is the "big brother"


  

openssl chat

2010-12-12 Thread S Mathias
i can use "natively" openssl for anonymous chat: 

# Chat: 
# server side:
openssl req -x509 -nodes -days 365 -newkey rsa:8192 -keyout mycert.pem -out 
mycert.pem

# server side - generate a self-signed cert.
openssl s_server -accept 52310 -cert mycert.pem

# client side - "127.0.0.1" is the IP of the server
openssl s_client -connect 127.0.0.1:52310


1) but how can i set it to require username/password? it would be a great chat 
tool
2) how can i transfer files with openssl? [again: with username/password?]

thank you for any ideas :\

p.s.: or it will be a firewall rule, to restrict to ip addresses in a list? 
those, who are only allowed to connect..


  

Re: bash increment in a given way

2010-12-11 Thread S Mathias
already solved!

$ for i in $(seq 0 4 16); do seq $i 1 $(( $i + 1 )); done
0
1
4
5
8
9
12
13
16
17

thank you!

--- On Sat, 12/11/10, Camaleón  wrote:

From: Camaleón 
Subject: Re: bash increment in a given way
To: debian-user@lists.debian.org
Date: Saturday, December 11, 2010, 4:57 PM

On Sat, 11 Dec 2010 06:34:14 -0800, S Mathias wrote:

> It's ok, that i can use this, when i want an incrementing sequence, in a
> given way:
> 
> # {START..END..INCREMENT}
> $ for i in {0..10..2}; do echo "Welcome $i times"; done Welcome 0 times
> Welcome 2 times
> Welcome 4 times
> Welcome 6 times
> Welcome 8 times
> Welcome 10 times
> $
> 
> but what's the "magic" for this? :
> 
> $ MAGIC; do echo "Welcome $i times"; done Welcome 0 times
> Welcome 1 times
> Welcome 4 times
> Welcome 5 times
> Welcome 8 times
> Welcome 9 times
> $
> 
> thanks:\

Hum... I'm not very good at "bashing" but, something like this? :-?

***
echo "Limit...?"
read limit

a=0
echo $a
for ((i=0; i<$limit; i++));
do
  a=$(($a + 1))
  echo $a
  a=$(($a + 3))
  echo $a
done
***

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.12.11.16.57...@gmail.com




  

bash increment in a given way

2010-12-11 Thread S Mathias
It's ok, that i can use this, when i want an incrementing sequence, in a given 
way:

# {START..END..INCREMENT}
$ for i in {0..10..2}; do echo "Welcome $i times"; done
Welcome 0 times
Welcome 2 times
Welcome 4 times
Welcome 6 times
Welcome 8 times
Welcome 10 times
$

but what's the "magic" for this? :

$ MAGIC; do echo "Welcome $i times"; done
Welcome 0 times
Welcome 1 times
Welcome 4 times
Welcome 5 times
Welcome 8 times
Welcome 9 times
$

thanks:\



  

"ultimate" backup choice

2010-12-11 Thread S Mathias
i have:
"SERVER A"
"SERVER B"

with "full root permisson" [ssh, etc]

each server has a folder.

i want to backup a folder in "SERVER A".

are there any backup methods, that meets these two requirements? :


1) running from e.g.: a cronjob

2) when running, it just checks the folder in "SERVER A" and "SERVER B". if a 
file/folder has been added/removed/modified in the "SERVER A"'s folder, then it 
copies/removes it/them to "SERVER B"'s folder.

please help!

Thank you in advance! [for any links, howtos :\ ]

have a nice weekend


  

How to check that if a package is installed?

2010-11-30 Thread S Mathias
if [ "$(dpkg -l | awk '/tofrodos/ && /^ii/ {print $2}' | awk '/^tofrodos/')" == 
"" ]; then echo -e "error: no zip package detected\!\n\nYou could install it 
like e.g.: \"apt-get install tofrodos\""; fi




Is there a better way then this?

Thank you!



  

5.0.7 out, but where are the torrent files?

2010-11-28 Thread S Mathias
I could seed it [like thousand of people could], but i can't find the 5.0.7 
torrents :O

why? :O



  

Re: xpdf fonts and xresources

2010-08-21 Thread Mathias Bauer
Hi!

* Andreas Goesele schrieb am Sa, 07.08.2010 um 12:51 (+0200):

> for me the xpdf fonts are too small. So I changed them by putting
> xpdf*fontList: -*-helvetica-medium-r-*-*-*-140-*-*-*-*-iso8859-1
> into .Xresources
>
> But this leaves the fontsize of the textareas ("Page", Search
> field, printing dialog) unchanged. Is there a way to change the
> fontsize for these areas in .Xresources?

Have you already tried the editres program (package x11-utils)?

Keep xpdf running and start editres.  After getting the resource
tree into editres you can alter nearly any resource while xpdf is
running.  The altered resources can be saved.

Your question applies to some branch of the
".xpdf.win.form.toolBar.*" tree.

Good luck!
Mathias

-- 
-----
Mathias Bauer  mba...@gmx.org


-- 
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/20100821193801.ga29...@gmx.org



Re: Recommended NIC module

2010-01-10 Thread Mathias

On Sun, 10 Jan 2010, Stan Hoeppner wrote:


Mathias put forth on 1/10/2010 1:25 PM:


Yesterday I
complied my own kernel so now I'm doing the finishing touches on the
system.


If you're compiling your own kernels, add the e100 driver into the kernel
instead of as a module.  I've got an 82558 and 82559 in the same machine and
both work great without problems using the e100 kernel driver.

Also, you mentioned etho and eth1 being bumped around.  Udev did this to me with
the same two eth cards mentioned above when I moved one of them to a different
PCI slot.  I then researched the problem and had to create a udev rule to always
name the 82559 as eth0 and 82558 as eth1.  I'm guessing something similar
happened to you when you first noticed problems.  This isn't a problem with the
ethernet drivers but is a problem with udev.

Yeah, now that you mention it, that sounds like it, as I recall it. It was a 
few years ago since I installed it, and I can't rememeber the error messages 
and such, and I have wiped it clean, this past week. I was wresting with 
that issue for a while, but forgot about it, and then now when it totally
stopped working after the update, I thought it was time to change a few 
things. Mysql server failed to start, etc. Whenever I installed another 
kernel than the working (2.6.22 or 24) it wouldn't boot, just re-start 
itself. Of course I could have stayed with it and try to resolve all this 
issues, as I always did in the past, but I guess I am getting old and lazy, 
so I just installed Etch and it worked, upgraded to lenny and now everything 
seems to work fine. :)


But if you want, I can start digging in memory archives, and try to back 
track all that was faulty with the old setup. ;)


Mat


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




Re: Recommended NIC module

2010-01-10 Thread Mathias

On Sun, 10 Jan 2010, Camaleón wrote:


On Sun, 10 Jan 2010 12:21:37 -0600, Stan Hoeppner wrote:


Camaleón put forth on 1/10/2010 12:07 PM:

On Sun, 10 Jan 2010 02:31:20 +0100, Mathias wrote:


Which module would you guys (or gals :) recommend for this NIC, the
e100 or the eepro100?

00:02.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet
Pro 100 (rev 08)


I would use the module the kernel detects and automatically loads and
if no problem arises, I'll keep that one O:-)


If the kernel is auto detecting the device and loading a driver, and the
device works properly, it makes one wonder why the OP posted his
question here in the first place...


Yes, that is a good question that was not properly addressed.

@OP: Mathias, can you specify what kind of errors are you experiencing
with *any* of the drivers? Detection issues, package drop/lost issues,
connection problems, intermittent errors, system locks...?



Well, I kinda just did, in the previous post/mail. But if you want I can 
describe it. It's a Serverworks III LE machine with the NIC on the 
motherboard, and a long time ago I installed what was lenny/sid back then,
I think. Had some problems with it, but nothing major, then with a recent 
upgrade it stopped working, and new kernels wouldn't work either, just 
re-boot/reset. So now I have managed to install stable/lenny on it, from

scratch. I saved all the data, home and etc on another disc for later use.
I guess I'll use e100 from now on, but back then when it was not working
properly, the e100 was installed with the default kernel. Yesterday I 
complied my own kernel so now I'm doing the finishing touches on the system.
This server is a SMP/Dual P3 with 768MB RAM and will be used as a ftp, ssh, 
apache (very little, mysql and a few others.


Let me know if you need more info. ;)

Mat

Re: Recommended NIC module

2010-01-10 Thread Mathias

On Sun, 10 Jan 2010, Stan Hoeppner wrote:


Camaleón put forth on 1/10/2010 12:07 PM:

On Sun, 10 Jan 2010 02:31:20 +0100, Mathias wrote:


Which module would you guys (or gals :) recommend for this NIC, the e100
or the eepro100?

00:02.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet
Pro 100 (rev 08)


I would use the module the kernel detects and automatically loads and if
no problem arises, I'll keep that one O:-)


If the kernel is auto detecting the device and loading a driver, and the device
works properly, it makes one wonder why the OP posted his question here in the
first place...

At first it didn't, it kept on remapping the NIC to eth1, and eth0 was 
disabled or reserved, then after an upgrade eth1/the NIC stopped working 
when booting, I had to manually make it work. :-/


Mat

Re: How to install Eclipse 3.5 on Debian 5 (lenny) stable release ?

2010-01-10 Thread Mathias

On Sun, 10 Jan 2010, Tsang Kim Wai wrote:


Hi Nick Douma, Liam O'Toole and Mathias,

 It works by simply extracting the downloaded Eclipse 3.5 binary file
into /usr/local/eclipse-3.5/ directory and then run the eclipse script under
that directory. But I think, the eclipse 3.5 simple installation may depend
on some configurations of my old eclipse 3.2 installation. That is, I may
not un-install eclipse 3.2 while expecting eclipse 3.5 would work properly.
Is that the case ?

 Anyway, thank you for all your suggestions.

Yeah, seeing how the apt system on debian mostly works to maintain and 
upgrade the packages to newer version, the 3.4 that is in unstable would 
replace the 3.2 one, unless some changes were made to the newer package.


As mentioned earlier, creating a symlink in /usr/bin seems like a good idea 
too.


Mat

Re: How to install Eclipse 3.5 on Debian 5 (lenny) stable release ?

2010-01-09 Thread Mathias

On Sun, 10 Jan 2010, Tsang Kim Wai wrote:


Hi All,

 I am a newbie in Debian and have just installed Debian 5 (lenny) stable
release. I have used "apt-get install eclipse" to install a version of
eclipse into my system and that version runs well.

 However, later I find that the installed version of eclipse is 3.2 and
I would like to install the current eclipse release 3.5 as an alternative of
eclipse 3.2.

 I find that eclipse 3.5 Linux version
(eclipse-jee-galileo-SR1-linux-gtk.tar.gz) could be downloaded from the
eclipse site but I do not know how to install it into Debian to make it
co-exist with the older eclipse 3.2.


I see that version 3.4.11 is in sid/unstable:
http://packages.debian.org/sid/eclipse

I guess that could be installed, without too much effort, it has a few
dependencies though. I was hoping to find 3.5 in experimental, but no such
luck. A tar.gz archive like the one you mention above is not that hard to
install either, it's not not as easy as just using apt-get or dpkg. I guess
you could unpack it (tar -zxcf) in /usr/local somewhere and try. That can't 
damaged anything. :)


Mat

Recommended NIC module

2010-01-09 Thread Mathias

Which module would you guys (or gals :) recommend for this NIC, the e100 or
the eepro100?

00:02.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 
100 (rev 08)


Mat


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




Re: Problems with the install kernel on serverworks chipset.

2010-01-08 Thread Mathias

On Fri, 8 Jan 2010, Stan Hoeppner wrote:


On Fri, 8 Jan 2010 18:24:52 +0100 (CET), Mathias  wrote:


What SCSI RAID card is in the machine, if any?



It's equpiped with 2-chan LSI SYM53C896 U160 and an Adaptec 1200A
ATA-100/ATA-133 controller to replace the crappy Broadcom IDE controller
this board has.

Anyway, I managed to install a basic configuration of Etch, late last
night,
booting in with LILO (Wanted Grub 2, but my XFS disks wont work with it).
So I'm going to try and upgrade it further from there.


If your skills are up to it, I'd recommend building a custom non-initrd
kernel with your storage controller and network drivers (and all needed
drivers for that matter) built in.  That would eliminate this boot problem.


Yeah, that's no problem, just have to figure out all the hardware, so I wont 
miss to include any modules. Been compiling loads of kernels over the years, 
but it's been a while now, hope it hasn't changed that much. :)


Mat


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




Re: Problems with the install kernel on serverworks chipset.

2010-01-08 Thread Mathias

On Fri, 8 Jan 2010, Stan Hoeppner wrote:


On Fri, 8 Jan 2010 15:38:41 + (UTC), Camaleón 
wrote:

On Fri, 08 Jan 2010 02:01:53 +0100, Mathias wrote:

(...)


The machine is a HP NetServer E800 with ASUS CUR-DLS mobo, dual P-III.

Any tips?


It's listed here:

http://kmuto.jp/debian/hcl/ASUS/CUR-DLS

It seems that was tested with kernel 2.6.25.


What SCSI RAID card is in the machine, if any?



It's equpiped with 2-chan LSI SYM53C896 U160 and an Adaptec 1200A 
ATA-100/ATA-133 controller to replace the crappy Broadcom IDE controller 
this board has.


Anyway, I managed to install a basic configuration of Etch, late last night, 
booting in with LILO (Wanted Grub 2, but my XFS disks wont work with it).

So I'm going to try and upgrade it further from there.

Mat

Problems with the install kernel on serverworks chipset.

2010-01-07 Thread Mathias
When I install Debian 5.0 lenny and reboot, the linux never makes in past 
the first post but crashes/reboots at once.


I can run Knoppix 5.3.1 (kernel 2.6.26) on DVD and older knoppix versions on 
the machine, so it's not a total havoc. I also used
to run an older linux on this machine with kerne image 2.4.22 or 24, on it. 
I've tried the 2.6-486 as well, but no luck.


The installation goes fine, so that one works. But there is something in the 
linux image that doesn't work for me, maybe it's

not supporting Serverworks III LE chipset, or something.

Are there any alternative install discs/isos, unsupported that has a kernel 
that might work for me? It's worth a try.
I'm not new to linux either, have been using linux since ca 1998 and 
installed it over 100 times on different machines,

15 of those I have in my house/basement. So no lack of knowledge there.

The machine is a HP NetServer E800 with ASUS CUR-DLS mobo, dual P-III.

Any tips?


I am also now going to try and install an older version of Debian, (etch) to 
see if I can use it to upgrade with, and use another kernel.



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




/etc/default/sysklogd?

2009-05-07 Thread Mathias Koerber
In Debian 4, it seems that the sysklogd initscript does not
check any /etc/default (like sysconfig in redhat) file,
and in fact sets SYSLOGD=""

SO I gather I need to edit the initscript if I want to change
syslogd's commandline params, or is there some other local
mechanism that allows me to make config changes w/o touching the
file (which may get overwritten on a future upgrade)?


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



TrendMicro Interscan Viruswall v6.02 on Etch

2008-01-15 Thread Mathias Tauber

Hello,

we're using TrendMicro Interscan Viruswall v6.02 (HTTP engine only) on 
Debian Etch (32bit SMP). After some debugging and customising the 
installer went through and the software is running with great 
performance. There's one little problem but TrendMicro doesn't support 
Debian so...


After running it a while we encountered problems with the automatic 
pattern updates. Sometimes (can be once a week, less or more) the HTTP 
engine fails to start after the automatic pattern updates. It says (see 
more at the bottom of this mail):


  "2007/12/18 05:00:13,-12143223,Daemon failed to start"

Curiously it happens almost everytime at 5am but not always. So we did a 
bit debugging but that's not easy with closed software. We changed some 
configuration and kernel values because it uses a lot of RAM


  kernel.shmall = 2147483648
  kernel.shmmax = 2147483648

but still the same. We're using this version:

  http://www.trendmicro.com/download/product.asp?productid=13
  -> ISVW_v6.02_7672_release.tar.gz

It's a trial version so you can try also if you want to. Problems with 
the installer are easy to fix, just ask if you are interested.


So if anybody has a hint or knows the problem just let me know, thanks.

Cheers
Mathias



### Full Log Output ###

# cat /opt/trend/isvw6/log/eventlog.20071218.0001
2007/12/18 00:00:01,-12103821,ISVW : ISVW success to get version of AU 
about item Virus Engine
2007/12/18 00:00:01,-12103821,ISVW : ISVW success to get version of AU 
about item Virus Pattern
2007/12/18 01:00:04,-12103821,ISVW : ISVW success to get version of AU 
about item Virus Engine
2007/12/18 01:00:04,-12103821,ISVW : ISVW success to get version of AU 
about item Virus Pattern
2007/12/18 02:01:38,-12103821,ISVW : ISVW success to get version of AU 
about item Virus Engine
2007/12/18 02:01:39,-12103821,ISVW : ISVW success to get version of AU 
about item Virus Pattern
2007/12/18 03:00:05,-12103821,ISVW : ISVW success to get version of AU 
about item Virus Engine
2007/12/18 03:00:05,-12103821,ISVW : ISVW success to get version of AU 
about item Virus Pattern
2007/12/18 04:00:03,-12103821,ISVW : ISVW success to get version of AU 
about item Virus Engine
2007/12/18 04:00:04,-12103821,ISVW : ISVW success to get version of AU 
about item Virus Pattern
2007/12/18 05:00:02,-12103821,ISVW : ISVW success to get version of AU 
about item Virus Engine
2007/12/18 05:00:02,-12103821,ISVW : ISVW success to get version of AU 
about item Virus Pattern
2007/12/18 05:00:13,-12103821,ISVW : ISVW success to duplicate AU about 
item Virus Pattern

2007/12/18 05:00:13,-12362435,HTTP: ActiveUpdate starting now.
2007/12/18 05:00:13,-12144540,Scan: Updating the virus and content 
protection components...

2007/12/18 05:00:13,-12362435,HTTP: ActiveUpdate finished.
2007/12/18 05:00:13,-12143223,Daemon failed to start
2007/12/18 05:00:15,-12144540,Scan: Virus Scan Engine <8.5.1001> Virus 
Pattern <4.893.00> Spyware Pattern <0.569.00> IntelliTrap Black Pattern 
<0.107.00> IntelliTrap White Pattern <0.249.00>
2007/12/18 05:00:15,-12144540,Scan: The virus and content protection 
components were successfully updated.
2007/12/18 05:01:23,-12123077,Control Manager Agent: Terminating\, 
please wait...

2007/12/18 05:01:24,-12483226,Rescan service exits.
2007/12/18 05:01:25,-12399258,Resend service exits.
2007/12/18 05:01:25,-12315331,Notification service exits.
2007/12/18 05:01:25,-12106448,ISVW Services: UnRegister to ISVW ...
2007/12/18 05:01:25,-12106448,ISVW Services: UnRegistration from ISVW is 
okay.

2007/12/18 05:01:25,-12106448,ISVW Services: exit.
2007/12/18 05:01:35,-12103821,InterScan VirusWall 6: Terminating...
2007/12/18 05:01:39,-12102838,InterScan VirusWall 6: Initializing...
2007/12/18 05:01:42,-12102838,InterScan VirusWall 6: License check: 
Enable AntiVirus; Enable AntiSpam; Enable ContentFilter; Enable OPS; 
Enable URLFilter; Enable AntiPhishing; Enable AntiBotTrap; Enable 
AntiSpyware.
2007/12/18 05:01:42,-12102838,InterScan VirusWall 6: AC: Full Premium; 
Seats: 26; Expired Date: 20081024; Status: Activated.

2007/12/18 05:01:43,-12145441,Scan: Initializing...
2007/12/18 05:01:44,-12145435,HTTP: Initializing...
2007/12/18 05:01:44,-12108987,ISVW Services: Register to ISVW ...
2007/12/18 05:01:44,-12145435,HTTP: Successfully updated the InterScan 
VirusWall 6 license status.

2007/12/18 05:01:44,-12145435,HTTP: Enabled antivirus feature.
2007/12/18 05:01:44,-12145435,HTTP: Enabled Outbreak Prevention Policy 
(OPP) feature.

2007/12/18 05:01:44,-12145435,HTTP: Enabled URL filter feature.
2007/12/18 05:01:44,-12145435,HTTP: Enabled anti-phishing feature.
2007/12/18 05:01:44,-12145435,HTTP: Enabled IntelliTrap feature.
2007/12/18 05:01:44,-12145435,HTTP: Enabled antispyware feature.
2007/12/18 05:01:44,-12108987,ISVW Services: Registration to ISVW is okay.
2007/12/18 05:01:44,-12317870,Notification service starts.
2007/12/18 05:01:44,-12401797,R

Re: see remaining ink in the cartridge (toner status)

2007-11-24 Thread Mathias Brodala
Hi.

Simon Jolle "sjolle", 24.11.2007 21:23:
> How to I display the remaining ink in the cartridge?

Did you try the "ink" package?


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: listening to radio stations

2007-11-23 Thread Mathias Brodala
Hi Jude.

Jude DaShiell, 23.11.2007 15:17:
> Do any command line tools exist in debian that will allow a user to
> listen to a streaming broadcast say from
> http://sc1.liquidviewer.com:9062/listen.pls

Just use mplayer, it can play almost everything. Adding the "-playlist" option
might be necessary if you receive an error about "avisynth.dll". (I didn’t get
one while I tested the URL you gave, though.)


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: [OT?] Replying to posts in debian-user

2007-11-18 Thread Mathias Brodala
Hi.

Raj Kiran Grandhi, 18.11.2007 15:45:
> Sven Joachim wrote:
>>
>> There is one tip I have for you: use a mailer that has better support
>> for mailing lists than your current one, e.g. KMail.  Mutt and Gnus
>> are even better, but they are difficult to set up.  If you want to
>> stick to Thunderbird/Icedove, there is a "ReplyToList" extension at
>> http://alumnit.ca/wiki/index.php?page=ReplyToListThunderbirdExtension,
>> but it does not seem to work with Thunderbird/Icedove 2, see
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=439369.
>>
> 
> I have tried that extension, but as you have pointed out, it doesn't
> work with the version of icedove I am using. The bug report page says
> that a patch has been applied to the source. So probably it will appear
> in sid in a few days. I shall retry then.

Even after applying the patch the extension won’t work yet. The upstream author
is aware of this problem and working on it.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: Why kernel 2.6.23 does not appear in sid packages?

2007-11-06 Thread Mathias Brodala
Hi.

Magicloud Magiclouds, 07.11.2007 02:18:
>It has been a long time
>Also, I think sid's packages update little these days. Does this mean
> a new stable?

Being a Sid user you should be subscribed to debian-devel-announce:

http://lists.debian.org/debian-devel-announce/2007/11/msg1.html


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: package

2007-11-01 Thread Mathias Brodala
Hi.

No need to CC me. And please don’t top post, thanks.

ann kok, 01.11.2007 18:00:
> thank you.
> 
> but I run the "apt-file search `which ip`"
> can't get the iproute package for command ip addr
> 
> thank you again
> 
>  apt-file search `which ip`
> apt-file version 2.0.3
> (c) 2002 Sebastien J. Gross <[EMAIL PROTECTED]>
> […]

Ah yes, silly me. If "iproute" is not installed it’s obvious that the "ip"
command cannot be found. Just directly search for "bin/ip" then.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: package

2007-11-01 Thread Mathias Brodala
Hi.

ann kok, 01.11.2007 16:39:
> what is package including command ip addr?

The command "ip" is in the "iproute" package.

> how can I know the package info?

# apt-get install apt-file
# apt-file update
$ apt-file search `which ip`


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: can mplayer in etch be used to watch TV?

2007-10-31 Thread Mathias Brodala
Hi.

Serena Cantor, 01.11.2007 00:03:
> I can use xawtv in etch to watch TV, but am not happy with it, so I try 
> mplayer. So far it does
> not work. Below is output:
> (BTW: can you recommend other TV-watching packages in etch?)
> 
> $ mplayer driver=v4l tv://16 norm=PAL device=/dev/video0 >& output.txt
> 
> […]
> 
> Playing driver=v4l.
> File not found: 'driver=v4l'
> Failed to open driver=v4l.

The manpage of mplayer contains this example:

>input from standard V4L:
>mplayer tv:// -tv driver=v4l:width=640:height=480:outfmt=i420 -vc 
> rawi420 -vo xv

So you’re missing the "-tv" which is why mplayer recognizes "driver=v4l" as
filename.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: how to match parenthesis in sed

2007-10-17 Thread Mathias Brodala
Hi.

H.S., 17.10.2007 18:09:
> Mathias Brodala wrote:
>> Hi.
>>
>> H.S., 17.10.2007 06:44:
>>> I am renaming files by removing parentheses from them. These are image
>>> files which were sorted in Windows (by placing them in the desired order
>>> and then by renaming them in batch mode in Windows explorer -- couldn't
>>> do this in Linux).
>> Hint: use Thunar. It has a nifty bulk renamer included with a lot more 
>> features
>> than the Windows Explorer could ever offer. One of them is the live preview 
>> so
>> that you can make sure the result is as you expected it.
>>
> 
> I think I have asked this before.

That’s possible.[0] :-)

> Does thunar allow me to arrange the
> files spatially (drag and drop) and then to rename them sequentially in
> that order? I couldn't do this in Linux when I tried this earlier this
> year.

[0] Not yet, but I filed a report for this some time ago:
http://bugzilla.xfce.org/show_bug.cgi?id=3325


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: how to match parenthesis in sed

2007-10-17 Thread Mathias Brodala
Hi.

H.S., 17.10.2007 06:44:
> I am renaming files by removing parentheses from them. These are image
> files which were sorted in Windows (by placing them in the desired order
> and then by renaming them in batch mode in Windows explorer -- couldn't
> do this in Linux).

Hint: use Thunar. It has a nifty bulk renamer included with a lot more features
than the Windows Explorer could ever offer. One of them is the live preview so
that you can make sure the result is as you expected it.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: How to install Adobe Acrobat Reader?

2007-10-14 Thread Mathias Brodala
Hi Pantor.

Pantor, 14.10.2007 17:17:
> Would you be able, please, to advice how to install Adobe Acrobat Reader?

Add the repository from debian-multimedia.org to your sources.list (mirrors
preferred) and install "acroread".

But why do you need it? Why not "xpdf", "evince" or "kpdf"?


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: Compiling all packages with debug information?

2007-10-06 Thread Mathias Brodala
Hi Philipp.

Philipp Marek, 06.10.2007 09:36:
> How about compiling all programs with debugging information, and strip them 
> into a "-dbginfo" package, or something likewise for "apt-get source"? Like 
> the "-dev" packages only people who think they need them would install them.

Uhm, there already are such packages. They are named ${packagename}-dbg and
contain the debugging symbols. Not every package already has such a debugging
package but it’s getting more and more.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: qemu freebsd failed with kqemu loaded

2007-09-17 Thread Mathias Brodala
Hi.

manphiz, 16.09.2007 18:03:
> I tried to virtualize freebsd using qemu with kqemu but failed, both 6.2
> release and 7.0 current, and both w/ and w/o acpi. The failure log said:

Sounds like bug #402289[0] to me.


Regards, Mathias

[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=402289

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: crontab -e

2007-09-03 Thread Mathias Brodala
Hi Raquel.

Raquel, 04.09.2007 02:22:
> I have a new install of Etch.  When I issue the command
>   #crontab -e
> I get the nano editor.  I would really rather use the vim editor. 
> How do I change what gets used?

Set the EDITOR environment variable in the config file of your preferred shell.
(~/.bashrc for Bash)


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: SVG broke after installing Pidgin unstable package

2007-09-03 Thread Mathias Brodala
Hi.

Kumar Appaiah, 03.09.2007 09:44:
> On Mon, Sep 03, 2007 at 09:31:27AM +0200, Rickard Lindberg wrote:
>> Does anyone have any experience running the 'testing' release? I
>> watched 'The Technology Behind Debian's Testing Release' from google
>> video yesterday, and in the end of the presentation he mentioned that
>> in the future, it might be possible to run a stable release, but at
>> the same time install some packages from unstable. Does anyone know
>> anything about that? When will it be available? Is someone is working
>> on it?
> 
> You can, even now, try putting testing in your sources.list and try to
> move to testing. Testing is also a trifle better than instable because
> the secutiry team now gives security updates for testing as
> well.

Well, Unstable gets security updates too, only as regular package updates.

> Added advantage: it gets all newer packages from unstable after
> 10 days of no critical bug reports in unstable.

This is an added disadvantage for me, since it also can take 10 or more days
until a fix can enter Testing where it is fixed sometimes on the same day in
Unstable.

> In a sense, testing (now lenny) may be just the right balance you are
> looking for, but YMMV.

Agreed.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: hardware info

2007-09-02 Thread Mathias Brodala
Hi Hugo.

Hugo Vanwoerkom, 02.09.2007 15:18:
> I thought I saw a reference to a tool that prints system hardware info
> in html format with the --html option.
> 
> Now I can't find it.

Do you mean "lshw"?


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: Amarok + mp3 embedded album art

2007-09-01 Thread Mathias Brodala
Hi.

koffiejunkie, 02.09.2007 00:43:
> koffiejunkie wrote:
>> Then, I noticed that Amarok (1.4.4-4) displays garbled image art.  [·]
> 
> [·]  I suspect that whatever amarok uses to
> read/understand that part of the mp3 file is at fault.  Does anyone know
> what amarok uses?

From "apt-cache show amarok" taglib[0] as it seems.


Regards, Mathias

[0] http://packages.qa.debian.org/t/taglib.html

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: debian port of timidity doesn't work here

2007-09-01 Thread Mathias Brodala
Hi Marko.

Marko Randjelovic, 01.09.2007 10:49:
> Jude DaShiell wrote:
>> I figured to use timidity to listen to some midi files and found out
>> missing instruments make that impossible.  Would it be better to convert
>> the midi files to another format and listen to them that way and if so
>> which format and what tool does that conversion?  If midi files aren't
>> possible to play on debian I'd like to know that too since I may be able
>> to do it on my mac.
> 
> You need to download patchset, you have freepats in Debian, but it is
> not complete. I recommend Gravis UltraSound patchset, download it from
> 
> http://www.anime.net/~goemon/timidity/goemon.tgz
> 
> Uncompress it to /usr/local/share/midi/. Move the file goemon.cfg to
> /etc/timidity/. Than add this line to /etc/timidity/timidity.cfg:
> 
> source /etc/timidity/goemon.cfg

There’s a bit more work necessary since the "dir" option in goemon.cfg does not
refer to an absolute path, but other than that this is a great tip! Finally less
missing instruments.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: Opera vs Kmail, Kontact, Konversation

2007-08-31 Thread Mathias Brodala
Hi.

P Kapat, 01.09.2007 00:29:
> One thing that annoys me
> is that if you come across a .torrent file on the net, using opera, it
> doesn't give you a option to just download the .torrent file or even
> better open with another application.

Never tried to change that behaviour? See Preferences → Advanced → Downloads.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: Locale won't set

2007-08-31 Thread Mathias Brodala
Hi Haines.

Haines Brown, 31.08.2007 18:49:
> There seems to be no problem with my system's supporting en_US:
> 
> $ locale -a
> locale: Cannot set LC_CTYPE to default locale: No such file or directory
> locale: Cannot set LC_MESSAGES to default locale: No such file or directory
> locale: Cannot set LC_COLLATE to default locale: No such file or directory
> C
> POSIX
> en_US
> en_US.iso88591
> 
> What does "no such file or directory" refer to?

Find it out:

$ strace -eopen locale -a

That’s the way it looks like when everything’s OK:

> $ strace -eopen locale -a
> open("/etc/ld.so.cache", O_RDONLY)  = 3
> open("/lib/i686/cmov/libc.so.6", O_RDONLY) = 3
> open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
> open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
> open("/usr/lib/locale", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
> open("/usr/share/locale/locale.alias", O_RDONLY) = 3
> C
> de_DE.utf8
> POSIX
> Process 2577 detached

Maybe it helps.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: upgrading ubuntu to debian

2007-08-30 Thread Mathias Brodala
Hi.

Britton Kerin, 30.08.2007 20:19:
> (Though I will say that little hack where the shell tells you which 
>  package a program is in looks pretty cute and helpful :)

Not sure what you mean here, but that’s what apt-file is for.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: Search for string in files

2007-08-25 Thread Mathias Brodala
Hi Johannes.

Johannes Tax, 25.08.2007 23:16:
> I'm trying to figure out how to find a certain string inside a bunch of
> files. If I, for examples, look for a certain function in a large source
> tree, I could do
> 
> cat `find . -name '*.c'` | grep 'a_certain_function'
> 
> but this seems quite awkward, furthermore it doesn't help that much
> because I don't know in which file the string was found. Maybe there's a
> tool that makes it possible to find a string in a bunch of files and
> also to list in which file the string was found? Or any modification to
> the command given above?

Yeah, like this:

$ grep -r 'a_certain_function' *


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: Any way to stop dist-upgrade from upgrading tetex to texlive

2007-08-25 Thread Mathias Brodala
Hi.

- Tong -, 25.08.2007 05:51:
> On Sat, 25 Aug 2007 02:03:42 +0200, Mathias Brodala wrote:
> 
>>> Is there any way to stop dist-upgrade from upgrading tetex to texlive? 
>> See the manpage of aptitude and look for "hold".
> 
> […]
> 
> Please be *responsible* with what you said. Do you know that your "hold"
> does not work?

Nope. Only heard about it multiple times and thought it might be the solution
here. I never used it myself.

> If you are not sure yourself, shouldn't you at least test
> it before blunt it out?

I don’t use aptitude.

> If you want to help, then give *real* help, not
> giving false directions to waste other's time. 

You just could take my hint for further research if it doesn’t work directly.
(You could have come up with the idea to put everything tex-related on hold, for
example.)


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: Any way to stop dist-upgrade from upgrading tetex to texlive

2007-08-24 Thread Mathias Brodala
Hi.

- Tong -, 25.08.2007 01:44:
> Is there any way to stop dist-upgrade from upgrading tetex to texlive? 

See the manpage of aptitude and look for "hold".


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: latest udev (0.114-2) problem

2007-08-23 Thread Mathias Brodala
Hi Wayne.

Wayne Topa, 23.08.2007 18:21:
> I have an Athlon k7 box, running testing, as my gateway. Due to a new
> system install, I had not upgraded in a few weeks.  On the 21st I
> decided that it was time and did the upgrade overnight.  This morning
> I rebooted the box to upgrade my sid partition and when I rebooted
> testing, I had lost my my localnet connections.
> 
> Dmesg shows that the new udev package had decided to change eth0 to
> eth1, for some reason.  To use the localnet, I changed eth0 to eth1 in
> /etc/network/interfaces, restarted networking and killed the firewall.
> My localnet was back.  I then rebooted and found that udev had now
> changed the interface to eth3.  This will be a PITA to users that don't
> run their boxes 24/7.

This definitely doesn’t sound like udev were working correctly. Is there a
/etc/udev/rules.d/z25_persistent-net.rules file? This one should contain the
mapping of the ethernet devices based on their MAC address. Manual reordering
should be done here, the file usually never ever gets touched after initial
generation.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: which stands for openldap on debian

2007-08-22 Thread Mathias Brodala
Hi.

abdelkader belahcene, 22.08.2007 11:33:
> There is no openldap on debian, Which package stands for it

Use "apt-cache search openldap".


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: colors of VT

2007-08-21 Thread Mathias Brodala
Hi.

2g, 21.08.2007 20:56:
> how do i change the colors of the charactors of the VT?
> on slackware it is something like /etc/COLORS_DIR
> can't find that on Debian

Sounds like you want to change the color of file listings. The following should 
do:

$ dircolors -b >> ~/.bashrc

This adds the environment variable LS_COLORS to your bash profile with
predefined values. For information about those color values, see this HowTo[0]
on tldp.org.


Regards, Mathias

[0] http://tldp.org/HOWTO/Bash-Prompt-HOWTO/x329.html

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: FYI: Severe Vulnerability in Opera 9.22

2007-08-17 Thread Mathias Brodala
Hi Andrei.

Andrei Popescu, 17.08.2007 21:35:
> On Wed, Aug 15, 2007 at 09:25:33PM +, andy wrote:
>> Mathias Brodala wrote:
>>> Hi Manon.
>>>
>>> Manon Metten, 15.08.2007 20:42:
>>>   
>>>> I just read in the papers that there's a severe vulnerability discovered 
>>>> in
>>>> Opera 9.22, although the article did not say what. It is fixed in 9.23.
>>>> 
>>> See the changelog[0].
>>>
>>>
>>> Regards, Mathias
>>>
>>> [0] http://www.opera.com/docs/changelogs/linux/923/
>>>
>>>   
>> Thanks for the note.
>>
>> The update isn't yet in Lenny, but is available at the Opera site & a quick 
>> dpkg -i and in it goes.
> 
> $grep opera /etc/apt/sources.list
> 
> deb http://deb.opera.com/opera unstable non-free
> 
> (replace unstable with testing/lenny etc.)

Unfortunately this repo is slowly managed. The update is at the download section
of opera.com days before the deb reaches their repo. I always get new releases
from ftp.opera.com.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: FYI: Severe Vulnerability in Opera 9.22

2007-08-15 Thread Mathias Brodala
Hi Manon.

Manon Metten, 15.08.2007 20:42:
> I just read in the papers that there's a severe vulnerability discovered in
> Opera 9.22, although the article did not say what. It is fixed in 9.23.

See the changelog[0].


Regards, Mathias

[0] http://www.opera.com/docs/changelogs/linux/923/

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: display file name on xterm title

2007-08-15 Thread Mathias Brodala
Hi.

YH, 15.08.2007 13:48:
> Does anyone know the script to display a filename on xterm title while
> editing by vim?

Vim normally does this on its own so something’s broken if it doesn’t.

> How to assign the filename to PS1?

Huh? Why would you want this? There is no prompt while editing a file.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: Font Smoothing in Xterm

2007-08-13 Thread Mathias Brodala
Hi Amit.

Amit Uttamchandani, 14.08.2007 02:36:
> I know I could use the GNOME terminal or Konsole but they are not as quick as
> xterm. Any other alternatives that you guys suggest?

I switched to xfce4-terminal and am happy with it. It has some fancy stuff, a
configurable interface and is damn fast. Give it a try.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: php5 and UTF BOM header

2007-08-13 Thread Mathias Brodala
Hi.

supermega, 11.08.2007 14:42:
> On 11 Sie, 09:50, Mathias Brodala <[EMAIL PROTECTED]> wrote:
>> Use an editor which allows you to omit the BOM, it's optional for UTF-8 
>> anyways.
>> As long as you send the correct Content-Type header, the output won't be any
>> different.
>>
> 
> I know this solition and I use it for now, but it's against the UTF
> standard.

Nope. As I said, the BOM is optional for UTF-8. It is not for UTF-16 and UTF-32.

> Isn't it a bug? http://bugs.php.net/bug.php?id=22108
> Maybe php5 in debian isn't compiled with "--enable-zend-multibyte".

It is here. But you can always recompile PHP yourself if you miss an extension.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: php5 and UTF BOM header

2007-08-11 Thread Mathias Brodala
Hi.

supermega, 11.08.2007 03:21:
> How to make PHP interpreter not to send these BOM bytes to client?

Use an editor which allows you to omit the BOM, it’s optional for UTF-8 anyways.
As long as you send the correct Content-Type header, the output won’t be any
different.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: bash vs. python scripts - which one is better?

2007-08-09 Thread Mathias Brodala
Hi Jochen.

Jochen Schulz, 09.08.2007 23:42:
> Nelson Castillo:
>> I make trailing spaces and TABS visible in vim.
>> I know it's hard to keep conventions when you work with a team.
>>
>> http://wiki.freaks-unidos.net/weblogs/arhuaco/visible-spaces-in-vim
> 
> I am using
> 
> set listchars=tab:»·,trail:·
> 
> in my ~/.vimrc. That makes tabs and taling spaces show up in blue in my
> current color scheme (desert256 in gvim, don't know what it is in
> temrinals).

Well, normally you’d use "desert" for gvim and "desert256" for terminals, when
$TERM is set to "xterm-256color".


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: Virtual Machines/Emulators

2007-08-07 Thread Mathias Brodala
Hi Mike.

Mike McCarty, 07.08.2007 09:22:
> Hugo Vanwoerkom wrote:
>> Mike McCarty wrote:
>>
>>> I recently developed a desire to run some emulators under Linux,
>>> and consequently have run some of them. Here are my opinions of them,
>>> based on install, ease of use, and speed of emulation.
> 
> [snip]
> 
>>
>> Did you run kqemu with qemu?
> 
> No, I couldn't get it to build for me.

How did you try? More than the following commands is not necessary:

# apt-get install module-assistant
# m-a prepare
# m-a a-i kqemu
# modprobe kqemu

Optionally, for having the module loaded on boot-time:

# echo kqemu >> /etc/modules


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: Looking for debian source package as single tarball

2007-08-06 Thread Mathias Brodala
Hallo Mathieu.

Mathieu Malaterre, 06.08.2007 13:46:
>   According to:
> 
> 
> http://www.debian.org/doc/debian-policy/ap-pkg-sourcepkg.html#s-pkg-sourcearchives
> 
> If there is no original source code - for example, if the package is
> specially prepared for Debian or the Debian maintainer is the same as
> the upstream maintainer - the format is slightly different: then there
> is no diff, and the tarfile is named package_version.tar.gz, and
> preferably contains a directory named package-version
> 
> 
>   I would appreciate if someone could point me to such a package, I
> haven't seen one so far (always comes in three files: *.dsc, tarball
> and diff).

I’d go with the most obvious one: "apt".


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: replacement for apt-listchanges?

2007-08-05 Thread Mathias Brodala
Hi Vincent.

Vincent Lefevre, 05.08.2007 20:36:
> Is there a replacement for apt-listchanges, not written in python?

Not that I knew of. What’s the problem with apt-listchanges written in Python?


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: Opinions XFS

2007-08-04 Thread Mathias Brodala
Hi Douglas.

Douglas Allan Tutty, 05.08.2007 01:34:
> On Sat, Aug 04, 2007 at 02:14:28PM -0700, Andrew Sackville-West wrote:
>> magic sysrq key... Alt-SysRq-S to sync the filesystems followed by
>> Alt-SysRq-U tu remount readonly. then reboot.
>>
>> http://www.debian-administration.org/articles/457
>>
>>
>> doesn't *always* work, but I've gotten to work a couple times on
>> otherwise totally unresponsive machines... 
> 
> If I remember right, the magic key is disabled in stock debian kernels.

It is not:

> $ grep MAGIC /boot/config-`uname -r`
> CONFIG_FB_NEOMAGIC=m
> CONFIG_MAGIC_SYSRQ=y


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: xmms2

2007-08-04 Thread Mathias Brodala
Hi Steven.

Steven, 04.08.2007 23:01:
> The system is Debian Sid except for the git kernel.  The first four 
> attempts to start the server failed.  The fifth attempt was successful.

You might want to rebuild XMMS2 including debugging symbols. Get the source, and
add "-d ultradebug" to WAFFLAGS in debian/rules.

Then you can launch xmms2 from gdb and get a backtrace[0] after the segfault.
Submit this as a bugreport to the same called source package. Either the
maintainer or the upstream developers will know what to do.


Regards, Mathias

[0] http://sourceware.org/gdb/current/onlinedocs/gdb_7.html#SEC48

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


  1   2   3   4   5   >