lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LYNX-DEV Re: lynx 132 mode


From: Benjamin C. W. Sittler
Subject: Re: LYNX-DEV Re: lynx 132 mode
Date: Thu, 31 Oct 1996 17:11:35 -0700 (MST)

On Thu, 31 Oct 1996, Foteos Macrides wrote:

> Darin Reid <address@hidden> wrote to me instead of lynx-dev:
> >Hi, is there anyway to force Lynx (2.6) to operate in 132 col mode?
> > 
> >I used to log on to my vms account, do a set width 132, then rlogin
> >to my AIX account and use lynx in 132 column mode (everything is formatted
> >for 132 columns, centering, wrapping, etc).  I lost my VAX account,
> >unfortunatley, so that method is out.
> > 
> >I'm on a vt220, but if I set it to 132 colums, before starting lynx, the
> >screen is 132, but lynx only uses the first 80 columns.
> > 
> >As far as I know there is, nor has there ever been a Unix command to set the 
> >operating width of your vt terminal...
> 
>       Please use the address@hidden list for questions and discussion
> about Lynx.  I am CCing this reply to the list.
> 
>       Lynx sizes the display based in the information it received about
> your screen width and height.  On VMS, your account undoubtedly was doing
> a SET TERM/INQUIRE to get it's information about your terminal from the
> terminal itself, which is most likely to be accurate (except for people
> using a crumby VTxxx emulator 8-).
> 
>       The way it's done on Unix is highly variable, and someone on
> the list may have some good guesses about how you might help AIX to get
> it right.
> 
>       You need not be subscribed to post messages to the list, and
> you can read replies via the archive, accessible via the online 'h'elp.

Here are a few commands to try:
$ SH/BASH               :% CSH/TCSH (if different)
=================================================
eval `resize`
you may also need to do this:
$ export COLUMNS        :#this step not needed for CSH/TCSH
$ COLUMNS=132           :% setenv COLUMNS=132
that should be enough for Lynx, but some things also want your
TERMCAP environment variable to contain the li and co fields:
(an example only relevant if you can't use resize and you have a vt100)
d0|vt100|vt100-am|vt100am:do=^J:co#132:li#24:cl=50\E[;H\E[2J:sf=5\ED:le=^H:bs:am:
cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4
m:ue=2\E[m:md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:is=\E[1;24r\E[24;1H:rf=/usr/sh
are/lib/tabset/vt100:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:ks=\E[?1h\E=:ke=\E[?1l
\E>:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EO
S:pt:sr=5\EM:vt#3:xn:sc=\E7:rc=\E8:cs=\E[%i%d;%dr:

and possibly this:
 reset
to make your shell itself understand the width (i.e. for command editing):
 stty cols 132

Of course, I don't have an AIX machine to try this on, but it works for
our unix machines.


;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]