# shell function library for FreeBSD/TrueOS
# vim: set filetype=sh:
old_escape() { system-control escape --format old-alt -- "$@" ; }
pwescape() { system-control escape --format account -- "$@" ; }
service_with_dedicated_logger() {
	:
}
prefixed_service_with_dedicated_logger() {
	:
}
tty_service_with_dedicated_logger() {
	:
}
login_service_with_dedicated_logger() {
        tty_service_with_dedicated_logger "ttylogin@" "$1"
}
kvt_login_service_with_dedicated_logger() {
	case "`uname`" in
	OpenBSD)	ttybase=ttyC; break ;;
	NetBSD)		ttybase=ttyE; break ;;
	*)		ttybase=ttyv; break ;;
	esac
	tty_service_with_dedicated_logger "ttylogin@" "${ttybase}$1"
}
kvt_realizer_service_with_dedicated_logger() {
	case "`uname`" in
	OpenBSD)	ttybase=ttyC; break ;;
	NetBSD)		ttybase=ttyE; break ;;
	*)		ttybase=ttyv; break ;;
	esac
	prefixed_service_with_dedicated_logger "console-kvt-realizer@" "${ttybase}$1"
}
serial_tty_login_service_with_dedicated_logger() {
	case "`uname`" in
	OpenBSD)	ttybase=tty0; break ;;
	NetBSD)		ttybase=tty0; break ;;
	*)		ttybase=ttyu; break ;;
	esac
	tty_service_with_dedicated_logger "getty@" "${ttybase}$1"
}
serial_tty_callout_service_with_dedicated_logger() {
	case "`uname`" in
	OpenBSD)	ttybase=tty0; break ;;
	NetBSD)		ttybase=dty0; break ;;
	*)		ttybase=cuau; break ;;
	esac
	prefixed_service_with_dedicated_logger "ttycallout@" "${ttybase}$1"
}
socket_with_dedicated_logger() {
	:
}
timer_with_dedicated_logger() {
	:
}
service_only() {
	:
}
service_only_no_run() {
        :
}
fan_in_logger() {
	:
}
target() {
	:
}
logfile_owning_user() {
	:
}
file_owning_user() {
	:
}
non_file_owning_user() {
	:
}
user_vt_user() {
	:
}
user_vt_group() {
	:
}
user_tty() {
	:
}
directory() {
        :
}
