Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Set xterm dimensions using Apple's X11 terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Set xterm dimensions using Apple's X11 terminal
Authored by: mzs on Mar 09, '04 11:35:09AM
Yes an .Xresources file is the way to go. That way if you type 'xterm &' in one xterm to get another one instead of using the menu, the new xterm will have the correct dimensions as well.

Just be sure that /usr/bin/cpp exists on your system. The .Xresources file is run through the preprocessor by default and this will not work if the preprocessor is not installed on your system. You need to install the BSD SDK from the DevTools in order to have /usr/bin/cpp on your system.

Some other lines I have in my .Xresources are:

XTerm*scrollBar: on

XTerm*saveLines: 50000

XTerm*rightScrollBar: true

You can do a 'man xterm' from the xterm to see all the resources you can set. This is generally true for all X11 apps as well, so if you want to set things for others, just add the appropriate resource settings in the .Xresource file.

I made this post that explains some more about X11 resources.

As a side note, if you are using xterm instead of Termial.app, you may like xman rather than man. Just do 'xman &' from the xterm and then you can search and browse man pages with mouse clicks and dialog boxes.

[ Reply to This | # ]