- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Best Terminal Emulation for HP-UX?
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
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
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
тАО04-21-2008 12:46 PM
тАО04-21-2008 12:46 PM
Best Terminal Emulation for HP-UX?
1) Scrollbar
2) I'd like to see the commands I type get output to a file by date that I could reference later.
Anything else that might be useful at each login might be nice as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2008 01:13 PM
тАО04-21-2008 01:13 PM
Re: Best Terminal Emulation for HP-UX?
AND, it is FREE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2008 01:17 PM
тАО04-21-2008 01:17 PM
Re: Best Terminal Emulation for HP-UX?
Login under my username and su to root. Exceed does this for me and puts me there with a single click. It also wraps the text for me so that things on the screen are readable (Xwindows feature) but without the scroll bar. Will Putty do this too? If so how?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2008 01:32 PM
тАО04-21-2008 01:32 PM
Re: Best Terminal Emulation for HP-UX?
Login under my username and su to root. Exceed does this for me and puts me there with a single click. It also wraps the text for me so that things on the screen are readable (Xwindows feature) but without the scroll bar. Will Putty do this too? If so how?
Sounds like Exceed is what you want. Stick with it ...why ask the question then ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2008 01:35 PM
тАО04-21-2008 01:35 PM
Re: Best Terminal Emulation for HP-UX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2008 02:16 PM
тАО04-21-2008 02:16 PM
Re: Best Terminal Emulation for HP-UX?
Also consider to assign points (you have assigned points to 0 of 5 responses to your questions).
Regards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2008 02:25 PM
тАО04-21-2008 02:25 PM
Re: Best Terminal Emulation for HP-UX?
I don't believe you'll get any other session logging other than your .sh_history with xterm.
I prefer putty which will let you name your log file with a time stamp and log your entire session. You can use ssh keys to automatically log you in as yourself or root if you really want.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2008 05:25 PM
тАО04-21-2008 05:25 PM
Re: Best Terminal Emulation for HP-UX?
1) auto-login as self with su to root
2) add scrollbar
3) save session with time date stamp
the options only appear to take care of number three which I am having trouble with. It creates the log but won't ask me for the name despite the selection. I thought I had the latest version too. Is there an enhanced putty out there. I want a single click icon for each server that takes care of it all. Thanks for responding.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2008 07:07 PM
тАО04-21-2008 07:07 PM
Re: Best Terminal Emulation for HP-UX?
A real terminal emulator runs on the PC and uses ssh (or telnet). No Xwindows, no network load, no issues with font compatibilities, difficult color selections, cut-n-paste problems, etc. By far, WRQ's Reflection for HP is the best terminal emulator for HP-UX. But it is pricey. Note that there are 4 model of Reflection: HP, Unix, Web and Xwindows. The HP version gives you all the features of HP smart terminals (ideal for menu tools such as swinstall, sam and glance) and a very powerful macro language for auto-logins, automated command scripting, bascially a complete replacement for expect as a way to run many tasks with decision points. And unlike Xwindows, the font is instantly scalable so you can magnify the window very quickly. And the character space (columns and lines) have no practical limits (I run 80, 132, 154, 176 and 240 columns) depending on what I'm looking at. And plenty of color schemes -- I have more than 20 window colors, each for a different server. The scroll bar covers several thousand lines (also configurable).
The best HP emulator for free is QCTerm which now supports ssh as well as telnet. Since auto-login and a scroll bar are standard, it is the ideal choice for a budget. It handles HP menus as well as Reflection. Personally, I would disable rlogin/rcp/rexec/remsh and telnet completely due to the security risks and use ssh instead. The advantage is that auto-login is quite simple using a public key.
Another priced product is SecureCRT which offers a lot of features but limited to dumb terminal VT emulation (just like xterm and dtterm).
Note that logging is standard with all the listed emulators (except xterm, etc).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2008 05:45 AM
тАО04-22-2008 05:45 AM
Re: Best Terminal Emulation for HP-UX?
1) Notice that the text does not wrap like it should. I'm using HP3440s and HP-UX v11.11. I've chosen SSH2.
2) While this looks more promising and has a scrollbar, I still need to automate a regular login with SU to root so that I can quickly click the icon for a particular machine and get in quickly. Is there any way to automate that for a single click operation?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2008 05:58 AM
тАО04-22-2008 05:58 AM
Re: Best Terminal Emulation for HP-UX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2008 08:52 AM
тАО04-22-2008 08:52 AM
Re: Best Terminal Emulation for HP-UX?
b) detailed log file of all commands? By day? Good luck.....
c) Auto Rlogin & auto su to root? the security auditors are going to love this one... If you tried that here, you would be pounding the pavement in search of other employment
d) "wrapping properly"....that's not "a feature of X-Windows" nor any terminal emulation software I'm aware of. If the environment (TERM, LINES and COLUMNS) is set properly, then the text should wrap properly....
e) I've used Century TinyTerm (Wyse60/vt220 emulation), Reflection-X and Exceed without any of the "issues" you noted (except for logging and login/su). I've also used PuTTY both as a terminal and tunnelling X-Windows w/o problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2008 11:09 AM
тАО04-22-2008 11:09 AM
Re: Best Terminal Emulation for HP-UX?
That's easy. Somewhere in your profiles (/etc/profile, $HOME/.profile, possibly .kshrc or .bash-stuff) you have hard coded TERM, LINES and COLUMNS. QCTerm is not compatible with TERM=vt100 or any other dumb terminal incantations. Unlike a vt100, QCTerm can change the character space (ie, lines and columns) and HP-UX will be notified automatically using a telnet subcode. Override all this automated stuff and nothing will look right on the screenm especially SAM and swinstall.
HP-UX has the ability to properly set all these items correctly based on your current screen. It is called ttytype and you can see it working with:
ttytype -s
To get it to setup all your user terminals correctly, rip out any code in /etc/profile that looks like this:
-------------------------
# set term if it's not set
if [ "$TERM" = "" -o "$TERM" = "unknown" -o "$TERM" = "dialup" \
-o "$TERM" = "network" ]
then
eval `ttytype -s -a`
fi
export TERM
# set erase to ^H, if ERASE is not set
if [ "$ERASE" = "" ]
then
ERASE="^H"
export ERASE
fi
stty erase $ERASE
----------------
and replace it with this:
eval $(ttytype -sa)
That's all there is to it. The archaic code in the default profile assumes that all incoming logins are from HP-UX systems or from PCs running software that properly identifies the terminal characteristics. This is seldom the case so always run ttytype at login. Also remove anything in your profiles where TERM=something is coded.
> 2) While this looks more promising and has a scrollbar, I still need to automate a regular login with SU to root so that I can quickly click the icon for a particular machine and get in quickly. Is there any way to automate that for a single click operation?
AS mentioned, this is an auditor's greatest dream -- a massive security risk where a user can login to any account (including root) without authentication. There's no reason to keep the root password secret -- just walk over to your desk at 2am in the morning and click the icons.
Now that said, assuming that your PC is locked down and properly secured (a laptop is a much bigger problem) then you can setup ssh2 connections with QCTerm. Create a public key with QCTerm, then add that key to your $HOME/.ssh/authorized_keys file. Now you can login automatically. I would also discourage the use of su for root -- period. You WILL make a mistake and not know what happened. Download sudo from the HP software.hp.com site and use sudo to limit (and document) the damage).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2008 11:20 AM
тАО04-22-2008 11:20 AM
Re: Best Terminal Emulation for HP-UX?
http://www.aics-research.com/qcterm/manual.html#Autolaunch
And logging can be enabled both from the keyboard as well as via escape sequences from a script:
Look for "log" in the escape sequence pages:
http://www.aics-research.com/qcterm/escape.html
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2008 03:39 PM
тАО04-22-2008 03:39 PM
Re: Best Terminal Emulation for HP-UX?
Others could tell you if any of the console loggers would work in this case. If your needs are less stringent I would use a combination of Putty and history files:
export HISTFILE=${HISTDIR}/$(date +"hist_%Y%m%d")
This has all the limitations of history files, but is pretty cheap. You can run with this to have TTY-specific, instance-specific....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2008 06:58 AM
тАО04-23-2008 06:58 AM
Re: Best Terminal Emulation for HP-UX?
Thanks for the response. I changed the lines in QCTerm to 120 and that seems to have resolved it somewhat, though now the screen is a little wider than I like it. That's unimportant though at this stage as I have run into another snag with it.
When I do a swinstall to bring up a graphicalUI, it wants to give me the text version which is unacceptable. Any ideas?
Can you supply some examples of the following:
PROTOCAL: I guess ssh, ssh2, telnet, rlogin are protocals (yes?)
CONNECTION TYPE: Synonymous with Protocal ?
XWINDOWS: Would that be the same as XtermR6? I am very new to terminal sessions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2008 04:54 PM
тАО04-23-2008 04:54 PM
Re: Best Terminal Emulation for HP-UX?
The width of the3 screen is a function of the font you are using. Just press CTRL+f1 or CTRL+f2 to change the font (and therefore, screen size. The menu across the top is a wealth of features.
> When I do a swinstall to bring up a graphicalUI, it wants to give me the text version which is unacceptable. Any ideas?
Most sysadmins find the character version much easier to use but I prefer the command line -- I seldom browse thins with swinstall. But a terminal emulator is emulating a terminal. You see these in museums sometimes -- they look like a portable TV with a keyboard and no mouse.
swinstall runs in 3 different modes: command line, terminal user interface (TUI) and (gulp) graphical user interface (GUI). If you want colors and mouse buttons, you have to run a different program, specifically Exceed or similar Xwindow emulator. Xwindows is specifically designed for colors and objects and pictures and similar features. swinstall is a character-based program so the GUI just look like the TUI. Check out the command line mechanism -- 10x-20x faster than TUI or GUI.
> Can you supply some examples of the following:
>
>PROTOCAL: I guess ssh, ssh2, telnet, rlogin are protocals (yes?)
protocols are communication standards. telnet is the classic Unix communication method but not favored because of security (all keystrokes can be seen and copied from the network). rlogin and it's relatives, rexec, rcp and remsh (rsh in other Unix flavors) are also communication protocols but much worse in the area of security. Secure Shell (ssh, scp, sftp) is the protocol of choice for today's computers.
> CONNECTION TYPE: Synonymous with Protocal ?
Connection can mean many things. A "real" terminal would use a serial cable, also known as the RS-232c communication standard. Another connection might be defined as a modem, also a serial connection method. The more common connections are made with local area networks (LAN) today.
> XWINDOWS: Would that be the same as XtermR6? I am very new to terminal sessions?
Xwindows is the oldest graphical interface and is variously called X11, Xwindows, X, etc. XtermR6 is a made-up term that abbreviates Xterminal and the X11 revision (6).
Here's the grandfather of all terminals, the vt100:
www.vt100.net
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2008 06:12 PM
тАО04-23-2008 06:12 PM
Re: Best Terminal Emulation for HP-UX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2008 06:44 PM
тАО04-23-2008 06:44 PM
Re: Best Terminal Emulation for HP-UX?
Correct. Once you have the X11 emulator running correctly, you sign on to the HP-UX box, export the DISPLAY variable and now SAM and swinstall will switch to a GUI interface.
> Anything Xwindows (free) that will be geared for HP and give me some auto-logging capabilities?
Auto-logging is not an Xwindow feature, it is a character (terminal) user interface. If you run swinstall or SAM, you'll see that because of all the buttons and multiple windows, logging like a TUI simply isn't practical. That's one of the reasons that swinstall and SAM both have their own extensive logging built-in.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2008 08:34 AM
тАО04-25-2008 08:34 AM
Re: Best Terminal Emulation for HP-UX?
I want the best graphics possible. Our paid version 7 of Exceed does the trick. I am concerned about security as the only "start methods" they have available are REXEC, RSH, RLOGIN, TELNET, PCX, and hPRS. I know nothing about them. I want security so I probably need to use something from my desktop that does that whether it be SSH or whatever. I don't want to loose the graphics. Could someone supply a recommendation with a link that will work for that purpose?
Sorry to keep going around on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2008 06:07 AM
тАО04-28-2008 06:07 AM
Re: Best Terminal Emulation for HP-UX?
I believe the latest version supports SSH connections directly. Mine doesn't (Exceed 10). What I wound up doing was going into the Exceed configuration, Network and Communication and changing the mode to "Passive". Save the change.
Then start PuTTY and log in to the server. Once connected, you should be able to run "Xsession &" in the PuTTY window which will cause CDE to start in the Exceed window.
For this to work, ssh must be configured to allow X11 forwarding. In addition, you *can* set up keys so that ssh connects without a password.
I've not tried it with your version, but I suspect that it will work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2008 06:20 AM
тАО04-28-2008 06:20 AM
Re: Best Terminal Emulation for HP-UX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2008 08:43 AM
тАО04-28-2008 08:43 AM
Re: Best Terminal Emulation for HP-UX?
Or you *could* upgrade your Exceed installation, but that's probably going to cost you some bucks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2008 09:17 AM
тАО04-28-2008 09:17 AM
Re: Best Terminal Emulation for HP-UX?
I think, SW based on the free NX can do this job - perhaps something like
http://www.2x.com/terminalserver
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2008 09:30 AM
тАО04-28-2008 09:30 AM
Re: Best Terminal Emulation for HP-UX?
http://www.straightrunning.com/XmingNotes/