DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 8th January 2015
kerasi kerasi is offline
Fdisk Soldier
 
Join Date: Mar 2013
Location: Germany
Posts: 79
Default is this makeable???

Hello again

i watched yesterday this

https://www.youtube.com/watch?v=tc4ROCJYbm0

on 14:23 min you can see the cursor blinking how can i make this work on openbsd? and what background and foreground does he use?

i like the oldschool style
Reply With Quote
  #2   (View Single Post)  
Old 8th January 2015
ibara's Avatar
ibara ibara is offline
Brought VNs to OpenBSD
 
Join Date: Jan 2014
Posts: 728
Default

Quote:
Originally Posted by kerasi View Post
on 14:23 min you can see the cursor blinking how can i make this work on openbsd?
If you just want this for xterm, you would do this:
Code:
$ echo 'XTerm*cursorBlink:true' >> ~/.Xdefaults
$ echo 'XTerm*cursorUnderLine:true' >> ~/.Xdefaults
Quote:
Originally Posted by kerasi View Post
and what background and foreground does he use?
He doesn't. You've never seen a real terminal before, have you?
Reply With Quote
  #3   (View Single Post)  
Old 8th January 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,032
Default

Early Unix systems were not desktop workstations, they were multi-user computer systems that users connected to via hardware devices called terminals. Each terminal would interface as an individual tty(4). If you want to go very old school, acquire one of those, and attach it to your OpenBSD machine via a serial cable ... if your OpenBSD system actually has a serial port. Few manufacturers are including them any longer.
Reply With Quote
  #4   (View Single Post)  
Old 8th January 2015
kerasi kerasi is offline
Fdisk Soldier
 
Join Date: Mar 2013
Location: Germany
Posts: 79
Default

thank you very much i will try that when i'am at home.

my laptop is a ThinkPad T420 he and my docking station unfortunately dont have an serial port :-(
Reply With Quote
  #5   (View Single Post)  
Old 8th January 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,032
Default

This is a picture of a model of the first terminal I used when learning to program computers. As you can see, there's no foreground, no background, and no cursor, blinking or steady.



To the left of the keyboard is a paper tape reader and just above that a paper tape punch. You could write programs while offline, for later execution: you punched paper tape character by character, and later, when connected to the computer, you could load the tape into the reader for input and execution. We had four of these in a small room. Two could be connected to the remote computer, and two could be used offline for punching paper tape.

Top speed: Ten (10) characters per second. 110 bits per second via serial connections.

Last edited by jggimi; 8th January 2015 at 09:50 PM. Reason: clarity
Reply With Quote
  #6   (View Single Post)  
Old 8th January 2015
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,596
Default

There are USB to serial port converter devices. One side you plug in an USB port and the other side is a male 9-pin serial connector.
See ucom(4).

I have two different ones:
  • Code:
    uftdi0 at uhub3 port 1 "FTDI FT232R USB UART" rev 2.00/6.00 addr 2
    ucom0 at uftdi0 portno 1
    See uftdi(4).
  • Code:
    uplcom0 at uhub3 port 1 "Prolific Technology Inc. USB-Serial Controller" rev 1.10/3.00 addr 2
    ucom0 at uplcom0
    See uplcom(4)
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #7   (View Single Post)  
Old 8th January 2015
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,306
Default

Quote:
Originally Posted by kerasi View Post
thank you very much i will try that when i'am at home.
For more context, study the X(7) manpage. In particular, to understand more of what ibara suggests,
  • read about the various settings which can be made to X resources in ~/.Xdefaults.
  • contrast the contents of this file to ~/.Xresources.
Reading manpages is cool. All cool kids read manpages.

Reply With Quote
  #8   (View Single Post)  
Old 9th January 2015
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,345
Default

Quote:
This is a picture of a model of the first terminal I used when learning to program computers. As you can see, there's no foreground, no background, and no cursor, blinking or steady.
My highschool had one of these but no computer. We would dial up the NCAR computer in the next county and place the phone handset in a cradle. When I went to college, I thought that punch cards were a vast improvement over the paper tapes. I took another educational tract and did not return until I bought an Apple II+
Reply With Quote
  #9   (View Single Post)  
Old 9th January 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,032
Default

The computer we used was off-campus, in a computer room with raised floor and forced air cooling. Where I was (also a high school) we had two acoustic coupled modems for the two terminals that could go online. The computer we connected to was an HP 3000 minicomputer, and if I recall correctly it had 32 serial ports and a large bank of modems and phone lines.
Reply With Quote
Old 9th January 2015
hitest's Avatar
hitest hitest is offline
Real Name: George Nielsen
Spam Deminer
 
Join Date: Sep 2008
Location: B.C., Canada
Posts: 293
Default

Quote:
Originally Posted by shep View Post
When I went to college, I thought that punch cards were a vast improvement over the paper tapes. I took another educational tract and did not return until I bought an Apple II+
Ye Gods, I remember using punch cards and waiting for my print out down in the bowels of the computer science building of my university many moons ago. I also remember that one miss-placed typo f***ed up everything.
__________________
hitest
Reply With Quote
Old 9th January 2015
kerasi kerasi is offline
Fdisk Soldier
 
Join Date: Mar 2013
Location: Germany
Posts: 79
Default

perfect it works with blinking :-) but how can i change the interval of blinking higher?

and how can i have this blue readable in xterm? when i type

XTerm*background:black
XTerm*foreground:blue

it is not good readable
Reply With Quote
Old 9th January 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,032
Default

Ebay?
Reply With Quote
Old 9th January 2015
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,306
Default

Quote:
Originally Posted by kerasi View Post
...but how can i change the interval of blinking higher?
The rate is not configurable. I suspect xterm is emulating ANSI codes, but you can dig into the code if this is critical.
Quote:
and how can i have this blue readable in xterm?
http://lmgtfy.com/?q=Xterm+colors
Reply With Quote
Old 9th January 2015
kerasi kerasi is offline
Fdisk Soldier
 
Join Date: Mar 2013
Location: Germany
Posts: 79
Default

thank you very much
Reply With Quote
Old 9th January 2015
ibara's Avatar
ibara ibara is offline
Brought VNs to OpenBSD
 
Join Date: Jan 2014
Posts: 728
Default

Quote:
Originally Posted by ocicat View Post
The rate is not configurable. I suspect xterm is emulating ANSI codes, but you can dig into the code if this is critical.
Yes it is (in xterm at least):
Code:
$ echo 'XTerm*cursorOffTime:milliseconds' >> ~/.Xdefaults
$ echo 'XTerm*cursorOnTime:milliseconds' >> ~/.Xdefaults
But what kerasi should be doing is reading the man page because everything asked thusfar is in there.
Reply With Quote
Old 9th January 2015
kerasi kerasi is offline
Fdisk Soldier
 
Join Date: Mar 2013
Location: Germany
Posts: 79
Default

ok big thanks :-) i will read the man page

@ibara is this an Neo Geo Machine?
Reply With Quote
Old 9th January 2015
ibara's Avatar
ibara ibara is offline
Brought VNs to OpenBSD
 
Join Date: Jan 2014
Posts: 728
Default

Quote:
Originally Posted by kerasi View Post
@ibara is this an Neo Geo Machine?
No. It's my Sega Blast City.
Full screenshot: http://devio.us/~bcallah/images/blastsept2011.jpg
Reply With Quote
Old 9th January 2015
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,596
Default

Re: colors

You set the foreground and background colors of an xterm(1) individually:
Code:
$ xterm -fg rgb:20/D0/C0 -bg rgb:30/30/50 -geometry 80x40 &
$ xterm -fg rgb:2F/ff/ff -bg black &
You can use showrgb(1) to get a (long) overview of the predefined colors. Or preview the colors with their codes at http://pln.jonas.me/xterm-colors
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
Old 11th January 2015
kerasi kerasi is offline
Fdisk Soldier
 
Join Date: Mar 2013
Location: Germany
Posts: 79
Default

@ibara

it works now it is blinking like in the video :-)
nolw i need only the right blue color and the thickness of the letters, i have an 24 NEC Monitor with 1920x1200 and the letters in the xterm are to small.

how can i set DPI, antialiasing, hinting and other X font settings

can you show me please your configs?

do i need for this the .Xdefaults or the .Xresources?

Last edited by kerasi; 11th January 2015 at 06:38 AM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:35 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick