*BSD News Article 35461


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!europa.eng.gtefsd.com!newsxfer.itd.umich.edu!nntp.cs.ubc.ca!cs.ubc.ca!anvil.ugrad.cs.ubc.ca!not-for-mail
From: h5h1@ugrad.cs.ubc.ca (Markus Meister)
Newsgroups: comp.os.386bsd.questions
Subject: Terminal setup problems
Date: 5 Sep 1994 16:35:49 -0700
Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
Lines: 49
Message-ID: <34ga0lINNr9o@anvil.ugrad.cs.ubc.ca>
NNTP-Posting-Host: anvil.ugrad.cs.ubc.ca

After moving my /usr to a bigger hard drive, everything seems to work fine
except that the terminal setup is wrong somehow. When I use ex, for example,
to load a file, and display its contents line per line by pressing Enter,
every line shows up twice, like so:
root% ex /etc/rc
"/etc/rc"  242 lines, 5934 chars
#       $Id: rc,v 1.27 1994/06/06 17:45:37 phk Exp $
#       $Id: rc,v 1.27 1994/06/06 17:45:37 phk Exp $
#       From: @(#)rc    5.27 (Berkeley) 6/5/91
#       From: @(#)rc    5.27 (Berkeley) 6/5/91

# System startup script run by init on autoboot
# System startup script run by init on autoboot
# or after single-user.
# or after single-user.
# Output and error are redirected to console by init,
# Output and error are redirected to console by init,

This problem of course occurs with some other things too, for example
in vi, although the visible effects are different there.
This happens both at the console and in xterms.

stty in an xterm yields:
new tty disc; speed 9600 baud;
lflags: echoe echoke echoctl pendin
oflags: -oxtabs
cflags: cs8 -parenb
erase   
^H      

and at the console,
new tty disc; speed 115200 baud;
lflags: echoe echoke echoctl pendin
oflags: -oxtabs
cflags: cs8 -parenb clocal
erase   
^H      

Any help would be, of course, greatly appreciated.

BTW, a *BIG* thanks to all the people that have helped me with my
SCSI problems!


- Markus
(I seem to have had quite a few problems lately... just in case nobody's
noticed that. Ahem.)