MPEG free format

2001-05-25 Thread Alexander Zhuckov
Hi!

What program I should use to  play MPEG files (with 'mp2' extenstion)
about which mpg123 says: Free format not supported?
-- 
Alexander Zhuckov   [EMAIL PROTECTED]   2:5030/518.50



Re: script to convert filename to lowercase

2001-05-25 Thread Alexander Zhuckov
 Darryl Röthering (DR) writes:

 DR Can one of you gurus quickly help me with a script? I have a
 DR directory with several thousand files named inconsistently with a
 DR mix of uppercase and lowercase. I need to rationalize these to be
 DR named with all lowercase. I know you guys will have a dozen ways
 DR to do this.

ls | awk '{ fn = tolower($0); if ($0 != fn) { cmd = mv  $0   fn; 
system(cmd); } }'

-- 
Alexander Zhuckov   [EMAIL PROTECTED]   2:5030/518.50



Re: changing console framebuffer modes

2001-05-02 Thread Alexander Zhuckov
 John Kerr Anderson (JKA) writes:

 JKA This is what happens when I try to run the commands: fbset
 JKA 640x480-72

 JKA error message: ioctl FBIOPUT_VSCREENINFO: Invalid argument

 JKA or

 JKA fbset --all 640-480-72 gives the same exact error message.

 JKA Is there something that is not set up properly?  Any suggestions
 JKA would be helpful!  :-)

May be you compiled only frambuffer support and none of framebuffer
drivers?  You should compile vesa or one of the framebuffer drivers
for supported chipsets.

Do you run these commands as root and from linux console?

If you compiled drivers as modules do you load drivers (e.g. with
modprobe) before fbset?

I have no other ideas. fbset worked fine for me when I used
framebuffer.
-- 
Alexander Zhuckov   [EMAIL PROTECTED]   2:5030/518.50



Re: changing console framebuffer modes

2001-04-29 Thread Alexander Zhuckov
 John Kerr Anderson (JKA) writes:

 JKA Hi, I have an IBM PC 350 w/S3 Trio 64 video chip-set running
 JKA Debian 2.2 and kernel version 2.4.0.  I have the frame buffer
 JKA device activated but would like a higher refresh rate than 60
 JKA Hz.  I read the man pages for fbset and /etc/fb.modes with
 JKA no luck on how to change the refresh rate/resolution.  I noticed
 JKA in the file /etc/fb.modes there are several generic console
 JKA modes.  How can I tell fbset to utilise the modes in
 JKA /etc/fb.modes?

Suppose you have in fb.mode:

  mode 800x600-100
  ...

than you can try to set it for current console with the following command:

  fbset 800x600-100

or for all consoles:

  fbset --all 800x600-100
-- 
Alexander Zhuckov   [EMAIL PROTECTED]   2:5030/518.50



Re: Framebuffer question

2001-04-28 Thread Alexander Zhuckov
 Marko Simendic (MS) writes:

 MS Hello!  How can I set framebuffer to work using higher refresh
 MS rates then 60hz? I have a Geforce2 card and I am using
 MS 2.4.0-pre12 kernel which is not going to change soon. Is there a
 MS new kernel driver for nvidia cards? There is one for Rivas but
 MS not for Geforce2 based cards.

Did you try fbset utility? Some framebuffer drivers can not be
configured to high resolutions or refresh rates during boot time.
-- 
Alexander Zhuckov   [EMAIL PROTECTED]   2:5030/518.50



Re: Cursor and GNU Emacs and console

2001-04-10 Thread Alexander Zhuckov
 Alan Shutko (AS) writes:

 AS Alexander Zhuckov [EMAIL PROTECTED] writes:
   Alan Shutko (AS) writes:

  May be you're right. But when I used framebuffer I had normal
  cursor in Emacs.

 AS Emacs doesn't control the shape of the cursor in the console or
 AS in a terminal window.  It can only control it in an X window, and
 AS it doesn't look like one can change the shape easily in Emacs 20.

 AS If you were talking about the cursor not running under X, there
 AS might be a way, just not an Emacs way.

Yes, I was talking about the cursor not running under X and I'm searching
for any way not just an Emacs way. Yet Emacs way is the preferred way :)
-- 
Alexander Zhuckov   [EMAIL PROTECTED]   2:5030/518.50



Re: Need to do some weird keymapping

2001-04-07 Thread Alexander Zhuckov
 Craig McPherson (CM) writes:

 CM Thanks for the suggestion.  I've been researching Loadkeys, and
 CM it looks like it'll do the job.  There are two things I haven't
 CM been able to find, though:

 CM 1.  What Debian package includes loadkeys.

ithilien$ dpkg -S loadkeys
console-tools: /usr/share/man/man1/loadkeys.1.gz
console-tools: /bin/loadkeys
-- 
Alexander Zhuckov   [EMAIL PROTECTED]   2:5030/518.50



Cursor and GNU Emacs and console

2001-04-07 Thread Alexander Zhuckov
Hi!

Please, tell me, what should I do to get normal non block
cursor in GNU Emacs. In console I have normal cursor.
-- 
Alexander Zhuckov   [EMAIL PROTECTED]   2:5030/518.50



Re: Cursor and GNU Emacs and console

2001-04-07 Thread Alexander Zhuckov
 Alan Shutko (AS) writes:

 AS Alexander Zhuckov [EMAIL PROTECTED] writes:
  Please, tell me, what should I do to get normal non block cursor
  in GNU Emacs. In console I have normal cursor.

 AS I don't think that can be done (easily?) in Emacs 20.  Emacs 21
 AS will let you do it

May be you're right. But when I used framebuffer I had normal cursor in Emacs.
May be the problem is not in Emacs version?
-- 
Alexander Zhuckov   [EMAIL PROTECTED]   2:5030/518.50



ATI 3D Rage IIc and console

2001-04-04 Thread Alexander Zhuckov
Hi!

I have ATI 3D Rage IIc card. And I prefer to work in console with
100 chars / 50 lines / 100Hz.  But

1) framebuffer doesn't work with my card since kernel 2.2.18;
2) svgatextmode doesn't work too.

What can I do?

Thank you in advance for any answer.
-- 
Alexander Zhuckov   [EMAIL PROTECTED]   2:5030/518.50



Re: CYRILLIC/RUSSIAN?! any Russians out here?! help

2001-03-10 Thread Alexander Zhuckov
Mark Livingstone [EMAIL PROTECTED] writes:

 Hi. I was asked by our Russian co-worker to enable cyrillic support
 in Debian, both in console in X. So far I have no idea how to
 implement that. GTK complains that the locale is not supported and
 console doesn't want to show any symbols.

I can help you only with console because I use only GNU Emacs
with mule in X.

1) install console-tools;

2) add following lines to /etc/console-tools/config:
  SCREEN_FONT=Cyr_a8x16
  SCREEN_FONT_vc2=Cyr_a8x16
  SCREEN_FONT_vc3=Cyr_a8x16
  SCREEN_FONT_vc4=Cyr_a8x16
  SCREEN_FONT_vc5=Cyr_a8x16
  SCREEN_FONT_vc6=Cyr_a8x16

  APP_CHARSET_MAP=koi8-r
  APP_CHARSET_MAP_vc2=user
  APP_CHARSET_MAP_vc3=user
  APP_CHARSET_MAP_vc4=user
  APP_CHARSET_MAP_vc5=user
  APP_CHARSET_MAP_vc6=user

3) in user's profile:
  
  LANG=ru_RU.KOI8-R
  export LANG

4) copy one of the russian keymaps from /usr/share/keymaps/i386/qwerty/
   to /etc/console-tools/default.kmap.gz, f.e ru4.kmap.gz

5) add to /etc/inputrc:
 # Be 8 bit clean.
 set input-meta on
 set output-meta on

6) execute following command:

  loadkeys ru4

I hope this will help.

 Please point me to an updated guy or explain how to do it.

Try to send a message to debian-russian list.
-- 
Alexander Zhuckov   [EMAIL PROTECTED]   2:5030/518.50



Re: emacs memu bars in linux console

2001-03-10 Thread Alexander Zhuckov
Osamu Aoki [EMAIL PROTECTED] writes:

 Yes but that's not my point.  'F10' and 'M-`' exist and I use them :-)
 
 To use emacs menu in console, this top menu line is really useless.  F10
 works even after I killed this top menu line with meta-x
 menu-bar-mode.  I always wonder why do not they simply say Press F10
 for menu or something reasonable and useful ???.
 
 Rereading info page, it looks like the way RMS wants.  I can not argue
 with him.
 
 For me console screen is tight, so kill this useless line with meta-x
 menu-bar-mode and use 'F10' anyway.  Nobody gave me convincing story
 not to do this :-).

Put (menu-bar-mode '-1) in your .emacs file. If you want menu bar only
under X you can test for window system before setting this variable.
-- 
Alexander Zhuckov   [EMAIL PROTECTED]   2:5030/518.50



Re: emacs memu bars in linux console

2001-03-10 Thread Alexander Zhuckov
Osamu Aoki [EMAIL PROTECTED] writes:

 Hi,
 
 On Sat, Mar 10, 2001 at 08:41:35PM +0300, Alexander Zhuckov wrote:
  Osamu Aoki [EMAIL PROTECTED] writes:
   Yes but that's not my point.  'F10' and 'M-`' exist and I use them :-)
 ...
  Put (menu-bar-mode '-1) in your .emacs file. If you want menu bar only
  under X you can test for window system before setting this variable.
 
 Good idea.  Though, I am lisp illiterate.  How to test for X?
 Just putting above disabled menu in X too.

Like this:

(if (not window-system) (menu-bar-mode -1) (menu-bar-mode 1))
-- 
Alexander Zhuckov   [EMAIL PROTECTED]   2:5030/518.50



Re: Debian kernel VMware

2000-04-07 Thread Alexander Zhuckov
Adam Shand [EMAIL PROTECTED] writes:

  May be there are some parameters I _must_ turn on in the kernel to run
  VMware? or may be I must install respective kernel-headers package?
 
 you need to have the real time clock enabled.  other then that i don't think
 there is anything that is required (the default debian kernel used to
 provide it).
 
 i haven't played with vmware for quite a while but if you didn't have the
 rtc enabled vmware would just print out an error message when you tried to
 run it.

I have `enhanced real time clock' enabled. It doesn't help :(
-- 
Alexander Zhuckov   [EMAIL PROTECTED]   2:5030/518.50


Re: Debian kernel VMware

2000-04-07 Thread Alexander Zhuckov
Adam Shand [EMAIL PROTECTED] writes:

  May be there are some parameters I _must_ turn on in the kernel to run
  VMware? or may be I must install respective kernel-headers package?
 
 you need to have the real time clock enabled.  other then that i don't think
 there is anything that is required (the default debian kernel used to
 provide it).
 
 i haven't played with vmware for quite a while but if you didn't have the
 rtc enabled vmware would just print out an error message when you tried to
 run it.

I have `enhanced real time clock' enabled. It doesn't help :(
-- 
Alexander Zhuckov   [EMAIL PROTECTED]   2:5030/518.50


Debian kernel VMware

2000-04-06 Thread Alexander Zhuckov
Hi All!

When I use standard kernel image (say 2.2.14-2) from potato
then vmware loads and works fine. But with standard kernel image
and modules I can't see long names on Netware and use
frame buffer (no fb for mach64 module).

When I build kernel from sources (using kernel-package)
vmware completely hangs my box (I must use reset button).

Can anybody help me? 
-- 
Alexander Zhuckov   [EMAIL PROTECTED]   2:5030/518.50


Re: Debian kernel VMware

2000-04-06 Thread Alexander Zhuckov
Oswald Buddenhagen [EMAIL PROTECTED] writes:

  When I build kernel from sources (using kernel-package)
  vmware completely hangs my box (I must use reset button).
  
 just an idea: vmware builds its own kernel modules. if you change the
 kernel, you might need to re-run vmware-config.pl

Yes, I did it many times. All vmware modules loads fine.
-- 
Alexander Zhuckov   [EMAIL PROTECTED]   2:5030/518.50


Re: Debian kernel VMware

2000-04-06 Thread Alexander Zhuckov
Jean Pierre LeJacq [EMAIL PROTECTED] writes:

 On Thu, 6 Apr 2000, Oswald Buddenhagen wrote:
 
   When I build kernel from sources (using kernel-package)
   vmware completely hangs my box (I must use reset button).
   
  just an idea: vmware builds its own kernel modules. if you change the
  kernel, you might need to re-run vmware-config.pl
 
 My experience is that vmware notices when a new kernel is installed
 and will prompt you to rebuild the modules.  I've had no trouble
 using vmware and rebuilding newer versions of the kernel.

May be there are some parameters I _must_ turn on in the kernel
to run VMware? or may be I must install respective kernel-headers
package?
-- 
Alexander Zhuckov   [EMAIL PROTECTED]   2:5030/518.50


Re: Debian kernel VMware

2000-04-06 Thread Alexander Zhuckov
Andy Roosen [EMAIL PROTECTED] writes:

 I had the same problem until I compiled with the parallel port as a
 module (I usually compile everything into the kernel). There's a note
 somewhere on the VMware install site that implied a parallel module
 was required.

I compiled paralled port as module. The effect was the same.  I found
with depmod that vmmon, vmnet and vmppuser modules all had unresolved
external references, so I recompiled them by hand from sources.
And nothing changed.

 
 Cheers,
 Andy
 
 On Thu, Apr 06, 2000 at 12:52:48PM +0400, Alexander Zhuckov wrote:
  Oswald Buddenhagen [EMAIL PROTECTED] writes:
  
When I build kernel from sources (using kernel-package)
vmware completely hangs my box (I must use reset button).

   just an idea: vmware builds its own kernel modules. if you change the
   kernel, you might need to re-run vmware-config.pl
  
  Yes, I did it many times. All vmware modules loads fine.
-- 
Alexander Zhuckov   [EMAIL PROTECTED]   2:5030/518.50


GNU Emacs-20.4 debs

1999-10-01 Thread Alexander Zhuckov
Hi!

Tell me, ple-e-e-e-ase, where I can find
GNU Emacs 20.4 Debian packages?
-- 
Alexander Zhuckov   [EMAIL PROTECTED]   2:5030/518.50


Re: GNU Emacs-20.4 debs

1999-10-01 Thread Alexander Zhuckov
Jean Pierre LeJacq [EMAIL PROTECTED] writes:

 On 1 Oct 1999, Alexander Zhuckov wrote:
 
  Tell me, ple-e-e-e-ase, where I can find
  GNU Emacs 20.4 Debian packages?
 
 In unstable distribution in the packages xemacs20-*.

No, thanks. I want GNU Emacs, not XEmacs.

-- 
Alexander Zhuckov   [EMAIL PROTECTED]   2:5030/518.50


gcc_2.91.1--0pre1

1999-08-19 Thread Alexander Zhuckov
Hi!

I tried to build gcc_2.91.1--0pre1 and the following error:


/usr/src/gcc-2.95.1/src/libobjc/gc.c:37: gc.h: No such file or directory
/usr/src/gcc-2.95.1/src/libobjc/gc.c:55: gc_typed.h: No such file or directory
make[4]: *** [gc_gc.o] Error 1
make[4]: Leaving directory `/usr/src/gcc-2.95.1/build/i386-linux/libobjc'
make[3]: *** [all-target-libobjc] Error 2
make[3]: Leaving directory `/usr/src/gcc-2.95.1/build'
make[2]: *** [bootstrap-lean] Error 2
make[2]: Leaving directory `/usr/src/gcc-2.95.1/build'
s=`cat status`; rm -f status; test $s -eq 0
make[1]: *** [stamps/05-build-stamp] Error 1
make[1]: Leaving directory `/usr/src/gcc-2.95.1'
make: *** [stamps/05-build-stamp] Error 2


Any ideas?
-- 
Alexander Zhuckov   [EMAIL PROTECTED]   2:5030/518.50


Re: glibc 2.1.2 and slink

1999-08-19 Thread Alexander Zhuckov
Stephen Pitts [EMAIL PROTECTED] writes:

 On Wed, Aug 18, 1999 at 05:28:26PM +0400, Alexander Zhuckov wrote:
  Hi!
  
  Can I safely compile and install glibc 2.1.2 (and respective dev
  packages) from potato on slink?
 
 Why not just install the glibc 2.1 package from potato instead of
 building it yourself? 

I don't now :) I thought there is binary incompatibility between
libc from slink and the one from potato.
-- 
Alexander Zhuckov   [EMAIL PROTECTED]   2:5030/518.50


glibc 2.1.2 and slink

1999-08-18 Thread Alexander Zhuckov
Hi!

Can I safely compile and install glibc 2.1.2 (and respective dev
packages) from potato on slink?
-- 
Alexander Zhuckov   [EMAIL PROTECTED]   2:5030/518.50


emacs-20.3 and leim files

1998-10-01 Thread Alexander Zhuckov
Hi!

Does anybody knows something about leim/* files in emacs20_*.deb
ans emacs20-el*.deb packages?

I've got emacs-20.3.tar.gz and leim-20.3.tar.gz 
and emacs20_20.3-1.diff.gz emacs20_20.3-1.dsc (from slink)
and then built both packages and then installed them. And found none of
leim files, so I installed them by hand.

But may be there is a more correct method to get emacs with mule
support on debian system (from debian package)?
-- 
Alexander Zhuckov   [EMAIL PROTECTED]   2:5030/518.50