DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD Package System (pkgsrc)

NetBSD Package System (pkgsrc) Installation and upgrading of packages on NetBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 11th December 2016
darktrym's Avatar
darktrym darktrym is offline
standard-bearer
 
Join Date: Feb 2011
Location: Düsseldorf
Posts: 103
Default Mouse in Midnight Commander

Hello,
I want to control mc with a mouse(in the shell) so i have started wsmoused. Instead of showing a white mouse cursor it shows a black block and overwrite all ui elements with no mercy when I move my mouse. Is this a bug in mc or wsmoused?
__________________
NetBSD 8.99.1(AMD64)@Xiaomi Air 1.Gen
Reply With Quote
  #2   (View Single Post)  
Old 11th December 2016
shep shep is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,011
Default

In a 7.0.2/monolithic xorg current install, I'm running mc-4.8.17nb1 in uxterm without this problem. My setup uses an openchrome video driver that does not support kernel mode setting.

I did have a problem with some characters needing a locale specification which was solved by xterm => uxterm

Last edited by shep; 11th December 2016 at 02:10 PM.
Reply With Quote
  #3   (View Single Post)  
Old 11th December 2016
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 746
Default

Quote:
Originally Posted by darktrym View Post
Hello,
I want to control mc with a mouse(in the shell) so i have started wsmoused.
I assume you're working at the [ws]console? Does the mouse work when not running mc, i.e., just on a console with the shell prompt? What kind of console are you using, text mode?, VESA framebuffer?, drmkms?

I've only ever gotten wsmoused to work with text consoles, but haven't tried in quite some time.

Last edited by IdOp; 12th December 2016 at 05:25 PM. Reason: add "VESA"
Reply With Quote
  #4   (View Single Post)  
Old 11th December 2016
darktrym's Avatar
darktrym darktrym is offline
standard-bearer
 
Join Date: Feb 2011
Location: Düsseldorf
Posts: 103
Default

Yes, I work in the console, X isn't running. In Wscons.conf I have no special option enabled. I use an Intel graphic card with acceleration(framebuffer), default is intelfb.
I remembered before drm2 it wasn't broken also in the shell it was enabled.

Now I have no mouse cursor in the shell, motions clear in mc the background color(to black) and set the foreground color to white depending which text color is used. Of course in X mouse doesn't work(cannot open input device).
__________________
NetBSD 8.99.1(AMD64)@Xiaomi Air 1.Gen

Last edited by darktrym; 11th December 2016 at 08:11 PM.
Reply With Quote
  #5   (View Single Post)  
Old 12th December 2016
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 746
Default

I wonder if this caveat from wsmoused(8) might explain the problem?:
Quote:
Originally Posted by man
CAVEATS
wsmoused does work properly only with display drivers, which implement
WSDISPLAYIO_GETWSCHAR and WSDISPLAYIO_PUTWSCHAR ioctls. Currently only
vga(4) and drivers utilizing vcons(9) support it.
Reply With Quote
Reply

Tags
wsmoused mc netbsd

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
File browser / Norton commander clone "noice" J65nko OpenBSD Packages and Ports 5 2nd March 2016 09:53 PM
midnight commander ftp phill OpenBSD Packages and Ports 0 26th January 2011 08:38 AM
Midnight Commander slow on startup MacApp FreeBSD Ports and Packages 1 10th July 2008 01:07 AM
Midnight Commander in FreeBSD 7 mfaridi FreeBSD General 3 3rd July 2008 12:04 PM
Something like Midnight Commander mfaridi FreeBSD Ports and Packages 3 1st July 2008 06:26 AM


All times are GMT. The time now is 05:46 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick