18 April 2018

autotools

System: Slackware Linux (version 14.0)
CPUs: Intel(R) Atom(TM) CPU N270 @1.60GHz
Deps: 9menu-master.zip

This post is not yet finished.

This entry will look at using GNU autotools.

https://github.com/9wm/9wm
9menu-master.zip

Download a copy of the above .zip file, extract it, remove the Imakefile, Makefile and Makefile.noimake files,  and then run autoscan.

sh-4.2$ cd 9menu-master
sh-4.2$ rm Imakefile Makefile*
sh-4.2$ autoscan
sh-4.2$ cat configure.scan
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.69])
AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])
AC_CONFIG_SRCDIR([9menu.c])
AC_CONFIG_HEADERS([config.h])

# Checks for programs.
AC_PROG_CC

# Checks for libraries.

# Checks for header files.
AC_PATH_X
AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/param.h unistd.h])

# Checks for typedefs, structures, and compiler characteristics.

# Checks for library functions.
AC_FUNC_FORK
AC_FUNC_MALLOC
AC_CHECK_FUNCS([getcwd putenv strchr strrchr])

AC_OUTPUT
sh-4.2$

Rename configure.scan to configure.ac and edit the renamed file.

13 April 2018

Arabic footnotes

An example of an RTL footnote.

في أكتوبر 2006 بلغ عدد الحزم التي يستضيفها موقع جنو للاستضافة 307 حزمة [1] ، أما الباقي فموجود في أماكن أخرى.


  1. قائمة بالمشاريع المستضافة في savannah.gnu.org

Code

<br />
<div dir="RTL" style="direction: rtl; text-align: justify; unicode-bidi: embed;">
<a href="http://nurmi-labs.blogspot.com/2018/04/ara-fn.html" name="gnu"></a>
في أكتوبر 2006 بلغ عدد الحزم التي يستضيفها موقع جنو للاستضافة 307 حزمة
<a href="http://nurmi-labs.blogspot.com/2018/04/ara-fn.html#savannah">[1]</a>
، أما الباقي فموجود في أماكن أخرى.<br />
<br />
<hr />
<ol><a href="http://nurmi-labs.blogspot.com/2018/04/ara-fn.html" name="savannah"></a>
<li>
<a href="http://nurmi-labs.blogspot.com/2018/04/ara-fn.html#gnu" title="تعدى إلى الأعلى ل">◥</a>
<a href="http://savanah.gnu.org/search/?type_of_search=soft&amp;words=%%%&amp;type=1">
 قائمة بالمشاريع المستضافة في savannah.gnu.org</a></li>
</ol>
</div>

Additional code needs to be implemented in order to get the text on the right margin when viewing
such content in GNU Emacs 24.2.1 with emacs-w3m; the Emacs interface to w3m; possibly also
a selection of certain fonts for the Arabic ligatures to render.

Running in Emacs 24.3.1 (on a Windows box) w3 did not seem to result in the text's shift to the
left margin, though it's noted that a 'set-face-attribute' error occurs when attempting to load some
webpages.

CJK

System: Slackware Linux (version 14.0)
CPUs: Intel(R) Atom(TM) CPU N270 @1.60GHz

sh-4.2$ xterm -version
X.Org 7.6.9(281)
sh-4.2$

When uxterm's mouse accessed menu font size is set to Default some CJK
characters do not render properly, changing the font size to Large seems to
render these correctly. It's indifferent whether the files are encoded in UTF-8
or other CJK encodings.

Links supports multi-lingual features (excluding CJK).

06 April 2018

9vx

System: Slackware Linux (version 14.0)
CPUs: Intel(R) Atom(TM) CPU N270 @1.60GHz
Deps: 9vx-0.12.tar.bz2

Running Plan 9 in a 32 bit sandbox.

https://swtch.com/9vx/
9vx-0.12.tar.bz2

Extract the above download into /usr/local.

sh-4.2$ cd /usr/local/9vx-0.12
sh-4.2$ ./9vx.Linux -u glenda &

When finished with your session run 'ps x' to find the PID
of 9vx.Linux, and run the 'kill' command on that PID.

01 April 2018

9wm

System: Slackware Linux (version 14.0)
CPUs: Intel(R) Atom(TM) CPU N270 @1.60GHz

9wm has a new release, a .SlackBuild is located in the sidebar.

Last updated: 09-04-2018

13 March 2018

Acme

Russ Cox's Acme screencast.


23 minutes
https://research.swtch.com/acme

Here's an example file if one is running a twm and has started p9p's
Acme in the background from your xterminal, which when placed in
the user's $HOME directory, can be executed via Acme's 3 button
mouse, which changes the background colour of the desktop.

sh-4.2$ cat colour
#!/bin/sh

xsetroot -solid LightYellow
sh-4.2$

Blit

This is a presentation that demonstrates the Blit user interface by Rob Pike and Bart Locanthi.


4:03 minutes
http://doc.cat-v.org/bell_labs/blit/

D. du Colombier (djc) announced on 31 March 2017 the availability of an 8th
Edition Unix disk image for the SimH (History Simulator) that he wrote can be
used to run J. Schmidt's (aiju's) Blit emulator (on most Plan 9 distributions).

A 9wm cursor is implemented in this log's About Page (doesn't render in IE11 & Edge).