diff options
author | Georg Brandl <georg@python.org> | 2010-10-26 10:39:14 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-10-26 10:39:14 +0000 |
commit | f19ff1ea7dcc21776b939e02a481a1ddac3a8c8c (patch) | |
tree | d522816f9bf3e8a0bfc87e04a10f8b7ddce2975d /Demo/tkinter/guido/tkman.py | |
parent | 19208900f4c0e4a35a749029db7d54a8a0bda1e7 (diff) | |
download | cpython-git-f19ff1ea7dcc21776b939e02a481a1ddac3a8c8c.tar.gz |
Work a bit more on tkinter demos.
Diffstat (limited to 'Demo/tkinter/guido/tkman.py')
-rwxr-xr-x | Demo/tkinter/guido/tkman.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Demo/tkinter/guido/tkman.py b/Demo/tkinter/guido/tkman.py index c50258e95f..c7081a6d5a 100755 --- a/Demo/tkinter/guido/tkman.py +++ b/Demo/tkinter/guido/tkman.py @@ -7,10 +7,10 @@ import re import sys from tkinter import * -from ManPage import ManPage +from manpage import ManPage -MANNDIRLIST = ['/depot/sundry/man/mann','/usr/local/man/mann'] -MAN3DIRLIST = ['/depot/sundry/man/man3','/usr/local/man/man3'] +MANNDIRLIST = ['/usr/local/man/mann', '/usr/share/man/mann'] +MAN3DIRLIST = ['/usr/local/man/man3', '/usr/share/man/man3'] foundmanndir = 0 for dir in MANNDIRLIST: @@ -197,7 +197,7 @@ class SelectionBox: def show_page(self, name): file = '%s/%s.?' % (self.chaptervar.get(), name) - fp = os.popen('nroff -man %s | ul -i' % file, 'r') + fp = os.popen('nroff -man -c %s | ul -i' % file, 'r') self.text.kill() self.title['text'] = name self.text.parsefile(fp) |