Commit graph

7 commits

Author SHA1 Message Date
leot
a0bda69102 Update misc/dvtm to 0.15.
pkgsrc changes:
 * Delete NO_CONFIGURE and convert SUBST_STAGE.* to pre-configure as
   suggested in The pkgsrc guide. (no functional changes intended)

Changes:
 * More complicated default key bindings for potentially destructive
   actions to minimize the chance of accidental presses:

    MOD-x-x closes the focused window
    MOD-q-q quits dvtm

 * Simplified client creation code, elimination of useless intermediate
   shell. This should fix Mod-C (the creation of a new window with the
   same working directory as the currently focused window) for systems
   where procfs is available.
 * Copymode coloring: if enabled in config.def.h (which is currently only
   the case for less) the piped scrollback buffer will contain escape
   codes to preserve the coloring.

    $ DVTM_EDITOR=less dvtm

   Generate some colored output and press MOD-e (i.e. CTRL-g-e by
   default) less should now display the same content (that is with
   color) and provide search functionality etc.
 * Urgent flag indications (after a client received a bell) are redrawn
   as soon as possible.
 * Small bug fixes for terminal emulation and mouse actions.
   Slight cleanup of config.def.h and the dvtm-status script.
2016-01-20 14:34:35 +00:00
mef
e96a708e9c Update 0.9 to 0.13
From the web page: http://www.brain-dump.org/projects/dvtm/
dvtm-0.13 released (15.11.2014)
------------------------------
   Changes include:
 * rewritten copy mode as an external process

   Upon MOD+e dvtm pipes the whole screen buffer content to $EDITOR.
   Whatever the editor writes to stdout will be stored in an internal
   dvtm register for later pasting with MOD+p.

   This only works if your editor of choice is usable as a filter i.e:

     echo Hello World | $EDITOR - | cat

   An alternative editor to use can be set with the environment variable
   $DVTM_EDITOR. Instructions for the intended usage together with vis
   can be found at:

     http://lists.suckless.org/dev/1411/23973.html

 * tagging concept working the same as in dwm. Current key bindings are
   as follows:

       Mod-F[1..n]
       Mod-v-[1..n]
              View all windows with nth tag.

       Mod-0 View all windows with any tag.

       Mod-v-Tab
              Toggles to the previously selected tags.

       Mod-V-[1..n]
              Add/remove all windows with nth tag to/from the view.

       Mod-t-[1..n]
              Apply nth tag to focused window.

       Mod-T-[1..n]
              Add/remove nth tag to/from focused window.

   The default configuration sets up five different tags (1-5).

 * rudimentarily sanitize $SHELL such that SHELL=dvtm dvtm is no longer
   a fork bomb.
 * more flexible key binding configuration including the possibility
   to specify key bindings involving 3 subsequent symbols.
 * unified drawing of minimized windows always on the last screen line.
   Previously the arrangement of those minimized windows was done by the
   individual layouts.
 * use of pselect(2) instead of select(2) in order to fix a race condition.
 * cleanups and comments for the terminal emulation code (vt.[ch]).
   This is also in preparation for eventual use in vis.
   Support for italic attributes and terminfo entries ({r,s}itm).
   Recognize '\033];title\007' as title changing sequence.
 * build system (i.e config.mk) should now respect $TERMINFO and $PREFIX
   if set. By default _POSIX_C_SOURCE=200809L and _XOPEN_SOURCE=700 is
   used, if you get compile errors change them to match whatever your
   system needs to expose the required interfaces.
 * Solaris and AIX support (with some tweaks to config.mk)
All in all a lot of code was changed, comments, patches and a thorough
review is always welcome!

As a kind of social experiment I also pushed a mirror of the repository
to github:
 https://github.com/martanne/dvtm

dvtm-0.12 released (05.07.2014)
------------------------------
   Changes include:
 * fixes to the redraw logic
 * new copymode key bindings CTRL+u (page-up), CTRL+d (page-down), CTRL+c (quit)
 * a new layout included in the source tarball but not enabled by default:
   vstack where all windows have the full screen width
 * cleanups to the build system and manual page

The tagging branch[1] has also been rebased. Special thanks to Mark Edgar
for his patches.
dvtm-0.11 released (08.03.2014)
------------------------------
   Changes since the 0.10 release include:
 * keybindings can be defined without any modifier key as result
   config.def.h was reindented. Sorry for the resulting merge
   conflicts.
 * scroll up and down is now also bound to Shift-Page{Up,Down}
 * the window border is no longer drawn if there exists only 1 window.
   This means when you start dvtm without any command you will just
   get a normal shell prompt without any decoration. This might be
   useful for people who use a terminal without builtin scrollback
   buffer support.
 * MOD+Tab switches to the previously focused window
 * Upon terminal resize the whole screen is completely redrawn. This
   fixes an issue with the optimized redraw logic introduced in the
   last release when attaching to an existing session with dtach or
   abduco.
 * the lock functionality (MOD-X) has been removed, use a session
   management tool like abduco to detach from your controlling
   terminal and logout properly using the existing system mechanism.

dvtm-0.10 released (28.12.2013)
------------------------------
  This is mostly a bugfix release with
 * improved redraw logic to reduce cursor flickering
 * better non blocking input handling
 * a couple of fixes to dvtm.info terminfo description (kbs, rs1)
 * various other fixes (fd leakage, misuse of strncpy, handling of I/O errors)
as there were changes to dvtm.info make sure to install the new version.
Furthermore I've rebased the tagging branch, which provides the same tagging
facilities that we know and love from dwm, on top of master:
2014-12-10 04:52:55 +00:00
adam
40f45af31a Changes 0.9:
* copymode

   The copymode gives easy acess to the scroll back buffer. The commands
   use vi style keybindings, use Mod+v to activate it, navigate with
   h,j,k,l,^,$,g,H,M,L,G search with / (forward) and ? (backwards) select
   text with v and copy it with y. Then later paste it with MOD+p.

   The search functionality is also available directly via MOD+/ and MOD+?.

   Read the manual page for further information. This could be useful
   for st users who want a scroll back buffer.

 * alternate screen mode

   The alternate mode is for example used by midnight commander when you
   press CTRL+o to switch between the file manager and the shell where the
   output is now preserved even after multiple switches back and forth.

 * dvtm now ships its own terminfo file dvtm.info (which at this time is
   mostly a copy of the previously used rxvt one) as a consequence $TERM
   within dvtm window is now set to dvtm{,-256color} depending on whether
   the "outer" terminal supports 256 color mode. The value of $TERM within
   dvtm can be overriden by the environment variable DVTM_TERM which
   will be appropriately suffixed by "-256color" if possible.

   So make sure to install the shipped dvtm.info terminal description file
   ("make install" does it by default).

 * MOD+C creates a new window with the same working directory as the
   currently active window (this relies on the /proc filesystem and thus
   only works on Linux furthermore it expects a POSIX.1-2008 conformant
   realpath(3) implementation).

 * -M command line flag to disable mouse support upon startup so that dvtm's
   mouse handling doesn't interfere with standard X text selection

 * -t command line flag to set a static title of the dvtm "root window" i.e.
   the terminal in which dvtm itself runs. If the flag is omitted dvtm now
   sets the title to the one of the currently focused window.

 * dvtm now follows the config.def.h conventions of the other suckless
   projects which prevents conflicts with config.h and thus allows easier
   tracking of the git repository.

 * various terminal emulation fixes

 * various code cleanups all over the place
2013-05-21 12:34:02 +00:00
tonio
d717d4bb97 Use BSD_INSTALL_* instead of simply install and strip
This fixes install under darwin, when strip -s dvtm does not work
2009-02-19 19:22:22 +00:00
tnn
ced61ff320 Update to dvtm-0.5.1 (patch from maintainer in private mail)
Plain ncurses doesn't seem to be supported anymore, so switch over to
use ncursesw by default and remove the corresponding PKG_OPTION.

0.5.1 changes:
 o Compile fix for missing set_escdelay function
 o Correct escape codes for HOME / END keys
 o The Makefile links against libncursesw by default, make unicode is gone

0.5 changes:
 o Scrollback support
 o 256 color support
 o Reduced latency on some keystrokes (lower $ESCDELAY value by default)
 o Statusbar should now support wide characters
 o $DVTM environment variable which is set to the current version
 o Screen lock functionality with Mod+X
 o Support for shifted arrow keys
 o Mod+? now displays the dvtm man page
 o Cygwin compile fix
 o Code cleanups and shrinkage by adding lots of static modifiers
 o Top stack layout (not compiled in by default)
 o Scripting interface over a named pipe (not compiled in by default)
2009-02-17 10:08:15 +00:00
tnn
aedab9a912 Update to dvtm-0.4.1. Contributed by Leonardo Taccari.
* Cursor key mode switching (this fixes arrow keys in vim)
* Characters following an escape are passed to the underlying
  application, this fixes ALT+<n> key combination as used by
  irssi
* A hack to make the keypad sort of work with putty
* Mouse support is now compile time selectable
* Destroy clients when an IO-error occurs
* Correct signal handling (save and restore errno)
* Destroy clients cleanly, prevent zombies
* Added a note about copy & paste to the manual page (use
  SHIFT while selecting or pasting text)
* Some source code formatting fixes
2008-05-25 11:46:33 +00:00
tnn
e209816882 Import dvtm-0.4 as pkgsrc/misc/dvtm.
dvtm brings the concept of tiling window management, popularized by X11-window
managers like dwm to the console. As a console window manager it tries to make
it easy to work with multiple console based programs like vim, mutt, cmus or
irssi.

Packaged by Leonardo Taccari in pkgsrc-wip.
2008-03-09 17:20:47 +00:00