« New IrixDiVX Coming Soon | Main | New IRIX Tardist: Buffy GTK »

November 20, 2002

aterm IRIX-Look Modification

I've been meaning to post a special aterm modification I received from Frank Everdij for quite some time; the patch gives aterm users the option to replace the default NeXT-style scrollbar with a native IRIX version. Many thanks go to Frank for taking the time to write this patch and then share it with the rest of the community.

Interested? I thought so! To install this patch simply perform the following:

Ensure the prerequisites are in place for aterm as outlined in my Compiling aterm On IRIX article.

Download and unpack the aterm-0.4.2.tar.gz file from http://aterm.sourceforge.net.

Download the patch: aterm-0.4.2.sgilook.patch

Copy the patchfile into the newly extracted aterm-0.4.2 directory and enter it:

cp aterm-0.4.2.sgilook.patch aterm-0.4.2/
cd aterm-0.4.2
patch -p0 < aterm-0.4.2.sgilook.patch

If all goes well, it's time to compile the newly patched aterm.

For MIPSPro 7.x, optionally set the following environment variables for an optimized build (skip this if using GCC):

setenv CC cc
setenv CFLAGS '-n32 -O3'

Then the configure command (note the new --enable-sgi-scroll option as a result of the patch):

./configure --enable-utmp --enable-wtmp --enable-fading --enable-sgi-scroll --disable-delete-key --disable-backspace-key --enable-menubar --with-xpm-library=/usr/freeware/lib32 --enable-background-image --with-jpeg-library=/usr/freeware/lib32 --with-png-library=/usr/freeware/lib32 --with-terminfo=/usr/share/lib/terminfo --enable-xgetdefault --enable-graphics --with-term=xterm

make clean


make install

aterm should now be installed as /usr/local/bin and ready for use.

To display user and machine name (should be added to .login, .tcshrc or .cshrc):

if ($?TERM) then
if ($TERM == "iris-ansi" || $TERM == "iris-ansi-net") then
if ($?CONSOLE) then
setenv HOST `/usr/bsd/hostname`
alias setitle 'echo -n "\033P1.y"$USER, ${host}:$cwd"\033\\"'
alias cd 'set old=$cwd; chdir \!*;echo $cwd; setitle'
if ($TERM == "aterm" || $TERM == "xterm") then
stty intr ^C
alias setitle 'echo -n "\033P1.y"$USER, ${HOST}:$cwd"\033\\"'

Example .Xdefaults settings for aterm (modify to taste):

Aterm*transparent: True
Aterm*shading: 25
Aterm*tinting: yellow
Aterm*font: -*-screen-medium-r-normal--18-*-*-*-m-90-iso8859-1
Aterm*saveLines: 500
Aterm*termName: aterm
Aterm*background: black
Aterm*foreground: white
Aterm*cursorColor: green
Aterm*geometry: 80x24

Posted by nekonoko at November 20, 2002 1:16 PM


If some people are interested in getting the wallpaper used in the screenshot at http://www.nekochan.net/weblog/archives/000009.html
(the aterm IRIX-look patch)
just email me. It's a bit rough, but hey it was my first...



Posted by: Dexter1 (Frank) at January 1, 2003 3:43 AM

Using aterm seems to break ^C for me. Any hints?

Posted by: lisp at February 5, 2003 9:47 AM

Try adding:

stty intr ^C

into your .cshrc file.

Posted by: nekonoko at February 5, 2003 11:41 AM

The install went very well, but I cannot get the
transparent background. Is there some thing else
that need to be turned on.
I would like to have a clear shell.


Posted by: MIKE BERDAN at July 11, 2003 8:05 PM



for example usage.

Posted by: nekonoko at July 11, 2003 8:52 PM