[TriLUG] Advice: ssh/rxvt/pine

Kevin - The Alchemist - Sonney alchemist at darkcanvas.com
Mon Apr 22 07:25:54 EDT 2002


On Sun, 2002-04-21 at 23:39, Andrew Perrin (CLists) wrote:
> The problem is this: I'm lazy. I'd like to have a menu option, when logged
> in as aperrin, to open a window for clists' mail. I'm perfectly happy to
> type the password, but would prefer not to have to open an xterm, ssh or
> su, and then type pine manually.

su -c is your friend, if you happen to be on the same machine as the
account:
rxvt -e su - clists -c pine

Now, for ssh, things get trickier. Pine wants to control I/O in ways ssh
doesn;t allow for when apssed on the ssh command line. In my experience,
ssh & pine have never played nice with this :

> rxvt -name clists -title clists -bg lightblue -fg black -e ssh \
>    clists at perrin.socsci.unc.edu pine

So if I were you, I'd script the command - instead of pine, use, say
pine-launcher.sh or something.

> Can anyone suggest a one-line (e.g., can be put into fvwm2's
> main-menu-pre-hook file) command that will successfully launch another
> user's pine? If a password authentication is necessary, it should be able
> to ask for it.

Hmm. most of the time I just used ssh for it. Although I've switched to 
evolution pretty much full time, which does really nice multi-account
things.

-- 
--------------------------------------------
--      Kevin "The Alchemist" Sonney      --
--  ICQ: 4855069            AIM: ksonney  --
--------------------------------------------
320C 0336 3BC4 13EC 4AEC  6AF2 525F CED7 7BB6 12C9

"I will rule you all with an Iron Fist! You! Obey the fist!" - Zim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20020422/497476ca/attachment.pgp>


More information about the TriLUG mailing list