view in tab and focus follows mouse

VIEW in a tab (/w) doesn't get along with focus follows mouse (aka active window tracking; setting bit 0 of HKCU\Control Panel\Desktop\UserPreferencesMask to 1). Moving the mouse away from TCmd (almost always) makes the viewed file disappear. It reappears when I move the mouse back.

TCC 13.00.19 Windows Vista [Version 6.0.6002]
TCC 13.00.19 x64 Windows 7 [Version 6.1.7601]
 

rconn

Administrator
Staff member
May 14, 2008
12,345
150
> VIEW in a tab (/w) doesn't get along with focus follows mouse (aka
> active window tracking; setting bit 0 of HKCU\Control
> Panel\Desktop\UserPreferencesMask to 1). Moving the mouse away
> from TCmd (almost always) makes the viewed file disappear. It
> reappears when I move the mouse back.

There's no way that VIEW in a tab window could work with "focus follows
mouse". It's simply not possible to do in Windows.

Think about what VIEW is actually doing -- it's trying to display a separate
app (v.exe) overlaying a TCMD tab window, and shift the focus automatically
when you move the mouse outside the v.exe window (for example, to the TCMD
menus). When you're telling Windows to automatically change the focus, it's
impossible for TCMD / VIEW to manage it.
 
OK. That does sound impossible. I'll probably use LIST most of the time. I've already got a text editor that starts quickly and uses its own window, although I might find VIEW useful occasionally. Word wrap in LIST would be nice. Have you ruled out any enhancements to LIST or can I add it to the feedback?
 
LIST reads from standard input, so you can always pipe through a word-wrap filter into LIST.

Which assumes I know before I've viewed the file that I want it word-wrapped, I won't change my mind want it not word wrapped, I have a word wrap filter (do I? which one do you use?), and I tell the filter how wide the TCC window is. If I'm going to all that trouble, I can just view the file in my editor.
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,461
88
Albuquerque, NM
prospero.unm.edu
It is a good idea. I could create an alias. What do you use to do word wrap? Maybe sed can do it?

Or awk, or a Windows port of fold. There must be others out there -- a little googling finds source for one called 'fwrap', though it's not quite what I had in mind. Or roll your own. I'm using one of my own creation, though it's ideosyncratic and might not be to your taste; I designed it for English prose rather than program output and it makes various assumptions.
 
Similar threads
Thread starter Title Forum Replies Date
Joe Caverly VIEW window in a TCC tab window problems Support 5
Joe Caverly Display the VIEW window in a Take Command tab window Support 2
T VIEW only works from command line Support 14
vefatica VIEW ... remember the UTF-8 setting? Support 0
Alpengreis Documentation Minor issue in help file for view /E Support 1
vefatica VIEW wrap searches? Support 2
R Documentation Help Nit > bdebugger View Menu Support 0
Joe Caverly Why does TCCRT return VIEW as an internal command? Support 6
Joe Caverly Pipe into VIEW and search Support 12
vefatica VIEW ... CommandPrompt ... TC21 ... unregistered Support 6
vefatica Start VIEW with the toolbar showing? Support 5
rps How to? Piping to View /gb Support 1
vefatica VIEW ... remember no toolbar Support 0
E Fixed View command broken in version 21.0 build 22 Support 9
vefatica File Explorer ... remember view settings? Support 5
vefatica "View" settings still not remembered Support 10
vefatica TCMD ... remember View settings? Support 7
C View Print Wrap - please break at whitespace Support 3
C VIEW PRINT /Wrap doesn't work Support 0
C VIEW PRINT - Documentation corrected - Font size Support 8
C WAD VIEW print multiple files - switches fail Support 10
MickeyF TCC v16 crashes when I hit F1 to view help Support 9
R V19 - 'V' and 'View" Support 6
cgunhouse Crash on View/Folder Support 1
M View doesn't recognize Ctrl+End and Ctrl+Pos1 Support 2
vefatica Speaking of VIEW Support 18
nikbackm VIEW broken in v18 + Windows 10 Support 8
Alpengreis [Bug?] View (V) Prefs Error (TC 18.00.27 x64) Support 4
D Fixed Cut and paste in TC's file/folder view does not remove file Support 17
E View (internal command) does nothing now Support 3
vefatica VIEW and chars in 128-255 Support 4
MickeyF where to view the latest JPSoft newsletter? Support 0
vefatica Fixed No text in List View! Support 4
D Folder/List view changed in v15 Support 8
D How to? V15.00.30 -(help!) - Floating view windows don't open Support 1
nikbackm Fixed v15: VIEW - encoding and CSV issues Support 9
T view command not working Support 5
S TCMD No List-View with Libraries? Support 5
M Sync folder/list view with command window? Support 2
C Fixed Starting editor from VIEW Support 9
J VIEW doesn't work again Support 16
A How to? Invoke View Clipboard from command line Support 8
S Fixed View and V do not work in new 13.04.52 x64 installation Support 11
jwblyth How to? Help will not Load in View (File Viewer)?? Support 4
M Folder View Freezing Support 10
Frank is the search-function in VIEW working? Support 2
H VIEW not "screen reader friendly: Support 7
J VIEW crash on redirected input and numbered bookmarks Support 6
gschizas View uses Windows-1252 codepage instead of System codepage Support 4
D View Help Keyboard Support 1

Similar threads