Live data from Hacker News

What happens when you open a terminal and enter `ls’

warp.dev

31–40 of 60 posts

Re: What happens when you open a terminal and enter `ls’

#33

> ASCII text would be transmitted character-by-character over the wire as the user typed. How does that work exactly on a lower level, say the current? ASCII text would be decoded to the binary and 1s would be high voltage and 0s would be low? And if there's no data transmitted it would be all low voltage?

On the old terminals, the wire sits at one voltage level until a character is transmitted. After that, the bits are spaced out at agreed-upon time intervals. So the receiver detects the first transition, and then reads and stores the bits by applying the same timing, then waits for the next character. Meanwhile, the value of that character, say an 8-bit number, is stored in a register, and typically the processor is…

In the olden days, I'd drive my Fred Flintstone car to work. Serial I/O was done by wire-wrapping a UART chip on the board, which handled all the dirty details.

https://en.wikipedia.org/wiki/8250_UART

Though the UART chip I used was years earlier than that. Perhaps the Wikipedia article is wrong on that point.

Re: What happens when you open a terminal and enter `ls’

#35
post #31

I want to use Warp but it has forced telemetry. Any roadmap for making this more private? Would happily give you my money

Another issue is that when an update is available I need to be able to tell Warp that I don’t care at the moment.

Due to the corporate software on my work Mac auto-updates fail. Ordinarily this isn’t a huge deal as I’ll just download the DMG and replace it manually. But Warp drops down an obtrusive overlay and you can’t dismiss it until you update.

I tried to like it, but little forced choices like that sent me back to iTerm 2.

Re: What happens when you open a terminal and enter `ls’

#37
post #26

Earlier quoted context omitted.

Haha, yeah we probably should have added a caveat that this is only applicable to Unix

I assumed so, but then I got curious what would happen in a DOS window.

Thankfully it works in Powershell on Windows. I lost any muscle memory for `dir` a long long time ago.

Re: What happens when you open a terminal and enter `ls’

#38
post #21

That article starts with too many inaccuracies to recommend it to anybody: - Teletypes were designed about a century before the era of mainframes. - Mechanical teletype did not have an "I/O driver" in it. - OS on Mainframe computers did not have a "Kernel", and neither "I/O driver", "Line discipline" or "TTY driver". This model was introduced with UNIX, the OS that ran on minicomputers. - Was ChatGPT used to write th…

I’ve seen many times descriptions of how original teletypes work and how that influences modern terminals.

However, something that I have not seen yet and I’d love to check is an attempt to redesign the terminal from scratch separating historical baggage from the parts that still make sense nowadays.

How would a designer create this tool without the historical precedence? Is tradition holding us back? What new standards could we reach ?

Re: What happens when you open a terminal and enter `ls’

#39
post #31

I want to use Warp but it has forced telemetry. Any roadmap for making this more private? Would happily give you my money

Another issue is that when an update is available I need to be able to tell Warp that I don’t care at the moment. Due to the corporate software on my work Mac auto-updates fail. Ordinarily this isn’t a huge deal as I’ll just download the DMG and replace it manually. But Warp drops down an obtrusive overlay and you can’t dismiss it until you update. I tried to like it, but little forced choices like that sent me back…

Hey, sorry about that! We actually have a WIP fix for this exact issue (the obtrusive overlay that you can't dismiss). Should be out in the next week or two.

Re: What happens when you open a terminal and enter `ls’

#40
post #21

That article starts with too many inaccuracies to recommend it to anybody: - Teletypes were designed about a century before the era of mainframes. - Mechanical teletype did not have an "I/O driver" in it. - OS on Mainframe computers did not have a "Kernel", and neither "I/O driver", "Line discipline" or "TTY driver". This model was introduced with UNIX, the OS that ran on minicomputers. - Was ChatGPT used to write th…

I’ve seen many times descriptions of how original teletypes work and how that influences modern terminals. However, something that I have not seen yet and I’d love to check is an attempt to redesign the terminal from scratch separating historical baggage from the parts that still make sense nowadays. How would a designer create this tool without the historical precedence? Is tradition holding us back? What new standa…

We like some of the baggage for two main reasons. 1) some designs were well thought out back when resources and performance really mattered, a lot, so they make for fast and efficient implementations enforced by spec. 2) perhaps more importantly, we like our old tools to continue working, plain and simple.
Post reply on HN