Article View: news.software.readers
Article #11909Re: termcap and pager for trn displayed on Psion 3a
From: Valerie - Lambert
Date: Fri, 14 Oct 1994 01:41
Date: Fri, 14 Oct 1994 01:41
33 lines
1945 bytes
1945 bytes
In article <3723hu$3pc@news1.shell>, davison@borland.com (Wayne Davison) writes: >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 Thanks, Wayne! That solves half of my problem. Your stty command works great on a Sun. trn and more are quite obedient to the setting. However, the SGI Irix version of stty does not recognize arguments of rows or columns, and the man page sheds not light. I guess it is a BSD vs. System V thing. I played with the LINES and COLUMNS env vars; some programs pay attention, but not trn or more. Well, at least I am closer. >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 ';'. I will give it a try. Thanks again, -- Valerie Lambert ~ valerie@biocad.com ~ Molecular Simulations, Inc. Any sufficiently complicated technology is indistinguishable from bad karma.
Technical Details
Message-ID:
<37knl4$4q7@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!math.ohio-state.edu!sdd.hp.com!svc.portal.com!shell.portal.com!valerieReferences:
<3723hu$3pc@news1.shell>Show Full Headers
Complete Article Headers
Message-ID: <37knl4$4q7@news1.shell> Subject: Re: termcap and pager for trn displayed on Psion 3a Date: Fri, 14 Oct 1994 01:41:56 +0000 From: valerie@shell.portal.com (Valerie - Lambert) 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!math.ohio-state.edu!sdd.hp.com!svc.portal.com!shell.portal.com!valerie Newsgroups: comp.sys.psion,news.software.readers Organization: The House of No Shame Lines: 32 NNTP-Posting-Host: jobe.shell.portal.com Bcc: valerie