Re: A newbie question (really!?)
Re: A newbie question (really!?)
- Subject: Re: A newbie question (really!?)
- From: Salvatore Podda <email@hidden>
- Date: Thu, 13 Jan 2005 18:11:48 +0100
On 12/gen/05, at 19:13, Don MacQueen wrote:
At 4:14 PM +0100 1/11/05, Salvatore Podda wrote:
When you invoke an X service (it could be an "emacs" or "vi" or
whatever X window application) from a Terminal window the system puts
correctly the X window as the foremost one with the nasty property of
leaving in background the X11 application and directing the output of
keystroke to the originating Terminal application which remains the
current one. This is not a problem of "focus on". When I tried this
way I got the cursor of the X window application to become "Block"
as the mouse move over the application window, but the the Terminal
application remains "current". We solve this problem on Linux system
by letting follow the invokation of the X service by a suitable ESC
sequence which put the X window as the foremost/ foreground
application. I have noted that the "Commad + Tab" could do the same
as the X11 application after the invokation of the X service follow
the Terminal application. But which is the code for the "Command" key
?
Run the xev application, put the cursor over its window, and press the
Command key. The shell (window) in which you invoked the xev command
will tell show you the keycode.
Thanks. I tried, in the past the "xev" but I missed where the ascii
code is reported Now I've got it!.
I'll try if it is possible to send the key sequence to the system
following the X service invokation.
Command-Tab cycles through all open applications, so a single
invocation of Command-Tab won't take you to X11 unless it is next in
the cycle. I don't know if that will always be the case when you
invoke an X client from within Terminal.app.
Yes, it is. X11 and then the last requested service (emacs, or
whatever) are always the next applications in the cycle.
Of course, you can always invoke the X client (emacs or vi or
whatever) from within a terminal window running under X11, for
example, xterm.
This will start the problem again on xterm invokation .....
Thanks
Salvatore
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden