Re: executable compatible with Debian and Redhat?

2000-12-01 Thread Jinsong Zhao
Thanks to D-Man. I'm enclosing what I got from the gcc.gnu.org website. Yes, RH7.0 is using 2.96 gcc compiler. Not only this may produce incompatible binary codes, it also has trouble working with gdb 5.0. Gdb cannot access locally declared variables in C++ code. I was really scratching my head

executable compatible with Debian and Redhat?

2000-11-30 Thread Jinsong Zhao
This is the first horrible thing I can think of: code compiled on Debian does not run on Redhat! Several programs I compiled on the Debian run fine on Debian, but when I installed Redhat and tried to run those programs, say in bash you type ./pgp, then the error message is: bash: ./pgp: No such

Re: Mule for emacs20

1999-12-06 Thread Jinsong Zhao
In emacs20, you don't need mule: it's part of emacs20. However, I'm not sure if Debian version contains the leim package. You can download and compile your self and make sure to include the leim package. For GB, you need add one line in the .emacs: (set-language-environment 'Chinese-GB) and the

RIVA128 (nVidia) card works, but loses cursor in emacs ...

1999-11-24 Thread Jinsong Zhao
I mail-ordered a XFree86-supported video card, yet I received a Jaton Video-68AGP card that uses RIVA128ZX chip. To my chagrin, I spent several hours figuring out that I have to download from nVidia a special XF86_SVGA and do some setups. Now this card is working, and to my surprise, the video

Re: RIVA128 (nVidia) card works, but loses cursor in emacs ...

1999-11-24 Thread Jinsong Zhao
I tried XF86 3.3.5 deb. The XF86_SVGA does not support Riva128 yet. So I was still using the one downloaded from nVidia, which is 3.3.3. No clue ... Jinsong Yeah, I've run into that, too. I don't use emacs at home all that often, so I'm using the simple workaround of running emacs in no

knfs success?

1999-08-09 Thread Jinsong Zhao
I was playing with knfs. I compiled the kernel 2.2.10. Then I installed the knfs package from the unstable. But looks like knfs cannot export a directory. I explicitly issue commands: exportfs /usr1 machine1(rw) then it prints Function not implemented. Then the basic function of NFS is not

funny NFS (Linux and Solaris)

1999-07-19 Thread Jinsong Zhao
I exported one directory at my Linux to one Solaris 2.5.1 machine. On Solaris, I ran 'ln -s /tmp tmp', then ran 'file tmp', it says: readlink error: Invalid argument. However, when I 'ls -l' on the Linux, it is fine. Another problem is when I create a directory on Solaris and then want to cd

multi-session CD writing and mounting?

1999-06-22 Thread Jinsong Zhao
From the man page of cdrecord, it looks like cdrecord can write multi-sessions on one CD. But then why do we do that? Is there anyway to mount the second session? Also, I could not find any Linux tool to read/write VCD. Any suggestions? Another problem is that mtvp could not play once my ide

cd-rw mount and mkfs?

1999-04-27 Thread Jinsong Zhao
Using SCSI emulation, I can mount an existing cd: mount /dev/sr0 /mnt I can also blank the cd-rw by: cdrecord -blank all -dev=0,0 Now I want to make a file system as: mkfs /dev/sr0, but it failed. My next intended action is to mount it so that I can write files on to it. So looks like I cannot

atx and fan (noise) control

1999-04-27 Thread Jinsong Zhao
After about less than three years owning a then state-of-art Pentium MMX computer, recently I found that computer is out-of-date again. One annoying thing is that the fan is always on, making the room very noisy. Before buying an ATX, is it possible to turn off the fan on a command line? How is

Encoding for EUC on xfstt?

1999-03-07 Thread Jinsong Zhao
I was trying to figure out how to remap the encoding of some Chinese TTF fonts in xfstt. The name of the encoding should be either gb2312.1980 or EUC (as used in CJK, the latex package). Maybe the supported encoding (as printed by xfstt) listed below cover what I need? Thanks! Jinsong

Re: Xemacs Chinese

1999-03-07 Thread Jinsong Zhao
I haven't used xemacs, but FSF Emacs 20.2 has very nice Chinese support. You need to use set-language-environment to start, and then use select-input-method to select input method. The info with Emacs20.2 under international has quite extensive documentation. They support basic PY and

how to use wheel on Logitech mouse?

1999-03-07 Thread Jinsong Zhao
I bought a set of the Logitech cordless Desktop. It contains a wireless keyboard and a wireless mouse. The mouse has two buttons and a wheel in the middle. According to the user manual, the wheel may serve as the third button (in Windows), although the main purpose is for Windows Scroll. I set

Re: APM on Linux?

1998-12-30 Thread Jinsong Zhao
I read the docu on APM. Seems like it is useful for laptop and may not be for desktop? Suppose I can turn the system into standby mode, how can I turn the hard drive spin down? The question boils down to: how can save maximum energy when the computer is idling? I mainly use the computer after

APM on Linux?

1998-12-21 Thread Jinsong Zhao
Hi, It would be very nice if we can leave the computer on without consuming too much energy. My computer has a CMOS option to turn the APM on system (doze, standby, suspend) and harddisk. If I disable the feature, no problem; but if I enable those features, the computer locked after some time: no

colormap problem

1998-11-08 Thread Jinsong Zhao
My computer has 96Meg, the Diamond 3D has 4Meg. However, I always get colormap problem. Look at printout of startx, and I found I was only using 6 bit per RGB. All I specified in XF86Config is 8, 16, etc. Seems I'm out of luck to get more colormaps... Thanks. Jinsong

problem in kernel building: as86

1998-10-25 Thread Jinsong Zhao
Hi, I'm building the kernel 2.0.35 for SB AWE card. When I run make zImage, it ends with as86 not found. I link as86 to /usr/bin/as, then it complains about the unrecognized option -O. Which package should I install to get as86? Thanks! Jinsong

stereo or mono on CD play (xmcd)

1998-10-25 Thread Jinsong Zhao
I finally got xmcd work on my computer. But problem is my CD driver is OEM without specific brand. Then I use other non-SCSI in xmcdconfig. What have I got? I can only hear the right channel. After I ran xmcd, the buttons (for simple music playing) on the front panel of the CD drive are also

segmentation fault on Debian 2.0

1998-10-16 Thread Jinsong Zhao
This problem may have been reported. The netscape (4.05) used to work on my Debian 1.3, but it simply says segmentation fault and quit. Seems to me Netscape only delivers libc5 version. Please advise! Thanks. Jinsong