|
2001-04-04
| ||
| 22:25 | • Closed ticket [413696ffff]: OS/400 compatibility patch 1 of 3 plus 8 other c... artifact: cd6cb4d91a user: dgp | |
| 22:21 | • Ticket [413696ffff]: 2 changes artifact: 39ff697685 user: dgp | |
| 20:33 | • Ticket [413696ffff]: 4 changes artifact: 42bd905763 user: smatzek | |
| 20:33 | • Add attachment init.tcl to ticket [413696ffff] artifact: 57bb0692fc user: smatzek | |
| 13:33 | • New ticket [413696ffff] OS/400 compatibility patch 1 of 3. artifact: cc13c09e73 user: smatzek | |
OS/400 compatibility patch 1 of 3
Closed / Invalid413696ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2001-04-04 13:33:37
The POSIX shell environment in OS/400 required a
change in tcl/lang/library/init.tcl to
call /usr/bin/sh instead of /bin/sh to set the path.
Without this fix all unrecognized commands are send to
the POSIX command line and some commands added by
extention are not recognized.
The change is in the unknown proc and is in this
snippet of code. The whole file has been attached.
if {$tcl_platform(host_platform) == "unix"} {
# Hack to get the PATH environmental var
on UNIX
if {! [info exists env(PATH)]} {
if {$tcl_platform(os) == "OS/400"} {
set env(PATH) [exec /usr/bin/sh -
c "echo \$PATH"]
} else {
set env(PATH) [exec /bin/sh -
c "echo \$PATH"]
}
}
This patch has been tested on OS/400 v4r4, v4r5, and
an early version of v5r1.
smatzekplain2001-04-04 20:33:39
File Added - 4946: init.tcl
dgp Ticket [413696ffff]: 2 changes
[History diff]2001-04-04 22:21:40
dgpplain2001-04-04 22:25:45
Logged In: YES user_id=80530 Upon closer examination, it looks like this, too, is part of Jacl. Contribute to the tcljava project.
Log in (anonymous is fine) to add a comment.
Attachments:
- init.tcl [download] added by smatzek on 2001-04-04 20:33:38. [details]