really lossed at this
phenomenon.
Looking forward to any possible help,
thanks,
Xu Qiang
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
dpk wrote:
On Fri, 12 Aug 2005, Xu Qiang wrote:
As soon as you used the pipe, to the while, you entered a sub-shell.
There's no way (that I'm aware of anyways) to get the sub-shell's
variables sent back up to the parent.
Thanks for your detailed analysis and a solution. Yes, I didn't notice
Giorgos Keramidas wrote:
On 2005-08-12 10:16, Xu Qiang [EMAIL PROTECTED] wrote:
Btw, can we export a value in the sub-shell back to the parent?
Only through `backquote subtitution', as the child process cannot
affect the environment of the parent process.
value=`shell command
dpk wrote:
On Fri, 12 Aug 2005, Xu Qiang wrote:
1. The way of incrementing the variable NCOREFILES. Why does it use
the formula of NCOREFILES=$[ $NCOREFILES + 1 ], and not the direct
way of NCOREFILES=$NCOREFILES+1?
If that was done, NCOREFILES would end up looking like:
+1+1+1+1+1+1+1
This is my test script:
-
#!/bin/bash
var=0
var=$[3]
vari=0
++vari
echo $var
echo $vari
-
The result is:
./test.sh: ++vari: command not found
3
0
So the manual of bash is incorrect?
Regards,
Xu Qiang
. With $[++var],
the result is 0: command not found.
$((++var)) is to the same effect as let ++var.
$((var+1)) works. But the value of var can't be incremented.
thanks,
Xu Qiang
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman
by its components and
dependencies. At this point, I am willing to install it from ports.
However, there is a problem: all my previous softwares were installed manually,
could ports check it out to avoid install some dependencies (like GTK+) twice?
Regards,
Xu Qiang
on this issue?
thanks,
Regards,
Xu Qiang
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
] [-w method] [-s shell] [-o] [-L class] [-h fd | -H fd]
[-N] [-P] [-Y]
In FreeBSD, it should be pw useradd username -g groupname, and not pw
useradd -g groupname username.
Last but not least, thanks for everyone who helped me in this thread.
Regards,
Xu Qiang
Btw, Just think of this problem:
Although I have added the user mysql to my machine, I didn't set its
password. When does this newly added user get his/her password and change it?
thanks,
Regards,
Xu Qiang
___
freebsd-questions@freebsd.org mailing
/username?
thanks,
Regards,
Xu Qiang
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
.workgroup password
'new-password'
Is this the cause?
Dan, I remember you said that mysqld will automatically setuid() itself to the
mysql user when it
starts up.
How to let the bench test run?
Thanks in advance,
Regards,
Xu Qiang
___
freebsd
directory before asking
the question.
Now I run the test with perl run-all_tests --user=mysql, and it can run now.
Thanks for pointing our that. :)
Regards,
Xu Qiang
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman
? If not in this file, which file does this
setting reside in?
P.S.: In solaris, I can use dos2unix to transfer txt file from DOS/Windows
format to Unix format, what is the corresponding command in FreeBSD?
Thanks,
Xu Qiang
___
freebsd-questions@freebsd.org mailing
Glenn Dawson wrote:
At 01:46 AM 7/27/2005, Xu Qiang wrote:
Hi, all:
Last time I asked you that why the machine can map the hostname to ip
address without setting DNS Server in /etc/rc.conf.
Now I remember that I have provided DNS ip address in the initial
installing stage, where
. They both have a trash can/wastebasket/recycle bin.
Now I just have X Window in my machine. Not as good-looking as Gnome desktop.
Can I install gnome without using ports? I want to install everything manually.
thanks,
Regards,
Xu Qiang
___
freebsd
.
Or, am I mis-informed on this issue?
Regards,
Xu Qiang
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Hi, all:
I mis-deleted /usr/local/bin directory in my FreeBSD. How can I restore it?
Looking for your help urgently,
thanks,
Xu Qiang
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
Hornet wrote:
On 7/21/05, Xu Qiang [EMAIL PROTECTED] wrote:
Hi, all:
I mis-deleted /usr/local/bin directory in my FreeBSD. How can I
restore it?
Looking for your help urgently,
thanks,
Xu Qiang
Use your backups, you do make backups dont you?
Never backup /usr/local/bin
file?
Looking forward to any possible help,
Regards,
Xu Qiang
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
a newline character (0x0a) is
added to the txt file, even though I didn't touch the Enter key in my
keyboard. Maybe vi is too aggressively helpful. :)
Your echo -n is a solution. And xemacs is also a better choice without this
annoying problem.
Thank you,
Regards,
Xu Qiang
Hi, all:
I compiled Apache 1.3.33 from src in my FreeBSD 5.3 machine. It works well.
However, I want to let it run at the start-up time of the system.
I added the line apache_enable=YES into /etc/rc.conf, and copied
/usr/ports/www/apache13/files/apache.sh into /usr/local/etc/rc.d, and
Xu Qiang wrote:
I compiled Apache 1.3.33 from src in my FreeBSD 5.3 machine. It works
well. However, I want to let it run at the start-up time of the
system.
I added the line apache_enable=YES into /etc/rc.conf as
/usr/ports/www/apache13/pkg-message said, and copied
/usr/ports/www
(255.255.252.0), so I wonder how the
gateway was added into this file.
And I didn't have any DNS setting here. Yet it can ping www.yahoo.com
successfully. Quite strange. :(
Regards,
Xu Qiang
___
freebsd-questions@freebsd.org mailing list
http
Lowell wrote:
We don't either. We do not have enough information.
Showing us your configuration files might help.
What configuration file do you need?
thanks,
Regards,
Xu Qiang
___
freebsd-questions@freebsd.org mailing list
http
? ? wrote:
Xu Qiang wrote:
Hi, all:
In setting up my FreeBSD machine in my LAN, I only assigned it an ip
address and a netmask, just as the handbook said
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-setup.html).
But after that, it can
Lowell wrote:
Yes, you do. A dhcp client is part of the base system.
But I assigned my machine a static ip address and netmask, and they never
changed. I don't know how the machine detect the gateway ip address and DNS
server ip address which i never assigned to it. :(
Regards,
Xu Qiang
it
an explicit DNS server ip address. (It can ping proxy.abc.com) And I found the
gateway is also found automatically by the machine. (It is automatically added
into the line beginnin with defaultrouter=)
Is it designed behavior? I can't understand that. :(
Regards,
Xu Qiang
, is there a compiled libc.so.4 file in any FreeBSD repository that
can be visited by web browser?
thanks,
Regards,
Xu Qiang
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe
Vizion wrote:
I have the sources - I could email them to you
Hi, David:
I will be grateful if you can send them to me through email.
thanks,
Regards,
Xu Qiang
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman
by `java'.
Program terminated with signal 11, Segmentation fault.
#0 0x280ee35a in ?? ()
(gdb)
-
Any help?
Regards,
Xu Qiang
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman
Vizion wrote:
I think you need
/usr/ports/gnutls
I found gnutls is a tool for Transport Layer Security, which can hardly relate
to the java sdk issue, right?
Regards,
Xu Qiang
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org
,
Regards,
Xu Qiang
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
not found, required by
java
---
Any help?
Regards,
Xu Qiang
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail
(control-X then a 0 (zero)).
There's also an emacs mode. I don't know if there is a proper X
interface of any kind.
Regards,
Xu Qiang
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
Alex Zbyslaw wrote:
Xu Qiang wrote:
Giorgos Keramidas wrote:
The manpage of gcc is severely out of date. The GNU folks prefer
Texinfo for their documentation since a long time ago. Just ignore
the manpage of gcc(1). IMHO, it provides absolutely no useful
information anymore
-declarations -Wp,-std=c89'
It is quite unreadable. Actually, all I have done to this file is:
sed -i -e s/-lang-c89/-std=c89/g configure
If you can tell me how to do it in a -, + format, I will post a complete
revision to the list.
thanks,
Regards,
Xu Qiang
analysis helped me a lot in solving this problem.
Thank you!
Obviously, no. They should be hit hard on the head with a copy of
Extreme Programming Explained :P
Haha, good idea!
Regards,
Xu Qiang
___
freebsd-questions@freebsd.org mailing list
http
# less /tmp/nngs/mlrate.patch
# cd /tmp/nngs
# diff -ruN vendor/nngs* local/nngs* /tmp/nngs/nngs.patch
# less /tmp/nngs/nngs.patch
Thanks for the direction. I will try to do a summary of changes needed into a
number of .patch files.
Regards,
Xu Qiang
, all.
Regards,
Xu Qiang
command.c.patch.DanNelson
Description: Binary data
command.c.patch.GiorgosKeramidas
Description: Binary data
command_list.h.patch.GiorgosKeramidas
Description: Binary data
configure.patch
Description: Binary data
___
freebsd
interaction works fine. Strongly recommend this go client
software by Rene Grothmann, which is also an open-source software (But not GNU).
Regards,
Xu Qiang
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd
Xu Qiang wrote:
cc1: error: unrecognized command line option
-lang-c89
gmake[2]: *** [command.o] Error 1
gmake[2]: Leaving directory
`/usr/games/nngs_sourceforge/nngs-1.1.16/nrat'
Just
'
-
This file is in nngs-1.1.16/src directory, and when I run autoheader in this
directory:
-
autoheader: `configure.ac' or `configure.in' is required
-
What shall I do now?
Thanks a lot,
Regards,
Xu
Xu Qiang wrote:
Thanks for your suggestions. Yes, this error is overcome after
running autoheader. But now another error of the same type appears:
-
mink.c:22: error: conflicting types for 'random'
/usr/include/stdlib.h:200: error: previous
in commands_init () at command.c:1149
#4 0x0805aeab in main (argc=1116382465, argv=0x807e702) at nngsmain.c:162
---
What is a Bus error?
Any hints to overcome this last barrier?
thanks a lot,
Regards,
Xu Qiang
in main (argc=1116386171, argv=0xbfbfe958) at nngsmain.c:158
It seems still related to the array of command_list.
Any further suggestions?
thanks,
Regards,
Xu Qiang
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo
, I am a go game lover, and want
to set up a local NNGS server. And this is the only available open source go
server software in the world. Alas!)
Regards,
Xu Qiang
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo
around to help me in compiling this
software. Thank you two so much for your help and patience!
with my best wishes,
Xu Qiang
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send
: *** [network.o] Error 1
-
I have searched for this file in my system, but can't find it.
To have it present, which software must I install?
Regards,
Xu Qiang
___
freebsd-questions@freebsd.org
related to NNGS. Let me try this out.
thank you and be prepared for my foolish questions, :P
Regards,
Xu Qiang
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail
21 #include config.h
22 #endif
23
24 #include stdio.h
25 #include stdlib.h
26 #include assert.h
By the way, is there a similar sourceforge page for mlrate? I understand that
it is necesary for nngs to compile.
Regards,
Xu Qiang
,
Regards,
Xu Qiang
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Kris Kennaway wrote:
The ports collection just uses fetch(1), so that's where the relevant
documentation is.
I man fetch, but didn't find any info related to proxy setting.
thanks anyway for your suggestion,
Regards,
Xu Qiang
___
freebsd
-
Particularly, I am interested in two environmental variables: FTP_PROXY and
HTTP_PROXY. I may use it as:
#env FTP_PROXY=hostnme:port make install clean
Thank you very much,
Regards,
Xu Qiang
___
freebsd
?
thanks,
Regards,
Xu Qiang
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
55 matches
Mail list logo