[patch #5871] enhance selection in xterms

2007-04-21 Thread me
Follow-up Comment #3, patch #5871 (project mc): *Terms are just the frontend to the real sessions, usaly with nested ssh sessions in screens the connection has no knowledge about my display besides that it is a tty. therefore one uses the selection methods the terminal offers (thats

Re: mc sets process group differently from shell; forgets to close fd# 3

2007-04-21 Thread Pavel Tsekov
On Sat, 21 Apr 2007, Denis Vlasenko wrote: On Friday 20 April 2007 23:29, Pavel Tsekov wrote: Big one (actually, I think it's a bug): stray fd# opened to controlling terminal. The descriptor to /dev/tty is created by S-Lang in SLang_init_tty(). Maybe it would make sense to mark it

[patch #5871] enhance selection in xterms

2007-04-21 Thread Pavel Tsekov
Follow-up Comment #4, patch #5871 (project mc): Regarding comment #2: Obviously the smart-select of Eterm is not as smart as it should be. With gnome-terminal everything works as expected - you double click and the whole path gets selected. Anyway, I tried how dtterm behaves in this scenario -

[bug #19436] read (subshell_pty...): No such file or directory (2) on mc compiled with subshel

2007-04-21 Thread Pavel Tsekov
Follow-up Comment #2, bug #19436 (project mc): Ping ? Did the suggested patch help you or not ? ___ Reply to this item at: http://savannah.gnu.org/bugs/?19436 ___ Message sent via/by

[bug #19651] x selection in editor

2007-04-21 Thread me
URL: http://savannah.gnu.org/bugs/?19651 Summary: x selection in editor Project: GNU Midnight Commander Submitted by: me4mc Submitted on: Saturday 04/21/2007 at 10:25 Category: Editor Severity: 3 - Normal

Re: mc sets process group differently from shell; forgets to close fd# 3

2007-04-21 Thread Denis Vlasenko
On Saturday 21 April 2007 02:28, Denis Vlasenko wrote: Note that this process group switch is done *by children*, not parent. (However, parent can do it too for paranoid reasons, and parent definitely will want to re-foreground itself when all children exit). Actually, this is what mc can do

Re: mc sets process group differently from shell; forgets to close fd# 3

2007-04-21 Thread Pavel Tsekov
On Sat, 21 Apr 2007, Denis Vlasenko wrote: On Friday 20 April 2007 23:00, Pavel Tsekov wrote: Small one: child process is not given its own porcess group when run under mc, while under sh it is. It means that if child will create its Yes - because, you have a shell which supports job

[bug #19651] x selection in editor

2007-04-21 Thread Pavel Tsekov
Follow-up Comment #1, bug #19651 (project mc): Please, calm down. Finding a problem is the easy part - describing it properly, so that others can reproduce it, is of great importance if you want to get the problem solved. From you bug report it is clear that you see some problem related the way

[patch #5871] enhance selection in xterms

2007-04-21 Thread Oswald Buddenhagen
Follow-up Comment #5, patch #5871 (project mc): i always found it a bit ugly without the surrounding spaces. otoh, screen real estate is scarce ... fwiw, the delimiter chars can be configured, at least in xterm. one could more heuristics to the terminal (to detect paths, urls, etc.), but it

[bug #19651] x selection in editor

2007-04-21 Thread Oswald Buddenhagen
Follow-up Comment #2, bug #19651 (project mc): i understood immediately what he means. :-P me: you can configure most *terms to strip trailing whitespace from the selection. without this, i would have freaked out long ago. :) ___ Reply

Re: mc sets process group differently from shell; forgets to close fd# 3

2007-04-21 Thread MP
This reminds me of one odd behavior. When i debug a graphical program, outputting lots of debugging messaged under gdb and start it directly under bash, it works fine. But if I start it from mc (i.e. the shell in mc which I get after Ctrl-O), the gdb is stopped to background as soon as I run my

Re: error: mc - mcedit - print block

2007-04-21 Thread Pavel Tsekov
On Fri, 20 Apr 2007, ?? ?.?. wrote: hi! (sorry for bad english) Error description: mc (F4-edit) can't print selected text block (Shift+F8). error : Can't save print file [...] another small mistype (?) in mc(edit) menu: Print Block = F18 F18 = Shift + F6, but PrintBlock called with

Re: mc sets process group differently from shell; forgets to close fd# 3

2007-04-21 Thread Pavel Tsekov
On Sat, 21 Apr 2007, MP wrote: This reminds me of one odd behavior. When i debug a graphical program, outputting lots of debugging messaged under gdb and start it directly under bash, it works fine. But if I start it from mc (i.e. the shell in mc which I get after Ctrl-O), the gdb is stopped

Re: [slang-users] Re: mc sets process group differently from shell; forgets to close fd# 3

2007-04-21 Thread Pavel Tsekov
On Sat, 21 Apr 2007, John E. Davis wrote: Pavel Tsekov [EMAIL PROTECTED] wrote: We could do this in MC itself but I wonder if there is any reason why this isn't done in S-Lang. Maybe the S-Lang developer could shed some light ? I will look into the ramifications of the flag and if it looks