> Date: Tue, 25 Dec 2018 09:42:45 +0100
> From: <leo_...@volny.cz>
> 
> This patch enables the specification of WSDISPLAY_MAXSCREEN as an option
> in a config(8) file. Without, a multiple-definition error is thrown.
> 
> This patch is expected to affect only the kernel, and then only at
> config(8) time.

Sorry, but I really don't see the point.  If you really need that many
sessions from a single physical console, run X.

> Index: src/sys/dev/wscons/wsdisplayvar.h
> ===================================================================
> RCS file: /cvs/src/sys/dev/wscons/wsdisplayvar.h,v
> retrieving revision 1.31
> diff -u -p -r1.31 wsdisplayvar.h
> --- src/sys/dev/wscons/wsdisplayvar.h 19 Jul 2017 14:34:10 -0000      1.31
> +++ src/sys/dev/wscons/wsdisplayvar.h 24 Dec 2018 06:13:54 -0000
> @@ -56,7 +56,9 @@ struct device;
>   * WSDISPLAY interfaces
>   */
>  
> +#ifndef WSDISPLAY_MAXSCREEN
>  #define WSDISPLAY_MAXSCREEN  12
> +#endif
>  
>  /*
>   * Emulation functions, for displays that can support glass-tty terminal
> 
> 

Reply via email to