Re: 怎么下载manpage啊?

2011-05-07 文章 Zhang Weiwu, Beijing

On 04/27/2011 11:11 PM, 九零后 wrote:
我发现我的manpage里面有些函数没有。 


这个思维方式的问题我发现更值得研究:为什么九零后遇到困难时问的问题是“怎 
么下载”?我就想不到这样问/这个问题。


--
我的博客:
http://zhangweiwu.ixiezi.com/
网站进化论 --写给需要网站或后悔有了网站的人


--
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4dc50e7c.8090...@realss.com



Re: 怎么下载manpage啊?

2011-05-07 文章 Shell Xu
1.名字里有90的人不一定是90后,也可能是在发动缓冲区溢出攻击。
2.个人更常用的表述是,哪里能查到,然后跑去问谷歌。万一想离线用,多数会用“哪个包有XX的man”,然后上debian.org查一下。
3.对于新手,或者老鸟偶尔表述的不那么准,脱口而出,哪里能下个man的包来dpkg -i一下。我觉得这是外企和宽带山综合症,就是平时听的太多了。
4.技术ML,慎重OT。

在 2011年5月7日 下午5:18,Zhang Weiwu, Beijing zhangwe...@realss.com 写道:
 On 04/27/2011 11:11 PM, 九零后 wrote:

 我发现我的manpage里面有些函数没有。

 这个思维方式的问题我发现更值得研究:为什么九零后遇到困难时问的问题是“怎 么下载”?我就想不到这样问/这个问题。

 --
 我的博客:
 http://zhangweiwu.ixiezi.com/
 网站进化论 --写给需要网站或后悔有了网站的人


 --
 To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: http://lists.debian.org/4dc50e7c.8090...@realss.com





-- 
无能者无所求,饱食而遨游,泛若不系之舟
blog: http://shell909090.com/blog/
twitter: http://twitter.com/shell909090


Re: 怎么下载manpage啊?

2011-04-28 文章 Shell Xu
sorry.
Is this mail plain text?

2011/4/28 Huang, Tao deb...@huangtao.me

 On Thu, Apr 28, 2011 at 12:58 PM, Shell Xu shell909...@gmail.com wrote:
  yes, manpages-dev is for functions like pthread_self.
  shell-deb:~# dpkg -S /usr/share/man/man3/pthread_self.3.gz
  manpages-dev: /usr/share/man/man3/pthread_self.3.gz
  did i send html mail? I'm not sure. I use gmail and it looks like plain
  text.

 yep, u were.
 u send html email if u have the gmail rich formatting option on.
 with gmail, u can also tell from show original in the top-right dropdown 
 menu.


 Cheers,

 Tao
 --
 http://huangtao.me/
 http://www.google.com/profiles/UniIsland

 School of Mathematical Science
 Peking University


 --
 To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: 
 http://lists.debian.org/BANLkTi=scko-zb-mexpabwjxguagg79...@mail.gmail.com




--
无能者无所求,饱食而遨游,泛若不系之舟
blog: http://shell909090.com/blog/
twitter: http://twitter.com/shell909090


--
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTik-v==P_vTN7=dk_4mj9pf8j2w...@mail.gmail.com



Re: 怎么下载manpage啊?

2011-04-28 文章 Huang, Tao
On Thu, Apr 28, 2011 at 3:43 PM, Shell Xu shell909...@gmail.com wrote:
 sorry.
 Is this mail plain text?

don't worry.
it is plain text this time.

if u want to find it out yourself. look for the Content-Type lines
in the original message.


Tao


-- 
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktim1aqrjyjxfbw8fta9-xwwevkg...@mail.gmail.com



OT: Email Content-Type - was Re: 怎么下载manpage啊?

2011-04-28 文章 Huang, Tao
On Thu, Apr 28, 2011 at 4:04 PM, Shell Xu shell909...@gmail.com wrote:
 There is no Contect-Type field in gmail..

it's Content-Type, not Contect-Type.

 Unless I download this mail from IMAP or POP.

to view the original message with gmail,
use the show original button in the upper-right corner dropdown menu.

in last message u sent, Content-Type is at line 48.
[http://pastebin.ca/2051458]

in the last html mail u sent, it's at line 77, 94 and 173
[http://pastebin.ca/2051461]


Cheers,

Tao
--
http://huangtao.me/
http://www.google.com/profiles/UniIsland

School of Mathematical Science
Peking University


-- 
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTimy_so5FULr4f9uqFp2y1VFhya_=q...@mail.gmail.com



Re: 郵件列表禮儀 - was Re: 怎么下载manpage啊?

2011-04-28 文章 Kane Dou
* Huang, Tao deb...@huangtao.me [2011-04-28 12:43:16 +0800]:

 Cheers,
 
 Tao
 --
 http://huangtao.me/
 http://www.google.com/profiles/UniIsland
 
 School of Mathematical Science
 Peking University

Better not separate signature lines using dashes.

-- 
Kane


-- 
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110428140713.ga2...@universe.home



Re: 郵件列表禮儀 - was Re: 怎么下载manpage啊?

2011-04-28 文章 Huang, Tao
2011/4/28 Kane Dou douqil...@gmail.com:
 Better not separate signature lines using dashes.

is that really necessary? why is it so?
i'll gladly change my posting style if those dashes in the signature do make
a difference or mean something.


Cheers,

Tao
--
http://huangtao.me/
http://www.google.com/profiles/UniIsland

School of Mathematical Science
Peking University


-- 
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTi=effvey3ewzhrwxa-jtysqntw...@mail.gmail.com



Re: 郵件列表禮儀 - was Re: 怎么下载manpage啊?

2011-04-28 文章 Kane Dou
* Huang, Tao deb...@huangtao.me [2011-04-29 08:25:37 +0800]:

 2011/4/28 Kane Dou douqil...@gmail.com:
  Better not separate signature lines using dashes.
 
 is that really necessary? why is it so?
 i'll gladly change my posting style if those dashes in the signature do make
 a difference or mean something.
 

I guess it'll be easy for others to strip the signature while replying.

But anyhow it's just a suggestion, and here is another one:
The dashes better be followed by a literal space.

Ideas' stolen from this post[1].


[1]  http://larve.net/people/hugo/2000/03/email

-- 
Kane


-- 
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110429032456.ga1...@universe.home



Re: 怎么下载manpage啊?

2011-04-28 文章 Dongsheng Song
On Thu, Apr 28, 2011 at 12:47, Huang, Tao deb...@huangtao.me wrote:

 2011/4/28 Shell Xu shell909...@gmail.com:
  1.maybe lpthread should be the correct name, not lphtread.
  2.I don't find lpthread, is that pthread? Coz if u wanna link pthread,
 the
  option is -lpthread.

 我猜也是這樣

  3.If it is pthread, u should man pthreads.
  4.pthreads is included in manpages and manpages-dev.

 $ man 7 pthreads

 不需要 manpages-dev 包


是的,在  glibc-doc 中:

# dpkg -L glibc-doc
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/glibc-doc
/usr/share/doc/glibc-doc/ChangeLog.eglibc.gz
/usr/share/doc/glibc-doc/ChangeLog.11.gz
/usr/share/doc/glibc-doc/ChangeLog.16.gz
/usr/share/doc/glibc-doc/nptl_db
/usr/share/doc/glibc-doc/nptl_db/ChangeLog.gz
/usr/share/doc/glibc-doc/ChangeLog.6.gz
/usr/share/doc/glibc-doc/ChangeLog.14.gz
/usr/share/doc/glibc-doc/nptl
/usr/share/doc/glibc-doc/nptl/ChangeLog.gz
/usr/share/doc/glibc-doc/ChangeLog.4.gz
/usr/share/doc/glibc-doc/ChangeLog.5.gz
/usr/share/doc/glibc-doc/ChangeLog.7.gz
/usr/share/doc/glibc-doc/ChangeLog.3.gz
/usr/share/doc/glibc-doc/ChangeLog.2.gz
/usr/share/doc/glibc-doc/changelog.Debian.gz
/usr/share/doc/glibc-doc/ChangeLog.12.gz
/usr/share/doc/glibc-doc/ChangeLog.gz
/usr/share/doc/glibc-doc/ChangeLog.9.gz
/usr/share/doc/glibc-doc/ChangeLog.10.gz
/usr/share/doc/glibc-doc/ChangeLog.15.gz
/usr/share/doc/glibc-doc/copyright
/usr/share/doc/glibc-doc/ChangeLog.1.gz
/usr/share/doc/glibc-doc/ChangeLog.8.gz
/usr/share/doc/glibc-doc/ChangeLog.13.gz
/usr/share/doc/glibc-doc/ports
/usr/share/doc/glibc-doc/ports/ChangeLog.eglibc.gz
/usr/share/doc/glibc-doc/ports/ChangeLog
/usr/share/doc/glibc-doc/ports/ChangeLog.arm.gz
/usr/share/doc/glibc-doc/ports/ChangeLog.alpha
/usr/share/doc/glibc-doc/ports/ChangeLog.powerpc
/usr/share/doc/glibc-doc/ports/ChangeLog.mips.gz
/usr/share/doc/glibc-doc/ports/ChangeLog.aix
/usr/share/doc/glibc-doc/ports/ChangeLog.m68k.gz
/usr/share/doc/glibc-doc/ports/ChangeLog.cris
/usr/share/doc/glibc-doc/ports/ChangeLog.am33.gz
/usr/share/doc/glibc-doc/ports/ChangeLog.hppa.gz
/usr/share/man
/usr/share/man/man3
/usr/share/man/man3/pthread_once.3.gz
/usr/share/man/man3/pthread_mutexattr_setkind_np.3.gz
/usr/share/man/man3/pthread_mutex_init.3.gz
/usr/share/man/man3/pthread_cond_init.3.gz
/usr/share/man/man3/pthread_atfork.3.gz
/usr/share/man/man3/pthread_mutexattr_init.3.gz
/usr/share/man/man3/pthread_key_create.3.gz
/usr/share/man/man3/pthread_condattr_init.3.gz
/usr/share/man/man3/pthread_mutexattr_gettype.3.gz
/usr/share/man/man3/pthread_mutexattr_getkind_np.3.gz
/usr/share/man/man3/pthread_cond_destroy.3.gz
/usr/share/man/man3/pthread_cond_timedwait.3.gz
/usr/share/man/man3/pthread_mutex_lock.3.gz
/usr/share/man/man3/pthread_mutex_unlock.3.gz
/usr/share/man/man3/pthread_mutexattr_destroy.3.gz
/usr/share/man/man3/pthread_condattr_destroy.3.gz
/usr/share/man/man3/pthread_cond_broadcast.3.gz
/usr/share/man/man3/pthread_key_delete.3.gz
/usr/share/man/man3/pthread_mutex_destroy.3.gz
/usr/share/man/man3/pthread_setspecific.3.gz
/usr/share/man/man3/pthread_mutex_trylock.3.gz
/usr/share/man/man3/pthread_cond_signal.3.gz
/usr/share/man/man3/pthread_getspecific.3.gz
/usr/share/man/man3/pthread_cond_wait.3.gz
/usr/share/man/man3/pthread_mutexattr_settype.3.gz


怎么下载manpage啊?

2011-04-27 文章 九零后
我发现我的manpage里面有些函数没有。


Re: 怎么下载manpage啊?

2011-04-27 文章 Shell Xu
try
apt-get install manpages-dev

在 2011年4月27日 下午11:11,九零后 after19...@gmail.com写道:

 我发现我的manpage里面有些函数没有。




-- 
无能者无所求,饱食而遨游,泛若不系之舟
blog: http://shell909090.com/blog/
twitter: http://twitter.com/shell909090


Re: 怎么下载manpage啊?

2011-04-27 文章 Huang, Tao
2011/4/27 Shell Xu shell909...@gmail.com:
 在 2011年4月27日 下午11:11,九零后 after19...@gmail.com写道:
 我发现我的manpage里面有些函数没有。
 try
 apt-get install manpages-dev

他说函数指的应该不是 system calls 和 library calls 吧
似乎不太可能和 manpages-dev 有什么关系..

我猜更有可能说的是 shell builtin 之类的东西
九零后你最好能写得再具体一点


Cheers,

Tao
--
http://huangtao.me/
http://www.google.com/profiles/UniIsland

School of Mathematical Science
Peking University


Fwd: 怎么下载manpage啊?

2011-04-27 文章 Huang, Tao
forward to list

-- Forwarded message --
From: 九零后 after19...@gmail.com
Date: 2011/4/28
Subject: Re: 怎么下载manpage啊?
To: Huang, Tao deb...@huangtao.me

就是man 3 lphtread.h 这种。。是库函数还是系统调用嘛?我也不清楚。
在 2011年4月28日 上午12:56,Huang, Tao deb...@huangtao.me写道:

 2011/4/27 Shell Xu shell909...@gmail.com:
  在 2011年4月27日 下午11:11,九零后 after19...@gmail.com写道:
  我发现我的manpage里面有些函数没有。
  try
  apt-get install manpages-dev

 他说函数指的应该不是 system calls 和 library calls 吧
 似乎不太可能和 manpages-dev 有什么关系..

 我猜更有可能说的是 shell builtin 之类的东西
 九零后你最好能写得再具体一点


 Cheers,

 Tao
 --
 http://huangtao.me/
 http://www.google.com/profiles/UniIsland

 School of Mathematical Science
 Peking University


Re: 怎么下载manpage啊?

2011-04-27 文章 Huang, Tao
2011/4/28 九零后 after19...@gmail.com:

 就是man 3 lphtread.h 这种。。是库函数还是系统调用嘛?我也不清楚。

你是說 lpthread.h ? 不知道開頭的 l 是代表什麼
頭文件是沒有 manpage 的 而且我在 manpages-dev 包裏也沒看到 lphtread 這樣的庫函數調用[1]
跟 pthread 有關的調用倒是有不少

我感覺你要找的東西如果存在的話 應該在某個 x-doc 這樣的文檔包裏
但是搜了一下 什麼都沒找到
$ apt-file search lphtread
$ apt-file search lpthread


[1]: $ apt-file list manpages-dev

另, 郵件請發到列表

Cheers,

Tao
--
http://huangtao.me/
http://www.google.com/profiles/UniIsland

School of Mathematical Science
Peking University


Re: 怎么下载manpage啊?

2011-04-27 文章 Shell Xu
1.maybe lpthread should be the correct name, not lphtread.
2.I don't find lpthread, is that pthread? Coz if u wanna link pthread, the
option is -lpthread.
3.If it is pthread, u should man pthreads.
4.pthreads is included in manpages and manpages-dev.

在 2011年4月28日 上午9:36,Huang, Tao deb...@huangtao.me写道:

 forward to list

 -- Forwarded message --
 From: 九零后 after19...@gmail.com
 Date: 2011/4/28
 Subject: Re: 怎么下载manpage啊?
 To: Huang, Tao deb...@huangtao.me

 就是man 3 lphtread.h 这种。。是库函数还是系统调用嘛?我也不清楚。
 在 2011年4月28日 上午12:56,Huang, Tao deb...@huangtao.me写道:
 
  2011/4/27 Shell Xu shell909...@gmail.com:
   在 2011年4月27日 下午11:11,九零后 after19...@gmail.com写道:
   我发现我的manpage里面有些函数没有。
   try
   apt-get install manpages-dev
 
  他说函数指的应该不是 system calls 和 library calls 吧
  似乎不太可能和 manpages-dev 有什么关系..
 
  我猜更有可能说的是 shell builtin 之类的东西
  九零后你最好能写得再具体一点
 
 
  Cheers,
 
  Tao
  --
  http://huangtao.me/
  http://www.google.com/profiles/UniIsland
 
  School of Mathematical Science
  Peking University




-- 
无能者无所求,饱食而遨游,泛若不系之舟
blog: http://shell909090.com/blog/
twitter: http://twitter.com/shell909090


郵件列表禮儀 - was Re: 怎么下载manpage啊?

2011-04-27 文章 Huang, Tao
Debian Mailing List Code of conduct
[http://www.debian.org/MailingLists/#codeofconduct]

忘記這個的再讀一下吧

每隔一段時間 就會出現很多 html 格式的郵件
還有很多直接回覆郵件原作者和CC原作者的郵件

另外 技術性郵件列表通常接受的回覆方式是 bottom-posting 或 inline-replying [1]
也就是在引用內容下回回覆或逐句回覆

不知道在 debian-chinese 這裏有沒有這個共識?


[1] http://en.wikipedia.org/wiki/Posting_style

Cheers,

Tao
--
http://huangtao.me/
http://www.google.com/profiles/UniIsland

School of Mathematical Science
Peking University


Re: 怎么下载manpage啊?

2011-04-27 文章 Huang, Tao
2011/4/28 Shell Xu shell909...@gmail.com:
 1.maybe lpthread should be the correct name, not lphtread.
 2.I don't find lpthread, is that pthread? Coz if u wanna link pthread, the
 option is -lpthread.

我猜也是這樣

 3.If it is pthread, u should man pthreads.
 4.pthreads is included in manpages and manpages-dev.

$ man 7 pthreads

不需要 manpages-dev 包


Cheers,

Tao
--
http://huangtao.me/
http://www.google.com/profiles/UniIsland

School of Mathematical Science
Peking University


--
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTin6cV7fAFjx4kbCWK3=kvn_vpq...@mail.gmail.com



Re: 怎么下载manpage啊?

2011-04-27 文章 LI Daobing
sudo apt-get install manpages-posix manpages-posix-dev

now you can use man pthread_create

On Thu, Apr 28, 2011 at 12:47, Huang, Tao deb...@huangtao.me wrote:
 2011/4/28 Shell Xu shell909...@gmail.com:
 1.maybe lpthread should be the correct name, not lphtread.
 2.I don't find lpthread, is that pthread? Coz if u wanna link pthread, the
 option is -lpthread.

 我猜也是這樣

 3.If it is pthread, u should man pthreads.
 4.pthreads is included in manpages and manpages-dev.

 $ man 7 pthreads

 不需要 manpages-dev 包


 Cheers,

 Tao
 --
 http://huangtao.me/
 http://www.google.com/profiles/UniIsland

 School of Mathematical Science
 Peking University


 --
 To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: 
 http://lists.debian.org/banlktin6cv7fafjx4kbcwk3kvn_vpq...@mail.gmail.com





-- 
Best Regards
LI Daobing


--
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktimvc7bolvvaq3icb7xq2nb3o--...@mail.gmail.com



Re: 怎么下载manpage啊?

2011-04-27 文章 Shell Xu
yes, manpages-dev is for functions like pthread_self.
shell-deb:~# dpkg -S /usr/share/man/man3/pthread_self.3.gz
manpages-dev: /usr/share/man/man3/pthread_self.3.gz
did i send html mail? I'm not sure. I use gmail and it looks like plain
text.

在 2011年4月28日 下午12:50,LI Daobing lidaob...@gmail.com写道:

 sudo apt-get install manpages-posix manpages-posix-dev

 now you can use man pthread_create

 On Thu, Apr 28, 2011 at 12:47, Huang, Tao deb...@huangtao.me wrote:
  2011/4/28 Shell Xu shell909...@gmail.com:
  1.maybe lpthread should be the correct name, not lphtread.
  2.I don't find lpthread, is that pthread? Coz if u wanna link pthread,
 the
  option is -lpthread.
 
  我猜也是這樣
 
  3.If it is pthread, u should man pthreads.
  4.pthreads is included in manpages and manpages-dev.
 
  $ man 7 pthreads
 
  不需要 manpages-dev 包
 
 
  Cheers,
 
  Tao
  --
  http://huangtao.me/
  http://www.google.com/profiles/UniIsland
 
  School of Mathematical Science
  Peking University
 
 
  --
  To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
  with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
  Archive:
 http://lists.debian.org/banlktin6cv7fafjx4kbcwk3kvn_vpq...@mail.gmail.com
 
 



 --
 Best Regards
 LI Daobing


 --
 To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive:
 http://lists.debian.org/banlktimvc7bolvvaq3icb7xq2nb3o--...@mail.gmail.com




-- 
无能者无所求,饱食而遨游,泛若不系之舟
blog: http://shell909090.com/blog/
twitter: http://twitter.com/shell909090