ftp.nice.ch/peanuts/GeneralData/Usenet/news/1991/CSN-91.tar.gz#/comp-sys-next/1991/Jul/Problem-with-remote-logins

This is Problem-with-remote-logins in view mode; [Up]


Date: Sun 07-Jul-1991 01:00:46 From: mcn@acl.lanl.gov (Michael Neuman) Subject: Problem with remote logins I've noticed the following problems with the NeXT, and I'm just curious as to if they've been fixed, or if I'M doing something wrong: 1) The finger daemon doesn't seem to work right. If you finger someone@somenextmachine, it'll say "no one logged in". But, if that person is logged in, then it'll show their plan, and personal info. 2) External logins don't seem to have CR/LF down correct. Sometimes they'll work, and sometimes not. (I've tried this both from an Xterminal ON THE INTERNET, and through a dialup line from a PC onto a NeXT running 2.0). Sometimes, the NeXT will just send LFs (which make output look terrible): " eenext2.mneuman (/mneuman) > ls Apps/ Library/ Mailboxes/ file1 file2 file3 eenext2.mneuman (/mneuman) > ls Apps/ Library/ Mailboxes/ file1 file2 file3 eenext2.mneuman (/mneuman) > eenext2.mneuman (/mneuman) > eenext2.mneuman (/mneuman) > " Why? Exact same command, and sometimes it sends a CR/LF and sometimes just an LF in RANDOM locations!!! Somtimes it works perfectly, but the MAJORITY of the time it sends ONLY LFs. One could think it's an STTY thing, but I've set it to the exact same thing I have on a Sun SLC (and an SGI & a VAX & a IBM RS/6000), and it still doesn't work. If I list something like /usr/bin, the output is un- readable. 3) CSH isn't the same as 4.2 BSD (in 2.0). My .cshrc looks something like this: " alias setprompt 'set prompt="eenext2.mneuman (${cwd}) > "' alias cd "cd !\*;setprompt" " Well, wonderful /bin/csh on the NeXT translates ${cwd} instantly upon getting the alias command, which means that the whole thing doesn't work. (The idea is the prompt constantly tells you the directory your in). This .cshrc works on an SGI, a Sun, an IBM, an Ardent Titan, and a DECstation. Hmmm... Just how BSD 4.2 compatible IS Mach 2.0? -Mike Neuman mcn@acl.lanl.gov Advanced Computing Laboratory Los Alamos National Labs #include <idontspeakforlabs.h>
Date: Sun 07-Jul-1991 13:42:42 From: matthews@lewhoosh.umd.edu (Mike Matthews) Subject: Re: Problem with remote logins In article <27136@beta.gov> mcn@acl.lanl.gov (Michael Neuman) writes: >1) The finger daemon doesn't seem to work right. If you finger > someone@somenextmachine, it'll say "no one logged in". But, if that person > is logged in, then it'll show their plan, and personal info. This is a known bug and has been discussed before. Just snag the latest sources off of uunet and recompile. Works fine. >2) External logins don't seem to have CR/LF down correct. Sometimes they'll > work, and sometimes not. (I've tried this both from an Xterminal ON THE > INTERNET, and through a dialup line from a PC onto a NeXT running 2.0). > Sometimes, the NeXT will just send LFs (which make output look terrible): This is also a known "bug." stty -extproc sometimes cures the problem. I'm sure someone else will let you know more about (like, oh, EPS). >3) CSH isn't the same as 4.2 BSD (in 2.0). My .cshrc looks something like Probably because NeXT Mach is BSD 4.3. This is what my .cshrc looks like, at least the relevant portions: if( ${?prompt} ) then if ($term == 'xterm' || $term == 'xterms') then # sets the title bar of an X-term window to the prompt alias cd 'cd \!* ; echo -n "<esc>]0; $host `pwd` "' alias pushd 'pushd \!*; echo -n "0; $host `pwd` "' alias popd 'popd; echo -n "<esc>]0; $host `pwd` "' set prompt = "> " else # oh well, we'll have to use the actual prompt for this alias cd 'cd \!*; set prompt="$host `pwd` > "' alias pushd 'pushd \!*; set prompt = "$host `pwd` > "' alias popd 'popd; set prompt = "$host `pwd` > "' endif cd . endif >-Mike Neuman Mike

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.