Date: Sun, 21 Dec 2003 14:44:51 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> Cc: current@freebsd.org Subject: Re: where is the rotating thing /^H-^H\^H|^H/^H-... Message-ID: <20031221204450.GC74567@dan.emsphone.com> In-Reply-To: <Pine.BSF.4.53.0312212000220.74127@e0-0.zab2.int.zabbadoz.net> References: <Pine.BSF.4.53.0312212000220.74127@e0-0.zab2.int.zabbadoz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Dec 21), Bjoern A. Zeeb said: > Hi, >=20 > I am currently searching the =08 sequence (rotating thing at boot time > when loading kernel or md_images ...): >=20 > /^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H| >=20 > can anybody please tell me where the code for this is (be it C or 4th) ? It's usually implemented as something like: static unsigned c =3D 0x2d5c7c2f; printf("%c\b", c =3D c << 8 | c >> 24); Print the first byte of 'c', then rotate it 8 bits :) --=20 Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031221204450.GC74567>