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.
|
|