From owner-freebsd-questions Wed May 22 15:40:04 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA04669 for questions-outgoing; Wed, 22 May 1996 15:40:04 -0700 (PDT) Received: from felix.iupui.edu (root@felix.iupui.edu [134.68.45.77]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA04612 for ; Wed, 22 May 1996 15:39:59 -0700 (PDT) Received: from indy.net.indy.net (jrclark@indy1.indy.net [199.3.65.5]) by felix.iupui.edu (8.6.12/8.6.9) with SMTP id RAA03651 for ; Wed, 22 May 1996 17:39:52 -0500 Message-Id: <2.2.32.19960522214416.0068fda4@felix.iupui.edu> X-Sender: jrclark@felix.iupui.edu X-Mailer: Windows Eudora Pro Version 2.2 (32) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Wed, 22 May 1996 17:44:16 -0400 To: questions@freebsd.org From: John Clark Subject: Bad position of prompt after login Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello all, I was wondering if someone could help me understand the way the tcsh shell prompt is positioned. I have a motd file that is about 15 lines long, and after it is printed, the cursor is placed on line 25. Since I have a 32 line display, this clobbers the motd. Not so bad on a 25 line display, it just goes to the bottom, however, all other unix tcsh shells just move one line forward of the current position to place the prompt. I have looked through the .cshrc and .login files for the culprit, but it would seem to be a function of the BSD tcsh itself. After pouring over the login.c source code, I see it is not there either. Is anyone familiar with this? If I su from line 32, it sticks the prompt always at line 25, and I have to look to see the prompt. I do not want to put a clear statement into the startup script, as that is a poor solution. I am emulating a vt220, and other unicies have no trouble detecting proper screen size. What to do... Thanks, --John [jrclark@indy.net]