Re: fmt replaces utf8 spaces for ascii ones
On Sun, Feb 12, 2017 at 10:21:11PM -0800, Eric Pruitt wrote: > On Sun, Feb 12, 2017 at 09:21:37PM +0100, Walter Alejandro Iglesias wrote: > > After investigating a bit I realized that what I called utf8 space is a > > 'nobreakspace' so it's ok fmt to replace them for ascii ones. I made a > > stupid question. Sorry! > > If that's the behavior you see, I think _that_ is a bug: the reason > non-breaking spaces exist is so programs do not separate words at that > character (https://en.wikipedia.org/wiki/Non-breaking_space). GNU fmt > respects non-breaking spaces and handles them accordingly: > > ~$ fmt --version | head -n1 > fmt (GNU coreutils) 8.25 > ~$ printf " XXX\u00a0XXX XXX" | fmt -w 20 > > XXX XXX > XXX > ~$ printf " XXX XXX XXX" | fmt -w 20 > > XXX > XXX XXX > > Unfortunately I do not have access to an OpenBSD machine to verify > whether or not its fmt does the correct thing. > > Eric OpenBSD 6.0-current (GENERIC.MP) #0: Sat Feb 11 09:48:19 CET 2017 morl...@server.roquesor.com:/usr/src/sys/arch/amd64/compile/GENERIC.MP $ printf " XXX\u00a0XXX XXX" | LC_CTYPE=en_US.UTF-8 fmt -w 20 XXX XXX XXX $ printf " XXX XXX XXX" | LC_CTYPE=en_US.UTF-8 fmt -w 20 XXX XXX XXX $ printf " XXX\u00a0XXX XXX" | LC_CTYPE=C fmt -w 20 XXX XXX XXX $ printf " XXX XXX XXX" | LC_CTYPE=C fmt -w 20 XXX XXX XXX Thanks Eric.
Re: fmt replaces utf8 spaces for ascii ones
On Sun, Feb 12, 2017 at 09:21:37PM +0100, Walter Alejandro Iglesias wrote: > After investigating a bit I realized that what I called utf8 space is a > 'nobreakspace' so it's ok fmt to replace them for ascii ones. I made a > stupid question. Sorry! If that's the behavior you see, I think _that_ is a bug: the reason non-breaking spaces exist is so programs do not separate words at that character (https://en.wikipedia.org/wiki/Non-breaking_space). GNU fmt respects non-breaking spaces and handles them accordingly: ~$ fmt --version | head -n1 fmt (GNU coreutils) 8.25 ~$ printf " XXX\u00a0XXX XXX" | fmt -w 20 XXX XXX XXX ~$ printf " XXX XXX XXX" | fmt -w 20 XXX XXX XXX Unfortunately I do not have access to an OpenBSD machine to verify whether or not its fmt does the correct thing. Eric
Re: Libperl 18?
On Mon, Feb 13, 2017 at 02:29:01AM +, Bryan C. Everly wrote: > I have been trying to nuke and pave my daily driver's OpenBSD partition > since Feb 5. Trying to install libproxy failed on a bad major (I have 17.1 > and it wants 18.0) for libperl. > > I figured this was the normal behavior I have seen from time to time > running snapshots and I would just wait for the next refresh of the > snapshot. I did and I reinstalled the bad and userland tools from it but > I'm still seeing the problem. > > Are we having problems with perl in the userland build? Should be libperl.so.18.0 from perl 5.24.1 http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib/sets/lists/base/mi.diff?r1=1.818=1.819=h What's the date of the snapshot you installed? $ ftp -o- ftp://ftp3.usa.openbsd.org/pub/OpenBSD/snapshots/amd64/base60.tgz | tar tzvf - | grep libperl ... -r--r--r-- 1 root bin5722739 Feb 12 12:44 ./usr/lib/libperl.so.18.0
Libperl 18?
Hi all I have been trying to nuke and pave my daily driver's OpenBSD partition since Feb 5. Trying to install libproxy failed on a bad major (I have 17.1 and it wants 18.0) for libperl. I figured this was the normal behavior I have seen from time to time running snapshots and I would just wait for the next refresh of the snapshot. I did and I reinstalled the bad and userland tools from it but I'm still seeing the problem. Are we having problems with perl in the userland build? -- Thanks, Bryan
OpenBSD's HTTPD - I can't figure out how to disable the chroot
Hello, I have a special use case for the HTTPD server, I would like to disable the chroot but can't seem to get it working correctly. Within httpd.conf, I have tried to set: chroot "/" ## Instead of default which is: /var/www root "/var/www/htdocs/web" #root "/htdocs/web" # Disabled location "/" { directory { index "index.html" } } But I can't access my page until I put it back to normal (uncomment the # lines and remove the new ones) Any help would be greatly appreciated. Thanks
Re: fmt replaces utf8 spaces for ascii ones
After investigating a bit I realized that what I called utf8 space is a 'nobreakspace' so it's ok fmt to replace them for ascii ones. I made a stupid question. Sorry!
Re: Any network simulators to test openbgpd?
Le 2017-02-12 20:25, Karthik Veeragoni a écrit : Hi all, I'm looking for any freely available or commercial network simulators or emulators to test Openbgpd by using any of them. And I would also like to know on what other poplar platforms/operating systems, openbgpd is being used in the current market or can be used. As per the following thread: https://www.inex.ie/pipermail/ixpmanager/2015-April/000496.html , it is said the implementing openbgpd on Freebsd is not so secure. What is the current status of using openbgpd on Freebsd? Any suggestions are welcome. Thanks & Regards, Karthik V Hello, you can join dn42 network https://dn42.net/Home
Any network simulators to test openbgpd?
Hi all, I'm looking for any freely available or commercial network simulators or emulators to test Openbgpd by using any of them. And I would also like to know on what other poplar platforms/operating systems, openbgpd is being used in the current market or can be used. As per the following thread: https://www.inex.ie/pipermail/ixpmanager/2015-April/000496.html , it is said the implementing openbgpd on Freebsd is not so secure. What is the current status of using openbgpd on Freebsd? Any suggestions are welcome. Thanks & Regards, Karthik V
print [cups not supporting printer] by collaboration of linux
hi all . i have a printher(DCP-J925N) that cups does not support. but archlinux can make it usable (by https://github.com/nozaki87/brotherdcpj925n/blob/master/PKGBUILD) . openbsd's cups can do make pdf . so i sent the pdf file to archlinux by scp . and i do ssh to archlinux and lp the pdf file . shell script is the followings. cat scp+ssh.bat scp X.pdf toto@192.168.8.12:/home/toto ssh toto@192.168.8.12 and on archlinux lp X.pdf --- regards
Re: disable touchpad while leave trackpoint on
P Bieleckiwrites: > Hi, > > In output from xinput I have one pointing device and it is wsmouse > $ xinput > ⎡ Virtual core pointer id=2[master pointer > (3)] > ⎜ ↳ Virtual core XTEST pointerid=4[slave pointer > (2)] > ⎜ ↳ /dev/wsmouse id=7[slave pointer > (2)] > Reporting 3 classes: > Class originated from: 7. Type: XIButtonClass > Buttons supported: 7 > Button labels: "Button Left" "Button Middle" "Button > Right" None None None None > Button state: > Class originated from: 7. Type: XIValuatorClass > Detail for Valuator 0: > Label: Rel X > Range: -1.00 - -1.00 > Resolution: 1 units/m > Mode: relative > Class originated from: 7. Type: XIValuatorClass > Detail for Valuator 1: > Label: Rel Y > Range: -1.00 - -1.00 > Resolution: 1 units/m > Mode: relative > > but both trackpoint and touchpad work. I'd like to switch the touchpad > off; is there a way to do it while keeping trackpoint enabled? > I do not have bios option for disabling neither. > My laptop is hp 8470p. > > many thanks, > -- > P > > $ synclient TouchpadOff=1 -- François Chambaud www.chambaud.org
OpenBSD 4.6 & 5.2: Physical Media
I've got spare copies of 4.6 & 5.2 that I can let go. The package includes the disks, instructions, stickers, etc. I'm asking $40 shipped for each, to the 48 States. $55 international, shipping included. Half of the NET proceeds will be donated back to OpenBSD. Payment via PAYPAL Only! First, "I'll take it", gets it... Jay
Re: Can OpenBSD do mixed b/g/n mode in hostap?
Hi Stefan, Many thanks for that explanation! It makes sense. You're right, some low level code is really difficult to debug! Kind regards, Tom On 07/02/17 20:41, Stefan Sperling wrote: > On Tue, Feb 07, 2017 at 08:16:10PM +, Tom Murphy wrote: >> Hi Stefan, >> >> I upgraded my kernel to 24 January 2017 and every once in a while I get: >> >> athn0: device timeout >> >> I've gotten 3 of these in 12 days. Running: >> >> ifconfig athn0 down; sh /etc/netstart athn0 >> >> fixes this, but not had this on mode 11g. Could it be something in the 11n >> hostap code? >> > > This was already hapening a long time before 11n mode was implemented. > There is no reason to worry about this message if the AP works otherwise. > > Below I'm quoting my reply to this same question I wrote to somebody > else a few weeks ago, who also noted that the BUGS section of the > athn($) man page says that a device timeout "should not happen". > > [[[ > It means we asked the device to transmit a frame, and 5 seconds or so > later we still did not receive a notification from the device that it > is done transmitting the frame, as it would normally send us. > > We then assume the device is wedged and reset it. This is mostly > transparent since the upper layer interface state does not change > (or changes only briefly). > > So, it should not happen. But it does, and there's no easy way to fix > it short of debugging this stuff at a very low level, which takes a > lot of time and effort. > > The simple fact is that the driver isn't perfect. > ]]]