several issues + wishes

2003-02-12 Thread Oswald Buddenhagen
moin! i'm using a debian-packaged mc 4.6.0. mc forgets to reset the x window title when it exits. a cmdline switch to replace the mc prefix in the window title would be very helpful. i usually have dozens of xterms with mc open, some of them are root consoles and some on remote hosts. it's

Re: several issues + wishes

2003-02-18 Thread Oswald Buddenhagen
moin, thx for the reply. mc forgets to reset the x window title when it exits. It was never meant to reset the title. There was a discussion how to restore the original title, but no good solution was suggested. too bad. is the problem that xterm does not provide a title query sequence?

resetting the xterm title (once more) (Re: several issues + wishes)

2003-02-18 Thread Oswald Buddenhagen
On Tue, Feb 18, 2003 at 11:53:32AM +0100, Oswald Buddenhagen wrote: mc forgets to reset the x window title when it exits. It was never meant to reset the title. There was a discussion how to restore the original title, but no good solution was suggested. too bad. is the problem

Re: several issues + wishes

2003-02-18 Thread Oswald Buddenhagen
i had one more thought ... On Tue, Feb 18, 2003 at 11:53:32AM +0100, Oswald Buddenhagen wrote: a cmdline switch to replace the mc prefix in the window title would be very helpful. i usually have dozens of xterms with mc open, some of them are root consoles and some on remote hosts. it's

Re: several issues + wishes

2003-02-20 Thread Oswald Buddenhagen
moin! cooledit issues: i just stumbled over another thing that drives me crazy: starting a selection after having moved clears the previous selection. i think the previous selection should be extended if the cursor is exactly at the beginning/end of the old selection. greetings -- Hi! I'm a

Re: Retain orig. filename as suffix for tmp. filename

2003-02-23 Thread Oswald Buddenhagen
On Mon, Feb 24, 2003 at 01:39:44AM +0100, Adam Byrtek / alpha wrote: +basename = strrchr (filename, PATH_SEP); +if (basename *basename==PATH_SEP) + basename++; this is totally bogus. if (basename) basename++; else basename = filename; greetings -- Hi! I'm a .signature

Re: Retain orig. filename as suffix for tmp. filename

2003-02-24 Thread Oswald Buddenhagen
On Mon, Feb 24, 2003 at 11:27:53AM +0100, Adam Byrtek / alpha wrote: On Mon, Feb 24, 2003 at 02:26:13AM +0100, Oswald Buddenhagen wrote: +if (basename *basename==PATH_SEP) + basename++; this is totally bogus. No, this is not 'totally bogus'. Filename var always contains at least

Re: mcedit file locking

2003-03-25 Thread Oswald Buddenhagen
On Tue, Mar 25, 2003 at 01:59:12AM -0500, Pavel Roskin wrote: 3) System-wide locks using fcntl() or (if not supported) flock(). i'd go with that one. Pro: No stale locks. Works in non-writable directories. Locking between users. and it's simple (except the #ifdef for fcntl vs. flock). the

annoyance: undo does not reset modified status

2003-04-02 Thread Oswald Buddenhagen
i often accidentally do minor modifications (mostly partial escape sequences) which i undo of course. anyway, afterwards i still don't know if this was the only modification. oh, fwiw, this gives me an idea: sometimes it would be useful to be able to save the buffer to a temp file and run a diff

Re: annoyance: undo does not reset modified status

2003-04-04 Thread Oswald Buddenhagen
On Fri, Apr 04, 2003 at 03:54:19PM +0200, Adam Byrtek / alpha wrote: On Wed, Apr 02, 2003 at 08:01:25PM +0200, Oswald Buddenhagen wrote: i often accidentally do minor modifications (mostly partial escape sequences) which i undo of course. anyway, afterwards i still don't know

Re: A fix for the F3 /var/log bug...

2003-05-30 Thread Oswald Buddenhagen
address) wrote: On Thu, 29 May 2003 11:31, Oswald Buddenhagen wrote: yep. it's [ double hashes ] a bash-ism (or a ksh-ism, fwiw). It came from from Korn, but it's POSIX shell syntax now. the point is, that it does not matter whether it is posix-compliant ... there are simply shells in active use

Re: A fix for the F3 /var/log bug... / POSIX and '##'

2003-06-01 Thread Oswald Buddenhagen
On Sun, Jun 01, 2003 at 02:10:53AM -0400, Alfie Costa wrote: but why would BSD Debian bluff about POSIX? because nobody bothered to update it? not that this would happen very seldom with OSS ... Eureka, [...] That shell has the '##'. Therefore either Debian, BSD and HP are all wrong

Re: [patch] change sort order with single keyboard shortcut

2003-07-05 Thread Oswald Buddenhagen
On Thu, Jul 03, 2003 at 02:46:51AM +0200, David Sterba wrote: Hi, After applying my patch, following keys start to work: Sort by name Ctrl-F3 Sort by extension Ctrl-F4 Sort by modification time Ctrl-F5 Sort by size Ctrl-F6 Keep unsorted

Re: message formatting and i18n

2005-02-06 Thread Oswald Buddenhagen
On Sun, Feb 06, 2005 at 04:18:51PM +0100, Roland Illig wrote: + g_string_sprintf (errmsg, _( Cannot open pip for reading: %s ), p); somehow pip looks wrong to me. :) -catstrs (_( Not an ordinary file: ), filename, + _( %s is not an ordinary file ),

detach on quick-save

2005-02-07 Thread Oswald Buddenhagen
moin, in quick-save mode the editor just overwrites the existing file. this is all fine ... except when you cloned a source tree with cp -al and want to patch one copy. this patch adds a check whether the file has multiple hard links and asks whether the file should be detached before saving. not

auto-indent

2005-02-12 Thread Oswald Buddenhagen
moin, once upon a time, i wrote: proski wrote: ossi wrote: the type of white-space used by auto-indent should not be based on the fill tabs with spaces setting. instead, the leading whitespace from the above line should be copied. otherwise it's impossible to use a tabbing style

visible tabs and trailing spaces

2005-02-13 Thread Oswald Buddenhagen
moin, visible tabs help putting the tabs where you want them, particularly when changing existing text. making trailing whitespace visible helps avoiding it, if the editor has no automatic trailing whitespace removal (which, in itself, is a feature in certain situations). i wanted the visibility

Re: visible tabs and trailing spaces

2005-02-13 Thread Oswald Buddenhagen
On Sun, Feb 13, 2005 at 01:18:12PM +0100, Leonard den Ottolander wrote: However, could be that I've overseen this, but where is the code that allows the user to toggle this behaviour? On Sun, Feb 13, 2005 at 12:56:26PM +0100, Oswald Buddenhagen wrote: an option to disable it is missing

syntax highlite stuff

2005-02-20 Thread Oswald Buddenhagen
moin, here's two patches: the first makes mcedit recognize certain languages when the interpreter is invoked with /usr/bin/env. please commit. the idea for the second patch was already suggested ... the split off of c from c++. the difference is only the list of keywords. copy the old c.syntax

Re: New syntax highlight files, please add it to the distro

2005-03-16 Thread Oswald Buddenhagen
On Wed, Mar 16, 2005 at 07:45:45AM +0200, Mike V. Gorchak wrote: because assembler keywords different in the each product (WASM, MASM, TASM, GAS, NASM, etc) and I have tryied to add as much as possible keywords, i'm strictly against putting all the asm syntaxes in one file. it is annoying

Re: New syntax highlight files, please add it to the distro

2005-03-16 Thread Oswald Buddenhagen
On Thu, Mar 17, 2005 at 07:29:27AM +0200, Mike V. Gorchak wrote: It's works fine for me with GAS, NASM and TASM. oh, sure it works. with my variable ah in gas being highlighted, etc. just as useful as new and class, etc. all over my c sources. And how you planning to split NASM sources with

Re: Issues to fix before 4.6.1?

2005-03-29 Thread Oswald Buddenhagen
On Tue, Mar 29, 2005 at 05:46:33PM +0200, Jindrich Novy wrote: On Tue, 2005-03-29 at 11:07 +0300, Andrew V. Samoilov wrote: There is a data loss possible if file is edited with external editor over VFS. I have similar experience even with mcedit without VFS - data loss when disk quota is

Re: [PATCH] Re: Issues to fix before 4.6.1?

2005-03-30 Thread Oswald Buddenhagen
On Wed, Mar 30, 2005 at 10:11:19AM +0200, Jindrich Novy wrote: if (!vfs_file_is_local (filename) || (fd = mc_open (filename, O_WRONLY | O_BINARY)) == -1) what actually truncates the filename to zero size. it does not, unless mc_open has totally misleading semantics - there is no

Re: [patch] const_cast to be replaced by str_unconst

2005-04-14 Thread Oswald Buddenhagen
On Tue, Apr 12, 2005 at 08:28:50PM +0200, Roland Illig wrote: Pavel Tsekov wrote: For those of you that are concerned about the performance loss of an extra function call: It is much more important for the code to be readable and checkable by the compiler than to be 1 millisecond faster at

bug: mcedit leaving stale lock files

2005-05-16 Thread Oswald Buddenhagen
moin, if you change an existing file and save it under a new name, a lock file for the original file is left behind. -- Hi! I'm a .signature virus! Copy me into your ~/.signature, please! -- Chaos, panic, and disorder - my work here is done. ___

[bug #13091] Open a symlink to edit when save, erase symlink and make a new file.

2005-05-16 Thread Oswald Buddenhagen
Follow-up Comment #5, bug #13091 (project mc): F9 - options - save mode - switch to quick save and everything is fine ... it might be worth consideration, though, to make the safe save and do backups modes follow symlinks. ___ Reply to

[bug #7872] Suggested changes in Python syntax bindings

2005-05-16 Thread Oswald Buddenhagen
Follow-up Comment #2, bug #7872 (project mc): What's the point of the (env\s)? change? pointless, imo. env located in any other directory is entirely against the idea of using it in the first place ... And isn't 'context ' a comment? nope. read the lang spec. :-P

[bug #8735] Inconveinient editor

2005-05-16 Thread Oswald Buddenhagen
Follow-up Comment #2, bug #8735 (project mc): ... and alt-l for goto line number. if it does not work, it may be your terminal. ___ Reply to this item at: http://savannah.gnu.org/bugs/?func=detailitemitem_id=8735

[bug #9631] Cannot put tabs only where I want them

2005-05-16 Thread Oswald Buddenhagen
Follow-up Comment #2, bug #9631 (project mc): leonard didn't get the idea. :-P this bug is _not_ fixed; nothing changed here for years. i posted this patch some months ago, but nobody cared to notice. ___ Additional Item Attachment:

[bug #11983] Work directory problem

2005-05-16 Thread Oswald Buddenhagen
Follow-up Comment #2, bug #11983 (project mc): this is an immediate result of bug #11982. i think it can be safely declared a duplicate. ___ Reply to this item at: http://savannah.gnu.org/bugs/?func=detailitemitem_id=11983

[bug #12223] shift keys should change function menu descriptions

2005-05-16 Thread Oswald Buddenhagen
Follow-up Comment #1, bug #12223 (project mc): i think this is pretty much impossible to implement in tty based apps, as the terminal does not report modifier state changes. one could do a cross-link to X and/or the linux console, but this would be pretty nasty.

[bug #9631] Cannot put tabs only where I want them

2005-05-16 Thread Oswald Buddenhagen
Follow-up Comment #5, bug #9631 (project mc): this one is really a hard birth ... it has two years of history already ... :) disclaimer: i freely interpret the original report as being the same as my wish, because the request makes little sense when implemented literally. :) ok, here is the

[bug #12223] shift keys should change function menu descriptions

2005-05-17 Thread Oswald Buddenhagen
Follow-up Comment #6, bug #12223 (project mc): i think you should stop arguing about things you obviously have no idea about ... you may, however, request an explanation, if you are uncapable of doing the research yourself. ___ Reply to

link in bug status mails

2005-05-17 Thread Oswald Buddenhagen
funny thing this savannah-zilla: http://savannah.gnu.org/bugs/?func=detailitemitem_id=12223 but it is immediately redirected to https:// is this something the mc project holders can fix or is it up to the gnu.org admins? also, i find it inconvenient that the link is enclosed in , as i can't

Re: link in bug status mails

2005-05-17 Thread Oswald Buddenhagen
On Wed, May 18, 2005 at 12:17:14AM +0200, Thomas Zajic wrote: funny thing this savannah-zilla: http://savannah.gnu.org/bugs/?func=detailitemitem_id=12223 but it is immediately redirected to https:// Works fine here, no redirection to https:// ... when you logged into Savannah, did you

Re: portability of mc

2005-05-17 Thread Oswald Buddenhagen
On Wed, May 18, 2005 at 07:13:36AM +0200, Roland Illig wrote: Do we want mc to be able to run on platforms that have: - 16 bit ints - 16 bit size_t hardly any unix app will run or even compile under these conditions. we're not in the 70s any more. :) -- Hi! I'm a .signature virus! Copy me

[bug #13112] Cannot copy to a directory called *

2005-05-17 Thread Oswald Buddenhagen
Follow-up Comment #2, bug #13112 (project mc): i once suggested mc participating in the XDG VFS standardization process, but proski seems to prefer taking a passive role ... ___ Reply to this item at:

[bug #12223] shift keys should change function menu descriptions

2005-05-18 Thread Oswald Buddenhagen
Follow-up Comment #12, bug #12223 (project mc): pavel wrote: MC already has code which queries the keyboard modifiers on these systems. what does it use them for? ___ Reply to this item at:

Re: [OT] Re: [bug #12223] shift keys should change function menu descriptions

2005-05-18 Thread Oswald Buddenhagen
On Tue, May 18, 1999 at 11:56:15AM +0300, Pavel Tsekov wrote: And no - MC is not short on developers. IMHO, MC is short on ideas where to go next . that's probably the best joke i heard in years. ;) it's 100% contradicting proski's statement from some months back. but as you seem to suffer

Re: portability of mc

2005-05-21 Thread Oswald Buddenhagen
On Fri, May 20, 2005 at 10:41:02AM -0400, Pavel Roskin wrote: On Fri, 2005-05-20 at 10:09 +0200, Roland Illig wrote: Pavel Roskin wrote: No. In particular, I don't think we need to support Win64, where long cannot hold a pointer. Why not? What's wrong about that? Because it's a

Re: portability of mc

2005-05-21 Thread Oswald Buddenhagen
On Sat, May 21, 2005 at 01:11:35PM +0200, Roland Illig wrote: And even size_t has nothing to do with the representation of pointers. i don't think we're speaking about such stupid things as casting between pointers and non-pointers (for other purposes than abusing a void* as a variant type

[bug #13143] quick save may clobber files

2005-05-21 Thread Oswald Buddenhagen
URL: http://savannah.gnu.org/bugs/?func=detailitemitem_id=13143 Summary: quick save may clobber files Project: GNU Midnight Commander Submitted by: ossi Submitted on: Sat 05/21/2005 at 17:24 Category: Editor

[bug #6415] syntax highlighting breaks on more complicated shell regexps

2005-05-21 Thread Oswald Buddenhagen
Follow-up Comment #2, bug #6415 (project mc): that's very unfortunate, because it makes mcedit a pretty bad editor for sophisticated scrips. i don't think this very hard to fix. i already did a simple parser that skips over nested sh constructs. with recursive contexts (nested contexts need to

Re: [PATCH] space on prompt bugfix

2005-05-21 Thread Oswald Buddenhagen
On Mon, Mar 21, 2005 at 09:19:34AM +0100, Jindrich Novy wrote: Hi mc-devel! There's a bug I've been annoyed with for some time so I finally decided to fix it. To reproduce: 1. start mc 2. go to some directory where you see some further subdirectories 3. press space once or for more

[bug #7872] Suggested changes in Python syntax bindings

2005-05-21 Thread Oswald Buddenhagen
Follow-up Comment #3, bug #7872 (project mc): err, i misread it. in fact, this is very similar to what i have submitted some time ago (and somehow i thought it was already committed ... which is sort of like believing in santa claus ;). it's only pointless to look for env somewhere else than in

[bug #13146] make tabs and trailing spaces visible

2005-05-21 Thread Oswald Buddenhagen
URL: http://savannah.gnu.org/bugs/?func=detailitemitem_id=13146 Summary: make tabs and trailing spaces visible Project: GNU Midnight Commander Submitted by: ossi Submitted on: Sat 05/21/2005 at 19:25 Category: Editor

[bug #7872] Suggested changes in Python syntax bindings

2005-05-23 Thread Oswald Buddenhagen
Follow-up Comment #6, bug #7872 (project mc): [...] We could just as well start matching all possible paths to the binaries. i can't claim i'd understand that paragraph. :} [...] If you could comment on the usefulness [...] i'm can't claim to be a python wiz, either.

Re: [PATCH] space on prompt bugfix

2005-05-23 Thread Oswald Buddenhagen
On Mon, May 23, 2005 at 10:44:01PM +0200, Leonard den Ottolander wrote: On Sat, 2005-05-21 at 20:07, Oswald Buddenhagen wrote: On Wed, Apr 27, 2005 at 11:24:06PM +0200, Leonard den Ottolander wrote: So can I commit this? I'll verify that it works first ;) , but the patch seems straight

[bug #7872] Suggested changes in Python syntax bindings

2005-05-23 Thread Oswald Buddenhagen
Follow-up Comment #8, bug #7872 (project mc): i'd prefer to have the exact match as a simple correctness check. oh, well. is just the same as , except that you can embed physical newlines in this type of string. actually reading the BNF in the page i linked to would have revealed that (as it

Re: [PATCH] space on prompt bugfix

2005-05-23 Thread Oswald Buddenhagen
On Mon, May 23, 2005 at 11:12:21PM +0200, Leonard den Ottolander wrote: On Mon, 2005-05-23 at 22:56, Oswald Buddenhagen wrote: this paranoid checking policy doesn't get us anywhere but to the current state of stagnation. Bollocks. [how reviewing is good, etc.] i was talking about

Re: [PATCH] space on prompt bugfix

2005-05-25 Thread Oswald Buddenhagen
On Wed, May 25, 2005 at 06:31:15PM +0300, Andy Shevchenko wrote: - why do you not drop tabspaces? hmm, indeed, if i go into troubles to press ctrl-q tab, the same issue comes up. - the beheviour of space...smth should be accorded to shell (no put the command to the history), isn't it? this

Re: [PATCH] space on prompt bugfix

2005-06-01 Thread Oswald Buddenhagen
On Wed, Jun 01, 2005 at 11:10:16AM +0200, Jindrich Novy wrote: I'm attaching the new patch given that the other patch was finally applied, an incremental patch would be more helpful. anyway, i think the change can be commited without further comment ... -- Hi! I'm a .signature virus! Copy me

Re: old bug in achown.c

2005-06-07 Thread Oswald Buddenhagen
On Wed, Jun 08, 2005 at 02:45:32AM +0200, Roland Illig wrote: - advanced_chown_callback (h, KEY_RIGHT, DLG_KEY); + advanced_chown_callback (h, DLG_KEY, KEY_RIGHT); heh, wow ... another a good example of why #define is bad and enum is good - provided you have a sufficiently

cons.saver not suid root

2005-06-08 Thread Oswald Buddenhagen
moin, for some time now, cons.saver is not installed suid root any more, making the whole thing sort of pointless. the attached patch makes it useful for me. comments? -- Hi! I'm a .signature virus! Copy me into your ~/.signature, please! -- Chaos, panic, and disorder - my work here is done.

Re: cons.saver not suid root

2005-06-08 Thread Oswald Buddenhagen
On Wed, Jun 08, 2005 at 04:40:14PM +0200, Jakub Jelinek wrote: On Wed, Jun 08, 2005 at 04:35:16PM +0200, Oswald Buddenhagen wrote: for some time now, cons.saver is not installed suid root any more, making the whole thing sort of pointless. the attached patch makes it useful for me

Re: cons.saver not suid root

2005-06-08 Thread Oswald Buddenhagen
On Wed, Jun 08, 2005 at 05:13:00PM +0200, Leonard den Ottolander wrote: On Wed, 2005-06-08 at 17:03, Oswald Buddenhagen wrote: and punish the upstream users, including ourselves? interesting. This issue can be easily fixed with package builds. suppose i prefer configure make stow

Re: cons.saver not suid root

2005-06-08 Thread Oswald Buddenhagen
On Wed, Jun 08, 2005 at 05:23:42PM +0200, Egmont Koblinger wrote: On Wed, Jun 08, 2005 at 04:35:16PM +0200, Oswald Buddenhagen wrote: --- Makefile.am.orig2005-06-08 16:30:58.0 +0200 +++ Makefile.am 2005-06-08 16:29:13.0 +0200 @@ -75,6 +75,8 @@ if USE_EDIT

Re: cons.saver not suid root

2005-06-08 Thread Oswald Buddenhagen
On Wed, Jun 08, 2005 at 05:42:07PM +0200, Koblinger Egmont wrote: On Wed, Jun 08, 2005 at 04:49:11PM +0200, Oswald Buddenhagen wrote: we have no portable (even across linuxes) way to create a vcsa user, so there is no other option than root. How about not creating a user or group

Re: cons.saver not suid root

2005-06-08 Thread Oswald Buddenhagen
On Wed, Jun 08, 2005 at 05:43:05PM +0200, Leonard den Ottolander wrote: On Wed, 2005-06-08 at 17:23, Oswald Buddenhagen wrote: suppose i prefer configure make stow ... Patch is your friend. Or just chown and chmod afterwards. you needn't to educate _me_. now that i identified the problem

Re: C-\ hotlist key in 4.6.1 won't work under ttyi

2005-06-09 Thread Oswald Buddenhagen
On Thu, Jun 09, 2005 at 02:10:15PM +0200, Werner Opriel wrote: The Directory hotlist can't be displayed using the hotkey C-\ (Strg-Altgr-\) when working on a console (ttyx). C-\ does work correctly in an xterm or konsole under X. With the old Woody Version 4.5.55 we have no problems with

Re: C-\ hotlist key in 4.6.1 won't work under ttyi

2005-06-09 Thread Oswald Buddenhagen
On Thu, Jun 09, 2005 at 11:23:29PM +0200, Leonard den Ottolander wrote: On Thu, 2005-06-09 at 14:10, Werner Opriel wrote: The Directory hotlist can't be displayed using the hotkey C-\ (Strg-Altgr-\) when working on a console (ttyx). Why do you press Altgr? Why not just Strg-\? because,

[bug #13102] mcedit leaving stale lock files

2005-07-07 Thread Oswald Buddenhagen
Follow-up Comment #2, bug #13102 (project mc): bah, damn, it's one of my local patches. sorry for the noise. ___ Reply to this item at: http://savannah.gnu.org/bugs/?func=detailitemitem_id=13102

[bug #13711] extend instead of removing selection

2005-07-10 Thread Oswald Buddenhagen
URL: http://savannah.gnu.org/bugs/?func=detailitemitem_id=13711 Summary: extend instead of removing selection Project: GNU Midnight Commander Submitted by: ossi Submitted on: Sun 07/10/2005 at 12:08 Category: Editor

[bug #13727] recursive are same file

2005-07-11 Thread Oswald Buddenhagen
URL: http://savannah.gnu.org/bugs/?func=detailitemitem_id=13727 Summary: recursive are same file Project: GNU Midnight Commander Submitted by: ossi Submitted on: Mon 07/11/2005 at 15:34 Category: Core

[bug #13728] superflous copying instead of moving

2005-07-11 Thread Oswald Buddenhagen
URL: http://savannah.gnu.org/bugs/?func=detailitemitem_id=13728 Summary: superflous copying instead of moving Project: GNU Midnight Commander Submitted by: ossi Submitted on: Mon 07/11/2005 at 15:44 Category: Core

Re: [bug #6415] syntax highlighting breaks on more complicated shell regexps

2005-07-11 Thread Oswald Buddenhagen
On Sat, May 21, 2005 at 06:03:01PM +, Oswald Buddenhagen wrote: that's very unfortunate, because it makes mcedit a pretty bad editor for sophisticated scrips. fwiw, roland, please reopen the bug. -- Hi! I'm a .signature virus! Copy me into your ~/.signature, please! -- Chaos, panic

[bug #13729] ctrl- hotlist key won't work under ttyi

2005-07-11 Thread Oswald Buddenhagen
URL: http://savannah.gnu.org/bugs/?func=detailitemitem_id=13729 Summary: ctrl-\ hotlist key won't work under ttyi Project: GNU Midnight Commander Submitted by: ossi Submitted on: Mon 07/11/2005 at 16:00 Category:

Re: [bug #13729] ctrl- hotlist key won't work under ttyi

2005-07-11 Thread Oswald Buddenhagen
On Mon, Jul 11, 2005 at 04:00:03PM +, Oswald Buddenhagen wrote: [bug #13729] ctrl- hotlist key won't work under ttyi Summary: ctrl-\ hotlist key won't work under ttyi heh, didn't i say that savannah is a funny thing? two cool effects in one page for one backslash

[bug #13730] cons.saver lacking privileges

2005-07-11 Thread Oswald Buddenhagen
URL: http://savannah.gnu.org/bugs/?func=detailitemitem_id=13730 Summary: cons.saver lacking privileges Project: GNU Midnight Commander Submitted by: ossi Submitted on: Mon 07/11/2005 at 16:35 Category: Subshell

[bug #13731] confirm deleting from directory hotlist

2005-07-11 Thread Oswald Buddenhagen
URL: http://savannah.gnu.org/bugs/?func=detailitemitem_id=13731 Summary: confirm deleting from directory hotlist Project: GNU Midnight Commander Submitted by: ossi Submitted on: Mon 07/11/2005 at 16:51 Category: None

Re: change of syntax files

2005-07-11 Thread Oswald Buddenhagen
On Sun, Jul 03, 2005 at 10:13:16PM +0200, Roland Illig wrote: I would like to simplify some of the syntax files in the way the attached Perl example shows. [x] Do it [ ] Don't do it [ ] I don't care anyway, i think it would be nicer to extend the highlighter with a textstart keyword or

[bug #13733] escape key timeout stuff

2005-07-11 Thread Oswald Buddenhagen
URL: http://savannah.gnu.org/bugs/?func=detailitemitem_id=13733 Summary: escape key timeout stuff Project: GNU Midnight Commander Submitted by: ossi Submitted on: Mon 07/11/2005 at 17:27 Category: Keyboard input

[bug #13734] viewer should save position mode per file

2005-07-11 Thread Oswald Buddenhagen
URL: http://savannah.gnu.org/bugs/?func=detailitemitem_id=13734 Summary: viewer should save position mode per file Project: GNU Midnight Commander Submitted by: ossi Submitted on: Mon 07/11/2005 at 17:30 Category:

[bug #13735] session management wanted

2005-07-11 Thread Oswald Buddenhagen
URL: http://savannah.gnu.org/bugs/?func=detailitemitem_id=13735 Summary: session management wanted Project: GNU Midnight Commander Submitted by: ossi Submitted on: Mon 07/11/2005 at 19:23 Category: None

Re: mc-4.6.1-versionsort.patch

2005-07-11 Thread Oswald Buddenhagen
On Sun, Jul 04, 2004 at 12:08:28PM +0200, Roland Illig wrote: wwp wrote: IMO it would worth trying to complete the patch to cover all the GUI/storage issues, maybe asking to Pavel or anyone who know mc mechanisms to have a look at the patch? So here's the patch. Do with it what you want.

[bug #13736] redo wanted

2005-07-11 Thread Oswald Buddenhagen
URL: http://savannah.gnu.org/bugs/?func=detailitemitem_id=13736 Summary: redo wanted Project: GNU Midnight Commander Submitted by: ossi Submitted on: Mon 07/11/2005 at 19:41 Category: Editor Severity: 3 -

Re: [PATCH] Choose syntax

2005-07-12 Thread Oswald Buddenhagen
On Mon, Jul 11, 2005 at 06:02:09PM +0300, Pavel Tsekov wrote: Instead of a macro you could use the following construct: static const int MAX_ENTRY_LEN = 40; this is c++ (well, except that const implies static, i heard). maybe its in newer c standards, too, but i'm not sure we want to depend

[bug #13728] superflous copying instead of moving

2005-07-12 Thread Oswald Buddenhagen
Follow-up Comment #4, bug #13728 (project mc): Does `bar/name/' contain any entries or is it empty ? empty, but this should not matter. i don't think we want this susv3-compliant behavior. at the top level, if the target is an existing directory (empty or not), we want to move _into_ this

[bug #13734] viewer should save position mode per file

2005-07-18 Thread Oswald Buddenhagen
Follow-up Comment #2, bug #13734 (project mc): thanks. however, i'd suggest enabling it by default. otherwise 95% of the users will never get to know this feature. nobody reads the mc man page unless he has a specific problem - that's the general tendency for gui/tui programs. so you have to

[bug #13842] should handle ansi escapes

2005-07-18 Thread Oswald Buddenhagen
URL: http://savannah.gnu.org/bugs/?func=detailitemitem_id=13842 Summary: should handle ansi escapes Project: GNU Midnight Commander Submitted by: ossi Submitted on: Mon 07/18/2005 at 16:44 Category: Viewer

crash on resize

2005-07-19 Thread Oswald Buddenhagen
moin, recently i started getting this very frequently when i resize the xterm mc runs in: Program received signal SIGSEGV, Segmentation fault. 0x4108bece in mallopt () from /lib/tls/libc.so.6 (gdb) bt #0 0x4108bece in mallopt () from /lib/tls/libc.so.6 #1 0x4108adcb in free () from

Re: crash on resize

2005-07-19 Thread Oswald Buddenhagen
On Tue, Jul 19, 2005 at 02:21:40PM +0300, Pavel Tsekov wrote: any idea? Yes. Bad slang. https://savannah.gnu.org/bugs/?func=detailitemitem_id=13788 Did it help or is it something else that you are seeing ? mcslang works fine; the valgrind messages are also gone. thx. fwiw, there is

Re: glibc and getgrouplist

2005-07-22 Thread Oswald Buddenhagen
On Fri, Jul 22, 2005 at 03:24:37PM +0200, Leonard den Ottolander wrote: On Fri, 2005-07-22 at 15:00, Pavel Tsekov wrote: Roland's patch looks good and it is pretty straight-forward. I vote for its inclusion in PRE. And totally untested. bah. there is no need to test a patch that can be

Re: glibc and getgrouplist

2005-07-22 Thread Oswald Buddenhagen
On Fri, Jul 22, 2005 at 08:43:51PM +0200, Roland Illig wrote: Oswald Buddenhagen wrote: i'd be opposed to this patch in general if it was not for the plainly incorrect semantics of the old code. Why this? [...] Any questions left? no, only an instruction: try to understand my statement

Re: shell scripting advise: Don't use backslashes inside backtick quotes

2005-08-03 Thread Oswald Buddenhagen
On Thu, Aug 04, 2005 at 07:31:42AM +0200, Oswald Buddenhagen wrote: On Thu, Aug 04, 2005 at 01:19:50AM +0200, Roland Illig wrote: quote() { _sedexpr=s,',''',g _quotestr=`echo x$1 | sed -e '1s,^x,,' -e ${_sedexpr}` echo '${_quotestr}' } So if you ever use

Re: shell scripting advise: Don't use backslashes inside backtick quotes

2005-08-04 Thread Oswald Buddenhagen
On Thu, Aug 04, 2005 at 12:53:17PM +0200, Roland Illig wrote: really old shells will explode on your current version, too, but we really needn't to consider those. Why? Because of possible backslashes? they do some interpretation of the expanded variables. iirc, backticks were a problem, so

Re: mc editor small changes III - unified diff

2005-08-14 Thread Oswald Buddenhagen
On Sat, Aug 13, 2005 at 11:08:48PM +0200, Leonard den Ottolander wrote: On Sat, 2005-08-13 at 15:25, Jindrich Novy wrote: I can imagine the enhancement can be useful for XML/HTML/PHP, etc. but maybe it could be a configurable feature if considered to be committed at all. I like that

Re: mc editor small changes III - unified diff

2005-08-14 Thread Oswald Buddenhagen
On Sun, Aug 14, 2005 at 02:03:25PM +0200, Leonard den Ottolander wrote: i think it should be part of the syntax definition, which would be extended from highlighting only. This is not about highlighting, the highlighting is a side effect of the jump to matching bracket option. This code

Re: mc editor small changes III - unified diff

2005-08-14 Thread Oswald Buddenhagen
On Sun, Aug 14, 2005 at 03:27:45PM +0200, Leonard den Ottolander wrote: So I don't see why we couldn't extend the current functionality (until you've finished the syntax highlighting rewrite ;)). :-P the highlighting hurts - not much, but it is still annoying. It's already there for the

accels busted

2005-08-20 Thread Oswald Buddenhagen
one of the recent commits broke the alt-letter from main menu accelerators in mcedit. a related thing that always annoyed me: once you are in the menu (after f9), pressing just the unmodified letter should open the respective submenu as well. -- Hi! I'm a .signature virus! Copy me into your

Re: accels busted

2005-08-24 Thread Oswald Buddenhagen
On Wed, Aug 24, 2005 at 03:51:08PM +0300, Pavel Tsekov wrote: You can change it from the Options - Display bits - Full 8 bits full 8 bits _input_ - there is also an output option named this way. :) anyway, toggling this does not change anything for me (neither in xterm nor on linux console).

Re: accels busted

2005-08-24 Thread Oswald Buddenhagen
On Wed, Aug 24, 2005 at 05:25:21PM +0300, Pavel Tsekov wrote: On Wed, 24 Aug 2005, Oswald Buddenhagen wrote: anyway, toggling this does not change anything for me (neither in xterm nor on linux console). also, i did not clear my config for ages. It does change it for me - tested

Re: accels busted

2005-08-26 Thread Oswald Buddenhagen
On Thu, Aug 25, 2005 at 11:27:35PM +0200, Leonard den Ottolander wrote: So what I'm saying is I do not understand how you came to the conclusion that these two issues (8-bit vs. menu hotkeys) are related. i have to agree. i'm pretty convinced that the breakage stems from one of roland's

Re: accels busted

2005-08-26 Thread Oswald Buddenhagen
On Fri, Aug 26, 2005 at 02:43:46PM +0300, Pavel Tsekov wrote: And it works fine. Alt + l works in mcedit. you really seem to be slightly dislectic. ;))) i was talking about _letters from the *main* menu_ - like Alt-f ... -- Hi! I'm a .signature virus! Copy me into your ~/.signature, please!

Re: accels busted

2005-08-26 Thread Oswald Buddenhagen
On Fri, Aug 26, 2005 at 02:29:48PM +0300, Pavel Tsekov wrote: I told you the `use_8th_bit_as_meta' does the trick for me - and i told you pretty much explicitly that it does not change a freakin' shit. you're seeing a different problem. -- Hi! I'm a .signature virus! Copy me into your

[bug #13729] ctrl- hotlist key won't work under ttyi

2005-09-21 Thread Oswald Buddenhagen
Follow-up Comment #1, bug #13729 (project mc): i came up with this hack - it just makes the right alt key not be recognized as an alt key at all. i have no idea how to fix it properly - one'd have to ask the keymap whether the ralt is part of the keycode or an additional modifier. hard-coding

Re: Memory leaks

2005-09-29 Thread Oswald Buddenhagen
On Thu, Sep 29, 2005 at 08:57:22PM +0200, Pavel Tsekov wrote: Maybe this time I'll properly report memory leaks :) Maybe its about time stop playing valgrind and other tools you do not understand. In case you want to file a real bug report take your time and analyse the suspected code

Re: accels busted

2006-01-15 Thread Oswald Buddenhagen
heya, somebody feels like finally fixing this roland-induced regression? it's sorta annoying ... -- one of the recent commits broke the alt-letter from main menu accelerators in mcedit. - i was talking about _letters from the *main* menu_ -

bugs, patches, stuff

2006-01-24 Thread Oswald Buddenhagen
hello, this is my personal wishlist of *really simple* things to do: - finally commit my patch at https://savannah.gnu.org/bugs/?func=detailitemitem_id=9631 - deal with https://savannah.gnu.org/bugs/index.php?func=detailitemitem_id=13733 - confirm

[bug #13726] subshell type ahead discarded

2006-01-26 Thread Oswald Buddenhagen
Follow-up Comment #4, bug #13726 (project mc): huh, i thought i already replied to this ... no, i don't want it closed. i never had the problem of input for the shell going to the panels. i don't know whether this was just a usage pattern thing or whether the problem was specific to cygwin. in

  1   2   3   >