由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - hex edit in xemacs?
相关主题
some wtRe: xemacs ?
Re: 怎么在bash script里面改变xterm窗口的标题?请教How to adjust man output?
Emacs question.HELP: how run a lisp program?
请教一个emacs的问题How to see line number in Emacs
一个奇怪的现象!How to save XEmacs options?
How to debug C program in Unixhow to install speedbar on xemacs?
a low_hand_question about emacs.能在xemacs中把Del键设成删除光标后的字符的功能键吗
xemacs 里如何设置让它显示行号?EMACS 求教
相关话题的讨论汇总
话题: esc话题: xemacs话题: hex话题: key话题: edit
进入Unix版参与讨论
1 (共1页)
j***y
发帖数: 2074
1
hi, all:
can i do hex edit to a file with xemacs? like ultraedit in windows?
thanks,
w*******o
发帖数: 32
2

M-x hexl-......

【在 j***y 的大作中提到】
: hi, all:
: can i do hex edit to a file with xemacs? like ultraedit in windows?
: thanks,

j***y
发帖数: 2074
3
can you be more detailed with this command?
for example, in xterm, i typed xemacs, then it is started, then how?
thanks,

【在 w*******o 的大作中提到】
:
: M-x hexl-......

w*******o
发帖数: 32
4

M-x hexl-find-file
for first time users, type `C-h m' to see the useful key bindings
after you are in hexl-mode.

【在 j***y 的大作中提到】
: can you be more detailed with this command?
: for example, in xterm, i typed xemacs, then it is started, then how?
: thanks,

j***y
发帖数: 2074
5
what does this "M" stand for?

【在 w*******o 的大作中提到】
:
: M-x hexl-find-file
: for first time users, type `C-h m' to see the useful key bindings
: after you are in hexl-mode.

r********s
发帖数: 179
6
"Meta", It is "Alt" in practice.

【在 j***y 的大作中提到】
: what does this "M" stand for?
D****g
发帖数: 2860
7
Sun的键盘就不是alt,hehe.

【在 r********s 的大作中提到】
: "Meta", It is "Alt" in practice.
j***y
发帖数: 2074
8
in PC, i found it is Esc.
now i can see a file in hex mode, but when i try to insert a hex byte,
for example, i typed in C-M-x, then type a number 41, to wish it can
be inserted into the file, but it always says:
Point is not on a character in the file
what's wrong with my operation?

【在 D****g 的大作中提到】
: Sun的键盘就不是alt,hehe.
D****g
发帖数: 2860
9
ESC is an alternative. It should work for all platform and keyboard.

【在 j***y 的大作中提到】
: in PC, i found it is Esc.
: now i can see a file in hex mode, but when i try to insert a hex byte,
: for example, i typed in C-M-x, then type a number 41, to wish it can
: be inserted into the file, but it always says:
: Point is not on a character in the file
: what's wrong with my operation?

q*****m
发帖数: 73
10
That's not true. The keyboard I am using right now don't have ESC.

【在 D****g 的大作中提到】
: ESC is an alternative. It should work for all platform and keyboard.
w*******o
发帖数: 32
11

Meta key, like Ctrl key.
It was a legacy key on mainframes used in MIT during 1970s.
Now on PCs, it is normally mapped to Alt key.
If Alt key doesn't work, then try pressing ESC as prefix

【在 j***y 的大作中提到】
: what does this "M" stand for?
w*******o
发帖数: 32
12

You should read Emacs tutorial at first
C-h t
M- is a simultaneous key prefix, for example, for M-x, you must
press Meta key and x key at same time.
In some situation, your keyboard doesn't support M-.
Then Richard Stallman figured out an ESC prefix to replace M-.
But in this case, ESC must be released, i.e., M-x becomes `ESC x'.
For C-M-x, you need to do `ESC C-x'.

【在 j***y 的大作中提到】
: in PC, i found it is Esc.
: now i can see a file in hex mode, but when i try to insert a hex byte,
: for example, i typed in C-M-x, then type a number 41, to wish it can
: be inserted into the file, but it always says:
: Point is not on a character in the file
: what's wrong with my operation?

w*******o
发帖数: 32
13

Your keyboard is not standard.
ESC is a standard ASCII character, must be supported by standard keyboards.

【在 q*****m 的大作中提到】
: That's not true. The keyboard I am using right now don't have ESC.
D****g
发帖数: 2860
14
maybe a PDA keyboard :)

【在 w*******o 的大作中提到】
:
: Your keyboard is not standard.
: ESC is a standard ASCII character, must be supported by standard keyboards.

1 (共1页)
进入Unix版参与讨论
相关主题
EMACS 求教一个奇怪的现象!
XEmacs Shell 问题How to debug C program in Unix
how to display color for java or c mode in xemacsa low_hand_question about emacs.
大侠,请问如何在VI和XEMACS中对齐程序?xemacs 里如何设置让它显示行号?
some wtRe: xemacs ?
Re: 怎么在bash script里面改变xterm窗口的标题?请教How to adjust man output?
Emacs question.HELP: how run a lisp program?
请教一个emacs的问题How to see line number in Emacs
相关话题的讨论汇总
话题: esc话题: xemacs话题: hex话题: key话题: edit