(shadow 'char-width) (use-package :xlib) (defparameter *mods* '(:mod-1)) (defparameter *move* 1) (defparameter *resize* 3) (defparameter *lower* 4) (defparameter *raise* 5) (defparameter *display* nil) ; set this to an integer to do testing with xnest
(defun open-default-display (&optional display-name) "Open a connection to DISPLAY-NAME if supplied, or to the appropriate default display as given by GET-DEFAULT-DISPLAY otherwise.
OPEN-DISPLAY-NAME always attempts to do display authorization. The hostname is resolved to an address, then authorization data for the (protocol, host-address, displaynumber) triple is looked up in the file given by AUTHORITY_PATHNAME (typically $HOME/.Xauthority). If the protocol is :local, or if the hostname resolves to the local host, authority data for the local machine's actual hostname - as returned by gethostname(3) - is used instead." (destructuring-bind (host display screen protocol) (get-default-display display-name) (declare (ignore screen)) (open-display host :display display :protocol protocol)))
>>1 Looks cool, but X sucks. Fortunately, progress in recent years has almost made X no longer mandatory, except for the fact that AMD, nVidia, and Intel are stuck in the stone age with their binary blob crap that still requires X and would probably cost them each a couple of million dollars in programmer salaries to migrate away from. Eventually, it'll happen, but not currently.
All of the cool kids only care care about OpenGL ES 2.0 (and soon ES 3.0 which is in testing), and you can get decent performance with the open source drivers based around libGL-mesa. For fullscreen graphics that works from a terminal without a window manager, use udev + libdrm + EGL + OpenGL ES 2.0 directly. For Windowed graphics, build and install Wayland and then use Wayland + EGL + OpenGL ES 2.0.
>>4 Intel does not use binary blobs for their iGPUs
Name:
Anonymous2014-08-30 5:42
>>4,5 Intel employs some of the top Wayland developers. The only "legacy" graphics technology Intel has any interest in perpetuating is Mesa/DRI (their developers have stated many times that migrating to Gallium would be too costly).
If there's anyone who wants X11 to persist, it's nVidia. nVidia has a lot invested in their current GLX infrastructure and would need to make serious efforts to support EGL and KMS for Wayland.
Name:
Anonymous2014-08-30 10:27
Who gives a shit? Let me know when this wayland thing gets incorporated into a real Unix or VMS, not some toy OS like linux.
Name:
Anonymous2014-08-30 10:48
>>4 But it will go slow as shit if I don't have a GPU
>>11 I am, though I'm thinking about becoming transbsd.
Name:
Anonymous2014-08-31 1:37
X is garbage. When you have to deliberately break the build just to make sure no one is running your program on a Super Nintendo, you've supported to many platforms. Gut the garbage and let anyone still running a Commodore 64 hack X to fit it, don't put in tons of hacks and workaround. Sure, you've bumps support from 95% of all systems to 99%, but now it is unmaintainable and you're holding everyone else back to the constraints of machines that should have been in landfills ages ago.
Name:
Anonymous2014-08-31 1:39
>>12 Is GUI and tetris only for computers made 2 years ago?
Name:
Anonymous2014-08-31 2:57
>>15 Expecting people who want the latest version to have a computer made in the last 10 years. Africans with donated i386 systems with 16MB's of memory can be content to run a few versions behind. There is no need to keep pulling all that baggage behind you.
Same with OpenSSL. They wanted to support every platform know to man and chimp, and they had to write their own malloc() wrapper to do it. Who cares if OpenSSL wouldn't compile under VS2005 or on VMS or whatever without stuff like that? Fuck 'em. Get with the fucking program and update your fucking compiler or system already. It is not their job to support every cheap faggot who wants to waste their time.
AFAIK Africans use modern PCs, because of logistic costs and high demand on older PC components, due to people still running legacy DOS systems as part of business critical solutions, like factory equipment.