baresip (was Re: Ekiga FreeBSD (for a future without Skype)
On Sun, May 22, 2011 at 07:10:33PM +0200, Matthias Apitz wrote: Hello, Now, as M$ bought Skype, we should stop wining for a native Skype client for FreeBSD and should prepare us for the time when M$ will integrate Skype into its desktop and stop deliver binaries for Linux; I have spent some time to get PTlib, Opal and Ekiga compiled directly from its repositories in SVN and Git, and fixed the bugs to let Ekiga detect the devices /dev/video0 (created by pwc.ko or webcamd) and /dev/dsp* sound devices. The result is documented here: http://wiki.ekiga.org/index.php/Compile_your_own_SVN_version_of_Ekiga_on_FreeBSD If someone wants to give me a call at sip:@ekiga.net, just contact me offlist :-) For people interested in audio/video telephony, I'd also suggest baresip, which you can find at http://www.creytiv.com/pub/ version 0.2.0 works almost with no effort on FreeBSD, does not need a ton of libraries, and supports a variety of input and output methods (for video input, it can talk to webcamd, or an internal x11 grabber, or any file that ffmpeg can read). a skeleton for a port of version 0.2.0 is attached cheers luigi ___ 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: kernel: install: mps.ko.symbols: No such file or directory
On 05/23/11 00:37, Garrett Cooper wrote: On May 22, 2011, at 2:42 PM, O. Hartmann wrote: Building kernel and modules with CLANG (did not try with gcc) results in corrupted system with following error message. Operating system is most recent svn update of FreeBSD 9.0-CURRENT/amd64: URL: svn://svn.freebsd.org/base/head Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 222199 Node Kind: directory Schedule: normal Last Changed Author: rmacklem Last Changed Rev: 222199 Last Changed Date: 2011-05-22 23:04:32 +0200 (So, 22 Mai 2011) After doing some review of the checkins made recently and per our offline discussion, it might be r222188 that's causing issues. How did you issue the build (did you run buildworld buildkernel, or just buildkernel, KERNFAST, etc)? Thanks, -Garrett___ freebsd-curr...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org There were some changes in /usr/src/sys/conf/kmod.mk which seem to issue the problem. My buildcommand sequence is: make buildworld make kernel make installworld The sequence make buildworld always performs well. Also the sequence make buildkernel is all right. The installation then fails. Regards, Oliver ___ 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: Ekiga FreeBSD (for a future without Skype)
On Mon, 23 May 2011 06:39:42 +0100 Frank Shute fr...@shute.org.uk wrote: Gour, the Skype port(s) were updated[*] not so long ago. Maybe worth giving it a try again. You're right...I tried to build it, but update of OS was required. In the meantime, I rebuilt my world, but forgot about Skype. :-) Sincerely, Gour -- “In the material world, conceptions of good and bad are all mental speculations…” (Sri Caitanya Mahaprabhu) http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 signature.asc Description: PGP signature
Re: kernel: install: mps.ko.symbols: No such file or directory
On 05/23/11 00:37, Garrett Cooper wrote: On May 22, 2011, at 2:42 PM, O. Hartmann wrote: Building kernel and modules with CLANG (did not try with gcc) results in corrupted system with following error message. Operating system is most recent svn update of FreeBSD 9.0-CURRENT/amd64: URL: svn://svn.freebsd.org/base/head Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 222199 Node Kind: directory Schedule: normal Last Changed Author: rmacklem Last Changed Rev: 222199 Last Changed Date: 2011-05-22 23:04:32 +0200 (So, 22 Mai 2011) After doing some review of the checkins made recently and per our offline discussion, it might be r222188 that's causing issues. How did you issue the build (did you run buildworld buildkernel, or just buildkernel, KERNFAST, etc)? Thanks, -Garrett I've blown away /usr/obj, did a svn update in /usr/src this morning (but there were no updates) and issued make buildworld make buildkernel Both went well. But make installkernel still fails installing mps.ko.symbols (which is not found). Oliver ___ 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: kernel: install: mps.ko.symbols: No such file or directory
On 05/23/11 00:37, Garrett Cooper wrote: On May 22, 2011, at 2:42 PM, O. Hartmann wrote: Building kernel and modules with CLANG (did not try with gcc) results in corrupted system with following error message. Operating system is most recent svn update of FreeBSD 9.0-CURRENT/amd64: URL: svn://svn.freebsd.org/base/head Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 222199 Node Kind: directory Schedule: normal Last Changed Author: rmacklem Last Changed Rev: 222199 Last Changed Date: 2011-05-22 23:04:32 +0200 (So, 22 Mai 2011) After doing some review of the checkins made recently and per our offline discussion, it might be r222188 that's causing issues. How did you issue the build (did you run buildworld buildkernel, or just buildkernel, KERNFAST, etc)? Thanks, -Garrett Maybe a hint, I do not know: root@ase: [src] svn diff -r 222185 sys/conf/kmod.mk Index: sys/conf/kmod.mk === --- sys/conf/kmod.mk(revision 222185) +++ sys/conf/kmod.mk(working copy) @@ -286,7 +286,8 @@ _kmodinstall: ${INSTALL} -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \ ${_INSTALLFLAGS} ${PROG} ${DESTDIR}${KMODDIR} -.if defined(DEBUG_FLAGS) !defined(INSTALL_NODEBUG) ${MK_KERNEL_SYMBOLS} == yes +.if defined(DEBUG) !defined(INSTALL_NODEBUG) \ +(defined(MK_KERNEL_SYMBOLS) ${MK_KERNEL_SYMBOLS} == yes) ${INSTALL} -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \ ${_INSTALLFLAGS} ${PROG}.symbols ${DESTDIR}${KMODDIR} .endif I'll try on another box with the same OS version I have access to in my lab and report ... Oliver ___ 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
about wine with nvidia-driver
I install wine for amd64 based on http://people.freebsd.org/~ivoras/wine/. The installation is ok, but some error found when I use patch-wine-nvidia.sh: # sh Downloads/patch-wine-nvidia.sh === Patching wine-fbsd64 to work with x11/nvidia-driver: = Detected wine-fbsd64: 1.3.20,1 = Detected nvidia-driver: 270.41.19 = Extracting NVIDIA-FreeBSD-x86-270.41.19.tar.gz to /usr/local/lib32... x libGL.so.1 x libnvidia-tls.so.1 tar: NVIDIA-FreeBSD-x86-270.41.19/obj/libGLcore.so.1: Not found in archive tar: Error exit delayed from previous errors. !!! Failed to extract NVIDIA-FreeBSD-x86-270.41.19.tar.gz !!! Terminating... The installation and patch-wine-nvidia.sh are all ok when I install *wine-fbsd64: 1.3.18,1* before a few days. I don't know why, thx! ___ 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
opera 11.11 and flash
hello I'm trying to get flash working with opera 11.11. I've installed the opera-linuxplugins port and I've put libflashplugin.so into /usr/local/lib/opera/plugins and ~/.opera/plugins/ - file downloaded from Adobe's website. Then opened Menu - Settings - Preferences - Advance - Content - Plug-in options and I've added both paths to the search field. Still this hasn't made it work. It's frustrating when the documented process doesn't do anything. I have read from other posts when I searched the net that some people have had success by following the process for Firefox but as I understand it with the www/opera-linuxplugins port this shouldn't be necessary? Has anyone got this to work and if so could you tell me how you did it? jamie ___ 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: opera 11.11 and flash
Hi Paul, Have a look at section 6.2.3.2 from http://www.freebsd.org/doc/handbook/desktop-browsers.html, it works. If you still have problems, you can report back. ___ 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: kernel: install: mps.ko.symbols: No such file or directory
On 05/23/11 10:36, O. Hartmann wrote: On 05/23/11 00:37, Garrett Cooper wrote: On May 22, 2011, at 2:42 PM, O. Hartmann wrote: Building kernel and modules with CLANG (did not try with gcc) results in corrupted system with following error message. Operating system is most recent svn update of FreeBSD 9.0-CURRENT/amd64: URL: svn://svn.freebsd.org/base/head Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 222199 Node Kind: directory Schedule: normal Last Changed Author: rmacklem Last Changed Rev: 222199 Last Changed Date: 2011-05-22 23:04:32 +0200 (So, 22 Mai 2011) After doing some review of the checkins made recently and per our offline discussion, it might be r222188 that's causing issues. How did you issue the build (did you run buildworld buildkernel, or just buildkernel, KERNFAST, etc)? Thanks, -Garrett Maybe a hint, I do not know: root@ase: [src] svn diff -r 222185 sys/conf/kmod.mk Index: sys/conf/kmod.mk === --- sys/conf/kmod.mk (revision 222185) +++ sys/conf/kmod.mk (working copy) @@ -286,7 +286,8 @@ _kmodinstall: ${INSTALL} -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \ ${_INSTALLFLAGS} ${PROG} ${DESTDIR}${KMODDIR} -.if defined(DEBUG_FLAGS) !defined(INSTALL_NODEBUG) ${MK_KERNEL_SYMBOLS} == yes +.if defined(DEBUG) !defined(INSTALL_NODEBUG) \ + (defined(MK_KERNEL_SYMBOLS) ${MK_KERNEL_SYMBOLS} == yes) ${INSTALL} -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \ ${_INSTALLFLAGS} ${PROG}.symbols ${DESTDIR}${KMODDIR} .endif I'll try on another box with the same OS version I have access to in my lab and report ... Oliver All boxes running the most recent FreeBSD 9.0-CURRENT/amd64, compiled with CLANG, suffer from this error. I'll try with gcc compiled system later ... Oliver ___ 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: Filename containing French characters ?
From owner-freebsd-questi...@freebsd.org Sun May 22 10:02:02 2011 From: Frank Bonnet f.bon...@esiee.fr Date: Sun, 22 May 2011 17:00:48 +0200 To: freebsd-questions@freebsd.org Subject: Filename containing French characters ? Hello I'm going mad trying to Open a file which the filename contains one or more French characters ( file not found ) Is there some magical receipe to do so ? Or do I have to forget trying ??? insufficient data for a meaningful answer.. It depends on what kind of a filesysem the file in question is located on. It depends on how filenames are represented in that filesystem. It depends on the drivers, or userland utilities being used to access that filesystem. It depends on whether or not what _you_ think the name of the file is, when the filesystem is accessed by FreeBSD, and what the O/S thinks the filename is. *YOU* have to use 'what the O/S *thinks* the filename is', to succeed. First things first, do a directory listing of the filesystem, and *see* what FreeBSD thinks the name of the file is. ___ 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: kernel: install: mps.ko.symbols: No such file or directory
On 2011-05-23 10:03, O. Hartmann wrote: ... But make installkernel still fails installing mps.ko.symbols (which is not found). Is it only mps.ko that suffers from this problem? Or are other kernel modules also resulting in the same message? ___ 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: kernel: install: mps.ko.symbols: No such file or directory
В Mon, 23 May 2011 10:03:42 +0200 O. Hartmann ohart...@mail.zedat.fu-berlin.de пишет: On 05/23/11 00:37, Garrett Cooper wrote: On May 22, 2011, at 2:42 PM, O. Hartmann wrote: Building kernel and modules with CLANG (did not try with gcc) results in corrupted system with following error message. Operating system is most recent svn update of FreeBSD 9.0-CURRENT/amd64: URL: svn://svn.freebsd.org/base/head Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 222199 Node Kind: directory Schedule: normal Last Changed Author: rmacklem Last Changed Rev: 222199 Last Changed Date: 2011-05-22 23:04:32 +0200 (So, 22 Mai 2011) After doing some review of the checkins made recently and per our offline discussion, it might be r222188 that's causing issues. How did you issue the build (did you run buildworld buildkernel, or just buildkernel, KERNFAST, etc)? Thanks, -Garrett I've blown away /usr/obj, did a svn update in /usr/src this morning (but there were no updates) and issued make buildworld make buildkernel Both went well. But make installkernel still fails installing mps.ko.symbols (which is not found). Oliver ___ freebsd-curr...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org I change the line: .if defined(DEBUG) !defined(INSTALL_NODEBUG) \ on .if (defined(DEBUG) || defined(DEBUG_FLAGS)) !defined(INSTALL_NODEBUG) \ in the file /sys/conf/kmod.mk ___ 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: kernel: install: mps.ko.symbols: No such file or directory
On 2011-05-23 14:49, Dimitry Andric wrote: On 2011-05-23 10:03, O. Hartmann wrote: ... But make installkernel still fails installing mps.ko.symbols (which is not found). Is it only mps.ko that suffers from this problem? Or are other kernel modules also resulting in the same message? Ok, I guess it must be just mps.ko, since its Makefile is different. Can you please try the attached patch, which hopefully works around the problem? Index: sys/modules/mps/Makefile === --- sys/modules/mps/Makefile(revision 221502) +++ sys/modules/mps/Makefile(working copy) @@ -8,6 +8,6 @@ SRCS+= device_if.h bus_if.h pci_if.h #CFLAGS += -DMPS_DEBUG -DEBUG += -g +#DEBUG += -g .include bsd.kmod.mk ___ 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: Filename containing French characters ?
From owner-freebsd-questi...@freebsd.org Sun May 22 23:56:05 2011 Date: Mon, 23 May 2011 06:54:44 +0200 From: Frank Bonnet f.bon...@esiee.fr To: freebsd-questions@freebsd.org Subject: Re: Filename containing French characters ? Le 22/05/2011 17:31, Mike Jeays a ecrit : On Sun, 22 May 2011 17:00:48 +0200 Frank Bonnetf.bon...@esiee.fr wrote: Hello I'm going mad trying to Open a file which the filename contains one or more French characters ( file not found ) Is there some magical receipe to do so ? Or do I have to forget trying ??? Thanks Envoye de mon iPhone___ 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 If the first few characters is not accented, type 'mv ', then the first few characters, in a command line, and press 'tab' so the auto-completion works. Don't forget the closing quote. Then rename it to something else. Access right are OK ( 644 ) the completion does not work, the operating system says file not found when I try to open it with any program. when I type the ls -l command the file is displayed with a ? in place of the French (accentuated ) character I tried UTF8 or iso8859-1 as MM-CHARSET and fr_FR.ISO8859-1 as LANG global variables but it still don-t work ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-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: Filename containing French characters ?
Date: Mon, 23 May 2011 06:54:44 +0200 From: Frank Bonnet f.bon...@esiee.fr To: freebsd-questions@freebsd.org Subject: Re: Filename containing French characters ? Le 22/05/2011 17:31, Mike Jeays a ecrit : On Sun, 22 May 2011 17:00:48 +0200 Frank Bonnetf.bon...@esiee.fr wrote: Hello I'm going mad trying to Open a file which the filename contains one or more French characters ( file not found ) Is there some magical receipe to do so ? Or do I have to forget trying ??? Thanks If the first few characters is not accented, type 'mv ', then the first few characters, in a command line, and press 'tab' so the auto-completion works. Don't forget the closing quote. Then rename it to something else. Access right are OK ( 644 ) the completion does not work, the operating system says file not found when I try to open it with any program. when I type the ls -l command the file is displayed with a ? in place of the French (accentuated ) character I tried UTF8 or iso8859-1 as MM-CHARSET and fr_FR.ISO8859-1 as LANG global variables but it still don-t work The *easy* work-arouond -- it does -not- solve the real problem, but does let you work with the file -- is to rename the file. *Assuming* you are seeing the rest of the filename, _after_ the '?' character, then issue an 'mv' command, using the source file name _exactly_ as shown (i.e., _with_ the '?' in place of the unprintable character), and using a destination file name that is _without_ any accented characters in it. If that mv fails, try repeating it, but using an '*' instead of the '?'. Oh, there is one more situation that can cause the kind of problem you are seeing. Does the 'ls -l' show it as an _actual_ file, or a 'symlink' (to a file that does not exist)? A 'dangling symlink' can give all sorts of strange errors. ___ 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: Filename containing French characters ?
Hi, What is the underlying filesystem ? NTFS, in particular, seems to have specific mount options to handle UTF-8 (and maybe other encodings) stuff. Not sure if they apply to your case, but it's worth trying. Matthieu ___ 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: kernel: install: mps.ko.symbols: No such file or directory
On 05/23/11 14:52, Ivan Klymenko wrote: В Mon, 23 May 2011 10:03:42 +0200 O. Hartmannohart...@mail.zedat.fu-berlin.de пишет: On 05/23/11 00:37, Garrett Cooper wrote: On May 22, 2011, at 2:42 PM, O. Hartmann wrote: Building kernel and modules with CLANG (did not try with gcc) results in corrupted system with following error message. Operating system is most recent svn update of FreeBSD 9.0-CURRENT/amd64: URL: svn://svn.freebsd.org/base/head Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 222199 Node Kind: directory Schedule: normal Last Changed Author: rmacklem Last Changed Rev: 222199 Last Changed Date: 2011-05-22 23:04:32 +0200 (So, 22 Mai 2011) After doing some review of the checkins made recently and per our offline discussion, it might be r222188 that's causing issues. How did you issue the build (did you run buildworld buildkernel, or just buildkernel, KERNFAST, etc)? Thanks, -Garrett I've blown away /usr/obj, did a svn update in /usr/src this morning (but there were no updates) and issued make buildworld make buildkernel Both went well. But make installkernel still fails installing mps.ko.symbols (which is not found). Oliver ___ freebsd-curr...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org I change the line: .if defined(DEBUG) !defined(INSTALL_NODEBUG) \ on .if (defined(DEBUG) || defined(DEBUG_FLAGS)) !defined(INSTALL_NODEBUG) \ in the file /sys/conf/kmod.mk A diff shows this: Index: /usr/src/sys/conf/kmod.mk === --- /usr/src/sys/conf/kmod.mk (revision 222180) +++ /usr/src/sys/conf/kmod.mk (working copy) @@ -286,7 +286,8 @@ _kmodinstall: ${INSTALL} -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \ ${_INSTALLFLAGS} ${PROG} ${DESTDIR}${KMODDIR} -.if defined(DEBUG_FLAGS) !defined(INSTALL_NODEBUG) +.if defined(DEBUG) !defined(INSTALL_NODEBUG) \ +(defined(MK_KERNEL_SYMBOLS) ${MK_KERNEL_SYMBOLS} == yes) ${INSTALL} -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \ ${_INSTALLFLAGS} ${PROG}.symbols ${DESTDIR}${KMODDIR} .endif I reverted manually the changed lines to the previous ones and everthing went smooth. Oliver ___ 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: baresip (was Re: Ekiga FreeBSD (for a future without Skype)
On Mon, May 23, 2011 at 08:46:14AM +0200, Luigi Rizzo wrote: ... For people interested in audio/video telephony, I'd also suggest baresip, which you can find at http://www.creytiv.com/pub/ version 0.2.0 works almost with no effort on FreeBSD, does not need a ton of libraries, and supports a variety of input and output methods (for video input, it can talk to webcamd, or an internal x11 grabber, or any file that ffmpeg can read). a skeleton for a port of version 0.2.0 is attached forgot that the mailing list strips attachments. You can find it at http://info.iet.unipi.it/~luigi/FreeBSD/20110523-baresip-port.tgz cheers luigi ___ 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 Perfect Desktop: FreebSD 8.2 in Virtualbox 4?
On Sun, 22 May 2011 17:56:37 -0400, Xn Nooby xno...@gmail.com wrote: On Sun, May 22, 2011 at 3:48 PM, Polytropon free...@edvax.de wrote: On Sun, 22 May 2011 15:17:50 -0400, Xn Nooby xno...@gmail.com wrote: HowtoForge has a lot of good examples of how to install and configure a desktop system using various Linux distributions, but there are none on how to create a FreeBSD desktop. Would someone will be willing to put one together? U think the majority of FreeBSD users who use the system on their desktop won't agree on the one desktop, as everyone I've encountered so far has different preferences and requirements. So a generalized statement is quite hard. There are systems with preconfigured desktops, such as PC-BSD, DesktopBSD and FreeSBIE. I'm thinking about new users, rather than typical users. A typical FreeBSD user probably already knows how to configure a desktop that is ideal for them. A new user will take whatever they can get working, and keep working. Hmmm... Then we have different observations about what a new FreeBSD user means. In my opinion, those who come to FreeBSD don't come here from nothing - i. e. they traditionally have a UNIX or at least Linux background and begin understanding that FreeBSD doesn't come as a preinstalled and preconfigured desktop - it CAN'T, as it is a multi-purpose operating system that you can use on desktops of course, but also on servers and on mixed forms. Those who do not want to understand the OS, but want a preconfigured system, will quickly orientate to use PC-BSD or some other system which already has the goal to exactly provide that: a preconfigured system for a specific target audience. This brings up another question: Why would somebody want to build a system on his own when he can download the result already? I envision this more of a how-to than just providing an appliance. But that would be a good starting point for learning on how the inventors of VirtualBSD (to name an appliance) have done it, and build an own system from there on, keeping The FreeBSD Handbook at hand. See http://www.virtualbsd.info/ for details. I had previously visited their site, but they did not have instructions on how they created the appliance, or a forum to discuss it. I think they did create it in a similar way as how anyone (with sufficient knowledge) can create such a system using FreeBSD and the appropriate tools. As we discuss free and open software here, it should be possible to deduct the chain of creation from mentally de-compiling the results. In most cases, things can be observed back to files modified and programs installed. When I configured the sound driver on my machines, I had to go through a discovery process to find out what driver was required on each machine. Inside a VM, you would know what driver to load, and you could just tell the user to install the sound driver with this command. You wouldn't have to tell them how to figure out which driver to install. I just have limited experience with virtualized hardware on a PC basis, but shouldn't it be possible to define the kind of DSP when creating the VM - so a VM could also have different virtual sound cards installed? I would expect that a typical new desktop user would be using an old computer purchased before they knew anything about FreeBSD. Or even more likely, a virtual machine hosted on a Windows box. Unlike mainstream operating systems, FreeBSD is able to deliver good results on older hardware, but only if the person who installs the system has sufficient knowledge about which ports to install (NB: older software may be the better solution here!). But I agree that providing a lightweight-oriented system could be a good approach. It doesn't mean that you need to run older versions of the OS - in fact you can run 8.2 even on a 300 MHz machine. :-) Some parameters for the guide could be: - uses 8.2 installer - tracks errata branch with FreeBSD update - tracks 8-stable branch for ports Depends on preferred usage paradigm. Yes and that paradigm would have to be properly defined. My definition would be that of a hobbyist desktop user who wants a functioning and maintainable desktop enviroment. In the Debian example I gave, their included software implies their target audience. I'm not interested in hosting 5000 jails, running a database cluster, or acting as the neighborhood ISP. For most ports from the desktop area, running -STABLE is eing suggested. But this involves system updates per src/ updating and compiling. On the other hand, if you keep using RELEASE-pX, using freebsd-update, you _could_ run into trouble from time to time (depending on ports installed). - demonstrates how to install many desktop apps That would be covered by how to install additional software, which means pkg_add, make install, or a port management tool. Maybe you refer to how to involve graphical port
Re: Filename containing French characters ?
On 05/23/2011 03:08 PM, Robert Bonomi wrote: Date: Mon, 23 May 2011 06:54:44 +0200 From: Frank Bonnetf.bon...@esiee.fr To: freebsd-questions@freebsd.org Subject: Re: Filename containing French characters ? Le 22/05/2011 17:31, Mike Jeays a ecrit : On Sun, 22 May 2011 17:00:48 +0200 Frank Bonnetf.bon...@esiee.fr wrote: Hello I'm going mad trying to Open a file which the filename contains one or more French characters ( file not found ) Is there some magical receipe to do so ? Or do I have to forget trying ??? Thanks If the first few characters is not accented, type 'mv ', then the first few characters, in a command line, and press 'tab' so the auto-completion works. Don't forget the closing quote. Then rename it to something else. Access right are OK ( 644 ) the completion does not work, the operating system says file not found when I try to open it with any program. when I type the ls -l command the file is displayed with a ? in place of the French (accentuated ) character I tried UTF8 or iso8859-1 as MM-CHARSET and fr_FR.ISO8859-1 as LANG global variables but it still don-t work The *easy* work-arouond -- it does -not- solve the real problem, but does let you work with the file -- is to rename the file. Not easy the file is created by a software that extract it from a SQL database *Assuming* you are seeing the rest of the filename, _after_ the '?' character, then issue an 'mv' command, using the source file name _exactly_ as shown (i.e., _with_ the '?' in place of the unprintable character), and using a destination file name that is _without_ any accented characters in it. If that mv fails, try repeating it, but using an '*' instead of the '?'. Oh, there is one more situation that can cause the kind of problem you are seeing. Does the 'ls -l' show it as an _actual_ file, or a 'symlink' (to a file that does not exist)? A 'dangling symlink' can give all sorts of strange errors. no it is not a symlink it's a real file ___ 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: Filename containing French characters ?
On 05/23/2011 03:46 PM, Matthieu Riviere wrote: Hi, What is the underlying filesystem ? NTFS, in particular, seems to have specific mount options to handle UTF-8 (and maybe other encodings) stuff. Not sure if they apply to your case, but it's worth trying. Matthieu the volume is NFS mounted ( to a netapp filer ) ___ 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: opera 11.11 and flash
On Mon, May 23, 2011 at 12:06:07PM +0200, claudiu vasadi wrote: Hi Paul, Have a look at section 6.2.3.2 from http://www.freebsd.org/doc/handbook/desktop-browsers.html, it works. If you still have problems, you can report back. It's Jamie actually but hello anyway. This page is the first place I refenced when looking for guidance; the handbook always is. I've actually just built Firefox 4 instead and ditched Opera. It's not a bad browser, just a shame we can't get it to do the things we like. jamie ___ 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: Filename containing French characters ?
On Mon, 23 May 2011 06:54:44 +0200, Frank Bonnet f.bon...@esiee.fr wrote: when I type the ls -l command the file is displayed with a ? in place of the French (accentuated ) character That's typical for console operations (text mode) when UTF-coded characters are encountered. The text mode console does not support UTF-8 and does display ? whenever it encounters a nonprintable character. I tried UTF8 or iso8859-1 as MM-CHARSET and fr_FR.ISO8859-1 as LANG global variables but it still don-t work Depending on what actual file system the file is located, you may need to define a translation mode (e. g. -C or -W in combination with mount_ntfs). You also have to make sure that if you change language settings, your console has to support it. As a german user, I can use german Umlauts and Eszett with the text mode console as I don't use UTF nonsense for that. For example, I have ttyv0 /usr/libexec/getty Pc cons25l1 on secure up to ttyv7 /usr/libexec/getty Pc cons25l1 on secure in /etc/ttys. For language settings, please see that FreeBSD does, next to $LANG, also use $LC_* variables. To use language-specific characters when running programs (less, mcedit, vi, anything that inputs or outputs file data), the following settings are made in /etc/csh.cshrc (my default shell, system-wide settings): setenv LC_ALL en_US.ISO8859-1 setenv LC_MESSAGES en_US.ISO8859-1 setenv LC_COLLATE de_DE.ISO8859-1 setenv LC_CTYPEde_DE.ISO8859-1 setenv LC_MONETARY de_DE.ISO8859-1 setenv LC_NUMERIC de_DE.ISO8859-1 setenv LC_TIME de_DE.ISO8859-1 This makes program messages being in English (preferred), but sets some conventions specific to Germany. I'm sure you can do something similar with the correct language settings and pages for French. It also works with Unicode when using programs that are capable of employing UTF-8 with setenv LANG de_DE.UTF-8. In this case, even chinese characters can be used, given the proper fonts. Still, I may emphasize that it's NOT good to have non-ASCII characters in file names. Things like spaces, quotes, backslashes, et, curly braces and other special characters _are_ possible in file names, but they do not belong there. On the systems I had to maintain, I adviced my children... erm... users! :-) to only use lowercase letters and _ instead of space, combined with a corporate-given naming convention for work files that had to be managed by the users. A solution (that does solve the problem, not its cause) would be to install the Midnight Commander and use it in a UTF-8 capable terminal in X (but also works in text mode), move the cursor to a file and press PF6 (rename), then enter a name in ASCII. Using this approach, you don't have to enter the original file 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: Filename containing French characters ?
Short answer, use a glob pattern. Assume I have a file named 'à fichier.txt': ls -l -rw-r--r-- 1 Modulok Modulok 12 May 23 09:01 ?? fichier.txt mv ?\ fichier.txt aFile.txt Long answer, for those who want to follow along and fix their terminal to display UTF-8, keep reading... Step 1: Make a funky file to play along with this min-tutorial: === Create a text file with an editor that supports non-ASCII characters. I created a file named 'filename' which containing this (no newline!): à fichier.txt Step 2: Create the actual file with content === I used echo and cat like so in the tcsh shell: echo hello world `cat filename` Step 3: Show the file in ls === As you can see below, the first character of the filename is displayed as two question marks. This is the terminal's way of showing filenames that it cannot display correctly. There are two question marks, because this is a two-byte character. This does *not* mean the filename starts with a literal question mark: -rw-r--r-- 1 Modulok Modulok 12 May 23 09:01 ?? fichier.txt Step 4: (optional) Fix the terminal === At this point, let's just fix the terminal so that UTF-8 characters are displayed correctly. We want to see the French accented 'à', and not a bunch of question marks. To do this, you edit '/etc/login.conf' as root. Add two lines at the bottom of the 'default' section. My default section now looks like this: default:\ :passwd_format=md5:\ :copyright=/etc/COPYRIGHT:\ ...and so on... :charset=en_US.UTF-8:\ :lang=en_US.UTF-8: If you're a French operation yours should probably look like this instead: default:\ :passwd_format=md5:\ :copyright=/etc/COPYRIGHT:\ ...and so on... :charset=fr_FR.UTF-8:\ :lang=fr_FR.UTF-8: I'm not certain on these for all countries, but the above examples work. We then need to rebuild the actual login database. Execute the following command as root: cap_mkdb /etc/login.conf This generates /etc/login.conf.db from /etc/login.conf. Now log out and then back in! Step 5: Back to the funky file == You should now see the actual accent characters correctly in the terminal. (Assuming your terminal supports this): -rw-r--r-- 1 Modulok Modulok 12 May 23 09:01 à fichier.txt In some ternimals, we cannot type these characters. So you can access the filename through a shell glob pattern. In most shells, the glob pattern '?' matches any single character. The forward slash escapes the space in the filename. mv ?\ fichier.txt aFile.txt Hope this helps (and doesn't get too mangled.) -Modulok- ___ 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: kernel: install: mps.ko.symbols: No such file or directory
On May 23, 2011, at 5:55 AM, Dimitry Andric wrote: mps-debug.diff Shouldn't DEBUG_FLAGS be the proper usage in this particular case? -Garrett ___ 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: Ekiga FreeBSD (for a future without Skype)
ajtiM == ajtiM lum...@gmail.com writes: ajtiM What about Blink: ajtiM http://icanblink.com/ Blink doesn't have as many IM links and video support as Jitsi does. ajtiM IMO Ekiga is not good replacemnet for Skype. I comunicate with many Windows ajtiM users and Skype is the best choice if you like it or not. Jitsi runs fine on Windows. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion ___ 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: kernel: install: mps.ko.symbols: No such file or directory
On 05/23/11 18:10, Garrett Cooper wrote: On May 23, 2011, at 5:55 AM, Dimitry Andric wrote: mps-debug.diff Shouldn't DEBUG_FLAGS be the proper usage in this particular case? -Garrett ___ freebsd-curr...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org Mmmhhh, I changed .if defined(DEBUG) !defined(INSTALL_NODEBUG) \ [...] to .if defined(DEBUG_FLAGS) !defined(INSTALL_NODEBUG) \ [...] and everything runs smooth ... Oliver ___ 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: about wine with nvidia-driver
For all consumers of wine-fbsd64 packages. The latest packages are available at http://www.mediafire.com/wine_fbsd64. Is there a mailing list that everyone (most people) frequent? If so I will send a mail to it whenever I upload a new package. On Monday 23 May 2011 10:50:16 alphachi wrote: I install wine for amd64 based on http://people.freebsd.org/~ivoras/wine/. The installation is ok, but some error found when I use patch-wine-nvidia.sh: # sh Downloads/patch-wine-nvidia.sh === Patching wine-fbsd64 to work with x11/nvidia-driver: = Detected wine-fbsd64: 1.3.20,1 = Detected nvidia-driver: 270.41.19 = Extracting NVIDIA-FreeBSD-x86-270.41.19.tar.gz to /usr/local/lib32... x libGL.so.1 x libnvidia-tls.so.1 tar: NVIDIA-FreeBSD-x86-270.41.19/obj/libGLcore.so.1: Not found in archive tar: Error exit delayed from previous errors. !!! Failed to extract NVIDIA-FreeBSD-x86-270.41.19.tar.gz !!! Terminating... The installation and patch-wine-nvidia.sh are all ok when I install *wine-fbsd64: 1.3.18,1* before a few days. I don't know why, thx! nVidia changed the naming of their libraries a while back, so this will not work for newer versions of nvidia-driver, I have uploaded a new patch script [1] that handles the new files (and hopefully the old files as well). If it does not work for you please let me know. Regards, David [1] http://www.mediafire.com/wine_fbsd64 signature.asc Description: This is a digitally signed message part.
ARP tables in FreeBSD (vs Linux)
I found that a certain Linux gateway was having a difficult time with thousands of ARP entries (about 13K concurrent ARP entries in 10 min from ISP subscribers), so I put it behind a Cisco 7201 router and added an IP helper to the interface. Now it seems to be working much much better. In the future, I'd like to possibly use a FreeBSD box for this, but I was wondering if anyone had any suggestions, experience, or tips on how FreeBSD handle ARP compared to Linux. Or should I just keep this sort of thing dedicated to network appliances? -- Also on LinkedIn? Feel free to connect if you too are an open networker: scubac...@gmail.com ___ 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
perl-threaded
I have rebuilt my perl5.14 with threading support. do I need to rebuild my perl-linked ports again now i've made this change? jamie ___ 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
xfce4-session stucks in nfsreq and makes heavy nfs traffic
Hi. I'm in trouble that xfce4-session sometimes stucks in nfsreq. I cannot kill the xfce4-session even using SIGKILL. It makes heavy traffic (85Mbit/s average). On my system, /home is mounted over NFS and the NFS server is built on CentOS. Why cannot I kill the process even though soft mounted? How to avoid stucking? PID USERNAMETHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 10635 meta 1 530 173M 21920K nfsreq 7 400:08 18.36% xfce4-sess My fstab: 192.168.2.4:/export/home/staff /home/staff nfs rw,soft,retrycnt=60,retrans=100 0 0 192.168.2.4:/export/home/user /home/user nfs rw,soft,retrycnt=60,retrans=100 0 0 XFCE4.8 is installed in my system: xfce-4.8The meta-port for the XFce 4 desktop environment xfce4-session-4.8.1 Session manager for the Xfce 4 desktop environment -- kiwao m...@club.kyutech.ac.jp ___ 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: perl-threaded
Not necessarily, many cpan modules are either thread unaware/innocuous or thread safe, though there are exceptions. I have re-compiled Perl with threads with pre-installed libraries and never had a problem. You will surely know which things fail when they blow-up or leak you to death, when you use threading of course. Especially long-running software like mod_perl. But for that, you always have maxrequestsperchild ;-) Now that I mention it, mod_perl would probably need rebuilding IMHO just to be on the safe side, wherever _that_ is with threads ;-) Joking aside, I have scaled tremendously with apache mod_perl + mod_worker a rare but exquisite high-scale Web software recipe. Best -- Alejandro Imass On Mon, May 23, 2011 at 4:20 PM, Jamie Paul Griffin grif...@gnix.co.uk wrote: I have rebuilt my perl5.14 with threading support. do I need to rebuild my perl-linked ports again now i've made this change? jamie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-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: kernel: install: mps.ko.symbols: No such file or directory
On Mon, May 23, 2011 at 11:44 AM, O. Hartmann ohart...@mail.zedat.fu-berlin.de wrote: On 05/23/11 18:10, Garrett Cooper wrote: On May 23, 2011, at 5:55 AM, Dimitry Andric wrote: mps-debug.diff Shouldn't DEBUG_FLAGS be the proper usage in this particular case? Mmmhhh, I changed .if defined(DEBUG) !defined(INSTALL_NODEBUG) \ [...] to .if defined(DEBUG_FLAGS) !defined(INSTALL_NODEBUG) \ [...] and everything runs smooth ... Please update to r29 and see if things are fixed. Thanks! -Garrett ___ 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: kernel: install: mps.ko.symbols: No such file or directory
On 05/23/11 23:55, Garrett Cooper wrote: On Mon, May 23, 2011 at 11:44 AM, O. Hartmann ohart...@mail.zedat.fu-berlin.de wrote: On 05/23/11 18:10, Garrett Cooper wrote: On May 23, 2011, at 5:55 AM, Dimitry Andric wrote: mps-debug.diff Shouldn't DEBUG_FLAGS be the proper usage in this particular case? Mmmhhh, I changed .if defined(DEBUG) !defined(INSTALL_NODEBUG) \ [...] to .if defined(DEBUG_FLAGS) !defined(INSTALL_NODEBUG) \ [...] and everything runs smooth ... Please update to r29 and see if things are fixed. Thanks! -Garrett Done! And working! Thanks, Oliver ___ 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: kernel: install: mps.ko.symbols: No such file or directory
В Mon, 23 May 2011 14:55:39 -0700 Garrett Cooper yaneg...@gmail.com пишет: On Mon, May 23, 2011 at 11:44 AM, O. Hartmann ohart...@mail.zedat.fu-berlin.de wrote: On 05/23/11 18:10, Garrett Cooper wrote: On May 23, 2011, at 5:55 AM, Dimitry Andric wrote: mps-debug.diff Shouldn't DEBUG_FLAGS be the proper usage in this particular case? Mmmhhh, I changed .if defined(DEBUG) !defined(INSTALL_NODEBUG) \ [...] to .if defined(DEBUG_FLAGS) !defined(INSTALL_NODEBUG) \ [...] and everything runs smooth ... Please update to r29 and see if things are fixed. Thanks! -Garrett Working! Thanks! ___ 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: Hardware Recovery Company
On Sat, May 21, 2011 at 3:14 PM, Julian H. Stacey j...@berklix.com wrote: Hi, Reference: From: Alejandro Imass a...@p2ee.org Date: Fri, 20 May 2011 11:08:21 -0400 Message-id: banlktikm6asm5uddryhqmb3w_ruxvd4...@mail.gmail.com [...] Announcing you'r thinking if suing the 1st rescuer, might make some people might be nervous in being 2nd rescuer. grin Yeah, really didn't think of that, I'm just so pissed that I think we're willing to pay the extra forensic work to find out. You know, when you have that feeling that someone took you as stupid, and these cases of desperation people tend to make mistakes like I did, instead of doing some background search, you immediately fall victim of con artists, like I __just know__ these guys are. I mean the flashy Web site, the first google sponsored link, the insistence on not dropping off the dirve (which I did and really did not feel comfortable with the installations, you know, but with the desperation we all tend to fall victims to these fraudulent mock ups), I guess I just wanted to be wrong. Then the technical mumbo-jumbo, the long delays, you know it all adds up man. I honestly think these people ripped me off _a lot of money_ that you have to commit up front. It's just a freaking scam and I would like to blow their cover and shut the down. We should never let people screw us like this. You could look at man fsdb It's a clear hardware failure. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Mail plain text; Not quoted-printable, Not HTML, Not base 64. Reply below text sections not at top, to avoid breaking cumulative context. ___ 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: Filename containing French characters ?
Thanks that is working :-) Now I have to test the application ( apache based application ) to see if it is able to open the file. I'll tell in few hours when arrived to my office Le 23/05/2011 17:50, Modulok a écrit : Short answer, use a glob pattern. Assume I have a file named 'à fichier.txt': ls -l -rw-r--r-- 1 Modulok Modulok 12 May 23 09:01 ?? fichier.txt mv ?\ fichier.txt aFile.txt Long answer, for those who want to follow along and fix their terminal to display UTF-8, keep reading... Step 1: Make a funky file to play along with this min-tutorial: === Create a text file with an editor that supports non-ASCII characters. I created a file named 'filename' which containing this (no newline!): à fichier.txt Step 2: Create the actual file with content === I used echo and cat like so in the tcsh shell: echo hello world `cat filename` Step 3: Show the file in ls === As you can see below, the first character of the filename is displayed as two question marks. This is the terminal's way of showing filenames that it cannot display correctly. There are two question marks, because this is a two-byte character. This does *not* mean the filename starts with a literal question mark: -rw-r--r-- 1 Modulok Modulok 12 May 23 09:01 ?? fichier.txt Step 4: (optional) Fix the terminal === At this point, let's just fix the terminal so that UTF-8 characters are displayed correctly. We want to see the French accented 'à', and not a bunch of question marks. To do this, you edit '/etc/login.conf' as root. Add two lines at the bottom of the 'default' section. My default section now looks like this: default:\ :passwd_format=md5:\ :copyright=/etc/COPYRIGHT:\ ...and so on... :charset=en_US.UTF-8:\ :lang=en_US.UTF-8: If you're a French operation yours should probably look like this instead: default:\ :passwd_format=md5:\ :copyright=/etc/COPYRIGHT:\ ...and so on... :charset=fr_FR.UTF-8:\ :lang=fr_FR.UTF-8: I'm not certain on these for all countries, but the above examples work. We then need to rebuild the actual login database. Execute the following command as root: cap_mkdb /etc/login.conf This generates /etc/login.conf.db from /etc/login.conf. Now log out and then back in! Step 5: Back to the funky file == You should now see the actual accent characters correctly in the terminal. (Assuming your terminal supports this): -rw-r--r-- 1 Modulok Modulok 12 May 23 09:01 à fichier.txt In some ternimals, we cannot type these characters. So you can access the filename through a shell glob pattern. In most shells, the glob pattern '?' matches any single character. The forward slash escapes the space in the filename. mv ?\ fichier.txt aFile.txt Hope this helps (and doesn't get too mangled.) -Modulok- ___ 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