Re: mc 4.6.0 subshell fix for FreeBSD 5.x

2003-07-21 Thread Max Khon
hi, there! On Mon, Jul 21, 2003 at 01:04:13AM -0400, Pavel Roskin wrote: Attached patch fixes subshell support for FreeBSD 5.x which has grantpt(3). What kind of problem do you have? Does your patch work with FreeBSD 4.x? Yes my patch works with FreeBSD 4.x. FreeBSD 4.x does not have

mc 4.6.0 subshell fix for FreeBSD 5.x

2003-07-15 Thread Max Khon
hi, there! Attached patch fixes subshell support for FreeBSD 5.x which has grantpt(3). /fjoe --- src/subshell.c.orig Tue Jul 15 20:36:24 2003 +++ src/subshell.c Tue Jul 15 20:36:56 2003 @@ -1166,6 +1166,8 @@ #elif IS_AIX strcpy (pty_name, /dev/ptc); pty_master = open (pty_name,

Re: cons.handler.c for FreeBSD

2003-03-05 Thread Max Khon
hi, there! On Wed, Mar 05, 2003 at 04:36:57AM -0500, Pavel Roskin wrote: I had a chance to test the code, and it works just fine. I forgot to test the output lines option (i.e. restoring just part of the text), but I'll do it next time I boot into FreeBSD. It didn't work, but I have

Re: cons.handler.c for FreeBSD

2003-03-05 Thread Max Khon
hi, there! On Wed, Mar 05, 2003 at 04:05:54PM +0600, Max Khon wrote: I had a chance to test the code, and it works just fine. I forgot to test the output lines option (i.e. restoring just part of the text), but I'll do it next time I boot into FreeBSD. It didn't work, but I have

Re: cons.handler.c for FreeBSD

2003-03-05 Thread Max Khon
hi, there! On Wed, Mar 05, 2003 at 10:34:21PM +0600, Max Khon wrote: and it is still not obvious to me how I can test output lines with Ctrl-O. another question is about non-standard console modes. I (and other users) are getting core dumps when console video mode is not 80x25. E.g

Re: cons.handler.c for FreeBSD

2003-03-05 Thread Max Khon
hi, there! On Wed, Mar 05, 2003 at 09:21:41PM +0200, Andrew V. Samoilov wrote: Well, I think this fix is not enough. It shall be SIGWINCH catched and screen_shot.buf reallocated dynamically or vidcontrol 132x60 will crash mc again. screen_shot.buf is reallocated in console_save() /fjoe

cons.handler.c for FreeBSD

2003-02-26 Thread Max Khon
[EMAIL PROTECTED]. + * Support for screenmaps by Max Khon [EMAIL PROTECTED] + */ + +#include sys/consio.h +#include sys/errno.h +#include sys/fcntl.h +#include sys/ioctl.h -#if !defined(linux) !defined(__linux__) !defined(SCO_FLAVOR) +#include stdarg.h +#include stdio.h +#include syslog.h

Re: cons.handler.c for FreeBSD

2003-02-26 Thread Max Khon
hi, there! On Wed, Feb 26, 2003 at 02:16:14PM -0500, Pavel Roskin wrote: Attached patch implements cons.handler.c for FreeBSD console. Tested on both FreeBSD 4.x and 5.x. Applied. Thank you! If you have the list of contributors please mention Alexander Serkov [EMAIL PROTECTED]. He did