Re: woody: xterm clients (mc, lynx) do not use the xtrem* from Xresources?

2000-08-10 Thread Shaul Karl
I was not explaining myself well. Allow me to try once more:

I have a 14 screen. When I am using Debian's menu system and issue
XShells-Xterm
I am getting an xterm whose width is roughly the width of my screen. I believe 
that this is due to my use of
xterm*Font:   10x20
in my `/.Xresources, which forces the xterm window to be of a certain width.
Until recently, when I used, for example, Apps-System-Top to see the 
processes on the machine I was getting a window which had the size of the 
above xterm. But starting from Yesterday this is not the case. Now top (or 
other text apps) window is much smaller then my xterms. My guess is that for 
some reason the xterm*Font is not used anymore by these apps. How can I fix it 
so that these xterm clients will be opened in a window which has the size of 
my xterms?
My window manager is fvwm.

In case you are not familiar with Debian's menu system, it enables one to run 
/usr/bin/top with a few mouse clicks, without the need to open an xterm. That 
is, it automatically opens the xterm and then run top in it.

 

 On Wed, 9 Aug 2000, Shaul Karl wrote:
 
  Contrary to what I was used to, it seems that the xterm clients like mc,
  lynx and Gnuplot do not any more use the xterm resources. Therefore I am
  getting a smaller window for them.
 
 mc lynx et al. don't use any X resources. They send text, and the terminal
 emulation is responsible for setting the fonts etc. 
 
 What happens if you run:
 xterm -fn 10x20
 
 Is there such a font on the system (xlsfonts -fn 10x20)?
 
 Also - are X resources case sensitive? Maybe you should use XTerm*... ?
 
  What should I change in order to fix it?
  
  I am running unstable.
  
  [14:23:32 /tmp]$ cat ~/.Xresources
  ! ~/.Xresources
  
  AcroRead*geometry:788x582
  AcroRead*usesFrontEndProgram: false
  
  Clock*customization:  -color
  
  lyx*height:   573
  lyx*width:793
  
  tkinfo.geometry:  109x38
  
  xterm*Font: 10x20
  xterm*ScrollBar:true
  xterm*colorMode:true
  xterm*customization:-color
  [18:14:13 /tmp]$
  
  
 
 -- 
 Tzafrir Cohen
 mailto:[EMAIL PROTECTED]
 http://www.technion.ac.il/~tzafrir
 

-- 

--  Shaul Karl [EMAIL PROTECTED]

Donate free food to the world's hungry: see http://www.thehungersite.com




Re: woody: xterm clients (mc, lynx) do not use the xtrem* from Xresources?

2000-08-10 Thread Eric G . Miller
On Thu, Aug 10, 2000 at 07:49:50AM +0300, Shaul Karl wrote:
 I was not explaining myself well. Allow me to try once more:
 
 I have a 14 screen. When I am using Debian's menu system and issue
   XShells-Xterm
 I am getting an xterm whose width is roughly the width of my screen. I 
 believe 
 that this is due to my use of
   xterm*Font:   10x20
 in my `/.Xresources, which forces the xterm window to be of a certain width.
 Until recently, when I used, for example, Apps-System-Top to see the 
 processes on the machine I was getting a window which had the size of the 
 above xterm. But starting from Yesterday this is not the case. Now top (or 
 other text apps) window is much smaller then my xterms. My guess is that for 
 some reason the xterm*Font is not used anymore by these apps. How can I fix 
 it 
 so that these xterm clients will be opened in a window which has the size 
 of 
 my xterms?
 My window manager is fvwm.

Are you positive it's being run with xterm and not some other
x-terminal-emulator (kvt, rxvt, gnome-terminal, etc...)?  There are some
subtle differences between xterm*font, Xterm*font, xterm*Font and
Xterm*Font. In an xterm, Ctrl-Right Click should allow you to change
the font size on the fly as well (if it doesn't give you a menu -- maybe
it's not an xterm...).

-- 
MegaHAL quote:
I think a blowpipe is a marijuana cigarrette.  
It'll get you deleted!



Re: woody: xterm clients (mc, lynx) do not use the xtrem* from Xresources?

2000-08-10 Thread brian moore
On Thu, Aug 10, 2000 at 07:49:50AM +0300, Shaul Karl wrote:
 I was not explaining myself well. Allow me to try once more:
 
 I have a 14 screen. When I am using Debian's menu system and issue
   XShells-Xterm
 I am getting an xterm whose width is roughly the width of my screen. I 
 believe 
 that this is due to my use of
   xterm*Font:   10x20
 in my `/.Xresources, which forces the xterm window to be of a certain width.
 Until recently, when I used, for example, Apps-System-Top to see the 
 processes on the machine I was getting a window which had the size of the 
 above xterm. But starting from Yesterday this is not the case. Now top (or 
 other text apps) window is much smaller then my xterms. My guess is that for 
 some reason the xterm*Font is not used anymore by these apps. How can I fix 
 it 
 so that these xterm clients will be opened in a window which has the size 
 of 
 my xterms?
 My window manager is fvwm.
 
 In case you are not familiar with Debian's menu system, it enables one to run 
 /usr/bin/top with a few mouse clicks, without the need to open an xterm. That 
 is, it automatically opens the xterm and then run top in it.

Okay, you can set resources by two main things: the 'Name' and the
'Class'.  The name of an xterm is usually, well, xterm, and the class is
XTerm.  (Note that case matters.)

The name of the 'top' invoked from the debian Menus, though, is 'Top'.

Probably what you want is:
XTerm*Font: 10x20

-- 
Brian Moore   | Of course vi is God's editor.
  Sysadmin, C/Perl Hacker | If He used Emacs, He'd still be waiting
  Usenet Vandal   |  for it to load on the seventh day.
  Netscum, Bane of Elves.



Re: woody: xterm clients (mc, lynx) do not use the xtrem* from Xresources?

2000-08-10 Thread Shaul Karl
 On Thu, Aug 10, 2000 at 07:49:50AM +0300, Shaul Karl wrote:
  I was not explaining myself well. Allow me to try once more:
  
  I have a 14 screen. When I am using Debian's menu system and issue
  XShells-Xterm
  I am getting an xterm whose width is roughly the width of my screen. I 
  believe 
  that this is due to my use of
  xterm*Font:   10x20
  in my `/.Xresources, which forces the xterm window to be of a certain width.
  Until recently, when I used, for example, Apps-System-Top to see the 
  processes on the machine I was getting a window which had the size of the 
  above xterm. But starting from Yesterday this is not the case. Now top (or 
  other text apps) window is much smaller then my xterms. My guess is that 
  for 
  some reason the xterm*Font is not used anymore by these apps. How can I fix 
  it 
  so that these xterm clients will be opened in a window which has the size 
  of 
  my xterms?
  My window manager is fvwm.
 
 Are you positive it's being run with xterm and not some other
 x-terminal-emulator (kvt, rxvt, gnome-terminal, etc...)?  There are some
 subtle differences between xterm*font, Xterm*font, xterm*Font and
 Xterm*Font. In an xterm, Ctrl-Right Click should allow you to change
 the font size on the fly as well (if it doesn't give you a menu -- maybe
 it's not an xterm...).
 


Thanks. You have given me an intermediate solution.
When I press Ctrl-Right Click on the opened text app (be it top, mc, 
gnuplot) I can see that the VT Fonts are the default fonts. I can then choose 
Huge in order to get the fonts and window size that I am used to.
Well, almost. Having the text app resized window lying on top of an xterm 
shows that the xterm window is still a bit wider.

What is the required resource for getting a Huge fonts in any xterm?
Changing xterm*Font into Xterm*Font made the xterm window have the size of the 
smaller size of the windows of the text apps and not the other way around.

And the underlying problem remains: Why are all these text apps being started 
in a smaller window? It was not like that before. Is there a bug somewhere? Am 
I the only one who have this problem?

BTW: I do not have any other x-terminal-emulator on my system beside xterm.


 -- 
 MegaHAL quote:
   I think a blowpipe is a marijuana cigarrette.  
   It'll get you deleted!
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null



-- 

--  Shaul Karl [EMAIL PROTECTED]

Donate free food to the world's hungry: see http://www.thehungersite.com




Re: woody: xterm clients (mc, lynx) do not use the xtrem* from Xresources?

2000-08-10 Thread brian moore
On Thu, Aug 10, 2000 at 11:10:03AM +0300, Shaul Karl wrote:
 Thanks. You have given me an intermediate solution.
 When I press Ctrl-Right Click on the opened text app (be it top, mc, 
 gnuplot) I can see that the VT Fonts are the default fonts. I can then choose 
 Huge in order to get the fonts and window size that I am used to.
 Well, almost. Having the text app resized window lying on top of an xterm 
 shows that the xterm window is still a bit wider.
 
 What is the required resource for getting a Huge fonts in any xterm?

XTerm*Font

 Changing xterm*Font into Xterm*Font made the xterm window have the
 size of the smaller size of the windows of the text apps and not the
 other way around.

Right, and case matters.  XT, not Xt.

 And the underlying problem remains:  Why are all these text apps
 being started in a smaller window?  It was not like that before.  Is
 there a bug somewhere?  Am I the only one who have this problem?

As I recall, top has started in a window named 'Top' forever.

-- 
Brian Moore   | Of course vi is God's editor.
  Sysadmin, C/Perl Hacker | If He used Emacs, He'd still be waiting
  Usenet Vandal   |  for it to load on the seventh day.
  Netscum, Bane of Elves.



woody: xterm clients (mc, lynx) do not use the xtrem* from Xresources?

2000-08-09 Thread Shaul Karl
Contrary to what I was used to, it seems that the xterm clients like mc, 
lynx and Gnuplot do not any more use the xterm resources. Therefore I am 
getting a smaller window for them.
What should I change in order to fix it?

I am running unstable.

[14:23:32 /tmp]$ cat ~/.Xresources 
! ~/.Xresources

AcroRead*geometry:  788x582
AcroRead*usesFrontEndProgram:   false

Clock*customization:-color

lyx*height: 573
lyx*width:  793

tkinfo.geometry:109x38

xterm*Font:   10x20
xterm*ScrollBar:  true
xterm*colorMode:  true
xterm*customization:  -color
[18:14:13 /tmp]$ 

-- 

--  Shaul Karl [EMAIL PROTECTED]

Donate free food to the world's hungry: see http://www.thehungersite.com