SHRIDHAR N. DAITHANKAR forced the electrons to say:
> DISPLAY variable is for the terminal that displays X output. You are not
> supposed to alter it, at least forcefully. It is bound to dump a

You can. If a friend sitting on the workstation next to you wants to see a
jpeg image, you can set DISPLAY to his machine and run xv or whatever. Of
course, he should authorize it (via xhost or xauth).  Any environment
variable can be altered, except a few.  Occassionally it is helpful also
(for example, on a linux machine with a monochrome monitor, it helps to
set TERM to linux-m instead of the default linux). You can see a list
of unmodifiable environment variables via the command declare -r.

> segmentation fault. It gets assigned from X startup script(I suppose) and
> can be set to a different value in order to get X output on a different
> screen.

In a telnet session, if the client notices that DISPLAY is set, then it
passes the value on the server for the telnet session. So, it is the
telnet program that sets it for you. This probably has nothing to do
with the segfault in the original post (which has me stumped).

Binand

-- 
The prompt for all occasions:
export PS1="F:\$(pwd | tr '/[a-z]' '\134\134[A-Z]')> "
--------------- Binand Raj S. ([EMAIL PROTECTED])

-----------------------------------------------------------------------
For information on this and other Linux India mailing lists check out
http://lists.linux-india.org/

Reply via email to