Author Topic: Random trivia for *nix users  (Read 6885 times)

0 Members and 1 Guest are viewing this topic.

Offline ch_123

  • * Exalted Elder
  • Thread Starter
  • Posts: 5860
Random trivia for *nix users
« on: Wed, 17 March 2010, 17:39:30 »
Ever wonder why ~ represents your home directory, or why vi/vim uses h j k l for arrow keys?

This terminal, the ADM-3A is to blame -



Offline EverythingIBM

  • Posts: 1269
Random trivia for *nix users
« Reply #1 on: Wed, 17 March 2010, 23:32:49 »
I hate toilet bowl terminals. And I especially hate arrow keys in one row like that (commodore liked doing that, grrr; they should have copied IBM's perfect layout).
Keyboards: '86 M, M5-2, M13, SSK, F AT, F XT

Offline HaaTa

  • Master Kiibohd Hunter
  • Posts: 794
  • Location: San Jose, CA, USA
  • Kiibohds!
    • http://kiibohd.com
Re: Random trivia for *nix users
« Reply #2 on: Wed, 17 March 2010, 23:57:21 »
Lately, I've been preferring the numpad arrows over the typical ones.
Currently Colemak is holding me off from using the hjkl keys in vim (all the other keys are fine).
Kiibohd

ALWAYS looking for cool and interesting switches
I take requests for making keyboard converters (i.e. *old keyboard* to USB).

Offline konz

  • Posts: 28
Random trivia for *nix users
« Reply #3 on: Thu, 18 March 2010, 10:36:10 »
Wow, I din't know that!

Some more trivia (unsubstantiated): ~ is used as a (binary) negation in C and derived languages because dd's EBCDIC map turns ~ into the (logical) negation symbol.

Substantiated: &, | and ~ have lower priority than == in C because && and || were added later.

Offline kode

  • Posts: 106
  • Location: Sweden
Random trivia for *nix users
« Reply #4 on: Thu, 18 March 2010, 17:48:45 »
hjkl is to me, not wrong because it's on one row. It's a bit wrong for not being the right side of home row position, instead shifted one key to the left.

Offline ch_123

  • * Exalted Elder
  • Thread Starter
  • Posts: 5860
Random trivia for *nix users
« Reply #5 on: Thu, 18 March 2010, 18:04:34 »
Quote from: EverythingIBM;165044
they should have copied IBM's perfect layout).


Like IBM copied DEC?


Offline ch_123

  • * Exalted Elder
  • Thread Starter
  • Posts: 5860
Random trivia for *nix users
« Reply #6 on: Thu, 18 March 2010, 18:27:27 »
What is that behemoth under the desk?

Offline TexasFlood

  • Posts: 1084
Random trivia for *nix users
« Reply #7 on: Thu, 18 March 2010, 19:24:28 »
Quote from: ch_123;165238
Like IBM copied DEC?

True, we all have DEC to thank for our inverse "T" arrow keys and really the most popular & copied keyboard design of the last 30 years.

As I understand it, at the time the LK201 was released, most of the industry followed IBM's lead at the time including DEC.

Apparently there was a "LK201 keyboard committee" who, after an internal study, brainstormed the new arrow key design in just a few minutes.

Although the LK201 came out in 1982 after the original IBM PC, IBM (and nearly everyone else) copied it as soon as they could.  Couple more interesting links regarding the LK201 and the design of it's arrow keys.

Offline kishy

  • Posts: 1576
  • Location: Windsor, ON Canada
  • Eye Bee M
    • http://kishy.ca/
Random trivia for *nix users
« Reply #8 on: Thu, 18 March 2010, 20:19:25 »
The display station on that Dutch system looks like one of the pre-Mac Apple systems, monitor included.

Lisa maybe?
Enthusiast of springs which buckle noisily: my keyboards
Want to learn about the Kishsaver?
kishy.ca

Offline TexasFlood

  • Posts: 1084
Random trivia for *nix users
« Reply #9 on: Thu, 18 March 2010, 20:33:43 »
Quote from: kishy;165269
The display station on that Dutch system looks like one of the pre-Mac Apple systems, monitor included.

Lisa maybe?
It's a monster Zilog CP/M system.  The display is a just a terminal.
« Last Edit: Thu, 18 March 2010, 20:40:31 by TexasFlood »

Offline kishy

  • Posts: 1576
  • Location: Windsor, ON Canada
  • Eye Bee M
    • http://kishy.ca/
Random trivia for *nix users
« Reply #10 on: Thu, 18 March 2010, 21:44:18 »
Quote from: TexasFlood;165275
It's a monster Zilog CP/M system.  The display is a just a terminal.


I know...I'm saying the display station portion itself looks like an old Apple system, as a whole.
Enthusiast of springs which buckle noisily: my keyboards
Want to learn about the Kishsaver?
kishy.ca

Offline TexasFlood

  • Posts: 1084
Random trivia for *nix users
« Reply #11 on: Thu, 18 March 2010, 22:16:24 »
Quote from: kishy;165284
I know...I'm saying the display station portion itself looks like an old Apple system, as a whole.

OK, my bad...

Offline DreymaR

  • Posts: 184
  • Location: Norway
  • Colemak forum guy
    • DreymaR's Big Bag of Kbd Tricks
Random trivia for *nix users
« Reply #12 on: Fri, 19 March 2010, 03:13:52 »
Ripster, could you please provide a link to that study or a writeup of it?
Better burden you cannot carry than man-wisdom much ~ Hávamál

Offline TexasFlood

  • Posts: 1084
Random trivia for *nix users
« Reply #13 on: Fri, 19 March 2010, 09:35:15 »
Quote from: DreymaR;165324
Ripster, could you please provide a link to that study or a writeup of it?

Check that link "the design of it's arrow keys" in my earlier post, it's all there.

Offline iMav

  • geekhack creator/founder
  • Location: Valley City, ND
  • "Τα εργαλεία σας είναι σημαντικά."
Random trivia for *nix users
« Reply #14 on: Sat, 20 March 2010, 17:17:33 »
I was an Air Force brat plus did one tour myself in the late 80's/early 90's (spending a good portion of that time in the Middle East during the first Gulf War).

Offline ricercar

  • * Elevated Elder
  • Posts: 1697
  • Location: Silicon Valley
  • mostly abides
Random trivia for *nix users
« Reply #15 on: Sat, 20 March 2010, 17:45:09 »
Quote from: TexasFlood;165275
It's a monster Zilog CP/M system.  The display is a just a terminal.

Z-80: So much better than x86. Unfortunately, Zilog was owned by an IBM-competitor, so IBM dismissed the Z-80 for the IBM PC without consideration for its technical merits.

Quote from: iMav;165700
in the late 80's/early 90's

Just married, newly degreed again, and looking for a job. And looking, and looking. Hmm, the First George Bush War sounds a lot like the Second George Bush War to me.
« Last Edit: Sat, 20 March 2010, 17:47:13 by ricercar »
I trolled Geekhack and all I got was an eponymous SPOS.

Offline JBert

  • Posts: 764
Random trivia for *nix users
« Reply #16 on: Sat, 20 March 2010, 19:21:25 »
Quote from: HaaTa;165048
Lately, I've been preferring the numpad arrows over the typical ones.
Currently Colemak is holding me off from using the hjkl keys in vim (all the other keys are fine).
I got this in my .vimrc to use UNEI:
Code: [Select]
nnoremap <C-n> h
xnoremap <C-n> h
onoremap <C-n> h
nnoremap <C-u> k
xnoremap <C-u> k
onoremap <C-u> k
nnoremap <C-e> j
xnoremap <C-e> j
onoremap <C-e> j
nnoremap <C-i> l
xnoremap <C-i> l
onoremap <C-i> l
inoremap <C-n> <Left>
&quot;cnoremap <C-n> <Left>
inoremap <C-u> <Up>
&quot;cnoremap <C-u> <Up>
inoremap <C-e> <Down>
&quot;cnoremap <C-e> <Down>
inoremap <C-i> <Right>
&quot;cnoremap <C-i> <Right>
While you always have to press Ctrl to use the cursors, they work in almost every mode and it doesn't remap your whole Vim like Shai's version does.
IBM Model F XT + Soarer's USB Converter || Cherry G80-3000/Clears

The storage list:
IBM Model F AT || Cherry G80-3000/Blues || Compaq MX11800 (Cherry brown, bizarre layout) || IBM KB-8923 (model M-style RD) || G81-3010 Hxx || BTC 5100C || G81-3000 Sxx || Atari keyboard (?)


Currently ignored by: nobody?

Disclaimer: we don\'t help you save money on [strike]keyboards[/strike] hardware, rather we make you feel less bad about your expense.
[/SIZE]

Offline EverythingIBM

  • Posts: 1269
Random trivia for *nix users
« Reply #17 on: Sun, 21 March 2010, 02:08:55 »
Quote from: webwit;165705
Cool. I was playing MUD and wiping out Orcs.


Warcraft 1?

I think what makes warcraft 1 challenging is the fact you can only select, what, 4 units at a time? Then you had to use M to move, and ctrl to select. It was still moderately fun: but I really like warcraft 2.
Keyboards: '86 M, M5-2, M13, SSK, F AT, F XT

Offline ch_123

  • * Exalted Elder
  • Thread Starter
  • Posts: 5860
Random trivia for *nix users
« Reply #18 on: Sun, 21 March 2010, 05:37:11 »
Quote from: ricercar;165709
Hmm, the First George Bush War sounds a lot like the Second George Bush War to me.


They managed to win the first one...
« Last Edit: Sun, 21 March 2010, 05:44:17 by ch_123 »

Offline JBert

  • Posts: 764
Random trivia for *nix users
« Reply #19 on: Sun, 21 March 2010, 09:28:08 »
Quote from: EverythingIBM;165809
Quote from: webwit;165705
Cool. I was playing MUD and wiping out Orcs.
Warcraft 1?

I think what makes warcraft 1 challenging is the fact you can only select, what, 4 units at a time? Then you had to use M to move, and ctrl to select. It was still moderately fun: but I really like warcraft 2.
Ehr no, MUD. That's text for you.
IBM Model F XT + Soarer's USB Converter || Cherry G80-3000/Clears

The storage list:
IBM Model F AT || Cherry G80-3000/Blues || Compaq MX11800 (Cherry brown, bizarre layout) || IBM KB-8923 (model M-style RD) || G81-3010 Hxx || BTC 5100C || G81-3000 Sxx || Atari keyboard (?)


Currently ignored by: nobody?

Disclaimer: we don\'t help you save money on [strike]keyboards[/strike] hardware, rather we make you feel less bad about your expense.
[/SIZE]

Offline EverythingIBM

  • Posts: 1269
Random trivia for *nix users
« Reply #20 on: Sun, 21 March 2010, 15:40:25 »
Quote from: JBert;165850
Ehr no, MUD. That's text for you.


I thought he meant mud and warcraft 1.

I know about mud games; I'm not the biggest fan of them.
Keyboards: '86 M, M5-2, M13, SSK, F AT, F XT

Offline HaaTa

  • Master Kiibohd Hunter
  • Posts: 794
  • Location: San Jose, CA, USA
  • Kiibohds!
    • http://kiibohd.com
Random trivia for *nix users
« Reply #21 on: Sun, 21 March 2010, 20:22:34 »
Quote from: JBert;165749
I got this in my .vimrc to use UNEI:
Code: [Select]
nnoremap <C-n> h
xnoremap <C-n> h
onoremap <C-n> h
nnoremap <C-u> k
xnoremap <C-u> k
onoremap <C-u> k
nnoremap <C-e> j
xnoremap <C-e> j
onoremap <C-e> j
nnoremap <C-i> l
xnoremap <C-i> l
onoremap <C-i> l
inoremap <C-n> <Left>
&quot;cnoremap <C-n> <Left>
inoremap <C-u> <Up>
&quot;cnoremap <C-u> <Up>
inoremap <C-e> <Down>
&quot;cnoremap <C-e> <Down>
inoremap <C-i> <Right>
&quot;cnoremap <C-i> <Right>
While you always have to press Ctrl to use the cursors, they work in almost every mode and it doesn't remap your whole Vim like Shai's version does.


Neat! Definitely have to try it out.
Kiibohd

ALWAYS looking for cool and interesting switches
I take requests for making keyboard converters (i.e. *old keyboard* to USB).

Offline ricercar

  • * Elevated Elder
  • Posts: 1697
  • Location: Silicon Valley
  • mostly abides
Random trivia for *nix users
« Reply #22 on: Sun, 21 March 2010, 20:56:15 »
You are in a maze of twisty little passages, all the same.
I trolled Geekhack and all I got was an eponymous SPOS.

Offline pikapika

  • Posts: 66
Random trivia for *nix users
« Reply #23 on: Tue, 23 March 2010, 04:39:38 »
this distro is nice, full text mode, but very efficient and many things can be done
http://inx.maincontent.net

feels a bit like in the old days of vt100

Offline pfink

  • Posts: 196
Random trivia for *nix users
« Reply #24 on: Wed, 24 March 2010, 16:13:50 »
Quote from: ricercar;166044
You are in a maze of twisty little passages, all the same.


A hollow voice says "PLUGH".

Offline ricercar

  • * Elevated Elder
  • Posts: 1697
  • Location: Silicon Valley
  • mostly abides
Random trivia for *nix users
« Reply #25 on: Wed, 24 March 2010, 17:42:09 »
I call your PLUGH and raise you an XYZZY!
I trolled Geekhack and all I got was an eponymous SPOS.

Offline Xuan

  • Posts: 189
Random trivia for *nix users
« Reply #26 on: Wed, 24 March 2010, 22:35:30 »
Quote from: ricercar;166610
I call your PLUGH and raise you an XYZZY!


You guys would like emacs dunnet.

Offline DreymaR

  • Posts: 184
  • Location: Norway
  • Colemak forum guy
    • DreymaR's Big Bag of Kbd Tricks
Random trivia for *nix users
« Reply #27 on: Thu, 25 March 2010, 03:28:57 »
PLOVER.

On a side note: I use the Alt key myself, for Vim's omnimode UNEI navigation needs. I use mostly GVim in Windows, and if you hit and then release the Alt key you get menu selection which frees up the Alt key for key combos like these - brilliant!

I do a lot more, fiddler that I am, but I try to be a bit less intrusive than Shai was.

Excerpt (if you don't want to remap the unmodified UNEI keys, use M-unei mappings throughout):
Code: [Select]
set winaltkeys=no &quot; allow mapping of alt (meta) key shortcuts
&quot; Make Alt pop up the menu for all keys, mappings in use will be overridden subsequentially
&quot; Note that menus can also be activated by pressind AND RELEASING the Alt key first, and then the letter key!
noremap <silent> <M-e> :simalt e<CR>|noremap <silent> <M-i> :simalt i<CR>|
noremap <silent> <M-n> :simalt n<CR>|noremap <silent> <M-u> :simalt u<CR>|

&quot; Up/down/left/right
nnoremap u k|xnoremap u k|onoremap u k|noremap! <M-u> <Up>|snoremap <M-u> <Up>|
nnoremap n h|xnoremap n h|onoremap n h|noremap! <M-n> <Left>|snoremap <M-n> <Left>|
nnoremap e j|xnoremap e j|onoremap e j|noremap! <M-e> <Down>|snoremap <M-e> <Down>|
nnoremap i l|xnoremap i l|onoremap i l|noremap! <M-i> <Right>|snoremap <M-i> <Right>|
&quot; TODO: Exclusive (=not linewise) motions? (gk/gj)
« Last Edit: Thu, 25 March 2010, 08:47:16 by DreymaR »
Better burden you cannot carry than man-wisdom much ~ Hávamál

Offline phobus

  • Posts: 6
Random trivia for *nix users
« Reply #28 on: Thu, 25 March 2010, 06:47:37 »
Quote from: pfink;166587
A hollow voice says "PLUGH".


Quote from: ricercar;166610
I call your PLUGH and raise you an XYZZY!


You are both likely to be eaten by a grue.