r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Linux] group for linux REBOL users

Cyphre
10-Mar-2011
[4067]
MaxV: regarding the example question above: the answer is easy: in 
this example the font is rendered using the 'Engine1' (see the msg 
above) then the output is cvonverted to bitmap(image) and the image 
is rendered as texture using perspective  transformation. So in the 
end the 'Engine2' is not used in the example in any way.
MaxV
10-Mar-2011
[4068x2]
I noticed a difference between Linux and Windows:
Widndows: ?  system/view/vid/vid-styles/text/font    == "arial"

Linux: ?  system/view/vid/vid-styles/text/font    == "helvetica" 
 
Is it normal?
However Mandriva, Suse/Novell, Fedora/RedHat, Ubuntu use the followings:
/usr/X11R6/lib/X11/fonts/truetype/feefont
/usr/share/fonts/truetype/freefont
I think it could be fixed.
Cyphre
10-Mar-2011
[4070]
font differences: ofcourse Arial doesn't exist on Linux...unless 
you install MS fonts. See my note about  'matching table'...such 
stuff is definitely needed.
MaxV
10-Mar-2011
[4071x3]
Or an alert message "/usr/share/fonts/... not found!"
Even helvetica doesn't exist!
Copyright Adobe 1994-1997
Cyphre
10-Mar-2011
[4074]
MaxV: It's all about writin a proposal 'how to solve the font issues 
on Linux' then it can be discussed in some more serious way and in 
the end it can be implemented in future releases of R2. So there 
is nothing that blocks you to do the research and propose a solution.
MaxV
10-Mar-2011
[4075]
OK
Cyphre
10-Mar-2011
[4076]
But as I see from your wondering about different font names etc. 
I feel you are realizing this won't be an easy task ;) Anyway, if 
you want to be helpful, just go for it!
Andreas
10-Mar-2011
[4077x4]
http://behdad.org/text/may provide some interesting background reading
i fear you'll be hard-pressed to come up with a very general solution
fontconfig is to the best of _my_ knowledge the most wide-spread 
thing you can use
(for discovering fonts, that is)
Cyphre
10-Mar-2011
[4081]
As I said I have neither time nor personal need to become 'linux 
font master' so in fact I'm not 'pressed' by anything ;) I'll left 
this part to others.
Andreas
10-Mar-2011
[4082]
that was more directed towards massimiliano than towards you :)
Cyphre
10-Mar-2011
[4083x2]
ah...I owerlooked the name..you have almost identical 'nick color' 
! :)
so no I realized I'm talkind to you, Andreas :))
Andreas
10-Mar-2011
[4085]
:)
Robert
30-Mar-2011
[4086]
I want to use PK authentification with SSH from my client account 
but be able to use two or more different logins. So, one PK for Username-A, 
one for Username-B etc.


How do I set this up? How do I have to name my local private keys 
in that SSH will find them? How and where to store the public keys 
on the server?
MaxV
30-Mar-2011
[4087x2]
I don't think you should care about that, just use:
username-a: "my_string"
username-b: "my_other_string"
call (reform [ "ssh" username-a   mycommands etc] )

However ssh stores files in 
~/.ssh/authorized_keys
See http://support.suso.com/supki/SSH_Tutorial_for_Linux
Andreas
30-Mar-2011
[4089x4]
The public keys are stored in $HOME/.ssh/authorized_keys for the 
respective users
Key-based SSH authentication is most convenient when used in combination 
with an "ssh agent" that holds the private keys and (temporarily) 
stores their passphrase
You can then just load multiple keys into your SSH agent, and all 
of them will be tried for authentication
So, as Max says, no need to associate usernames with keys in that 
keys (besides setting up $HOME/.ssh/authorized_keys correctly)
Robert
30-Mar-2011
[4093]
Ok, thanks. So do you know a SSH agent for OSX? Or is there a standard 
SSH agent CLI tool?
Andreas
30-Mar-2011
[4094]
the osx keychain should work for you
Robert
30-Mar-2011
[4095]
Ok, giving all this a try and let you know :-)
Andreas
30-Mar-2011
[4096]
http://www.dribin.org/dave/blog/archives/2007/11/28/ssh_agent_leopard/
might help :)
Robert
9-Apr-2011
[4097x7]
When I have setup a portforwarding via SSH, how can I get rid of 
it?
And some more questions: I have a server that listens on port 44000 
in a VM. The VM is using NAT network. The VM NAT router is configured 
to forward port 44000 from the outside to the VM IP on port 44000.
When I use telnet localhost 44000 on the system the VM runs I get 
a connection but the listening server doesn't recognizses it as a 
connection.
When I use: ssh -L 44000:192.168.22.1:44000 [user-:-my_vm_server-:-com], 
from a remote machine, the SSH tunnel is setup and the login is done 
on my_vm_server.com
When I use telnet localhost 44000 from my_vm_server.com than, the 
connection is done and the listen server recognizes it.
When I use telnet localhost 44000 from the remote machine, which 
should tunnel through the SSH channel and forward to 192.168.22.1:44000 
on my_vm_server.com, I get a connection but the listen server doesn't 
recognize it...
Any idea, why the TCP/IP connections from the remote machines are 
not recognized?
Andreas
10-Apr-2011
[4104]
When I have setup a portforwarding via SSH, how can I get rid of 
it?


Close the SSH session or, if using OpenSSH, use ~C to enter the client's 
command-line and remove the (remote) forwarding with -KR<port>. You 
can't remove local forwardings this way, afaik.
Robert
10-Apr-2011
[4105]
Ok, thanks.
ddharing
15-Apr-2011
[4106]
The latest version of REBOL/View does NOT run on Ubuntu 11 Beta. 
I've tried it on two different machines. You get the old "Bad face 
in screen panel" error.


Does anyone have any ideas about what may be the problem? Ubuntu 
10.10 is fine.
Maxim
15-Apr-2011
[4107]
could it be no x11 installed ?
Izkata
15-Apr-2011
[4108]
Ubuntu is going to introduce Wayland, a replacement for X11, but 
from what I'm reading it shouldn't be default in 11.04
ddharing
15-Apr-2011
[4109]
I'm running Ubuntu Desktop. I've tried it on two laptops -- both 
with and without Unity.
GrahamC
15-Apr-2011
[4110x2]
did you check libraries?
ldd
Gabriele
16-Apr-2011
[4112]
might also just be missing bitmap fonts.
ddharing
16-Apr-2011
[4113]
I'll look into it. Thanks.
Andreas
2-May-2011
[4114x2]
>> system/version
== 2.7.8.4.2
>> view?
== true

>> call/output "lsb_release -a" out: copy ""
No LSB modules are available.
== 0
>> print out
Distributor ID: Ubuntu
Description:    Ubuntu 11.04
Release:    11.04
Codename:   natty
In plain English: /View 2.7.8.4.2 works fine (for me) on Ubuntu 11.04.
onetom
2-May-2011
[4116]
(u dont really have to say copy from the console)