From owner-freebsd-bugs Thu Oct 3 06:33:52 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA26452 for bugs-outgoing; Thu, 3 Oct 1996 06:33:52 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id GAA26430 for ; Thu, 3 Oct 1996 06:33:37 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id PAA18963; Thu, 3 Oct 1996 15:33:25 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id PAA02937; Thu, 3 Oct 1996 15:33:24 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id PAA26567; Thu, 3 Oct 1996 15:17:29 +0200 (MET DST) From: J Wunsch Message-Id: <199610031317.PAA26567@uriah.heep.sax.de> Subject: Re: suggested patch to tab initialization in tset/set.c To: m-braithwaite@sjca.edu Date: Thu, 3 Oct 1996 15:17:29 +0200 (MET DST) Cc: freebsd-bugs@freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199610022039.QAA00734@continuity.sjca.edu> from Matt Braithwaite at "Oct 2, 96 04:39:01 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Matt Braithwaite wrote: > lines. immediately after all of that is printed, however, the > cursor is moved *back up* to the 24th line of the display, and > printing continues from there. however, after login, stty > returns the right window size, and no programs assume an 80x24 > window. so the only real problem is corruption of the motd > before the user gets a chance to read it. the jumping of the > cursor to the 24th line occurs with every invocation of tset > that i tried. I never realized what this tset mess might be good for at all. It's annoying at best, and does wrong things like in your case at worst. It's usually the first thing i'm killing in my .login/.profile. The TERM variable is already initialized well from within /etc/ttys, or passed down from the telnet remote peer. I would vote for killing this beast from the default .login/.profile templates. On the same matter, the default TERM type for serial lines should IMHO be `vt100', since this is a way better one than the useless `unknown'. There are a few terminals around that don't do vt100 emulation, but sysadmins who are bothered by this will adjust the settings anyway. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)