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