portmaster embarrassingly simple question (y- option)

2012-07-03 Thread Jakub Lach
=== Starting check for runtime dependencies
=== Gathering dependency list for archivers/unzip from ports
=== No dependencies for archivers/unzip
=== Installing package

=== Installation of archivers/unzip (unzip-6.0_1) succeeded


=== Delete unzip60.tar.gz? y/n [n] 

What option do I need to specify with -y to automatically answer those?

I've tried --clean-distfiles, --clean-packages but it's not it.

It usually happens when doing portmaster --packages-build
--delete-build-only 
build.

--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/portmaster-embarrassingly-simple-question-y-option-tp5723878.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: portmaster embarrassingly simple question (y- option)

2012-07-03 Thread Dean E. Weimer
-d tells it to always delete old files without prompting.

Thanks,
 Dean Weimer

On Jul 3, 2012, at 5:29 AM, Jakub Lach jakub_l...@mailplus.pl wrote:

 === Starting check for runtime dependencies
 === Gathering dependency list for archivers/unzip from ports
 === No dependencies for archivers/unzip
 === Installing package
 
 === Installation of archivers/unzip (unzip-6.0_1) succeeded
 
 
 === Delete unzip60.tar.gz? y/n [n] 
 
 What option do I need to specify with -y to automatically answer those?
 
 I've tried --clean-distfiles, --clean-packages but it's not it.
 
 It usually happens when doing portmaster --packages-build
 --delete-build-only 
 build.
 
 --
 View this message in context: 
 http://freebsd.1045724.n5.nabble.com/portmaster-embarrassingly-simple-question-y-option-tp5723878.html
 Sent from the freebsd-questions mailing list archive at Nabble.com.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: portmaster embarrassingly simple question (y- option)

2012-07-03 Thread Bas Smeelen

On 07/03/2012 12:29 PM, Jakub Lach wrote:

=== Starting check for runtime dependencies
=== Gathering dependency list for archivers/unzip from ports
=== No dependencies for archivers/unzip
=== Installing package

=== Installation of archivers/unzip (unzip-6.0_1) succeeded


=== Delete unzip60.tar.gz? y/n [n]

What option do I need to specify with -y to automatically answer those?


Hi
-d



I've tried --clean-distfiles, --clean-packages but it's not it.

It usually happens when doing portmaster --packages-build
--delete-build-only
build.





Disclaimer: http://www.ose.nl/email

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


Re: portmaster embarrassingly simple question (y- option)

2012-07-03 Thread Iqbal Aroussi
Hi Jakub,


On Tue, Jul 3, 2012 at 12:45 PM, Dean E. Weimer dwei...@dweimer.net wrote:

 -d tells it to always delete old files without prompting.

 Thanks,
  Dean Weimer

 On Jul 3, 2012, at 5:29 AM, Jakub Lach jakub_l...@mailplus.pl wrote:

  === Starting check for runtime dependencies
  === Gathering dependency list for archivers/unzip from ports
  === No dependencies for archivers/unzip
  === Installing package
 
  === Installation of archivers/unzip (unzip-6.0_1) succeeded
 
 
  === Delete unzip60.tar.gz? y/n [n]
 
  What option do I need to specify with -y to automatically answer those?
 
  I've tried --clean-distfiles, --clean-packages but it's not it.
 
  It usually happens when doing portmaster --packages-build
  --delete-build-only
  build.



usually I use: portmaster -dbg port

-b  create and keep a backup package of an installed port
-g  create a package of the new port
-d  always clean distfiles

Best Regards

Iqbal A.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: portmaster embarrassingly simple question (y- option)

2012-07-03 Thread Jakub Lach
Excellent, I knew I was missing something simple. 

Thanks!

--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/portmaster-embarrassingly-simple-question-y-option-tp5723878p5723916.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: portmaster embarrassingly simple question (y- option)

2012-07-03 Thread Jakub Lach
Now I see that I even used -d in my own portupdating
wrapper, but forgot about it and it's meaning, embarrassing.

--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/portmaster-embarrassingly-simple-question-y-option-tp5723878p5723918.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: portmaster embarrassingly simple question (y- option)

2012-07-03 Thread Matthew Seaman
On 03/07/2012 13:06, Bas Smeelen wrote:
 On 07/03/2012 12:29 PM, Jakub Lach wrote:

 What option do I need to specify with -y to automatically answer those?

 -d

Add this to ${LOCALBASE}/etc/portmaster.rc

ALWAYS_SCRUB_DISTFILES=dopt

if that's something you're going to be doing all the time.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey





signature.asc
Description: OpenPGP digital signature


Simple question about pkg_add ...

2012-02-28 Thread David Walker
Hey.

I believe I have a pcmcia card that requires upgt firmware.
From upgt(4) ...

 This driver requires the upgtfw firmware to be installed before it will
 work.  The firmware files are not publicly available.  A package of the
 firmware which can be installed via pkg_add(1) is available:

   http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz

pkg_add http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz
Fetching http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz... Done.
pkg_add: unable to open table of contents file '+CONTENTS' - not a package?

Best wishes.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Simple question about pkg_add ...

2012-02-28 Thread Polytropon
On Wed, 29 Feb 2012 01:52:13 +1030, David Walker wrote:
 Hey.
 
 I believe I have a pcmcia card that requires upgt firmware.
 From upgt(4) ...
 
  This driver requires the upgtfw firmware to be installed before it will
  work.  The firmware files are not publicly available.  A package of the
  firmware which can be installed via pkg_add(1) is available:
 
  http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz
 
 pkg_add http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz
 Fetching http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz... 
 Done.
 pkg_add: unable to open table of contents file '+CONTENTS' - not a package?

Did you have a look at what's inside the .tar.gz file?
A directory upgt-firmware-2.13.1.0 with the following
files: Makefile, distinfo, pkg-descr, and pkg-plist.

Obviously, that's not a binary package for pkg_add use.
It's a port.

Extract the file and use it with the port infrastructure
(i. e. make install).

Seems that the instruction in man 4 upgt is just missing
the proper terminology...



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Simple question about pkg_add ...

2012-02-28 Thread David Walker
Hi Polytropon.

I did have a look inside and I did pkg_add -v which gives enough
information combined with my meagre knowledge to guess that it had
something to do with source.
I'm so unfamiliar with pkg_add I'm not sure if that is normal.
I'm very new here.
Certainly it's not in a suitable format for pkg_add to deal with.

I guess pkg_add is the preferred option for firmware installation.
I'll contact the maintainer.

On 29/02/2012, Polytropon free...@edvax.de wrote:
 On Wed, 29 Feb 2012 01:52:13 +1030, David Walker wrote:
 Hey.

 I believe I have a pcmcia card that requires upgt firmware.
 From upgt(4) ...

  This driver requires the upgtfw firmware to be installed before it
 will
  work.  The firmware files are not publicly available.  A package of
 the
  firmware which can be installed via pkg_add(1) is available:

 http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz

 pkg_add http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz
 Fetching http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz...
 Done.
 pkg_add: unable to open table of contents file '+CONTENTS' - not a
 package?

 Did you have a look at what's inside the .tar.gz file?
 A directory upgt-firmware-2.13.1.0 with the following
 files: Makefile, distinfo, pkg-descr, and pkg-plist.

 Obviously, that's not a binary package for pkg_add use.
 It's a port.

 Extract the file and use it with the port infrastructure
 (i. e. make install).

 Seems that the instruction in man 4 upgt is just missing
 the proper terminology...



 --
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

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


Re: Simple question about pkg_add ...

2012-02-28 Thread Polytropon
On Wed, 29 Feb 2012 12:41:46 +1030, David Walker wrote:
 Hi Polytropon.
 
 I did have a look inside and I did pkg_add -v which gives enough
 information combined with my meagre knowledge to guess that it had
 something to do with source.

A port (as you can find it inside the archive) is a recipe
for dealing with sources, e. g. where to obtain then, how
to compile, where to install to and so on. The ports collection
of the FreeBSD OS is used to deal with handling software
based on sources: configure, patch, build, install, deinstall,
upgrade and similar tasks.

See man ports for a better explaination.



 I'm so unfamiliar with pkg_add I'm not sure if that is normal.

The pkg_add utility installs programs from binary packages.
Those packages are created by compiling a port - typically
with its default options. Those packages are built for the
FreeBSD ports collection and made available by the FreeBSD
team. External packages, created outside the world of
FreeBSD ports, are possible.

See man pkg_add for details.



 I'm very new here.
 Certainly it's not in a suitable format for pkg_add to deal with.

Correct. A pkg_add package typically contains compiled stuff,
i. e. binaries, and a packaging list for installation and
later removal. Additional tasks can also be scripted.



 I guess pkg_add is the preferred option for firmware installation.

It's used to install programs (or libraries) to the FreeBSD
system. The use with firmware is also possible. Basically,
ports (from source) and packages (precompiled binaries) have
the same purpose: Get things installed.

If the maintainer would compile the port (that he provided
for download) and give the proper URL of the result in the
manpage, pkg_add would work as intended.



 I'll contact the maintainer.

That would be a good idea as the description you quoted from
the manpage is technically not correct.

Option 1: Provide a pkg_add-able package.

Option 2: Provide instructions on how to deal with the port.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


a simple question about snapshot, thanks for reply

2007-07-29 Thread PowerMan
Dear sir,
 My first English is not English, please forgive me if I made some bad
words
or expression.

  I have learned from your web site http://www.freebsd.org,
that version 6.2 is released in 15 Jan, 2007.

  Is that a stable release?

   If it is, why there is 6.2-stable snapshots released in May and June
2007?

Should all snapshots be released before a final stable release ?

should no snapshots be released after a final stable release?

I may not express myself very well, I wish you can understand me.

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


Re: a simple question about snapshot, thanks for reply

2007-07-29 Thread Garrett Cooper

PowerMan wrote:

Dear sir,
 My first English is not English, please forgive me if I made some bad
words
or expression.

  I have learned from your web site http://www.freebsd.org,
that version 6.2 is released in 15 Jan, 2007.

  Is that a stable release?

   If it is, why there is 6.2-stable snapshots released in May and June
2007?

Should all snapshots be released before a final stable release ?

should no snapshots be released after a final stable release?

I may not express myself very well, I wish you can understand me.

thanks.


   That's an official release. A few patched stable releases have been 
done since then to fix security issues, as well as MFC (merged from 
current) modifications (new drivers added, etc).


   Also, snapshots of the managed CVS branches are done periodically 
(legacy, stable, current), which you may or may not have seen.


   Patches are made to all supported releases, until their respective 
EoL (end of life) dates, so that's why there are periodic releases.


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


a simple question about snapshot, thanks for reply

2007-07-29 Thread PowerMan
Dear sir,
 My first language is not English, please forgive me if I made some bad
words
or expression.

  I have learned from your web site http://www.freebsd.org,
that version 6.2 is released in 15 Jan, 2007.

  Is that a stable release?

   If it is, why there is 6.2-stable snapshots released in May and June
2007?

Should all snapshots be released before a final stable release ?

should no snapshots be released after a final stable release?

I could not express myself very well, I wish you can understand me.

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


Re: a simple question about snapshot, thanks for reply

2007-07-29 Thread Garrett Cooper

PowerMan wrote:

I guess you mean that:

The snapshots of 6.2 stable released in June 2007
have been patched , 
I can also download patches from http://security.freebsd.org/patches/ 
http://security.freebsd.org/patches/

and apply them to the offical release manually.

Is that right?

thanks.

2007/7/29, Garrett Cooper [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]:


PowerMan wrote:
 Dear sir,
  My first English is not English, please forgive me if I
made some bad
 words
 or expression.

   I have learned from your web site http://www.freebsd.org,
 that version 6.2 is released in 15 Jan, 2007.

   Is that a stable release?

If it is, why there is 6.2-stable snapshots released in
May and June
 2007?

 Should all snapshots be released before a final stable release ?

 should no snapshots be released after a final stable release?

 I may not express myself very well, I wish you can understand me.

 thanks.

That's an official release. A few patched stable releases have
been
done since then to fix security issues, as well as MFC (merged from
current) modifications (new drivers added, etc).

Also, snapshots of the managed CVS branches are done periodically
(legacy, stable, current), which you may or may not have seen.

Patches are made to all supported releases, until their
respective
EoL (end of life) dates, so that's why there are periodic releases.

Cheers,
-Garrett




   Yes, but those are source patches which:

1. Require a source tree.
2. Require a limited (one app and maybe small list of dependencies) to 
major rebuild (extensively used lib that has a lot of dependencies).


More current snapshots have those patches built into them.

Cheers,
-Garrett

PS Please CC questions@ and bottom-post :).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


very simple question about patches on freebsd

2007-07-29 Thread b s
dear sir,
I copy some content from http://security.freebsd.org/,

* FreeBSD-SA-07:05.libarchive.asc
* FreeBSD-SA-07:04.file.asc
* FreeBSD-SA-07:03.ipv6.asc
* FreeBSD-SA-07:02.bind.asc

FreeBSD 6.2-RELEASE released.

* FreeBSD-SA-07:01.jail.asc
* FreeBSD-SA-06:26.gtar.asc
* FreeBSD-SA-06:25.kmem.asc
* FreeBSD-SA-06:24.libarchive.asc
* FreeBSD-SA-06:22.openssh.asc
* FreeBSD-SA-06:23.openssl.asc
* FreeBSD-SA-06:21.gzip.asc
* FreeBSD-SA-06:20.bind.asc
* FreeBSD-SA-06:19.openssl.asc
* FreeBSD-SA-06:18.ppp.asc
* FreeBSD-SA-06:17.sendmail.asc
* FreeBSD-SA-06:16.smbfs.asc
* FreeBSD-SA-06:15.ypserv.asc

FreeBSD 5.5-RELEASE released.

  Is that mean if I use 5.5-release I need to patch all the patches
above and
if I use 6.2-release I only need to patch SA-07:05 to SA-07:02 ?
 Is that right?

 I also learned from http://security.freebsd.org/patches
there two kinds of pathes, SA serial and EN serial, such as
SA-07:05/12-Jul-2007 15:08 -
SA-07:04/23-May-2007 16:18 -
SA-07:03/26-Apr-2007 23:46 -
EN-07:05/15-Mar-2007 08:10 -
EN-07:04/28-Feb-2007 18:41 -
EN-07:03/28-Feb-2007 18:41 -
EN-07:02/28-Feb-2007 18:40 -
EN-07:01/14-Feb-2007 22:33 -
SA-07:02/09-Feb-2007 20:37 -
SA-07:01/11-Jan-2007 18:36 -

what are the differences between them?

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


A simple question about patches for FreeBSD from http://security.freebsd.org/patches

2007-07-29 Thread PowerMan
 Dear sir,
  My first language is not English, please forgive me if I made some bad
words. And I do not know if that is the right e-mail address to ask
questions.

 I copy a few lines from http://security.freebsd.org/

   - 
FreeBSD-SA-07:05.libarchive.aschttp://security.freebsd.org/advisories/FreeBSD-SA-07:05.libarchive.asc
   - 
FreeBSD-SA-07:04.file.aschttp://security.freebsd.org/advisories/FreeBSD-SA-07:04.file.asc
   - 
FreeBSD-SA-07:03.ipv6.aschttp://security.freebsd.org/advisories/FreeBSD-SA-07:03.ipv6.asc
   - 
FreeBSD-SA-07:02.bind.aschttp://security.freebsd.org/advisories/FreeBSD-SA-07:02.bind.asc

FreeBSD 6.2-RELEASE released.

   - 
FreeBSD-SA-07:01.jail.aschttp://security.freebsd.org/advisories/FreeBSD-SA-07:01.jail.asc
   - 
FreeBSD-SA-06:26.gtar.aschttp://security.freebsd.org/advisories/FreeBSD-SA-06:26.gtar.asc
   - 
FreeBSD-SA-06:25.kmem.aschttp://security.freebsd.org/advisories/FreeBSD-SA-06:25.kmem.asc
   - 
FreeBSD-SA-06:24.libarchive.aschttp://security.freebsd.org/advisories/FreeBSD-SA-06:24.libarchive.asc
   - 
FreeBSD-SA-06:22.openssh.aschttp://security.freebsd.org/advisories/FreeBSD-SA-06:22.openssh.asc
   - 
FreeBSD-SA-06:23.openssl.aschttp://security.freebsd.org/advisories/FreeBSD-SA-06:23.openssl.asc
   - 
FreeBSD-SA-06:21.gzip.aschttp://security.freebsd.org/advisories/FreeBSD-SA-06:21.gzip.asc
   - 
FreeBSD-SA-06:20.bind.aschttp://security.freebsd.org/advisories/FreeBSD-SA-06:20.bind.asc
   - 
FreeBSD-SA-06:19.openssl.aschttp://security.freebsd.org/advisories/FreeBSD-SA-06:19.openssl.asc
   - 
FreeBSD-SA-06:18.ppp.aschttp://security.freebsd.org/advisories/FreeBSD-SA-06:18.ppp.asc
   - 
FreeBSD-SA-06:17.sendmail.aschttp://security.freebsd.org/advisories/FreeBSD-SA-06:17.sendmail.asc
   - 
FreeBSD-SA-06:16.smbfs.aschttp://security.freebsd.org/advisories/FreeBSD-SA-06:16.smbfs.asc
   - 
FreeBSD-SA-06:15.ypserv.aschttp://security.freebsd.org/advisories/FreeBSD-SA-06:15.ypserv.asc

FreeBSD 5.5-RELEASE released.

Is that mean if I use 5.5-release, I should apply all the patches above and

if I use 6.2-release I need only apply the
FreeBSD-SA-07:05.libarchive.aschttp://security.freebsd.org/advisories/FreeBSD-SA-07:05.libarchive.asc
to
FreeBSD-SA-07:02.bind.aschttp://security.freebsd.org/advisories/FreeBSD-SA-07:02.bind.asc
?

Is that right?

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


Re: A simple question about patches for FreeBSD from http://security.freebsd.org/patches

2007-07-29 Thread Rakhesh Sasidharan



Is that mean if I use 5.5-release, I should apply all the patches above and

if I use 6.2-release I need only apply the
FreeBSD-SA-07:05.libarchive.aschttp://security.freebsd.org/advisories/FreeBSD-SA-07:05.libarchive.asc
to
FreeBSD-SA-07:02.bind.aschttp://security.freebsd.org/advisories/FreeBSD-SA-07:02.bind.asc
?

Is that right?


I'm not sure. (To be frank, I hadn't looked at the advisories so far. 
Since no one's answered your question yet, I just had a look at them to 
see if I can throw some light).


The reason I say I am not sure is that if you click on the 
FreeBSD-SA-07:04.file.asc advisory for instance, you'll see that it 
applies to *all* FreeBSD releases. So if you are on the 6.2 release, this 
is one patch you have to apply. I'd suppose there are other patches too 
that similarly might apply to the 6.2 release.


If you are on FreeBSD 6.2, use the freebsd-update tool to keep your system 
up-to-date. That automatically fetches the patches necessary for your 
system. If you are on FreeBSD 5.5, install this tool from ports.


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


Re: simple question...how to show packages which depend upon

2006-12-01 Thread Svein Halvor Halvorsen
Graham Bentley wrote:
 Example: you install Z, which depends on Y, which depends in X,
 ..., which depends on Q.
 What if Q is xorg-server-6.9.0_1?
 
 I installed 'feh' thinking wrongly it was a console app and ended up
 getting x, xlibs etc etc when all I wanted was a console app to view
 jpgs in elinks. So, the above is exactly what I wanted.

Ok, so you may want x-org-server deleted, by what about some other
dependency that your unwanted app shares with some port you really
do want to keep around?

I find pkg_cutleaves handy. It will loop through all the leaves of
your dependency tree (all ports that do not have any other ports
dependant on them), and asks if you want to keep or delete it. After
 the ports tree is cleaned up, it will ask you to repeat the process
for any ports that may have become leaves as a result of the
previous iteration.

When I look through the pkg_info list, I usually don't know what all
the installed ports do, I why I need it. But i usually do know if I
need a leaf or not.


Svein Halvor



signature.asc
Description: OpenPGP digital signature


Re: simple question...how to show packages which depend upon

2006-11-30 Thread Graham Bentley
And ... how to remove a package and all the packages
it sucked in ?

All I get from pkg_delete that it isnt even installed when 
I know it is because that was the previous command I
just ran !!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: simple question...how to show packages which depend upon

2006-11-30 Thread Nagy László Zsolt

Graham Bentley írta:

And ... how to remove a package and all the packages
it sucked in ?

All I get from pkg_delete that it isnt even installed when 
I know it is because that was the previous command I

just ran !!!
  

Can you please send us the commands that you have executed?
If you used pkg_add -r package name then the name of the package can 
be a general package name, without version number. This is useful since 
usually you are not sure what is the latest version, you just want to 
install it. Here is an example:


messias# pkg_add -r mc
Fetching 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/Latest/mc.tbz... 
Done.

pkg_add: package 'mc-4.6.1_3' or its older version already installed

However, if you add a package that is saved locally, you need to type in 
its full name (or path):


pkg_add mc-4.6.1_3.tbz

or something similar. Once you have the package/port installed, you can 
lookup its full name with pkg_which:


messias# pkg_which mc
mc-4.6.1_4

When you need to delete a package, you need to specify the full name 
(including the version number). The reason for this is easy: it is 
possible to have different versions of the same package installed at the 
same time. (Well, this is not true for some packages, but it is true for 
others...)


So instead of doing:

pkg_delete mc

you should use:

pkg_delete mc-4.6.1_4

I hope this answers your question. If it does, then probably reading 
these man pages will help you a LOT:


portupgrade(1)
pkg_add(1)
pkg_deinstall(1)
pkg_delete(1)
pkg_glob(1)
pkg_info(1)
pkg_sort(1)
pkg_update(1)
pkgdb(1)
ports_glob(1)
portsclean(1)
portsdb(1)
portversion(1)
pkgtools.conf(5)
ports(7)


Best,

  Laszlo

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


Re: simple question...how to show packages which depend upon

2006-11-30 Thread Gerard Seibert
On Thursday November 30, 2006 at 07:25:32 (AM) Graham Bentley wrote:


 And ... how to remove a package and all the packages
 it sucked in ?
 
 All I get from pkg_delete that it isnt even installed when 
 I know it is because that was the previous command I
 just ran !!!

Are you sure you are feedin it the correct information? Try this:

pkg_info -Ix PROGRAM_NAME (- gives you the exact installed
version of PROGRAM_NAME installed.)

Now feed that to:

pkg_delete -vdfr PROGRAM_NAME

That should do it.

-- 
Gerard

 Mail from '@gmail' is rejected and/or discarded here. Don't waste
 your time!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: simple question...how to show packages which depend upon

2006-11-30 Thread Robert Huff

Graham Bentley writes:

  And ... how to remove a package and all the packages
  it sucked in ?

You don't want to do this blindly.
Example: you install Z, which depends on Y, which depends in X,
..., which depends on Q.
What if Q is xorg-server-6.9.0_1?


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


Re: simple question...how to show packages which depend upon

2006-11-30 Thread Graham Bentley
 Example: you install Z, which depends on Y, which depends in X,
 ..., which depends on Q.
 What if Q is xorg-server-6.9.0_1?

I installed 'feh' thinking wrongly it was a console app and ended up
getting x, xlibs etc etc when all I wanted was a console app to view
jpgs in elinks. So, the above is exactly what I wanted.

btw Does any one know a good console app to view jpgs ? seejpeg
just flashes the screen several time and dies.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


simple question...how to show packages which depend upon a particular port

2006-11-29 Thread Dino Vliet
Hi peeps,

I'm almost ashamed to ask this BUT I really don't know
how to find the packages which depend upon a
particular port.

In this case, a portversion -l  showed mysql-client
in that list. I can't recall having installed it by
myself I wanted to know what the packages are which
depend on it. Can somebody show me this
command..and if it will be a RTFM answer, please
tell me which FM:-)

Thanks


 

Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: simple question...how to show packages which depend upon a particular port

2006-11-29 Thread Matthew Seaman
Dino Vliet wrote:

 I'm almost ashamed to ask this BUT I really don't know
 how to find the packages which depend upon a
 particular port.

pkg_info -R port-name-\*

(-r does the inverse, packages on which port-name depends)

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: simple question...how to show packages which depend upon a particular port

2006-11-29 Thread Micah

Matthew Seaman wrote:

Dino Vliet wrote:


I'm almost ashamed to ask this BUT I really don't know
how to find the packages which depend upon a
particular port.


pkg_info -R port-name-\*

(-r does the inverse, packages on which port-name depends)

Cheers,

Matthew



Also, if you're into gui things, gpkgdep is pretty handy as it will show 
you the whole dependency tree rather than just the first level dependencies.


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


Re: simple question...how to show packages which depend upon a particular port

2006-11-29 Thread Parv
in message [EMAIL PROTECTED],
wrote Dino Vliet thusly...

 I'm almost ashamed to ask this BUT I really don't know how to find
 the packages which depend upon a particular port.

 In this case, a portversion -l  showed mysql-client in that
 list. I can't recall having installed it by myself

Did you install mysql-server with default options?  Actually, in
mysql51-server port, there is no option to disable install of the
client portion.


 I wanted to know what the packages are which depend on it. Can
 somebody show me this command..and if it will be a RTFM
 answer, please tell me which FM:-)

Here are some of the ways not requiring connection to Internet I
know ...

  - running make -V {LIB,RUN,BUILD}_DEPENDS in a port directory
also lists the appropriate type of dependency list, so would
running make pretty-print-{run,build}-depends-list;

  - pkg_info(1) w/ -[rR] options lists the dependencies for given
ports|packages;

  - ${PORTSDIR:-/usr/ports}/INDEX* lists dependencies for each port
(which may need post processing to be human readable);

  - sysutils/pkg_tree port creates text tree of the dependencies;


As for FM, see ...

  - pkg_info(1)  pkg_tree(7)  man pages;

  - ${PORTSDIR:-/usr/ports}/Mk/bsd.port.mk


  - Parv

-- 

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


Re: Probably a simple question but...

2006-06-16 Thread Atom Powers

I haven't worked with multicast much, but from my understanding you
may have to join the router to the multicast domain.

On 6/15/06, Mayo, Richard A RDECOM CERDEC STCD SRI
[EMAIL PROTECTED] wrote:

I believe this is a simple fix, but I sure can't find it.

I set up 2 FreeBSD boxes as dual-stack network routers and I'm using them to 
test an application capable of generating both TCP and UDP messaging.  The TCP 
part of this equation is working great -- my message fly around the network 
just like they should.

However, my routers appear to be eating my multicast UDP packets.  The packets 
are addressed to 225.0.0.41 and static routes for that prefix are defined in 
both rc.conf files (I only use 1 multicast address, so I don't see a reason to 
use a multicast routing daemon).  Obviously, I don't believe the static route 
is defined correctly.

Can somebody clue me in to the proper method for configuring a FreeBSD 
computer, functioning as a network router, to accept all packets addressed to 
225.0.0.41 on either Ethernet interface and forward them out the other??  
(they're RL0 and RL1, lower case.)

Do I need to define 2 static routes?
Do I need to switch something else on?



Thanks for any help,
Rich Mayo



P.S.  It may be significant that when I installed the OS on the computer, there was only 
1 NIC present.  I added the other one after I got the software running, so it occurs to 
me that there may be a switch relating to forwarding that's not ON, but I 
have no idea where to look for that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Probably a simple question but...

2006-06-16 Thread Danial Thom
Are you running mrouted? 

--- Atom Powers [EMAIL PROTECTED] wrote:

 I haven't worked with multicast much, but from
 my understanding you
 may have to join the router to the multicast
 domain.
 
 On 6/15/06, Mayo, Richard A RDECOM CERDEC STCD
 SRI
 [EMAIL PROTECTED] wrote:
  I believe this is a simple fix, but I sure
 can't find it.
 
  I set up 2 FreeBSD boxes as dual-stack
 network routers and I'm using them to test an
 application capable of generating both TCP and
 UDP messaging.  The TCP part of this equation
 is working great -- my message fly around the
 network just like they should.
 
  However, my routers appear to be eating my
 multicast UDP packets.  The packets are
 addressed to 225.0.0.41 and static routes for
 that prefix are defined in both rc.conf files
 (I only use 1 multicast address, so I don't see
 a reason to use a multicast routing daemon). 
 Obviously, I don't believe the static route is
 defined correctly.
 
  Can somebody clue me in to the proper method
 for configuring a FreeBSD computer, functioning
 as a network router, to accept all packets
 addressed to 225.0.0.41 on either Ethernet
 interface and forward them out the other?? 
 (they're RL0 and RL1, lower case.)
 
  Do I need to define 2 static routes?
  Do I need to switch something else on?
 
 
 
  Thanks for any help,
  Rich Mayo
 
 
 
  P.S.  It may be significant that when I
 installed the OS on the computer, there was
 only 1 NIC present.  I added the other one
 after I got the software running, so it occurs
 to me that there may be a switch relating to
 forwarding that's not ON, but I have no idea
 where to look for that.
 
 ___
  freebsd-questions@freebsd.org mailing list
 

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 
 
 -- 
 --
 Perfection is just a word I use occasionally
 with mustard.
 --Atom Powers--
 ___
 freebsd-questions@freebsd.org mailing list

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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Probably a simple question but...

2006-06-16 Thread Mayo, Richard A RDECOM CERDEC STCD SRI
 -Original Message-
 From: Danial Thom [mailto:[EMAIL PROTECTED] 
 Sent: Friday, June 16, 2006 11:59 AM
 To: Atom Powers; Mayo, Richard A RDECOM CERDEC STCD SRI
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Probably a simple question but...
 
 Are you running mrouted?




I'm not.  And when I try, I get an error about the functionality not being 
built into the kernel...

I'm guessing this is my problem.  Any suggestions on how to correct this will 
be greatly appreciated.

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


Probably a simple question but...

2006-06-15 Thread Mayo, Richard A RDECOM CERDEC STCD SRI
I believe this is a simple fix, but I sure can't find it.

I set up 2 FreeBSD boxes as dual-stack network routers and I'm using them to 
test an application capable of generating both TCP and UDP messaging.  The TCP 
part of this equation is working great -- my message fly around the network 
just like they should.

However, my routers appear to be eating my multicast UDP packets.  The packets 
are addressed to 225.0.0.41 and static routes for that prefix are defined in 
both rc.conf files (I only use 1 multicast address, so I don't see a reason to 
use a multicast routing daemon).  Obviously, I don't believe the static route 
is defined correctly.

Can somebody clue me in to the proper method for configuring a FreeBSD 
computer, functioning as a network router, to accept all packets addressed to 
225.0.0.41 on either Ethernet interface and forward them out the other??  
(they're RL0 and RL1, lower case.)

Do I need to define 2 static routes?
Do I need to switch something else on?



Thanks for any help,
Rich Mayo



P.S.  It may be significant that when I installed the OS on the computer, there 
was only 1 NIC present.  I added the other one after I got the software 
running, so it occurs to me that there may be a switch relating to forwarding 
that's not ON, but I have no idea where to look for that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


simple question on portupgrade

2006-02-28 Thread Peter
Good evening,

I am looking at the downward recursive option of
portupgrade.  Does this option (-R) only include the
immediate dependencies of the port in question or is
it truly recursive in the sense that it will upgrade
dependencies of dependencies as well?

Secondly, I see that the features of portupgrade for
upward and downward recursiveness use opposite
lettering to that of pkg_info:

portupgrade -R is like pkg_info -r
portupgrade -r is like pkg_info -R

Example:

# portupgrade -Rn bash

---  Listing the results (+:done / -:ignored /
*:skipped / !:failed)
- converters/libiconv (libiconv-1.9.2_2)
- devel/gettext (gettext-0.14.5_2)
- shells/bash (bash-3.1.10)

# pkg_info -rx bash

Dependency: libiconv-1.9.2_2
Dependency: gettext-0.14.5_2

This seems pretty silly.  Am I missing something?

--
Peter






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


simple question on portupgrade

2006-02-28 Thread Robert Huff

Peter writes:

  Secondly, I see that the features of portupgrade for
  upward and downward recursiveness use opposite
  lettering to that of pkg_info:
  
  portupgrade -R is like pkg_info -r
  portupgrade -r is like pkg_info -R

Having been using both of these a lot recently, I'd like to
cast a strong vote for making this happen.


Robert Huff


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


Re: Simple question

2005-12-23 Thread Teilhard Knight

On Tue, Dec 20, 2005 at 05:08:33PM -0500, David R. Litwin wrote:

What's the command to stop a service like gdm?

Killall.


Seems like a bad idea, unless the service is hung. Using the proper init
script would make more sense. To simply stop the service, /etc/init.d/gdm
stop
as root would do the trick. To change things so that it does not start on
the next boot, removing the symlink in the appropriate runlevel (the
default is 2, I believe) would do the trick.

If you're concerned with managing services on boot in general then I
highly recommend a program such as sysv-rc-conf or rcconf to manage the
symbolic links for you.


Actually, I needed to stop gdm only for installing a package. But you have
given me very valuable information. I appreciate your feedback.

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


Re: Simple question

2005-12-23 Thread Teilhard Knight

Teilhard Knight wrote:

What's the command to stop a service like gdm?


Formally it's:

invoke-rc.d gdm stop

But everybody (including myself) uses:

/etc/init.d/gdm stop

To stop it permanently use:

update-rc.d gdm remove


Thanks a lot.

Teilhard.


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


Re: Simple question

2005-12-23 Thread Teilhard Knight

Am 2005-12-20 04:04:24, schrieb Teilhard Knight:

What's the command to stop a service like gdm?


It depends.

1)  For killing it the current bootet Computer

   /etc/init.d/gdm stop

2)  Only from the runlevel 2

   rm /etc/rc2.d/??gdm

3)  Permanently

   apt-get --purge remove gdm


Thank you very much.

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


Re: Simple question

2005-12-23 Thread Teilhard Knight

Teilhard Knight wrote:

What's the command to stop a service like gdm?

Teilhard.




Simple answer: RTFM
Extended answer: $ info gdm


Thanks.

Teilhard

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


Re: Simple question

2005-12-23 Thread Teilhard Knight

as root:  /etc/gdm stop


Are you sure? I haven't tried it, but seems something is missing. Thanks 
anyway.


Teilhard. 


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


Re: Simple question

2005-12-23 Thread Kövesdán Gábor

Teilhard Knight wrote:


as root:  /etc/gdm stop



Are you sure? I haven't tried it, but seems something is missing. 
Thanks anyway.


Teilhard. 


/etc/rc.d/gdm stop

See:
rc(8)
rcorder(8)
rc.conf(5)

Regards,

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


a simple question...

2005-11-04 Thread Javier Matos
Hello, I´m a student of computer science and this year I must to do an 
application using system calls.
We are using linux system calls like pid_t fork(void) and other services of 
the standard POSIX. I want to know if it´s possible to use that system calls in 
FreeBSD because I prefer to improve my use of freebsd. I will write my 
application in C and I have freebsd 5.4 with linux compability activated.

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


Re: a simple question...

2005-11-04 Thread Charles Swiger

On Nov 4, 2005, at 1:12 PM, Javier Matos wrote:
Hello, I´m a student of computer science and this year I must to do  
an application using system calls.
We are using linux system calls like pid_t fork(void) and other  
services of the standard POSIX. I want to know if it´s possible to  
use that system calls in FreeBSD because I prefer to improve my use  
of freebsd. I will write my application in C and I have freebsd 5.4  
with linux compability activated.


FreeBSD has a fork() system call of it's own, yes, along with all of  
the other system and library calls from POSIX and ANSI-C standards.   
If you write portable C, you can recompile your program under FreeBSD  
without using Linux emulation.


--
-Chuck

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


Simple question of dns?

2005-08-10 Thread Carstea Catalin
I want to configure my dns to redirect all request from :
 http://www.mail.mydomain.com http://www.mail.mydomain.com
 to
 http://mail.mydomain.com
 Many users do first request and my server respond only al the second url.
 Tks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple question of dns?

2005-08-10 Thread Hornet
On 8/10/05, Carstea Catalin [EMAIL PROTECTED] wrote:
 I want to configure my dns to redirect all request from :
  http://www.mail.mydomain.com http://www.mail.mydomain.com
  to
  http://mail.mydomain.com
  Many users do first request and my server respond only al the second url.
  Tks!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

DNS will not do redirects, that's a function of a web server.
You can do an aliases. The format would be like this in the zone file.

www.mail   IN   CNAMEmail.domain.com.

So going to www.mail.domain.com is the same as using mail.domain.com.
The only time it is not good to do the above, is when your web server
is doing name based virtual hosting.

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


Re: Simple question of dns?

2005-08-10 Thread Giorgos Keramidas
On 2005-08-10 10:01, Carstea Catalin [EMAIL PROTECTED] wrote:
 I want to configure my dns to redirect all request from :
 http://www.mail.mydomain.com http://www.mail.mydomain.com
 to
 http://mail.mydomain.com
 Many users do first request and my server respond only al the second url.
 Tks!

1. Add a DNS entry that points to the same IP address.
2. Configure your web server to respond to both names (ala virtual hosting).

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


Re: Simple question of dns?

2005-08-10 Thread Micheal Patterson



- Original Message - 
From: Carstea Catalin [EMAIL PROTECTED]

To: freebsd-questions@freebsd.org
Sent: Wednesday, August 10, 2005 12:01 PM
Subject: Simple question of dns?


I want to configure my dns to redirect all request from :
http://www.mail.mydomain.com http://www.mail.mydomain.com
to
http://mail.mydomain.com
Many users do first request and my server respond only al the second url.
Tks!


If you have access to your dns zone file, add a cname entry:

www.mail  CNAME   mail.mydomain.com.


--

Micheal Patterson
Senior Communications Systems Engineer
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain 
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended 
recipient, please contact the sender by reply e-mail and destroy all 
copies of the original message.


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


Simple question

2005-07-14 Thread Tiago Sousa
Hello to all

 

In what concern to my previous mails I can summarize and simplify the
problem:

 

Why when I enable the ipv6_gateway_enable=YES in /etc/rc.conf the
following error occurs (I am using freebsd 5.4 and the last kame snap):

 

in6_if2idlen:unknown link type (34) 

in6_if2idlen:unknown link type (249)

in6_if2idlen:unknown link type (244)

 

I know these are only warnings but when they occur I can not ping other
computers (only direct attached links) and the computer doesn't make
forwarding of packets.

 

Anybody knows what is wrong?

I would appreciate any help.

Thanks.

 

Tiago Sousa

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


Re: (KAME-snap 9155) Simple question

2005-07-14 Thread Keiichi SHIMA
Hello,

From: Tiago Sousa [EMAIL PROTECTED]
Date: Thu, 14 Jul 2005 19:24:49 +0100

 In what concern to my previous mails I can summarize and simplify the
 problem:
 
 Why when I enable the ipv6_gateway_enable=YES in /etc/rc.conf the
 following error occurs (I am using freebsd 5.4 and the last kame snap):
 
 in6_if2idlen:unknown link type (34) 
 
 in6_if2idlen:unknown link type (249)
 
 in6_if2idlen:unknown link type (244)

Because the interface length of the above if types (34 = IFT_PARA, 249
= IFT_IST, 244 = IFT_DUMMY) are not defined.

 
 I know these are only warnings but when they occur I can not ping other
 computers (only direct attached links) and the computer doesn't make
 forwarding of packets.
 
 Anybody knows what is wrong?

I don't think the above errors are the reason of your routing problem.
Just to make sure, did you specify any kind of routing daemon in your
rc.conf?  Maybe disclosing your routing table information (by netstat
-nr) may give us some hints to solve the problem.

---
Keiichi SHIMA
IIJ Research Laboratory [EMAIL PROTECTED]
KAME Project [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Simple question

2005-07-06 Thread Efren Bravo
Hi again, 

I'm reading a Pdf book downloaded from freeBSD.org called FreeBSD 
Handbook and there I always find this references: 

sendmail(8) 
sshd(8) 
/etc/inetd.conf(5)  -Which is the meaning of those numbers 


Thanks


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


Re: Simple question

2005-07-06 Thread Charles Swiger

On Jul 6, 2005, at 3:45 PM, Efren Bravo wrote:
Hi again, I'm reading a Pdf book downloaded from freeBSD.org called  
FreeBSD Handbook and there I always find this references: sendmail 
(8) sshd(8) /etc/inetd.conf(5)  -Which is the meaning of those  
numbers Thanks


It refers to the section of the man pages.
See man man, or man 8 intro, or man 5 intro, respectively.

--
-Chuck

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


Re: Simple question

2005-07-06 Thread Michael Beattie
On 7/6/05, Efren Bravo [EMAIL PROTECTED] wrote:
 Hi again,
 
 I'm reading a Pdf book downloaded from freeBSD.org called FreeBSD
 Handbook and there I always find this references:
 
 sendmail(8)
 sshd(8)
 /etc/inetd.conf(5)  -Which is the meaning of those numbers
 
 Thanks
 

The numbers refer to what section of the manual it is in.

Here's a list of what the sections are

Section The human readable name
   1User commands that may be started by everyone.
   2System calls, that is, functions provided by the kernel.
   3Subroutines, that is, library functions.
   4Devices, that is, special files in the /dev directory.
   5File format descriptions, e.g. /etc/passwd.
   6Games, self-explanatory.
   7Miscellaneous, e.g. macro packages, conventions.
   8System administration tools that only root can execute.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple question

2005-07-06 Thread Jerry McAllister
 
 Hi again, 
  
 I'm reading a Pdf book downloaded from freeBSD.org called FreeBSD 
 Handbook and there I always find this references: 
  
 sendmail(8) 
 sshd(8) 
 /etc/inetd.conf(5)  -Which is the meaning of those numbers 

Those are the man page sections to look at for documentation.
So 'man sendmail' would get you the man (manual) text for sendmail.
Some things will show up in more than one section or have more than
one thing with a similar name.   So, you can put the section number
in the call to get the one you want, such as  'man 8 sendmail' 
although with sendmail you don't really need the section number.
Putting the section number in is also a way of pointing out that 
you should be looking at the man page for this item.

jerry

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


Re: Simple question

2005-07-06 Thread Louis LeBlanc
On 07/06/05 03:45 PM, Efren Bravo sat at the `puter and typed:
 Hi again, 
  
 I'm reading a Pdf book downloaded from freeBSD.org called FreeBSD 
 Handbook and there I always find this references: 
  
 sendmail(8) 
 sshd(8) 
 /etc/inetd.conf(5)  -Which is the meaning of those numbers 

This refers to the manpage section that would describe the utilitiy in
question.  For instance, the sendmail(8) manpage can be accessed with
the following:
man 8 sendmail

If you omit the '8' you will get the sendmail manpage from section 1
of the manpages, which describes (if you have postfix installed,
anyway) the postfix to sendmail compatibility interface.

To see what each section focuses on, see:
man section # intro

Also, you might find the following of interest:
man man
man apropos

HTH
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

modesty, n.:
  Being comfortable that others will discover your greatness.


pgpMed3wBpbKE.pgp
Description: PGP signature


Re: Simple question

2005-07-06 Thread Bryan Maynard
I just want to note: it tokk all of five minutes to get an answer to this 
question. I know not all questions are, or can be, answered this quickly. I 
just think it's worth noting that Open Source Software does have excellent 
user support. . .

Just my .02 :-)

On Wednesday 06 July 2005 07:45 pm, Efren Bravo wrote:
 Hi again,

 I'm reading a Pdf book downloaded from freeBSD.org called FreeBSD
 Handbook and there I always find this references:

 sendmail(8)
 sshd(8)
 /etc/inetd.conf(5)  -Which is the meaning of those numbers

 Thanks


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

Thanks,

Bryan
-- 
Open Source: by the people, for the people.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Simple question--OT

2005-07-06 Thread Jean-Paul Natola
I just received this message NOW at 7:55 pm EST

But I did receive it before , could  this be related to my new BSD box??

Or have any others received delayed  duplicates?

And is says  3:51 pm

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Charles Swiger
Sent: Wednesday, July 06, 2005 3:51 PM
To: Efren Bravo
Cc: freeBSD
Subject: Re: Simple question

On Jul 6, 2005, at 3:45 PM, Efren Bravo wrote:
 Hi again, I'm reading a Pdf book downloaded from freeBSD.org called  
 FreeBSD Handbook and there I always find this references: sendmail 
 (8) sshd(8) /etc/inetd.conf(5)  -Which is the meaning of those  
 numbers Thanks

It refers to the section of the man pages.
See man man, or man 8 intro, or man 5 intro, respectively.

-- 
-Chuck

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


Quick and Simple question

2004-12-02 Thread Alvaro Rosales
Hello Guys a quick and simple question. Which command line should I
use to see the type of processor I am using?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Quick and Simple question

2004-12-02 Thread Dan Nelson
In the last episode (Dec 02), Alvaro Rosales said:
 Hello Guys a quick and simple question. Which command line should I
 use to see the type of processor I am using?

The file /var/run/dmesg.boot will give you a lot of detail, some of
which is stored in the hw sysctl tree for easy retrieval by scripts
or programs.  hw.machine, hw.model, and hw.clockrate for example.

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


Re: Quick and Simple question

2004-12-02 Thread Chuck Swiger
Alvaro Rosales wrote:
Hello Guys a quick and simple question. Which command line should I
use to see the type of processor I am using?
uname -mp
sysctl -a hw
--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Quick and Simple question

2004-12-02 Thread Joshua Lokken
On Thu, 2 Dec 2004 12:30:18 -0600, Dan Nelson [EMAIL PROTECTED] wrote:
 In the last episode (Dec 02), Alvaro Rosales said:
  Hello Guys a quick and simple question. Which command line should I
  use to see the type of processor I am using?
 
 The file /var/run/dmesg.boot will give you a lot of detail, some of
 which is stored in the hw sysctl tree for easy retrieval by scripts
 or programs.  hw.machine, hw.model, and hw.clockrate for example.


There should be some good output from:

# dmesg | grep CPU

too.

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


FreeBSD newbye simple question

2004-11-05 Thread Vittorio
Experienced linux debian user, recently I smoothly moved to linux gentoo 
(BSD compliant) AND to FreeBSD 5.2.1.

1) I want to tailor my freeBSD slice according to my machine (gentoo 
experience is helpful!). Now, while i I know how to compile an 
application in /usr/ports I cannot find sources of the base system I 
had to install when starting the first installation from scratch.

Where are those sources?

2) The questions' question: where can I read what are the options I can 
use with a certain source package and how can I use them when 
make(-ing) the program?

3) It goes without saying that many freebsd commands are the same as in 
linux but I cannot find the freebsd command equivalent to the linux 
command 'free' giving info about the size of memory used by the 
system's cache, buffers, swap, etc.

Please help.

Vittorio

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


Re: FreeBSD newbye simple question

2004-11-05 Thread Lowell Gilbert
Vittorio [EMAIL PROTECTED] writes:

 Experienced linux debian user, recently I smoothly moved to linux gentoo 
 (BSD compliant) AND to FreeBSD 5.2.1.
 
 1) I want to tailor my freeBSD slice according to my machine (gentoo 
 experience is helpful!). Now, while i I know how to compile an 
 application in /usr/ports I cannot find sources of the base system I 
 had to install when starting the first installation from scratch.
 
 Where are those sources?

The system sources are normally installed in /usr/src if they are
installed.  If they are not, you can install them from sysinstall, or
keep up with the latest sources on any of several branches of
FreeBSD.  See the FreeBSD Handbook section on The Cutting Edge.

 2) The questions' question: where can I read what are the options I can 
 use with a certain source package and how can I use them when 
 make(-ing) the program?

Not clear what you mean, but man ports will give you some
information about how things work in general.  Many ports have a
config target (so you can make config and set some config
options).  I often look at the port makefile to see what variables it
supports.  

If you're not using the ports system, then naturally you're on your
own; every third-party program can set its options any way the author
wished. 

 3) It goes without saying that many freebsd commands are the same as in 
 linux but I cannot find the freebsd command equivalent to the linux 
 command 'free' giving info about the size of memory used by the 
 system's cache, buffers, swap, etc.

Try top(1), swapinfo(8), vmstat(8), and so on (and see the SEE ALSO
sections in their manual pages).  Also, if you're not highly
knowledgeable in Virtual Memory architecture techniques, see the FAQ
entries titled FreeBSD uses far more swap space than Linux. Why? and
Why does top show very little free memory even when I have very few
programs running?.

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


Re: FreeBSD newbye simple question

2004-11-05 Thread Subhro
On Fri, 5 Nov 2004 13:29:07 +, Vittorio [EMAIL PROTECTED] wrote:

snip

 Where are those sources?

/usr/src

 
 2) The questions' question: where can I read what are the options I can
 use with a certain source package and how can I use them when
 make(-ing) the program?

Read the makefile or use ./configure --help | more

 
 3) It goes without saying that many freebsd commands are the same as in
 linux but I cannot find the freebsd command equivalent to the linux
 command 'free' giving info about the size of memory used by the
 system's cache, buffers, swap, etc.

Are you speaking about C?

Regards
S.

-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD newbye simple question

2004-11-05 Thread nick holley
On Fri, 5 Nov 2004 13:29:07 +, Vittorio [EMAIL PROTECTED] wrote:
 1) I want to tailor my freeBSD slice according to my machine (gentoo
 experience is helpful!). Now, while i I know how to compile an
 application in /usr/ports I cannot find sources of the base system I
 had to install when starting the first installation from scratch.
 
 Where are those sources?

/usr/src
 
 2) The questions' question: where can I read what are the options I can
 use with a certain source package and how can I use them when
 make(-ing) the program?

I do the same as the others have suggested, read the Makefile.
 
 3) It goes without saying that many freebsd commands are the same as in
 linux but I cannot find the freebsd command equivalent to the linux
 command 'free' giving info about the size of memory used by the
 system's cache, buffers, swap, etc.

My preferred command for this is 'top -d1|grep -A1 Mem'. If you want
you can alias this using your preferred shell or write a small script
named 'free'.

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


Re: FreeBSD newbye simple question

2004-11-05 Thread Nathan Kinkade
On Fri, Nov 05, 2004 at 01:29:07PM +, Vittorio wrote:
 Experienced linux debian user, recently I smoothly moved to linux gentoo 
 (BSD compliant) AND to FreeBSD 5.2.1.
 
 1) I want to tailor my freeBSD slice according to my machine (gentoo 
 experience is helpful!). Now, while i I know how to compile an 
 application in /usr/ports I cannot find sources of the base system I 
 had to install when starting the first installation from scratch.
 
 Where are those sources?

The sources for the base system are available on the same media from
which you installed.  If you don't have anything under /usr/src/ the you
didn't install the sources.  With a running system you can run the
program called 'sysinstall', the same one use to install the intial
system and install the sources.  You can do this:

sysinstall - Configure - Distributions - src

 2) The questions' question: where can I read what are the options I can 
 use with a certain source package and how can I use them when 
 make(-ing) the program?

Sometimes you can read the Makefile in the port directory for a
particular port.

 3) It goes without saying that many freebsd commands are the same as in 
 linux but I cannot find the freebsd command equivalent to the linux 
 command 'free' giving info about the size of memory used by the 
 system's cache, buffers, swap, etc.

As far as I know the best way to get this information is from the
top(1).  You can also get info from systat(1), check out the manpage.

Nathan
-- 
PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=getsearch=0xD8527E49


pgpOpw8G3UjS9.pgp
Description: PGP signature


A simple question

2004-10-31 Thread baguio_sun
Hi!
Can anyone tell me the size of folder '/usr/src' when the cvsup is 
complete?
I ran cvsup 8 hours ago and it's still running ... my network is very 
slow... :(
Thanks in advance!

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


Re: A simple question

2004-10-31 Thread Erik Trulsson
On Sun, Oct 31, 2004 at 11:20:08PM +0600, baguio_sun wrote:
 Hi!
 Can anyone tell me the size of folder '/usr/src' when the cvsup is 
 complete?

About 350 MB. 


 I ran cvsup 8 hours ago and it's still running ... my network is very 
 slow... :(

If you have a slow network connection, then it can indeed take a lot of
time for the initial run of cvsup.  Future runs will be faster, since
only the changes will be fetched but the first run has to fetch
everything.


-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: A simple question

2004-10-31 Thread DanGer
Hello baguio_sun,

Sunday, October 31, 2004, 7:23:06 PM, you wrote:

 On Sun, Oct 31, 2004 at 11:20:08PM +0600, baguio_sun wrote:
 Hi!
 Can anyone tell me the size of folder '/usr/src' when the cvsup is 
 complete?

 About 350 MB. 


 I ran cvsup 8 hours ago and it's still running ... my network is very
 slow... :(

you could get you source from installation CD and then run cvsup. then
it should download only changed files...

 If you have a slow network connection, then it can indeed take a lot of
 time for the initial run of cvsup.  Future runs will be faster, since
 only the changes will be fetched but the first run has to fetch
 everything.

-- 
Best regards

+--==/\/\==--+
| DanGer [EMAIL PROTECTED] |
| [EMAIL PROTECTED] ICQ261701668 |
| http://danger.homeunix.org |
+--==\/\/==--+

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


Re: one simple question

2004-03-04 Thread Cordula's Web
 I compile a test C file. I notice there are a few lines at the
 beginning of the assembly code. I want to know what it means, but
 can't figure out one of them. Can anyone tell me what the
 following line does please?
 
 and$0xfff0,%esp

Hmmm, when I compile the simplest possible C file:

---
int
main (int argc, char *argv[])
{
  return 0;
}


I get this:


.file   test1.c
.version01.01
gcc2_compiled.:
.text
.p2align 2,0x90
.globl main
.typemain,@function
main:
pushl %ebp
movl %esp,%ebp
xorl %eax,%eax
jmp .L2
.p2align 2,0x90
.L2:
leave
ret
.Lfe1:
.sizemain,.Lfe1-main
.ident  GCC: (GNU) c 2.95.4 20020320 [FreeBSD]



No such thing as:

and$0xfff0,%esp

Are you using gcc 3.3.x?

Anyway, this code looks like it would align the stack
the stack pointer...

 best regards
 Chungwei

-- 
Cordula's Web. http://www.cordula.ws/

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


Re: one simple question

2004-03-04 Thread bear
thank you very much for the reply
yes and I am using gcc 3.2.2
if you gdb the executable and disassemble main
you will see the line like that
but if you use gcc -S something.s something.c
it won't appear in the assembly code

and I google around, I think it does the alignment for optimization
purpose, in that case the memory access will be faster according to the
article.

best regards,
Chungwei

--- Cordula's Web [EMAIL PROTECTED] wrote:
  I compile a test C file. I notice there are a few lines at the
  beginning of the assembly code. I want to know what it means, but
  can't figure out one of them. Can anyone tell me what the
  following line does please?
  
  and$0xfff0,%esp
 
 Hmmm, when I compile the simplest possible C file:
 
 ---
 int
 main (int argc, char *argv[])
 {
   return 0;
 }
 
 
 I get this:
 
 
   .file   test1.c
   .version01.01
 gcc2_compiled.:
 .text
   .p2align 2,0x90
 .globl main
   .typemain,@function
 main:
   pushl %ebp
   movl %esp,%ebp
   xorl %eax,%eax
   jmp .L2
   .p2align 2,0x90
 .L2:
   leave
   ret
 .Lfe1:
   .sizemain,.Lfe1-main
   .ident  GCC: (GNU) c 2.95.4 20020320 [FreeBSD]
 
 
 
 No such thing as:
 
 and$0xfff0,%esp
 
 Are you using gcc 3.3.x?
 
 Anyway, this code looks like it would align the stack
 the stack pointer...
 
  best regards
  Chungwei
 
 -- 
 Cordula's Web. http://www.cordula.ws/
 


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


Re: one simple question

2004-03-04 Thread Cordula's Web
   I compile a test C file. I notice there are a few lines at the
   beginning of the assembly code. I want to know what it means, but
   can't figure out one of them. Can anyone tell me what the
   following line does please?
   
   and$0xfff0,%esp
 
  gcc2_compiled.:
  .text
  .p2align 2,0x90
  .globl main
  .typemain,@function
  main:
  pushl %ebp
  movl %esp,%ebp
  xorl %eax,%eax
  jmp .L2
  .p2align 2,0x90
  .L2:
 
 thank you very much for the reply
 yes and I am using gcc 3.2.2
 if you gdb the executable and disassemble main
 you will see the line like that
 but if you use gcc -S something.s something.c
 it won't appear in the assembly code

Ah, so it's being introduced by the assembler, not the compiler.
That is perhaps the effect of alignement instructions like

  .text
  .p2align 2,0x90

this and similar defaults.

 and I google around, I think it does the alignment for optimization
 purpose, in that case the memory access will be faster according to the
 article.

That may very well be the case. Considering that a cache line is also
a few words worth, it may be sensible to start with an aligned stack
frame too.

 best regards,
 Chungwei

-- 
Cordula's Web. http://www.cordula.ws/

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


one simple question

2004-03-03 Thread chungwei Hsiung
Hello..
  I have a simple question, but I am not sure what the answer is. If anyone can 
possibly help me, it is really appreciated.
  I compile a test C file. I notice there are a few lines at the beginning of the 
assembly code. I want to know what it means, but can't figure out one of them. Can 
anyone tell me what the following line does please?

and$0xfff0,%esp

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


Re: one simple question

2004-03-03 Thread Chris Pressey
On Wed, 3 Mar 2004 18:13:43 +
chungwei Hsiung [EMAIL PROTECTED] wrote:

 Hello..
   I have a simple question, but I am not sure what the answer is. If
   anyone can possibly help me, it is really appreciated. I compile a
   test C file. I notice there are a few lines at the beginning of the
   assembly code. I want to know what it means, but can't figure out
   one of them. Can anyone tell me what the following line does please?
 
 and$0xfff0,%esp
 
 best regards
 Chungwei

Hi Chungwei,

I believe that instruction is used to align the stack pointer to a
16-byte boundary, for efficiency.

However, this is just a guess, based on some discussions I've seen.
I don't know for certain.

You may have better luck asking on [EMAIL PROTECTED]

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


Re: rc.firewall 'simple' question

2004-01-19 Thread Radek Kozlowski
On Monday, January 19, 2004, 2:00:21 AM, Rishi Chopra wrote:

 Forgive the stupid question, but why are the 'rfc1918' and 'draft 
 manning' sections repeated in the default rc.firewall file?  Does this
 have something to do with the natd statement in between them?  I 
 understand the rules are processed (added) sequentially, so am I missing
 something?

They are not repeated, they just look very similar to each other.
Notice that the first part consists of rules 'from ANY to [...]' and
the second part 'from [...] to ANY'.

-Radek

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


rc.firewall 'simple' question

2004-01-18 Thread Rishi Chopra
Forgive the stupid question, but why are the 'rfc1918' and 'draft 
manning' sections repeated in the default rc.firewall file?  Does this 
have something to do with the natd statement in between them?  I 
understand the rules are processed (added) sequentially, so am I missing 
something?

# Stop RFC1918 nets on the outside interface
${fwcmd} add deny all from any to 10.0.0.0/8 via ${oif}
${fwcmd} add deny all from any to 172.16.0.0/12 via ${oif}
${fwcmd} add deny all from any to 192.168.0.0/16 via ${oif}
# Stop draft-manning-dsua-03.txt (1 May 2000) nets (includes 
RESERVED-1,
# DHCP auto-configuration, NET-TEST, MULTICAST (class D), and 
class E)
# on the outside interface
${fwcmd} add deny all from any to 0.0.0.0/8 via ${oif}
${fwcmd} add deny all from any to 169.254.0.0/16 via ${oif}
${fwcmd} add deny all from any to 192.0.2.0/24 via ${oif}
${fwcmd} add deny all from any to 224.0.0.0/4 via ${oif}
${fwcmd} add deny all from any to 240.0.0.0/4 via ${oif}

# Network Address Translation.  This rule is placed here 
deliberately
# so that it does not interfere with the surrounding 
address-checking
# rules.  If for example one of your internal LAN machines had 
its IP
# address set to 192.0.2.1 then an incoming packet for it after 
being
# translated by natd(8) would match the `deny' rule above. 
Similarly
# an outgoing packet originated from it before being translated 
would
# match the `deny' rule below.
case ${natd_enable} in
[Yy][Ee][Ss])
if [ -n ${natd_interface} ]; then
${fwcmd} add divert natd all from any to any 
via ${natd_interface}
fi
;;
esac

# Stop RFC1918 nets on the outside interface
${fwcmd} add deny all from 10.0.0.0/8 to any via ${oif}
${fwcmd} add deny all from 172.16.0.0/12 to any via ${oif}
${fwcmd} add deny all from 192.168.0.0/16 to any via ${oif}
# Stop draft-manning-dsua-03.txt (1 May 2000) nets (includes 
RESERVED-1,
# DHCP auto-configuration, NET-TEST, MULTICAST (class D), and 
class E)
# on the outside interface
${fwcmd} add deny all from 0.0.0.0/8 to any via ${oif}
${fwcmd} add deny all from 169.254.0.0/16 to any via ${oif}
${fwcmd} add deny all from 192.0.2.0/24 to any via ${oif}
${fwcmd} add deny all from 224.0.0.0/4 to any via ${oif}
${fwcmd} add deny all from 240.0.0.0/4 to any via ${oif}

--
Rishi Chopra
http://www.ocf.berkeley.edu/~rchopra
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: minimum memory [was: A simple question about FreeBSD]

2003-03-16 Thread Vallo Kallaste
On Sun, Mar 16, 2003 at 07:17:51AM +1100, Sue Blake
[EMAIL PROTECTED] wrote:

 This memory question comes up a lot, and I'm not sure how up to date
 that part of the documentation is. Has anyone _definitely_ run an
 install on a machine with only 8MB in the last couple of years?
 
 Twice I have failed to install (boot floppy with CD) to machines with
 only 8MB RAM. It could have been FreeBSD 4.4, but I think it was
 FreeBSD 3.3. I'd love to discover that I'm wrong here.
 
 Of course the alternative is to put the disk in another machine to do
 the install, then it should run OK back in the 8MB machine. As for X,
 forget trying it. If it was installed it would run but not usably,
 no matter how much swap. Without X and with plenty of swap you can do
 a lot with your 8MB in text mode if you can get an installation going.
 I had a 386 with 8MB running FreeBSD 2.x (without X) that ran much
 faster than the NT4 pentium beside it. The 486 CPU should be fine.

Even 4.4 didn't install using standard release floppies and 8MB of
memory. I had to build custom stripped down kernel. Otherwise 8MB
and 80Mhz 486 has plenty of power to run home DSL gateway with IP
firewall, ssh, ftpd and whatnot. Of course the bandwidth of your DSL
connection matters, if you have 8Mbit/s connection you must use
netgraph/mpd.
-- 

Vallo Kallaste

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: minimum memory [was: A simple question about FreeBSD]

2003-03-16 Thread Doug Reynolds
On Sun, 16 Mar 2003 07:17:51 +1100, Sue Blake wrote:

On Fri, Mar 14, 2003 at 09:28:14PM -0500, taxman wrote:
 On Friday 14 March 2003 08:23 pm, Wizard of Wor wrote:
  I was unable to find the minimum requirements on x86 platform. Can I
  run FreeBSD on mz 486dx2 8Mb laptop smoothly?
 
 The install documentation or the FAQ does have this answer, but yes you should 
 be able to run fine on this machine.  Just don't try to install X windows, 
 unless you set up a *lot* of swap.  It also depends a little bit on if there 
 is any noncooperative hardware on the machine.  Laptops tend to have some of 
 that.  Best bet is to try it.  4.x will probably work the best for you.


This memory question comes up a lot, and I'm not sure how up to date
that part of the documentation is. Has anyone _definitely_ run an
install on a machine with only 8MB in the last couple of years?

Twice I have failed to install (boot floppy with CD) to machines with
only 8MB RAM. It could have been FreeBSD 4.4, but I think it was
FreeBSD 3.3. I'd love to discover that I'm wrong here.

Of course the alternative is to put the disk in another machine to do
the install, then it should run OK back in the 8MB machine. As for X,
forget trying it. If it was installed it would run but not usably,
no matter how much swap. Without X and with plenty of swap you can do
a lot with your 8MB in text mode if you can get an installation going.
I had a 386 with 8MB running FreeBSD 2.x (without X) that ran much
faster than the NT4 pentium beside it. The 486 CPU should be fine.

AFAIK, you need 12meg to install, but only 8 to run.

I wouldnt run it will less than 16 or 24.  I had 28 megs in a old
486-133, and 4.3-release ran great.

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


minimum memory [was: A simple question about FreeBSD]

2003-03-15 Thread Sue Blake
On Fri, Mar 14, 2003 at 09:28:14PM -0500, taxman wrote:
 On Friday 14 March 2003 08:23 pm, Wizard of Wor wrote:
  I was unable to find the minimum requirements on x86 platform. Can I
  run FreeBSD on mz 486dx2 8Mb laptop smoothly?
 
 The install documentation or the FAQ does have this answer, but yes you should 
 be able to run fine on this machine.  Just don't try to install X windows, 
 unless you set up a *lot* of swap.  It also depends a little bit on if there 
 is any noncooperative hardware on the machine.  Laptops tend to have some of 
 that.  Best bet is to try it.  4.x will probably work the best for you.


This memory question comes up a lot, and I'm not sure how up to date
that part of the documentation is. Has anyone _definitely_ run an
install on a machine with only 8MB in the last couple of years?

Twice I have failed to install (boot floppy with CD) to machines with
only 8MB RAM. It could have been FreeBSD 4.4, but I think it was
FreeBSD 3.3. I'd love to discover that I'm wrong here.

Of course the alternative is to put the disk in another machine to do
the install, then it should run OK back in the 8MB machine. As for X,
forget trying it. If it was installed it would run but not usably,
no matter how much swap. Without X and with plenty of swap you can do
a lot with your 8MB in text mode if you can get an installation going.
I had a 386 with 8MB running FreeBSD 2.x (without X) that ran much
faster than the NT4 pentium beside it. The 486 CPU should be fine.


-- 

Regards,
-*Sue*-

 
 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


A simple question about FreeBSD

2003-03-14 Thread Wizard of Wor
I was unable to find the minimum requirements on x86 platform. Can I 
run FreeBSD on mz 486dx2 8Mb laptop smoothly?

Please help me by answering this simple question.

regards,
wauf

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: A simple question about FreeBSD

2003-03-14 Thread taxman
On Friday 14 March 2003 08:23 pm, Wizard of Wor wrote:
 I was unable to find the minimum requirements on x86 platform. Can I
 run FreeBSD on mz 486dx2 8Mb laptop smoothly?

The install documentation or the FAQ does have this answer, but yes you should 
be able to run fine on this machine.  Just don't try to install X windows, 
unless you set up a *lot* of swap.  It also depends a little bit on if there 
is any noncooperative hardware on the machine.  Laptops tend to have some of 
that.  Best bet is to try it.  4.x will probably work the best for you.

Tim



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: a simple question about ports

2003-03-04 Thread Cliff Sarginson
On Sun, Mar 02, 2003 at 01:42:31PM -0600, Mike Meyer wrote:
 In [EMAIL PROTECTED], Cliff Sarginson [EMAIL PROTECTED] typed:
  On Sun, Mar 02, 2003 at 12:39:13PM -0600, Mike Meyer wrote:
   In [EMAIL PROTECTED], Cliff Sarginson [EMAIL PROTECTED] typed:
Why are ports sometimes released, when they are uncompileable ?
   Lots of different reasons, the most likely one being that they
   compiled fine on the committers box.
  And aye there's the rub.
 
 I've found that most maintainers are willing to try and fix ports that
 don't compile in your environment. You can't expect a bug to be fixed
 unless you report it to someone who can fix it.
 
Let us straighten a few things out here, the perpetuation of this kind of
nonsense puts us back in the dark Lord of Redmond world.

A language is a language. Ok GCC has groovy extras to allow FreeBSD and
Linux to compile.  
I expect that Hello. world will compile   
link and run .. yes ?
Does it matter very much what CPU I have, how much memory etc..?
Linking, Now we have another story.
It is quite educational to find thet KDE has a dependency on a game
program ;) Yup it sure does.
I know people put in precious spare time to just about the best OS on
the planet.
But portupgrade just does not hack it.
Ok. End of story. Otherwise I will get banned again by the inner corpus.
Let us make it better.

-- 
Regards
   Cliff

[ This mail has been checked as virus-free ]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: a simple question about ports

2003-03-02 Thread Mike Meyer
In [EMAIL PROTECTED], Cliff Sarginson [EMAIL PROTECTED] typed:
 Why are ports sometimes released, when they are uncompileable ?

Lots of different reasons, the most likely one being that they
compiled file on the committers box.

mike

-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: a simple question about ports

2003-03-02 Thread Cliff Sarginson
On Sun, Mar 02, 2003 at 12:39:13PM -0600, Mike Meyer wrote:
 In [EMAIL PROTECTED], Cliff Sarginson [EMAIL PROTECTED] typed:
  Why are ports sometimes released, when they are uncompileable ?
 
 Lots of different reasons, the most likely one being that they
 compiled file on the committers box.
 
And aye there's the rub.

-- 
Regards
   Cliff

[ This mail has been checked as virus-free ]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: a simple question about ports

2003-03-02 Thread Mike Meyer
In [EMAIL PROTECTED], Cliff Sarginson [EMAIL PROTECTED] typed:
 On Sun, Mar 02, 2003 at 12:39:13PM -0600, Mike Meyer wrote:
  In [EMAIL PROTECTED], Cliff Sarginson [EMAIL PROTECTED] typed:
   Why are ports sometimes released, when they are uncompileable ?
  Lots of different reasons, the most likely one being that they
  compiled fine on the committers box.
 And aye there's the rub.

I've found that most maintainers are willing to try and fix ports that
don't compile in your environment. You can't expect a bug to be fixed
unless you report it to someone who can fix it.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: a simple question about ports

2003-03-02 Thread Dan Nelson
In the last episode (Mar 02), Cliff Sarginson said:
 Why are ports sometimes released, when they are uncompileable ?

More details please.

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Simple question about profiling

2003-02-20 Thread Paolo Pisati

I've to confess this my first serious profile session, and
i found something really strange (at least for me... =P)

[flag@law3 src]$ gprof proto3
[snip]
 %   cumulative   self  self total
 time   seconds   secondscalls  ms/call  ms/call  name
 74.4  39.2639.26 .mcount (83)
  6.7  42.82 3.56 111575600 0.00 0.00  checkRule2d [4]
  6.6  46.30 3.48 1024 3.3912.30  buildTree2d [3]
  3.8  48.29 1.99 117334464 0.00 0.00  add_tail [6]
  3.7  50.25 1.96 117234464 0.00 0.00  rem [7]
  1.8  51.18 0.93 117234464 0.00 0.00  rem_head [5]
  0.6  51.51 0.33  164 0.00 0.00  __qdivrem [13]
  0.5  51.75 0.24   84 0.00 0.00  __svfscanf [9]
  0.4  51.96 0.21 9037 0.02 0.09  buildTree1d [10]
  0.3  52.14 0.18   80 0.00 0.00  strtoumax [12]
  0.3  52.28 0.14  1078414 0.00 0.00  memset [20]
  0.2  52.41 0.12  5658864 0.00 0.00  checkRule1d [21]
  0.1  52.47 0.07   250129 0.00 0.00  count [23]
  0.1  52.52 0.05   537809 0.00 0.00  malloc_bytes cycle 1 [22
]
  0.1  52.56 0.04  1166299 0.00 0.00  append_lists [25]
  0.1  52.59 0.03  2411019 0.00 0.00  new_list [26]
  0.1  52.62 0.03   536551 0.00 0.00  calloc [14]
  0.0  52.64 0.02   70 0.24 0.42  tree2dHeight [29]
[snip]

i think this is the beef: what the hell is .mcount?!?!
if i read the table correctly, .mcount is the guilty, isn't it?

any help or pointer is appreciated, thank you... =)

-- 

Paolo

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Simple question about profiling

2003-02-20 Thread Toni Schmidbauer
On Thu, Feb 20, 2003 at 03:40:43PM +0100, Paolo Pisati wrote:
 
 I've to confess this my first serious profile session, and
 i found something really strange (at least for me... =P)

see my answer to your previous posting. mcount is a function
used by profiling.

toni
-- 
Terror ist der Krieg der Armen,   | [EMAIL PROTECTED]
Krieg ist der Terror der Reichen. | Toni Schmidbauer
- Sir Peter Ustinov   |



msg1/pgp0.pgp
Description: PGP signature


Re: Simple question about profiling

2003-02-19 Thread Toni Schmidbauer
On Tue, Feb 18, 2003 at 10:36:16PM +0100, Paolo Pisati wrote:
 
 I've to confess this my first serious profile session, and
 i found something really strange (at least for me... =P)
 
  74.4  39.2639.26 .mcount (83)

 i think this is the beef: what the hell is .mcount?!?!
 if i read the table correctly, .mcount is the guilty, isn't it?

i think mcount is used for profiling, so it doesn't count! see

http://www.gnu.org/manual/gprof-2.9.1/html_node/gprof_25.html

toni
-- 
Terror ist der Krieg der Armen,   | [EMAIL PROTECTED]
Krieg ist der Terror der Reichen. | Toni Schmidbauer
- Sir Peter Ustinov   |



msg19923/pgp0.pgp
Description: PGP signature


Simple question about profiling

2003-02-18 Thread Paolo Pisati

I've to confess this my first serious profile session, and
i found something really strange (at least for me... =P)

[flag@law3 src]$ gprof proto3
[snip]
 %   cumulative   self  self total
 time   seconds   secondscalls  ms/call  ms/call  name
 74.4  39.2639.26 .mcount (83)
  6.7  42.82 3.56 111575600 0.00 0.00  checkRule2d [4]
  6.6  46.30 3.48 1024 3.3912.30  buildTree2d [3]
  3.8  48.29 1.99 117334464 0.00 0.00  add_tail [6]
  3.7  50.25 1.96 117234464 0.00 0.00  rem [7]
  1.8  51.18 0.93 117234464 0.00 0.00  rem_head [5]
  0.6  51.51 0.33  164 0.00 0.00  __qdivrem [13]
  0.5  51.75 0.24   84 0.00 0.00  __svfscanf [9]
  0.4  51.96 0.21 9037 0.02 0.09  buildTree1d [10]
  0.3  52.14 0.18   80 0.00 0.00  strtoumax [12]
  0.3  52.28 0.14  1078414 0.00 0.00  memset [20]
  0.2  52.41 0.12  5658864 0.00 0.00  checkRule1d [21]
  0.1  52.47 0.07   250129 0.00 0.00  count [23]
  0.1  52.52 0.05   537809 0.00 0.00  malloc_bytes cycle 1 [22
]
  0.1  52.56 0.04  1166299 0.00 0.00  append_lists [25]
  0.1  52.59 0.03  2411019 0.00 0.00  new_list [26]
  0.1  52.62 0.03   536551 0.00 0.00  calloc [14]
  0.0  52.64 0.02   70 0.24 0.42  tree2dHeight [29]
[snip]

i think this is the beef: what the hell is .mcount?!?!
if i read the table correctly, .mcount is the guilty, isn't it?

any help or pointer is appreciated, thank you... =)

-- 

Paolo

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Simple question about mc and Ctrl+O

2003-02-03 Thread scarabey99
Plese help me
I use FreeBSD 4.7, and when press Ctrl+O in mc (Midnight Commander), I 
get window Not the xterm, and not console Linux/SCO Why my pannels 
can't switch ?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Simple question about X

2003-01-25 Thread Brian McCann
Hi all.  I've got a simple and stupid question.  I'm trying to run an X
app (dcgui) via Xmanager from a windows box.  So...I did a make install
on that, and it complained about xauth not being there.  So, I just
installed X, did a make install in /usr/ports/x11/XFree86-4.  But when I
type startx or X I get a message that it's unable to open a config
file.  And I'm having a MAJOR brain fart and cannot remember what
package provides the configure scripts.  Can someone help me out?

Thanks,
--Brian


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Fwd: Re: Simple question about X

2003-01-25 Thread Willie Viljoen
DAMMIT! Yet again I send it back to the sender, and not the list, if I do this 
one more time, somebody have me banned.

--  Forwarded Message  --

Subject: Re: Simple question about X
Date: Sat, 25 Jan 2003 21:41:18 +0200
From: Willie Viljoen [EMAIL PROTECTED]
To: Brian McCann [EMAIL PROTECTED]

No configure scripts needed, just run XFree86 -configure :)

On Saturday 25 January 2003 21:31, Brian McCann wrote:
 Hi all.  I've got a simple and stupid question.  I'm trying to run an X
 app (dcgui) via Xmanager from a windows box.  So...I did a make install
 on that, and it complained about xauth not being there.  So, I just
 installed X, did a make install in /usr/ports/x11/XFree86-4.  But when I
 type startx or X I get a message that it's unable to open a config
 file.  And I'm having a MAJOR brain fart and cannot remember what
 package provides the configure scripts.  Can someone help me out?

 Thanks,
 --Brian


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

--
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

---

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Simple question about X

2003-01-25 Thread Mykroft Holmes IV
You shouldn't even need to configure X if you are exporting the display.
X needs to be installed merely for the support apps  libraries.

Make sure your DISPLAY Variable is set to windowshostname:0 where 0 is
the number of your display (And it should be 0 by default).

Then from the command line, run the app, it should appear on your
Windows Desktop.

Adam


On Sat, 2003-01-25 at 14:31, Brian McCann wrote:
 Hi all.  I've got a simple and stupid question.  I'm trying to run an X
 app (dcgui) via Xmanager from a windows box.  So...I did a make install
 on that, and it complained about xauth not being there.  So, I just
 installed X, did a make install in /usr/ports/x11/XFree86-4.  But when I
 type startx or X I get a message that it's unable to open a config
 file.  And I'm having a MAJOR brain fart and cannot remember what
 package provides the configure scripts.  Can someone help me out?
 
 Thanks,
 --Brian
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Simple question about X

2003-01-25 Thread Brian McCann
Ok...I got it to work...it was a problem with the app.  But...now I've
got a really odd one.  I'm trying to install Qt30, and when I do a
make install it tells me  qt-3.0.5_5 is marked as broken: The QT 3.x
port does not support any XFree86  4.x.  That's fine with me, since
I'll be using the 4 libraries, but how to I get it to install?

Thanks,
--Brian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Mykroft Holmes
IV
Sent: Saturday, January 25, 2003 2:59 PM
To: Brian McCann
Cc: [EMAIL PROTECTED]
Subject: Re: Simple question about X


You shouldn't even need to configure X if you are exporting the display.
X needs to be installed merely for the support apps  libraries.

Make sure your DISPLAY Variable is set to windowshostname:0 where 0 is
the number of your display (And it should be 0 by default).

Then from the command line, run the app, it should appear on your
Windows Desktop.

Adam


On Sat, 2003-01-25 at 14:31, Brian McCann wrote:
 Hi all.  I've got a simple and stupid question.  I'm trying to run an 
 X app (dcgui) via Xmanager from a windows box.  So...I did a make 
 install on that, and it complained about xauth not being there.  So, I

 just installed X, did a make install in /usr/ports/x11/XFree86-4.  But

 when I type startx or X I get a message that it's unable to open a

 config file.  And I'm having a MAJOR brain fart and cannot remember 
 what package provides the configure scripts.  Can someone help me out?
 
 Thanks,
 --Brian
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



simple question about remote kernel debugging with gdb

2002-12-13 Thread Jonas Bülow
Hi,

When doing remote kernel debugging, how to I detach the remote machine?
man ddb says the gdb command toggles between  remote GDB and DDB mode. The
problem is that once toggled to remote GDB, gdb won't accept gdb as a
command:

(kgdb) target remote /dev/cuaa0
Remote debugging using /dev/cuaa0

0xc0207d15 in osigreturn (p=0xc02487a9, uap=0x0)
at ../../i386/i386/machdep.c:803
803 vm86-vm86_eflags = eflags; /* save VIF, VIP */

(kgdb) gdb
Undefined command: gdb.  Try help.

So what is the simple solution to this problem?

Regards,
   Jonas





To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Simple Question

2002-12-03 Thread Barry Byrne
PicoBSD (http://www.picobsd.org/) fits on a floppy.

 -- Barry

--
Barry Byrne, IT Manager,
WBT Systems, Block 2, Harcourt Centre
Harcourt Street, Dublin 2, Ireland

Phone:  +353 1 417 0150
Fax:+353 1 478 5544
Email:  [EMAIL PROTECTED]
Web:www.wbtsystems.com

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Asenchi
 Sent: 03 December 2002 20:14
 To: [EMAIL PROTECTED]
 Subject: Simple Question
 
 
 What is the smallest fBSD install out there?  How small of a hard drive
 could you fit a good install of bsd on?
 
 Not a problem, just a question.
 
 ASENCHI
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: simple question

2002-11-06 Thread Kent Stewart


mike wrote:

Hello all, The easiest way of going about this is giving you a example. I am in /usr and i want to tar -xzvf ports.tar.gz, but i want to continue working in my shell while this process runs in the background. What would i type to make the output of that command not show but at the end simply do let me know its finished? thanks guys



tar -xzf ports.tar.gz 

Turn off the verbose and  to background it.

Kent

--
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: simple question

2002-11-06 Thread Paul A. Scott
On 11/6/02 1:43 AM, Kent Stewart [EMAIL PROTECTED] wrote:

 mike wrote:
 What would i type to
 make the output of that command not show but at the end simply do let me know
 its finished? thanks guys
 
 tar -xzf ports.tar.gz 
 
 Turn off the verbose and  to background it.
 
 Kent

That will work unless tar has stderr output (error messages) which might
then cause the tar command to suspend, or cause the error messages to appear
on the screen, depending upon your stty tostop setting.

Also, by turning off the verbose option you won't see the list of files
extracted.

A better way (IMHO) would be to leave the verbose option on, and capture
both stdout and stderr output to a file, while running the whole thing in
background. Then when you're notified that the command completed, you can
peruse the file to see both the list and any errors.

The way to do this depends on the shell you're running.

With 'sh' and its derivatives use:

tar -xvzf ports.tar.gz tarlog.txt 21 

With 'csh' and its derivatives use:

tar -xvzf ports.tar.gz  tarlog.txt 

When the background command finishes, all the output will be in tarlog.txt

Hope this helps, 

Paul A. Scott
mailto:pscott;skycoast.us
http://skycoast.us/pscott/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: simple question

2002-11-06 Thread Paul A. Scott
On 11/6/02 1:43 AM, Kent Stewart [EMAIL PROTECTED] wrote:

 mike wrote:
 What would i type to
 make the output of that command not show but at the end simply do let me know
 its finished? thanks guys
 
 tar -xzf ports.tar.gz 
 
 Turn off the verbose and  to background it.
 
 Kent

That will work unless tar has stderr output (error messages) which might
then cause the tar command to suspend, or cause the error messages to appear
on the screen, depending upon your stty tostop setting.

Also, by turning off the verbose option you won't see the list of files
extracted.

A better way (IMHO) would be to leave the verbose option on, and capture
both stdout and stderr output to a file, while running the whole thing in
background. Then when you're notified that the command completed, you can
peruse the file to see both the list and any errors.

The way to do this depends on the shell you're running.

With 'sh' and its derivatives use:

tar -xvzf ports.tar.gz tarlog.txt 21 

With 'csh' and its derivatives use:

tar -xvzf ports.tar.gz  tarlog.txt 

When the background command finishes, all the output will be in tarlog.txt

Hope this helps, 

Paul A. Scott
mailto:pscott;skycoast.us
http://skycoast.us/pscott/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: simple question

2002-11-06 Thread Paul Everlund
On Wed, 6 Nov 2002, Paul A. Scott wrote:

 On 11/6/02 1:43 AM, Kent Stewart [EMAIL PROTECTED] wrote:

  mike wrote:
  What would i type to
  make the output of that command not show but at the end simply do
  let me know its finished? thanks guys
 
  tar -xzf ports.tar.gz 
 
  Turn off the verbose and  to background it.
 
  Kent

 That will work unless tar has stderr output (error messages) which
 might then cause the tar command to suspend, or cause the error
 messages to appear on the screen, depending upon your stty tostop
 setting.

 Also, by turning off the verbose option you won't see the list of
 files extracted.

 A better way (IMHO) would be to leave the verbose option on, and
 capture both stdout and stderr output to a file, while running the
 whole thing in background. Then when you're notified that the
 command completed, you can peruse the file to see both the list and
 any errors.

 The way to do this depends on the shell you're running.

 With 'sh' and its derivatives use:

 tar -xvzf ports.tar.gz tarlog.txt 21 

 With 'csh' and its derivatives use:

 tar -xvzf ports.tar.gz  tarlog.txt 

 When the background command finishes, all the output will be in
 tarlog.txt

 Hope this helps,

 Paul A. Scott

Just a shot in the dark, but how about...

# script tarout tar -xvzf ports.tar.gz 

...?

Best regards,
Paul


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: simple question

2002-11-06 Thread Paul A. Scott

 Just a shot in the dark, but how about...
 
 # script tarout tar -xvzf ports.tar.gz 
 
 ...?
 
 Best regards,
 Paul [Everlund]

Well, yes. That will work, too. Better yet, it is immune to the differences
between shells. Simpler is often better. :-)

I had hoped my explanation would lead to a better understanding of how the
shell processes these things (and hopefully provide some incentive to read
the man pages). After all, give a man a fish and he is fed for a day. Teach
a man to fish and he is fed for life.

Paul A. Scott
mailto:pscott;skycoast.us
http://skycoast.us/pscott/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



  1   2   >