Re: Keycodes and rxvt-unicode

2006-07-03 Thread Thomas Dickey

On Sun, 2 Jul 2006, Chris Sutcliffe wrote:


I'm having a bit of a problem with urxvt and key-codes with vim.  I
have key-map setup such that Control-PageUp / PageDown switch between
buffers (bp / bn).  This key-mapping works fine under and xterm, but
just rings the system bell under urxvt.  The odd thing is that Ctrl
and PageUp/PageDown work separately just fine, it's just when I try to
use them together.


rxvt (and derived things such as Eterm, aterm, wterm, urxvt) use a 
different escape sequence for modifiers with function-keys.


--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: FW: xemacs freezes when latexing a file

2006-07-03 Thread Stephen J. Turnbull
Replies directed to xemacs-beta, cygwin/x, and cygwin mailing lists.
I'm not sure that cygwin/x is relevant, but that's what charli
suggested so I'm leaving it in for now.

 Charli == Charli Li [EMAIL PROTECTED] writes:

 From: Yuval Grossman

 I am running xemacs (21.4.19) under cygwin/X (1.5.19.4). When
 I am in latex mode and I latex my file (C-c C-f) sometimes
 xemacs freezes. That

Are you sure that hitting C-g several times in succession doesn't work?

This sounds like a process I/O issue.  Since I have seen no other
reports, the only things I can suggest are (a) try using a different
version of the Cygwin dll, (b) since there's a pending change to
process I/O, build XEmacs from CVS checked out with -rrelease-21-4 or
wait for the release of 21.4.20 (downgrading XEmacs is unlikely to
help, as the last changes to the process code are fairly ancient,
you'd have to go back to at least 21.4.17, released 2006-02-06), or
(c) run XEmacs under gdb, elicit the freeze, get a C backtrace at the
point of the freeze, and send it to xemacs-beta.

FWIW the pending change to process I/O is

2006-03-23  Tony Bennett  [EMAIL PROTECTED]

* process-unix.c (unix_send_process): Reduce timeout for
Faccept_process_output to 10ms.  This dramatically speeds up many
functions that read from processes, eg, inferior interpreter
processes as in ilisp or python-mode.

and the most recent released change to process I/O is

2005-02-03  David Evers  [EMAIL PROTECTED]

* process-unix.c (unix_send_process): Flush the last chunk, even
when the pipe is blocked.

If the Cygwin build actually uses the process-nt.c code, then I have
no idea what's going on---that code hasn't changed since 21.4.9 in mid-2002.

Charli ...and the XEmacs-news mailing list, perhaps?

Please direct questions that clearly indicate a problem that could
easily be an XEmacs bug to [EMAIL PROTECTED]

Yuval may also want to post to the comp.emacs.xemacs newsgroup, as
somebody there may know workarounds.  It is unlikely that changes in
areas as delicate as process I/O will be made in haste to the 21.4
line, especially since the experts on that are currently on vacation,
so (if it's our bug) you're going to need to be patient.

N.B.  Despite the description of xemacs-news on the XEmacs Mailing
Lists home page, the mail-news gateway has never worked well, and with
nearly zero traffic, xemacs-news is going to be decomissioned next
week, as announced several weeks ago.

Regards,

Stephen Turnbull
[EMAIL PROTECTED]

-- 
School of Systems and Information Engineering http://turnbull.sk.tsukuba.ac.jp
University of TsukubaTennodai 1-1-1 Tsukuba 305-8573 JAPAN
   Ask not how you can do free software business;
  ask what your business can do for free software.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Keycodes and rxvt-unicode

2006-07-03 Thread Chris Sutcliffe

rxvt (and derived things such as Eterm, aterm, wterm, urxvt) use a
different escape sequence for modifiers with function-keys.


Is it possible to determine what these escape sequences are?  I assume
once they are determined I should add them to my .inputrc?

Chris

--
Chris Sutcliffe
http://ir0nh34d.blogspot.com
http://emergedesktop.org

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Keycodes and rxvt-unicode

2006-07-03 Thread Thomas Dickey

On Mon, 3 Jul 2006, Chris Sutcliffe wrote:


rxvt (and derived things such as Eterm, aterm, wterm, urxvt) use a
different escape sequence for modifiers with function-keys.


Is it possible to determine what these escape sequences are?  I assume
once they are determined I should add them to my .inputrc?


yes - they're documented (in rxvt's source, there's a doc or docs 
directory containing the file).  I added some comments to terminfo.src in 
ncurses which covers much of that:


ftp://invisible-island.net/ncurses/terminfo.src.gz

Similarly, for xterm, the modifier encoding is documented in ctlseqs.ms (a 
corresponding .txt file is in my ftp area).  Again, there's some 
coverage of it in terminfo.src


--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Keycodes and rxvt-unicode

2006-07-03 Thread Chris Sutcliffe

yes - they're documented (in rxvt's source, there's a doc or docs
directory containing the file).  I added some comments to terminfo.src in
ncurses which covers much of that:


Thanx for providing that.

I did some Googling and came up with this link:

http://groups.yahoo.com/group/vim/message/66414

Using the 1 line c code listed there, I used it to determine the
escape sequence for Ctrl-PageUp and Ctrl-PageDown and added the
following to my .vimrc:

nmapESC[5^C-PageUp
nmapESC[6^C-PageDown
nnoremap C-PageDown :bn!CR
nnoremap C-PageUp :bp!CR

and now everything works as expected.

Cheers!

Chris

--
Chris Sutcliffe
http://ir0nh34d.blogspot.com
http://emergedesktop.org

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: howto stop the beep in cygwin ??

2006-07-03 Thread Ed Bech
Thomas Dickey dickey at his.com writes:
 xterm's visibleBell resource (which is toggleable via the 
 control/left/mouse menu) does that.

thanks a lot Thomas, I am now secured from beeing banned of my desk :)
 
It is contol/middle click mouse/ with my cygwin and it works indeed !
Will I ask too much, if I ask you how to set it permanently in any config file ?
And how to set permantly Enable Reverse Video mode ?

thx.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: gnome desktop

2006-07-03 Thread Raf
Hi Robert,

Robert Wolf rwolf at sears.ca writes:
 I noticed there is a 'gnome' package in cygwin. Is this a complete gnome
 desktop that I can run locally? If so how to start it up?

Unfortunately not.  I've given up on getting gnome to work out of the box.  If 
you search on sourceforge.net for cygnome, you'll find instructions which allow 
you to point your cygwin setup.exe at alternative archive.  This contains 
various gnome components.  I've found that inspite of the ease with which the 
installer builds most things, getting gnome to run is a real nightmare.  I had 
to symlink various library_version.dll's to library.dll's in the /bin dir.  
This got it working to a point where my desktop seg-faulted and my own patience 
collapsed.  

I haven't actually seen many mortals with working cygnome implementations and, 
in answer to your question, simply including the 'gnome' stuff in the initial 
set-up doesn't do much more than load in a number of applications and gtk 
libraries.  You don't get gnome-session.  Once's you have managed to get it 
on your box, it's still hell to set-up.

Don't give up, but do report your feed back.  I for one would be interested.

Cheers,

Raf



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Updated: cygwin-1.5.20-1

2006-07-03 Thread Luis P Caamano

Nice, many thanks!

Just FYI, the gnome-terminal now doesn't complain about updwtmpx on
first start but every now and then the gnome-pty-helper seems to hang
gnome-terminal.exe when creating a new tab.  It's not that bad though
as it only seems to happen when opening several terminals at the same
time and opening a tab on them quickly.


On 7/2/06, Christopher Faylor [EMAIL PROTECTED] wrote:

I've made a new version of the Cygwin DLL and associated utilities
available for download.  As usual, a list of what has changed is below.



[ snip ]



Changes since 1.5.19-4:



[ snip ]



corinna: Implement updwtmpx.



[ snip ]



cgf: Rework pty master handling to avoid handle leak (thanks to Dave Korn for
initial implementation).




--
Luis P Caamano
Atlanta, GA USA

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: howto stop the beep in cygwin ??

2006-07-03 Thread Thomas Dickey

On Mon, 3 Jul 2006, Ed Bech wrote:


Thomas Dickey dickey at his.com writes:

xterm's visibleBell resource (which is toggleable via the
control/left/mouse menu) does that.


thanks a lot Thomas, I am now secured from beeing banned of my desk :)

It is contol/middle click mouse/ with my cygwin and it works indeed !
Will I ask too much, if I ask you how to set it permanently in any config file ?
And how to set permantly Enable Reverse Video mode ?


That's done in a resource file, e.g., $HOME/.Xdefaults

Something like this might work for you:

XTerm*VT100.visualBell: true
XTerm*VT100.reverseVideo: true

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/