home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / aux / 4103 < prev    next >
Encoding:
Internet Message Format  |  1992-11-24  |  2.0 KB

  1. Path: sparky!uunet!vtserf!csugrad!briggs
  2. From: briggs@csugrad.cs.vt.edu (Allen `NoExpose' Briggs)
  3. Newsgroups: comp.unix.aux
  4. Subject: Re: tty login problems
  5. Keywords: tty, stty, setenv
  6. Message-ID: <By6B9p.8CK@csugrad.cs.vt.edu>
  7. Date: 23 Nov 92 14:37:00 GMT
  8. References: <1992Nov22.004323.4320@organpipe.uug.arizona.edu>
  9. Organization: Virginia Tech Computer Science Dept, Blacksburg, VA
  10. Lines: 29
  11.  
  12. In article <1992Nov22.004323.4320@organpipe.uug.arizona.edu> pierre@bohica.tucson.az.us (Pierre Padovani) writes:
  13. >My A/UX system has, currently, 1 mac hooked up to it's printer port as
  14. >a tty, and we are running into some problems. When loging into the A/UX
  15. >system from the remote mac via Microphone II we are unable to use stty
  16. >to modify the number of rows and we are completely unable to use setenv
  17. >from this tty. Is this a limitation of the A/UX tty ports? Or is
  18. >something not set correctly?
  19.  
  20. My guess is that your erase setting is wrong.  setenv should always work
  21. if you're using the csh--it certainly doesn't have anything to do with
  22. your tty.  A/UX looks at the environment variables LINES and COLUMNS
  23. instead of the stty settings rows and columns.  So instead of saying
  24. "stty rows 39" say "setenv LINES 39" (for csh) or "LINES=39;export LINES"
  25. (for sh or ksh or bash).  Before you do this, make sure that your erase
  26. key is set correctly (stty -a will display it, stty erase '^h' will set
  27. it to ascii 8, stty erase '^?' will set it to ascii 127).
  28.  
  29. As for getting the mac partition to mount, I've never had any problems.
  30. In fact, all three of my mac partitions mount when I login--on the
  31. console.  Of course, they won't mount on your remote mac.  Have you done
  32. a "systemfolder" to get your very own, super-special, space-eating copy
  33. of the system folder?  This might help.
  34.  
  35. -allen
  36. -- 
  37. Allen Briggs          \ Raindrops falling
  38. briggs@csugrad.cs.vt.edu | Everything breathes
  39. Computer Science            \ Hear the voices of the land
  40. Virginia Tech                  \ -- M. Brennan & I. Parker.
  41.