- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- tcsh 6.11 (and higher) is busted on ia64 11.23 (up...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2005 03:51 AM
06-17-2005 03:51 AM
We have tcsh 6.12 installed from the TC-OpenSource Bundle (from Internet Express A.02.00). When tcsh is started, it returns the error "tcsh: using dumb terminal settings." Setting the TERM variable to anything sane (ie: xterm or vt100) returns the same error each time. And term capabilities are broken. I checked terminfo, and it's there as expected (/usr/share/lib/terminfo). I also ran tusc (truss) on this version of tcsh and found that it does attempt to open the terminfo files and seems to be OK...right after opening libxcurses. I can include the output from tusc if need be.
Moving right along, I promptly removed the version of tcsh from TC-OpenSource, thinking it was flawed. I installed the version from the Software and Porting archive. I tried version 6.14. Same error. Hrrmmm. I tried a few older versions that I had laying around from the same site. Same error. Until I go back to 6.10 from 11.22. And then it works. However, 6.10 has a bug which causes it to not handle large files (2GB) in wildcard expansion. So... 6.10 is not an option.
I also tried installing (and uninstalling)OpenSource termcap from the Porting Archive. But tusc shows no attempt to open the /usr/local version of termcap or terminfo. It wants to use HP-UX native terminfo in /usr/share/lib. So that trail got cold real quick.
I tried diagnostics on 3 different systems too, so it's not just a possible terminfo corruption on one system.
Finally, I had to settle with using the PA-RISC version of 6.13. It obviously runs in Aries emulation mode. And it works properly, letting me set TERM and terminal capabilities are completely functional. It also handles large files correctly. But I don't want to rely on using the PA-RISC version on a ia64 box forever!
So my question is, has anybody else noticed that the ia64 version of tcsh > 6.10 is busted on ia64 11.23 as far as terminal type setting is concerned?
And does anybody know *why* it is busted?
Thanks!!!!!!
Solved! Go to Solution.
- Tags:
- tcsh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2005 09:44 PM
06-17-2005 09:44 PM
Solutioni = tgetent(bp, ptr);
if (i <= 0) {
if (i == -1) {
#if (SYSVREL == 0) || defined(IRIS3D)
xprintf(CGETS(7, 20, "%s: Cannot open /etc/termcap.\n"), progname);
}
else if (i == 0) {
#endif /* SYSVREL */
xprintf(CGETS(7, 21,
"%s: No entry for terminal type \"%s\"\n"), progname,
getenv("TERM"));
}
xprintf(CGETS(7, 22, "%s: using dumb terminal settings.\n"), progname);
...
Now according to tgetent man page, it returns -1 if error occurs and 0 if all goes well. So tgetent success on 11.23 ia64 is interpreted as failure in tcsh source code.
i = tgetent(bp, ptr);
if (i <= 0) {
needs to be changed to
i = tgetent(bp, ptr);
if (i < 0) {
So no matter what you set TERM to it won't help you.
- Tags:
- tgetent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2005 02:15 AM
06-20-2005 02:15 AM
Re: tcsh 6.11 (and higher) is busted on ia64 11.23 (update 2)
So.........
When is someone on the Porting and Archiving site (or the maintainer of tcsh) going to fix this bug? I'll look around for correct place to submit bugs. What's funny is that it's been broken since tcsh 6.11+ and nobody else noticed this? Or did something change with HP-UX as of 11.23?... And even funnier is that the PA-RISC version WORKS...which I imagine is based on the same code base. Weird. Weird. Weird. Thanks for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2005 02:21 AM
06-20-2005 02:21 AM
Re: tcsh 6.11 (and higher) is busted on ia64 11.23 (update 2)
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2005 07:38 AM
06-20-2005 07:38 AM
Re: tcsh 6.11 (and higher) is busted on ia64 11.23 (update 2)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2005 05:51 PM
06-20-2005 05:51 PM
Re: tcsh 6.11 (and higher) is busted on ia64 11.23 (update 2)
As far as I can see tgetent() from libtermcap returns 1 on success, whereas tgetent() from libcurses returns 0 on success.
PA-RISC boxes (even 11.23) still include libtermcap.a (static) in /usr/lib. I think 11.23 Itanium systems don't come with libtermcap any longer.
That is probably why PA-RISC version of tcsh works, as it was linked with libtermcap library.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2005 11:52 AM
06-25-2005 11:52 AM
Re: tcsh 6.11 (and higher) is busted on ia64 11.23 (update 2)
have you tried tcsh 6.14 and termcap. both from Porting Archive?
cause tcsh 6.14 from P-A on HPUX 11.11:
tcsh: No entry for terminal type "xterm"
tcsh: using dumb terminal settings.
but with termcap-1.3.1 from P-A it is ok.
/br
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2005 10:22 AM
07-01-2005 10:22 AM
Re: tcsh 6.11 (and higher) is busted on ia64 11.23 (update 2)
"...also tried installing (and uninstalling)OpenSource termcap from the Porting Archive. But tusc shows no attempt to open the /usr/local version of termcap or terminfo. It wants to use HP-UX native terminfo in /usr/share/lib. So that trail got cold real quick."
Indeed I left the termcap library installed the whole time (trying all versions of tcsh) and then removed it and tried again. Since the PA-RISC version works, and the ia64 version does not (no matter if OpenSource termcap is installed or not), it certainly appears to be the curses library issue identified in the previous postings. And my tusc research confirms this (the ia64 version does not even try to open termcap, it uses curses directly). The tcsh code itself needs fixed or the ia64 version needs linked against the equivalent libraries that the PA-RISC version uses (not trivial because termcap has been obsoleted and replaced by native HP-UX curses libraries on 11.23 ia64, so I don't even think that is a solution). Basically it appears we need to wait for someone to fix the tsch source code to handle the correct return value of the aforementioned function.
Good suggestion to check the termcap stuff though...which was my first thought as well...until after I fought with it for hours and realized that ia64 isn't even trying to open termcap! Interesting, eh?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 08:35 PM
08-24-2005 08:35 PM
Re: tcsh 6.11 (and higher) is busted on ia64 11.23 (update 2)
So, are there any solutions in sight?
Tom, if you've found a solution in the meantime, please share it!
Thanks,
Fritz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 08:55 PM
08-24-2005 08:55 PM
Re: tcsh 6.11 (and higher) is busted on ia64 11.23 (update 2)
Thanks Ermin! (I too would have given 10 points!)