Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!Firewall!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: news.software.b Subject: Re: rn in Sun cmdtool Keywords: Sun trn cmdtool Message-ID: <8386@auspex.auspex.com> Date: 17 Jun 91 02:11:05 GMT References: <379@fnnews.fnal.gov> Organization: Auspex Systems, Santa Clara Lines: 20 >I have recently brought up a news server and some reader software and >I see one quirk I don't understand. Trn does not seem to want to >do screen handling properly in a Sun cmdtool. Programs that do not send out the "ti" capability (or its "terminfo" equivalent, whose name I don't remember offhand) when they start doing "full-screen" stuff (stuff involving cursor positioning) generally do not end up doing screen handling properly in a "cmdtool". "cmdtool" doesn't do cursor positioning, so you have to send it the appropriate escape sequence (which is what's in the standard "ti" capability for "sun-cmd" - you *do* have TERM set to "sun-cmd", right?) which causes "cmdtool" to un-"cmdtool" itself and start acting like "shelltool" (by running the same tty subwindow code as "shelltool" does). If anybody feels ambitious enough to look at this, note that you should also send out the "te" capability (or its "terminfo" equivalent) when you leave "trn" or suspend "trn" or otherwise stop doing full-screen stuff.