Skip to Content.
Sympa Menu

baslinux - Re: [BL] Copying with 2-button mouse in Xvesa without Xconfig

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: sindi keesan <keesan AT sdf.lonestar.org>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] Copying with 2-button mouse in Xvesa without Xconfig
  • Date: Wed, 9 Mar 2005 22:20:30 +0000 (UTC)

On Thu, 10 Mar 2005 3aoo-cvfd AT dea.spamcon.org wrote:

sindi keesan wrote:

Is there some way to tell Xvesa that you have
a 2-button rather than 3-button PS2 mouse?

Use the -2button parameter.

Xvesa -2button? The help file for Xvesa does not even list -mouse,
which is how you would choose -mouse ms if you don't have the default psaux.


On the 486 laptop we are using for BL3, with 1MB video RAM,
that does 16M colors in DOS, Xvesa only finds 4 colors

Is that what it shows when you do: Xvesa -listmodes

Yes, Xvesa does not work well with this video chip which does 16M colors in DOS and 256 in svgalib. So we are running links2 from Delilinux in svgalib (with lots of extra libraries), but would like the mouse to also work in Xvesa with 4 colors so as to copy between rxvts.

I tried modifying Xconfig to 2-bit color but it won't
boot that way.

Try the exact modes listed in: Xvesa -listmodes

listmodes lists up to 640x480x4 (16 color) but despite this it DOES NOT BOOT into X with that mode selected.

Impossible pallette format 1

'Xvesa' alone won't boot (default 4-bit color), but Xvesa -screen 640x480x2 works. If I put that in Xconfig it won't boot. I will try again. Right now it is 640x480 (default being 4-bit color). I typed in 2 and Impossible pallette format 1

I added &rxvt -e icewm. When I do this on a normal computer the mouse does not cut and paste either. I will try -2button.

That seems to work, thanks. Top 'button' is the left button, highlight while holding that down, then release, move to where you want to paste, hit both buttons.

So Xvesa appears to expect a 3-button PS/2 mouse by default.

I think that is the case.

gpm works with a 2-button ms mouse by default.

It won't work at all with our optical Logitech 3-button mouse.

svgalib (links2) required imps2 as the mouse choice for this one.
Xvesa accepted it as the default psaux.

How would I make gpm work with the Logitech optical scroll mouse?
I tried plugging in a second, serial 2-button MS, mouse but it did not work at all with the PS2 mouse also plugged in, even when I linked /dev/mouse to tty0 - that just made the ps2 mouse stop working.

I notice that gpm pastes with the right button, Xvesa with both, svgamouse won't cut/paste at all.


Is there some way other than Xconfig to specify a 2-button
mouse for Xvesa?

Have a look at /usr/X11R6/bin/startx. It simply takes
the values in /etc/Xconfig and uses them as parameters
for Xvesa.

But it will not boot with 640x480x2 - not an acceptable value.
Or with 640x480 (4-bit colo) - Xvesa won't work with 4-bit color here.

I set up an alias X='Xvesa -2button -screen 640x480x2 &rxvt -e icewm'

Also experimenting with gpm mouse in CLI,

BL1 came with gpm and had a wee configuration script
for it.

GPM can be used to cut and paste between VTs of splitvt
I don't see a way to specify 3 or 2 button :

gpm has a -2 parameter and a -3 parameter.
However, they shouldn't be necessary. gpm normally
starts in 2 button mode, but when you press the middle
button (if present) it switches to 3 button mode.

Have not yet tried it with a non-Logitech-optical 3-button mouse.
Since the right button pastes, what does the middle button do anyway?


Maybe links can somehow view local files

links .

and cut and paste between them.

You can cut from a file displayed by links, but
there is no capability to paste into a file displayed
by links. For pasting you open the file in an editor.

I could not even manage to cut with the svgalib mouse, only click on links. I think we are set now except for gpm with the optical mouse.
We can always run programs in rxvt instead of cli.

Is there some way to disable the laptop's onboard ps2 mouse to plug in a serial mouse? Maybe in the BIOS? It takes some getting used to

Cheers,
Steven

____________________________
http://www.basiclinux.com.ru
_______________________________________________
BasLinux mailing list
BasLinux AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/baslinux


keesan AT sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org




Archive powered by MHonArc 2.6.24.

Top of Page