head	1.2;
access;
symbols;
locks; strict;
comment	@ * @;


1.2
date	2026.08.10.07.56.38;	author macallan;	state Exp;
branches;
next	1.1;
commitid	kV9ZTNneJOad44RG;

1.1
date	2026.08.09.09.04.33;	author macallan;	state Exp;
branches;
next	;
commitid	wuUrcYdK9xGwtWQG;


desc
@@


1.2
log
@make terminal colours configurable vie config.h
@
text
@/*	$NetBSD: config.h,v 1.1 2026/08/09 09:04:33 macallan Exp $	*/

/*
 * Copyright (c) 2026 Michael Lorenz
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 *
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

/* this contains a bunch of settings */

#ifndef CONFIG_H
#define CONFIG_H

#define TERM_WIDTH	80
#define TERM_HEIGHT	25

#define WS_DEFAULT_FG WSCOL_BLACK
#define WS_DEFAULT_BG WSCOL_LIGHT_WHITE
//#define WS_DEFAULT_FG WSCOL_LIGHT_BROWN
//#define WS_DEFAULT_BG WSCOL_BLUE

/* font to use. Options are:
 * USE_FIXED - X 'fixed' 6x10
 * USE_SPLEEN - Spleen 6x12 font from wsfont
 * USE_GALLANT - the 12x22 Sun firmware font
 * default is Terminal 8x13 */
#define USE_SPLEEN

#endif
@


1.1
log
@move settings into their own header
@
text
@d1 1
a1 1
/*	$NetBSD: init.c,v 1.4 2026/08/09 06:01:12 macallan Exp $	*/
d36 5
d45 1
a45 1
 * default is Terminal 8x13 aka the xterm font */
d48 1
a48 1
#endif@

