Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Ilya Anfimov                         2:5020/400     30 Jan 2005  23:08:33
 To : Valentin Nechayev
 Subject : Re: xterm & erase
 -------------------------------------------------------------------------------- 
 
 2005-01-30, 
 Valentin Nechayev <netch@segfault.kiev.ua> пишет:
 
 >>>> Ilya Anfimov wrote: 
 >
 >>> Hу я говорил о том же, когда упоминал особенности Linux (точнее, RedHat
 >>> и последователей).
 >
 > IA>  В Debian это в policy зафигачили. Козлы. Первые правки,
 > IA> после того как X11 встало: вернуть backarrow в ресурсах, поставить
 > IA> Раймондовский terminfo и 
 >
 > IA> tty  >/dev/null 2>&1  && stty erase "`tput kbs`" 
 >
 > IA> во все профили, до которых руки дотянутся.
 >
 > Догуглил вот до такого:
 >
 >==={{{
 > How do you know you're using Unix?
 >
 > "Because the backspace key doesn't work" -seen on Slashdot
 >===}}}
 >
 > Мрачно. Может, докопаюсь, кто основатель этого бардака...
  Hижеприведённое  является  результатом поисков для подтверждения
 гипотезы, что во всём виноват Emacs (который лет десять  вызывал
 help по ^H), потому может не отражать реальность:
    Группы новостей:
    [14]gnu.emacs.help, [15]comp.emacs
    Дата:1991-06-20 16:32:20 PST
 [To find what has changed, view the "differences" posting.  To view a list
 of questions, see the instructions below.]
 
 This is a list of frequently asked questions (FAQ) about GNU Emacs with
 answers.  The FAQ is posted to reduce the noise level in the
 "gnu.emacs.help" newsgroup (also the "help-gnu-emacs@prep.ai.mit.edu"
 mailing list) resulting from question repetition.  It is crossposted to
 "comp.emacs" because so many news readers do not receive the "gnu.*"
 newsgroups.
 
 .....................
 [skipped]
 .....................
 
 47: Why does the "Backspace" key invoke help?
 
   The Backspace key (on every keyboard I've used) sends ASCII code 8.  C-h
   sends the same code.  In Emacs by default C-h invokes "help-command".
   The easiest solution to this problem is to use C-h (and Backspace) for
   help and DEL (the Delete key) for deleting the previous character.
 
   For some people this solution may be problematic:
 
   1. They normally use Backspace outside of Emacs for deleting the
      previous character typed.  This can be solved by making DEL be the
      command for deleting the previous character outside of Emacs.  This
      command will do this on many Unix systems:
 
        stty erase '^?'
 
   2. The person may prefer using the Backspace key for deleting the
      previous character because it is more conveniently located on their
      keyboard or because they don't even have a separate Delete key.  In
      this case, the best solution is to swap C-h and DEL:
 
        (swap-keys ?\C-h ?\C-?)
 
      See question 46 for the implementation of swap-keys.
 
 48: How do I type DEL on PC terminal emulators?
 
   Someone whose name I forgot wrote:
 
   Most PCs have deficient keyboards that don't have both Backspace and
   Delete keys.  Whether C-h (backspace) or DEL is generated by the
   "Backspace" key varies from one terminal emulator to another.  If you're
   lucky, you can reconfigure the keyboard so that it generates DEL.  If
   not, you will have to hunt to figure out what keystroke will do it ---
   possibilities include various shifted and controlled versions of
   "Backspace", the "Del" key on the numeric keypad (which might depend on
   "Shift" or "NumLock"), or perhaps C-? (Control-?).
 
   If this is too hard, you may want to swap the delete key with some other
   key.  See question 47.
 --- ifmail v.2.15dev5.3
  * Origin: Demos online service (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Re: xterm & erase   Valentin Nechayev   27 Jan 2005 20:20:37 
 Re: xterm & erase   Ilya Anfimov   27 Jan 2005 21:05:52 
 Re: xterm & erase   Valentin Nechayev   27 Jan 2005 23:22:09 
 Re: xterm & erase   Ilya Anfimov   28 Jan 2005 00:55:05 
 Re: xterm & erase   Valentin Nechayev   30 Jan 2005 14:49:13 
 xterm & erase   Slawa Olhovchenkov   30 Jan 2005 15:15:30 
 Re: xterm & erase   Valentin Nechayev   30 Jan 2005 17:29:44 
 xterm & erase   Slawa Olhovchenkov   30 Jan 2005 18:04:06 
 Re: xterm & erase   Valentin Nechayev   30 Jan 2005 19:32:35 
 Re: xterm & erase   Valentin Nechayev   30 Jan 2005 19:36:08 
 xterm & erase   Slawa Olhovchenkov   30 Jan 2005 19:48:10 
 Re: xterm & erase   Valentin Nechayev   30 Jan 2005 20:30:41 
 xterm & erase   Slawa Olhovchenkov   30 Jan 2005 20:38:28 
 Re: xterm & erase   Valentin Nechayev   30 Jan 2005 21:01:50 
 xterm & erase   Slawa Olhovchenkov   30 Jan 2005 21:10:12 
 Re: xterm & erase   Valentin Nechayev   30 Jan 2005 21:16:41 
 xterm & erase   Slawa Olhovchenkov   30 Jan 2005 21:27:14 
 xterm & erase   Valentin Nechayev   30 Jan 2005 20:48:16 
 xterm & erase   Slawa Olhovchenkov   30 Jan 2005 22:08:08 
 Re: xterm & erase   Valeriy E. Ushakov   30 Jan 2005 22:29:32 
 Re: xterm & erase   Ilya Anfimov   30 Jan 2005 23:14:10 
 xterm & erase   Slawa Olhovchenkov   30 Jan 2005 19:49:40 
 Re: xterm & erase   Valentin Nechayev   30 Jan 2005 20:39:23 
 xterm & erase   Slawa Olhovchenkov   30 Jan 2005 20:42:58 
 Re: xterm & erase   Valentin Nechayev   30 Jan 2005 21:16:10 
 xterm & erase   Slawa Olhovchenkov   30 Jan 2005 21:28:26 
 xterm & erase   Valentin Nechayev   30 Jan 2005 20:50:02 
 xterm & erase   Slawa Olhovchenkov   30 Jan 2005 22:27:08 
 Re: xterm & erase   Valentin Nechayev   30 Jan 2005 22:52:50 
 Re: xterm & erase   Valeriy E. Ushakov   30 Jan 2005 22:41:50 
 Re: xterm & erase   Valentin Nechayev   30 Jan 2005 22:48:22 
 xterm & erase   Slawa Olhovchenkov   30 Jan 2005 22:53:48 
 Re: xterm & erase   Ilya Anfimov   30 Jan 2005 23:08:33 
Архивное /ru.unix.bsd/19170be8e1ffc.html, оценка 1 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional