- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: less getting "WARNING: terminal is not fully f...
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
08-09-2006 03:15 PM
08-09-2006 03:15 PM
less getting "WARNING: terminal is not fully functional"
I have installed the less-394-ia64-11.23.depot from http://hpux.cs.utah.edu/ only whenever I go to use it I receive the error message:
WARNING: terminal is not fully functional
Inspection of the less source code suggests that is it missing termcap information however the terminal (in this case vt100) exists in /etc/termcap which is symbolically linked to /usr/share/lib/termcap. I have tried using infocmp -C vt100 and adding the full information to the termcap file to no avail.
Has anyone else had a similar issue like this?
The box in question is a relatively fresh install of 11.23 HP-UX on ia64 hardware.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 03:27 PM
08-09-2006 03:27 PM
Re: less getting "WARNING: terminal is not fully functional"
ttytype -s and what if you you set required settings that the command gives?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 03:31 PM
08-09-2006 03:31 PM
Re: less getting "WARNING: terminal is not fully functional"
TERM='vt100'; export TERM;
LINES=40; export LINES;
COLUMNS=153; export COLUMNS;
ERASE='^?'; export ERASE;
Setting these variables in the environment does not change the error whatsoever. In actual fact for my account on the machine I have ttytype -s as part of my .profile.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 03:35 PM
08-09-2006 03:35 PM
Re: less getting "WARNING: terminal is not fully functional"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 03:43 PM
08-09-2006 03:43 PM
Re: less getting "WARNING: terminal is not fully functional"
vt100
vt220
xterm
The warning message has remained the same. I do not have a 'hp' capable terminal emulater to test the TERM=hp option but I would have to assume it will end up with the same result.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 04:11 PM
08-09-2006 04:11 PM
Re: less getting "WARNING: terminal is not fully functional"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 04:24 PM
08-09-2006 04:24 PM
Re: less getting "WARNING: terminal is not fully functional"
I have done an infocmp -C on all the terminals we have in use which does query the terminfo database and they appear sane. Are there any places people can perhaps suggest in particular where to look for terminfo problems?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 04:48 PM
08-09-2006 04:48 PM
Re: less getting "WARNING: terminal is not fully functional"
ttytype -v
stty -a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 04:52 PM
08-09-2006 04:52 PM
Re: less getting "WARNING: terminal is not fully functional"
$ ttytype -v
ttytype: ANSI terminal response "^[[?6c" mapped to "vt100"
vt100
$ stty -a
speed 9600 baud; line = 0;
rows = 40; columns = 153
min = 1; time = 0;
intr = ^C; quit = ^\; erase = ^H; kill = ^U
eof = ^D; eol = ^@; eol2
stop = ^S; start = ^Q; susp
werase
parenb -parodd cs7 -cstopb hupcl -cread -clocal -loblk -crts
-ignbrk brkint ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc
ixon -ixany ixoff -imaxbel -rtsxoff -ctsxon -ienqak
isig icanon -iexten -xcase echo echoe echok -echonl -noflsh
-echoctl -echoprt -echoke -flusho -pendin
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tostop tab3
$
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2006 10:50 AM
08-13-2006 10:50 AM
Re: less getting "WARNING: terminal is not fully functional"
[response from Phil Peterson]
I haven't used the precompiled binaries of less from utah.edu, but I did compile my own from the less-394 source code. I got the same problem on Itanium servers. (Worked just fine on PA-RISC servers by the way.)
Here is the answer I got from Mark Nudelman, the author of less.
"I had another report of this bug a while ago. It appears the root of this problem is that the Itanium system has implemented tgetent and tgetflag incorrectly. A more complete report is appended below. I'm loath to add a workaround in the less code, since this seems to be a clear bug in the Itanium software. But it's on my list of things to consider. For now, it shouldn't be hard for you to make a local modification to change the calls to these functions.
--Mark
-----------------------------------------------------------------
The problem turns out to be with the return code from tgetent and tgetflag. On these systems, tgetent returns 0 on success and -1 on failure, where the rest the world apparently returns 1 on success and 0 (or it is -1?) on failure. tgetflag returns 1 for success and -1 for failure, where the rest of the world apparently returns 0 for failure. Fortunately, all this is easily worked around, in get_term and ltgetflag.
What's odd is that HP-UX/PA-RISC systems seem to return the expected values. Why is this different for Itanium? (Not that it matters, but anyway...). -----------------------------------------------------------------"
I'm going to guess the precompiled binaries have the same problem my original compiles had. I had to go and change the source code in a couple of places to work around the stuff Mark mentioned. Once I did that, everything worked fine. I can get you the changes I made to the source code, but then you will have to compile your own less binaries. I'm going to guess the stuff from utah.edu just isn't going to work on Itanium servers.
[/response]