From owner-freebsd-stable Wed May 1 9:46:15 2002 Delivered-To: freebsd-stable@freebsd.org Received: from skif.net (ns.skif.net [195.58.224.34]) by hub.freebsd.org (Postfix) with ESMTP id E3D2037B41D for ; Wed, 1 May 2002 09:46:08 -0700 (PDT) Received: from [195.58.224.122] (HELO dru.dn.ua) by skif.net (CommuniGate Pro SMTP 3.5.6) with ESMTP-TLS id 4908176 for freebsd-stable@FreeBSD.ORG; Wed, 01 May 2002 19:45:59 +0300 Received: (from admin@localhost) by dru.dn.ua (8.12.3/8.12.3) id g41GjqMO035188; Wed, 1 May 2002 19:45:52 +0300 (EEST) (envelope-from admin) Date: Wed, 1 May 2002 19:45:52 +0300 From: "Vladislav V. Zhuk" To: Gerhard Sittig Cc: freebsd-stable@FreeBSD.ORG Subject: Re: buffer size Message-ID: <20020501164552.GA34873@dru.dn.ua> References: <20020430114023.GA76954@dru.dn.ua> <20020430215932.U1494@shell.gsinet.sittig.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20020430215932.U1494@shell.gsinet.sittig.org> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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