setting paper [printer] [*]

2001-04-01 Thread maths
hello everybody
 
i have a epson-lq1600k, use somekind of paper with many holes on it. the paper
size is  2100x2800 (mm), where and how the setup the paper size. (when install
my debian system, i set the default papersize to a4, and don't know how to 
change
it now.)

thank you.

    maths
[EMAIL PROTECTED]



ppp question [*]

2001-04-01 Thread maths
hello everybody:

is ppp 2.3.11 work with linux kernel 2.3.11 ?

thank you.

maths
[EMAIL PROTECTED]



ppp config question [math]

2001-03-11 Thread maths
hello everybody:

chat could not catch the promept "password:"
/var/log/messages show that chat stop at "expect (ssword:)" , then "alarm", 
"fail", "exit"
my isp's login prompt are "username:" and "password:" 

thank you
maths
[EMAIL PROTECTED]



can i740 work in accelerate mode?[math]

2001-03-02 Thread maths
helloe everybody

my vedio card is i740, could display 800X600, 16bp (or higher, but i only use 
this mode). the color is beautiful but very slowly. i tty, i could see this 
message:

(**) SVGA: Chipset: i740
(**) Option "noaccel"

.
(**) (SVGA) Acceleration disabled

can i config it to work in acceleration mode?(and how).


maths
mail to [EMAIL PROTECTED] 



[*] Emacs and Color

2000-05-30 Thread maths
hello 

not under X, can i let emacs use diffrence color to express C
codes? i try M-x font-lock-mode, nothing happen.(but i have 
a Emacs for NT, M-x font-lock-mode do work). 

many thanks!

**  
zhang  xiaolei
Department  of   mathematics  
GuangZhou  Normal University  
mailto: [EMAIL PROTECTED]
** 



[*] buffer of Emacs

2000-05-30 Thread maths
hello all

i am a newbie of Emacs. i had learned the toturial, and now reading
the info page, but its too long. could someone tell me what's "run
a program in Emacs's buffer" and how to do it ?

many thanks!

**  
zhang  xiaolei
Department  of   mathematics  
GuangZhou  Normal University  
mailto: [EMAIL PROTECTED]
** 



lp1 or lp0

2000-05-09 Thread maths
hello everybody

now i use two diffrent kernel. i find the old one look my
print as lp1, and the new one look it as lp0. when use lpr
it fellow the file /etc/printcap to invoke lp1, so, under
the new kernel it refuse to print.

any suggestion?

many thanks!

**  
zhang  xiaolei
Department  of   mathematics  
GuangZhou  Normal University  
mailto: [EMAIL PROTECTED]
** 



watch dvi files

2000-05-08 Thread maths
hello everybody

without X11, how to watch dvi file?

many thanks!

**  
zhang  xiaolei
Department  of   mathematics  
GuangZhou  Normal University  
mailto: [EMAIL PROTECTED]
** 


[*]sound card

2000-05-08 Thread maths
hello everybody 

my sound card is Creative PCI 128 digital, some times ago, i
had post some question about it. and people told me to use
a newer kernel, so i update the kernel from 2.0.38 to 2.2.14.

question 1. i shall use Creative es1371 or the OSS one?

question 2. i had complie it as a module, what i shall add
to the conf.module? alias what is what, and options what what
what...

many thanks!

**  
zhang  xiaolei
Department  of   mathematics  
GuangZhou  Normal University  
mailto: [EMAIL PROTECTED]
** 


[*]ntfs and kernel

2000-05-01 Thread maths
hello everybody

i want to mount ntfs, so i install ntfs2.0.33_971218-4.deb,
i use 

# insmod -f ntfs.o 

and it tell me this ntfs.o is for kernel 2.0.33, and im using
kernel 2.0.38

what shall i do? 

many thanks!
**  
zhang  xiaolei
Department  of   mathematics  
GuangZhou  Normal University  
mailto: [EMAIL PROTECTED]
** 


[help] assembly code embed c

2000-04-22 Thread maths
hello everybody

i have some assembly code write by my friend, they were close
in a function. when i compile the c file, gcc report add nudeclare
or something like this. i had use 

# cc -O2 -fomit-frame-pointer -m386 -Wall

to invoke it.

i know nothing about assembly, shall i include something? 

many thanks!

**  
zhang  xiaolei
Department  of   mathematics  
GuangZhou  Normal University  
mailto: [EMAIL PROTECTED]
** 


chop LF

2000-04-21 Thread maths
hello everybody

i wrote a program a.out. it get input from stdin, so i can use
pipe or redirection to get data from file. such as

# cat foo|a.out

the problem is foo is end in "LF" ( 0A ), and it will let a.out
get wrong output. if i run

#a.out

and input data from keybord, then end it by ctrl+D, will get the
right answer.

how can i chop the "LF"?(remake data file foo or filtrate it by bash,
filtrate it will be better,but i don't know how to do. ) 

many thanks!


**  
zhang  xiaolei
Department  of   mathematics  
GuangZhou  Normal University  
mailto: [EMAIL PROTECTED]
** 


[*] SB 128 again

2000-04-20 Thread maths
hello everybody

i had get my SB pci 128 Digital now, but where to find ess1370
or essl371(sorry)? when ess downloaded, i shall compile it as
a module,and i don't need to compile my kernel, right?

many thanks!

**  
zhang  xiaolei
Department  of   mathematics  
GuangZhou  Normal University  
mailto: [EMAIL PROTECTED]
** 


[*] GDB question

2000-04-09 Thread maths
hello everybody:

i wrote all function in a .h file, and include it in a mian
file, then cc -g ... late i use gdb to debug, when i use 
command "list", it just list the code in main file, how can
i list the codes in .h file, so i can inset a break point or
something else?
by the way, where can i find good tutorial of GDB?

thank you verymuch!


**  
zhang  xiaolei
Department  of   mathematics  
GuangZhou  Normal University  
mailto: [EMAIL PROTECTED]
** 


stupid question about gs

2000-04-05 Thread maths
hello everybody

with the helps of this list, now my printer worked. but i
have a stupid question about gs: how to specify the pages i 
want to print? "gs -?" told me: embed %d or %ld for page#
but get me an exmple, i had try to print page 5 of foo.pdf use

# gs -dSAFER -dNOPAUSE -sDEVICE=epsonc -sOutputFile=\|lpr foo.pdf %5

it seem to not work.

many thanks!
if possible also mailto: [EMAIL PROTECTED]
**  
zhang  xiaolei
Department  of   mathematics  
GuangZhou  Normal University  
mailto: [EMAIL PROTECTED]
**
 


EPSON LQ100 Printer

2000-04-04 Thread maths
hello everybody

i have only a aged printer, its a Epson Lq 100 (esc/p2).when i
use it to print ps files, it often make little mistakes.for 
example:



#gs -dSAFER -dNOPAUSE -sDEVICE=epson -sOutputFile=\|lpr love_C.ps
then 1/3 of the width will disappear

if 
#gs -dSAFER -dNOPAUSE -sDEVICE=epsonc -sOutputFile=\|lpr love_C.ps
then many errors appear, especially when printting the tables


i think the argument -sDEVICE=spsonc is wrong, but what DEVICE
i shall set?

many thanks!
if possible, also mailto: [EMAIL PROTECTED]

**  
zhang  xiaolei
Department  of   mathematics  
GuangZhou  Normal University  
mailto: [EMAIL PROTECTED]
** 


[*} X Concept

2000-02-18 Thread maths
hello everybody

i know what X server is, and i am  using S3. but i feel confuse
of the X window manager.someone told me the gonme is not a window
manager.but in my opinion it do the same thing as the enlightment.
what's the diffrences?

many thanks!
zhang xiaolei

**
A Mathematician is a machine for turning coffee into theorems. 

   ---Paul Erdos
**  



[*]about download program

2000-02-17 Thread maths
hello everybody:

is there any good download software (something like net vampire) for linux?
i fell very happy with debian, but when i want to download something, i had 
to comeback to Windows to  use the "Jet Car", a very good download programs.
but i really hope someday i can say bye-bye to M$.

many thanks!

**
A Mathematician is a machine for turning coffee into theorems. 

   ---Paul Erdos
**