[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: Logon
- Subject: Re: Logon
- From: cld@xxxxxxxx (Carl Distefano)
- Date: Tue, 23 Jan 2001 22:33:46 +0000
Dick is right (as was Leslie). If LOG.LOG is present in
the directory that has EDITOR.EXE, a LOGON command is
unnecessary. EDITOR logs on automatically, with a
default username of SYS. This can be verified with VA/NV
$LG, which returns the current logged-on username. I
just tested this in Xy4.
On the other hand, if I delete LOG.LOG and restart, I
still get no prompt to log in, and the logged-in username
is still SYS. So maybe LOG.LOG isn't needed after all?
(Rene, is LOG.LOG present in your main XyWrite
directory?)
One advantage of logging on as a uniquely identified user
is that you can write and run XPL programs that
do different things depending on who runs the program
(i.e., depending on the current value of ).
There's an example of this embedded in the HTML source of
the XyWWWWeb page. It's a program (coded as plain-text
XPL pseudo code suitable for execution via a U2 routine
called XMACRO) that updates the last-revised date and
time stamp for the page. If Robert runs it, it inserts
his initials; if I run it, it inserts mine.
--
Carl Distefano
cld@xxxxxxxx
http://users.datarealm.com/xywwweb/
> Carl:
> I beg to disagree! Log.log is not only the default, but from what
> I've been able to find out, it is the one used when there is no login.
> I use no login as I'm the only user on my machine and it apears that
> log.log is used.
> Dick Giering
>
> Leslie Bialler wrote:
>
> > Carl Distefano wrote:
> >
> > > You don't need "log.log". (Never heard of it, don't
> > > where it comes from -- is it in the default
> > > installation?)
> >
> > Yep.
> >
> > > If you log on as "jim", all you need is
> > > "jim.log".
> > >
> >
> > Noted! Thanks.
> >
> > >
> > > It just occurred to me that the idea behind making the
> > > LOGON command RUN the .LOG files like XPL programs must
> > > have been that these .LOG files were supposed to be
> > > vehicles for loading different configurations
> > > for different users.
> >
> > Probably so!
> >
> > > . . . . I never heard of the
> > > LOGON command actually being used that way, but it
> > > certainly would be a viable and convenient use for it,
> > > even in a non-network setting.
> >
> > It sure would.
> >
> > --
> > Leslie Bialler, Columbia University Press
> > lb136@xxxxxxxx
> > New Address:
> > 61 W. 62 St, NYC 10023
> > 212-459-0600 X7109 (phone) 212-459-3677 (fax)
> > > http://www.columbia.edu/cu/cup
>