Changes between Version 31 and Version 32 of jazz/08-11-16


Ignore:
Timestamp:
Nov 17, 2008, 2:25:59 PM (16 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/08-11-16

    v31 v32  
    5454431         tfbm_open(&gFramebuffer);
    5555}}}
    56  * 安裝 manpages-dev 套件,查 mmap manpages
     56 * 安裝 manpages-dev 套件,查 mmap 、 strerror 跟 errno 的 manpage。從 cannot mmap(mmio) : Invalid argument 這個錯誤訊息可以判斷 errno 等於 EINVAL。而 mmap 發生 EINVAL 的情形有三種,最可能的原因是第一個:We don't like addr, length, or '''offset''' (e.g., they are too large, or __'''not aligned on a page boundary'''__).
    5757{{{
    5858root@intrepid:~/jfbterm-0.4.7# apt-get install manpages-dev
     
    6565{{{
    6666void *mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset);
     67
     68offset must be a multiple of the page size as returned by sysconf(_SC_PAGE_SIZE).
    6769
    6870ERRORS
     
    110112}}}
    111113
     114{{{
     115
     116}}}
     117
    112118== UCIMF - jfbterm patch (中文輸入) ==
    113119
     
    131137   * 原來 Lenny 是這隻雙筒望眼鏡呀?! [[BR]][[BR]][[Image(http://www.linuxdevices.com/files/misc/pixar_toy_story_lenny_cap.jpg)]]
    132138 * [http://blog.seety.org/everydaywork/2007/4/25/669/ screenrc 範例]
     139   *
    133140{{{
    134141$ cat > .screenrc <<EOF
    135142caption always "%{= wk} %{= KY} [%n]%t @ %H %{-} %= %{= KR} %l %{-} | %{= KG} %Y-%m-%d %{-} "
    136 hardstatus alwayslastline " %-Lw%{= Bw}%n%f %t%{-}%+Lw %=| %0c:%s "
     143hardstatus alwayslastline " %-Lw%{= Bw}%n%f %t%{-}%+Lw %=|"
    137144EOF
    138145}}}