- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Reflection for Unix & Digital session
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
Discussions
Discussions
Discussions
Forums
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
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-24-2005 05:48 AM
тАО08-24-2005 05:48 AM
Reflection for Unix & Digital session
Has anyone else had this issue and, if so, what have you done to resolve it?
Thanks,
-alan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2005 02:01 PM
тАО08-24-2005 02:01 PM
Re: Reflection for Unix & Digital session
echo $TERM
It should match you emulation setting. To change the emulation mode, select Setup -> Terminal. Also check that your terminal response matches the emulation: select Connection -> More Settings, then check the option to: Use emulation ID.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2005 07:46 PM
тАО08-24-2005 07:46 PM
Re: Reflection for Unix & Digital session
You may set TERM=hp and then try Glance
Regards
Mahesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2005 12:17 AM
тАО08-25-2005 12:17 AM
Re: Reflection for Unix & Digital session
In HP-UX, there have been two methods to do this, the tset program and ttytype. tset is deprecated due to lack of updates and a very clunky option list, while ttytype works quite well. Here's what ttytype does: It sends a number of terminal query sequences, pausing for one second to listen for a response. The first is query is for the Wyse family. If no response, a query for ANSI or vt100 products. Still no response, then a query is sent for HP terminals. If no response is received at all, the program pauses and asks for a terminal model--BUT the model must match one of the known models in the terminfo database located in /usr/lib/terminfo.
Unfortunately, both the man page for ttytype as well as default profiles from HP bypass the ttytype program if TERM has already been set. It turns out that telnet protocol allows for the passing of the client's currrent value of TERM. When all connections through telnet/ssh/rlogin come from other HP-UX machines, this is fine. But login from a Linux box and the TERM value may be preset to TERM=linux, totally useless because there is no such terminal as linux, and it is not found in the terminfo database.
So the fix is to modify /etc/profile and remove all the preset TERM tests, in other words, always run ttytype in /etc/profile (and /etc/csh.login if you allow this shell to be used). Something like this:
change this:
if [ "$TERM" = "" -o "$TERM" = "unknown" -o "$TERM" = "dialup" \
-o "$TERM" = "network" ]
then
eval `ttytype -s -a`
fi
export TERM
to this:
eval $(ttytype -s)
export TERM
Now, every time you login, no matter what terminal emulator you are using (and settings in the emulator), the TERM variable will be set correctly.
WRA does make an HP terminal emulator called Refection for HP which does include a few vtXXX emulations along with the HP terminal emulations. If you've been stuck using vt100 type emulators on HP-UX, using a 'real' HP terminal is a big step up in useability. Labels for programmable keys are 2 lines, display enhancements make the menus a breeze to navigate, screen memory can be made extremely long and printing a screen, selected text or all of memory is trivial.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2005 01:21 AM
тАО08-25-2005 01:21 AM
Re: Reflection for Unix & Digital session
http://www.attachmate.com/en-US/Products/Reflection/Technical+Specifications/Reflection+for+HP+with+NSVT.htm
It *does* say that the HP terminal types are for HPe3000 computers, but I've used them in the past with success on HP9000 systems. However, that was probably version 9 (back then called "Enterprise Version"). The current version is version 13.
If you don't want to spend the extra $$$ on the special version of Reflections - you can easily use /usr/bin/X11/hpterm on the "Regular" version of Reflections X instead of using /usr/bin/X11/xterm from the Reflections command line. This gives you a great hpterminal in xwindows.
My F3 key works fine for memory report - with no modification of the keymap using hpterm. Command line from Reflections through the ssh connect method is
(/usr/bin/X11/hpterm -fn user9x17 -sl 2500 -sb -ls -display %IP#% -name %T% &)
The TERM variable that works with this is "hpterm"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2005 01:29 AM
тАО08-25-2005 01:29 AM
Re: Reflection for Unix & Digital session
That keeps it out of the user profiles.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2005 01:43 AM
тАО08-25-2005 01:43 AM
Re: Reflection for Unix & Digital session
if [ "$TERM" = "" ]
then
eval ` tset -s -Q -m ':?hp' `
else
eval ` tset -s -Q `
fi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2005 02:10 AM
тАО08-25-2005 02:10 AM
Re: Reflection for Unix & Digital session
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2005 02:32 AM
тАО08-25-2005 02:32 AM
Re: Reflection for Unix & Digital session
I'm sending the keyboard map file that it is using as an attachment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2005 02:33 AM
тАО08-25-2005 02:33 AM
Re: Reflection for Unix & Digital session
http://vt100.net/
or better yet
http://vt100.net/vt_history
A vt100 has no programmable keys at all so the Reflection program rightfully assigns local features to the keys. In order for Glance to use the keys, it must first download the codes to the keys or reset the keys to their default settings. Since there aren't any, the f1-f12 keys are non-functional.
So change the emulation mode to vt200 or higher and verify that $TERM matches the new emulation mode after you login. Then your PC function keys will be part of the terminal feature set.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2005 02:50 AM
тАО08-25-2005 02:50 AM
Re: Reflection for Unix & Digital session
John, I'm looking inside the emulation window to load the map file and cannot find where it loads.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2005 03:44 AM
тАО08-25-2005 03:44 AM
Re: Reflection for Unix & Digital session
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2005 03:48 AM
тАО08-25-2005 03:48 AM
Re: Reflection for Unix & Digital session
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2005 04:08 AM
тАО08-25-2005 04:08 AM
Re: Reflection for Unix & Digital session
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2005 04:13 AM
тАО08-25-2005 04:13 AM
Re: Reflection for Unix & Digital session
have you tried logging in using Reflections X instead of Host - Unix? The F keys work fine in the hpterm window.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2005 04:15 AM
тАО08-25-2005 04:15 AM
Re: Reflection for Unix & Digital session
So please ignore my mistake.
It might be possible to make .profile or /etc/profile smart enough to recognize the login type and issue stty commands to deal with the issue at hand.
I don't quite have my lab running yet in Israel, though the 9000 servers are up, Or I'd try it for you.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2005 04:32 AM
тАО08-25-2005 04:32 AM
Re: Reflection for Unix & Digital session
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2005 04:47 AM
тАО08-25-2005 04:47 AM
Re: Reflection for Unix & Digital session
If you use Reflection X I forgot to mention to unset your DISPLAY - this allows the non-graphical form of some apps to run.
sorry about the omission
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2005 04:48 AM
тАО08-25-2005 04:48 AM
Re: Reflection for Unix & Digital session
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2005 06:18 AM
тАО08-25-2005 06:18 AM
Re: Reflection for Unix & Digital session
the function key mapping isdefinately something that is done by the Reflection program overlayed on top of whatever mapping is done by ther TERM setting. I know this because the F8 key works fine to exit Glance, but Reflections maps the F1 & F3 keys to help and find.
Thanks for all your help I appreciate it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2005 12:25 AM
тАО08-26-2005 12:25 AM
Re: Reflection for Unix & Digital session
What about under the "settings" Drop down menu. When you click on the "Keyboard" icon - what is the setting for "Allow clients to remap keyboard" - is it currently checked on? I'm thinking it should be turned on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2005 02:11 AM
тАО08-29-2005 02:11 AM
Re: Reflection for Unix & Digital session
I'm thinkuing tha twe have different versions of Reflections here. Mine is version 10.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2005 03:13 AM
тАО08-29-2005 03:13 AM
Re: Reflection for Unix & Digital session
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2005 03:19 AM
тАО08-29-2005 03:19 AM