zsh for OS/2 release 01
I am poor at English.;-(
What is this?
This is the port of zsh-2.5.03 for OS/2, based on zsh-2.5.03 X680x0 Human68k port by
ONO Hideki.
It runs on 32bit OS/2. I confirmed to run on WARP J v3.01.
Installation
Make home directory on HPFS drive.
Store termcap.dat(in emxrt.zip) somewhere.
Set environment variables in CONFIG.SYS .
set HOME=<location of home directory>
set TERMCAP=<location of termcap.dat>
set TERM=<an entry name in termcap.dat>
set USER=<user name>
set HOSTNAME=<host name>
example:
set HOME=E:/home/kent
set TERMCAP=E:/emx/etc/termcap.dat
set TERM=ansi-color-2
set USER=kent
set HOSTNAME=pen100
After reboot, You can use zsh.exe.
Specification of OS/2 version
- As setopt ignorecases, globbing and completion are done in case-insensitive.
- Suspeding process / bg / fg are not supported.
- As setopt pcatkeyboardhack, ignore an unnecessary quotation(') at tail of command line.
- %m in prompt refers $HOSTNAME .
- Execute .BAT / .CMD in $COMSPEC /C <commandline> .
- Need sh on $PATH for executing shell script.
You may cp -p zsh.exe sh.exe .
- Screen width in zsh is $COLUMNS - 1 .
- This port depend on Japanese strongly. I'm afraid It has
troubles to use in other character sets except 7bit character set.
Known bugs
- There are strange files in command hash.
- history-incremental-search-* make a garbage on screen.
Compile
Install emx09a, fix06, gcc-2.6.3, sed. And type `make' in src_os2.
TAMURA Kent
PDD03033@niftyserve.or.jp,
kent@muraoka.info.waseda.ac.jp