2017-07-26 15:14:54 -06:00
|
|
|
! $OpenBSD: Xresources.in,v 1.1 2017/07/26 21:14:54 matthieu Exp $
|
2016-10-23 02:30:37 -06:00
|
|
|
!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
|
|
|
|
|
2017-07-26 15:14:54 -06:00
|
|
|
|
|
|
|
|
|
|
|
xlogin*login.translations: #override \
|
|
|
|
Ctrl<Key>R: abort-display()\n\
|
|
|
|
<Key>F1: set-session-argument(failsafe) finish-field()\n\
|
|
|
|
<Key>Left: move-backward-character()\n\
|
|
|
|
<Key>Right: move-forward-character()\n\
|
|
|
|
<Key>Home: move-to-begining()\n\
|
|
|
|
<Key>End: move-to-end()\n\
|
|
|
|
Ctrl<Key>KP_Enter: set-session-argument(failsafe) finish-field()\n\
|
|
|
|
<Key>KP_Enter: set-session-argument() finish-field()\n\
|
|
|
|
Ctrl<Key>Return: set-session-argument(failsafe) finish-field()\n\
|
2016-10-23 02:30:37 -06:00
|
|
|
<Key>Return: set-session-argument() finish-field()
|
|
|
|
|
|
|
|
xlogin*greeting: CLIENTHOST
|
|
|
|
xlogin*namePrompt: \040\040\040\040\040\040\040Login:
|
|
|
|
xlogin*fail: Login incorrect or forbidden
|
|
|
|
|
2017-07-26 15:14:54 -06:00
|
|
|
#if WIDTH > 800
|
2016-10-23 02:30:37 -06:00
|
|
|
xlogin*greetFont: -adobe-helvetica-bold-o-normal--24-240-75-75-p-138-iso8859-1
|
|
|
|
xlogin*font: -adobe-helvetica-medium-r-normal--18-180-75-75-p-98-iso8859-1
|
|
|
|
xlogin*promptFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1
|
|
|
|
xlogin*failFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1
|
|
|
|
xlogin*greetFace: DejaVu Sans Condensed-22:bold:italic:dpi=75
|
|
|
|
xlogin*face: DejaVu Sans Condensed-16:dpi=75
|
|
|
|
xlogin*promptFace: DejaVu Sans Condensed-16:bold:dpi=75
|
|
|
|
xlogin*failFace: DejaVu Sans Condensed-16:bold:dpi=75
|
2017-07-26 15:14:54 -06:00
|
|
|
#else
|
2016-10-23 02:30:37 -06:00
|
|
|
xlogin*greetFont: -adobe-helvetica-bold-o-normal--17-120-100-100-p-92-iso8859-1
|
|
|
|
xlogin*font: -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1
|
|
|
|
xlogin*promptFont: -adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1
|
|
|
|
xlogin*failFont: -adobe-helvetica-bold-o-normal--14-140-75-75-p-82-iso8859-1
|
|
|
|
xlogin*greetFace: DejaVu Sans Condensed-18:bold:italic:dpi=75
|
|
|
|
xlogin*face: DejaVu Sans Condensed-12:dpi=75
|
|
|
|
xlogin*promptFace: DejaVu Sans Condensed-12:bold:dpi=75
|
|
|
|
xlogin*failFace: DejaVu Sans Condensed-12:bold:dpi=75
|
2017-07-26 15:14:54 -06:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !(defined(bpp1) || defined(bpp4) || defined(bpp8) || defined(bpp15))
|
|
|
|
# if PLANES < 4
|
|
|
|
# ifndef bpp1
|
|
|
|
# define bpp1
|
|
|
|
# endif
|
|
|
|
# else
|
|
|
|
# if PLANES > 4
|
|
|
|
# if PLANES > 8
|
|
|
|
# ifndef bpp15
|
|
|
|
# define bpp15
|
|
|
|
# endif
|
|
|
|
# else
|
|
|
|
# ifndef bpp8
|
|
|
|
# define bpp8
|
|
|
|
# endif bpp8
|
|
|
|
# endif
|
|
|
|
# else
|
|
|
|
# ifndef bpp4
|
|
|
|
# define bpp4
|
|
|
|
# endif
|
|
|
|
# endif
|
|
|
|
# endif
|
|
|
|
#endif /* If manual override */
|
|
|
|
|
|
|
|
#ifndef bpp1
|
2016-10-23 02:30:37 -06:00
|
|
|
xlogin*borderWidth: 1
|
|
|
|
xlogin*frameWidth: 2
|
|
|
|
xlogin*innerFramesWidth: 0
|
|
|
|
|
|
|
|
xlogin.Login.sepWidth: 0
|
|
|
|
|
|
|
|
! top/left border
|
|
|
|
xlogin*hiColor: #667788
|
|
|
|
|
|
|
|
! bottom/right border
|
|
|
|
xlogin*shdColor: #667788
|
|
|
|
|
|
|
|
! 'Welcome to..' text color
|
|
|
|
xlogin*greetColor: #fef886
|
2017-07-26 15:14:54 -06:00
|
|
|
#if defined(bpp4) || defined(bpp8) || defined(bpp15)
|
2016-10-23 02:30:37 -06:00
|
|
|
! flood fill
|
|
|
|
xlogin*background: #798a99
|
|
|
|
xlogin*inpColor: #99aab9
|
2017-07-26 15:14:54 -06:00
|
|
|
#endif
|
2016-10-23 02:30:37 -06:00
|
|
|
xlogin*failColor: #aa0000
|
|
|
|
|
|
|
|
! 'Login:' and 'Password:'
|
|
|
|
*Foreground: #eeeeff
|
|
|
|
|
|
|
|
! border/shadow
|
|
|
|
*Background: #000000
|
2017-07-26 15:14:54 -06:00
|
|
|
#else
|
2016-10-23 02:30:37 -06:00
|
|
|
xlogin*borderWidth: 3
|
|
|
|
xlogin*frameWidth: 5
|
|
|
|
xlogin*innerFramesWidth: 1
|
|
|
|
xlogin*shdColor: white
|
|
|
|
xlogin*hiColor: white
|
|
|
|
xlogin*greetColor: white
|
|
|
|
xlogin*background: black
|
|
|
|
xlogin*failColor: white
|
|
|
|
xlogin*promptColor: white
|
|
|
|
*Foreground: white
|
|
|
|
*Background: black
|
2017-07-26 15:14:54 -06:00
|
|
|
#endif
|
|
|
|
#ifdef bpp1
|
|
|
|
xlogin*logoFileName: @XENODM_PIXMAPDIR@/OpenBSD_1bpp.xpm
|
|
|
|
#endif
|
|
|
|
#ifdef bpp4
|
|
|
|
xlogin*logoFileName: @XENODM_PIXMAPDIR@/OpenBSD_4bpp.xpm
|
|
|
|
#endif
|
|
|
|
#ifdef bpp8
|
|
|
|
xlogin*logoFileName: @XENODM_PIXMAPDIR@/OpenBSD_8bpp.xpm
|
|
|
|
#endif
|
|
|
|
#ifdef bpp15
|
|
|
|
xlogin*logoFileName: @XENODM_PIXMAPDIR@/OpenBSD_15bpp.xpm
|
|
|
|
#endif
|
2016-10-23 02:30:37 -06:00
|
|
|
|
|
|
|
xlogin*useShape: true
|
|
|
|
xlogin*logoPadding: 10
|
|
|
|
|
|
|
|
! uncomment to disable logins
|
|
|
|
! xlogin.Login.allowRootLogin: false
|
|
|
|
|
|
|
|
XConsole*background: black
|
|
|
|
XConsole*foreground: white
|
|
|
|
XConsole*borderWidth: 2
|
|
|
|
XConsole*borderColor: grey
|
|
|
|
XConsole.text.geometry: 480x130
|
|
|
|
XConsole.verbose: true
|
|
|
|
XConsole*iconic: true
|
|
|
|
XConsole*font: fixed
|