Re: The su manual doesn't mention use root account by default

2019-06-13 Thread Nan Xiao
Hi Ingo, Thanks for your detailed explanation! Best Regards Nan Xiao On Wed, Jun 12, 2019 at 4:55 PM Ingo Schwarze wrote: > > Hello Nan Xiao, > > Nan Xiao wrote on Wed, Jun 12, 2019 at 02:19:08PM +0800: > > > I read su manual (https://man.openbsd.org/su.1), but can't find

The su manual doesn't mention use root account by default

2019-06-12 Thread Nan Xiao
not a nitpicker, just curious whether I miss something? Thanks! Best Regards Nan Xiao

Inquiry the status of lmbench

2018-09-05 Thread Nan Xiao
doesn't provide lmbench anymore. Because it is not applicable of current OS and computer architecture or other reasons? If lmbench is obsolete, what benchmark tools should be recommended on OpenBSD? Thanks very much in advance! Best Regards Nan Xiao

Re: "Cannot allocate memory" error when memory is enough

2018-07-08 Thread Nan Xiao
Hi Stuart, This is my kernel information: $ sysctl -n kern.version | head -1 OpenBSD 6.3 (GENERIC.MP) #4: Sun Jun 17 11:22:20 CEST 2018 I remember I used to build -current code before. So is it possible that will mess up my system? Thanks! Best Regards Nan Xiao On Sun, Jul 8, 2018 at 10:17

Re: "Cannot allocate memory" error when memory is enough

2018-07-08 Thread Nan Xiao
Hi Stuart, Thanks for your reply! $ cat /etc/installurl https://ftp.openbsd.org/pub/OpenBSD Does my /etc/installurl will always fetch -current? Thanks in advance! Best Regards Nan Xiao On Sun, Jul 8, 2018 at 7:33 AM, Stuart Henderson wrote: > On 2018-07-07, Tom Smyth wrote: >>

Re: "Cannot allocate memory" error when memory is enough

2018-07-07 Thread Nan Xiao
/installurl before. Thanks! Best Regards Nan Xiao On Sat, Jul 7, 2018 at 8:23 PM, Stuart Henderson wrote: > On 2018-07-07, Nan Xiao wrote: >> Hi Philip, >> >> Thanks very much for your time and effort! >> >> The following is the command output: >> >> $ r

Re: "Cannot allocate memory" error when memory is enough

2018-07-07 Thread Nan Xiao
following config in /etc/installurl: $ cat /etc/installurl https://ftp.openbsd.org/pub/OpenBSD Then I use "pkg_add -u" sometimes. Doesn't https://ftp.openbsd.org/pub/OpenBSD guarantee it selects correct packages? Or I miss something? Thanks very much in advance! Best Regards Nan Xiao O

Re: "Cannot allocate memory" error when memory is enough

2018-07-04 Thread Nan Xiao
0 percpumem 16 290 29 1 0 1 1 0 80 namei 1024 278179075 00 22587 22586 1 3 0 81 vnodes 20033443033443 1761 0 1761 1761 0 80 uvmvnodes 7233443033443 609

Re: "Cannot allocate memory" error when memory is enough

2018-07-04 Thread Nan Xiao
34552K, total allocated 40384K; utilization 85.6% It seems kernel dynamic memory is run out, and devbuf and temp consume most of the space. Could you give some suggestions? Thanks very much in advance! Best Regards Nan Xiao On Wed, Jul 4, 2018 at 10:57 AM, Philip Guenther wrote: > On Tue,

Re: "Cannot allocate memory" error when memory is enough

2018-07-03 Thread Nan Xiao
16 nofiles(descriptors) 128 processes1310 It seems should be enough to launch cmake or egdb. Thanks! Best Regards Nan Xiao On Tue, Jul 3, 2018 at 9:37 PM, Marc Espie wrote: > On Tue, Jul 03, 2018 at 05:31:22PM +0800, Nan Xiao wrote: >> Hi all, >> >> Greeting from

"Cannot allocate memory" error when memory is enough

2018-07-03 Thread Nan Xiao
s? Thanks very much in advance! Best Regards Nan Xiao

Re: The compiler error about modifying libcrypto

2018-05-31 Thread Nan Xiao
Hi Theo, Thanks for your kind reply! Best Regards Nan Xiao On Thu, May 31, 2018 at 7:24 PM, Theo Buehler wrote: > On Thu, May 31, 2018 at 10:50:35AM +0800, Nan Xiao wrote: >> My OS is OpenBSD 6.3. > > -current? > > If not, please install the latest snapshot before tryin

The compiler error about modifying libcrypto

2018-05-30 Thread Nan Xiao
) *** Error 1 in /usr/src (:48 'all') .. The compiler searches "/usr/include/openssl" first, so is there any method to let compiler uses "/usr/src/lib/libcrypto/evp" as first search path? Thanks in advance! Best Regards Nan Xiao

Re: Is -current snapshot only used in current system?

2018-05-16 Thread Nan Xiao
thod at least works for OpenBSD 6.2. Thanks very much! Best Regards Nan Xiao On Wed, May 16, 2018 at 5:07 PM, Otto Moerbeek <o...@drijf.net> wrote: > On Wed, May 16, 2018 at 04:51:24PM +0800, Nan Xiao wrote: > >> Hi misc@, >> >> Greeting from me! >> >> Mayb

Is -current snapshot only used in current system?

2018-05-16 Thread Nan Xiao
is already -current, right? Because I can't find answer from https://www.openbsd.org/faq/current.html, just want to confirm it. Thanks very much in advance! Best Regards Nan Xiao

Re: The vim display issue on OpenBSD

2018-03-14 Thread Nan Xiao
Hi all, I guess this issue (https://github.com/vim/vim/issues/2008) may be the cause. My vim version is 8.0.987. Best Regards Nan Xiao On Wed, Mar 14, 2018 at 9:24 AM, Nan Xiao <xiaonan830...@gmail.com> wrote: > Hi Stuart, > > Thanks for your reply! > > When I don't us

Re: The vim display issue on OpenBSD

2018-03-13 Thread Nan Xiao
Regards Nan Xiao On Tue, Mar 13, 2018 at 10:24 PM, Stuart Henderson <s...@spacehopper.org> wrote: > On 2018/03/13 21:59, Nan Xiao wrote: >> Hi Stuart, >> >> No! It doesn't happen when run "env -i vim $filename". >> >> But check my environment: >

Re: The vim display issue on OpenBSD

2018-03-13 Thread Nan Xiao
.242.61 22 LD_LIBRARY_PATH=/usr/local/lib MAIL=/var/mail/root SSH_CLIENT=10.217.243.14 63260 22 PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/local/jre-1.8.0/bin USER=root Don't know what causes the problem. Best Regards Nan Xiao On Tue, Mar 13, 2018 at 6:39 PM, Stuart

Re: The vim display issue on OpenBSD

2018-03-12 Thread Nan Xiao
Hi Ville, I don't have ~/.vimrc, only a ~/.viminfo, thanks! Best Regards Nan Xiao On Tue, Mar 13, 2018 at 1:47 PM, Ville Valkonen <weezeld...@gmail.com> wrote: > Hi, > > can you please show your ~/.vimrc? > > Thanks, > Ville > > On Tue, 13 Mar 2018 at 4.52, Nan

Re: The vim display issue on OpenBSD

2018-03-12 Thread Nan Xiao
I tried other options, but still the same problem ... Best Regards Nan Xiao On Tue, Mar 13, 2018 at 12:51 AM, jungle Boogie <jungleboog...@gmail.com> wrote: > On 11 March 2018 at 18:18, Nan Xiao <xiaonan830...@gmail.com> wrote: >> Hi all, >> >> Update: >

The sysctl(3) is changed to sysctl(2)?

2018-03-12 Thread Nan Xiao
Hi all, Greetings from me! I find sysctl(3) in OpenBSD 6.2 is changed to system call in -current (please refer the manual: https://man.openbsd.org/sysctl.2). So the sysctl would be a system call instead of library function in future OpenBSD? Thanks in advance! Best Regards Nan Xiao

Re: The vim display issue on OpenBSD

2018-03-11 Thread Nan Xiao
Hi all, Update: I try to install vim-8.0.0987p0-no_x11, still the same problem, thanks! Best Regards Nan Xiao On Mon, Mar 12, 2018 at 9:14 AM, Nan Xiao <xiaonan830...@gmail.com> wrote: > Hi all, > > Thanks for all your kind response! > > I reinstall vim: > > # pkg_ad

Re: The vim display issue on OpenBSD

2018-03-11 Thread Nan Xiao
-8.0.0987p0-gtk2, and the error occurs. Since I use terminal, I shouldn't install vim-8.0.0987p0-gtk2? Thanks in advance! Best Regards Nan Xiao On Sat, Mar 10, 2018 at 1:20 AM, Andreas Kusalananda Kähäri <andreas.kah...@icm.uu.se> wrote: > On Fri, Mar 09, 2018 at 03:19:32PM +0800, Nan X

Re: The vim display issue on OpenBSD

2018-03-09 Thread Nan Xiao
Hi Stuart, I am very sorry, and the VIM's version is 8.0.987. I reported wrong version from other machine. I should installed it from ports. Thanks! Best Regards Nan Xiao On Fri, Mar 9, 2018 at 9:37 PM, Stuart Henderson <s...@spacehopper.org> wrote: > No ideas then, sorry. >

Re: The vim display issue on OpenBSD

2018-03-09 Thread Nan Xiao
-- 7 root wheel 1.0K Mar 9 21:28 .. drwxr-xr-x 2 root wheel 512B Aug 29 2017 . -rw-r--r-- 1 root wheel93B Aug 29 2017 .netrwhist Thanks! Best Regards Nan Xiao On Fri, Mar 9, 2018 at 6:43 PM, Stuart Henderson <s...@spacehopper.org> wrote: > On 2018-03-09, Nan Xiao &l

The vim display issue on OpenBSD

2018-03-08 Thread Nan Xiao
enBSD is 6.2 release, and vim is 8.0.1476. Best Regards Nan Xiao

Linking gdb errors when compiling -current src tree

2017-10-15 Thread Nan Xiao
-build') *** Error 1 in /usr/src (Makefile:74 'build') Could anyone give some clues about this issue? Thanks very much in advance! Best Regards Nan Xiao

Re: The difference between binutils and binutils-2.17?

2017-10-12 Thread Nan Xiao
Hi Philip, Got it! Thanks very much for your response! Best Regards Nan Xiao On Thu, Oct 12, 2017 at 3:22 PM, Philip Guenther <guent...@gmail.com> wrote: > On Thu, Oct 12, 2017 at 12:14 AM, Nan Xiao <xiaonan830...@gmail.com> wrote: >> >> Maybe a stupid question, as

Re: The difference between binutils and binutils-2.17?

2017-10-12 Thread Nan Xiao
in advance! Best Regards Nan Xiao On Thu, Oct 12, 2017 at 1:45 PM, Philip Guenther <guent...@gmail.com> wrote: > On Wed, Oct 11, 2017 at 5:55 PM, Nan Xiao <xiaonan830...@gmail.com> wrote: >> >> I find there are binutils and binutils-2.17 in gnu/usr.bin/ dirctory >> of

The difference between binutils and binutils-2.17?

2017-10-11 Thread Nan Xiao
Hi misc@, Greetings from me! I find there are binutils and binutils-2.17 in gnu/usr.bin/ dirctory of OpenBSD source code. What's the difference between them? When I use binutils command, such as "ar", it comes from binutils or binutils-2.17? Thanks in advance! Best Regards Nan Xiao

Is there git-flow-completion for ksh?

2017-10-09 Thread Nan Xiao
Hi misc@, I know there is git-flow-completion for bash. For default ksh on OpenBSD, is there any out-of-box git-flow-completion? I try to google, but can't find it. Thanks very much in advance! Best Regards Nan Xiao

What is the correct debugger used for debugging program built with clang++?

2017-10-05 Thread Nan Xiao
method or debugger used for debuggin programs built with clang++? Thanks very much in advance! Best Regards Nan Xiao

The dlopen manual lacks RTLD_TRACE info

2017-10-04 Thread Nan Xiao
ks in advance! Best Regards Nan Xiao

Why the executable file type is also "DYN", not "EXEC"?

2017-10-04 Thread Nan Xiao
ement, little endian Version: 1 (current) OS/ABI:UNIX - System V ABI Version: 0 Type: DYN (Shared object file) .. Is there any special consideration for it? Thanks very much in advanc

Re: Open /dev/mem file failed when running as a root priviledge

2017-09-11 Thread Nan Xiao
Sorry for my further question. Thank very much in advance! Best Regards Nan Xiao Best Regards Nan Xiao On Tue, Sep 12, 2017 at 9:19 AM, trondd <tro...@kagu-tsuchi.com> wrote: > On Mon, September 11, 2017 8:58 pm, Nan Xiao wrote: >> Hi all, >> >> Greetings from me!

Open /dev/mem file failed when running as a root priviledge

2017-09-11 Thread Nan Xiao
/dev/mem So it should open successfully. Could anyone give some clues of this issue? Thanks very much in advance! Best Regards Nan Xiao

Re: Set date during OpenBSD installation

2017-08-19 Thread Nan Xiao
Hi Moss, Thanks for your response! Hi Florian, You are right! "Hardware clock in UTC time" fix it, thanks very much! Best Regards Nan Xiao On Sat, Aug 19, 2017 at 12:23 PM, Nan Xiao <xiaonan830...@gmail.com> wrote: > Hi all, > > Greetings from me! I am a newbie of

Set date during OpenBSD installation

2017-08-18 Thread Nan Xiao
s. I can't figure out what is the problem during installation, and can't find similar issue in archives of mailing list. Could anyone give some tips? Thanks very much in advance! Best Regards Nan Xiao