Michal Bukovjan wrote:
 
> Felix Miata wrote:

> > Michal Bukovjan wrote:

> >>When logged into a console as normal user (michal, uid 501), running
> >>Midnight Commander barfs at me this message:

> >>warning: [gpm.c(857)]:

> >>Failed gpm connect attempt by uid 501 for vc /dev/vc/0

> >>last=/home/flepied/RPM/BUILD/gpm-1.20.0/src/liblow.c
> >>       home/flepied/RPM/BUILD/gpm-1.20.0/src/liblow.c
> >>       flepied/RPM/BUILD/gpm-1.20.0/src/liblow.c
> >>        RPM/BUILD/gpm-1.20.0/src/liblow.c
> >>      BUILD/gpm-1.20.0/src/liblow.c
> >>     gpm-1.20.0/src/liblow.c
> >>       src/liblow.c
> >>     liblow.c
> >>   info: [liblow.c(446)]:
> >>   Warning: closing connection

> >>The message is as copied from the screen, so maybe a little garbled. The
> >>MC screen then becomes scrolled up, and mc is therefore not usable.
> >>Indeed, I have no right to access /dev/vc/0 (root|root).

> >>This is an upgrade to 9.0 from clean install of 8.2 (download edition).

> >>Midnight Commander works OK when logged in a console as root or for any
> >>user under X terminal.
>
> > Same for me in the betas and RC's. Does it happen even if you don't use
> > a vga= parameter on your kernel line? IIRC, it only happens to me when I
> > have used vga=788. What is your video card?

> > Here's what I wrote down one of the many times it happened to me:

> > last=/home/flepied/RPM/BUILD/gpm-1.20.0/src/liblow.c
> > info: [liblow.c(446)]: warning: closing connection
 
> I have vga=788. So I rebooted to linux-nonfb (no vga=788) and all hell
> broke loose!

I made no suggestion to add anything to your kernel line. What possessed
you to try nonfb? Try as I suggested, neither nonfb nor vga=788. As long
as you are trying, try vga=785 & vga=791 as well.

> I have Athlon 1GHz, MSI K7T Turbo (VIA KT133A chipset), ATI All in
> Wonder Radeon QD, 265MB RAM

So this has little or nothing to do with hardware. All the machines I
see this on are K6/2 with ET6x00 video.
 
> Needless to say, this worked OK in MDK8.2.

I just booted to runlevel 1 with vga=788, and was reminded that running
as root mc is also not trouble free. On each reopen of mc with Ctrl-o,
the screen scrolls a bunch of characters up the screen before drawing
the mc window. It does the same at each use of a command from the mc
prompt, as soon as you "press a key to continue" after the command has
completed.

While this trouble is new in mc for 9.0, there was a bug in previous
versions that remains. When mc is run at a vc but *not* in VGA default
80 x 25 mode, that is instead with kernel vga=785 or vga=788 or others,
many times engaging F3 on an ordinary text file produces a file display
that ignores many (all?) line feeds, compressing mulitple file lines
onto single display lines and making the content tough to understand.
The only workaround is to use F4 instead of F3 to view such files.
-- 
"To fear the Lord is to hate evil. . . ."               Proverbs 8:13
NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://members.ij.net/mrmazda/


Reply via email to