[心得] X11 下用 rxvt 無法以 /bin/ls -G 顯示檔案顏色

看板MacDev作者 (不捨)時間20年前 (2005/03/13 00:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
試了好久, 才在最近一期的 Apple Mailing List 裡的 X11 中找到 http://lists.apple.com/archives/x11-users/2005/Mar/msg00030.html My Mac X11 xterms have always displayed a red cursor, so color is not impossible in Mac xterms. But I found that 'ls -G' only displays colorized output if I set the env variable TERM to xterm-color instead of xterm (setenv TERM xterm-color in csh, export TERM=xterm-color in bash). Sebastian 原來是要在 設完 export TERM=xterm-color 才可以顯示檔案顏色 是我自己接觸 BSD , Linux 不夠久吧, 可是我有很努去去找基本的東西來唸耶 可是居然連 ls 都弄好久... (X11 下 rxvt 也到現在還不能夠看中文 XD) 希望前輩可以告訴我有沒有什麼必看的書? 或是我應該回去重新玩 Slakeware 的 Linux 才會比較能夠掌握這些基礎? 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.25.191
文章代碼(AID): #12CnclZI (MacDev)
文章代碼(AID): #12CnclZI (MacDev)