Тёмный

When Ctrl+C doesn't exit the editor, you're gonna have a bad day 

timClicks
Подписаться 10 тыс.
Просмотров 655
50% 1

Here's a video of my first 5 minutes of using ed(1). I'm writing a Hello, World program in Rust, but first I need to learn how to quit.
In case you want to see the script at home, this is what I ended up writing:
$ ed hello.rs
hello.rs: No such file or directory
a
fn main() {
println!("Hello, world");
}
^C
?
w
41
q
$ rustc hello.rs
$ ./hello
Hello, world
🦀 Rust resources:
- Tim's tutorial videos timclicks.dev
- Rust Documentation: doc.rust-lang....
- Rust Playground: play.rust-lang...
- Rust in Action (Tim's book!) mng.bz/4MlD
- How to Learn Rust (online course!) learning.accel...
👋 Connect with Tim:
- Twitter: / timclicks
- GitHub: github.com/tim...
- Mastodon: mastodon.nz/@t...
- DEV: dev.to/timclicks/
- Patreon (extra learning materials) / timclicks
🔔 Subscribe to the channel and click the bell icon to stay updated with the latest videos and live streams from timClicks: www.youtube.co...
👍 Like this video if you found it helpful, and share it with your friends who are also interested in Rust programming.

Опубликовано:

 

13 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 5   
@is09002
@is09002 8 месяцев назад
You can use a single dot to finish editing and switch back to command mode
@HendrikNiemeyer
@HendrikNiemeyer 8 месяцев назад
I just love your content ❤
@jamesl5149
@jamesl5149 8 месяцев назад
How did they run ed without a terminal?
@timClicks
@timClicks 8 месяцев назад
I've been wondering that myself ever since I first saw the tweet. I assume that they ran ed locally against files on a server somewhere.
@DaveWarnock
@DaveWarnock 7 месяцев назад
I used ed at University (Management Sciences at UMIST 1983 to 1986). We had vt100 terminals in the teaching labs but in the free access labs we only had teletypes. Ed was the only editor that worked on them.
Далее
why do header files even exist?
10:53
Просмотров 403 тыс.
Китайка и Зеленый Слайм😂😆
00:20
А на каком языке ты ДУМАЕШЬ?
00:57
Why Are Open Source Alternatives So Bad?
13:06
Просмотров 633 тыс.
The Unreasonable Effectiveness of Linux Workstations
12:47
I made my own Code Editor
12:02
Просмотров 295 тыс.
Vim As Your Editor - Introduction
12:24
Просмотров 902 тыс.
Everything Starts with a Note-taking System
21:23
Просмотров 249 тыс.
Kate: The Best GUI Text Editor?
18:46
Просмотров 27 тыс.
Why Democracy Is Mathematically Impossible
23:34
Просмотров 3,9 млн
How to make a web crawler with Rust
56:15
Просмотров 918
Китайка и Зеленый Слайм😂😆
00:20