[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [linux-team] Emacs
Ce doit etre l'XTerm... quid si tu fais
setenv TERM vt100
avant de lancer emacs -nw ?
fred
Jean-Francois Straeten wrote:
>
> On Sat, Jul 22, 2000 at 11:32:23PM +0200, Pascal A. Dupuis wrote:
>
> > > Quelqu'un se souvient des instuctions à utiliser pour empêcher la touche
> > > backspace de produire un C-h dans Emacs ??
> > Bienvenue au club. C'est en effet extrêmement irritant. D'autant plus que
> > le shell y ajoute son grain de sel.
> :-)
>
> > essaie :
> > pour emacs sous console :
> > (cond ((string= "linux" term) ; linux consoles
> Emacs gueule ici : "Symbol's value as variable is void : term"
>
> > (global-unset-key [backspace] )
> > (global-set-key [backspace] 'delete-backward-char)
> > (global-unset-key [delete] )
> > (global-set-key [delete] 'delete-char)
> > (global-set-key [?\M-?] 'help-command)))
> Et ne prend pas la suite.
>
> > ;; Code specific to Emacs 19 under terminal
> > ))
> La version, c'est 20.1.6 ici, je ne sais pas si c'est important.
> J'ai essayé de tripoter un peu la condition, mais ça ne change rien à
> l'affaire.
>
> Sous XEmacs, ça marche.
> En fait, si je résume, c'est juste quand je lance emacs -nw
> **dans un xterm sous X** que le bkspace produit un C-h, tout va bien sinon.
>
> XEmacs -> no problem
> Emacs en console -> no problem
> Emacs sous X (donc sans -nw) -> no problem
> Emacs dans un xterm (-nw) : ici ça ne va pas.
>
> Ca semble donc lié à l'xterm...
>
> Oui, je viens d'essayer avec wterm, ça ne pose pas de problème.
>
> Une idée ?
>
> --
>
> J.-F. STRAETEN
>
> ---
> Mutt 1.0.1i.
> Powered by SuSE Linux 6.4
>
> --------
> Visit the Linux Supertore Online: http://www.redcorp.com !
> If you want to be deleted from the list, send a mail to
> majordomo@rtfm.be with "unsubscribe linux-team" in the body.
> Archive of the list: http://tania.be.linux.org/
--
------------------------- * oOo * -------------------------
Frederic Detienne
Cisco Systems Escalation Engineer
Security & Network Services
Tel 32 2 704 55 55
--------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.
Archive of the list: http://tania.be.linux.org/