# PATCH for NetWare specific Screen switches

- Thread: https://externals.io/message/17001
- Original archive: https://news-web.php.net/php.internals/17001
- Started by Kamesh Jayachandran on 2005-06-29T14:08:56+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #17001 — Kamesh Jayachandran — 2005-06-29T14:08:56+00:00

URL: https://externals.io/message/17001#17001

Hi Jani,
Some time in October end 2004 I was asking for allocating 2 switches for
NetWare php cli to handle NetWare specific screen issues.
Subject of the original eMail is 
"Can someone allocate 2 command line switches for php cli on NetWare?"

I got a good suggestion from the community to write an extension that on
its RINIT checks for ini settings "autodestroy" and "noscreen" defined
through -d option to the cli.
I have implemented the same. I wanted to check in this to both 5.0 and
5.1 tree.
Patch to configure.in,
http://www.ductape.net/~kameshj/configure.in.patch.5.0
http://www.ductape.net/~kameshj/configure.in.patch.5.1

Please place the following implementation files under ext/netware for
both php5.0 and php5.1
http://www.ductape.net/~kameshj/php_netware.c
http://www.ductape.net/~kameshj/php_netware.h

I originally thought not to put it under ext/netware but under
php-src/netware as it is not a general purpose extension.
I could not do it as I could not linker error stating
"php_netware_module_ptr not found" which is defined in
ext/netware/php_netware.h.

PHP_NEW_EXTENSION(netware, php_netware.c) in configure.in solves all the
problem.

Please do the needful.

With regards
Kamesh Jayachandran

-- 
http://www.fastmail.fm - A fast, anti-spam email service.
