Re: py24-gobject won't deinstall

2009-04-01 Thread Polytropon
On Wed, 1 Apr 2009 09:24:18 -0500, Richard DeLaurell 
richard.delaur...@gmail.com wrote:
 I reveal my ignorance: why does this work to delete the package
 
# pkg_delete -f /var/db/pkg/py24-gobject*
 
 
 while 'pkg_delete  py24-gobject*' did not?

Use the -f, Luke. The force! Use the force! :-)



 Would the latter have done the trick if issued from the /var/db/pkg
 directory itself?

If you delete a package with -f that is required by another
package, you BREAK this package. That's okay only if you're
going to install the needed dependency right afterwards (by
pkg_add or make).



 In any event your solution does seem to have worked.

It is intended to work. :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: gcc 2.95 - 4.4

2009-04-02 Thread Polytropon
On Thu, 02 Apr 2009 10:01:00 GMT, Mark ad...@asarian-host.net wrote:
 I also set things like this in the Makefile:
 
 $(GCC) = /usr/local/bin/gcc44
 
 But that doesn't seem to help.

Should be, according to syntax:

GCC=/usr/local/bin/gcc44

or

CC=/usr/local/bin/gcc44

As far as I understood, CC is the variable used by the
port's make subsystem.



Maybe it's possible to install the port over the system's
compiler by defining a prefix other than /usr/local, but I
don't know if this is recommended.


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: new package system proposal

2009-04-04 Thread Polytropon
Compiling applications in general will lead you into one
main problem: Many ports have different options that need
to be set at compile time. For a set of n options, 2^n
packages would be created, if I consider the WITH_SOMETHING
options only.

One example is mplayer. Its various options select which
codecs to include or if / if not to build with mencoder.
In regards of different national law, it may even be
prohibited to include a several codec, so it needs to
be installed afterwards manually.

Another example is (you mentioned it) OpenOffice. In the
past, I was happy to do

# pkg_add -r de-openoffice

or something similar. Today, I'm happy that someone put
a precompiled package of OpenOffice online and announced
it on the de- mailing list.

The topic internationalization comes into mind here. I'm
not sure how OpenOffice decides which language to use,
maybe this is to be set at compile time, too.

(Side note: I prefer good english language in my programs
instead of poor german translation which is quite bad.
OpenOffice, and in the past StarOffice, is the only
exception for me.)

As you see, I am a big fan of pkg_add, but it doesn't work
in every case.



On Sat, 04 Apr 2009 15:13:22 +0100, Chris Whitehouse cwhi...@onetel.com wrote:
 Ports is rightly a flagship element of FreeBSD. The benefit is 
 configureability and consistency. The obvious downside is it takes so 
 long to update a desktop machine with a normal set of ports installed, 
 particularly lower spec hardware or laptops.
 
 pkg_add somewhat addresses this but it doesn't work quite as well as 
 ports because of possible version mismatches.

It's always good to use an integrated tool such as portupgrade or
portmaster to get rid of such problems (like pkgdb -aF). It allows
automating the updating process, but as you know, something can
happen and the update stops during the night.



 Modify pkg_add so that it can be told to use this 'snapshot' including 
 downloading the fixed ports tree that was used.

You can tell pkg_add to get packages from a completely differnent
place, this doesn't need a modification of this system's program
itself. But a kind of wrapper would help here.



 Some benefits to this system are
 [...]
 - don't need to mess with portupgrade etc.

I always felt that tools like portupgrade make things easier, not
messier, but I'm oldfashioned, so don't give anything on my very
individual opinion. :-)



 - it generally increases the useability of FreeBSD as a desktop system.

Well, when we're talking about desktop systems, there are the
both two big philosophies:

(a) install it once, use it then

(b) always upgrade

There are (reasonable) needs for both concepts, and they may
even mix. Thinking about the problems / difficulties that came
up with the recent X.org update, my X is still in (a) state. :-)



 I think this could work because I think the default config options are 
 probably suitable for most desktop users so it wouldn't be necessary to 
 create loads of different binaries for the same port, [...]

I may disagree and bring (only) one example: mplayer. Reason:
codecs. Most users I know who dislike compiling always take
the time to get the maximum out of mplayer, and this cannot
be achieved using pkg_add.


 [...] and security 
 considerations are not so important as for server admins.

Don't say that. An incorrectly administrated desktop can develop
into a massive threat to others on the Internet. Do you know that
most spam, data espionage, malware, viruses etc. are distributed
by home PCs (even if they are placed in a company's network)?



 It might be possible to distribute the actual compiling to users with 
 spare cpu cycles, a bit like the s...@home projects etc.

I'll reserve some spare cycles for you with my for(;;); program. :-)





-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: new package system proposal

2009-04-06 Thread Polytropon
On Mon, 06 Apr 2009 22:48:01 +0100, Chris Whitehouse cwhi...@onetel.com wrote:
 Hmm Polytropon you seem to be dismissing my idea with minor examples.

Actually not, because I'm a big fan of pkg_add -r. :-)

I honestly run older machines, the oldest one is a P1 150MHz with
128 MB EDO-RAM where compiling is no fun at all, even a 5.x kernel
needs 24 hours. And with the new optimizing cc, it would surely
need much more time.

If I could install, let's say, FreeBSD 7.1 on that system, use
freebsd-update to follow the security updates, and then install
software as new as possible (via a pkg_add -r like means), this
machine would make a good server without any problems. Well, I
even used it as a serious workstation, this should still be
possible.



 It's true but many ports would not be included in this desktop package
 set. I suspect still that plenty of people would be happy with defaults
 for many of the desktop apps.

I think so, too. My favourite example, mplayer, would be one of the
few problematic points, because usually a desktop user wants all the
codes, even those that are illegal in his country.



 i think Matthew deals with this one in his later post. But ok maybe 
 there are one or
 two ports for which you provide a binary with default config but many
 people recompile it anyway. They would still have all the dependencies
 already installed.

Yes, and it's mostly okay to get them through a regular pkg_add -r call.
Let me give this example: When I'm about to install mplayer on an
otherwise fresh system, I don't start an mplayer build in order to
compile everything needed. I usually hit ^C as soon as I see a line
of ... depends on ... not found and add this via pkg_add -r. If
there are dependencies for such a dependency, they will be installed
as well. So I finally end up compliling mplayer, and not Gnome or
other heavy stuff.



 Since we are talking about a fixed point ports tree
 then all the lib and dependency versions would match and - voila no problem.

Exactly. Because the sources of pkg_add -r are usually a bit older
than the port mplayer itself, there may be slightly different
version numbers. But in most cases, it doesn't matter because
we're talking about subsubminor version numbers.



  Another example is (you mentioned it) OpenOffice. In the
  past, I was happy to do
  
  # pkg_add -r de-openoffice
  
  or something similar. Today, I'm happy that someone put
  a precompiled package of OpenOffice online and announced
  it on the de- mailing list.
 
 So you would be keen to have OO available. So would a few other people
 judging by the openoffice topic going at the moment.

Yes, I completely agree with that. As far as I know, the correct
internationalisation *requires* compiling. A precompiled OO in
English cannot be made a German one.



  (Side note: I prefer good english language in my programs
  instead of poor german translation which is quite bad.
  OpenOffice, and in the past StarOffice, is the only
  exception for me.)
  
  As you see, I am a big fan of pkg_add, but it doesn't work
  in every case.
 
 No because the packages are built on a rolling ports tree. The crucial
 difference is that the whole thing is a type of ports-snapshot so
 everything matches.

Well, the precompiled packages are somewhat -STABLE every time.
There is no exactly RELEASE, except you're using the RELEASE
system without updating, and then the packages from the CD.
Or the packages for RELEASE from the FTP server. In every
other case, the Latest packages are used which may bring up
problems with a system that is not up to date.


 yes this is a downside of upgrading by compiling from ports, regardless
 of whether you use portmanager portupgrade or portmaster. I'm trying to
 avoid the necessity of the update happening through the night at all.

That's why I do install once, use then. :-)



 The modification is that pkg_add with --ports-snapshot option (or a
 completely new utility) would hook into this ports-snapshot which
 consists of a ports tree and a set of packages which are built from
 'this' ports tree. Maybe the only change is that pkg_add gets the ports
 tree snapshot from which the ports were built.

That would preserve the consistency of ports and packages. While you
can use the sup files for make update to specify a certain point
in time of the ports tree, I think you cannot to the samt with a
package, let's say pkg_add -date=2009-01-01 -r xmms to fit a
requirement of a local ports tree dated at this timestamp.



 I think it is also implicit that if you download a new snapshot you get
 the ports tree plus all the packages installed on your computer that 
 have been upgraded since your
 last snapshot. You would not use it by downloading the ports tree
 snapshot and choosing only to upgrade certain ports.

Again, this is a good idea which would also preserve consistency. You
could binary upgrade your whole system without getting into trouble
with a certain version changing.



 Compare

Re: Change to Graphical Mode from DOS Mode

2009-04-08 Thread Polytropon
On Wed, 8 Apr 2009 10:19:26 +0200, Fernando Apesteguía 
fernando.apesteg...@gmail.com wrote:
 FreeBSD is _not_ linux ;)

You're right. A german computer magazine wrote that
FreeBSD is the better Linux. :-)



  on my PC.  But it starts in DOS Mode.
 
 aka Console mode.

There is no DOS mode in FreeBSD. Console mode is
correct, as well as text mode or even terminal mode
(last one not used very often).



 Once you log in, (use your login name and password), and assuming you
 installed some graphical environment, try to type:
 
 startx

Or follow the handbook according to how to install KDE
or Gnome which provide the usual means for a full-featured
graphical environment.

(At this point, I can really recommend reading FreeBSD's
excellent documentation in the handbook and in its FAQ,
to be found on the main web site.)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Change to Graphical Mode from DOS Mode

2009-04-08 Thread Polytropon
On Wed, 8 Apr 2009 13:40:18 +0200 (CEST), Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl wrote:
 so he should first learn about unix more.

At least to avoid misunderstandings due to wrong terminology.
We UNIX guys are usually smart enough to know what DOS
mode refers to, but without correction such a behaviour
(accepting it without mentioning that it's plain wrong)
will stengthen the belief that there's a DOS mode in
FreeBSD, or that every text mode interface is called DOS
mode.

When I switched on my modem, it only resets in TSO mode.
I want CDE mode, what should I do? :-)

Depending on what environment some user comes from, the
terminology chosen may vary. Some words are more advanced
than others, but still wrong.



 reading FreeBSD handbook is more 
 than enough.

I agree, FreeBSD's excellent documentation gives a very good
step-by-step introduction about how to solve this particula
problem (and others, too). It isn't that hard to find.



 It's NOT DOS, and NOT WINDOWS

I'm glad it's not.




-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: new package system proposal

2009-04-09 Thread Polytropon
On Thu, 9 Apr 2009 09:16:12 +0200, Jonathan McKeown j.mcke...@ru.ac.za wrote:
 Yes - have a look at http://www.pbidir.com/. I installed PC-BSD on a spare 
 machine to investigate it. The first three ports/metaports I tried to install 
 after completing the base setup were emacs, TeTeX and the Psi Jabber/XMPP 
 client. None of those was available, and after seeing how few prebuilt 
 packages there were in all categories, I gave up.

The problem with PC-BSD is that it concentrates on the average
desktop user, read: the usual KDE user. That's why they have lots
of KDE stuff available and applications for common productivity
uses, as well as multimedia.

You made the mistake to choose software that is non-standard.
So teTeX? What's this? Who uses teTeX? Go use KOffice, man! :-)

I could say something similar about emacs and psi.

On PC-BSD, you can always use pkg_add or the ports collection, but
it may cause problems to do so. Allthough it's possible, it's
adviced to use the PBI installer.



 My personal view is that PC-BSD gives the end user an impressive and 
 reasonably slick computer-as-appliance with some ability to customise and 
 still stay ``on the path''. For people who need that, PC-BSD is what they 
 need.

That seems to bei their goal, yes. My neighbor uses it for some years
now and he's completely happy with it. In fact, he isn't interested
in FreeBSD, nor does he have fundamental UNIX knowledge, but he likes
KDE and the fact that he has not Windows on his machine (with all
the advantages this fact implies).



 My feeling, though, is that anyone who finds themselves wanting to 
 install a bunch of stuff from outside the PBI system (in other words, from 
 ports, which are still there under the hood of PC-BSD) will soon want to 
 switch to mainstream FreeBSD.

Take a look at DesktopBSD (their tools are even in the ports collection).
They stick to the ports and packages, but added some GUI stuff for
installation and administration, without doing a compatibility break
as PC-BSD does.



 As such PC-BSD has the potential to be an 
 effective ``gateway drug''(!)

In fact, it has.





-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: awk question

2009-04-09 Thread Polytropon
On Thu, 9 Apr 2009 15:32:51 +0200 (CEST), Oliver Fromme 
o...@lurza.secnetix.de wrote:
 If ; is the delimiter character, you need to tell awk
 about it (i.e. use the -F option).  This one should work:
 
 awk  -F';'  '$3 ~ /^[a-z]{5}$/ {print}'  file

You can even omit {print} because it's the default action
(to print the whole line, i. e. $0) when no action is given
for a pattern.

% awk  -F';' '$3 ~ /^[a-z]{5}$/' file

When using this in a shell, keep an eye on eventually needed
quoting or escaping of $.


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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 SD-card reader recognized, but not working, on 6.1

2009-04-09 Thread Polytropon
On Thu, 09 Apr 2009 12:47:23 -0700, per...@pluto.rain.com wrote:
 It's an SD card, not a drive, so I had not expected it to be
 partitioned; but yes, it is:
 
 $ ls -l /dev/da0*
 crw-r-  1 root  operator0, 244 Feb 14 15:09 /dev/da0
 crw-r-  1 root  operator0, 245 Feb 14 15:09 /dev/da0s1

Why don't you expect this? As far as I know, if something is
msdosfs-formatted (read: any Windows readable file system,
FAT), it always involves a slice device. I never found a
situation where access to /dev/da0 would work.

You can always check any partitioning with

# fdisk da0

which prints out a partition table. In your case, the card in the
reader will have one DOS partition which is to be accessed via the
slice device.

The same is usually true for USB sticks, digital cameras (umass+da)
and MP3 players.

As long as you don't format them with UFS, you'll always find the
situation described above. You can easily get rid of it by

# newfs /dev/da0

but don't expect Windows to be able to read it afterwards. :-)



 Read-only, which should be sufficient for mdir.  The card is,
 deliberately, write-protected.

Okay, that should not interference any reading process.



 After reconfiguring mtools to read from /dev/da0s1, I started
 getting those umass0: BBB bulk-in clear stall failed, TIMEOUT
 messages again, [...]

This indicates that the card reader (and mostly not the card itself)
is using non-standard compliant chipsets. I had a crappy MP3
player which didn't work on older FreeBSD versions, but does
today. I could not access it - the same situation as you described
it.

That is no failure of FreeBSD, it's simply the fact that the
manufacturer of the card drive produced crap.



 [...]  but I can read it a sector at a time using dd:
 
 $ dd if=/dev/da0 of=~/sd bs=1b
 
 That's been running for something like 45 minutes now, and based on
 the size of the output file it has read about a tenth of the card.
 
 It looks as if the problem arises only when attempting to read
 larger blocks.  (I haven't tried to find out how much larger.)

As it has been explained, it's completely normal that it is so slow.



  Have you tried just mounting the card reader?
 
 No, because I'd expect to panic the system if it is not in fact a
 valid (and readable) FAT filesystem.  Mtools seems much safer.

Don't worry. Especially for diagnostics it's useful first to try
the system's tools, and then third-party software (mtools).

# mount -t msdosfs -o ro /dev/da0s1 /mnt
# ls -R /mnt

That should work.

In any case, remember to unmount the card before ejecting it. To the
system, the situation is similar to removing a hard disk without
any warning - not good. :-)

# umount /mnt

If problems seem to slow down or stop the CAM subsystem, you can
always use

# camcontrol rescan all

to let the system update what's on the SCSI bus. In most cases,
you won't see any system panics. It *may* happen when you're pulling
the card out of the drive while writing on it. Just imagine it was
a regular hard disk - does the system encourage you to do so? :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: sound configuration for pidgin

2009-04-10 Thread Polytropon
On Fri, 10 Apr 2009 20:51:35 +0700, kyanh xky...@gmail.com wrote:
 Hello all,
 
 I'd like to hear some notification from Pidgin. When configuring Pidgin, I use
   mplayer %s
 to make Pidgin play stuff.

First, maybe mplayer is a bit heavy stuff for notification sounds.
What are these files? If they are *.wav, use play %s command, and if
they are *.mp3, use madplay %s or mpg123 %s, as well as ogg123 %s
for *.ogg files. Check out the manpages for these programs if you
think you need further options.



 But it's hard to hear the sound as pidgin's volume is small (while
 the system mixer is almost 100:100). Is there anyway to have a
 bigger sound in Pidgin?

Check the other volumes as well. PCM should be 100:100, too.
If vol == 100:100 and pcm == 10:10, it will be very silent. :-)

Do other applications (music and movie player, games etc.) play
louder sounds?



 PS: sorry for my terrible English :)

I'm not sure mine is better, don't mind. The guys on that list have
a lot of translational phantasy. :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: new package system proposal

2009-04-10 Thread Polytropon
On Fri, 10 Apr 2009 15:25:13 +0100, Chris Whitehouse cwhi...@onetel.com wrote:
 Is there a quick way to find out how big are the tarballs without 
 downloading them all or adding them up one by one?

I think it's possible to obtain an FTP ls listing and then use
awk to get the column with the size (in bytes) and add them,
printing the final result and maybe converting it into MB, GB
if needed.



 Would anyone want a five year old package?

Yes, I would, because today's packages are sooo slooow. :-)

Just as an unimportant sidenote: The FreeBSD OS is capable in
gaining speed on the same (old) hardware with every release.
So I can install it today on a 150 MHz P1 with 128 MB RAM
without any problems, and it will run fast. But I cannot use
today's applications on that system as I could the older ones,
such as StarOffice, older Opera versions, older Mplayer versions,
older X-Chat versions etc. because all of them depend on newer
libraries (including, excuse me, bloat) that would render the
system nearly unusable speed-wise (see the big jump in Gtk,
compare usability and speed of X-Chat 1 vs. X-Chat 2, or the
transition of Sylpheed from Gtk 1 toolset to Gtk 2 toolset).
Disk occupation is, of course, another topic. If you've got
only a 4 GB hard disk which could hold a fully functional and
feature-rich system of FreeBSD 5, it's hard to achieve this
with FreeBSD 7 and its set of applications because of the many
dependencies (just have a look at how Gtk and Gnome stuff
can fill your hard disk, maybe you want to use gmplayer only).



 A big difference with PBI's is that each PBI is self contained with all 
 the files and libraries necessary for the installed program to function 
 (quote from the website). Upside is that it is very easy to install and 
 avoids dependency problems. Downside is that it requires more bandwidth 
 to download and more disk space.

Another problem is that if a minor (but important) library change
appears that does require the update of the library, but not of the
dependent applications, that new PBIs have to be built and installed,
while the traditional way would suggest to update the library only.

But I don't think customers of PC-BSD will be interested in such
geek stuff. PC-BSD is fine for average users who install once,
use then, update very few times.



 I did wonder if it would make sense to just use the PBI system. The 
 number of packages depends to some extent on individuals volunteering to 
 make and maintain them - true FreeBSD style.

Allthough I prefer the traditional and well intended ways, I could
live with PBI as long as there's an automated way to install them,
read: command line, ability for batch processing. I simply don't
want to waste time for Next, next, okay, next, next, next, reboot. :-)


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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 to create NTFS file system from FreeBSD?

2009-04-10 Thread Polytropon
On Fri, 10 Apr 2009 12:33:13 -0700, Yuri y...@rawbw.com wrote:
 Unfortunately FAT32 has a file size limit 2^32-1 bytes (~4GB)
 And I talk about HD 1TB and files might me larger.

The easiest way would be to format it inside a Windows PC
that is NTFS capable. But I think your problem is that you
don't have such a PC at hand...

Maybe a (very overcomplicated) solution is to (install and
then) run some kind of Windows in a VM and format the disk
from there...



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: sorta newb help compiling samba

2009-04-10 Thread Polytropon
Just a small sidenote according to your shell script:

You're defining

# echo without newline
necho () {
echo $* | tr -d '\012'
}

Why don't you use echo -n which suppresses the newline instead
of involving another program to do something that echo can do
on its own? This is how FreeBSD does it in its system scripts.

echo -n Starting service... 
start_service
echo done.

And according to 

test -d /usr/bin || exit 0  # /usr not mounted

Woudln't it be more compliant to exit 1 to signal an error
due to /usr not being mounted? Exit code 0 is usually used
to signal that no error has happened (successful program
run), which isn't the case when the script is not (completely)
run.



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: ULE scheduler

2009-04-10 Thread Polytropon
On Fri, 10 Apr 2009 15:17:28 -0700, Dave Stegner dsteg...@earthlink.net 
wrote:
 I rebuilt the kernel with ULE scheduler, I think.
 
 How can I tell if it is running ULE or 4BSD??

I think that's what you're looking for:

% sysctl kern.sched.name
kern.sched.name: ULE



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: sound configuration for pidgin

2009-04-11 Thread Polytropon
On Sat, 11 Apr 2009 08:34:51 +0700, kyanh xky...@gmail.com wrote:
 I just use the default setting from Pidgin. I don't know what is
 the kind of sound though I guess that's *.wav.

For WAV files, the play command from the port audio/sox is fine.
I think it's a bit heavy to employ mplayer for this simple job.



 When I press Browse in Pidgin Configuration Page for Sound I
 don't get the right place of default sound file. Pidgin may use
 files from GTK collection.

If you want to find this out, just check the configuration files
of Pidgin and grep for wav or mp3, you'll find where the files
come from.



 When I use Arch Linux I can use play %s but play isnot installed
 as default on FreeBSD.

Of course not, it doesn't belong to the operating system. :-)
You can simply pkg_add -r sox to get this program.



 I install `mpg123` but I still get small sound.

The sound volume doesn't depend on the player. If the files
are weak, it may be useful to increase their audio level.



 I see. I often use vol == 90 and pcm == 75.

And you're sure that the audio isn't loud enough everywhere?
Maybe the output level of your sound card - or nowadays a
built-in sound card emulation through the CPU :-) - hasn't
enough power for your speakers. (I don't have such trouble,
I use a system with a separate amplifier.)



  Do other applications (music and movie player, games etc.) play
  louder sounds?
  
 
 The music and others sounds are normal.

So it really seems to be that

a) Pidgin uses strange mixer settings on its own

b) the files that Pidgin plays are too weak in
   terms of audio level.


 Thank you. I've learned from your message that I should use
 louder for sound instead of bigger. Still find smaller
 sound :D

This is because the price of the mainboard is less expensive
while the CPU temperature is hot. :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: the 'make' command in the ports tree

2009-04-12 Thread Polytropon
On Sun, 12 Apr 2009 20:08:21 +0200, dede sserre...@gmail.com wrote:
 Hello,
 
 I'm a long time user of BSDs, and I don't find man pages or 
 documentation on the way I can master the port collection (specialy the 
 fonction of make).

Did you try

% man ports

Don't miss

% man portsnap



 I found this, interesting: 
 http://www.freebsd.org/doc/en/books/handbook/ports-using.html, but some 
 interogations persist.

Which are those?



 I search a command that list all availables variables that afect program 
 installation, [...]

Those are usually specifig to the port and are, in most cases,
listed in its Makefile. Sometimes, they're documented, e. g.
in /usr/ports/multimedia/mplayer/Makefile you'll find a header
with explainations for the variables.

There may be globally set variables that do have an effect on
a specific port.

% man make.conf

gives a good summary, and have a look at the explainations given
in /usr/share/examples/etc/make.conf.



 [...] and all arguments I can give to the /usr/port/Makefile  (I 
 know about 'make search key= and name=' is there another?).

Yes, make install, make deinstall, make reinstall, make
config, make clean, make distclean, make package are
very common ones for the ports. In /usr/ports, you can even
use make update to update your ports collection.



 Could anyone give me some cool addresses to learn on the subject?

The FreeBSD Handbook, 4.5 Using the Ports Collection is excellent:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html
You mentioned it already. 

The FAQ, Chapter 7 User Applications, covers other activities:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/applications.html



If you find things that are not documented enough, simply ask a
question here.




-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Creating a custom install disk for Freebsd?

2009-04-12 Thread Polytropon
On Sun, 12 Apr 2009 20:45:11 -0400, Steve Lake steve.l...@raiden.net wrote:
  So I want to leave behind a cd that's setup in such a way that all 
 he has to do is pop it in, boot it up, and maybe answer a couple questions 
 prior to install.  After that the cd does the rest.  And when it's 
 finished, the system ends up with a fresh copy of the server as it was when 
 the snapshot was created, including all settings and applications. 

If any data loss is okay then (due to reinstallation a common
observation), you could easily create a bootable DVD (a CD would
be too small I think) that runs a simple shell script that

1. slices and partitions the disk,

2. newfses the partitions and

3. restores a dump onto the partitions.

These dumps you can generate from the server before you leave,
read: in the state that is desired for best operation. (Go into
SUM, unmount the partitions of the server and do a full dump.)

If you set up everything correctly, no interaction should be
required.

PRO:exact 1:1 copy of a running system
no interaction

CONTRA: need extra disk to save dump files
system in the state exactly prior dump



 It's 
 fine if the software isn't the latest. 

The software will of course have the date of the dump.



 I just need to make sure he can get 
 it up quickly and easily and then I'll handle the rest of the stuff 
 remotely from overseas, such as bringing it up to date.

Then my suggestion would be fine. I usually go the same route,
but without a custom boot CD. I use FreeSBIE to boot the system,
have a second hard disk with the partition images on it (e. g.
root.dump, var.dump, usr.dump, home.dump) and use sysinstall from
the CD to slice, partition and newfs the disk, and then restore
the backups onto the partitions (ad0s1a, ad0s1d-g). I think it
would even be okay to use the live file system of a FreeBSD disc
instead of FreeSBIE.

But I think in your case, involving a live system CD would be
too complicated (allthough it is not *that* complicated), so
the automated approach would be okay.



  So, is there something like this for Freebsd, or would I be forced 
 to use something like Clonezilla to create an image and go that route? 

No. FreeBSD is an excellent operating system that brings everything to
accomplish this task. The basic tools are dump, restore, a bit of
shell scripting, and a CD / DVD burning application.



 I'm 
 not very found of the disk image idea myself, but I can go that route if 
 need be.

It's not that bad, but be sure to make more than one of these
installation discs, just in case one gets damaged. :-)



If this isn't what you're searching for, maybe the make release
from the FreeBSD /usr/src tree will help you. You can furthermore
create a custom installation file for sysinstall. That's possible,
too.



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: mayday, mayday

2009-04-13 Thread Polytropon
On Mon, 13 Apr 2009 08:33:08 -0700, Gary Kline kl...@thought.org wrote:
 having unknown networking problems.  cannot ping anyone.  is this going
 anywhere?

*** chrrr *** RX UFB QUALITY 5, HOW COPY? OVER! :-) *** s ***

Checked firewall settings? (I had the same problem, out of my
own stupidity.)

Checked /etc/resolv.conf?



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Block device to regular file?

2009-04-14 Thread Polytropon
On Tue, 14 Apr 2009 18:17:24 +0200, cpghost cpgh...@cordula.ws wrote:
 I'm trying to recover some deleted files from a UFS2 file
 system with the sleuthkit.

:-(



 Unfortunatly, most sleuthkit
 utilities expect regular image files and won't operate
 on block devices:
 
   phenom# fls /dev/ad4s1e
   Sector offset supplied is larger than disk image (maximum: 0)

Because I already have my own sad story of data loss, I could
provide the idea of using FreeBSD's memory disks. I've always
used this to get TSK tools working the other way round, when
I had a dd copy, but required a device file.

Maybe this works as well in your case when you create a virtual
note for the device file:

# mdconfig -a -t vnode -u 10 -f /dev/ad4s1e
md10

You can now use TSK with /dev/md10, but I can't confirm that it
won't complain.



 Of course, I could always dd(1) the block device into another
 file system, and analyze that:
 
   phenom# dd if=/dev/ad4s1e of=/mnt/ad4s1e.dd
   phenom# fls /mnt/ad4s1e.dd | more
   regular-output-of-fls
 
 but unfortunatly, the file system I'm trying to analyze
 is VERY large and I don't have enough disk space elsewhere
 to take an image.

I would strongly advice you *not* to experiment with the original
disk, because this *may* lead you to more problems. Hard disks
are cheap today. Buy a fresh disk and make a dd copy onto it.
Work with this dd copy only - if the dd copy is a real copy
(and therefore replicates the defects of the original file system).

In my case, I'm talking about a ca. 80 GB partition which needs
4 hours to be transferred.

Always have in mind that your data may be more important than
the money for a new disk and the time spent for the dd copy.



 Now, is there an easy way to turn a block device into
 something that would behave like a regular file?
 Something like mdconfig -t vnode, but in reverse?

Maybe you could dd the partition into a (named) pipe and then
run TSK on this pipe?

Anyway, I'm not sure if this is such a good idea...



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Mouse stopped working in X

2009-04-14 Thread Polytropon
On Tue, 14 Apr 2009 13:22:34 -0500, Richard DeLaurell 
richard.delaur...@gmail.com wrote:
 Could you tell me please where the changes to the xorg.conf file which are
 necessitated by 7.4 are documented?

I think they are mentioned in /usr/ports/UPDATING - I haven't
updated my X yet due to the trouble it seems to cause... :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Automounting of USB drives - Why is it a problem?

2009-04-15 Thread Polytropon
On Wed, 15 Apr 2009 13:44:40 +0100, Chris Rees utis...@googlemail.com wrote:
 Automounting
 is a fiddly thing, and is not necessary for the majority of
 applications; remember FreeBSD is primarily a server OS.

Well, I'm using it exclusively as a desktop since 4.0, what
am I doing wrong? :-)

No, honestly: There are additional security considerations.
Do you want anyone to plug in an USB stick and steal your
data while you're not at your computer? Or put crap onto your
machine?

In some settings, especially the desktop-class installations
at home, automounting of USB sticks and other media is a very
good thing. It makes life easier.

Desktops in a corporate environment may require this functionality
explicitely to be disabled - theft of data can be made more
complicated by such a means. In most cases, there are guidelines
by the corporation that determine which features are allowed
and which aren't.

In development settings, it may be interrupting. Sometimes, I
just want to put in a blank CD to use it later on - not now,
so I don't want any interaction now. Or a USB stick that I
want to newfs, I don't want to get it mounted with its crappy
MSDOS file system on it before (which would require more
interaction to unmount it).

In server settings, automounting is mostly completely useless
because there is nothing to mount.

What would be the next request in this line? I want to put in
a USB stick and then FreeBSD should automatically execute what's
on this stick, and it should do this by default without any
questions. :-)



And yes, I'm paranoid and old-fashioned. =^_^=


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Automounting of USB drives - Why is it a problem?

2009-04-15 Thread Polytropon
On Wed, 15 Apr 2009 19:16:02 +0300, Manolis Kiagias sonic200...@gmail.com 
wrote:
 OTOH, you may not want to spend so much time if you just need to have an
 average user's desktop.

If this case, go with PC-BSD. Looks like Windows, feels like
Windows, still is FreeBSD. :-)

(Honestly, it's not *that* bad and offers a lot of handholding,
automation and preconfiguration.)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Automounting of USB drives - Why is it a problem?

2009-04-15 Thread Polytropon
On Wed, 15 Apr 2009 14:33:46 -0400, Mehmet Erol Sanliturk 
m.e.sanlit...@gmail.com wrote:
 Problem is not to select an operating system to use but it is easiness of
 usability of FreeBSD especially for the new beginners .

The thing with easieness of usability is... well... it depends
on what you are used to. Those who are (I hope it doesn't sound
impolite)... spoiled by strange Windows concepts about how
to do things (e. g. copying and moving files through the edit
buffer... ugh...) may find things complicated where others say,
wow, so easy! (e. g. cp source dest - compare this to
the easieness of JCL!).

What may be the best and most comfortable solution to me may
sound like a nightmare to others.

The topic, regarding USB automount, is such a case. The question
that could arise is: In how much is the operating system responsible
for this automounting? Should it be done by the OS, and if, by
default, and if by default, with which parameters? Or should it
be left to an additional service?



 A few days ago I tried to install my FreeBSD 2.0.5 double CD version but it
 could not be possible because it was requiring sound card attached old model
 CD-ROM drive .

Well, that's nothing special. In the same way I could try to
install the most recent PC-BSD on a 386 PC - without success. :-)

Each period of time has its typical hardware habits, and the
OSes of this time honour these requirements.

Can you remember when you wanted a firewall in FreeBSD, you
needed to recompile the kernel? Today, it's much easier to
load a module.

That's development. The question is: In which direction should
FreeBSD's development go? Personally, I like the approach of
making only those inventions become part of the OS that turned
out to be stable AND secure. This protects the system from
growing into bloat and crap. FreeBSD is one of the few operating
systems today that are free of this garbage.



 Over time . daily requirements is driving the selection of operating systems
 and personally I do not have any prejudice against to any one of the
 operating systems  .

Yes, an understandable opinion that I do share.



  I like FreeBSD very much and I want to see it much more better than its
 actually very very good state . One point for improvement is the easiness of
 usability for the new comers .

Newcomers to FreeBSD will learn very early that it's absolute
neccessary to read first, learn, and then do. There's no other
way. As it has been mentioned already, and I'd like to emphasize
this: You can do only what you understand.

When I came to FreeBSD, I had mainly Linux experiences on the
PC (Slackware), and UNIX experiences from the mainframe (PSU,
MUTOS). So I could find my way around.

A complete newcomer would first need to learn about the principles
of a UNIX OS: If you want it, make it. It doesn't do things on
its own, and that's completely intended. This is the strength of
FreeBSD (as opposite to many other OSes): It does what it's told
to do, nothing more, nothing less.

So if you want automount, you're completely free to *add* it. I
think it's easier to add things (and you may count some things
as a security risk) than to stuff security holes one by one
(disabling functionalities).



 Second is its installation easiness which at present I find it very
 difficult ( for example , during installation , it is not possible to go
 back to correct an entry . Due to this , sometimes it is becoming necessary
 to power off the computer and re-start from the beginning ) .

This teaches the user how to work on UNIX: First think, then do.
Personally, I like the installer for first doing all the interaction
(which can be scripted in order to get *no* interaction) and then
let it work. Of course, it's neccessary that all the settings are
correct because *you* are the one who needs to know what to do. The
installer cannot know this, or read your mind.

So if you give a certain command, the system assumes that you
really intend to do so (compare this to VMS's CL). Sometimes,
you even need to learn the hard way. I know it - did rm -r of
a tree where I did forget to first copy the things I wanted,
but then, oops, everything went away.

There are alternative installers in development that feature the
next, next, next, next, reboot style of installers. I think PC-BSD
has such an installer.

But personally, I would prefer the text mode installer of FreeBSD
to stay default. It's so powerful and fast if you know how to use
it.



 Third is use of Live FS CD . There is no any documentation about
 installation step ( Fix It ) or I do not know any .

You can create your own FreeBSD live file system or use, for example,
FreeSBIE (which I do often use for diagnostics and maintenance, as
well as for data recovery preparations). It automounts all media
that is detected (-o ro, of course), has a nice GUI and is quite
fast.



I hope this isn't too off-topic; if it is, then sorry; :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since

Re: where to grab source tarball?

2009-04-15 Thread Polytropon
On Wed, 15 Apr 2009 16:10:49 -0400, John Almberg jalmb...@identry.com wrote:
 I'm trying to upgrade FreeBSD from source, but my /usr/src directory  
 is empty. Absolute FreeBSD glibly says to grab the source tarball  
 from a FreeBSD mirror.
 [...]
 But it isn't clear to me which tarball I need to 'grab', or where it  
 is on the mirror.

Choose a local mirror. Then, for example, go into the directory
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/7.1-RELEASE/src/
and see the source files. Download all of them and install them
through install.sh. This will populate /usr/src with these
sources.



 Basically, I want to get to the point where I can type:
 
 cd /usr/src
 make buildworld
 
 And build FreeBSD 7.1-RELEASE

Once you have the sources installed properly (even without
updating them to the lastest 7.1-RELEASE-p or 7.1-STABLE)
this should be possible.



 I'd like to download the source to the server, rather than inserting  
 a CD in the machine, since Im 2 hours away from the machine.

Then the way mentioned above will be no problem. You can use the
CLI ftp to automate it.



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Need to change screen resolution...

2009-04-15 Thread Polytropon
Hi Quin.

On Wed, 15 Apr 2009 16:10:01 -0600, Q. Taylor q...@netsys.hn wrote:
 Hello 
 
 I am trying to find a way to change my current screen resolution from the
 default 720x426 (I think). [...] if I could increase the screen
 size to maybe 1028x756 that would be great.
 
 Any one knowing please email me the answer.

The common way to do this - was? - a setting in /etc/X11/xorg.conf.

Section Screen
Identifier  Screen0
Device  Card0
Monitor Monitor0
Option  Accel
DefaultDepth24
SubSection  Display
Depth   24
Visual  TrueColor
Modes   1152x864
EndSubSection
EndSection

It is the Modes setting which in this example is 1152x864.

Since FreeBSD 7.0 I have problems with this mechanism (it selects
stupid screen sizes or even locks the machine - 1152x864 is the
highest value I can get), so for me, this dirty workaround in my
~/.xinitrc works:

xrandr --size 1400x1050 
xrandr --fb 1400x1050 

The use of xrandr should always work.



PS. Did you intendedly exclude the list from receiving answer?
If not, you may forward my reply to the list.


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Need to change screen resolution...

2009-04-15 Thread Polytropon
On Wed, 15 Apr 2009 18:33:45 -0500, Neal Hogan nealho...@gmail.com wrote:
 Do you have an /etc/X11/xorg.conf?

Yes, of course. Why not? :-) Reason: All this magical autodetect,
autoset and autoguess doesn't work on my ancient GPU (ATI Radeon
9200). And I haven't done the big update of X yet, because I
prefer to keep things working for a while.

If anybody needs something for ripp off, feel free to use the
attached file. (I hope it works, never tried this before.)

You can always create your own one using X -configure,
but I think it won't be so tidy. :-) Of course, you can
make one file from two (as I did).



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
# /etc/X11/xorg.conf
# ==

Section ServerLayout
Identifier  Layout0
Screen  0   Screen0   0   0
InputDevice Mouse0CorePointer
InputDevice Keyboard0 CoreKeyboard
Option  SingleCardtrue
EndSection

#Section ServerFlags
#   Option  DontVTSwitch  false
#   Option  DontZap   false
#   Option  DontZoom  false
#   Option  Xinerama  false
#   Option  AIGLX true
#EndSection

Section Files
RgbPath /usr/local/share/X11/rgb
ModulePath  /usr/local/lib/xorg/modules
FontPath/usr/local/lib/X11/fonts/misc/
FontPath/usr/local/lib/X11/fonts/TTF/
FontPath/usr/local/lib/X11/fonts/OTF
FontPath/usr/local/lib/X11/fonts/Type1/
FontPath/usr/local/lib/X11/fonts/100dpi/
FontPath/usr/local/lib/X11/fonts/75dpi/
FontPath/usr/local/share/ghostscript/fonts/
FontPath/usr/local/share/fonts/amspsfont/type1/
FontPath/usr/local/share/fonts/cmpsfont/type1/
EndSection

Section Module
LoadGLcore
Loaddbe
Loaddri
Loadextmod
Loadglx
Loadrecord
Loadxtrap
Loadfreetype
Loadtype1
EndSection

Section DRI
Mode0666
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option  XkbModel  pc105
Option  XkbLayout de
Option  AutoRepeat250 30
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol  auto
Option  Device/dev/sysmouse
Option  Emulate3Buttons   true
Option  EmulateWheel  true
Option  EmulateWheelButton2
Option  ZAxisMapping  4 5
#   Option  ZAxisMapping  4 5 6 7
EndSection

Section Monitor
Identifier  Monitor0
VendorName  EIZO
ModelName   FlexScan F980
HorizSync   30.0 - 137.0
VertRefresh 50.0 - 160.0
#   DisplaySize 400 300
Option  DPMS  false
#   ModeLine1400x1050 155.80 1400 1464 1784 1912  1050 1052 
1064 1090 +hsync +vsync
#   Modeline1152x864  108.00 1152 1216 1344 1600   864  865  
868  900 +hsync +vsync
#   Modeline1024x768   94.50 1024 1072 1168 1376   768  769  
772  808 +hsync +vsync
#   Modeline800x60056.30  800  832  896 1048   600  601  
604  631 +hsync +vsync
#   Modeline640x48036.00  640  696  752  832   480  481  
484  509 -hsync -vsync
Option  PreferredMode 1152x864
# freezes system if set to 1400x1050
EndSection

Section Device
Identifier  Card0
Driver  ati
#   Driver  radeon
VendorName  ATI Technologies Inc
BoardName   Radeon RV250 If [Radeon 9000]
BusID   PCI:1:0:0
Screen  0
#   VideoRam131072
EndSection

Section Device
Identifier  Card1
Driver  ati
#   Driver  radeon
VendorName  ATI Technologies Inc
BoardName   Radeon RV250 If [Radeon 9000] (Secondary)
BusID   PCI:1:0:1
#   VideoRam131072
Screen  1
EndSection

Section Screen
Identifier  Screen0
Device  Card0
Monitor Monitor0
Option  Accel
DefaultDepth24
SubSection  Display
#   Virtual 1400 1050
#   ViewPort0 0
Depth   24
Visual  TrueColor
Modes   1152x864
#   Modes   1400x1050
# doesn't work
#   Modes

Re: No space in lost+found directory (formerly: SORRY. NO SPACE IN lost+found DIRECTORY)

2009-04-16 Thread Polytropon
On Thu, 16 Apr 2009 15:21:28 +0100, Chris Rees utis...@googlemail.com wrote:
 2009/4/16 Bruce Cran br...@cran.org.uk:
  Maybe we should tell FreeBSD to stop shouting too? :)
 
 Actually, we really should! Come on, we're not on teletypes any more.

Did UPPERCASE LETTERS make the teletype print louder?
I always assumed they would just consume more disk space...
RYRYRYRYRYRYRY!!! :-)


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Console mode scrolling

2009-04-17 Thread Polytropon
On Fri, 17 Apr 2009 16:55:16 +0200, Fernando Apesteguía 
fernando.apesteg...@gmail.com wrote:
 Is there a way to scroll the screen in console mode? Something like I
 do in Linux with Ctrl + Page Up?

FreeBSD offers a better solution than Linux: It uses the key on
the keyboard that is intended to do this.

Have a look at the ScrL (Scroll Lock) key. Have you ever asked
yourself what this key will do? Try it, press it! :-)

Use the up / down and page up / page down arrow keys then. To
relapse to normal operations, press ScrL again.

While in ScrL mode, you can still enter data, but it won't be
echoed to the terminal. You will see it after exiting ScrL
mode.

To indicate ScrL mode, the block cursor will disappear.





-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Console mode scrolling

2009-04-17 Thread Polytropon
On Fri, 17 Apr 2009 18:13:08 +0200, Mel Flynn 
mel.flynn+fbsd.questi...@mailing.thruhere.net wrote:
 Scroll-lock. Might be a problem with recent keyboards, where the key is 
 removed.

Not neccessarily - if the Pause / Break key is still present,
it has the same functionality as Scroll Lock.



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: PDF Authoring tool, suggestions?

2009-04-17 Thread Polytropon
On Fri, 17 Apr 2009 12:17:45 -0400, Michael Powell nightre...@verizon.net 
wrote:
 Ltcddata wrote:
 
  Don't know if I am missing the point here but why not use open office
  to create your pdf file with its export as PDF feature?
 
 Unless something has changed very recently OpenOffice.org doesn't import 
 .pdf's that already exist, which the OP indicates he needs in order to edit 
 a pre-existing file.

I think it would pe possible to use LaTeX in this case, too. The
source PDF can be imported, but I think it needs to be converted
to ps or eps before. Then, the modification (add) can be done
with overlaying another image, and afterwards pdflatex (from the
teTeX package) can be used to create a PDF document again.

Anyway, while this is a possible way, it seems to be one of the
most over-complicated ones. :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: snd-hda no sound whatsoever

2009-04-17 Thread Polytropon
From your diagnostics, the sound card seems to be detected okay,
as far as I see it.

Things worth checking are the mixer settings, such as:

% mixer pcm 100
% mixer vol 100

which will turn PCM and master volume to 100:100. For checking,
it's usually the most comfortable way to play some media file,
instead of a plain file into /dev/dsp.

The play command from the port / package sox or mpg123 / madplay
for mp3 files work well, as does mplayer.

Have a look at where /dev/dsp points to, it should be the dsp0
device.

I don't have furtther experiences with the hda stuff, so these
would be my basic ideas.



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Console mode scrolling

2009-04-18 Thread Polytropon
On Fri, 17 Apr 2009 19:34:03 +0200, Mel Flynn 
mel.flynn+fbsd.questi...@mailing.thruhere.net wrote:
 On Friday 17 April 2009 19:09:00 Polytropon wrote:
  Not neccessarily - if the Pause / Break key is still present,
  it has the same functionality as Scroll Lock.
 
 Good to know for this case. OTWon't help my el-cheapo kvm ;). First time 
 ever I was disappointed in a Logitech purchase lol /OT

Wow, great, they remove functional keys from the keyboards
and put useless advertising keys with stupid logos on it! :-)

Doesn't affect me - my IBM keyboard (model M) will live much
longer than me. =^_^=



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: write_dma error

2009-04-18 Thread Polytropon
On Sat, 18 Apr 2009 21:56:53 +0100, Chris Rees utis...@googlemail.com wrote:
 2009/4/18 mac.tc raszo...@gmail.com:
  it is a sata300, 7.2 beta1 amd64 and i am thinking there is problem with the
  disk, but the error varied a bit with different installs (i.e. whether i see
  the error or not)
 
 I'd be inclined to agree with you on the disk dying bit What disk
 exactly is it?

Would be worth checking the S.M.A.R.T. details (port:
smartmontools; program: smartctl). Looks a bit familiar
to me, I had those errors on a 2,5 6GB laptop hard disk...


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Problems with Xorg after portupgrade

2009-04-19 Thread Polytropon
On Sun, 19 Apr 2009 17:16:45 -0700, Charles Oppermann chuc...@gmail.com wrote:
 I'm having similar problems after upgrading an older machine to Xorg 
 7.4.  The monitor blinks it's power light indicating no signal.


 While CTRL+ALT+Backspace does not kill the X server, I can press 
 CTRL+ALT+F1 or ALT+F1 to return to the text mode console.  I then kill 
 the X server via CTRL+C.

There's a new setting that needs to be put into xorg.conf:

Section ServerFlags
Option DontZap false
EndSection

Then you should be able to Ctrl+Alt+BkSpace to kill X.



 Interestingly, if I restart the server (via Xorg, X, startx, etc), the 
 screen will switch to graphics mode and briefly show the contents of the 
 previous session, and then go blank.  I believe I'm seeing the contents 
 of the video memory after the mode switch and before the video memory is 
 overwritten or erased.

I've seen such a behaviour before, because X seemed to be unable
to update the screen contents.



 I believe that Xorg is working fine, but somehow the video card is told 
 to blank the screen (maybe via DPMS?) or is otherwise incorrectly 
 programmed.

Regarding DPMS,

Section Monitor
Option DPMS false
EndSection

comes into mind, as well as

xset -dpms

in ~/.xinitrc. This should eliminate every DPMS attempt of X.



 I was using the DPMS screen saver modul via rc.conf, I will remove that 
 and check again.

I don't think it has something to do with it, but maybe there's
some kind of interference between the system and X... It's always
wise to do testing with minimal settings applied.



 I'll also remove all the .xinitrc, .xsession, left over crud as well.

You could be fine with a minimal .xinitrc and .xsession, both
chmodded +x. with this content:

~/.xinitrc
#!/bin/sh
xset -dpms
xterm 
exec twm

~/.xsession
#!/bin/csh
source ~/.cshrc
exec ~/.xinitrc

The incorporation of shell settings depends on the shell you
use (C shell is the default shell).



 This is a machine using the VESA driver with an older Voodoo Banshee AGP 
 card.

VESA? Isn't there a driver for this card that gets automatically
detected (hahaha) by X .-configure?



In most cases, it's useful to delete all the many autodetected
screens in your xorg.conf, only leaving present what you really
have, nothing more. This should bypass every means of automatic
detection. Of course, you should know what you have. :-)

I hope it's okay when I attach an xorg.conf where these
requirements are met, it's the one I'm using at the moment.
Note that it doesn't conform to the new set of X settings
yet, because I'm still using an older X. Maybe it helps you
as a template or to get spare parts. :-)

And finally, have a look at EE lines in /var/log/Xorg.0.log
to see if any driver complains.


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
# /etc/X11/xorg.conf
# ==

Section ServerLayout
Identifier  Layout0
Screen  0   Screen0   0   0
InputDevice Mouse0CorePointer
InputDevice Keyboard0 CoreKeyboard
Option  SingleCardtrue
EndSection

#Section ServerFlags
#   Option  DontVTSwitch  false
#   Option  DontZap   false
#   Option  DontZoom  false
#   Option  Xinerama  false
#   Option  AIGLX true
#EndSection

Section Files
RgbPath /usr/local/share/X11/rgb
ModulePath  /usr/local/lib/xorg/modules
FontPath/usr/local/lib/X11/fonts/misc/
FontPath/usr/local/lib/X11/fonts/TTF/
FontPath/usr/local/lib/X11/fonts/OTF
FontPath/usr/local/lib/X11/fonts/Type1/
FontPath/usr/local/lib/X11/fonts/100dpi/
FontPath/usr/local/lib/X11/fonts/75dpi/
FontPath/usr/local/share/ghostscript/fonts/
FontPath/usr/local/share/fonts/amspsfont/type1/
FontPath/usr/local/share/fonts/cmpsfont/type1/
EndSection

Section Module
LoadGLcore
Loaddbe
Loaddri
Loadextmod
Loadglx
Loadrecord
Loadxtrap
Loadfreetype
Loadtype1
EndSection

Section DRI
Mode0666
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option  XkbModel  pc105
Option  XkbLayout de
Option  AutoRepeat250 30
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol  auto
Option

Re: Customized Remote Install

2009-04-21 Thread Polytropon
On Tue, 21 Apr 2009 14:42:32 -0600, Scott Seekamp sseek...@risei.net wrote:
 My hope was that I could make an automated install CD/DVD that  
 configured all the options I want AND change some base config files so  
 I can actually get to the box (or install an SSH key).
 [...]
 I'm open to other options if someone has gone down this road before!

I'd like to advertize a method that I think is very comfortable
in such a setting. It's worth mentioning that this method
usually requires (a) modern enough PCs or (b) you to know what
is the hardware profile of the PC.

The method works as follows:

First create a FreeBSD as you want it to be on the clients.
Install and configure everything as you intend.

Then dump the created partitions onto a CD or DVD and create
a simple script that:
1. initializes the client's hard disk
2. slices the disk and newfses the partitions
3. dumps the partition images onto the disks
4. reboots the machine into operating state.

After this, you should be able to SSH into the client and
change settings that need to be changed.

You always have your reference machine at hand, because it's
exactly installed and configured as the clients.

Under controlled conditions, it's even possible to build the
needed system in a virtualized environment.




-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Customized Remote Install

2009-04-21 Thread Polytropon
On Tue, 21 Apr 2009 18:47:11 -0400, Jerry McAllister jerr...@msu.edu wrote:
 On Tue, Apr 21, 2009 at 11:51:32PM +0200, Polytropon wrote:
 
  On Tue, 21 Apr 2009 14:42:32 -0600, Scott Seekamp sseek...@risei.net 
  wrote:
   My hope was that I could make an automated install CD/DVD that  
   configured all the options I want AND change some base config files so  
   I can actually get to the box (or install an SSH key).
   [...]
   I'm open to other options if someone has gone down this road before!
  
  I'd like to advertize a method that I think is very comfortable
  in such a setting. It's worth mentioning that this method
  usually requires (a) modern enough PCs or (b) you to know what
  is the hardware profile of the PC.
  
  The method works as follows:
  
  First create a FreeBSD as you want it to be on the clients.
  Install and configure everything as you intend.
  
  Then dump the created partitions onto a CD or DVD and create
  a simple script that:
  1. initializes the client's hard disk
  2. slices the disk and newfses the partitions
  3. dumps the partition images onto the disks
  4. reboots the machine into operating state.
  
  After this, you should be able to SSH into the client and
  change settings that need to be changed.
 
 This works very well. 

I just realize that I missed something: Better than dd, I think
dump  restore are the preferred tools to create the partition
images. When you're done on your template system, umount its
partitions (in SUM) and use dump to dump them into files. These
files go to the installation DVD and are later on restored onto
the (empty) partitions using the restore command. This will
preserve any permissions and other file properties.



  I have done essentially the same many times.
 The one thing missing is that you need to have something to set the
 network information -- hostname, IP address, gateway, netmask
 and name-server.These will be different for each machine.
 So, your script will have to accomodate this - read console
 input for these items and plug them in to the proper places
 before rebooting.

That's correct. I always used a kind of CHANGE THIS! items
to do so, or, if none are given, they are automatically created
so the system boots up and runs, but then again, require service
afterwards. This can be made work this way: When the incomplete
system is up and running, it mails the distant administrator (or
contacts him in another way) requiring him to finish the settings.
But I think it's the best solution to propmt for these
specific settings at installation time (read, when the
restore job is done, the partitions can be mounted -o rw and
the files neccessary to be changed can be created or modified).

The installation will then continue and finish.

Of course, the dump  restore method lacks a lot of bling,
blitzen, eye candy, bells and whistles, but it honours the
abstinence to such stuff with speed and easyness of use. But
it's still neccessary to read (and understand) and press a
few keys on the keyboard. :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Disk usage analysis

2009-04-21 Thread Polytropon
On Tue, 21 Apr 2009 20:08:18 -0700, Christopher Chambers 
ccha...@interchange.ubc.ca wrote:
 Is there an easy way to analyze disk usage to determine which files and
 folders are taking up the most space?

See man du. Just for terminology: In UNIX (so in FreeBSD), there
are no folders. Folders are made of paper and reside in a cabinet. :-)

These are called directories.

You don't call files sheets of paper either, do you? :-)

For a GUI solution, check out file browsers. Most of them have the
ability to calculate the disk space occupation of a certain
directory or subtree. For example, in the Midnight Commander,
use PF9, Command, Show directory sizes.


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Modern FreeBSD Installer?

2009-04-23 Thread Polytropon
On Wed, 22 Apr 2009 12:27:39 -0700, Fritz fkolb...@q.com wrote:
 As a big fan (and paying subscriber) of FreeBSD it pains
 me to ask this question:  When are you going to build
 a modern installer for FreeBSD?

It has already been done. The modern installer is called sysinstall.
It covers many actions: It does not only install the operating systen,
it furthermore helps installaing applications and configuring the
system, its services, network settings, security and so on. It can
be used from a serial console, from the text mode, and from an X
terminal. It's very straight forward. For maximum easiness of
operations, it's controlled via the keyboard. As I mentioned, this
can be a local keyboard, or one of a serial terminal (a real
terminal in hardware or a connected terminal emulator). At the
moment, this modern installer is available in the english language,
which is the main communications language of the FreeBSD operating
system. English language is a mandatory language for any serious
IT bizniz, so it's no problem at all.

If you think the FreeBSD installer lacks a specific functionality,
then feel free to report to the mailing list or contact the FreeBSD
developers.



 I looked at the list of projects and didn't see it there ... did
 I miss something?

Obviously. :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: awk question (actively tail a file notify when expression is found)

2009-04-23 Thread Polytropon
On Wed, 22 Apr 2009 12:38:47 -0700, Evuraan::ഏവൂരാന്‍  evur...@gmail.com 
wrote:
 but this below, does not work
 
  tail -f /var/log/apache2/access.log |awk ' /192.168.1.100/ {  print
 $0 | mail m...@email.address  }'

I would suggest to keep the system() approach:

tail -f /var/log/apache2/access.log | awk '/192.168.1.100/ { 
system(sprintf(echo %s | mail m...@email.address, $0)); }'



 Any pointers would be much appreciated.

It should work, but I'm sure someonle else will soon show you
some more elegant way. :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Modern FreeBSD Installer?

2009-04-23 Thread Polytropon
On Wed, 22 Apr 2009 23:16:43 +0200 (CEST), Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl wrote:
 i don't understand WHY something has to be better just because it's 
 working in graphics mode.

The problem is that if the graphics isn't optional (if it's the
default), the whole thing is *limiting* the actions you can do
with it. Simply consider what will happen if you try to use a
GUI installer via a serial console (and this is a common task
in datacenters).



 it doesn't make sense.

Exactly. More graphics != better. And surely not modern.



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: i had a tought

2009-04-23 Thread Polytropon
On Wed, 22 Apr 2009 17:10:05 -0500, Gary Gatten ggat...@waddell.com wrote:
 LMAO!  Touche!  So, are you saying I shouldn't ask any questions here
 about Ubuntu, Suse, RedHat, et al? 

Only if you want to know how to delete them. The answer is newfs. :-)



 Isn't Lunix better than BSD anyway?
 ;-)

No no, FreeBSD is the better Linux, as a german computer magazine
titled some years ago. :-)



PS. Please don't put HTML stuff in your mails. A mail client is
not a HTML browser and renderer. Thanks!

-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Modern FreeBSD Installer?

2009-04-23 Thread Polytropon
On Thu, 23 Apr 2009 01:59:53 +0300, Manolis Kiagias son...@otenet.gr wrote:
 VirtualHost wrote:
  Perhaps he doesn't want to specify what the
  partioning would look like himself, unless he prefered to do it
  otherwise.

The installer does this already, as far as I know.



 Exactly. Modern install does not necessarily mean GUI. FreeBSD *needs* a
 text installer to work on old machines, headless servers, serial
 consoles and the like. That being said, there are quite a few annoyances
 with sysinstall. And of course, having a GUI installer as an additional
 option is also very welcome.

No problem, as long as (a) it isn't default (read: too complicated
to switch it off of not needed) and (b) doesn't make things more
complicated.

It's nice you mentioned some problems (invitations for further
development) of sysinstall. Lemme see if I can add something
to it:

 Some of the current problems with sysinstall IMHO:
 
 - Confusing set of options - Beginners tend to go in circles inside the
 installer



 - No real 'back' functionality. Can't fix most mistakes, need to redo
 the install

Hmmm... I think this is where the user learns first think, then do
on a good basis.



 - Does not make the difference between base system and packages obvious.

Yes, especially when adding functionalities like Linux compatibility,
the installer installs some additional packages at this given moment.
I'd prefer an installer which acts in two stages:

Stage 1:
Make all the settings; this would maybe include the option
of having a back button, or much better: Instead of a
linear structure, a hierarchical structure with direct
access (as it is now) is much better - in this case, you
don't need a back button.

Stage 2:
Download (and install) the system and the packages that are
required by the settings made in stage 1.



 Personally, I would like a text installer using a previous/next approach
 that would give me options like:

Forgive me my ignorance, but personally, I completely DISLIKE this
linear approach. Instead of

A --- B --- C --- D --- E --- Foops, forgot something
E ---  no, not here
 D --- not here, too
  C ---ah, here it was, okay, got it
  C --- D --- E --- F --- Finish

A hierarchy would be better.

Options:
A   This and that
B   Some other stuff
C   More stuff
D   Even more stuff
E   Some settings
F   Several other settings
DoneCommit

So one could first select
A   This and that
then, knowing that C - E are not interesting for him, address
F   Several other settings
directly, make some choices, and then, maybe go back to 
A   This and that
and do some more tasks, and finally select
DoneCommit
to do the install.

This is what sysinstall already provides. In a modern way, it allows
to go back to any setting that has already been done and change it,
and the user is not limited in doing choices in a pre-defined order.





-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Modern FreeBSD Installer?

2009-04-23 Thread Polytropon
On Wed, 22 Apr 2009 17:07:54 -1000, Al Plant n...@hdk5.net wrote:
 Gui installs have a tendency to hide things you need to tweak or alter 
 to suit a specific need.

That's a point especially when you want to turn an older 150 MHz
P1 into a worthful part of the IT society. :-)

No, honestly: If the GUI installer just runs on a narrow subsets
of up-to-date GPUs, there are major problems. Especially when a
server has no GPU at all.

Let me state this: correct screen detection is already a problem
with the big X, how should a small installer get this right
with its limited resources? Mind this: The installer runs in a
very limited setting, while X can rely on an already running
system.

Good ways to go (for those who want it this way) are PC-BSD,
DesktopBSD and FreeSBIE.



 I find it fast and efficient the way it is.

Which makes it modern, in my opinion. But hey, I'm old and
old-fashioned anyway. :-)

-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Modern FreeBSD Installer?

2009-04-23 Thread Polytropon
On Thu, 23 Apr 2009 06:43:32 +0100, Matthew Seaman 
m.sea...@infracaninophile.co.uk wrote:
 So long as it maintains two other really useful features of the existing
 sysinstall: [...]
* You answer all of the questions first, and only then does the installer
  commit any irreversible changes -- and particularly not any operations
  that take appreciable lengths of time like creating filesystems or
  downloading voluminous install sets.

Exactly, that would be my point, too: FIRST do the interaction,
do ALL the interaction and do it in one chunk. THEN start installing
everything that's needed by the choices done. This would include
additional packages required by certain services.

As an addition, I could imagine a combination of the linear and
the hierarchical settings access method. I may draw a silly
picture:

FreeBSD installerNTP settings10/28
--

Enable NTP? [x] Yes [ ] No
NTP server: [ntpthing.bla.dings.org  ]   Select   
Some setting:   [oh don't know   ]
Other setting:  [ ] Choice A[x] Choice B[ ] Choice C

Prev next
--
F1   | F2   | F3   | F4   | F10
Help | Menu | Prev: Network (9/28) | Next: Kernel (11/28) | Cancel

And yes, I know emplying the function keys can be a problem, but
I like them. :-)

But I think you get the idea.



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Modern FreeBSD Installer?

2009-04-23 Thread Polytropon
On Thu, 23 Apr 2009 10:00:24 +0300, Manolis Kiagias son...@otenet.gr wrote:
 The text installer should always be the default, IMHO. A GUI  installer
 should be selectable i.e. from the boot options.
 I hope Ivan Voras finds the time to continue with the finstall project,
 it looked very promising:
 
 http://ivoras.sharanet.org/blog/tree/2009-02-19.what-happened-to-finstall.html

As an option, yes; as a replacement... uhm, no, better not...



 The problem here is that sysinstall *does* allow you to go back and redo
 some steps, but then fails miserably and mysteriously
 [...]
 ...it does allow you to go back in a sort of way - but then fails many
 times to continue normally.

I don't deny that fact that this observation is possible, but I
never found such a behaviour. Could you provide an example how
to create a situation where sysinstall fails as you mentioned it?
(It's a completely honest question.)


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: filesystem compatibility

2009-04-23 Thread Polytropon
On Thu, 23 Apr 2009 12:54:41 -0400, Chuck Robey chu...@telenix.org wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Are there any filesystems which FreeBSD has which offer compatibility to
 OpenBSD?  I want to add a OpenBSD partition to my long-existing FreeBSD disk,
 make it OpenBSD, but I want to be able to transfer data between FreeBSD 
 OpenBSD.  Any filesystem which could do that? 

From my experiences, the tar filesystem is the best one to
do this. You can transfer the tar archives (and add compression
if needed) between different operating systems using FTP or
any Internet means as well as via optical media, even the
use of floppy disks (if you still know them) is possible.

On one end:

% tar cvf bla.tar your stuff here

On the other end:

% tar xvf bla.tar



 Or, maybe looking at it from the
 other way, can OpenBSD read any of our FreeBSD filesystems?  I want to move 
 data
 between these two, if at all possible, and they're on the same machine, so nfs
 isn't a possibility here.

FreeBSD and OpenBSD use FFS / UFS file systems. Have you already
tried mounting FreeBSD partitions with OpenBSD or vice versa?

Of course, it's possible to transfer data via FTP, rsync or
scp between machines.

But because you asked about file systems, just try the mount
advice.



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: filesystem compatibility

2009-04-23 Thread Polytropon
On Thu, 23 Apr 2009 11:37:29 -0600, Tim Judd taj...@gmail.com wrote:
 MS-DOS FAT32

Ugh. :-)



 Severely limited, but that is as close to as a universal filesystem as you
 can get.

Among BSDs, UFS / FFS should work. To get rid of the many
limitations in the MS-DOS file system, tar is really the
best solution. (I know this from interoperability works
with many different UNIXes, such as BSDs, Solaris, IRIX
and Mac OS X - even Linux can handle it without problems.)
And it is not limited to a subset of media.

I can only say: Avoid MICROS~1 stuff if possible. Not using
it makes you happy afterwards. :-)




-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: mail server/webmail

2009-04-23 Thread Polytropon
On Thu, 23 Apr 2009 10:39:26 -0700, Liontaur liont...@gmail.com wrote:
 I want to have a program that gets the mail from my ISP mail server
 (pop), stores the mail permanently, 

This would be a task for fetchmail. It stores the mail
in mbox format in /var/mail/$USER, so you can chose any
mail program to incorporate them.



 allows me webmail access, and also lets
 me grab the mail with a mail client (Outlook Express).

Repeat after me: Outlook Express is NOT a mail client. :-)



 I'd like to be able
 to sync the mail with outlook express also.

Maybe you can get Redmond to give you the source code of
their... erm... stuff, so you can see how to interact
with it. :-)

I would suggest to use a standardized application, such
as M2 of Opera or Mozilla Thunderbird, or Sylpheed-Claws,
or pine, or mutt... there are many, and some of them are
even available in Windows. Because they're using standard
mbox files for the mail messages, syncing them is quite
easy, because it can automatically be done on a per-file
basis. Another advantage of sticking to standards is that
you can instruct different mail applications to use the
same mbox files for their operations, in mixed mode,
e. g. use Opera's M2 today, Thunderbird tomorrow, and
Sylpheed-Claws at the weekend.



 Like if I send a mail over
 webmail, that sent mail will also go into the sent box in outlook express,

I can't imagine how this should be possible. Call the
MICROS~1 hotline and ask them. :-)



 or conversly, perhaps store all the mail on the server and have outlook
 express just show the folders and contents stored on the server. But i'd
 have to somehow upload all of the mail currently in my outlook express. I'll
 also need some kind of spam functionality as I get a sizable amount of spam.
 Currently I use K9 for spam and I quite like it.

Under certain circumstances, it looks like a job for
an IMAP solution. Note that most of the things you've
mentioned are possible with standard UNIX mail applications,
because many stuff can be done on a per-file basis.
Regarding the part of a web interface, I'm sure there
are free webmailers that you can run on your server.
If your machine is not a server, your idea with keeping
local files and server files in sync is excellent.
There are good programs that cope with spam, such as
SpamAssassin, or simple filter rules in your preferred
mail application.


 Thanks for any help you can offer folks!

Well, I know that my comment isn't much help, but maybe
you find a starting point in it, and if it's only to
start *not* using Outlook Express, because it solves
nothing. :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: mail server/webmail

2009-04-23 Thread Polytropon
On Thu, 23 Apr 2009 14:49:01 -0400, Jon Radel j...@radel.com wrote:
 At least one person here, and it may well be me, is somewhat confused.
 
 Outlook  Outlook Express

Maybe. The original question included no reference to Outlook
but Outlook Express. Forgive me my lack of knowledge, but I've
never used one of these products (as I have not used any product
by MICROS~1).



 Not even close. 

I've been told so.



 And while I personally would not pick Outlook Express 
 as a POP/IMAP client, it is pretty standards based.  Outlook talking to 
 an Exchange server is an entirely different matter.

It wasn't clear what solution the poster initially expected,
but more and more I think IMAP would be the way to go. So
there's not much responsibility on the MICROS~1 side (which
is good). An IMAP system is quite easily set up with FreeBSD,
and there have already been good advices which programs to
employ for this purpose. The client on the user's site doesn't
matter much, as long as it does the IMAP communications.



 At least that was the lay of the land the last time I was forced to pay 
 close attention to Microsoft e-mail clients.

As I said, I never payed any attention to them, because I
don't consider them mail clients, but a bad excuse for not
being one. :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: mail server/webmail

2009-04-24 Thread Polytropon
On Thu, 23 Apr 2009 13:53:28 -0700, Liontaur liont...@gmail.com wrote:
 fetchmail, gotcha. I'll look into that.

I'm using it myself and I'm still happy with it. The advantage is
that you can use it for more than just one POP account.



 The Outlook Express deal is not for me, that's for another person who needs
 access to this email account and they happen to be very computer illiterate
 and being as they're used to OE, i'm not going to bother trying to teach
 them something new. As for me, I plan on just using webmail to access this
 email account.

Then I'd suggest to install Mozilla Thunderbird and give it the
Outlook Express icon. They won't notice any difference. But
recipients of mails will - no double HTML garbage. :-)

Webmail is not that bad (because important stuff is done in the
background - the backend), but I prefer a real mail program.
That's easy when you're at home or at work where you can
access these resources, but webmail is very handy when you're
at another place and still want to to your email stuff. Your
idea of combining both (read: IMAP) is quite good.



 IMAP, gotcha. And yea, the idea is to run this stuff on a FreeBSD server
 i've got running just for little tasks like this, then the windows
 workstation [...]

Computer with Windows == PC; Computer with UNIX == Workstation. :-)



 [...] can access it with a not-a-real email client and I can access it
 from wherever from my laptop too.

And you can even integrate a standard mail client (e. g. Thunderbird)
in this setting to have your mail done more comfortable, without
interfering with what's already done.




-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: maybe OT, but involves OOO its slideshow fmt, ``Impress''

2009-04-24 Thread Polytropon
On Thu, 23 Apr 2009 14:36:25 -0700, Gary Kline kl...@thought.org wrote:
   tHat said: how can I experiement with translating my html into 
   slideshow format?  If this is a case of RTFM, where is the FM
   page website that will get me going.?

For a real slideshow in terms of projected presentation,
maybe you want to check the foiltex package (port: textproc/foiltex)
and create a PDF file with it, using LaTeX. The advantage
is that it can be easily turned into plain text if needed
(e. g. for speech synthesis). Along with xpdf (also from
the ports), you can do:

% xpdf -fullscreen presentation

If you want the slides HTML based, an option would be to
create a script that reads the big HTML source and splits
it into small slides with less text, according to a template.
But I think it's still neccessary to put hands on it to get
things like document structure right.


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: maybe OT, but involves OOO its slideshow fmt, ``Impress''

2009-04-25 Thread Polytropon
On Fri, 24 Apr 2009 16:18:43 -0700, Gary Kline kl...@thought.org wrote:
   yes, the voices [from audio/festival] are pretty good; i use
   them to read boring stuff
   to me when i'm about brain-dead!  but these voices just don't cut
   it given the kind of quasi-poetic stuff i have.

Wouldn't it be easier to use a natural speaker then? I know there's
no such person in the ports collection... :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: maybe OT, but involves OOO its slideshow fmt, ``Impress''

2009-04-25 Thread Polytropon
On Fri, 24 Apr 2009 16:20:45 -0500, Andrew Gould andrewlylego...@gmail.com 
wrote:
 I've never done video editing on FreeBSD; but on a Mac, you can create a
 movie using slides and a sound file (wav, mp3, etc).  You would need an
 application that could import images and sound, and let you sync the two by
 assigning the order and duration of each slide.  It would then have to spit
 out a movie file, of course.
 
 Any video editing (on FreeBSD) knowledge out there?

No knowledge, but idea: As you know, mencoder can do everything.
So it should be possible to create something like a strain of
image files (like animated GIF) and put it together with a
sound file then. This could be done for smaller pieces first
(one slide + text speech), and then the slides could be
concatenated to create the whole video file.

The file format should be a standardized and free format in
first position, and for those who cannot (Windows) or are
not allowed to (?) use them, formats like MPEG and AVI could
be added.

if mencoder can't do the thing with the images, maybe it's
worth taking a look at ImageMagick and its convert command.


 Another option is a python script that uses vnc to create a shockwave flash
 file from your actions on your desktop:
 http://www.unixuser.org/~euske/vnc2swf/
 
 The script is able to import a sound file that you record while you create
 the demo.

Interesting idea, but I would suggest to avoid Flash whenever possible.
But to continue this idea: If the output is a simple .flv file, it could
be turned into something standardized using mencoder again. I've used
youtube-dl and mencoder to do so - but only three times! I swear it's
true! :-) (After Flash annoyed me so much on web pages, I decided
to relapse my system into a Flash-free state.



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: maybe OT, but involves OOO its slideshow fmt, ``Impress''

2009-04-25 Thread Polytropon
On Sat, 25 Apr 2009 07:47:04 -0500, Andrew Gould andrewlylego...@gmail.com 
wrote:
 This is a very good point.  (Especially since Majel Barrett-Roddenberry,
 voice of the computer in the original tv series of Star Trek, is no longer
 with us.)

You could employ the computer voice woman from The Andromeda
Strain (the movie by Robert Wise). :-)



 Writings of such a human nature deserve a real human's voice and
 interpretation.

You can do a lot with synthesized spoken language, but the
human voice perception apparatus reacts to them differently
than it does to a native (natural) voice, even if both say the
same text.

For example, the Die Bahn (our federal-wide railway company
for transportation of persons) uses a synthetic voice on some
stations. This voice is harder to understand when coming out
of the PA loudspeakers than the previously used natural human
voice was, allthough the human voice ocassionally spoke with
some accent or dialect (Layptsh Houbtbarnhouf, alls nars
hibbe! or Beet olls arsshtoygn, dees Tsoog is karpoot!)
While the brain does automatically correct language properties
such as a (strange) dialect or accent, it searches for similar
patterns in the synthetic language (because it simply doesn't
sound correct), but cannot find them.


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Modern FreeBSD Installer?

2009-04-26 Thread Polytropon
On Sat, 25 Apr 2009 17:45:49 -0600, Tim Judd taj...@gmail.com wrote:
 If it's
 a fast 686, default to a X environment.

I would always encourage using a text mode dialog FIRST. Such
as

Your system is able to run the graphical installer.
Do you want to launch it, or do you want to work with
the text mode installer indead?

[ text mode ]   [ graphical mode ]

Note that not everybody with sufficient hardware would also
want to use the GUI installer. Well... I won't... :-)

CPU power is not the only criteria for running a GUI installer.
But you already got into detail and took this into mind.



 Second (which ties into the first) is the hardware that was probed during
 boot-time.  If a /dev entry (or even some sysctl) exists for a pci/agp/pci-e
 device, it can run a graphical installer.  If it finds none of the graphical
 adapters, and sees serial ports, enable the dialog(3) as well. 

Then the problem of how to support these graphical adapters
could arise. You know that X has often problems autodetecting
stuff correct, even stuff that worked fine with XFree86 doesn't
always work with X.org. So problems are not only too new
things, but too old things, too.



 I seem to find this very logical and can't (yet) see any flaws with doing
 this.  sysinstall is built, we'd just need to maintain it and create the
 x-based installer.  Run it with a minimalist (twm?) startup so we don't
 waste time booting.

A window manager? Why use a window manager? It's possible to run X
without any window manager, and in this case, it makes sense, 
because there are no windows to be managed. It's only one program
running - the installer.

Of course, we're just talking about an installer, aren't we? It's
not about a full-featured live system where you can use Firefox
while doing the install. :-)



 I've also thought about the concept of a web-ui installer, even if it's run
 from the local machine.  The benefit of a webui installer is that you can
 give the disk to someone, tell them to put it up on a publically available
 IP address and just sit back and let it run.  but I ramble on

I'm not sure I understood this correctly... Do you suggest
something like running a (minimalistic) web server from the
machine where FreeBSD is about to be installed, and then
have either a HTTP connection from localhost or from a
distant machine (where someone else can do the install)?



 Again based on the hardware probed (this one being the amount of RAM in the
 box, in contrast to the amount of disk space needed to install on disk),
 create a in-ram disk as the staging area when you write to disk.  The other
 idea is to use dump/restore instead of tar files.

Well, dump  restore is my preferred method of cloning from
a master workstation. But I'm not sure it can be used for
custom installation where the amount of what to install may
vary, and it is determined by the person who installs...



 Last idea is to do similar to what Ubuntu (used to) do.  Provide a X-based
 installer CD and a console-based installer CD.

I'd think that is too much. You'll always want the CD
you haven't got at hand at the moment. :-)



 I'd be happy to provide feedback; these were brainstorming ideas and would
 really like to see progress move toward a more eye-candy installer.

Well, then I'd suggest you prove why eye-candy is needed
at all in the first place. :-)

As Wojciech mentioned in one of his replies, I'd welcome
new functionalities - instead of the same functionalities
in an X enclosure that makes everything slower. :-)

For example, if you get the sources from the install disc,
sysinstall could provide a step to update them right away,
letting you select the update server and then run csup to
bring them up to date.

Just an idea.

One of many possible ideas. :-)


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Modern FreeBSD Installer?

2009-04-26 Thread Polytropon
On Sun, 26 Apr 2009 02:18:55 +0200, Erik Trulsson ertr1...@student.uu.se 
wrote:
 As long as you have sufficient RAM (and you don't actually need all that
 much of it) running X on an older CPU should not be much of a problem.
 (Unless X.org has bloated really badly over the last couple of years.)

It has. It makes my P4 2GHz 768MB RAM with ATI 9200 RV250
run slower than my 300MHz P2 256MB RAM, while not being able
to init the screen at 1400x1050... :-(



 That logic will often do the wrong thing for servers.  They are the most
 common case where people want to install using a serial console, but
 typically do have a (fairly simple) graphical adapter and could run a
 graphical installer perfectly well.  That does not necessarily mean
 that the person doing the install wants to do it. 

Exactly. The hardware configuration does not neccessarily
imply the intentions of the user.



 Better would be to check (somehow) for the presence of a keyboard and a
 screen.  If those are not present forget about X.  If they are present
 then the user at least has a possibility of using X.

That would be a good approach. AT and USB keyboards need to be
taken into mind.

Another thing is the mouse. It *may* not be present, but the
user may want to use the GUI installer. Then the GUI installer
would need to have full keyboard support - a thing that you
can rarely see today...



 Also keep in mind that there are graphical adapters/screen combinations
 where X will not work correctly without first tweaking configuration files.

That's the problem of running X in this very limited stage of
operations. It cannot do that much as if it was installed and
had custom-tweaked config files.



 Things have improved greatly here in recent years, but it is still
 not perfect.

And disimproved, too. :-)



 I fail to see what the point of an X-based install would be - other than
 pure eye-candy, which does not seem very important for something like an
 installer which is used so rarely.

A benefit that people often imply is that it attracts more
users, because they get scared by the 80x25.

Another point would be to select the LANGUAGE of the installer
in the first place. Germans get scared by english words! :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Modern FreeBSD Installer?

2009-04-26 Thread Polytropon
On Sun, 26 Apr 2009 17:06:58 +0200, beni b...@brinckman.info wrote:
 Why should a graphical installer have less functionality ?

hasn't been claimed. GUI installer just requires more resources,
more overhead.



 And what is wrong 
 with some eye candy ?

Eye candy is wrong exactly when it reduces functionality
(instead of adding it). For example, if you need more time
for an installation, require a mouse, or can't use your
Braille readout anymore - then it's wrong- Or better: It's
useless.



 Guys, please, wake up, we don't live in the 70's anymore 
 !

That's why FreeBSD is not following strange MICROS~1 concepts
of how to do several things. :-)



 I'm using pc-bsd. Why ? Cause of the easy and nice installer. It's as simple 
 as that. 

You value an operating system by how the installer LOOKS like?
I'm sure you're kidding. :-)

Honestly: People can't be that stupid. Oh wait... okay, I didn't
say anything. :-)

The point is - what I would have better said instead of the
previous two paragraphs - a text mode installer LOOKS more
serious. Serious biznis, you know? Servers, and workstations,
and operating system. For work to be done. Lots of work. Ask
people who work as admins, who keep mailservers running,
webservers, application servers. Do they choose the OS by the
amount of eye candy in the INSTALLER? I'm sure they don't.



 And before anyone says do it yourself, get a sponsor or something down 
 those lines : if it is all about choice, why not give the people/user the 
 choice ? Now I don't have any choice : sysinstall or pc-bsd...

Or DesktopBSD. :-)



 I'm for both : text and graphical :-)

As I explained in an earlier post: If the GUI installer is
(a) not the only way, (b) not an auto-default, (c) does work
well enough even on older hardware and (d) doesn't make things
more complicated, I wouldn't have any problem with it, I would
even use it!

But please note that many users of FreeBSD are scared by the
way other GUI driven installers work. Much time is needed to
do an installation, and there's more emphasize put on how
things look instead of how they work. So I can understand
everyone who says: When FreeBSD gets a crappy installerjust
like 'Windows' and some Linusi, then I would look around for
another OS that fits my needs.



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Modern FreeBSD Installer?

2009-04-26 Thread Polytropon
On Sun, 26 Apr 2009 20:28:55 +0300, Giorgos Keramidas 
keram...@ceid.upatras.gr wrote:
 I think this is a reasonable approach to the problem of which
 installation mode to launch.  The default is `user friendly', [...]

No, the default is GUI. That's a big difference because
it entirely depends on the user. Imagine a bline user.
Is GUI user friendly for him? No, because he has zero
output on his Braille line. The installer does something
and he doesn't even notice.

My idea would be to add a short description for each
choice (so the illiterate user can make an assumption of
what he will get), but default to the SIMPLEST option
always.

That's the idea of FreeBSD: The installer provides a
basic OS that runs, but YOU need to install the applications
you want. The philosophy is: If you want it, go get it.
It's not that it fills GBs on your hard disk with stuff
you'll never touch (as in my case, PC-BSD would do with
the whole KDE stuff).

FreeBSD installer selection
---

Please select the environment where you want to
perform the installation

(1) Text mode installer
This installer runs well on a serial line
and is intended for professional users. It
runs on every system (desktop and server).

(2) Graphical installer (basic)
This installer is intended for PCs. It gives
help and advices and guides you through the
installation. It's recommended for new users.

(3) Graphical installer (extended)
Works as (2), but gives even more help and
advices. Runs on most recent computers. It
can be utilized by new users, too.

You have 30 seconds to make a selection. If no selection
is made, the text mode installer (fail-safe mode) will
be launched.

Choice  === _

PF1PF2PF10
Help   Language   Abort



 [...] there is a
 timeout so the installer won't get stuck forever in the prompt, and
 there is still an option for a plain console-based installation for
 everyone who wants to go that way.

The plain console shouldn't be the option, it should be the
default. The GUI should be the option because it IS optional
(read: not required) for real work.


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Modern FreeBSD Installer?

2009-04-26 Thread Polytropon
On Sun, 26 Apr 2009 20:11:36 +0200, Neo [GC] n...@gothic-chat.de wrote:
 Just my two cents:

I may add two Eurocents. :-)



 Why a graphical installer? Shure, it looks nice, easy, modern and more 
 accessable (examples: Mac OS X, Vista), but on the other hand, for me 
 FreeBSD never was intended to be fancy, but to be functional.

I think the majority of FreeBSD users chose FreeBSD because of
this simple consideration. If I wanted a bloated system that
requires the most recent hardware, gets usable after 3 minutes
and does the same as an operating system 5 years ago, well,
I wouldn't use FreeBSD then.

I won't say FreeBSD is for servers only. Because it is a
multi-purpose OS, it can be run on servers, desktops and
mixed forms. I'm using it on the desktop EXCLUSIVELY since
4.0, without problems. Because it doesn't require re-installs
every few weeks (as famous modern OSes do), I don't need
a GUI in the installer, because I have enough GUI when the
system is up and running.



 The text mode installer:
 - works on every PC, every graphics card, every screen, with serial 
 console, with ssh, with screenreader

Exactly. The GUI installer simply cannot run on a serial console.
That's nothing bad per se, X can't run on a serial console
either, but the principle of GUI dictates that I won't work
on a serial console.



 - is easy enough for people who are able to use it after the installation

It's really easy if you can read and have a minimum knowledge
about what you're doing. If you don't know anything, can't read
and are stupid, you shouldn't try to install an operating
system on a computer. :-)



 - doesn't need a mouse to be usable

That's why I mentioned the keyboard even in regards of a GUI
installer. As long as it can be used without a mouse, only
by the keyboard, it's okay.



 FreeBSD isn't Linux/OSX/Windows, FreeBSD is not for users who want 
 eyecandy, FreeBSD is for professinals who want perfectly working 
 systems, who know how to edit .conf-files, which packages the need and 
 so on. (at least I think so)

I'd agree with this.



 IMHO, the biggest problem with graphical installers is that they just 
 don't work for everyone.

That's right. Because modern X (and you can't use old X) requires
a quite up-to-date system, older machines that can be used very
well for FreeBSD cannot even be installed.

X has problems on a running system, how can we expect it to be
part of such a basic operational routine as an OS installer?



 For example, my last attempts to install Ubuntu 
 Linux stopped when the installer didn't work with my graphics card or 
 just choosed a mode my TFT didn't support. This was such a bad 
 experience, I didn't wanted to try it anymore.

And this experience could scare away potential users who have
heared or read that FreeBSD is a versatile and powerful OS.
And then, they are presented a child-play installer with
beeps and whistles, with dancing elephants and funny bunny,
and suddenly, the system hangs, reboots, and they won't know
why. Can you imagine they'll try a second time? :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Modern FreeBSD Installer?

2009-04-26 Thread Polytropon
On Sun, 26 Apr 2009 14:52:56 -0400, Mehmet Erol Sanliturk 
m.e.sanlit...@gmail.com wrote:
 For such reasons , personally , I hate
 
 (1) auto-start installations .

Dangerous. Simply dangerous. Something as important an the
installation of an operating system should not rely on
assumptions and guessings... the user will want to install
me on one slice, I wipe the whole disk, then put everything
into one big / partition, and by the way, install KDE and
all kinds of servers which I run automatically, if needed
or not, because sometimes someone could need some of the
services.



 (2) auto-detect parts without asking correctness of detection when its
 conclusion is not verifiable
  by the installers
 [...]
  ( erroneously detection of monitor resolutions and using a default
 resolution which is not usable
due to mismatch to display characteristics of the monitor )  ... )

In regards of X, this happens often enough.

A possible workaround would be some kind of fail-safe minimal
setting, such as 800x600 which should (!) work everywhere.
Of course, all the display stuff of the installer would need
to fit onto a 800x600 screen. If not - big problem: cannot
reach controls, even cannot see them.



 With respect to experiences gained continuously installing operating systems
 , my idea about FreeBSD sysinstal is that it is an excellent installation
 system developed by very conscious persons  which they know what to do very
 well .

The installer, on the other hand, relies on the user - that
he knows what he's doing. If I just go there and clickityclick,
I can't expect the system to read my mind. :-)



 The points I suggested for improvements are toward to make it easy for the
 beginners . For a computing system , to satisfy needs of both beginners and
 expert users is not a very easy task .

This could be achieved through installation profiles with
a well-intended set of selections (partition, things to install,
preconfiguration).

The installers of PC-BSD and DesktopBSD exactly do this already.
They offer a preconfigured X / KDE environment for average users.
The installation process is made so easy that it's quite impossible
to fail here.



 Making a part easy for a group may
 make it difficult for other group  . 

Difficult, and, in the following, impossible. This will be the
point when even long-time FreeBSD users will abandon this system.



 Using defaults is not always correct
 due to hardware detection difficulties .

Any defaults should be as fail-safe as possible, and that's
a very hard question how to set them.



 My inclination is toward the beginners as much as possible because   this
 approach  will  enlarge  FreeBSD user group  .

And again, I may say that PC-BSD and DesktopBSD exactly do this.
Those who want to use pure FreeBSD are usually intelligent
(sorry) enough to have no problems with sysinstall. Anything
than sysinstall makes it harder for them to learn, and finally,
it's about learning when you're using an operating system.



 When I was in University a research assistant was working toward a PhD in
 Ergonomy by researching user interface software design principles to reduce
 the human errors during control of a system ( for example , effects of menu
 depths ) .

It starts way before this point: You have three buttons. Which
to make the default button?

Human perception. Use colours. Which colours? Colour blindness,
anyone?

Attention distraction. Where to put the buttons? What to put
on the screen along with them? Giving an alert: How?

I could go on for hours. :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Modern FreeBSD Installer?

2009-04-26 Thread Polytropon
On Sun, 26 Apr 2009 12:19:31 -0700, Michael David Crawford m...@prgmr.com 
wrote:
 I got cursed up in heaps on the debian-user list, because I had the gall 
 to assert that just installing a service shouldn't actually start it 
 running.

Security considerations apply here. As well as should the system
recognize any media and automount it -o rw by default without
asking?, this can cause problems. Or at least confusion.
For example, when I put in a blank CD or DVD, maybe I don't
want to use it right now, but later? But suddenly, a burning
application pops up and annoys me.



 Apple doesn't have a problem providing GUI installers for Macintoshes 
 because they have the full specs on all the video cards, and lots of 
 engineers and QA personnel.

Yes, Apple can do that, no problem. But FreeBSD runs on the
good PC x86 stuff, where manufacturers are known for not
sticking to existing standards, and where developers have to
reverse-engineer or trial+error to get things working. This
is not a good condition for an installer.



 Just about every day I read on the FreeBSD-Current list about ZFS 
 failing or even crashing the whole system.  There are many, many 
 profound benefits a reliable ZFS implementation could bring to the 
 community.  That would be a better use of the community's limited resources.

Completely agree. When I see how great ZFS runs on Solaris,
I wish to have this on FreeBSD rather than a colourful GUI
installer that I only use one time per 5 years. :-)

Remember: The installer is a thing you only use once. Of
course, the first sight effect may apply here, and the
judging about this effect is mainly influenced by previous
experiences with OS installations. So if you come from
OpenBSD or LFS, you'll say, Wow, what a comfortable and
nice installer!, while others may say: This is DOS! :-)

Much more important are tools you use more than one time,
and again, PC-BSD and DesktopBSD offer nice GUI tools for
system administration (desktopbsd-tools can be installed
on a pure FreeBSD from the ports), so no need to re-invent
the wheel here. Those who insist on GUI tools already have
their answers, and those who administer their system purely
won't even touch these tools.



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: (no subject)

2009-12-23 Thread Polytropon
On Wed, 23 Dec 2009 12:05:40 -0700, Modulok modu...@gmail.com wrote:
 List,
 
 Is there a software method (not a microwave oven) to destroy a CD-R?
 Something like:
 
 dd if=/dev/random of=/dev/acd0?
 
 Obviously the above doesn't work, but the idea is there.

There are platform where it works. :-)

What do you mean by destroy - make it unreadable before
or after something has been burned onto the CD-R? You can
use /dev/random to fill the writing process for tools like
cdrdao or cdrecord, e. g.

dd if=/dev/random bs=1024 count=100 | cdrecord -tao -data -

Maybe you need to set specific options (dev=, speed=) for
your recorder.

However, after a successful recording, it's easier to destroy
the CD-R physically. If the session (and media) is already
closed, the same idea applies.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: What happened to /home?

2009-12-24 Thread Polytropon
On Wed, 23 Dec 2009 15:01:11 -0800, Rem P Roberti remeg...@comcast.net wrote:
 Today I booted my laptop and discovered that /home was gone.  Well...not
 exactly..but for all intents and purposes.  The system isn't seeing it
 although I can see it when I cd to /.  But if I try and cd to /home from
 there the system tells me home:Not a directory. 


 What happened, and
 what can I do about it?

Do some diagnostics. First, check inode, using the ls -i
command both for the symlink /home and its target /usr/home.
Then use

fdsb -i /dev/ad0s1a

(or the proper device) and use inode n (with n = the inode
number you discovered by the ls commands above) to check the
information.

Finally, but that may be risky, run fsck on all partitions
that could be affected (e. g. if /home is on ad0s1a, but
home data is on ad0s1h).

I still have a problem like you described: I cannot cd to
my home directory (/home/poly) with the same error message.
The problem is: The home directories inode information is
gone. It is still mentioned in the higher level inode (/home),
but the inode this entry is pointing to isn't existing.
Furthermore, all files inside this directory, at least those
at the next lower level, refer to the inode with the
back-pointer, which references an inode non-existing.

If any symlinks are involved, check them. Check file x
(with x = the directory name) to see what it is.

I hope you won't see something like

% cd mnt/poly
mnt/poly: Not a directory.

% file mnt/poly
mnt/poly: cannot open `mnt/poly' (Bad file descriptor)

Do you have the Midnight Commander installed? If your
/home line is given red color and preceded by a ?,
size 0, and dated Jan 1 1970, then... well... it indicates
a problem some way similar to mine...



Good luck!

I hope you have good backups. That's not an impolite joke.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: What happened to /home?

2009-12-24 Thread Polytropon
On Thu, 24 Dec 2009 08:33:20 +0200, Giorgos Keramidas 
keram...@ceid.upatras.gr wrote:
 That's your problem right there.  /home does not point to the absolute
 path of '/usr/home' but to a *relative* path starting at whatever
 happens to be your current directory when you access '/home'.
 
 Try replacing your current /home symlink with a link to /usr/home
 instead:
 
 # cd /
 # rm -f home
 # ln -s /usr/home home
 
 Then the symlink should start working in a more useful manner.

That's quite strange... I have /home@ - export/home and /export
lives on another partition. But I have no problems accessing
files as /home/poly/some/dir/some/file from wherever I am.
As far as I understood, relative symlinks prefix their respective
targets always with their own location, so /home + export/home
gives /export/home.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: After freebsd-update - all went wrong.

2009-12-24 Thread Polytropon
On Thu, 24 Dec 2009 13:31:13 +, Marwan Sultan dead_l...@hotmail.com wrote:
 i'm on FreeBSD 7.2-R p4
 I just applied :
 # freebsd-update fetch
 # freebsd-update install
 with no problems

Later you mentioned that you run a custom kernel,
especially for inclusion of quota. When using the
freebsd-update tool, you have to pay extra attention
to custom kernel - it usually just works for the
GENERIC kernel without any modifications, that's
what this tool primarily is intended for.



 After i restarted the server
 i lost my ssh connection, server went down!

Server down OR just no connection?



 I have contacted the hosting company, and after investigation
 they informed me that for some reason system is ignoring the
 defaulroute command in rc.conf
 So they had manualy add the defaultroute to rc.local !!

The use of rc.local is still possible, but deprecated;
it's mostly a means for backward compatibility.

Furthermore, I don't see a defaulroute setting (not
command per se) in /etc/rc.conf (and /etc/defaults/rc.conf
for completeness); only things found are:

defaultrouter=NO  # Set to default gateway (or NO).
ipv6_defaultrouter=NO # Set to IPv6 default gateway (or NO).
#ipv6_defaultrouter=2002:c058:6301::  # Use this for 6to4 (RFC 3068)

Is this what you mean?

Are you sure you didn't overwrite any important configuration
file, like /etc/hosts, /etc/resolv.conf or even rc.conf?



 And after this small workaround, I found out users quota is not running
 So i figured that its ignoring the default kernel.

No, the GENERIC kernel just doesn't include quota
functionality.



 I have recompiled my custom kernel..
 Now quotas working!

Of course, yours seems to include it.


 and system still 
 FreeBSD xxx.com 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Fri Oct  2 12:21:39 
 UTC 2009

What should it be instead?

It would be nice if you could tell which version you
came from, and which version you updated to.

Have you updated your src/ subtree, especially for the
kernel sources? Seems that even if your system has been
updated with freebsd-update to 8, your kernel has been
compiled from the 7.2-p4 sources...



 it didnot even apply the patchs !!

Patches go into the src/ subtree when updating it, e. g.
with make update in /usr/src (using csup or cvsup).



 and still reading the default route from rc.local

It would be helpful to see some config file examples.
Maybe rc.local overrides things that should already work?



 This shouldnot happen with freebsd-update tool !! what the heck!

Wrong use of the right tool maybe?




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: After freebsd-update - all went wrong.

2009-12-24 Thread Polytropon
On Thu, 24 Dec 2009 14:06:48 +, Marwan Sultan dead_l...@hotmail.com wrote:
  well, I have fixed problem two by installing back my custom kernel.
  but the system still ignores the defaultroute command in rc.conf
  this is why we have manuly added to the rc.local

Is this possibly a spelling error? The setting in rc.conf
is defaultrouter=... - routeR.



  But eventho it shouldnot touch rc.conf right?

Correct. The rc.conf file is one of the few ones that
shouldn't be in the scope of freebsd-update or mergemaster
(if you update by source).


  my rc.local now has
 
 route add default 66.xx.x.x
 ifconfig em0 66.xx.x.x netmask 255.255.255.255 alias



 If i take it off, system will not have any defaultroute
 anymore although its in rc.conf
 
 defaultrouter=66.xx.x.x
 hostname=xx.com
 ifconfig_em0=inet 66.xx.x.x netmask 255.255.255.0

Your setting in rc.conf is spelled correctly (see above).

Could you try what happens if you start the inet subsystem
manually (/etc/rc.d/netif and /etc/rc.d/routing)? The
last one reads defaultrouter=... from rc.conf.

As far as I see, the settings in rc.conf are completely
valid, and should work. If this is still the old rc.conf
(that worked before), the services activated in there
should be started, too...

You could additionally check /etc/resolv.conf and /etc/hosts
for any malformed entries. I think /etc/hosts could be
altered / overwritten by freebsd-update?




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: example c program that does beep

2009-12-25 Thread Polytropon
On Fri, 25 Dec 2009 18:58:26 +, Anton Shterenlikht me...@bristol.ac.uk 
wrote:
 How can I get a beep from c?
 I looked at curses and syscons.c, but
 still not clear.

If you want to use NCURSES / CURSES, it's a bit complicated.

Otherwise, just output %c (the character) 0x07, BEL, which
generates an audible bell, or beep.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: example c program that does beep

2009-12-25 Thread Polytropon
On Fri, 25 Dec 2009 18:58:26 +, Anton Shterenlikht me...@bristol.ac.uk 
wrote:
 How can I get a beep from c?
 I looked at curses and syscons.c, but
 still not clear.

If you want to use NCURSES / CURSES, it's a bit complicated.

Otherwise, just output %c (the character) 0x07, BEL, which
generates an audible bell, or beep.


*** text/plain attachement has been stripped *** RETRY ***

/* beepflash.c
 * ---
 * cc -Wall -lcurses -o beepflash beepflash.c
 *
 */

#include stdio.h
#include ncurses.h

int main(int argc, char *argv[])
{
initscr();
cbreak();
noecho();
nonl();
intrflush(stdscr, FALSE);
keypad(stdscr, TRUE);
start_color();

printf(beep: %d\n, beep());
fflush(stdout);

printf(flash: %d\n, flash());
fflush(stdout);

return 0;
}





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

___
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: clicky driver

2009-12-25 Thread Polytropon
On Fri, 25 Dec 2009 12:47:49 -0800, Gary Kline kl...@thought.org wrote:
   If someone in the kernel-side would work with me and add the 
   Audio click, I will look at some of the netbooks to see how 
   usable they are. 

One problem might occur when the desired device doesn't have
a PC speaker functionality and only offers sound output
through the sound card (inside the chipset, which is a chip,
and mostly is the CPU itself). Programming a PC speaker beep
is, as far as I can imagine, more simple to implement than
a sound generation by the DSP (which requires a driver to
do so).



 There are millions of people world-wide with
   impaired speech who can type. 

There are also millions of blind people world-wide, but
web developers don't pay any attention on them. :-)



   As a first cut, is there somebody on the kernel side I should check
   with to see about adding a click driver?

You could initially have a look at the atkbd (or ukbd?)
source files. Maybe just inserting some output of the
ASCII character 0x07 (BEL) after each recognized keypress
would be sufficient, but... no, it won't be that easy. :-)


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: clicky driver

2009-12-25 Thread Polytropon
On Fri, 25 Dec 2009 13:37:13 -0800, Gary Kline kl...@thought.org wrote:
   at first I'm lookings for a cots (commericial, off-the-shelf)
   solution.  The XO has stereo speakers and so do the notebooks.  
   I am thinking of the 'PC speaker'; something that would sound for
   around a 25th/second, very low and with at least some loudness
   control.  
 
   The xset utility let me turn off repeating keys so that I
   do type type that way.  xset also has a key-click
   setting for click and loudness.  Don't know about pitch.  That
   would need to be integrated with what I'm thinking of.

There's xset b vol pitch duration; vol cannot be changed
for the PC speaker, pitch is in Hz and duration in ms. If
vol is  100, it's functionality is implemented by shortening
the duration. A command like xset b 100 100 25 should give
what you want. As far as I understood, the PC speaker has no
volume control per se.


   There are a few who actually *do* have text-only pages.

And fewer do have alt= and longdesc= for included images.
Being suitable for blind users doesn't mean to completely
look boring to viewing users. Careful HTML coding is the key.
But sadly, it's not considered modern... :-(



   In the third-word are at least millions of disabled folks--
   mostly mouldering.  Some thinking: What the hey? Why not 
   blow myself up and then wake up in paradise? I'll get 70
   angels all to myself. Oh-boy.

Hmmm... that sounds appealing. :-)



   Education is the only solution, even tho it will take generations.
   That's why I think the XO is a win++

It can help, if properly used. Wrong use can lead into the
opposite. I can only tell you from Germany where school and
education are epically failing since 1990, even though they
employ modern means of education... a joke from an educational
(scientifical) point of view.





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: clicky driver

2009-12-26 Thread Polytropon
//* OFFLIST

On Fri, 25 Dec 2009 15:50:48 -0800, Gary Kline kl...@thought.org wrote:
 On Fri, Dec 25, 2009 at 10:53:43PM +0100, Polytropon wrote:
  On Fri, 25 Dec 2009 13:37:13 -0800, Gary Kline kl...@thought.org wrote:
 There are a few who actually *do* have text-only pages.
  
  And fewer do have alt= and longdesc= for included images.
  Being suitable for blind users doesn't mean to completely
  look boring to viewing users. Careful HTML coding is the key.
  But sadly, it's not considered modern... :-(
 
   Right on the money there!  I suppose it's easier to slap up some
   pix.  maybe I do things with fewer photos because I hand-code html.
   In any case, I'm very conscious of my markup; I always check it via
   lynx .

I work the same way, but I even apply the step of validating
the HTML code through W3C validator.

I would appreciate an urge to web developers to code valid
HTML. And web browsers should implement it. Then all the
scary non-HTML pages could not be viewable anymore, the
browser shows nothing, or gives an error message: The page
you're intending to view does not contain valid HTML and
cannot be displayed. Contact the author to request a valid
version of the document. :-)



 Education is the only solution, even tho it will take generations.
 That's why I think the XO is a win++
  
  It can help, if properly used. Wrong use can lead into the
  opposite. I can only tell you from Germany where school and
  education are epically failing since 1990, even though they
  employ modern means of education... a joke from an educational
  (scientifical) point of view.
 
   Are there regional differences, still? East/west? whatever?

Of course.

First off all, basic education in the eastern part (GDR) is
still a bit better due to better teachers who are still on
duty. In the western part (FRG), education is worse, basically.

Then, there are differences between the federal countries.
There's no common educational concept. Schools are organized
differently (different layers, different names, different
degrees), horizontally and vertically. Degrees are not
comparable inside Germany, so for example when you leave
Gymnasium (high school) in Hamburg, you can join a university
in Hamburg, but you cannot join a university in Munich because
it doesn't recognize your degree from Hamburg.

There are no common teaching plans. If you move from Leipzig
to Hannover, you're doomed.

The GDR didn't have those problems. Teaching plans were
the same in every school. Same plans, same books, same speed.
Results were comparable.

Sweden has adopted the unified GDR educational system, with
success.

In the FRG, education selects the future of the children
by the income of their parents. If you have rich parents,
you can affort to go to Gymnasium (high school, 13 years)
and go to university later on. If your parents are poor,
e. g. unemployed, you have to go to Hauptschule (main
school, 8 years), and maybe Realschule (real school, 10
years), but you cannot go to university with such a degree.
You will even have major problems finding a professional
education in order to get a job.

The levels of how good schools are considered in society
have lowered through the years. In approx. 1995, Gymnasium
was over-qualified, Realschule was ideal for a very good
job and Hauptschule was good for a normal job. 10 years
later, in approx. 2005, everything was shifted , with
Hauptschule now just for a helper job, e. g. carrying
sand bags on a building site. Today, this is what Real-
schule was, again shifted , and Hauptschule is the direct
way to unemployment after school.



   And how does GErmany stack up compared to the rest of the EU?

Quite bad. The reason is simple:

Basal knowledge isn't taught in schools anymore. After
8 or 10 years, there are still massive deficites in
reading and basic calculating.

Other copuntries in the EU are already recognizing the
development and are investigating about how to improve
the educational system.

The FRG, of course, can't do that. Today's educational
system is the same as of Kaiser's and Hitler's time. So
it CANNOT BE CHANGED. Period.

A good comparison is Japan or China. The first stages
of education are quite frontal. Basic things are
repeated until you can rely on them. Later on, there's
no repeatition anymore. And why? Because it isn't needed.
Pupils and teachers can rely on their presence.

The GDR had the concept of the Kindergarten, which prepared
children for school, equipping them with basic knowledge
and some handcrafting skills.



   And the States. 

I always considered the States to have not a very good
educational system (this is due to how Americans are
precepted here, especially on TV), but it has one advantage
which I consider very modern:

It gives you the right NOT to send your kids to a public
school (where they have to wear weapons and are slapped
into the face by classmates if they don't hand over their
money or mobile phone

Re: setlocale command is missing

2009-12-26 Thread Polytropon
On Sat, 26 Dec 2009 02:04:44 +0100, Daniel Dvořák dan...@hellteam.net wrote:
 BTW in mc there is not any settings with display bits, there
 is only options menu with display bits. Wrong help dialogs ?

The ini file for MC contains:

.mc/ini:use_8th_bit_as_meta=0
.mc/ini:display_codepage=Other_8_bit

But I didn't find a menu / setting corresponding to the first
setting which I had to change from 1 to 0 manually in order to
use Umlauts in the MC editor.

Therefore, I have set the LC_* variables to en_US.ISO8859-1
or de_DE.ISO8859-1 respectively. Did you include the language
part of the LC setting, as well as the correct charset name?



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: clicky driver

2009-12-26 Thread Polytropon
On Sat, 26 Dec 2009 02:43:56 +0100, Roland Smith rsm...@xs4all.nl wrote:
 On Fri, Dec 25, 2009 at 12:47:49PM -0800, Gary Kline wrote:
  Nothing tactile, and because neither Linux nor BSD has an audio
  click, not even that.  Sun does have a command line 
 
 It should. The X window system provides a way to get keyclicks with
 xset(1). The command 'xset c 100' whould generate the loudest click possible.
 
 Whether you hear something depends e.g. on how the X server is started, and
 wether the hardware supports it. On my PC I hear the 'bell' from the PC
 speaker, but no clicks.

Same here, too. Even xset c on (as mentioned in man xset)
doesn't work.

Maybe the AT / USB keyboard is missing a speaker. The Sun
type = 4 keyboards included one. :-)




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: clicky driver

2009-12-26 Thread Polytropon
On Fri, 25 Dec 2009 20:23:22 -0800, Gary Kline kl...@thought.org wrote:
   What I've got to do is pick up where I kwit ten years ago with the 
   kernel driver code and drop the the code to make the speaker-audio
   create tiny, brief clicks, preferably low, thunky sounds like ye 
   ancient IBM Selectrics.  

Connect an IBM 3270 to your server and you'll have the
keyclicks implemented in hardware. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: clicky driver

2009-12-26 Thread Polytropon
On Sat, 26 Dec 2009 13:01:07 +0100, Polytropon free...@edvax.de wrote:
 //* OFFLIST

Sorry, hit the wrong button - I hope it doesn't bother anyone.
If it does, don't read it.

Outdoor concert will start today at 3 p.m., but if it rains
a 3 p.m., we'll already begin at 1 p.m. :-)


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: example c program that does beep

2009-12-26 Thread Polytropon
On Sat, 26 Dec 2009 17:16:23 +, Anton Shterenlikht me...@bristol.ac.uk 
wrote:
 On Sat, Dec 26, 2009 at 11:50:06AM -0500, Thomas Dickey wrote:
  
  instead of the printf/fflush, it would clear the screen and beep - if the
  terminal description says it can do the beep.

The exanple I posted displays the return code of the functions,
which is of (int) type. Of course, the common way to use them
is to just call beep(); and it should beep if the terminal can
do it.



 I have 
 
  echo $TERM
 xterm
 
 
 xterm can do beep, can't it?

It can. I've just checked from within the xterm terminal
emulator. Are you possibly using Konsole or the Gnome
terminal program, or rxvt? In fact, it shouldn't matter.



 But I can't get it to beep on anything.
 I probably don't get some basic idea..

You're sure that yu haven't turned beeping completely off
with some xset call?

As far as I remember, for simple beeping, the speaker
device (device SPEAKER or speaker_load=YES) isn't
required.

Maybe some wild mixer-settings?




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: clicky driver

2009-12-26 Thread Polytropon
On Sat, 26 Dec 2009 13:42:33 -0800, Gary Kline kl...@thought.org wrote:
   Oh, yeah.  In the late 80's when I joined my Nth startup and worked
   with several fellow hackers in a large room, my Sun was the only
   one with the click turned on.  It drove my fellow programmers nuts,
   but that wasn't much I could do.  If there were a speaker jack on
   the 3/80 computers, I would have been willing to wear earphones...

On early 386 PCs where there was a real powerful
speaker inside the box, I created a headphone out
by removing the speaker and replacing it by a
3.5mm jack, so I could attach earphones. A program
I wrote could output waveform data through the PC
speaker (in absence of a real sound card), so this
was a kind of do it yourself soundcard. Imagine
the fun of connecting a PA. :-)



 This older computer was high end in 2003
   but I don't remember seeing a real speaker, so if it's some IC
   that's producing the 'beep', I'm outta luck.

In modern PCs, the speaker is often replaced by a kind of
micro-speaker, a black cylindrical object with 0.5mm radius
and a small hole in its top. It's a kind of piezo-speaker,
sufficient for a friendly little Beep! at boot time.

The development of recent PCs, as well as of notebooks and
netbooks, makes me think that there won't be a speaker (a
physical one) in the future anymore. On some systems, e. g.
a Siemens-Fujitsu notebook I own, the speaker's functionality
is given by the sound card and through its speakers, but
the control for the speaker is still the traditional way.
Maybe this way - simply sending 0x07 / BEL, or something
like /dev/speaker implements - won't be possible in the
future... This will force the output of any sounds through
the sound card (or its representation by the chipset
respectively), requiring a specific driver to access the
particular hardware.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: clicky driver

2009-12-26 Thread Polytropon
On Sat, 26 Dec 2009 15:07:34 -0800, Gary Kline kl...@thought.org wrote:
   Thanks!  I just listened to the opening few notes of Star Trek [!]
   But very faint and I don't know if the dinky BEL is a chip or a
   real speaker.  

You can determine it easily: If you plug something into
the sound card in order to mute the built-in speakers,
and you still hear a sound, it's a real speaker besides
the sound card's speakers. If you don't hear anything,
all audio output - sound card AND PC speaker - is done
by the built-in speakers.



   Anybody know how I can redirect the beep to my speakers?  I miss
   the confirmation that vi/vim puts out. 

Early sound cards (e. g. the Logitech SoundMan 16) had an
option to copy PC speaker output to the sound card output,
even allowing to set the volume of this channel (treated
like any other channel, e. g. CD, PCM, MIDI).



   Probably help to be a dog!  --That reminds me of what my parents
   generation were saying about mine [with its loud music].  That we'd
   all be nerve-deaf by age 55.--  Teh computer does beep as an error
   sound.  How adjustable it is other than just beeping, dunno.

The kind of beep that is emitted (e. g. via BEL) doesn't
seem to be adjustable. I had different systems, one of
them just gave a clicking sound, where the other one
made a long tone, and a third one made a normal tone.
It seems to be determined by hardware.



   Should be a way to send the beep to my desktop speakers, then,
   right?  I've got volume and power, treble/bass.

If the PC speaker output is realized through the sound
card (and its speakers), it will leave the computer
through those speakers, or through the headphone jack.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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 client configuration to connect to ISP's SMTP server

2009-12-26 Thread Polytropon
On Sat, 26 Dec 2009 17:50:39 -0600, Lane Holcombe l...@joeandlane.com wrote:
 Check out SMART_HOST in /usr/src/contrib/sendmail/cf/README

I'm using the SMART_HOST functionality, too. But there's
no authentification (username + password). The relay I'm
using - my ISP's - seems to be happy with a valid IP from
their range.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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 to modify date after unrar files?

2009-12-27 Thread Polytropon
On Sun, 27 Dec 2009 12:27:53 -0500, Tsu-Fan Cheng tfch...@gmail.com wrote:
 Hi,
I don't know how to modify the time of files after it's extracted by
 unrar, the extracted file has the time that it's created on the other side,
 but I want it to have time/date on my side, thank you!!

In order to change access / modification time, just

% touch files

and they'll have the correct date and time. Use -m
for modification time.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Re[2]: How to force tar to be quiet?

2009-12-27 Thread Polytropon
On Sun, 27 Dec 2009 22:10:31 +0200, Коньков Евгений kes-...@yandex.ru wrote:
 # tar -cf /home/kes/backup/conf/aaa_etc.tar -C / boot/loader.conf etc/* 
 usr/local/etc/* usr/local/virtwww/*
 tar: No match.
 
 And next does not work as expected:
 # tar -cf /home/kes/backup/conf/aaa_etc.tar -C / boot/loader.conf etc 
 usr/local/etc usr/local/virtwww
 
 I get:
 boot
 etc
 mysite
 local
 sub
 usr
 virtwww
 
 Why local, sub, mysite, virtwww are in ROOT or tar???
 'local' must be under 'usr'
 'virtwww' must be under 'local'
 'mysite' must be under 'virtwww'
 but not in root
 
 Why I get that  wrong result?

When * is specified on the command line, the shell
will expand it. This causes the subtrees / subdirs
(or their 1st level content) of /usr/local to be the
subject of the archiving operation.

Which shell are you using? Is it maybe not expanding
* and instead taking it literally?





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: re-write is this booting info correct?

2009-12-28 Thread Polytropon
On Mon, 28 Dec 2009 21:04:57 +0800, Fbsd1 fb...@a1poweruser.com wrote:
 The Microsoft/Windows fdisk program is used to allocate partitions on 
 the hard drive. This program allocated two types of partitions “primary 
 dos partition” and “extended dos partition”.

Just a formal addition: primary DOS partition - DOS stands
for Disk Operating System, it's an abbreviation. You're
stating this later on, but you should do it at its first
occurance.



 A single “primary dos partition” occupying all the space on the hard 
 drive would be assigned drive letter C.

The drive letters used seem to include the : as a part,
so it would be C: instead of plain C.



 An alternate method is to allocate an “extended dos partition” and then 
 sub-divide it into logical dos drives lettered C, D, E, F.

I think the term is logical volume inside an extended DOS
partition; I'm not very familiar with their english names,
but that would correspond to the correct german name (found
in german versions of DOS); the term is volume or drive.

I've got no english DOS documentation here, so I can't
check for the correct term.

German: Primäre DOS-Partition and Logisches Laufwerk in
einer erweiterten DOS-Partition, and Laufwerk means
drive, but I think I recall that DOS uses volume for
this...



 One of these 
 “primary dos partitions” or one of the logical dos drives in the 
 “extended dos partition” must be set as the active partition to boot 
 from.

I'm not sure you can actually boot from a logical volume
inside an extended DOS partition... as far as I remember,
booting can only take place from a primary DOS partition.




 FreeBSD’s fdisk program allocates disk space into slices. A FreeBSD 
 slice is the same thing as a Microsoft/Windows  “primary dos partition”. 
 FreeBSD has nothing akin to an “extended dos partition”.

It quite has - its slices (which are subdivided just as the
extended DOS partitions are, so its partitions are like - 
but not the same as - the logical volumes inside a DOS
extended partition).



 The 
 Microsoft/Windows partition and the FreeBSD slice is where the operating 
 system software is installed.

No. The software is installed on the partitions inside a
slice, or, to be more exact, in the file system that the
partition holds. There can be of course one partition
coviering the whole slice, so partition(s) would be
a valid term.



 The FreeBSD 
 ‘disk label’ program is used to sub-divide the slice into smaller chunks 
 called partitions. In a standard install of FreeBSD, these partitions 
 are the default directory names used by the operating system.

Not are - they _refer_ to them (or are refered to by
then), e. g. the default directory name / is the root
directory, but /dev/ad0s1a is the partition; /usr is the
directory for { UNIX system resources | user binaries and
libraries }, but /dev/ad0s1g is (maybe) the partition that
holds this data. In settings where one partition convers
the whole slice, there are no further mountpoints for the
divisions of functional parts of the system.



 The motherboard standard which was created in the days before windows 
 desktop were even though of yet and at which time Microsoft DOS (disk 
 operating system) was the only thing available.

Sure. :-)



 This hard drive 512-byte MBR is where all the limitations are. Do to 
 it’s size the MBR partition table is limited to 4 entries.

Due to its size...



 This means no 
 matter how large your hard drive is (20MG or 200GB) you can only 
 sub-divide it into a maximum 4 slices/partitions.

20MB. But I'd like to have a 20 machine gun hard disk, too. :-)



 The default MBR code written by the Microsoft/Windows fdisk program is 
 hard coded to boot the C drive. The FreeBSD fdisk program has option to 
 write a simple boot menu program to the MBR.

You could add that this program is called the FreeBSD boot
manager, because that's its actual name.



Everything else seems to be correct to me, as well as
written in an appealing way, and technically understandable.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: re-write is this booting info correct?

2009-12-30 Thread Polytropon
On Tue, 29 Dec 2009 09:24:40 +0800, Fbsd1 fb...@a1poweruser.com wrote:
 I have the win98 fdisk english version. I tested this and the fdisk 
 program displays just the drive letter with out the :. Now on the DOS 
 command line you do have to use the : to change to different drive, like 
 in to change to A: drive.

Yes, the fdisk program acts that way. Adding : after the
drive letter (as a capital letter) is a thing you usually
see in any documentation, like this erases you C: drive
or check floppy in A: and B: to make sure they are present.



 The correct word as displayed in the fdisk program is 'logical dos 
 drives' just the way i have it.

Okay, then Laufwerk and drive are corresponding correctly.
Then it's a logical drive inside an extended DOS partition.
I will remember this, thanks for checking!



 back in win3.1 days a 20MG hard drive was the largest made at the time.

I'm _sure_ it was a 20MB hard disk, maybe just a typo? :-)



And for the rewrite:

 The Microsoft/Windows fdisk program is used to allocate partitions on 
 the hard drive. This program allocated two types of partitions “primary 
 dos partition” and “extended dos partition”. DOS means “disk operating 
 system” which was the precursor to the Microsoft/Windows desktop GUI 
 “graphical user interface” first appearing in Win 3.1.

You should have DOS in caps always, as in primary DOS partition.



 An alternate method is to allocate an “extended 
 dos partition” and then sub-divide it into logical dos drives lettered 
 C, D, E, F.

And it is possible to have a bootable system without a primary
DOS partition? I hardly can imagine that - but don't bet on
my opinion, I've NEVER used any Windows, so I'm honestly
just guessing.

A typical multi-drive setting would contain a primary DOS
partition C:, and an extended DOS partition containing the
logical drives D:, E: and F: (for your 4-drive example).



 The FreeBSD ‘disk label’ program is used to sub-divide the slice into 
 smaller chunks called partitions.

The program's name is disklabel or bsdlabel respectively.



 This hard drive 512-byte MBR is where all the limitations are. Due to 
 its size the MBR partition table is limited to 4 entries. This means no 
 matter how large your hard drive is (20MG or 200GB) you can only 
 sub-divide it into a maximum 4 slices/partitions.

I'm sure you wanted to say 20MB - megaBytes. :-)



 The FreeBSD fdisk program has option to 
 write a simple boot menu program to the MBR. Its called the FreeBSD 
 boot manager.

The program boot0cfg does this.





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: fpc on FreeBSD?

2009-12-30 Thread Polytropon
On Wed, 30 Dec 2009 01:35:05 +1100 (EST), Ian Smith smi...@nimnet.asn.au 
wrote:
 Is fpc's IDE usable, like good ol' TP6 and 7, never mind Delphi?

Maybe you're interested in xwpe (X window programming environment)
which delivers quite a good look  feel of TP7 (DOS). There's
xwpe for X, and wpe for text mode. But I haven't used it for
many many years, so I can't say something about its current
state and development.

If I raise my head, I can see the Borland TurboPascal 7 box
and manuals on the shelf above my CRT. The day I got it as a
present was the day I didn't code TP anymore, and switched
to C as my primary language. I hope nobody will give me a C
box as a present. :-) But it's okay, I deserved it, because
my TP coding was completely awful - obfuscation in its finest
form, completely unintended. :-)

init;bk(0);setpicardcolor(x0+x1+xk+ax(rs(r,10,12),qq[x])+q,f[q[ni],kk[i+1]);


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: re-write is this booting info correct?

2009-12-30 Thread Polytropon
On Tue, 29 Dec 2009 16:29:56 +1100 (EST), Ian Smith smi...@nimnet.asn.au 
wrote:
 In freebsd-questions Digest, Vol 291, Issue 3, Message: 1
 On Mon, 28 Dec 2009 21:04:57 +0800 Fbsd1 fb...@a1poweruser.com wrote:
 
   Content-Type: text/plain; charset=windows-1252; format=flowed
 
 First up, you'd be better off using a non-Windows charset here, as they 
 use weird characters just for ordinary things like quotes, as below.

Good and helpful advice. Even apostrophes get messed up.



 All of these, at least from DOS 3 (c. '86?) use the same MBR setup, a 
 maximum of 4 Primary Partitions, one (and only one) of which may be an 
 Extended DOS Partition, containing as many Logical Drives as you like; 
 they're formed as a linked list, though I never used past Drive J: with 
 OS/2 (HPFS).  (I'm using caps here to refer to the DOS nomenclature)

The number is de-facto limited to 26 maximum for ALL drive
letters - keyword is LETTER: A up to Z. A: and B: are
reserved for floppy disk drives, C: is the booting partition
(usually a primary DOS partition), D: up to Z: can be:
- other primary partitions
- optical drives
- fake drives refering to directories (SUBST command)
- external drives (INTERLNK / INTERSVR commands)
The order of the drives is somewhat arbitrary, so you
can't always predict drive letter behaviour.



 In all of these, you can't access more than one Primary Partition from 
 any DOS-based OS; if you wish to have drives D:, E:, F: (etc) then these 
 _must_ be in the single Extended Partition - so your statement above is 
 not correct in that respect.

I'm not sure about this. It's long time ago, so my brain isn't
up to date anymore. :-) When I try to remember, I have the
idea in mind that it WAS possible to partition a drive with
primary partitions (max. 4).

I'll check this - and I actually CAN, because I still have
a DOS machine (6.22) running well; it's mostly used for
programming mobile radios and for disk operations in a
museal content (robotron resurrection). :-)



   An alternate method is to allocate an “extended dos partition” and then 
   sub-divide it into logical dos drives lettered C, D, E, F. One of these 
 
 Not limited to F: as above (adding the DOS colon as Polytropon suggests)

My suggestion comes from documentation where C: is preferred
to C (in context of drive letters), like The C: drive is
the booting drive, or On floppy A: you'll find no files.



 I'm not sure about NT, but certainly DOS 3 to 7 
 cannot boot from other than drive C: - though DOS Drive C: need not be 
 the first physical disk partition, indeed there can be several, though 
 only the first one marked Active is called C: by DOS on any one boot.

DOS doesn't provide a native means for boot selection, so
this statement appears to be correct in relation to my
memories.



   Microsoft/Windows partition and the FreeBSD slice is where the operating 
   system software is installed. Microsoft/Windows operating system creates 
   default folders that share the space in the partition.  The FreeBSD 
 
 It's not clear what you mean here by 'folders that share the space'?

It seems to refer to the fact that the functional separation
in Windows is done through directories (folders), instead
of partitions.





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Burning an audio CD

2009-12-30 Thread Polytropon
On Wed, 30 Dec 2009 22:08:12 + (UTC), na...@mips.inka.de (Christian 
Weisgerber) wrote:
 Today I tried to burn an audio CD.  This may actually be the first
 time I ever did this.
 
 I'm sure there are all kinds of GUIey tools, but I took the simple
 route: expanded a few high-quality MP3s to raw PCM with mpg123,
 then put a CD-R in the drive and burned it with
 
   burncd -f /dev/acd0 -d audio *

How about fixate at the end of the command, or do I
remember incorrectly that this is needed? At least it
was used for data tracks (ISO-9660)...



 Then I put the CD into my car CD player, which was the reason for
 the whole exercise.
 11 tracks (ok)... playing track 1... (nothing)... ERROR CD.
 
 The player does not like the CD.

Do you have another hardware CD player to check? Maybe
the car's CD player doesn't like your CD media - this is
quite possible. (I have such a hardware CD player that
doesn't play burned CDs, but pressed ones.) Some CD drives
are picky about the media they accept.



 Is there anything obvious I missed?

Except fixate maybe... but keep in mind that I'm not
sure about this; I'm not using burncd anymore since I
discovered cdrecord and cdrdao (that use the ATAPICAM
facility).



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Advanced printing/layout tools

2010-01-01 Thread Polytropon
On Fri, 01 Jan 2010 11:30:09 -0600, Doug Poland d...@polands.org wrote:
 Hello,
 
 I've been tasked to print a phonebook style directory for an 
 organization.  The data will be coming out of a MySQL database and can 
 be easily saved as comma-delimited, or whatever text format I need.
 
 My specific question is, what open source tools would one use to tackle 
 a project like this?  I'm very comfortable in a CLI and do not 
 require/desire a GUI.

I'd suggest to use awk + LaTeX. I've been very happy with this
combination for a various number of tasks - just as you mentioned:
Data coming from some kind of database (MySQL, CSV or whatever)
and should then be layouted.

I use an awk script that reads the input line-wise, and then
splitting it via a known delimiter, e. g. :. Before doing
so, it creates a LaTeX preamble, and afterwards it closes
the document. The tex file is then processed by pdflatex,
giving you a PDF file as output.

For your particular task, I'd suggest a two- or more column
layout (LaTeX provides that), containing a tabular environment.
This environment then contains the data. If LaTeX doesn't
take care of page full for you - I don't know format or
amount of your source data - you can do that easily with the
awk script.

In order to update the document, you just have to re-run the
awk script and pdflatex command. I often (ab)use a Makefile
for this.

The awk interpreter comes with FreeBSD, and LaTeX can easily
be installed, e. g. with pkg_add -r teTeX. Of course, you
stay in the free land of open source with this combination.

In case you want to have an example file, write off-list to
me - no need to pollute the list with this niche-market stuff. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: HNW, everybody.

2010-01-01 Thread Polytropon
On Fri, 1 Jan 2010 10:46:35 -0500, n...@hdk5.net n...@hdk5.net wrote:
 Happy New Year 2010.! 
 To all on the FreeBSD list.
 Your help is always appreciated.

Completely seconded.

And finally, roman notation of 2010 is MMX - the year
of the multimedia enhancement. :-)




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Advanced printing/layout tools

2010-01-01 Thread Polytropon
On Fri, 01 Jan 2010 12:11:05 -0600, Doug Poland d...@polands.org wrote:
 On 2010-01-01 11:42, Polytropon wrote:
  On Fri, 01 Jan 2010 11:30:09 -0600, Doug Polandd...@polands.org  wrote:
  Hello,
 
  I've been tasked to print a phonebook style directory for an
  organization.  The data will be coming out of a MySQL database and can
  be easily saved as comma-delimited, or whatever text format I need.
 
  My specific question is, what open source tools would one use to tackle
  a project like this?  I'm very comfortable in a CLI and do not
  require/desire a GUI.
 
  I'd suggest to use awk + LaTeX. I've been very happy with this
  combination for a various number of tasks - just as you mentioned:
  Data coming from some kind of database (MySQL, CSV or whatever)
  and should then be layouted.
 
 
 
 Thanks for the info. I had a feeling I'd be introduced to LaTeX sooner
 or later.  Should be plenty of web resources for such a venerable tool.

In fact, there are. I had been learning LaTeX in the age of
the absence of the all-knowing Internet. :-) But honestly,
it's not that hard, as it seems that you'll be creating lists
primarily. A simple preamble should be sufficient, with
no extraordinary bells  whistles.

A bit understanding of awk is useful here, too, because it
allows you to manipulate both the data and the tex output
with the same tools. You end up with a fine readable (and
maintainable) program.

I've been using this combination for automatically creating
reports, datasheets, applications, dataset lists, medication
lists and forms, calendars, and many other kinds of documents.

LaTeX is your guarantee that it looks appealing to the reader.
I'm not aware of a tool that can do the same, with the same
minimal interaction time.

Best of all: Everything is plain text.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Midnight Commander - Where is the subshell?

2010-01-01 Thread Polytropon
Herbert and all friends of the MC,

because the MC is my main tool for nearly everything, I
think I should share my newest observation.

On Thu, 31 Dec 2009 13:06:02 +0100, herbert langhans herbert.raim...@gmx.net 
wrote:
 Fascinating. I have the 'no subshell' phenomenon on the desktop
 and the laptop. Tried also from another user login, still the
 same. Root can use mc-subshell, but users get a blank screen
 with CTRL-o.

Fascinating, indeed. I have just updated mc to 4.7.0, which
is on OS 8.0-RC1, and I don't have this problem. At make
config, I had set everything to [X] except X11. When I
press ^o, I can switch between the MC and the subshell,
even as an ordinary user.



 It even seems to be not a common problem. Just common on my
 FreeBSD-computers..

Now no more. :-)




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Advanced printing/layout tools

2010-01-01 Thread Polytropon
On Fri, 01 Jan 2010 16:25:08 -0600, Doug Poland d...@polands.org wrote:
 Thanks for the info so far.  I have much to learn about LaTeX, that is 
 certain.  To complicate matters, the output will be on US Letter, 
 landscape, multi-column, multi-sided, booklet format.  No doubt LaTeX 
 will handle the landscape, letter, and multi-column, [...]

No problems at all. Most stuff is done as \usepackage.
Even multi-column is supported, either via multicol
package (I think) or minipages.



 but I'm not sure 
 about booklet, multi-sided. 

Option [twoside], and for booklet, you can use programs like
psnup or mpage (I think those were their names) to re-order
the content of the resulting PS / PDF file.





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Midnight Commander - Where is the subshell?

2010-01-01 Thread Polytropon
On Fri, 1 Jan 2010 20:50:50 +0100, herbert langhans herbert.raim...@gmx.net 
wrote:
 I think I will start at the beginning, config the thing and compile it again.
 Should make no difference from 7.2 to 8.0 (just guessing).

I thought so, too. I have 4.6.1_6 on OS 7-STABLE with the annoying
read (subshell_pty...): No such file or directory (2) problem.

And the strange thing: I've seen a similar message with 4.7.0 on
OS 8.0-RC1! Maybe I can generate the error again. I seem to
remember that it was a bit different, but included the first
words...

At least, they fixed some annoying behaviour of the subshell,
e. g.   1. Select some files, either by + or INS.
2. Enter a command, existing one or not, press Enter.
3. Result: Your selection is gone, and the cursor
   is at the first entry of the current directory.

This happened only for the first command you entered after
starting MC; all subsequent commands are processed as intended,
and as it worked in the older versions without problems.

The 4.7 version doesn't show this habit anymore, thankfully.
A good improvement, it was annoying.

Only thing I found: There are no graphics anymore; they
are present e. g. in sysinstall (borders), but not in MC.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Rename pictures in the command-line interface

2010-01-04 Thread Polytropon
On Mon, 04 Jan 2010 18:02:38 +0100, Dário P. fbsd.questions.l...@gmail.com 
wrote:
 Hello,
 
 I have one directory with some pictures that I wanna rename (I use csh,
 don't know if that matters).
 
 For exemple, I have:
 
 b.jpg
 bs.jpg
 bsd.jpg
 
 And I wanna change to:
 
 bsd1.jpg
 bsd2.jpg
 bsd3.jpg
 
 I really appreciate if someone can help me. :)

I know it's quite ugly and complicatedly written, but maybe
the attached script will help. It just works, but the more
I look at it, the more I wish I hadn't written it, or just
used sh and its printf %03d mechanism. :-)

Keep in mind that the script follows the csh's sorting
order to resolve *, which usually is lexicographical
order.

For example

97.jpg
98.jpg
99.jpg
100.jpg

will, after issuing

renumber bla jpg

result in

bla_01.jpg = 100.jpg
bla_02.jpg = 97.jpg
bla_03.jpg = 98.jpg
bla_04.jpg = 99.jpg

So if you wish to do some file preparation, know that the
powerful Midnight Commander can do this for you (select and
PF6).

Here's the script now. Put it in ~/bin (and add this directory
to your $PATH) as renumber (or any name you like), give it +x
permissions and rehash to make it available to the C shell.
Then, use renumber prefix suffix. It will process ALL
files in the current directory (as I said: ugly as sin).


#!/bin/csh
if ( $1 ==  || $2 ==  ) then
echo Usage: renumber base extension
echoTarget form: base_nn[n].extension
echoFor 1 to 99 files: nn; for more than 99 files: nnn
exit 1
endif

set n = `ls -l | wc | awk '{print $1}'`
set num = `expr $n - 1`
echo ${num} files to handle.

set base = $1
set extn = $2
set n = 0
foreach f ( *.${extn} )
set n = `expr $n + 1`
if ( ${num}  99 ) then
if ( ${%n} == 1 ) then
mv ${f} ${base}_00${n}.${extn}
else if ( ${%n} == 2 ) then
mv ${f} ${base}_0${n}.${extn}
else
mv ${f} ${base}_${n}.${extn}
endif
else
if ( ${%n} == 1 ) then
mv ${f} ${base}_0${n}.${extn}
else
mv ${f} ${base}_${n}.${extn}
endif
endif
end


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Rename pictures in the command-line interface

2010-01-04 Thread Polytropon
On Mon, 04 Jan 2010 20:13:57 +0100, Dário P. fbsd.questions.l...@gmail.com 
wrote:
 The sorting order is not a big problem for me, at least for now. I'm
 doing the renaming in one machine with GUI then I upload the pictures to
 another machine. The only reason that I need this, is because sometimes
 I delete one picture on the other machine and then I have to rename
 everything again.

In this case, pay attention that the renumber script does
not pay attention to not overwrite files. This can lead to
problems when adding files. Let's say you have

pic_01.jpg
pic_02.jpg
pic_03.jpg

and add a file new.jpg, so you have

new.jpg
pic_01.jpg
pic_02.jpg
pic_03.jpg

If you now run

renumber pic jpg

you'll have

pic_01.jpg = new.jpg
pic_02.jpg = pic_01.jpg
pic_03.jpg = pic_02.jpg
pic_04.jpg = pic_03.jpg

and the source pics will be removed, so you end up with

pic_04.jpg = neu.jpg

A workaround is to use the MC to prefix all files with an
arbitrary letter, and THEN run renumber, e. g. select all
(grey *), PF6, to X* (where X is the arbitrary letter)
and have

Xnew.jpg
Xpic_01.jpg
Xpic_02.jpg
Xpic_03.jpg

which can be processed with renumber pic jpg now without
any problems because the existing prefix isn't the same as
the renumbering prefix.

As you see: I have a reason to believe that I should better
write a new script that takes such things into mind and maybe
offer reverse renumbering, overwrite protection and a better
selection which files (instead of hardcoded *) to process.



  So if you wish to do some file preparation, know that the
  powerful Midnight Commander can do this for you (select and
  PF6).
 
 Anyway, I gonna look at it.

It's worth it. The MC is a powerful and still easy to use
tool for file administration.





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: copying a disk with ignoring errors

2010-01-05 Thread Polytropon
On Tue, 05 Jan 2010 15:31:46 +0100, Christoph Kukulies k...@kukulies.org 
wrote:
 It copies a disk sector by sector to a file (kind of dd), but ignores 
 errors, it just skips sectors it couldn't read (after a couple
 of retries). The result was, that one had a - albeit - worm-eaten - 
 image of the disk allowing to access the filesystem
 and getting to the important files with a little luck these not being 
 amongst the corrupted data.
 
 Anyone knowing what this little tool was named? Something like diskcopy, 
 devcopy, I forgot.

From my list of recovery-related tools:
dd_rescue
ddrescue
fetch -rR device
recoverdisk

I'm quite sure it was one of them.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Need sample xorg.conf for Intel Q35 Express chipset

2010-01-05 Thread Polytropon
On Wed, 6 Jan 2010 12:57:21 +0530, manish jain invalid.poin...@gmail.com 
wrote:
 I can't find anything
 like the xf86cfg/xf86config tools for configuring X that used to come with
 FreeBSD earlier.

They do not longer exist. The X command (to start X) has
the option -configure; it creates xorg.conf.new in the
current directory. This file can be the basis of further
customizing.

Keep in mind that - with modern hardware - you usually
don't need xorg.conf anymore.



 Can somebody please send me a
 sample xorg.conf for Intel Q35 Express chipset (384 MB video RAM) and a PNP
 Dell LCD monitor which is happiest @ (1440X900 resolution/ 32-bit colour /
 60 Hz refresh) in Windows ? The keyboard and mouse are standard USB.

Just run X -configure and you should have one. :-)



 I assume the default file location remains unchanged : /etc/X11/xorg.conf

It's one of the valid locations, so: yes.



For a better explaination than mine, refer to the excellent
documentation in the FreeBSD handbook, ch. 5.4, to be found
here: 

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


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Setup FTP service on FreeBSD 2.0.5?

2010-01-06 Thread Polytropon
On Wed, 06 Jan 2010 10:38:17 +, Matthew Seaman 
m.sea...@infracaninophile.co.uk wrote:
 As I recall for that vintage of FreeBSD, it was simply a matter of 
 uncommenting
 the appropriate line in /etc/inetd.conf [...]

Which would be something like

ftp stream tcp nowait root /usr/sbin/ftpd ftpd -ll

Note that I've appended ftpd -ll to enable extended
logging which is often useful when running an FTP server,
so you can check things if problems occur. To make this
setting take effect, touch /var/log/ftpd.log and

!ftpd
*.* /var/log/ftpd.log

to your /etc/syslog.conf.

I'm not sure if all these mechanisms have already been
present on 2.0.5, because I'm a FreeBSD user since 4.0.

Did 2.0.5 already have sysinstall? I seem to remember that
when enabling FTP, a little subtree was created in /var/ftp.
But I think it was related to anonymous FTP. If you're not
going to use it - I didn't say anything. :-)



 Enabling it to be automatically started on reboot is pretty much the same as
 nowadays: just stick inetd_enable=YES into /etc/rc.conf. 

Hasn't there been ,,ftpd_enable=YES'' in 2.0.5's rc.conf
already? Allthough I'm running FTP services, I've never used
that setting (inetd is sufficient).



 If you want to
 provide anonymous FTP, then I believe there were instructions in the ftpd(8)
 man page.

At least on my (7-S) system it is the case, but there should
be similar information in earlier man pages. It describes
the stuff sysinstall does, as I mentioned (guessed) before.

For security considerations, keep an eye on /etc/ftpusers;
the names ftp (stands for anonymous FTP account - if
you don't want to provide that service) and of course root
should be contained.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Clean PHP 5.2.12 Build Core Dumping

2010-01-08 Thread Polytropon
On Fri, 8 Jan 2010 16:18:11 -0800, Don O'Neil li...@lizardhill.com wrote:
 Ok... more info on the problem...
 
 I started with a clean untarred archive, ad just ran ./configure, make, make
 test I get a core dump.

Maybe this is not a FreeBSD source?

I'd suggest using the FreeBSD ports system for installation from
source (i. e. tar archives). PHP 5.2.12 seems to be availabe.
You can use

# cd /usr/ports/lang/php5
# make
# make install

Make sure - not make sure :-) - that your ports tree is up to
date in order to recieve the latest version.



 After running gdb on the core dump I noticed it was the sqlite stuff that
 was dumping, so I re-ran configure with --without-sqlite
 --without-pdo-sqlite --with-mysql=/usr/local/mysql

Check the available options that can be set for the php5 port
at compile time, either via make config, or enter them
manually (e. g. in Makefile.local - I'm not sure if this
mechanism is still supported).



 Now the gdb shows this:
 
 Core was generated by `php'.
 Program terminated with signal 11, Segmentation fault.
 #0  0x081d50a7 in sqlite3Select (pParse=0xbbc00080, p=0x0, eDest=164102200,
 iParm=0, pParent=0x24, parentTab=139141440, pParentAgg=0x84c10d8,
 aff=0x0)
 at
 /usr/local/directadmin/customapache/php-5.2.11/ext/pdo_sqlite/sqlite/src/sel
 ect.c:3172
 3172  for(j=0; jpGroupBy-nExpr; j++){
 
 
 First off, the compile directory listed is wrong, don't know where it got
 php-5.2.11 from, that's the last version I built and is installed on this
 system. Maybe it's pulling that from the system php? 

Yes, correct.



 Secondly, even though I've told it not to use sqlite, it still seems to be.

It is - by 5.2.11 (or by directadmin). Seems that you've not
installed 5.2.12 with your custom options yet.



 Any help here would be appreciated in moving forward. My whole reason for
 needing to rebuild php is I need the pdo_mysql module instead of the
 pdo_sqlite version.

As I said, I would suggest to try to achieve this through
the ports system. It's easier than fighting ./configure. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Question and support

2010-01-09 Thread Polytropon
On Sat, 9 Jan 2010 11:07:06 +, davidowe...@yahoo.co.uk wrote:
 Hello there how do i install freebsd to my dedicated server

I may politely point you at FreeBSD's excellent online
documentation, the handbook and the FAQ, which you'll
find here:

http://www.freebsd.org/doc/en/books/handbook/
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/index.html

The handbook's chapter 2, Installing FreeBSD, will contain
what you need to know:

http://www.freebsd.org/doc/en/books/handbook/install.html



 is freebsd a easy to use platform

Definitely YES. This is mainly because of the reason
that is, as opposite to many other operating systems,
very well documented, and structured well-intendedly
itself. You won't have serious problems understanding
how things work.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Clean PHP 5.2.12 Build Core Dumping

2010-01-10 Thread Polytropon
On Sat, 9 Jan 2010 16:52:57 -0800, Don O'Neil li...@lizardhill.com wrote:
 Ok... well, your idea is a good one, but it seems that the port is broken.
 
 I did a port update, which brought in the latest php build info from
 December, but when I run 'make' (without even editing the Makefile to add my
 own other modules I need) I get this:
 
 X11BASE is now deprecated.  Unset X11BASE in make.conf and try again.
 *** Error code 1
 
 Not even sure where it's getting that error message from, since I can't find
 any reference to X11BASE in any of the files in the package, or in my env.
 
 Any ideas?

Have you checked /etc/make.conf?

For X applications, there's no X11BASE anymore because the
difference between /usr/local and /usr/X11R6 has been
obsoleted by putting everything into /usr/local (which is
correct according to FreeBSD's software management concept).




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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   7   8   9   10   >