NHỮNG CÂU HỎI THƯỜNG GẶP VỀ LINUX - Trang 65

Những câu hỏi thường gặp về Linux

thành

linux|console|con80x25:

(có thể có “

dumb

” ở đây - nếu có thì hãy xóa nó.)

Để bộ soạn thảo làm việc, bạn cần gõ:

$ TERM=console

(với bash và ksh), hoặc

$ setenv TERM console

với csh hoặc tcsh.

Vài chương trình dùng [/usr/lib/terminfo] thay vì [/etc/termcap]. Với những chương trình này, bạn nên
nâng cấp gói terminfo, một thành phần của ncurses.

Tương tự đối với X terminal. Nếu bản phân phối của bạn đặt

TERM

một giá trị lạ như

xterm-24-color

,

bạn có thể đơn giản phục hồi giá trị chung bằng lệnh:

$ TERM="xterm"; export TERM

H:

INET: Warning: old style ioctl... called!

Đ:

Bạn đang cố dùng các tiện ích cấu hình mạng cũ. Nhưng phiên bản mới có tại

ftp.linux.org.uk/pub/linux/Networking/PROGRAMS/NetTools/

(chỉ có mã nguồn thôi).

Note that they cannot be used just like the old-style programs. See the NET-2 HOWTO for instructions
on how to set up the old-style networking programs correctly. Even better, see the NET-3 HOWTO và
upgrade your networking software.

H:

ld: unrecognized option ’-m486’

Đ:

Bạn đang dùng phiên bản ld cũ. Hãy cài gói binutils mới hơn, chứa bản nâng cấp cho ld. Hãy tìm

[binutils-2.6.0.2.bin.tar.gz] trên tsx-11.mit.edu tại [/pub/linux/packages/GCC/] .

H:

GCC nói “

Internal compiler error

.”

Đ:

If the fault is repeatable (i.e., it always happens tại the same place in the same file - even after

rebooting và trying again, using a stable kernel) you have discovered a bug in GCC. See the GCC Info
documentation (type F1-i in Emacs, và select GCC from the menu) for details on how to report the
error. Make sure you have the latest version, though.

64