Calendar Manager, File Manager, and Screenblank

Calendar Manager, File Manager, and Screenblank

Post by Robert E. Mentle 40-2 » Thu, 02 Sep 1993 02:27:31



Hi,

I have several questions, one of which I already posted once, but never got
an answer that worked.
I have a Sparc 10/30 running Solaris 2.2.

1) Using the Openwindows File Manager:  find has never worked.  I can do all my
find files from the command prompt, but I would like to get this working for
users moving from PC's.  Has anyone ever had this work for 2.2?  Do I need
patches?

2) Trying to get Openwindows Calendar Manager to write to calendars I moved
from 4.1.3.  I can browse my old calendars fine, but when I try to insert
new appointments I get a 'You do not have insert access to calendar' message.
I have followed all the trouble shooting guides in the anserbook, i.e. checking
to see file permissions are correct, etc..., all to no avail.  Any help would be
abbreviated.

3) Screenblank: I am using Jef Poskanzer's newest screenblank (Aug25) and
it works great.  My only question is where to put the command so that it is
automatically restarted on reboot.  I have tried to read through the FAQ lists,
but am getting confused.  It seems like I should put a file called S##screenblank
with the command screenblank as its contents.  Is this correct?  What should
## be.  Also what directory(directories?) /etc/rc#.d should this be linked to?

Thanks,
Robert Mentle
Applied Physics Laboratory


 
 
 

Calendar Manager, File Manager, and Screenblank

Post by The Ancient Programm » Sat, 04 Sep 1993 06:25:29



Quote:>Hi,

>I have several questions, one of which I already posted once, but never got
>an answer that worked.
>I have a Sparc 10/30 running Solaris 2.2.

>1) Using the Openwindows File Manager:  find has never worked.  I can do all my
>find files from the command prompt, but I would like to get this working for
>users moving from PC's.  Has anyone ever had this work for 2.2?  Do I need
>patches?

        I have no patches on my system(yet) but find works  in the Openwindows
        File Manager. No problem.

Quote:

>2) Trying to get Openwindows Calendar Manager to write to calendars I moved
>from 4.1.3.  I can browse my old calendars fine, but when I try to insert
>new appointments I get a 'You do not have insert access to calendar' message.
>I have followed all the trouble shooting guides in the anserbook, i.e. checking
>to see file permissions are correct, etc..., all to no avail.  Any help would be
>abbreviated.

        Check your /etc/nsswitch.conf file.  The hosts line must have
        files as the first entry or the calendar manager will not work.

                        hosts:      files dns

        I don't know if this is your problem, but it fixed all of our
        Solaris2.2 systems.

Quote:

>3) Screenblank: I am using Jef Poskanzer's newest screenblank (Aug25) and
>it works great.  My only question is where to put the command so that it is
>automatically restarted on reboot.  I have tried to read through the FAQ lists,
>but am getting confused.  It seems like I should put a file called S##screenblank
>with the command screenblank as its contents.  Is this correct?  What should
>## be.  Also what directory(directories?) /etc/rc#.d should this be linked to?

        There are README files in /etc/init.d and /etc/rc[2,3,S].d that
        might give you some hints as to where to put your screenblank
        startup script.

Quote:

>Thanks,
>Robert Mentle

--



 
 
 

Calendar Manager, File Manager, and Screenblank

Post by Paul Egge » Sat, 04 Sep 1993 11:17:10



Quote:>3) Screenblank: I am using Jef Poskanzer's newest screenblank (Aug25) and
>it works great.  My only question is where to put the command so that it is
>automatically restarted on reboot.

You might try something like the following script.

#!/sbin/sh
# /etc/init.d/initblank - Start/Stop screenblank

# This shell script starts screenblank after Solaris 2.x reboots.

# Fix this INSTDIR definition if necessary.
INSTDIR=/usr/local/bin # replace this with where you installed screenblank

# Do the following to install:
#
#       cp thisfile /etc/init.d/initblank
#       chmod a=rx /etc/init.d/initblank
#       rm -f /etc/rc[012].d/[KS]A.initblank
#       ln /etc/init.d/initblank /etc/rc0.d/KA.initblank
#       ln /etc/init.d/initblank /etc/rc1.d/KA.initblank
#       ln /etc/init.d/initblank /etc/rc2.d/SA.initblank

PATH=$INSTDIR:/usr/bin

command=$1
case $command in
start|stop) [ ! -x $INSTDIR/screenblank ] && exit
esac

pslines=`ps -e | grep screenbl`

case $command in
start)
        case $pslines in
        '') screenblank
        esac;;
stop)
        pid=
        IFS='
'
        for psline in $pslines
        do
                IFS=' '
                set x $psline
                kill $2
        done;;
*)
        echo "$0: usage: $0 {start|stop}"
        exit 1
esac

 
 
 

1. File Manager's Find command causes File Manager to close - why?

I'm using Solaris (version command reports OS version 5.6) on a 450.  When I
use the File Manager's Find command, about every 3rd or 4th time it causes
File Manager to close (along with all directory windows that have been
spawned by prior Find commands).  This is fairly annoying.  Can anyone tell
me if a solution is available?

In case it helps, here is the rest of the results of the version command:

$ version
Machine hardware:   sun4u
OS version:         5.6
Processor type:     sparc
Hardware:           SUNW,Ultra-4

The following components are installed on your system:

Sun WorkShop Compiler C 4.2
Sun WorkShop Compiler C++ 4.2
Sun WorkShop Tools.h++ 7.0
Sun WorkShop Tools.h++ 6.0.4
$

Thanks.

2. HELP!!!! PLEASE!!!!

3. Restoring Calendar Manager files 2.3->2.4

4. Accessing LINUX partitions from OS/2

5. Mounting Volume Manager File Systems without the Volume Manager software

6. mozilla 1.1 pkg for sparc available

7. holidays file (~/*.cal) in calendar manager V3.3

8. csh & ksh: rsh behaves differently

9. Calendar Manager Question: Print to File from command line?

10. How to move Calendar-Manager-Files

11. [Q}Where does Calendar Manager store your files?

12. DiskSuite v4.2.1 - File Manager/Disk Manager SUNWadm not available

13. Do we have Desktop Manager or File Manager for X on Linux ?