Re: Software mirgration from Windows for my friend

2005-01-18 Thread Sandy Rutherford
 On Mon, 17 Jan 2005 16:10:15 -0600, 
 Vulpes Velox [EMAIL PROTECTED] said:

  On Mon, 17 Jan 2005 03:00:25 -0800
  Sandy Rutherford [EMAIL PROTECTED] wrote:

   On Sat, 15 Jan 2005 15:20:58 -0600, 
   Vulpes Velox [EMAIL PROTECTED] said:
  
   Virtual CD is a program to mount iso images if I'm correct (
  just like alcohol or deamontools ) you can just mount .iso files
  with FreeBSD : man mount_cd9660
  
   Last I checked, it required a bit more... you have to use
   mdconfig to create a device entry in /dev for the file so you can
   point mount at it.
  
  Yes, this is true.
  
  Sergei, this should do the job for you and your friend.  I have only
  used this up to FreeBSD 4.10.  Therefore, if vnode support is
  different in 5.x, it may need some updating.

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

  Look at 16.6.2, for info on mounting a file and a example of both.

Looks like I'll have to update my script to use mdconfig when I
migrate to 5.x.  The syntax for loop fs mounts (which is what Linux,
IRIX,  Solaris call them --- not sure what vn or md stand for in
FreeBSD) varies unbelievably between unix flavours.  I wrote the
script, because I could never remember the syntax of the day.  I work
in a FreeBSD/OpenBSD/Linux/Solaris/IRIX environment.

...Sandy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Software mirgration from Windows for my friend

2005-01-18 Thread Kris Maglione

not sure what vn or md stand for in FreeBSD
Virtual Node
Memory Disk


signature.asc
Description: OpenPGP digital signature


Re: Software mirgration from Windows for my friend

2005-01-17 Thread Sandy Rutherford
 On Sat, 15 Jan 2005 15:20:58 -0600, 
 Vulpes Velox [EMAIL PROTECTED] said:

  Virtual CD is a program to mount iso images if I'm correct ( just
  like alcohol or deamontools ) you can just mount .iso files with
  FreeBSD : man mount_cd9660

  Last I checked, it required a bit more... you have to use mdconfig to
  create a device entry in /dev for the file so you can point mount at
  it.

Yes, this is true.

Sergei, this should do the job for you and your friend.  I have only
used this up to FreeBSD 4.10.  Therefore, if vnode support is
different in 5.x, it may need some updating.

To install, just put the script anywhere in your path.  umount_iso
should be a link (soft or hard) to mount_iso.  It looks at how it was
called to decide what to do.  I also suggest that you sudo it, so you
do not need to be root to run it.

BTW, this comes with the usual disclaimer.  Should it thrash your file
system, cause your computer to explode, whatever, I am not liable.
However, if anybody hits any bugs in this, I would greatly appreciate
hearing about them.

...Sandy

--
#!/bin/sh
#
# File:mount_iso
# Description: Mounts an iso image file onto a mount point for previewing.
# Usage:   mount_iso iso_file mount_point
#   or umount_iso mount_point
###
# Works with FreeBSD, Linux and Solaris.  Should work with other BSDs
# too, as long as they have vnode support.
#
# For FreeBSD, the kernel needs to have vnode support compiled in.
# See man vn.  
#
# For Solaris pre version 8, lofiadm does not exist.
# You need to install the fbk driver and modify the script to use it.

# Installation: Put this script somewhere in your path and make a hard link
# to it called umount_iso.

# Author:   Sandy Rutherford [EMAIL PROTECTED]
# Created:  Thu Dec  5 16:38:43 2002 by sandy on szamoca.uphill.bc.ca
# Modified: Thu Dec  5 19:42:43 2002 by sandy on goethe
#   Mon Jan 17 01:58:52 2005 by sandy on goethe


if [ -z $OSTYPE ]
then
  # Get the OS type come hell or high water.
  OSTYPE=`/bin/uname 2/dev/null || /sbin/uname 2/dev/null || \
  /usr/bin/uname 2/dev/null || /usr/sbin/uname 2/devnull || \
  uname 2/dev/null || \
  echo Cannot determine operating system.  Bailing out. 12 ; exit 1`
fi

case $OSTYPE in

  *[Bb][Ss][Dd]*)
case $0 in
  *umount_iso)
# Find the device file.
dev=`/sbin/mount | awk \\$3 == \$1\ {print \\$1}`
/sbin/umount $1
/usr/sbin/vnconfig -u $dev
;;
  *)
# Find a free vn device.  Note that this assumes that
# the device file exists in /dev.  If not, you must create it.
n=0
while /sbin/mount | grep -q ^/dev/vn$n
do
  n=`expr $n + 1`
done
/usr/sbin/vnconfig /dev/vn${n}c $1
if [ $? != 0 ]
then
 echo Could not configure /dev/vn${n}c. Does the device file exist? 
12 
 exit 1 
fi
/sbin/mount_cd9660 -o rdonly /dev/vn${n}c $2
;;
esac
;;

  *[Ll][Ii][Nn][Uu][Xx]*)
case $0 in
  *umount_iso)
/bin/umount $1
;;
  *)
mount $1 -r -t iso9660 -o loop $2
;;
esac
;;

  *[Ss][Uu][Nn][Oo][Ss]*|*[Ss][Oo][Ll][Aa][Rr][Ii][Ss]*)
case $0 in
  *umount_iso)
dev=`/usr/sbin/mount | awk \\$1 == \$1\ {print \\$3}`
/usr/sbin/umount $1
/usr/sbin/lofiadm -d $dev
;;
  *)
dev=`/usr/sbin/lofiadm -a $1`
/usr/sbin/mount -F hsfs -o ro $dev $2
;;
  esac
;;

  *) 
echo Do not know how to mount an iso image for operating system $OSTYPE. 
12
exit 1
;;
esac
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Software mirgration from Windows for my friend

2005-01-17 Thread Vulpes Velox
On Mon, 17 Jan 2005 03:00:25 -0800
Sandy Rutherford [EMAIL PROTECTED] wrote:

  On Sat, 15 Jan 2005 15:20:58 -0600, 
  Vulpes Velox [EMAIL PROTECTED] said:
 
   Virtual CD is a program to mount iso images if I'm correct (
  just like alcohol or deamontools ) you can just mount .iso files
  with FreeBSD : man mount_cd9660
 
   Last I checked, it required a bit more... you have to use
   mdconfig to create a device entry in /dev for the file so you can
   point mount at it.
 
 Yes, this is true.
 
 Sergei, this should do the job for you and your friend.  I have only
 used this up to FreeBSD 4.10.  Therefore, if vnode support is
 different in 5.x, it may need some updating.

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

Look at 16.6.2, for info on mounting a file and a example of both.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Software mirgration from Windows for my friend

2005-01-16 Thread Xian
On Saturday 15 January 2005 21:17, Vulpes Velox wrote:
 On Sat, 15 Jan 2005 10:58:41 +

 Xian [EMAIL PROTECTED] wrote:
  On Saturday 15 January 2005 03:50, Sergei Gnezdov wrote:

 snip

   - WinAMP
 
  Xmms (only under FeeSBIE), it even looks and feels like WinAMP

  I am confused by this comment, I thought it looked like winamp and
 worked a lot like it under any system it ran on?

 snip

I meant I've only used it under FreeSBIE. It does look and work like WinAMP 
everywhere it runs.

-- 
/Xian

Any intelligent fool can make things bigger, more complex, and more violent. 
It takes a touch of genius - and a lot of courage - to move in the opposite 
direction.
Albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Software mirgration from Windows for my friend

2005-01-15 Thread Xian
On Saturday 15 January 2005 03:50, Sergei Gnezdov wrote:
 Hi,

 I need to consider if my friend can migrate from windows.  Do you know
 of a good user friendly alternatives (may be not as powerful)?  I might
 be able to answer most of the items, but I'd like to make sure that I
 know about the options:

 Alternatives for:

This is what I use, it all came from the ports collection and installed 
without fuss.
 - MS Office XP.  I don't think he has very complex documents.
The office collection that comes with KDE
 - ACDSE 5.0, Photoshop.  I am not convinced that he edits or creates
 images.
 - WinRAR and WinZIP
 - WinAMP
Xmms (only under FeeSBIE), it even looks and feels like WinAMP
 - Virtual CD
 - Some kind of CD Burner
I use burncd and mkisofs from the command line. Can't be bothered with getting 
a GUI one at the moment
 - Some DVD Player
Ogle, tho I need to set OGLE_OSS_RESET_BUG environment variable, cos there's 
something up with the sound drivers for my machine (FreeBSD 5.3R and onboard 
sound on a A7V600-X motherboard). Now that's worked around Ogle is extreamly 
good, it does DVD menus as well.
 - AC3filter
 - Decoding DVD to AVI (I have no idea why anybody would need this)



-- 
/Xian

Do not worry about your difficulties in Mathematics. I can assure you mine 
are still greater.
Albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Software mirgration from Windows for my friend

2005-01-15 Thread Karol Kwiatkowski
Sergei Gnezdov wrote:
 Hi,
 
 I need to consider if my friend can migrate from windows.  Do you know
 of a good user friendly alternatives (may be not as powerful)?  I might
 be able to answer most of the items, but I'd like to make sure that I
 know about the options:

Hello Sergei,

Here's short list what I use / would use:

 Alternatives for:
 
 - MS Office XP.  I don't think he has very complex documents.

OpenOffice

 - ACDSE 5.0, Photoshop.  I am not convinced that he edits or creates
 images.

GIMP (to create/modify images)

 - WinRAR and WinZIP

There are several command line tools in /usr/ports/archivers.
As for GUI: If you're using KDE there's ARK in kdeutils. Gnome should
have something similar.

 - WinAMP

XMMS

 - Virtual CD

don't know this software

 - Some kind of CD Burner

burncd with mkisofs works great if you don't mind command line.
K3b (/usr/ports/sysutils/k3b) is great if you like GUI .

 - Some DVD Player
 - AC3filter

mplayer (all you need is in there already)

 - Decoding DVD to AVI (I have no idea why anybody would need this)

I cannot comment on this but mplayer is supposed to do that.


Regards,

Karol

-- 
Karol Kwiatkowski  freebsd at orchid dot homeunix dot org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Software mirgration from Windows for my friend

2005-01-15 Thread Frank Staals
Karol Kwiatkowski wrote:
 

- Virtual CD
   

don't know this software
 

Virtual CD is a program to mount iso images if I'm correct ( just like 
alcohol or deamontools ) you can just mount .iso files with FreeBSD : 
man mount_cd9660

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Software mirgration from Windows for my friend

2005-01-15 Thread Kris Maglione
Sergei Gnezdov wrote:
Alternatives for:
- MS Office XP.  I don't think he has very complex documents.
 

OpenOffice.org (works with windows too), KOffice
- ACDSE 5.0, Photoshop.  I am not convinced that he edits or creates
images.
 

GIMP 2.0
- WinRAR and WinZIP
 

KDE's Ark/command line utils
- WinAMP
 

XMMS is popular, but there are lots of other great ones. Most of them 
are good. I like Xinf, but I don't use it anymore.

- Virtual CD
 

mdconfig -a -t vnode -f file.iso -u 1
mount_cd9660 /dev/md0 /cdrom1
- Some kind of CD Burner
 

xcdroast, gnome has support too
- Some DVD Player
 

Xine, Ogle, Mplayer. All good, Mplayer sucks for DVDs, though
- AC3filter
 

some command line tool and a few gui apps
- Decoding DVD to AVI (I have no idea why anybody would need this)
 

There is a good GUI app for this, but I forget what it's called. Check 
ports.

As a note, though. This friend may be better off with a linux distro. 
FreeBSD is not newbie friendly and lacks certain hardware/software 
support that linux has. Not having ALSA precludes certain apps from 
working/working well.


signature.asc
Description: OpenPGP digital signature


Re: Software mirgration from Windows for my friend

2005-01-15 Thread Dave
On Sat, 15 Jan 2005 12:09:30 +0100, you wrote:

 - Decoding DVD to AVI (I have no idea why anybody would need this)

I cannot comment on this but mplayer is supposed to do that.


His friend should try out FreesBie (live, bootable FreeBSD CD, no HDD
install required).  It has all of the required equivilents as well as
avidemux2 which can do the DVD to AVI from a pointy/clicky window.

Dave

-- 
Dave

Please address email replies to:
[our favourite OS] AT dgmm DOT net
For offlist replies please put FreeBSD in the subject line.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Software mirgration from Windows for my friend

2005-01-15 Thread Vulpes Velox
On Fri, 14 Jan 2005 19:50:03 -0800
Sergei Gnezdov [EMAIL PROTECTED] wrote:

 Hi,
 
 I need to consider if my friend can migrate from windows.  Do you
 know of a good user friendly alternatives (may be not as powerful)? 
 I might be able to answer most of the items, but I'd like to make
 sure that I know about the options:
 
 Alternatives for:
 
 - MS Office XP.  I don't think he has very complex documents.

Texmacs, OpenOffice, KOffice, or AbiWord should all work nicely.

 - ACDSE 5.0, Photoshop.  I am not convinced that he edits or creates
 images.

GIMP.

 - WinRAR and WinZIP

Several choices under ports/archivers.

 - WinAMP

XMMS or one of the many one in the ports.

 - Virtual CD

 - Some kind of CD Burner

I suggest a combo of burncd, mkisofs, and mc. It is not really
intuitive or whatever at first, but it works rather nice after reading
the related mans. If you want something with a more traditional GUI,
there are a few in the ports.

 - Some DVD Player
 - AC3filter

Both MPlayer and Xine should handle AC3 with out problems.

 - Decoding DVD to AVI (I have no idea why anybody would need this)

MPlayer is great for this and there are a few DVD ripping programs in
the portstree. Now if there only a nice front end to the win32 port.
^_^


http://www.freebsd.org/ports/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Software mirgration from Windows for my friend

2005-01-15 Thread Vulpes Velox
On Sat, 15 Jan 2005 10:58:41 +
Xian [EMAIL PROTECTED] wrote:

 On Saturday 15 January 2005 03:50, Sergei Gnezdov wrote:
snip
  - WinAMP
 Xmms (only under FeeSBIE), it even looks and feels like WinAMP

I am confused by this comment, I thought it looked like winamp and
worked a lot like it under any system it ran on?

snip
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Software mirgration from Windows for my friend

2005-01-15 Thread Vulpes Velox
On Sat, 15 Jan 2005 12:32:00 +
Frank Staals [EMAIL PROTECTED] wrote:

 Karol Kwiatkowski wrote:
 
 
   
 
 - Virtual CD
 
 
 
 don't know this software
 
   
 
 Virtual CD is a program to mount iso images if I'm correct ( just
 like alcohol or deamontools ) you can just mount .iso files with
 FreeBSD : man mount_cd9660

Last I checked, it required a bit more... you have to use mdconfig to
create a device entry in /dev for the file so you can point mount at
it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Software mirgration from Windows for my friend

2005-01-15 Thread Kris Maglione

Virtual CD is a program to mount iso images if I'm correct ( just like 
alcohol or deamontools ) you can just mount .iso files with FreeBSD : 
man mount_cd9660
You can't directly mount iso files, you need to vn/mdconfig them first.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Software mirgration from Windows for my friend

2005-01-14 Thread Chris
Sergei Gnezdov wrote:
Hi,
I need to consider if my friend can migrate from windows.  Do you know
of a good user friendly alternatives (may be not as powerful)?  I might
be able to answer most of the items, but I'd like to make sure that I
know about the options:
Alternatives for:
- MS Office XP.  I don't think he has very complex documents.
- ACDSE 5.0, Photoshop.  I am not convinced that he edits or creates
images.
- WinRAR and WinZIP
- WinAMP
- Virtual CD
- Some kind of CD Burner
- Some DVD Player
- AC3filter
- Decoding DVD to AVI (I have no idea why anybody would need this)
Again, these can be found on the website -
http://www.freebsd.org/applications.html... And again, have your 
friend research it on his own.

--
Best regards,
Chris
1) You can't win
2) You can't break even
3) You can't even quit the game
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Software mirgration from Windows for my friend

2005-01-14 Thread Sergei Gnezdov
 Again, these can be found on the website -
 http://www.freebsd.org/applications.html... And again, have your 
 friend research it on his own.

Right.  Not everybody knows English and not everybody has unlimited
Internet connection.  And by the way, lots of free software is for geeks
only.  I have FreeBSD already and I can't spend 1 month installing each
app just to figure out which one is the best.


signature.asc
Description: This is a digitally signed message part