--- Em [email protected], "campos.otavio" <[EMAIL PROTECTED]> escreveu > > Olá pessoal do forum estou precisando que o Kurumin entenda caracteres > em japonês. Ao fazer uma busca pela net achei algo util para mim no site > http://www.geocities.com/claudia_enk/kurujp.html, ai me passou uma ideia > de automatizar a dica da Claudia fazendo um script e resolvi posta ele > aqui para que vcs possam dar uma olhada nele para ver se não contem > algum erro. > Segue abaixo o script: > > !/bin/bash > > #Script de instalação de fontes em Japones para leitura e escrita. > #Esse script foi feito com base no tutorial da > Claudia(http://www.geocites.com/claudia_enk/kurujp.html). > #Script versão 1.0 > > #Estamos fazendo um update > apt-get update > > #Instalando fontes basicas para modo texto > apt-get install xfonts-base > > #Instalando as fontes orietais > apt-get install asiya24-vfont > apt-get install cjk-latex > apt-get install dvi2ps-fontdata-three > apt-get install dvips-fontdata-n2bk > apt-get install emacs-intl-fonts > apt-get install gsfonts-wadalab-common > apt-get install gsfonts-wadalab-gothic > apt-get install gsfonts-wadalab-mincho > apt-get install hbf-kanji48 > apt-get install konfont > apt-get install langdrill > apt-get install ttf-arphic-ukai > apt-get install ttf-arphic-uming > apt-get install ttf-kochi-gothic > apt-get install ttf-kochi-mincho > apt-get install ttf-sazanami-gothic > apt-get install ttf-sazanami-mincho > apt-get install xfonts-a12k12 > apt-get install xfonts-ayu > apt-get install xfonts-intl-japanese > apt-get install xfonts-intl-japanese-big > apt-get install xfonts-kaname > apt-get install xfonts-kappa20 > apt-get install xfonts-marumoji > apt-get install xfonts-mplus > apt-get install xfonts-shinonome > apt-get install cmap-adobe-japan1 > apt-get install cmap-adobe-japan2 > apt-get install gs-cjk-resource > apt-get install ttf-kochi-gothic-naga10 > apt-get install ttf-kochi-mincho-naga10 > apt-get install ttf-mikachan > apt-get install xfonts-naga10 > apt-get install dvilib2 > apt-get install dvilib2-dev > > #Instalando os modos de escrita no sistema > apt-get install ack > apt-get install anthy > apt-get install anthy-el > apt-get install canna > apt-get install canna-utils > apt-get install freewnn-common > apt-get install freewnn-jserver > apt-get install iiimf-htt-le-canna > apt-get install im-switch > apt-get install jless > apt-get install juman > apt-get install kasumi > apt-get install kinput2-canna > apt-get install kinput2-canna-wnn > apt-get install kinput2-wnn > apt-get install language-env > apt-get install libanthy-dev > apt-get install libanthy0 > apt-get install libcanna1g > apt-get install libcanna1g-dev > apt-get install libuim0-nox > apt-get install mecab > apt-get install ng-cjk-canna > apt-get install pkf > apt-get install prime > apt-get install prime-dict > apt-get install prime-el > apt-get install scim-anthy > apt-get install scim-canna > apt-get install scim-prime > apt-get install scim-skk > apt-get install scim-tables-ja > apt-get install skkfep > apt-get install skkinput > apt-get install skktools > apt-get install t-code > apt-get install user-ja > apt-get install xemacs21-gnome-mule > apt-get install xemacs21-mule > apt-get install yasgml > apt-get install yc-el > apt-get install zhcon > apt-get install atokx2 > apt-get install wnn7egg > apt-get install ddskk > apt-get install libuim0 > apt-get install skk > apt-get install skkserv > apt-get install uim > > #Instalando o Scim > apt-get install im-switch > apt-get install kmflcomp > apt-get install libchewing-data > apt-get install libchewing2 > apt-get install libchewing2-dev > apt-get install libkmfl-dev > apt-get install libkmfl0 > apt-get install libkmflcomp-dev > apt-get install libkmflcomp0 > apt-get install scim-anthy > apt-get install scim-canna > apt-get install scim-chinese > apt-get install scim-hangul > apt-get install scim-m17n > apt-get install scim-modules-table > apt-get install scim-pinyin > apt-get install scim-prime > apt-get install scim-skk > apt-get install scim-tables-additional > apt-get install scim-tables-ja > apt-get install scim-tables-ko > apt-get install scim-tables-zh > apt-get install skim > apt-get install libscim-dev > apt-get install libscim8c2a > apt-get install mlterm-im-scim > apt-get install scim > apt-get install scim-chewing > apt-get install scim-dev > apt-get install scim-dev-doc > apt-get install scim-gtk2-immodule > apt-get install scim-modules-socket > apt-get install scim-uim > > #Configurando o Scim > cp /etc/gtk-2.0/gtk.immodules /etc/gtk-2.0/copia_gtk.immodules > gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules > echo >> /etc/environment > echo 'XIM_PROGRAM="scim -d" GTK_IM_MODULE="scim" QT_IM_MODULE=scim' >> > /etc/environment > echo 'export LC_CTYPE=en_US.UTF-8' >> /etc/environment > echo 'export XMODIFIERS="@im=SCIM"' >> /etc/environment > echo 'scim -d' >> /etc/environment > echo 'kwrite' >> /etc/environment >
Ola pessoal do forum ao executar o script nessecitei confirma cada instalação no sitema, como eu fasso para fazer a confirmação automaticamente? Durante a execução do script algo deu errado olha o erro: =================================================================== falha em buffer_write(fd) (8, ret=-1): backend dpkg-deb durante `./usr/share/texmf/fonts/tfm/ptex/three/mgoth6.tfm': Não há espaço disponível no dispositivo dpkg-deb: subprocesso paste morto por sinal (Pipe quebrado) dpkg: gravação do registro status sobre `wmaker' para `/var/lib/dpkg/status' falhou: Não há espaço disponível no dispositivo E: Sub-process /usr/bin/dpkg returned an error code (2) E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. cp: escrevendo `/etc/gtk-2.0/copia_gtk.immodules': Não há espaço disponível no dispositivo ==================================================================== Oque sera isso? Outra coisa que estou nessecitando e como fasso para fazer o download desses arquivos e salvar em um diretorio, pois assim posso salvar em CD e instalar no Pc de meus colegas pelo apt-cdrom. --------------------------------------------------------------------- Esta lista não admite a abordagem de outras liguagens de programação, como perl, C etc. Quem insistir em não seguir esta regra será moderado sem prévio aviso. --------------------------------------------------------------------- Sair da lista: [EMAIL PROTECTED] --------------------------------------------------------------------- Esta lista é moderada de acordo com o previsto em http://www.listas-discussao.cjb.net --------------------------------------------------------------------- Servidor Newsgroup da lista: news.gmane.org Grupo: gmane.org.user-groups.programming.shell.brazil Links do Yahoo! Grupos <*> Para visitar o site do seu grupo na web, acesse: http://br.groups.yahoo.com/group/shell-script/ <*> Para sair deste grupo, envie um e-mail para: [EMAIL PROTECTED] <*> O uso que você faz do Yahoo! Grupos está sujeito aos: http://br.yahoo.com/info/utos.html
