Seth Woolley's Man Viewer

xnc(1) - xnc - File manager for X Window - man 1 xnc

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

xnc(1)                        X Northern Captain                        xnc(1)



NAME
       xnc - File manager for X Window


SYNOPSIS
       xnc [-display xdisplay] [-geometry geom] [-/+rv] [-fn fontname] [-/+ls]
       [-/+sb] [-sl number] [-/+vb] [-C] [-/+si] [-/+fl] [-/+shared]  [-plugin
       plugin_name] [-help]


DESCRIPTION
       This manual page describes the xnc program, the file(1,n) manager for X Win-
       dow. It provides many operations with files  in(1,8)  Virtual  File  System,
       such  as copy, move(3x,7,3x curs_move), delete, rename(1,2,n), view, edit ...  Currently Virtiual
       File System in(1,8) xnc can work with normal disk filesystem,  with  various
       archives  in(1,8)  popular formats and with FTP sessions on remote machines.
       xnc is highly and easily configurable with xncsetup, that  allow  color
       changing, hot keys redefinitions, fonts choosing etc.

       Short description of xnc features:

       o      View two directories in(1,8) two panels with highlighting.

       o      Copy, move(3x,7,3x curs_move), rename(1,2,n), delete files and directories recursivly.

       o      View or edit files with internal ives or external editors.

       o      File execution in(1,8) built-in xterminal.

       o      File association with applications by file(1,n) extension.

       o      Operations with files inside archives.

       o      User menu(3x,n,n tk_menuSetFocus) for quick command execution.

       o      HotDir bookmark for quick changing to useful directories.

       o      Processes information/Signal sending.

       o      Memory infromation.

       o      Disk summary infromation.

       o      Quick ScanDir infromation.

       o      And more...

       Full description of all internal xnc commands with default hot keys for
       them:


       o      Move cursor up/down on the panel(1,3x,3x bottom_panel)  [Up/Down]  -  MoveUp/MoveDown.
              This  command  moves  cursor  one  file(1,n) up or down in(1,8) the active
              panel.

       o      Move    cursor    one    column    up/down    [Left/Right]     -
              MoveLeft/MoveRight.  This command moves cursor one column up and
              down or left and right according to number of columns.

       o      Move  cursor  page  up/down  [PageUp/PageDown]   -   MoveCursor-
              PageUp/MoveCursorPageDown. This command moves cursor one page up
              or down if(3,n) number of files in(1,8) current directory  are  more  that
              for one page.

       o      Move  cursor  home  [Home]  - MoveCursorHome. This command moves
              cursor to the beggining of the  directory  list  where  ..  is
              shown.

       o      Move cursor to the end [End] - MoveCursorEnd. This command moves
              cursor to the last file(1,n) in(1,8) the current directory listing.

       o      Switch between panels [Tab] - SwitchPanels. This  action  allows
              you to change focus between panels and makes one active. You can
              also switch(1,n) between panels by clicking with mouse on  the  panel(1,3x,3x bottom_panel)
              or its header.

       o      Switch  between  Xterminal  and Panels window [Crtl-O] - Switch-
              ToTerm. Allow you to switch(1,n) between panels window and  xterminal
              window  to  view  xterminal output of running programs in(1,8) it and
              then return back to your panels and continue browsing your  file(1,n)
              system tree.

       o      Set inactive panel(1,3x,3x bottom_panel) directory to current one [Ctrl+j] - SetPanel-
              ToCurrent. This command takes directory path from  active  panel(1,3x,3x bottom_panel)
              and  sets  the same path to inactive one. Usefull if(3,n) you want to
              copy to the same directory.

       o      Swap directories in(1,8) the panels [Ctrl+u] - SwapPanels. This  com-
              mand exchanges directory paths between two panels.

       o      Execute  in(1,8)  foreground or changing directory [Enter] - Execute.
              Double left click on file(1,n) or pressing hotkey will  execute  file(1,n)
              in(1,8)  foreground with output to built in(1,8) xterminal. If file(1,n) has no
              execute permission, association menu(3x,n,n tk_menuSetFocus) appears and you can  choose
              command  from it to execute with current file(1,n) as a parameter. If
              current file(1,n) is a directory then xnc changes  current  directory
              to those one under cursor and shows dir contents.

       o      Execute  in(1,8)  background  [Shift-Enter] - Execute. This operation
              allowed only if(3,n) file(1,n) has execute permission.  File  executed  in(1,8)
              background  using  built  in(1,8)  xterminal  shell (& will be auto(5,8)
              added by xnc).

       o      File insertion to command line [Ctrl-Enter] - Execute.  Pressing
              this  combination  or dragging file(1,n) to command line and xnc will
              insert this file(1,n) in(1,8) command. Very useful for  constructing  com-
              mand line parameters.


       o      Insert  left  panel(1,3x,3x bottom_panel)  directory path [Ctrl+[] - InsertLeftDir. If
              this command is activated, then xnc will insert into the command
              line full path from left (top) panel. This command is usefull if(3,n)
              you want combine filename with it full path.

       o      Insert right panel(1,3x,3x bottom_panel) directory path [Ctrl+]] - InsertRightDir.  If
              this command is activated, then xnc will insert into the command
              line full path from right (bottom) panel. This command  is  use-
              full if(3,n) you want combine filename with it full path.

       o      Insert  previous executed command from history(1,3,n,1 builtins) [Shift+Up,Ctrl+e]
              - CmdLineCommandUp. Take previous command from history(1,3,n,1 builtins)  and  put
              it  into  the  command  line.  You can also view all history(1,3,n,1 builtins) and
              choose your remembered command by clicking on the  icon  in(1,8)  the
              left corner of the command line.

       o      Move  cursor  one step right in(1,8) the command line [Shift+Right] -
              CmdLineCommandRight.

       o      Move cursor one step left in(1,8) the command  line  [Shift+Right]  -
              CmdLineCommandLeft.

       o      Manual  Selectection/Deselection  files  and  directories on the
              panels. [Insert] - ManualSelectFile. Use right mouse  button  to
              do this operation with mouse.

       o      Selection/Deselection  by mask. [Gray+ or Gray-] - AddMaskSelec-
              tion/DelMaskSelection.You can type any file(1,n) mask  with  *  and
              ? in(1,8) wildcard. Use Gray + for select(2,7,2 select_tut) files by mask and Gray
              - for deselect or choose  these  operations  from  Operations
              menu.

       o      Invert  selection  of  the files. [Gray*] - InvertMaskSelection.
              Make currently selected files deselected and select(2,7,2 select_tut) others.

       o      Select file(1,n) by extension [Shift+Gray+] -  SelectFileMask.  Takes
              the  extension  of  the  file(1,n) under cursor and selects all files
              with the same extension.

       o      Deselect file(1,n) by  extension  [Shift+Gray-]  -  DeselectFileMask.
              Takes  the  extension of the file(1,n) under cursor and deselects all
              files with the same extension.

       o      Copy s [F5] - CopyFile. With this function you  can  copy  files
              and  directories  to  destination file(1,n) system, where destination
              file(1,n) system may be disk, archive or ftp session. Directories are
              copied recursively. Links are copied as files if(3,n) opposite option
              is not set(7,n,1 builtins) in(1,8) a confirmation copy window.  This  window  appears
              only  if(3,n)  your  option  prompt  on  copy  is on. You can enter
              another directory  in(1,8) this window.  Use Tab  key  for  directory
              name  completion  on normal disk file(1,n) system. If you copy single
              file(1,n) not a selection then you can add new file(1,n) name  to  directy
              path  in(1,8)  the  confirmation  window and file(1,n) will be copied with
              another name.

       o      Move s [F6] - MoveFile. Same as copy  files  but  this  function
              move(3x,7,3x curs_move) files i.e delete it from source panel(1,3x,3x bottom_panel) after copying.

       o      Delete  s  [F8] - DelFile. Delete files and directories from the
              active panel. Directories are deleted recursively. Use mouse  to
              drag  files  and  drop it on recycle bin icon for activating the
              same delete command.

       o      Create archive from s [Shift+F5] - CreateArchive. If you want to
              create  an  archive from some files or directories in(1,8) the active
              panel(1,3x,3x bottom_panel), then select(2,7,2 select_tut) them and activate this command. Dialog window
              apperas  and  the  default  name  or  the  archive is displayed.
              Default arhiver is TAR+GZIP, and if(3,n) you want any other that  xnc
              supports  then  just change extension in(1,8) name of the archive and
              xnc will automatically use necessary arhiver.   For  exmaple  if(3,n)
              you  type  my_first_one.zip then zip archiver will be used and
              my_first_one will be created.  Note that removing directoty name
              from  the name of the archive will push xnc to create archive in(1,8)
              the current directory of the active panel. XNC  can  create  ar-
              chives  only on normal disk file(1,n) system, but from files from any
              type of virtual(5,8) file(1,n) system.

       o      Rename file(1,n) [Shift+F6] - RenameFile. Rename file(1,n) command pop ups
              the dialog(1,3,n) window this the old file(1,n) name in(1,8) it. Change this name
              to any other you want and the  file(1,n)  will  be  renamed.  Command
              works only with one file(1,n) under cursor.

       o      Change attributes [F9] - AttributeFile. Change owner/group/other
              read(2,n,1 builtins)/write(1,2)/execute permissions of file(1,n) or set(7,n,1 builtins)/clear(1,3x,3x clrtobot)  these  per-
              missions for selected files and directories.

       o      Change owner [Shift-F9] - ChangeOwner. Change owner and group of
              s. Pops up dialog(1,3,n) window and you can choose new owner and  group
              from  list or type it on keyboard in(1,8) owner.group format. After
              that owner and/or group will be updated for  selected  files  of
              for file(1,n) under cursor.

       o      Make  directory [F7] - MakeDir. Create directory with given name
              in(1,8) current one.

       o      View file(1,n) [F3] - ViewFile. View current file(1,n) (not selected) with
              IVES or specified viewer.

       o      Simple View [Shift-F3] - SimpleViewFile. Work only with IVES and
              allow you to view file(1,n) in(1,8) simple raw(3x,7,8,3x cbreak)/HEX  mode  even  it  is  an
              image.

       o      Edit file(1,n) [F4] - EditFile. Edit current file(1,n) with IVES or speci-
              fied editor.

       o      New file(1,n) for edit [Shift-F4] - NewFileEdit. Create new file(1,n)  and
              give it to editor.

       o      Print current file(1,n) [Ctrl+F9] - Print. This command sends current
              file(1,n) to the default printer via lpr command.

       o      Memory information [Ctrl-M] - MemoryInfo. Shows memory  informa-
              tion window with output from by free or vmstat command.

       o      Disk information [Ctrl-L] - DiskInfo. Shows window with informa-
              tion about each mounted partition in(1,8) system (executes df  com-
              mand).

       o      Processes  information [F11] - KillMenu. Shows working processes
              and allow you to send(2,n) signal(2,7) to selected process.

       o      Quick ScanDir [Ctrl-Q] - QuickDir. Switch on/off summary  infor-
              mation  window  about current directory and its files and subdi-
              rectories.

       o      Inode file(1,n) information [Crtl+i] - InodeInfo.  Shows  information
              window  with  specific  information about file(1,n) taken from stat(1,2)
              structure.

       o      Quick file(1,n) information  [GrayInsert]  -  QuickFileInfo.  If  you
              activate this command the xnc will show magic(4,5) file(1,n) information
              in(1,8) status bar area of  the  current  panel.  If  any  files  are
              selected  the instead of magic(4,5) file(1,n) information, ordinary infor-
              mation about file(1,n) under cursor will be shown.

       o      Add entry to bookmark  [Ctrl-a]  -  AddtoBookMark.  Add  current
              directory  to  empty  place in(1,8) the bookmark. If bookmark is full
              then addition is failed. If this directory already exists in(1,8) the
              bookmark then folder with that dir starts flushing. Use drag and
              drop from the panel(1,3x,3x bottom_panel) header to empty bookmark area if(3,n) you want to
              add new bookmark folder by mouse.

       o      Switch  to folder [Alt-1..9] - SwitchToBook. Switch active panel(1,3x,3x bottom_panel)
              to directory stored in(1,8) specified bookmark folder. If  the  book-
              mark  folder  does  not  exist  it  will be created with current
              directory and no switching will be made. Click on choosen  book-
              mark folder with mouse to make it visible on active panel.

       o      Delete  current  folder from the bookmark [Alt-Delete] - DelCur-
              rentBook. Delete highlighted folder from the bookmark (not  from
              file(1,n)  system).  Also You can drag any bookmark folder to Recycle
              bin to delete it.

       o      Find files [Ctrl-F] - FindFile. This command opens a  find  file(1,n)
              window  where  file(1,n)  name  or mask need to be specified and find
              results will be shown. Allow recursive directories scanning from
              current or from / directory. You can click on one of the found
              files you are interested in(1,8) and xnc will switch(1,n) active panel(1,3x,3x bottom_panel)  to
              the directory where this file(1,n) is located and set(7,n,1 builtins) cursor to it.

       o      Open  FTP  session [Ctrl+H] - ActivateFtpLink. This command open(2,3,n)
              FTP connection window, where you can choose one of your favorite
              sites  to  connect  to or add one and connect to it via FTP. You
              can also open(2,3,n) FTP session by typing the following command in(1,8) the
              command line: cd ftp://[user@]hostname[:port][/path].

       o      User  Menu  [F2]  -  UserMenu.  Show user menu(3x,n,n tk_menuSetFocus) with commands and
              hotkeys defined for it and allow activate menu(3x,n,n tk_menuSetFocus) item.

       o      Man pages [F1] - ManPage. Popup window asks  you  for  man(1,5,7)  page
              name  and options then execute man(1,5,7). If you are using IVES as a
              viewer then it shows man(1,5,7) pages in(1,8)  IVES  HighLight  View  window
              otherwise in(1,8) xterminal using your PAGER environment.

       o      Clean  archive  file(1,n) system cache [Ctrl+C] - CleanAFSCache. This
              command cleans archive cache on your disk. XNC uses  this  cache
              for speed up browsing your archives.

       o      Remount current directory [Shift+F1] - RemountCurrent. This com-
              mand tries to remount current directory. Often  useful  only  if(3,n)
              you are root.

       o      Remount  device from the list [Ctrl+F1] - RemountList. This com-
              mand show list of all mountable device and allow you  to  choose
              and  then mount(2,8)/remount selected device. Useful from cdrom disks
              changing on the fly.

       o      Reread current directory  [Ctrl+R]  -  RereadDir.  This  command
              forces  xnc  to reread directory contents from virtual(5,8) file(1,n) sys-
              tem.


OPTIONS
       -display xdisp
              Connect to X Server xdisp.


       -geometry geom
              Set geometry of xnc windows to geom.


       -/+rv  Turn on/off reverse video in(1,8) xterminal (default is  nonreverse).


       -fn fontname
              Set font named(5,8) fontname in(1,8) xterminal window.


       -/+ls  Turn on/off login(1,3,5) shell mode.


       -/+sb  Turn on/off scrollbar in(1,8) xterminal window.


       -sl number
              Number of scrolled line to save in(1,8) xterminal window.


       -/+vb  Turn on/off visual bell.


       -C     Intercept console(4,n) massages.


       -/+si  Turn on/off startup logo (default is on).


       -/+fl  Turn  on/off  fast  loading mode. (default is off). There are no
              directory icons, file(1,n) icons and startup  logo  in(1,8)  fast  loading
              mode.


       -/+to  Turn on/off rxvt(ouR XVT) [rxvt] (1,ouR XVT) [urxvtc] (1,ouR XVT) [urxvtd] (1,ouR XVT) [wterm] (1) terminal (default is on).


       -/+su  Turn on/off system call, works when terminal is off (-to).


       -/+shared
              Turn on/off shared resource using with xncloader.


       -plugin plugin_name
              plugin name for load(7,n) different look.


       -help  Shows help options screen.



FILES
       The  xnc  program  requires  some configuration files in(1,8) your HOME/.xnc
       directory, so run xncsetup before first start of xnc.


SEE ALSO
       xncsetup, ives, iview, iedit, xjpegroot


BUGS
       There may be bugs in(1,8) the xnc package, but thats not very likely.   But
       if(3,n)  youll  find  the bug then please, send(2,n) complete description to the
       author.


AUTHOR
       Leonid Khramov (leo@xnc.dubna.su) Russia, St.Petersburg 2002



The XNC Package                    1995-2002                            xnc(1)

References for this manual (incoming links)