Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!bionet!agate!usenet.ins.cwru.edu!ncoast!jeffl From: jeffl@NCoast.ORG (Jeff Leyser) Newsgroups: comp.unix.programmer Subject: Problems porting login Summary: login port not working Keywords: login SysVr3 help Message-ID: <1991May15.140424.2974@NCoast.ORG> Date: 15 May 91 14:04:24 GMT Organization: North Coast Public Access Un*x (ncoast) Lines: 16 While trying to port a version of login I got from the archives from osu-cis onto our Motorola Delta 8000 68030-based SysVr3 machine, I've run into a major brick wall. The login program works like a champ, except when called by rlogin! When rlogin calls login, the program comes to a screeching halt when it attempts a gets() to get the password. From what I can see, the gets() never returns. I've tried everything I can think of -- don't call ioctl() to disable echo before the gets(), use fgets() through both stdin and /dev/tty instead of gets, and all have had the same result - nothing! A little investigation reveals my one and only clue -- rlogin calls 'login -r hostname', but I can't find any documentation on what the -r is supposed to do. Any and all help greatly appreciated! -- Jeff Leyser jeffl@NCoast.ORG