- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Blinking text in hpterm
Operating System - HP-UX
1753435
Members
4695
Online
108794
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО07-01-2002 07:52 AM
тАО07-01-2002 07:52 AM
It is possible write blinking text in hpterm?
I've tried with "tput blink" but unsuccessfully!
Maybe hpterm doesn't support blinking text...
I'm trying to put content of motd file in blinking mode.
Could U help me?
Thank you
I've tried with "tput blink" but unsuccessfully!
Maybe hpterm doesn't support blinking text...
I'm trying to put content of motd file in blinking mode.
Could U help me?
Thank you
Ubi maior, minor cessat!
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2002 09:04 AM
тАО07-01-2002 09:04 AM
Re: Blinking text in hpterm
Mauro,
WHat version of OS are you using? In HP-UX 11i you could try to set the terminfo to blink. See the following URl and see if that helps:
http://devresource.hp.com/STKLI/man/11iv1.5/terminfo_4.html
HTH,
Dave
WHat version of OS are you using? In HP-UX 11i you could try to set the terminfo to blink. See the following URl and see if that helps:
http://devresource.hp.com/STKLI/man/11iv1.5/terminfo_4.html
HTH,
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2002 10:08 AM
тАО07-01-2002 10:08 AM
Re: Blinking text in hpterm
Blink is not defined for TERM hpterm but in any event there is no assurance that you will be using hpterm.
A better method would be to see if blink is available; if not; use standout mode (sometimes reverse video, sometimes a different color, sometimes blinking - the most visible option available but is almost always defined for all terminals.)
X=$(tput blink)
if [ -z "${X}" ]
then
X=$(tput smso)
fi
echo "${X}\c"
motd
tput rmso # turns off blink or standout mode
A better method would be to see if blink is available; if not; use standout mode (sometimes reverse video, sometimes a different color, sometimes blinking - the most visible option available but is almost always defined for all terminals.)
X=$(tput blink)
if [ -z "${X}" ]
then
X=$(tput smso)
fi
echo "${X}\c"
motd
tput rmso # turns off blink or standout mode
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2002 06:14 AM
тАО07-02-2002 06:14 AM
Solution
hpterm is a very poor imitation of HP terminals and supports very few character enhancements. In HP-UX, the terminfo database (see /usr/lib/terminfo) contains the binary capability files for hundreds of terminals. To see what the database thinks about hpterm:
untic hpterm
As you can see, there is no blink. The same is true for the generic hp TERM value. However, all the 'real' HP terminals like the 2392 and 70096 as well as true HP terminal emulators such as the WRQ Reflection for HP product (not Reflection/X however).
Always test the request for tput -- it returns a non-zero value if the terminfo database does not have this attribute.
Bill Hassell, sysadmin
untic hpterm
As you can see, there is no blink. The same is true for the generic hp TERM value. However, all the 'real' HP terminals like the 2392 and 70096 as well as true HP terminal emulators such as the WRQ Reflection for HP product (not Reflection/X however).
Always test the request for tput -- it returns a non-zero value if the terminfo database does not have this attribute.
Bill Hassell, sysadmin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP