[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference unxa::cde

Title:CDE on Digital UNIXonment - CDE
Notice:CDE on Digital UNIX - for CDE on VMS, please see Note 1.3
Moderator:UNXA::SYSTEM
Created:Tue Nov 23 1993
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:660
Total number of notes:2674

585.0. "CDE, decterm and screen number" by CUESTA::MARCOS () Thu Jan 16 1997 10:11

T.RTitleUserPersonal
Name
DateLines
585.1known limitation in CDEUNXA::BEUTENo good deed ever goes unpunished...Thu Jan 16 1997 11:0921
585.2CUESTA::MARCOSFri Jan 17 1997 03:027
585.3Possible solutionNETRIX::"[email protected]"Wayne BarlowFri Jan 24 1997 11:3743
As a workaround you can create an action that will prompt you for the 
screen number.  You can then install this action on your  front panel so 
that you can access it easily.

Edit a file called ~/.dt/types/DecTerm.dt

Insert the following:

ACTION DecTermScreen
{
     LABEL         DecTerm
     TYPE          COMMAND
     EXEC_STRING   /usr/bin/X11/dxterm -display :0.%"Screen:"%
     ICON          Dtterm
     WINDOW_TYPE   NO_STDIO
}

Save and exit.

Create an empty file called DecTermScreen in ~/bin and give it execute
permissions.

Then, from a terminal, exectute "/usr/dt/bin/dtaction ReloadActions".

Bring up the file manager, dtfile, and go into the ~/bin directory.  There
should be a terminal icon with the label "DecTerm".

Open your "Personal Applications" subpanel off of the frontpanel (by default
this is done by clicking the arrow above the fourth icon).  Drag and
drop the DecTerm icon to "Install Icon Box".  This will add it to your
subpanel.

If you want to add it to the main panel, while the mouse cursor is over the 
DecTerm icon in the subpanel press MB3 and select "Copy To Main Panel".

Clicking on this icon will prompt you for a screen number. Enter a screen
number (0-2 if you have 3 heads) and the decterm should go to  the right
place.

Hope this helps,
Wayne.
 
[Posted by WWW Notes gateway]