Hey folks,
I was wondering how the C pre-processor interfaces with make. Let's suppose
that I have a little C program, something along the lines of:
#include
int
main()
{
#ifdef FOO
fprintf(stdout, "Hi, my name is foo.\n");
#endif
#ifdef BAR
fprintf(stdout, "Hi, my name is bar.\n");
In the last episode (Dec 29), John Terrell said:
> Has anyone seen this? I've just installed a ZFS only build following the
> instructions at (http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot). After
> rebooting after the install, the POST won't complete (it appears to be
> looking at the disks for s
Has anyone seen this? I've just installed a ZFS only build following the
instructions at (http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot). After
rebooting after the install, the POST won't complete (it appears to be looking
at the disks for something). If I unplug the drives and reboot, POST
A short while ago, I wrote:
> I poked around in the stuff in /sys/i386/vm looking for the threshholds
That should have said, "/sys/vm", not what I wrote. Sorry for any
confusion.
>of process memory size for promotion to 4 MB pages and for demotion back to
>4 KB pages, but didn't se
I poked around in the stuff in /sys/i386/vm looking for the threshholds
of process memory size for promotion to 4 MB pages and for demotion back to
4 KB pages, but didn't see them. Can someone tell me what those threshholds
are? I'm assuming there must be a larger threshhold for promotion th
While attempting to install Linux-realplayer on an 8.0 box I get this
error message:
pango-1.22.3-1.fc10.i386.rpm 100% of 374 kB 133 kBps
===> Extracting for linux-f10-pango-1.22.3
=> MD5 Checksum OK for rpm/i386/fedora/10/pango-1.22.3-1.fc10.i386.rpm.
=> SHA256 Checksum OK for
On Tue, Dec 29, 2009 at 07:50:21PM -0500, Steve Bertrand wrote:
> I want to add an alias to my .cshrc file:
>
> alias srm find . -name "*~" | xargs rm
No need for xargs:
alias srm "find . -name '*~' -exec rm {} +"
or
alias srm "find . -name '*~' -delete"
> ...so that I have an easy way
On Tue, Dec 29, 2009 at 11:37 PM, herbert langhans
wrote:
> Hi Daemons,
> I have just installed the brandnew mc 4.7 - now there is still an old little
> annoyance:
>
> Being root I can switch away the mc-commander and use the shell, CTRL+o does
> the trick.
>
> But as a normal user CTRL+o blanks
--- On Tue, 12/29/09, Dan Nelson wrote:
> From: Dan Nelson
> Subject: Re: mplayer / bash question
> To: "Neil Short"
> Cc: freebsd-questions@freebsd.org
> Date: Tuesday, December 29, 2009, 10:10 AM
> In the last episode (Dec 29), Neil
> Short said:
> > I'm trying to batch-rip audio files from
Glen Barber wrote:
> Hi Steve
>
> On Tue, Dec 29, 2009 at 7:50 PM, Steve Bertrand wrote:
>> Hi all, happy holidays!
>>
>> I want to add an alias to my .cshrc file:
>>
>> alias srm find . -name "*~" | xargs rm
>>
>
> Try enclosing it in quotes, such as:
>
>alias srm "find . -name \"*~\" |
Hi Steve
On Tue, Dec 29, 2009 at 7:50 PM, Steve Bertrand wrote:
> Hi all, happy holidays!
>
> I want to add an alias to my .cshrc file:
>
> alias srm find . -name "*~" | xargs rm
>
Try enclosing it in quotes, such as:
alias srm "find . -name \"*~\" | xargs rm"
Regards,
--
Glen Barber
_
Hi,
> Is this a problem with the pipe in the alias directive? The command
> works on the CLI, as I literally copy/pasted it into the .cshrc file.
I would think so.
What about:
alias srm /usr/bin/find . -name "*~" -delete
Best regards,
Olivier
___
Hi all, happy holidays!
I want to add an alias to my .cshrc file:
alias srm find . -name "*~" | xargs rm
...so that I have an easy way to remove the temp files left by svn.
After adding the alias, logging out and then back in, I get an error
stating:
acct-dev: ISP-RADIUS % srm
srm: Command n
Folks,
I'm missing *something* in the shared memory arena, because trying to build
audacity fails on my desktop as follows:
-lsndfile -lFLAC++ -lFLAC -lid3tag -lexpat -L/usr/local/lib -ltwolame
-L/usr/local/lib -ltag -pthread -L/usr/local/lib -ljack -lm
-lpthread
/usr/local/lib/libjac
Hi Daemons,
I have just installed the brandnew mc 4.7 - now there is still an old little
annoyance:
Being root I can switch away the mc-commander and use the shell, CTRL+o does
the trick.
But as a normal user CTRL+o blanks the screen, no shell prompt appears and
hitting a key just shows mc aga
Hi folks,
I just got a HP Proliant DL380 G5 and I've installed FreeBSD 8.0 on it.
The nic won't come up however.
dmesg shows:
bce0: mem
0xf800-0xf9ff irq 16 at device 0.0 on pci3
bce0: /usr/src/sys/dev/bce/if_bce.c(836): Unsupported controller
revision (B0)!
device_attach: bce0 atta
Roland:
If you can afford it, and if your laptop has a USB port, buy one of those
external harddisks. Plenty of room for music and movies... Also great for
backups!
Can't afford :-( I have many disks like that where I bought really cool
enclosures and the drives separately but currently am
On Tue, Dec 29, 2009 at 08:34:08PM +0100, n dhert wrote:
> There have been updates to cups and gutenprint.
> I now have # pkg_info | grep guten
> gutenprint-base-5.2.4 GutenPrint Printer Driver
> gutenprint-cups-5.2.4 GutenPrint Printer Driver
>
> But an # lpstat -t
> shows for my printers:
>
On Tue, Dec 29, 2009 at 09:06:09PM +0200, Kaya Saman wrote:
> lot's of different pieces of advice rolling in now!
>
> I guess what I will do as I have a small hard disk for what I want to do
> which is to get rid of my music and few movies which are stored on my
> laptop currently, is create sep
On Tue, Dec 29, 2009 at 12:25:48PM -0500, Jerry McAllister wrote:
>
> On Tue, Dec 29, 2009 at 04:27:11PM +, Frank Shute wrote:
>
> > On Tue, Dec 29, 2009 at 05:19:54PM +0200, Kaya Saman wrote:
> > >
> > > Many thanks guys for all the advice :-)
> > > It is really appreciated!
> > > ...
>
2009/12/28 Diego F. Arias R.
> On Mon, Dec 28, 2009 at 1:51 PM, wrote:
>
> > Dear Sir,
> >
> > I have installed BSD 7.2 release. All the installation worked fine till
> the
> > first re-boot of the system.
> >
> > The reboot gos fine until the end where it breaks:
> >
> > "Warning: /usr was not
On Tue, Dec 29, 2009 at 08:19:03PM +0100, n dhert wrote:
> There is an entry in /etc/hosts for the hostname and hostnam.domainname for
> its IP
> So far this is the only IP used (besides 127.0.0.1). /etc/resolv.conf
> containts the domainname
> and a nameserver line (nameserver 192.168.254.100)
> W
There have been updates to cups and gutenprint.
I now have # pkg_info | grep guten
gutenprint-base-5.2.4 GutenPrint Printer Driver
gutenprint-cups-5.2.4 GutenPrint Printer Driver
But an # lpstat -t
shows for my printers:
Unable to start filter "rastertogutenprint.5.1" - No such file or
dir
Jonathan Chen wrote:
> On Tue, Dec 29, 2009 at 07:04:24PM +0100, n dhert wrote:
>> On a newly installed FreeBSD7.2, when booting it takes a long time to get
>> past "Starting sshd.".
>> I'm using the PC only in a private network. The IP of the PC is 192.168.75.8
>> # ssh r...@192.168.75.8
>> or #
Many thanks again for all suggestions! :-)
[...]
For my desktop, with around 450 ports installed, I have the following lay-out;
Filesystem SizeUsed Avail Capacity Mounted on
/dev/ad4s1a484M 93M353M21%/
/dev/ad4s1g.eli373G168G175G49%/ho
On Tue, Dec 29, 2009 at 07:04:24PM +0100, n dhert wrote:
> On a newly installed FreeBSD7.2, when booting it takes a long time to get
> past "Starting sshd.".
> I'm using the PC only in a private network. The IP of the PC is 192.168.75.8
> # ssh r...@192.168.75.8
> or # ssh r...@127.0.0.1
> take bo
On a newly installed FreeBSD7.2, when booting it takes a long time to get
past "Starting sshd.".
I'm using the PC only in a private network. The IP of the PC is 192.168.75.8
# ssh r...@192.168.75.8
or # ssh r...@127.0.0.1
take both 15 seconds to display
Password: ...
At setup, I did specify a host
On Tue, Dec 29, 2009 at 06:37:25PM +0200, Kaya Saman wrote:
> [...]
> >
> >What is not unusual is to symlink /home e.g:
> >
> ># ln -s /usr/home /home
> >
> >ditto for /tmp. i.e you remove all the stuff that uses up space from
> >the root partition.
> >
> >So the only slices you need are /, /usr,
On Tue, 29 Dec 2009 16:53:24 +
RW articulated:
>BTW personally I use getmail instead of fetchmail, I've not used
>fetchmail much, but I've read a lot of bad things about it - some of
>which are mentioned here:
>
>http://pyropus.ca/software/getmail/faq.html#faq-about-why
That "article" is g
On Tue, Dec 29, 2009 at 05:26:42PM +, Anton Shterenlikht wrote:
> > Why not just point your preferred mail client at the imap server?
> > That way you can access your mail from anywhere (probably via
> > webmail too) Some imap clients, such as thunderbird and kmail, will
> > let you store your
On Tue, Dec 29, 2009 at 06:37:25PM +0200, Kaya Saman wrote:
> [...]
> >
> > What is not unusual is to symlink /home e.g:
> >
> > # ln -s /usr/home /home
> >
> > ditto for /tmp. i.e you remove all the stuff that uses up space from
> > the root partition.
> >
> > So the only slices you need are /, /
On Tue, Dec 29, 2009 at 04:27:11PM +, Frank Shute wrote:
> On Tue, Dec 29, 2009 at 05:19:54PM +0200, Kaya Saman wrote:
> >
> > Many thanks guys for all the advice :-)
> > It is really appreciated!
> > ...
> >
> > I reckon the proposed disk usage spec from the FreeBSD hand book should
>
On Tue, Dec 29, 2009 at 04:53:24PM +, RW wrote:
> On Tue, 29 Dec 2009 13:44:21 +
> Anton Shterenlikht wrote:
> > I might be wrong, but that's my understanding.
> > So programs like fetchmail that actually connect to their
> > imap server and download mail to local boxes are probably
> > no
On Tue, Dec 29, 2009 at 06:37:25PM +0200, Kaya Saman wrote:
>
> [...]
> >
> >What is not unusual is to symlink /home e.g:
> >
> ># ln -s /usr/home /home
> >
> >ditto for /tmp. i.e you remove all the stuff that uses up space from
> >the root partition.
> >
> >So the only slices you need are /, /usr
In the last episode (Dec 29), Neil Short said:
> I'm trying to batch-rip audio files from a bunch of video files.
>
> I have a directory full of *.vob files:
>
> ls *.vob
> 01.vob 03.vob 05.vob 07.vob 09.vob 11.vob 13.vob
> 02.vob 04.vob 06.vob 08.vob 10.vob 12.vob
>
> So I wrote a li
On Tue, 29 Dec 2009, Kaya Saman wrote:
How I'd slice up the disk:
2GB for /
2GB for swap
2GB for /var
34GB for /usr
Ah so BSD is slightly different from Linux in the fact that it needs to have
/var and /usr filesystems separate??
It's not required, it's just nice to do if the disk space is
On Tue, 29 Dec 2009 11:16:29 -0500, Eduardo Morras
wrote:
Is fpc's IDE usable, like good ol' TP6 and 7, never mind Delphi? Docs
seem vast, I'm wondering if there's a simple guide to basic compilation,
but basically I'd just like to hear that it's working ok for someone and
is worth the learnin
On Tue, 29 Dec 2009 13:44:21 +
Anton Shterenlikht wrote:
> I might be wrong, but that's my understanding.
> So programs like fetchmail that actually connect to their
> imap server and download mail to local boxes are probably
> not very welcome.
You probably are wrong, it's more a case of you
I'm trying to batch-rip audio files from a bunch of video files.
I have a directory full of *.vob files:
ls *.vob
01.vob 03.vob 05.vob 07.vob 09.vob 11.vob 13.vob
02.vob 04.vob 06.vob 08.vob 10.vob 12.vob
So I wrote a little command line script to rip wave files from all the vob's:
[...]
What is not unusual is to symlink /home e.g:
# ln -s /usr/home /home
ditto for /tmp. i.e you remove all the stuff that uses up space from
the root partition.
So the only slices you need are /, /usr, /var and swap.
How I'd slice up the disk:
2GB for /
2GB for swap
2GB for /var
34GB fo
In the last episode (Dec 29), Victor Sudakov said:
> Nikos Vassiliadis wrote:
> > >Are you sure you understand me? I was talking about mirroring the whole
> > >repository with cvsup/cvsupd protocol, that's where the "Checksum
> > >mismatch -- will transfer entire file" error occurs.
> >
> > Sorry,
On Tue, 29 Dec 2009, stan wrote:
One of my machines is suddenly complaining that it can't find libxcb.so.2.
This is probably an issue related to a recent attempt to update the software
on this machine, so I figured I'd just rebuild the port that provides this
library, but I can't figure out how
At 15:35 29/12/2009, you wrote:
>Hi to ..
>
>any old Turbo Pascal hackers out there, who've used fpc on FreeBSD.
>
>I have some astronomy and sound related code from last century that I
>want to resume working on. Mostly lots of float number-crunching and
>file processing, no gui stuff till the
On Tue, Dec 29, 2009 at 08:33:41AM -0600, Adam Vande More wrote:
> On Tue, Dec 29, 2009 at 8:08 AM, stan wrote:
>
> > One of my machines is suddenly complaining that it can't find libxcb.so.2.
> > This is probably an issue related to a recent attempt to update the
> > software
> > on this machine
On Tue, Dec 29, 2009 at 05:19:54PM +0200, Kaya Saman wrote:
>
>
> Many thanks guys for all the advice :-)
>
> It is really appreciated!
>
> Sorry haven't snipped more stuff into this mail but things are a bit
> hectic here but what I will say is this; in a few hours once the BSD 8
> DVD IS
On Tue, 29 Dec 2009, d...@safeport.com wrote:
[xdm slow startup]
The answer appears to be to add an empty LISTEN statement to
/usr/local/lib/X11/xdm/Xaccess. The xdm package issues a IPV6 DHCP request.
While the xdm man page suggests this is not needed:
To disable listening for XDMCP c
Alex de Kruijff wrote:
On Mon, Dec 28, 2009 at 05:04:52PM -0600, Adam Vande More wrote:
On Mon, Dec 28, 2009 at 4:42 PM, Kaya Saman wrote:
Also if something goes wrong with the filesystem what are the tools to
check the drive and repair errors as in Linux I use e2fsck followed by
devic
If I run pkg_info as root it fails as shown below.
But if I run it as a normal user I get a list of all 708 packages
without any error.
curlew:/root# uname -a
FreeBSD curlew.lan 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #0: Sun Dec 13
15:40:42 GMT 2009 r...@curlew.lan:/usr/obj/usr/src/sys/GENE
On Tue, 29 Dec 2009 15:21:30 +0100
Roland Smith wrote:
> In other words, a proper IMAP server does not permit plaintext
> passwords.
No, it MUST be implemented, but only SHOULD be used.
___
freebsd-questions@freebsd.org mailing list
http://lists.freeb
Hi to ..
any old Turbo Pascal hackers out there, who've used fpc on FreeBSD.
I have some astronomy and sound related code from last century that I
want to resume working on. Mostly lots of float number-crunching and
file processing, no gui stuff till the underlying processing all goes.
I've t
On Tue, Dec 29, 2009 at 8:08 AM, stan wrote:
> One of my machines is suddenly complaining that it can't find libxcb.so.2.
> This is probably an issue related to a recent attempt to update the
> software
> on this machine, so I figured I'd just rebuild the port that provides this
> library, but I
On Mon, Dec 28, 2009 at 05:04:52PM -0600, Adam Vande More wrote:
> On Mon, Dec 28, 2009 at 4:42 PM, Kaya Saman wrote:
> > Also if something goes wrong with the filesystem what are the tools to
> > check the drive and repair errors as in Linux I use e2fsck followed by
> > device ID.
>
> Example af
On Tue, Dec 29, 2009 at 01:44:21PM +, Anton Shterenlikht wrote:
> it doesn't work like that..
>
> I think it's an imap server.
>
> Anyway, I'm trying to get in touch with them.
> One of the problems is that the Uni are trying to
> implement a system where mail is never downloaded from the
> m
On Mon, Dec 28, 2009 at 04:20:10PM -0600, Adam Vande More wrote:
> On Mon, Dec 28, 2009 at 3:49 PM, Kaya Saman Running with no xorg.conf is fine, but you need to make sure dbus and hal
> are started at boot. Follow the handbook for best results.
>
> http://www.freebsd.org/doc/en/books/handbook/x
On Tue, Dec 29, 2009 at 02:22:09PM +0100, Roland Smith wrote:
> On Tue, Dec 29, 2009 at 08:03:53AM -0500, Robert Huff wrote:
> >
> > Anton Shterenlikht writes:
> > > > I'd be more worried that your password is sent as plaintext over
> > > > the network using e.g. POP3. You should use the --ssl
One of my machines is suddenly complaining that it can't find libxcb.so.2.
This is probably an issue related to a recent attempt to update the software
on this machine, so I figured I'd just rebuild the port that provides this
library, but I can't figure out how to determine which on that would be.
On Mon, Dec 28, 2009 at 11:49:31PM +0200, Kaya Saman wrote:
> Hi guys,
> I attempted an install of 7.2 stable on my laptop and subsequently
> installed X11also. Now I didn't have any Xorg.conf file but each time I
> tried to start X from the CLI using the normal startx command (read the
> docume
On Fri, Oct 07, 2011 at 04:07:51AM -0700, jeffry killen wrote:
> I have a hard drive that contains the /var file system in a system that
> will not boot.
> In single user mode I can mount /var.
>
> I want to take this disk and put it in another FreeBSD system and
> try to copy the files I need of
On Tue, Dec 29, 2009 at 02:22:09PM +0100, Roland Smith wrote:
> > U.S. oriented to the home user - rarely do, It's a non-trivial
> > amount of work to get working and then monitor for correct behavior
> > and possible breaches.
>
> Agreed. Which is exactly why I like xs4all so much. :-) They do p
On Tue, Dec 29, 2009 at 08:03:53AM -0500, Robert Huff wrote:
>
> Anton Shterenlikht writes:
> > > I'd be more worried that your password is sent as plaintext over
> > > the network using e.g. POP3. You should use the --ssl option if
> > > your mailserver allows it.
> >
> > it looks like it
On Tue, Dec 29, 2009 at 01:27:00PM +0200, Daniel Dawalibi wrote:
> Hi
>
> We have installed FreeBSD 7.2 on Sun Server X4140 having the below
> controller
>
> Controller Kernel v5.2 build 16732
> Adapter Raid Bios V5.2-0 Buil [16732]
> STK RAID INT
>
> Each time we power cycle the server, the ser
Anton Shterenlikht writes:
> > I'd be more worried that your password is sent as plaintext over
> > the network using e.g. POP3. You should use the --ssl option if
> > your mailserver allows it.
>
> it looks like it doesn't allow ssl.
It is my understanding ISPs - at least those i
On Tue, 29 Dec 2009 11:11:50 +
Anton Shterenlikht replied:
>On Mon, Dec 28, 2009 at 06:35:15PM +0100, Roland Smith wrote:
>> On Mon, Dec 28, 2009 at 03:15:53PM +, Anton Shterenlikht wrote:
>> > I use fetchmail
>> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-fetchmail
On Tue, Dec 29, 2009 at 11:11:50AM +, Anton Shterenlikht wrote:
> >
> > With these changes, only you and the superuser can read that file.
>
> yes, an attacker gaining superuser access is my worry.
> I'm reading Garfinkel and Spafford (1996) Practical UNIX & internel security
> (a bit out of
Hi
We have installed FreeBSD 7.2 on Sun Server X4140 having the below
controller
Controller Kernel v5.2 build 16732
Adapter Raid Bios V5.2-0 Buil [16732]
STK RAID INT
Each time we power cycle the server, the server may or may not come up.
Below are the messages from the log
Anton Shterenlikht wrote:
> I use fetchmail
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-fetchmail.html
> to download all my mail from the Uni mail
> server to my fbsd box.
>
> I typically run it in daemon mode, which requires
> having my mail server password in plain text in .
On Mon, Dec 28, 2009 at 06:35:15PM +0100, Roland Smith wrote:
> On Mon, Dec 28, 2009 at 03:15:53PM +, Anton Shterenlikht wrote:
> > I use fetchmail
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-fetchmail.html
> > to download all my mail from the Uni mail
> > server to my fb
67 matches
Mail list logo