[Announcement] TeX Live 2011: Extended FreeBSD support

2011-07-22 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

Dear FreeBSD community,

Yesterday, Karl Berry announced the release of TeX Live 2011:

  http://tug.org/pipermail/tex-live/2011-July/029711.html

For those of you who use the official distribution, we arranged
everything so that TeX Live 2011 should work on FreeBSD 7, 8 and 9
(i386 and amd64) out of the box.

However, there are some special cases; like the previous year I
prepared the Extended FreeBSD support page:

  http://anthesphoria.net/FreeBSD/TeXLive-2011/bin/

These special cases include FreeBSD 8 and 9 users who need applications
such as asy and xindy, and users of older FreeBSD releases (5 and 6).
Please refer to README.txt for the detailed info.

A special note for users of biblatex: FreeBSD binaries of the
next-generation biblatex backend, biber, are included in TeX Live 2011.
An additional support for biblatex-biber users on older FreeBSD releases
is available as well:

  http://anthesphoria.net/FreeBSD/Biber/

Since biber is a Perl script that relies on many newer-than-ported and
not-yet-ported Perl modules, this is currently the only easy way to run
biber on FreeBSD.

- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.17 (FreeBSD)

iJwEAQEDAAYFAk4pwnsACgkQ/MM/0rYIoZiTFgP+Oq6Eonjesoi26pBjmLu4Lg3a
E8HSUcOsVtmnBTIb/UBCAujC3P6vUGaaUQM28UCZ1cmZbl/1k54V3wiGCr4YdFc7
r9kdFPWmCgOWLX0PWcPhuOilmdhz3/h9D0fQYct4r80y2kjg/7TpOd+Tdqnd48z+
rxeY/A8QK1wjD31I3Co=
=Myto
-END PGP SIGNATURE-
___
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: TexLive on FreeBSD 8.1

2010-08-02 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Mon, 2 Aug 2010 18:54:43 +
Antonio Olivares olivares14...@gmail.com wrote:
 
 Sorry to ask, but you mention that the new TeXLive 2010 will be
 released this summer.  Do you know *when exactly* it will be released?

TeX Live and FreeBSD share the same principle: a release will be out
when it is ready. No deadlines:

  http://tug.org/pipermail/tex-live/2010-July/026779.html

TL2010 pretest is currently at the stage of final testings.

 I am also hoping that if use either the pretest one, or the official
 release, that *it*(The install procedure) also setup the paths,
 otherwise one has to do this manually :(
 [...]

Ok, so you would like an installation procedure without need to change
PATH and other env vars and without installing binaries manually? The
following comes to mind (unfortunately, you must deinstall all traces
of teTeX from FreeBSD ports first, but I think you can easily maintain a
teTeX-free installation):

(1) download TL2010 pretest tree:
rsync -a --delete --exclude=mactex* 
rsync://ftp.cstug.cz/pub/tex/local/tlpretest .
(don't forget the final dot)

(2) run
./install-tl -gui
(you'll need x11-toolkits/p5-Tk for GUI)

(3) find the last option, Create symlinks in system
directories (which is no by default) and click Change; in the
small window, check create symlinks in standard directories.

(4) Click Install TeX Live.

That's all. You'll have FreeBSD binaries; no need to change PATH since
all TL binaries, manpages, etc. will be linked from /usr/local/bin/ etc.

Hope this helps,
- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (FreeBSD)

iJwEAQEDAAYFAkxXGiIACgkQ/MM/0rYIoZjMAwQAgxBnnjY7FFSwBnClOf8Ktn1C
KF2Jx4Q8osgXJ9Z7GyudXqGDC3y3LvmnYDTpGilm39kUuIuxNohidkD46iyz79QO
n0LM6ewrDW4pd76JikKH5v1cDmUq/6dnOxaGe/H/95Br79vsQQbXErkHO9s+mHAt
YY0nCAaS2tT/3s740WA=
=JoRc
-END PGP SIGNATURE-
___
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: TexLive on FreeBSD 8.1

2010-07-25 Thread Nikola Lečić
On Sat, 24 Jul 2010 19:51:55 +
Antonio Olivares olivares14...@gmail.com wrote:
 
[...]
 Don't want to add insult to injury or offend anyone, I just want to
 see how installing texlive on FreeBSD can be made easier?

TeX Live 2010 will support FreeBSD (i386 and amd64). It will work out
of the box for FreeBSD 7 and 8. The TL development tree is frozen now
and the release will be out during summer.

If you can't wait, you can use TeX Live 2010 pretest, it's pretty stable
and most likely identical to the release:

  http://tug.org/texlive/pretest.html

If you need binaries for FreeBSD=6, please visit these pages:

  http://anthesphoria.net/FreeBSD/TeXLive-Devel/bin-r19416/

(r19416 is TL2010 build).

A reply to all people that wrote about how big TL is: TeX Live is a
_distribution_, not a single piece of software. It has its own package
manager, tlpkg. You can use it to remove anything you don't need after
install. The TL installer supports installing various schemes. If you
need a minimal TeX, you can choose scheme minimal, it's actually much
smaller than teTeX.

Please read TL Guide, it's very useful and can answer all your
questions:

  http://www.tug.org/texlive/doc/texlive-en/

Best wishes,
-- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B



signature.asc
Description: PGP signature


Re: Secondary DNS or BSD Server space

2008-12-19 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Fri, 19 Dec 2008 10:15:33 -0800
pete wright nomadlo...@gmail.com wrote:
 
[...]
  There was a thread on this just the other day here.  Not sure if
  they are BSD-based, but both dyndns.org and zoneedit.com offser
  secondary service for practically nothing.
 
 I'm %99 sure that dyndns.org is FBSD based.  I've been using them for
 a while now and am quite happy with them too.  if you check out their
 jobs board there are openings for FreeBSD engineers:

DynDNS is FreeBSD based, ZoneEdit is not:

  http://searchdns.netcraft.com/?position=limitedhost=dyndns.com

  http://uptime.netcraft.com/up/graph?site=dyndns.com

  http://searchdns.netcraft.com/?position=limitedhost=zoneedit.com

  http://uptime.netcraft.com/up/graph?site=zoneedit.com

- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iJwEAQEDAAYFAklL72wACgkQ/MM/0rYIoZiqnAP/SFi5UwDec1/EZ1u4BGVAthyF
E33tebKZ9nkngU0GWtbWeSFCc21hG+MRySE9sY+h+8yEVjuxganeEnqJZH8QLRfF
NTkEJ1bZijK2bbaxU/E6wi/N7M0KtF8FWSzWGyOAvf7SJvY5xFfbahQLc1iLjUNO
HRnbtUrRPoIxWYp/izU=
=9VkX
-END PGP SIGNATURE-
___
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: listserver problems?

2008-12-18 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Thu, 18 Dec 2008 06:47:01 -0500
Michael Scheidell scheid...@secnap.net wrote:
 
 might be generic listserver issues, but I noticed that at least on 
 freebsd-jail list, it does NOT strip out dkim/domainkeys signatures.
 
 that might not be to bad, but it does 'mung' the headers, so dkim
 signed email passed through freebsd mailing list server comes back as
 a forged signature.

Three objections to your DKIM signature:

(1)

Your canonicalization is relaxed/simple, i.e. the mail is signed with
simple bodycanon:

  DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=secnap.net; h=

That's why you have

  Authentication-Results: [...] dkim=neutral (body hash did not verify)
header...@secnap.net

- -- the list software appends some lines at the end of mail. You should
use 

  Canonicalization relaxed/relaxed

in dkim-filter.conf or

  milterdkim_flags=-c relaxed/relaxed

in rc.conf if you use Sendmail. (See headers of my mail.)


(2)

You have Received header field included in the signature, while
RFC4871 states that it SHOULD NOT be the case:

  http://tools.ietf.org/html/rfc4871#section-5.5


(3)

You do not specify body length (l= in DKIM header). According to

  http://tools.ietf.org/html/rfc4871#section-3.4.5

it could be a good idea to use it, especially when mailing lists are in
question.


In total, mailing list owners don't have an obligation to strip DKIM
signatures. Instead, other methods can be used on both sides, see
section 4.1.

HTH
- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iJwEAQEDAAYFAklKV2MACgkQ/MM/0rYIoZhsnwQAowQy2nwd3IVYMtv9p7PVaoGZ
FQPpZZse/6PFi3KeegZcbOBFhOcNV3DzATt3z+VXdVYybajRXArj7WJtyEI2shGn
ssBmBdkD1bpoRzgf7jNYj6a9w8cVS/BC7gl07GBIhILEGLnpG8bjj7MtWhynj9SB
vn8jT/XF4QEKmDJSUwk=
=1fpm
-END PGP SIGNATURE-
___
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: Video driver

2008-12-18 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Thu, 18 Dec 2008 09:39:17 +0100
Alain BATARD a.bat...@forteam.fr wrote:
 
 I am M. Alain BATARD and i work in a formation center.
 For my Unix course i use Freebsd (V 7), we recently change our
 computers for laptops (Compaq 6820s) these computers are equipped
 with integrated video : ATI Mobility Radeon X1350, after looking for
 drivers to launch Xorg, i can only use the very poor video in VGA
 mode, is there any possibilities to find the good driver even by
 using xorgconfig or manually ?

With Mobility Radeon X1350 on FreeBSD you will get the best results
using x11-drivers/xf86-video-radeonhd (Driver radeonhd in xorg.conf):

  http://cgit.freedesktop.org/xorg/driver/xf86-video-radeonhd/plain/README
  http://www.x.org/wiki/radeonhd

(The closed-source fglrx driver is provided for Linux only.) The
instructions on how to configure X:

  http://www.freebsd.org/doc/en/books/handbook/x-config.html

HTH
- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iJwEAQEDAAYFAklKncIACgkQ/MM/0rYIoZihywP+JPYa6B0NSGLL6MdV92vAaMjs
cNhNMqNrSQ7gTkFDr65sE4quyczuV4eL8RfX11WnmlWPl80hP3SHxfKLwrHgJDbd
N0RUx/xDLWmjkSbuBhS1y2WgK7SrM4+kSZ3/97uFj8VMcN3/fHA5udSOuRwp/P3x
YaHbZS03x0KRIvA+g9Q=
=nw9Y
-END PGP SIGNATURE-
___
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: imagemagick convert: japanese text broken in freebsd

2008-12-14 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Sat, 13 Dec 2008 20:20:23 -0800 (PST)
cuongvt free...@vuhanhnhu.com wrote:

 Hi,
 I know that IM support japanese text.
 On Freebsd 7.0 with latest imagemagick built from port (6.4.7) and
 msgothic.ttc copied from windows partition,
 imagick extension of PHP installed by pecl.
 in terminal (zsh) I type:
 
 convert origin.jpg -fill white -font
 /usr/X11R6/lib/X11/fonts/TrueType/msgothic.ttc -pointsize 125 -stroke
 blue -strokewidth 1 -draw text 20,130 'がくせい' straight.jpg
 
 IM did not informed any error, but the result is japanese text broken
 (question marks).

Hello,

It works for me with ImageMagick-6.4.5.5 and ImageMagick-6.4.7.5.
First, please make sure that the cause of the problem is not something
simple, i.e. make sure that

  a) you don't have a wrong /non-UTF-8/ locale (not very likely since
 you wouldn't get question marks);

  b) you compiled ImageMagick with IMAGEMAGICK_TTF and
 IMAGEMAGICK_FONTCONFIG.

If these are the case, then it's almost certain that fontconfig is
somehow confused with that Microsoft font. For example, see this
thread on XeTeX mailing list about Microsoft YaHei font:

  http://www.tug.org/pipermail/xetex/2007-May/006539.html

If you use -text directive without -font specified, ImageMagick will
use the fonts from

  /usr/local/lib/ImageMagick-6.4.7/config/type-ghostscript.xml

and this will produce question marks with Japanese UTF-8 string, which
seems to be the case. So, if you don't want to use some free
non-Microsoft font, you can try to do this:

  1) Regenerate fontconfig cache ('fc-cache -f -v' as root).

  2) Check if MS Gothic is visible to ImageMagick, i.e. try

   %convert -list font

 The output should contain

   Font: MS-ゴシック-標準
 family: MS ゴシック
 style: Normal
 stretch: Normal
 weight: 400
 glyphs: /path/to/msgothic.ttc

 in ja_JP.UTF-8, or

   Font: MS-Gothic-Regular
 family: MS Gothic

 in en_US.UTF-8 locale.

  3) Then try

   %convert orig.jpg -font MS-ゴシック-標準 -verbose -fill white \
 -pointsize 125 -stroke blue -strokewidth 1 \
 -draw text 20,130 'がくせい' straight.jpg

 if you use ja_JP.* locale (-font MS-Gothic-Regular if you use
 en_US.UTF-8 -- note that the command is locale-sensitive) and see
 if this makes any difference.

Best regards.
- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iJwEAQEDAAYFAklFVtMACgkQ/MM/0rYIoZin4wP/Zhlf++1GS8jWitrcT0wq0Rkr
cROjjb0DOusXnZnq9LdWac3kjOv5mAUENu7jVy+9rGqvmGhDFkgBi4/mBrcSePGv
cTzSMqsWAeeF+JTizyqJCyRjaz2iOuEjQ1y6zvkOj5D9EE+udXmR6BE7u3HdgZKL
mknYg8Y4ARyu1N+tiOw=
=W84X
-END PGP SIGNATURE-
___
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: imagemagick convert: japanese text broken in freebsd

2008-12-14 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Sun, 14 Dec 2008 10:03:18 +0100 (CET)
Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote:
 
 NTG
 please do ask on imagemagick support!

Interestingly, he did (and, as it appears, before you replied):

  http://www.imagemagick.org/discourse-server/viewtopic.php?f=1t=12713

There are some of us here who are interested in all things related to
Unicode and complex scripts questions; we are interested to have such
things working on FreeBSD. The OP's question was very interesting to me
_as a FreeBSD user_. You are of course not obliged to reply at all.

The fact that people often get better replies about application X
running on FreeBSD on FreeBSD list than on a native list/forum reveals
something good about FreeBSD community IMHO.

Best regards.
- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iJwEAQEDAAYFAklFW9AACgkQ/MM/0rYIoZhMNQQAn9qEQwOEw3aNwTG7quq+KbnX
z7tp0dDevcooHbEkWTLqf24D8OiFrjl1dyC7zuE9Wwe3fAGKjVWbYBtshTW0Yusk
CbARjQCq85JKAz0LUmTJChJWCmbwy0M4SSNYJ20F/aX2lbFcEUGKL3pZudMWu+tj
npo9qKOF+jvjS0P3Vr0=
=0IHu
-END PGP SIGNATURE-
___
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: Localized menus in firefox3 ?

2008-11-23 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Sun, 23 Nov 2008 15:46:19 +0100
Peter Ulrich Kruppa [EMAIL PROTECTED] wrote:
 
 Hi,
 
 I would like my firefox3 menus in german.
 With firefox2 I could install the firefox-i18n port and select 
 german in the Quick Locale Switcher.
 
 What would I have to do with firefox3? - I tried firefox3-i18n 
 but menus will always stay english.

Hi Peter,

You can install language packs directly from

http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.0.4/linux-i686/xpi/

(change the version number in the URL if needed). The additional
languages should be accessible through Tools - Languages.

HTH
- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iJwEAQEDAAYFAkkpd6AACgkQ/MM/0rYIoZju8AQArnUB3FtGIlqDedQVPopc4VDF
mryCX0ZwYq8DObJuU+UOT5kyI0FRTYgSXNadjUerzsnfdLrfodtkhkuIfmzc4RBx
32sp4jlUjqLf+POfVfBtsYFW/0u6qYdY8g4VPxzJlYWoPE6aAwBVILcxvdWWdL/i
dMoP0ojYls4tqLWhvWQ=
=DR/0
-END PGP SIGNATURE-
___
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 Xfce console

2008-11-16 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Sun, 16 Nov 2008 07:35:32 +0100
Bernt Hansson [EMAIL PROTECTED] wrote:
 
 Nikola Lečić said the following on 2008-11-15 17:13:
  On Sat, 15 Nov 2008 16:43:06 +0100
  Bernt Hansson [EMAIL PROTECTED] wrote:
   
  For me it's just xfce with option Virtual.
  if I omit Virtual xfce works fine but not any other WM.
  Strange.
  
  Can you try x11-drivers/xf86-video-radeonhd (Driver radeonhd)?
 
 Yes I was thinking about that one but was not sure if it was another 
 driver or just a rename. I test it when I get back to work.

They are not the same driver, radeon is a pretty basic thing while
RadeonHD is a driver based on the specifications revealed by AMD. They
constantly continue to open new data so the driver is improving pretty
fast. For now it has even a basic 3D functionality and it could replace
close-source fglrx driver in the future.

  http://www.x.org/wiki/radeonhd
  http://www.phoronix.com/scan.php?page=articleitem=842num=1

In my experience either fglrx (on Linux) or radeonhd always improved
things.

- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iJwEAQEDAAYFAkkgG7IACgkQ/MM/0rYIoZhthgQAwCJUzVdV+AhCobB4Z9lh5CSw
czAF7nqZyyRwyHh9qVXH0URn6N2C2TNl7/xXor6xzuht64cyfMRWBNTgPSacG1mh
2OURrCyspk8T3k9CQTDYuf4LK4zgZuFH9r4XdwgDQow0SU/6M71tLUpNHccXougl
NZjGaNHVuIr5iyaABOY=
=yGxo
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: High Noonn DVD??

2008-11-16 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Sun, 16 Nov 2008 16:08:27 +0100
Fabian Keil [EMAIL PROTECTED] wrote:
 
 Nikola Lečić [EMAIL PROTECTED] wrote:
 
  On Sat, 15 Nov 2008 14:46:00 +0100
  Roland Smith [EMAIL PROTECTED] wrote:
  
   OK, that's nice to know. All the DVDs that I have play fine with
   mplayer, but they're probably all region 2 disks. So I should be
   able to play region 1 disks with mplayer?
  
  That's exactly what I am trying to do at this moment, with no
  success. I'm in the region 2 and I set my DVD drive accordingly
  (with a small C programme). Now I got some region 1 DVDs and
  libdvdcss is not sufficient as such.
 
 Which programs did you try?
 Do you get an error message?

I tried mplayer, vlc and ogle and experienced the same symptoms like
when this DVD drive was in virgin state (with no region-code set) and
when I tried to play normal region 2 DVD, which means:

  * vlc - no output at all
  * mplayer - sound ok, video scrambled in colourful squares, producing
a lot of errors like this:

a52: CRC check failed!  0.046 ct: -0.029  21/ 18 11%  1% 23.4% 0 0 
a52: error at resampling
A:   1.5 V:   1.7 A-V: -0.197 ct: -0.036  23/ 20 11%  0% 22.8% 0 0 
demux_mpg: 24000/1001fps progressive NTSC content detected, switching framerate.
a52: CRC check failed!  0.045 ct:  0.100  34/30 ??% ??% ??,?% 0 0 a52: error at 
resampling

  * ogle - the flood of these kernel messages with syslogd eating a lot
of CPU:

Nov 16 22:21:58 black kernel: acd0: setting up DMA failed
Nov 16 22:21:58 black kernel: ata2: FAILURE - non aligned DMA transfer attempted

After setting the region of my DVD drive to 2, I never experienced
such errors (after uncountable number of local DVDs) until I got there
region 1 ones. That's why I was so confident that libdvdcss is a
problem.

 Can you rip the disc with vobcopy?

No, the same as with ogle.

 Did you try playing or ripping the discs on a GNU/Linux system?

Hmm, my home is currently FreeBSD-only. :-) But I managed to try it and
- -- yes, it works. Strange. In the light of your post about LITE-ON
DVDRW LH-20A1S 9L08, is it possible that DVD drive causes all these
problems?

- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iJwEAQEDAAYFAkkgoGAACgkQ/MM/0rYIoZgWgAP/W6bb0u0RgxOL2FfMME3PVdQN
71hTZ7UbVWmfmNlQsySPZUHGUBe8QhJ94k8Ug2Bu383ikUNLuPGMXXRF3YCazcMD
pHT2XL+uyDdpOkbJCcKYGUplkf74dEPmVsBuXT7qnRQ5LKcn9UxvZvMktm1d+b5F
SgCSjx6+6waNnm3CiFI=
=lK2s
-END PGP SIGNATURE-
___
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 Xfce console

2008-11-15 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Sat, 15 Nov 2008 16:43:06 +0100
Bernt Hansson [EMAIL PROTECTED] wrote:
 
 For me it's just xfce with option Virtual.
 if I omit Virtual xfce works fine but not any other WM.
 Strange.

Can you try x11-drivers/xf86-video-radeonhd (Driver radeonhd)?

- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iJwEAQEDAAYFAkke9UoACgkQ/MM/0rYIoZgqEgP/Yci3kiuxqChwxX0EwMQHt2HN
ReAVFCAaE+TcKdwqUh195V56Kj33TCEK1ut/AnOt8/8hjt5OYrPvynJ5gY/PtLbX
3e2i7bG3B7zeRhUM3MoblhWn4vaDQh7GN2fi5PWbNanHZCzB369wyoHc4zjoiHGb
FkuXYSYCs93EbFJP4l8=
=9DE8
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: High Noonn DVD??

2008-11-15 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Sat, 15 Nov 2008 14:46:00 +0100
Roland Smith [EMAIL PROTECTED] wrote:

 OK, that's nice to know. All the DVDs that I have play fine with
 mplayer, but they're probably all region 2 disks. So I should be able
 to play region 1 disks with mplayer?

That's exactly what I am trying to do at this moment, with no success.
I'm in the region 2 and I set my DVD drive accordingly (with a small C
programme). Now I got some region 1 DVDs and libdvdcss is not sufficient
as such. Of course, I can change DVD drive region setting temporarily,
but the drive allows just 4 or 5 such changes. Does anyone know how to
avoid this counting?

- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iJwEAQEDAAYFAkke938ACgkQ/MM/0rYIoZgQeQQAly3K3sfJ2/bI3GgaMA7Hpm0x
jPggeF/HTJ+ayrF6Sb7ishEk2I10W2Kt/+N7vYLHXRrddTz8ITrYH/pfNqIAsOjP
cLhIFlH0yHo8fVOa+RF12FaBA6cFbr1HvY/bvwW1WxCFu5Q4LEVlUjuZkcvakawM
FGByZjnfZCHiJkNGBhM=
=rCQe
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: High Noonn DVD??

2008-11-15 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Sat, 15 Nov 2008 18:23:05 +0100
cpghost [EMAIL PROTECTED] wrote:
 
 On Sat, Nov 15, 2008 at 08:41:21AM -0800, Jeremy Chadwick wrote:
  On Sat, Nov 15, 2008 at 05:23:23PM +0100, Nikola Le??i?? wrote:
   On Sat, 15 Nov 2008 14:46:00 +0100
   Roland Smith [EMAIL PROTECTED] wrote:
   
OK, that's nice to know. All the DVDs that I have play fine with
mplayer, but they're probably all region 2 disks. So I should
be able to play region 1 disks with mplayer?
   
   That's exactly what I am trying to do at this moment, with no
   success. I'm in the region 2 and I set my DVD drive accordingly
   (with a small C programme). Now I got some region 1 DVDs and
   libdvdcss is not sufficient as such. Of course, I can change DVD
   drive region setting temporarily, but the drive allows just 4 or
   5 such changes. Does anyone know how to avoid this counting?
  
  Changing the region encoding setting on your DVD drive involves
  setting a bit or code somewhere in the flash/EEPROM inside of the
  DVD drive. The limit of 4-5 changes is purely a DVD drive firmware
  thing; there's no technical limit, instead it's a limit imposed by
  the firmware.
  
  There are websites nowadays which offer hacked firmwares which
  remove region encoding altogether (or remove the 4-5 set limit).
  However, they're only available for very specific models of DVD
  drives.  If this is important to you, you should considering
  purchasing a drive that can be flashed with a hacked firmware.
 
 Check out for RPC1 modded firmwares.
 
 http://forum.rpc1.org/portal.php

Thanks! The DVD drive is

  cd0: LITE-ON DVDRW LH-20A1S 9L08 Removable CD-ROM SCSI-0 device

and it seems to be there:

  
http://forum.rpc1.org/viewtopic.php?f=26t=42777p=205896hilit=LH+20A1S#p205896

... so it means I can do something, I think. Btw, what, in the light of
all this, means the following statement from libdvdcss/pkg-descr?

  
   - Just better. Unlike most similar projects, libdvdcss doesn't
 require the region of your drive to be set.
  

- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iJwEAQEDAAYFAkkfYQ0ACgkQ/MM/0rYIoZhWRwP/dn8a7Kt2EyM9+D28+DWV+pHa
amPqGkzh17f2WRzgugiGI/KF+8gDmOUfGYl6LABqYjHk6341BvvQ5pYLw5RVa7ZV
9eDjO+P8vMyCn9AcYwiagNF8kuCBut73F5E2YZjt4wEwKciqe24YTpqiAGXy+e5A
C58UVE97XgQcZUm/N9Y=
=QsfQ
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Openoffice 3.0.0 - spellchecker not functioning

2008-11-07 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Fri, 07 Nov 2008 14:17:25 +
Craig Butler [EMAIL PROTECTED] wrote:
 
 On Thu, 2008-11-06 at 18:13 +, Mike Clarke wrote:
  I've installed en-openoffice.org-GB-3.0.0 from ports on my 6.4-RC1 
  system. The install, using the command  
  portinstall  -m LOCALIZED_LANG=en-GB -DWITH_KDE 
  editors/openoffice.org-3, appeared to complete OK and I can 
  run /usr/local/bin/openoffice.org-3.0.0-swriter but attempts to
  check spelling in a document with known spelling errors always fail
  to find any errors.
  
  The Available language modules section in Tools - Options -
  Language Settings - Writing Aids is empty, unlike my copy of
  Openoffice 2.3 which has 3 entries in this section.
  
  Should the language modules have been installed or have I missed 
  anything when installing the port?
  
 
 Hi Mike,
 
 Don't think ya missed anything, I am in the same boat...
 I also compiled with the LOCALIZED_LANG=en-GB flag.
 
 Anybody with a solution ? my spelling isn't that good so would need to
 spell check my documents.

I have sr-openoffice.org-3.1.20081009/, i.e. openoffice.org-3-devel
compiled with

  'editors/openoffice*' = [
'LOCALIZED_LANG=sr',
'WITHOUT_CUPS=yes',
'WITH_SYSTEM_FREETYPE=yes',
'WITH_SYSTEM_ICU=yes',
  ]

on FreeBSD 7.1-PRERELEASE #0: Sun Oct 12 (i386) and I have all 3
sections in Tools - Options - Language Settings - Writing Aids.

The OpenOffice.org dictionaries page says:

IMPORTANT NOTE: From OpenOffice.org 3.0 on the dictionary wizard
is not longer available -- Dictionaries are now available via
the extensions repository.

[http://wiki.services.openoffice.org/wiki/Dictionaries]

So, the OpenOffice.org-3 users are supposed to download .oxt files and
run them. However, I experienced the 'bad transfer url' problem with all
extension files; this was reported on FreeBSD mailing lists in the past
with no available solution.

Happily, the instruction from the same page (DictOOo-Wizard, intended
for OpenOffice.org-2) worked just fine in my OpenOffice-3. I downloaded

  
http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/dicooo/DicOOo.sxw

and it worked like a charm, installing Hunspell Spellchecker module and
dictionary files.

Hope this helps.

- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iJwEAQEDAAYFAkkUrO0ACgkQ/MM/0rYIoZigygQAoaoye0FYqsGtJzCBTZyXRC3M
M9WnvgbNKM5rtN8C4MCtdrtUf0yh9hckFdCd1HsQg6IiqCu0qw2iY8VpYp3++D6H
xeTYLqMV6Rs5WdsdUpZZUSvA4YfeGhkKK0J4nHNG884XKzx3moqDc3OZISN08zX3
+byFpVnii7CIFxdmFeU=
=RK8z
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fastest raw device copy?

2008-11-02 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Fri, 31 Oct 2008 14:16:38 +0100
Ivan Voras [EMAIL PROTECTED] wrote:
 
 Jeremy Chadwick wrote:
  On Fri, Oct 31, 2008 at 09:48:16AM +0100, Christoph Kukulies wrote:
 
  What would be the fastest way to do that sector by sector copy?
  I'm using dd right now,
 
  dd if=/dev/ad0 of=/dev/da0 bs=1000
 
  On the flip side, your blocksize (bs) there is quite high for no
  good reason.  I'd pick something more like bs=64k or bs=128k.  The
  default (512) is too small for what you want, but 10MBytes is silly.
 
 Not only that, but 1000 isn't even correct - it needs to be a
 multiple of sector size. Generally, using suffixes will do the right
 thing:
 
 dd if=/dev/ad0 of=/dev/da0 bs=1m

Would there be anything wrong in

  cat /dev/ad0  /dev/da0

?

- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iJwEAQEDAAYFAkkOQCsACgkQ/MM/0rYIoZjjHQQAhXi6gu5JhJjzZmE97buiZ15u
Q6AT+qvAja6cALfGAGVrzJEzljfcbe3PnBdOnn1CTYbS62EHaVWLnvOKRGrpvzFE
q/WxQ9qCRfcsSx3o6eKxfTM6d4b92ZP+d1iPotmzutQl8TbxlJxNTP9i2b6cDw6a
au6zdoApH5A6UxyaJA8=
=oFoQ
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenOffice 2.3

2008-03-27 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Thu, 27 Mar 2008 09:34:05 +0300
Mike Barnard [EMAIL PROTECTED] wrote:
 
 errors on starting up scalc
 
 javaldx: Could not find a Java Runtime Environment!

Do you have one?

 I18N: Operating system doesn't support locale en_US

There is no such locale en_US, but e.g. en_US.UTF-8; can you check it?

 [ ... ]

 errors on opening up a document in scalc after which it hangs
 
 (process:2086): GLib-GObject-CRITICAL **: gtype.c:2242: initialization
 assertion failed, use IA__g_type_init() prior to this function
 
 (process:2086): GLib-CRITICAL **: g_once_init_leave: assertion
 `initialization_value != 0' failed
 
 (process:2086): GLib-GObject-CRITICAL **: g_object_new: assertion
 `G_TYPE_IS_OBJECT (object_type)' failed

Exactly the same error messages (and some solutions) were reported in
November 2007 here:

  http://www.nabble.com/Re:-GLib-GObject-CRITICAL-td13904374.html

Of course, if you have an up-to-date ports tree, you should probably
report this to [EMAIL PROTECTED]

(BTW, there are pre-built packages for all OpenOffice versions:

  ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-7-stable/editors/

 -- have you considered trying them?)

Best regards.
- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)

iJwEAQEDAAYFAkfrp3IACgkQ/MM/0rYIoZgfZAP+Lz7x4XsrBKqSVUbvpZhpBYem
JuHH5UXWpmhdUQHfemxiimvqnnAU6lqkaOcpechoklqRj5PGn1v63K5coH/ecDs8
AiFH0+DU399QVS3m/XKV+n0+oKoMW5qSGIBuYMW2UowT1sZNWzqg5ncP8LhWparE
c212nsXGFJhJjRvdVu0=
=a2Z2
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenOffice 2.3

2008-03-27 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Thu, 27 Mar 2008 18:18:57 +
Mike Clarke [EMAIL PROTECTED] wrote:
 
 On Thursday 27 March 2008, Nikola Lečić wrote:
 
  (BTW, there are pre-built packages for all OpenOffice versions:
 
   
  ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-7-stable/editor
 s/
 
   -- have you considered trying them?)
 
 I tried this about a week ago without much success. I could get 
 openoffice.org-2.3.1_1 to run but when I tried to open an .odt with 
 writer it hung with the following errors:
 
 (process:2307): GLib-GObject-CRITICAL **: gtype.c:2242:
 initialization assertion failed, use IA__g_type_init() prior to this
 function
 
 (process:2307): GLib-CRITICAL **: g_once_init_leave: assertion 
 `initialization_value != 0' failed
 
 (process:2307): GLib-GObject-CRITICAL **: g_object_new: assertion 
 `G_TYPE_IS_OBJECT (object_type)' failed
 
 I also tried openoffice.org-2.4.20080308 from the same directory. 
 That sort of worked - I could open files but the formatting was
 wrong with lots of spaces missing. But 2.4 is still in development (I
 think) so things like that might be to be expected.

According to what can be read on the page I sent with my previous mail,
it seems to be a GTK-related issue. I confirm that all 7-stable
OpenOffice packages (including 2.3.1_1) work perfectly on my plain
7.0-RELEASE/i386 install, but with *up-to-date* ports, not with
precompiled packages shipped as a part of the release. So,

1) Update your ports, and don't forget ports/UPDATING;
2) Try OOO_FORCE_DESKTOP=gnome if you're using KDE.

- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)

iJwEAQEDAAYFAkfr6XgACgkQ/MM/0rYIoZh7ewP8CyNUX0MYsVYkxv1W8Zxn3ztz
B6ZpRp4m92/hmXVqSZXH1KEiorfW/eyMHrJcDK5nFznoNKxwtecNf07xDUeb2ehv
orZdcOMA8vX+mXNLld2jBtjAWDQe2JUuxZtcIORDi2SQOBYihFUsZ5xntYmozxyT
o8RLgqLCJJ7XL62EFh4=
=feff
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mplayer-problems

2008-03-22 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Sat, 22 Mar 2008 15:06:22 +0100
Niels Kobschaetzki [EMAIL PROTECTED] wrote:
 
 Now the video plays but the output looks scrambled and mplayer tells
 me that my machine is too slow. But even on a P3 1 GHz DVDs should
 run…especially when DivX and co can be decoded w/out any problems.
 Any ideas?

If the DVD output is scrambled you most likely need
multimedia/libdvdcss. However, don't forget that (from ports/LEGAL):

  multimedia/libdvdcss   CSS code may violate the DMCA

The best way to play DVDs in mplayer is to access them through

  mplayer dvdnav://

This way you will have a full control over DVD menus. Lastly, you can
try multimedia/ogle, which is a DVD-only player and probably handles DVD
menus better than mplayer. Ogle also needs libdvdcss.

Best regards.
- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)

iJwEAQEDAAYFAkfltMkACgkQ/MM/0rYIoZg27gQAtFS3aFuFllR5os3elU3KYndw
W0rF0Ulzf146NpvSGZ1WABTBEbuBbrRomQVZ9dXSPd1OWh7x58TP+b0ovPoeLD84
skp9OjGZjKDoTXxrngyPkyyyrdr6jOoAvfa/R4HXftTmjWQbfXOvz9y0KgHtMppa
6VGnCzhhI57u7sUiiJ4=
=/nqM
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: python ports

2008-03-20 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Thu, 20 Mar 2008 16:40:26 +0100
Andreas Pettersson [EMAIL PROTECTED] wrote:
 
 Hi.
 
 # portversion -vL=
 py24-tkinter-2.4.4_2  needs updating (port has 2.5.2_2) 
 python24-2.4.4_2  needs updating (port has 2.4.5) 
 python25-2.5.1_1  needs updating (port has 2.5.2_1) 
 
 If I upgrade py24-tkinter, will there be a new port installed instead,
 py25-tkinter? Will all dependencies work?

No, it will remain py24 unless you want otherwise. As for real moving
to python25 and/or keeping py24 versions around, you should read
/usr/ports/UPDATING (entry 20070730) and set PYTHON_DEFAULT_VERSION.

 Can I safely deinstall python24 or will it automatically get installed
 again when I decide to upgrade zope for example?

Yes, you can: the same as above.

Best regards.
- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)

iJwEAQEDAAYFAkfjOGYACgkQ/MM/0rYIoZhHqAP+IB1x7uiwZ2/szOghfUWlCmOJ
EnyGWN0teJbwudb++5h9OyToCdxjobigw4c7THIS9tSMSNq8oQwxhWTBsDTmmxOz
mu89gce/YHWqt+zIyZ9wAz+cDh2hRhu/OKifX+9ayklPpG5/sYm0UPkiQpOVxjfy
hvaJ0/gtLhL8yPqryEo=
=6EfC
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenOffice 2.3

2008-03-20 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Thu, 20 Mar 2008 10:55:56 +0300
Mike Barnard [EMAIL PROTECTED] wrote:
 
 Hi,
 
 I am running FreeBSD 7.0 Pre-Release on an HP 6720s Laptop. I am
 experiencing a strange problem with OpenOffice.
 
 Every time i open a document/spreadsheet or try to save a
 document/spreadsheet, OpenOffice hangs.
 
 When i open a spreadsheet, i get a warning message about macros, when
 i click on OK, it hangs at that point.
 
 Has any one experienced this? Any one know to resolve this.

Which gcc version do you use? I recall that someone described similar
symptoms on FreeBSD/amd64 with OpenOffice.org compiled using gcc-4.1.
It was a bug in gcc-4.1; recompiling with gcc-4.2 resolved all problems.

Best regards.
- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)

iJwEAQEDAAYFAkfjOlIACgkQ/MM/0rYIoZiHPwQAtOpouW/lPeI3qcdt5zoSqU7U
rtBOPkbhgLUgAf1u+ZkQEBDQ5ofPzkWonU39yRRsCtQbltnOHdHJfNw/VeCs5pQJ
CmxyJi3/9dhVZa0kpa4T+Ge1NsdZZWwk676jcYg5/leGLEJA4gWk6rkwY4SczDDA
zCJgsTHj1AFskL0a26k=
=ZQ+t
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: System can not boot, seems can not find right partition after add new label

2008-03-15 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Sat, 15 Mar 2008 11:26:52 +
Kemian Dang [EMAIL PROTECTED] wrote:

 [...]
 
 I can not remember whether I do something stupid, I just dd
 if=/dev/zero of=/dev/ad4s2 to write zero, then when I want to use
 bsdlabel to create new slice, but the new slice did not show up. So I
 tried sysinstall, still did not work.

What exactly did not work? You should use sysinstall (you can use
FreeBSD installation CD or liveCD), go to Configure - Fdisk, then
change slice ad4s2 type to 165 and write the changes. I should work.

Best regards.
- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)

iJwEAQEDAAYFAkfb9KAACgkQ/MM/0rYIoZiZAgQAmEk5apDER6fA5RP2Ja3Ia73m
yAQZeuaqgOaFekLnX5YbB47Hkn6EFzezIhGL22O5vsKTQjWrYpjeMZnvqfqCTloT
eLf9T8jXH4qt9yO3FNsT9RKPJWxxuzexn2f6TI6lbjTlzCzD5e5R6k2LGg7+xwZO
z8v7c9gauY7UkMsHj6Y=
=cOlO
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: System can not boot, seems can not find right partition after add new label

2008-03-15 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Sat, 15 Mar 2008 22:16:58 +
Kemian Dang [EMAIL PROTECTED] wrote:
 
 Problem is the boot partition can not be found.
 I burned a install cdm using it I find I have set ad4s2 to be
 bootable, so I changed it back.
 But this time, the system said I have missing something on boot...

If you now see ad4s2a but cannot boot, you most probably need 
'bsdlabel -B /dev/ad4a2' to install the proper bootstrap code there
(see bsdlabel manpage).

- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)

iJwEAQEDAAYFAkfcT9kACgkQ/MM/0rYIoZh6VAP/UtaQaQ97nfOC7HzHgTIvr8zQ
ySi82qffZsqBqQtkZdSsBcfaUeMlC7Oxl5MmHYXY47DJVNzLUXDQhbgyGhWrfBBo
62bpZgaLu63lf1lgKV+er3OGIZe+i3b1jAFpYTAjYzt/CMiPHzAoByXoXIA9PFBV
6o+fKdD4F43emgpNRO4=
=VmTq
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what is the meaning of optimization changed from TIME to SPACE

2008-02-19 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Tue, 19 Feb 2008 10:21:18 -0500
Bill Moran [EMAIL PROTECTED] wrote:
 
[...]
  ivan dimitrov wrote:
   After upgrading from freebsd-5.5-R to 6.3-R, I get the following
   message in dmesg:
  
   /storage/pub/www/ram: optimization changed from TIME to SPACE
[...] 
 UFS normally optimizes file placement for performance.  Unfortunately,
 in order to do this it has to write files in such a way that it
 sometimes wastes some space.  When the partition gets close to full,
 FreeBSD automatically switches to space optimization which doesn't
 waste any space, but doesn't perform as well.
 
 The short answer is, This is happening because your partition is too
 close to full.  It's not an error, but you should clean up some files
 or add space.
 
 It also has nothing to do with the difference between 5.5 and 6.3.

It seems that man pages (such as newfs(8) and tunefs(8)) don't have a
lot of details about this matter. OP can also read this very informative
post regarding disk fragmentation and time/space optimisation:

  http://lists.freebsd.org/pipermail/freebsd-stable/2007-April/034711.html

Regards.
- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)

iQCVAwUBR7s+0fzDP9K2CKGYAQP7FQQAyrGPKIlbUCNPlasIpQJNAiJXYG7soOlG
aj7ZpeL+Cnq/5EKT50TF9kc7tXvAOv9IrNsu6xg8QBe6gQVJJ/b56cKcZ48eC77y
Pd+RXi/d1lweNZ9PSPqNpcsLvTrl/xnx4KOW7/E1jwFvufD01mgAsYDdVwa7KGrz
Ky3Lv5ZlOLA=
=5Thf
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: what happened to linuxflashplugin?

2008-02-11 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Mon, 11 Feb 2008 15:40:34 +0100
Heiko Wundram (Beenic) [EMAIL PROTECTED] wrote:
 
 Read this (in the license agreement):
 
 ...
 For the avoidance of doubt, no embedded or device versions of the
 above operating systems, or any other operating systems, are included
 as Authorized Operating Systems.
 ...
 2.1You may install and use the Software on a single desktop or
 laptop computer that runs an Authorized Operating System. A license
 for the Software may not be shared, installed or used concurrently on
 different computers. 

Actually, flash used to run on FreeBSD's Linux compatibility layer; does
that count as embedded or device version of Linux? If yes, does the
same go for Wine on FreeBSD?

If yes again, what about Wine on Linux? Even on Linux, win32-firefox
with win32-flash (within Wine) run much better than Linux-flash itself.

 This is another reason why Flash is bad, bad, bad. Am I repeating
 myself?

Agree here, but open-source friendly companies that promote the use
of flash are much worse. As it seems to be, the reason why people want
to use flash on FreeBSD is youtube in most of cases.

Best regards

- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)

iQCVAwUBR7BmnPzDP9K2CKGYAQNTvwQA08QlX32hlymb/p9L41STWZyh+c5e6f53
64RrvfB8ir7bu7WKHwFxTS8JNAkgTCD3GFw2fk4Gz1f/KcBAe2MT3bcLyiL8wVOw
+nmMaHzusM/z6HR3WIcA4W1cwIpS4yXypBQiy6E+RLPOZBQHqMPddcBfcdEa2lpj
77VQrzBriJE=
=Fnra
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: what happened to linuxflashplugin?

2008-02-11 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Mon, 11 Feb 2008 23:31:05 +0800
Erich Dollansky [EMAIL PROTECTED] wrote:
 
 Nikola Lečić wrote:
[...]
  Agree here, but open-source friendly companies that promote the
  use of flash are much worse. As it seems to be, the reason why
  people want to use flash on FreeBSD is youtube in most of cases.
 
 YouTube? Isn't the right spelling YouPorn?

No, it isn't. If you find nothing worth watching on *You*Tube, it
doesn't mean that others can't find interesting things. For example, I
find there a lot of good and difficult-to-find material from some fields
of art.

(Can anybody comment on my questions regarding Wine and Linux
compatibility layer...?)

- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)

iQCVAwUBR7CrUPzDP9K2CKGYAQPcigP/eQxtAKsCPdoQxnNxbj7ho5XZFbpzgkcJ
B0jov5NBs7EPzaxWA7W5qM60MM7K6uPTkil1TbRnkaanH5JTiir04RbwaqNo1NBl
8ZtVaKp50UgBzDhKctYk5PRhDAP4+CTtGzCyzQ7z5H3R2dHVzh3ZiC/vTFGvL6w1
qq4yzpqbAe8=
=OitZ
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: is there a 2.3.x package for OO?

2008-02-07 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Wed, 6 Feb 2008 18:44:29 -0800
Gary Kline [EMAIL PROTECTED] wrote:
 
 On Wednesday 06 February 2008 15:37:18 Nikola Lečić wrote:
  On Wed, 6 Feb 2008 15:20:53 -0800
 
  Gary Kline [EMAIL PROTECTED] wrote:
   To cut down my email I unsub'd to the OOo mailing list, so I'll
   ask here if there is a new package of the latest or near-latest
   that I can set off at night and have it installed by morning.
   Any exact URL's would be a great help.
 
  Hi Gary,
 
  The best place for the most recent information:
 
http://porting.openoffice.org/freebsd/
 
  A note: if you plan to install OOo-2.3.X packages from good-day.net
  on 6.X, you'll probably have to install gcc = 4.2 yourself.
 
  Best regards.
 
 Thanks Nikola.  I just checked and found the latest is 2.3.0 -- and
 for 6.x, while I'm running 7.0-rcx.   (*sigh*)

Oops, it seems that FreeBSD porters forgot to announce new builds. It's
obviously better to look directly on good-day.org... There are
OOo-2.3.1 packages for FreeBSD-7.0/amd64:

  ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/

- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)

iQCVAwUBR6tbVfzDP9K2CKGYAQOYtgQAoZHxkAbg6kMYSQLrThX7dIuH9koG4cJW
wmpEpULWsYxiR+5CEtFKh9lbZGh7VWNzHL6lfTWxXTD0L72DAPKSpv+tv1gUBdYZ
8ah8ahrDuvGSRD4Ch6ThJ31xqiA6F11CQ/+7oeSLpXSy4JthzXw7NCFKY9ZsExJc
IpHdIM9s3jc=
=w+Ki
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: is there a 2.3.x package for OO?

2008-02-06 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Wed, 6 Feb 2008 15:20:53 -0800
Gary Kline [EMAIL PROTECTED] wrote:
 
 To cut down my email I unsub'd to the OOo mailing list, so I'll ask
 here if there is a new package of the latest or near-latest that I
 can set off at night and have it installed by morning. Any exact
 URL's would be a great help.

Hi Gary,

The best place for the most recent information:

  http://porting.openoffice.org/freebsd/

A note: if you plan to install OOo-2.3.X packages from good-day.net on
6.X, you'll probably have to install gcc = 4.2 yourself.

Best regards.
- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)

iQCVAwUBR6pEy/zDP9K2CKGYAQMwhQQAgvyMbqCTqs/ZUhD75axajMqrLiyIksEN
o4DA72Xhz4WzEXPB/mbz/MDRmiPQ8Obu6zHmyN5MthcAQbur8VrcqlxrVPq1sgq0
ZVgawDi60YZKkaqEcBsdm419PmGi//xuiBJ8rx1OkwJSgDFqgZBx9zNS36tUVWiV
VFeUTZm5EnA=
=2Y3z
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: sysinstall and bsdlabel/boot

2008-01-15 Thread Nikola Lečić
On Mon, 14 Jan 2008 21:57:49 -0800
Nerius Landys [EMAIL PROTECTED] wrote:
 
 I was trying to install 7.0RC1 (hope it's OK to post this here,
 because I believe that older versions of FreeBSD have this same
 limitation) and came across a gotcha.  I had an MBR on disk that I
 wanted to keep.  It was Lilo and all it did was boot a selected
 slice, it was configured to function the same as FreeBSD's `boot0'.
 So, the install of FreeBSD came to the area where it asks what to do
 with the MBR.  There are three choices: 1) boot manager, 2) simple
 MBR, and 3) do nothing.  I chose to do nothing because I wanted to
 keep Lilo in the MBR.  But, by choosing this option, I expected
 sysinstall to install the /boot/boot code to the beginning of the
 FreeBSD slice.  Well, no such boot code was installed, apparently,
 unless I totally missed something.  Basically, after the install,
 when I delegated Lilo to boot the chosen [FreeBSD] slice, it did not
 find any boot code on that slice.

Have you configured lilo properly? In the past, I used to use something
like this:

other=/dev/hda2
table=/dev/hda
loader=/boot/chain.b
label=FreeBSD

(Actually, you can delete loader=/boot/chain.b since FreeBSD and
Linux share the same disk in your case -- and I assume you use lilo to
dual-boot Linux and FreeBSD.)

 My workaround for this was to choose option 1) boot manager.  I ended
 up using boot0 (the boot manager) which I feel is superior to Lilo
 because it is more modular, simpler.  However, some users may not
 want this.  I didn't find any option in sysinstall to install just
 the /boot/boot code to the beginning of the FreeBSD slice.  Am I
 missing something?

You don't have to go through sysinstall. Just for the case, reinstall
bootstrap code of your FreeBSD slice (say, ad0s1):

  # bsdlabel -B /dev/ad0s1

(the code will come from /boot/boot by default), and then reinstall
lilo from Linux, with the aforementioned configuration.

Best regards.
-- 
Nikola Lečić :: Никола Лечић
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No spam???

2008-01-15 Thread Nikola Lečić
On Tue, 15 Jan 2008 08:48:32 -0500
John Almberg [EMAIL PROTECTED] wrote:
 
 The smtp log file has lots of entries like:
 
 2008-01-14 09:30:37.074087500 rblsmtpd: 123.20.89.67 pid 72121: 451  
 http://www.spamhaus.org/query/bl?ip=123.20.89.67
 2008-01-14 09:31:05.271514500 rblsmtpd: 58.227.241.97 pid 72122: 451  
 Dynamic IP Addresses See: http://www.sorbs.net/lookup.shtml? 
 58.227.241.97
 2008-01-14 09:31:17.404943500 rblsmtpd: 41.196.155.56 pid 72123: 451  
 http://www.spamhaus.org/query/bl?ip=41.196.155.56
 2008-01-14 09:31:18.304682500 rblsmtpd: 123.20.89.67 pid 72124: 451  
 http://www.spamhaus.org/query/bl?ip=123.20.89.67
 
 So raises the same point that Oliver makes: how trustworthy are
 these blacklists?

Search this lists' archives, you'll find that FreeBSD mail servers used
to be blacklisted by Sorbs on several occasions in the past... In
May 2007, after intervention, Sorbs man eventually admitted that they
blacklisted FreeBSD server by accident:

  http://lists.freebsd.org/pipermail/freebsd-ports/2007-May/041520.html

Very trustworthy. :-)

-- 
Nikola Lečić :: Никола Лечић
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sysinstall and bsdlabel/boot

2008-01-15 Thread Nikola Lečić
On Tue, 15 Jan 2008 08:52:26 -0800
Nerius Landys [EMAIL PROTECTED] wrote:
 
 I have Grub installed at the beginning of /dev/hda1, and Lilo [when I
 had it installed before changing it to `boot0'] passed control to
 Grub just fine when booting ``Ubuntu''.  You can see that the logic
 for ``FreeBSD'' is identical except for the slice it uses.  When
 choosing ``FreeBSD'' from the boot menu, nothing happened.  This led
 me to conclude that /boot/boot as not installed at the beginning
 of /dev/hda2.

I'd try adding loader=/boot/chain.b as well, just for the case...

 Yes, I figured using  `bsdlabel' would install /boot/boot to the
 beginning of the slice.  However, I cannot [easily] run `bsdlabel'
 without being booted into the FreeBSD OS.  I can't run the OS
 without /boot/boot being installed to the beginning of the FreeBSD
 slice.  Chicken and egg problem. Actually, I could probably run
 `bsdlabel' from the live disc, but a newbie [like myself] would
 probably have a hard time figuring this out.

Yes, you can run in from live CD...

 P.S.  I hope I'm doing the quoting thing ``properly'', not
 incorrectly.

IMHO there is neither FreeBSD- nor Linux-specific mails, and there
shouldn't be such thing. These mails are written in English, so it
seems that neither of us is right: quotes should be “like this”, not
like this or ``like this''.

Best regards.
-- 
Nikola Lečić :: Никола Лечић
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mount vs mount_msdosfs - invalid file mode

2008-01-04 Thread Nikola Lečić
On Fri, 04 Jan 2008 17:52:14 +1030
Ben Williams [EMAIL PROTECTED] wrote:

[...] 
 The one I want to mount is drive. I can mount it properly with 
 mount_msdosfs:
 
 [EMAIL PROTECTED] /mnt]# mount_msdosfs -m 666 -M 777 /dev/ad3s1 /mnt/drive
 
 But I'm not sure how to get mount to call mount_msdosfs with the
 right params:
 
 [EMAIL PROTECTED] /mnt]# mount -t msdosfs -v -o '-m 666 -M 777' /dev/ad3s1 
 /mnt/drive
 mount_msdosfs: invalid file mode:  666 -M 777
[...]

Hello Ben,

The right command would be:

  # mount -t msdosfs -v -o -m=666,-M=777 /dev/ad3s1 /mnt/drive

According to mount(8) manpage:

   Any additional options specific to a file system type that is not one
   of the internally known types (see the -t option) may be passed as a
   comma separated list; these options are distinguished by a leading
   ``-'' (dash).  Options that take a value are speci- fied using the
   syntax -option=value. 

 This is on FreeBSD 6.2-RELEASE. I'm a bit of a newbie - this is my
 first FreeBSD install :)

Welcome! :-)

-- 
Nikola Lečić :: Никола Лечић
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot Menu Damaged

2007-12-31 Thread Nikola Lečić
On Mon, 31 Dec 2007 01:17:51 -0500
E. J. Cerejo [EMAIL PROTECTED] wrote:
 
 I'm running FreeBSD 6 stable and I lost my boot menu after
 reinstalling xp and tried to fix it by booting with instalation cd
 and run fdisk -B -b /boot/boot0 /dev/ad0 it restored it but when I
 boot I get the mountroot prompt, it fails to mount ad0s2a, b, c, d.
 Is it possible to fix this or do I have to reinstall freebsd? 

What does 'bsdlabel /dev/ad0s2' say?

-- 
Nikola Lečić :: Никола Лечић
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is it possible to mount OpenBSD FFS partitions in FreeBSD?

2007-12-31 Thread Nikola Lečić
On Mon, 31 Dec 2007 11:58:17 +0100
Seth Brundle [EMAIL PROTECTED] wrote:
 
[...]
 # mount /dev/ad8s1a /mnt/
 mount: /dev/ad8s1a : No such file or directory
 
 (I thought that the first -- and only -- partition on OpenBSD would
 show up as 'slice 1' on FreeBSD.)

(The disk area occupied by OpenBSD is a slice, whilst BSD-style chunk(s)
within are partitions.)

Is it possible to mount it just with 'mount /dev/ad8s1 /mnt'?

-- 
Nikola Lečić :: Никола Лечић
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is it possible to mount OpenBSD FFS partitions in FreeBSD?

2007-12-31 Thread Nikola Lečić
On Mon, 31 Dec 2007 12:16:50 +0100
Seth Brundle [EMAIL PROTECTED] wrote:
 
 2007/12/31, Nikola Lečić [EMAIL PROTECTED]:
 
  On Mon, 31 Dec 2007 11:58:17 +0100
  Seth Brundle [EMAIL PROTECTED] wrote:
 
  [...]
   # mount /dev/ad8s1a /mnt/
   mount: /dev/ad8s1a : No such file or directory
  
   (I thought that the first -- and only -- partition on OpenBSD
   would show up as 'slice 1' on FreeBSD.)
 
  (The disk area occupied by OpenBSD is a slice, whilst BSD-style
  chunk(s) within are partitions.)
 
  Is it possible to mount it just with 'mount /dev/ad8s1 /mnt'?
 
 
 
 Thanks for your fast reply;
 
 # mount /dev/ad8s1 /mnt
 mount: /dev/ad8s1 : No such file or directory
 
 Also tried this before, doesn't work. The main problem for me is that
 I don't know the way the OpenBSD disc appears to FreeBSD,
 layout-wise. A ``disklabel ad8'' to have a peek also doesn't work:

Ah sorry, I misunderstood you; the ad8 is dedicated to OpenBSD in its
entirety? In that case I'm pretty sure that, in standard cases, it
should be possible to mounted it as /dev/ad8. (Yes, you wrote that it's
seen as wd2a from OpenBSD.)

(Btw, what does 'ls /dev/ad*' show?)
 
 # disklabel ad8
 disklabel: /dev/ad8: no valid label found

This is expected, BSD labels are not compatible among BSDs:

 The various BSDs all use slightly different versions of BSD labels
 and are not generally compatible.

(from bsdlabel(8) manpage).

That's why you can't (by default) see BSD labels created by another
BSD. However, I know that first partition of a NetBSD slice/disk can be
mounted from FreeBSD _without_ partition-letter addition (e.g. ad8 will
represent what you would expect to be ad8a -- it the disk is
dedicated -- and ad8s1 will represent what you would expect to be
ad8s1a -- if the disk is sliced), but maybe OpenBSD does something
differently.

-- 
Nikola Lečić :: Никола Лечић
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is it possible to mount OpenBSD FFS partitions in FreeBSD?

2007-12-31 Thread Nikola Lečić
On Mon, 31 Dec 2007 12:44:33 +0100
Seth Brundle [EMAIL PROTECTED] wrote:
 
  # ls /dev/ad*
 /dev/ad4/dev/ad4s1b /dev/ad4s1e /dev/ad6
 /dev/ad4s1  /dev/ad4s1c /dev/ad4s1f /dev/ad6s4
 /dev/ad4s1a /dev/ad4s1d /dev/ad4s1g /dev/ad8

Just for the record, 'mount /dev/ad8 /mnt' works?

-- 
Nikola Lečić :: Никола Лечић
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UTF-8 in Opera/FreeBSD

2007-12-25 Thread Nikola Lečić
У среду, 26. децембра 2007. у 02:27:20 +0100
Svein Halvor Halvorsen [EMAIL PROTECTED] је написао(ла):
 
 I don't think it's a font issue. I have no trouble viewing æøå even
 in input fields--I have trouble /entering/ them.

Hi Svein Halvor,

I can't reproduce the behaviour you described (I'd agree that's not font
problem: the fact that you need two deletes to remove æøå really looks
like a Unicode handling problem).

Four ideas:

1. try mail/linux-opera (it's exactly the same version) and see if the
   same wrong behaviour occurs in it as well
2. try to change locale (mine is en_US.UTF-8)
3. try a fresh start by removing ~/.opera
4. (less likely) try to remove ~/.qt

Regards.
-- 
Nikola Lečić :: Никола Лечић
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Partitions size for 80GB HDD and 2GB RAM

2007-12-20 Thread Nikola Lečić
On Wed, 19 Dec 2007 17:17:50 -0800
Alexander Rudyk (Akvelon) [EMAIL PROTECTED] wrote:
 
 Hi all
 
 I am planning to install FreeBSD 6.2 on my dell laptop with 80Gb HDD
 and 2GB RAM. FreeBSD will be the only OS on the laptop. Laptop will
 be used to web development (RubyOnRails), entertaiment (photo, music,
 video), web browsing and emailing, so no server side task will be
 handled.
 
 How you suggest to split 80GB between partitions to solve all laptop
 tasks. Here is partitions:
 /root
 /var
 /usr
 /home
 /swap

Hi Alexander,

You can find the recommendations regarding partition sizes in
Allocating Disk Space chapter of the FreeBSD Handbook
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/):

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html

This means that your partition layout should be like this:

/   512M
swap   4096M (2x RAM)
/tmp512M
/var   1024M
/usrrest

/var's size depends, among other things, on how many logs you want to
keep there (where they live by default); since your machine will not be
a server, 512M should be ok. Please note that /var/db/, the default
place for info about ports installed, occupies roughly 200M or more.

/usr depends on how many applications you need to run. Please note
that /usr is also the default place where applications will be compiled
(inside /usr/ports) and where a lot of distfiles (sources) or
(precompiled) packages will be stored, so huge upgrades can take a lot
of place. [Some applications need ~500M (Firefox), ~1G (gcc42) or
several gigabytes (OpenOffice) to compile. Distfiles can use 1-3G,
depending on cleaning policy you choose.] Therefore, since you have 80G,
it's not a bad idea to use /usr for /home as well (i.e. to have /usr
only; home will be /usr/home, symlinked from /home). Otherwise, you can
easily encounter too much (wasted) or too little free space on /usr.

I've recently configured a laptop with the aforementioned partition
sizes (with smaller swap).

(Besides this, don't forget to read about the difference between
dedicated and sliced disks in the Handbook.)

Regards,
-- 
Nikola Lečić :: Никола Лечић
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Partitions size for 80GB HDD and 2GB RAM

2007-12-20 Thread Nikola Lečić
Apologies, two corrections:

On Thu, 20 Dec 2007 19:56:36 +0100
Nikola Lečić [EMAIL PROTECTED] wrote:

[...] 
 /var's size depends, among other things, on how many logs you want to
 keep there (where they live by default); since your machine will not
 be a server, 512M should be ok. Please note that /var/db/, the default
   
   correction: /var/db/pkg
 place for info about ports installed, occupies roughly 200M or more.
 ^
   (/var/db)
/var/db/pkg alone is smaller, count on up to 100M.

-- 
Nikola Lečić :: Никола Лечић
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Partitions size for 80GB HDD and 2GB RAM

2007-12-20 Thread Nikola Lečić
On Thu, 20 Dec 2007 11:26:41 -0800
Alexander Rudyk (Akvelon) [EMAIL PROTECTED] wrote:
 
 Nikola,
 
 Thank you for your extender answer. I have two more comments.
 
 Did you consider /var as your email db partition. I really don’t
 know how big will be my mail db on freebsd, but after half of year
 I have about 4GB outlook mail db. So 1GB for /var might be not enough
 in my case.

The hier(7) manpage is very useful to understand the default directory
structure:

  
http://www.freebsd.org/cgi/man.cgi?query=hierapropos=0sektion=0manpath=FreeBSD+6.2-RELEASEformat=html

As for mail, it depends on how you plan to receive and handle it; if you
just download mail from pop3 account, it will be stored in your home by
a mail client (this goes as well for mail you export from Outlook to
e.g. Thunderbird). For locally (system) delivered mail, /var/spool is
the default place, but unless you want yo use your laptop as a mail
server, it's unlikely you will store your mail there.

 Having /home as part of /usr is the good point. But in case of backup
 it make sense to have /home as separate partition. What you think
 about this?

Of course it's very useful for backups. I just thought it was useful to
warn you about how much space /usr/ports could need because the default
installation procedure on FreeBSD is to compile sources (of thirs
party applications and of FreeBSD itself).

As a useful example on how much space you might need, here are rough
sizes on my home desktop computer, used for everyday work. I have ~850
ports installed.

  /usr/ports~2G (with current distfiles and packages that happen
 to be there + you will need at least 2-3G for
 large upgrades, sometimes  10G)
  /usr/local~5G (third party applications + additions such as
 TeXLive = ~1G)
  /usr/home~20G
  -
  /usr total used: ~30G (includes FreeBSD itself + some other smaller
 storages)

If you plan to build FreeBSD itself in the future, then /usr must be
even bigger. If all this leaves enough room for /home for you, then
it's certainly very useful to make it separate partition.

-- 
Nikola Lečić :: Никола Лечић
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Lost FreeBSD slices (labels?) after NetBSD install -- please help!!

2007-12-18 Thread Nikola Lečić
On Wed, 19 Dec 2007 03:54:00 +0100
Snow Mountains [EMAIL PROTECTED] wrote:
 
[...]
 Hello and thanks vry much for this response and because you
 pointed me to right direction - what to read! It took me some time to
 run this and to understand always what I am doing, but it seems to
 work!
 
 testdisk gives me sizes that 100% correspond with _partition_ (:))
 proportions I remember (and some nonsenses about tiny FAT partition
 somewhere...). dlfind homepage was incredibly useful for me as newbie
 in creating BSD partition labels, and I created bsdlabel file,
 carefully calculated offsets, I am happy that former ad1s4a is
 mountable so that I can read /etc/fstab!

Excellent! Just note that you don't need to calculate offsets; you can
use asterisk (*) for all offsets from b: (swap) onward; and you can use
* as the size of the last partition, too.

 However I have several questions just to be 100% sure.
 
 a. swap size: by an accident, I have written swapsize (from swapinfo)
 of 1024 1kb blocks; it is slightly different from what I get when I
 subtract all partition size from total slice's size (as testdisk
 reported). What I should trust?

Use the value from swapinfo; swap is just that space (unlike sizes that
you see in df(1) output: they are not sizes of partitions).

The size of slice: you should anyway _first_ run 'bsdlabel-w /dev/ad1s4'
-- it will write initial info and the value for c: will be the value
you should use.

 b. Do I need just bsdlabel -R -e? 

You probably typoed, either '-R' or '-e' (= 'from file' or 'to edit
directly'). However, I believe you should use '-B' as well, because
bootstrap code was destroyed too, and you won't be able to boot
FreeBSD even with recovered partitions.

 Is it safe to experiment?

Yes, it is. If you write wrong data, it will just not work. Once you
get mountable partitions, please fsck(8) them.

 c. What to write as fsize, bsize

fsize and bsize are 2048 and 16384 if you used all defaults when
installed FreeBSD (read newfs(8)). 

 and bps/cpg? It is completly confusing for me, bps/cpg explanation
 from bsdlabel man page is unclear to me, I see that some people use
 all zeros and I can not find a clue in various examples...

Hmm, yes... Actually, it seems that they can be calculated by comparing
data obtained  from 'bsdlabel -A /dev/ad1s4...' (look at the top of the
output) and from particular 'newfs -N /dev/ad1s4X' (this command doesn't
create new file system but just prints all data about how it would be
created) -- but after recovery, of course. Read the entire thread that
contains this:

  http://lists.freebsd.org/pipermail/freebsd-questions/2004-January/031603.html

However, I've never been able to find any info in the docs that exactly
explains what algorithm newfs(8) uses for this field...

Therefore I believe (although I'm not 100% sure) that the only way to
get old bps/cpg data is to 

  (1) dump(8) partitions once they work;
  (2) bsdlabel -e bps/cpg of these partitions to zeros;
  (3) recreate file systems there (this will write new (true) bps/cpg
  values);
  (4) restore(8) filesystems.

However, if fsck(8) tells you that filesystems are clear once you
recover them, I believe you don't have to worry about this. Maybe
some filesystem guru can confirm. (According to this reputable
source:

  http://www.onlamp.com/pub/a/bsd/2002/06/27/Big_Scary_Daemons.html

last three values are actually ignored...)
-- 
Nikola Lečić :: Никола Лечић
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Lost FreeBSD slices (labels?) after NetBSD install -- please help!!

2007-12-16 Thread Nikola Lečić
Hello,

On Fri, 14 Dec 2007 05:15:16 +
Snow Mountains [EMAIL PROTECTED] wrote:
 
 People, I have FreeBSD install on 80G disk that looked like this:
 
 ad1s1 ~ 2.4G
 ad1s2 ~23.0G
 ad1s3 ~19.1G
 ad1s4 ~38.0G, FreeBSD partition, sliced like this:
^  ^^
   (a note: the correct terminology is actually the opposite:
   these a...e are partitions, real BSD partitions.
   What is called partition in non-BSD world is a slice here;
   so: FreeBSD slice, (BSD-)partitioned/labelled like this...)

 
 ad1s4a / (507630 1K-blocks)
 ad1s4b swap
 ad1s4d /var
 ad1s4e /tmp
 ad1s4f /usr
 
[...]
 However, FreeBSD is now unbootable!!! Then I loaded FreeSBIE (FreeBSD
 6.2 live CD), tried 'boot0cfg -B /dev/ad1' (also with '-d 0x80'), but
 no help! Then I realized that ad1s4 slices are lost. This means:
 
 A) from FreeSBIE, there is only /dev/ad1s4, no a,b,d,e,f. If I do
 this: FreeSBIE# mount /dev/ad1s4 /mnt/ufs.4
 this is former / (ad1s4a) and is of its size (~507M).

This probably means that you unwillingly changed FreeBSD label of ad1s4
and it's most likely that NetBSD wrote its own instead. However, from
the bsdlabel(8) manpage:

 The various BSDs all use slightly different versions of BSD labels
 and are not generally compatible.

So, NetBSD didn't recognise FreeBSD's labels and understood entire
ad1s4 as one partition; however, ad1s4's reality is that it begins with
small / (lost ad1s4a) and that is what you see; the rest is just
ignored.

boot0cfg did nothing because NetBSD obviously deleted ad1s4 FreeBSD's
bootstrap code as well.

 I can't reach other slices! However, it gives me hope that NetBSD's
 slices are also invisible, although working from within itself:
 FreeSBIE# mount /dev/ad1s1 /mnt/ufs.1
 gives also small NetBSD's / (its wd0a), not /usr etc.

The same reason as above.

 [...]
 Please help me to recover my FreeBSD system. If I lost my data (ok, I
 understand they are buried, not erased), please tell me that gently.
 :-(

That's why I think that you haven't lost any data. You must however
re-create bsdlabel table on ad1s4. Since you didn't mention that you
have a backup of bsdlabel (do you? :-)), you must recover it.

There are two small utilities designed for this purpose, dlfind and
ffsrescue:

  http://www.42.org/~sec/resources/disklabel.html
  http://www.leidinger.net/FreeBSD/ffsrescue.tar.gz

but they don't recognise UFS2 beginning marks (only UFS1 ones).
However, I tested sysutils/testdisk and it recognised UFS2 labels on my
healthy slices perfectly, so there is no reason that it can't help
you, since it simply analyses slice contents. This utility is not part
of FreeSBIE, but I think that you can just download

  
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/sysutils/testdisk-6.3.tbz

Then untar it in ~freesbie and run the binary. Just do this:

  ./testdisk /dev/ad1s4

and choose non partitioned in the second menu. Please note that
testdisk will not recognise your swap. Then please try to compare
results (given in 512k-blocks) to what you remember about partition
sizes. If it gives you reasonable proportions, then re-creating a
bsdlabel shouldn't be a big problem.

So please take these actions and if the aforementioned assumptions are
correct and you obtain some useful info, we shall continue. :-)
-- 
Nikola Lečić :: Никола Лечић
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: setxkbmap dosn't work (with KDE)

2007-12-11 Thread Nikola Lečić
У суботу, 8. децембра 2007. у 16:08:17 -0800
Yuri [EMAIL PROTECTED] је написао(ла):
 
 I am trying to enable some key combination to switch
 between keyboard layouts.
 
 Command 'setxkbmap -option grp:alts_toggle' is supposed to
 enable layout switching by both alts. But alts don't do
 anything after it. Same with 'setxkbmap -option grp:caps_toggle'.
 
 setxkbmap is from setxkbmap-1.0.4.
 
 This must be a bug somewhere.
 Anyone also experiences this problem?

Hello Yuri, have you checked it without KDE? And what is the output of

  % setxkbmap -v 10

and then of

  % setxkbmap -option '' -v 10
  % setxkbmap -option grp:alts_toggle -v 10

?
-- 
Nikola Lečić :: Никола Лечић
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Finding and installing new locale

2007-11-28 Thread Nikola Lečić
У уторак, 28. новембра 2007 у 17:24:47,
Westin Shafer [EMAIL PROTECTED] је написао(ла):

 Thanks for the info.  I had not seen that doc.  However localedef and
 makelocale are not valid commands.  I also checked out the port tree
 and these tools are not located there either.  Are these Linux
 specific commands?

The command is mklocale(1).

id_ID locale(s) are not included in FreeBSD. If you have correct LC_*
files, you should talk to FreeBSD team member responsible for l10n,
(which is, according to

  
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributors/staff-who.html

Andrey) about official inclusion. I also suggest you to use
[EMAIL PROTECTED] mailing list for that purpose.

Beside this, please don't forget that, if you just need Indonesian
translations of userland applications, you can just install appropriate
ports, for example:

  misc/kde3-i18n-idIndonesian messages and documentation for KDE3
  textproc/id-aspell   Aspell Indonesian dictionary

Finally, you might find this page useful:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/l10n.html

Best regards.
-- 
Nikola Lečić :: Никола Лечић
___
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 see UNICODE character number?

2007-11-15 Thread Nikola Lečić
On Wed, 14 Nov 2007 11:51:06 -0800
Yuri [EMAIL PROTECTED] wrote:

 But it's still strange that there's no GUI utility in KDE or just X
 that would do it.

There are at least two very convenient GUI ways do to this:

(1) (g)ViM: assuming that you use UTF-8 to interptet Unicode and that
your locale is properly set (xx_XX-UTF-8), you can paste the
character (i.e.) „來“, point the cursor over it, and then:

* key sequence 'ga' will return '來 20358, Hex 4f86, Octal 47606';
* key sequence 'g8' will return 'e4 be 86' (actual bytes used to
  produce that letter;
* key sequence '[Ctrl+v]u4f86' will print „來“ (in Insert mode).

(2) deskutils/gucharmap: GTK2 application, doesn't pull many Gnome
dependencies, has highly professionally made database.
'View - Find - 來 - Character details' will provide you with the
following:

U+4F86 CJK UNIFIED IDEOGRAPH-4F86
General Character Properties
Unicode category: Letter, Other

Various Useful Representations
UTF-8: 0xE4 0xBE 0x86
UTF-16: 0x4F86

C octal escaped UTF-8: \344\276\206
XML decimal entity: #20358;

CJK Ideograph Information
Definition in English: come, coming; return, returning
Mandarin Pronunciation: LAI2 LAI4
Cantonese Pronunciation: lai4 loi4 loi6
Japanese On Pronunciation: RAI
Japanese Kun Pronunciation: KURU
Tang Pronunciation: *ləi ləi
Korean Pronunciation: LAY

Greetings.
-- 
Nikola Lečić :: Никола Лечић
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]