自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

make_smbcodepage 中文man頁面

系統(tǒng)
這個工具是是Samba組件的一部分。針對Samba 2.2的國際化功能,使用make_smbcodepage可以編譯或反編譯代碼頁文件。

名字

make_smbcodepage - 為Samba創(chuàng)建代碼頁文件  

總覽

make_smbcodepage c|d 代碼頁 輸入文件 輸出文件  

描述

這個工具是是Samba組件的一部分。

針對Samba 2.2的國際化功能,使用make_smbcodepage可以編譯或反編譯代碼頁文件。  

選項

c|d
使用c把一個文本格式的代碼頁文件編譯成二進制格式;使用d把一個二進制格式的代碼頁反編譯成文本格式。
代碼頁
選用的代碼頁(一個數字,如850)。
輸入文件
待處理的輸入文件。在使用c選項時,它是文本格式的代碼頁預定義文件,這些文件可以在Samba包的source/codepages 目錄中找到;在使用d選項時,它是二進制格式的代碼頁文件,通常,這些文件保存在Samba安裝路徑的lib/codepages目錄的。
輸出文件
程序產生的輸出文件。

Samba的代碼頁文件

文本格式的代碼頁定義文件描述了在指定DOS代碼頁大于127的字符中是如何把大寫轉換為小寫的。要注意的是,在某些DOS代碼頁中 (如437),大小寫之間的映射并不一定對稱。例如,在代碼頁437中,當進行小寫到大寫的映射時,把帶有撇形(')重音符號的a轉換為不帶重間符號的明文大寫字母A,而當進行大寫到小寫映射時,則把字母A直接轉換為字母a而不帶重間符號。

而二進制代碼頁定義文件則是相同信息的二進制表示,同時包含一個值,用來說明所描述的代碼頁。

因為Samba還沒有使用UNICODE碼,所以如果你希望在特殊的語言環(huán)境中不區(qū)分大小寫的話,就要為DOS和Windows客戶端指定所用的代碼頁。 Samba所用的缺省代碼頁是850(西歐語)。同時,Samba發(fā)布還提供了文本格式的樣本代碼頁文件,包含437(美語)、737(希臘語)、850(西歐語)、852(MS-DOS 拉丁2)、861(冰島語), 866 (斯拉夫語)、932 (日語)、936(簡體中文)、949(韓文)和950(繁體中文)。我們鼓勵用戶為自己的代碼頁編寫文本格式的定義文件,并把它捐款給samba@samba.org。當你執(zhí)行'make install'命令時,source/codepages目錄中的所有代碼頁文件都會被編譯并安裝到系統(tǒng)上。

smb.conf文件中配置了client code page選項之后, smbd服務器就可以使用客戶代碼頁了。  

相關文件

codepage_def.<codepage>

這是Samba源代碼包提供的用于輸入的文本代碼頁文件,它們保存在 source/codepages目錄中。

在這些文本格式的代碼頁定義文件中,每一行都包含了四個字段:

*
lower:小寫字符的十六進制值。
*
upper:上述小寫字符所對應的大寫字符十六進制值。
*
map upper to lower:這是個布爾量(True或False二者選一)。用來說明在對一個文件名進行小寫處理時,是否讓Samba將其中的大寫字符映射成小寫字符。
*
map lower to upper:這是個布爾量(True或False二者選一)。用來說明在對一個文件名進行大寫處理時,是否讓Samba將其中的小寫字符映射成大寫字符。

codepage.<codepage> 這是Samba產生的輸出二進制代碼頁文件,它們保存在Samba安裝目錄的 lib/codepage中。

安裝

服務器及相關支持文件的保存位置決定于系統(tǒng)管理員,以下只是建議:

我們推薦把make_smbcodepage程序安裝到/usr/local/samba 路徑下的一個目錄中,這個目錄應該具有只有root可寫,所有人都可讀的權限。這個程序本身應該讓所有用戶都可執(zhí)行,而不應該執(zhí)行suid或sgid 操作。  

版本

本手冊頁是針對samba 2.2版的。  

另見

smbd(8)、smb.conf(5)  

#p#

NAME

make_smbcodepage - construct a codepage file for Samba  

SYNOPSIS

make_smbcodepage c|d codepage inputfile outputfile  

DESCRIPTION

This tool is part of the Samba suite.

make_smbcodepage compiles or de-compiles codepage files for use with the internationalization features of Samba 2.2  

OPTIONS

c|d
This tells make_smbcodepage if it is compiling (c) a text format code page file to binary, or (d) de-compiling a binary codepage file to text.
codepage
This is the codepage we are processing (a number, e.g. 850).
inputfile
This is the input file to process. In the c case this will be a text codepage definition file such as the ones found in the Samba source/codepages directory. In the d case this will be the binary format codepage definition file normally found in the lib/codepages directory in the Samba install directory path.
outputfile
This is the output file to produce.

SAMBA CODEPAGE FILES

A text Samba codepage definition file is a description that tells Samba how to map from upper to lower case for characters greater than ascii 127 in the specified DOS code page. Note that for certain DOS codepages (437 for example) mapping from lower to upper case may be non-symmetrical. For example, in code page 437 lower case a acute maps to a plain upper case A when going from lower to upper case, but plain upper case A maps to plain lower case a when lower casing a character.

A binary Samba codepage definition file is a binary representation of the same information, including a value that specifies what codepage this file is describing.

As Samba does not yet use UNICODE (current for Samba version 2.2) you must specify the client code page that your DOS and Windows clients are using if you wish to have case insensitivity done correctly for your particular language. The default codepage Samba uses is 850 (Western European). Text codepage definition sample files are provided in the Samba distribution for codepages 437 (USA), 737 (Greek), 850 (Western European) 852 (MS-DOS Latin 2), 861 (Icelandic), 866 (Cyrillic), 932 (Kanji SJIS), 936 (Simplified Chinese), 949 (Hangul) and 950 (Traditional Chinese). Users are encouraged to write text codepage definition files for their own code pages and donate them to samba@samba.org. All codepage files in the Samba source/codepages directory are compiled and installed when a 'make install' command is issued there.

The client codepage used by the smbd server is configured using the client code page parameter in the smb.conf file.  

FILES

codepage_def.<codepage>

These are the input (text) codepage files provided in the Samba source/codepages directory.

A text codepage definition file consists of multiple lines containing four fields. These fields are:

*
lower: which is the (hex) lower case character mapped on this line.
*
upper: which is the (hex) upper case character that the lower case character will map to.
*
map upper to lower which is a boolean value (put either True or False here) which tells Samba if it is to map the given upper case character to the given lower case character when lower casing a filename.
*
map lower to upper which is a boolean value (put either True or False here) which tells Samba if it is to map the given lower case character to the given upper case character when upper casing a filename.

codepage.<codepage> - These are the output (binary) codepage files produced and placed in the Samba destination lib/codepage directory.

INSTALLATION

The location of the server and its support files is a matter for individual system administrators. The following are thus suggestions only.

It is recommended that the make_smbcodepage program be installed under the /usr/local/samba hierarchy, in a directory readable by all, writeable only by root. The program itself should be executable by all. The program should NOT be setuid or setgid!  

VERSION

This man page is correct for version 2.2 of the Samba suite.  

SEE ALSO

smbd(8) smb.conf(5)  

責任編輯:韓亞珊 來源: CMPP.net
相關推薦

2011-08-15 10:21:09

man中文man

2011-08-24 16:48:36

man中文man

2011-08-11 16:11:49

at中文man

2011-08-25 10:21:56

man.conf中文man

2011-08-25 15:51:06

feof中文man

2011-08-24 17:30:25

reset中文man

2011-08-18 19:15:25

group中文man

2011-08-18 19:21:18

info中文man

2011-08-18 15:10:06

aliases中文man

2011-08-11 18:05:04

chvt中文man

2011-08-11 17:27:20

charset中文man

2011-08-11 18:13:07

clear中文man

2011-08-11 16:48:04

cal中文man

2011-08-11 17:16:43

cce中文man

2011-08-11 17:21:47

chattr中文man

2011-08-11 15:03:21

ACCESS中文man

2011-08-24 10:39:21

COMMIT中文man

2011-08-24 10:31:55

CLUSTER中文man

2011-08-24 10:11:43

bootparam中文man

2011-08-15 17:59:10

lha中文man
點贊
收藏

51CTO技術棧公眾號