Subject: TERM problem

From: "Dr. Jigang Liu" <[email-masked]>
Date: Tue, 28 May 1996 00:18:35 -0400 (EDT)

Hello,

Can anybody tell me how to setup the TERM if I want to invoke "pine" on
an IBM RS/6000 with AIX3.2 machine over a SUN workstation with the "openwin"?
There is no problem without the "openwin".
 
I have tried the following typies:

vt100, vt220, vt320, ansi, network, sun. This IBM machine does not have
"sun-cmd" type.

Thanks in advance!

Gary

---

From: [email-masked] (Thomas Ulich)
Date: 28 May 1996 08:06:25 GMT

Thomas Ulich ([email-masked]) wrote:
: Don't try it with the command window or anything, open an xterm and invoke
: pine within that.  Ideally you can invoke the xterm on the RS6k and let it
: start pine right away:
: 
: /usr/X11R6/bin/xterm -e /usr/local/bin/pine

Ok, I just noticed that I missed something here.  You have to tell it also,
which display it should come up on.  Here a example.  Assume the network
name of the sun is "sun" and of the RS6k it is "aix".  Assume that your
username is NOT identical on both machines, say it is "aaa" on the sun and 
"bbb" on the RS6k.  Assume that the xterm program is in /usr/X11/bin and 
that pine is in /usr/local/bin.  These things are probably all different
in your case, so you have to put in the right values.  Now assume further,
that you are on the console of the Sun.

1.

Log into the RS6k with telnet or however.  Then issue the following command:

xterm -display sun:0 -e /usr/local/bin/pine

and pine comes up on the sun.  "sun:0" is the display of the console.

2.

Make a menu entry in the menu file on your home dir, i.e. $HOME/.openwin-menu.
Put in the following line:

"Pine" exec rsh aix -l bbb /usr/X11/bin/xterm -display sun:0 -e /usr/local/bin/pine

If your username is the same on both sun and aix, then you can ommit the 
"-l bbb".

In order to make rsh work, i.e. log in w/o password, you have to create a 
file $HOME/.rhosts on aix, i.e. on the RS6k.  It should contain only one 
line:

sun aaa

(Machine, your login on that machine).  But PLEASE read the man page 

	man rhosts

'coz there are naturally some security concerns.  Don't be afraid, but
know about it.

Once again, good luck.

-- 
Thomas Ulich  NEW e-mail: [email-masked]  www: http://cc.oulu.fi/~thu/
 
      Inuit say:  He who looks long upon the aurora soon goes mad.