Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 1996 22:42:11 GMT
From:      James Raynard <fqueries@jraynard.demon.co.uk>
To:        zach@blizzard.gaffaneys.com
Cc:        zounds@innosoft.com, root@synwork.com, questions@freebsd.org
Subject:   Re: Mouse Outside of X
Message-ID:  <199607122242.WAA02559@jraynard.demon.co.uk>
In-Reply-To: <87ivbuur3a.fsf@freebsd.gaffaneys.com> (message from Zach Heilig on 11 Jul 1996 21:45:45 -0500)

next in thread | previous in thread | raw e-mail | index | archive | help
> > > Is there a way to use my mouse outside of X.  It would be nice to be able
> > > to cut/copy/paste in my shell.  I know when I ran Linux, mouse was
> > > available from the shell.  TIA
> 
> I noticed in a different reply that this is supposed to go into 2.2.
> Will the mouse give xterm-like events, so my emacs menu's will work
> :-) or would that be impossible? (I am currently unable to run X, it
> has something to do with disk space, and non-VGA display hardware)..

Here's the original announcement from the freebsd-current mailing
list.  There was quite a lot of discussion about this - if you want
any more details, the archive for that list is probably the best place
to look.

Subject: Syscons CUT&PASTE functionality added...
To: current@freebsd.org (FreeBSD current)
Date: Fri, 21 Jun 1996 12:54:12 +0200 (MET DST)
From: sos@freebsd.org
Reply-to: sos@freebsd.org
X-Mailer: ELM [version 2.4 PL24]
Content-Type: text
Sender: owner-current@freebsd.org
X-Loop: FreeBSD.org
Precedence: bulk

I just put in the last bits to get CUT&PASTE to work in syscons.
This now allow one to C&P between the consoles using the mouse
to select the needed text.
For this to work, run the moused daemon with the prober parameters
specifying mousetype & port. Then on the console where this feature
is needed just say vidcontrol -m on, and a mousepointer will show
up on the screen. Left button cuts & right button paste. 
I'd like to hear how this works out with different mousetypes and
especially with different display hardware. Please note this works
only on ega's and above, as the mousepointer is done by reprogramming
the charset, giving the illusion that a "real" graphic mousepointer
is used.
There still need to be implemented a prober eventhandling mechanism
but thats still on the drawingboard. When that is done, applications
can start using this feature as well (libdialog comes to mind)...

Have fun...

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Soren Schmidt             (sos@FreeBSD.org)             FreeBSD Core Team
               So much code to hack -- so little time.

-- 
James Raynard, Edinburgh, Scotland
james@jraynard.demon.co.uk
http://www.freebsd.org/~jraynard/



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