kak@hico2.UUCP (Kris A. Kugel) (08/01/90)
Well, I found a small font to load into those undersized 3b1 windows. When I use the vi editor, however, only a limited section of the window window is used. How can I change the size that the window thinks it is? Kris A. Kugel (201) 842-2707 {uunet,att,rutgers}!westmark!hico2!kak <--well-connected {tsdiag,ka2qhd}!hico2!kak <--frequent {ssbn,zorch,zinn,ditka,daver,attdso}!hico2!kak <--semi-daily
tkacik@rphroy.uucp (Tom Tkacik) (08/03/90)
In article <232@hico2.UUCP>, kak@hico2.UUCP (Kris A. Kugel) writes: |> Well, I found a small font to load into those undersized 3b1 windows. |> When I use the vi editor, however, only a limited section of the window |> window is used. How can I change the size that the window thinks it is? You have to change the TERMCAP environment variable in your shell. This defines the number of lines and columns in the window, among other things. Some programs, (I do not think vi is one), also require that the environment variables LINES, and COLUMNS must be made to match the size of the screen. I have written a short program, (which I call sz), which will set these for you. Maybe it's time to clean it up, and post it. Is there interest? A program cannot change the environment of its parent, so you actually type $ eval `sz` -- Tom Tkacik ...uunet!edsews!rphroy!tkacik GM Research Labs tkacik@kyzyl.mi.org "I'm president of the United States, and I'm not going to eat anymore broccoli." --- George Bush