FWEB(1)
π FWEB(1) β ftangle, fweave π
okay bestie, sit down, hydrate, because we're talking about FWEB β the manual page name is FWEB(1) and it lives in the General Commands Manual section, and yes this whole thing is giving "vintage but iconic" energy. π«Ά
πΈ NAME
ftangle, fweave β WEB processors for C, C++, Fortran, Ratfor, and TeX β¨
π¦ SYNOPSIS
ftangle -|
| [[-option] ...] src_file[.web] [change_file[.ch]]
fweave --|
β¨ DESCRIPTION
okay so first thing, and I need you to hear me: this man page is obsolete and is no longer maintained. bestie. please. go look at info fweb for up-to-date and detailed tree-structured information. π
FWEB is an extension of Knuth's WEB system, and it handles the languages C, C++, Fortran (both Fortran-77 and Fortran-90), Ratfor, and TeX. The whole philosophy of WEB plus literally every detail about using FWEB lives in the user manual fweb.tex, which is available on-line as the texinfo (GNU hypertext system) entry info FWEB. Also check out
http://w3.pppl.gov/~krommes/fweb_toc.html
An initialization file named .fweb (Unix systems) or fweb.ini (personal computers) may be placed in your home directory. (For Unix systems, that is the value of $HOME. The name can be overridden by the environment variable FWEB_INI.) In this file you can put any option that is allowed on the command line β one option per line, bestie, we love a list. Here's the vibe check on ordering:
- if the option begins with a hyphen, it is processed before the command line
- if it begins with an ampersand, it is processed after the command line (rarely necessary)
- if it begins with neither, it is interpreted as a file name and processed after the command line
A style file patterned after the utility makeindex and named fweb.sty may be placed in your current directory. (The directory can be overridden by the environment variable FWEB_STYLE_DIR.) This file is used to customize the appearance of the index and many other parameters controlling the operation of the processors. See the documentation for detailed discussion. π
The following list just provides a very brief summary of the command-line options. Please refer to the texinfo entry for more details.
π FWEB Options
filenameβ The first file name identifies the FWEB source file. (If the name does not contain a period, the extension.webis added automatically.) If a second file name is present, it identifies the change file. (If that name does not contain a period, the extension.chis added automatically.) For an alternative approach to processing extensions, see the-eoption.-1β Turn on brief debugging mode for FWEAVE.-2β Turn on verbose debugging mode for FWEAVE.-@β Display information about control codes.-Aβ Turn on ASCII translations.-Bβ Turn off audible beeps. (peace and quiet, we love her π)-bβ Numberdoandifblocks in woven Fortran and Ratfor output.-Cnβ Set the color mode to n, where n is0(no color),1(ANSI color),2(bilevel),3(trilevel), or4(user-defined). π-cβ Set the global language to C.-c++β Set the global language to C++.-D[letters]β Display information about reserved words of the current language (beginning with[letters]if present).-d[nnnnn]β Convert unnumbereddo...enddoconstructions to standard Fortran.-Ecβ Change the delimiter of a file-name extension to c.-eβ Turn on automatic file-name completion, using the style-file parametersext.web,ext.ch,ext.hweb, andext.hch.-Fβ Compare output files with old versions.-fβ Turn off module references for functions, macro names, etc.-Hβ Scan#includefiles fortypedefand/orclassdeclarations.-hβ A brief message about where to get help. π-Idirectoryβ Append a directory to the list of directories to be searched for include files.-iβ Read include files named by the@Icommand, but don't print contents.-i!β Don't even read include files named by the@Icommand.-jβ Inhibit multiple includes of the same file.-kβ Recognize lower-case versions of Fortran/Ratfor I/O keywords such asBLOCKSIZE.-Llβ Select language l.-l[mmm[:nnn]]β Echo the input lines between mmm and nnn.-mid[=text]β Define an FWEB macro.-m4β Understand (for formatting purposes) the commands of them4preprocessor.-m;β Automatically append pseudo-semicolons to the end of WEB macro definitions. (Not recommended. π)-nβ Set the global language to Fortran-77.-n9β Set the global language to Fortran-90.-n;β For Fortran-77, supply semicolons automatically (default).-n:β In Fortran, place statement labels on separate lines.-nbβ Number thedo's andif's in Fortran.-nCβ Throw away all commet lines.-npβ Print semicolons in woven Fortran output.-n\β Use free-form syntax for Fortran-90; continue lines with backslashes.-n&β As above, but continue lines with ampersands.-n/β In Fortran, make'//'denote the start of a short comment instead of concatenation. (Use''for concatenation.)-n!β In Fortran, make'!'denote the start of a short comment instead of the logical negation.-n)β In Fortran, reverse array indices.-oβ Turn off FWEAVE's mechanisms for overloading operators.-Pletterβ Select the TeX processor, where letter is either'T'for TeX or'L'for LaTeX. The default is LaTeX. Note well that Plain TeX is no longer supported! π-pstyleentryβ Buffer up a style-file entry, to be processed just before the local style file is read.-rβ Set the global language to Ratfor-77.-r9β Set the global language to Ratfor-90.-rbβ Number thedo's andif's in Ratfor.-rk[letters]β Suppress comments about particular Ratfor statement expansions.-rK[letters]β Include comments about particular Ratfor statement expansions.-r;β For Ratfor, turn on the auto-semi mode and assume the ``obviously continued'' syntax. (Not recommended. π)-r/β In Ratfor, make'//'denote the start of a short comment instead of concatenation. (Use''for concatenation.)-r!β In Ratfor, make'!'denote the start of a short comment instead of the logical negation.-r)β In Ratfor, reverse array indices.-sβ Print statistics about memory usage.-sm[nnn]β As above, but also display the dynamic memory allocations as they occur.-Tβ Miscellaneous flag-setting commands for ftangle; see texinfo entry.-tln[{...}]β Truncate identifiers of language l to be of length n, after optionally filtering out the characters listed between the braces.-Uβ Convert reserved output tokens to lower case.-uidβ Undefine a predefined or command-line macro.-vβ Make all comments verbatim.-W@flagβ Set module warning flag [0for no warnings, or the logical OR of1(never used) and/or2(multiple uses)].-W1β Completely cross-reference single-character identifiers.-W[β Turn on special processing of bracketed array indices.-WHβ Turn on processing of bracketed array indices.-Wdβ Don't print@dor@Dstatements in woven output.-Wfβ Don't print@fstatements in woven output.-WFβ Don't print@Fstatements in woven output.-Wlβ Don't print@lstatements in woven output.-Wmβ Don't print@mor@Mstatements in woven output.-Wvβ Don't print@vstatements in woven output.-Wwβ Don't print@wor@Wstatements in woven output.-w[file_name]β Printinput file_nameinstead ofinput fwebmac.styat beginning of tex output file. With no argument, print nothing.-X[letters]β Print selected cross-reference information; the opposite of'-x'.-x[letters]β Reduce or eliminate cross-reference information. The optional letters can be one of'c','i','m', or'*', referring respectively to the table of contents, index, module list, or all cross-reference information.-ya[a][nnnn]β Override default for dynamic memory allocation. If nnnn is omitted, then simply query the default. The command'-y'with no argument queries everything.-Z[letters]β Display default values of style-file parameters (starting with letters if present).-z[file_name]β Override default style-file name.-.β Don't recognize dot constants in Fortran and Ratfor.-\β Explicitly escape continued strings.-(β Continue parenthesized strings with backslashes.-:[nnnnn]β Set the starting automatic statement number for rtran and->[l=][name]β Redirect output.-=β Same as above (and easier to type).-#β Turn off comments about line numbers and modules in woven output.-+β Don't interpret the compound assignment operators in Fortran and Ratfor.-/β In Fortran and Ratfor, make'//'denote the start of a short comment instead of concatenation. (Use''for concatenation.)-!β In Fortran and Ratfor, make'!'denote the start of a short comment instead of logical negation.
π MANUAL
Further documentation can be obtained from texinfo, available online through the info browser, either via emacs or stand-alone (menu item fweb), by saying ftangle -h, or in printed form by saying (from the top-level FWEB installation directory, if it is available) lpr Manual/fweb.ps or texi2dvi Manual/fweb.texinfo. π
π FILES
$HOME/.fwebβ Optional initialization file (supplied by user)../fweb.styβ Optional style file for configuring the style of an individual document (supplied by user).
π ENVIRONMENT VARIABLES
FWEB_INCLUDESβ Colon-delimited list of directories to be searched for include files.FWEB_INIβ Name of the initialization file in user's home directory.FWEB_STYLE_DIRβ Directory in which the style file resides.
π BUGS
Please send bug reports and suggestions to krommes@princeton.edu. FWEB is a spare-time activity, so response may be slow and messages may not be acknowledged individually. However, your input is very useful and much appreciated. π«Ά (genuinely, they mean it, bestie β go send that email)
π AUTHORS
FWEB was written by John A. Krommes, Princeton University. It is a substantial revision and update (more than 50% new) of version 0.5 of Silvio Levy's CWEB, which in turn was based on Donald Knuth's original Pascal WEB. The latter was designed for documenting and maintaining TeX. iconic lineage honestly. β¨
and that's the whole page, no cap. π
4th Berkeley Distribution Β· September 23, 1998 Β· FWEB(1) β mwah, periodt. π π
π¦ where this page comes from
- debian bookworm: fweb 1.62-14
- ubuntu jammy: fweb 1.62-14
- ubuntu noble: fweb 1.62-14.1
- ubuntu questing: fweb 1.62-14.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms