Man Linux: Main Page and Category List


       display-dhammapada - display a verse from the Dhammapada


       display-dhammapada [-r | -m | -b | -pl] [<number> | all]
       dhamma [-r | -m | -b | -pl] [<number> | all]
       xdhamma [<number>]


       -r      Use John Richard’s translation (default)

       -m      Use F. Max Muller’s translation

       -b      Display the same verse(s) from both

       -pl     Use Polish language translation

               specify the number of the verse(s) to display

       all     display all file at once

       With no arguments a random verse is printed.


       The  Dhammapada  is  an anthology of 423 verses from the Kuddaka Nikaya
       part of the Theravada Pali Canon.  It  contains  Buddhist  ethical  and
       spiritual  precepts.   One of the translations is by John Richards; the
       other is an older translation by F. Max Muller. Polish  translation  is
       by Zbigniew Becker.

       display-dhammapada prints to the standard output.

       xdhamma  prints  using xmessage on an X Window screen, or in bold using
       tputs on a text terminal.


       To display a verse each time you log in on  a  terminal,  put  display-
       dhammapada  or xdhamma in your ~/.profile, ~/.bash_profile or ~/.login,
       as appropriate for your shell.

       To display a verse each time you log in on X  Window,  put  xdhamma  in
       your ~/.xsession.

       KDE  2.1  has  "amor"  toy  that  can display various tips.  To use the
       dhammapada for that enter these commands at shell prompt:

       mkdir ~/.kde/share/apps/amor
       display-dhammapada -r  all  |perl  -0777  -pe  ’s/\n\s*\n\s*\n/\n%\n/g’

       Then  start  amor  K->Toys->Amor, right click on amor animation, select
       "Options" and select "Allow application tips" and "Show random tips".

       Use gtk-dhammapada to display verse in GTK window.

       To automatically attach Dhammapada verse in e-mail footer. To  do  this
       in mutt add set signature=display-dhammapada| in your ~/.muttrc file.




       xmessage(1), tput(1).


       You  may found that xmessage and hence xdhamma is broken on XFree 4.0x.


       Program:   Copyright   (C)   January   1997-2003   by   Richard   Cepas
       <> and contributors, placed in the public domain.

       Richards’  English  translation  of  the Dhammapada: Copyright (C) 1993
       John Richards, Pembrokeshire (UK), permission  granted  for  use  here.

       Muller’s  translation  of  the  Dhammapada:  Public  Domain,  used here
       courtesy of Project Gutenberg.

       Polish translation (by Zbigniew Becker): Public Domain, as explained at
       See also

                               late 20th century         DISPLAY-DHAMMAPADA(1)