On 07.12.2014 16:57, Bob Goodwin - Zuni, Virginia, USA wrote:
On 12/07/14 10:18, Bob Marcan wrote:
> cp /bin/tkremind /tmp
> cd /tmp
> patch < patch.file.name
> ./tkremind
>
> BR, Bob
Well, if nothing else I've learned that "patch" is a bash command and
has a man page.
But I am still doing something wrong:
[root@box10 tmp]# patch < --- tkremind.ORG2014-12-07 13:28:30.822795726
+0100
bash: ---: No such file or directory
[root@box10 tmp]# +++ tkremind 2014-12-07 13:40:53.548990817 +0100
bash: +++: command not found...
[root@box10 tmp]# @@ -2922,6 +2922,8 @@
bash: @@: command not found...
[root@box10 tmp]# proc SetFonts {} {
bash: proc: command not found...
[root@box10 tmp]# global SetFontsWorked
bash: global: command not found...
[root@box10 tmp]# set h [winfo screenheight .]
[root@box10 tmp]# + font configure TkDefaultFont -weight bold
bash: +: command not found...
[root@box10 tmp]# + font configure TkFixedFont -weight bold
bash: +: command not found...
[root@box10 tmp]# if {$h <= 480} {
> # Small screen (maybe eeepc?)
> font configure TkDefaultFont -size 6
>
It may be obvious to you, I hope, but don't know ...
Thanks,
Bob
You can add these two lines(without pluses) directly to a file(/bin/tkremind), copy/paste
method.
Otherwise, in this case
# cp /bin/tkremind /bin/tkremind-bkp
# patch /bin/tkremind patchfile