Re: getting apps en masse

2013-01-27 Thread Brian Callahan

On 1/27/2013 6:33 PM, John Newton wrote:

Sirs: Especially Dewey and Jorge.I should have stated at the outset that I
must download from public computer not using openbsd so wget would
not work. I must work with the constraints of the mirror and my windows
system. BTW this is version 5.1 i am using. Maybe osdisc.com has app
repository for 5.1 but they don't say so explicitly on their site. To Jorge
especially: no, most of the apps are not on the install set. They take up
about 16 GB. Thanks to all



http://lmgtfy.com/?q=wget+for+windows

Place on your external HDD of choice and have fun.



Re: Does Pulse Audio in e17 result in a can of worms

2013-01-27 Thread Antoine Jacoutot
On Sun, Jan 27, 2013 at 12:37:06PM -0800, J. Scott Heppler wrote:
> Background of question
> 
> The volume module for enlightenment is alsa or pulseaudio only:
> http://docs.enlightenment.org/auto/e/group__Module__Mixer.html
> 
> My sense is that pulse audio was grudgingly added to
> support gnome development.
> http://www.openbsd.org/cgi-bin/cvsweb/ports/audio/pulseaudio/distinfo 
> 
> Pulse is disabled in the current Makefile for vlc
> http://www.openbsd.org/cgi-bin/cvsweb/ports/x11/vlc/Makefile?rev=1.163;content-type=text%2Fplain
> 
> mpd uses libao for output.
> 
> Question:  Will enlightenment/pulseaudio happily coexist with vlc, mpd,
> minitube, Firefox ogg/ogv or would I need to rebuild vlc with pulse

They will co-exist fine since pulseaudio has been patched to use sndio(7).

> enabled? Will I need to come up with a libao-pulse?  Lastly, where is
> the documentation buried for pulse audio setup?

-- 
Antoine



Does Pulse Audio in e17 result in a can of worms

2013-01-27 Thread J. Scott Heppler
Background of question

The volume module for enlightenment is alsa or pulseaudio only:
http://docs.enlightenment.org/auto/e/group__Module__Mixer.html

My sense is that pulse audio was grudgingly added to
support gnome development.
http://www.openbsd.org/cgi-bin/cvsweb/ports/audio/pulseaudio/distinfo 

Pulse is disabled in the current Makefile for vlc
http://www.openbsd.org/cgi-bin/cvsweb/ports/x11/vlc/Makefile?rev=1.163;content-type=text%2Fplain

mpd uses libao for output.

Question:  Will enlightenment/pulseaudio happily coexist with vlc, mpd,
minitube, Firefox ogg/ogv or would I need to rebuild vlc with pulse
enabled? Will I need to come up with a libao-pulse?  Lastly, where is
the documentation buried for pulse audio setup?

Scott H.



Re: two equal filenames in one dir

2013-01-27 Thread Stuart Henderson
On 2013-01-27, Christian Weisgerber  wrote:
> Stefan Sperling  wrote:
>
>> However, it is entirely possible to have two filenames in a directory
>> that look the same, at least when rendered as text, if you use unicode:
>> http://en.wikipedia.org/wiki/Precomposed_character#Comparing_precomposed_and_decomposed_characters
>
> You don't need to go that far, given that many fonts share glyphs
> between Latin and Cyrillic (and possibly Greek) characters.
>

Or just something like this:

$ ls -l foo*
-rw-r--r--  1 sthen  sthen  0 Jan 27 14:03 foo
-rw-r--r--  1 sthen  sthen  0 Jan 27 14:03 foo 



Re: USB Printing help / how to request.

2013-01-27 Thread Antoine Jacoutot
On Sun, Jan 27, 2013 at 12:53:25PM +, Keith wrote:
> Hi, I've tried a few times to get my Home FW / Download box to be a
> print server with my Epson Stylux Photo R285 but each time I've
> tried I've given up as i just couldn't figure how to get it all to
> work. It seems really complicated and using Google to find tutorials
> hasn't helped.
> 
> I have been able to get cups installed and can see the web interface
> before but I don't realy get any further than that.

If you want cups, make sure to read:
/usr/local/share/doc/pkg-readmes/cups-*

> 1. For some reason cups couldn't find my usb printer. know matter
> what I try. I though it might be permissions on the /dev/ file but
> am not sure. I have managed in the past to spool text to the
> /dev/ulpt0/1 port and make the printer print junk.

CUPS does not use ulpt but libusb (ugen). Again this is all documented in the 
pkg-readmes file.

> 2. I think I need a driver to make it work but don't know where to
> get the driver or where I should put it once I have it.

You probably want the gutenprint driver which handles most epson printer.

> 3. I don't know if I need a driver ? I just want machines on my
> network (PC's and Kindle Tablet) to be able to print through it. I
> won't want the OpenBSD box itself to print.

You have 2 possibilities here.
1. install the driver on the print server and create raw queues on the clients
2. create a filter-less print queue on the print server using lpd or cups and 
install the print driver on all clients

> Hope what I am asking makes sense as I am properly confused now :>(
> and Thanks for reading.
> 
> Thanks
> Keith
> 

-- 
Antoine



USB Printing help / how to request.

2013-01-27 Thread Keith
Hi, I've tried a few times to get my Home FW / Download box to be a 
print server with my Epson Stylux Photo R285 but each time I've tried 
I've given up as i just couldn't figure how to get it all to work. It 
seems really complicated and using Google to find tutorials hasn't helped.


I have been able to get cups installed and can see the web interface 
before but I don't realy get any further than that.


1. For some reason cups couldn't find my usb printer. know matter what I 
try. I though it might be permissions on the /dev/ file but am not sure. 
I have managed in the past to spool text to the /dev/ulpt0/1 port and 
make the printer print junk.


2. I think I need a driver to make it work but don't know where to get 
the driver or where I should put it once I have it.


3. I don't know if I need a driver ? I just want machines on my network 
(PC's and Kindle Tablet) to be able to print through it. I won't want 
the OpenBSD box itself to print.


Hope what I am asking makes sense as I am properly confused now :>( and 
Thanks for reading.


Thanks
Keith



Re: two equal filenames in one dir

2013-01-27 Thread Christian Weisgerber
Stefan Sperling  wrote:

> However, it is entirely possible to have two filenames in a directory
> that look the same, at least when rendered as text, if you use unicode:
> http://en.wikipedia.org/wiki/Precomposed_character#Comparing_precomposed_and_decomposed_characters

You don't need to go that far, given that many fonts share glyphs
between Latin and Cyrillic (and possibly Greek) characters.

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de



Re: Need help with missing libraries libintl.so.60 & libiconv.so.6.0'

2013-01-27 Thread Keith

Got it working again. Just ran the following.

#ldconfig /usr/local/lib


On 27/01/2013 11:44, Keith wrote:

Hi,
I decided to try and setup a cups usb printer with cups / 
ghostscript / gutenprint. I used pkg_add to do the installs and now I 
am unable to use pico or nano. I keep getting the following.


nano: can't load library 'libintl.so.6.0'
or
pico: can't load library 'libintl.so.6.0'

I have uninstalled the packages that I installed and have tried 
uninstalling/installing pico & nano and have tried installing some 
libraries using pkg_add but with no luck.


Can again help ?

Thanks
Keith




Re: two equal filenames in one dir

2013-01-27 Thread Stefan Sperling
On Sun, Jan 27, 2013 at 05:23:05AM -0500, Jiri B wrote:
> On Sun, Jan 27, 2013 at 05:20:14AM -0500, Jiri B wrote:
> > Hello,
> > 
> > I'm confused, how is it possible I have two files with same
> > names in one dir?
> > 
> > $ ls -li
> > total 1245376
> > 3611817 -rw-r--r--  1 jirib  jirib  168392755 Jan 14 23:35 
> > Crostata_Alla_Fruta.mp4
> > 3741698 -rw-r--r--  1 jirib  jirib  165519511 Mar 12  2010 Pizza 
> > Margherita-10115892.mp4
> > 3611818 -rw-r--r--  1 jirib  jirib  165519511 Jan 14 23:35 
> > Pizza_Margherita-10115892.mp4
> > 3741699 -rw-r--r--  1 jirib  jirib   68932635 Jul 31 21:02 jablecny 
> > kolac-46705666.mp4
> > 3611819 -rw-r--r--  1 jirib  jirib   68932635 Jan 14 23:35 
> > jablecny_kolac-46705666.mp4
> > 
> > $ sysctl kern.version 
> > kern.version=OpenBSD 5.2-current (GENERIC.MP) #20: Mon Jan 21 17:23:23 MST 
> > 2013
> > t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 
> 
> IGNORE, I need glasses :D

In this particular case, yes, you need glasses.

However, it is entirely possible to have two filenames in a directory
that look the same, at least when rendered as text, if you use unicode:
http://en.wikipedia.org/wiki/Precomposed_character#Comparing_precomposed_and_decomposed_characters

IMO this is a design problem in unicode, since this allows multiple
codepoint representations for some characters in unicode, i.e. codepoints
aren't a true 1-to-1 mapping to the characters they represent (this may
have been a deliberate design choice by the designers of unicode, but its
implications for software engineers are more serious than one might expect).

To make matters worse, some unicode-aware filesystems (e.g. Apple's HFS+)
have started normalising data to one particular representation, regardless
of which representation an application actually used to create a filename!

Handling such filenames on HFS+ is a huge problem for e.g. version control
systems where the designers of such systems forgot about normalising unicode
filenames at the application level (which is very easy to forget about if you
don't know the finer details of unicode). Both Subversion and git are affected
by this. git has introduced a workaround to address the issue recently but it
isn't backwards compatible with existing repositories (pathnames eventually
affect commit hashes in git) and enabling this workaround globally in a
distributed system isn't easy so it remains turned off by default (I mean a
distributed system in the sense that the application doesn't run on a single
machine, where svn is also "distributed" due to its client/server design).

If you ever design a program that handles UTF-8 data, please consider
whether this problem applies, or someone might get headaches trying to
fix it later. It can be a seriously annoying problem to fix after the fact.
And if you ever design a filesystem please don't follow HFS+'s example,
i.e. don't munge filename data provided by applications.



Need help with missing libraries libintl.so.60 & libiconv.so.6.0'

2013-01-27 Thread Keith

Hi,
I decided to try and setup a cups usb printer with cups / 
ghostscript / gutenprint. I used pkg_add to do the installs and now I am 
unable to use pico or nano. I keep getting the following.


nano: can't load library 'libintl.so.6.0'
or
pico: can't load library 'libintl.so.6.0'

I have uninstalled the packages that I installed and have tried 
uninstalling/installing pico & nano and have tried installing some 
libraries using pkg_add but with no luck.


Can again help ?

Thanks
Keith



Re: two equal filenames in one dir

2013-01-27 Thread Antoine Jacoutot
On Sun, Jan 27, 2013 at 05:20:14AM -0500, Jiri B wrote:
> Hello,
> 
> I'm confused, how is it possible I have two files with same
> names in one dir?

I don't see any files with the same name in what you pasted.


> $ ls -li
> total 1245376
> 3611817 -rw-r--r--  1 jirib  jirib  168392755 Jan 14 23:35 
> Crostata_Alla_Fruta.mp4
> 3741698 -rw-r--r--  1 jirib  jirib  165519511 Mar 12  2010 Pizza 
> Margherita-10115892.mp4
> 3611818 -rw-r--r--  1 jirib  jirib  165519511 Jan 14 23:35 
> Pizza_Margherita-10115892.mp4
> 3741699 -rw-r--r--  1 jirib  jirib   68932635 Jul 31 21:02 jablecny 
> kolac-46705666.mp4
> 3611819 -rw-r--r--  1 jirib  jirib   68932635 Jan 14 23:35 
> jablecny_kolac-46705666.mp4
> 
> $ sysctl kern.version 
> kern.version=OpenBSD 5.2-current (GENERIC.MP) #20: Mon Jan 21 17:23:23 MST 
> 2013
> t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 
> jirib
> 

-- 
Antoine



Re: two equal filenames in one dir

2013-01-27 Thread Brad Smith
On Sun, Jan 27, 2013 at 05:20:14AM -0500, Jiri B wrote:
> Hello,
> 
> I'm confused, how is it possible I have two files with same
> names in one dir?
> 
> $ ls -li
> total 1245376
> 3611817 -rw-r--r--  1 jirib  jirib  168392755 Jan 14 23:35 
> Crostata_Alla_Fruta.mp4
> 3741698 -rw-r--r--  1 jirib  jirib  165519511 Mar 12  2010 Pizza 
> Margherita-10115892.mp4
> 3611818 -rw-r--r--  1 jirib  jirib  165519511 Jan 14 23:35 
> Pizza_Margherita-10115892.mp4
> 3741699 -rw-r--r--  1 jirib  jirib   68932635 Jul 31 21:02 jablecny 
> kolac-46705666.mp4
> 3611819 -rw-r--r--  1 jirib  jirib   68932635 Jan 14 23:35 
> jablecny_kolac-46705666.mp4

They do not appear to be the same to me. One set has an underscore and the 
other has a
space.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: two equal filenames in one dir

2013-01-27 Thread Robert Peichaer
On Sun, Jan 27, 2013 at 05:20:14AM -0500, Jiri B wrote:
> Hello,
> 
> I'm confused, how is it possible I have two files with same
> names in one dir?
> 
> $ ls -li
> total 1245376
> 3611817 -rw-r--r--  1 jirib  jirib  168392755 Jan 14 23:35 
> Crostata_Alla_Fruta.mp4
> 3741698 -rw-r--r--  1 jirib  jirib  165519511 Mar 12  2010 Pizza 
> Margherita-10115892.mp4
> 3611818 -rw-r--r--  1 jirib  jirib  165519511 Jan 14 23:35 
> Pizza_Margherita-10115892.mp4
> 3741699 -rw-r--r--  1 jirib  jirib   68932635 Jul 31 21:02 jablecny 
> kolac-46705666.mp4
> 3611819 -rw-r--r--  1 jirib  jirib   68932635 Jan 14 23:35 
> jablecny_kolac-46705666.mp4
> 
> $ sysctl kern.version 
> kern.version=OpenBSD 5.2-current (GENERIC.MP) #20: Mon Jan 21 17:23:23 MST 
> 2013
> t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Pizza Margherita-10115892.mp4
Pizza_Margherita-10115892.mp4
 ^

jablecny kolac-46705666.mp4
jablecny_kolac-46705666.mp4
^
-- 
-=[rpe]=-



Re: two equal filenames in one dir

2013-01-27 Thread Ville Valkonen
' ' != '_'
On Jan 27, 2013 12:21 PM, "Jiri B"  wrote:

> Hello,
>
> I'm confused, how is it possible I have two files with same
> names in one dir?
>
> $ ls -li
> total 1245376
> 3611817 -rw-r--r--  1 jirib  jirib  168392755 Jan 14 23:35
> Crostata_Alla_Fruta.mp4
> 3741698 -rw-r--r--  1 jirib  jirib  165519511 Mar 12  2010 Pizza
> Margherita-10115892.mp4
> 3611818 -rw-r--r--  1 jirib  jirib  165519511 Jan 14 23:35
> Pizza_Margherita-10115892.mp4
> 3741699 -rw-r--r--  1 jirib  jirib   68932635 Jul 31 21:02 jablecny
> kolac-46705666.mp4
> 3611819 -rw-r--r--  1 jirib  jirib   68932635 Jan 14 23:35
> jablecny_kolac-46705666.mp4
>
> $ sysctl kern.version
> kern.version=OpenBSD 5.2-current (GENERIC.MP) #20: Mon Jan 21 17:23:23
> MST 2013
> t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>
> jirib



Re: two equal filenames in one dir

2013-01-27 Thread Jiri B
On Sun, Jan 27, 2013 at 05:20:14AM -0500, Jiri B wrote:
> Hello,
> 
> I'm confused, how is it possible I have two files with same
> names in one dir?
> 
> $ ls -li
> total 1245376
> 3611817 -rw-r--r--  1 jirib  jirib  168392755 Jan 14 23:35 
> Crostata_Alla_Fruta.mp4
> 3741698 -rw-r--r--  1 jirib  jirib  165519511 Mar 12  2010 Pizza 
> Margherita-10115892.mp4
> 3611818 -rw-r--r--  1 jirib  jirib  165519511 Jan 14 23:35 
> Pizza_Margherita-10115892.mp4
> 3741699 -rw-r--r--  1 jirib  jirib   68932635 Jul 31 21:02 jablecny 
> kolac-46705666.mp4
> 3611819 -rw-r--r--  1 jirib  jirib   68932635 Jan 14 23:35 
> jablecny_kolac-46705666.mp4
> 
> $ sysctl kern.version 
> kern.version=OpenBSD 5.2-current (GENERIC.MP) #20: Mon Jan 21 17:23:23 MST 
> 2013
> t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP


IGNORE, I need glasses :D

jirib



two equal filenames in one dir

2013-01-27 Thread Jiri B
Hello,

I'm confused, how is it possible I have two files with same
names in one dir?

$ ls -li
total 1245376
3611817 -rw-r--r--  1 jirib  jirib  168392755 Jan 14 23:35 
Crostata_Alla_Fruta.mp4
3741698 -rw-r--r--  1 jirib  jirib  165519511 Mar 12  2010 Pizza 
Margherita-10115892.mp4
3611818 -rw-r--r--  1 jirib  jirib  165519511 Jan 14 23:35 
Pizza_Margherita-10115892.mp4
3741699 -rw-r--r--  1 jirib  jirib   68932635 Jul 31 21:02 jablecny 
kolac-46705666.mp4
3611819 -rw-r--r--  1 jirib  jirib   68932635 Jan 14 23:35 
jablecny_kolac-46705666.mp4

$ sysctl kern.version 
kern.version=OpenBSD 5.2-current (GENERIC.MP) #20: Mon Jan 21 17:23:23 MST 2013
t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

jirib