#!/bin/sh

(cd /usr/doc/slint-15.0
if [ "$(tty|grep tty)" ]; then
	if ls | grep -q ${LANG%.*}; then
		w3m -o confirm_qq=0 ${LANG%.*}.HandBook.html
	else
		w3m -o confirm_qq=0 en_US.HandBook.html
	fi
else
	if ls | grep -q ${LANG%.*}; then
		firefox ${LANG%.*}.HandBook.html
	else
		firefox en_US.HandBook.html
	fi
fi
)
