<?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: how to implement script command in a .cshrc ( csh) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077425#M439845</link>
    <description>hi Dennis,&lt;BR /&gt;&amp;gt;What .cshrc export alias? You modified .login and you shouldn't have changed anything else.&lt;BR /&gt;---&amp;gt; .cshrc export the alias of shortcuts to directory, like &lt;BR /&gt;alias bin      "cd /abc/df/bin"&lt;BR /&gt;alias run      "cd /abc/login/bh/RUN"&lt;BR /&gt;So you mean i only need to put the 3 line in .login or .cshrc ? i try put in .login it doesn;t work, the script kept recursively output the filename with diff timestamp.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;And you will have to type "exit" twice. Once to exit script(1) and once to exit your scummy C shell. I suppose you can prevent that by using "exec script $fscript".&lt;BR /&gt;--&amp;gt; so it mean i insert the line "exec script $fscript" in .login or .cshrc file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;it basically same as what i describe early.&lt;BR /&gt;You shouldn't have the recursion. Or PATH being too long. &lt;BR /&gt;-----&amp;gt; when i put the 3 line in .cshrc it output the following in attached text file, same error :&lt;BR /&gt;Warning: ridiculously long PATH truncated&lt;BR /&gt;then cause many file with diff timestamp created, so i need to exit many time to get out from the shell prompt...&lt;BR /&gt;</description>
    <pubDate>Wed, 31 Oct 2007 23:06:36 GMT</pubDate>
    <dc:creator>sstan</dc:creator>
    <dc:date>2007-10-31T23:06:36Z</dc:date>
    <item>
      <title>how to implement script command in a .cshrc ( csh)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077408#M439828</link>
      <description>hi,&lt;BR /&gt;i encounter error when try to implemented a script command in a .cshrc file.&lt;BR /&gt;&lt;BR /&gt;the line i added in .cshrc is :&lt;BR /&gt;&lt;BR /&gt;set tstamp=(`date +%d%m%Y-%H%M%S`)&lt;BR /&gt;set fscript=/sgx/core/tslog/log-$tstamp&lt;BR /&gt;script $fscript&lt;BR /&gt;#echo $tstamp&lt;BR /&gt;&lt;BR /&gt;Is the way doing is wrong for .cshrc ? any help is appreaciate. i canot figure what went wrong.&lt;BR /&gt;&lt;BR /&gt;attached the 1st part of the .cshrc contents and the next part separated by line is the error shown when i login as the particular user .cshrc profile</description>
      <pubDate>Wed, 31 Oct 2007 13:38:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077408#M439828</guid>
      <dc:creator>sstan</dc:creator>
      <dc:date>2007-10-31T13:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement script command in a .cshrc ( csh)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077409#M439829</link>
      <description>Why anyone would willingly use the c shell is a mystery to me.  Anyway, try this:&lt;BR /&gt;&lt;BR /&gt;setenv tstamp `date +%d%m%Y-%H%M%S`&lt;BR /&gt;setenv fscript /sgx/core/tslog/log-$tstamp&lt;BR /&gt;script $fscript</description>
      <pubDate>Wed, 31 Oct 2007 13:46:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077409#M439829</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2007-10-31T13:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement script command in a .cshrc ( csh)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077410#M439830</link>
      <description>After looking at your attachment, I'm confused.&lt;BR /&gt;&lt;BR /&gt;Did you just log into the system as a regular user when the output was generated?  I'm not sure why you get the multiple iterations of the script command.</description>
      <pubDate>Wed, 31 Oct 2007 13:54:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077410#M439830</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2007-10-31T13:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement script command in a .cshrc ( csh)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077411#M439831</link>
      <description>hi Patrick,&lt;BR /&gt;csh was used because legacy, then can the user variable assigned using the setenv?&lt;BR /&gt;&lt;BR /&gt;I as a root user, then i do su - user and run the .cshrc and get the script command running repeately. i am wonder why ? also some error &lt;BR /&gt;Warning: ridiculously long PATH truncated&lt;BR /&gt;&lt;BR /&gt;any idea ?&lt;BR /&gt;i try your method it still don't work.</description>
      <pubDate>Wed, 31 Oct 2007 14:09:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077411#M439831</guid>
      <dc:creator>sstan</dc:creator>
      <dc:date>2007-10-31T14:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement script command in a .cshrc ( csh)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077412#M439832</link>
      <description>ok, when you start a csh, it runs .cshrc. when your .cshrc runs, the "script" command starts a new shell (either /usr/bin/sh or the contents of $SHELL if avail).  In your case, $SHELL /usr/bin/csh.  You haven't completed your login, so the new csh runs .cshrc which starts a new shell which runs .cshr which......&lt;BR /&gt;&lt;BR /&gt;PATH keeps getting added to, no logins get finished, and so on.&lt;BR /&gt;&lt;BR /&gt;Still not sure why you'd want to use csh.  I'm not sure what you mean by "Its legacy"</description>
      <pubDate>Wed, 31 Oct 2007 14:15:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077412#M439832</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2007-10-31T14:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement script command in a .cshrc ( csh)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077413#M439833</link>
      <description>BTW, it tried the above in csh and its doing exactly as I described, altough it appears to function as desired in either ksh or sh.&lt;BR /&gt;&lt;BR /&gt;note that if you do something like this in the other shells, the command immediately after the "script" command needs to be "exit", otherwise the user will remain logged in after they type exit the first time (and logging to the file will be shut off)</description>
      <pubDate>Wed, 31 Oct 2007 14:21:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077413#M439833</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2007-10-31T14:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement script command in a .cshrc ( csh)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077414#M439834</link>
      <description>hi patrick,&lt;BR /&gt;the script in .cshrc is seems working, but i noted a strange behaviour. When the 3 new added line executed, the alias ( shortcut ) in .cshrc missing when i do a su - user . &lt;BR /&gt;&lt;BR /&gt;later when i type exit command it come back to the csh prompt with alias take effect ?&lt;BR /&gt;&lt;BR /&gt;How to explain on this ? strange.&lt;BR /&gt;any advise is appreaciate.&lt;BR /&gt;bin is a shorcut to a path /sgx/core/bin&lt;BR /&gt;&lt;BR /&gt;for e.g&lt;BR /&gt;$ pwd&lt;BR /&gt;/sgx/login/coreadm/RUN&lt;BR /&gt;$ bin&lt;BR /&gt;sh: bin: Execute permission denied.&lt;BR /&gt;$ exit&lt;BR /&gt;Script done, file is /sgx/core/tslog/log-01112007-033355&lt;BR /&gt;[~/RUN ](21)&lt;BR /&gt;[~/RUN ](21) bin&lt;BR /&gt;[/sgx/core/bin ](22)&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Oct 2007 14:38:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077414#M439834</guid>
      <dc:creator>sstan</dc:creator>
      <dc:date>2007-10-31T14:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement script command in a .cshrc ( csh)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077415#M439835</link>
      <description>from csh man page regarding command line switches:&lt;BR /&gt;&lt;BR /&gt; -i        Force csh to respond interactively when called from a device other than a computer terminal (such as another computer).  csh normally responds non-interactively. If csh is called from a computer terminal, it always responds interactively, regardless of which options are selected.&lt;BR /&gt;&lt;BR /&gt;note the part about "runs interactively".  this implies that the .cshrc will always be run, so you are basically recursing.</description>
      <pubDate>Wed, 31 Oct 2007 14:53:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077415#M439835</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2007-10-31T14:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement script command in a .cshrc ( csh)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077416#M439836</link>
      <description>Hi OldSchool,&lt;BR /&gt;&lt;BR /&gt;strange problem is when i su - username run the .cshrc , &lt;BR /&gt;it say : &lt;BR /&gt;&lt;BR /&gt;Script started, file is /sgx/core/tslog/log-01112007-035155&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;normally when user login it should show this type of prompt. &lt;BR /&gt;[~/RUN ](21) &lt;BR /&gt;&lt;BR /&gt;BUT the csh prompt suppose to show is gone, and only when i type exit it return back and all alias is back to effect, how to overcome this problem. i try to put a exit after the script command , it show same symptom.&lt;BR /&gt;&lt;BR /&gt;any advise is appreaciate.  for e.g&lt;BR /&gt;bin is a shorcut to a path /sgx/core/bin&lt;BR /&gt;&lt;BR /&gt;$ pwd&lt;BR /&gt;/sgx/login/coreadm/RUN&lt;BR /&gt;$ bin&lt;BR /&gt;sh: bin: Execute permission denied.&lt;BR /&gt;$ exit&lt;BR /&gt;Script done, file is /sgx/core/tslog/log-01112007-033355&lt;BR /&gt;[~/RUN ](21)&lt;BR /&gt;[~/RUN ](21) bin&lt;BR /&gt;[/sgx/core/bin ](22)</description>
      <pubDate>Wed, 31 Oct 2007 14:55:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077416#M439836</guid>
      <dc:creator>sstan</dc:creator>
      <dc:date>2007-10-31T14:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement script command in a .cshrc ( csh)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077417#M439837</link>
      <description>What I'm saying is:&lt;BR /&gt;A) I wouldn't / don't expect this to ever work as you want in csh.&lt;BR /&gt;B) It will work as desired if you change the users shell to either sh (POSIX) or sh&lt;BR /&gt;C) If you do B, then but "exit" after script in the users ".profile"&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Oct 2007 15:03:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077417#M439837</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2007-10-31T15:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement script command in a .cshrc ( csh)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077418#M439838</link>
      <description>hi Oldschool, &lt;BR /&gt;So there is no remedy for this issue ?&lt;BR /&gt;&lt;BR /&gt;cause the .cshrc is run without user input. am i right ?</description>
      <pubDate>Wed, 31 Oct 2007 15:04:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077418#M439838</guid>
      <dc:creator>sstan</dc:creator>
      <dc:date>2007-10-31T15:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement script command in a .cshrc ( csh)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077419#M439839</link>
      <description>you might try placing your 3 lines of code in .login file in the user's home directory and see what happens.&lt;BR /&gt;&lt;BR /&gt;I haven't used this shell in ~10 years, so I'm not real sure.  This should get you close.</description>
      <pubDate>Wed, 31 Oct 2007 15:22:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077419#M439839</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2007-10-31T15:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement script command in a .cshrc ( csh)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077420#M439840</link>
      <description>&amp;gt;OldSchool: you might try placing your 3 lines of code in .login file in the user's home directory and see what happens.&lt;BR /&gt;&lt;BR /&gt;This seems correct.  If you insist on using the scummy C shell you need to know what each file does.  .login is similar to .profile and .cshrc is similar to .kshrc (or whatever is in ENV).&lt;BR /&gt;&lt;BR /&gt;I assume Avalanche wants to log the user's commands on login, not for every shell invocation.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Patrick: Why anyone would willingly use the C shell is a mystery to me.&lt;BR /&gt;&lt;BR /&gt;Exactly.&lt;BR /&gt;&lt;BR /&gt;setenv tstamp `date +%d%m%Y-%H%M%S`&lt;BR /&gt;setenv fscript /sgx/core/tslog/log-$tstamp&lt;BR /&gt;&lt;BR /&gt;Why would you suggest exporting those local variables?  The only reasonable use is to stop the recursion by checking if tstamp exists.  (You didn't suggest that.)</description>
      <pubDate>Wed, 31 Oct 2007 21:52:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077420#M439840</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-10-31T21:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement script command in a .cshrc ( csh)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077421#M439841</link>
      <description>HI Oldschool,&lt;BR /&gt;&lt;BR /&gt;I had try to put the 3 lines in the .login of the user home directory, but result the same , it run the script command, the .cshrc export alias is back to normal when i type exit from the script. it basically same as what i describe early.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Oct 2007 22:22:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077421#M439841</guid>
      <dc:creator>sstan</dc:creator>
      <dc:date>2007-10-31T22:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement script command in a .cshrc ( csh)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077422#M439842</link>
      <description>&amp;gt;I had try to put the 3 lines in the .login of the user home directory, but result the same, it run the script command, the .cshrc export alias is back to normal when i type exit from the script.&lt;BR /&gt;&lt;BR /&gt;What .cshrc export alias?  You modified .login and you shouldn't have changed anything else.&lt;BR /&gt;&lt;BR /&gt;And you will have to type "exit" twice.  Once to exit script(1) and once to exit your scummy C shell.  I suppose you can prevent that by using "exec script $fscript".&lt;BR /&gt;&lt;BR /&gt;&amp;gt;it basically same as what i describe early.&lt;BR /&gt;&lt;BR /&gt;You shouldn't have the recursion.  Or PATH being too long.</description>
      <pubDate>Wed, 31 Oct 2007 22:33:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077422#M439842</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-10-31T22:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement script command in a .cshrc ( csh)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077423#M439843</link>
      <description>Hi Dennis,&lt;BR /&gt;Is there any way to overcome this problem? i want to achieve to logged the user login session into a file by doing the script command in csh , but it seems to be problem.&lt;BR /&gt;&lt;BR /&gt;Had try to insert the script line in .login but it doesn't work, the .cshrc alias setting is lost when in invoke the script command, only when exit, the .cshrc alias setting is return normal, and once again i type exit to logout frm the session.&lt;BR /&gt;&lt;BR /&gt;thanks.</description>
      <pubDate>Wed, 31 Oct 2007 22:38:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077423#M439843</guid>
      <dc:creator>sstan</dc:creator>
      <dc:date>2007-10-31T22:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement script command in a .cshrc ( csh)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077424#M439844</link>
      <description>&amp;gt;the .cshrc alias setting is lost when in invoke the script command,&lt;BR /&gt;&lt;BR /&gt;Ah, simple solution, source .cshrc in .login.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;once again i type exit to logout from the session.&lt;BR /&gt;&lt;BR /&gt;Simple solution exec script(1) as I mentioned.</description>
      <pubDate>Wed, 31 Oct 2007 22:47:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077424#M439844</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-10-31T22:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement script command in a .cshrc ( csh)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077425#M439845</link>
      <description>hi Dennis,&lt;BR /&gt;&amp;gt;What .cshrc export alias? You modified .login and you shouldn't have changed anything else.&lt;BR /&gt;---&amp;gt; .cshrc export the alias of shortcuts to directory, like &lt;BR /&gt;alias bin      "cd /abc/df/bin"&lt;BR /&gt;alias run      "cd /abc/login/bh/RUN"&lt;BR /&gt;So you mean i only need to put the 3 line in .login or .cshrc ? i try put in .login it doesn;t work, the script kept recursively output the filename with diff timestamp.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;And you will have to type "exit" twice. Once to exit script(1) and once to exit your scummy C shell. I suppose you can prevent that by using "exec script $fscript".&lt;BR /&gt;--&amp;gt; so it mean i insert the line "exec script $fscript" in .login or .cshrc file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;it basically same as what i describe early.&lt;BR /&gt;You shouldn't have the recursion. Or PATH being too long. &lt;BR /&gt;-----&amp;gt; when i put the 3 line in .cshrc it output the following in attached text file, same error :&lt;BR /&gt;Warning: ridiculously long PATH truncated&lt;BR /&gt;then cause many file with diff timestamp created, so i need to exit many time to get out from the shell prompt...&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Oct 2007 23:06:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077425#M439845</guid>
      <dc:creator>sstan</dc:creator>
      <dc:date>2007-10-31T23:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement script command in a .cshrc ( csh)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077426#M439846</link>
      <description>hi dennis, &lt;BR /&gt;i put the line source /sgx/login/super1/.cshrc in .login file, then put the line "exec script $fscript" in .cshrc file. &lt;BR /&gt;&lt;BR /&gt;But it output the same undesired result. &lt;BR /&gt;Any advise ?&lt;BR /&gt;&lt;BR /&gt;a file atached with .login follow by .cshrc and a output of the action when i su - user as root and when it run the .cshrc once login.&lt;BR /&gt;&lt;BR /&gt;thanks.&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Oct 2007 23:26:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077426#M439846</guid>
      <dc:creator>sstan</dc:creator>
      <dc:date>2007-10-31T23:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement script command in a .cshrc ( csh)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077427#M439847</link>
      <description>&amp;gt;i put the line source /sgx/login/super1/.cshrc in .login file, then put the line "exec script $fscript" in .cshrc file. &lt;BR /&gt;&lt;BR /&gt;Don't touch the .cshrc file.  That's no end of problems.&lt;BR /&gt;&lt;BR /&gt;Only change the end of .login to source the .cshrc file, followed by the the set commands, then at the end:&lt;BR /&gt;exec script $fscript</description>
      <pubDate>Wed, 31 Oct 2007 23:42:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-implement-script-command-in-a-cshrc-csh/m-p/5077427#M439847</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-10-31T23:42:06Z</dc:date>
    </item>
  </channel>
</rss>

