File: MANUAL.txt

package info (click to toggle)
hex 204-14
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 120 kB
  • ctags: 630
  • sloc: makefile: 697; cpp: 543
file content (264 lines) | stat: -rw-r--r-- 6,227 bytes parent folder | download | duplicates (5)
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
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264



hex(1)                    User Commands                    hex(1)



NAME
     hex - {Ή 16 i_vc[

SYNOPSIS
     hex [ options...  ] [ file ]
     hex -r [ file ]

DESCRIPTION
     hex   file (͕W) ̓e 16 iƕŕ\
     . ̍, {炵{ŕ\܂.


  OPTIONS
     IvV͊‹ϐ HEX_OPTIONS ɐݒ肵ĂƂł 
     .

  OPTIONS - w񕶎x̕\@
     L EXAMPLE QƂȂǂʼn.

     Łw񕶎xƌĂł̂, Rg[R[h 8 bit
     ̕ŊJiƂč\łȂR[ĥ  
     .

     -c, --color (o͂[̏ꍇ̃fBtHg)
          w  x  F tŕ\܂. F\ł[ (
          kterm  Windows95  MS-DOS vvgȂ) 𗘗p
          ꍇ, EXAMPLE ł J ɑSĐFt܂.

          fB tH  g  ͐‚ƐFŏo͂܂. \鎞
          ^[[34m ƂGXP[vV[PXŏo͂܂. ̐F
          ͉L -cs1, -cs2 IvVŕς܂.

     -b, --bold
          w x𑾎ŕ\܂.  EXAMPLE ł J Sđ
          ɂȂ܂.  less ɒʂĂŕ\܂.

          [ɕ\鎞 ^[[1m ƂGXP[vV[PXŏo
          ͂, [ȊO (ɃpCv) ɏo͂鎞, Ⴆ A 
          Ȃ, A^HA Əo͂܂.

          termcap/terminfo ͎QƂĂȂ̂ł܂ɂȂȂ
          [Ǝv܂.  Windows95 ł͐F邭Ȃ
          .

     -d, --dot (o͂[ȊȌꍇ̃fBtHg)
          w񕶎x͑S `.' ŕ\܂.  EXAMPLE   `J'  
          `.' ɑĂƍlĉ.

     -t, --text
          w񕶎x𕁒ʂ̃eLXgŕ\܂.  EXAMPLE Ɠ
          ł. ɗ܂.




GANAware          Last change: 1998 N 2  9                 1






hex(1)                    User Commands                    hex(1)



     -u, --underline
          w񕶎xA_[Ctŕ\܂.  EXAMPLE ł
          J  ɑSăA_[Ct܂.  less  more ɒʂ
          ĂA_[C͕\܂.

          [ɕ\鎞 ^[[4m ƂGXP[vV[PXŏo
          ͂, [ȊO (ɃpCv) ɏo͂鎞, Ⴆ A 
          A_[C‚Ȃ, _^HA Əo͂܂. Windows95 
          ̓A_[C͏o܂.

     EXAMPLE
          0x00000000: a4 cf a4 e8 a4 f3 0a 0a - 0a 0a 0a 0a 0a 0a 0a 0a ͂JJJJJJJJJJ

  OPTION - o̓R[h
     ǂꂪfBtHgɐݒ肳Ă邩𒲂ׂɂ hex -h Ƃ
     Ă.

     -e, -oe, --oeuc
          *euc-japan* ŏo͂܂.

     -s, -os, --osjis
          *sjis* ŏo͂܂.

     -j, -oj, --ojis
          *iso-2022-jp* ŏo͂܂.

  OPTION - ̓R[h
     ǂꂪfBtHgɐݒ肳Ă邩𒲂ׂɂ hex -h Ƃ
     Ă.

     -E, -ie, --ieuc
          *euc-japan*  *iso-2022-jp* ̓͂Ɖ肵܂.

     -S, -is, --isjis
          *sjis*  *iso-2022-jp* ̓͂Ɖ肵܂.

     -U, -iu, --iunknown
           񂾂悭킩Ȃ̓R[hƉ肵܂. 
          w肵ꍇ, {Ɋւ鏈͂Ȃ܂.

  OPTION - ̑
     -cs1 cs, --colorstring1 cs
          F‚鎞̃R[h 1 w肵܂. Rg[ R [
          h, ܂ 8 bit ŊƂĔFłȂR[h
          ̐Fŕ\܂.

          Ⴆ -cs1 43;31 (`;' ̓VFɐH      -cs1
          '43;31'  ȂǂƃGXP[vĂ) Ǝw肷, 
          nɐԕŏo͂܂.

     -cs2 cs, --colorstring2 cs
          F‚鎞̃R[h 2 w肵܂. ̂   ,



GANAware          Last change: 1998 N 2  9                 2






hex(1)                    User Commands                    hex(1)



          EUC pJî, iso-2022 ̃GXP[vV[PX
          ̐Fŕ\܂.

     -dsiso, --disablesiso, +siso
          ^N/^O ̊Ԃ̕, ʏ피pJiƂĈ܂,  
          ̋@\𗘗pȂ悤ɂ܂.

     -siso, --enablesiso
          L̃IvV̔΂̋@\ł. (fBtHg)

     -r, --restore
          % hex < hoe | hex -r > hoge
          
          % cat < hoe > hoge
          ƓƂɂȂ܂.

     -h, --help
          g\.

PAGER
     hex ̏o͂ less Ȃǂ̃y[W[ɒʂ, ̂܂܂ƐF
     o܂,
     % hex -c `which hex` | less -r
     % hex -c `which hex` | lv -C
     ȂǂƂ邱ƂŐFo悤ɂȂ܂. WindowsNT ŃR
     }hvv𗘗pĂꍇ,
     % hex -u `which hex` | less
     ƂĂ݂܂傤. A_[C less F‚Ă
     ̂ł܂ŐF‚݂ȊɂȂ܂. (hex ̃Iv V
     ɂF̎w͖ɂȂ܂)

SEE ALSO
     od(1), hexdump(1), jhd(1), less(1), lv(1)

COPYRIGHT
     Copyright (C) 1996-1998,  ޗR

     ̃vO̓t[EFAł.

     ̃vOɊ֘A邢Ȃ鎖ԂӔC𕉂˂܂.

     http://www.is.s.u-tokyo.ac.jp/~nayuta/  ŐVo[W
     ɓ܂.

AUTHOR
      ޗR (nayuta@is.s.u-tokyo.ac.jp)

BUGS
     termcap/terminfo ͎QƂĂȂ̂ł܂ɂȂȂ[ 
     ܂.





GANAware          Last change: 1998 N 2  9                 3






hex(1)                    User Commands                    hex(1)



     {̎ʂ͂܂ (ʂӖȂ).

     o    . (F 1 ƂɕtĂ邵, o͂
     *iso-2022-jp* ̎, ^[(J Ȃǂ 1 Ƃɏo͂Ă)

     pJi̋̕ (*euc-japan* Ȃ 0x8e 0xa0 ,  *sjis*
         0xa0  , *iso-2022-jp* Ȃ 0x20 ) ͕ʂ̋ (
     0x20 ) ŕ\܂.

     Windows95 ł͕IɐFoȂƂ .  (Windows95
     ̃oO ?)

     *iso-2022-jp* ƌĂ܂, ⏕͕\܂.










































GANAware          Last change: 1998 N 2  9                 4