🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.sgi.misc
1 messages
1 total messages Started by Paul Tatarsky Wed, 27 Jan 1993 17:56
What makes /usr/bin/X11/userenv tick?
#286
Author: Paul Tatarsky
Date: Wed, 27 Jan 1993 17:56
22 lines
1415 bytes
I am setting up XDM on an non-SGI system, and find myself wishing I
had the source for /usr/bin/X11/userenv. I am looking for a way to
have the users environment variables be used by the XDM Xsession
script, _without_ making the Xsession script a /bin/csh script and
sourcing the $HOME/.cshrc file (something that causes problems if the
user has a bunch of tty oriented commands), and without forcing them
to place the commands in their .xsession.

So, eval `/usr/bin/X11/userenv` would make a nice little one liner in
my non-SGI Xsession. I did a strings on userenv and see that it does
something with /bin/env which I do have available, but what does it
do?

I've tried all sorts of shell script eval's and execs to get this
"login" emulation out of Xsession, and have failed. Anyone? Some nice
soul at SGI care to post the source? Some wizard care to elighten me?


 Paul Tatarsky         email: paul@cse.ucsc.edu
 UC Santa Cruz
 CIS/CE Board          
 Technical Staff
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads