Attached is a patch to or1ksim 
  that fixes a bug and adds a minor feature:
   
  A)      
  Allows the ‘channels:”xterm”’ 
  feature to function on linux.  (For those lurkers that don’t know, this 
  is a feature that I discovered by reading the simulator code;  It allows 
  UART I/O to be funneled through an interactive xterm terminal window.)  
  The existing implementation relies on SysV STREAMS behavior that Linux does 
  not possess.
  B)      
  Allows arguments to be passed to 
  the xterm from the sim.cfg file, e.g. to set the window dimensions or 
  fonts.
   
  Any reason I can’t check this in 
  ?