One simple fairy tale, and maybe not a fairy tale,
Or maybe I just want to tell you,
About paintkad and iota, pro internet is free,
About Railways and Asus, about the touch screen ...

')
Once my Yota keychain worked on the WiMax network. And I in a rented apartment (for lack of the best option of access to the Internet) used it. One day, Yota switched to LTE and distributed new keyfobs that support this standard. I went to the Moscow Atrium at the Kursk railway station (one of the issuing centers), having given a passport scan and putting a couple of signatures, I received for free a new black LTE keychain.
Less than a year passed and then the day came when I stopped using it, switched to a completely different apartment on ADSL. I stopped paying for it and rearranged the tariff for Free (64 Kbps).
The key fob was lying in the bag, and every day, leaving Podolsk to work in Moscow, I drove about an hour for the distance at which, as it turned out, Yota decently catches and the signal does not fall off.
In the free mode, the keyfob operates at the speed of the old dial-up modem and, as expected, gives out 5-6 KBytes / second. Browsing sites at that speed, even with images, scripts, and flashes off, is hellish torment. I just want to see the text, read Habr, forums, news, and at the same time to answer somewhere on the forum something.
My Asus T101MT laptop is a touchscreen transformer netbook (with a resistive screen and with a stylus in a special slot on the side), where the screen can be twisted upside down on a hinge and it will turn out to be a fat and warm tablet (about 27-28 mm thick).

(image from the article
www.engadget.com/2010/04/27/asus-eee-pc-t101mt-review )
Then one day, sitting in a carriage, being neighbors squeezed on both sides, crammed with passengers with merchants, beggars and musicians who occasionally pushed between them - I thought, what if I sat with this Windows tablet in the internet. All browsers are sharpened under the mouse, unfortunately, and they do not have virtual keyboards for input, so this is inconvenient. Opera was released for touchscreen Windows (it is very similar to the android version) - but it did not have Russian on the virtual keyboard and this version of Opera itself was not updated for a very long time.
And I started writing my touch browser, it was December 2012 outside. I inserted this browser as one of the entertainment for users in the Extra menu of the PaintCAD 4Windows graphic editor. With the idea of ​​“tired of drawing - get on the Internet, even at low speeds, on a hike, in a far point of the world where GPRS or another access mode / modem barely breathes”, Yota just emulated such a slow mode so that I could debug it continue to use.

According to the canons of paintkad (graph editor with keyboard / touch controls), the browser had to be simultaneously controlled either from the keyboard, or the mouse, or from the touch screen, or from several of these devices in any combination.
Holding the touchscreen tablet in both hands, the easiest thing was for me to click on the left and right edges of the screen — so I placed browser control buttons along the edges of the screen. In the middle of the screen is the web page drawing box itself (a component of Internet Explorer). And above the input field of the address and under it the field with the page title.

In many browsers, the stop download button and the Refresh button are combined into one. Therefore, when a browser with such a button hangs up due to excessive efforts to load the page, and the text has loaded and you want to read it, clicking on such a button may work as Stop, or as a repeated Update, and will have to wait for the download again.
Therefore, in the Bro browser, the Stop button and the Update button are two different buttons, both located in the upper left corner of the screen.
Control buttons on the left side of the screen
The
Stop button also displays the progress of the page loading. While the page is loading, the Stop button becomes active (turns red) and the progress indicator creeps inside the square icon on it. When the download is complete, the Stop turns gray again, and at the bottom of the button the number of seconds that was spent on loading the page appears.

Green button
Update with star is always available. The Back and Forward buttons with arrows become active and blue when you can climb backward or forward, respectively.


The button with the checkbox goes to the bookmarks page (by the way, the browser starts working on this page). The same button with a checkbox and a “plus” adds the current page to bookmarks.

Edit
Bookmarks (delete, swap) can be found in the bro.ini file, located in the folder of paintkad. It is easy to get to it if you click the "Edit" link at the top of the bookmarks page. After making corrections in the notepad in this file - the modified bookmarks will appear in the list after calling the "bookmarks" again.

The most interesting button is half a button wide with a narrow arrow and mouse.
The “mouse” becomes red and active if you press
Ctrl + M - then you can use the keyboard arrow to control the mouse cursor, press the left mouse button with the space bar, and press the right mouse button with the Z key. If you want to control the browser from the keyboard, then without this mode, it will not be possible to normally and more or less quickly put the focus in the desired line / field on the web page, as well as click links. Therefore this mode has been added.
But the button “with a narrow arrow”, when you click on it, shows / hides the
virtual keyboard on the lower half-screens, using it you can type texts in Russian and English on the touch screen (switching with the button Rus / Lat) in the address bar or in any fields of the browser:

And the lowest button on the left is
“Close” the browser window.
Control buttons on the right side of the screen

On the 4 buttons, there is a
lever on the right side
, with which you can scroll the page up or down . I don’t like the modern way of scrolling pages by scrolling multiple times with a finger on the screen. I just wanted to click in one place on the screen - and so that the page itself went. At rest, the lever is in the middle and the page is also worth it. But it is necessary to press the lever above the middle of the field - and the page will go up, the farther from the middle - the faster the speed. Similarly, clicking below the middle scrolls down the page.
With the
Shift pressed, the same lever controls the scale of the page display.
If you press Up or Down on the keyboard, then the lever is deflected to some value specified in the program. If at the same time hold
Ctrl - then the lever will deviate much more. And if you hold down
Alt , then the page scrolling will take place not in the horizontal, but in the vertical direction (for some wide pages).
If you screwed up the scale and you want to unscrew it back - then the combination
Ctrl + Shift + Down will make not very small letters, but will reset the scale to 100%.
Well, the last 4 buttons at the bottom right - it is to activate the pictures (flag DLCTL_DLIMAGES), flash (flags DLCTL_NO_DLACTIVEXCTLS and DLCTL_NO_RUNACTIVEXCTLS), java (DLCTL_NO_JAVA) and scripts (DLCTL_NO_RRACTACT_EXOJR_) The buttons can be red (turned off) and green (turned on). By default, they are all turned off and only text is loaded.

Also, if you hold down
Alt , then on the buttons on the left and on the right you will see keyboard shortcuts with which they are “pressed” from the keyboard:

Also, if you press F10 - a single click on the address bar will be performed. Therefore,
double-clicking F10 is to place the cursor in the address bar and select the entire current address (then press Backspace, delete it and enter another one).
The lever from the keyboard works adequately only when the focus is in the address bar, if the focus lies inside the browser field - then you first need to press the double F10, and then just use the lever (press the physical keyboard up and down). Otherwise, the browser field will interpret keystrokes on the navigation itself.
Fighting the Yota stub
If you have a free tariff, then every 24 hours Yota will slip a stub into the browser with a suggestion to change the tariff. With pictures this business looks like this:

The goal is to scroll the page down, expand the page fragment with the free rate and click "Connect". And then for the next 24 hours you have free 6 kilobytes per second.
But by default, images are disabled - and without images it looks worse:

To open the fragments work, you need to enable Scripts (F9) and refresh the page. Then get to the bottom of the page to the words “Continue at a slow speed”, press it and in the list that opens click the “Connect” button:

After that, you will automatically be transferred to the requested page, and the scripts can be disabled:

IRC chat in the browser
Once upon a time I was on the Internet through the same dial-up modem and taking into account traffic. And therefore, most of all I liked to sit in the IRC chat, or rather, in one of his clients - the little world (mIRC) - eats little traffic and is interesting. In the world, you could write your own scripts (and any ready-made NoNaMe script was distributed), there were a lot of different settings, file transfer, etc. etc.
Nostalgia tortured me and I thought that through these 6 kb / s you can push through IRC traffic. But IRC is such a thing, it can be colored and with text styles (bold, non-greasy, inverted, etc.). Therefore, I wanted to display it straight to the browser. It only remained to prepare a local file with the necessary coloring of the text and styles, and feed it to the browser every N sec during the update of the chat. At the same time, it was necessary to turn the browser window to the very bottom in order to see what was added there.
Calling an IRC client in a paintkad is made through the same Extra menu:

After the call, a window with the main settings is displayed:

Use the
Ctrl + 1 - Ctrl + 6 buttons to select one of the IRC networks.
The port number affects the encoding of texts in the chat, usually 6667 is what you need, but if instead of Russian there are incomprehensible characters, then a table of encodings for each IRC network is displayed during connection (in transliteration, so that everyone understands, even those who got into IRC curve-encoded), and you will need to remember the port, pop out and enter it in the "Port" field.
Nickname - your nickname in the chat. You can press Ctrl + N to give the paintkad a nickname for you.
Password - if your nickname is already registered, enter the password here and it will be transferred to the server after connecting as "/ ns identify password". And if not, then you can enter nothing here. In the IRC client itself, it is possible to enter a password after connecting to the server (see below).
User name - here enter any email (you can your own, you can someone else).
Real name - here we enter Vasya, Petya, Masha, etc.
Autologin on - we enter the list of channels. Channel names begin with a # sign and are separated by commas.
Font - for those who do not like to peer at the screen, you can choose a different font name and a different size. But generally I advise you to use monospaced fonts, since in IRC, it is possible to draw pseudographics from characters and, with non-monospaced fonts, pseudographic images will skew and break horizontally.
Background - you can sit in a chat on a black background (soothes your eyes, you sit like an oscilloscope), and you can read black texts on a white background. An amateur, in general.
At the end of the input, click
Connection (ENTER) and wait.
A browser window will appear, but in a new quality - an IRC client: now the line for entering text and commands is at the bottom. Side buttons have other functions than in browser mode. And the line "title of the site" now shows a list of channels on which you went.

The chat window will first display information about the available commands of the IRC-client Retro (short help), and then the text from the server will appear. This is a bunch of service information, the message of the day (message of the day, MOTD). If the nickname is registered (like mine) - then a message will be issued about entering the password, otherwise your nickname Vasya, which is assigned to another person (and you don’t know his password), in a few minutes will turn into some sort of _Vasya so that you will not be confused with Vasya his friends.
There are “services” in IRC (in particular, in the ircnet.ru network they are as described below, and in other networks they may have other names or they may be absent altogether):
NickServ - manages registration of nicknames, change of passwords, change of information about yourself, requests for information about other registered nicknames
ChanServ - manages the registration and deletion of channels (chat rooms)
MemoServ - manages the transfer of messages to offline. You can leave a message (and even several messages) to a registered user, and he will see a notification and be able to read these messages when logged in the next time.
All services have a detailed help system - you just need to write the help command in the private service and he will answer you with this help in the chat. For example, "/ w NickServ help" or "/ ns help". Similar to "/ cs help" and "/ ms help".
So, in
order to register your current nickname , you need to write to the private NickServ service:
"/ w NickServ register password email" or briefly
"/ ns register password email" , where the password is your password and email is your email (you can enter any , but it is believed that in case of problems with IRC someone (server administrators or something) will communicate with you through it, although I have never seen such communication).
And in order to enter your password when logging into IRC from a registered nickname, you need to write
"/ ns identify password" . For those who are too lazy to enter - the lower right button with an asterisk (F7) - it will enter everything for you ("/ ns identify") except your password, it remains to enter the password and press Enter:

After identification, it will be written that everything is OK and you will even automatically be thrown onto your favorite channels:

Next to the asterisk button there is a button with an identity icon - this button allows you to view information about yourself as you are visible to other users:

The button will call the whois command for your nickname, as well as more detailed information on the command "/ ns info nickname". The results will come out in the chat.

When you first log into IRC, you won’t be put on any channels. What to do? Write
"/ list> 10" - this will find all the channels on which more than 10 people are online, and will list to the chat:

If the list is too long - you can interrupt the output by pressing any key on the keyboard. The list shows the names of channels (starting with a # sign) and topics (themes) of channels. In IRC, there are quiz channels in which a user bot sits and can be played with him, he makes riddles, anagrams, questions - and other users guess and score points, taking a certain place in the overall rating. Also in IRC there are channels with bots for playing mafia, with bots telling jokes, with bots performing various funny commands, with bots clearing on request to Wikipedia and showing an excerpt of the text of the article you need, with bots showing the exact current time and etc.
To enter the channel, you must enter
"/ join # name of the channel" or
"/ j # name of the channel" . To exit the channel, you must enter
"/ part # channel name" or
"/ p # channel name" . Each of the channels to which you have entered is assigned a unique number from 1 and above. The list of current channels is displayed above the input line:

And the number of the current channel to which you write if you type something into the input line is displayed on the button at the top left of the window. By pressing the button, the current channel number changes to the next. Here is the button with the active third channel:

Also, the channel number can be changed in the input field: if, for example, write in the chat
"/ 3" and press the spacebar, then the channel will immediately change to the third.
Accordingly, it is possible to access it from the channel by the number:
"/ p 2" will allow you to leave channel number 2, and channel number 3 and the following will automatically decrease their number by one.
To add any of the channels to your favorite list and to open them every time you enter the chat after entering the password, you need to write
"/ ns ajoin add # channel name" . You can also remove channels from your favorite list with the command
"/ ns ajoin del # channel name" . In order not to write such long commands - there are buttons on the left side of the screen:

These buttons will allow you to add the current channel to your favorite channel list or remove it from there. After performing the operation, the command
"/ ns ajoin list" is automatically called, which shows the channels remaining in the list of favorites.
In the chat itself, you can just chat on the channel by typing text in the input field and pressing Enter. And you can write to someone in
private through the command
"/ w nickname text messages .
"The chat window can be minimized to the taskbar if you click the down arrow button on the left side of the screen:

The current channel can be left without entering anything into the chat line, but simply by pressing the P button on the left side of the screen:

“Invites” are also common in IRC - this is when someone invites you to any channel. You can confirm the invitation and enter the channel by clicking on the button with the letter “I” on the left side of the screen or by entering the chat "/ i":

Often, sitting in an IRC chat, people make not only friends, but also enemies, as well as those from whom I would like to hide. The "+ i" button turns on stealth mode (invisible), by default it is turned on and it helps to hide some information about yourself, even, as far as I remember, to hide the fact of your login in the chat.

Sometimes in the chat they write something interesting and big. But how to read this if the chat is scrolling down all the time? The "C" button allows you to turn off the chat update for a while, while it will be updated, all messages will be received but not displayed on the screen until the chat update is turned on again:

When entering a channel, a list of all channel users will be displayed in the chat. But before some nicknames there will be a dog @, and in front of some plus +. These are user rights on the channel.
"@" Is the "op" channel operator, it can kick everyone, ban by nick and even by mask, change the channel settings, etc.
"+" Is "voice" (voice), it can talk on the channel even when the "silent except for opov" channel mode is on.
A white nickname without everything is a regular user.Also in some IRC networks there are nicknames with a dot in front of a nickname - these are half-op, semi-operators, operators with reduced rights.All user rights are checkboxes. The same invisibility is the + i flag. Registered user - checkbox + r. The operator on the channel - check box + o. The voice on the channel is + v. And so on.
There are also checkboxes for channels that allow you to define channel settings.Not all checkboxes, but some can be switched from oneself, from other users or channels (if you have rights) through the "/ mode nickname / channel ± flags" command , where checkboxes with pluses are those that are turned on, and checkboxes with minuses - those that turn off.If you prank a lot in IRC and swear at anyone, you can get on IRCop, IRC-op, he usually has much broader rights not only on any channel, but also generally on the server. Therefore, you can get K-line (permanent ban on this server) or G-line (global permanent ban on all servers of this IRC network) from irkop. Therefore, it is better to look at the user information first via / ns info or whois, it will usually be written there that he is an irkop.If you are suddenly disconnected from IRC, then at the next call you will receive a message that such a nickname is already logged in, and your nickname will immediately become with some sort of symbol "_nik". This means that your last session (ghost, ghost) remained hanging. You can wait about three minutes and she will fall off herself, or write the command "/ ns ghost nickname password" to kill the last session and change the nickname to your daily command "/ nick vannik" .Downloading files through Yota
Once, when I did not have a dial-up modem, I ran to an “Internet cafe” with a pack of floppy disks, to pump up the most there, to pack into several volumes a RAR archive with recovery information, and to drag home on diskettes (breaking on the way half of them and then for a long time restoring these archives). Then, when the dial-up modem appeared, I was sitting at home, staring at the monitor, leaving to drink tea and waited a long time for the next MP3 song to be downloaded. 20 minutes rocked five megabytes - and here it is, my dear, lies with me!You can feel it again if you use the free Yota. Therefore, in the paintkad, the “Specials” menu was created, where I began to put not so much entertainment as utility tools. The utility "Download file" is just there:
The direct link it will be able to download your any file (through it is updated paintkad, if you check for updates and paintkad will tell you that a new version):
And you can long enjoy the download speed and the remaining time (of course you can download files from links directly from your browser, then the standard IE boot loader will open, but then you will not see all these details accurate to kilobytes and bytes):
Time synchronization
Many will say "this feature is built into Windows." Yes, but the workstand works in any Windows since Windows 95 (if you have ie4.0), and in those dense Windows this feature was not. Therefore, in the "Special" menu there is an item "Time Synchronization".
Enter the name of any NTP server (by default, one of the servers has already been entered) and press Enter.
And if the server is online now, a message about successful synchronization will be displayed, and even the time BEFORE and AFTER the synchronization to evaluate how much your PC is lagging behind / in a hurry.
Raw site log analyzer
Sometimes in field conditions I want to evaluate the traffic to my site. We download logs and call the command "Analyzer of raw-site logs" in the menu "Extra-Special".
We specify the log file and enter the search filter. You can enter a file name, or you can also use a date (or something else) through the vertical bar. All log lines will be searched and filtered to match all parts of the filter string. Those.
the vertical bar here is a logical I. For example, “file.txt | 10 / sep” is a search for statistics on the file file.txt only for the date of September 10th.
Paintkad will rustle progress indicator and open analysis results in your standard browser. In principle, the result will be in the root directory of the paintkad in the rawlog.htm file, so you can open it even in the Bro browser (via the Extra - Special - Open the file in the Bro browser) command.
First, it returns all the found lines (if the filter was set to empty, then this section will not be, because why pour out all the lines of the log at all).
Then comes the rating section for queries:
Then the ranking of links on sites that link to your file:
Then the rating of appeals by dates. Moreover, these are just calls, because they can be downloaded by any download manager who downloads a file in parallel, and thus the file will be downloaded once, and there will be 10 downloads (from zero byte, from 1000 byte, from 2000 byte and t .d.)
Well, in the end - rating by browsers (on the agent line):
The parser was written for a specific log line format, but after reading different texts about log formats, it seemed to me that there are abbreviated log formats (when the string is shortened, the parameters in it are smaller), in them the log analyzer may not work properly.Conclusion
A year has passed since December 2012, when Bro's browser became a reality. And later tightened and other utilities. Now, sitting or even standing in a clogged train, I can get a laptop out of my bag with my little finger, turn the screen outside, stick a keychain in my laptop, and sit free in forums, news sites, blogs and even IRC chat, and also download files, synchronize time and view site logs.If you want to do the same, if you have cases where only slow internet is available, if you like IRC chat with output of all the channels in the world of warcraft style in one window, then you can also use all these utilities in the Extra "Paintkad.Links
The latest version of the paintkad 1.2.3.922 (11 megabytes) lies at: blackstrip.ru/pcw.rarThere is also beta 1.2.4 (the lonely exe file that you are recommended to throw into the folder with the installed patch 1.2.3), lies at: blackstrip. ru / paintcad.exeAnd, by the way, this is a graphic editor, and in it you can still draw pixel art, make and parse gif-animations, png with translucency, assemble avi-files from frames and disassemble avi-files into frames, draw 3d-pictures and animations, work with 3d MPO and JPS formats, take photos and videos on webcam. But this is another story that goes beyond the scope of this article.