Re: CVSROOT or username in TCL

2000-10-26 Thread Thomas Olausson

> I'm known for stating the obvious, so here goes...  If this is inside
> a procedure, have you got a "global env" at the top of it?

Yes, but that's only getting the environment variables in WinNT.
That username there is seldomly the same as the one you're
using in CVS. Also, you can have several CVSROOTs, with
different usernames. 

Thomas


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: CVSROOT or username in TCL

2000-10-26 Thread John Klassa


> On Wed, 25 Oct 2000, "Thomas" == Thomas Olausson wrote:

  Thomas> I'm trying to write a simple tcl script to echo out the
  Thomas> CVSROOT-variable or better yet, the username the user has when
  Thomas> logged in.

  Thomas> It's set through the Admin->Preferences, so I can't get it
  Thomas> from "env".

I'm known for stating the obvious, so here goes...  If this is inside
a procedure, have you got a "global env" at the top of it?

-- 
John Klassa / [EMAIL PROTECTED]



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



CVSROOT or username in TCL

2000-10-25 Thread Thomas Olausson

I'm using WinCVS1.1, tcl 8.3 for Windows NT.

I'm trying to write a simple tcl script to echo out
the CVSROOT-variable or better yet, the username
the user has when logged in.

It's set through the Admin->Preferences, so
I can't get it from "env".

Thomas



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs