Wow ... thanks for sharing the resolution.

There is a great misunderstanding of how Unix shell profiles work.  I
have seen similar problems several times.  (Of course, I've never shot
my own foot.  No way!)

$HOME/.profile is "sourced", which means it runs within the same
process space.  Otherwise, it could have no effect on the environment.
 (A child process in Unix cannot change the environment variables of
its parent.)  That's not exactly what happened with the 'trap', but
related.  When the graphical desktops hit, a lot of the profiling
elegance was forgotten, so the lack of education is made worse.

With care, you can get the vendor profile, a local profile, and the
user profile all cleanly applied ... reliably, for any shell, with any
login (graphical or textual).  It's just that few remember HOW.

-- R;   <><
Rick Troth
Velocity Software
http://www.velocitysoftware.com/





On Wed, Dec 14, 2011 at 15:11, Smith, Ann (ISD, IT)
<ann.sm...@thehartford.com> wrote:
> We found the issue with hung processes was due to code they had put in their 
> .profile
>
>
> export TERM=vt220
>
> #export LANG=
>
> set -u
>
> trap "echo 'logout'" 0
>
> trap "" 1 2 3
>
> export PATH=$PATH:.
>
>
> trap 1  was removed - no longer get hung processes chewing up cpu
>
>
> -----Original Message-----
> From: Smith, Ann (ISD, IT)
> Sent: Friday, November 18, 2011 9:49 AM
> To: 'Linux on 390 Port'
> Subject: RE: Porting old application- numeric keypad
>
> Yes HOD was used with HPUX and will be used with linux on z.
>
> Now they tell me they had on HPUX and stiil have on z a problem with 
> processes left by users not terminating out of HOD properly. Processes that 
> are left apparently use quite a bit of cpu. They reworked a kill script they 
> ran on HPUX so it can identify and kill such processes on SLES10.
>
> Have you heard of this with X'ing out or terminating HOD?
>
> At the same time as moving to linux on z they are moving users jobs to India 
> and we will have this problem day and night. I've have started to get paged 
> day and night when the cpu usage hits a limit due to these leftover processes.
>
> -----Original Message-----
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Richard 
> Troth
> Sent: Wednesday, November 16, 2011 1:36 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: Porting old application- numeric keypad
>
> You will want to find out if HOD was/is used when they run this against HP-UX 
> system(s).
>
> It has been a while since I worked on this kind of thing.  I was dismayed to 
> find that most of the termcap/curses support is for *output*.  For input, 
> more of the heavy lifting gets dumped on the apps themselves.  That aspect 
> (how much of the input side does the library handle automagically) may vary 
> between HP-UX and Linux.
>
> -- R;   <><
> Rick Troth
> Velocity Software
> http://www.velocitysoftware.com/
>
>
>
>
>
> On Wed, Nov 16, 2011 at 11:34, Smith, Ann (ISD, IT) 
> <ann.sm...@thehartford.com> wrote:
>> It is vt420f. My typo.
>>
>> They just told me they are using IBM Host On Demand.
>> Trying to get more info on their keyboard mapping.
>>
>> Do you have to turn Num Lock on to get keypad to work?
>>
>> -----Original Message-----
>> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
>> Mark Post
>> Sent: Wednesday, November 16, 2011 11:09 AM
>> To: LINUX-390@VM.MARIST.EDU
>> Subject: Re: Porting old application- numeric keypad
>>
>>>>> On 11/16/2011 at 10:56 AM, "Smith, Ann (ISD, IT)"
>>>>> <ann.sm...@thehartford.com>
>> wrote:
>>> They are using TERM=VT420F
>>> Does anyone know of a way to get numeric keypad on keyboard to work
>>> with SLES? Apparently it is critical to customers using this
>> application.
>>
>> Since I use it every day, I can say that the numeric keypad works just
>> fine "with SLES."  Part of the equation, though, is what terminal
>> emulator they're using to access the system, as well as the TERM
>> environment variable, which you listed as VT420F.  (Which might be
>> part of the issue; it really should be vt420f, not VT420F.)
>>
>>
>> Mark Post
>>
>> ----------------------------------------------------------------------
>> For LINUX-390 subscribe / signoff / archive access instructions, send
>> email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
>> visit http://www.marist.edu/htbin/wlvindex?LINUX-390
>> ----------------------------------------------------------------------
>> For more information on Linux on System z, visit
>> http://wiki.linuxvm.org/
>> ************************************************************
>> This communication, including attachments, is for the exclusive use of 
>> addressee and may contain proprietary, confidential and/or privileged 
>> information.  If you are not the intended recipient, any use, copying, 
>> disclosure, dissemination or distribution is strictly prohibited.  If you 
>> are not the intended recipient, please notify the sender immediately by 
>> return e-mail, delete this communication and destroy all copies.
>> ************************************************************
>>
>> ----------------------------------------------------------------------
>> For LINUX-390 subscribe / signoff / archive access instructions, send
>> email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
>> visit http://www.marist.edu/htbin/wlvindex?LINUX-390
>> ----------------------------------------------------------------------
>> For more information on Linux on System z, visit
>> http://wiki.linuxvm.org/
>>
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions, send email 
> to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit 
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit http://wiki.linuxvm.org/
> ************************************************************
> This communication, including attachments, is for the exclusive use of 
> addressee and may contain proprietary, confidential and/or privileged 
> information.  If you are not the intended recipient, any use, copying, 
> disclosure, dissemination or distribution is strictly prohibited.  If you are 
> not the intended recipient, please notify the sender immediately by return 
> e-mail, delete this communication and destroy all copies.
> ************************************************************
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to