diff -Nru manpages-zh-1.6.3.5/ChangeLog manpages-zh-1.6.3.6/ChangeLog --- manpages-zh-1.6.3.5/ChangeLog 2021-07-28 21:12:16.000000000 +0000 +++ manpages-zh-1.6.3.6/ChangeLog 2021-10-01 03:02:48.000000000 +0000 @@ -1,3 +1,22 @@ +2021-09-30 Boyuan Yang <073plan@gmail.com> + + * ulimit(3): Retranslate using upstream man page from + manpages-dev 5.10. + +2021-08-01 Boyuan Yang <073plan@gmail.com> + + * unicode_stop(1): Retranslate using upstream man page + from kbd 2.3.0. + +2021-07-30 Boyuan Yang <073plan@gmail.com> + + * open(2): Minor fix to text. + Inspired by changes from GitHub @jiangqii. + * unicode_start(1): Retranslate using upstream man page + from kbd 2.3.0. + * man*/zh_TW/Makefile.am: Use opencc s2twp.json for better + conversion. + 2021-07-28 Boyuan Yang <073plan@gmail.com> * Add translation for epoll(7) from manpages. diff -Nru manpages-zh-1.6.3.5/configure.ac manpages-zh-1.6.3.6/configure.ac --- manpages-zh-1.6.3.5/configure.ac 2021-07-28 21:12:16.000000000 +0000 +++ manpages-zh-1.6.3.6/configure.ac 2021-10-01 03:02:48.000000000 +0000 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.61]) -AC_INIT([manpages-zh],[1.6.3.4],[https://github.com/man-pages-zh/manpages-zh/issues]) +AC_INIT([manpages-zh],[1.6.3.6],[https://github.com/man-pages-zh/manpages-zh/issues]) AC_CONFIG_SRCDIR([src/man1/basename.1]) AM_INIT_AUTOMAKE([subdir-objects]) AM_MAINTAINER_MODE diff -Nru manpages-zh-1.6.3.5/debian/changelog manpages-zh-1.6.3.6/debian/changelog --- manpages-zh-1.6.3.5/debian/changelog 2021-07-28 21:18:48.000000000 +0000 +++ manpages-zh-1.6.3.6/debian/changelog 2021-10-01 03:08:20.000000000 +0000 @@ -1,3 +1,10 @@ +manpages-zh (1.6.3.6-1) unstable; urgency=medium + + * New upstream release 1.6.3.6. + * debian/control: Use "Rules-Requires-Root: no". + + -- Boyuan Yang Thu, 30 Sep 2021 23:08:20 -0400 + manpages-zh (1.6.3.5-1) unstable; urgency=medium * New upstream release 1.6.3.5. diff -Nru manpages-zh-1.6.3.5/debian/control manpages-zh-1.6.3.6/debian/control --- manpages-zh-1.6.3.5/debian/control 2021-07-28 21:15:05.000000000 +0000 +++ manpages-zh-1.6.3.6/debian/control 2021-10-01 03:07:50.000000000 +0000 @@ -8,7 +8,8 @@ debhelper-compat (= 13), python3:any, opencc (>= 1.0.0~), -Standards-Version: 4.5.0 +Standards-Version: 4.6.0 +Rules-Requires-Root: no Homepage: https://github.com/man-pages-zh/manpages-zh Vcs-Browser: https://salsa.debian.org/chinese-team/manpages-zh Vcs-Git: https://salsa.debian.org/chinese-team/manpages-zh.git diff -Nru manpages-zh-1.6.3.5/NEWS manpages-zh-1.6.3.6/NEWS --- manpages-zh-1.6.3.5/NEWS 2021-07-28 21:12:16.000000000 +0000 +++ manpages-zh-1.6.3.6/NEWS 2021-10-01 03:02:48.000000000 +0000 @@ -1,5 +1,18 @@ manpages-zh +Version 1.6.3.6 (2021-09-30) +* Minor text fix to open(2). +* Retranslate unicode_start(1), unicode_stop(1) from kbd 2.3.0. +* Retranslate ulimit(3) from manpages-dev 5.10. +* Use opencc s2twp.json for better zh_TW translation. + +Version 1.6.3.5 (2021-07-30) +* Retranslate ln(1) using coreutils man page. +* Retranslate kill(1) using man page from procps-ng instead of bsdutils. +* Add translation for od(1), pr(1), epoll(7). +* Fix translation error in console_codes(4). +* Various fixes. + Version 1.6.3.4 (2020-05-09) * Remove manpage stub for bash builtins. * Import coreutils 8.32 translation. diff -Nru manpages-zh-1.6.3.5/src/man1/unicode_start.1 manpages-zh-1.6.3.6/src/man1/unicode_start.1 --- manpages-zh-1.6.3.5/src/man1/unicode_start.1 2021-07-28 21:12:16.000000000 +0000 +++ manpages-zh-1.6.3.6/src/man1/unicode_start.1 2021-10-01 03:02:48.000000000 +0000 @@ -1,31 +1,27 @@ -.TH UNICODE_START 1 "28 Oct 1997" "控制台工具" "Linux 用户手册" - -.SH NAME -unicode_start \- 将控制台设为Unicode模式. - -.SH 总览 -.B unicode_start -.BI [ " font " [ " screen-font-map " "] ]" - +.\" @(#)unicode_start.1 1.0 010203 aeb +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH UNICODE_START 1 2001年2月3日 kbd +.SH 名称 +unicode_start \- 将键盘和控制台设为 unicode 模式 +.SH 概述 +\fBunicode_start\fP [\fI字体\fP [\fIumap\fP]] .SH 描述 -.B unicode_start -命令将显示屏及键盘设为 -.IR "Unicode 模式" , -并且有 -可能还会装载所用的 -.I 字体 -和 -.IR "显示屏-字体 映射" . -如果没有给出 -参数,就使用当前的 -.I 字体 -和 -.IR "显示屏-字体 映射" . - -.SH BUGS -如果没有装载"显示屏-字体 映射", 可能会有麻烦. - -.SH "另见" -.BR unicode_stop (1), -.BR consolechars (8). - +.LP +\fBunicode_start\fP 命令会将键盘和控制台设为 Unicode(UTF\-8)模式。 +.LP +对键盘来说,这意味着用户可以使用 \fBloadkeys\fP(1) 将16位 U+xxxx 的值附加在键盘的按键上,并令其成为用户程序的 UTF\-8 +输入。同时,用户可以使用小键盘键入十六进制的 Alt\-xxxx 字符,并同样产生 UTF\-8 输入效果。 +.LP +对控制台来说,这意味着内核期望从用户程序得到 UTF\-8 输出,并相应地显示这些输出。 +.LP +指定的 \fI字体\fP 参数是加载的字体。它应当含有内置的 Unicode +映射表;如果没有,应当使用第二个参数显式指定映射表。如果未指定字体,则维持使用原字体。 +.SH 备注 +Unicode 模式是每个虚拟控制台对应一个值的参数。然而,通常情况下字体和键盘映射对全部控制台均通用。 +.SH 参见 +\fBdumpkeys\fP(1), \fBkbd_mode\fP(1), \fBloadkeys\fP(1), \fBunicode_stop\fP(1), +\fButf\-8\fP(7), \fBsetfont\fP(8) diff -Nru manpages-zh-1.6.3.5/src/man1/unicode_stop.1 manpages-zh-1.6.3.6/src/man1/unicode_stop.1 --- manpages-zh-1.6.3.5/src/man1/unicode_stop.1 2021-07-28 21:12:16.000000000 +0000 +++ manpages-zh-1.6.3.6/src/man1/unicode_stop.1 2021-10-01 03:02:48.000000000 +0000 @@ -1,20 +1,17 @@ -.TH UNICODE_STOP 1 "28 Oct 1997" "控制台工具" "Linux 用户手册" - -.SH NAME -unicode_stop \- 撤销控制台unicode模式(例如, 回到8-bit模式). - -.SH 总览 -.B unicode_stop - +.\" @(#)unicode_stop.1 1.0 010203 aeb +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH UNICODE_STOP 1 2001年2月3日 kbd +.SH 名称 +unicode_stop \- 将键盘和控制台从 unicode 模式回退 +.SH 概述 +\fBunicode_stop\fP .SH 描述 -.B unicode_stop -撤销以前 -.BR unicode_start (1) -命令的效果, 将显示 -屏和键盘设回到 -.IR "8-bit 模式" . - -.SH "另见" -.BR unicode_start (1), -.BR consolechars (8). - +.LP +\fBunicode_stop\fP 命令会一定程度上撤销 \fBunicode_start\fP 命令的效果。它会将键盘置于 ASCII (XLATE) +模式,并清除控制台的 UTF\-8 模式。 +.SH 参见 +\fBkbd_mode\fP(1), \fBunicode_start\fP(1), \fButf\-8\fP(7), \fBsetfont\fP(8) diff -Nru manpages-zh-1.6.3.5/src/man1/zh_TW/Makefile.am manpages-zh-1.6.3.6/src/man1/zh_TW/Makefile.am --- manpages-zh-1.6.3.5/src/man1/zh_TW/Makefile.am 2021-07-28 21:12:16.000000000 +0000 +++ manpages-zh-1.6.3.6/src/man1/zh_TW/Makefile.am 2021-10-01 03:02:48.000000000 +0000 @@ -11,7 +11,7 @@ man_MANS = $(MANPAGES) %.1: $(srcdir)/../%.1 - $(APPEND_COLOPHON) < $< | opencc -c s2t.json > $@ + $(APPEND_COLOPHON) < $< | opencc -c s2twp.json > $@ clean-local: rm -f $(man_MANS) diff -Nru manpages-zh-1.6.3.5/src/man2/open.2 manpages-zh-1.6.3.6/src/man2/open.2 --- manpages-zh-1.6.3.5/src/man2/open.2 2021-07-28 21:12:16.000000000 +0000 +++ manpages-zh-1.6.3.6/src/man2/open.2 2021-10-01 03:02:48.000000000 +0000 @@ -1,10 +1,9 @@ - .TH OPEN 2 1999-06-03 "Linux" "System calls" .SH NAME -open, creat \- 用来 打开和创建 一个 文件或设备 +open, creat \- 打开和/或创建一个文件 .SH SYNOPSIS 总览 .nf -.B #includ e +.B #include .B #include .B #include .sp diff -Nru manpages-zh-1.6.3.5/src/man2/zh_TW/Makefile.am manpages-zh-1.6.3.6/src/man2/zh_TW/Makefile.am --- manpages-zh-1.6.3.5/src/man2/zh_TW/Makefile.am 2021-07-28 21:12:16.000000000 +0000 +++ manpages-zh-1.6.3.6/src/man2/zh_TW/Makefile.am 2021-10-01 03:02:48.000000000 +0000 @@ -11,7 +11,7 @@ man_MANS = $(MANPAGES) %.2: $(srcdir)/../%.2 - $(APPEND_COLOPHON) < $< | opencc -c s2t.json > $@ + $(APPEND_COLOPHON) < $< | opencc -c s2twp.json > $@ clean-local: rm -f $(man_MANS) diff -Nru manpages-zh-1.6.3.5/src/man3/ulimit.3 manpages-zh-1.6.3.6/src/man3/ulimit.3 --- manpages-zh-1.6.3.5/src/man3/ulimit.3 2021-07-28 21:12:16.000000000 +0000 +++ manpages-zh-1.6.3.6/src/man3/ulimit.3 2021-10-01 03:02:48.000000000 +0000 @@ -1,7 +1,6 @@ -.\" Hey Emacs! This file is -*- nroff -*- source. -.\" .\" Copyright (C) 1996 Andries Brouwer (aeb@cwi.nl) .\" +.\" %%%LICENSE_START(VERBATIM) .\" Permission is granted to make and distribute verbatim copies of this .\" manual provided the copyright notice and this permission notice are .\" preserved on all copies. @@ -9,8 +8,8 @@ .\" Permission is granted to copy and distribute modified versions of this .\" manual under the conditions for verbatim copying, provided that the .\" entire resulting derived work is distributed under the terms of a -.\" permission notice identical to this one -.\" +.\" permission notice identical to this one. +.\" .\" Since the Linux kernel and libraries are constantly changing, this .\" manual page may be incorrect or out-of-date. The author(s) assume no .\" responsibility for errors or omissions, or for damages resulting from @@ -18,45 +17,64 @@ .\" have taken the same level of care in the production of this manual, .\" which is licensed free of charge, as they might when working .\" professionally. -.\" +.\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. +.\" %%%LICENSE_END .\" .\" Moved to man3, aeb, 980612 .\" -.TH ULIMIT 3 "12 June 1998" "Linux 2.0" "Linux Programmer's Manual" -.SH NAME -ulimit \- 获取和改变用户的限制设定 -.SH 大纲 -.B #include -.sp -.BI "long ulimit(int " cmd ", long " newlimit ); +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH ULIMIT 3 2017\-09\-15 Linux "Linux 程序员手册" +.SH 名称 +ulimit \- 获取并设置用户限制 +.SH 概述 +\fB#include \fP +.PP +\fBlong ulimit(int \fP\fIcmd\fP\fB, long \fP\fInewlimit\fP\fB);\fP .SH 描述 -警告: 这个函数已经被废弃. glibc 不再提供这个包含文件. 使用 getrlimit(2), -setrlimit(2) 和 sysconf(3) 代替这个函数. 相关shell命令 -.BR ulimit , -参见 -.BR bash (1). - -使用 -.B ulimit -可以获得或改变当前进程的限制设定. -.I cmd -参数可以是下列值中的一个: -.TP -.B UL_GETFSIZE -返回文件大小的限制 (以512字节为单位). -.TP -.B UL_SETFSIZE -设定文件大小的限制. -.TP -.B 3 -(Linux不支持) -返回数据段可以使用的最大地址. -.TP -.B 4 -(支持,但没有定义符号常量) -返回调用本函数的进程可以打开的最大文件数. - -.SH "返回值" -如果执行成功 \ No newline at end of file +警告:该例程已过时。请使用 \fBgetrlimit\fP(2)、\fBsetrlimit\fP(2) 和 \fBsysconf\fP(3) 代替。有关 shell 命令 +\fBulimit\fP() 请参见 \fBbash\fP(1)。 +.PP +\fBulimit\fP() 调用可以获取或设置调用进程的某些限制。\fIcmd\fP 参数可以取如下的值。 +.TP +\fBUL_GETFSIZE\fP +返回文件大小相关的限制,单位为 512 字节。 +.TP +\fBUL_SETFSIZE\fP +设置文件大小相关的限制。 +.TP +\fB3\fP +(Linux 未实现。)返回数据段可能的最大地址。 +.TP +\fB4\fP +(已实现,但未提供符号常量。)返回调用进程可以打开文件的最大数量。 +.SH 返回值 +如果成功,\fBulimit\fP() 返回非零值。如果出错,返回值为 \-1,且将相应设置 \fIerrno\fP 的值。 +.SH 错误 +.TP +\fBEPERM\fP +一个无权限的进程尝试提升限制。 +.SH 属性 +如需了解本节中所使用术语的解释,请查看 \fBattributes\fP(7)。 +.TS +allbox; +lb lb lb +l l l. +接口 属性 值 +T{ +\fBulimit\fP() +T} 线程安全性 多线程安全 +.TE +.sp 1 +.SH 遵循标准 +SVr4,POSIX.1\-2001。POSIX.1\-2008 将 \fBulimit\fP() 标记为过时。 +.SH 参见 +\fBbash\fP(1), \fBgetrlimit\fP(2), \fBsetrlimit\fP(2), \fBsysconf\fP(3) +.SH 注记 +此页面是 Linux \fIman\-pages\fP 项目 5.10 版的一部分。您可以访问 +\%https://www.kernel.org/doc/man\-pages/ 来了解项目的描述、报告问题的方法和此页面的最新版本。 diff -Nru manpages-zh-1.6.3.5/src/man3/zh_TW/Makefile.am manpages-zh-1.6.3.6/src/man3/zh_TW/Makefile.am --- manpages-zh-1.6.3.5/src/man3/zh_TW/Makefile.am 2021-07-28 21:12:16.000000000 +0000 +++ manpages-zh-1.6.3.6/src/man3/zh_TW/Makefile.am 2021-10-01 03:02:48.000000000 +0000 @@ -11,7 +11,7 @@ man_MANS = $(MANPAGES) %.3: $(srcdir)/../%.3 - $(APPEND_COLOPHON) < $< | opencc -c s2t.json > $@ + $(APPEND_COLOPHON) < $< | opencc -c s2twp.json > $@ clean-local: rm -f $(man_MANS) diff -Nru manpages-zh-1.6.3.5/src/man4/zh_TW/Makefile.am manpages-zh-1.6.3.6/src/man4/zh_TW/Makefile.am --- manpages-zh-1.6.3.5/src/man4/zh_TW/Makefile.am 2021-07-28 21:12:16.000000000 +0000 +++ manpages-zh-1.6.3.6/src/man4/zh_TW/Makefile.am 2021-10-01 03:02:48.000000000 +0000 @@ -11,7 +11,7 @@ man_MANS = $(MANPAGES) %.4: $(srcdir)/../%.4 - $(APPEND_COLOPHON) < $< | opencc -c s2t.json > $@ + $(APPEND_COLOPHON) < $< | opencc -c s2twp.json > $@ clean-local: rm -f $(man_MANS) diff -Nru manpages-zh-1.6.3.5/src/man5/zh_TW/Makefile.am manpages-zh-1.6.3.6/src/man5/zh_TW/Makefile.am --- manpages-zh-1.6.3.5/src/man5/zh_TW/Makefile.am 2021-07-28 21:12:16.000000000 +0000 +++ manpages-zh-1.6.3.6/src/man5/zh_TW/Makefile.am 2021-10-01 03:02:48.000000000 +0000 @@ -11,7 +11,7 @@ man_MANS = $(MANPAGES) %.5: $(srcdir)/../%.5 - $(APPEND_COLOPHON) < $< | opencc -c s2t.json > $@ + $(APPEND_COLOPHON) < $< | opencc -c s2twp.json > $@ clean-local: rm -f $(man_MANS) diff -Nru manpages-zh-1.6.3.5/src/man6/zh_TW/Makefile.am manpages-zh-1.6.3.6/src/man6/zh_TW/Makefile.am --- manpages-zh-1.6.3.5/src/man6/zh_TW/Makefile.am 2021-07-28 21:12:16.000000000 +0000 +++ manpages-zh-1.6.3.6/src/man6/zh_TW/Makefile.am 2021-10-01 03:02:48.000000000 +0000 @@ -11,7 +11,7 @@ man_MANS = $(MANPAGES) %.6: $(srcdir)/../%.6 - $(APPEND_COLOPHON) < $< | opencc -c s2t.json > $@ + $(APPEND_COLOPHON) < $< | opencc -c s2twp.json > $@ clean-local: rm -f $(man_MANS) diff -Nru manpages-zh-1.6.3.5/src/man7/zh_TW/Makefile.am manpages-zh-1.6.3.6/src/man7/zh_TW/Makefile.am --- manpages-zh-1.6.3.5/src/man7/zh_TW/Makefile.am 2021-07-28 21:12:16.000000000 +0000 +++ manpages-zh-1.6.3.6/src/man7/zh_TW/Makefile.am 2021-10-01 03:02:48.000000000 +0000 @@ -11,7 +11,7 @@ man_MANS = $(MANPAGES) %.7: $(srcdir)/../%.7 - $(APPEND_COLOPHON) < $< | opencc -c s2t.json > $@ + $(APPEND_COLOPHON) < $< | opencc -c s2twp.json > $@ clean-local: rm -f $(man_MANS) diff -Nru manpages-zh-1.6.3.5/src/man8/zh_TW/Makefile.am manpages-zh-1.6.3.6/src/man8/zh_TW/Makefile.am --- manpages-zh-1.6.3.5/src/man8/zh_TW/Makefile.am 2021-07-28 21:12:16.000000000 +0000 +++ manpages-zh-1.6.3.6/src/man8/zh_TW/Makefile.am 2021-10-01 03:02:48.000000000 +0000 @@ -11,7 +11,7 @@ man_MANS = $(MANPAGES) %.8: $(srcdir)/../%.8 - $(APPEND_COLOPHON) < $< | opencc -c s2t.json > $@ + $(APPEND_COLOPHON) < $< | opencc -c s2twp.json > $@ clean-local: rm -f $(man_MANS) diff -Nru manpages-zh-1.6.3.5/src/mann/zh_TW/Makefile.am manpages-zh-1.6.3.6/src/mann/zh_TW/Makefile.am --- manpages-zh-1.6.3.5/src/mann/zh_TW/Makefile.am 2021-07-28 21:12:16.000000000 +0000 +++ manpages-zh-1.6.3.6/src/mann/zh_TW/Makefile.am 2021-10-01 03:02:48.000000000 +0000 @@ -11,9 +11,9 @@ man_MANS = $(MANPAGES) %tcl: $(srcdir)/../%tcl - $(APPEND_COLOPHON) < $< | opencc -c s2t.json > $@ + $(APPEND_COLOPHON) < $< | opencc -c s2twp.json > $@ %tk: $(srcdir)/../%tk - $(APPEND_COLOPHON) < $< | opencc -c s2t.json > $@ + $(APPEND_COLOPHON) < $< | opencc -c s2twp.json > $@ clean-local: rm -f $(man_MANS) diff -Nru manpages-zh-1.6.3.5/.travis.yml manpages-zh-1.6.3.6/.travis.yml --- manpages-zh-1.6.3.5/.travis.yml 2021-07-28 21:12:16.000000000 +0000 +++ manpages-zh-1.6.3.6/.travis.yml 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -install: - - sudo apt-get install zh-autoconvert autoconf automake -script: - - autoreconf --install --verbose - - ./configure - - make