[Oberon] Re (2): ETH Oberon, source NetSystem.SetUser*.

peter at easthope.ca peter at easthope.ca
Sun Jun 6 23:10:31 CEST 2021


From:	Michael Schierl <schierlm at gmx.de>
Date:	Sun, 6 Jun 2021 21:01:19 +0200
> In your except you missed a WHILE loop. There is a comment above the
> SetUser procedure declaration that describes why there may be multiple
> URLs in one call to SetUser. entered[0] is only 0X for the first of 
> them.

Thanks Michael.

That allows for a command such as this.  The first three 
authentications share one password.

NetSystem.Setuser
  ssh:peter:sshpassword at localhost
  ssh:peter at otherhost
  ssh:pete at anotherhost
  pop:peter:mailpassword at localhost
  pop:peter:otherpassword at mailserver.isp.net
~

Another interesting point: the SetUser in ETH Oberon has two instances of 
RETURN; neither according to Oberon-07 syntax.  In UnixAos, SetUser is 
revised to remove both RETURNs.

Years ago, when user ids in the pattern <user>@<smarthost> came into 
use, misinterpretation of "@" by percent encoding was considered.

NetSystem.Setuser pop:<user>@<maildomain>@<smarthost>  ~
would be represented
NetSystem.Setuser pop:<user>%40<maildomain>@<smarthost>  ~ .

Bad idea.  Unnecessary complication. Better to recognize that the 
host name begins at the last "@".

Thanks,                                  ... P.

-- 
tel: +1 604 670 0140            Bcc: peter at easthope. ca



More information about the Oberon mailing list