image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old October 20th, 2005, 08:32 AM
Registered User
 
Join Date: Jan 2005
Posts: 184
Thanks: 0
Thanked 0 Times in 0 Posts
gphillipk is on a distinguished road
What is X11?

Hi guys and girls,
I've been using a Mac since March and I'm finally getting curious about what I can or can't do MacOS X as far as developing and sys admin is concerned. And X11 is something I'm not familiar with at all. So, please educate me. Gently If you know any good resources where I could read up on this I would appreciate it.
__________________
PB G4 15" 1.5GHz 512MB 80GB Mac OS 10.3.9
Reply With Quote
  #2  
Old October 20th, 2005, 09:31 AM
symphonix's Avatar
Scratch & Sniff Committee
 
Join Date: Jul 2001
Location: The Australian Jungles
Posts: 4,022
Thanks: 2
Thanked 2 Times in 2 Posts
symphonix is on a distinguished road
X11 is the window protocol used by most Linux/Unix and Sun systems. Many popular Unix programs run, or at least originally ran, only in X11, such as OpenOffice/StarOffice, The Gimp, KDE, Gnome, etc. While a few of these have been ported to the Mac's windowing system (Aqua), most still run under the X11 service instead.

X11 has a few unique abilities. Provided you have a fast network connection, you can remotely bring up a particular program's window, kind of like using a remote desktop or VNC client, but instead of showing the whole screen it only sends the windows you are using. X11 can be tunnelled in this way through different network ports or through an SSH secure connection. It is also highly expandable, and is used to drive many video-walls and other obscure applications.

A popular open source version of X11 is XFree86, which you'll find on many Linux distributions.

That said, there's not a lot you can "do" with X11 as such, its better to think of it as being the platform on which some Unix apps run. You would probably not want to develop for X11 if you want to run on Mac, as the Aqua windowing system is far superior. You'd only look at developing for X11 if you wanted to run programs on Unix/Linux.

If I were you, I'd install Fink and FinkCommander and try out some good, popular X11 window managers like KDE, Gnome or Enlightenment.
__________________
- iMac G5 1.8GHZ 17" | SuperDrive | 160GB | 512MB | Airport Extreme | Bluetooth Keyboard & Mouse | Wacom Intuos II
- Pentax *ist DL - JVC MiniDV Camcorder - Airport Express - iPod Nano 1gb white
Reply With Quote
  #3  
Old October 20th, 2005, 09:53 AM
mkwan's Avatar
Tech
 
Join Date: Aug 2001
Location: Canada
Posts: 241
Thanks: 0
Thanked 0 Times in 0 Posts
mkwan is on a distinguished road
how does one change the font in xterm in X11?
__________________
mkwan

UNIX was created in the late 1960s, in an effort to provide a multiuser, multitasking system for use by programmers. The philosophy behind the design of UNIX was to provide simple, yet powerful utilities that could be pieced together in a flexible manner to perform a wide variety of tasks.
Reply With Quote
  #4  
Old October 20th, 2005, 03:45 PM
symphonix's Avatar
Scratch & Sniff Committee
 
Join Date: Jul 2001
Location: The Australian Jungles
Posts: 4,022
Thanks: 2
Thanked 2 Times in 2 Posts
symphonix is on a distinguished road
I think xterm used a default font set in the config files somewhere (probably in /etc/X11 or something like that). However if you install Gnome or KDE then you can use gterm or kterm, which are much more configurable and stylish.
__________________
- iMac G5 1.8GHZ 17" | SuperDrive | 160GB | 512MB | Airport Extreme | Bluetooth Keyboard & Mouse | Wacom Intuos II
- Pentax *ist DL - JVC MiniDV Camcorder - Airport Express - iPod Nano 1gb white
Reply With Quote
  #5  
Old October 21st, 2005, 12:55 PM
Registered User
 
Join Date: Oct 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Matadon is on a distinguished road
If xterm under X11 on OS X behaves like xterm on any other Unix platform, you need to edit a file called .Xresources in your home directory, and reload the file with a command called 'xrdb'. Here's a snippet about xterm from my .Xresources (on my Linux workstation):

xterm*termName: xterm
xterm*background: white
xterm*foreground: black
xterm*scrollBar: false
xterm*saveLines: 1000
xterm*font: -*-terminus-bold-*-*-*-20-*-*-*-*-*-*-1
xterm*boldFont: -*-terminus-bold-*-*-*-20-*-*-*-*-*-*-1

The last two lines controll the font; Terminius being a font packaged with Debian. If I wanted to change this and reload the file, I'd make the change, and from the shell, type:

xrdb < ~/.Xresources

HTH.

EDIT: Note that all of the above xterm resources (saveLines, boldFont, etc) are documented in the xterm manpage, and can be set with command-line switches, which are also documented on the manpage.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 05:51 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.