Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 May 2002 19:45:52 +0300
From:      "Vladislav V. Zhuk" <admin@dru.dn.ua>
To:        Gerhard Sittig <Gerhard.Sittig@gmx.net>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: buffer size
Message-ID:  <20020501164552.GA34873@dru.dn.ua>
In-Reply-To: <20020430215932.U1494@shell.gsinet.sittig.org>
References:  <20020430114023.GA76954@dru.dn.ua> <20020430215932.U1494@shell.gsinet.sittig.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 30, 2002 at 09:59:32PM +0200, Gerhard Sittig wrote:

> > How to increase buffer size for cut and paste functions if the
> > mouse pointer is enabled in the virtual console via vidcontrol(1) ??
> >
> > I need to copy entire screen.
>
> src/sys/dev/syscons/scmouse.c dynamically allocates the cut_buffer
> array and computes the cut_buffer_size from the screen coordinates.
> So the buffer should be able to hold the whole screen's content.  Do
> you change the screen's dimension after using the clipboard?

I did't any changes. I use only 80x25 screen size in text mode
(without X). Therefore, scmouse.c computes the cut_buffer_size
incorrectly. Try to copy all screen and paste then.

> Have a look at PR kern/21156: ("[PATCH] inconsistency in scmouse
> vs xterm behaviour").  The "squeezing empty lines" you experienced
> is mentioned there and sobomax already fixed two of the three items
> last autumn (although I cannot tell if it has been MFCed since I
> run the local patch here).

thanx.

--
Vladislav V. Zhuk (06267)3-60-03  admin@dru.dn.ua  2:465/197@FidoNet.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020501164552.GA34873>