T.R | Title | User | Personal Name | Date | Lines |
---|
2127.1 | | QUARK::LIONEL | Free advice is worth every cent | Wed Jan 24 1990 14:15 | 4 |
| Assuming you are using VMS V5.3 ("DECwindows V2"), use the Customize -
Applications Menu option of the session manager dialog box.
Steve
|
2127.2 | | TINGAU::HEFELE | Kaufbeuren, Germany | Wed Jan 24 1990 14:24 | 6 |
| I tried this but if I click a 'system default' option like DECterm
from the menu item list the REMOVE
dont' work (only private added application are removale.).
Frido!
|
2127.3 | FileView Is History | XDELTA::HOFFMAN | Steve, 223-7186 | Wed Jan 24 1990 18:57 | 8 |
| Frido,
Exactly what pulldowns and commands are you doing? I just tried removing
FileView and it vaporized from the application pulldown like a charm. Is
it possible you logged out and back in to the workstation without saving
the session manager settings?
Steve
|
2127.4 | Definitions... | TINGAU::HEFELE | Kaufbeuren, Germany | Thu Jan 25 1990 07:41 | 15 |
|
I try to remove it from the "Applocation Definitions" .., its no problem to
remove it from the APPLICATIN MENU or the AUTOSTART (all under 'customize')
Frido!
P.s. redefine of a 'system default' also don't work. I tried to modify some
entries, e. g. the bookreader.
at the sessionmanaer click on 'CUSTOMIZE' the on
"Applocation Definitions", now "bookreader"
You will see the commandline, but you CAN'T changes this line
|
2127.5 | | SMAUG::MENDEL | I don't want to burn in Paradise! | Thu Jan 25 1990 12:39 | 6 |
| Oh, by the way ...
Who made these "system default" application definitions so indestructable
anyways? Seems more of a pain than a pleaser.
Kevin
|
2127.6 | DECwindows wasn't intended to be a closed system | HANNAH::MESSENGER | Bob Messenger | Fri Jan 26 1990 12:36 | 22 |
| Re: .5
> Who made these "system default" application definitions so indestructable
> anyways? Seems more of a pain than a pleaser.
It was probably designed that way so a user experimenting with Customize
couldn't accidently delete an important definition. The question is: should
you give users enough rope to hang themselves? (Some people have an almost
religious belief that the answer is "yes" and others say "no".)
What's interesting here is that you're trying to disable what the session
manager considers to be a vital feature, and presumably your motivation is
that you *don't* want users to have enough rope to hang themselves (by running
DECterm or Fileview).
In general, DECwindows is designed with the idea that users will have control
over their workstation (within some limits). I've often seen requests from
people that want to disable some of the user interface features (such as the
menubar or the Quit command in DECterm). It isn't very easy to do this,
because that wasn't a design goal when we were writing the software.
-- Bob
|
2127.7 | You can start anything you want ... | SMAUG::MENDEL | I don't want to burn in Paradise! | Fri Jan 26 1990 13:21 | 41 |
| >>> What's interesting here is that you're trying to disable what the session
>>> manager considers to be a vital feature, and presumably your motivation is
>>> that you *don't* want users to have enough rope to hang themselves (by
>>> running DECterm or Fileview).
That's very interesting. But bear with me here ...
You see, I run Banner, and I like that it shows me which processes
are using up my tiny 2000's CPU. However, I noticed that I couldn't
tell, among the processes started by Session Manager, which
processes were which, because they all have similar names. Like
MENDEL_SM1 or something.
So, in order to start my applications in processes with MEANINGFUL
NAMES, I hade to redefine the applications to run a command
procedure that sets the process name and then executes the command.
And then I had to add code in my login.com, so that it could detect
that it was logging in as a session manager application, and not
bother doing silly terminal-only things, because session
manager-started processes run login.com with f$mode() set to
"INTERACTIVE", which is annoying.
NOW, because I couldn't redefine Calendar, I hade to create a new
application, "My Calendar". Because I couldn't redefine "Clock", I
had to create "My Clock". Because I couldn't redefine "Paint", I had
to create "My Paint". Because I couldn't redefine "Mail", I had to
create "My Mail". Etc. Etc. Just so they could have a nice name.
Now (in my best Arlo Guthrie imitation) I mean, I MEAN, you're going
to tell me that, after debugging session manager application
startup, after learning to detect a SM-started session in my
login.com, and all that mean, nasty, ugly stuff ...
You're going to tell me that Paint is such VITAL application that I
am going to HANG MYSELF trying to change it?
Kid?
:-)
Kevin
|
2127.8 | I really think it is just a simple bug | DECWIN::KLEIN | | Fri Jan 26 1990 13:52 | 12 |
| >>What's interesting here is that you're trying to disable what the session
>>manager considers to be a vital feature,
Bob,
I think you're reading too much into this. I believe that Karen already
plans to relax this restriction in a future version, and I don't think
it was that conscious a decision to make the restriction in the first place.
I leave Karen to make the final remarks on this one.
-steve-
|
2127.9 | Alice's Session Manager Massacree? | HANNAH::MESSENGER | Bob Messenger | Fri Jan 26 1990 16:54 | 7 |
| Re: .7, .8
OK, I can see where someone might want to redefine the standard application
definitions. Maybe the session manager should put up a warning box asking
"Do you REALLY know what you're doing?" :-)
-- Bob
|
2127.10 | a solution | 4GL::SCAER | | Fri Jan 26 1990 19:12 | 12 |
|
Why not allow the user to redefine the standard application
definitions with the following change to the UI?
Next to the "Add" button in the "Customize Applications Definitions"
dialog box, put a "Restore System Default" button that is sensitive
when the user selects a standard application in the "Menu Items" list.
If he hits this button when a standard application is selected, restore
the system default definition.
This would give us both the flexibility of changing the definitions
and the safety of having the defaults always available.
|
2127.11 | modifying the hard-coded applications | AITG::DERAMO | Dan D'Eramo, nice person | Mon Jan 29 1990 18:56 | 29 |
| The hard-coded applications are in the resource file
decw$system_defaults:decw$session.dat. I override the
command lines of the hard-coded applications by redefining
them in my own copy of decw$session.dat in sys$login:
(i.e., in decw$user_defaults:). I haven't tried to
remove a hard-coded application entirely though. You
can try redefining it to not have a command (sounds risky)
or commenting the line out of the system copy of the
decw$session.dat file.
Dan
P.S. The resources look like (the tail end of
decw$system_defaults:decw$session.dat)
sm.applications: Bookreader,Calculator,Calendar,Cardfiler,Clock,DECterm,CDA Viewer,EVE,FileView,Mail,Notepad,Paint,Puzzle
sm.Bookreader.command: run sys$system:decw$bookreader
sm.Calculator.command: run sys$system:decw$calc
sm.Calendar.command: run sys$system:decw$calendar
sm.Cardfiler.command: run sys$system:decw$cardfiler
sm.Clock.command: run sys$system:decw$clock
sm.DECterm.command: create/terminal=decterm/detach
sm.CDA Viewer.command: view/interface=decwindows
sm.EVE.command: EDIT/TPU/DISPLAY=DECWINDOWS
sm.FileView.command: run sys$system:vue$master.exe
sm.Mail.command: run sys$system:decw$mail
sm.Notepad.command: run sys$system:decw$notepad
sm.Paint.command: run sys$system:decw$paint
sm.Puzzle.command: run sys$system:decw$puzzle
|
2127.12 | better things to come | STAR::BROUILLETTE | | Wed Mar 07 1990 17:07 | 10 |
|
Everyone is right. I designed it so that the system application
definitions could not be redefined. That way, I didn't have to worry
about people changing them and then wanting to restore them. It was
easier and quicker to do it that way and I didn't have much time. I
knew I could do better in a future version...
I know it is a pain, and you won't have to worry about this in V3!!
Karen
|