'less' command doesn't work properly in searching strings...

'less' command doesn't work properly in searching strings...

Post by Ricardo Mar » Thu, 15 Jun 1995 04:00:00



I got here less-205 which is a paginator better than "more".
(Works in SunOs 4.*, Ultrix, HP-UX).

Did someone compiled it for Solares2.4

The version I compiled doesnt search strings properly, any hints?


--

--- Ricky.  (Another Unix Hacker)
                                                                  \||/

| Software Engineer in R&D Dpt.                              |   / (__,,,,|
| Fibronics Ltd., Matam Industrial Park, Haifa 31905, Israel |^\/ _)

|    Fax: +972-4-313342   http://www.fibronics.co.il/~ricky/ |  / _)
+------------------------------------------------------------+  | )_)
                                                  <  >      |(,,) )__)
P.D. "Do not meddle in the affairs of dragons -    ||      /    \)___)\
      for them you are crunchy and                 | \____(      )___) )___
      go well with ketchup"                         \______(_______;;; __;;;

 
 
 

'less' command doesn't work properly in searching strings...

Post by Davin Mil » Thu, 15 Jun 1995 04:00:00


?I got here less-205 which is a paginator better than "more".
?(Works in SunOs 4.*, Ultrix, HP-UX).
?
?Did someone compiled it for Solares2.4
?
?The version I compiled doesnt search strings properly, any hints?

If you get version 290 (from prep.ai.mit.edu, for example), it should build
and run just fine under Solaris.


(I cc'ed him too.)

Davin.
-------------------------------------------------------------------------------


               Fax:       (716) 645-3464
               WWW:       http://www.cs.buffalo.edu/~milun/

 
 
 

'less' command doesn't work properly in searching strings...

Post by Scott Seligm » Thu, 15 Jun 1995 04:00:00



> I got here less-205 which is a paginator better than "more".

> Did someone compiled it for Solares2.4

> The version I compiled doesnt search strings properly, any hints?

For version 200, at least, after running "configure" you should edit
defines.h and replace HAVE_POSIX_REGCOMP with HAVE_REGCMP.  While
you're in the editor, you can also change EDIT_PGM from "vi" to
"emacs".  :-)

Then edit Makefile and add "-lgen" to the LIBS line.

Solaris 2.5 supports the POSIX.2 regcomp routines, so this isn't
needed for 2.5.

Scott Seligman


The opinions expressed are my own.  Facts, though, are just facts.

 
 
 

1. 'su -c' doesn't work properly?

Hi,

I'm working on a ksh-script which must be run as user 'root', however,
in this script I'm trying to run the installation program for Oracle
8.0.4 on my box- HP9000 D330 running HP-UX 11.00. The installation
program requires the user 'oracle' to run it and I'm trying to do this
by using the following line:
/usr/bin/su oracle -c './orainst /m'
The installation starts off fine but terminates with the error:
Result: oraview.ins(206): PERMISSION_DENIED while making directory
/u01/app/oracle/product/8.0.4/orainst/oravw/install. (Permission
denied.)
This is because the directory
/u01/app/oracle/product/8.0.4/orainst/oravw/ apparently has been created
with owner root by the installation program prior to the attempt to
create the underlying /install dir.

My guess is that the installation program somehow spawns some kind of
sub-processes which apparently is run by 'root' instead of 'oracle'
while creating the directory above and therefore the installation
program is not allowed to create any directories below this dir.

So, is there a nice way to get around this?
If possible, please mail me suggestions, thanks in advance//
Jimmy

2. Linux in the Media...

3. Why doesn't echo "text" 'command' "more text" work?

4. 2.0.30 kernel -- worth the upgrade ?

5. 'tr' command doesn't work with ranges on 5.0.2?

6. SSH, sudo, and host aliases

7. ``M-x shell'' command under emacs doesn't quite work.

8. RedHat 5.2 + SBLive - YET another question :-)

9. 'make' command doesn't work

10. Why doesn't echo "text" 'command' "more text" work?

11. > ksh children won't die ; exec doesn't work properly (solution)

12. PROBLEM: 'sed' script 's/^ /\n/' not working properly

13. ksh children won't die ; exec doesn't work properly; ksh -p