Re: xinitrc, X11, and cpp/GLUT

1996-11-04 Thread linh (l.) dang
 "larry" == "Larry 'Daffy' Daffner" <[EMAIL PROTECTED]> writes:

 larry> Fulko van Westrenen writes:
 -> For one or another strange reason initx fails to read ~/.xinitrc
 -> Does anyone know what the reason can be? All configurations look
 -> normal to me. My .fvwmrc is read without any
 -> problem. /etc/X11/config looks good to me. Do I need to check any
 -> other file?

 larry> First, you should probably be using startx, rather than
 larry> xinit. startx is configured to do things 'right' under the
 larry> Debian system.  Second, does your /etc/X11/config contain the

First startx doesn't seem to be configured to do things 'right' on my
Debian box.  I can start X with xinit but with startx the server just
starts and stops !!! I copied the old slackware .xinitrc and startx
works.

L.D.

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


xinitrc, X11, and cpp/GLUT

1996-11-02 Thread Gleb Arshinov
> "Fulko" == Fulko van Westrenen <[EMAIL PROTECTED]> writes:

Fulko> On all
Fulko> Unix/Linux systems I worked on there was a dos-unix
Fulko> conversion program (todos/fromdos, dos2unix,...) I haven't
Fulko> been able to find it in Debian. Is this correct?

Check out cr:

glebland:~>cr -h

CR useage: CR option in_file_name out_file_name

where 'option' is + to add CR and - to remove CR.
and 'in_file_name' is the file name of the file to read.
and 'out_file_name' is the file name of the modified file to create.

the output file will have carriage returns either added or removed
from the line feeds at the end of lines.

Dos files have carriage return, *nix ones don't.

Gleb

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: xinitrc, X11, and cpp/GLUT

1996-11-02 Thread Larry 'Daffy' Daffner

Fulko van Westrenen writes:
->  For one or another strange reason initx fails to read ~/.xinitrc Does 
-> anyone know what the reason can be? All configurations look normal to 
-> me. My .fvwmrc is read without any problem. /etc/X11/config looks 
-> good to me. Do I need to check any other file?

First, you should probably be using startx, rather than xinit. startx
is configured to do things 'right' under the Debian system.  Second,
does your /etc/X11/config contain the line allow-user-xsession? If
not, startx will only allow the system Xsession.

-> Another problem is that I fail to set the background color 
-> for X. xrootcoIor -solid "SteelBlue" (I hape I didn't make a typo here, I'm 
-> not at my machine) doesn't do anything.

This should be xsetroot -solid SteelBlue

-> When I make one shell su root, I sometimes don't get the 
-> cursor back in other the shells when I've done something as root, for 
-> instance firing up a ppp connection, or running ip-up when that 
-> failed (often). The only solution I found is restarting fvwm. Any 
-> ideas?

Sounds like a bug in fvwm.  I seem to remember having problems with
fvwm freezing on me.  About the only suggestion I can give here is to
upgrade to fvwm2.  fvwm is dead, and besides, fvwm2 is much more
nicely configurable.

->  I would like to install GLUT (the OpenGL toolbox). For this I need to
-> make a makefile with imake, and imake requires cpp. Unfortunately cpp
-> conflicts with gcc (Debian 1.1.11). Has anyone a suggestion how to
-> solve this problem, or did anyone manage to install GLUT bypassing
-> this problem?

gcc includes cpp, so this should work OK.

->  As a last question: On all Unix/Linux systems I worked on there was 
-> a dos-unix conversion program (todos/fromdos, dos2unix,...) I haven't 
-> been able to find it in Debian. Is this correct?

For me at least, todos is in the sysutils package (at least, the one
in unstable)

HTH

-Larry

--
  Larry Daffner|  Linux: Unleash the workstation in your PC!
  [EMAIL PROTECTED] / http://web2.airmail.net/vizzie/
Hare's Law:
Inside every large program is a small program struggling to get out.

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: xinitrc, X11, and cpp/GLUT

1996-11-01 Thread Dave Cinege
In <[EMAIL PROTECTED]>, Fulko van Westrenen <[EMAIL PROTECTED]> writes:
>Hello,
>
>I have some problems with my Debian system, and I think it is easiest 
>to ask it all at once. I hope someone can help me.
>   For one or another strange reason initx fails to read ~/.xinitrc Does 
>anyone know what the reason can be? All configurations look normal to 
>me. My .fvwmrc is read without any problem. /etc/X11/config looks 
>good to me. Do I need to check any other file?

I had the same problem with ~/.xsession. chmod it as executable.

>Another problem is that I fail to set the background color 
>for X. xrootcoIor -solid "SteelBlue" (I hape I didn't make a typo here, I'm 
>not at my machine) doesn't do anything. Is there a special place in fvwmrc for 
>this, or should it be in xinitrc (but that was the first problem)?

Hmmm I duuno about this. I used xsetbg in ~/.xsession and set a bitmap.
I'm using fvwm95 and I do remember seeing a line in there for a basic color.

This is what mine has as the default. It might work on plain fvwm.

#
# Set the default window colors. The syntax is:
#  DefaultColors winforecolor winbackcolor titleforecolor titlebackcolor
# where:
#  winbackcoloris the background (border) color of all windows,
#  including the menu windows 
#  winforecoloris used for the menu text
#  titlebackcolor  is the background color used for title bars of 
#  non selected windows
#  titleforecolor  is the color of the title text of non selected windows
#
DefaultColors   Black #c0c0c0 #c0c0c0 grey51


Hope I helped.you're on your own with the other questions.



Dave 'Kill a Cop' Cinege  (aka Psychopath #3)  ---  Super Genius at Large
"Just cause ya got the power, that don't mean ya got the right!" - Lemmy
http://www.psychosis.com/

Harry Browne for President in '96   Libertarian Party 1-800-682-1776
http://www.HarryBrowne96.org/ http://www.lp.org/

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]