tkman works/doesn't work [hpux9] 
Author Message
 tkman works/doesn't work [hpux9]

I am trying to get tkman 1.5 to run (tcl 7.3/tk 3.6, hpux9).

It actually works fine if I invoke it explicitly via:

wish -f tkman

however, if I just try to execute tkman itself, relying on the #! directive,
I get

tkman: syntax error at line 2 : `(' unexpected

A head of tkman reveals:

#! /bigdisk/users/clay/gnu/bin/wish -f
set manx(version) 1.5
set man(zcat) zcat
set man(compress) gzip
set man(format) {tbl | neqn | nroff -man | col}
set man(print) {psroff -man}
set man(catprint) lpr
set man(mandir) man

still, that it works when invoked from wish -f tkman is a puzzle to me.

Thanks for any hints.

Later.

--
Clay Luther                                       Systems Buddha

(214)447-8368                                     This is my comeuppance.  .



Mon, 09 Jun 1997 03:47:17 GMT  
 tkman works/doesn't work [hpux9]
Quote:
> I am trying to get tkman 1.5 to run (tcl 7.3/tk 3.6, hpux9).

> It actually works fine if I invoke it explicitly via:

> wish -f tkman

> however, if I just try to execute tkman itself, relying on the #! directive,
> I get

> tkman: syntax error at line 2 : `(' unexpected

> A head of tkman reveals:

> #! /bigdisk/users/clay/gnu/bin/wish -f
> set manx(version) 1.5
> set man(zcat) zcat

...

The #! syntax can only handle paths of 30 characters or less.  Yours is 33+.
(I'm not sure if the -f counts or not.)  I've added a note on this in
TkMan 1.6's Makefile.

# Tk's wish MUST be compiled with Tcl 7.0/Tk 3.3 or later versions
# (pathname should be less than 25 or so characters)
#               1         2     |if name meets or passes vertical bar,
#      1234567890123456789012345|the wish path is too long
WISH = /usr/sww/X11/bin/wish

-Tom
--



Mon, 09 Jun 1997 04:39:26 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. EAI works (or doesn't work) differently under different platforms

2. BLT installs but doesn't work, and TkTable doesn't build

3. Can't get tkman to work on Linux (tcl7.5/tk4.1)

4. Tknews, Tkman don't work on Sun (long)

5. match works, don't match doesn't

6. Bevel Buttons' icon doesn't work

7. re.LOCALE | re.IGNORECASE doesn't work as you'd expect

8. expect's full_buffer doesn't seem to work

9. [entry]'s -disabledforeground doesn't work

10. += doesn't work in python cgi's

11. WININET doesn't always work

12. Interrupt doesn't work after UI trouble

 

 
Powered by phpBB® Forum Software