分页: 1 / 1

怎么在 emacs23 中看 glibc的手册啊?

发表于 : 2009-03-13 1:08
codycody23
我用 apt-get安装了 manpages-dev

然后在emacs23 中:M-x shell

进入shell ,然后 使用man来查看,比如 c语言中的 printf 这个函数,
但是不太好用啊。。。翻页时 就会这样:
-------------
在emacs中用man来查看函数手册代码:
-----------------
mojian@mojian:~$ man printf
WARNING: terminal is not fully functional
- (press RETURN)
PRINTF(1) User Commands PRINTF(1)

NAME
printf - format and print data

SYNOPSIS
printf FORMAT [ARGUMENT]...
printf OPTION

DESCRIPTION
Print ARGUMENT(s) according to FORMAT, or execute according to OPTION:

--help display this help and exit

--version
output version information and exit

FORMAT controls the output as in C printf. Interpreted sequences are:
q
\" double quote

\NNN character with octal value NNN (1 to 3 digits)

Manual page printf(1) line 1
\\ backslash
Manual page printf(1) line 2

Manual page printf(1) line 5q
mojian@mojian:~$

Re: 怎么在 emacs23 中看 glibc的手册啊?

发表于 : 2009-03-13 1:55
codycody23
搞定了 一般使用的时候 用: M-x shell 进入的环境就可以了


用man的话 使用multi-term.el 这个好多了。。。。 :em11

Re: 怎么在 emacs23 中看 glibc的手册啊?

发表于 : 2009-03-15 22:16
zhan
用 woman.