查看積分策略說明發表回覆
Discuz! 代碼
提示插入
直接插入
說明訊息

插入粗體文本 插入斜體文本 插入下劃線 置中對齊 插入超級連結 插入信件位址 插入圖像 插入 flash 插入代碼 插入引言 插入列表
刪除線 直線分隔線 虛線分隔線
    
添加文字底框
內容 [字數檢查]:

表情符號

更多 Smilies
字型大小 |||
溫馨提示:本區開放遊客瀏覽。


文章關鍵字 : [功能說明]
(關鍵字可加強搜索準確性, 如關鍵字多於一組, 請以 , 作分隔, e.g. : 阿笨,shiuh,第一笨)

 關閉 URL 識別 | html 禁用
 關閉 表情符號 | 表情符號 可用
 關閉 Discuz! 代碼 | Discuz! 代碼 可用
使用個人簽名
接收新回覆信件通知
推薦放檔網絡空間

檔案(Torent, zip等)
  1. freedl
  2. multiupload
  3. btghost
  4. 便當狗
  5. mediafire
  6. pillowangel
圖片(JPG, GIF等)
  1. hotimg
  2. tinypic
  3. mousems2
  4. imageshack
  5. imm.io
>>>歡迎推薦好用空間


最新10篇文章回顧
柚祐

 發表於 2007-11-3 11:24 PM

喔 ... 這個不錯喔,設了之後果然 man page 比較容易閱讀了,謝謝分享 ^^

PS: 能不能進一步解釋一下這些語法是什麼意思 ? 還能怎麼變化 ?


hohohahahaho

 發表於 2007-9-20 10:27 PM

哈~這個有意思~
我來踹踹看


Chicken

 發表於 2007-9-1 01:35 PM

如果你要編輯中文文檔
那可以考慮改成 zh_TW.UTF-8
而 SSH client 的 charset 也要改成 utf-8 喔


kills55555

 發表於 2007-8-30 10:25 AM

嗯..  花了點時間 我找到解法了
主要就是語系的問題...

/etc/sysconfig/i18n 這檔應該是管大家的語系
也不用改這改動到大家的設定
我們整個server只有我看亂碼看的不高興
所我在.bashrc下加一行
LANG="en_US"
這樣亂碼就不見了...

本來在i18n 中是LANG="en_US.UTF-8"
就是它害的..  這樣改也許還不夠完善
但目前來說....   man page正常了


kills55555

 發表於 2007-8-30 10:07 AM

嗯 這台是我們的server,沒辦法去本機看,不是我管的(但大家都有root的權限 所以要改系統是ok的)
我用SecureCRT連過去的(ssh)

我貼個man page 上來
--------------------------------------------------------------------------------------
FOPEN(3)                   Linux Programmer’s Manual                  FOPEN(3)

NAME
       fopen, fdopen, freopen - stream open functions

SYNOPSIS
       #include <stdio.h>

       FILE *fopen(const char *path, const char *mode);
       FILE *fdopen(int fildes, const char *mode);
       FILE *freopen(const char *path, const char *mode, FILE *stream);
.
.
.
       The mode string can also include the letter ‘‘b’’ either as a last character or as a charac-
       ter between the characters in any of the two-character strings  described  above.   This  is
       strictly  for  compatibility with ANSI X3.159-1989 (‘‘ANSI C’’) and has no effect; the ‘‘b’’

            is ignored on all POSIX conforming systems, including Linux.  (Other systems may treat  text
       files and binary files differently, and adding the ‘‘b’’ may be a good idea if you do I/O to
       a binary file and expect that your program may be ported to non-Unix environments.)
--------------------------------------------------------------------------------------
這是我的man fopen ..  出一堆亂碼
我看通通是問號(??) 貼到論壇上不是問號了,但還是亂碼


Chicken

 發表於 2007-8-29 02:45 PM

請問你是在本機看還是用遠端連線看才亂碼的?


kills55555

 發表於 2007-8-28 11:42 PM

嗯 既然有 這個有關man page的發文
想請教 我的man page 有時會有出現亂碼

這個要怎麼修呢?  也許是整個系統的語系不對


wintwelve

 發表於 2007-8-11 09:42 PM

確實有效,一定要支持一下!


ami

 發表於 2007-7-18 09:01 AM

謝謝提供心得教學分享!


Chicken

 發表於 2007-7-18 05:52 AM

試過確實有效
在瀏覽方面變得更友善了
謝謝分享





所在時區為 GMT+8, 現在時間是 2024-5-4 03:54 AM
清除 Cookies - 連絡我們 - TWed2k © 2001-2046 - 純文字版 - 說明
Discuz! 0.1 | Processed in 0.015744 second(s), 7 queries , Qzip disabled