[comp.unix.i386] rlogin problem with ISC 386/ix

fritzz@lamont.ldgo.columbia.edu (fritz zaucker) (11/28/89)

I am running into troubles with rlogin. First the configuration I am
trying:
2 machines connected via 3COM 503 ethernet boards (call them A and B).

Several NFS mounted directories from our Sun Network.
Some directories of A mounted on B with NFS.
I am logged in on A.

Now I rlogin into B (as the same user). Two problems:

1) I run more on a large file and it is fine.
   I run more on a file with less lines than the screen size. It is NOT fine.
   It outputs a part of the file and that's it. Each time I try it I get
   different amounts of the file. I can cat the file without problems.
   ??????

2) I try to run a program, say xyz and it says   
   xyz: Command nt found. xyz is in the directory /usr/locbin which is 
   mounted from A:/usr/locbin and sure, my PATH is set to /usr/locbin.
   The command is run if I call it as  /usr/locbin/xyz.

I don't know if these problems are related. By the way the file I try to 
more is not on a mounted directory and more even fails with input from
stdin via a pipe.
I called Interactive and the person I got to the phone was very friendly.
He tried to reproduce the problem on his machines but he couldn't and 
he had no idea how to access this thing. What's wrong here? I am desperate
spending my time on these things. Please help, where could I look for,
what could I try?

Thanks a lot
Fritz Zaucker

P.S.: Problem 1) occurs no matter if I am rloging in from the console or
      from a X11 xterm.

mjs@cbnews.ATT.COM (martin.j.shannon) (12/05/89)

In article <1887@lamont.ldgo.columbia.edu> fritzz@lamont.ldgo.columbia.edu (fritz zaucker) writes:
>I am running into troubles with rlogin.
>
>1) I run more on a large file and it is fine.
>   I run more on a file with less lines than the screen size. It is NOT fine.
>   It outputs a part of the file and that's it. Each time I try it I get
>   different amounts of the file. I can cat the file without problems.
>   ??????

I've seen a similar situation on many machines (none of which I've had
source code available for).  The behavior is as though the ioctl used
by "more" to toggle between cbreak and cooked mode is TCSETAF instead
of TCSETAW.  What you're seeing is that the "F" (flush) has happened
before rlogin's remote read drains "more"'s output queue.

[I have no clues on your problem #2.]

>Thanks a lot
>Fritz Zaucker
>
>P.S.: Problem 1) occurs no matter if I am rloging in from the console or
>      from a X11 xterm.

Given my hypothesis, it should happen either way.

	Marty Shannon
-- 
Marty Shannon; AT&T Bell Labs; Liberty Corner, NJ
(Affiliation given for identification only.)