<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CDE Terminal behavior in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cde-terminal-behavior/m-p/2697694#M57142</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;PROBLEM&lt;BR /&gt;--------&lt;BR /&gt;How to make sure in CDE that profile is used.&lt;BR /&gt;&lt;BR /&gt;SOLUTION:&lt;BR /&gt;----------&lt;BR /&gt;1: Setup the ttymodes and login shell for CDE.&lt;BR /&gt;&lt;BR /&gt;1)For user specific change Create a $HOME/.Xdefaults file &lt;BR /&gt;&lt;BR /&gt;1b)For system wide changes  copy the file /usr/dt/config/C/sys.resources to the&lt;BR /&gt;/etc/dt/config/C directory.&lt;BR /&gt;&lt;BR /&gt;2)In the file selected  apply the following lines for the tty modes and the force of sourcing the profile, each time you open a new shell.&lt;BR /&gt;&lt;BR /&gt;*ttyModes:      erase ^H intr ^C kill ^U start ^Q stop ^S swtch ^@ susp ^Z&lt;BR /&gt;*loginShell: True&lt;BR /&gt;&lt;BR /&gt;NOTE: make sure that you have no blanks in front of *ttyModes ..... and no blanks i front of *loginShell ....&lt;BR /&gt;&lt;BR /&gt;3) Make sure to have the latest shell patches installed to avoid known problems with the ksh and Posix shell.&lt;BR /&gt;hp-ux_patches/s700_800/10.X/PHCO_20018&lt;BR /&gt;hp-ux_patches/s700_800/10.X/PHCO_19052&lt;BR /&gt;&lt;BR /&gt;4) Modify the /etc/profile and the $HOME/.profiles to have a IF-Statement around and settings for DISPLAY, stty and other&lt;BR /&gt;services, which should not be executed under CDE..&lt;BR /&gt;   Everything between these lines, will not be executed when the login comes from CDE:&lt;BR /&gt;       if [ ! "$DT" ]; then&lt;BR /&gt;               .&lt;BR /&gt;               .&lt;BR /&gt;               .&lt;BR /&gt;       fi     # if !DT&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;          Steve Steel</description>
    <pubDate>Fri, 05 Apr 2002 07:18:02 GMT</pubDate>
    <dc:creator>Steve Steel</dc:creator>
    <dc:date>2002-04-05T07:18:02Z</dc:date>
    <item>
      <title>CDE Terminal behavior</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cde-terminal-behavior/m-p/2697692#M57140</link>
      <description>I just setup a 715/50 HPUX 10.20 and all is working just fine except when I click on the "Terminal" icon. The "Terminal" starts ok but I don't have any of the customizations that were setup when I telnet to the machine. I have a custom prompt and I use history. I can su - root or any other user and it seems to read the local .profile just fine. I would like to avoid having to start a terminal then su evertime I want to actually use it. I am new to CDE and X so please forgive me if this is something that everyone knows except me.</description>
      <pubDate>Fri, 05 Apr 2002 03:40:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cde-terminal-behavior/m-p/2697692#M57140</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2002-04-05T03:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: CDE Terminal behavior</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cde-terminal-behavior/m-p/2697693#M57141</link>
      <description>HI,&lt;BR /&gt;&lt;BR /&gt;if you open a new terminalwindow in CDE a dtterm is opend. Dtterm uses the settings from .dtprofile and not from .profile.&lt;BR /&gt;&lt;BR /&gt;If you log in using telnet .profile is read.&lt;BR /&gt;&lt;BR /&gt;You can use this behavior to set GUI specific stuff in the .dtprofile and everything else in th .profile.&lt;BR /&gt;&lt;BR /&gt;Then you use DTSOURCEPROFILE=true in your .dtprofile. This will read all the GUI specific stuff from your .dtprofile and then the complete .profile. So you will have the same settings in your CDE Terminal as in your telnet session.&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards Stefan</description>
      <pubDate>Fri, 05 Apr 2002 06:49:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cde-terminal-behavior/m-p/2697693#M57141</guid>
      <dc:creator>Stefan Schulz</dc:creator>
      <dc:date>2002-04-05T06:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: CDE Terminal behavior</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cde-terminal-behavior/m-p/2697694#M57142</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;PROBLEM&lt;BR /&gt;--------&lt;BR /&gt;How to make sure in CDE that profile is used.&lt;BR /&gt;&lt;BR /&gt;SOLUTION:&lt;BR /&gt;----------&lt;BR /&gt;1: Setup the ttymodes and login shell for CDE.&lt;BR /&gt;&lt;BR /&gt;1)For user specific change Create a $HOME/.Xdefaults file &lt;BR /&gt;&lt;BR /&gt;1b)For system wide changes  copy the file /usr/dt/config/C/sys.resources to the&lt;BR /&gt;/etc/dt/config/C directory.&lt;BR /&gt;&lt;BR /&gt;2)In the file selected  apply the following lines for the tty modes and the force of sourcing the profile, each time you open a new shell.&lt;BR /&gt;&lt;BR /&gt;*ttyModes:      erase ^H intr ^C kill ^U start ^Q stop ^S swtch ^@ susp ^Z&lt;BR /&gt;*loginShell: True&lt;BR /&gt;&lt;BR /&gt;NOTE: make sure that you have no blanks in front of *ttyModes ..... and no blanks i front of *loginShell ....&lt;BR /&gt;&lt;BR /&gt;3) Make sure to have the latest shell patches installed to avoid known problems with the ksh and Posix shell.&lt;BR /&gt;hp-ux_patches/s700_800/10.X/PHCO_20018&lt;BR /&gt;hp-ux_patches/s700_800/10.X/PHCO_19052&lt;BR /&gt;&lt;BR /&gt;4) Modify the /etc/profile and the $HOME/.profiles to have a IF-Statement around and settings for DISPLAY, stty and other&lt;BR /&gt;services, which should not be executed under CDE..&lt;BR /&gt;   Everything between these lines, will not be executed when the login comes from CDE:&lt;BR /&gt;       if [ ! "$DT" ]; then&lt;BR /&gt;               .&lt;BR /&gt;               .&lt;BR /&gt;               .&lt;BR /&gt;       fi     # if !DT&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;          Steve Steel</description>
      <pubDate>Fri, 05 Apr 2002 07:18:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cde-terminal-behavior/m-p/2697694#M57142</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-04-05T07:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: CDE Terminal behavior</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cde-terminal-behavior/m-p/2697695#M57143</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;Check out man dtterm and look at the loginShell resource and/or -ls option .... by default CDE's terms - dt,X &amp;amp; hp terms : do not source the users .profile.&lt;BR /&gt;&lt;BR /&gt;simply do this :&lt;BR /&gt;&lt;BR /&gt;vi $HOME/.Xdefaults&lt;BR /&gt;&lt;BR /&gt;Dtterm*loginShell : True&lt;BR /&gt;&lt;BR /&gt;wq!&lt;BR /&gt;&lt;BR /&gt;exit out of CDE then log back in your .profile will now be executed.&lt;BR /&gt;&lt;BR /&gt;or just run "dtterm -ls &amp;amp;" from within an existing dtterm window.</description>
      <pubDate>Fri, 05 Apr 2002 07:31:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cde-terminal-behavior/m-p/2697695#M57143</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2002-04-05T07:31:14Z</dc:date>
    </item>
  </channel>
</rss>

