-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 2fe8a21fd9a2e593fdd00c205062530665f9fddb: path_to: revision_to:
commit 2fe8a21fd9a2e593fdd00c205062530665f9fddb Author: Marc Lehmann <schmorp@schmorp.de> Date: Mon Aug 7 15:59:44 2006 +0000 *** empty log message *** diff --git a/Changes b/Changes
--- a/Changes +++ b/Changes @@ -26,6 +26,7 @@ DUMB: support tex fonts - fix urxvtc.1.pod: it actually claimed -pty-fd would not work. But it does! :-> - rxvt_fatal() in case the locale string is too long for our static buffer. + - fixed many, many, typos in the documentation (patch supplied by ves). 7.8 Mon Jul 17 21:00:46 CEST 2006 - INCOMPATIBLE CHANGE: this version will always read ~/.Xdefaults, diff --git a/doc/rxvt.1.pod b/doc/rxvt.1.pod
--- a/doc/rxvt.1.pod +++ b/doc/rxvt.1.pod @@ -37,7 +37,7 @@ such as cursor-movement while editing -- break otherwise), but that might change. If you are looking for a terminal that supports more exotic scripts, let -me recommend C<mlterm>, which is a very userfriendly, lean and clean +me recommend C<mlterm>, which is a very user friendly, lean and clean terminal emulator. In fact, the reason rxvt-unicode was born was solely because the author couldn't get C<mlterm> to use one font for latin1 and another for japanese. @@ -439,7 +439,7 @@ The window will not be destroyed when @@RXVT_NAME@@ exits. It might be useful to know that @@RXVT_NAME@@ will not close file descriptors passed to it (except for stdin/out/err, of course), so you can use file descriptors to communicate with the programs within the -terminal. This works regardless of wether the C<-embed> option was used or +terminal. This works regardless of whether the C<-embed> option was used or not. Here is a short Gtk2-perl snippet that illustrates how this option can be @@ -454,7 +454,7 @@ used (a longer example is in F<doc/embed>): =item B<-pty-fd> I<file descriptor> Tells @@RXVT_NAME@@ NOT to execute any commands or create a new pty/tty -pair but instead use the given filehandle as the tty master. This is +pair but instead use the given file handle as the tty master. This is useful if you want to drive @@RXVT_NAME@@ as a generic terminal emulator without having to run a program within it. @@ -721,7 +721,7 @@ text font will being used for the given style. When font styles are not enabled, or this option is enabled (B<True>, option B<-is>, the default), bold and italic font styles imply high -intensity foreground/backround colours. Disabling this option (B<False>, +intensity foreground/background colours. Disabling this option (B<False>, option B<+is>) disables this behaviour, the high intensity colours are not reachable. @@ -783,7 +783,7 @@ Example: URxvt.print-pipe: cat > $(TMPDIR=$HOME mktemp urxvt.XXXXXX) This creates a new file in your home directory with the screen contents -everytime you hit C<Print>. +every time you hit C<Print>. =item B<scrollBar:> I<boolean> @@ -815,7 +815,7 @@ B<+si>. B<True>: scroll with scrollback buffer when tty receives new lines (and B<scrollTtyOutput> is False); option B<-sw>. B<False>: do not scroll -with scrollback buffer when tty recieves new lines; option B<+sw>. +with scrollback buffer when tty receives new lines; option B<+sw>. =item B<scrollTtyKeypress:> I<boolean> @@ -1036,7 +1036,7 @@ C<\e> (and so on), which will work with both Xt and @@RXVT_NAME@@'s own processing). You can define a range of keysyms in one shot by providing a I<string> -with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where the delimeter `/' +with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where the delimiter `/' should be a character not used by the strings. Its usage can be demonstrated by an example: @@ -1110,7 +1110,7 @@ C<selection>. Extension names can also be followed by an argument in angle brackets (e.g. C<< searchable-scrollback<M-s> >>, which binds the hotkey for -searchable scorllback to Alt/Meta-s). Mentioning the same extension +searchable scrollback to Alt/Meta-s). Mentioning the same extension multiple times with different arguments will pass multiple arguments to the extension. @@ -1403,11 +1403,11 @@ B<@@RXVT_NAME@@> sets and/or uses the following environment variables: =item B<TERM> Normally set to C<rxvt-unicode>, unless overwritten at configure time, via -resources or on the commandline. +resources or on the command line. =item B<COLORTERM> -Either C<rxvt>, C<rxvt-xpm>, depending on wether @@RXVT_NAME@@ was +Either C<rxvt>, C<rxvt-xpm>, depending on whether @@RXVT_NAME@@ was compiled with XPM support, and optionally with the added extension C<-mono> to indicate that rxvt-unicode runs on a monochrome screen. diff --git a/doc/rxvt.7.pod b/doc/rxvt.7.pod
--- a/doc/rxvt.7.pod +++ b/doc/rxvt.7.pod @@ -92,7 +92,7 @@ meaning it couldn't connect to the daemon, it will start the daemon and re-run the command. Subsequent invocations of the script will re-use the existing daemon. -=head3 How do I distinguish wether I'm running rxvt-unicode or a regular xterm? I need this to decide about setting colors etc. +=head3 How do I distinguish whether I'm running rxvt-unicode or a regular xterm? I need this to decide about setting colors etc. The original rxvt and rxvt-unicode always export the variable "COLORTERM", so you can check and see if that is set. Note that several programs, JED, @@ -146,7 +146,7 @@ already in use in this mode. When you C<--enable-everything> (which I<is> unfair, as this involves xft and full locale/XIM support which are quite bloaty inside libX11 and my -libc), the two diverge, but not unreasnobaly so. +libc), the two diverge, but not unreasonably so. text data bss drs rss filename 163431 2152 24 20123 2060 rxvt --enable-everything @@ -243,7 +243,7 @@ are unable to read. This requires XFT support, and the support of your X-server. If that doesn't work for you, blame Xorg and Keith Packard. ARGB visuals aren't -there yet, no matter what they claim. Rxvt-Unicode contains the neccessary +there yet, no matter what they claim. Rxvt-Unicode contains the necessary bugfixes and workarounds for Xft and Xlib to make it work, but that doesn't mean that your WM has the required kludges in place. @@ -270,7 +270,7 @@ box, and rxvt-unicode has no way of detecting this (the correct way is to ask for the character bounding box, which unfortunately is wrong in these cases). -It's not clear (to me at least), wether this is a bug in Xft, freetype, +It's not clear (to me at least), whether this is a bug in Xft, freetype, or the respective font. If you encounter this problem you might try using the C<-lsp> option to give the font more height. If that doesn't work, you might be forced to use a different font. @@ -514,7 +514,7 @@ line that contains it. It tries hard not to do this at the wrong moment, but when running a program that doesn't parse cursor movements or in some cases during rlogin sessions, it fails to detect this properly. -You can permamently switch this feature off by disabling the C<readline> +You can permanently switch this feature off by disabling the C<readline> extension: URxvt.perl-ext-common: default,-readline @@ -523,7 +523,7 @@ extension: Some Debian GNUL/Linux users seem to have this problem, although no specific details were reported so far. It is possible that this is caused -by the wrong C<TERM> setting, although the details of wether and how +by the wrong C<TERM> setting, although the details of whether and how this can happen are unknown, as C<TERM=rxvt> should offer a compatible keymap. See the answer to the previous question, and please report if that helped. @@ -559,7 +559,7 @@ depressed. =head3 What's with the strange Backspace/Delete key behaviour? Assuming that the physical Backspace key corresponds to the -BackSpace keysym (not likely for Linux ... see the following +Backspace keysym (not likely for Linux ... see the following question) there are two standard values that can be used for Backspace: C<^H> and C<^?>. @@ -696,15 +696,15 @@ develop for myself mostly, so I actually use most of the extensions I write. The selection stuff mainly makes the selection perl-error-message aware -and tells it to convert pelr error mssages into vi-commands to load the +and tells it to convert perl error messages into vi-commands to load the relevant file and go tot he error line number. URxvt.scrollstyle: plain URxvt.secondaryScroll: true As the documentation says: plain is the preferred scrollbar for the -author. The C<secondaryScroll> confgiures urxvt to scroll in full-screen -apps, like screen, so lines scorlled out of screen end up in urxvt's +author. The C<secondaryScroll> configures urxvt to scroll in full-screen +apps, like screen, so lines scrolled out of screen end up in urxvt's scrollback buffer. URxvt.background: #000000 @@ -765,12 +765,12 @@ I once thought this is a great idea. urxvt.boldItalicFont: xft:Bitstream Vera Sans Mono:bold:italic:autohint=true I wrote rxvt-unicode to be able to specify fonts exactly. So don't be -overwhelmed. A special note: the C<9x15bold> mentioend above is actually +overwhelmed. A special note: the C<9x15bold> mentioned above is actually the version from XFree-3.3, as XFree-4 replaced it by a totally different font (different glyphs for C<;> and many other harmless characters), while the second font is actually the C<9x15bold> from XFree4/XOrg. The bold version has less chars than the medium version, so I use it for rare -characters, too. Whene ditign sources with vim, I use italic for comments +characters, too. When editing sources with vim, I use italic for comments and other stuff, which looks quite good with Bitstream Vera anti-aliased. Terminus is a quite bad font (many very wrong glyphs), but for most of my @@ -831,7 +831,7 @@ Also consider the form resources have to use: URxvt.resource: value If you want to use another form (there are lots of different ways of -specifying resources), make sure you understand wether and why it +specifying resources), make sure you understand whether and why it works. If unsure, use the form above. =head3 When I log-in to another system it tells me about missing terminfo data? @@ -878,7 +878,7 @@ systems still compile some programs using the long-obsoleted termcap library (Fedora Core's bash is one example) and rely on a termcap entry for C<rxvt-unicode>. -You could use rxvt's termcap entry with resonable results in many cases. +You could use rxvt's termcap entry with reasonable results in many cases. You can also create a termcap entry by using terminfo's infocmp program like this: @@ -910,7 +910,7 @@ Or you could use this termcap entry, generated by the command above: =head3 Why does C<ls> no longer have coloured output? The C<ls> in the GNU coreutils unfortunately doesn't use terminfo to -decide wether a terminal has colour, but uses its own configuration +decide whether a terminal has colour, but uses its own configuration file. Needless to say, C<rxvt-unicode> is not in its default file (among with most other terminals supporting colour). Either add: @@ -1061,7 +1061,7 @@ C<ja_JP.EUC-JP> or equivalent. =item - Make sure the C<XMODIFIERS> environment variable is set correctly when I<starting> rxvt-unicode. When you want to use e.g. B<kinput2>, it must be set to -C<@im=kinput2>. For B<scim>, use C<@im=SCIM>. Youc an see what input +C<@im=kinput2>. For B<scim>, use C<@im=SCIM>. You can see what input method servers are running with this command: xprop -root XIM_SERVERS @@ -1116,7 +1116,7 @@ might encounter the same issue. You should build one binary with the default options. F<configure> now enables most useful options, and the trend goes to making them -runtime-switchable, too, so there is usually no drawback to enbaling them, +runtime-switchable, too, so there is usually no drawback to enabling them, except higher disk and possibly memory usage. The perl interpreter should be enabled, as important functionality (menus, selection, likely more in the future) depends on it. @@ -1161,10 +1161,10 @@ following ugly workaround to get non-double-wide-characters working: Rxvt-unicode requires the symbol C<__STDC_ISO_10646__> to be defined in your compile environment, or an implementation that implements it, -wether it defines the symbol or not. C<__STDC_ISO_10646__> requires that +whether it defines the symbol or not. C<__STDC_ISO_10646__> requires that B<wchar_t> is represented as unicode. -As you might have guessed, FreeBSD does neither define this symobl nor +As you might have guessed, FreeBSD does neither define this symbol nor does it support it. Instead, it uses its own internal representation of B<wchar_t>. This is, of course, completely fine with respect to standards. diff --git a/src/urxvt.pm b/src/urxvt.pm
--- a/src/urxvt.pm +++ b/src/urxvt.pm @@ -19,7 +19,7 @@ =head1 DESCRIPTION -Everytime a terminal object gets created, extension scripts specified via +Every time a terminal object gets created, extension scripts specified via the C<perl> resource are loaded and associated with it. Scripts are compiled in a 'use strict' and 'use utf8' environment, and @@ -64,7 +64,7 @@ specifying resources of the form: The index number (0, 1...) must not have any holes, and each regex must contain at least one pair of capturing parentheses, which will be used for -the match. For example, the followign adds a regex that matches everything +the match. For example, the following adds a regex that matches everything between two vertical bars: URxvt.selection.pattern-0: \\|([^|]+)\\| @@ -124,7 +124,7 @@ onto C<@{ $term->{selection_popup_hook} }>, which gets called whenever the popup is being displayed. It's sole argument is the popup menu, which can be modified. The selection -is in C<$_>, which can be used to decide wether to add something or not. +is in C<$_>, which can be used to decide whether to add something or not. It should either return nothing or a string and a code reference. The string will be used as button text and the code reference will be called when the button gets activated and should transform C<$_>. @@ -222,7 +222,7 @@ the message into vi commands to load the file. =item tabbed This transforms the terminal into a tabbar with additional terminals, that -is, it implements what is commonly refered to as "tabbed terminal". The topmost line +is, it implements what is commonly referred to as "tabbed terminal". The topmost line displays a "[NEW]" button, which, when clicked, will add a new tab, followed by one button per tab. @@ -274,7 +274,7 @@ Initially, the window will not be shown when using this extension. This is useful if you need a single terminal thats not using any desktop space most of the time but is quickly available at the press of a key. -The accelerator key is grabbed regardless of any modifers, so this +The accelerator key is grabbed regardless of any modifiers, so this extension will actually grab a physical key just for this function. If you want a quake-like animation, tell your window manager to do so @@ -285,7 +285,7 @@ If you want a quake-like animation, tell your window manager to do so This is basically a very small extension that dynamically changes the background pixmap offset to the window position, in effect creating the same effect as pseudo transparency with a custom pixmap. No scaling is -supported in this mode. Exmaple: +supported in this mode. Example: @@RXVT_NAME@@ -pixmap background.xpm -pe automove-background @@ -432,7 +432,7 @@ Dynamically disable the given hooks. The following subroutines can be declared in extension files, and will be called whenever the relevant event happens. -The first argument passed to them is an extension oject as described in +The first argument passed to them is an extension object as described in the in the C<Extension Objects> section. B<All> of these hooks must return a boolean value. If any of the called @@ -455,7 +455,7 @@ place. =item on_start $term Called at the very end of initialisation of a new terminal, just before -trying to map (display) the toplevel and returning to the mainloop. +trying to map (display) the toplevel and returning to the main loop. =item on_destroy $term @@ -492,13 +492,13 @@ Called whenever a selection has been copied, but before the selection is requested from the server. The selection text can be queried and changed by calling C<< $term->selection >>. -Returning a true value aborts selection grabbing. It will still be hilighted. +Returning a true value aborts selection grabbing. It will still be highlighted. =item on_sel_extend $term Called whenever the user tries to extend the selection (e.g. with a double click) and is either supposed to return false (normal operation), or -should extend the selection itelf and return true to suppress the built-in +should extend the selection itself and return true to suppress the built-in processing. This can happen multiple times, as long as the callback returns true, it will be called on every further click by the user and is supposed to enlarge the selection more and more, if possible. @@ -507,7 +507,7 @@ See the F<selection> example extension. =item on_view_change $term, $offset -Called whenever the view offset changes, i..e the user or program +Called whenever the view offset changes, i.e. the user or program scrolls. Offset C<0> means display the normal terminal, positive values show this many lines of scrollback. @@ -541,7 +541,7 @@ it from commands for other extensions, and this might be enforced in the future. Be careful not ever to trust (in a security sense) the data you receive, -as its source can not easily be controleld (e-mail content, messages from +as its source can not easily be controlled (e-mail content, messages from other users on the same system etc.). =item on_add_lines $term, $string @@ -584,7 +584,7 @@ Called just after the screen gets redrawn. See C<on_refresh_begin>. =item on_user_command $term, $string -Called whenever the a user-configured event is being activated (e.g. via +Called whenever a user-configured event is being activated (e.g. via a C<perl:string> action bound to a key, see description of the B<keysym> resource in the @@RXVT_NAME@@(1) manpage). @@ -593,7 +593,7 @@ slightly in the future. =item on_resize_all_windows $tern, $new_width, $new_height -Called just after the new window size has been calculcated, but before +Called just after the new window size has been calculated, but before windows are actually being resized or hints are being set. If this hook returns TRUE, setting of the window hints is being skipped. @@ -614,7 +614,7 @@ does focus in processing. =item on_focus_out $term -Called wheneever the window loses keyboard focus, before rxvt-unicode does +Called whenever the window loses keyboard focus, before rxvt-unicode does focus out processing. =item on_configure_notify $term, $event @@ -707,12 +707,12 @@ object, whenever a callback/hook is executing. =item @urxvt::TERM_INIT -All coderefs in this array will be called as methods of the next newly +All code references in this array will be called as methods of the next newly created C<urxvt::term> object (during the C<on_init> phase). The array -gets cleared before the codereferences that were in it are being executed, -so coderefs can push themselves onto it again if they so desire. +gets cleared before the code references that were in it are being executed, +so references can push themselves onto it again if they so desire. -This complements to the perl-eval commandline option, but gets executed +This complements to the perl-eval command line option, but gets executed first. =item @urxvt::TERM_EXT @@ -747,7 +747,7 @@ Messages have a size limit of 1023 bytes currently. =item @terms = urxvt::termlist Returns all urxvt::term objects that exist in this process, regardless of -wether they are started, being destroyed etc., so be careful. Only term +whether they are started, being destroyed etc., so be careful. Only term objects that have perl extensions attached will be returned (because there is no urxvt::term objet associated with others). @@ -1195,7 +1195,7 @@ Returns true if the option specified by C<$optval> is enabled, and optionally change it. All option values are stored by name in the hash C<%urxvt::OPTION>. Options not enabled in this binary are not in the hash. -Here is a a likely non-exhaustive list of option names, please see the +Here is a likely non-exhaustive list of option names, please see the source file F</src/optinc.h> to see the actual list: borderLess console cursorBlink cursorUnderline hold iconic insecure @@ -1222,7 +1222,7 @@ likely change). Please note that resource strings will currently only be freed when the terminal is destroyed, so changing options frequently will eat memory. -Here is a a likely non-exhaustive list of resource names, not all of which +Here is a likely non-exhaustive list of resource names, not all of which are supported in every build, please see the source file F</src/rsinc.h> to see the actual list: @@ -1544,7 +1544,7 @@ Returns the currently displayed screen (0 primary, 1 secondary). =item $cursor_is_hidden = $term->hidden_cursor -Returns wether the cursor is currently hidden or not. +Returns whether the cursor is currently hidden or not. =item $view_start = $term->view_start ([$newvalue]) @@ -1731,7 +1731,7 @@ C<< $term->ROW_t >> for details. =item $string = $term->special_decode $text -Converts rxvt-unicodes text reprsentation into a perl string. See +Converts rxvt-unicodes text representation into a perl string. See C<< $term->ROW_t >> for details. =item $success = $term->grab_button ($button, $modifiermask[, $window = $term->vt]) @@ -1744,7 +1744,7 @@ manpage. =item $success = $term->grab ($eventtime[, $sync]) Calls XGrabPointer and XGrabKeyboard in asynchronous (default) or -synchronous (C<$sync> is true). Also remembers the grab timestampe. +synchronous (C<$sync> is true). Also remembers the grab timestamp. =item $term->allow_events_async @@ -2021,7 +2021,7 @@ is a bitset as described in the C<events> method. =item $iow = $iow->fd ($fd) -Set the filedescriptor (not handle) to watch. +Set the file descriptor (not handle) to watch. =item $iow = $iow->events ($eventmask) @@ -2035,7 +2035,7 @@ Start watching for requested events on the given handle. =item $iow = $iow->stop -Stop watching for events on the given filehandle. +Stop watching for events on the given file handle. =back @@ -2092,7 +2092,7 @@ Set the callback to be called when the timer triggers. =item $pw = $timer->start ($pid) -Tells the wqtcher to start watching for process C<$pid>. +Tells the watcher to start watching for process C<$pid>. =item $pw = $pw->stop @@ -2115,7 +2115,7 @@ numbers indicate more verbose output. =item >=10 - all called hooks -=item >=11 - hook reutrn values +=item >=11 - hook return values =back
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 11:00:51 2024