REBOL

REBOL3 - Linux ([web-public] group for linux REBOL users)

Return to Index Page
Most recent messages (300 max) are listed first.

#UserMessageDate
4335Evgeniy PhilippovNot sure.Wed 6:12
4334Evgeniy PhilippovIt seems 3D is optional at DRI.Wed 6:11
4333KajIt's quite possible that the OpenGL combination requires DRIWed 1:02
4332KajAs far as I know, DRI requires 3D support. DirectFB supports 2D hardware and drivers. It can be combined with OpenGLWed 0:56
4331Evgeniy PhilippovAltME. I installed RHEL-based 64-bit Linux. And yum shows no 32-bit emulation libs. Anyone knows is it possible to set up RHEL64 for 32-bit altme? The disto is ScientificLinux http://scientificlinux.org28-Jan 17:22
4330Evgeniy PhilippovDRI links: http://dri.freedesktop.org/wiki/Links --- includes OSes, Linux distros, cards supporting DRI27-Jan 16:09
4329Evgeniy PhilippovSo it seems I need to build my own CLFS cross-lfs.org ... Though I didn't search for Linux distros supporting DRI.\27-Jan 16:07
4328Evgeniy PhilippovMy latest gnewsense 2.3 doesn't include DRI.27-Jan 16:05
4327DockimbelDirectFB looks outdated to me. It seems to support only old graphic cards.27-Jan 16:03
4326Evgeniy PhilippovFine :)27-Jan 16:02
4325Evgeniy PhilippovAh. It includes a DRM word.27-Jan 16:02
4324Evgeniy Philippovnouveau.freedesktop.org nvidia drivers wiki doesn't include the word DRI :(((27-Jan 15:57
4323Evgeniy Philippovwith my nvidia card: :( driconf Xlib: extension "XFree86-DRI" missing on display ":0.0". Screen "0" is not direct rendering capable.27-Jan 15:55
4322Evgeniy Philippovaptitude search dri|grep DRI p driconf - DRI configuration applet p libgl1-mesa-dri-dbg - Debugging symbols for the Mesa DRI modules p x11proto-xf86dri-dev - X11 DRI extension wire protocol27-Jan 15:52
4321Evgeniy Philippovgnewsense:27-Jan 15:52
4320Evgeniy PhilippovFaster DEs: "Q: How much faster is fluxbox compared with XFCE? A: Fluxbox will certainly load much faster after the login screen, and will consume probably 1/2 to 1/3 of the RAM that xfce will, but if you have lots of RAM you probably won't notice much speed difference after the loading process. However, if you only have 256MB of RAM fluxbox is the way to go..." http://forums.linuxmint.com/viewtopic.php?f=142&t=30599 (Untested by me)27-Jan 15:47
4319Evgeniy PhilippovSo this clears all issues for me.27-Jan 15:42
4318Evgeniy PhilippovAnd more DRI and DirectFB: "Other competitors attempt to avoid the overhead of X by working directly with the hardware. Such projects include DirectFB. The Direct Rendering Infrastructure (DRI), which aims to provide a reliable kernel-level interface to the framebuffer, may make these efforts redundant.[14]" (same article)27-Jan 15:41
4317Evgeniy PhilippovMore DRI info: "Wayland display server, hosted by freedesktop.org and developed by several X.Org developers, both addresses criticisms of X by replacing it completely and works directly with the hardware via DRI. It is planned for Wayland to eventually replace X in Ubuntu[10] and Fedora,[11] the two most popular Linux distributions.[12] Wayland handles backward compatibility with X by optionally running an X.org server as a client, which can be rootless (having one Wayland window per X client).[13]" http://en.wikipedia.org/wiki/X_Window_System27-Jan 15:37
4316Evgeniy PhilippovUnrelated thing: "The Linux framebuffer (fbdev) is a graphic hardware-independent abstraction layer to show graphics on a computer monitor, typically on the console. The word framebuffer means a part of video memory containing a current video frame, and the Linux framebuffer means \u201caccess method to the framebuffer under the Linux kernel\u201d, without relying on system-specific libraries such as SVGALib or another user space software." http://en.wikipedia.org/wiki/Linux_framebuffer27-Jan 15:21
4315Evgeniy Philippov"DirectFB allows applications to talk directly to video hardware[...]" "The [DirectFB] library allows developers an alternative to a full X Window System (X11) server[...]" http://en.wikipedia.org/wiki/DirectFB27-Jan 15:19
4314Evgeniy PhilippovSo it seems that DRI and DRI2 are way to go.27-Jan 15:16
4313Evgeniy PhilippovFrom that wpedia page: "[DRI] is now part of the X.Org Server."27-Jan 15:14
4312Evgeniy PhilippovX with many DRI apps would be fun!!!27-Jan 15:12
4311Evgeniy Philippov"In computing, the Direct Rendering Infrastructure (DRI) is an interface and a free software implementation used in the X Window System to securely allow user applications to access the video hardware without requiring data to be passed through the X server. Its primary application is to provide hardware acceleration of the Mesa implementation of OpenGL. It has also been adapted to provide OpenGL acceleration on a framebuffer console without an X Server running." http://en.wikipedia.org/wiki/Direct_Rendering_Infrastructure_(DRI)27-Jan 15:12
4310DockimbelLooking at the DRI2 Wikipedia's page, it seems it still needs X to run?27-Jan 15:11
4309Evgeniy PhilippovHere's a DRI2 page (a lot of unknown terms): http://www.x.org/wiki/DRI227-Jan 15:10
4308Evgeniy Philippov(I didn't read about DRI2.)27-Jan 15:07
4307Evgeniy PhilippovIt mentions DRI2.27-Jan 15:07
4306Evgeniy PhilippovDocKimbel - read also the wayland link above --- at least the text I quoted here.27-Jan 15:06
4305DockimbelI'm also very interested in direct framebuffer rendering on Linux. Is DirectFB the most advanced framework for such use?27-Jan 15:03
4304Evgeniy PhilippovOne of the details I left out in the above overview is how clients actually render under wayland. By removing the X server from the picture we also removed the mechanism by which X clients typically render. But there's another mechanism that we're already using with DRI2 under X: direct rendering. With direct rendering, the client and the server share a video memory buffer. The client links to a rendering library such as OpenGL that knows how to program the hardware and renders directly into the buffer. The compositor in turn can take the buffer and use it as a texture when it composites the desktop. After the initial setup, the client only needs to tell the compositor which buffer to use and when and where it has rendered new content into it.

This leaves an application with two ways to update its window contents:

1. Render the new content into a new buffer and tell the compositor to use that instead of the old buffer. The application can allocate a new buffer every time it needs to update the window contents or it can keep two (or more) buffers around and cycle between them. The buffer management is entirely under application control. 2. Render the new content into the buffer that it previously told the compositor to to use. While it's possible to just render directly into the buffer shared with the compositor, this might race with the compositor. What can happen is that repainting the window contents could be interrupted by the compositor repainting the desktop. If the application gets interrupted just after clearing the window but before rendering the contents, the compositor will texture from a blank buffer. The result is that the application window will flicker between a blank window or half-rendered content. The traditional way to avoid this is to render the new content into a back buffer and then copy from there into the compositor surface. The back buffer can be allocated on the fly and just big enough to hold the new content, or the application can keep a buffer around. Again, this is under application control.

In either case, the application must tell the compositor which area of the surface holds new contents. When the application renders directly the to shared buffer, the compositor needs to be noticed that there is new content. But also when exchanging buffers, the compositor doesn't assume anything changed, and needs a request from the application before it will repaint the desktop. The idea that even if an application passes a new buffer to the compositor, only a small part of the buffer may be different, like a blinking cursor or a spinner.

27-Jan 14:57
4303Evgeniy PhilippovAndreas, I'm interested in direct video hardware programming under linux. So the following text from a page you mentioned is most interesting to me:27-Jan 14:57
4302AndreasAnd Kaj already mentioned DirectFB.27-Jan 14:01
4301AndreasAlso: http://wayland.freedesktop.org/27-Jan 14:00
4300IzkataHere's an article all about it: http://www.terminally-incoherent.com/blog/2007/05/21/a-day-without-x/27-Jan 13:50
4299Evgeniy PhilippovIt would be fun to grow Linux with no X at all! Thoughts anyone?27-Jan 13:23
4298Evgeniy PhilippovThe image and .cfg are easily extractable from the archive.27-Jan 5:44
4297Evgeniy PhilippovHere is a nice GRUB2 startup image with cosmic ship flying to Saturn with grub.cfg on how to display the image during GRUB2 menu display: http://people.debian.org/~sthibault/hurd-i386/installer/cdimage/current/debian-cd_info.tar.gz27-Jan 5:41
4296Evgeniy PhilippovWell. With tweaking configs and stuff maybe. Out of the box, it doesn't work.27-Jan 5:04
4295KajReally? They talk about rendering Hindi, so I suppose it should work27-Jan 5:03
4294Evgeniy Philippovon gnewsense Linux27-Jan 4:51
4293Evgeniy PhilippovEnlightenment DE also doesn't support UTF-8 output garbling the cyrillic characters.27-Jan 4:50
4292KajOn Mac, EFL works only on X11. On Windows, not all components work27-Jan 4:27
4291KajAlso, GTK is cross-platform. The EFL diagram vaguely mentions Win32/CE but mainly it still seems to be tied to Linux and maybe BSD27-Jan 4:17
4290KajI considered it for a Red binding, but GTK has many more advanced third-party widget projects27-Jan 4:12
4289KajIt does seem to be less limited than it used to be. Although DirectFB figures in the text, but not in the diagrams27-Jan 4:11
4288Evgeniy PhilippovI mean no-X OpenGL and no-X Framebuffer. Maybe that diagram is misleading but maybe it is not misleading27-Jan 4:04
4287Evgeniy Philippovre: threading/multicore i don't know27-Jan 4:00
4286Evgeniy Philippovhardware rendering --- it has OpenGL, FrameBuffer and some other no-X ways... i don't know27-Jan 4:00
4285Evgeniy Philippovthe diagram below (the more complex one) document ways with no X27-Jan 3:59
4284Evgeniy Philippovlook at the diagram. EFL can either work with X or without X27-Jan 3:58
4283KajThe design also has limitations with threading/multi-core and hardware rendering26-Jan 16:56
4282KajIs that so? EFL was always built on X26-Jan 16:55
4281Evgeniy Philippovthis url is an interesting stuff. One can program graphics bypassing X26-Jan 11:26
4280Evgeniy Philippovm.: EFL has a set of pretty light libraries --- what's EFL? --- m., this? http://www.enlightenment.org/p.php?p=about/efl The Enlightenment Foundation Libraries (EFL)26-Jan 11:25
4279DockimbelI guess that's why people are sticking with GTK+ 2.x.26-Jan 11:15
4278Evgeniy PhilippovI discard GTK+ into a trashcan with such directions of development. Qt supports CSS either. Trashcan, too.26-Jan 10:52
4277Evgeniy Philippovhttp://library.gnome.org/misc/release-notes/3.2/26-Jan 10:49
4276Evgeniy PhilippovSHIT. GTK+ 3.x now supports CSS. machines get slower and slower with all of that stupid architects26-Jan 10:49
4275Evgeniy PhilippovI want +"screengadgets" +software +linux --- but there's NONE!!! :(26-Jan 10:24
4274Evgeniy PhilippovThe article http://www.scribd.com/doc/55687428/Gadgets attributes the first use of the word gadget regarding the software to AmigaOS.26-Jan 9:26
4273Evgeniy PhilippovIs there such a desktop environment?26-Jan 9:24
4272Evgeniy PhilippovAre there desktop gadgets sitting on the screen background and screen foreground etc available on Linux, who knows?26-Jan 9:23
4271Evgeniy Philippovgzip shows 45% cpu while this26-Jan 7:18
4270Evgeniy Philippovit must show 0.0000(0)1 cpu usage on optimal OS and fs and tar implementation26-Jan 7:18
4269Evgeniy Philippovtar -xzvf debian-hurd.img.tar.gz debian-hurd-20111214.img Ok ls -Hl size=3146776576 debian-hurd-20111214.img size=260521812 debian-hurd.img.tar.gz Ok26-Jan 7:17
4268Evgeniy Philippovhmm. tar is unoptimal on linux. tar shows 20% cpu usage on the following:26-Jan 7:17
4267Kaj:-)23-Jan 15:22
4266Evgeniy PhilippovHehe. Just a random fun: on #gnu: <man> hi gnudists!23-Jan 11:20
4265Evgeniy Philippovnow it works perfectly19-Jan 10:26
4264Evgeniy Philippovcat > altme.sh export LD_LIBRARY_PATH=/usr/lib32:$LD_LIBRARY_PATH /home/gouslar/green_meadow/computer_house/AltME/042/altme Ok chmod u+x ./altme.sh Ok ./altme.sh Ok19-Jan 10:14
4263Evgeniy PhilippovYay this worked! But it's ldconfig's fault to not handle that beforehand19-Jan 10:14
4262KajIt's probably empty by default on an Ubuntu derivative18-Jan 23:28
4261KajYou could try setting $LD_LIBRARY_PATH before calling altme, to force the 32 bits libraries to be searched first18-Jan 23:27
4260KajThat's what I meant. rerunning ldconfig, if ldd still can't find a library18-Jan 23:22
4259Evgeniy Philippovtoo lazy18-Jan 17:23
4258Evgeniy PhilippovIt seems I need ldconfig sources to understand what is going on with it.18-Jan 17:07
4257Evgeniy PhilippovI re-ran it when all *Xaw7* were already present and /usr/lib32/ was present at ld.so.conf.d/biarch*.conf. After that re-running, *Xaw7* was still missing from its cache. Why? And how to force it into a cache?18-Jan 16:41
4256Evgeniy PhilippovKaj: Which 'another' ldconfig? I re-ran ldconfig frequently18-Jan 16:40
4255Evgeniy PhilippovAnd ld.so.conf includes /usr/lib32/18-Jan 16:38
4254Evgeniy Philippovldconfig -p|grep libXaw libXaw3d.so.6 (libc6) => /usr/lib32/libXaw3d.so.6 libXaw3d.so (libc6) => /usr/lib32/libXaw3d.so libXaw.so.7 (libc6,x86-64) => /usr/lib/libXaw.so.7 libXaw.so.7 (libc6) => /usr/lib32/libXaw.so.7 libXaw.so (libc6,x86-64) => /usr/lib/libXaw.so Ok ldconfig -p|grep libXaw7 Ok ls -l /usr/lib32/libXaw* lrwxrwxrwx 1 root root 13 2011-10-08 05:30 /usr/lib32/libXaw3d.so -> libXaw3d.so.6 lrwxrwxrwx 1 root root 15 2011-10-08 05:30 /usr/lib32/libXaw3d.so.6 -> libXaw3d.so.6.1 -rw-r--r-- 1 root root 297332 2010-05-10 02:48 /usr/lib32/libXaw3d.so.6.1 lrwxrwxrwx 1 root root 12 2011-10-08 05:30 /usr/lib32/libXaw7.so -> libXaw7.so.7 lrwxrwxrwx 1 root root 16 2011-10-08 05:30 /usr/lib32/libXaw7.so.7 -> libXaw7.so.7.0.0 -rw-r--r-- 1 root root 373352 2011-02-19 04:17 /usr/lib32/libXaw7.so.7.0.0 lrwxrwxrwx 1 root root 12 2011-10-08 05:30 /usr/lib32/libXaw.so.7 -> libXaw7.so.7 Ok18-Jan 16:37
4253Evgeniy PhilippovHmm. Was hacking a bit more. I cannot get ldconfig to be sane and include all file names into its cache, tried all ways it seems.18-Jan 16:37
4252KajMaybe another ldconfig?18-Jan 16:29
4251Evgeniy PhilippovI don't know: How to make altme find it? It exists!18-Jan 16:15
4250Evgeniy Philippovls /usr/lib32/libXaw* /usr/lib32/libXaw3d.so /usr/lib32/libXaw7.so /usr/lib32/libXaw.so.7 /usr/lib32/libXaw3d.so.6 /usr/lib32/libXaw7.so.7 /usr/lib32/libXaw3d.so.6.1 /usr/lib32/libXaw7.so.7.0.0 Ok18-Jan 16:15
4249Evgeniy PhilippovXmu links to .../lib32/...18-Jan 16:06
4248Evgeniy PhilippovAnd I am using a 64-bit OS.18-Jan 16:06
4247Evgeniy PhilippovAh. It expects a 32-bit ELFCLASS, probably.18-Jan 16:05
4246Evgeniy PhilippovA report about my adventures:

sudo aptitude install libxaw7 libxmu6 [sudo] password for gouslar: 0 packages installed, updated or deleted. 0 bytes of archives received. Ok sudo aptitude search libxaw7 libxmu6 i A libxaw7 - X11 Athena Widget library p libxaw7-dbg - X11 Athena Widget library (debug package) p libxaw7-dev - X11 Athena Widget library (development hea i A libxmu6 - X11 miscellaneous utility library p libxmu6-dbg - X11 miscellaneous utility library (debug p Ok sudo ldconfig Ok ldd 042/altme ... libXaw7.so.7 => not found libXmu.so.6 => not found ... Ok ls /usr/lib/i386-linux-gnu/libXmu* No such file(s). Ok ls /usr/lib/i386-linux-gnu/libXaw* No such file(s). Ok

Then, I installed rebol-2.7.8.4.3-4.amd64.deb from maxvessi.net. (GTK-DEBI installer was saying to 47 additional packages, then it hung before downloaded anything. I killed some processes it created. Then I re-ran gdebi, it said all dependencies of 'rebol' are satisfied and installed 'rebol' quickly.)

Then, I re-ran:

ldd 042/altme ... libXaw7.so.7 => not found libXmu.so.6 => /usr/lib32/libXmu.so.6 (0xf75c3000) ... Ok sudo aptitude install libXaw7 libxaw7-dbg libxaw7-dev ...it installed 21 new package... Ok ldd 042/altme ... libXaw7.so.7 => not found ... Ok 042/altme altme: error while loading shared libraries: libXaw7.so.7: wrong ELF class: ELFCLASS64 Ok

18-Jan 16:02
4245Evgeniy PhilippovStill no luck with both methods. I can investigate this myself, just too currently lazy to do it.18-Jan 16:01
4244MaxVTry this link http://www.maxvessi.net/rebsite/Linux/index.php18-Jan 15:16
4243DockimbelEvgeniy: try with `apt-get install libxaw7 libxmu6`.18-Jan 14:25
4242Evgeniy PhilippovMy Ubuntu 11.04 apt repos broke completely with no prev. reason, so I installed lubuntu oneiric18-Jan 10:52
4241Evgeniy Philippovlubuntu (light ubuntu) problems.

sudo green_meadow/computer_house/AltME/042/altme [sudo] password for gouslar: green_meadow/computer_house/AltME/042/altme: error while loading shared libraries: libXaw7.so.7: wrong ELF class: ELFCLASS64 Ok ldd green_meadow/computer_house/AltME/042/altme linux-gate.so.1 => (0xf77b5000) libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf766a000) libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf7657000) libXt.so.6 => /usr/lib/i386-linux-gnu/libXt.so.6 (0xf75fa000) libXaw7.so.7 => not found libXmu.so.6 => not found libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf750f000) libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xf7478000) libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf744d000) libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7448000) libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf742a000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf72ae000) libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf728f000) libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0xf7285000) libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0xf726b000) /lib/ld-linux.so.2 (0xf77b6000) libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf7256000) libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf7252000) libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf724b000) libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xf7244000) Ok lsb_release -dr Description: Ubuntu 11.10 Release: 11.10 Ok uname -asm Linux greenmeadow 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21 20:28:43 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux Ok

How do I fix missing "libXaw7.so.7" and "libXmu.so.6"?

18-Jan 10:51
4240Evgeniy PhilippovWhich ones?18-Jan 10:50
4239MaxVDid you find the Linux Rebol packages useful?18-Jan 9:28
4238Evgeniy PhilippovThank you Kaj!15-Jan 20:54
4237Evgeniy PhilippovIt works ok.15-Jan 20:53
4236Evgeniy PhilippovHaha correct! But more than that. You have to select text at AltME, you have to right-click the selection at AltME, and then use the middle-click at the target text editor at OS (where your text is safe to be copied using usual means). As a text editor, gedit can be used.15-Jan 20:53
4235KajIt's a disaster. You have to select, then middle click to paste, and often you first have to clear the target field even before you select the source field15-Jan 20:43
4234KajLinux has two clipboards. AltME looks like it uses the cut/paste clipboard, but it actually uses the middle-mouse-button clipboard15-Jan 20:42
4233PekrProblem with clipboard is not related to only Linux version, there are some problems even under Windows. Source code to Altme is not publicly available, so we can't fix it ourselves. I don't remember any hacks to the Linux version of Altme, re clipboard issues, but I never used Altme under Linux ....15-Jan 20:28
4232Evgeniy PhilippovWhen AltME says "Text copied", the Ubuntu 11.04 (GNOME 2.32.1) clipboard is unchanged.15-Jan 20:25
4231Evgeniy PhilippovHow do I fix a clipboard issue?15-Jan 20:24
4230Evgeniy PhilippovCopying from external windows into AltME works OK.15-Jan 20:24
4229Evgeniy PhilippovI have one more bug: Clipboard does not work with AltME. I select text at AltME, right-click, AltME says "Text copied", but the Ubuntu 11.04 clipboard doesn't contain anything.15-Jan 20:23
4228Evgeniy PhilippovAh ok. Might happen.15-Jan 20:15
4227AndreasSeems you rebooted only after installing the .deb (but not after installing the fonts), so I guess that reboot is what really fixed it :)15-Jan 15:58
4226AndreasDid you restart X after installing the fonts?15-Jan 15:57
4225KajI thought that error is caused by the traditional fixed size fonts not being installed, but apparently there's more15-Jan 14:40
4224Evgeniy PhilippovWOOHOO! Now I can live here under Linux!!! :)15-Jan 8:31
4223Evgeniy PhilippovI've installed an rebol amd64 .deb, rebooted, now AltME works.15-Jan 8:30
4222Evgeniy PhilippovI've skimmed the log above and saw a .deb solution, will try it.15-Jan 7:51
4221Evgeniy PhilippovHow do I fix that?15-Jan 7:48
4220Evgeniy PhilippovI did

sudo aptitude install xfonts-100dpi xfonts-75dpi

and altme042 gives:

** User Error: Bad face in screen pane! ** Near: size-text self

15-Jan 7:48
4219Evgeniy PhilippovI have an Ubuntu Linux 11.04, and altme does not start. I did15-Jan 7:47
4218GrahamCWe need a Linux Rebol FAQ11-Jan 20:11
4217ddharingI've been using the following commands to fix the Ubuntu 11 font problems:

sudo apt-get install xfonts-100dpi sudo apt-get install xfonts-75dpi

11-Jan 19:33
4216GabrielePetr: the one to execute programs for the current directory was the AmigaOS.11-Jan 11:43
4215MaxVThe packages on http://www.maxvessi.net/rebsite/Linux/index.php requires to install also the fonts11-Jan 10:47
4214DockimbelCertainly, but as these kind of issues with /View on Linux are pretty common, I thought someone would give me the solution right away.11-Jan 1:18
4213GrahamCGoogle ( and Gabriele ) is your friend :)10-Jan 23:12
4212DockimbelOk, got them from this channel history. Thanks Graham!10-Jan 23:05
4211DockimbelAny Ubuntu package name for those old X bitmap fonts?10-Jan 23:02
4210GrahamC"Maybe some font missing? (Eg. the old, standard X bitmap fonts, you may have to emerge them separately as I don't think normal linux apps use them anymore.) Regards, Gabriele."

"Ta-dah! I didn't have the bitmap fonts in my font path. Running now. Now I just have to work out what it is! :) thanks Jonathan."

10-Jan 21:55
4209Dockimbel(error pops up when launching rebol/view)10-Jan 19:56
4208DockimbelRunning View on a 11.04 Ubuntu (a user from #red-lang on Freenode). Any simple workaround?10-Jan 19:47
4207Dockimbel** User Error: REBOL: Cannot obtain default font ** Near: size-text self10-Jan 19:47
4206KajThere are places where you could add ./ to your PATH10-Jan 16:54
4205KajYes10-Jan 16:53
4204HenrikThe only files that are visible to the shell are the ones in PATH. once they are visible to PATH, you can enter them directly. I'm thinking this is for security reasons to avoid replacing shell commands with malicious executables.10-Jan 16:34
4203Pekrok, thanks. I thought that once I am "standing" in the directory (shell shows /home/user/beagleboard_xm), then script in "current-dir" is going to be visible. But that is sometimes tricky, I use Midnight commande and ctrl+o to switch to console, which puts me sometimes in different directory ...10-Jan 16:26
4202Henrik"because the script" => "because the script path"10-Jan 16:04
4201Henriktilda = your home directory instead of typing /home/blah/ ./ is an abbreviation of the current directory and is required, because the script is not in your PATH environment variable.10-Jan 15:56
4200Pekrnovice questions towards Linux shell usage:

$ cd ~/beagleboard_xm $ sudo ./mkmmc-android.sh <Your SD card device e.g:/dev/sdc>

1) what does tilda char means on the first line? 2) I was standing right inside the directory, but could not run the scrip, unless I put ./ in there too. What does it do?

10-Jan 15:45
4199PekrOK, now my rebcmd starts. The other problem is, where does it look for the license.key? It is not recognised, when placed to /usr/local/bin, neither when it is placed to the dir from where I invoke rebcmd ...30-Nov 11:34
4198AndreasThat package is `ia32-libs` on amd64 (pre-multiarch) and `libstdc++5` on i386 (and multiarch amd64). Except for Ubuntu 10.04 "Lucid" (the current LTS), for which it was decided to drop this ancient version of libstdc++ (a decision which was later reversed).29-Nov 17:45
4197KajThere's probably still a compatibility package for it in Ubuntu, which would be the safe way to install it29-Nov 16:53
4196Kajlibstdc++.so.5 is an antiquated version of the C++ system library, for GCC 3. The current version, for GCC 4, is libstdc++.so.629-Nov 16:52
4195Andreasor /opt/rebol-<version>/bin29-Nov 16:18
4194Andreas/usr/local/bin29-Nov 16:17
4193PekrWhere should I put my rebol executable ideally?29-Nov 16:16
4192Pekrhmm, following worked for my "Ubuntu":

wget http://ftp.us.debian.org/debian/pool/main/g/gcc-3.3/libstdc++5_3.3.6-18_i386.deb

sudo dpkg -i libstdc++5_3.3.6-18_i386.deb

29-Nov 16:15
4191Andreas(apt-get install ia32-libs; no idea about zentyal, though)29-Nov 16:10
4190Andreasinstall the ia32-libs thru your package manager, that should be enough29-Nov 16:10
4189PekrHmm, does not work, so ....29-Nov 16:07
4188Pekrhttp://re-bol.com/rebol_ubuntu1004.txt29-Nov 15:53
4187PekrIs following aproach safe to my server? :-) I use Zentyal, which is an add-on upon Ubuntu. My SDK REBOL/Command is screaming it can't find libstdc++.so.529-Nov 15:52
4186KajOther TTS packages such as FLite or eSpeak could also be used11-Nov 22:35
4185KajCompiling Festival should be possible, too, but it has a few dependencies, so those would have to be compiled, as well11-Nov 22:20
4184KajBefore that, single packages can be added or upgraded within Syllable Server11-Nov 22:14
4183KajI am running NginX in front of Cheyenne now without SSL, but it's not integrated in a Syllable release yet. I plan to do that in a new Syllable Server release in a few months11-Nov 22:13
4182KajSSL can be added to Cheyenne by putting NginX or indeed STunnel in front of it, but I haven't done that yet11-Nov 22:11
4181KajSyllable Server includes Cheyenne preconfigured. We're running a number of sites on it11-Nov 22:10
4180RyanDoes syllable run cheyenne? Can it do something like festival text to speech?11-Nov 19:18
4179RyanUnder $200 for the router and server (or just router). Syllable sounds tempting. Can I run stunnel or something else for SSL support?11-Nov 19:14
4178Andreas(Thinking about Alix/Soekris/Orbit Micro-style devices here.)11-Nov 15:29
4177AndreasI.e. EUR 100/USD 130 for a reasonable x86 router box is certainly doable.11-Nov 15:07
4176AndreasWhat price range are you aiming for, Ryan? In my experience, x86 router-like devices are certainly more expensive than the concurring architectures, but not prohibitively so.11-Nov 15:03
4175Kajhttp://web.syllable.org/pages/about.html#Server11-Nov 3:47
4174KajRyan, as long as you're on x86, you could consider Syllable Server:11-Nov 3:47
4173KajThat was really heavy duty outdoors stuff11-Nov 3:43
4172GrahamCJaime Vargas had a commercial wireless router with embedded Rebol11-Nov 2:09
4171RyanThanks James. I heard someone had done it before. I have pretty much decided to scrap the idea for the time being. I seem to be stuck on the x86 platform for the time being, and x86 routers are expensive.11-Nov 1:15
4170Duke@Gabriele: - Thank you!! Very good resource ....8-Nov 5:04
4169james_nakRyan, I think Luis was doing some rebol on routers back in the day but I could be mistaken.7-Nov 21:18
4168GabrieleDuke, http://www.debianadmin.com/manage-linux-init-or-startup-scripts.html (Google is your friend. :)7-Nov 9:53
4167Duke@DocKimbel: Thanks! There is a README file in the /etc/rc3.d/ directory that indicates to rename the file to a Knnapache2. I'll do it and see what blows up. :))6-Nov 5:04
4166KajIf the router is ARM, REBOL is a problem, but the Boron or Red languages could be used, depending on your needs5-Nov 23:50
4165KajI'm producing a Linux server OS including REBOL, that could be used if the router is x865-Nov 23:49
4164Ryanew, no async back then. I think there is a work around, but its not pretty.5-Nov 20:48
4163RyanWell that is a start.5-Nov 20:24
4162DockimbelLatest ARM REBOL binaries are v2.5.0, which should be ~9 years old.5-Nov 20:15
4161RyanI put dd-wrt on a router once, and I heard of fedora on a router, and various linux based router os's. I suspect there is three options; 1. use an x86 pc as a router, 2. use an x86 router, 3. use an arm type router with an arm rebol ($$$).5-Nov 20:10
4160DockimbelYou can start with OpenWrt: http://en.wikipedia.org/wiki/OpenWrt5-Nov 20:10
4159DockimbelNever done that, but you'll probably need to build a new custom linux firmware image for your router.5-Nov 20:02
4158RyanI want to put core on a wireless router. Anybody out there doing that?5-Nov 19:47
4157DockimbelOn my Ubuntu 10.04, the symlink seems to be more like /etc/rc3.d/S91apache2, so I am not sure for Xubuntu.5-Nov 15:23
4156DockimbelTry removing the symbolic link named S80httpd from /etc/rc.d/rc3.d/.5-Nov 15:15
4155DukeI'm running REBOL v2.7.8 on an xubuntu box. I want to run the cheyenne web server. Anyone know how to dissable automatic startup of Apache2 server on a Debian-based distro?5-Nov 14:59
4154GabrieleI'm not sure what you mean - I think sqlite is just escaping it in the output. ie. same thing as in rebol:

>> as-string #{5E49} == "^^I"

5-Nov 8:08
4153AshleyA *nix command line question (I think). Using the following command:

echo '.show' | sqlite3 -separator '\t'

yields

... separator: "\\t" ...

How do I "escape" the backslash so only one is inserted?

5-Nov 6:24
4152ManuMI have tested with a CD-Live too, and after installing rebol-2.7.8.4.3-4.i386.deb, I log out the session, then restart the X Server from the login screen ( a hidden option at shutdown icon ), and log in again with ubuntu and blank password. And it works perfect. Thank you Gabriele.15-Jun 19:51
4151ManuMTested with reboot after installing rebol-2.7.8.4.3-4.i386.deb and it works perfect. Thank you Max15-Jun 19:48
4150Gabriele(also, I think there is a way to flush the X server font cache.)15-Jun 9:24
4149GabrieleYou can probably just restart the X server.15-Jun 9:24
4148ManuMJust reboot? Ok, I was trying with a CD-Live so I have never restarted after installing the rebol.deb file. I'll try it tomorow with a installed Kubuntu 11.04 and I'll post any new. Thank you for your help.14-Jun 19:28
4147MaxVYou'll find an incon in the "Applications/Development" panel14-Jun 12:00
4146MaxVWhen you install the rebol.deb file, it autamtically install xfonts packages, then you need to reboot the PC14-Jun 11:59
4145MaxVSOLVED!!! You need just to reboot the PC14-Jun 11:59
4144ManuM@MaxV: Yes I have installed rebol-2.7.8.4.3-4.i386, but same result. If I have news I'll tell you. Thank you for your help.13-Jun 17:44
4143MaxVI'll investigate on Kubuntu..., if you have news, write me to maxint@tiscali.it13-Jun 13:36
4142MaxVDid you used http://www.maxvessi.net/rebsite/Linux/rebol-2.7.8.4.3-4.i386.deb ?13-Jun 13:34
4141ManuMAny suggestions with Rebol 2.7.8 and Kubuntu 11.04 problem?11-Jun 9:21
4140ManuMRepost the previous unreadable output

ubuntu@ubuntu:/media/CAJON$ rebol ** User Error: Bad face in screen pane! ** Near: size-text self ubuntu@ubuntu:/media/CAJON$ uname -a Linux ubuntu 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 athlon i386 GNU/Linux ubuntu@ubuntu:/media/CAJON$ ls -la total 7888 drwx------ 2 ubuntu ubuntu 16384 2011-05-08 19:39 . drwx------ 22 ubuntu ubuntu 16384 2010-12-14 11:15 .. -rw-r--r-- 1 ubuntu ubuntu 650478 2011-05-08 19:40 rebol-2.7.8.4.3-4.i386.deb -rw-r--r-- 1 ubuntu ubuntu 3907696 2011-05-08 21:00 xfonts-100dpi_1.0.3_all.deb -rw-r--r-- 1 ubuntu ubuntu 3464308 2011-05-08 21:01 xfonts-75dpi_1.0.3_all.deb ubuntu@ubuntu:/media/CAJON$ ldd /usr/bin/rebol linux-gate.so.1 => (0x00f45000) libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0x00c80000) libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0x004ee000) libXt.so.6 => /usr/lib/i386-linux-gnu/libXt.so.6 (0x00985000) libXaw.so.7 => /usr/lib/libXaw.so.7 (0x005d4000) libXmu.so.6 => /usr/lib/libXmu.so.6 (0x00285000) libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0x003bb000) libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0x00110000) libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0x0059e000) libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0x00196000) libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0x00fcf000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x00631000) libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0x0025a000) libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0x00933000) libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0x00c65000) libXpm.so.4 => /usr/lib/libXpm.so.4 (0x00bff000) /lib/ld-linux.so.2 (0x002f9000) libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0x0019a000) libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0x001af000) libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0x001b4000) libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0x0080a000)

7-Jun 15:11
4139ManuMRebol 2.7.8 not working on Kubuntu 11.04

I have installed xfonts-100dpi and xfonts-75dpi but same result I have installed MaxV .deb package but still the same result. I look at ldd command and I get a similar output that I got at Kubuntu 10.10 ( where Rebol 2.7.8 works ok ) Any advice?

ubuntu@ubuntu:/media/CAJON/SoftwareKubuntu/software/LinuxMaxV$ rebol ** User Error: Bad face in screen pane! ** Near: size-text self ubuntu@ubuntu:/media/CAJON/SoftwareKubuntu/software/LinuxMaxV$ uname -a Linux ubuntu 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 athlon i386 GNU/Linux ubuntu@ubuntu:/media/CAJON/SoftwareKubuntu/software/LinuxMaxV$ ls -la total 7888 drwx------ 2 ubuntu ubuntu 16384 2011-05-08 19:39 . drwx------ 22 ubuntu ubuntu 16384 2010-12-14 11:15 .. -rw-r--r-- 1 ubuntu ubuntu 650478 2011-05-08 19:40 rebol-2.7.8.4.3-4.i386.deb -rw-r--r-- 1 ubuntu ubuntu 3907696 2011-05-08 21:00 xfonts-100dpi_1.0.3_all.deb -rw-r--r-- 1 ubuntu ubuntu 3464308 2011-05-08 21:01 xfonts-75dpi_1.0.3_all.deb ubuntu@ubuntu:/media/CAJON/SoftwareKubuntu/software/LinuxMaxV$ ldd /usr/bin/rebol linux-gate.so.1 => (0x00f45000) libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0x00c80000) libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0x004ee000) libXt.so.6 => /usr/lib/i386-linux-gnu/libXt.so.6 (0x00985000) libXaw.so.7 => /usr/lib/libXaw.so.7 (0x005d4000) libXmu.so.6 => /usr/lib/libXmu.so.6 (0x00285000) libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0x003bb000) libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0x00110000) libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0x0059e000) libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0x00196000) libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0x00fcf000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x00631000) libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0x0025a000) libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0x00933000) libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0x00c65000) libXpm.so.4 => /usr/lib/libXpm.so.4 (0x00bff000) /lib/ld-linux.so.2 (0x002f9000) libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0x0019a000) libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0x001af000) libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0x001b4000) libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0x0080a000)

7-Jun 15:09
4138ddharingMaxV and Andreas, great work on solving the 11.04 problem. So, that means these xfonts were on previous versions of Ubuntu, but not 11.14-May 4:00
4137MaxVLaunchpad doesn't accept only binaries, it wants the source and the it builds the binaries. I'll investigate on Multiverse...9-May 16:15
4136MaxVI'm working to put in it on Launchpad9-May 7:33
4135jockotested : installation ok6-May 20:10
4134BrianHMax, have you looked into what would be required to get a proper repository for R2 and maybe R3 set up in multiverse?6-May 19:31
4133MaxVIf you use the linux packages, all dependencies are automatically downloaded!!!6-May 16:54
4132MaxVSOLVED!!! Added dependecies xfonts-100dpi and xfonts-75dpi !!!! Thank you very much Adnreas!!!!!!!! You can download last linux packages from: http://www.maxvessi.net/rebsite/Linux/6-May 16:53
4131Andreasyes, xvfb works fine: $ xvfb-run ./rebol -qsvw --do "print [system/version view?]" 2.7.8.4.2 true3-May 16:53
4130Andreasin both cases, you'll need the bitmap fonts installed in the respective x server3-May 16:53
4129Andreasxvfb should work as well, but i haven't tried it in ages3-May 16:50
4128Andreasx forwarding (ssh -X) certainly works3-May 16:49
4127onetomAndreas: but r u talking about starting /view on an actual X11 server? or is it possible to start it without a real X11 head?3-May 16:47
4126Andreasinstall the bitmap fonts and you'll be fine3-May 16:46
4125onetomi was even trying ssh -X from a linux box but it didn't help either.3-May 16:45
4124Andreas(and you'll most certainly have to re-login to your x session after installing those packages.)3-May 16:29
4123Andreasmax, you can add those to your dependency list3-May 16:24
4122Andreasinstall xfonts-100dpi and xfonts-75dpi and the problem should be gone3-May 16:23
4121onetomMaxV: that bad face error message happens when u r trying to start a rebol/view without an actual x11 server. i was trying to trick it with xvfb and xvncserver but no luck3-May 15:25
4120Andreas4.3 or 4.2?3-May 15:07
4119MaxVIt appears in the console: ** User Error: Bad face in screen pane! ** Near: size-text self so I think that it''s internal to Rebol...3-May 14:52
4118MaxVConfirmed, it doesn't work, even adding all dependencies: libc6 libstdc++6 libx11-6 libxcb1 libxaw7 libfreetype6 libext6 libxt6 libxmu6 libgcc1 libsm6 libice6 libxpm4 zlib1g libxau6 libxdmcp6 libuuid1 Do I missed any dependecies?3-May 14:46
4117AndreasSo I'd say the problem seems to be nothing intrinsic to REBOL, but probably something related to missing libraries.2-May 16:53
4116onetom(u dont really have to say copy from the console)2-May 15:32
4115AndreasIn plain English: /View 2.7.8.4.2 works fine (for me) on Ubuntu 11.04.2-May 14:54
4114Andreas>> 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

2-May 14:52
4113ddharingI'll look into it. Thanks.16-Apr 11:38
4112Gabrielemight also just be missing bitmap fonts.16-Apr 9:07
4111GrahamCldd16-Apr 2:03
4110GrahamCdid you check libraries?16-Apr 2:02
4109ddharingI'm running Ubuntu Desktop. I've tried it on two laptops -- both with and without Unity.16-Apr 1:56
4108IzkataUbuntu is going to introduce Wayland, a replacement for X11, but from what I'm reading it shouldn't be default in 11.0416-Apr 1:00
4107Maximcould it be no x11 installed ?15-Apr 13:51
4106ddharingThe 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.

15-Apr 13:33
4105RobertOk, thanks.10-Apr 18:07
4104Andreas"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.

10-Apr 17:42
4103RobertAny idea, why the TCP/IP connections from the remote machines are not recognized?9-Apr-11 21:35
4102RobertWhen 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...9-Apr-11 21:34
4101RobertWhen I use telnet localhost 44000 from my_vm_server.com than, the connection is done and the listen server recognizes it.9-Apr-11 21:34
4100RobertWhen 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.com9-Apr-11 21:33
4099RobertWhen 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.9-Apr-11 21:32
4098RobertAnd 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.9-Apr-11 21:31
4097RobertWhen I have setup a portforwarding via SSH, how can I get rid of it?9-Apr-11 21:13
4096Andreashttp://www.dribin.org/dave/blog/archives/2007/11/28/ssh_agent_leopard/ might help :)30-Mar-11 17:14
4095RobertOk, giving all this a try and let you know :-)30-Mar-11 16:55
4094Andreasthe osx keychain should work for you30-Mar-11 16:51
4093RobertOk, thanks. So do you know a SSH agent for OSX? Or is there a standard SSH agent CLI tool?30-Mar-11 16:50
4092AndreasSo, as Max says, no need to associate usernames with keys in that keys (besides setting up $HOME/.ssh/authorized_keys correctly)30-Mar-11 16:48
4091AndreasYou can then just load multiple keys into your SSH agent, and all of them will be tried for authentication30-Mar-11 16:47
4090AndreasKey-based SSH authentication is most convenient when used in combination with an "ssh agent" that holds the private keys and (temporarily) stores their passphrase30-Mar-11 16:46
4089AndreasThe public keys are stored in $HOME/.ssh/authorized_keys for the respective users30-Mar-11 16:45
4088MaxVSee http://support.suso.com/supki/SSH_Tutorial_for_Linux30-Mar-11 16:12
4087MaxVI 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

30-Mar-11 16:12
4086RobertI 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?

30-Mar-11 7:59
4085Andreas:)10-Mar-11 16:01
4084Cyphreso no I realized I'm talkind to you, Andreas :))10-Mar-11 16:00
4083Cyphreah...I owerlooked the name..you have almost identical 'nick color' ! :)10-Mar-11 16:00
4082Andreasthat was more directed towards massimiliano than towards you :)10-Mar-11 15:59
4081CyphreAs 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.10-Mar-11 15:59
4080Andreas(for discovering fonts, that is)10-Mar-11 15:58
4079Andreasfontconfig is to the best of _my_ knowledge the most wide-spread thing you can use10-Mar-11 15:58
4078Andreasi fear you'll be hard-pressed to come up with a very general solution10-Mar-11 15:56
4077Andreashttp://behdad.org/text/ may provide some interesting background reading10-Mar-11 15:55
4076CyphreBut 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!10-Mar-11 15:55
4075MaxVOK10-Mar-11 15:54
4074CyphreMaxV: 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.10-Mar-11 15:52
4073MaxVCopyright Adobe 1994-199710-Mar-11 15:52
4072MaxVEven helvetica doesn't exist!10-Mar-11 15:52
4071MaxVOr an alert message "/usr/share/fonts/... not found!"10-Mar-11 15:51
4070Cyphrefont differences: ofcourse Arial doesn't exist on Linux...unless you install MS fonts. See my note about 'matching table'...such stuff is definitely needed.10-Mar-11 15:50
4069MaxVHowever 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.10-Mar-11 15:49
4068MaxVI 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?10-Mar-11 15:47
4067CyphreMaxV: 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.10-Mar-11 15:12
4066CyphreTo clarify the 'font issue' a bit:

In REBOL2 there are two different 'font engines': engine1: is used when you set face/text field engine2: is used when you use face/effect: [draw [text "..."]]

On Windows both engines use the same OS functions for the font handling. Therefore no differencies are seen at the script level.

On Linux the Engine1 us using some X-windows api and the Engine2 is using FreeType2 library. The X-windows font api doesn't support antialiasing and the font output in general is not so nice (depending on the distro). The FreeType2 lib has better font quality output and also supports antialiasing but you have to know the full-path to the font file.

Currently noone suggested any efficient method how to get the 'font path' in unified way (considering the 'mess' between different Linux distros). When I tried to investigate a bit someone pointed me to the FontConfig lib that should take care of this problem on Linux. But: 1. I don'r know if the fontconfig is really widely supported and what other 'framewrorks' are possible on the rest of distros that don't have fontconfig... 2. I don't know how easy/hard is to get the info from fontconfig, havent studied it 3. as I said I'm not using Linux for desktop stuff so it is nto my high-priority item.

Another solution is to intorduce something like global font-path in the Rebol system object which would be used for the font lookup. This variable could be set individually by user or author of the rebol program. We could also provide some font-name/type->font-file matching table but that would take some research as well and won't work for all setups. But at least something.

So If anyone here from the 'Linux power users' group knows a good solution or even propose a prototype of the solution I believe Carl will be glad for your help.

10-Mar-11 15:08
4065MaxVMay you explain me why this works under Linux and no font PATH is requested? REBOL [ title: "SW-like scroller by Cyphre" author: cyphre@seznam.cz ]

scr-size: 640x220 scrl: scr-size * 0x1 c1: scrl c2: as-pair scr-size/x / 2.5 scr-size/y / 5 c3: as-pair scr-size/x - (scr-size/x / 2.5) c2/y

view/new layout [ origin 0 bx: box scr-size effect [draw [] gradcol 0x-1 sky black] with [feel: none] ]

while [not empty? system/view/screen-face/pane][ scrl/2: scrl/2 - 1 img: to-image t-face: make face [edge: none color: black size: scr-size text: system/license font: make font [size: 20 style: 'bold color: white] para: make para [scroll: scrl]] if scrl/y < - second size-text t-face [ scrl/y: c1/y ] bx/effect/draw: [ pen black fill-pen black box 0x0 scr-size image img c2 c3 scr-size c1 ] show bx wait 0 ]

???????

10-Mar-11 13:25
4064BrianHFor R3, all graphics are done with AGG. Don't know yet about the font support on Linux.10-Mar-11 8:42
4063BrianHR2 uses different methods to do regular graphics and Draw. Draw is done only with AGG, the rest of View is not. The font code is different.10-Mar-11 8:41
4062MaxVMy other question is: why Rebol find the fonts path for all dialects except DRAW?10-Mar-11 8:40
4061TomcI tend to use thing like stderr: open/direct/binary %/dev/stderr but am no longer petending to care about windows portability10-Mar-11 6:03
4060Maximrebol uses system fonts, so its the other way round, is there a way to know system font path. on linux no one has done any in-depth assessment if there is a single way to find out what are the installed fonts for *any* linux.9-Mar-11 19:24
4059MaxVIs there a way to know Rebol font path?9-Mar-11 17:14
4058MaxV? system/view/vid/vid-styles/text/font "helvetica" so, is it enogh having helvetica font? No, I made a link to FreeSans.ttf this way: ln -s FreeSans.ttf helvetica.ttf but it doesn't work. I think that the path is wrong. The standard linux path now is: /usr/share/fonts/truetype/freefont/ so if Rebol path would be /usr/share/fonts/truetype/freefont/FreeSans.ttf , we have resolved all problems!9-Mar-11 17:13
4057CyphreMaxV: the problem on Linux is that there is no easy way how to get font path just by giving the font name + font type.( Windows does that automatically) If you know how to do it in Linux so it works on all distributions that would be helpful. (Maybe it would be enough to write some parser in rebol to get the font information from some place in the system, but I have no time to investigate this as I'm not using Linux for desktop stuff.)9-Mar-11 14:51
4056OldesYou can check it on linux using: ? system/view/vid/vid-styles/text/font9-Mar-11 14:37
4055OldesOn windows I think it's arial9-Mar-11 14:36
4054MaxVBut newbies need a working rebol on Linux., then they will choose their font. So, what is the default font on Rebol?9-Mar-11 12:41
4053Cyphreyes, I'd suggest to choose some nice looking font(prefferably free one, but depends on you) on Linux and then use it with the app on all systems.9-Mar-11 9:52
4052OldesBetter to choose a font which works on Linux... last time I used Rebol/View on linux, the default font look was very bad.9-Mar-11 9:35
4051MaxVWhat is the default Font for Rebol? I could add this font package in Rebol linux installer.9-Mar-11 7:46
4050Cyphreyou can put the os specific setup into something like:

switch system/version/4 [ 4 [ ;Linux

] 3 [ ;Windows

] ]

8-Mar-11 21:08
4049GeocachingCyphre... THANKS SO MUCH!! It works...

But now, how I can make my script working on both linux and windows with the same fonts look and feel?

8-Mar-11 20:53
4048CyphreUnder linux you need to setup the font object to be able use text rendered by DRAW dialect. So something like this should work:

my-font: make face/font [ name: "/usr/share/fonts/truetype/freefont/FreeSans.ttf" ;replace with your path to font you want to use size: 12 ]

view layout [ box snow 100x100 effect [ draw [ font my-font pen black text 10x10 "Red Box:" pen red fill-pen red box 10x30 80x50 ] ] ]

8-Mar-11 20:47
4047GeocachingWhen you try this under linux view layout [ box snow 100x100 effect [ draw [ pen black text 10x10 "Red Box:" pen red fill-pen red box 10x30 80x50 ] ] ]

Only the snow box appears! Nothing is drawn into it... and rebol does not launch an error. THis confirms that the interpretation of the dialect is stopped when the 'text is reached.

Under windows, no problem!

8-Mar-11 20:41
4046Pekrmight be a font problem? Better wait for some real experts, though ...8-Mar-11 20:39
4045GeocachingActally, it seems that the interpretation of the draw dialect stops when encountering the 'text.8-Mar-11 20:33
4044GeocachingUnder windows, the text appears properly; but under linux, nothing appears.8-Mar-11 20:32
4043GeocachingHello, I encounter a problem with the draw dialect under linux (rebol/view 2.7.8). I have tried the following code from the official documentation: view layout [ box black 100x100 effect [ draw [ pen red line 30x30 50x20 70x70 40x50

pen blue box 20x20 80x80

fill-pen 0.100.0 box 20x60 40x80

pen white text 8x25 "Example"

fill-pen gold flood 2x2 ] ] ]

8-Mar-11 20:31
4042ddharingI'm not an expert on the port object, so I'm continuing to do research.8-Mar-11 19:56
4041Maximdon't know what can be manipulated on the i/o ports8-Mar-11 19:46
4040Maximdid you try looking at the port states?8-Mar-11 19:46
4039ddharingYou know, the Unix way of doing things.8-Mar-11 19:44
4038ddharingMaxim, you're absolutely right. I am just thinking in terms of being pipe friendly on the Linux command line.8-Mar-11 19:43
4037MaximI mean, its probably less hassle and you'd already have it working by now ;-)

I mean TCP server/clients can be as little as 5 lines each in rebol.

8-Mar-11 19:37
4036Maximactually, using sockets is really simple.8-Mar-11 19:36

Return to Index Page