I would consider a person who claims to know what another knows, absent evidence, to be in that category. Ad hominem arguments have no place here.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of David Crayford [dcrayf...@gmail.com] Sent: Friday, August 18, 2023 8:49 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Strange results for the PS1 prompt with z/OS Unix While maintaining respect, it can be quite exasperating within a technical forum to come across a "pseudo-expert" or a "know-it-all." It's important to possess a solid grasp of the subject, as otherwise, your contributions might just add to the noise. z/OS UNIX might not be within your realm of expertise. Enough said from me on this subject :) On 18/8/2023 8:31 pm, Seymour J Metz wrote: >> I'm feeling a bit puzzled here! > Then ask instead of attributing to me things that I didn't write. > >> Bash doesn't come pre-installed with z/OS; > True but irrelevant. Now, were Rocket to stop supporting it, *that* would be > relevant. > >> so there shouldn't be any compatibility problems, right? > WTF? How does the fact that it's 3rd party suddenly make bash and zsh > compatible? > >> If IBM decides to include zsh, which is >> considered superior to bash, this could be a game-changer. > Only for new scripts. > >> Once IBM introduced their Python SDK for z/OS, Rocket's Python started >> struggling and eventually became obsolete. > True but irrelevant; those were two implementations of the same language, > while bash and zsh are different languages. > >> It's perfectly fine to skip commenting on every discussion, > It's perfectly fine to comment on what people actually write; it's not so > fine to comment on what only exists in your head. > > > -- > Shmuel (Seymour J.) Metz > http://mason.gmu.edu/~smetz3 > > ________________________________________ > From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of > David Crayford [dcrayf...@gmail.com] > Sent: Friday, August 18, 2023 7:33 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Strange results for the PS1 prompt with z/OS Unix > > On 18/8/2023 7:07 pm, Seymour J Metz wrote: >> While, IMHO, zsh should have been included in MVS/ESA SP V4.3 OpenEdition, I >> don't see it killing bash, due to compatibility. > I'm feeling a bit puzzled here! Bash doesn't come pre-installed with > z/OS; rather, it's a tool ported by Rocket, so there shouldn't be any > compatibility problems, right? If IBM decides to include zsh, which is > considered superior to bash, this could be a game-changer. > > Once IBM introduced their Python SDK for z/OS, Rocket's Python started > struggling and eventually became obsolete. > > It's perfectly fine to skip commenting on every discussion, especially > when it's not within your field of expertise. > >> >> -- >> Shmuel (Seymour J.) Metz >> http://mason.gmu.edu/~smetz3 >> >> ________________________________________ >> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of >> David Crayford [dcrayf...@gmail.com] >> Sent: Friday, August 18, 2023 5:38 AM >> To:IBM-MAIN@LISTSERV.UA.EDU >> Subject: Re: Strange results for the PS1 prompt with z/OS Unix >> >> What version of bash are you using? Rocket software's port or IBM z/OS >> Open Tools? >> >> Irrespective, bash is an enhanced ASCII application so make sure you >> have the following environment variables set in your profile login >> scripts by entering "env | sort" from the shell command line. >> >> _BPXK_AUTOCVT=ON >> _CEE_RUNOPTS=FILETAG(AUTOCVT,AUTOTAG) TERMTHDACT(UADUMP) ABTERMENC(ABEND) >> _TAG_REDIR_ERR=txt >> _TAG_REDIR_IN=txt >> _TAG_REDIR_OUT=txt >> >> Incidentally, I noticed that IBM are shipping zsh as part of z/OS 3.1 so >> bye, bye bash. >> >> I've being using zsh for years and it turbo charges the shell. For >> example, there are open source themes such as oh-my-zsh and >> powerline10k. The powerline customizes PS1 with fancy glyphs. The >> current Git branch, commits and other information is shown. It's next >> level to the dull one your using :). Also, there is zsh-autosuggestions >> which recalls previous commands for auto completion. oh-my-zsh also >> provides a plugin for git command completion and other super cool >> command completions that make using the shell as easy as an IDE. >> >> https://github.com/ohmyzsh/ohmyzsh/tree/master >> https://github.com/romkatv/powerlevel10k >> https://github.com/zsh-users/zsh-autosuggestions >> >> To enable the cool glyphs you will need to install Nerd fonts and >> configure your terminal emulator. If you're a Windows user and using >> PuTTY I recommend switching to Windows Terminial (preferably with WSL2) >> which has tabs, tiled windows and is just miles better. If you're on a >> Mac like me it's easy to configure Termimal, iTerm2 or whatever emulator >> you use. Same with Linux desktops. On z/OS "export TERM=xterm-256color" >> >> In the meantime, there is a port of powerline-go as part of the Z/OS >> Open Tools project. If you have downloaded the installer you can install >> it simply by running "zopen install powerlinegoport". >> >> https://github.com/justjanne/powerline-go # instructions how to >> configure it with bash >> >> *Z Shell (Zsh) on z/OS* >> >> The Z Shell (Zsh), specifically Zsh 5.8.1, has been ported and made >> available on z/OS 3.1. Zsh is a UNIX command interpreter that is used as >> an interactive login shell and as a shell script command processor. It >> has command-line editing, built-in spelling correction, programmable >> command completion, shell functions (with autoloading), a history >> mechanism, and a host of other features. With the extensibility, rich >> customization, and advanced features, Zsh provides a modern and powerful >> shell on z/OS. It is designed to accelerate users' daily work and have >> consistent behavior with other open platforms. >> >> On 17/8/2023 11:31 pm, Tom Longfellow wrote: >>> 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 emailtolists...@listserv.ua.edu with the message: INFO IBM-MAIN >> ---------------------------------------------------------------------- >> For IBM-MAIN subscribe / signoff / archive access instructions, >> send email tolists...@listserv.ua.edu with the message: INFO IBM-MAIN >> >> ---------------------------------------------------------------------- >> For IBM-MAIN subscribe / signoff / archive access instructions, >> send email tolists...@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 > > ---------------------------------------------------------------------- > 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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN