home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / gnu / emacs / help / 3503 < prev    next >
Encoding:
Text File  |  1992-07-26  |  2.3 KB  |  52 lines

  1. Xref: sparky gnu.emacs.help:3503 comp.sys.3b1:2947
  2. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!mips!mips!public!thad
  3. From: thad@public.BTR.COM (Thaddeus P. Floryan)
  4. Newsgroups: gnu.emacs.help,comp.sys.3b1
  5. Subject: Re: New user to EMACS on 3b1/PC7300 -- help!!
  6. Message-ID: <7518@public.BTR.COM>
  7. Date: 26 Jul 92 22:50:57 GMT
  8. References: <dburr.711951948@sbphy.physics.ucsb.edu>
  9. Followup-To: gnu.emacs.help
  10. Organization: BTR Public Access UNIX, Mountain View CA
  11. Lines: 39
  12.  
  13. In article <dburr.711951948@sbphy.physics.ucsb.edu> dburr@sbphy.physics.ucsb.edu writes:
  14. |Well, I decided to take the plunge, and I got Emacs running on my PC7300
  15. |(Unkx PC).  This is the GNU Emacs distribution at OSU-CIS, not the one
  16. |from The STORE!.
  17. |
  18. |So far, I like it.  It's pretty good.  But I do have a big problem.
  19. |
  20. |I am used to hitting the Backspace key (the one right next to the
  21. |Reset/Break button) to erase mistakes.  JOVE works this way, vi works
  22. |this way.  But, alas, EMACS doesn't.  It does some sort of help menu
  23. |thing.  To correct mistakes, I must use the DEL key, which is extremely
  24. |inconvenient (you have to hit shift while hitting ESC), and I'm not used
  25. |to that anyway.  I heard that there might be a way to "rebind" the
  26. |functionality of keys, but I don't know enough of EMACS to figure out how
  27. |to do it.  I would like to rebind the "delete" function to the backspace
  28. |key, and put the "help" function (or whatever function that backspace
  29. |normally does) into the DEL key (shift-ESC).  How do I do this?
  30. |[...]
  31.  
  32. Enclosed is my $HOME/.emacs file on all my 3B1, HP-UX, IRIX, and SunOS systems:
  33.  
  34. ---8<---cut here--->8---
  35. (global-set-key "\b"     'delete-backward-char)
  36. (global-set-key "\034"   'help-for-help)
  37. (global-set-key "\C-xv"  'shrink-window)
  38. (global-set-key "\C-x\\" 'overwrite-mode)
  39. (global-set-key "\C-x!"  'compare-windows)
  40. (global-set-key "\M-#"   'goto-line)
  41. (global-set-key "\M-s"   'center-line)
  42. (setq default-major-mode 'fundamental-mode)
  43. (setq inhibit-startup-message 1)
  44. ---8<---cut here--->8---
  45.  
  46. BTW, for those who saw "The STORE" and are assuming that's some commercial
  47. operation, it's not.  It used to be a free uucp site operated by AT&T for
  48. 3B1 owners; its former contents are now archived at ftp.uu.net and at
  49. archive.cis.ohio-state.edu in the pub/att7300 areas.
  50.  
  51. Thad Floryan [ thad@btr.com (OR) {decwrl, mips, fernwood}!btr!thad ]
  52.