Article View: news.software.readers
Article #11789Re: termcap and pager for trn displayed on Psion 3a
From: Wayne Davison
Date: Sat, 08 Oct 1994 04:19
Date: Sat, 08 Oct 1994 04:19
34 lines
1976 bytes
1976 bytes
According to Valerie - Lambert <valerie@shell.portal.com>:
> 1 How can I get trn to know there are only 13 lines?
Your tty settings can override the termcap. Try running:
stty rows 13 columns 50
If that doesn't work, check what the value of the LINES environment
variable is.
> 2 Is it possible to specify to trn a custom pager or "more" program that
> I can then format and twiddle to my satisfaction?
Nope. This is the classic tradeoff between easy access to commands while
reading an article (using an internal pager) or better paging and harder
access to commands (using an external pager). The extra delay in starting
up a pager process each time you read an article is pretty annoying too.
Perhaps someone should design a pager server that would accept multiple
paging jobs via some interprocess communication, taking over the console
until the user hits 'q' or whatever, and then relinquishing control back
to trn until it is needed again.
Anyway, if you want to page an article that you're viewing, type "|less"
(or whatever pager you like). Defining this as a macro would make it
easier to type (in .trnmac):
; %(%m=p?|less^J:;)
This would page the current article if the user types ';'.
--
Wayne Davison
davison@borland.com
Technical Details
Message-ID:
<CxC6oB.55E@borland.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.psion.mbox.zip!bga.com!news.sprintlink.net!howland.reston.ans.net!usc!nic-nac.CSU.net!charnel.ecst.csuchico.edu!csusac!csus.edu!borland.com!davisonReferences:
<3723hu$3pc@news1.shell>Show Full Headers
Complete Article Headers
Message-ID: <CxC6oB.55E@borland.com> Subject: Re: termcap and pager for trn displayed on Psion 3a Date: Sat, 8 Oct 1994 04:19:22 GMT From: davison@borland.com (Wayne Davison) References: <3723hu$3pc@news1.shell> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.psion.mbox.zip!bga.com!news.sprintlink.net!howland.reston.ans.net!usc!nic-nac.CSU.net!charnel.ecst.csuchico.edu!csusac!csus.edu!borland.com!davison Newsgroups: comp.sys.psion,news.software.readers Organization: Borland International Lines: 33