New vidcontrol moused error messages

Sascha Wildner saw at online.de
Mon Apr 26 14:12:05 PDT 2004


Matthew Dillon wrote:

> I think we should make one minor change to the code, and that is to
> deal with the case where the system boots up on a serial console.
> The vidcontrol line should probably be:
>
> vidcontrol ${_mousechar_arg} -m on < /dev/ttyv0
>
> If you test that out and make sure it still works as advertised, I'll
> commit it.
Well,

I tested it and the mouse pointer is visible on all my vtys and there 
are no error messages anymore.

I didn't test serial behavior (I don't have a serial console).

Also, I didn't quite understand the meaning of the 'vidcontrol -M' 
option (or mousechar_start in rc.conf). Regardless of what I set it to, 
there is no noticeable effect...

Regards,
Sascha
--
http://yoyodyne.ath.cx


*** /usr/src/etc/rc.d/moused	Tue Jan 27 01:42:45 2004
--- /usr/s/src/etc/rc.d/moused	Mon Apr 26 22:58:06 2004
***************
*** 31,39 ****
  		;;
  	esac
! 	for ttyv in /dev/ttyv* ; do
! 		vidcontrol < ${ttyv} ${_mousechar_arg} -m on
! 	done
  	echo '.'
  }
--- 31,38 ----
  		;;
  	esac
! 	vidcontrol ${_mousechar_arg} -m on < /dev/ttyv0
!
  	echo '.'
  }




More information about the Bugs mailing list