Re: Hi bsd team! Plz help me!

2007-10-19 Thread Matthias Apitz
El día Friday, October 19, 2007 a las 11:39:42AM +0500, Eldar Velibekov 
escribió:

> Hi BSD team. Thanx for a Great OS! But! i wont use also graphical mode(X -
> system) but i dont wont 1024-768 resolution, i wont 1280 - 800 on my
> laptop(HP 510, CHipset Intel 915GMS family).What i must do???

Asuming that you have installed Xor and KDE:

as root:

# Xorg -configure

this writes the guessed config as $HOME/xorg.conf.new

test it with:

# Xorg -config xorg.conf.new

copy it over to /etc/X11/xorg.conf and do as you (normal user):

% echo "exec startkde" > ~/.xinitrc
% startx

    matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC PICA GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclcpica.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
OCLC PICA GmbH, Geschaeftsfuehrer: Christine Magin-Weeger, Norbert Weinberger
Sitz der Gesellschaft: Oberhaching, HRB Muenchen: 113261
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Xmodmap (or .xinitrc?) broken after xorg upgrade

2007-10-22 Thread Matthias Apitz
El día Sunday, October 21, 2007 a las 08:38:33PM -0400, Chris Hill escribió:

> About a week ago, I updated my ports, including xorg. Now xmodmap isn't 
> running from ~/.xinitrc like it used to.
> 
> My .xinitrc is the same as it's been for years, so it includes the lines
> if [ -f $usermodmap ]; then
> xmodmap $usermodmap
> fi
> 
> After some experimenting, I find that if I run
> $ xmodmap .Xmodmap
> $ xmodmap .Xmodmap
> ...twice, as shown, in an xterm after X gets going - then my .Xmodmap 
> takes effect.
> 
> If I comment out that section of ~/.xinitrc, then I only have to run
> $ xmodmap .Xmodmap
> once in an xterm. I would like not to have to run xmodmap manually at 
> all, but have .xinitrc take care of it, just as it used to be before the 
> upgrade.
> 
> Any ideas? Many thanks in advance.

I'm facing a similiar problem in Xorg 6.9 and KDE 3.5.4: I tried
to set some xmodmap values in my ~/.xinitrc before launching
the KDE desktop, like:


xmodmap -e "keycode 0x73 =  Mode_switch"
xmodmap -e "keycode 0x39 =  n N ntilde Ntilde"
xmodmap -e "keycode 0x1a =  e E eacute Eacute"
xmodmap -e "keycode 0x26 =  a A aacute Aacute"
xmodmap -e "keycode 0x1f =  i I iacute Iacute"
xmodmap -e "keycode 0x1e =  u U uacute Uacute"
xmodmap -e "keycode 0x20 =  o O oacute Oacute"
...
exec startkde

but when X is up the xmodmap's are not in affect. I have to
set them inside X with a small desktop icon.

matthias

-- 
Matthias Apitz
e <[EMAIL PROTECTED]> - w http://www.oclcpica.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: project management software for freebsd?

2007-10-29 Thread Matthias Apitz
El día Saturday, October 27, 2007 a las 08:00:36PM +0330, Bahman M. escribió:

> On 2007-10-27 zbigniew szalbot wrote:
> > I am looking for recommendation of software which could be installed 
> > from ports and which would help us register new ideas, be able to see
> > if they have been started/completed, etc.
> > 
> > I did have a look at Horde but this is not what I am looking for. I
> > do not want a simple task list. Rather something more like project 
> > management software (best if installed from ports but it is not
> > really necessary). Many thanks in advance for your recommendations!
> 
> You may wish to take a look at
> http://sourceforge.net/projects/openproj.  Quoted from project's
> description:
> "OpenProj by Projity is a desktop replacement of Microsoft Project.
> OpenProj has equivalent functionality, a familiar user interface and
> even opens existing MSProject files. OpenProj is interoperable with
> Project, with a Gantt Chart and PERT chart etc"

I've fetched the source code and even the pre-compiled jar installation
from sourceforge.net; with the source, it took me half hour to guess
how to build and launch it and with the pre-compiled half hour to
make the launch shell script ready to run;

as always: nice Java, but less docs and even more less
robust shell scripts :-) , for example #!/bin/bash as shell 
directive ...

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC PICA GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclcpica.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Determining the number of files in a directory

2007-11-03 Thread Matthias Apitz
El día Saturday, November 03, 2007 a las 05:27:06AM -0700, White Hat escribió:

> This is probably a dumb question; however, I never let a little thing like 
> that bother me in the past.
>  
> Using FreeBSD-6.2 and Bash, how do I determine the number of files in a given 
> directory? I have tried all sorts of combinations using different flags with 
> the 'ls' command; however, none of them displays the number of files in the 
> directory.
>  
> Other than, by writing a script to accomplish this feat, how could I achieve 
> my goal?

$ ls | wc -l
 293

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC PICA GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclcpica.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


problems with building a patch

2007-11-11 Thread Matthias Apitz

Hello,

I've build a patch for 'nn-6.7.3' to add support for RFC1522 to my
beloved news-reader. Before giving it away I was trying it on a fresh
workspace of the /usr/ports/news/nn and run into the problem that
new files which brings the patch to the tree are always created
in the current working dir, even if I create them before with touch(1),
existing files, like 'answer.c' in the example below, get patched
correctly:

$ /usr/ports/news/nn/work
$ touch nn-6.7.3/PATCH.RFC1522
$ patch < ../myRFC1522.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--
|diff -N -r -u -X exclude nn-6.7.3/PATCH.RFC1522 nn-6.7.3.patched/PATCH.RFC1522
|--- nn-6.7.3/PATCH.RFC1522 Thu Jan  1 01:00:00 1970
|+++ nn-6.7.3.patched/PATCH.RFC1522 Sat Nov 10 11:04:58 2007
--
(Creating file PATCH.RFC1522...)
Patching file PATCH.RFC1522 using Plan A...
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|diff -N -r -u -X exclude nn-6.7.3/answer.c nn-6.7.3.patched/answer.c
|--- nn-6.7.3/answer.c  Wed Mar 30 21:28:22 2005
|+++ nn-6.7.3.patched/answer.c  Fri Nov  9 12:58:26 2007
--
Patching file nn-6.7.3/answer.c using Plan A...
Hunk #1 succeeded at 30.
Hunk #2 succeeded at 155.
Hunk #3 succeeded at 166.
Hunk #4 succeeded at 278.
Hunk #5 succeeded at 291.
Hunk #6 succeeded at 458.
Hunk #7 succeeded at 487.
Hunk #8 succeeded at 690.
Hunk #9 succeeded at 1017.
done
$ ls -l
total 10
-rw-r--r--  1 guru  wheel  5342 11 nov 15:39 PATCH.RFC1522
-rw-r--r--  1 guru  wheel 0 11 nov 15:39 PATCH.RFC1522.orig
drwxr-xr-x  6 guru  wheel  4096 11 nov 15:39 nn-6.7.3
$ ls -l nn-6.7.3/answer.c*
-rw-r--r--  1 guru  wheel  23903 11 nov 15:39 nn-6.7.3/answer.c
-rw-r--r--  1 guru  wheel  22625 30 mar  2005 nn-6.7.3/answer.c.orig

What is the reason for this? I'm a bit lost :-(
Thx

    matthias
-- 
Matthias Apitz

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: problems with building a patch

2007-11-12 Thread Matthias Apitz
El día Sunday, November 11, 2007 a las 07:17:55PM +0200, Giorgos Keramidas 
escribió:

> > Hmm...  Looks like a unified diff to me...
> > The text leading up to this was:
> > --
> > |diff -N -r -u -X exclude nn-6.7.3/PATCH.RFC1522 
> > nn-6.7.3.patched/PATCH.RFC1522
> > |--- nn-6.7.3/PATCH.RFC1522 Thu Jan  1 01:00:00 1970
> > |+++ nn-6.7.3.patched/PATCH.RFC1522 Sat Nov 10 11:04:58 2007
> > --
> 
> Here's the problem.
> 
> The patch files for ports should *not* include the `nn-6.7.3' part, like
> this one.  They should be relative to the toplevel directory of the
> unzipped/untarred port, i.e.:
> 
> diff -N -u PATCH.RFC1522.orig PATCH.RFC1522
> --- PATCH.RFC1522.orig Thu Jan  1 01:00:00 1970
> +++ PATCH.RFC1522 Sat Nov 10 11:04:58 2007

In this case what would be the best way to produce a recursive
patch file for this set of patched sources:

$ find . -name '*.orig' -print
./conf/s-linux.h.orig
./man/nn.1.nov.orig
./chset.c.orig
./aux.sh.orig
./answer.c.orig
./chset.h.orig
./news.c.orig
./xmakefile.orig
./db.c.orig
./global.c.orig
./global.h.orig
./more.c.orig
./news.h.orig
./pack_name.c.orig
./save.c.orig
./tables/applemacxiso.tab.orig
./tables/atarixiso.tab.orig
./tables/cp437xiso.tab.orig
./tables/cp850xiso.tab.orig
./tables/decxiso.tab.orig
./tables/isoxapplemac.tab.orig
./tables/isoxatari.tab.orig
./tables/isoxcp437.tab.orig
./tables/isoxcp850.tab.orig
./tables/isoxdec.tab.orig
./tables/isoxnext.tab.orig
./tables/nextxiso.tab.orig
./variable.c.orig
./nn.c.orig
./term.c.orig
./folder.c.orig

where the directory 'tables' and the files below this dir
are new files, i.e. their original files are just empty.

Thx

matthias
-- 
Matthias Apitz
b http://gurucubano.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: problems with building a patch

2007-11-12 Thread Matthias Apitz
El día Sunday, November 11, 2007 a las 07:17:55PM +0200, Giorgos Keramidas 
escribió:

> On 2007-11-11 16:02, Matthias Apitz <[EMAIL PROTECTED]> wrote:
> >
> > Hello,
> >
> > I've build a patch for 'nn-6.7.3' to add support for RFC1522 to my
> > beloved news-reader. Before giving it away I was trying it on a fresh
> > workspace of the /usr/ports/news/nn and run into the problem that
> > new files which brings the patch to the tree are always created
> > in the current working dir, even if I create them before with touch(1),
> > existing files, like 'answer.c' in the example below, get patched
> > correctly:
> >
> > $ /usr/ports/news/nn/work
> > $ touch nn-6.7.3/PATCH.RFC1522
> > $ patch < ../myRFC1522.patch
> > Hmm...  Looks like a unified diff to me...
> > The text leading up to this was:
> > --
> > |diff -N -r -u -X exclude nn-6.7.3/PATCH.RFC1522 
> > nn-6.7.3.patched/PATCH.RFC1522
> > |--- nn-6.7.3/PATCH.RFC1522 Thu Jan  1 01:00:00 1970
> > |+++ nn-6.7.3.patched/PATCH.RFC1522 Sat Nov 10 11:04:58 2007
> > --
> 
> Here's the problem.
> 
> The patch files for ports should *not* include the `nn-6.7.3' part, like
> this one.  They should be relative to the toplevel directory of the
> unzipped/untarred port, i.e.:
> 
> diff -N -u PATCH.RFC1522.orig PATCH.RFC1522
> --- PATCH.RFC1522.orig Thu Jan  1 01:00:00 1970
> +++ PATCH.RFC1522 Sat Nov 10 11:04:58 2007

After a lot of tests I've found the solution:

I'm creating the patch with:

$ diff -Naur -X exclude nn-6.7.3 nn-6.7.3.patched > diff

while having in 'nn-6.7.3' a 'make clean' version of the original
tree and in 'nn-6.7.3.patched' a 'make clean' version of my modified
source tree; the exclude file just says:

$ cat exclude
*.orig

i.e. excludes the files *.orig which I also have in 'nn-6.7.3';

the trick is applying the patch as:

$ cd /usr/ports/news/nn/work
$ patch -p0 < ../.mywork/diff

i.e. using the -p0; without -p0 the new files end up in the current
directory, while with -p0 they get created in the right place. I've
read the man page of patch again and again; it explains the function
of -pN but not this effect :-(

matthias

-- 
Matthias Apitz
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to know PID responsible for network connection/listen?

2007-11-17 Thread Matthias Apitz
El día Thursday, November 15, 2007 a las 11:20:30AM -0800, Yuri escribió:

> 'netstat -a' gives me the listing of network connection/listening records.
> But there's no link to the process id that opened it.
> With lots of processes this can be a significant problem to figure out who
> opened which connection.

For example, for the port 25 you see it with:

# lsof -P | fgrep :25
sendmail  6462  root3uIPv4 0xc5c3ecb00t0 TCP localhost:25 
(LISTEN)

i.e. the PID is 6462

HIH

    matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC PICA GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclcpica.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: top posting (off-topic)

2007-11-23 Thread Matthias Apitz
El día Friday, November 23, 2007 a las 08:05:59AM -0500, Bill Moran escribió:

> There are three reasons _not_ to top-post and to post inline, trimming
> your response intelligently:
> 
> 1) Top-posting does not scale up to large, complex emails.  It produces
>incomprehensible responses when the conversation requires more than
>a yes or no answer.
> 2) Stop thinking about yourself and realize that most messages read in
>archives long after they were posted.  Top posted messages in archives
>are a lot more difficult to parse, and usually require a lot of clicking
>around to get back to earlier messages, etc.
> 3) RFC-1855 says so.
...

I'm as well participating for *many* years in technical mailing-lists
or USENET and I'm strictly against top-posting. I think this problem
(that people top-post or don't even know that they top-post because they
don't know what top-posting is at all) has something todo with two
phenomena:

- the Internet in the 90es felled into the hands of non-technical
  backgrounded people; ask today someone what is a RFC, for an example;
  Netiquette Guidelines came outdated (for the newcomers) and they don't
  know them or even think, if they know, that they have something todo
  with the plain old days of modem lines and UUCP;

- many of the MUA used by unskilled people are somewhat browser-based
  (OutLook, webmail, ...) and don't support a power-full line editor (like
  vi or emacs) to assemble and/or edit the mail body; the browser just put
  the write-mark above the 1st line of the mail, people write their
  stuff and are to lazy to scroll down, delete parts or whatever; many of
  them don't even know how to configure their MUA to do correct
  nesting with >>> signs;

The only (week) technical argument in favour of top-post is that
mail delivered to small wire-less devices (like mobile phones, hand
helds) mostly only transfer the 1st 'screen' of such mail via UMTS
or whatever transport layer and only if the reader wants to scroll
down the rest of the mail is aired to the device.

It should be easy in mailing-lists to block mails of top-posters.

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC PICA GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclcpica.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: HP Deskjet 9800 with hpijs driver

2007-11-25 Thread Matthias Apitz
El día Sunday, November 25, 2007 a las 10:23:05PM -0800, Erin McNew escribió:

> I've been trying to get my photo printer working recently, and seem to have
> run into a bit of a snag.  I just tried to print out a picture as a test,
> and instead of a picture, I got: PCL commands across the top of one page of
> photo paper, and the printer spewed the rest of my paper out empty (taught
> me an important lesson about testing without having large quantities of
> photo paper in the printer...)
> Anyway, I was looking on google, and I don't seem to see other people having
> this problem, but I'm not sure what I could've done wrong.  I'm using the
> hpijs driver, which is supposed to work perfectly under linux, and works
> perfectly for my other hp printer.  Is this printer just not supported by
> FreeBSD?  I couldn't find anything that stated directly either way in my
> quick googling, so I was hoping somebody here might have some ideas for
> things to check, etc.
> 
> Thanks!
> ~TuxGirl

Maybe it could help if you explain exactly how do you print the
file, from command line or from some kind of application?
The PCL across the top of one page, does it looks like stairs?
I.e. does start the 2nd line where 1st line ends?

matthias
-- 
Matthias Apitz
e <[EMAIL PROTECTED]> - w http://www.oclcpica.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: kpersonalizer: cannot connect to X server

2007-11-28 Thread Matthias Apitz
El día Thursday, November 29, 2007 a las 03:19:51PM +0800, williamkow escribió:

> I am newbie, recently I have installed FreeBSD 6.2-Stable, and manage to
> configure and display the x window manager (X11) using command "startx".
> and then i run command "startkde " and I received error message
> (kpersonalizer: cannot connect to X server)
> However, if i run command "kdm", then it prompt for login screen. I am
> wondering the command "startkde" is not correct way to call KDE. please
> advise me. Thank you.

Do in your HOME directory and without having X11 up:

$ echo "exec startkde" > ~/.xinitrc
$ startx

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC PICA GmbH
e <[EMAIL PROTECTED]> - w http://www.oclcpica.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: HUAWEI G3 Modem

2008-09-09 Thread Matthias Apitz
El día Monday, September 08, 2008 a las 10:21:48PM +0200, Markus Klaschka 
escribió:

> Hey,
> I have serious problems getting that thing working.
> I followed the instructions here: 
> http://greasy.com/mustakim/huawei_220_freebsd.html
> 
> Somehow I end up with:
> 
>Sep  8 18:20:54 jupiter kernel: ucom0: Mobile, class 0/0, rev 1.10/0.00, addr 2> on uhub0
>Sep  8 18:20:54 jupiter kernel: ucom0: Could not find interrupt in
>Sep  8 18:20:54 jupiter kernel: device_attach: ucom0 attach returned 6
>Sep  8 18:20:54 jupiter kernel: ucom0: Mobile, class 0/0, rev 1.10/0.00, addr 2> on uhub0
>Sep  8 18:20:54 jupiter kernel: ucom0: Could not find interrupt in
>Sep  8 18:20:54 jupiter kernel: device_attach: ucom0 attach returned 6
> 
> I have tried to reconnect the device about 10 times, nothing changes.
> I'm not using acpi, here on my damn ASUS laptop( never buy ASUS ;) )... 
> don't know if that makes any difference, but could I guess.
> 
> Any ideas?
> 
> Nazir got that thing working somehow, really would like to know how.
>[quote]I'm already success using E220 HUAWEI to data connection but 
> still failed to send sms using smstool. Please help..TQ[/quote]

Some weeks ago Vodafone provided me with a test item (but they asked me
to return it) and it worked without problems; details here:

http://www.unixarea.de/installEeePC.txt

in chapter 7;

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
We should all learn from the peoples of The Netherlands, France and Ireland.
Aprendamos todos de los pueblos de Holanda, Francia e Irlanda.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: growisofs && non aligned DMA transfer (7.0R)

2008-09-12 Thread Matthias Apitz
El día Sunday, September 07, 2008 a las 09:04:31PM +0200, Nejc S(koberne 
escribió:

> Hey,
> 
> > I wanted to add a file to an already written DVD+RW (written a day
> > before on the same system) with
> > 
> > # growisofs  -M /dev/cd0 -r -T -J -joliet-long -v directory
> > 
> > This produced tons of error messages via syslog as
> > 
> > Jul 11 13:45:30 rebelion kernel: ata0: FAILURE - non aligned DMA transfer 
> > attempted
> > Jul 11 13:45:30 rebelion kernel: acd0: setting up DMA failed
> > 
> > and the only way to get the system back to a usable state was rebooting
> > it;
> > 
> > this is with FreeBSD-7.0R; what I have done wrong?
> 
> I have the same problem on all my 7.0-RELEASE servers (I use growisofs to 
> make backups
> to DVDs). It seems that there was something done in 7 kernel that breaks 
> growisofs
> when trying to use multisession.
> 
> Any ideas when/if this will be fixed?

I have now filed a bug report as:
http://www.freebsd.org/cgi/query-pr.cgi?pr=127316
(wait some hours before it will show up)

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ScreenCapturing tool for FreeBSD-7.0 Release

2008-09-24 Thread Matthias Apitz
El día Wednesday, September 24, 2008 a las 09:09:23AM +, dhaneshk k 
escribió:

> 
> 
> HI all ;
> 
> Can anyone recommend a working screencapturing tool such as XvidCap  for 
> FreeBSD-7.0 , 
> 
> I installed XvidCap but its not working any other tools OR  Solutions for 
> doing screen Capturing ..
> 
> It will be useful for  demo presentations  alot..
> 
> Thanks in advance 
> Dhanesh

check this:

http://groups.google.com/group/lucky.freebsd.questions/msg/51c4bec19542621f?dmode=source

hih

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system

2008-10-14 Thread Matthias Apitz
El día Tuesday, October 14, 2008 a las 08:10:42AM -0400, benjamin thielsen 
escribió:

> Manish Jain wrote:
> 
> >
> >Hi,
> >
> >I am poor at networking and need a little bit of help. My dad has a
> >Windows 2000 machine with a network card but does not have a  
> >connection
> >to the internet. My freebsd 6.2 box is connected to the internet and  
> >has
> >2 network cards, rl0 and rl1. rl0 connects to the ISP and rl1 is
> >directly connected via a long Ethernet cable to the NIC on my dad's
> >machine. While I can access the internet easily, I want my dad to be
> >able to connect to the internet with my freebsd box serving as the
> >gateway. Can anyone please explain to me in easy steps how to  
> >accomplish
> >this ?
> >
> 
> Although to many old-timers this is easily achieved, to someone new to
> networking it is difficult to explain it in "easy steps". It involves  
> a set
> of pieces that have to fit together correctly in order to work. You will
> need to do some proper reading on the underlying concepts first.

You wrote the same mail 6 times (at least) to the mailing-list; I've
checked the Message-ID lines, all are diffrent:

<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
...

please stop that; thx

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


tangoGPS && FreeBSD 7.0

2008-10-29 Thread Matthias Apitz

Hello,

Is anybody aware of a port of tangoGPS http://www.tangogps.org/gps/cat/About
to FreeBSD 7.0? It runs it in my Linux based cellphone Openmoko
FreeRunner and it would be nice to have it as well in my eeePC (just for
having better capacity for cached maps of OpenStreetMap and a bigger
display). What kind of USB based GPS devices could be used in this
eeePC with FreeBSD 7.0?

Thx

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: tangoGPS && FreeBSD 7.0

2008-10-30 Thread Matthias Apitz
El día Thursday, October 30, 2008 a las 07:51:05PM +0100, Fabian Keil escribió:

> Matthias Apitz <[EMAIL PROTECTED]> wrote:
> 
> > Is anybody aware of a port of tangoGPS
> > http://www.tangogps.org/gps/cat/About to FreeBSD 7.0? It runs it in my
> > Linux based cellphone Openmoko FreeRunner and it would be nice to have
> > it as well in my eeePC (just for having better capacity for cached maps
> > of OpenStreetMap and a bigger display). What kind of USB based GPS
> > devices could be used in this eeePC with FreeBSD 7.0?
> 
> Using your FreeRunner seems like an obvious choice to me.
> 
> I got one as well, but I'm not aware of a tangoGPS port
> for FreeBSD and haven't looked into how much effort
> porting it would take either.

tangoGPS compiled and works just fine in FreeBSD, just the usual way:

./configure
make
make install

it needs a gps daemon which is in the ports, and you need some GPS
device RS232 or USB based and the web pages of gpsd have a long list
of compatibel devices, for sure not all tested with FreeBSD; will see if
I could check some out in the near future;

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: about vi editor and turkish char

2008-10-31 Thread Matthias Apitz
El día Friday, October 31, 2008 a las 06:31:02PM +0200, Yavuz Maslak escribió:

> Hello 
> 
> I use Freebsd7.0.
> I am not able to use turkish char while I edit a file with vi editor.
> 
> How can I correct that ? 

Hello,

You could use a 'xterm' with UTF-8 support, a correct LANG environment,
for example LANG=es_ES.UTF-8, and the editor 'vim' (from the
ports); to enter UTF-8 chars which are not on your keyboard you could
use, for example, KDE's application KCharSelect

HIH

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Is KDE4 usable on FreeBSD?

2008-11-01 Thread Matthias Apitz
El día Saturday, November 01, 2008 a las 04:34:38PM +0100, Wojciech Puchar 
escribió:

> >I tried using it but Desktop view window that was initially created when I 
> >first launched kde4 doesn't appear with the second launch.
> >I believe KDE4 isn't ready yet.
> >
> >Anyone can use it without major annoyances?
> 
> the question should be "Is KDE usable at all on any OS?"
> the answer is no, it's crappy imitation of windoze.
> 
> If someone needs windoze like soft, just buy windows vista.
> 
> For someone who need unix, FreeBSD is a good choice.

I disagree concerning "KDE && windoze"; I'm using KDE 3.5.8 and it is a very
good and stable desktop, even for kernel folks and hackers; I run it
with FreeBSD 7.0R on my daily work laptop;

In August I've ported in a test machine from the ports KDE 4.1.0 and it
was to unstable for daily usage, at least at this time;

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD on Eeepc 1000h

2008-11-02 Thread Matthias Apitz
El día Sunday, November 02, 2008 a las 02:48:13AM +0300, Boris Samorodov 
escribió:

> Sven Aluoor <[EMAIL PROTECTED]> writes:
> 
> > I tried netinstall of stable and current. Both versions of the
> > installer dont have driver for my NIC.
> >
> > How to get ethernet working?
> >
> > "lscpi" on Debian Lenny:
> > 03:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit
> > Ethernet Adapter (rev b0)
> 
> Seems that you may be interested at:
> http://docs.freebsd.org/cgi/getmsg.cgi?fetch=343551+0+current/freebsd-current

Known issues and FreeBSD work for the eeePC series are described here:
http://wiki.freebsd.org/AsusEee

HIH

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD on Eeepc 1000h

2008-11-02 Thread Matthias Apitz
El día Sunday, November 02, 2008 a las 01:56:27PM +0100, Sven Aluoor escribió:

> Hi Matthias
> 
> Thanks for the wikipage. I quote from there:
> 
> Atheros L1 FastEthernet
> This one is second generation of L1 controller which is supposed to be
> heavily modified by Atheros after acquiring Attansic. This controller
> uses different bits/meaning in register layouts and seems to use
> different descriptor formats. This is not supported by the age(4)
> driver. 
> 
> In clear text: at the moment there is no driver available? Is this
> correct?

I don't know if this is the last information. I have an eeePC 900 and not
the 1000. Write to the autors of the page, maybe they know if someone is
already working on it. In any case you could install from an USB key as
described here http://www.unixarea.de/installEeePC.txt
and Wifi will work, I think.

HIH

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: about vi editor and turkish char

2008-11-03 Thread Matthias Apitz
El día Saturday, November 01, 2008 a las 09:37:01PM +0200, Yavuz Maslak 
escribió:

> 
> Hello,
> 
> Where do I have to specify "LANG ... " expression to support  any language 
> in VI ?
> 
> Ok. I have no problem in many editors about that but I wish to learn for vi 
> .

in sh or bash:

$ LANG=es_ES.UTF-8 export LANG
$ vim yourFileHere

HIH

    matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: tangoGPS && FreeBSD 7.0

2008-11-05 Thread Matthias Apitz
El día Tuesday, November 04, 2008 a las 05:35:59PM +0100, Fabian Keil escribió:

> > tangoGPS compiled and works just fine in FreeBSD, just the usual way:
> > 
> > ./configure
> > make
> > make install
> 
> Good to know. Are you already working on a port?

I could and will do that by the end of the year in my free days around
the change of the year;

> > it needs a gps daemon which is in the ports, and you need some GPS
> > device RS232 or USB based and the web pages of gpsd have a long list
> > of compatibel devices, for sure not all tested with FreeBSD; will see if
> > I could check some out in the near future;
> 
> I was thinking about running tangoGPS on FreeBSD and
> connecting it to the gpsd already running on the Freerunner.

Yes, this works very nice; but for folks without a FR there should be
choices as well, i.e. a small list of GPS gadgets which work with
FreeBSD USB drivers;

Concerning gpsd running on the FR, I encounter that tangoGPS tries to connect
to 127.0.0.1 and not to the configured host 192.168.0.202; you have to
press the GPSD button in tangoGPS config page to make it connect to the
remote host; will check the sources for this bug/feature...

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ascii text format

2008-11-21 Thread Matthias Apitz
El día Friday, November 21, 2008 a las 03:53:09PM +, pwn escribió:

> Jonathan McKeown wrote:
> >On Friday 21 November 2008 12:49:16 pwn wrote:
> >  
> >>algouth this is not a freebsd specific text, i need to format some texts
> >>under freebsd for they appear in the center of the page when opened in a
> >>browser, but i dont want to use HTML for format them, i just want to add
> >>tabulation to my *.txt.
> >>what software/tool can i use for format my *.txt? there is command on
> >>VIM like "set textwidth" but this is not suitable for me. any help i
> >>appreciate.
> >>i add an example on a temporary host for make sure all understand.
> >>(i need to format the text for he appear like the example good.txt)
> >>http://one.xthost.info/temphost/good.txt
> >>http://one.xthost.info/temphost/bad.txt
> >>
> >
> >You seem to be fighting against your tools rather than working with them - 
> >the browser will strip out your whitespace and reflow your text anyway 
> >unless you prevent it somehow ( tags?) so you might be better off 
> >just using HTML/CSS to control the format.
> >
> >However, you could look at various tools for processing text, depending 
> >exactly what you're trying to do: the manpages for fmt, groff, and pr 
> >might all offer some ideas.
> >
> >Jonathan
> >  
> 
> 
> yes, i want that the text appears displayed such as manpages like, how 
> can i accomplish this task?

what about:

$ groff -Tascii < bad.txt

SOME TITLE



Dreaming  of space-flight, and predicting its future, have always
been favorite pastimes of science fiction. In  my  first  science
column  for  F&SF, I can't resist the urge to contribute a bit to
this grand tradition.

A science-fiction writer in 1991 has a  profound  advantage  over
the  genre's  pioneers. Nowadays, space-exploration has a past as
well as a future. "The conquest of space" can  be  judged  today,
not just by dreams, but by a real-life track record.


and some more tweakings after that with sed, ...

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Q: What's the difference between an iphone and a freerunner?
A: One works but takes away your freedom, the other is free but needs your work.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


tar --unlink ?

2009-10-08 Thread Matthias Apitz

Hello,

To move a file tree from one place to another I see as an example:

# tar -cf - local | tar --unlink -xpf - -C /mnt

What does '--unlink' do exactly? I can't see it in the man page of
tar(1). Thanks in advance

    matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU's Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: tar --unlink ?

2009-10-08 Thread Matthias Apitz
El día Friday, October 09, 2009 a las 02:07:21AM -0400, jhell escribió:

> 
> On Fri, 9 Oct 2009 07:58 +0200, guru@ wrote:
> >
> >Hello,
> >
> >To move a file tree from one place to another I see as an example:
> >
> ># tar -cf - local | tar --unlink -xpf - -C /mnt
> >
> >What does '--unlink' do exactly? I can't see it in the man page of
> >tar(1). Thanks in advance
> >
> > matthias
> >
> 
> man 2 unlink

I know the unlink(2) sys call, but what does this --unlink flag in
tar(1) on restore (-x)?

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: tar --unlink ?

2009-10-09 Thread Matthias Apitz
El día Friday, October 09, 2009 a las 01:52:45AM -0500, Dan Nelson escribió:

> > I know the unlink(2) sys call, but what does this --unlink flag in tar(1)
> > on restore (-x)?
> 
> It's the same as the -U option, provided for gnutar compatibility.

Dan,
Thanks for your helping answer. Maybe someone with commit right should
make a note in the manpage of tar(1). Thanks

    matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Netbooks good for FreeBSD?

2009-10-12 Thread Matthias Apitz
El día Monday, October 12, 2009 a las 08:42:08PM -0700, Yuri escribió:

> I am thinking about buying a netbook. But I am afraid that WiFi wouldn't 
> be supported. And all my previous attempts to make NDIS to work on 
> FreeBD failed.
> 
> Anybody has good experiences making netbooks work?
> Or better is there a hardware compatibility list for FreeBSD?

Better post in freebsd-mobile such question. For your question see here:
http://wiki.freebsd.org/AsusEee

    matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


error while printing from Java to CUPS

2009-10-13 Thread Matthias Apitz

Hello,

Some Java applications, like openproj for example, are unable to print
to the CUPS printing system; this seems to be a know problem in Java and
if you do a search in Don Google you will information and workarounds,
like this, for example:

http://www.magicdraw.com/main.php?ts=faq&cmd_show=1&menu=faq

Diagram printing is not working on Linux OS

The problem is related with the Linux cups package update.
This problem is Sun Java bug and description of this problem is
published in the Java Bug Database:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6633656. To solve
diagram printing problem we would suggest to use 1.6.0_10 JVM or later,
because this issue is solved in these java versions.
If you can not use the 1.6.0_10 JVM or later, other possible solution
would be the following:
1.Open the file /etc/cups/printers.conf
2.Before each line with the text , add the following line:
Options orientation-requested 3

The referenced
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6633656
explain all the details of the bug...

But:

I've tried to insert the proposed change in
/usr/local/etc/cups/printers.conf but it does not help. This is with
cups-base-1.3.9_3 in a 8-CURRENT. As well it says that there is a fix in
Java in 1.6.0_10 or later... I have dk-1.6.0.3p4_10 and it seems no to
be fixed :-(

Any ideas?

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


print the PKGNAME of a port

2009-10-16 Thread Matthias Apitz

Hello,

For the ports in /usr/ports is there a way to print the resulting
PKGNAME of a given port, like:

# cd /usr/ports/x11/kde3
# make name
kde-3.5.10_2
#

for this test above I just added the following lines at the end of the
Makefile after the include line:

.include 
name:
@echo ${PKGNAME}

I have had a look into bsd.port.mk but could not see anythink like the
silly output (without making the port). Thanks

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: splitting Mbox file thread-sorted

2009-11-06 Thread Matthias Apitz
El día Thursday, November 05, 2009 a las 04:41:46PM -0800, Pete escribió:

> >>> Is there some tool or something in the ports which could split a Mbox
> >>> file into various pieces, but having the threads together? I could do
> >>> it by hand with mutt, but I think it must be some tool for this too;
> >>> Thx
> >>>
> >>>matthias
> >>>
> >>
...
> 
>   reformail -s maildrop < mbox_file
> 
> will cause the whole mbox_file to be broken into individual
> messages that are then (re)processed by your current maildrop
> configuration (using your current .mailfilter). The reformail program
> comes with maildrop; see the man page.

I have no reformail(1) or maildrop(1) installed; so I checked the man
page here: http://www.courier-mta.org/maildrop/reformail.html
and understand what the above is doing (breaking the mbox into single
mails and piping them again through a local MDA maildrop(1)).

But this is not I was looking for. I want to break a big mbox file into
pieces of lets say 1000 mails, and not in the order the mails are in the
source file, but thread sorted; i.e. if the 1st and the last mail of
this big 10.000 mbox file belong to one thread, they should be in one
file;

don't see how this would be possible with maildrop(1); any idea is
welcome;

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: splitting Mbox file thread-sorted

2009-11-09 Thread Matthias Apitz
El día Sunday, November 08, 2009 a las 08:38:15PM -0500, Karl Vogel escribió:

> >> On Thu, 5 Nov 2009 14:13:39 +0100, 
> >> Matthias Apitz  said:
> 
> M> Is there some tool or something in the ports which could split a Mbox
> M> file into various pieces, but having the threads together?
> 
>Mail::Thread is a Perl implementation of Jamie Zawinski's mail threading
>algorithm, as described by http://www.jwz.org/doc/threading.html.
>See http://search.cpan.org/ to track it down.

Hello Karl,

Thanks for the pointer to that piece of code; do you know if there is
some implementation of this into a cmdline tool for splitting a Mbox
based on this Perl methods? Thx

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


FreeBSD && remote MS ACCESS database

2009-11-10 Thread Matthias Apitz

Hello,

Is there any chance to read and update a remote MS ACCSESS database from
FreeBSD 8-CURRENT, via ODBC? Thanks in advance

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: ssh-agent and ordering of keys

2009-11-11 Thread Matthias Apitz
El día Wednesday, November 11, 2009 a las 03:09:44PM +, Vincent Hoffman 
escribió:

> Hi all,
> I've a bit of an annoying problem that hopefully someone
> here has delt with before.  I have a large(ish) number of ssh keys as i
> like to keep things nicely seperated, I also use longish passphrases. To
> deal with long pass phrases I have started to use ssh-agent, which is
> working nicely but since i have a large number of keys and ssh-agent
> doesnt let you specify a particular key for a particular machine (I was
> using host and IdentiyFile lines in ~/.ssh/config before) I'm starting
> to hit a problem where I'm unable to log in to a machine as I'm hitting
> the MaxAuthTries value in sshd_config.  I know i could just bung the
> MaxAuthTries value up to 20 or so on all my servers but I dont really
> want to, I'd rather a way of specifying which ssh key ssh-agent uses for
> a specific host, (like i said it ignores the IdentiyFile lines in the
> config file and ignores the -i switch to ssh itself.) Any ideas welcome.

I have never used this, but you could start different ssh-agent(1) and
loading the key(s) you want to use to one or the other and let ssh(1)
ask the dedicated ssh-agent(1) for a given host by some shell wrapping
(i.e. mapping the -i filename to the correct ssh-agent(1) socket);

HIH

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Produce identical packages for checksum comparison?

2009-11-14 Thread Matthias Apitz
El día Saturday, November 14, 2009 a las 07:51:17AM -0800, Chris escribió:

> I have a somewhat flaky system.  I would like to compile ports to 
> packages multiple times and do a file comparison. ...

Hi Chris,

What is behind the idea to compile and pack a given port twice if there
are no errors during the build?

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: getting program.core, where and how?

2009-11-18 Thread Matthias Apitz
El día Wednesday, November 18, 2009 a las 04:34:18PM +0100, Harald Schmalzbauer 
escribió:

> Hello,
> 
> I have a daemon (compiled with -g) which is dying frequently, but I 
> can't get a core dump.
> The daemon drops privileges and runs as restricted user after startup.
> I gave the restricted user write permission to the directory where the 
> binary lives, but that hasn't helped.
> The size should be really small, so I think ulimit is not the problem.
> How can I find out what the working directory of the binary is? I guess 
> the problem is missing write permissions there.

Core will be written to the working directory and not to the directory
where the binary comes from. With ulimit(1) you can set the core file
size, even to zero, and you can ask for the actual value.

HIH

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: sending mail with attachments always fail (FreeBSD/pf)

2009-11-21 Thread Matthias Apitz
El día Saturday, November 21, 2009 a las 08:59:12PM +0600, Victor Lyapunov 
escribió:

> Hi all,
> 
> I have production network with FreeBSD box acting as firewall. The
> problem emerge as soon as users send mail with attachments. (Sending
> mail without attachments always succeeds). Basically, when a user
> tries to send a message, only part of it transmitted before connection
> is interrupted and sending fails. The problem persists only when pf is
> enabled.

I think concerning TCP/IP there is no diff between a mail with or w/o
attachment, it is just talking SMTP to a remote server and only the
size, i.e, the number of IP pkgs, differs; the content is anyway;

> My ruleset:
> scrub in all fragment reassemble
> block drop on em0 all
> pass inet proto tcp from 192.168.0.0/24 to any port = smtp flags S/SA keep 
> state
> pass inet proto tcp from 192.168.0.0/24 to any port = pop3 flags S/SA keep 
> state
> pass inet proto tcp from 192.168.0.0/24 to any port = imap flags S/SA keep 
> state
> pass inet proto tcp from 192.168.0.0/24 to any port = smtps flags S/SA
> keep state
> pass inet proto tcp from 192.168.0.0/24 to any port = pop3s flags S/SA
> keep state
> pass proto udp from any to any port = domain keep state

I never used S/SA as flags in my rules, only S. More I can' see.
HIH (if not watch with some tcpdump(1) what's going on between the NIC
and the remote server).

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: restore -rf u...@host:file

2009-11-24 Thread Matthias Apitz
El día Tuesday, November 24, 2009 a las 11:44:52AM +0100, n dhert escribió:

> To use the restore command (dump/restore) with a dump file on a remote
> machine, the man restore tells you can use the syntax restore -rf
> u...@host:file, this uses rcmd(3)
> If from the target machine (on same subnet as remotemachine),
> logged in as root, I enter
> targetmachine# cd /home/testrestore
> targetmachine# tar -rf root@ IP_of_remote_machine:/home/file.dmp

Why you are talking here about tar(1) if you need restore(1M)?

> I get
> IP_of_remote_machine: Connection refused
> login to IP_of_remote_machine as root failed
> There needs some more setup for this in order to work, (hosts.equiv,
> .rhosts  or something ??).
> How exactly ?
> (I just need this for the restore, certainly not to be a permanent way of
> transferring files)

just use another normal user and not 'root'; you only need read access
to the file on the remote server;

> 
>  

I'm usingt for restore:

# newfs /dev/daX
# mount /dev/daX /mnt
# cd /mnt

# ssh g...@albatros cat dumpsRebelion-20080825/usr.dmp.gz | gzip -dc | restore 
-r -f -

(my dumps are compressed there);

HIH

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: how do i automate building packages?

2009-11-28 Thread Matthias Apitz
El día Saturday, November 28, 2009 a las 11:26:55AM +0200, Manolis Kiagias 
escribió:

> Now that you got it installed, you may use pkg_create:
> 
> pkg_create -Rb openoffice.org-3.1.1
> 
> (You can get the exact package name using pkg_info -Ix openoffice)
> The -R flag will also build all dependencies of openoffice.
...

If you build more than one package don't forget the flag -n

    matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: how do i automate building packages?

2009-11-28 Thread Matthias Apitz
El día Saturday, November 28, 2009 a las 12:15:11PM -0800, Gary Kline escribió:

> On Sat, Nov 28, 2009 at 12:58:09PM +0100, Matthias Apitz wrote:
> > El día Saturday, November 28, 2009 a las 11:26:55AM +0200, Manolis Kiagias 
> > escribió:
> > 
> > > Now that you got it installed, you may use pkg_create:
> > > 
> > > pkg_create -Rb openoffice.org-3.1.1
> > > 
> > > (You can get the exact package name using pkg_info -Ix openoffice)
> > > The -R flag will also build all dependencies of openoffice.
> > ...
> > 
> > If you build more than one package don't forget the flag -n
> 
> 
>   There are things I don't understand about this entire process.
>   That is, if I was a tarball to give to someone for
>   distribution anywhere among FBSD users.
> 
>   Somegow I wound up with 109 *tbz tarballs.  These among them:

...

After compiling and installing all ports I'm using I just do something
like this:

# mkdir PKGDIR
# cd PKGDIR
# ls /var/db/pkg > ../list
# while read name ; do
  pkg_create -Rnb $name
  done < ../list

this gives some 1000++ packages;

# scp * toSomeOtherHost:.


and can install all package ther by just do pkg_add(1M);

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: touch madness

2009-12-30 Thread Matthias Apitz
El día Wednesday, December 30, 2009 a las 04:21:38PM +0200, Dimitar Vassilev 
escribió:

> Hi,
> I'm trying to find the match for touch -d now-5minutes+30seconds under
> freebsd.
> Got a munin plugin that i'd like to change without installing the emulator
> port.
> I have touch -A, however when i pass touch -A -00d04m30s i don't get
> anything as a file.
> Can someone give the exact syntax if possible.
> Thanks and all the best.
> Dimitar

g...@current:~> touch bla
g...@current:~> ls -l bla
-rw-r--r--  1 guru  wheel  0 30 dic 16:04 bla
g...@current:~> touch -A -000530 bla
g...@current:~> ls -l bla
-rw-r--r--  1 guru  wheel  0 30 dic 15:59 bla

HIH

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Any delivery block to freebsd-questions list?

2010-01-07 Thread Matthias Apitz

Hello,
 
I have sent some hours ago a mail to freebsd-questions
which went out fine to the MX of my ISP (as I can see in
/var/log/maillog) but does not show up in the list and not
in the Archives. The Subject: was about sendmail and SMTP AUTH. 

I have changed the ISP today morning for outbound mail and it
may happen that this could be the cause, even if mails to
other recipients are working fine... 

Is there some kind of anti-SPAM protection for freebsd-questions
based on the IP of the SMTP origin? To whom I could contact?
 
Thanks in advance
 
matthias
-- 
Matthias Apitz
 - http://www.UnixArea.de/ - http://gurucubano.blogspot.com/
«...una sola vez, que es cuanto basta si se trata de verdades definitivas.»
«...only once, which is enough if it has todo with definite truth.»
José Saramago, Historia del Cerco de Lisboa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Any delivery block to freebsd-questions list?

2010-01-07 Thread Matthias Apitz
El día Thursday, January 07, 2010 a las 03:58:08PM -0500, Lowell Gilbert 
escribió:

> > On 1/7/2010 2:18 PM, Matthias Apitz wrote:
> >> 
> >> Hello,
> >>  
> >> I have sent some hours ago a mail to freebsd-questions
> >> which went out fine to the MX of my ISP (as I can see in
> >> /var/log/maillog) but does not show up in the list and not
> >> in the Archives. The Subject: was about sendmail and SMTP AUTH. 
> >> 
> >> I have changed the ISP today morning for outbound mail and it
> >> may happen that this could be the cause, even if mails to
> >> other recipients are working fine... 
> >> 
> >> Is there some kind of anti-SPAM protection for freebsd-questions
> >> based on the IP of the SMTP origin? To whom I could contact?
> >>  
> >> Thanks in advance
> >>  
> >> matthias
> >
...
> 
> Sounds like that's just graylisting.  The delay will depend on how long
> it takes your MTA (or the smarthost you use) to retry the message.

In my case it seems not to be graylisting, but blacklisting; i.e. the
mail is not delivered at all :-(

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


sendmail && SMTP AUTH: question about /etc/mail/auth/client-info file

2010-01-07 Thread Matthias Apitz

Hello,

Because I was forced by my ISP to do so, I have configured successfully
as described in the FBSD docs the sendmail with SMTP AUTH;

one question remains: the required file /etc/mail/auth/client-info has 
the line:

AuthInfo:smtp.1blu.de "U:root" "I:Y" "P:X"

where the I: value is the userID given by the ISP and P: its password;
what does the U: value is good for exactly? thanks in advance

    matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Any delivery block to freebsd-questions list?

2010-01-07 Thread Matthias Apitz
El día Friday, January 08, 2010 a las 06:57:04AM +0100, Matthias Apitz escribió:

> > Sounds like that's just graylisting.  The delay will depend on how long
> > it takes your MTA (or the smarthost you use) to retry the message.
> 
> In my case it seems not to be graylisting, but blacklisting; i.e. the
> mail is not delivered at all :-(

Now, with the above reply, the mail of yesterday showed up in the list
as well... what is this?

    matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: sendmail && SMTP AUTH: question about /etc/mail/auth/client-info file

2010-01-08 Thread Matthias Apitz
El día Friday, January 08, 2010 a las 06:44:00AM +, Glyn Millington 
escribió:

> Matthias Apitz writes:
>  > Hello,
>  > 
>  > Because I was forced by my ISP to do so, I have configured successfully
>  > as described in the FBSD docs the sendmail with SMTP AUTH;
>  > 
>  > one question remains: the required file /etc/mail/auth/client-info has 
>  > the line:
>  > 
>  > AuthInfo:smtp.1blu.de "U:root" "I:Y" "P:X"
>  > 
>  > where the I: value is the userID given by the ISP and P: its password;
>  > what does the U: value is good for exactly? thanks in advance
> 
> Hi Matthias,
> 
> U = user
> 
> for details see 
> 
> http://www.sendmail.org/~ca/email/auth.html

Hello Glyn,

I have read the above page during my configuration but it does not
explain to me which user must be configured in U: value; Is it me? Or is it
the userID the sendmail daemon is running as? It works with "U:root",
but what does this mean exactly?

Thx

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


must /compat/linux stay in root-fs?

2010-01-10 Thread Matthias Apitz

Hello,

On installing my laptop I did the 1st error and assigned only 512 MByte
to the /root partition; now it turned out (2nd error) that somehow all
/compat/linux stuff ended up in the /root partition:

# du -sh /boot /compat
145M/boot
221M/compat

and I don't even can install a new kernel because I don't have enough
space in the /root;

Can I safely move the /compat tu /usr/local/compat and do a symlink to
let point /compat --> /usr/local/compat or is there some reason that
linux-f10 ports put all into /compat in root-fs?

Thanks

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Q: recommendation for external USB disk

2010-01-11 Thread Matthias Apitz

Hello,

Can someone recommend a good external USB disk for backups which works
with FreeBSD 8.0 and has more than 512 GByte? Thx in advance

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


watching WebEx session on FreeBSD

2010-01-12 Thread Matthias Apitz

Hello,

Has someone had luck with watching a WebEx session on FreeBSD based
desktop? As far as I understand, it is somehow Flash and RDP based, i.e.
some tools like Firefox with flash and a RDP client are required.
I'm always forced to launch a VM with XP to watch such sessions and it
would be good for me to overcome this situation.

Thx

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: watching WebEx session on FreeBSD

2010-01-12 Thread Matthias Apitz
El día Tuesday, January 12, 2010 a las 08:48:31AM -0700, Warren Block escribió:

> On Tue, 12 Jan 2010, Matthias Apitz wrote:
> 
> >Has someone had luck with watching a WebEx session on FreeBSD based
> >desktop? As far as I understand, it is somehow Flash and RDP based, i.e.
> >some tools like Firefox with flash and a RDP client are required.
> >I'm always forced to launch a VM with XP to watch such sessions and it
> >would be good for me to overcome this situation.
> 
> The Linux Webex client might work. 
> http://support.webex.com/support/system-requirements.html says it'll run 
> under Fedora 10, and linux_base-f10 works well.

Thanks for the hint; I looked around there but can not see any WebEx
Business Suite 27 (WBS27) client to down load; is this part of the 14day
Free Trial?

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: watching WebEx session on FreeBSD

2010-01-13 Thread Matthias Apitz
El día Tuesday, January 12, 2010 a las 03:34:58PM -0500, Colin Albert escribió:

> >You should be able to try this using the online demo. 
> >http://www.webex.com/go/live_demo  if it works the download will be 
> >automatic. I am still trying to make it work as well.
> >
> >-Colin
> Followup: I was able to make this work by changing my user agent from:
> Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.5) Gecko/20091106 
> Firefox/3.5.5
> to:
> Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091106 
> Firefox/3.5.5
> 
> So it looks like linux_base-f10 is not required.
> 
> The first time I tried this firefox crashed. Then I opened firefox from 
> the command line to see if I could see the error, and it is working now. 
> I am still testing to see what functionality does/does not work.
> 
> I am using 8.0 Stable with diablo 1.6 and firefox 3.5.5.

I did now (thanks for your help, Colin):

- installed the 'User Agent Switcher' addin in Firefox 3.0.7
- changed the user agent to the above Linux Mozilla
- installed diablo-jre-freebsd7.i386.1.6.0.07.02.tbz and activated the
  plug-in in Firefox

this let me see the introduction in http://www.webex.com/go/live_demo
which seems to be only a flash movie;

but when I go to some real recorded webEx session the Java VM crashes
with some Exception that 'trustAnchors paramater must be non-empty';

I checked the same URL at http://www.mindleaders.com/ with a MS IE and
there it down-loads for a minute or so some WebEx player, starts this
and play the session...

Any idea? Thanks

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: watching WebEx session on FreeBSD

2010-01-13 Thread Matthias Apitz
El día Wednesday, January 13, 2010 a las 09:51:45AM +0100, Matthias Apitz 
escribió:

> I did now (thanks for your help, Colin):
> 
> - installed the 'User Agent Switcher' addin in Firefox 3.0.7
> - changed the user agent to the above Linux Mozilla
> - installed diablo-jre-freebsd7.i386.1.6.0.07.02.tbz and activated the
>   plug-in in Firefox
> 
> this let me see the introduction in http://www.webex.com/go/live_demo
> which seems to be only a flash movie;
> 
> but when I go to some real recorded webEx session the Java VM crashes
> with some Exception that 'trustAnchors parameter must be non-empty';
> 
...

Follow-up: With a real webEx session I get asked for the name, email and
password and then the download seems to be started but crashs with the
same message.

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: watching WebEx session on FreeBSD (nearly solved)

2010-01-13 Thread Matthias Apitz
El día Wednesday, January 13, 2010 a las 09:51:45AM +0100, Matthias Apitz 
escribió:

> I did now (thanks for your help, Colin):
> 
> - installed the 'User Agent Switcher' addin in Firefox 3.0.7
> - changed the user agent to the above Linux Mozilla
> - installed diablo-jre-freebsd7.i386.1.6.0.07.02.tbz and activated the
>   plug-in in Firefox
> 
> this let me see the introduction in http://www.webex.com/go/live_demo
> which seems to be only a flash movie;
> 
> but when I go to some real recorded webEx session the Java VM crashes
> with some Exception that 'trustAnchors paramater must be non-empty';

Follow up:

The problem with 'trustAnchors paramater must be non-empty' was a broken
file /usr/local/diablo-jre1.6.0/lib/security/cacerts (it had only 32
bytes) and I copied it from some other Java:

# cp /usr/local/jdk1.6.0/jre/lib/security/cacerts 
/usr/local/diablo-jre1.6.0/lib/security/cacerts

Now the Java app is down loaded and starts and I can see the WebEx
Meeting Manager Window; if the 'host' shows some file in this, it is
presented as well; but if the 'host' presents some application (the
remote desktop) only a full green window comes up with no icons or
windows in it

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Java based Content Management Systems on FreeBSD?

2008-03-16 Thread Matthias Apitz
El día Saturday, March 15, 2008 a las 11:43:04PM -0800, Ted Mittelstaedt 
escribió:

...
> Java is write-once, run anywhere.  As long as they run under the
> JDK that has been ported to FreeBSD then there's no problems.
> 
> I know this is so because Sun Microsystems says so in their
> literature about Java.  Sun says that a language that can only
> run on 1 specific platform is no good, that is the entire point
> of why they wrote Java, according to Sun.

You can also write stuff in Java which only runs on one specific
platform, on Windows, because for example you make references to objects
in the file system as 'help.htm' while in real the file name is
'Help.htm', or you use specific DLL's for accessing devices which are only
available on Windows :-(

matthias
-- 
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


7.0R: printing from Samba to CUPS

2008-03-22 Thread Matthias Apitz

Hello All,

During the last weekend I've installed FreeBSD 7.0R, the system and
compiled all the 'ports' I need, i.e. as well

cups-base-1.3.6_1   Common UNIX Printing System
cups-pdf-2.4.6  A virtual printer for CUPS to produce PDF files
cups-pstoraster-8.15.4_1 Postscript interpreter for CUPS printing to non-PS 
printers
cups-samba-6.0  The Common UNIX Printing System:  MS Windows client drivers

samba-3.0.28,1  A free SMB and CIFS client and server for UNIX
samba-libsmbclient-3.0.28 Shared libs from the samba package

I'm using Samba only to have access from a Windows XP in a virtual
machine (Qemu) on my laptop to the files in FreeBSD world and for
printing from XP to the CUPS in FreeBSD world. Worked all fine before in
FreeBSD 6.2R, but not in 7.0R. It says in /var/log/cups/error_log:

E [22/Mar/2008:10:12:40 +0100] Unsupported character set "iso-8859-1"!

I've digged into this and could make it work again by launching Samba in
an UTF8 environment, for example with:

# LANG=en_US.UTF-8 /usr/local/etc/rc.d/samba start

(or setting LANG=en_US.UTF-8 in the start script). Any comments on this?

Thanks in advance

    matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Laptop advice

2008-03-24 Thread Matthias Apitz
El día Monday, March 24, 2008 a las 12:29:16AM -0800, Ted Mittelstaedt escribió:

> Unfortunately, it is quite common for laptop vendors to write specs
> that use different names than industry standard for the components,
> so it is difficult to figure this out in advance.
> 
> What you want to do is get yourself a FreeBSD boot CD then go
> visit a computer vendor that has display models.  Do not order a
> laptop online.  Visit a brick and mortar vendor, and try booting
> fbsd on each of the display models.

A good way is also to let it boot a Knoppix boot CD / DVD which is able
to detect nearly all hardware used to assemble the laptop. Then take the
/var/log/messages output of this and check it against the FreeBSD
hardware notes.

matthias (running FreeBSD 7.0-R on laptop :-))
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


problems with automake110

2008-03-24 Thread Matthias Apitz

Hello,

I want to port some application (Ekiga) directly from their SVN to
FreeBSD 7.0R which is using

$ ./autogen.sh --with-pwlib-dir=/usr/local 

to generate the configure / Makefiles and which fails; the problem seems
to be that 'aclocal' or some of the M4 macros used are not working as
they should:

$ LANG=C aclocal --dry-run
/usr/local/share/aclocal/smpeg.m4:13: warning: underquoted definition of 
AM_PATH_SMPEG
/usr/local/share/aclocal/smpeg.m4:13:   run info '(automake)Extending aclocal'
/usr/local/share/aclocal/smpeg.m4:13:   or see 
http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/local/bin/gm4:/usr/local/share/aclocal/pilot-link.m4:1: ERROR: end of file 
in string
autom4te-2.61: /usr/local/bin/gm4 failed with exit status: 1
aclocal-1.10: autom4te failed with exit status: 1
$

Maybe something is mixed up in the various versions which have been
installed by all the ports:

$ pkg_info | fgrep automake
automake-1.10_3 GNU Standards-compliant Makefile generator (1.10)
automake-1.4.6_4GNU Standards-compliant Makefile generator (1.4)
automake-1.5_4,1GNU Standards-compliant Makefile generator (1.5)
automake-1.6.3  GNU Standards-compliant Makefile generator (1.6)
automake-1.7.9  GNU Standards-compliant Makefile generator (1.7)
automake-1.8.5  GNU Standards-compliant Makefile generator (1.8)
automake-1.9.6_2GNU Standards-compliant Makefile generator (1.9)
automake-wrapper-20071109 Wrapper script for GNU automake
gnome-common-2.20.0 Common automake macros for GNOME and GNOME 2

Could someone pls give me an idea how to solve this? Thx in advance

    matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [6.3/vi] European characters?

2008-03-24 Thread Matthias Apitz
El día Monday, March 24, 2008 a las 10:33:29PM +0100, Gilles escribió:

> Hello
> 
> vi can't display Euopean characters on my 6.3 setup. For instance, it
> shows "Cr\xe9er" instead of "Créer".
> 
> Am I missing the right font, or is it some wrong setting somewhere?

Hello Gilles,

What will it give you with:

$ LANG=es_ES.ISO8859-1 vi

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: problems with automake110

2008-03-24 Thread Matthias Apitz
El día Monday, March 24, 2008 a las 05:49:49PM +0100, Matthias Apitz escribió:

> 
> Hello,
> 
> I want to port some application (Ekiga) directly from their SVN to
> FreeBSD 7.0R which is using
> 
> $ ./autogen.sh --with-pwlib-dir=/usr/local 
> 
> to generate the configure / Makefiles and which fails; the problem seems
> to be that 'aclocal' or some of the M4 macros used are not working as
> they should:
> 
> $ LANG=C aclocal --dry-run
> /usr/local/share/aclocal/smpeg.m4:13: warning: underquoted definition of 
> AM_PATH_SMPEG
> /usr/local/share/aclocal/smpeg.m4:13:   run info '(automake)Extending aclocal'
> /usr/local/share/aclocal/smpeg.m4:13:   or see 
> http://sources.redhat.com/automake/automake.html#Extending-aclocal
> /usr/local/bin/gm4:/usr/local/share/aclocal/pilot-link.m4:1: ERROR: end of 
> file in string
> autom4te-2.61: /usr/local/bin/gm4 failed with exit status: 1
> aclocal-1.10: autom4te failed with exit status: 1
> $

the problem concerning '/usr/local/share/aclocal/pilot-link.m4' goes
away by deleting the port /usr/ports/palm/pilot-link
(maintainer Cc'ed);

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


7.0-RELEASE && panic after ~4 hours

2008-03-26 Thread Matthias Apitz

Hello,

Over the longs last weekend I've installed FreeBSD 7.0-REL on my laptop
and around 200 ports; I point this out to say that the laptop run
without any reboot from Friday morning to Monday evening at home in my
WEP based Wifi-zone;

on Thursday and today I'm working in my office from around 9 o'clock and
each day after 4 hours the system panic'ed:

Mar 25 09:02:43 rebelion syslogd: kernel boot file is /boot/kernel/kernel
Mar 25 13:00:03 rebelion savecore: reboot after panic: clist reservation botch
 
Mar 26 09:11:04 rebelion syslogd: kernel boot file is /boot/kernel/kernel
Mar 26 13:22:29 rebelion savecore: reboot after panic: page fault

the main difference between home and work is: WEP at home and WPA2 at
work;

as well I see in messages a lot of:

Mar 26 08:24:51 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 08:25:01 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 08:25:11 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 08:25:20 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 08:25:31 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 08:25:40 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 08:42:05 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 09:48:58 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 10:54:08 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 12:04:13 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 12:21:17 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 12:37:43 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 12:54:17 rebelion kernel: iwi0: firmware stuck in state 4, resetting

Before I was for more than a year on 6.2-REL and without any panic which
was not caused by pulling out the PCMCIA UMTS card; so I think it is not
a hardware issue;

Any comments?

    matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 7.0-RELEASE && panic after ~4 hours

2008-03-26 Thread Matthias Apitz
El día Wednesday, March 26, 2008 a las 01:47:01PM +, Alphons Fonz van 
Werven escribió:

> Matthias Apitz wrote:
> 
> >the main difference between home and work is: WEP at home and WPA2 at
> >work;
> 
> Which WiFi board are you using? Several drivers are known to cause panics 
> when
> used with WPA.

sorry for not mention that:

iwi0:  mem 0xc8305000-0xc8305fff irq 18 at device 
5.0 on pci6
iwi0: Ethernet address: 00:13:ce:a1:e6:81
iwi0: [ITHREAD]

when it will crash tomorrow again, I will try it some days without Wifi
and plug-in Ethernet;

    matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: making FreeBSD phone home via SSH

2008-03-26 Thread Matthias Apitz
El día Wednesday, March 26, 2008 a las 10:54:41AM -0600, Elliot Finley escribió:

> Hello all,
> 
> I have an interesting project.  I have several FreeBSD servers that I
> will be deploying to remote locations.  They will be sitting behind a
> NAT.  I would like them to make a SSH connection to a local server
> sitting on a public IP.  I need them connected in a way that will give
> me remote shell access.
> 
> Has anyone done this before?  I'd rather not re-invent the wheel.

Yes, I :-)
You can make SSH connection from the remote servers to your server
(bring them up at boot with RSA auth) and tunnel in them reverse the SSH
port, check the -R flag of ssh(1).

You can also setup OpenVPN as client on the remotes and server on the
your side.

    mattihas
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


compiling H.323 client Ekiga from its SVN repository

2008-03-28 Thread Matthias Apitz

Hello,

THIW, during the last few days I've started a porting of Ekiga, see
http://www.freebsd.org/cgi/url.cgi?ports/net/ekiga/pkg-descr
http://www.ekiga.org/
directly from the SVN repository (and not from the FreeBSD's ports
collection); the reason was mainly driven by the hope of staying with
the cutting edge of Ekiga and get support of codec H.264 to make H.323
video conf calls to the central video conferencing system we are using
in my company; work is still in progress, but if someone is interested
in the actual port (or in debugging :-)), the work is described here:
http://wiki.ekiga.org/index.php/Compile_your_own_SVN_version_of_Ekiga_on_FreeBSD

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


problem with autoconf && PKG_CHECK_MODULES

2008-04-01 Thread Matthias Apitz

Hello,

The SVN trunk of OPAC is using 'autoconf' for creating 'configure' and
Makefiles;

it seems that it can't expand PKG_CHECK_MODULES(...) in configure.ac and
I have investigated that:

I have installed on my 7.0R box:

# pkg_info | fgrep pkg-config-0.22_1
pkg-config-0.22_1   A utility to retrieve information about installed libraries

and this packages provides the following files:

# pkg_info -L pkg-config-0.22_1
Information for pkg-config-0.22_1:

Files:
/usr/local/man/man1/pkg-config.1.gz
/usr/local/bin/pkg-config
/usr/local/share/aclocal/pkg.m4

the file /usr/local/share/aclocal/pkg.m4 contains the definition of
PKG_CHECK_MODULES():

# fgrep PKG_CHECK_MODULES /usr/local/share/aclocal/pkg.m4
# to PKG_CHECK_MODULES(), but does not set variables or print errors.
# Similar to PKG_CHECK_MODULES, make sure that the first instance of
# this or PKG_CHECK_MODULES is called, or make sure to call
# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
# PKG_CHECK_MODULES might not happen, you should be sure to include an
AC_DEFUN([PKG_CHECK_MODULES],
...

autoconf is /usr/local/bin/autoconf and in real through the wrapper:
...
+ exec /usr/local/bin/autoconf-2.61

which does not read /usr/local/share/aclocal/pkg.m4 as I've proofed
with 'ls -lu /usr/local/share/aclocal/pkg.m4'
that's why PKG_CHECK_MODULES is not expanded by autoconf and the result
is an error in running configure;

any ideas?

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: openoffice.org-2.4.0_2 hanging

2008-04-05 Thread Matthias Apitz
El día Saturday, April 05, 2008 a las 01:41:36AM +0200, Volker Glatz escribió:

...

> It doesn't worked for me. Instead of en-US I use de-DE.
> 
> Thanks!
> Volker
> 
> box# pkg_info | grep openoffice
> de-openoffice.org-2.4.0_2 Office-Suite mit Textverarbeitung, 
> Tabellenkalkulation, Dat
> 
> box# uname -a
> FreeBSD box.here 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 
> 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386


$ echo $LANG
es_ES.ISO8859-1
$ uname -a
FreeBSD rebelion.Sisis.de 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 
19:59:52 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
$ pkg_info | fgrep openoffice
openoffice.org-3.0.20080315 Integrated 
wordprocessor/dbase/spreadsheet/drawing/chart/br

i.e. /usr/ports/editors/openoffice.org-3-devel works fine for me;

/usr/ports/editors/openoffice.org-2.0 showed the mentioned problem (CPU
loop on open document);

HIH

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem with gio-fam-backend, portupgrade failing...

2008-04-08 Thread Matthias Apitz
El día Monday, April 07, 2008 a las 10:06:02PM +0100, Peter Harrison escribió:

> > I have seen this before, if ( /devel/ ) gio-fam-backend needs a library 
> > that 
> > is outdated, it gives this sort of error.  I know when I had the issue, it 
> > was that it needs glib 2.16 and I had 2.14.  Thankfully it doesn't have too 
> > many dependancies so it isn't hard to check them all.
> 
> 
> Right, I'll start looking through the gio-fam-backend dependencies and report 
> back.
> Thanks for the quick response.
> 
> Peter Harrison.
> 
> 
> > 
> > Mark Moellering

I've installed last weekend a 7.0R, did portsnap fetch/extract and fired
up my script to run in BATCH mode through the ~200 ports I wanted have
installed on the box; when I came back late night and was hoping all
went fine, some of the ports failed as well with gio-fam-backend; it
took me some time to go to /usr/ports/devel/glib20, deinstall and
install it fresh which changed it from glib-2.14.2 to 2.16.x (don't know
the x from the top of my head now); after this all was fine again;

really, I did not understand how this was possible after portsnap
fetch/extract on a real new system, just installed from boot CD;

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


7.0R && freemind 0.8.1 crashes randomly

2008-04-09 Thread Matthias Apitz

Hello,

I'm used to use 'freemind' (and used 0.8.0 a lot in FreeBSD 6.2); since
the update to 7.0-REL and freemind as 0.8.1 from ports it is unusable
because it crashes randomly, sometimes it does not even comes up without
any message, sometimes it crashes by its own while I'm working in some
other part of the KDE 3.5.8 desktop; does someone face the same problem?
thanks in advance for a tip;

    matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 7.0R && freemind 0.8.1 crashes randomly

2008-04-09 Thread Matthias Apitz
El día Wednesday, April 09, 2008 a las 02:48:18PM +0200, Ivan Voras escribió:

> Matthias Apitz wrote:
> > Hello,
> > 
> > I'm used to use 'freemind' (and used 0.8.0 a lot in FreeBSD 6.2); since
> > the update to 7.0-REL and freemind as 0.8.1 from ports it is unusable
> > because it crashes randomly, sometimes it does not even comes up without
> > any message, sometimes it crashes by its own while I'm working in some
> > other part of the KDE 3.5.8 desktop; does someone face the same problem?
> > thanks in advance for a tip;
> 
> FreeMind is a java application and since there's still no official Java
> for FreeBSD 7, you're probably lucky it works at all :)
> 

but it worked fine with the Java engine I've had in FreeBSD 6.2R; will
test some others of the Java engines from the ports...

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 7.0R && freemind 0.8.1 crashes randomly

2008-04-09 Thread Matthias Apitz
El día Wednesday, April 09, 2008 a las 03:35:09PM +0200, Ivan Voras escribió:

> Yes, it's expected that it will work with a supported version of the
> operating system. Remember, you changed the entire operating system by
> going from 6.2 to 7.0.
> 
> Try building native java and all its dependencies from ports.
> 

ok, I will try to build /usr/ports/java/jdk15
thx for the tip

    matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 7.0R && freemind 0.8.1 crashes randomly

2008-04-09 Thread Matthias Apitz
El día Wednesday, April 09, 2008 a las 05:12:05PM +0200, Kris Kennaway escribió:

> Ivan Voras wrote:
> >Matthias Apitz wrote:
> >>Hello,
> >>
> >>I'm used to use 'freemind' (and used 0.8.0 a lot in FreeBSD 6.2); since
> >>the update to 7.0-REL and freemind as 0.8.1 from ports it is unusable
> >>because it crashes randomly, sometimes it does not even comes up without
> >>any message, sometimes it crashes by its own while I'm working in some
> >>other part of the KDE 3.5.8 desktop; does someone face the same problem?
> >>thanks in advance for a tip;
> >
> >FreeMind is a java application and since there's still no official Java
> >for FreeBSD 7, you're probably lucky it works at all :)
> >
> 
> What do you expect is wrong with the 6.x jdk running under compatibility?
> 
> Kris

I have 'make install'ed /usr/ports/java/jdk15 and adjusted the the
launcher script /usr/local/bin/freemind to its Java engine:
JAVA_VERSION="1.4+" "/usr/local/jdk1.5.0/bin/java" -cp "${CLASSPATH}" 
freemind.main.FreeMind "${FILE}"

works now without any crash so far;

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem! Help me!

2008-04-12 Thread Matthias Apitz
El día Saturday, April 12, 2008 a las 05:25:34PM +0300, kostis papa escribió:

> Hello,
> I have a problem with installation.
> I choose country, keyboard and then I can  not  continue  installation,
> because  it says "No disks found! Please verify that your disk controller is
> being ."
> My pc is new (core 2 quad, sata 500-SeaGate)
> I have installed the windowsXP and ubuntu-Linux (I didn't have any problem)
> and I would like to install freebsd!
> I have read the documentation and I don't know what can I do
> Please help me!
> Thank you very much!

Look into the output of 'dmesg' of the Ubuntu to see what kind of
controller you have in that box and how the disk is seen by Ubuntu;

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


VMware-server-1.0.5 on Linux host && console on FreeBSD

2008-04-24 Thread Matthias Apitz

Hello,

I've installed VMware-server-1.0.5 on some box running Linux (SuSE
Enterprise 8); this VMware-server brings a console which connects to
port 901 (default) and you can manage your virtual machines in the
server with some graphical tool; as usual the VMware-server is only
available for Windows and Linux, but I was hoping that the console is
just VNC and I could manage it with, for example, vncviewer from my
FreeBSD laptop -- no look, they use some other protocol;

the console on Linux is just some scripting which launches a GTK
application:

/usr/lib/vmware/lib/wrapper-gtk24.sh /usr/lib/vmware/lib 
/usr/lib/vmware/bin/vmware /usr/lib/vmware/libconf

and it could be that one could it make happy on FreeBSD too;
has someone tried this out? or is there some other way to get this
console running on BSD? thx in advance

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Gnome-mount install failure

2008-04-25 Thread Matthias Apitz
El día Friday, April 25, 2008 a las 05:08:28PM +0300, Mike Barnard escribió:

> Hi,
> 
> i have been trying to get gnome-mount installed for a few hours now, and i
> end up with this one error:
> 
> checking for GNOME_MOUNT... configure: error: Package requirements
> (gconf-2.0 gnome-keyring-1 >= 0.4 dbus-glib-1 >= 0.31 hal-storage >=
> 0.5.8.1gtk+-2.0 >= 2.8.0) were not met:
> 
> Requested 'hal-storage >= 0.5.8.1' but version of hal-storage is 0.5.8
> 
> All these packages are up-to-date, my ports collection is the latest, as of
> 18 April.
> 
> Has any one come across this problem?

I've had the same problem around 5th of April when I installed a 7.0-R
in the laptop of my wife, after doing 'portsnap fetch & update'; it
turned out that glib20 was installed as glib-2.14.2; I went to
/usr/ports/devel/glib20 removed the pkg and installed it as fresh as
2.16.x; this helped; don't know (and understand) how the older glib20
came to the system, maybe as part of the basis system; on next fresh
install I will have a closer look what gets installed with the OS;

hope it helps you

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


measure traffic caused by pppd (UMTS)

2008-05-02 Thread Matthias Apitz

Hello,

Sometimes when I travel around and can't see any usable WLAN I'm using
the UMTS and PPPD, which works well but of course one must pay for this;

Is there some tool which I could put into /etc/ppp/ip_down script which
logs the traffic done into some file; I see /usr/ports/net/ppptraf which
comes without any documentation and is curses based :-(
any other ideas?

I'm not interested in any analysis about to which location the traffic
goes or about speed and bandwidth; just

- cmd line based with output to a file or stdout
- the amount of bytes/megabytes in and out;

thx in advance

    matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Automounting External USB Drive on FreeBSD 7.x

2008-05-07 Thread Matthias Apitz
El día Wednesday, May 07, 2008 a las 01:32:10PM +0300, Odhiambo Washington 
escribió:

> Hello list,
> 
> I have a requirement to automatically mount a USB disk to, say, ~backup/data
> automatically when the device is plugged to into the machine.
> I can handle/manage the "umount" part.

You could use and configure the amd(8) for this; it will mount the
device (when it is plug'ed in) on 'cd ~backup/data' or any other access,
and will umount it when not busy after some time;

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: webcam for 7.0

2008-05-20 Thread Matthias Apitz
El día Tuesday, May 20, 2008 a las 03:26:09PM +0200, Albert Shih escribió:

> Hi all
> 
> I'm running FreeBSD 7.0-Stable and now I need to have webcam & mic for
> using ekiga.
> 
> I'm never using this kind of software before. 
> 
> I would like to known what's model of webcam and mic is best for ekiga &
> FreeBSD 7. When I say best that's mean --> easy to install (no patch to
> apply, etc.) because I NEED to use ekiga...(\not = I like to).
> 
> Lots of thanks.
> 
> Regards.

Albert,

You may be interested in this page:
http://wiki.ekiga.org/index.php/Compile_your_own_SVN_version_of_Ekiga_on_FreeBSD
(the versions of PTLib, Opal and Ekiga in the ports are a bit outdated
and not fully working/tested in FreeBSD);

The cam I'm using with FreeBSD 7.0-REL and Ekiga is:

May 20 09:32:17 rebelion kernel: pwc0: vendor 0x0471 product 0x0329, rev 
1.10/0.03, addr 2
May 20 09:32:17 rebelion kernel: pwc0: Philips SPC900NC USB webcam
May 20 09:32:17 rebelion kernel: pwc0: This camera is equipped with a Sony CCD 
sensor + TDA8787 (32)

Hope it helps

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Asus eee (was Re: G4 Quicksilver as Web Server?)

2008-05-21 Thread Matthias Apitz
El día Friday, January 18, 2008 a las 10:41:28PM -0500, Garance A Drosehn 
escribió:

> At 9:14 AM -0500 1/2/08, Ed Maste wrote:
> >On Tue, Jan 01, 2008 at 06:20:22PM +, James Jeffery wrote:
> >
> >> Before i end the toipic, anyone got any feeback on the Asus Eee (mini
> >> laptops) with FreeBSD?
> >
> >It works, but no drivers exist for the wireless or wired Ethernet ports.
> >The wireless is a newer Atheros part and ath(4) should gain support for
> >it, but I have no idea what the timeline will be.  The wired Ethernet
> >is an Atheros (formerly Attansic) L2 10/100, and I'm not aware of any
> >concrete plans for a driver for it.
> >
> >I've used a Linksys USB200M USB ethernet (axe(4) driver) with mine and
> >that works well.
> 
> One of the guys I know is running FreeBSD on the Eee, and has written
> up the following information for anyone who is interested in doing
> what he did:
> 
> http://nighthack.org/wiki/EeeBSD
> 
> This includes tips on how to get the wireless working, and sound,
> and some oddities with how X11 works.

Thanks for that hint. I'm thinking in buying such a device to have it
with me as a typewriter, mostly; normally I use FreeBSD 7.0-REL on my
laptop with around 200 compiled ports: KDE, OpenOffice, Lyx, StarDict,
...
the compilation normally takes 2-3 days to have it all ready;

of course, on that limited device with 4 or 8 GByte SSD it is not an
option to compile the stuff up from /usr/ports on the system itself, not
only from the point of view of disk space, but also because of the limited
lifetime write cycles of the SSD;

in short: what would be the easiest way to move the installed ports from
my laptop to such an Eee PC? can I make, for example, packages from my
ports and install them?

Thx

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
«...una sola vez, que es cuanto basta si se trata de verdades definitivas.»
«...only once, which is enough if it has todo with definite truth.»
José Saramago, Historia del Cerca de Lisboa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Asus eee

2008-05-22 Thread Matthias Apitz
El día Thursday, May 22, 2008 a las 09:18:33AM +0300, Giorgos Keramidas 
escribió:

...
> Alternatively, you can use `pkg_create -b' to save the installed copies
> of a few ports, and move them over.  Installed packages can be saved
> anywhere you prefer to store them.  I some times use `/usr/pkg'.
> 
> As an example, if you have `procmail-3.22_6' installed, you can create a
> package even after you clean its port build directory with:
> 
> # cd /usr/pkg
> # pkg_create -b procmail-3.22_6
> 
> This should save the package in `procmail-3.22_6.tbz' in the current
> directory.
> 
> Then you can move the *.tbz file(s) to the EeePC and install them with
> `pkg_add', as Manolis described.

Thanks for your hint concerning pkg_create. I've stumbled over this as
well and we must not only create a given package, but also all the
packages from which it depends with for example:

# pkg_create -Rb stardict-2.4.8_5

this gave me in this example 144 packages in the current dir; I run it
twice to see if pkg_create detects that a given dependency is already
there or if it will rebuild the package, and it does rebuild them; this
means if I run pkg_create for the 200 ports I've compiled (even if I let
out what perhaps I don't need on the smaller EeePC it is a lot of
stuff), it will do a lot of work twice; is there a way to let pkg_create
check if the pkg is already built and there?

as well one must be very carefully with modifications in the installed
packages; I have, for example, just renamed 
/usr/local/etc/rc.d/cupsd to /usr/local/etc/rc.d/cupsd.sh 
and pkg_create is now complaining and stopping because the file
/usr/local/etc/rc.d/cupsd is missing; I will take this in consideration
from now;

thx for the hint anyway; its now clear that I will go this way (and buy
the beast :-))

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
«...una sola vez, que es cuanto basta si se trata de verdades definitivas.»
«...only once, which is enough if it has todo with definite truth.»
José Saramago, Historia del Cerca de Lisboa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Asus eee

2008-05-22 Thread Matthias Apitz
El día Friday, May 23, 2008 a las 12:55:00AM +0300, Giorgos Keramidas escribió:

> On Thu, 22 May 2008 23:22:46 +0300, Giorgos Keramidas <[EMAIL PROTECTED]> 
> wrote:
> > I'll haev to test a bit the following patch, and get it reviewed by our
> > packaging tools people, but it seems pretty straightforward.
> 
> Ok, it seems to work here on 8.0-CURRENT.  I'll pass it on through our
> normal pkg_tools channels for a review, and when it gets enough testing
> we can MFC it to STABLE branches.

Thanks for the patch, I will give it a try (must install the sources
before because I have only installed kernel sources); will let you know;

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
«...una sola vez, que es cuanto basta si se trata de verdades definitivas.»
«...only once, which is enough if it has todo with definite truth.»
José Saramago, Historia del Cerca de Lisboa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Asus eee (was Re: G4 Quicksilver as Web Server?)

2008-05-23 Thread Matthias Apitz
El día Wednesday, May 21, 2008 a las 07:44:31PM +0300, Manolis Kiagias escribió:

...
> - Note you can install either to SSD or an external SDHC. The SSD is 
> somewhat faster though. (But you can get larger SDHCs). I am dual 
> booting Linux and FreeBSD on mine right now. Linux is on the SSD and 
> FreeBSD on an 8GB SDHC.

In this Wiki page they show already a model 900 with up to 20 GByte SSD;
maybe it's a good idea to go for this model, even if it is a bit more
expensive (~400 euros):

http://en.wikipedia.org/wiki/Eeepc

    matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
«...una sola vez, que es cuanto basta si se trata de verdades definitivas.»
«...only once, which is enough if it has todo with definite truth.»
José Saramago, Historia del Cerca de Lisboa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ekiga/OPAL won't compile

2008-05-24 Thread Matthias Apitz
El día Saturday, May 24, 2008 a las 11:04:37AM +0530, Girish Kulkarni escribió:

> Hello,
> 
> I am trying to install Ekiga 2.0.11_3 on FreeBSD 7.0 via the ports.
> Ekiga depends on the OPAL libraries, which then give me the following
> error while compiling:
> 
> - - - -
> [...]
> ===>   ekiga-2.0.11_3 depends on shared library: opal_r - not found
> ===>Verifying install for opal_r in /usr/ports/net/opal
> ===>  Building for opal-2.2.11
...
> 
> I fail to understand the cause of this error and therefore cannot
> resolve it. Could somebody please help?

Hi Girish,

I can't comment on the error, but you could compile directly from the
sources out of SVN and even a more recent version:

http://wiki.ekiga.org/index.php/Compile_your_own_SVN_version_of_Ekiga_on_FreeBSD

HIH

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
«...una sola vez, que es cuanto basta si se trata de verdades definitivas.»
«...only once, which is enough if it has todo with definite truth.»
José Saramago, Historia del Cerca de Lisboa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ekiga/OPAL won't compile

2008-05-24 Thread Matthias Apitz
El día Saturday, May 24, 2008 a las 08:58:34PM +0530, Girish Kulkarni escribió:

> > http://wiki.ekiga.org/index.php/Compile_your_own_SVN_version_of_Ekiga_on_FreeBSD
> 
> Thanks for your reply. The compilation error had to do with my pwlib,
> which needed upgrading. But the compilation didn't complete even after
> this particular error was sorted out; new errors (equally
> incomprehensible) turned up. Finally, the page you pointed out lists
> KDE 3.5.8---which I don't use---as a dependency! I ended up installing
> the pre-compiled package. Ekiga is working fine now.
> - Hide quoted text -

The page says KDE 3.5.8 because this is what I have; I'm sure it will
work with any other recent KDE or Gnome version; I'm happy to update the
page with your (or others) version of KDE/Gnome/... just send me a note;

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
«...una sola vez, que es cuanto basta si se trata de verdades definitivas.»
«...only once, which is enough if it has todo with definite truth.»
José Saramago, Historia del Cerca de Lisboa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Asus eee (was Re: G4 Quicksilver as Web Server?)

2008-05-30 Thread Matthias Apitz
El día Tuesday, May 27, 2008 a las 04:16:44PM +0200, Matthias Apitz escribió:

> El día Friday, May 23, 2008 a las 01:18:06PM +0300, Manolis Kiagias escribió:
> 
> > Yes, I am already planning to upgrade :)
> > At this time, it is not available in Greece (though I have spotted a few 
> > on ebay).
> > Even more important than the 20Gb SSD is the 9 inch display with a 
> > resolution of 1024x600.
> > 800x480 is really small for anything more other than taking notes.
> > 

Maybe you know this page, Manolis:

http://www.eeeuser.com/2008/05/04/eeeusercom-eeepc-900-in-depth-review/

it has a detailed technical report about all items of which the 900 20GB
model is made of;

a dealer in CH will get next week the original US version:
http://www.stegcomputer.ch/details.asp?prodid=asu-e900-w

take care, there is an issue about the battery having only 4400 mAh
(because of some fire in an ASUS supplier) while the original model have
had a 5800 mAh battery;

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
«...una sola vez, que es cuanto basta si se trata de verdades definitivas.»
«...only once, which is enough if it has todo with definite truth.»
José Saramago, Historia del Cerca de Lisboa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: list files in FreeBSD ports tree package

2008-06-05 Thread Matthias Apitz
El día Thursday, June 05, 2008 a las 03:35:01PM +0200, Simon Jolle escribió:

> Hi FreeBSD users
> 
> I am searching for something similar to Red Hat's "rpm -q -l package"
> and Debian's "dpkg -L package".
> 
> cheers
> Simon

Don't know nothing about Red Hat or Debian, but how about

$ pkg_info -L stardict-2.4.8_5

or even

$ man pkg_info

HIH

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
«...una sola vez, que es cuanto basta si se trata de verdades definitivas.»
«...only once, which is enough if it has todo with definite truth.»
José Saramago, Historia del Cerca de Lisboa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Webcam Selection

2012-02-28 Thread Matthias Apitz
El día Wednesday, February 29, 2012 a las 10:20:12AM +1000, Da Rock escribió:

> On 02/29/12 06:46, Cy Schubert wrote:
> > Hi all,
> >
> > After a number of years just lying in desk drawer my old Logitech spherical
> > webcam died. So, I'm looking for a new one. It's not that I use it a lot.
> > My wife will be heading out of province to our son's place next month to be
> > there for the birth of our first grandson. The plan was to use a webcam to
> > send back pictures later (not on the day of, of course but a week later).
> > Anyhow I need to replace the old with a new webcam. The last time I used
> > the old webcam it was hooked up to a Windows XP system. I've since retired
> > that machine, along with the retirement of three FreeBSD machines, leaving
> > me with a few servers and my FreeBSD laptop. I'm hoping to use the webcam
> > with Pidgin with MSN. Can anyone suggest a brand and model? It needs to
> > have good image quality and needs to work with FreeBSD 9.0. Any suggestions?

See http://wiki.freebsd.org/WebcamCompat for a list of known to work
webcams;

HIH

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: USB Logitech QuickCam Ultra Vision

2012-03-01 Thread Matthias Apitz
El día Friday, March 02, 2012 a las 05:48:11AM +0100, Daniel C. Dowse escribió:

> Hi,
> 
> usbconfig -d ugenX.Y do_request 0x22 0x01 0x100 0x86 0x03 0x80 0xBB 0x00
> usbconfig -d ugenX.Y reset
> usbconfig -d ugenX.Y do_request 0x22 0x01 0x100 0x86 0x03 0x80 0xBB 0x00
> 
> and then restart webcamd.
> 
> may help, it worked on my Logitech Business Pro Cam 
> 
> cheers

FWHIW, such quirks are also shown in http://wiki.freebsd.org/WebcamCompat
and once your webcam is working fine it could show up there too;

HIH

    matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Modbus RTU with GSM communication

2012-03-12 Thread Matthias Apitz
El día Saturday, March 10, 2012 a las 02:43:10AM -0300, Exemys escribió:

> This is a message in multipart MIME format.  Your mail client should not be 
> displaying this. Consider upgrading your mail client to view this message 
> correctly.
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Your message has no content at all. Consider sending your mail in ASCII.
HIH

    matthias
-- 
Matthias Apitz
e  - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Fwd: microSD && ext3 file system

2012-04-03 Thread Matthias Apitz

Hello,

I have some trouble with a microSD card (or with the controler) in my
Linux based cellphone (Openmoko Freerunner). One of the hints I got is
to check the microSD card with a Linux tool badblocks(8)
http://linux.die.net/man/8/badblocks

As I do not have Linux boxes at home, I looked into our ports with no
luck for badblocks... Is there some equivalent in FreeBSD which I could
use to check /dev/da0 (as this the microSD is presented in my laptop)
for bad 'sectors'?

FWIW, I've found as well this very interesting article:
https://lwn.net/Articles/428584/
which says for example:

«... In contrast, the more common SD cards and USB flash drives are very
sensitive to specific access patterns and can show very high latencies
for writes unless they are used with the preformatted FAT32 file layout.

As an example, a desktop machine using a 16 GB, 25 MB/s CompactFlash
card to hold an ext3 root filesystem ended up freezing the user
interface for minutes during phases of intensive block I/O, despite
having gigabytes of free RAM available. Similar problems often happen on
small embedded and mobile machines that rely on SD cards for their file
systems. ...» 

Thanks

matthias

- Forwarded message from Matthias Apitz  -

Date: Mon, 2 Apr 2012 19:52:40 +0200
From: Matthias Apitz 
To: commun...@lists.openmoko.org
Subject: microSD && ext3 file system


Hello,

After some hours of testing I'm now totally lost with creating an ext3
file system on a (new) 4GB micro SD card.

Using my FR (running SHR) I created one new partition on the SD with
fdisk(1) and it looks like this:

root@om-gta02 ~ # fdisk -l /dev/mmcblk0

Disk /dev/mmcblk0: 3953 MB, 3953131520 bytes
4 heads, 16 sectors/track, 120640 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Disk identifier: 0x0aecb0ac

Device Boot  Start End  Blocks   Id  System
/dev/mmcblk0p1   1  120640 3860472   83  Linux

Then I created the ext3 file system on it with:

root@om-gta02 ~ # mkfs.ext3 /dev/mmcblk0p1
mke2fs 1.41.9 (22-Aug-2009)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
241440 inodes, 965118 blocks
48255 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=989855744
30 block groups
32768 blocks per group, 32768 fragments per group
8048 inodes per group
Superblock backups stored on blocks: 
32768, 98304, 163840, 229376, 294912, 819200, 884736

Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 32 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.

now mounting against the /etc/fstab line failes:

root@om-gta02 ~ # mount /media/card
mount: wrong fs type, bad option, bad superblock on /dev/mmcblk0p1,
   missing codepage or helper program, or other error
   In some cases useful info is found in syslog - try
   dmesg | tail  or so

mounting with "-t ext3" works and after this as well mounting with the
normal line in fstab(5) works too:

root@om-gta02 ~ # mount -t ext3 /dev/mmcblk0p1 /media/card
root@om-gta02 ~ # umount /media/card
root@om-gta02 ~ # mount /media/card
root@om-gta02 ~ # 

and it is really mounted:

root@om-gta02 ~ # mount
...
/dev/mmcblk0p1 on /media/card type ext3 (rw,errors=continue,data=ordered)

now I create a dir and copy over some files from the host connected via
USB:

root@om-gta02 ~ # mkdir /media/card/dic

host:

$ scp -rp stardict-duden-2.4.2 root@miko:/media/card/dic
duden.ifo 100%  155 0.2KB/s   00:00
duden.idx 100% 2360KB 786.7KB/s   00:03
duden.dict.dz 100% 6719KB 559.9KB/s   00:12
scp: /media/card/dic/stardict-duden-2.4.2/duden.dict.dz: Read-only file system
scp: /media/card/dic/stardict-duden-2.4.2/duden.idx.oft: Read-only file system
scp: /media/card/dic/stardict-duden-2.4.2/duden(2).idx.oft: Read-only file 
system

the SCP fails and magically now the SD in the FR is mounted read-only:

root@om-gta02 ~ # mount
...
/dev/mmcblk0p1 on /media/card type ext3 (ro,errors=continue,data=ordered)

What is wrong or what do I wrong with this SD card?
Thanks

matthias
-- 
Matthias Apitz
e  - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5

___
Openmoko community mailing list
commun...@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

- End forwarded message -

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
UNIX since V7 on PDP-11 | UNIX on mainframe 

order of source_dirs in cp(1)

2012-04-05 Thread Matthias Apitz

Hello,

I was doing

$ cp -Rv 10 11 12 13 14 15 16 17 2 /mnt/osm

and was surprised seeing that source_dir 17 was done before 16; the man
page does not specify the order, but I was thinking it just goes through
the list in the given order...

Why this is done this way?

Thanks

matthias
-- 
Matthias Apitz
e  - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: keyboard latency from time to time

2012-04-09 Thread Matthias Apitz
El día Monday, July 25, 2011 a las 05:10:47PM +0200, Matthias Apitz escribió:

> 
> Hello,
> 
> I run a 9-CURRENT from end of October on an Acer D250 laptop; which in
> general runs very fine; from time to time (say once a month) I encounter
> the following situation within KDE3 or X11:
> 
> from a moment to another (can't say what action triggers this) the
> keyboard stops working; there are just no keyevents delivered on short
> press to any window; I've checked it with xev(1); mouse is working fine and I 
> can
> close the windows or the whole session of KDE, of course loosing my
> connections or the content of files I'm editing in that moment;
> 
> the keyevent is only delivered when you press the key for around half
> second, or so, and after this also the normal key re-iteration is
> produced; its even hard to catch only one keyevent and not twice or more;
> this is true for all keys, including Ctrl and Backspace, ...
> 
> after restarting X11 and KDE it is fine again;

Hello,

Months later, in some other issue, I learned about the feature of KDE
"slow keys" and what I have described is exactly the same behaviour and
I can now even reproduce this with just pressing and holding down the
Shift-key for around 8 secs; when it happens one must go to the KDE
Control Center and activate 'slow keys' (yes, they are not shown as
activated in this moment) and deactivate 'slow keys' again, and all is
fine.

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Xorg doesn't go back correctly to console when closed on FreeBSD 9.0

2012-04-12 Thread Matthias Apitz
El día Friday, April 13, 2012 a las 11:50:39AM +0700, Erich Dollansky escribió:

> > I've noticed this same behavior for a while now, when running X using
> > xinit (startx).  Upon exiting my X session, the X server doesn't
> > shutdown, but has to be manually killed.
> > 
> it is the same for 8.3 and before. I have this effect since many years on 
> different machines with different versions. The effect comes and goes.
> 
> What works is switching to the console startx was called, hitting control C 
> to kill X and start X again.
> 
> I do not bother much about this as I simply kill X from the calling console.

Please show your ~/.xinitrc and ~/.xserverrc; mine look like this:

$ cat .xinitrc
setxkbmap -option terminate:ctrl_alt_bksp
exec startkde

$ cat .xserverrc 
exec X -nolisten tcp -retro

and X comes down fine when KDE ends.

HIH

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Xorg doesn't go back correctly to console when closed on FreeBSD 9.0

2012-04-13 Thread Matthias Apitz
El día Friday, April 13, 2012 a las 01:34:53PM +0700, Erich Dollansky escribió:

> Hi,
> 
> On Friday 13 April 2012 12:24:04 Matthias Apitz wrote:
> > El día Friday, April 13, 2012 a las 11:50:39AM +0700, Erich Dollansky 
> > escribió:
> > 
> > 
> > Please show your ~/.xinitrc and ~/.xserverrc; mine look like this:
> 
> I do not have an .xserverrc. The .xinitrc looks like this without the 
> comments:


do create a file ~/.xserverrc like mine; perhaps this help already;

> 
> #!/bin/sh
> xset m 10 3
> xmodmap .xmodmaprc
> bbkeys &
> exec blackbox
> 
> and .xmodmaprc

this is irrelevant for the problem:

> 
> I did not change this since many years but the behaviour of X changes 
> sometimes.

don't blame X11 when perhaps 'blackbox' is not ending correctly; run a
counter-test and substitute blackbox with twm ... does X11 ends when twm
ends (having my .xserverrc)? if so try to figure out what the problem is
with blackbox;

HIH

matthias
-- 
Matthias Apitz
e  - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Xorg doesn't go back correctly to console when closed on FreeBSD 9.0

2012-04-14 Thread Matthias Apitz
El día Friday, April 13, 2012 a las 08:10:09PM +0700, Erich Dollansky escribió:

> I did but it is too short to see the error. After creating this file, I tried 
> to close X and got into the usual problems. It seems that X does not switch 
> properly back to console video mode (whatever name it has). I switched then 
> to twm and ran into the same problem. Of course, this could have been caused 
> by blackbox from the run before.
> 
> I checked the log files but could not see something which could be the reason 
> for the problem.
> 
> If you tell me what I could do, I could try to find the cause of the problem.

Show us /var/log/Xorg.0.log with the hanging X (just go to another alpha
console or login remotely);

check the proc hierarchy in your system, mine is like this:

$ ps axl | fgrep 2194
 1001  2194  2176   0  47  0  10844   1980 wait   I+v00:00,01 xinit /ho
0  2195  2194   0  45  0 322240 312608 select S v03:53,80 X -nolist
 1001  2198  2194   0  76  0   9896   1740 wait   I v00:00,05 /bin/sh /
$ ps axl | fgrep 2195
0  2195  2194   0  45  0 322240 312608 select S v03:54,22 X -nolist
$ ps axl | fgrep 2198
 1001  2198  2194   0  76  0   9896   1740 wait   I v00:00,05 /bin/sh /
 1001  2257  2198   0  44  0   9752   1260 nanslp S v00:00,29 kwrapper 
$ ps ax | fgrep 2198
 2198  v0  I  0:00,05 /bin/sh /usr/local/bin/startkde

i.e. xinit (2194) launches X (2195) and a shell (2198) for startkde;
which process does not terminate for you;

    matthias 
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


mounting ext2fs

2012-04-18 Thread Matthias Apitz

Hello,

I'm trying to mount an ext2fs in 10-CURRENT with:

# fdisk /dev/da0
*** Working on device /dev/da0 ***
parameters extracted from in-core disklabel are:
cylinders=486 heads=64 sectors/track=32 (2048 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=486 heads=64 sectors/track=32 (2048 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 131 (0x83),(Linux native)
start 235, size 996117 (486 Meg), flag 80 (active)
beg: cyl 0/ head 3/ sector 47;
end: cyl 988/ head 7/ sector 7
The data for partition 2 is:

...
# mount -t ext2fs /dev/da0s1 /mnt
mount: /dev/da0s1 : Invalid argument
# ls -l /dev/da0s1
crw-r-  1 root  operator  0x66 18 abr 11:33 /dev/da0s1
# kldload ext2fs
kldload: can't load ext2fs: File exists

What I'm doing wrong. The filesystem itself is fine in Linux.

Thanks

    matthias

-- 
Matthias Apitz
e  - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: mounting ext2fs

2012-04-19 Thread Matthias Apitz
El día Thursday, April 19, 2012 a las 09:42:22AM -0700, per...@pluto.rain.com 
escribió:

> "Julian H. Stacey"  wrote:
> 
> > > what does lsvfs show ?
> >
> > Maybe try: dd if=/dev/da0s1 count=20 of=/tmp/t ; file /tmp/t
> > (it show interesting stuff on my /xp  anyway ).
> 
> Easier:  file -s /dev/da0s1

gives now:

# file -s /dev/da0s1 
/dev/da0s1: Linux rev 1.0 ext2 filesystem data (mounted or unclean)

and /dev/da0s1 is mounted:

# mount | fgrep /dev/da0s1
/dev/da0s1 on /mnt (ext2fs, local)

the problem with (this) cardreader seems to be that the card must
already inserted at boot time; a later switch to another card, for
example from a card with 'msdosfs' to a card with 'ext2fs', gives the
problem in my first mail; don't know if this is a bug or feature :-)

ext2fs.ko is loaded automagically by mount(8); I do not load it at boot,
but after the mount(8) it was loaded;

matthias
-- 
Matthias Apitz
e  - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: mounting ext2fs

2012-04-19 Thread Matthias Apitz
El día Thursday, April 19, 2012 a las 08:29:52AM -0600, Warren Block escribió:

> On Thu, 19 Apr 2012, Matthias Apitz wrote:
> 
> > the problem with (this) cardreader seems to be that the card must
> > already inserted at boot time; a later switch to another card, for
> > example from a card with 'msdosfs' to a card with 'ext2fs', gives the
> > problem in my first mail; don't know if this is a bug or feature :-)
> 
> Try forced retasting after loading a card.
> 
>true > /dev/da0

What do you expect exactly from this command? The actual shell will open
/dev/da0 for writing + truncating and will connect (dup) its fd 1 to it;
then it will execute 'true', perhaps as buit-in; so what?

thanks

matthias
-- 
Matthias Apitz
e  - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


converting UTF-8 to HTML

2012-04-20 Thread Matthias Apitz

Hello,

Is there something in the port to convert UTF-8 text to HTML encondings,
like:

$ echo ü | iconv -f utf-8 -t html
ü

of the encondings in hex based on the codepoint?

Thanks

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: converting UTF-8 to HTML

2012-04-21 Thread Matthias Apitz
El día Saturday, April 21, 2012 a las 07:34:44AM +0100, Matthew Seaman escribió:

> www/tidy-devel
> 
> (which is effectively a fork of the original www/tidy project, and has
> quite a lot of new functionality)
> 
> If you specify 'ascii' for the output format, it should generate
> appropriate character escapes.

Thanks; it works fine if one specifies utf8 for input and ascii for
output in a config file .tidy like:

$ cat .tidy
output-xhtml: yes
add-xml-decl: no
doctype: strict
input-encoding: utf8
output-encoding: ascii
indent: auto
wrap: 76
repeated-attributes: keep-last
error-file: errs.txt

Then you can run and get valid ASCII HTML style, for example:

$ echo 'ΜΙΣΟ ΛΙΤΡΟ ΑΘΩΣ ΚΟΚΚΙΝΟ ΠΑΡΑΚΑΛΩ' | tidy -config .tidy 

http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>

http://www.w3.org/1999/xhtml";>

  

  



  ΜΙΣΟ ΛΙΤΡΟ
  ΑΘΩΣ
  ΚΟΚΚΙΝΟ
  ΠΑΡΑΚΑΛΩ



This is exactly what I was looking for. Thanks

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: converting UTF-8 to HTML

2012-04-21 Thread Matthias Apitz
El día Saturday, April 21, 2012 a las 11:06:42AM +0200, Erik Nørgaard escribió:

> On 21/04/2012 08:29, Erik Nørgaard wrote:
> > Browsers understand UTF-8 perfectly, simply add 
> > to the html header.
> 
> Obviously I can't know what your project is, but you'll save yourself 
> heaps of problems sticking to UTF-8, in particular if you plan on 
> implementing any search functionality or have users submit content. 
> Enforce and stick to UTF-8.

Well, it is no 'project'. I'm writing a diary of what's going on in my
life. And still doing it in ISO 8859-1 environment, but in HTML to
include pictures etc. ISO 8859-1 is still fine for it because I do it in
Spanish for some reasons, and ISO 8859-1 have enough chars, even the tilded
ones like áíóñ... but sometimes I need to include a phrase in another
language, Russian or Greek, or whatever (see the other mail). And so it
is nice to translate this to HTML encodings in ASCII.

That's all.

> When characters show up wrong in the users browser it's usually because 
> the browser is set to use a non-UTF-8 charset by default such as 
> windows-1252, the web server sends the charset=ascii in the http header 
> and there is no or incorrect meta tag to resolve the problem. Non UTF-8 
> charsets are a leftover from last millenia that we sometimes still choke 
> on .. sorry the rant ;)

We all here are leftover from last millenia. :-)

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: keyboard latency from time to time

2012-05-10 Thread Matthias Apitz
El día Monday, April 09, 2012 a las 07:06:59PM +0200, Matthias Apitz escribió:

> Months later, in some other issue, I learned about the feature of KDE
> "slow keys" and what I have described is exactly the same behaviour and
> I can now even reproduce this with just pressing and holding down the
> Shift-key for around 8 secs; when it happens one must go to the KDE
> Control Center and activate 'slow keys' (yes, they are not shown as
> activated in this moment) and deactivate 'slow keys' again, and all is
> fine.

I was curious and digged deeper into this...

"slow keys" is part of the X11 XKB-protocol (details in XKBproto.pdf or
XkbGetSlowKeysDelay(3) man page; in the ports there is ports/x11/xkbset
utility and with this one can set the "Slowkeys acceptance delay" (time
in ms the X server awaits a key is hold down before sending out the
keypress event) or to switch it off again:

$ xkbset slowkeys 500  # to switch in on and set 500ms delay
$ xkbset -slowkeys # to switch it off again

HIH

matthias
-- 
Matthias Apitz
e  - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


  1   2   3   4   5   6   >