<?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: alias in .profile in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/alias-in-profile/m-p/3009774#M128331</link>
    <description>right on!&lt;BR /&gt;Thanks Alex.&lt;BR /&gt;Regards,&lt;BR /&gt;Frans</description>
    <pubDate>Fri, 27 Jun 2003 11:34:55 GMT</pubDate>
    <dc:creator>Frans Heckman</dc:creator>
    <dc:date>2003-06-27T11:34:55Z</dc:date>
    <item>
      <title>alias in .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/alias-in-profile/m-p/3009771#M128328</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;I've created a .profile in my login directory.&lt;BR /&gt;Changed the .dtprofile and added:&lt;BR /&gt;DTSOURCEPROFILE=true&lt;BR /&gt;This seems to have worked, because the system variables in the .profile have been read, but the aliases I put in don't work. The syntax is ok. and if I run the .profile manually after login the aliases are active.&lt;BR /&gt;I don't understand this. Is the .profile being read during login or not. How is it possible, that some of it is read and some of it not ?&lt;BR /&gt;Gratefull for any response.&lt;BR /&gt;Regards,&lt;BR /&gt;Frans</description>
      <pubDate>Fri, 27 Jun 2003 11:23:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/alias-in-profile/m-p/3009771#M128328</guid>
      <dc:creator>Frans Heckman</dc:creator>
      <dc:date>2003-06-27T11:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: alias in .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/alias-in-profile/m-p/3009772#M128329</link>
      <description>Try this : open the dtterm with -ls on the command line eg :&lt;BR /&gt;&lt;BR /&gt;dtterm -ls (loginShell) does it now work ?&lt;BR /&gt;&lt;BR /&gt;To make permantent and for ALL terminals :&lt;BR /&gt;&lt;BR /&gt;vi $HOME/.Xdefaults&lt;BR /&gt;&lt;BR /&gt;*loginShell : True&lt;BR /&gt;&lt;BR /&gt;exit CDE and log back in for changes to take effect : see man dtterm etc for full explanation but this is expected behaviour, CDE only sources .profile at login once.</description>
      <pubDate>Fri, 27 Jun 2003 11:26:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/alias-in-profile/m-p/3009772#M128329</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2003-06-27T11:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: alias in .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/alias-in-profile/m-p/3009773#M128330</link>
      <description>Frans,&lt;BR /&gt;&lt;BR /&gt;As a general rule, I put alias info in the .rc file for the respective shell:  .kshrc, for example.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Jun 2003 11:29:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/alias-in-profile/m-p/3009773#M128330</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-06-27T11:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: alias in .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/alias-in-profile/m-p/3009774#M128331</link>
      <description>right on!&lt;BR /&gt;Thanks Alex.&lt;BR /&gt;Regards,&lt;BR /&gt;Frans</description>
      <pubDate>Fri, 27 Jun 2003 11:34:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/alias-in-profile/m-p/3009774#M128331</guid>
      <dc:creator>Frans Heckman</dc:creator>
      <dc:date>2003-06-27T11:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: alias in .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/alias-in-profile/m-p/3009775#M128332</link>
      <description>Pete is right. In general, aliases are not exported and .profile is only executed by the login shell. That's why we often use in sh or ksh :&lt;BR /&gt;&lt;BR /&gt;- $HOME/.profile for variables which are exported including ENV a special one to specify a script to be executed by all subshells&lt;BR /&gt;&lt;BR /&gt;. $HOME/.kshrc (most common value for $ENV). From man sh-posix which you should check, "This file is typically used for alias and function definitions."&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Jun 2003 11:40:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/alias-in-profile/m-p/3009775#M128332</guid>
      <dc:creator>Jean-Louis Phelix</dc:creator>
      <dc:date>2003-06-27T11:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: alias in .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/alias-in-profile/m-p/3009776#M128333</link>
      <description>Tye terminal windows (hpterm, xterm, dtterm) by default do not follow the Unix standard for login, that is, read /etc/profile and then .profile (assuming standard POSIX shell for the user). The easiest way to fix this behavior is to set the loginShell resource. This can be done by customizing the startup for terminal windows in CDE by adding -ls but it is easier to set the loginShell resource for all the terminal windows in .Xdefaults as in:&lt;BR /&gt;&lt;BR /&gt;echo *loginShell: true" &amp;gt;&amp;gt; $HOME/.Xdefaults &lt;BR /&gt;&lt;BR /&gt;You can set additional resources to make terminal windows more palatible:&lt;BR /&gt;&lt;BR /&gt;Here are some additional resources that make terminal windows more palatible: &lt;BR /&gt;&lt;BR /&gt;HPterm*background: navy &lt;BR /&gt;HPterm*foreground: white&lt;BR /&gt;HPterm*saveLines: 10s &lt;BR /&gt;HPterm*scrollBar: true  &lt;BR /&gt;&lt;BR /&gt;Xterm*background: darkslateblue &lt;BR /&gt;Xterm*foreground: white &lt;BR /&gt;Xterm*saveLines: 10s &lt;BR /&gt;Xterm*scrollBar: true &lt;BR /&gt;&lt;BR /&gt;Dtterm*saveLines: 10s &lt;BR /&gt;Dtterm*scrollBar: true&lt;BR /&gt;&lt;BR /&gt;Of course, the colors can be changed to any value and you can also set the terminal's character geometry (lines/columns) and the physical size in pixels.&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Jun 2003 11:42:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/alias-in-profile/m-p/3009776#M128333</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-06-27T11:42:20Z</dc:date>
    </item>
  </channel>
</rss>

