/usr/share/perl5/FreePWING/FPWUtils/FPWUtils.pm is in freepwing 1.5-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 | # -*- Perl -*-
# Copyright (c) 1999, 2000 Motoyuki Kasahara
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
package FreePWING::FPWUtils::FPWUtils;
require 5.005;
use strict;
use integer;
use vars qw(@ISA
@EXPORT
@EXPORT_OK
$work_directory
$text_file_name
$text_ref_file_name
$text_tag_file_name
$menu_file_name
$menu_ref_file_name
$menu_tag_file_name
$copyright_file_name
$copyright_ref_file_name
$copyright_tag_file_name
$heading_file_name
$word_file_name
$endword_file_name
$keyword_file_name
$sort_file_name
$endsort_file_name
$keysort_file_name
$index_file_name
$endindex_file_name
$keyindex_file_name
$index_ref_file_name
$endindex_ref_file_name
$keyindex_ref_file_name
$control_file_name
$control_ref_file_name
$color_graphic_file_name
$color_graphic_tag_file_name
$sound_file_name
$sound_tag_file_name
$sound_fmt_file_name
$honmon_file_name
$half_char_name_file_name
$full_char_name_file_name
$half_char_bitmap_16_file_name
$half_char_bitmap_24_file_name
$half_char_bitmap_30_file_name
$half_char_bitmap_48_file_name
$full_char_bitmap_16_file_name
$full_char_bitmap_24_file_name
$full_char_bitmap_30_file_name
$full_char_bitmap_48_file_name
$sort_command);
@ISA = qw(Exporter);
@EXPORT = qw($work_directory
$text_file_name
$text_ref_file_name
$text_tag_file_name
$menu_file_name
$menu_ref_file_name
$menu_tag_file_name
$copyright_file_name
$copyright_ref_file_name
$copyright_tag_file_name
$heading_file_name
$word_file_name
$endword_file_name
$keyword_file_name
$sort_file_name
$endsort_file_name
$keysort_file_name
$index_file_name
$endindex_file_name
$keyindex_file_name
$index_ref_file_name
$endindex_ref_file_name
$keyindex_ref_file_name
$control_file_name
$control_ref_file_name
$color_graphic_file_name
$color_graphic_tag_file_name
$sound_file_name
$sound_tag_file_name
$sound_fmt_file_name
$honmon_file_name
$half_char_name_file_name
$full_char_name_file_name
$half_char_bitmap_16_file_name
$half_char_bitmap_24_file_name
$half_char_bitmap_30_file_name
$half_char_bitmap_48_file_name
$full_char_bitmap_16_file_name
$full_char_bitmap_24_file_name
$full_char_bitmap_30_file_name
$full_char_bitmap_48_file_name
$sort_command
initialize_fpwutils
finalize_fpwutils);
# ºî¶È¥Õ¥¡¥¤¥ë¤ò½ñ¤¹þ¤à¥Ç¥£¥ì¥¯¥È¥ê
$work_directory = '.';
#
# ÀßÄêÍѤÎÊÑ¿ô¤Î½é´ü²½¤ò¹Ô¤¦¡£
#
sub initialize_fpwutils {
# ËÜʸ¥Õ¥¡¥¤¥ë̾
$text_file_name = "$work_directory/text";
# ËÜʸ¤Î»²¾È¾ðÊó¥Õ¥¡¥¤¥ë̾
$text_ref_file_name = "$work_directory/textref";
# ËÜʸ¤Î¥¿¥°¥Õ¥¡¥¤¥ë̾
$text_tag_file_name = "$work_directory/texttag";
# ¥á¥Ë¥å¡¼¥Õ¥¡¥¤¥ë̾
$menu_file_name = "$work_directory/menu";
# ¥á¥Ë¥å¡¼¤Î»²¾È¾ðÊó¥Õ¥¡¥¤¥ë̾
$menu_ref_file_name = "$work_directory/menuref";
# ¥á¥Ë¥å¡¼¤Î¥¿¥°¥Õ¥¡¥¤¥ë̾
$menu_tag_file_name = "$work_directory/menutag";
# Ãøºî¸¢É½¼¨¥Õ¥¡¥¤¥ë̾
$copyright_file_name = "$work_directory/copy";
# Ãøºî¸¢É½¼¨¤Î»²¾È¾ðÊó¥Õ¥¡¥¤¥ë̾
$copyright_ref_file_name = "$work_directory/copyref";
# Ãøºî¸¢É½¼¨¤Î¥¿¥°¥Õ¥¡¥¤¥ë̾
$copyright_tag_file_name = "$work_directory/copytag";
# ¸«½Ð¤·¥Õ¥¡¥¤¥ë̾
$heading_file_name = "$work_directory/head";
# Á°Êý°ìÃ×ÍѤÎ̤À°Îóñ¸ì°ìÍ÷¥Õ¥¡¥¤¥ë̾
$word_file_name = "$work_directory/word";
# ¸åÊý°ìÃ×ÍѤÎ̤À°Îóñ¸ì°ìÍ÷¥Õ¥¡¥¤¥ë̾
$endword_file_name = "$work_directory/eword";
# ¾ò·ï¸¡º÷ÍѤÎ̤À°Îóñ¸ì°ìÍ÷¥Õ¥¡¥¤¥ë̾
$keyword_file_name = "$work_directory/kword";
# Á°Êý°ìÃ×ÍѤÎÀ°ÎóºÑ¤ßñ¸ì°ìÍ÷¥Õ¥¡¥¤¥ë̾
$sort_file_name = "$work_directory/sort";
# ¸åÊý°ìÃ×ÍѤÎÀ°ÎóºÑ¤ßñ¸ì°ìÍ÷¥Õ¥¡¥¤¥ë̾
$endsort_file_name = "$work_directory/esort";
# ¾ò·ï¸¡º÷ÍѤÎÀ°ÎóºÑ¤ßñ¸ì°ìÍ÷¥Õ¥¡¥¤¥ë̾
$keysort_file_name = "$work_directory/ksort";
# Á°Êý°ìÃ×¥¤¥ó¥Ç¥Ã¥¯¥¹¤Î»²¾È¾ðÊó¥Õ¥¡¥¤¥ë̾
$index_file_name = "$work_directory/idx";
# ¸åÊý°ìÃ×¥¤¥ó¥Ç¥Ã¥¯¥¹¥Õ¥¡¥¤¥ë̾
$endindex_file_name = "$work_directory/eidx";
# ¾ò·ï¸¡º÷¥¤¥ó¥Ç¥Ã¥¯¥¹¥Õ¥¡¥¤¥ë̾
$keyindex_file_name = "$work_directory/kidx";
# Á°Êý°ìÃ×¥¤¥ó¥Ç¥Ã¥¯¥¹¥Õ¥¡¥¤¥ë̾
$index_ref_file_name = "$work_directory/idxref";
# ¸åÊý°ìÃ×¥¤¥ó¥Ç¥Ã¥¯¥¹¤Î»²¾È¾ðÊó¥Õ¥¡¥¤¥ë̾
$endindex_ref_file_name = "$work_directory/eidxref";
# ¾ò·ï¸¡º÷¥¤¥ó¥Ç¥Ã¥¯¥¹¤Î»²¾È¾ðÊó¥Õ¥¡¥¤¥ë̾
$keyindex_ref_file_name = "$work_directory/kidxref";
# ½ñÀÒ´ÉÍý¾ðÊó¥Õ¥¡¥¤¥ë̾
$control_file_name = "$work_directory/ctrl";
# ½ñÀÒ´ÉÍý¾ðÊó¤Î»²¾È¾ðÊó¥Õ¥¡¥¤¥ë̾
$control_ref_file_name = "$work_directory/ctrlref";
# ¥«¥é¡¼¿ÞÈÇ¥Õ¥¡¥¤¥ë̾
$color_graphic_file_name = "$work_directory/cgr";
# ¥«¥é¡¼¿ÞÈÇ¥¿¥°¥Õ¥¡¥¤¥ë̾
$color_graphic_tag_file_name = "$work_directory/cgrtag";
# ²»À¼¥Õ¥¡¥¤¥ë̾
$sound_file_name = "$work_directory/snd";
# ²»À¼¥¿¥°¥Õ¥¡¥¤¥ë̾
$sound_tag_file_name = "$work_directory/sndtag";
# ²»À¼·Á¼°¥Õ¥¡¥¤¥ë̾ (satomii)
$sound_fmt_file_name = "$work_directory/sndfmt";
# HONMON ¥Õ¥¡¥¤¥ë̾
$honmon_file_name = "honmon";
# Ⱦ³Ñ³°»ú̾Á°¥Õ¥¡¥¤¥ë
$half_char_name_file_name = "$work_directory/halfchar";
# Á´³Ñ³°»ú̾Á°¥Õ¥¡¥¤¥ë
$full_char_name_file_name = "$work_directory/fullchar";
# Ⱦ³Ñ³°»ú¥Ó¥Ã¥È¥Þ¥Ã¥×¥Õ¥¡¥¤¥ë̾
$half_char_bitmap_16_file_name = "gai16h";
$half_char_bitmap_24_file_name = "gai24h";
$half_char_bitmap_30_file_name = "gai30h";
$half_char_bitmap_48_file_name = "gai48h";
# Á´³Ñ³°»ú¥Ó¥Ã¥È¥Þ¥Ã¥×¥Õ¥¡¥¤¥ë̾
$full_char_bitmap_16_file_name = "gai16f";
$full_char_bitmap_24_file_name = "gai24f";
$full_char_bitmap_30_file_name = "gai30f";
$full_char_bitmap_48_file_name = "gai48f";
}
#
# ÀßÄêÍѤÎÊÑ¿ô¤Î¸å»ÏËö¤ò¹Ô¤¦¡£
#
sub finalize_fpwutils {
}
1;
|