T.R | Title | User | Personal Name | Date | Lines |
---|
122.1 | I did this.. | AGBEAR::HORNER | A.G.Bear, Low tech teddy bear | Fri Feb 03 1989 15:37 | 9 |
| I used this:
$ link/trace/nodebug/exe=set_title.exe set_title,-
sys$input/opt
sys$library:decw$xlibshr/share
sys$library:decw$dwtlibshr/share
Dave
|
122.2 | Can't get it to work on SDC 5.1 | FUTURA::MCNULTY | Earth: The hostess, not the meal. | Mon Feb 06 1989 11:44 | 10 |
| I tried the relink in .1 and it proceeded without problem, but when I use the
new image I always get the message:
Window with input focus most likely not a terminal window.
Is there a new/improved version of the source I should use?
Lance
|
122.3 | Version for Ultrix? | MSBIS1::LANDINGHAM | Guy M.,BXB1-1/F11,293-5297 | Tue Feb 07 1989 16:09 | 14 |
| Does a version of this exist for Ultrix?
I tried hacking some of the VMS specific stuff out of it, and it almost loads,
except for:
undefined:
_environ
I'm using something like:
% ld -o set_title set_title.o -lX11 -lc
Thanks!
|
122.4 | SET_TITLE source | VAXSYS::ALEXANDRE | Cary Alexandre, 237-2394 | Tue Feb 07 1989 18:32 | 6 |
| Where is the source for SET_TITLE? Thanks...
cla
|
122.5 | set_title needs input focus. | CIM::KAIRYS | Michael Kairys | Wed Feb 08 1989 11:11 | 10 |
|
--> .2
> Window with input focus most likely not a terminal window.
The window whose title you want to set must have input focus at the
time that set_title is run. I suspect that is your problem; it works
fine for me if the window has focus, and I get the above error if it
doesn't.
|
122.6 | via::sys$cs6:[desai.public]set_title.c | 2HOT::DESAI | Jatin Desai | Wed Feb 08 1989 11:31 | 13 |
| re: < Note 122.4 by VAXSYS::ALEXANDRE "Cary Alexandre, 237-2394" >
> Where is the source for SET_TITLE? Thanks...
Try
$ COPY VIA""::SYS$CS6:[DESAI.PUBLIC]SET_TITLE.C, .OBJ, .EXE
Seems like FAL is back on our cluster.
Jatin
|
122.7 | Use cc | FLUME::dike | | Wed Feb 08 1989 12:30 | 4 |
| On Ultrix, cc -o <executable> <sources> -ldwt -lX11. cc will invoke ld which
the appropriate switches to avoid the _environ undefined problem.
Jeff
|
122.8 | It doesn't work | RABBET::FARRELL | Money, there is no substitute! | Wed Feb 08 1989 13:36 | 15 |
|
After updating to SDC DECwindows, my set_title.exe was incompatable.
So I created this note and asked what the set_title.c (.obj) file needed to be
linked with in order for it to work.
Reply #1 gave me the steps, but after I did it, No matter where the window
focus is (Yes I have made sure that the window is selected), I still get the
Window with input focus most likely not a terminal window.
I believe the same is true for .2. Could someone help.
$$$$ ted $$$$
|
122.9 | try this | LESLIE::LESLIE | Andy ��� Leslie | Wed Feb 08 1989 14:05 | 7 |
| Copy LESLIE""::SYS$PUBLIC:SET_TITLE.EXE - it works for me on 5.1 SDC and
5.2 FT
If it doesn't work, the problem is you, not it.
- Andy
|
122.10 | SET_TITLE fixed to work with ULTRIX Windows too | TALLIS::ROBINSON | tiny ��. bubbles .�� round my brain � �� �� | Thu Feb 16 1989 09:21 | 10 |
| Re: .4,.6
I have just sent an updated copy of the source of SET_TITLE
to Jatin which works under both VMS and ULTRIX and will set
the titles regardless whether the DECterm session is on
VMS or ULTRIX (the window class names are different ...
compatibility for you :-) Perhaps he will make it available
where .6 says...
- Scott
|
122.11 | New location is VIA""::$USER5:[DESAI.PUBLIC] | 2HOT::DESAI | Jatin Desai | Thu Feb 16 1989 09:54 | 28 |
| re : .-1
Yes, I put the updated version given by Scott in
VIA""SYS$CS6:[DESAI.PUBLIC]set_title.c, .obj, .exe
Apart from being able to run with VMS/Ultrix, you can have a different
title name in the title bar and icon name in the icon. The usage is
$ set_title :== $dev:[dir]set_title
$ set_title "my window title" [ "my icon name" ]
The second parameter is optional and defaults to the value of the first
parameter if not specified. This allows one to have smaller icon names
and big title names.
If you give "" (empty string) as a parameter, that value will be left
unchanged. This way you can change only one or another. i.e.
$ set_title "" "New icon" !will only change icon name.
$ set_title "New title" "" !will only change title
$ set_title "New title" !will change both
$ set_title "New title" "New icon" !will change both
Enjoy!
Jatin
|
122.12 | JDECterm | THAV07::MORITA | Koichi Morita, SWS Tokyo | Sun Feb 19 1989 02:59 | 23 |
|
Just adding 1 line is needed to get fine result with JDECterm ( VT382 kanji
terminal emulator in JDECwidnows environment ).
Here you are.
Window get_topwin(win)
Window win;
{
Window this_win;
char class_name[255];
for (this_win = win; this_win != root; this_win=get_parent(this_win))
{
get_window_class(this_win,class_name);
if ((strcmp(class_name,"decw$terminal")==0) ||
(strcmp(class_name,"jdecw$terminal")==0) || /* add thie line */
(strcmp(class_name,"dxterm")==0))
break;
}
return(this_win);
}
|
122.13 | and SM too | TALLIS::ZANZERKIA | | Mon Feb 20 1989 16:11 | 23 |
| While we are at adding classes, add > strcmp(classname,"sm")
this will let you change Session Manager window title/icon.
Window get_topwin(win)
Window win;
{
Window this_win;
char class_name[255];
for (this_win = win; this_win != root; this_win=get_parent(this_win))
{
get_window_class(this_win,class_name);
if ((strcmp(class_name,"decw$terminal")==0) ||
(strcmp(class_name,"jdecw$terminal")==0) || /* add thie line */
(strcmp(class_name,"sm")==0) || /* Add this too */
(strcmp(class_name,"dxterm")==0))
break;
}
return(this_win);
}
|
122.14 | Executable. | ANDREW::OSTROM | GIA Software Mfg. MIS Mgr. 287-3606 | Thu Feb 23 1989 12:18 | 6 |
| The location of the .EXE for .-1, please? Many of us don't have room for C and
the programming environment. Thanks!
Andy Ostrom
|
122.15 | the .EXE is in ZFC::ZFC$DISK1:[PUBLIC.X] | AITG::DERAMO | Daniel V. {AITG,ZFC}:: D'Eramo | Sat Feb 25 1989 22:11 | 7 |
| For SET_TITLE.EXE (and .C and .OBJ) from .11 as modified by
.12 and .13, look in
ZFC::ZFC$DISK1:[PUBLIC.X]
Dan
|
122.16 | ??
| RABBET::FARRELL | Money, there is no substitute! | Tue Apr 11 1989 16:21 | 28 |
|
Hello,
I have a Option in FileView which calls a .com file which calls CHILD to create
a window which I can log into. If I get this window up and running, then
from another window, use set_title and quickly change the input focues to the
CHILD window, it works fine.
If, however, I try to run set_title from the login.com of the process I log
into, I get the following:
XIO: non-translatable vms error code: 0x2DBA002, vms message:
%decw-e-cnxabort, connection aborted
%XLIB-F-IOERROR, xlib io error
%TRACE-I-BADDST, no symbols in image
%TRACE-F-STACKDUMP, non-symbolic stack dump follows
module name routine name line rel PC abs PC
00013562 00013562
00013CBC 00013CBC
0000F7DF 0000F7DF
00000476 00000476
what I am doing wrong?
$$$$ ted $$$$
|
122.17 | Authorized | STAR::BRANDENBERG | Intelligence - just a good party trick? | Tue Apr 11 1989 16:30 | 9 |
|
The BADDST message doesn't look good but I imagine the problem is one
of security. Is the user you logged in as in the Child terminal
authorized to use the server? If not, you could get this message.
(There is a race between closing down a connection and getting the
"client not authorized" message displayed. Fixed in future release.)
monty
|
122.18 | | PRNSYS::LOMICKAJ | Jeff Lomicka | Wed Apr 12 1989 11:37 | 3 |
| If the window is being created with CHILD, why not just use /TITLE=?
|
122.19 | found problem, now what?
| RABBET::FARRELL | Money, there is no substitute! | Wed Apr 12 1989 11:39 | 12 |
|
RE: .-1, you are right, it is a security thing.
I put the same login.com file into my account and logged in, and it worked fine.
Then, however, I added the other account MYNODE::ACCT to my security list, but
it still didn't work!
Is there something else I should do?
$$$$ ted $$$$
|
122.20 | Dumb Questions... | MRFLEX::MILLER | Bush For President...Kate Bush! | Wed Apr 12 1989 11:46 | 10 |
| Did you hit apply?
Is MyNode defined on the server?
Is the server node defined on the client?
Hope I got lucky ;)
== ken miller ==
|
122.21 | yup... | RABBET::FARRELL | Money, there is no substitute! | Wed Apr 12 1989 12:43 | 14 |
|
RE: .20 - Yup, that is the first thing I doubled checked. Apply and then Ok.
RE: .18 - I don't know what I want the title to be a creation time. It is
defined to a symbol during the login.com procedure.
To all: Someone mentioned in this conference two files *ACCESS*.dat something
or other. Do I have to put that account name in there as well, or
should security handle this?
keep trying...
$
|
122.22 | | MRFLEX::MILLER | Bush For President...Kate Bush! | Wed Apr 12 1989 12:47 | 10 |
| re: <<< Note 122.21 by RABBET::FARRELL "Money, there is no substitute!" >>>
-< yup... >-
> To all: Someone mentioned in this conference two files *ACCESS*.dat something
> or other. Do I have to put that account name in there as well, or
> should security handle this?
This only applies when you're *not* running a session mgr.
== ken miller ==
|
122.23 | ULTRIX binary (VAX) wanted | LARVAE::NISBET_D | Dougie Nisbet | Wed Apr 25 1990 06:29 | 4 |
| Does an ULTRIX binary exist for this program anywhere on the net?
Dougie
|
122.24 | ultrx1::~cah/b.vax/set_title | CADSYS::HEBERT | Truth is stranger than Jane Fonda. | Thu Apr 26 1990 07:36 | 1 |
|
|
122.25 | works a treat | MOTH::NISBET_D | Dougie Nisbet | Fri Apr 27 1990 06:56 | 8 |
| <<< Note 122.24 by CADSYS::HEBERT "Truth is stranger than Jane Fonda." >>>
-< ultrx1::~cah/b.vax/set_title >-
Great! got it - thanks.
Dougie
|
122.26 | Cannot open display | TOPKAT::DAVIES | | Mon Jun 11 1990 12:07 | 11 |
| I'm running a GPX, VMS5.3 and have opened 2 windows from a remote note.
set_title runs correctly on the first window that is opened, but the second
one always returns "Cannot open display" (XOpenDisplay returns NULL). Any
ideas why/a fix?
This happens on any remote node. The terminal window is started through
CHILD.
Thanks,
Dave
|
122.27 | no DISPLAY variable ?? | GSRC::WEST | Help stamp out and abolish redundancy ! | Wed Jun 13 1990 10:31 | 9 |
| RE: .-1
This sounds like DECW$DISPLAY is not defined. Try doing a SHOW LOGICAL on
DECW$DISPLAY, and also try a SHOW DISPLAY to see if these yield anything.
If the logical is NOT defined then this is most likely your problem.
-=> Jim <=-
|
122.28 | decw$display is defined | TOPKAT::DAVIES | | Wed Jun 13 1990 12:50 | 20 |
| Thanks Jim....I checked DECW$DISPLAY and get
"DECW$DISPLAY" = "_WSA39:"
when I do show display I get
%SYSTEM-W-NOSUCHDEV, no such device available
-SHOW-W-OPENIN, error opening _WSA39: as input
on the working terminal (_WSA38:) it gives:
Device: WSA38: [super]
Node: TOPKAT
Transport: DECNET
Server: 0
Screen: 0
Any ideas?
Dave
|
122.29 | | DECWIN::FISHER | Prune Juice: A Warrior's Drink! | Wed Jun 13 1990 18:15 | 6 |
| I've not been following this note, but just read the last one...it sounds like
the other one just recently solved that the SET DISP/CREATE needed to be in
EXEC mode. (Probably it disappeared when the starting process went away
otherwise)
Burns
|