今天,蘋果貼上了 0.2 版本的 X11 for Mac OS X public beta 供 X11-based 程式與 Mac OS X 的 native 程式使到 X11 為基礎的程式轉移至 Mac 的工作更為簡易。新版本也包括一些改進及修補,所有資料可在此獲得。
蘋果升級 X11!
版主: bryanchang、digdog、謝孟叡
蘋果升級 X11!
今天,蘋果貼上了 0.2 版本的 X11 for Mac OS X public beta 供 X11-based 程式與 Mac OS X 的 native 程式使到 X11 為基礎的程式轉移至 Mac 的工作更為簡易。新版本也包括一些改進及修補,所有資料可在此獲得。
Best regards from,
pmg4lktan
pmg4lktan
Re: 蘋果升級 X11!
根據點二被踏版的資料 XCIN 可能有希望....pmg4lktan 寫:
今天,蘋果貼上了 0.2 版本的
void
sched_init(void){
printf("standard timeslicing quantum is %d us\n", std_quantum_us);
}
sched_init(void){
printf("standard timeslicing quantum is %d us\n", std_quantum_us);
}
- bryanchang
- 討論區管理員
- 文章: 7057
- 註冊時間: 04/19/2001 1:01 am
- 來自: The '60s
- 聯繫:
From Macminute:
"...Apple also released version 0.2.1 of its X11 for Mac OS X public beta, which allows X11-based applications to run side-by-side with native Mac OS X applications and makes it easier to port X11-based applications to the Mac. According to Apple, the installer now defaults to replacing /etc/X11, to use quartz-wm instead of twm. The update comes only a day after the 0.2 release."
http://www.apple.com/macosx/x11/download/
"...Apple also released version 0.2.1 of its X11 for Mac OS X public beta, which allows X11-based applications to run side-by-side with native Mac OS X applications and makes it easier to port X11-based applications to the Mac. According to Apple, the installer now defaults to replacing /etc/X11, to use quartz-wm instead of twm. The update comes only a day after the 0.2 release."
http://www.apple.com/macosx/x11/download/

and ... "Installer now defaults to replacing /etc/X11, to use quartz-wm instead of twm. This is the only change since v0.2." 反正我都改好了,這個 update 大概是白下載了。bryanchang 寫:From Macminute:
"...Apple also released version 0.2.1 of its X11 for Mac OS X public beta, which allows X11-based applications to run side-by-side with native Mac OS X applications and makes it easier to port X11-based applications to the Mac. According to Apple, the installer now defaults to replacing /etc/X11, to use quartz-wm instead of twm. The update comes only a day after the 0.2 release."
http://www.apple.com/macosx/x11/download/
void
sched_init(void){
printf("standard timeslicing quantum is %d us\n", std_quantum_us);
}
sched_init(void){
printf("standard timeslicing quantum is %d us\n", std_quantum_us);
}
市面上也有一些討論 X 視窗的書,您可以先從此開始,要不然這裡也有一些:davidma 寫:喔.原來我弄錯了
我有下載.想使用它...但不知哪裡可學習...如此
http://www.x.org
http://www.xfree86.org
void
sched_init(void){
printf("standard timeslicing quantum is %d us\n", std_quantum_us);
}
sched_init(void){
printf("standard timeslicing quantum is %d us\n", std_quantum_us);
}
Re: 蘋果升級 X11!
beta 3 is out.
外加 X11 SDK 一包。
Pseudocolor (8-bit) visual plane support
Option to quit X11 without presenting warning dialog
Command-Q keyboard shortcut to quit X11
Command-, to bring up preferences dialog
Keyboard mappings with dead keys fixed
Linking against libGL no longer results with multiple definitions of glGetColorTableEXT
Locked files left behind in /tmp no longer block non-admin users from starting X11
Windows can be resized by user to any size and not be limited by the Dock's height
Dragging remotely hosted windows no longer causes crash
Hardware accelerated scrolling in 16 bit mode now works
X Server no longer crashes if application tried to retrieve data back from the framebuffer using XGetImage
Bug fixes and other feature enhancements
外加 X11 SDK 一包。
Pseudocolor (8-bit) visual plane support
Option to quit X11 without presenting warning dialog
Command-Q keyboard shortcut to quit X11
Command-, to bring up preferences dialog
Keyboard mappings with dead keys fixed
Linking against libGL no longer results with multiple definitions of glGetColorTableEXT
Locked files left behind in /tmp no longer block non-admin users from starting X11
Windows can be resized by user to any size and not be limited by the Dock's height
Dragging remotely hosted windows no longer causes crash
Hardware accelerated scrolling in 16 bit mode now works
X Server no longer crashes if application tried to retrieve data back from the framebuffer using XGetImage
Bug fixes and other feature enhancements
Re: 蘋果升級 X11!
I still can't see this option inside the preferencedigdog 寫: Option to quit X11 without presenting warning dialog
Besides, it seems the default quartz-wm doesn't work for me, so i change to sawfish, which defined in .xinitrc file.
I don't know if that's the bug or my setup is incorrect.
Look forward to suggestion and thanks in advance.
Louis
Fortune favors the bold.
- Virgil (70 BC - 19 BC)
- Virgil (70 BC - 19 BC)
Re: 蘋果升級 X11!
你要檢查你的 ~/.xinitrc,看看最後一行是不是:
如果是別的 wm,就把它 comment 掉吧。
/etc/x11/xinit/xinitrc 是蘋果的設定。
X11 啟動時,會先看 ~/ 有沒有 .xinitrc,如果沒有,才會去讀 /etc/x11/xinit/xinitrc,所以有很多人會說沒法子用 quartz-wm,都是因為 ~/ 有 .xinitrc,而且裡面用的是其他的 wm。
代碼: 選擇全部
exec quartz-wm/etc/x11/xinit/xinitrc 是蘋果的設定。
給其他人參考:nian-shau shiu 寫: Besides, it seems the default quartz-wm doesn't work for me, so i change to sawfish, which defined in .xinitrc file.
X11 啟動時,會先看 ~/ 有沒有 .xinitrc,如果沒有,才會去讀 /etc/x11/xinit/xinitrc,所以有很多人會說沒法子用 quartz-wm,都是因為 ~/ 有 .xinitrc,而且裡面用的是其他的 wm。
Re: 蘋果升級 X11!
我是把原來的sawfish comment掉換上 quartz-wmdigdog 寫:你要檢查你的 ~/.xinitrc,看看最後一行是不是:如果是別的 wm,就把它 comment 掉吧。代碼: 選擇全部
exec quartz-wm
/etc/x11/xinit/xinitrc 是蘋果的設定。
結果一執行X11時,只見xterm一閃而逝
直接從iTerm中執行xterm&
則馬上出現process done的message
不得已只好再回去用sawfish
雖然也很好看就是了
Fortune favors the bold.
- Virgil (70 BC - 19 BC)
- Virgil (70 BC - 19 BC)
Re: 蘋果升級 X11!
你有試過先把 .xinitrc 拿掉,用 /etc/x11/xinit/xinitrc 的啟動看看?nian-shau shiu 寫: 我是把原來的sawfish comment掉換上 quartz-wm
結果一執行X11時,只見xterm一閃而逝
直接從iTerm中執行xterm&
則馬上出現process done的message
如果這樣沒問題,那就是你 .xinitrc 裡的其他設定在作怪了。
Re: 蘋果升級 X11!
i copy xinitrc into my home directory and rename to .xinitrcdigdog 寫: 你有試過先把 .xinitrc 拿掉,用 /etc/x11/xinit/xinitrc 的啟動看看?
如果這樣沒問題,那就是你 .xinitrc 裡的其他設定在作怪了。
then try xterm &
the same phenomenon (xterm window just flashs away...)
however, for other x-app such as gvim or xeyes
they works fine
i doubt something wrong with my xterm setup
below is my xterm alias:
代碼: 選擇全部
xterm: aliased to xterm -geometry 100x36 -bg black -fg gray -j -sb -rightbar -sl 1000 &thanks for any suggestion in advance
Fortune favors the bold.
- Virgil (70 BC - 19 BC)
- Virgil (70 BC - 19 BC)
Re: 蘋果升級 X11!
I don't know why and how you aliased xterm.nian-shau shiu 寫: i copy xinitrc into my home directory and rename to .xinitrc
then try xterm &
the same phenomenon (xterm window just flashs away...)
however, for other x-app such as gvim or xeyes
they works fine
i doubt something wrong with my xterm setup
below is my xterm alias:but i don't think it matters代碼: 選擇全部
xterm: aliased to xterm -geometry 100x36 -bg black -fg gray -j -sb -rightbar -sl 1000 &
thanks for any suggestion in advance
This is my way to launch xterm.

void
sched_init(void){
printf("standard timeslicing quantum is %d us\n", std_quantum_us);
}
sched_init(void){
printf("standard timeslicing quantum is %d us\n", std_quantum_us);
}
Re: 蘋果升級 X11!
well謝孟叡 寫: I don't know why and how you aliased xterm.
This is my way to launch xterm.
i just add the alias as above inside the .cshrc
besides, have tried the way you setup w/ and w/o my xterm configuration
the same result
thanks
Fortune favors the bold.
- Virgil (70 BC - 19 BC)
- Virgil (70 BC - 19 BC)
Re: 蘋果升級 X11!
幹嘛這麼麻煩還要打指令?這樣不就好了?nian-shau shiu 寫: i copy xinitrc into my home directory and rename to .xinitrc
then try xterm &
the same phenomenon (xterm window just flashs away...)

我照你這樣打也不會有問題說。除非你是在 Terminal.app 下這樣輸入,而且沒設 DISPLAY 變數,那就會發生 Can't Open Display 然後跳掉的問題。nian-shau shiu 寫: i doubt something wrong with my xterm setup
below is my xterm alias:but i don't think it matters代碼: 選擇全部
xterm: aliased to xterm -geometry 100x36 -bg black -fg gray -j -sb -rightbar -sl 1000 &
Re: 蘋果升級 X11!
詭異的是沒有任何error messagedigdog 寫: 我照你這樣打也不會有問題說。除非你是在 Terminal.app 下這樣輸入,而且沒設 DISPLAY 變數,那就會發生 Can't Open Display 然後跳掉的問題。
just said process is done
更詭異的是如果我不信邪死命的type xterm &
咦!
居然xterm就出現了
不過好歹也得try個五六次
請問有什麼其他的configuration file可以try and error?
謝謝
Fortune favors the bold.
- Virgil (70 BC - 19 BC)
- Virgil (70 BC - 19 BC)