File permissions question

2007-10-10 Thread Predrag Punosevac

Hi Everybody,
I am total  a noob  in  OpenBSD so forgive me for my silly question. In 
real life I have a homemade Intel based Workstation/Server and an old 
IBM Think Pad laptop both powered by FreeBSD 6.2 stable. I got an old 
Pentium III made by Del last weekend originally intended for FreeBSD 
testing purposes (mostly some packages which are not in FreeBSD official 
port three so I am kind a scared to brake my systems trying to install 
them).


I recently had some very unpleasant discussion with the sys admin at the 
University of Arizona (I am a mathematician by profession) about computer
security after couple servers running Ubuntu got rooted. These were not 
our math servers (which run Debian) but never the less I was affected by 
the event and not very happy about it.
Motivated by the whole situation I decided to install OpenBSD (instead 
of playing with couple FreeBSD applications) which is indisputably the 
most secure OS on the world and learn little bit more about security issues.


I did quick 10 min ftp installation last Sunday. I was in total shock 
how easy was to install the system  (have to admit that is even easier  
than  FreeBSD).
It took me about 4-5 hours to get  full  working  customized, 
workstations with all gadgets (CD/DVD, printers, MP3 palyers, digital 
camera, VoIP (fedora package))
plus all my work stuff TeX and related as well as VNC and VPN. The 
system is one of the most logical and simple things I have ever touched 
in my life (simple is GOOD).
Two thumps up for the developers and grand master Theo. Documentation is 
in par with the famous FreeBSD Handbook.


Now it comes my idiotic question. During the printer installation I had 
to change the permission on /dev/lpt0 for CUPS daemon to gain the access.
Normally in FreeBSD I would do that  either by chmod for /dev/lpt0 
device node or by editing /etc/devfs.conf with the line perm /dev/lpt0 0666.


In OpenBSD I did it with a chmod command but I have not noticed that 
there is anything equivalent to /etc/devfs.conf file in FreeBSD. Is 
there are equivalent an equivalent file or the things are just 
different? I noticed that the syntax for starting  daemons and rc class 
of files are little bit different than in FreeBSD but very logical and 
well documented.


I was shocked that Ogle was able to play DVD out of box despited the 
fact that HAL doesn't exist (thanks God I wish there was no HAL in 
FreeBSD as well).
I thought that I would have to mount first as udf file system. I do run  
dbus  daemon  of  course  but  I thought  that  would not be enough.


Anyhow, OpenBSD is on my DeLL to stay forever  as it is just too good to 
be removed (I am going to get another $20 box to play with FreeBSD packages)


Lastly, I just out of curiosity  has anybody tried to port HPLIP to 
OpenBSD. I googled and found a few OpenBSD discussions about it but 
nothing in substance.


Also I noticed that TeXLive is listed (there is an unofficial port list) 
but not in packages? Could somebody tell me if it is going to be 
included in 4.2.
I am in particular interested in powerdot class of Latex presentation 
which I had to install manually on FreeBSD (not an easy thing as it 
requires some extra fonts nor
present in current version of TeTeX ported for FreeBSD) (and yes I do 
know about beamer and ppower4 and they are ported for OpenBSD but I do 
not give a shit for those two classes).


Sincerely,
Predrag Punosevac



Re: Brother HL-5250DN printer w/OpenBSD

2007-10-16 Thread Predrag Punosevac

Pawel Veselov wrote:

Hello,

I spent some time picking a relatively cheap printer that I can also use
with OpenBSD, and finally got a Brother HL-5250DN, that can connect over
ethernet and has duplex printing. I put together an instruction sheet at
http://manticore.2y.net/hl5250dn.html, if anyone's interested.

Thanks,
  Pawel.

  
Forgive me for saying this but I just do not get it. Why did you need to 
use Linux compatibility layer when CUPS is

OpenBSD packages?

cups-1.2.7.tgz

1. Install cups

2. Use the default cupsd.conf that came with the package

3. Ran the following two commands

/usr/local/sbin/cupsd -c /etc/cups/cupsd.conf
/usr/local/sbin/cups-enable


That is to hide native commands for lpd. Note lpd daemon is off by 
default anyway


4. Adjust permissions since the CUPS daemon is not supper user. (For 
example for my locally attached printer chmod 0666 /dev/lpt0 )


5. Start cups daemon

6. Go to http://localhost:631 for a printer administration

7. Rest is self explanatory. When directed to download PPD file go to 
http://www.linux-foundation.org/en/OpenPrinting

to get  the one you  need.



Why is your how to released under GPL license? Because of CUPS license?



Wireless WAP encryption question

2007-10-18 Thread Predrag Punosevac
I was wondering if somebody can direct me to some reading material about 
using  WAP/WAP2 wireless networks under OpenBSD.
I read carefully FAQ as well as man pages for ifconfig and it seems to 
me (probably I am wrong) that OpenBSD supports only WEP wireless 
protocol by default. I understand that both protocols WEP and WAP/WAP2 
are not really secure and that the way to go is to use OpenVPN but the 
university where I work has WAP/WAP2 wireless network for general 
purposes and I would like to be able to use laptop  running  OpenBSD on 
the campus.


I also googled  the topic  but I am not really getting any substance. 
Probably I am doing something wrong while searching.




Re: Wireless WAP encryption question

2007-10-18 Thread Predrag Punosevac
Yes I meant WPA/WPA2 :-[ . It is 2:30am in Arizona. I better go to sleep 
instead of playing with computers.


Mitja Muenih wrote:

Try to google for WPA / WPA2, you'll get much more results this way... :)

WPA on OpenBSD is a work in progress, not done yet.

Mitja 

  

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
On Behalf Of Predrag Punosevac

Sent: Thursday, October 18, 2007 11:05 AM
To: misc@openbsd.org
Subject: Wireless WAP encryption question

I was wondering if somebody can direct me to some reading 
material about 
using  WAP/WAP2 wireless networks under OpenBSD.
I read carefully FAQ as well as man pages for ifconfig and it 
seems to 
me (probably I am wrong) that OpenBSD supports only WEP wireless 
protocol by default. I understand that both protocols WEP and 
WAP/WAP2 
are not really secure and that the way to go is to use 
OpenVPN but the 
university where I work has WAP/WAP2 wireless network for general 
purposes and I would like to be able to use laptop  running  
OpenBSD on 
the campus.


I also googled  the topic  but I am not really getting any substance. 
Probably I am doing something wrong while searching.




Re: Wireless WAP encryption question

2007-10-18 Thread Predrag Punosevac

Maxim Belooussov wrote:

hi,

On 10/18/07, Predrag Punosevac [EMAIL PROTECTED] wrote:
  

Yes I meant WPA/WPA2 :-[ . It is 2:30am in Arizona. I better go to sleep
instead of playing with computers.

Mitja Muenih wrote:


Try to google for WPA / WPA2, you'll get much more results this way... :)

WPA on OpenBSD is a work in progress, not done yet.
  


FreeBSD and NetBSD support WPA via wpa_supplicant, but OpenBSD doesn't
support it.

Max
  
Thanks for the info. I am somewhat competent FreeBSD user and I am 
familiar with WPA configuration in FreeBSD (it is trivial and
well described in the handbook). I am big n00b for OpenBSD but I really 
like it. I have some old spare parts among others USB wireless adapter 
made by U. S. Robotics which is pain on FreeBSD (supposedly working with 
wi driver) but was recognized out of box in OpenBSD so I wanted to use 
for and old laptop.


I am absolutely shocked by the quality of OpenBSD drivers and hardware 
recognition. It is really no nonsense stuff.




Re: Wireless WAP encryption question

2007-10-18 Thread Predrag Punosevac

Nick Guenther wrote:

On 10/18/07, Luca Corti [EMAIL PROTECTED] wrote:
  

On Thu, 2007-10-18 at 02:04 -0700, Predrag Punosevac wrote:



I read carefully FAQ as well as man pages for ifconfig and it seems to
me (probably I am wrong) that OpenBSD supports only WEP wireless
protocol by default. I understand that both protocols WEP and WAP/WAP2
are not really secure and that the way to go is to use OpenVPN but the
university where I work has WAP/WAP2 wireless network for general
purposes and I would like to be able to use laptop  running  OpenBSD on
the campus.
  


Does having WPA on a public wifi actually do anything?

  

WPA is not supported. AFAIK noone is working on it.



http://www.openbsd.org/plus42.html
search for WPA.

-Nick
  


Speaking of security probably does nothing.  I am not competent to talk 
about other functions. Last year we had bunch of kids storing video 
games on Library servers which runs Winblows NT. The library computers 
were down 3 weeks. When I suggested that they run OpenBSD  or FreeBSD 
they said I was crazy.




TeXLive problem

2008-01-13 Thread Predrag Punosevac

TO: Nikolay Sturm port maintainer of TeXLive


Dear Nikolay,

I am running TeXLive on 4.2 stable and I got into troubles with powerdot 
class of presentations.


http://www.ctan.org/tex-archive/macros/latex/contrib/powerdot/

To make long story short. My slides are getting cut from the right hand 
side once I pass them out with the ps2pdf through the ghostscript.


Apparently, this is well documented bug for powerdot

http://www.ctan.org/tex-archive/macros/latex/contrib/powerdot/

except that the suggested patch doesn't work. More over when I compared 
old config.ps file with the patch file,  they differ in a single symbol 
so it looks to me that you were already fixing the problem.
One thing that concerns me is that the TeXLive version we use in OpenBSD 
doesn't contain  ghostscript  but  rather  it  takes  it  as  a 
dependency from the port  three.  Is it  possible  that  ghostscript  
version  is  causing the troubles.


Do you know anything more about this issue? I will try to fix it and let 
you know what is going on.


Best,

Predrag Punosevac


P. S. It is probably possible to go around just with changing the 
default paper sizes in options for ps2pdf (contained in Postscript) but 
I was not able to come up with the right size for now.




Re: k3b ...is it possible?

2008-01-17 Thread Predrag Punosevac

Gustavo Polillo wrote:

How can use k3b on openbsd 4.2?

  
The short answer is that K3b is not in packages so you can not use it 
unless you compile from the source.


The long answer is that K3b is just a front end for cdrtools and dvd+rw 
and those tools are of course available so
you can do on 4.2 OpenBSD whatever you could do with K3b. The problem is 
that you might need to write

few simple scripts which will make it easier to do some things.
K3b heavily depends on Qt libraries (used for KDE) so it is really 
bloated in terms of compiling.


There is a very light alternative among packages called TkDVD which does 
most of the things K3b but is in particularly

good for ISO images.
You should also look the following packages

abcde

cdrachive

cdrdao

dvdauthor

dvdbackup

dvdrip



All of the above being said, as a primarily desktop user, I think that 
K3b should be ported to OpenBSD.
I use it all the time on my only remaining FreeBSD box and I believe 
that is the best KDE application written out there.


If you carefully read misc archives you will see that there was a guy 
who tired to compile K3b to OpenBSD couple of years ago.
He and me accidentally share the same name Predrag. Obviously he was not 
very persistent and didn't finish the job.


I am a new OpenBSD (only three months) and I am still learning about 
current branch and creating new packages.
At this point I would like to port shimmer (security) and PDFedit to 
OpenBSD. Obviously not being developer this is the most (besides money 
and hardware of course) I can contribute to the project.


K3b should be little bit more difficult to compile than the above 
packages because of already mentioned Qt libraries and dependencies with 
other parts of KDE desktop. I would like to try to do that. I would 
suggest that you also try to compile K3b from the source.
K3b web site is well written and there is a fairly good documentation 
that explains how you compile K3b from the source.
You should probably subscribe to ports mailing list and try at least to 
talk to KDE port maintainer and ask him for some kind of guidance.
Please, do not try to push him or anybody else for that matter to port 
K3b for you as these people are all volunteers.


Most Kind Regards,
Predrag Punosevac


P. S. I do not know if the current Gnome port for OpenBSD includes 
CD/DVD creator (I think it is called Gnome Backer). It might be among 
Gnome utilities.  I know that the Gnome port for stable version is 2.18  
which is almost  2.20  which  was  released  fairly  recently. I used 
CD/DVD creator on FreeBSD. It is in my point of view worse than K3b but 
I would love to see it ported to OpenBSD. I personally use only AbiWord 
and Gnumeric packages from the Gnome port and I have no intentions of 
even trying to   compile  myself.




Re: k3b ...is it possible?

2008-01-17 Thread Predrag Punosevac

Richard Daemon wrote:



On Jan 17, 2008 3:06 PM, Predrag Punosevac [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Gustavo Polillo wrote:
 How can use k3b on openbsd 4.2?


The short answer is that K3b is not in packages so you can not use it
unless you compile from the source.

The long answer is that K3b is just a front end for cdrtools and
dvd+rw
and those tools are of course available so
you can do on 4.2 OpenBSD whatever you could do with K3b. The
problem is
that you might need to write
few simple scripts which will make it easier to do some things.
K3b heavily depends on Qt libraries (used for KDE) so it is really
bloated in terms of compiling.

There is a very light alternative among packages called TkDVD
which does
most of the things K3b but is in particularly
good for ISO images.
You should also look the following packages

abcde

cdrachive

cdrdao

dvdauthor

dvdbackup

dvdrip



All of the above being said, as a primarily desktop user, I think that
K3b should be ported to OpenBSD.
I use it all the time on my only remaining FreeBSD box and I believe
that is the best KDE application written out there.

If you carefully read misc archives you will see that there was a guy
who tired to compile K3b to OpenBSD couple of years ago.
He and me accidentally share the same name Predrag. Obviously he
was not
very persistent and didn't finish the job.

I am a new OpenBSD (only three months) and I am still learning about
current branch and creating new packages.
At this point I would like to port shimmer (security) and PDFedit to
OpenBSD. Obviously not being developer this is the most (besides
money
and hardware of course) I can contribute to the project.

K3b should be little bit more difficult to compile than the above
packages because of already mentioned Qt libraries and
dependencies with
other parts of KDE desktop. I would like to try to do that. I would
suggest that you also try to compile K3b from the source.
K3b web site is well written and there is a fairly good documentation
that explains how you compile K3b from the source.
You should probably subscribe to ports mailing list and try at
least to
talk to KDE port maintainer and ask him for some kind of guidance.
Please, do not try to push him or anybody else for that matter to port
K3b for you as these people are all volunteers.

Most Kind Regards,
Predrag Punosevac


P. S. I do not know if the current Gnome port for OpenBSD includes
CD/DVD creator (I think it is called Gnome Backer). It might be among
Gnome utilities.  I know that the Gnome port for stable version is
2.18
which is almost  2.20  which  was  released  fairly  recently. I used
CD/DVD creator on FreeBSD. It is in my point of view worse than
K3b but
I would love to see it ported to OpenBSD. I personally use only
AbiWord
and Gnumeric packages from the Gnome port and I have no intentions of
even trying to   compile  myself.

Thanks for this info, answered some of my questions too and I wasn't 
aware of PDFEdit (which I needed something like this).


I'm not a developer myself but I'm working on some other things 
already to give back to OpenBSD and all OpenBSD users who can use it, 
due this week or the next.


Will any of these 'decrypt' DVD movies too, similar to AnyDVD or 
DVDShrink, etc, in Windows Terms?


BTW, what is shimmer?

Dear Richard,
I am not so much in DVD authoring and in particular I am not familiar 
with the applications you mentioned ( I am not a Windows user, I shifted 
to OpenBSD from FreeBSD and before that I used Solaris and Irix)


If you are locking for the applications that will compress 9h DVD onto 
4h  I have seen on FreeBSD questions mailing list and also I think on 
this that there are some very good programs in the open source that it 
can do that. What is the names of applications and if they are ported to 
OpenBSD I do not know. There are some people who really know that stuff 
lurking around here so I hope they can help you.


A very useful link  http://www.dvddemystified.com/dvdfaq.html


If you decide to investigate issue further and compare the available 
applications to the one you are familiar with please post your finding 
on this list for other people to see.


You can read about shimmer https://sourceforge.net/projects/shimmer

There are already many deficiencies  with  the project  but  by porting 
it  I hope  to  give  people  at least opportunity to play  with it and

do thinking. It is also useful against low level attacks.


Speaking of PDFEdit I use it on FreeBSD and I want to say immediately 
that is not even close to Adobe suit. It is very hard to use but
to my knowledge is only free alternative to Adobe software which cost 
thousands of dollars (we have

Re: k3b ...is it possible?

2008-01-17 Thread Predrag Punosevac

Jacob Meuser wrote:

On Thu, Jan 17, 2008 at 01:06:18PM -0700, Predrag Punosevac wrote:

  
All of the above being said, as a primarily desktop user, I think that 
K3b should be ported to OpenBSD.



you know, I tried porting libcdio to OpenBSD.  then I had issues
with Rocky Bernstein, so I am not going to work on it.  if you
think it's worth your time to beat your head against a wall of
official GNU ignorance/apathy/discrimination, be my guest.

  

Dear Jacob,

I might be n00b but on GNU/GPL bullshit I am with you 1000%.  One of the 
reasons that I start switching to OpenBSD is that

I share philosophical views with of the whole project and user base.

I am not familiar with the K3b issues that you are referring to. I 
didn't try seriously to work on the project. Could you give some more 
details so that people do not bang their had against the wall. K3b is 
known application and an average n00b will ask about it. So lets
get all the facts out. I would love to hear from Gnome people about 
their CD/DVD tools and issues.


I have heard something about forking cdrtools and dvd+rw probably by 
the people who want to enforce GPL license. Maybe somebody should say 
about those issues as well.


OpenBSD is also supporting multiple architectures and I know for the 
fact that TkDVD is ported for Sparck64  and I believe MIPS.
I think that the person who ported TkDVD was thinking very carefully 
about many issues.


Most Kind Regard,
Predrag Punosevac

P. S. You know that I value your opinion very much and I am happy 
somebody serous got into discussion. I was hopping for the reaction of
more serious people than my-self by answering the question about K3b. Of 
course the easiest thing would be just to tell the guy read FAQ

and use cdrtools and dvd+rw.



Re: k3b ...is it possible?

2008-01-18 Thread Predrag Punosevac

Marc Espie wrote:

I have the beginning of a port of k3b. There are just a lot of things
in the realm of cd/dvd handling that need porting. It's not just a few
patches, and it will work.

  


That is a great news! I am sure that it is much more difficult than I 
anticipated because of the way OpenBSD is handling  various  devices

comparing to  Linux.  I bet  my life  that  the  program is Linux-centric.
Please see the messages I exchanged with Jacob Mauser.  He  was a very 
concern about specific library needed for compilation (which is not 
listed on official web-site) and not available for OpenBSD.


Can you get K3b compiling at least on your machine? Does it work? Can 
you cut the simplest CD or DVD ISO.


Most Kind Regards,
Predrag Punosevac



Re: ibm thinkpad x60s + suspend mode

2008-01-19 Thread Predrag Punosevac

Jussi Peltola wrote:


Sadly I am forced to use WPA so I am back to Linux and the buggy ralink
driver on my ThinkPad X22, which does support APM :(

Oh - and to answer your question, not that I know of. Sorry.

  


FreeBSD supports wireless WPA if you have to use one. Their ral driver 
is OK. If you are using WPA on your private network you are fooling 
yourself. Get the OpenVPN going. If you need WPA for the public access 
that is absurd.


The university where I work requires WPA for WiF which kind a funny 
because it is public Internet access so I do not know what they are 
trying to accomplish by it as 50 000 people have WPA key.


I decided just bring to my office an old PIII which runs OpenBSD and 
keep my laptop at home.
They also require from me to use Cisco 3000 VPN to access class roster 
but they do not supports OpenBSD.
So I had very hard time to install Cisco client from package 
depository and extract group password from their

windows pcf file using tools available on the internet.

Now I am running secure Cisco 3000 client and they can sleep peacefully.

Best,
Predrag



Re: Install OpenBSD from USB ?

2008-01-23 Thread Predrag Punosevac

Nick Holland wrote:

Firas Kraiem wrote:
  

Greetings everyone :)

So here's the deal, I have :

- An i386 machine with no floppy or CDROM drive that I'm willing to 
install OpenBSD on

- A nice and shiny 4.2 CD-set
- A 2 GB USB flash drive


You can get a floppy drive probably for $1 from the Godwill or some kind 
a charity. New one in states is $5. That is the easiest solution.


Check this out
http://www.mindrot.org/projects/flashboot/

Cheers,
Predrag



Because I'm stingy and I don't want to spend fifty bucks on an USB CDROM 
drive when installation is pretty much the only need I will have for 
it, I was wondering how I could turn my USB flash drive into an OpenBSD 
installation medium (it's of course very easy to copy the sets on it, 
but I can't figure out how to make it bootable afterwards).


Any pointers about this will be much appreciated.

Firas



Easy way:
find another computer that DOES have a CDROM or floppy
(note: does not even have to be able to boot from USB! :)
Install OpenBSD to the USB device (basic install)
carry device to target machine
boot off USB device (the target machine DOES need to be able to do this!)
at the boot prompt, boot bsd.rd
Install normally to target hard disk. (normally is either via FTPing
the files from another server, or having copied the install files to a
location on the USB device)


Another way, depending on resources:
Move the HD out of the target machine into another machine temporarily,
install there, move back.  Yes, this works very nicely.


Advanced way:
On another machine, boot OpenBSD install media
create an OpenBSD partition on your flash disk, disklabel it, and
install the boot loader to that partition, copy over bsd.rd.  Faster,
in that you copy over just the minimal amount needed to bootstrap the
new machine.  However, if this were the best choice for you, you
probably would not have been asking how to do it.  (hint: FAQ 14).


Personally, I'd move the hard disk.  Sure, that doesn't use your USB
drive to much advantage, but I suspect I'd win a race in doing that.
HOWEVER, having OpenBSD on a bootable USB flash disk is very handy at
times...assuming you hang around HW new enough to actually boot from
USB.

Nick.




Re: photo/ image viewing software

2008-02-01 Thread Predrag Punosevac

Jason Beaudoin wrote:

On Feb 1, 2008 8:24 PM, Chris [EMAIL PROTECTED] wrote:
  

I am after a software that would allow me to view photos from my
digital camera which I usually mount in /mnt/camera. I tried from the
ports tree: digikam, gphoto, gtkam, kphotoalbum, wmphoto, kamera -
none of them really work well in showing the pictures; some of them
want to detect my camera when all I want is to view my photos
(thumbnails and full size) from /mnt/camera.

Anyone would recommend any decent program to do this? Thanks.




I usually use gqview for general photo viewing, simple fast, and effective.
The underlying assumption here is that you've successfully mounted the
camera, which is seen as a mass storage device (sd*)

if the camera manufacturer has obfuscated the flash storage behind
other stuff, you'd probably do yourself a favor by getting another
camera (I've never had good results with those types)

  
Cheap USB memory card readers are well recognized as a mass storage 
device and probably should be

the last resort for the most stubborn  digital cameras.

Personally, I use Sony Cybershot DSC-W70.  Unfortunately the camera can 
not be mounted directly as a file system.
As  with  quite a  few  Sony  cameras the  trick  is to put the camera 
into PTP mode. Once in
PTP mode camera memory can be accessed by gphoto2 command line and 
library of drivers program. I believe that fancy GUI applications
as gtkam and digkam are using the same library of drivers. Other people 
on the list probably correct me if I am wrong.


Cheers,
Predrag




Good luck..

~Jason




Re: photo/ image viewing software

2008-02-02 Thread Predrag Punosevac

Jason Beaudoin wrote:

Cheap USB memory card readers are well recognized as a mass storage
device and probably should be
the last resort for the most stubborn  digital cameras.



agreed.

  

Personally, I use Sony Cybershot DSC-W70.  Unfortunately the camera can
not be mounted directly as a file system.
As  with  quite a  few  Sony  cameras the  trick  is to put the camera
into PTP mode. Once in
PTP mode camera memory can be accessed by gphoto2 command line and
library of drivers program. I believe that fancy GUI applications
as gtkam and digkam are using the same library of drivers. Other people
on the list probably correct me if I am wrong.



I dunno what luck you've had, but I always ran into problems when
trying to transfer movies (and I think larger photos). but as you
pointed out.. cheap flash readers work to resolve this.

  
In my experience it is even funny to think of gphoto2 code quality  in 
the sense  in  which  we are used in OpenBSD world.


On occasion, I had to issue commands multiple times to get things 
downloaded  as the gphoto2 would fail to execute them. I have never had 
more serous troubles than that. I have downloaded quite a bit of my 
family's photos and movies since my first daughter was born.  Probably  
50Gb for the past 10 months:-)


Cheers,
Predrag





regards,
~Jason




Re: running mail server at home

2008-02-07 Thread Predrag Punosevac

Lori Barfield wrote:

consumer IP space is really a problem for outgoing mail.
at the very least, all the majors will add spam points to
your messages and so your mail is a lot more likely to
be bulked.  even resold IP space at large colos is treated
that way by default, and it causes heartburn for businesses.
just having reverse DNS isn't good enough, either, because
if it has a name that looks like dynamic IP space, that
can also get your mail treated with prejudice.  it's best to
own your own reverse DNS so you can give it a realistic
look.

you can try to work with the major ISPs to get your IP(s)
whitelisted, and try to convince folks to take them off their
no-no lists as well, but that can be very time consuming
and you'll have mixed results.

bottom line is, check out the reputation of your IP space
before buying it.  you don't want the problem to start with.

...lori

  
My DSL provider in Arizona is Qwest. The basic service is $26 and for 
another $5 they will toss you a fixed IP address. As pointed out earlier 
you must have fixed IP address for all practical purposes. You may 
however set
MTA even with dynamic IP but the chances are that most other MTA will 
bounce your mail. However some will not. Even with dynamic IP, I was 
able to send emails to my friends working for Apple. Apparently, Apple 
is not very afraid of the spam or they have crystal ball to see which 
dynamic IP addresses are legit.


The Qwest internet speed in Arizona vary from 1.5-7 Mps pending how far 
is one's house is from their switch.
I know that those speeds look funny to people from Europe and Japan but 
ISP providers in U. S. are monopolies thanks to the president Bush. A 
decent speed of 10-100Mps on T1 will cost you about $1400 a month.


Qwest's modem blocks by default www hosting, MTA, and most other 
services. However it is trivial to log into the modem and unblock the 
ports. Qwest actually actively encourage customers to have fixed IP 
addresses for purpose of online gaming and conference hosting.


I did run my own MTA with the proper domain name that can be purchased 
for about $10 a year. I had no problems receiving incoming mail and 
mixed success with sending mail. I did that because I wanted to learn a 
few things.
My real MTA is at the University I work for and I fetch my mail via IMAP 
server to my local mail client as probably most people do.


I would suggest that before you make definitive decision to run your own 
MTA you try to do dynamic mail hosting. I used free DynDNS services 
provided by DynDNS.com. The way that it works is that they run a honest 
MTA which does virtual hosting for many servers which do have only 
dynamic IP address.
This is usually extra service you get from them as their main thing is 
virtual web hosting. Basic web and mail
virtual hosting is free but their real objective is to get you sign for 
their paid services.


Their MTA is completely legit and on the white list so your outgoing 
mail will never bounce. The big draw back in my eyes is that you must 
run something like opendd which is DynDNS client in order to update 
their server about your current IP address.


The positive thing is that they will run spamassassin and clamav for you.

Kind Regards,
Predrag



Re: What did you guys break with Xenocara??

2008-02-09 Thread Predrag Punosevac

Jacob Meuser wrote:

On Sat, Feb 09, 2008 at 08:16:23AM -0800, Unix Fan wrote:
  

After I updated my OpenBSD 4.2 workstations with the released patches... VLC 
media player crashes!

VLC media player 0.8.6c Janus
vlc:/usr/local/lib/vlc/codec/libquicktime_plugin.so: undefined symbol 
'NewHandleClear'
The program '.' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 475 error_code 11 request_code 145 minor_code 5)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Come on guys... what happened? I've tried uninstalling VLC and reinstalling it..
and even deleting all .vlc related files in $HOME.

Using Mplayer is choppy for some reason...

I just bought McDonalds and can't watch a DVD :( :( :(



  
Works fine here on the fresh installation of 4.2 release.  I think, I 
had to set correct  device node in preferences but that was it. I 
personally like the best Ogle as a DVD player.  You may also use MPlayer.

Did you clean .vlc after the rebuilt?






try kaffeine or ogle for DVDs as well.

or change the video output module in vlc.

btw, you never said what arch this is on or what window manager you
are using ...

and cross-posting to misc and ports is rather lame.




Re: DHCP client failure with cable modem

2008-02-22 Thread Predrag Punosevac

David Higgs wrote:

On Fri, Feb 22, 2008 at 6:11 PM, David Murphy [EMAIL PROTECTED] wrote:
  

Greetings folks. This week I undertook a project to replace my cheapo home
 broadband router with an old laptop running OpenBSD. Success appeared to
 have been achieved, but I've run into a snag in the final implementation.

 I set up the OBSD router (more info below) to perform NAT and serve DHCP
 and DNS for my LAN. After a ridiculously small amount of tweaking, I got
 everything working just like I wanted it. Here was the arrangement:

 (Test hosts) - (Switch) - (OBSD router) - (Cheapo router) - (Cable
 Modem)

 The cheapo router was still in the loop because I didn't want to disconnect
 the rest of my LAN before I was ready. Yesterday I decided I was ready. I
 removed the cheapo router and plugged the OBSD router directly into the
 modem, there was some rebooting of devices involved, and my desktop could
 no longer access the internet. A little sleuthing revealed that the router
 was unable to retrieve an address from the modem.

 I've done some poking around and searched the list archives. There were a
 couple of threads with similar issues, but no definitive solutions that I
 found. There were references to cable modems only wanting to serve one
 hardware address, but I'm able to use it with either the cheapo router, or
 with my desktop plugged directly into it (and I verified that the modem saw
 them as two different hardware addresses... no weird proxying going on in
 the router). I powered the modem completely down for a few minutes and
 plugged only the OBSD router into it when I brought it back up, but still
 no luck.

 The hostname.ep1 file for that interface is a simple dhcp NONE NONE NONE.
 The dhclient.conf file is the default, which includes send host-name
 hostname;, the only other helpful suggestion I saw in the list archives.
 I've tried multiple cables and NICs, to rule out hardware.

 I checked the dhclient.conf file on the Ubuntu desktop that pulls an
 address from the modem just fine (which is this one, so I'm sure it really
 works), and while not identical, it's only configured to send the hostname
 as well.

 I've hit dead ends with everything now, and so any further suggestions are
 quite welcome.

 More info on the OBSD box:

 It's an old Toshiba Satellite 330CDS. I installed OBSD 4.2 with just
 base42, etc42, and man42. The only non-stock program running is
 isc-dhcp-server-3.0.4p0.tgz, which I installed in order to get dynamic DNS
 going. The laptop has two PCMCIA NICs, ep1 (external) and ne3 (internal).

 The setup was done primarily by bending the following two guides to my
 setup:

 http://www.openbsd.org/faq/pf/example1.html
 http://www.bsdguides.org/guides/openbsd/networking/dynamic_dns_dhcp.php

 The former is just the sample home router from the PF guide, and the latter
 addresses DHCP and DNS.

 Thanks in advance for any suggestions.

 David Murphy



Firstly, post something that might help someone troubleshoot your
problems.  Something like a dmesg and any errors that dhclient is
producing.

Disable everything until you can get dhclient to work.  Are you
blocking dhcp packets with pf?  Is your local dynamic DNS service
screwing with your upstream DHCP?

Maybe try unplugging your cable modem for a bit, sometimes they get
picky about how many MAC addresses they'll give IPs to.

--david

  


Forgive me but I will ask a very stupid question. Did you use a cross 
over cable when you connected the OpenBSD box to switch. Your switch 
should also have a button for one of its LAN plugs so that when you use 
regular CAT 5 cable it reverse the stream so that you do not need to buy 
cross over cable.


If the hardware set up is OK you will really need to give much more info 
about  the  network  and  OpenBSD box in particular

so that people can trouble shut.

Best,
Predrag



Re: XForwarding problem

2008-02-28 Thread Predrag Punosevac

Denny White wrote:

What happens when you try to do the following?


Try to do remote login with as follows
ssh -Y [EMAIL PROTECTED]

you should be now in the shell on the remote host

try to start x client like xdvi or xfig or something like emacs by 
typing xdvi


If xdvi pops up that means that the client is running on the remote host 
but it is displayer on the local X server


Cheers,
Predrag





-BEGIN PGP SIGNED MESSAGE- Hash: SHA1

For the last couple of days I've tried everything I can think of to
make XForwarding work with ssh. As per the FAQ, I have set it like so:


In sshd_config

X11Forwarding yes


In ssh_config

ForwardAgent yes
ForwardX11 yes

I can use it passably well in one direction from a box across the
room to the one I do most of my work on. But, when I try it from
this box to the one across the room, I get the xauth error message
along with all typed characters doubled on the screen. I went ahead
anyway and typed 'display somefile.jpg' just to see what I'd get 
got this:

Xlib: connection to localhost:10.0 refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
display: unable to open X server `localhost:10.0'.

I've read the man page on xauth(1) and experimented with its
commands. I've even wiped out the .Xauthority file on both boxes
and restarted X, to no avail. Possibly I should mention too, that
I boot on both boxes to a xdm login. I don't know if that would
have any bearing on the problem or not. Thanks for any help I
can get on this.




Re: floppy.fs

2008-03-04 Thread Predrag Punosevac

Paul Greidanus wrote:

Theo de Raadt wrote:
I'm just wondering how many people out there are using the floppy.fs 
installer still?


I think your assumption is that we are facing the space problem just
from the i386 side.  We are not.  We run on lots of architectures.
There is some semblance of size pressure from all architectures.

But in general we HAVE been coping just fine with that pressure, and
excending the install scripts.

  
Fair enough, I remember hearing/reading somewhere that there was no 
room left to add any features, apparently incorrect.  In a worst case, 
if there is a useful, yet large feature, it can be added into cd and 
bsd.rd, but leaving it out of floppy? Having the floppy makes Open 
unique, and it's a good thing to have.


The main reason I asked is that I have not seen a floppy disk, or 
drive in the past 5 years, so it's interesting to know if others are 
actually using floppies still for this?
I have 8 computers in total and each one of them have a working floppy 
and 5 of them have working IDE zip-drives. I love using floppy disks. I 
also use zip drives to back up files as you can get 10 of them (which is 
1Gb-2.5Gb) for as little as $1. You can also buy
parallel port zip-drives for a $1 but OpenBSD has no driver for them as 
they are peace of

c.  I  honestly  didn't see  SCSI  zip  drivers for  a while.

Kind Regards,
Predrag

P. S. If you want I would be more than happy to ship you a used floppy 
or a IDE zip drive for free anywhere on the North America continent.




We've been adding new features to the installer every release.  I guess
you just haven't noticed them, but they are there.  Lots of them.
  


I do notice subtle additions from time to time, but no huge changes.  
This is a good thing, it shouldn't change that much.  But, if there 
are really good, and useful changes that don't fit, then it might be a 
problem.




HPLIP detection problem

2008-03-05 Thread Predrag Punosevac

Dear All,

I was wondering if I could get some help on HPLIP drivers.
I am trying to install Photosmart C5250 all-in-one and unlock its full 
functionality using HPLIP on 4.3 Beta.
After disabling ulpt and umass driver the scanner see the printer as 
ugen device which is necessary for HPLIP drivers to
work. If you wonder why did I have to disable umass driver that is 
because I noticed that printer gets detected as

umass device when I only disable ulpt.

I start hpssd daemon before the cupsd as necessary.  Since I use this 
machine for testing
pf is disabled and permission on device nodes are 0777. I also did 
change the groups on device nodes into _cupsd
I am in the group _cupsd and _saned. /etc/sane.d/dll.conf is edited and 
I did add hpaio line to be able to

use scanner.  /etc/hp/hp.conf is unedited.

hp-setup utility exits with the error that is unable to communicate to 
the printer.


The printer works like a charm if I live ulpt driver in the kernel and 
use ppd from the foomatic-db (essentially
if I use hpias. I installed Ubuntu 7.10 to see if the HPLIP has problems 
with the particular model but the printer
and scanner are fully functional. I do know that ugen driver is capable 
of handling scanners but I am really curious if

anybody got HPLIP fully functional.

The all-in-one is directly connected. No USB hubs.
Here are additional information as dmesg, hp-check.log file 
sane-find-scanner and similar.




# /usr/local/libexec/cups/backend/hp
direct hp Unknown HP printer (HPLIP)

#hp-info is
error no device found

#tail -f /var/log/messages
oko python2.5: hp-info[11445]error: No device found
oko python2.5: hp-info[11445]error:error occurred during interactive mode
error -Error occured during interactive mode

#hp-check -t

hp-check[22108]: info: :
Initializing. Please wait...
scheduler is running

1.2.7

OpenBSD oko.bagdala.net 4.3 GENERIC#675 i386

hp-check[22108]: info: :
hp-check[22108]: info: :---
hp-check[22108]: info: :| SYSTEM INFO |
hp-check[22108]: info: :---
hp-check[22108]: info: :
hp-check[22108]: info: :Basic system information:
hp-check[22108]: info: :OpenBSD oko.bagdala.net 4.3 GENERIC#675 i386
hp-check[22108]: info: :
hp-check[22108]: info: :Distribution:
hp-check[22108]: info: :unknown 0.0
hp-check[22108]: info: :
HPOJ running?
hp-check[22108]: info: :No, HPOJ is not running (OK).
hp-check[22108]: info: :
hp-check[22108]: info: :Checking Python version...
hp-check[22108]: info: :OK, version 2.5.2 installed
hp-check[22108]: info: :
hp-check[22108]: info: :Checking PyQt version...
error: NOT FOUND OR FAILED TO LOAD!
hp-check[22108]: info: :
hp-check[22108]: info: :Checking SIP version...
error: SIP not installed or version not found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for CUPS...
hp-check[22108]: info: :Status: scheduler is running
hp-check[22108]: info: :Version: 1.2.7
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for Reportlab...
hp-check[22108]: info: :OK, version = 2.0
hp-check[22108]: info: :
hp-check[22108]: info: :
hp-check[22108]: info: :| DEPENDENCIES |
hp-check[22108]: info: :
hp-check[22108]: info: :
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: cups - Common Unix 
Printing System...

hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: cups-devel- Common Unix 
Printing System development files...

hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: gcc - GNU Project C and 
C++ Compiler...

hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: GhostScript - 
PostScript and PDF language interpreter and previewer...

hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: libcrypto - OpenSSL 
cryptographic library...

hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: libjpeg - JPEG library...
hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: libnetsnmp-devel - SNMP 
networking library development files...

hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: libpthread - POSIX 
threads library...

hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: libtool - Library 
building support services...

hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: libusb - USB library...
hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: make - GNU make utility 
to maintain groups of programs...

hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: PIL - 

Re: OfficeJet sharing with WinXP

2008-03-07 Thread Predrag Punosevac

Edward F. Ahlsen-Girard wrote:
Has anybody had success with network printing from 4.2 (i386) to an HP 
OfficeJet 5510v (or similar) attached to an XP Pro workstation?  I 
hope to avoid trying all combinations of printing systems.  I'm 
pushing 50 and I might not live long enough to finish.


I do not have the same printer but I just checked specifications for 
you. It speaks 
proprietary Lightweight Imaging Device Interface Language and it does 
not speak IPP or LPD internet printing protocols. That means that you 
can not connect printer directly to network.


The good news is that the printer is supported by HPIJS driver which is 
among 4.2 release packages
so should work without problem when directly connected to OpenBSD box. I 
could walk you through with

installation and configuration.

Theoretically you can even unlock full functionality by HPLIP means 
scanning, fax and PC initiated copying  (this is new package for 4.3) 
although I have not been able to configure HPLIP properly on OpenBSD so 
far. I am playing with it as we speak.


After you configure printer on OpenBSD box you may use  Samba to print 
from your Windows box to the same printer i.e. OpenBSD box would act as 
a printer server for Windows client. I have configured Samba once in my 
life out of pure curiosity so you are better of asking somebody else for 
help with that.


Can you make XP box act as a printer server for OpenBSD client is beyond 
my knowledge and you should ask about that part somebody who actually 
used Windows in her/his life.


Cheers,
Predrag



Re: OfficeJet sharing with WinXP

2008-03-07 Thread Predrag Punosevac

Richard Daemon wrote:

On Sat, Mar 8, 2008 at 12:59 AM, Predrag Punosevac
[EMAIL PROTECTED] wrote:
  

Edward F. Ahlsen-Girard wrote:
  Has anybody had success with network printing from 4.2 (i386) to an HP
  OfficeJet 5510v (or similar) attached to an XP Pro workstation?  I
  hope to avoid trying all combinations of printing systems.  I'm
  pushing 50 and I might not live long enough to finish.
 
 I do not have the same printer but I just checked specifications for
 you. It speaks
 proprietary Lightweight Imaging Device Interface Language and it does
 not speak IPP or LPD internet printing protocols. That means that you
 can not connect printer directly to network.

 The good news is that the printer is supported by HPIJS driver which is
 among 4.2 release packages
 so should work without problem when directly connected to OpenBSD box. I
 could walk you through with
 installation and configuration.

 Theoretically you can even unlock full functionality by HPLIP means
 scanning, fax and PC initiated copying  (this is new package for 4.3)
 although I have not been able to configure HPLIP properly on OpenBSD so
 far. I am playing with it as we speak.

 After you configure printer on OpenBSD box you may use  Samba to print
 from your Windows box to the same printer i.e. OpenBSD box would act as
 a printer server for Windows client. I have configured Samba once in my
 life out of pure curiosity so you are better of asking somebody else for
 help with that.

 Can you make XP box act as a printer server for OpenBSD client is beyond
 my knowledge and you should ask about that part somebody who actually
 used Windows in her/his life.

 Cheers,
 Predrag





HPLIP is part of OpenBSD or port / pkg?
  


It is in snapshot of packages and also in the current port three. You 
also need CUPS for HPLIP and sane-backends.

All from ports. Read carefully the installation massages.

Cheers,
Predrag



Re: using openbsd to make presentations

2008-03-18 Thread Predrag Punosevac

Pau Amaro-Seoane wrote:

Hi,

very often I have to give a talk about my work etc... The slides
contain a lot of math equations, plots and even sometimes some movies.

I was used to latex-beamer to do all this because I want something I
can edit with vi(m) and it fulfilled all requisites ... and I was used
to it when I was using linux.

I have switched to OpenBSD since some 1.5 years and I am very happy to
report here, by the way, that OpenBSD _does_ start X on the projector
where most linux peecees and macs fail :) BUT -and this is the main
reason to write now- the pdf slides created with latex-beamer feel
heavy... What I mean is that when using full screen (with xpdf or
kpdf etc) it takes some 3-4 seconds to change a slide. I don't know
why... I can provide you with a test talk, so that you udnerstand what
I mean.

This is very bad when somebody in the public asks a question of plot
number 2 in slide #3 and you're in slide #55. Sure there are ways to
overcome the problem, with the progress bar of latex-beamer, for
instance, but still I don't like it.

I just want to ask here in misc whether somebody has had the same
problem and what other alternatives there are.

I have noticed that a lot of people are using magicpoint out there. I
had a look at it, but it seems not obvious to use when it comes to
latex. As far as i know, there are these two possibilities:

http://www.sonycsl.co.jp/person/nishida/mgp-users/msg00241.html

http://www.sonycsl.co.jp/person/nishida/mgp-users/msg00290.html

I have made some tests and I could not use all latex commands... I run
into a snag in a number of occasions.

Question: Do you have any recommendation / suggestion to prepare talks
to be shown in a projector including mathematical equations, plots
and, eventually, movies (I can live without this last point)?

  
I am a mathematician so I am quite often in the same position as you to 
give presentations which contain

lots of formulas and images.

I use Powerdot class of Latex presentations (descendant of Prosper an 
obsolete class of presentations )  which is as an alternative to the 
Beamer class. For the comprehensive review of all classes of 
presentations for latex you may check


http://texcatalogue.sarovar.org/bytopic.html#present

The advantages over Powerdot over Beamer are numerous.
Powerdot is far easier (has only 60 man pages v.s. Beamer man pages are 
over 400 pages).
It is also very simple to incorporate movies into your slides. The 
slides are easily customized

and in my point of view far more beautiful than the Beamer.

The popularity of Beamer seems comes from the fact that you can use 
pdflatex to produce pdf slides.
That is not possible with Powerdot as it uses some PostScript tricks. So 
you will have to latex slides followed by
dvips and ps2pdf or dvipdfm to produce pdf slides. The ultimate goal of 
course is to produce pdf slides.


I noticed that one has to use Adobe Reader (I prefer Xpdf as well) which 
is only available from ports due to the
license issues in order to have alive links on slides. That seems to be 
built in feature ( I would call it bug)
which should be communicated probably up stream. The slides are very 
responsive.  I  personally have not seen better

looking slides on any platform and I think I have seen it all.

Powerdot class of presentations is part of TeXLive but not the part of 
teTeX. As you know teTeX is
dead for about three years now and the TeXLive is official TeX 
distribution for Unix maintained by TeX community.

TeXLive  is available only from ports for OpenBSD 4.2.
However you will have to use port for 4.3 current (soon to be release) 
as I stumbled upon a bug in Powerdot
class of presentation. The bug was in TeXLive source code and was well 
documented.

It is already fixed by port maintainer for OpenBSD 4.3.

As far as I know TeXLive will be regular package (you will not need to 
use ports) starting OpenBSD 4.3. This is
only second Unix like system after Debian to have fully functional 
TeXLive thanks to Edd Baret porter of TeXLive
for OpenBSD. On the last note I recommend that you install full TeXLive 
which is about 1Gb but includes
all TeX/Latex features coded at the moment. I am not sure if the TeXLive 
base includes Powerdot. I would guess yes.



Most Kind Regards,
Predrag Punosevac


Thanks,

Pau




Re: using openbsd to make presentations

2008-03-19 Thread Predrag Punosevac
In the next couple sentences I will try to answer some of the questions 
you guys asked me about powerdot

class of latex presentations.

1. Yes it is easier to learn than the Beamer but if know Beamer and it 
works for you maybe you should

stick to your guns.

This is the link to documentation and the source file for powerdot

http://texcatalogue.sarovar.org/entries/powerdot.html

I want to reiterate that is very easy to customize slides unlike Beamer 
although you can see in the documentation that
the package comes with about 20 different layouts and many more 
different color patterns.


Trying to install manually on the top of teTeX will probably fail due to 
the fact that teTeX uses some outdated
fonts. I tired in the past. It is not worthy as TeXLive in current ports 
three is rock solid.



2. There were many questions about Movies. Yes, It is possible to embed 
movies  into  the slides.

Please follow the link

http://tug.ctan.org/tex-archive/macros/latex/contrib/movie15/


The following link contains also extensive discussion of movie15 package 
and some examples

http://www.uoregon.edu/~noeckel/PDFmovie.html

Cheers,
Predrag










Girish Venkatachalam wrote:




On 17:45:26 Mar 18, Predrag Punosevac wrote:
  

I am a mathematician so I am quite often in the same position as you to
give presentations which contain
lots of formulas and images.
I use Powerdot class of Latex presentations (descendant of Prosper an
obsolete class of presentations )  which is as an alternative to the Beamer
class. For the comprehensive review of all classes of presentations for
latex you may check

http://texcatalogue.sarovar.org/bytopic.html#present

The advantages over Powerdot over Beamer are numerous.
Powerdot is far easier (has only 60 man pages v.s. Beamer man pages are
over 400 pages).
It is also very simple to incorporate movies into your slides. The slides
are easily customized
and in my point of view far more beautiful than the Beamer.



That will be really cool. ;)

I love beauty both in women and in my work. ;)

What about movies?

  

The popularity of Beamer seems comes from the fact that you can use
pdflatex to produce pdf slides.
That is not possible with Powerdot as it uses some PostScript tricks. So
you will have to latex slides followed by
dvips and ps2pdf or dvipdfm to produce pdf slides. The ultimate goal of
course is to produce pdf slides.




That is no problem at all.

  

I noticed that one has to use Adobe Reader (I prefer Xpdf as well) which is
only available from ports due to the
license issues in order to have alive links on slides. That seems to be
built in feature ( I would call it bug)
which should be communicated probably up stream. The slides are very
responsive.  I  personally have not seen better
looking slides on any platform and I think I have seen it all.

Powerdot class of presentations is part of TeXLive but not the part of
teTeX. As you know teTeX is
dead for about three years now and the TeXLive is official TeX distribution
for Unix maintained by TeX community.
TeXLive  is available only from ports for OpenBSD 4.2.
However you will have to use port for 4.3 current (soon to be release) as I
stumbled upon a bug in Powerdot
class of presentation. The bug was in TeXLive source code and was well
documented.
It is already fixed by port maintainer for OpenBSD 4.3.

As far as I know TeXLive will be regular package (you will not need to use
ports) starting OpenBSD 4.3. This is
only second Unix like system after Debian to have fully functional TeXLive
thanks to Edd Baret porter of TeXLive
for OpenBSD. On the last note I recommend that you install full TeXLive
which is about 1Gb but includes
all TeX/Latex features coded at the moment. I am not sure if the TeXLive
base includes Powerdot. I would guess yes.




I don't mind waiting till May 1.

It is much better than Beamer?

Do I have to go thro' the same learning curve?

Your argument is quite convincing though. What about movies?

-Girish

--
unix soi qui mal y pense

UNIX to him who evil thinks

+--+
| GnuPG key  : 0xC7BBF207  |  http://wwwkeys.nl.pgp.net|
| Fingerprint: 2AFF C264 20CE C80C DDFF  CC15 AD3E F190 C7BB F207  |
+--+

[demime 1.01d removed an attachment of type application/pgp-signature]




Re: using openbsd to make presentations

2008-03-19 Thread Predrag Punosevac

Pau Amaro-Seoane wrote:

movie15... yes, I know it from latex-beamer... it's (was?) crap

It will only embed movies under acroread AND windows... and asks for
very recent pdflatex versions... at least this was the case one year
ago, when I gave it a chance last time...

  
Well in all honestly lots of thing were not working properly due to the 
fact that most new packages
require fonts and packages only included in TeXLive or if you like in 
MiKTeX 2.8 for Windows.
teTeX was unmaintained for more than three years so of course the things 
that were coded in last couple

of years didn't work on teTeX.

I share your frustration about the fact that Acroread is also required. 
I think, I mentioned this in my first post.
Xpdf is just not going to cut for lots of these new Latex packages 
because people who use them are working on
Windows. If you ask me personally that is just poor coding but I 
unfortunately have to relay on others to write
macros for TeX. The  best  thing  is of course if you could write  your  
own  macros and  packages.


Finally, my students are using very simple trick to show  their  
movies  in  my  class.  They collapse slides all

together, start MatLab and play their animations from there.

Obviously MatLab is not free software but I can not force anybody to use 
FreeMath or SciLab (Not even ported for OpenBSD).  If you look  older 
threads you will see that installing Maple, MatLab, or Mathematica is 
non-trivial on

OpenBSD.

Could you tell me at least what kind of movies are you trying to embed 
into your slides?


Best,
Predrag

evince, on the other hand, is not displaying perfectly the beamer
layout and I don't know how to tell evince that it must use xine to
reproduce the linked movies of my pdf talks... kpdf is more
intelligent but as slow as a Spanish bureaucrat...

For now latex-beamer + apm -H + evince seems to be the winner
combination in my case

2008/3/19, Predrag Punosevac [EMAIL PROTECTED]:
  

In the next couple sentences I will try to answer some of the questions
 you guys asked me about powerdot
 class of latex presentations.

 1. Yes it is easier to learn than the Beamer but if know Beamer and it
 works for you maybe you should
 stick to your guns.

 This is the link to documentation and the source file for powerdot

 http://texcatalogue.sarovar.org/entries/powerdot.html

 I want to reiterate that is very easy to customize slides unlike Beamer
 although you can see in the documentation that
 the package comes with about 20 different layouts and many more
 different color patterns.

 Trying to install manually on the top of teTeX will probably fail due to
 the fact that teTeX uses some outdated
 fonts. I tired in the past. It is not worthy as TeXLive in current ports
 three is rock solid.


 2. There were many questions about Movies. Yes, It is possible to embed
 movies  into  the slides.
 Please follow the link

 http://tug.ctan.org/tex-archive/macros/latex/contrib/movie15/


 The following link contains also extensive discussion of movie15 package
 and some examples
 http://www.uoregon.edu/~noeckel/PDFmovie.html

 Cheers,

Predrag











 Girish Venkatachalam wrote:



  On 17:45:26 Mar 18, Predrag Punosevac wrote:
 
  I am a mathematician so I am quite often in the same position as you to
  give presentations which contain
  lots of formulas and images.
  I use Powerdot class of Latex presentations (descendant of Prosper an
  obsolete class of presentations )  which is as an alternative to the Beamer
  class. For the comprehensive review of all classes of presentations for
  latex you may check
 
  http://texcatalogue.sarovar.org/bytopic.html#present
 
  The advantages over Powerdot over Beamer are numerous.
  Powerdot is far easier (has only 60 man pages v.s. Beamer man pages are
  over 400 pages).
  It is also very simple to incorporate movies into your slides. The slides
  are easily customized
  and in my point of view far more beautiful than the Beamer.
 
 
  That will be really cool. ;)
 
  I love beauty both in women and in my work. ;)
 
  What about movies?
 
 
  The popularity of Beamer seems comes from the fact that you can use
  pdflatex to produce pdf slides.
  That is not possible with Powerdot as it uses some PostScript tricks. So
  you will have to latex slides followed by
  dvips and ps2pdf or dvipdfm to produce pdf slides. The ultimate goal of
  course is to produce pdf slides.
 
 
 
  That is no problem at all.
 
 
  I noticed that one has to use Adobe Reader (I prefer Xpdf as well) which is
  only available from ports due to the
  license issues in order to have alive links on slides. That seems to be
  built in feature ( I would call it bug)
  which should be communicated probably up stream. The slides are very
  responsive.  I  personally have not seen better
  looking slides on any platform and I think I have seen it all.
 
  Powerdot class of presentations is part of TeXLive but not the part of
  teTeX. As you know teTeX is
  dead

Re: Setting up an HP laserjet with apsfilter unknown printer error

2008-03-20 Thread Predrag Punosevac

Ed Flecko wrote:
To me your printcap file looks OK. Apsfilter has the option of 
installing network printer
but there are other files besides printcap that need to be edited on the 
server and the client side. I also

do not know your networks settings, the firewall settings and permissions.

Instead of me talking too much this is the link to FreeBSD Handbook 
printing section which is
also relevant for OpenBSD users. In particularly look at the section 
9.4.3 of the chapter

Advanced Printer Setup where client and server sides are treated in detail.

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

Cheers,
Predrag

Hi folks,
I'm using apsfilter on OBSD 4.2, and trying to set up an HP LaserJet printer.

I have an HP P2015DN and a 4240n, so printing to either one would be
fine with me.

After running apsfilter SETUP, here's my /etc/printcap file:

lp|PSgs;r=300x300;q=medium;c=mono;p=letter;m=auto:\
:lp=:\
:rm=192.168.1.15:\
:rp=raw:\
:if=/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/lp:\
:lf=/var/spool/lpd/lp/log:\
:af=/var/spool/lpd/lp/acct:\
:mx#0:\
:sh:

When I try and print a testpage, this is what I get:

Printing test page...
-rw-r--r--  1 root  wheel  924020 Mar 20 08:46 /tmp/apsfilter20397/test_page.aps
lpr: [EMAIL PROTECTED]: unknown printer
0m0.00s real 0m0.00s user 0m0.00s system
[ press RETURN to continue ]

Can someone give me some tips on setting up a network printer? I
thought setting up a network printer would be a snap with apsfilter,
but it's not as easy as I thought.

:-)

Thanks,
Ed




Re: PC Camera?

2008-03-23 Thread Predrag Punosevac

Sunnz wrote:

2008/3/23, Girish Venkatachalam [EMAIL PROTECTED]:
  

-BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 On 22:59:31 Mar 23, Sunnz wrote:
  Well well, I am basically interested to set up a home monitoring
  system with a PC, OpenBSD, and a Webcam... PC and OpenBSD I had it
  going, but what about the webcam? Are there much webcam support for
  it?
 
  I have plugged in my old webcam in to the USB port just to see what
  gives... it reports the ugen0 device, Vimicro Corp. PC Camera, rev
  1.10/1.00, addr 10... if it got this far instead of being not
  configured, does it mean it has some support for it?
 
  What should I do next?


What should you do next?

 Wait for webcam support to be added. Short of that I have no other
 advice.

 Perhaps one of these days someone will do it.

 I too want this. If it comes to it I might do it but don't count on it.

 - -Girish

 - --
 unix soi qui mal y pense

 UNIX to him who evil thinks

 +--+
 | GnuPG key  : 0x48E0DA0A  |  http://wwwkeys.nl.pgp.net|
 | Fingerprint:  B9AF 854C 154F DB3D BF33  2C2D 0FDF 3BAD 48E0 DA0A |
 +--+
 iD8DBQFH5k5XD987rUjg2goRAn5bAJ9+v0od4wC/3C0o01r2TGQoGQm1lQCdGVe5
 1X9o34I8SYPgcOUQuWexaDM=
 =durj
 -END PGP SIGNATURE-





Ah, I guess my question is, what is missing link here... like... do we
need driver for this to function? Do we need documentation to webcams
so dev can write driver for it... or is a port missing that can
actually take videos?

  
OpenBSD has support for cameras. There are two kinds of devices 
supported at the moment. Driver
bktr(4) is ported for to OpenBSD (look at the hardware notes for i386) 
and you can use FFmpeg package
to record, convert, and edit the video. OpenBSD has also a support for 
USB cameras
look at http://openports.se/graphics/vid  based on OV511 chipset. 
Currently it is not possible to use USB
cameras to capture video stream on OpenBSD. You can just take a single 
shot.


Now from your question I gather that you are interested in cheap USB 
cameras and you are interested like

along the lines of Video4Linux. For something like that you need drivers.
There are two approaches to such cameras. One is userland and  another 
is kernel  approach.  You  may  Google  and
see what is the state of art of both approaches as well as their draw 
backs.
In my understanding it seems that kernel approach would be the only 
approach which would lead

real usable USB cameras (for let say video conferencing or video authoring).

Given the goals and objectives of the OpenBSD project as well as the 
fact that USB devices are real mess I
seriously doubt that OpenBSD will ever get support for USB cameras. 
Moreover it is also hard to justify time
spend in hacking those things if there is relatively inexpensive 
hardware solution (video input devices supported by
bktr can be bought for about $150 now vs a good USB camera is probably 
at least $50).


In my understanding there USB cameras are extremely poorly documented  
so adding  the kernel support would be

very, very difficult. It would  also unnecessary complicate the kernel.


Having a drivers is one thing. Getting applications to recognize that 
you have USB camera and making them usable
in application is another thing. A good example is FreeBSD which has 
spcaview driver ported (essentially the part of
video4linux) and also another driver for the Phillips chip-set based 
cameras. Only  the second  are really

usable (let say in Ekiga or MPlayer).
Some people who use FreeBSD are trying to develop utility similar to 
ndis which will enable you to use Linux drivers
not only for USB cameras but for other USB devices (project Evil or 
something like that).


Again,  giving  the  objectives, goals, and standards of OpenBSD project 
above is no-no in OpenBSD world.


I hope somebody who knows more about this issue put the end to this 
pointless discussion.


Best,

Predrag



Re: Any Audigy users here?

2008-03-29 Thread Predrag Punosevac

Zbigniew Baniewski wrote:

I'm unable to have sound on both outputs available in Audigy. Perhaps any
Audigy owner could make a tip, how can I achieve that (if that's possible
at all, using current audio driver)?

OpenBSD 4.2
  
The question is which Audigy?  Creative makes wide variety of cards sold 
under that name and even the known one are sometime sold with different 
chip version (usually undocumented when they switch a chip).


I do have Audigy SE sitting around that somebody gave me when he 
upgraded gaming rig. That is one of the
cheapest and most widely sold cards sold in U. S. to kids who are 
playing video games. I actually waisted some time playing with it (not 
very mature thing to do). I have tried both OpenBSD 4.2 i386 and amd 64 
and I could send you  dmesg as a proof that the damn thing doesn't work. 
I didn't try it on 4.3beta.


I did manage card to work with OSS driver compiled from ports on 
FreeBSD. However the card is not supported

by even the newest FreeBSD kernel driver hnd.

OSS of course is not ported for OpenBSD because until recently was 
closed source binary only package. OSS is now released under BSD 
license. We had  a discussion  about  OSS  sometimes  ago  and  I 
didn't  notice  big  enthusiasm
by developers to port or incorporate parts of OSS into OpenBSD. Now if 
you have time on your hands you might try to extract some drivers from 
OSS play with them on  OpenBSD. I am sure if you come up with something 
good the developers will find a way to incorporate into current.


Kind Regards,

Predrag Punosevac



Re: Any Audigy users here?

2008-03-30 Thread Predrag Punosevac

Zbigniew Baniewski wrote:

On Sat, Mar 29, 2008 at 09:02:21PM -0700, Predrag Punosevac wrote:

  
The question is which Audigy?  Creative makes wide variety of cards sold 
under that name and even the known one are sometime sold with different 
chip version (usually undocumented when they switch a chip).



It's Sound Blaster Audigy SB1394 SB0230

Not tried the recording, but playing is OK - with the exception, that
I can't use both outputs.

  
Check their hardware notes but if I remember well those cards are 
supported by OSS.



OSS of course is not ported for OpenBSD because until recently was 
closed source binary only package. OSS is now released under BSD 
license.



You mean: presently one can't rely on the drivers from 4Front Technologies?
  


That is exactly what I meant. They have the binary package for i-386 
OpenBSD 3.9 on their web-site so you can try to
to see if it works. I have to warn you though that work on drivers is in 
constant progress so for instance the driver for my Audigy SE was 
included only last September. If you have newer  Audigy card  it  was  
probably  not  supported by
that package. Also obviously you do want to run 4.3 soon not to go back 
to unsupported 3.9.
Probably the best approach would be to isolate the driver you need and 
try to port to OpenBSD.


Cheers,
Predrag Punosevac



Re: Any Audigy users here?

2008-03-30 Thread Predrag Punosevac

Zbigniew Baniewski wrote:

On Sun, Mar 30, 2008 at 07:29:03AM +, Jacob Meuser wrote:

  

last I tried/heard, Creative wants an NDA to give out hardware specs.

I've looked at adding multi-channel support to emu(4).  I'm guessing
that's what you mean by sound on both outputs.  it's not likely
to happen.  emu(4) is ugly wrt channel handling :(



And it was not possible to find the needed information in ALSA sources?

  


You lost me here. Do you think that ALSA driver will help you any how to 
produce oss driver?
You are aware of the fact that ALSA is 100% incompatible with oss and 
that even 4Front Technologies
have no intension in incorporating ALSA emulator into their OSS. Their 
package have however very, very limited ALSA compatibility.

Audigy and Audigy2 support was back-ported from the Haiku driver
for emu10k1, which is based on the emuxki driver we have.  if you
really want to extend emu(4), your best bet is to do more
back-porting from there.



Perhaps the only option for today, as I see...




Re: Any Audigy users here?

2008-03-30 Thread Predrag Punosevac

Zbigniew Baniewski wrote:

On Sun, Mar 30, 2008 at 07:52:20PM +, Jacob Meuser wrote:

  

if you want surround sound, check cmpci(4), uaudio(4), auvia(4) (though,
recording is broken on 8233 based devices) or maybe azalia(4).  and
definitely upgrade to 4.3 when it's released (or run -current, especially
if you want to do fun stuff with audio ;).



You know, the problem is, that:

1. I've got exactly an Audigy, which I wouldn't to replace with other, just
because it gives quite good sound quality, and it has firewire on-board
(didn't made use of this until now, but perhaps one day...).

2. It's not the question of surround sound; pay attention, that it would be
very comfortable to have both outputs activated, just because there's no
need to manually switch from headphones to speakers (or back), when you want
to listen something on private. Just to change mixer setting could be
enough in such case, and both speakers and headphones can be connected all
the time.

3. I'm asking about this, because I'm wondering, how difficult could be to
port softphone application to OpenBSD - I'm considering two: linphone and
tclphone. It's very likely, that the latter would be much easier. And
exactly when using softphones having a possibility to mute one output and
activate the second one (and the opposite, when talk is finished) is very
comfortable solution.
  

OpenBSD 4.3 is including PJSUA

http://www.pjsip.org/pjsua.htm

I tried it and I really like it. If you compare various SIP clients you 
should see that PJSUA should be a first
choice for security minded user which prefers simplicity and capability 
instead of GUI non-sense.


I personally would much rather see you and other people interested in 
phone applications taking part in testing and
making sure PJSUA works as expected than waisting time trying to port 
another SIP client. At least for now, I think
that community should really help to make sure OpenBSD has fully working 
simple SIP client.


Cheers,
Predrag Punosevac



Yes, perhaps I must complete my (very narrow at the moment) knowledge about
soundcards and soundcard-drivers, and then to make a try to activate that
second output.




Re: 4.2 still has X tree dependency?

2008-03-30 Thread Predrag Punosevac

Mikel Lindsaar wrote:

I am running 4.1 on several servers, one thing I found was the
surprise on needing the X package to install some of the non x-windows
ports due to dependencies within that tree.  I think it was for the
graphics libraries, either way, I installed the x packages and all is
well.

But I remember reading in a FAQ or release notes somewhere that this
was a mistake and would be fixed in the next version of OpenBSD (ie,
remove the dependency on the x-windows system for these libraries).

I am about to install a bunch of 4.2 servers, is this dependency fixed
in 4.2?  Or is that a 4.3 target?
  


To my knowledge dependency first time occurred in 4.2. It is already 
fixed in 4.3. If you are installing servers
with 4.2 and you do not want to install xbase due to the security 
concerns you can just extract a single library which was mistakenly put 
into xbase. If you search misc you can find how to.


Cheers,
Predrag


Regards

Mikel




Re: How to write drivers?

2008-05-01 Thread Predrag Punosevac

Sviatoslav Chagaev wrote:

Yes, I even wrote a program which talks with the device directly, with the 
help of inb()/outb().

But now I want to learn how to write drivers =)

  

http://www.netbsd.org/docs/kernel/ddwg.html




On Thu, 1 May 2008 19:22:10 +0200
Jonathan Schleifer [EMAIL PROTECTED] wrote:

  

Sviatoslav Chagaev [EMAIL PROTECTED] wrote:



I need to write a driver for a primitive device which connects to the
LPT port, so I was wondering, are there any
manuals/tutorials/HOWTOs/... on this subject?
  

You don't even need a driver in the kernel for that, you can just
access the lpt device in /dev.

--
Jonathan




Re: OpenBSD 4.3 and Xorg resolution 1280x800?

2008-05-04 Thread Predrag Punosevac

rancor wrote:
Try changing the refreshing rates to something higher.
as in


Section Monitor

   #DisplaySize  320   240 # mm
   Identifier   Monitor0
   VendorName   DEL
   ModelNameDELL E773c
### Comment all HorizSync and VertRefresh values to use DDC:
   HorizSync30 - 70
   VertRefresh  50.0 - 120.0
   Option  DPMS
EndSection


You can use xrandr as well to play with the resolutions without the need 
to restart X server.


Best,
Predrag

Hi

I'm trying to get the screen resolution to working in X. I always got
1024x768 but I want 1280x800

Worth to mention is that I'm running OpenBSD as a guest with Virtualbox 1.6
on a Vista 32-bit host.

As screen device am I using * Generic VESA compatible and in Subsection
Display for each depth am I only using Modes   1280x800

Any ideas?

Regards rancor




Re: OpenBSD 4.3 and Xorg resolution 1280x800?

2008-05-04 Thread Predrag Punosevac

rancor wrote:
Ah, it helped a little bit to change the refreshing rates to higher 
values. I got 1280x1024 now but I can't get wide screens resolutions. 
I installed 815resolution and made it run as it was recommended in 
rc.securelevel.


I did add 1280x800 in xorg.conf but I can't see it in xrandr either.


Before we go any further make sure that your HorzSync is 30-120
and VertRefresh 50-150. Then after you restart X server
o pen the shell:-)  Type  xrandr as  a normal user.  You will see the
list of available resolutions for the color  Depth used by your X server.
If 1280x800 is listed just type xrandr -s 1280x800 and you will get it.
If it is not listed means it is not available for your xorg.conf file and
possibly your hardware. You should read man pages for vesa driver (which 
I do not use) and xorg before playing further with xorg.conf file.


Best,
Predrag




Any more ideas?

Thanks

Regards rancor


On Sun, May 4, 2008 at 7:19 PM, Predrag Punosevac 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:


rancor wrote:
Try changing the refreshing rates to something higher.
as in


Section Monitor

  #DisplaySize  320   240 # mm
  Identifier   Monitor0
  VendorName   DEL
  ModelNameDELL E773c
### Comment all HorizSync and VertRefresh values to use DDC:
  HorizSync30 - 70
  VertRefresh  50.0 - 120.0
  Option  DPMS
EndSection


You can use xrandr as well to play with the resolutions without
the need to restart X server.

Best,
Predrag




Re: Window Manager

2008-05-05 Thread Predrag Punosevac

John Nietzsche wrote:

Does anybody knows how to get multiple workspace in openmotif that
comes with openbsd 4.3 ?

Thanks in advance.

On Sun, May 4, 2008 at 9:29 PM, Gonzalo Lionel Rodriguez
[EMAIL PROTECTED] wrote:
  

I dont know if it is the place to ask it, but that window manager uses? And
 why?

 Regards



  
I wonder if you could use VDesk   http://openports.se/x11/vdesk   from 
ports?




Re: teTeX

2008-05-09 Thread Predrag Punosevac

Olivier Mehani wrote:

On Fri, May 09, 2008 at 10:23:46AM +0200, Paul de Weerd wrote:
  

I've been trying to find TeX for 4.3 but can not find it in ports.
  
teTeX is obsolete and unmaintained for more than three years. TeXLive is 
the next standard TeX distribution for Unix
and Unix like operating systems. Thanks to Edd Barret OpenBSD is the 
first from the family of BSDs  to have it as the default TeX 
distribution. It includes LateX, Pdflatex, Context, and every macro 
package ever written for TeX.



Edd Barrett has done a lot of work on porting TeXLive, the actively
maintained TeX distribution. This ought to provide you with what
you're looking for.



Are you aware of any no_x11 version?
  
I am not sure I understand your last question. How can you do 
typesetting without displaying graphics?
TeXLive does not require X for processing but in order to see your 
document you need to use xdvi, ghostview or something along those lines. 
Obviously, I am not suggesting that you  install  X on a  DNS server  in 
order
to do typesetting. What I am suggesting is that I would expect that you 
use a desktop machine running X for typesetting.


Best,
Predrag



Re: teTeX

2008-05-09 Thread Predrag Punosevac

Douglas A. Tutty wrote:

On Fri, May 09, 2008 at 02:24:56AM -0700, Predrag Punosevac wrote:
  

Olivier Mehani wrote:


On Fri, May 09, 2008 at 10:23:46AM +0200, Paul de Weerd wrote:
  
Are you aware of any no_x11 version?
 
  
I am not sure I understand your last question. How can you do 
typesetting without displaying graphics?
TeXLive does not require X for processing but in order to see your 
document you need to use xdvi, ghostview or something along those lines. 
Obviously, I am not suggesting that you  install  X on a  DNS server  in 
order
to do typesetting. What I am suggesting is that I would expect that you 
use a desktop machine running X for typesetting.



I use LaTex to write letters.  I can write a letter from my text-only
VT520, latex it, dvips it, then print the ps all without displaying it.

Or, I need to send a formatted document to a non unix user and the best
common display format is pdf.  So, I make a pdf of my document and email
it to them.  Also no need for displaying or X.

Are there other ports that require X11 for internal use even if you
don't need to display?  If so, perhaps the xbase install set should be
split into xlibs and xbase so that less needs to be installed on a
non-display box for these ports to work.

Doug.

  
I think you got the answer from Edd. You do not need X running to 
process the text but you need xlibs to compile the port. There is 
nothing  dangerous  in installing  whole  X  on a server as long as you 
do not run it. If people are concern about the size of Xbase the bad 
news is that TeXLive is almost 1G. The good news is that the Troff is 
and various macros are included in the base of the system. Troff is 
very, very usable and lightening fast (you as a developer probably know 
Troff better than me).  Now obvious question that somebody should answer 
is does the troff require Xbase as well.



The other thing, if I remember one of the threads, is that Troff has not 
been updated for a long time. It would be nice if somebody could update 
it. Edd stated how he feels about creating no_X11 flavor.  If  I  may  
add  something to it.
One could also argue that much finer TeXLive port could have been done 
as certain parts of TeXLive experience rapid
development. TeXLive was HUGE job to port so the one who things that 
finer port is needed is welcome to create it.
Due to the OpenBSD release cycle (6 months) and the fact that packages 
are essentially unchanged during that period
the benefit of the finer port on OpenBSD would be limited. For a moving 
target like FreeBSD that certainly would make sense.


Lastly, I like your idea about splitting xbase VERY, VERY much.

Best,
Predrag



Re: is it possible to install matlab2008 on openbsd ?

2008-05-24 Thread Predrag Punosevac

Floor Terra wrote:

On Sat, 24 May 2008, elflord woods wrote:


hi all:

i've installed the fedora_base and turned on linux emulation in the
sysclt.conf
and i've mounted my matlab disk

but when i run install
i get:

 Sorry ! We could not determine the machine architecture for your host
 You may be attempting to install on an unsupported OS

Is there anything we could do ?


Try this:
http://www.csl.cornell.edu/~rajit/fbsd/matlab.html
Those instructions are for FreeBSD not for OpenBSD. There is a whole 
chapter in FreeBSD Handbook


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

about installing Maple, MatLab, and Mathematica. I do not believe that 
those instructions work any more even for FreeBSD 7.0 and the newest 
versions of above programs. There were couple of threads (I think two) 
recently on misc about installing Maple on OpenBSD. I am not sure if 
they can help you install MatLab but is worth of trying.


Best,
Predrag





Thanks




Re: bsdanywhere

2008-06-07 Thread Predrag Punosevac

Pau wrote:

a nice thing to test hardware and get dmesg

http://bsdanywhere.org/

Of course, I guess that booting the obsd installer cd is much faster
and you get also dmesg
but this is an interesting alternative

  

This is the little bit longer list of distros based on OpenBSD.

Active projects:

  1.
 flashdist  http://www.nmedia.net/flashdist/
 http://www.bsd-srbija.org/dokumentacija/doku.php/flashdist
  2.
 MirBSD   http://www.mirbsd.org/main.htm
 http://www.bsd-srbija.org/dokumentacija/doku.php/mirbsd
  3.
 LiveCD http://www.jggimi.homeip.net/
 http://www.jggimi.homeip.net/
  4.
 BSDanywhere http://bsdanywhere.org/
 http://www.bsd-srbija.org/dokumentacija/doku.php/bsdanywhere

Dead or inactive projects:

  1.
 Anonym.OS  no web site available anymore
 http://www.bsd-srbija.org/dokumentacija/doku.php/anonym.os
  2.
 CompactBSD  http://compactbsd.sourceforge.net/
 http://www.bsd-srbija.org/dokumentacija/doku.php/compactbsd
  3.
 ekkoBSD http://en.wikipedia.org/wiki/EkkoBSD
 http://www.bsd-srbija.org/dokumentacija/doku.php/ekkobsd
  4.
 EmBSD no web site available anymore
 http://www.bsd-srbija.org/dokumentacija/doku.php/embsd
  5.
 Flashboot http://www.mindrot.org/projects/flashboot/
 http://www.bsd-srbija.org/dokumentacija/doku.php/flashboot
  6.
 MicroBSD http://www.microbsd.net/
 http://www.bsd-srbija.org/dokumentacija/doku.php/microbsd
  7.
 OliveBSD http://g.paderni.free.fr/olivebsd/
 http://www.bsd-srbija.org/dokumentacija/doku.php/olivebsd
  8.
 OpenBSD Live-CD Firewall http://www.alti.at/knowhow/obsdlivecd/fw.php
 http://www.bsd-srbija.org/dokumentacija/doku.php/openbsd_live-cd_firewall
  9.
 PsygNAT http://www.feu-nrmf.ph/norbert/projects/psygnat/
 http://www.bsd-srbija.org/dokumentacija/doku.php/psygnat
 10.
 SONaFR http://www.freebsd.nfo.sk/opbsd/openbsdeng.htm
 http://www.bsd-srbija.org/dokumentacija/doku.php/sonafr



Re: Azalia - Realtek/0x0885 - plays, but no sound

2008-06-10 Thread Predrag Punosevac

alemao wrote:
Look the output from mixerctl and adjust things like

outputs.master=248,248 ( I think this is by default something like 128,128)

and  few other which  are self explanatory.
I have the similar audio card and I had the same problem.



Best,
Predrag

Hi,

The card is recognized OK and i see that mplayer (with or without
-srate 48000) plays the sound, but i can't hear anything.
I played with many options in mixerctl but no success at all.

Maybe because it's sharing IRQ with other devices?

$ vmstat -i
interrupt   total rate
irq0/clock  89681  201
irq0/ipi 10252
irq9/acpi0 910
irq20/uhci0  5002   11
irq21/ehci0 30
irq20/azalia0   10
irq17/mskc0  18084
irq21/uhci4 52157  117
irq20/ehci1   1010
irq18/pciide14745   10
Total  154614  347

Here's my dmesg, mixerctl -a and audioctl -a.

http://sacodelixo.com.br/~alemao/dmesg.txt
http://sacodelixo.com.br/~alemao/audioctl.txt
http://sacodelixo.com.br/~alemao/mixerctl.txt

Any help/tip would be nice.

Thanks.




Re: Kernel developers guide/tutorial

2008-06-11 Thread Predrag Punosevac

Don Hiatt wrote:

[ Pardon if this email was repeated.
  Sadly, I'm using Outlook and you know the rest :-) ]

Can anyone point me to a kernel developers guide or tutorial?
Something that explains how to write a hello world type device driver
and such. 

http://netbsd.org/docs/kernel/ddwg.html



Anything to bootstrap me a bit. ;-)

Cheers!

don




Re: cwm keybindings misbehavior

2008-06-12 Thread Predrag Punosevac

Daniel B. wrote:

Hi,

I can't get the response desired to some of the default keybindings in
cwm.

Some of them: M-/, C-/, M-?. With the first and the third, I just hear a
beep (or a Wuff!! in screen). The second delete my window if not in
screen, or just Wuff!! in screen.

Any hints? Thank you.

  
I would try to arise ~/.cwmrc from your home directory. The another 
thing is that you should carefully read man pages for cwm and make sure 
you understand  the meaning  of  M (meta key).
Meta key is different on  different  keyboards. So I do not know what is 
meta key on your key board but on mine IBM (M type) it is ALT. I like 
CWM very, very much but I didn't ditch the
OpenBox just because I thing that CWM is rapidly changing and the 
configuration process is not 100% bullet proof. Namely if you go to 
web-site CWM you will see that configuration is very different than of 
the one in the base of OpenBSD. So obviously it has been modified by 
OpenBSD developers. I must however say that CWM looks impressive to me 
and I hope they fix  few issues and maybe introduce few new features 
which would probably make it one of the best WM around.


Best,
Predrag



Re: cwm keybindings misbehavior

2008-06-12 Thread Predrag Punosevac

Okan Demirmen wrote:

On Thu 2008.06.12 at 11:28 -0700, Predrag Punosevac wrote:
  

Daniel B. wrote:


Hi,

I can't get the response desired to some of the default keybindings in
cwm.

Some of them: M-/, C-/, M-?. With the first and the third, I just hear a
beep (or a Wuff!! in screen). The second delete my window if not in
screen, or just Wuff!! in screen.

Any hints? Thank you.
  


can we see your .cwmrc?

  
I would try to arise ~/.cwmrc from your home directory. The another  
thing is that you should carefully read man pages for cwm and make sure  
you understand  the meaning  of  M (meta key).
Meta key is different on  different  keyboards. So I do not know what is  
meta key on your key board but on mine IBM (M type) it is ALT. I like  
CWM very, very much but I didn't ditch the
OpenBox just because I thing that CWM is rapidly changing and the  
configuration process is not 100% bullet proof. Namely if you go to  
web-site CWM you will see that configuration is very different than of  
the one in the base of OpenBSD. So obviously it has been modified by  
OpenBSD developers. I must however say that CWM looks impressive to me  
and I hope they fix  few issues and maybe introduce few new features  
which would probably make it one of the best WM around.



yes, our cwm is now very different.

can you elaborate on the few issues?  there are a few, but i'm sure
you can help by informing us of issues we are not yet aware ;)
  

Disclaimer:  I  played with CWM little bit so
my statements should not be taken too seriously.

I personally had hard time trying to configure CWM to lunch 
applications. In another  words

according to  documentation on
CWM web site one needs to edit

~/.calmwm

but OpenBSD man pages say that

~/.cwmrc

is correct file to edit.

Even after the editing ~/.cwmrc I could not
open the menu with the right  button  on  the mouse  which  according to 
CWM web-site should list the applications.


That was on OpenBSD 4.2 release. I have not pursue the issue seriously 
as according to

discussion on misc about WM from about 2-3 months ago CWM is in development.

The only thing that I personally miss in CWM
are virtual desktops. I DO know that if people start saying things like 
that and developers start listening the CWM will soon become bloated. I 
do not wish that. CWM is one of the best because it is minimalistic and 
gets job done. It is also great thing that is in the base.


I think VDESK package from ports can accomplish virtual desktops on 
CWM.  I  might  be able to get used to grouping  if I play more with CWM 
which I probably will do if you tell me that the above is caused by my 
stupidity and not by actual problem with the code.


Another feature that is appealing for me is
Xinerama support. Again that might make code more bloated which I do not 
want to see.


Thank you for your HARD work,

Predrag

P. S. By the way I liked CWM so much that I configured key binding in 
OpenBox to behave on exactly the same way as in CWM so I am very close 
to switch to CWM.




Re: cwm keybindings misbehavior

2008-06-12 Thread Predrag Punosevac

Marco S Hyman wrote:

  CWM web site one needs to edit
  
  ~/.calmwm


Ignore the CWM web site.  It is for a version of cwm that is far
different than that in the OpenBSD source tree.   Anything you
read there is likely to lead to confusion.

Example: ~/.calmwm is a *directory* typically containing symbolic links
to applictions that will be run. ~/.cwmrc is a file.

  Even after the editing ~/.cwmrc I could not
  open the menu with the right  button  on  the mouse  which  according to 
  CWM web-site should list the applications.
  
  That was on OpenBSD 4.2 release. I have not pursue the issue seriously 
  as according to


Uhhh, in 4.2 release .cwmrc didn't exist.   It was added somewhat
recently, I think after 4.3.
  

You are right!!!

quote from man pages:

the *cwmrc* file format first appeared in OpenBSD 4.4.


I think that is why I stop playing with it. I do run current only on one 
machine.


You are right about CWM web-site. It is just confusing. My understanding 
is that CWM
from the base at this point is really OpenBSD fork of CWM. Thanks for 
info regarding Xinerama. I was not aware of it because according to CWM 
web-site CWM doesn't support Xinerama.


Best,
Predrag


  Another feature that is appealing for me is
  Xinerama support. Again that might make code more bloated which I do not 
  want to see.


I ran cwm on a dual headed system usinx Xinerama.   No special support
was needed.

My desktop is now a Mac so I don't use cwm that often any more.  It is
still my window manager of choice when on my older laptop.

// marc




Re: cwm keybindings misbehavior

2008-06-13 Thread Predrag Punosevac

Alexander Polakov wrote:

* Predrag Punosevac [EMAIL PROTECTED] [080613 11:53]:
  

Okan Demirmen wrote:


On Thu 2008.06.12 at 11:28 -0700, Predrag Punosevac wrote:
  
  

Daniel B. wrote:



Hi,

I can't get the response desired to some of the default keybindings in
cwm.

Some of them: M-/, C-/, M-?. With the first and the third, I just hear a
beep (or a Wuff!! in screen). The second delete my window if not in
screen, or just Wuff!! in screen.

Any hints? Thank you.
  
  

can we see your .cwmrc?

  
  
I would try to arise ~/.cwmrc from your home directory. The another  
thing is that you should carefully read man pages for cwm and make sure  
you understand  the meaning  of  M (meta key).
Meta key is different on  different  keyboards. So I do not know what is  
meta key on your key board but on mine IBM (M type) it is ALT. I like  
CWM very, very much but I didn't ditch the
OpenBox just because I thing that CWM is rapidly changing and the  
configuration process is not 100% bullet proof. Namely if you go to  
web-site CWM you will see that configuration is very different than of  
the one in the base of OpenBSD. So obviously it has been modified by  
OpenBSD developers. I must however say that CWM looks impressive to me  
and I hope they fix  few issues and maybe introduce few new features  
which would probably make it one of the best WM around.



yes, our cwm is now very different.

can you elaborate on the few issues?  there are a few, but i'm sure
you can help by informing us of issues we are not yet aware ;)
  
  

Disclaimer:  I  played with CWM little bit so
my statements should not be taken too seriously.

I personally had hard time trying to configure CWM to lunch applications. 
In another  words

according to  documentation on
CWM web site one needs to edit

~/.calmwm

but OpenBSD man pages say that
~/.cwmrc

is correct file to edit.

Even after the editing ~/.cwmrc I could not
open the menu with the right  button  on  the mouse  which  according to 
CWM web-site should list the applications.


That was on OpenBSD 4.2 release. I have not pursue the issue seriously as 
according to
discussion on misc about WM from about 2-3 months ago CWM is in 
development.


The only thing that I personally miss in CWM
are virtual desktops. I DO know that if people start saying things like 
that and developers start listening the CWM will soon become bloated. I do 
not wish that. CWM is one of the best because it is minimalistic and gets 
job done. It is also great thing that is in the base.





Bloated? What are you talking about? dwm [1] is less that 2000 LOC and it has
virtual desktops, various tiling alghorithms, nice panel, window
matching and what not. 


[1] http://dwm.suckless.org

  
We were not even talking about dynamic window manager dwm. We were 
talking about CWM which is in the base. Those are two different things. 
Have you ever tried dwm?
Do you know that when you try to use full screen mode in Xpdf on dwm the 
Xpdf will be unable to find it because of the way dwm is coded. Have you 
tried panel for dwm?

Please do and then lets talk about it.

I like dwm but it is not for everyone. One of the reasons I said what I 
said above about CWM is that I would like to see CWM remaining as 
minimal as possible which in practical terms means competing with DWM 
which is the king of minimal.


Best,
Predrag Punosevac OKO



Re: cwm keybindings misbehavior

2008-06-13 Thread Predrag Punosevac

Alexander Polakov wrote:

* Predrag Punosevac [EMAIL PROTECTED] [080613 18:19]:
  

Alexander Polakov wrote:


* Predrag Punosevac [EMAIL PROTECTED] [080613 11:53]:
  
  

Okan Demirmen wrote:



On Thu 2008.06.12 at 11:28 -0700, Predrag Punosevac wrote:

  

Daniel B. wrote:



Hi,

I can't get the response desired to some of the default keybindings in
cwm.

Some of them: M-/, C-/, M-?. With the first and the third, I just hear 
a

beep (or a Wuff!! in screen). The second delete my window if not in
screen, or just Wuff!! in screen.

Any hints? Thank you.

  

can we see your .cwmrc?


  
I would try to arise ~/.cwmrc from your home directory. The another  
thing is that you should carefully read man pages for cwm and make sure 
 you understand  the meaning  of  M (meta key).
Meta key is different on  different  keyboards. So I do not know what 
is  meta key on your key board but on mine IBM (M type) it is ALT. I 
like  CWM very, very much but I didn't ditch the
OpenBox just because I thing that CWM is rapidly changing and the  
configuration process is not 100% bullet proof. Namely if you go to  
web-site CWM you will see that configuration is very different than of  
the one in the base of OpenBSD. So obviously it has been modified by  
OpenBSD developers. I must however say that CWM looks impressive to me  
and I hope they fix  few issues and maybe introduce few new features  
which would probably make it one of the best WM around.



yes, our cwm is now very different.

can you elaborate on the few issues?  there are a few, but i'm sure
you can help by informing us of issues we are not yet aware ;)

  

Disclaimer:  I  played with CWM little bit so
my statements should not be taken too seriously.

I personally had hard time trying to configure CWM to lunch applications. 
In another  words

according to  documentation on
CWM web site one needs to edit

~/.calmwm

but OpenBSD man pages say that
~/.cwmrc

is correct file to edit.

Even after the editing ~/.cwmrc I could not
open the menu with the right  button  on  the mouse  which  according to 
CWM web-site should list the applications.


That was on OpenBSD 4.2 release. I have not pursue the issue seriously as 
according to
discussion on misc about WM from about 2-3 months ago CWM is in 
development.


The only thing that I personally miss in CWM
are virtual desktops. I DO know that if people start saying things like 
that and developers start listening the CWM will soon become bloated. I 
do not wish that. CWM is one of the best because it is minimalistic and 
gets job done. It is also great thing that is in the base.




Bloated? What are you talking about? dwm [1] is less that 2000 LOC and it 
has

virtual desktops, various tiling alghorithms, nice panel, window
matching and what not. 
[1] http://dwm.suckless.org


  
  
We were not even talking about dynamic window manager dwm. We were talking 
about CWM which is in the base. Those are two different things. Have you 
ever tried dwm?



Are you joking? Of course I did. I have been using dwm since its first
release.

  
Do you know that when you try to use full screen mode in Xpdf on dwm the 
Xpdf will be unable to find it because of the way dwm is coded.



I dunno what do you mean by full screen mode. There's 1px border around
the window in fullscreen mode, you mean that by it 'being unable'?

  

Have you tried panel for dwm?



Tried? Hmmm... It just works.

  

Please do and then lets talk about it.

I like dwm but it is not for everyone. One of the reasons I said what I 
said above about CWM is that I would like to see CWM remaining as minimal 
as possible which in practical terms means competing with DWM which is the 
king of minimal.



My point was cwm is already bigger in size but less featurish, so I can't see
any way for it to be 'not bloated'.

  

Then you have a point:-)

Best,
OKO



SFTP interactive mode question

2008-06-18 Thread Predrag Punosevac
Could somebody clarify to me if it is possible to use sftp in 
interactive mode. Let me explain what I mean by interactive. Is 
there option which will make sftp check if the file which I am trying to 
put already exist on the remote host and worn  me about that before 
actually start copying the file. I tried to find the answer in man pages 
but I am obviously missing something.


Best,
Predrag



OT: Mail was Re: Changing From headers in mail on a whim?

2008-06-18 Thread Predrag Punosevac

You might have a look at Heirloom mailx.
http://heirloom.sourceforge.net/mailx.html



Pieter Verberne


I was wondering if you guys could clarify something for me. I looked 
heirloom mailx (nail) very carefully and it looks like mail on steroids. 
One of the reasons that I 
personally stop using mail long time ago was that I could not attach the files to 
it. I looked the man pages for mail from the base and it seems that is still the
case. Am I wrong? That is the deal breaker for me. Would it be possible 
in the light  of the fact that some of the original ATT code 
and more recent versions of mailx are now released 
(I am not sure under which license) to add this feature to mail from the base.  



Secondly, nail has native abilities to fetch the mail from imap server 
using SSL as well as to connect to MTA via smtp and use SSL again. 
It also has built
in bayesian filter. My understanding that mail from base doesn't have 
those capabilities. Now OpenSSH could circumvent above deficiencies of mail but my 
question is there are tool in the base which can fetch (like fetch mail from ports 
or similar perl module) messages from the remote mailboxes on imap servers.


Obviously one can use nail, mutt, alpine or gazzilion of other light weight 
GUI mail clients to accomplish  above but how to do that only with tools from 
the base?


Thanks a lot

Predrag 



Re: OT: Dissertation ideas for my degree

2008-06-20 Thread Predrag Punosevac

Edd Barrett wrote:

Matthew Szudzik wrote:

- A good TeX to html convertor (extensible)
- A good TeX gui


There's a pretty good chance that TeX is going to become obsolete, and
replaced by some HTML or XML derivative.
Hahahahahahah... Have you ever written a single mathematics formula in 
HTML? What about commutative graph?  You probably want to be careful 
what are you writing since this is the public mailing list.





Why say these things :(


 Many technical publishers
have already made the transition.  See, for example, the following link
from Cambridge University Press


Many people in mathematics and physics believe that publishers
like Cambridge University Press should not exist anymore. The future is 
in open publishing since the current pricing practices of
so called publishers are preventing spread of knowledge and 
communication among professionals. I can bet my life that there are no 
more then three people left in Cambridge University Press that have a 
clue about calligraphy. That doesn't not prevent them
of pricing over $200 the already typed and publishing ready (thanks to 
the TeX) books.  Do not say anything about royalties and the price of 
printing. Royalties for book priced around $200 are no more than $5. The 
printing is probably a $1. Guess what. The books are sent in the 
electronic format to the cheapest printing presses around the world.


 https://authornet.cambridge.org/information/productionguide/stm/XML_workflow.asp#xml_introduction 



An interesting alternative project would be to create an HTML and MathML
GUI, with the intent of luring mathematicians and physicists away from
TeX.  
You are really convinced that the Mathematicians and Physicists are 
bunch of monkey whom you can lure with a peace of banana.

There are many people in science who are very knowledgeable
about calligraphy. Ask M$ and their MathType division how they are doing?


And then create an HTML/MathML to TeX converter, so that they can
share their work with colleagues and journals that still insist on TeX.


My hate for XML will make this difficult to motivated on.

TeX isnt as dead as you think.
He might have heard something about Metafont. Even Metafont is fantastic 
idea unfortunately based on unrealistic expectations of Donald Knuth 
that calligraphers will learn mathematics and how to use parameters to 
create new fonts.



Have you for example investigated XMLTeX, LuaTeX, ConTeXt or XeTeX?

To all those who think that the TeX is dead I dare you to find me a 
single serious mathematics or physics journal on the world which would 
accept anything else except TeX.


There is only one way to kill the TeX. Sit down and throughout rewrite 
Troff code giving it native abilities to process formulas (without 
pre-processor), pictures, and modernize mark up syntax.




To stay on the topic of TeX. Edd you know what would be a nit idea 
(probably little bit challenging).  Get  to  pure  TeX  code and 
add picture processing capabilities or try to mess with Troff code
and see if it can be rewritten so that it remains small compiler (TeX is 
interpreter as you know) but with the mark up syntax which resembles 
Latex or ConTeXt


Best,
Predrag



Re: broken dependencies ?

2008-06-22 Thread Predrag Punosevac

Mihai Popescu B.S. wrote:

Hello all,

Back in time I switched from -release to -current, but I'm installing
from snapshots. I saw the announce about uvideo stuff and I am very
interested about this that's why I installed the most recent snapshot
for testing. The date of the snapshot is 19-June, I also proceeded to
install some packages to test the video camera. One package people
speak about is ekiga. And here is the surprise:  a lot of unexpected
errors on install using pkg_add: Can't install package...: Can't
resolve lib
Of course ekiga is highly dependent of gnome stuff, so you get a lot
of install. First errors are encountered on cairo and pongo stuff,
related to gnome.

I tried to install gnome-session all together, but the errors are present.

  
Snapshots of packages in my understanding are provided for convenience  
and are not  well  synchronized. If you are using a snapshot I would 
stick with ports. There is no guaranties that

even than everything will  work  perfect but  it might like in  my  case:-)

I would not expect at this point  for  Ekiga  to  recognize that you 
have  a USB camera even if your camera is supported by uvideo driver. I 
tried to test 2 very cheap USB cameras that I have.
They are according to some documents are UVC devices which is the only 
type of USB cameras that OpenBSD is supporting.  They were not 
recognized by kernel but I was not to optimistic anyway. Unless you 
camera is listed


http://linux-uvc.berlios.de/

I would not expect too much. You can also look for Windows Vista
complaint cameras because it looks like those are UVC complaint.

To be honest with you I didn't particularly like the tone of your 
message and I am not even developer. If you are testing something

be patient and be ready for failures. If you just want things to work
stick with 4.3 release which is well tested.

If you need VoIP with video your best bet is Linux.
As far as I know Ekiga with video can work on FreeBSD if you have 
Philips chip-set camera. Even then you need to make some custom patches.


I personally tested Ekiga and Skype (which is not a SIP phone) with 
video on Ubuntu, CentOS, and OpenSUSE and things were working as expected.


Kind Regards,
Predrag


Don't bother to tell about relation from kernel and glibc , I waited
for the packages to be close to the kernel compilation date. IT should
work. I don't complain, but what I can do. I am not sure about a
diagnose, I think The packages are broken. But I'm not an expert and I
don't want to make stupid appreciation on others people great work.

I can send the exact errors. It will be copy by hand, since my OBSD
computer is almost not installed, without X. Please send and idea, am
I doing something wrong ?
The other way will be to use anonymous cvs and compile everything from
scratch, but I'm not sure about this. Is the snapshot a reliable stuff
or not ?

Thanks




Re: Can you contribute code under anonymous under ISC License?

2008-06-23 Thread Predrag Punosevac

Sunnz wrote:

2008/6/24 Theo de Raadt [EMAIL PROTECTED]:
  

Hi, just wondering what's your opinion on this...

If one were to release some code under an ISC or BSD-like 2 clause
license, but under the name of anonymous, would it effectively as if
it was released as public domain?
  

I guess the actually question you wanted to as was:

 Does OpenBSD accept anonymous code?

No.  OpenBSD does not.  We don't do a dumb thing like that.





Well, actually I was just curious, so that's no for OpenBSD... I am
interested to know what is the general case as well. It is nothing
major, it is not like I want to make a killer app under anonymous or
something. :p

  
You question is probably non of my business as I am mathematician but 
accidentally there is a mathematician turn computer scientist who 
released some code in the past under very strange license that might 
be of great interest for you.


So case study is: D. J. Bernstein from University of Illinois at  Chicago.

Software in question djbdns, qmail, ucspi-tcp, damontools publicfile .

Do not look for his software among OpenBSD ports. You will not find it. 
His code is removed. Why? Well I am leaving to you to investigate the 
whole matter. It might not be exactly what you had in mind but it is 
definitely educative.


The demise of his qmail is a wonderful example of interesting project 
which died because of the bad licence. I know that lots of people here 
like his djbdns but just imagine what could have happened with his 
projects if they were released under BSD license.


Kind Regards,
Predrag



Re: wireless barcode scanners

2008-06-23 Thread Predrag Punosevac

Jacob Yocom-Piatt wrote:

You know what. I just looked the sourceforge.net. more carefully.
There are actually couple of projects (libraries) which can actually
might do exactly what are you asking

You can try to compile something like

http://sourceforge.net/project/showfiles.php?group_id=104233

Best,
Predrag
does anyone on list know if wireless (e.g. bluetooth) barcode scanners 
can or do work with openbsd? couldn't find much information about it 
after searching.


the application is inventory tracking, etc, where several users would 
concurrently scan and have barcodes register with a single machine. if 
the devices simply spit out the barcodes over bluetooth, i expect 
there is a way to achieve this.


cheers,
jake




Re: OT: DJB was: Can you contribute code under anonymous under ISC License?

2008-06-23 Thread Predrag Punosevac

Marti Martinez wrote:

I haven't actually checked to see whether anyone has added DJB's software
back into ports/packages, but I seem to recall that djbdns and qmail are
both in the public domain now.
  


I do not think so. His release of the qmail and djbdns to public domain 
seems too little too late. In order to compile those
my understanding (people who use djbdns will correct me on this one) is 
that you need damontools. Those are not released in public domain and I 
believe that they are register trade mark of DJB. Very
complicated mess that I do not fully understand. Do not forget that he 
sued U. S. government in the past over the license issues and won.


I would not have his  code on my computer if I am doing anything that I 
am paid for. Just my 2c.


Best,
Predrag

On Mon, Jun 23, 2008 at 4:01 PM, Predrag Punosevac 
[EMAIL PROTECTED] wrote:

  

Sunnz wrote:



2008/6/24 Theo de Raadt [EMAIL PROTECTED]:


  

Hi, just wondering what's your opinion on this...


If one were to release some code under an ISC or BSD-like 2 clause
license, but under the name of anonymous, would it effectively as if
it was released as public domain?


  

I guess the actually question you wanted to as was:

 Does OpenBSD accept anonymous code?

No.  OpenBSD does not.  We don't do a dumb thing like that.






Well, actually I was just curious, so that's no for OpenBSD... I am
interested to know what is the general case as well. It is nothing
major, it is not like I want to make a killer app under anonymous or
something. :p



  

You question is probably non of my business as I am mathematician but
accidentally there is a mathematician turn computer scientist who released
some code in the past under very strange license that might be of great
interest for you.

So case study is: D. J. Bernstein from University of Illinois at  Chicago.

Software in question djbdns, qmail, ucspi-tcp, damontools publicfile .

Do not look for his software among OpenBSD ports. You will not find it. His
code is removed. Why? Well I am leaving to you to investigate the whole
matter. It might not be exactly what you had in mind but it is definitely
educative.

The demise of his qmail is a wonderful example of interesting project which
died because of the bad licence. I know that lots of people here like his
djbdns but just imagine what could have happened with his projects if they
were released under BSD license.

Kind Regards,
Predrag




Re: wireless barcode scanners

2008-06-23 Thread Predrag Punosevac

Jacob Yocom-Piatt wrote:

Dear Jacob,

That is very interesting question. I was always wondering myself if
it is possible to use those bar code scanners with OpenBSD.

Anyhow, this is what I found.

Obviously bar code scanners work completely differently than
Image scanners which are supported by sane-backends

http://www.sane-project.org/old-archive/2001-06/0111.html

The second thing I found is that they are not very hard for hacking
as they are essentially simple  SCSI  device.  Somebody  started 
project  in  2000

http://sourceforge.net/projects/uscan/

but never finished. It looks like people have been sued over those
drivers as it looks to me that those scanners are very lucrative 
proprietary market.


Finally, it looks that might be a very simple hardware solution for you

http://www.readerware.com/rwbarcodespec.html

Look at on the bottom of the page. There is bunch of scanners that 
should just work with OpenBSD. How? It looks to me that when you scan 
the bar code this bar code gets memorized by the device and you can 
mount device memory as SCSI drive or download via the network.


Sort of like USB memory stick or Digital camera.
I have not looked things very carefully so I might be very wrong.
I am really curious if you really get those things to work with Open.

Please keep me posted.

Most Kind Regards,
Predrag

does anyone on list know if wireless (e.g. bluetooth) barcode scanners 
can or do work with openbsd? couldn't find much information about it 
after searching.


the application is inventory tracking, etc, where several users would 
concurrently scan and have barcodes register with a single machine. if 
the devices simply spit out the barcodes over bluetooth, i expect 
there is a way to achieve this.


cheers,
jake




Re: wireless barcode scanners

2008-06-23 Thread Predrag Punosevac

Tim Donahue wrote:

Unless I am mistaken, Jake is looking for a barcode scanner.


No you are not. That is what I understood.
These are typically not SCSI devices (none that I know of are, at 
least), they are typically Serial, PS/2, or USB HID devices.


I was reading that discussion on the SANE developer list. The list is 8 
years old. I think somebody even mention there that bar code
scanner can be attached as PS/2 thing. I thought I had seen something 
about SCSI bar code readers but I am probably mistaken.
  All they do is translate the barcode scanned into ASCII for 
processing by some application.
I think that what my third link about hardware solution  was saying. 
Are there such applications written for OpenBSD and what do they 
actually do?



  Some newer scanners use Bluetooth, but there are also cordless 
scanners that talk to a base station that translates the wireless 
signal into serial, PS/2 or USB input



I can say with 100% certainty (I have one in front of me, ATM) that 
the Symbol LS1203 works with no problems with OpenBSD.  Here is what 
dmesg reports when I attach the scanner.


uhidev1 at uhub4 port 1 configuration 1 interface 0 ?Symbol 
Technologies, Inc, 2002 Symbol Bar Code Scanner rev 2.00/2.01 addr 2

uhidev1: iclass 3/1
ukbd1 at uhidev1: 8 modifier keys, 6 key codes, country code 33
wskbd2 at ukbd1 mux 1
wskbd2: connecting to wsdisplay0

As you can see, there is no SCSI black magic or any proprietary voodoo 
going on here.  The scanner is simply detected as a USB keyboard, and 
acts just like one in my day to day use of it.


Tim Donahue

Thanks for the dmesg and for teaching me something new.

Best,
Predrag





Quoting Predrag Punosevac [EMAIL PROTECTED]:


Jacob Yocom-Piatt wrote:

Dear Jacob,

That is very interesting question. I was always wondering myself if
it is possible to use those bar code scanners with OpenBSD.

Anyhow, this is what I found.

Obviously bar code scanners work completely differently than
Image scanners which are supported by sane-backends

http://www.sane-project.org/old-archive/2001-06/0111.html

The second thing I found is that they are not very hard for hacking
as they are essentially simple  SCSI  device.  Somebody  started
project  in  2000
http://sourceforge.net/projects/uscan/

but never finished. It looks like people have been sued over those
drivers as it looks to me that those scanners are very lucrative
proprietary market.

Finally, it looks that might be a very simple hardware solution for you

http://www.readerware.com/rwbarcodespec.html

Look at on the bottom of the page. There is bunch of scanners that
should just work with OpenBSD. How? It looks to me that when you scan
the bar code this bar code gets memorized by the device and you can
mount device memory as SCSI drive or download via the network.

Sort of like USB memory stick or Digital camera.
I have not looked things very carefully so I might be very wrong.
I am really curious if you really get those things to work with Open.

Please keep me posted.

Most Kind Regards,
Predrag

does anyone on list know if wireless (e.g. bluetooth) barcode  
scanners can or do work with openbsd? couldn't find much  
information about it after searching.


the application is inventory tracking, etc, where several users  
would concurrently scan and have barcodes register with a single  
machine. if the devices simply spit out the barcodes over  
bluetooth, i expect there is a way to achieve this.


cheers,
jake




Re: OpenBSD project goals

2008-06-24 Thread Predrag Punosevac

Thilo Pfennig wrote:

Hi,

I am using OpenBSD on a desktop system for about a year now and have
some open questions about the project goals. I have read
http://www.openbsd.org/goals.html , but I think it does not answer some
questions.

One question is what the ideal status of OpenBSD would be. Right now
there are core applications (which include also Sendmail and Apache) and
the ports. Would it be a goal for OpenBSD to provide most functionality
as part of core? 

It already does provide EVERYTHING!

http://www.undeadly.org/cgi?action=articlesid=20080607131856




I mean its clear that the ports and packages are not
audited as the applications in core are. But generally there is no
argument for why one application should get more auditing than another,
except when you say that you want to provide only one of a kind.

Maybe this question is not OpenBSD specific but merely a question of
what a goal of an operating system should be. The goals on the project
homepage focus more on what is different on OpenBSD. My understanding is
that OpenBSD (most BSDs and Unices and also Plan9) strive to provide all
basic functionalities as part of the core distribution. And on Linux the
mentality is rather that the operating system is rather a collection of
different parts - and that each part is an individual package - so there
is generally no sense of a core besides the Linux kernel and maybe the
base-files package.

Another interesting and realted question is what should be provided by
default. OpenBSD got some criticism that it has  not enabled many
services by default 
Not true! Having just OpenSSH  server running is already more services 
than  Windows which run 99% of Desktop machines. 




and does not take into account non-default installs
of some random packages or ports when it comes to security leaks. But
OTOH  OpenBSD provides Apache and Xorg/Xenocara as core file sets, which
I think no other operating system does? As far as I looked other BSDs
provide Apache and Xorg as ports rather? So one could also say that
OpenBSD is actually providing not less but more. Most Linuxes will
install and Xorg plus a desktop like KDE or GNOME by default - but then
all those are just distribution-provided packages which are not audited
well on most Linuxes.

Right now I see the wholeheartedness on working on the operating system
as what makes up OpenBSD and differs it from other OSes. I think
although security is a focus this is really more a benefit of the
development process. I mean security does not come from statements and
also not from having it as a goal. I would say that the Debian guys wont
say that security was unimportant to them, nor would any OS state that.
The difference lies in how people act - and maybe also how much progress
is seen of just providing the latest and greatest.

Regards,
Thilo




Re: HP LaserJet 1018 (HPLJ1018) firmware upload

2008-07-15 Thread Predrag Punosevac

Gmail Account wrote:

Marc Balmer wrote:

* Gmail Account wrote:
 
I have the above mentioned USB printer.  It requires the foo2zjs 
driver which I've successfully compiled from the foo2zjs web site 
(following the OpenBSD instructions).  Unlike most printers, the 
HPLJ1018 does not have persistent firmware.  Instead, its firmware 
(the file 'sihp1018.dl') must be uploaded to it every time it is 
physically powered on.


When I power up the HPLJ1018 and plug it in to one of my PC's USB 
ports, dmesg shows:


ulpt0 at uhub0 port 2 configuration 1 interface 0 Hewlett-Packard 
HP LaserJet 1018 rev 2.00/1.00 addr 2

ulpt0: using bi-directional mode

However, when I try:

$ cat hp1018.dl  /dev/ulpt0

The terminal cursor just hangs. The same thing happens when I try it 
as root. Eventually, things time out and I get the response:


ksh: cannot create /dev/ulpt0: Device busy

I've tried disabling ulpt0 at boot:

boot -c
disable ulpt
quit



this is correct

 

and then:

# sihp1018.dl  /dev/ugen0



use cat sihp1018.dl /dev/ugen0

and of course configure your printcap to print to ugen0.

it works, we use ton's of these printers (I think even the same
model)

 
but it still does not appear to load properly - the cursor just goes 
back to # shortly thereafter and nothing happens.  Anything I print 
disappears into a black hole.  When I try things in linux the 
printer emits a few noises and the print head moves and subsequent 
printing works without a hitch.


I fear I'm doing something wrong in uploading the firmware (am I 
missing steps?).  I'm quite new to OpenBSD and am having trouble 
finding guidance on how to upload firmware to peripheral devices.  
Can anyone help me out?


Kind regards



Ooops. My mistake. The missing 'cat' was a typo. Sry.
I'm using CUPS so IIRC /etc/printcap is overwritten by CUPS and that I 
should edit /etc/cups/printers.conf instead. (Is that correct?) If I 
do this, and change the line:


DeviceURI usb:/dev/ulpt0

to:

DeviceURI usb:/dev/ugen0

I get the error message Unable to open USB device usb:/dev/ugen0: 
Permission denied. I can only see '_cups' in /etc/group and when I 
change the permissions of /dev/ugen0 to 646 I still get this 
permission error.


Why would you have permission 646? Try firstly the most naive approach 
by changing permissions

as

# chmod 0666 /dev/ugen*
# chmod 0666 /dev/usb*

then once you get everything working adjust the group ownership to _cups 
and restrict permissions to something like 0664 or even more restrictive.



I'm stumped.




Re: correct way to run kdm?

2008-07-20 Thread Predrag Punosevac

Ted Unangst wrote:

I'm trying to setup a machine running KDE.  it's supposed to look
pretty (no need for console), so I want kdm.  xdm isn't pretty enough,
and lacks the shutdown option which is a must.

First, I tried running kdm from the command line.  Kind of worked, but
when I logged in, no matter what session I picked, i wound up with
just an xterm.  This was fixed by running genkdmconf which did some
stuff.  I don't know why this was needed.

Now, the problem was whenever I quit KDE, it would drop me back at a
command prompt.  xdm didn't have this problem.  I thought maybe kdm is
only a one shot deal?  After finding the handbook (which cannot be
located by searching for either kdm documentation or kdm manual), it
has a part about FreeBSD and changing /etc/ttys to run kdm like a
getty.  DO NOT DO THIS.  It kinda works, except your keyboard will go
crazy.

Solution to this:  Edit /usr/local/share/config/kdmrc and find the
line about TerminateServer and change it to true.  For some reason,
when you quit KDE, kdm can't talk to X anymore.  If it kills and
restarts the server, all is well.  Of course, now the screen blinks a
few more times and it takes longer.

Final part.  I wanted kdm to start automatically on boot.  Once it was
out of /etc/ttys, I had to put it back into /etc/rc.local.  Doing that
appeared to work, except there was no keyboard input.  See above.
Finally I resorted to writing a script, startkdm, which I run in the
background from rc.local.  startkdm sleeps 10 seconds before actually
execing kdm.

So, everything works now, but I'm fairly certain this was harder than
it was supposed to be.  How is it supposed to work?

  

I am not running it but I thought that this was more or less correct
way

http://www.openbsdsupport.org/KDM.html



Re: Trouble trying to install texlive

2008-07-24 Thread Predrag Punosevac

John Nietzsche wrote:

Dear friends,

i am trying to get texlive installed in my computer. Inside the directory i saw:

robigo# pwd;ls -l
/usr/ports/print/texlive
total 28
drwxr-xr-x  2 root  wheel  512 Mar  7 20:59 CVS
-rwxrwxr-x  1 root  wheel  173 Nov  2  2007 Makefile
-rw-rw-r--  1 root  wheel  388 Sep  7  2007 Makefile.inc
drwxr-xr-x  5 root  wheel  512 Jul 24 15:03 base
drwxr-xr-x  4 root  wheel  512 Nov  2  2007 texmf-docs
drwxr-xr-x  4 root  wheel  512 Jul 24 15:01 texmf-full
drwxr-xr-x  5 root  wheel  512 Jul 24 15:02 texmf-minimal
robigo#


I would like to install texmf-full and base. But i realized that base
depends on texmf-minimal.
I am obligated to install texmf-mininall and ended up with the
following packages:
  
Yes, because of dependences. Texmf-full means, as the name is 
suggesting, EVERYTHING.




base, texmf-full and texmf-minimal and base

What is the diference between texmf-full and textmf-minimal?

  
If you are planing to write documents is English most likely you do not 
need texmf-full unless you have a very special needs. If plan to you use 
Cyrillic, Chinese, or Arabic you definitely need

texmf-full even for a very simple document.

Texmf-full contains far more macros and special purpose TeX packages 
than texmf-base.


Best,
Predrag


Thanks a lot for your time and cooperation.

best regards.




emul.linux not playing well with bsd.mp

2009-01-17 Thread Predrag Punosevac
I was just wonderinig if people have noticed that kernel emulator for
linux binaries
is not playing well with bsd.mp kernel. It was previously observed by
Aron Tsu that
Opera was locking on bsd.mp. In my experience this is more systematic problem.
In the past couple of weeks, I installed several different linux
binaries. Locks, hangs, even a
core dumps were regularly occuring on bsd.mp kernel while applications
were running
rock solidly on bsd kernel. Unfortunatelly, I do not have a fix but at
least I wanted to
share my experience with the community.

Cheers,
Predrag



Re: lpd(8) network printing

2011-10-19 Thread Predrag Punosevac
Philipp Westphal wrote:
 I have no problems with local printing but when it comes to remote
 printing that is what i can read in /var/log/lpd-errs: 
snip
 remember having similar problems back in 1998 running FreeBSD, i think
 a patch did the job back then, is here someone whoo can tell me more
 about that?  I didn't find anything about network printing within the
 FAQ

Because there is nothing OpenBSD specific about printing using lpd. 

To my knowledge lpd on OpenBSD and FreeBSD should have the same
functionality of old Berkeley lpd. That would mean that you could
refresh your knowledge of network printing by reading FreeBSD Handbook

http://www.freebsd.org/doc/handbook/printing-advanced.html

You can check out that OpenBSD lpd code has changed very little over
long period of time

http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/lpr/

You left out many information which makes it difficult to help you. I
gathered that OpenBSD is supposed to act as a printer server? However, I
do not know the topology of your network, firewall configuration on the
client and server side (you have to open a port on the firewall of your
printer server to receive printing jobs), you might have a DNS problem
if you use for example OpenDNS for your local network (my recommendation
that you run local DNS server or use DNS server of your local Internet
service provider if you want to have network printing). You didn't tell
us if the client is also OpenBSD machine or something else? If it is a
OpenBSD machine please show us printcap file of the client.

Did you edit /etc/hosts.lpd file on the machine which you use as a
printer server and did you add IP addresses of client machines?

Please help us if you want us to help you.

Best,
Predrag



Re: How to suggest a package?

2011-11-16 Thread Predrag Punosevac
 I see that ii (FIFO-based 'irc it' IRC client) is in the packages,
 but sic (ii's younger brother) is not. How can I suggest that
 sic be made as a package for OpenBSD?

Sic is little bit too much trouble for the 50 lines of code IRC client.
Please see this

http://marc.info/?l=openbsd-portsm=128252891727925w=2


Best,
Predrag



Re: sftp bug?

2011-06-14 Thread Predrag Punosevac
LEVAI Daniel leva () ecentrum ! hu wrote:

Uploading a directory recursively fails if it doesn't exist on the
remote site:

I do not run current on this machine but on 4.8 release everything is
fine

sftp put -R Programs
Uploading Programs/ to /home/ppunosevac/Programs
Programs/perl/docx2txt-1.0/docx2txt.bat   100% 4551 4.4KB/s 00:00  
Programs/perl/docx2txt-1.0/docx2txt.config  100% 1043 1.0KB/s 00:00 
Programs/perl/docx2txt-1.0/docx2txt.pl100%   11KB  11.1KB/s 00:01 

Note that Programs directory did not exist on the remote server. 

However it is important to notice that the server also runs OpenBSD. I
have noticed all kinds of crazy behaviors when the target server was
running Windows. What does the target server run?

Cheers,
Predrag



OSSv4 on OpenBSD

2009-05-24 Thread Predrag Punosevac
A friend of mine who is an avid NetBSD user kept complaining about how
bad is audio on NetBSD. After getting sick of hearing complains, 
I asked on OSS mailing lists about OSSv4 support for NetBSD and OpenBSD.
I actually got a very interesting answer 

http://www.4front-tech.com/forum/viewtopic.php?t=3133

I recall OSS being discussed on this mailing list after OSS went 
open source and changed the license. Can Jake or any other developers 
in charge of audio on OpenBSD explain the issues involved in porting 
OSSv4 to OpenBSD? 

I personally have fantastic experience with our audio but I would 
think that OpenBSD could benefit at least from extra audio drivers.
Am I very wrong? Sorry for the noise.

Predrag



Re: OpenBSD on the desktop / 3D acceleration / printer

2009-05-25 Thread Predrag Punosevac
Hi,
I'm thinking about installing OpenBSD on my desktop workstation.
As far as I know, there are commercial (binary) drivers for some Nvidia and
ATI cards applicable.
Do these drivers work on OpenBSD as well?
If not, which graphics cards are supported for 3D acceleration at all?
Then, I would like to connect my USB printer/scanner (Epson SX100).
From what I've learned from google, this device should work with Linux - but
does it work with OpenBSD?
Thx,
Chris

Hi Chris,

I just want to address the issue of the Epson SX100 since I belive you 
got very good answers regarding 3D acceleration.

Scanners which are supported by sane-backends work rock stable on
OpenBSD. The only exception I personally have encountered (I have 
probably tried two dozen scanners on OpenBSD) are HP SCSI scanners 
which you can probably find only in a museum anyway. The sane-backends
for those use some cheap Linux hacks.

The real issue here, I is that you want to use all-in-one device.
I have successfully used 2 different HP all-in-one devices (HPLIP)
and I failed to utilize one of Epsons all-in-one devices which was 
supposed to work.

I personally would discourage you from using all-in-one devices unless
you care only for printing.
Setting those up is a bit tricky. USB printer are seeing as ulpt
devices by OpenBSD kernel. On another hand USB scanners are seeing
as uscanner devices (about dozen or so) or as ugen devices in which
case uscanner must be disabled in kernel. In order
to be able to use all in one you will probably have to disable 
ulpt driver in kernel (most likely also umass driver as well) so that
ugen driver gets attached to all-in-one. Removing umass driver is
not a good thing to do.

The all-in-one device you have use very expensive ink anyway. 

Get yourself a cheap monochromatic printer which speaks Post Script 
language or the more expensive 
color one if you must use color. The price of the printer will
be completely offset by the price per copy. I would also recommend
getting older flat bad scanner made by Epson (Make sure they are
supported by sane-backends excluding Epkowa close source Linux only
backend). You may contact me off the list for the help with scanner 
set up unless you read Serbian in which case you can follow

http://www.bsd-srbija.org/dokumentacija/doku.php/skeniranje_sane

Speaking of printer configuration look at this thread in English 
and my (Oko) posts. 

http://daemonforums.org/showthread.php?t=3088

Best,
Predrag  

P.S. If you decide you want to try your luck with Epson SX100 send me
a PP and I will get you started. 



Re: urtw(4)

2009-06-01 Thread Predrag Punosevac
I bought a new Wireles USB device, using 5-29-2008 amd64 snapshot

That is an awfully old snapshot. You might want to use something from
this year.

Cheers,
Predrag

P.S. Sorry Sam I couldn't resist:-) 



Re: CD-ROM doesn't play

2009-06-12 Thread Predrag Punosevac
 Hi all,
 I'm trying to play music CD-ROM on my Lenovo ThinkPad SL400 with OpenBSD 4.5,
 but unsuccessfully. It seems to play, but no sound sounds.
 I've tried cdio and kscd.
 Mixerctl inputs.cd.* isn't here.
 CD is ok, I have tried it in the cd player.
 Thanks for any help,
 Milan Bartos
What happens when you do 

cdip cdplay

Can you hear anything? If you can, I suspect that CD is not connected 
physicaly to audio device. I had a laptop DeLL Latitude D830 which
had a same problem. 

Cheers,
Predrag



Re: CD-ROM doesn't play

2009-06-12 Thread Predrag Punosevac
Sorry for typo in my previous message. I ment 

cdio cdplay

of course



Re: supported printer

2009-06-16 Thread Predrag Punosevac
 Hello there,

 What models of printers does openbsd support?

 Regards,
 --
 igor denisov.

Any printer which speaks PostScript page description language or can
print ASCII code directly as well as printers which are network ready 
and speak LPD protocols will work out of box with OpenBSD.

If you are willing to install some extra drivers the choice is much
wider. All open source drivers are ported to OpenBSD Check out the 
following ports: Ghostscript, Gutenprint, HPLIP, Splix, and
foo2zjs. Also network ready printers which speak only IPP are supported
by CUPS which is one of three different spooling systems ported to
OpenBSD. 

The above should give you choice of probably couple thousands
printers. To check if particular model will work

http://openprinting.org/printer_list.cgi

Cheers,
Predrag

P.S. Note that printer which require closed  source binary blob
drivers released for Linux like some of cheaper Brother models will 
not work on OpenBSD. 



Re: Commercials for TV?

2009-06-16 Thread Predrag Punosevac
On Monday 15 June 2009 14:54:09 Fernando Quintero wrote:
 http://www.bbspot.com/News/2009/06/open # l?from=rss

 wtf?

Did anybody bother to check their archive? There are probably 10 
articles talking about OpenBSD. My favorite is Top 11 reasons
you have not installed Linux yet.

Maybe that is why this guy eats something from his foot. 

http://www.youtube.com/watch?v=I25UeVXrEHQ

Cheers,
Predrag



Re: No audio : did I miss something basic ?

2009-07-29 Thread Predrag Punosevac
I carefully looked the output of your audictl. This is mine for fully
working Sound Blaster Live Audio Card (including full duplex). Is that
what you have?

$ audioctl
name=SB Live!
version=0x07
config=emuxki
encodings=ulinear:8,mulaw:8*,alaw:8*,slinear:8*,slinear_le:16,\
ulinear_le:16*,slinear_be:16*,ulinear_be:16*
properties=full_duplex,mmap,independent
full_duplex=0
fullduplex=0
blocksize=8192
hiwat=8
lowat=6
output_muted=0
monitor_gain=0
mode=
play.rate=48000
play.channels=2
play.precision=16
play.encoding=slinear_le
play.gain=255
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=0
record.samples=0
record.eof=0
record.pause=0
record.error=0
record.waiting=0
record.open=0
record.active=0
record.buffer_size=65536
record.block_size=8192
record.errors=0

I am running 4.5/i386 stable with bsd.mp kernel. The only thing 
I personally could notice is that your version is 0x00 and mine is
0x07. When did you purchase your Audio Card? I think that they are 
monkeying with the chip-sets in the new cards and the driver might have
a problem.

Cheers,
Predrag



Re: printer problem

2009-08-21 Thread Predrag Punosevac
2009/8/21 igor denisov denisovigor1...@rambler.ru:
 Hi there,

 I have a problem with Samsung ML-2015

 /etc/printcap

 lp|local printer|ML2015:\
:lp=/dev/lpt0:\
:sd=/var/spool/output:\
:lf=/var/log/lpd-errs:

 rc.conf

 lpd_flags=

 ps ax | grep lpd
 114 ?? Is 0:00.00 lpd
 25472 S+ 0:00.00 grep lpd

 Run

 #lptest 70 5 | lpr -PML2015

 LCD blincks, printer sounds promising and no any output at all.

 Regards,
 Igor.

 --
 igor denisov.

 --
 Internet Explorer 8 - sqjnphrek| hmrepmer`! http://ie.rambler.ru/

I could not find that particular model in Open Printing database but
most of those cheep Samsung printers require Splix 2.0 driver since
they speak Samsung proprietary language. Splix 2.0 is ported to OpenBSD.
Are you sure that your printer speaks PostScript? You printcap looks 
OK for a PostScript printer. 

Cheers,
Predrag



Re: printer problem

2009-08-21 Thread Predrag Punosevac
igor denisov denisovigor1...@rambler.ru wrote:

 * Predrag Punosevac punoseva...@gmail.com [Fri, 21 Aug 2009 14:02:44 
 -0400]:
  2009/8/21 igor denisov denisovigor1...@rambler.ru:
   Hi there,
  
   I have a problem with Samsung ML-2015
  
   /etc/printcap
  
   lp|local printer|ML2015:\
  :lp=/dev/lpt0:\
  :sd=/var/spool/output:\
  :lf=/var/log/lpd-errs:
  
   rc.conf
  
   lpd_flags=
  
   ps ax | grep lpd
   114 ?? Is 0:00.00 lpd
   25472 S+ 0:00.00 grep lpd
  
   Run
  
   #lptest 70 5 | lpr -PML2015
  
   LCD blincks, printer sounds promising and no any output at all.
  
   Regards,
   Igor.
  
   --
   igor denisov.
  
   --
   Internet Explorer 8 - sqjnphrek| hmrepmer`! http://ie.rambler.ru/
 
  I could not find that particular model in Open Printing database but
  most of those cheep Samsung printers require Splix 2.0 driver since
  they speak Samsung proprietary language. Splix 2.0 is ported to 
 OpenBSD.
  Are you sure that your printer speaks PostScript? You printcap looks
  OK for a PostScript printer.
 
  Cheers,
  Predrag

 Well, when I issue
 #gs -h

 Available 
 devices:,samsunggdi,..

 sumsunggdi supports ML2010 so looks like should run.

 Regards,
 Igor.


 --
 igor denisov.

 --
 Internet Explorer 8 - ?? ?! http://ie.rambler.ru/

You are contradicting yourself. You showed us a printcap file for 
PostScript capable printer. Now you are telling me that there is 
a GhostScript driver for it. Then your printcap is not correct as
you need a input filter. You have a choice of using foomatic-rip or
writing a small filter yourself. 
It should look something like
more /usr/local/libexec/lpfilter-ps
#!/bin/sh
# Treat LF as CR+LF
printf \033k2G || exit 2
# Print the postscript file
/usr/local/bin/gs -dSAFER -dBATCH -dQUIET -dNOPAUSE -q -sDEVICE=ljet4 \
-sOutputFile=- -sPAPERSIZE=a4 -  exit 0
exit 2

Replace ljet4 with the name of the driver which you believe supports
your printer. 

Printcap should look like

lp|local|HP:\
:lp=/dev/lpt0:\
:sd=/var/spool/output:\
:lf=/var/log/lpd-errs:
:sh:mx#0:if=/usr/local/libexec/lpfilter-ps:

You just need to edit device node /dev/lpt0 otpion (maybe).

Cheers,
Predrag

P.S. I would check OpenPrinting data base before I really believe that
Samsung printer can be driven by GhostScript. I am not saying it is not
possible. I am just saying that in my experience those cheep one tend
to require Splix.



Re: Presentation tool

2009-08-24 Thread Predrag Punosevac
 Hi,

 I have a presentation coming up, and I would like to use my OpenBSD laptop 
 for it. \
 What is the recommended application for a slides driven presentation?

 Thanks

LaTeX/Powerdot beats the crap out of Beamer. The manual is only
50 pages unlike Beemer which is 400 and some pages.
It is contained in TeXLive 

http://www.ctan.org/tex-archive/macros/latex/contrib/powerdot/

Cheers,
Predrag



Re: Broadcom BCM5716 support in 4.6/snapshots

2009-09-13 Thread Predrag Punosevac
 Hi,

 I bought a couple new dells with Broadcom BCM5716 chips on the  
 motherboard
 for network support but everytime I boot and it gets to the starting  
 network
 it reboots on me.

 Anyone have any ideas on this?

 thanks,

 JB
Hi,

I got two weeks ago brand new OptiPlex 960. I think it is manufactured 
in mid August of this year. It does come with Broadcom Gigabit LAN card.
I will check the chip-set for you as well post the dmesg for the 
developers when I get tomorrow into my office.

There was absolutely no way to get that thing working on OpenBSD but
the installer was not rebooting on me. It just didn't see the LAN card. 
I tested with Linux and it was dead as well. I just used PCI LAN card
and I am now happy camper. 

On the final note I want to document one more thing for other users. 
Those new DeLLs come with some kind stupid software RAID. One has to  
get into the BIOS and adjust SATA controller into IDE legacy mode. 
OpenBSD will not otherwise recognize the HDD and I just learned from the
fellow NetBSD user that NetBSD has the same problem.

Other than that new DeLL OptiPlex 960 is 100% functional with the 
4.6 snapshot including my fancy ATi video card. 

Best,
Predrag

P.S. I got this DeLL with 4Gb of RAM and OpenBSD (amd64) sees about 
3.3Gb. I assume that that is normal behavior as bigmem is still not
enabled. 



Re: Broadcom BCM5716 support in 4.6/snapshots

2009-09-14 Thread Predrag Punosevac
 Hi,

 I bought a couple new dells with Broadcom BCM5716 chips on the
 motherboard
 for network support but everytime I boot and it gets to the starting
 network
 it reboots on me.

 Anyone have any ideas on this?

 thanks,

 JB
 Hi,

 I got two weeks ago brand new OptiPlex 960. I think it is manufactured
 in mid August of this year. It does come with Broadcom Gigabit LAN  
 card.
 I will check the chip-set for you as well post the dmesg for the
 developers when I get tomorrow into my office.

 There was absolutely no way to get that thing working on OpenBSD but
 the installer was not rebooting on me. It just didn't see the LAN  
 card.
 I tested with Linux and it was dead as well. I just used PCI LAN card
 and I am now happy camper.

 On the final note I want to document one more thing for other users.
 Those new DeLLs come with some kind stupid software RAID. One has to
 get into the BIOS and adjust SATA controller into IDE legacy mode.
 OpenBSD will not otherwise recognize the HDD and I just learned from  
 the
 fellow NetBSD user that NetBSD has the same problem.

 Other than that new DeLL OptiPlex 960 is 100% functional with the
 4.6 snapshot including my fancy ATi video card.

 Best,
 Predrag

 P.S. I got this DeLL with 4Gb of RAM and OpenBSD (amd64) sees about
 3.3Gb. I assume that that is normal behavior as bigmem is still not
 enabled.



Here is the dmesg I promised.

OpenBSD 4.6-current (GENERIC.MP) #168: Mon Aug 31 17:09:01 MDT 2009
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3486511104 (3324MB)
avail mem = 3391860736 (3234MB)
RTC BIOS diagnostic error 11memory_size
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf0450 (82 entries)
bios0: vendor Dell Inc. version A04 date 04/29/2009
bios0: Dell Inc. OptiPlex 960
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT APIC BOOT ASF! MCFG HPET TCPA  SLIC
acpi0: wakeup devices VBTN(S4) PCI0(S5) PCI4(S5) PCI2(S5) PCI3(S5) PCI1(S5) 
PCI5(S5) PCI6(S5) MOU_(S3) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz, 2992.91 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu0: 6MB 64b/line 16-way L2 cache
cpu0: apic clock running at 332MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz, 2992.50 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu1: 6MB 64b/line 16-way L2 cache
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 8
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 4 (PCI4)
acpiprt1 at acpi0: bus 2 (PCI2)
acpiprt2 at acpi0: bus 3 (PCI3)
acpiprt3 at acpi0: bus 1 (PCI1)
acpiprt4 at acpi0: bus -1 (PCI5)
acpiprt5 at acpi0: bus -1 (PCI6)
acpiprt6 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C3, C2, C1
acpicpu1 at acpi0: C3, C2, C1
acpibtn0 at acpi0: VBTN
cpu0: unknown Enhanced SpeedStep CPU, msr 0x0616092606000926
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 2992 MHz: speeds: 3000, 2000 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel Q45 Host rev 0x03
ppb0 at pci0 dev 1 function 0 Intel Q45 PCIE rev 0x03: apic 8 int 16 (irq 11)
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon HD 3450 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
vendor Intel, unknown product 0x2e14 (class communications subclass 
miscellaneous, rev 0x03) at pci0 dev 3 function 0 not configured
pciide0 at pci0 dev 3 function 2 Intel Q45 PT IDER rev 0x03: DMA 
(unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide0: using apic 8 int 18 (irq 9) for native-PCI interrupt
pciide0: channel 0 ignored (not responding; disabled or no drives?)
pciide0: channel 1 ignored (not responding; disabled or no drives?)
Intel Q45 KT rev 0x03 at pci0 dev 3 function 3 not configured
Intel ICH10 D BM LM rev 0x02 at pci0 dev 25 function 0 not configured
uhci0 at pci0 dev 26 function 0 Intel 82801JD USB rev 0x02: apic 8 int 16 
(irq 11)
uhci1 at pci0 dev 26 function 1 Intel 82801JD USB rev 0x02: apic 8 int 17 
(irq 5)
uhci2 at pci0 dev 26 function 2 Intel 82801JD USB rev 0x02: apic 8 int 22 
(irq 5)
ehci0 at pci0 dev 26 function 7 Intel 82801JD USB rev 0x02: apic 8 int 22 
(irq 5)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801JD HD Audio rev 0x02: apic 8 int 
16 (irq 11)
azalia0: codecs: Analog Devices AD1984A
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 

Re: Can be PF block skype?

2009-11-04 Thread Predrag Punosevac
David Taveras wrote:
 Can PF be programmed to block skype? Provided we have port 80
 and 443 Opened to the world, and perhaps DNS port too... skype
 finds any open port to connect to.

It has been discussed earlier. The short answer is yes with a little 
help

http://lists.grok.org.uk/pipermail/full-disclosure/2005-November/038646.html



Sun Fire x2270 experience

2009-11-11 Thread Predrag Punosevac
Dear All,

I was wondering if I could get some input on Sun Fire x2270. Our 
department is getting ready to purchase one for running statistical
software R. Application will be provided via local network to our 
faculty and students. 

Thank You,
Predrag Punosevac

P.S. I really gave a hard push to run OpenBSD but it is probably going
to run SuSE enterprise edition due to the University requirements.
Could anybody give a quick update on bigmem status. One of the reasons
I could not push harder is that will come with 16Gb of RAM.



Re: Gnash

2009-11-22 Thread Predrag Punosevac
Does anybody use it happily?

I used in the past to read RIA novosti news web-site. It became useless
about 6-7 months ago when they upgraded to newer version of Flash.
Gnash is in my experience Flash 7 compatible at best.

On the another hand I am really impressed by swfdec and swfdec-plugin.
You have to have the latest version 8.0 (plugin 8.4) from current.
It works flawlessly (including AMD 64) for YouTube and Google video. 
It works somewhat for other web-sites containing Flash (for me the most
important some web interface for Maple computer algebra system). It 
is very stable and never crashes the browser but sometimes simply
doesn't render media content.
Swfdec library was supposed to be updated in April but I do not see any
news regarding the newer versions. I feel that swfdec could be very 
stable, 100% compatible solution for Flash, in one at most two 
major release iterations.

Best,
Predrag



Re: Gnash

2009-11-24 Thread Predrag Punosevac
Chris Bennett ch...@bennettconstruction.biz wrote:



 Predrag Punosevac wrote:
  Does anybody use it happily?
  
 
  I used in the past to read RIA novosti news web-site. It became useless
  about 6-7 months ago when they upgraded to newer version of Flash.
  Gnash is in my experience Flash 7 compatible at best.
 

I forgot about this old Diana's post.

http://marc.info/?l=openbsd-miscm=119765675010299

You asked me about my experience. I told you my experience. 



  On the another hand I am really impressed by swfdec and swfdec-plugin.
  You have to have the latest version 8.0 (plugin 8.4) from current.


My bet. It is swfdec version 0.8.4 and the plugin version 0.8.2.



 I didn't have plugin installed, so I installed it.
 But neither -current packages nor ports has plugin at 8.4.
 I ended up with swfdec-plugin-0.8.2p0
 This version does not work at any sites I tried.

Very possible. Worked for me only on couple selected sites but when
it works it works rather well. On the another hand did you notice
that Jake said that he thinks that it has memory leak. I would trust 
him. He ported swfdec and even patched audio so that it works with OSS.


 Where is plugin version 8.4 located at?
  It works flawlessly (including AMD 64) for YouTube and Google video. 
  It works somewhat for other web-sites containing Flash

 Chris

 -- 
 A human being should be able to change a diaper, plan an invasion,
 butcher a hog, conn a ship, design a building, write a sonnet, balance
 accounts, build a wall, set a bone, comfort the dying, take orders,
 give orders, cooperate, act alone, solve equations, analyze a new
 problem, pitch manure, program a computer, cook a tasty meal, fight
 efficiently, die gallantly. Specialization is for insects.
-- Robert Heinlein



Make utility documentation

2009-11-26 Thread Predrag Punosevac
Dear All,

Could you kindly point me to the documentation about OpenBSD make
utility and makefile.
I read man pages but I am thirst for more. I am interested in general
use of make utility
rather than the specific use for porting software to OpenBSD.

What do people think of Managing projects with make written by
Andrew Oram and Steve
Talbot published by O'Reilly?

Best,
Predrag



Opera on bsd.mp kernel

2009-11-29 Thread Predrag Punosevac
Dear All,

This is not really a question but an observation that I made which 
might be useful to others so I would like to share with you.

On several occasions people have noticed that Opera is freezing on
bsd.mp kernel. Some people were quick to blame OpenBSD multi-treading 
code and memory management. I claim that is not the case.

I was just able to run Opera 9.64 on 4.5 i-386 stable using bsd.mp 
kernel for many hours without any problems. 

The trick to do the following. When you start Opera for the first time
by default you will be redirected to Opera web-site and the browser
will freeze within 10-20 second. Kill it manually by listing associated
processes. Then restart the Opera and this time the browser will ask you
before starting if you want to start from the last time, home page, or 
blank page. Chose to start with the blank page. Go immediately to 
preferences and open advance preferences. Go to History. I have turned 
off memory cache and use only disk cache which I chose to empty on 
exit. Then I went to content and the only thing I am enabling is 
animated images and Java Script. I also accept cookies only from sites
I visit and delete them when I exit Opera. I also mask appearance as 
Firefox. I personally have disabled Wan password manager.

With those couple choices I was able to run Opera couple hours without
a hitch. I did NOT use http proxy!!! I have not tried to use its email 
client or IRC client so you will have to play with it and see if it 
works. I have no interest in Opera e-mail client am I am a happy user of
Hairloom mailx. I almost never use IRC but when I use it is usually sic
IRC client. 

Best,
Predrag Punosevac

P.S. Hopefully people will be now able to use Opera on multicore 
machines which run i386. Note also that Opera 10.10 in current has
build in spell checker so it is a complete solution for people who
are disillusioned with Firefox. 



ATutor

2009-12-16 Thread Predrag Punosevac
Dear All,

Is anybody using Learning Management System ATutor? The only LMS I 
noticed in ports is Moodle which is terribly outdate. I looked into 
installation of ATutor and it seems to me that it is just of bunch of 
xhtml, java-script, and php files which have to up unloaded in the right
directory and correctly linked with MySQL. Obviously ATutor also 
requires PHP module for Apache. 

Does anybody see the value of porting ATutor?

Best,
Predrag

P.S. Do people have any experience with Drupal as LMS? Does it have a 
grade-book?



Re: ATutor

2009-12-16 Thread Predrag Punosevac
Fred Crowson fred.crow...@googlemail.com wrote:

 On 12/16/09, Fred Crowson fred.crow...@googlemail.com wrote:
  On 12/16/09, Predrag Punosevac punoseva...@gmail.com wrote:
  Dear All,
 
  Is anybody using Learning Management System ATutor? The only LMS I
  noticed in ports is Moodle which is terribly outdate. I looked into
  installation of ATutor and it seems to me that it is just of bunch of
  xhtml, java-script, and php files which have to up unloaded in the right
  directory and correctly linked with MySQL. Obviously ATutor also
  requires PHP module for Apache.
 
  Does anybody see the value of porting ATutor?
 
  Best,
  Predrag
 
  P.S. Do people have any experience with Drupal as LMS? Does it have a
  grade-book?
 
  What's wrong with Moodle?  I know that the packaged version is behind the
  current release but you can upgrade quite easily.
 
  And it runs nicely in the httpd chroot.
 
  Fred

 Sorry should have said have you asked on ports@ about bring moodle up
 to the latest version?

 Thanks

 Fred
 PS I would added to my own to-do list but I'm already behind on
 getting netbeans uptodate

No, I have not asked on ports about updating. I contacted privately the
port maintainer who promised that he will update port pending on his 
time. Fortunately, he happens to work on more interesting things than 
updating Moodle. Since he is busy and I need the port I fell it is up
to me to send the diff which people will test. 

Well guess what? I did little bit of research and asking around so
I prefer to spend my time on ATutor. That is just a personal preference.

The Moodle in present state is useless as it doesn't contain the 
grade-book module. The grade-book has been introduced in Moodle one or 
two releases after the Kev's port. Some of more interesting features 
of Moodle according to my source are closed source and needs to be 
purchased. I am all ears and I would love to be contradicted and 
provided with other testimonials. ATutor feels lot simpler than Moodle
but I might be very wrong. 

Most Kind Regards,
Predrag Punosevac



Re: ATutor

2009-12-17 Thread Predrag Punosevac
Kevin Lo ke...@kevlo.org wrote:

 On Wed, 2009-12-16 at 16:29 -0500, Predrag Punosevac wrote: 
  Fred Crowson fred.crow...@googlemail.com wrote:
  
   On 12/16/09, Fred Crowson fred.crow...@googlemail.com wrote:
On 12/16/09, Predrag Punosevac punoseva...@gmail.com wrote:
Dear All,
   
Is anybody using Learning Management System ATutor? The only LMS I
noticed in ports is Moodle which is terribly outdate. I looked into
installation of ATutor and it seems to me that it is just of bunch of
xhtml, java-script, and php files which have to up unloaded in the 
right
directory and correctly linked with MySQL. Obviously ATutor also
requires PHP module for Apache.
   
Does anybody see the value of porting ATutor?
   
Best,
Predrag
   
P.S. Do people have any experience with Drupal as LMS? Does it have a
grade-book?
   
What's wrong with Moodle?  I know that the packaged version is behind 
the
current release but you can upgrade quite easily.
   
And it runs nicely in the httpd chroot.
   
Fred
  
   Sorry should have said have you asked on ports@ about bring moodle up
   to the latest version?
  
   Thanks
  
   Fred
   PS I would added to my own to-do list but I'm already behind on
   getting netbeans uptodate
  
  No, I have not asked on ports about updating. I contacted privately the
  port maintainer who promised that he will update port pending on his 
  time. Fortunately, he happens to work on more interesting things than 
  updating Moodle. Since he is busy and I need the port I fell it is up
  to me to send the diff which people will test. 

 Okay, I have some free time. I just sent an updated diff for moodle 
 on po...@. Please test it, thanks! 

Kev,

Thank you so much. I will test in the next day or so. On another note I
have played for the past 10-12 hours with ATutor. The good news is that
actually your Moodle port can be used as template for ATutor. If you 
start with your Makefile for Moodle it would be enough just to replace
port name with ATutor-1.6.3, edit the web-site and remove PostgreSQL 
flavour since ATutor works only with MySQL. Here is the quick and 
dirty Makefile I hope I will have some time this weekend to clean the 
port and actually to send ATutor to ports. Obviously there would be no 
flavors in the final version and php-mysql module has to be add as run 
dependencies. The quick and dirty ATutor makefile is shown below. The 
real difficulty with ATutor is to fire up MySQL, PHP module in proper
order and create /var/www/tmp directory so that we can still use Apache
in the chroot. 

Best,
Predrag

penBSD: Makefile,v 1.10 2007/09/15 20:38:22 merdely Exp $

COMMENT=learning management system

DISTNAME=   ATutor-1.6.3
PKGNAME=${DISTNAME}
CATEGORIES= www education

HOMEPAGE=   http://www.atutor.ca/

MAINTAINER= Kevin Lo ke...@openbsd.org

# GPL
PERMIT_PACKAGE_CDROM=  Yes
PERMIT_PACKAGE_FTP=Yes
PERMIT_DISTFILES_CDROM=Yes
PERMIT_DISTFILES_FTP=  Yes



MASTER_SITES=   http://sourceforge.net/projects/atutor/files/ATutor
EXTRACT_SUFX=   .tgz

EXTRACT_ONLY=   
NO_BUILD=   Yes
NO_REGRESS= Yes
PKG_ARCH=   *

PREFIX= /var/www
INSTDIR=${PREFIX}/atutor
SUBST_VARS= INSTDIR

RUN_DEPENDS=:php5-gd-*:www/php5/extensions,-gd \
:php5-mbstring-*:www/php5/extensions,-mbstring

FLAVORS=mysql 
FLAVOR?=

.if ${FLAVOR:L:Mmysql}
RUN_DEPENDS+=   :php5-mysql-*:www/php5/extensions,-mysql
.endif


do-install:
@cd ${PREFIX}  tar zxf ${FULLDISTDIR}/${DISTNAME}${EXTRACT_SUFX}
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/*

.include bsd.port.mk







  Well guess what? I did little bit of research and asking around so
  I prefer to spend my time on ATutor. That is just a personal preference.
  
  The Moodle in present state is useless as it doesn't contain the 
  grade-book module. The grade-book has been introduced in Moodle one or 
  two releases after the Kev's port. Some of more interesting features 
  of Moodle according to my source are closed source and needs to be 
  purchased. I am all ears and I would love to be contradicted and 
  provided with other testimonials. ATutor feels lot simpler than Moodle
  but I might be very wrong. 

  Most Kind Regards,
  Predrag Punosevac

 Kevin



Re: lpd printing

2010-05-08 Thread Predrag Punosevac
On 2010-05-07, Chris Bennett ch...@bennettconstruction.biz wrote:
 On 05/07/10 16:59, Frank Bax wrote:
 I've never printed from my OpenBSD desktop.
 I've used lpd on Windows to print to HP printers with HP JetDirect.

 I read the recent thread about lpd/postscript.

 Will I be able to use lpd to print to any HP JetDirect printer?

 I'm looking at getting an HP 1518ni colour laser.

 Does HP postscript level 3 emulation qualify as postscript support


Yes, it does. You do not need any drivers for that printer as long as 
you send only PostScript files. You are almost good to print with 
default /etc/printcap file

lp|local line printer:\
:lp=/dev/lp:sd=/var/spool/output:lf=/var/log/lpd-errs:

Just replace local line printer with the name of your printer and 
/dev/lp with the device node to which printer is attached.


 Frank


 If your printer is postscript, LPRng + apsfilter is a simple way to 
 install. It is also very lightweight.

Apsfilter works with LPR from the base as well. Unless he is planning
to install 500 printers which will be used by 5000 different users 
following complex policies I see no advantage in installing LPRng.

Apsfilter is good magic filter which will allow him to forget about the
types of the files which he is sending to printer as it will
automatically call appropriate filter which will convert any files to 
PostScript.


The same can be accomplished with much more modern program (foomatic 
filter) in which case /etc/printcap will look something like

lp|Lj4L|HP Lj4L:\
:lp=/dev/lpt0:\
:af=/etc/foomatic/HP-LaserJet_4L-ljet4.ppd:\
:if=/usr/local/bin/foomatic-rip:\
:sh:sd=/var/spool/output:\
:lf=/var/log/lpd-errs:

Obviously HP-LaserJet_4L-ljet4.ppd is PostScript description file which
can be generated with foomatic-fip but is also usually supplied by 
manufacturers on the installation CD.

Cheers,
Predrag



Re: It is 2010. Still no 3GB support by default?

2010-06-07 Thread Predrag Punosevac
Dexter Tomisson wrote:
 I'd really, really like to know what's the matter with a larger memory
 support?
 
 Why is 'bigmem' still not default? What faults/bugs does it still has?
 

It has always being default on real hardware. Your problem is that you
are using shitty Wintel hardware.

http://quigon.bsws.de/papers/2010/bsdcan-openbsdupdate/mgp2.html

 What do you need to make it ok? Do you need a hardware donation to make that
 better,
 do you need few bucks, do you need a good coder to improve that, or again
 some license problems perhaps?,
 what's the problem, share with us please, I'd really like to help with
 everything i can.
 
 I hope, maybe someday, our beloved Puffy will catch up to the 21st century.
 Regards.
 
 deX 



MIME support for mail

2010-06-22 Thread Predrag Punosevac
This question is inspired by the recent discussion on nail-devel mailing
list 

http://sourceforge.net/mailarchive/forum.php?forum_name=nail-devel

as well as a private discussion Martin, William, and me had, which you
can read below. 

The only reason I personally chose to use nail over mail from
the base of OpenBSD is MIME as well as IMAP/POP support. I suspect this
is the case with most nail users. IMAP/POP support is not really a big 
deal and should not be part of the base. It could be easily achieved by 
fdm for instance

http://fdm.sourceforge.net/

On another hand OpenBSD version of mail lacks MIME support which is
unfortunately must for me. Yes, I know that MIME functionality can be
achieved by MetaMail or Mpack. However it has been brought to my 
attention that NetBSD version of mail does have such a support. 
I compared the source files for NetBSD version of mail with OpenBSD
version of mail. It appears that MIME functionality has been added to
NetBSD mail about two years ago by adding 7 source and 7 header files. 
The other files look very similar at least in names. How difficult 
would be to port this functionality from NetBSD version of mail?

I guess that this is really the question for Theo and Damien who have
the most of recent CVS commits to mail. I apologize for this noise but 
I am really curios.

Best,
Predrag





 Original Message 
From: William Yodlowsky will...@openbsd.org
To: Predrag Punosevac punoseva...@gmail.com
Subject: Re: [nail-devel] Request II for 12.5 release
Date: Tue, 22 Jun 2010 22:15:15 -0400

On 22 June 2010 at 16:04, Predrag Punosevac punoseva...@gmail.com wrote:

 Martin Neitzel neit...@gaertner.de wrote:
 
  Hi Predrag!
 
  [This reply comes a lttle belated and refers actually to a previous
  email of yours.  This is just a small suggestion.]
 
  If you are doing the courtesy service of providing nail-tar-balls,
  I recommend to go the whole mile and provide the diffs between the
  versions, too.  (I.e., the output from cvs patch -u -r R12_3 -r R12_4 .
  etc.)
 
  This is something I greatly miss in the sendmail releases.  Not so much
  for bandwith reasons, but for a quick review what changed and swift
  security auditing.  Creating the diff locally is always possible but a
  nuisance, in particular if I have already local mods.
 
 Hi Martin,
 
 I am on the same page with you. The thing is that the official nail port
 maintainer is William Yodlowsky. Will is really cool guy but also very

Thanks.

 busy so I pushed him in the past buy sending diff for 12.4 release for
 example. I am going to proceed in the same fashion. I was planning to
 install current on one of the machines and do exactly what you suggested
 hopping that he will pick up peaces at po...@openbsd and commit the
 port.

No worries, I lurk on nail-devel.  I can look at adding patches to bring
the port up to nail's current code, but I was hoping (and waiting) for
Gunnar to release 12.5.

I wrote about keeping a tarball of nail when I responded in private 
mail to him, back when the thread started.  He didn't care to respond.

Admittedly, his lack of action on fixing bugs and nail's crashes on
well-formed attachments has led to nail not being my MUA of choice for 
some time now, so I didn't track changes very closely.  I also didn't
realize people were using it...

 There is also another issue. OpenBSD will soon be free of Sendmail.
 There are two options. One is to alter Makefile so that nail uses
 native OpenSMTPd. Another one is to introduce Sendmail-static dependency
 (Sendmail-static is a small statically linked Sendmail used in the
 chroot environment for instance to deliver massages from your web-server)

/usr/sbin/sendmail is ingrained in many places.  Even if Sendmail were
to be removed, I find it difficult to believe there would be no
Sendmail-like message submission.



Re: Anyone still using a SCSI scanner (i.e., ss(4))?

2010-06-23 Thread Predrag Punosevac
Matthew Dempsky wrote:
 SCSI scanners are marked obsolete at least as of the latest SCSI
 working drafts, and other than updates to keep in sync with other
 kernel subsystem changes, ss(4) doesn't seem to have received any real
 attention in about a decade.
 
 

I am a heavy scanner user and I think I used no less than a dozen of
various USB scanners with OpenBSD. However last year, I stumbled upon an
HP made SCSI scanner (I forgot the model). Since, I had an Sun Ultra 5
laying around I gave a shot. I discovered very quickly by reading
sane-backends man pages that support for several of HP SCSI model is
just a cheap hack which works only on Linux (driver expect device names,
driver names to be Linux). I gave up quickly since those things are
worthless anyway. You may get a solid USB scanner made by Epson in U.S.
for around $25. 

Cheers,
Predrag



Scanning without SANE

2010-07-02 Thread Predrag Punosevac
Dear All,

This is not really a question but rather an observation which I made
today and which could be very useful for desktop users. It concerns
use of scanners (even Windows only printers).

As we know the standard way to access scanners on OpenBSD is using 
sane-backends drivers. They support a fair number of scanners 
in particular better flat bad USB scanners. Some all-in-one devices
produced by Epson are also supported. Sane-backends are supposedly
supporting large number of HP made all-in-one devices via proprietary 
hpaio library which is a part of HPLIP. Unfortunately HPLIP is written
with Linux only in mind and it works rather well on OpenBSD only due to
heroic effort of our developer Antoine Jacoutot. Luckily it turns out
that you do not need any software or drivers to scan with most HP
all-in-one device!

My wife has a HP Photosmart C5250 all-in-one. C5250 comes with several 
readers for various types of flash memory cards commonly used by digital
cameras. If you press scan button the small menu pups up on the C5250 
display with gives you option of scanning directly onto the flash memory
card. At the same time a generic kernel of OpenBSD to which my HP
all-in-one is connected via USB sees the same flash memory card as a
standard SCSI HDD. I just mounted the flash memory as 

mount -t msdos /dev/sd0i /mnt 

and I could see a directory on /mnt with scan images. 

I would guess that the above trick works for any all-in-one or scanner
device which has flash memory cards readers including the one produced
by Canon and Brother which are not supported by sane-backends.

I could even see that you could print on these all-in-one devices
without any drivers as long as the kernel sees card readers as SCSI HDD
when the all-in-once are connected via USB (or network). You just send
your files to flash cards and once there you print directly to printer.

Enjoy,
Predrag Punosevac

P.S. I hope you will find above hardware solution for printing and
scanning as interesting as OpenBSD way of VoIP (ssh+aucat).



Re: Can't get Printing with hp officejet 5610

2010-07-09 Thread Predrag Punosevac
Donald Cooley dfcooley () gmail ! com wrote:

 I have an hp offficejet 5610 all-in-one printer.
 Following the instructions from pkg_add:
 To add a CUPS printer, use the 'hp-makeuri' command.
 e.g. for a network printer:
 $ hp-makeuri 192.168.10.100
 ...
 CUPS URI: hp:/net/HP_LaserJet_5100_Series?ip=192.168.10.100

 And I've read hp-makeuri -help  and I'm stuck. I've tried sudo
 hp-makeuri serial_number/localhost/192.168.1.248 ,etc.
 each time I get error: Device not found

 Maybe I'm giving the wrong device. Could someone point me in the right
 direction?

 --
 regards,
 donald cooley

For the past two years I had no reason to use CUPS. I use stock LPD. I
do use a network printer at work and adding it is as simple as editing
the IP address in /etc/printcap file

#rp|remote line printer:\
#:lp=:rm=printhost:rp=lp:sd=/var/spool/output:lf=/var/log/lpd-errs: 

as long as your printer is PostScript ready. Uncomment both lines and
replace printhost with the IP address of your printer. There are three 
kinds of issues which you could encounter from the top of my head.

Make sure your PF rules allow on-line printing. Bare in mind that CUPS
speaks IPP so the port 631 must allow outbound traffic and keep the
state. In my case it is port 515 since LPD speaks LPD protocol. Refer to
/etc/services!!! 


Spooling and log directory must exist and have appropriate owners,
groups, and permissions.

Finally if you use OpenDNS like me (or Google DNS) you will have to
run local DNS server so that the printer address can be resolved or two
add the DNS address of your ISP into /etc/resolv.conf as the third DNS
server. This is exactly what I am doing at work.

Best of luck.
Predrag 

P.S. I did use network printers with CUPS back in Arizona and honestly
do not recall anything special about configuration on the client side.
Configuring server side of CUPS is a bit of work but nothing serious.
I just used web-interface 

http://localhost:631/

to add the printer. CUPS has fairly good documentation
http://www.cups.org/doc-1.1/sum.html



Re: What does your environment look like?

2010-01-03 Thread Predrag Punosevac
Brynet bry...@gmail.com wrote:

 Hi,

 I know not everyone uses OpenBSD for a desktop OS, 

I personally run only OpenBSD on all my desktops. I spend no less than 
5 hours a day working on them and no I am not a software developer.
I must admit though I enjoy writing a nice AWK or a shell script. 



 but I have been for
 nearly 5 years and I'm quite curious about some of your opinions? do you
  embrace minimalism or pure aesthetics? are the two mutually exclusive?

 When I started using OpenBSD (..around 3.7) I was frequently switching
 between window managers, tweaking.. but for 2 years now I've been using
 fluxbox and I believe I'm comfortable with it.

 * Do you use one of the bundled window managers like
 cwm(1)/twm(1)/fvwm(1) or something else?

I was surprised to see how few cwm users responded to your message so
for the record I use cwm. My wife uses cwm. My children use cwm. We 
switched from OpenBox around the time cwm became the part of the base. 
We could not be happier.



 * What other utilities do you find useful, any dockapps or similar
 applets? personal customizations?

Please see for yourself 

$ more .xsession
#!/bin/sh
xidle -program /usr/X11R6/bin/xlock -timeout 300 
xclock -geometry -0+0 
feh --bg-scale /home/predrag/Desktop/ocean.jpg 
exec cwm

$ more .Xdefaults
XTerm*loginShell: true
XTerm*faceName: Mono
XTerm*faceSize: 11
XTerm*background: black
XTerm*foreground: gray

Xft.antialias: true

XClock*analog:  false
XClock*strftime:%T %A %e %B
XClock*face:ter-d12n
XClock*interval:1
XClock*margin:  0
XClock*foreground:  gray
XClock*background:  black


$ more .cwmrc
# Turn on sticky-group mode
sticky yes
# Any entry here is shown in the application menu
command Opera   opera
command Rox rox
command Ogleogle 
command Xfigxfig
command Xsane   xsane
command Xcalc   xcalc  
# Keybindings
bind CM-m   xterm -e nail -A gmail
bind CM-space   xterm -e nail -A gsu
# Autogroup definitions
autogroup 2 xterm,XTerm



 * Do you try to keep things uniform across other desktops?

Yes, I do synchronize my desktops with unison

http://www.cis.upenn.edu/~bcpierce/unison/


 * What does your environment look like? anyone willing to post
 screenshots or actual workspace photos?


There is nothing really to post. See my .xsession and .Xdefaults. For a
very long time I was using default gray X server with the xclock, the
xconsole, and a pile of xterms. My kids got me spoiled. Now I use eye 
candy in a form of a nice wallpaper set by feh. 

 I realize none of this may be relevant or even useful, but I figured it
 was worth asking here anyway.

 Anyone feel like humouring me? :-)

 Thanks.
 -Bryan.

You are welcome:-)
Predrag



Editing PDF files

2010-01-04 Thread Predrag Punosevac
I hope, I am not going to annoy too many people with this rather general
question. 

I have some PDF form that I need to fill in. I thought that I would be 
able to accomplish the job in couple of minutes. Namely, my idea was
to convert PDf file to PS file and then to use pstoedit to convert the
PostScript file into fig file. Then like in old good times I would just
add text to fig file and export to PDF. Just to be on the safe side I 
was to do the above process a single page at the time. 

My problem is that pstoedit is producing a huge non-usable fig file.

What would be more claver way to accomplish above task short of buying
Acrobat or using on-line PDF editing tools and exposing my private 
information.

I heard that KOffice and Scribe have the ability to edit PDF file as
well as Gimp. I am somewhat familiar with PDFEdit even though it is not
ported to OpenBSD and not very enthusiastic about its abilities.

Most Kind Regards,
Predrag Punosevac



Re: CUPS alternative

2010-01-04 Thread Predrag Punosevac
nixlists nixmlists () gmail ! com wrote:

 Hi. I need to print from Windows machines to an OpenBSD box using IPP.
 Is CUPS the only software that will let me do this? CUPS is huge,
 buggy and full of security holes. Wants to only run as root as well.

 Thanks.

To my knowledge CUPS is the only spooling system available for Unix 
which speaks IPP even though Patrick Powell who developed LPRng was 
one of original IPP developers as well. LPRng should have been able to
work as IPP gateway as of 4.0 but there is no LPRng 4.0 and Patrick
has abandoned  LPRng around 2005. I am not really sure if LPRng can 
speak IPP. 

I know very little about Windows but I would swear 
that I have seen or read that Windows can speak LPD printing protocol.
I also have no knowledge of Samba but I would swear that I read 
somewhere that supports LPD. 

Best,
Predrag



Re: Editing PDF files

2010-01-04 Thread Predrag Punosevac
I just want to document the simplest solution for editing PDF files.

Step 1: Convert the file to PostScript

Step 2: Directly edit PostScript file

In particular to add the text to specific position you will need to 
upload the file to gv and use the cursor to find the coordinates of 
the position where you want to add the text.
Then fire up that vi editor and add something like

gsave
/Times-Roman findfont 24 scalefont setfont
100 250 moveto
(Your text here) show
% more moveto/show pairs for the remainder of the page
grestore

before the last showpage in your PostScript file.

Step 3 Convert PostScript file back to PDF file.

Cheers,
Predrag



Re: Editing PDF files

2010-01-05 Thread Predrag Punosevac
ropers rop...@gmail.com wrote:

 2010/1/5 Predrag Punosevac punoseva...@gmail.com:
  I have some PDF form that I need to fill in.

 Just to make sure we're on the same page here, are you talking about a
 PDF that makes use of Adobe's PDF form field features? (Cf.
 http://en.wikipedia.org/wiki/PDF#Interactive_elements and
 http://www.google.com/search?hl=ensafe=offq=PDF+form+fields .)

I believe so but I am using mupdf to see the document so I am not 100%
sure. From mupdf the document looks static.

 Or are you trying to edit a static PDF that only happens to render
 (things that look like) form fields, but that don't actually make use
 of the said features?

 regards,
 --ropers



xfiler question

2010-01-10 Thread Predrag Punosevac
I am experimenting with xfiler file manager which is the part of Siag 
office suit. For most part xfiler (which in my understanding should be
more or less a version of xfm) behaves as described in man pages. 
However I am having a problem with left double click option which is
suppose to open a directory in the same window. 

Does anyone has a working .Filesrc configuration file for xfiler.

Thanks a bunch!

Predrag



OpenBSD on Wyse C90LE

2010-01-27 Thread Predrag Punosevac
Dear All,

I was wondering if anybody tried to install OpenBSD on Wyle C90LE.

http://www.wyse.com/products/hardware/thinclients/C90LE/index.asp

We are planning to equip 120 thin clients computer lab with those. I got
today one for my office for evaluation purposes and I really liked the
toy. It comes with Windows XPe but I almost can feel that it is crying
to be reinstalled with OpenBSD. I looked and it does support PXE boot.
I have not checked yet if it can boot via USB. Specifications can be 
found at 

http://www.wyse.com/products/hardware/thinclients/C90LE/index.asp

Cheers,
Predrag



  1   2   3   4   5   >