aterm IRIX-Look Modification

| 5 Comments

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

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\\"'
setitle
alias cd 'set old=$cwd; chdir \!*;echo $cwd; setitle'
setitle
endif
endif
if ($TERM == "aterm" || $TERM == "xterm") then
stty intr ^C
alias setitle 'echo -n "\033P1.y"$USER, ${HOST}:$cwd"\033\\"'
setitle
endif
endif

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

5 Comments

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...

Yours,

Frank

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

Try adding:

stty intr ^C

into your .cshrc file.

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.

Mike

see:

http://www.nekochan.net/weblog/archives/000005.html

for example usage.

About this Entry

This page contains a single entry by nekonoko published on November 20, 2002 1:16 PM.

New IrixDiVX Coming Soon was the previous entry in this blog.

New IRIX Tardist: Buffy GTK is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.