• Autor
  • Contato
  • AboutMe
  • ContactMe
Tchello Blog by Marcelo Moreira de Mello
  • Posts
  • Contato
  • Autor
  • Flickr
  • GPG Key
  • RSS Feed
  • Twitter
  • Facebook

java Archive

5

Ambiente Bash Amigável

By
Marcelo Moreira de Mello
– 5 September, 2010

Olá amigos,

Há alguns dias atrás estava mexendo com um código escrito em Java. Para editá-lo, estava utilizando o bom e velho editor de texto vi/vim.  Até quero aproveitar o momento e compartilhar com todos o mapa de teclado dos comandos e ações que podemos fazer dentro do vi/vim.

VIm

Retornando ao assunto :) , toda vez que digitava o comando vim OlaMundo<tab> o ambiente bash me mostrava dois arquivos  OlaMundo.java e OlaMundo.Class.  OK, até aqui tudo normal!!! O problema era  ficar completando a linha de comando com .java ou j<tab> no final.  Até então é aceitável, porém no momento da compilação e execução do bytecode também tinha que mexer na linha de comando, tirando o ponto do nome do arquivo java OlaMundo. Vou tentar ilustrar melhor a situação com a figura abaixo:

Screenshot-Java

Read the rest of this entry »

Tweet
Tags: bash, bash amigável, bash-completion, fedora, fedora 13, java, javac, Posts, vi, vim
0

A Friendly Bash Environment

By
Marcelo Moreira de Mello
– 5 September, 2010

Howdy friends,

Some days ago I was writing some Java applications. To edit my apps, I was using the old and good vi/vim’s editor. Indeed, I wanna share with you guys the VIM’s keyboard map, which shows up some tricks in how to use the VI editor.

VIm

Coming back over the subject :) , always that I type the command  vim OlaMundo<tab> the bash environment show me up two files OlaMundo.java e OlaMundo.class. OK, everything normal till here!!! But the problem was exactly the need of typing always  .java ou j<tab> at the end of the command line. Still no problem till here, but always need to correct the command line at compiling or at bytecode execution time is a little boring. I’ll try to illustrate better with the image below:

Screenshot-Java

Read the rest of this entry »

Tweet
Tags: bash, bash-completion, java, javac, yield bash
  • Conecte-se / Follow us
  • Photos (view gallery)
    Clear WaterPowell Point - Grand Canyon National ParkColorful Beauty in the Dark DesertCactiThorns FlowerDesert FlowerNight Flashlights @ RDUVortex TreeFace in Rock - Sedona/AZSão Miguel das MissõesWhite WolfFirst BirthSunset @ San Antonio, TXOverlook Point at ArizonaSunset in SedonaBorn Brave
  • Últimos/Recent Posts
    • Spacewalk 1.6 Released
    • Sharing with fpaste.org
    • Compartilhe com fpaste.org
    • Sharing resources with Synergy
    • Compartilhando recursos com Synergy
    • Boleadoras Show in Porto Alegre/RS – Brazil :)
    • RHN Satellite Tips and Tricks – Red Hat Summit 2011 by Thomas Cameron
  • Tags
    atualizando fedora preupgrade bash bash-completion beta cpu hotplug habilitando cpu sob demanda cpuset dedicando cpu isolcpus cryptsetup pendrive criptografia evento universidade são caetano do sul certificações Red Hat f14 fedora fedora 14 fpaste glibc hug a developer iptables recent regras dinâmicas java javac kickstart instalação automatizada anaconda linux install system-config-kickstart kickstart pxe dhcp syslinux pxelinux.0 lemon pepper Linus Torvalds linux LinuxCon LinuxCon2010 linux configs mount journal writeback ordered ext3 tune2fs blkid mouse Oracle Personal Photograph Posts red hat redhat revista espírito livre blueproximity bluetooth rhel6 beta rlwrap segurança sound spacewalk sqlplus synergy tchelinux evento palestrantes puc rs vi vim workaround
  • Spacewalk Stats

    Ohloh profile for mmello


  • ESLAM 5
  • Blogroll
    • Alberto Silva
    • Dan Walsh
    • Dennis Gilmore
    • Douglas Landgraf
    • Flavio's Blog
    • Glauber Costa – glommer.net
    • Gustavo Duarte
    • Jeronimo Zucco
    • João Paulo de Lima Barbosa
    • Osmar Leão
    • Pablo Hess
    • Ricardo Ferreira
  • Arquivo/Archive

About Arras WordPress Theme

Tchello Blog

Stop SOPA