Operating System - HP-UX
1834461 Members
2480 Online
110067 Solutions
New Discussion

Re: Force SAM to run as text terminal

 
SOLVED
Go to solution
Joe Profaizer
Super Advisor

Force SAM to run as text terminal

Is there a way to force SAM to run as a text terminal session even though my terminal session is X display?

Thanks,

..Joe
5 REPLIES 5
Pete Randall
Outstanding Contributor

Re: Force SAM to run as text terminal

If you DISPLAY variable is not set, you'll get the text version.


Pete

Pete
melvyn burnard
Honored Contributor

Re: Force SAM to run as text terminal

unset the DISPLAY variable?
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
John Poff
Honored Contributor
Solution

Re: Force SAM to run as text terminal

Hi Joe,

I tried it here, and I was able to trick sam into text mode like this:

sam -display ''


JP
John Poff
Honored Contributor

Re: Force SAM to run as text terminal

Hi again,

I had my DISPLAY variable set, so my method will work for people like me who are too lazy to unset DISPLAY. :)

JP
Bill Hassell
Honored Contributor

Re: Force SAM to run as text terminal

Very common question, especially for those sysadmins that are on the road (modems are intolerably slow for Xwindows). Since I occasionally need to use some Xwindow tool, I will leave DISPLAY set but have two aliases in .profile:

alias samc="(unset DISPLAY;sam)"
alias swinstallc="(unset DISPLAY;swinstall)"

Makes the startup quite fast into character mode but leaves DISPLAY intact.


Bill Hassell, sysadmin