HOME  NEWS  FORUM  DOWNLOAD  LINK
OpenCOBOL - an open-source COBOL compiler
Main Menu
Download
Documentation
Development
Who's Online
18 user(s) are online (6 user(s) are browsing Forum)

Members: 0
Guests: 18

more...
Powered by
SourceForge

Xoops

Creative Commons

OpenCOBOL Forum Index
   OpenCOBOL
     man page beta testers
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
btiffin
Posted on: 2012/2/1 17:41
Webmaster
Joined: 2008/6/7
From: CANADA
Posts: 1196
man page beta testers
If you have the time, save a local copy of http://peoplecards.ca/files/cobc.1

and use either
$ man -l cobc.1
(Note: that is man minus little-ell and cobc dot one)
or
$ sudo cp cobc.1 /usr/local/man/man1/
$ man cobc

It's a little sloppy (-std= for example), as this is a machine generated manpage using help2man with an include file to fill in some of the missing bits. But, I like man pages and this does the job for me. I'd like opinions from others before I pester Roger to update the automake and ./configure files to install some cobc manpages along with the opencobol info files.

Extra points for anyone that digs in enough to figure out LOCALE translations as described at http://www.gnu.org/software/help2man/

Cheers,
Brian
jcurrey
Posted on: 2012/2/2 14:07
Home away from home
Joined: 2009/3/19
From: Texas
Posts: 181
Re: man page beta testers
Brian,

Great Job!

Personally, I would like to see this as part of the distribution.

We will enjoy using it. Thank you.

jimc

BTW my Debian machine gave me some junk at the beginning. I am posting it below:

0T)07:02:42#man -l cobc.1
Reformatting cobc.1, please wait...














From:  <Saved by Windows Internet Explorer 8> Subject: Date: Thu,
2  Feb  2012  06:59:58  ‐0700  MIME‐Version:  1.0   Content‐Type:
text/html;         charset="Windows‐1252" Content‐Transfer‐Encod‐
ing:    quoted‐printable     Content‐Location:     http://people‐
cards.ca/files/cobc.1  X‐MimeOLE:  Produced  By Microsoft MimeOLE
V6.00.2900.3664

<!DOCTYPE HTML PUBLIC "‐//W3C//DTD  HTML  4.0  Transitional//EN">
<HTML><HEAD>  <META content=3D"text/html; charset=3Dwindows‐1252"
=   http‐equiv=3DContent‐Type>   <META   name=3DGENERATOR    con‐
COBC(1)                           User Commands                          COBC(1)

tent=3D"MSHTML 8.00.6001.18928"></HEAD> <BODY><PRE>.  1.40.2.

NAME
       cobc - manual page for cobc (OpenCOBOL) 1.1.0

SYNOPSIS
       cobc [options] file...

DESCRIPTION
       OpenCOBOL is an open-source COBOL compiler. OpenCOBOL implements a = sub‐
       stantial part of the COBOL 85 and COBOL 2002 standards, as well as many =
       extensions of the existent COBOL compilers.=20

btiffin
Posted on: 2012/2/2 22:40
Webmaster
Joined: 2008/6/7
From: CANADA
Posts: 1196
Re: man page beta testers
Jim;

Your browser saved the HTTP headers it seems.

Try
$ ./occurlrefresh http://peoplecards.ca/files/cobc.1 cobc.1

to get a cleaner copy. Don't have occurlrefresh? http://www.opencobol.org/modules/newbb/viewtopic.php?topic_id=285&forum=1#forumpost4593 then replace the command with
$ curl http://peoplecards.ca/files/cobc.1 >cobc.1
or
$ wget http://peoplecards.ca/files/cobc.1 
or other favourite URL fetching program besides the friendly explorer.

Note; I use Opera and it does the same mime-type by extension or content and 'let me help you with that' screw ups from time to time. In particular Opera browser Mail won't import a Cake/PHP template (.ctp) without 'helping' and saving as .html.

And, yes, I'm planning on sending Roger the changes for automake to generate the man page(s) from the distribution. When I've cleaned it up, I'll post it here for people to play around with.

Cheers,
Brian
Threaded | Newest First Previous Topic | Next Topic | Top

Register To Post
 
Copyright (C) 2005 The OpenCOBOL Project. All rights reserved.
Powered by Xoops2 | PHP | MySQL | Apache
ocean-net