Here are Emacs definitions that let you display line numbers to
the left of buffers (screen-shot).
Download either:
Copy the appropriate linum.el to your load-path and add to your .emacs:
(require 'linum)
Then toggle display of line numbers with M-x linum-mode.
Main page