I’ve been preparing our development system for a major system wide series of
upgrades… and was hoping to finally get rid of Watcom 9.52… but, after
recompiling a custom mgetty utility with Watcom 10.6, I’ve discovered that
setlogin() doesn’t seem to work with 10.6. I’ve verified that it’s in the
unix3r.lib, but it doesn’t do anything except return -1. What’s the deal
here? Is there a replacement or special library I need to link with?
I found the instructions in the Knowledge Base for how to build a phlogin
replacement and tried the struct _proc_session message thingie. It doesn’t
seem to work either. Obviously there has to be a way to do this or all the
standard login, rlogin, telnet, etc. utilities wouldn’t work.
I’ve been preparing our development system for a major system wide series
of
upgrades… and was hoping to finally get rid of Watcom 9.52… but, after
recompiling a custom mgetty utility with Watcom 10.6, I’ve discovered that
setlogin() doesn’t seem to work with 10.6. I’ve verified that it’s in the
unix3r.lib, but it doesn’t do anything except return -1. What’s the deal
here? Is there a replacement or special library I need to link with?
I found the instructions in the Knowledge Base for how to build a phlogin
replacement and tried the struct _proc_session message thingie. It
doesn’t
seem to work either. Obviously there has to be a way to do this or all
the
standard login, rlogin, telnet, etc. utilities wouldn’t work.
I’ve been preparing our development system for a major system wide
series
of
upgrades… and was hoping to finally get rid of Watcom 9.52… but,
after
recompiling a custom mgetty utility with Watcom 10.6, I’ve discovered
that
setlogin() doesn’t seem to work with 10.6. I’ve verified that it’s in
the
unix3r.lib, but it doesn’t do anything except return -1. What’s the
deal
here? Is there a replacement or special library I need to link with?