Article View: comp.editors
Article #8Re: How can I resize Elvis in a xterm window?
From: Baard Grimsmo
Date: Wed, 28 Oct 1992 07:30
Date: Wed, 28 Oct 1992 07:30
32 lines
1811 bytes
1811 bytes
In article <1992Oct23.145352.6439@Celestial.COM> bill@Celestial.COM (Bill Campbell) writes: >In <1992Oct21.131950.16914@ugle.unit.no> bgitv@termo.unit.no (Baard Grimsmo) writes: > >:Is it possible to make Elvis(-1.6) resizing itself into the new window >:when the xterm is resized by pulling its corner with the mouse? > >:After resizing the window my Elvis does not know the available number >:of lines, and I have to quit Elvis and restart after I have increased/ >:decreased the number of lines. > >Generally you need to have something which does: > eval `/usr/bin/X11/resize` > >This should set your TERMCAP, LINES, and COLUMNS environment >variables appropriately for the current size of the xterm >window. This must be done BEFORE starting elvis since it >probably isn't aware of the X environment. > >:My vi-editor automatically changes and "fills" the new window size. > >Bill >-- This is actually only an answere to half of my question. Using "resize" only helps if it is used before Elvis is started. My problem is to make Elvis resize inside a xterm window if the window is stretched or shrinked using the mouse after Elvis is started. Is it possible or not? My standard vi editor on my SGI-Indigo does! Thanks for the help anyway. Bard.Grimsmo@termo.unit.no
Technical Details
Message-ID:
<1992Oct28.073011.17480@ugle.unit.no>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!aun.uninett.no!ugle.unit.no!termo.unit.no!bgitvReferences:
<1992Oct21.131950.16914@ugle.unit.no> <1992Oct23.145352.6439@Celestial.COM>Show Full Headers
Complete Article Headers
Newsgroups: comp.editors Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!aun.uninett.no!ugle.unit.no!termo.unit.no!bgitv From: bgitv@termo.unit.no (Baard Grimsmo) Subject: Re: How can I resize Elvis in a xterm window? Message-ID: <1992Oct28.073011.17480@ugle.unit.no> Sender: news@ugle.unit.no (NetNews Administrator) Organization: SINTEF, The Norwegian Institute of Tecnology References: <1992Oct21.131950.16914@ugle.unit.no> <1992Oct23.145352.6439@Celestial.COM> Date: Wed, 28 Oct 92 07:30:11 GMT Lines: 32