Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jun 1998 09:23:36 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        joelh@gnu.org
Cc:        grog@lemis.com, jkh@time.cdrom.com, sue@welearn.com.au, pechter@shell.monmouth.com, freebsd-hackers@FreeBSD.ORG
Subject:   Re: VT100 (was: PCVT's death)
Message-ID:  <199806240923.CAA23660@usr08.primenet.com>
In-Reply-To: <199806240645.BAA01400@detlev.UUCP> from "Joel Ray Holveck" at Jun 24, 98 01:45:09 am

next in thread | previous in thread | raw e-mail | index | archive | help
> (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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806240923.CAA23660>