RE: man is using gxditview

2000-08-20 Thread Lehel Bernadt

On 19-Aug-2000 John Bagdanoff wrote:
 When I use man as user, it is starting up gxditview,  in console mode
 this is not nice.  
 
 I noticed this behavior a couple of weeks ago, but as yet haven't
 found how to change it back to using less.
 
 Any ideas?

As root run update-alternatives --config pager and choose less.



Re: man is using gxditview

2000-08-20 Thread John Bagdanoff
Uh, oh...
I opened up ~/.bashrc and found:
alias man='man -TX100

That's what was making man call gxditview (which is part of groff).  I
dont remember adding that alias in there.  Must have been stoned. :)

So, Patrick, sorry to bother you, but I now know alot more about
environmental variables, how man works  set.

embarrassingly yours,
John

On Sat, Aug 19, 2000 at 03:05:12PM -0400, Patrick Dahiroc wrote:
 in ~/.bashrc add the following line
 
 export PAGER=less
 
 when man is invoked it checks the value of PAGER to determine which
 pager to use.  i'm not familiar with gxditview, if this is giving you
 problems and you really don't need this program, get rid of it.
 
 On Sat, Aug 19, 2000 at 09:27:23AM -0700, John Bagdanoff wrote:
  On Sat, Aug 19, 2000 at 11:08:34AM -0400, Patrick Dahiroc wrote:
   try setting the environmental variable PAGER to less or set MANOPT to
   -P less.  read man man
  
  Thanks Patrick
  
  Can you tell me the verbatim commands to do the above?  And do I do this as
  user?
  
  As root, I have no problems with man in console mode, but as user, this
  is the message I get:
  Error: Can't open display:
  man: command exited with status 256: /usr/bin/zsoelim
  '/tmp/zmanLTXGSK' | /usr/bin/tbl | /usr/bin/groff -mandoc -TX100
  
  In X, gxditview just comes up empty. Then, when I exit gxditview, I
  get this:
  man: command exited with status 256: /usr/bin/zsoelim
  '/tmp/zmanLTXGSK' | /usr/bin/tbl | /usr/bin/groff -mandoc -TX100
  
  PS:  This is a low priority problem, as info subject works, but is
  there an underlying problem with my system?
  
  John
  
  
   
   On Sat, Aug 19, 2000 at 03:21:23AM -0700, John Bagdanoff wrote:
When I use man as user, it is starting up gxditview,  in console mode
this is not nice.  

I noticed this behavior a couple of weeks ago, but as yet haven't
found how to change it back to using less.

Any ideas?

John
-- 

Using Linux



-- 
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

   
   -- 
   As a general rule, if you have trouble 
with the binary system, then probably it 
is because you do not really understand 
the decimal system ...
 R.W. Hamming
   
   
   -- 
   Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
   
  
  -- 
  
  Using Linux
  
  
  
  -- 
  Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
  
 
 -- 
 As a general rule, if you have trouble 
  with the binary system, then probably it 
  is because you do not really understand 
  the decimal system ...
   R.W. Hamming
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 

-- 

Using Linux




Re: man is using gxditview

2000-08-20 Thread Patrick Dahiroc
On Sun, Aug 20, 2000 at 02:03:24AM -0700, John Bagdanoff wrote:
 Uh, oh...
 I opened up ~/.bashrc and found:
 alias man='man -TX100

i recommend removing the line if you haven't done so already.

 So, Patrick, sorry to bother you, but I now know alot more about
 environmental variables, how man works  set.

no need to be sorry we we're all newbies in the begining - so keep
asking until you understand.  it's always good to learn something new, 
but it's even better to share what you have learned.

pd

-- 
As a general rule, if you have trouble 
 with the binary system, then probably it 
 is because you do not really understand 
 the decimal system ...
R.W. Hamming



man is using gxditview

2000-08-19 Thread John Bagdanoff
When I use man as user, it is starting up gxditview,  in console mode
this is not nice.  

I noticed this behavior a couple of weeks ago, but as yet haven't
found how to change it back to using less.

Any ideas?

John
-- 

Using Linux




Re: man is using gxditview

2000-08-19 Thread Patrick Dahiroc
try setting the environmental variable PAGER to less or set MANOPT to
-P less.  read man man

On Sat, Aug 19, 2000 at 03:21:23AM -0700, John Bagdanoff wrote:
 When I use man as user, it is starting up gxditview,  in console mode
 this is not nice.  
 
 I noticed this behavior a couple of weeks ago, but as yet haven't
 found how to change it back to using less.
 
 Any ideas?
 
 John
 -- 
 
 Using Linux
 
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 

-- 
As a general rule, if you have trouble 
 with the binary system, then probably it 
 is because you do not really understand 
 the decimal system ...
R.W. Hamming



Re: man is using gxditview

2000-08-19 Thread John Bagdanoff
On Sat, Aug 19, 2000 at 11:08:34AM -0400, Patrick Dahiroc wrote:
 try setting the environmental variable PAGER to less or set MANOPT to
 -P less.  read man man

Thanks Patrick

Can you tell me the verbatim commands to do the above?  And do I do this as
user?

As root, I have no problems with man in console mode, but as user, this
is the message I get:
Error: Can't open display:
man: command exited with status 256: /usr/bin/zsoelim
'/tmp/zmanLTXGSK' | /usr/bin/tbl | /usr/bin/groff -mandoc -TX100

In X, gxditview just comes up empty. Then, when I exit gxditview, I
get this:
man: command exited with status 256: /usr/bin/zsoelim
'/tmp/zmanLTXGSK' | /usr/bin/tbl | /usr/bin/groff -mandoc -TX100

PS:  This is a low priority problem, as info subject works, but is
there an underlying problem with my system?

John


 
 On Sat, Aug 19, 2000 at 03:21:23AM -0700, John Bagdanoff wrote:
  When I use man as user, it is starting up gxditview,  in console mode
  this is not nice.  
  
  I noticed this behavior a couple of weeks ago, but as yet haven't
  found how to change it back to using less.
  
  Any ideas?
  
  John
  -- 
  
  Using Linux
  
  
  
  -- 
  Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
  
 
 -- 
 As a general rule, if you have trouble 
  with the binary system, then probably it 
  is because you do not really understand 
  the decimal system ...
   R.W. Hamming
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 

-- 

Using Linux




Re: man is using gxditview

2000-08-19 Thread Patrick Dahiroc
in ~/.bashrc add the following line

export PAGER=less

when man is invoked it checks the value of PAGER to determine which
pager to use.  i'm not familiar with gxditview, if this is giving you
problems and you really don't need this program, get rid of it.

On Sat, Aug 19, 2000 at 09:27:23AM -0700, John Bagdanoff wrote:
 On Sat, Aug 19, 2000 at 11:08:34AM -0400, Patrick Dahiroc wrote:
  try setting the environmental variable PAGER to less or set MANOPT to
  -P less.  read man man
 
 Thanks Patrick
 
 Can you tell me the verbatim commands to do the above?  And do I do this as
 user?
 
 As root, I have no problems with man in console mode, but as user, this
 is the message I get:
 Error: Can't open display:
 man: command exited with status 256: /usr/bin/zsoelim
 '/tmp/zmanLTXGSK' | /usr/bin/tbl | /usr/bin/groff -mandoc -TX100
 
 In X, gxditview just comes up empty. Then, when I exit gxditview, I
 get this:
 man: command exited with status 256: /usr/bin/zsoelim
 '/tmp/zmanLTXGSK' | /usr/bin/tbl | /usr/bin/groff -mandoc -TX100
 
 PS:  This is a low priority problem, as info subject works, but is
 there an underlying problem with my system?
 
 John
 
 
  
  On Sat, Aug 19, 2000 at 03:21:23AM -0700, John Bagdanoff wrote:
   When I use man as user, it is starting up gxditview,  in console mode
   this is not nice.  
   
   I noticed this behavior a couple of weeks ago, but as yet haven't
   found how to change it back to using less.
   
   Any ideas?
   
   John
   -- 
   
   Using Linux
   
   
   
   -- 
   Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
   
  
  -- 
  As a general rule, if you have trouble 
   with the binary system, then probably it 
   is because you do not really understand 
   the decimal system ...
  R.W. Hamming
  
  
  -- 
  Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
  
 
 -- 
 
 Using Linux
 
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 

-- 
As a general rule, if you have trouble 
 with the binary system, then probably it 
 is because you do not really understand 
 the decimal system ...
R.W. Hamming