fix the worst syntax and semantic errors to make the manual usable,

drop USE_GROFF, and bump; issues reported by and OK naddy@
This commit is contained in:
schwarze 2015-02-21 00:01:20 +00:00
parent cca8e578d4
commit fa903a01ac
2 changed files with 98 additions and 2 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.20 2013/03/11 11:35:58 espie Exp $
# $OpenBSD: Makefile,v 1.21 2015/02/21 00:01:20 schwarze Exp $
COMMENT= ICQ console client with encryption support
DISTNAME= ysmv7_2_9_9_1
PKGNAME= ${DISTNAME:S/_/-/:S/_/./g}
CATEGORIES= net
REVISION= 0
HOMEPAGE= http://ysmv7.sourceforge.net/
@ -20,7 +21,6 @@ CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_GROFF = Yes
NO_TEST= Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,96 @@
$OpenBSD: patch-src_man_ysm_1,v 1.1 2015/02/21 00:01:20 schwarze Exp $
--- src/man/ysm.1.orig Mon Jan 29 21:03:11 2007
+++ src/man/ysm.1 Fri Feb 20 23:22:08 2015
@@ -2,16 +2,18 @@
-.TH Ysm 1 "Version 2.9.1" "Ysm" "Ysm manual"
.Dd July 12, 2003
.Dt YSM 1
+.Os
.Sh NAME
-.Nm (Y)OU (S)ICK (M)E
-.br
-An Original Multi-Platform ICQ console client that requires no external libraries.
+.Nm ysm
+.Nd console ICQ client
.Sh SYNOPSIS
.Nm ysm
-.Sh DESCRIPTION
-.Nm You Sick ME
-is a portable open source console ICQ client written in the C language, under the GPL license.
-.br
+.Sh DESCRIPTION
+.Nm
+.Pq Dq You Sick \&Me
+is a console ICQ client.
+It is written in the C language, portable, requires no external libraries,
+and is available under the GPL license.
+.Pp
YSM is one of the new generation clients due to the sudden modifications the ICQ protocol suffered after Mirabilis joined the dark-side of the force (AOL). This is the reason why most ICQ clients ended up with malfunctions or unable to use the IM network at all.
.Pp
YSM was (proudly) the first ICQ clone to download and upload server-side contact lists.
@@ -22,10 +24,7 @@ For more information on ysm and its usage please refer
section in ysm's website.
.Pp
.Nm [http://ysmv7.sourceforge.net]
-.Sh COMMANDS
-.Bl -item
-.It
-.Sh [Client commands]
+.Sh CLIENT COMMANDS
.Ss quit
Close the ysm client.
.Ss help <command>
@@ -78,12 +77,12 @@ usage : '! ls -al'
Forward your incoming messages to a specified slave or icq#.
.Ss reconnect
Reconnect to the ICQ Network.
-.It
-.Sh [Slaves/Users commands]
+.Sh SLAVES/USERS COMMANDS
.Ss slaves
You may check on your Slave list anytime by using this command. The slaves are organized in <slave_name> <status> <flags>. Flags are modified by the 'ignore', 'visible' and 'invisible' commands. Slaves in ignore are only shown in the 'wa' command.
.Ss slaveson
-Check your Slaves list just for the online ones.\n(more help on the 'slaves or w' commands.
+Check your Slaves list just for the online ones.
+(more help on the 'slaves or w' commands.
.Ss slavesall
You may check on your Slave list anytime by using this command. The slaves are organized in <slave_name> <status> <flags>. Flags are modified by the 'ignore', 'visible' and 'invisible' commands.
.Ss addslave <name> <uin>
@@ -174,8 +173,7 @@ Send a file to a slave.
Show the status of active transfers.
.Ss fcancel <slave>
Cancel an ongoing transfer to/from a slave.
-.It
-.Sh [Account commands]
+.Sh ACCOUNT COMMANDS
.Ss info
Show information about your ysm client and session.
.Ss status [new_status]
@@ -196,18 +194,15 @@ Turn on/off wave sounds globally.
Reload configuration file settings.
.br
usage: 'loadconfig'
-.El
-.Sh FILES
-.Bl -tag -width $HOME/.ysm/ysm-cfg -compact
-.Pa $HOME/.ysm/ysm-cfg
-Configuration file.
-.Pp
-.Pa $HOME/.ysm/afk-log
-[created by the afk-mode]
-.Pp
-.Pa $HOME/.ysm/uin#
-[each UIN is a log file generated by 'log']
-.El
+.Sh FILES
+.Bl -tag -width $HOME/.ysm/ysm-cfg -compact
+.It Pa $HOME/.ysm/ysm-cfg
+Configuration file.
+.It Pa $HOME/.ysm/afk-log
+Created by the afk-mode.
+.It Pa $HOME/.ysm/uin#
+Each UIN is a log file generated by 'log'.
+.El
.Sh BUGS
If you come across bugs, report them to : rad2k@mail\&.ru
.Sh AUTHORS