I would try displaying both in hex. Is it possible that one has a space where 
the other has an HT?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Tom 
Longfellow [000003e29b607131-dmarc-requ...@listserv.ua.edu]
Sent: Thursday, August 17, 2023 11:31 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Strange results for the PS1 prompt with z/OS Unix

I am confused and am throwing out a Hail Mary for help.   Here is the situation.
Two cloned LPARs.  (same sysres and unix root file systems)

On system 1 - the /etc/profile   has a PS1 of
    export PS1="[\\u@\\H \\W \\@]\\$ "

On system 2 - the /etc/profile  has a PS1 of
   export PS1="[\\u@\\H \\W \\@]\\$ "

Why YES they do look the same... at least they do to me.
-=-=-=
The results however are very different.

On system one the displayed PS1 is
   [TECH905@jismvs_test ~ 11:26 AM]$

On system two the displayed PS1 is
  [\u@\H \W \@]$
-=-=-=-=
I am using the same SHELL program in my environment.  (/usr/bin/bash)

Anybody have any ideas why the two different LPARs are reading the same string 
but interpreting it in two different ways?
My suspect is some dark secret settings in the Unix file system.   Total Guess

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to