Problems with URXVT [Perl]
I have noticed that when I put: URxvt*perl-ext-common: default,tabbed to ~/.Xdefaults URXVT does not work right: $ urxvt& $ urxvt: perl hook 0 evaluation error: no such resource 'perl_ext_2,-tabbed', requested at /usr/lib/urxvt/perl/tabbed line 64. urxvt: Can't call method "parent" on an undefined value at /usr/lib/urxvt/perl/tabbed line 83. urxvt: Can't call method "focus_in" on an undefined value at /usr/lib/urxvt/perl/tabbed line 162. urxvt: Can't call method "parent" on an undefined value at /usr/lib/urxvt/perl/tabbed line 83. urxvt: Can't call method "parent" on an undefined value at /usr/lib/urxvt/perl/tabbed line 83. urxvt: Can't call method "focus_out" on an undefined value at /usr/lib/urxvt/perl/tabbed line 170. urxvt: Can't call method "parent" on an undefined value at /usr/lib/urxvt/perl/tabbed line 83. urxvt: Can't call method "focus_in" on an undefined value at /usr/lib/urxvt/perl/tabbed line 162. urxvt: Can't call method "parent" on an undefined value at /usr/lib/urxvt/perl/tabbed line 83. urxvt: Can't call method "focus_out" on an undefined value at /usr/lib/urxvt/perl/tabbed line 170. ... it seems to hang and I have to kill it. I remember it worked fine, also with that line in .Xdefault. Perhaps the last upgrade to perl-5.10.1-4? Ciao, Angelo. -- 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: Can't use mintty instead of rxvt for ssh -Y using cygwin xserver
On 10/11/2010 1:21 PM, Christopher Faylor wrote: > You probably could try to figure out if the X server is working and then > see which display is being used from that but I really don't think it > makes sense to slow down mintty to perform this check. FWIW, this > wouldn't work with the linux console either. > > IMO, it just boils down to a situation where, if the user wants to have > things display remotely, they have to go to the effort to properly set > the DISPLAY environment variable. Modifying mintty, the cygwin console, > or any other non-X application to do the right thing isn't the way to > go. FYI, the 'checkX' program from the run2 package could be useful here, as part of a script the end user could run, within mintty or the cygwin console... -- Chuck -- 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: Can't use mintty instead of rxvt for ssh -Y using cygwin xserver
On Mon, Oct 11, 2010 at 05:14:56PM +0100, Andy Koppe wrote: >On 11 October 2010 17:02, reckoner wrote: >>Evidently, there is some subtle difference in how the DISPLAY variable, >>which is set in the user startup files is processed by rxvt as opposed >>to mintty. >> >>Ultimately, although the DISPLAY variable is clearly set in the user >>startup files, I additionally had to set it higher up in the startup >>process in /etc/profile in order to get it to work with mintty. > >Rxvt and also xterm set DISPLAY to the X display they're connected to. >Mintty of course isn't an X application, hence all it could do is take >an uneducated guess and set DISPLAY to ':0'. I don't think that would >be appropriate, because no X server might be present or it might point >at the wrong one. The Cygwin console and PuTTYcyg don't set DISPLAY >either. You probably could try to figure out if the X server is working and then see which display is being used from that but I really don't think it makes sense to slow down mintty to perform this check. FWIW, this wouldn't work with the linux console either. IMO, it just boils down to a situation where, if the user wants to have things display remotely, they have to go to the effort to properly set the DISPLAY environment variable. Modifying mintty, the cygwin console, or any other non-X application to do the right thing isn't the way to go. cgf -- 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: Can't use mintty instead of rxvt for ssh -Y using cygwin xserver
On 11 October 2010 17:02, reckoner wrote: > Evidently, there is some subtle difference in how the DISPLAY variable, > which is set in the user startup files is processed by rxvt as opposed to > mintty. > > Ultimately, although the DISPLAY variable is clearly set in the user startup > files, I additionally had to set it higher up in the startup process in > /etc/profile in order to get it to work with mintty. Rxvt and also xterm set DISPLAY to the X display they're connected to. Mintty of course isn't an X application, hence all it could do is take an uneducated guess and set DISPLAY to ':0'. I don't think that would be appropriate, because no X server might be present or it might point at the wrong one. The Cygwin console and PuTTYcyg don't set DISPLAY either. Andy -- 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: Can't use mintty instead of rxvt for ssh -Y using cygwin xserver
Thanks for your reply. Evidently, there is some subtle difference in how the DISPLAY variable, which is set in the user startup files is processed by rxvt as opposed to mintty. Ultimately, although the DISPLAY variable is clearly set in the user startup files, I additionally had to set it higher up in the startup process in /etc/profile in order to get it to work with mintty. Thanks again for all your help. On 10/8/2010 10:39 AM, Christopher Faylor wrote: On Fri, Oct 08, 2010 at 10:10:28AM -0700, Reckoner wrote: Hi, I'm starting my xserver using C:\cygwin\bin\run.exe -p /usr/X11R6/bin XWin -multiwindow -clipboard -silent-dup-error and then I do: C:\cygwin\bin\rxvt.exe -e /bin/xhere /bin/zsh when I do % ssh -Y h...@remote.edu I can successfully open remote x-windows. However, If I use mintty 0.91 instead of rxvt as shown below: C:\cygwin\bin\mintty.exe -e /bin/xhere /bin/zsh when I do % ssh -Y h...@remote.edu I *cannot* successfully open remote x-windows. Note that changing the shell from zsh to bash doesn't help at all. Any advice appreciated. The appropriate log files are attached. According to your cygcheck output, you don't have a DISPLAY environment variable set. Does performing an "export DISPLAY=:0" before using ssh help? cgf -- 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/ -- 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/