"Save file position" in mc editor

2001-11-04 Thread Alexander Varakin
It would be very nice to add a new feature to mc editor, so it will remember file positions in each previously opened file, and return to that position when the file will be opened next time. This is very common feature of all editors, ide's and even FAR has it. Are there any plans to do that? Re

Re: "Save file position" in mc editor

2001-11-12 Thread Alexander Varakin
Hi Max, Thanks for publishing the patch! It would be great if anybody with CVS write permissions will apply the Max's patch. Regards, Alex - Original Message - From: "Max Schedriviy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 12, 2001 8:23 PM Subject: Re: "Save

Re: MC for Win32 now builds and runs

2001-11-12 Thread Alexander Varakin
Hi Franco, I am also very interested in win32 port because I work 50% of time in NT and 50% in Unix, so sometimes I type ESC-? in FAR and Alt-F7 in MC :-) Franco, please publish your build instructions, I will try to build it. Which version of mingw32 and glib are you using? Please also publish l

Re: Re: patch: MC for Win32

2001-11-20 Thread Alexander Varakin
Hi Pavel, Franco, Would it be possible to put Franco's patches into the CVS today or tomorrow, so people (including me) will be able to start testing the port after eating some turkey :-) Even though this patch is maybe not very stable at the moment, it won't harm since it is independent from the

Include glib into mc distribution?

2002-02-18 Thread Alexander Varakin
Hi, I think it would be great if glib will be included as part of mc, and will be statically linked with glib. That will greatly simplify building and deployment of mc. What do you think about that? Alex ___ Mc-devel mailing list [EMAIL PROTECTED] htt

Re: Include glib into mc distribution?

2002-02-19 Thread Alexander Varakin
ng mc. Thanks, Alex - Original Message - From: "Pavel Roskin" <[EMAIL PROTECTED]> To: "Alexander Varakin" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, February 19, 2002 3:05 PM Subject: Re: Include glib into mc distribution? > Hello, Alex

Re: Include glib into mc distribution?

2002-02-19 Thread Alexander Varakin
Hi, > > You can imagine what they say if I would ask them to do so! > > I really don't see any difference between installing one package and > instaling 3 packages. Well, for my local sysadmin it will really make a difference - he is using sh for interactive shell and Windows notepad plus clipb

Another Win32 port, this time for cygwin

2002-02-21 Thread Alexander Varakin
Hi, I was able to build and somehow run the latest mc sources from CVS using cygwin. If somebody want to do the same, my environment is: 1. Win 2000 2. Cygwin : autoconf2.52-5 automake1.5a-1 bash2.05a-2 binutils20011002-1 cygwin 1.

Re: Include glib into mc distribution?

2002-02-21 Thread Alexander Varakin
Hello! > Read my words again. "Separate distribution" means that it will be a > separate bigger tarball especially for those who don't have glib and don't > want to install it. And I'll make it only if I have time and there is > enough interest from the users. I saw some posts in the net from

regex fix for cygwin

2002-02-23 Thread Alexander Varakin
Hi, I fixed the problem with regex on cygwin. The reason of the problem is that definition of regexec() in regex.c is disabled using #if 0 (why?) , and It looks like the cygwin's implementation is not right (compatible?), so all this regex business fails. I fixed the problem by replacing "#if 0"

Re: regex fix for cygwin

2002-02-24 Thread Alexander Varakin
is fixed my problems. Alex - Original Message ----- From: "Alexander Varakin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, February 23, 2002 11:00 PM Subject: regex fix for cygwin > Hi, > > I fixed the problem with regex on cygwin. > The re

Re: regex fix for cygwin

2002-02-25 Thread Alexander Varakin
he original state of this code. If this is ok with maintainers, I can do all these changes and send a final patch. Alex - Original Message - From: Pavel Roskin <[EMAIL PROTECTED]> To: Alexander Varakin <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, February

Subshell hangs

2002-02-28 Thread Alexander Varakin
Hi, I am trying to port mc to cygwin. I was able to build it from CVS, then fixed problem in regex which was making mc useless. At the moment my main problem is that subshell, invoked from mc hangs very often. It hangs when a proces, invoked from shell is about to return and shell must display co

Re: regex fix for cygwin

2002-03-20 Thread Alexander Varakin
- Original Message - From: "Andrew V. Samoilov" <[EMAIL PROTECTED]> To: "Pavel Roskin" <[EMAIL PROTECTED]> Cc: "Alexander Varakin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, March 20, 2002 10:11 AM Subject: Re:

AIX port

2002-03-22 Thread Alexander Varakin
Hi, I am trying to build the latest snapshot of mc on AIX. Which compiler must be used for that? Must it be gcc or xlc ? After some code fixing I was able to build it with xlc (we don't have gcc on our Unix boxes). Now I have problem with subshell - it doesn't work at all. Does anybody have late

AIX port

2002-04-07 Thread Alexander Varakin
Hi , A was able to build mc on AIX 4.3.3 using VisualAge C v5.0 compiler (xlc_r). The cc compiler didn't work so I had to specify explicitly CC=xlc_r. I used code drop 2002-03-20. I had to fix few build problems using type casts (this compiler is a little bit picky with types) and some other tri

Re: mc port to glib2.0

2002-04-07 Thread Alexander Varakin
Hi Ali, I don't think that this is a good idea since there are many people around who still have glib 1.2. The better idea is maybe to include glib as part of mc distribution, as it was done with slang. This way it will be very easy to build mc on machines with glib 1.2 or 2.0 or without glib at

Re: AIX port

2002-04-08 Thread Alexander Varakin
at to fix in the configure script. As soon as you will aply the patch please let me know so I will verify it on my aix box. Regards, Alex - Original Message - From: "Pavel Roskin" <[EMAIL PROTECTED]> To: "Alexander Varakin" <[EMAIL PROTECTED]> Cc: <[EMAIL

Re: Re[4]: subshell on AIX

2002-04-27 Thread Alexander Varakin
Hi, I fixed this problem about 2 weeks ago. I posted the patch on this list. Hopefully it was applied to cvs, if not - just apply my patch yourself. It works for me on AIX 4.3.3 and 5L with bash and xterm. I used xlc_r compiler. Alex - Original Message - From: "Nerijus Baliunas" <[EMAIL

Re: subshell on AIX

2002-06-06 Thread Alexander Varakin
: the subshell code itself is ok, the problem is that wrong platform specific code is selected by #ifdef's. Please apply my patch, there are still some poor souls around who have to work on AIX :) Alex - Original Message - From: "Andrew V. Samoilov" <[EMAIL PROTECTED]&

Re: subshell on AIX

2002-07-03 Thread Alexander Varakin
am afraid it may also break some other platform. So I think the safest and easiest fix is using "#ifdef AIX" approach, which is exactly what my patch does. Alex - Original Message - From: "Pavel Roskin" <[EMAIL PROTECTED]> To: "Alexander Varakin" <[EMA

Re: mc-4.5.55 is now part of the Cygwin net distribution

2002-07-09 Thread Alexander Varakin
Hi Pavels, I think it will be a very good idea to port the latest snapshot. I built MC from snapshot about 3 months ago and I was having the following problems: 0. regex.c - fixed by me 1. subshell dies after few Ctrl-O, then mc dies. It happens very quickly under rxvt or xterm, but if started f

Re: [PATCH] copy_file_file: Use binary mode when opening the source/destination file

2002-07-23 Thread Alexander Varakin
It looks like we will end up adding O_BINARY flag to all mc_open calls (I did the same change for editor). Maybe it is a good idea to write mc_open as a wraper function (now it is macro) , and in this function always set O_BINARY, something like this: int mc_open(char * filename, int flags) {

Re: mc-4.5.55 is now part of the Cygwin net distribution

2002-07-27 Thread Alexander Varakin
> > Any luck with subshell under cygwin? > > Actually if I run mc inside a DOS box, the subshell works reasonably well. > > It hangs only if I run it inside rxvt. > > It hangs for me the DOS box. Any progress with subshell problem? Is anybody looking at this problem? Alex __

Re: CR/LF translation

2002-07-31 Thread Alexander Varakin
Hello! --- On Tue 07/30, Pavel Roskin < [EMAIL PROTECTED] > wrote: > > What about this: > > 1. binary read file into "raw" chunks with size 64K > > 2. scan chunks and calculate exact size of translated file > > I don't like this. You are trying to implement a costly ad-hoc fix for a > limitatio

Re: Win32/MinGW port

2002-08-13 Thread Alexander Varakin
Hi Piotr, As far as I remember about half a year ago a patch for MigGW was submitted by Franco Bez. His home page is: http://home.a-city.de/franco.bez/mc/mc.html You can try to contact him of find his patch in MC list archives. I'm just wondering : why don't you like cygwin port? If you need a na

4.6.0-pre3 : display problems on Solaris

2003-01-27 Thread Alexander Varakin
Hi, I have built 4.6.0-pre3 on solaris without any problems, but it has the following problems: 1. directories and executables are not highlited (they are supposed to be white and green, right? ) 2. if the cursor was on directory, and i moved the cursor higher, this old directory changes its col

Re: HP-UX and AIX buiild problems and patches

2003-01-27 Thread Alexander Varakin
Hi Andrew, I don't have access to AIX box right now, but I am sure that the build problems in util.c are not warnings. The AIX xlc_r compiler is very strict, so it produced errors there. Alex From: "Andrew V. Samoilov" <[EMAIL PROTECTED]> To: Alexander Varakin <[EMAI

Re: HP-UX and AIX buiild problems and patches

2003-01-27 Thread Alexander Varakin
ROTECTED]> To: Alexander Varakin <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: HP-UX and AIX buiild problems and patches Date: Mon, 27 Jan 2003 19:17:23 +0200 Alexander Varakin wrote: Hi Andrew, I don't have access to AIX box right now, but I am sure

static linking with glib

2003-01-27 Thread Alexander Varakin
Hi, Is it possible to link with glib statically, so there will be no need to carry glib libraries? Thanks, Alex _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail _

Re: static linking with glib

2003-01-27 Thread Alexander Varakin
How? From: Pavel Roskin <[EMAIL PROTECTED]> To: Alexander Varakin <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: static linking with glib Date: Mon, 27 Jan 2003 16:06:56 -0500 (EST) Hello! > Is it possible to link with glib statically, so there will be no need to > ca

Announcement: mc 4.6.0 AIX, HP-UX, Solaris binaries are available

2003-03-04 Thread Alexander Varakin
Hi, mc 4.6.0 AIX, HP-UX, Solaris binaries are available on http://www.ibiblio.org/mc/ They do not require glib installed, and can be insalled by user without root access (see README) . Let's hope mc will be shipped with every Unix box :-) Alex ___ Mc-de