Xenix and Unix 3.2 Differences
Sing Li
sing at xrtll.UUCP
Fri Mar 2 11:41:27 AEST 1990
Previous posting of the following didn't seem to have reached the
net ...
--------------------------------------------------------------------
Does anyone out there have similar experiences to the following
with either SCO UNIX V 3.2 or other versions of 386 UNIXes:
1) Regular expression differences to XENIX while using 'vi'
I have a file containing lines like the following
Product1 999
Product2 999
Proudct3 123
... etc,etc, ..
With XENIX 'vi', if I execute...
1,$ s/\ *\([0-9]*$\)/--\1/
... the file will be changed to ...
Product1--999
Product2--999
Product3--123
... etc, etc,
However, with UNIX 3.2 'vi', I get totally
unrationalizable results (ie. half of my
file get deleted!). Could it be that the new
'vi' has minimal matching as default?? (ie. [0-9]*
only matches one single digit rather than the
longest string of digit?
2) One of the printer on the old XENIX system
is slaved through a VT220 terminal. The spooler
uses a 'dumbslave' model file which has the
'turn local printer on' and 'turn local printer
off' command embedded. It all worked fine.
On UNIX V 3.2, the same scheme doesn't work at
all. The printer will print about 5 lines and
then the current user will be 'logged off'.
Could it be that the C2 trusted environment
disallows using slave printers off terminals?
Any help would be appreciated.
Please reply via email ...
yunexus!xrtll!object!sing
More information about the Comp.unix.xenix
mailing list