From owner-freebsd-hackers Wed Jun 24 02:25:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA15842 for freebsd-hackers-outgoing; Wed, 24 Jun 1998 02:25:11 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp01.primenet.com (daemon@smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA15724 for ; Wed, 24 Jun 1998 02:23:57 -0700 (PDT) (envelope-from tlambert@usr08.primenet.com) Received: (from daemon@localhost) by smtp01.primenet.com (8.8.8/8.8.8) id CAA28390; Wed, 24 Jun 1998 02:23:52 -0700 (MST) Received: from usr08.primenet.com(206.165.6.208) via SMTP by smtp01.primenet.com, id smtpd028324; Wed Jun 24 02:23:42 1998 Received: (from tlambert@localhost) by usr08.primenet.com (8.8.5/8.8.5) id CAA23660; Wed, 24 Jun 1998 02:23:36 -0700 (MST) From: Terry Lambert Message-Id: <199806240923.CAA23660@usr08.primenet.com> Subject: Re: VT100 (was: PCVT's death) To: joelh@gnu.org Date: Wed, 24 Jun 1998 09:23:36 +0000 (GMT) Cc: grog@lemis.com, jkh@time.cdrom.com, sue@welearn.com.au, pechter@shell.monmouth.com, freebsd-hackers@FreeBSD.ORG In-Reply-To: <199806240645.BAA01400@detlev.UUCP> from "Joel Ray Holveck" at Jun 24, 98 01:45:09 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > (1) Don't resize or move the window, or access the menus, unless you > don't expect to be receiving data during the operation. The > temptation is great to resize to full screen during the MOTD, but if > data arrives while you're fiddling with this, then the telnet client > will be put in a bad state. (It looks like a ring queue gets out of > sync, but I could be wrong.) Actually, the events are lost. This is similar to the X phenomenon where you use "XNextEvent", it queues up some events, and you are using your own main loop to call select. There is no data waiting input, but there *are* events that are waiting to be processed. The easiest way to get a "full screen" is to make a shortcut icon, and then select "start maximized" on the "Properties..." panel. > (2) Upon first logging in, type 'export TERM=vt100 ; stty rows 25' or > your shell's equivalent. (On some machines, notably HP/UX systems, > the stty will fail. On these machines, use 'export TERM=vt100 > LINES=25' instead.) You can use the X "resize" command, IFF you set your terminal type to "xterm" in FreeBSD, even though the terminal emulation type you have selected is (nominally) a VT100. Oh yeah: DON'T make it more than 43 lines long. If you do, you will get screen buffer corruption. > If you really want to go all-out, maybe you should use X. > Implementations for both 95 and NT availible. The VNC code apparently works well, both to NT and 95, and *from* them (for displaying NT or Win95 sessions on an X server). They are missing specific code on the Windows NT/95 "server" (not in the X sense, in the telnetd sense) to follow window focus, which would be a big win when going that direction, but X response on the NT/95 boxes doing a remote view of ":1" on a FreeBSD box was more than acceptable. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message