Visualizzazione dei risultati da 1 a 3 su 3
  1. #1
    Utente di HTML.it L'avatar di alkat
    Registrato dal
    Jan 2004
    Messaggi
    4,189

    impostare editor preferito in debconf

    ciao,
    debconf ha deciso che il mio editor preferito è vim... ma io non lo so manco usare e quindi vorrei cambiarlo: come si fa?

    posso impostare emacs o nano come editor per debconf?

    .a.
    Passa a Windows, Linux, Mac, BSD, Atari, Amiga, Unix o alle schede perforate. Fa come ti pare.
    ***
    "There's probably no God. Now stop worrying and enjoy your life" - Atheist Bus in England

  2. #2
    Ho trovato questo:

    Use update-alternatives --config editor to change the default editor. Also, many programs use environment variables EDITOR or VISUAL to decide which editor to use
    Also, many programs use environment variables EDITOR or VISUAL to decide which editor to use. If you are uncomfortable with vim, set these to mcedit by adding these lines to ~/.bashrc:

    ...
    export EDITOR=mcedit
    export VISUAL=mcedit

    dovrebbero andare!

  3. #3
    Utente di HTML.it L'avatar di alkat
    Registrato dal
    Jan 2004
    Messaggi
    4,189
    ho provato con il primo, tutto ok!

    thanks,
    .a.
    Passa a Windows, Linux, Mac, BSD, Atari, Amiga, Unix o alle schede perforate. Fa come ti pare.
    ***
    "There's probably no God. Now stop worrying and enjoy your life" - Atheist Bus in England

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.