Cannot see hebrew fonts in abiword

2001-07-09 Thread Itai Arad

Hi List,

I am trying (realy hard) to get bidi-abiword  work on my Mandrake 8.0 
linux.

So I compiled abiword-0.7.14-2 (with bidi enabled) and installed it 
just as they say you should.

HOWEVER: I cannot get the hebrew to work!!

I wish to work with *unicode* hebrew. So I this is what I did:

1. Modified XF86Config-4 file so it would have hebrew keymap (according
   to the instructions in IGLU)
2. Defined LANG=he_IL.UTF-8

3. Copied some ttf fonts from Window (Arial + Courier New) to the
  AbiSuite/font directory and added only the iso-10646-1 entries to the
  fonts.dir, fonts.scale files

Now when I run abiword I can use these ttf fonts only in english. When I
pass to hebrew (pressing left-shfit + right-shift), I get some undifined
symbols on the screen. However, the BiDi mechanisem seems to work well -
that is, the direction of writing changes as it should.

I think it actually idetifies the hebrew letters becuase when I save the
file as utf8, and browse it in an utf-8 enabled xterm - I see just what I
wrote.

However, I cannot see it on the screen... 

btw: the utf8 enabled xterm works just fine, and shows the hebrew
letters


(*) I also tried to put the ttf fonts in a UTF-8 subdirectory under
AbiSuite/fonts (If I understood the vauge instructions of abiword) - but
 then abiword did not recognize them...

  
Any suggestions?
  
  
  Thanks, 
  Itai.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: Hebrew keyboard

2001-07-09 Thread Tzafrir Cohen

On Mon, 9 Jul 2001, Micha Feigin wrote:

 How do I create a hebrew keyboard for X/console? There is the default keymap
 for the console which I need to make some changes to. I managed to load a
 keymap using kbdconfig, but it messed up some of the old keys.

 Also, how do I make it load automaticaly?

For X or for console?

For the console you can use 'loadkeys'. The start-up scripts use loadkeys,
I think. You can try to see what map they actually load.

I think that the 'hebrew' map of recent versions of the kbd package is
correct, but before (before 1.0.4, or maybe before 1.0.5) it was an
incorrect layout.

X uses a seperate keyboard mapping. See
http://www.iglu.org.il/faq/cache/56.html .

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: Cannot see hebrew fonts in abiword

2001-07-09 Thread Tzafrir Cohen

On Mon, 9 Jul 2001, Itai Arad wrote:

 Hi List,
 
 I am trying (realy hard) to get bidi-abiword  work on my Mandrake 8.0 
 linux.
 
 So I compiled abiword-0.7.14-2 (with bidi enabled) and installed it 
 just as they say you should.
 
 HOWEVER: I cannot get the hebrew to work!!
 
 I wish to work with *unicode* hebrew. So I this is what I did:
 
 1. Modified XF86Config-4 file so it would have hebrew keymap (according
  to the instructions in IGLU)
 2. Defined LANG=he_IL.UTF-8
 
 3. Copied some ttf fonts from Window (Arial + Courier New)

I suggest that you also get Times New Roman

to the
 AbiSuite/font directory and added only the iso-10646-1 entries to the
 fonts.dir, fonts.scale files

How have you created the entries for them? Does ttmkfdir extract
iso10646-1 encodings as well?


 
 Now when I run abiword I can use these ttf fonts only in english. When I
 pass to hebrew (pressing left-shfit + right-shift), I get some undifined
 symbols on the screen. However, the BiDi mechanisem seems to work well -
 that is, the direction of writing changes as it should.
 
 I think it actually idetifies the hebrew letters becuase when I save the
 file as utf8, and browse it in an utf-8 enabled xterm - I see just what I
 wrote.
 
 However, I cannot see it on the screen... 
 
 btw: the utf8 enabled xterm works just fine, and shows the hebrew
 letters
 
 
 (*) I also tried to put the ttf fonts in a UTF-8 subdirectory under
   AbiSuite/fonts (If I understood the vauge instructions of abiword) - but
then abiword did not recognize them...

It needs to be in a spesific subdirectory: he-IL.UTF-8 . Note the -

instead of _.

Actually, I suggest that this directory will be a symlink to a directory
that X uses (either idrectly or indirectly through xfs).

Maybe try removing all the fonts from the main directory, to prevent name
clashes: Maybe it already has another Arial.

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: X font problem

2001-07-09 Thread Tzafrir Cohen

On Mon, 9 Jul 2001, Micha Feigin wrote:

 Hello

 i am running mandrake, I am not sure what version, one of the latest. I
 tried to set the fontpath under XF86config, but the fonts in the font
 directories don't load. When I use xset fp+ ... and xset fp rehash the fonts
 load ok.

What version of Mandrake? What version of XFree?

If you're using XFree 4 and it finds XF86Config-4 it will use it instead,
and mandrake generally use that file.

 There is a comment in XF86config saying that mandrake no longer uses the x
 font server by default and one of the options is unix:-1 or something like
 that (the unix and -1 are there I don't remember the syntax exactly).
 How do I make the fonts load automaticaly?

You can still add directories to X's font path directly.

You can also try to use 'chkfontpath' or edit /etc/X11/fs/config to
modifiy the fonts server fontpath. However, the fonts server lacks a bit
in error recovery, and X generally won't be able to start when it is down
(and will freeze when it goes down)

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: [OT] Linux Kernel Mentality

2001-07-09 Thread Adi Stav

On Mon, Jul 09, 2001 at 12:27:43AM +0300, Hetz Ben Hamo wrote:
 H? David,
 
 Yes, it's a well known story about the fuck word on the kernel - people 
 were very frustrated while developing the kernel for various platforms 
 (specially Sparc 64) and they added this fuck thing (you'll find it mostly 
 there). Linus refuse to accept any patch that will clear this - and he's 
 right - it's people work, free expression ;)

IIRC one of the more compelling arguments in favor of removing
the words was that it made the kernel source code illegal to distribute
in a surprisingly large number of courtries... I'm glad it wasn't 
enough :)

According to the graph, most of the rise in the popularity of fuck
is concentrated in the beginning of the 2.1 series. Now what
happened there... Oh yeah, the introduction of fine-grained SMP :)

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: mozilla 0.9.2

2001-07-09 Thread Shachar Shemesh

[EMAIL PROTECTED] wrote:


Shachar Shemesh wrote:

Writing (and reading) mail messages in Hebrew is one example that pops
to mind.

The composer may be another.

In the composer, you have a means to set the direction: add a 'dir=rtl '
attribute where appropriate.  Mozilla does not provide a user friendly tool
to do that, you have to modify the HTML source directly, but you still have
a way to do it.
You are encouraged to lobby for adding a more user-friendly way to do it
(like a toolbar icon, a context-menu option, etc...).

Writing mail messages in Mozilla is done with the composer, so we are back
to the previous item.

I know of no way to edit the HTML in the mail message composer. Is there?


Overriding the direction of input messages would be a good thing.

Shalom (Regards),  Mati
   Bidi Architect
   Globalization Center Of Competency - Bidirectional Scripts
   IBM Israel
   Phone: +972 2 5870999  ext. 1202Fax: +972 2 5870333
Mobile: +972 52 554160



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]





=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: mozilla 0.9.2

2001-07-09 Thread Tzafrir Cohen

On Mon, 9 Jul 2001, Shachar Shemesh wrote:

 [EMAIL PROTECTED] wrote:
 
 
 Shachar Shemesh wrote:
 
 Writing (and reading) mail messages in Hebrew is one example that pops
 to mind.
 
 The composer may be another.
 
 In the composer, you have a means to set the direction: add a 'dir=rtl '
 attribute where appropriate.  Mozilla does not provide a user friendly tool
 to do that, you have to modify the HTML source directly, but you still have
 a way to do it.
 You are encouraged to lobby for adding a more user-friendly way to do it
 (like a toolbar icon, a context-menu option, etc...).
 
 Writing mail messages in Mozilla is done with the composer, so we are back
 to the previous item.
 
 I know of no way to edit the HTML in the mail message composer. Is there?

Also, I've tried adding dir=rtl to the html code in the composer, and
the composer seems to discard this change (some other changes are not
discarded). 

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: Hebrew keyboard

2001-07-09 Thread Behdad Esfahbod


For console you should set keyboard mode to utf8 by kbd_mode -u,
then use loadkeys to load your table, and the default table it loads
is either /lib/kbd/keymaps/defkeymap.kmap or
/usr/src/linux/drivers/char/defkeymap.map

An example I prepared for persian is attached.

Behdad

On Mon, 9 Jul 2001, Micha Feigin wrote:

 How do I create a hebrew keyboard for X/console? There is the default keymap
 for the console which I need to make some changes to. I managed to load a
 keymap using kbdconfig, but it messed up some of the old keys.

 Also, how do I make it load automaticaly?

 Thanx

 Micha Feigin
 [EMAIL PROTECTED]






 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]


-- 
Behdad
18 Tir 1380, 2001 Jul 9

[Finger for Geek Code]


-- Attached file included as plaintext by Listar --
-- File: isiri2901.kmap

# From: Behdad Esfahbod [EMAIL PROTECTED]
# Date: Jun 19 2001
#
# Persian Standard Unicode keyboard mapping

charset iso-10646-18
alt_is_meta
keymaps 0-10,12,14
include linux-with-modeshift-altgr.inc
strings as usual

keycode 42 = Shift
alt keycode 42 = AltGr_Lock
altgr alt keycode 42 = AltGr_Lock
keycode 125 = AltGr_Lock
altgr keycode 125 = AltGr_Lock

keycode 86 = less greater bar
altgr control alt keycode 111 = Boot
keycode 1 = Escape
keycode 14 = Delete Delete Delete Delete BackSpace
keycode 15 = Tab
keycode 28 = Return
alt keycode 28 = Meta_Control_m
keycode  29 = Control
keycode 54 = Shift
keycode 55 = KP_Multiply
keycode 56 = Alt
control keycode 57 = nul
keycode 58 = Caps_Lock

string F100 = \342\200\214\330\261\333\214\330\247\331\204\342\200\214

altgr keycode 57 = U+0020 # SPACE
altgr shift keycode 2 = U+0021 # EXCLAMATION MARK
altgr shift keycode 40 = U+061B # ARABIC SEMICOLON
altgr shift keycode 4 = U+066B # ARABIC DECIMAL SEPARATOR
altgr shift keycode 5 = F100 # CURRENCY SIGN
altgr shift keycode 6 = U+066A # ARABIC PERCENT SIGN
altgr shift keycode 8 = U+060C # ARABIC COMMA
altgr keycode 40 = U+06AF # ARABIC LETTER GAF
altgr shift keycode 10 = U+0029 # CLOSE PARENTHESIS
altgr shift keycode 11 = U+0028 # OPEN PARENTHESIS
altgr shift keycode 9 = U+002A # ASTERISK
altgr shift keycode 13 = U+002B # PLUS SIGN
altgr keycode 51 = U+0648 # ARABIC LETTER WAW
altgr keycode 12 = U+002D # HYPHEN-MINUS
altgr keycode 52 = U+002E # FULL STOP
altgr keycode 53 = U+002F # SOLIDUS
altgr keycode 11 = U+06F0 # EXTENDED ARABIC-INDIC DIGIT ZERO
altgr keycode 2 = U+06F1 # EXTENDED ARABIC-INDIC DIGIT ONE
altgr keycode 3 = U+06F2 # EXTENDED ARABIC-INDIC DIGIT TWO
altgr keycode 4 = U+06F3 # EXTENDED ARABIC-INDIC DIGIT THREE
altgr keycode 5 = U+06F4 # EXTENDED ARABIC-INDIC DIGIT FOUR
altgr keycode 6 = U+06F5 # EXTENDED ARABIC-INDIC DIGIT FIVE
altgr keycode 7 = U+06F6 # EXTENDED ARABIC-INDIC DIGIT SIX
altgr keycode 8 = U+06F7 # EXTENDED ARABIC-INDIC DIGIT SEVEN
altgr keycode 9 = U+06F8 # EXTENDED ARABIC-INDIC DIGIT EIGHT
altgr keycode 10 = U+06F9 # EXTENDED ARABIC-INDIC DIGIT NINE
altgr shift keycode 39 = U+003A # COLON
altgr keycode 39 = U+06A9 # ARABIC LETTER KEHEH
altgr shift keycode 51 = U+003E # GREATER-THAN SIGN
altgr keycode 13 = U+003D # EQUALS SIGN
altgr shift keycode 52 = U+003C # LESS-THAN SIGN
altgr shift keycode 53 = U+061F # ARABIC QUESTION MARK
altgr shift keycode 3 = U+066C # ARABIC THOUSANDS SEPARATOR
altgr shift keycode 30 = U+0624 # ARABIC LETTER WAW WITH HAMZA ABOVE
altgr shift keycode 48 = U+200C # ZERO WIDTH NON-JOINER
altgr shift keycode 57 = U+200C # ZERO WIDTH NON-JOINER
altgr shift keycode 46 = U+0698 # ARABIC LETTER JEH
altgr shift keycode 32 = U+064A # ARABIC LETTER YEH
altgr shift keycode 18 = U+064D # ARABIC KASRATAN
altgr shift keycode 33 = U+0625 # ARABIC LETTER ALEF WITH HAMZA BELOW
altgr shift keycode 34 = U+0623 # ARABIC LETTER ALEF WITH HAMZA ABOVE
altgr shift keycode 35 = U+0622 # ARABIC LETTER ALEF WITH MADDA ABOVE
altgr shift keycode 23 = U+0651 # ARABIC SHADDA
altgr shift keycode 36 = U+0629 # ARABIC LETTER TEH MARBUTA
altgr shift keycode 37 = U+00BB # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
altgr shift keycode 38 = U+00AB # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
altgr shift keycode 50 = U+0621 # ARABIC LETTER HAMZA
altgr shift keycode 49 = VoidSymbol # Reserved
altgr shift keycode 24 = U+005D # RIGHT SQUARE BRACKET
altgr shift keycode 25 = U+005B # LEFT SQUARE BRACKET
altgr shift keycode 16 = U+0652 # ARABIC SUKUN
altgr shift keycode 19 = U+064B # ARABIC FATHATAN
altgr shift keycode 31 = U+0626 # ARABIC LETTER YEH WITH HAMZA ABOVE
altgr shift keycode 20 = U+064F # ARABIC DAMMA
altgr shift keycode 22 = U+064E # ARABIC FATHA
altgr shift keycode 47 = U+0670 # ARABIC LETTER SUPERSCRIPT ALEF
altgr shift keycode 17 = U+064C # ARABIC DAMMATAN
altgr shift keycode 45 = VoidSymbol # Reserved
altgr shift keycode 21 = U+0650 # ARABIC KASRA
altgr shift keycode 44 = U+0643 # ARABIC LETTER KAF
altgr keycode 26 = 

Re: X font problem

2001-07-09 Thread Alexander V. Karelin

Dear Micha!

To sort the confusion (and since I've dealt with the same issue before),
here are a couple of comments:

1. The unix/:-1 thing is very simple. unix stands for transport. / has to
preceed the hostname. If the host is local, than the column follows the
slash. And the last part is the number of the port, which for unix
sockets, is -1. So - if You want to use Your font-server's resources -
first check which transport/port does it serve on. And than add it to the
fontpath.

2. A font directory is quite tricky. It needs to have a fonts.dir file.

For Type1  Type2 fonts, run: `mkfontdir  fonts.dir`
For True-type fonts, run: `mkfontdir  fonts.scale`

The next step is to generate the encoding for the fonts. Well - in short,
it is a list of all encodings support by each font. To generate it You
need to know where the encoding control files are locate. Usually it is
in:
/usr/X11R6/lib/X11/fonts/encodings
and
usr/X11R6/lib/X11/fonts/encodings/large

Well - it is usual for X11 v4+, but it may be different someplace else.
You may also want to use alternative and additional encodings (??? Well,
it may well be - after all, this is linux!). So - to generate the encoding
listing, run mkfontdir in the following manner:

`mkfontdir -e [encoding directory 1] -e [encoding directory 2] ...` until
You run out of encoding dirs.

After You're through with this, fonts are loadable (suposably).

3. Font-server configuration is located someplace on the disk. Finding
this location is quite easy - look in Your xfs startup file. The default
location may be found through man xfs.

Once You have stumbled upon xfs config file, add the paths that You've
added and made ready (proccess 2) and... Well - first, shut down Your X11
server. (BTW: if You have it loaded on startup, look for the instructions
below). Than restart Your xfs. Start X11 again and run xfontsel - a
program that allows You to review all Your fonts. If You found the new
fonts there - fine. If You havn't, that means something went wrong.

4. XF86Config

The default path for it is /etc/X11/. But, it may be someplace else. The
true location of the XF86Config file may be learned by different means,
but if You ran out of all of them, there is a rather simple way of finding
that out. Rename /etc/X11/XF86Config (or any other suspect) to, let's
say, /etc/X11/FX86Config.hidden and try to start (restart) X11. If the X11
goes bananas (i.e. refuses to start) - than You've got the right one. Well
- this is a brutal yet efficient way of locating configuration files...
Unless we're talking about production server or services that are vinal
for machine's life...:)

5. You've configured X11 to start upon system startup and it won't
shutdown. Besides some very brutal ways there is a bit more civilized way
to stop the loading of X11 upon system startup. In Your inittab
(/etc/inittab) there is a line that ensures that X11 runs. It usually
refers to /etc/X11/prefdm but it may refer to another place as well.
Commenting out this line, saving the file and restarting the machine (btw:
You have to be root in order to do all that) would do the trick.
Uncommenting this line and restarting the machine again would undo this
trick. Whilest configuring font-paths and other tweaks You can always
manually start an X11 session by running startx. Again - this is not a way
for a production machine or a server... But if You intend to run X11
server on a production machine, than, well... I hope You won't, that's
all.

6. xset solutions
If You do not wish or feel unable to engage in a long and complex journey
into the land of X11 configuration, You can simply setup an xset sequence
upon session startup - just for Your private pleasure. If You're using
GNOME or KDE, You even have a very pleasant, GUI accomplished way of doing
so. Again - the font-directory part has to be done anyways.

On Mon, 9 Jul 2001, Micha Feigin wrote:

 Hello

 i am running mandrake, I am not sure what version, one of the latest. I
 tried to set the fontpath under XF86config, but the fonts in the font
 directories don't load. When I use xset fp+ ... and xset fp rehash the fonts
 load ok.
 There is a comment in XF86config saying that mandrake no longer uses the x
 font server by default and one of the options is unix:-1 or something like
 that (the unix and -1 are there I don't remember the syntax exactly).
 How do I make the fonts load automaticaly?

 Micha Feigin
 [EMAIL PROTECTED]



 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




iXplorer

2001-07-09 Thread Eran Levy

Hi List,
Im using iXplorer in my windows system. I can send files from the Linux 
machine to the windows machine but, I cant send files from the windows 
machine to the Linux machine. When I'm trying send files from the windows 
machine to Linux Im getting a timeout...why?


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: X font problem

2001-07-09 Thread Tzafrir Cohen

Hi

A couple of small corrections. Also have a look at the IGLU faq.

On Mon, 9 Jul 2001, Alexander V. Karelin wrote:

 Dear Micha!
 
 To sort the confusion (and since I've dealt with the same issue before),
 here are a couple of comments:
 
 1. The unix/:-1 thing is very simple. unix stands for transport. / has to
 preceed the hostname. If the host is local, than the column follows the
 slash. And the last part is the number of the port, which for unix
 sockets, is -1. So - if You want to use Your font-server's resources -
 first check which transport/port does it serve on. And than add it to the
 fontpath.
 
 2. A font directory is quite tricky. It needs to have a fonts.dir file.
 
 For Type1  Type2 fonts, run: `mkfontdir  fonts.dir`
 For True-type fonts, run: `mkfontdir  fonts.scale`

I don't think mkfontdir extracts names of TTFs as well. You need to use
some variation of 'ttmkfdir fonts.scale'

And after that, 'mkfintsdir' to create fonts.dir from fonts.scale.
Actually, you can simply run 'ttmkfdir fonts.scale'

 
 The next step is to generate the encoding for the fonts. Well - in short,
 it is a list of all encodings support by each font. To generate it You
 need to know where the encoding control files are locate. Usually it is
 in:
 /usr/X11R6/lib/X11/fonts/encodings
 and
 usr/X11R6/lib/X11/fonts/encodings/large
 
 Well - it is usual for X11 v4+, but it may be different someplace else.
 You may also want to use alternative and additional encodings (??? Well,
 it may well be - after all, this is linux!). So - to generate the encoding
 listing, run mkfontdir in the following manner:
 
 `mkfontdir -e [encoding directory 1] -e [encoding directory 2] ...` until
 You run out of encoding dirs.
 
 After You're through with this, fonts are loadable (suposably).

Is this step necesary with XFree out of the tarball? Out of the rpm?

 
 3. Font-server configuration is located someplace on the disk. Finding
 this location is quite easy - look in Your xfs startup file. The default
 location may be found through man xfs.

/etc/X11/fs/config on my system

 
 Once You have stumbled upon xfs config file, add the paths that You've
 added and made ready (proccess 2) and... Well - first, shut down Your X11
 server. (BTW: if You have it loaded on startup, look for the instructions
 below). 

(not entirely necessary. The imporatant thing is not to run this from X,
in case you write the wrong config and the fonts server crashes. If you'rr
ein X there's a chance that the whole console will lock. If you're no in
X, you can simply kill X.

If the X server is up, and you change anything in the list of availble
fonts, you should run

  xset fp rehash

 Than restart Your xfs. Start X11 again and run xfontsel - a
 program that allows You to review all Your fonts. If You found the new
 fonts there - fine. If You havn't, that means something went wrong.

You don't have to restart X for that:

  fslsfonts -server unix/:-1 |less

 
 4. XF86Config
 
 The default path for it is /etc/X11/. But, it may be someplace else. The
 true location of the XF86Config file may be learned by different means,
 but if You ran out of all of them, there is a rather simple wayof finding
 that out. Rename /etc/X11/XF86Config (or any other suspect) to, let's
 say, /etc/X11/FX86Config.hidden and try to start (restart) X11. If the X11
 goes bananas (i.e. refuses to start) - than You've got the right one. 

This is not a good method: if you suspect XF86Config and XF86Config-4 ,
and decide to rename XF86Config-4, X will probably load well (although it
may complain. However, the XF86Config man page will tell you:

  This configuration  file  is  searched for  in the following places
  ...
   /etc/X11/XF86Config-4
   /etc/X11/XF86Config

 Well
 - this is a brutal yet efficient way of locating configuration files...
 Unless we're talking about production server or services that are vinal
 for machine's life...:)

A better method:

see what is the X server (the symlink from /etc/X11/X in my system). If it
points to /usr/X11R6/bin/XFree86 then you use XFree4, and if XF86Config-4
exists, it will be used.. If the name is something else (e.g:
/usr/X11R6/bin/XF86_SVGA) then you use XFree 3 and XF86Config will be
used.

 
 5. You've configured X11 to start upon system startup and it won't
 shutdown. Besides some very brutal ways there is a bit more civilized way
 to stop the loading of X11 upon system startup. In Your inittab
 (/etc/inittab) there is a line that ensures that X11 runs. It usually
 refers to /etc/X11/prefdm but it may refer to another place as well.
 Commenting out this line, saving the file and restarting the machine (btw:
 You have to be root in order to do all that) would do the trick.
 Uncommenting this line and restarting the machine again would undo this
 trick. Whilest configuring font-paths and other tweaks You can always
 manually start an X11 session by running startx. Again - this is not a way
 for a production 

Re: iXplorer

2001-07-09 Thread Hetz Ben Hamo

Make sure that both machines know the names on each other..

on Linux: /etc/hosts
on Windows: c:\windows\system32\drivers\etc\hosts (there is hosts.sam - 
rename it to hosts) - if I'm not mistaken. I don't have Windows right here..

a sample:

192.168.1.1 kookoo
192.168.1.2 kookey
192.168.1.3 kaka

;)

Hetz

On Monday 09 July 2001 20:46, Eran Levy wrote:
 Hi List,
 Im using iXplorer in my windows system. I can send files from the Linux
 machine to the windows machine but, I cant send files from the windows
 machine to the Linux machine. When I'm trying send files from the windows
 machine to Linux Im getting a timeout...why?


 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: X font problem

2001-07-09 Thread Nadav Har'El

On Mon, Jul 09, 2001, Alexander V. Karelin wrote about Re: X font problem:
 1. The unix/:-1 thing is very simple. unix stands for transport. / has to
 preceed the hostname. If the host is local, than the column follows the
 slash. And the last part is the number of the port, which for unix
 sockets, is -1. So - if You want to use Your font-server's resources -
 first check which transport/port does it serve on. And than add it to the
 fontpath.

Just a small off-topic clarification: Unix-domain sockets (see man unix(7))
do not have port numbers; Instead, the address for a unix-domain socket is
a file name (which is created with the socket() command, or a nameless file
is created with socketpair() - see the above manual for more information).

Anyway, what I'm trying to say is that -1 isn't exactly a port number, but
rather a hint the X server and/or font server use to find this file.
For example, in my Redhat 7.1 installation, I have in XF86CONFIG
FontPath   unix/:7100

This 7100 is not a port number, since unix-domain sockets do not have
port numbers (an example where this would have been a port is with the
tcp transport: tcp/somecomputer.com:7100 - see man X(7) for more info).
This 7100 tells X to use the local file:
# ls -l /tmp/.font-unix/fs7100
srwxrwxrwx1 xfs  xfs 0 Jul  9 23:15 /tmp/.font-unix/fs7100

Which the font server (xfs) is listening on. Note the s in the beggining
of the ls -l line: this says this is a special unix-domain *s*ocket file.

By the way, to find out which unix-domain socket or tcp socket your font
server is listening on, you can do

lsof -i -U 

and search for xfs. Again, if you see /tmp/.font-unix/fs123 use
unix/:123 in your font path.


-- 
Nadav Har'El|  Monday, Jul  9 2001, 19 Tammuz 5761
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |Recursive, adj.: See Recursive
http://nadav.harel.org.il   |

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




RE:Nic Goes Down after Netwrok Activity

2001-07-09 Thread Stiven Andre


When I turn eth0 interface up i see the indicator in the hub that it is connected. When the interface is responding and if i ping i can see that hub indicates traffic. But once i try to get any heavy network activity or just upload/download any file the interface goes down. The hub still idicates that the computer is connected but event when i ping it is not indicates any traffic.
I have only one NIC on that PC.
From: Cedar Cox <[EMAIL PROTECTED]>
To: Stiven Andre <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED] 
Subject: RE:Nic Goes Down after Netwrok Activity 
Date: Sun, 8 Jul 2001 13:37:34 +0300 (IDT) 
 
 
Could it be an irq problem? I know NICs sometimes don't like to share 
irq, especially with another NIC (at least from my experience). BTW, 
(assuming you have one), have you watched the light on your NIC 
before/after it "stops responding"? 
 
On Thu, 5 Jul 2001, Stiven Andre wrote: 
 
  Hi. 
  I am finaly got the debug but it did not gave much info. 
  My Actions: 
  I Preformed 
  ifconfig down 
  ifconfig up 
   
  The NIC start working 
  i tryed to ping i had no reply 
  i tryed again 
  ifconfig down 
  ifconfig up 
  AndThis time it workedihad a reply 
  i tryed to access the ftp 
  i accessed it was ok but when i tryed to upload files (2mb) 
  itstopedresponding again. 
*snip* 
 
 
To unsubscribe, send mail to [EMAIL PROTECTED] with 
the word "unsubscribe" in the message body, e.g., run the command 
echo unsubscribe | mail [EMAIL PROTECTED] 
 
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]