OSnine on iPadOS now looks like PowerBook G3 Pismo.

This is a screenshot of OSnine that is working on iPadOS. I tried to make it looks like an old PowerBook G3 Pismo. So, I use OSnine in full screen recently.

🇯🇵 日本語 / ja

これは iPadOS 上で動いている OSnine のスクリーンショット。昔の PowerBook G3 Pismo みたいな見た目にしてみた。そんなわけで最近 OSnine はフルスクリーンで使っているよ。

The real PowerBook G3 Pismo.

This is a real one of PowerBook G3 Pismo. Keyboard is transparent, but I could say it looks like recent iPad Pro with Magic Keyboard, at least an atmosphere. And the real Mac OS 9 at those days, was working on this generations PowerBook G3. So, I tried to make OSnine on iPadOS looks like this.

🇯🇵 日本語 / ja

これは実際の PowerBook G3 Pismo. キーボードは透明なんだけど雰囲気的には最近の iPad Pro と Magic Keyboard の組み合わせに似てると言えないこともない。で、当時の実際の Mac OS 9 ってこの世代の PowerBook G3 で動いていたんだよ。ってことで iPadOS 上での OSnine をこんな感じにしてみたと。

The latest updates. Paste from clipboard.

Let's talk about the latest updates of OSnine a little this time as well. I use a shortcut key "Ctrl-Y" to paste text from clipboard when editing text on amEmacs.io just like when using original Emacs. But a menu to confirm pasting text from clipboard was shown so far and it was quite bothersome because it was necessary to tap to finish pasting. This is probably because JavaScript of OSnine controlls clipboard. So I added some code to an app for iPadOS to make it recognize "Ctrl-Y" as an native shortcut key to paste from clipboard. The code is simple. It's like avobe.

🇯🇵 日本語 / ja

今回も OSnine の最近のアップデートについてちょっと書いておこう。amEmacs.io でテキストを編集している時はオリジナルの Emacs を使っている時と同じように Ctrl-Y のショートカットキーでクリップボードからのペーストをしている。ただ今まではそのショートカットキーでペーストしようとすると一回メニューが出てきてしまって、それをタップしないとペーストできなくてそれが超うざかった。たぶんこれは JavaScript 側でクリップボードの制御をしているせい。なので iPadOS のアプリ側に "Ctrl-Y" をペースト用のショートカットキーとして登録してみた。コードはシンプル。以下のような感じ。

override var keyCommands: [UIKeyCommand]? {
return [
.init(title: "Paste", action: #selector(paste(_:)), input: "y", modifierFlags: [.control]),
]
}

With Xcode.

Actually, you'll get it seeing the screenshot at the top of this article, I tried to hide handles which is displayed automatically by iPadOS to resize app, and also I tried to hide a menu at the top of display for Stage Manager, so I recently do couple things for not only OSnine itself, also for an native client app of OSnine.

I'm planning to continue writing articles about OSnine and experimenting with interesting things using OSnine in the future, so stay tuned.

See you then.

🇯🇵 日本語 / ja

実はこの記事の一番上のスクリーンショットを見ればわかるんだけど、iPadOS のアプリで勝手に表示される画面下部のリサイズ用のハンドルを消してみたり、画面上部の Stage Mannager 用のメニュー消したりと最近はコアである OSnine 自体だけじゃなくって、それを使うためのクライアントであるネイティブアプリにもいろいろ手を入れている。

今後もちょこちょこと OSnine についての記事も書いていったり、OSnine を使っておもしろいことしたりしようと思っているのでよろしくっす。

ほなまた。