about summary refs log tree commit diff stats
path: root/html/000organization.cc.html
Commit message (Expand)AuthorAgeFilesLines
* 5704Kartik Agaram2019-10-191-71/+73
* 5490Kartik Agaram2019-07-271-2/+2
* 5485 - promote SubX to top-levelKartik Agaram2019-07-271-32/+59
* 4891Kartik Agaram2018-12-301-0/+1
* 4890 - new html renderingsKartik Agaram2018-12-291-14/+9
* 4814Kartik Agaram2018-12-011-10/+13
* 4539Kartik Agaram2018-09-071-4/+4
* 4447Kartik Agaram2018-07-271-7/+6
* 4239Kartik Agaram2018-05-081-4/+4
* 4199Kartik K. Agaram2018-01-251-3/+3
* 4161Kartik K. Agaram2017-12-151-5/+5
* 4061Kartik K. Agaram2017-10-131-4/+4
* 4010Kartik K. Agaram2017-10-041-15/+15
* 3971Kartik K. Agaram2017-08-191-7/+3
* 3764 - better colors for cross-linksKartik K. Agaram2017-03-081-4/+5
* 3716Kartik K. Agaram2016-12-261-0/+2
* 3713 - cross-link calls with definitions in htmlKartik K. Agaram2016-12-261-4/+4
* 3710Kartik K. Agaram2016-12-261-140/+140
* 3709 - line numbers in htmlKartik K. Agaram2016-12-261-142/+166
* 3558Kartik K. Agaram2016-10-221-4/+4
* 3544Kartik K. Agaram2016-10-221-1/+1
* 3543Kartik K. Agaram2016-10-221-1/+1
* 3416Kartik K. Agaram2016-09-251-1/+1
* 3315Kartik K. Agaram2016-09-101-1/+14
* 3102Kartik K. Agaram2016-07-051-1/+1
* 2996Kartik K. Agaram2016-05-211-2/+2
* 2812Kartik K. Agaram2016-03-271-8/+17
* 2744Kartik K. Agaram2016-03-091-4/+4
* 2743Kartik K. Agaram2016-03-091-19/+11
* 2611Kartik K. Agaram2015-11-291-0/+1
* 2062Kartik K. Agaram2015-08-231-5/+4
* 1949Kartik K. Agaram2015-08-061-5/+6
* 1885Kartik K. Agaram2015-07-291-6/+5
* 1853Kartik K. Agaram2015-07-251-5/+6
* 1631 - update html versionsKartik K. Agaram2015-06-231-4/+4
* 1556Kartik K. Agaram2015-06-121-1/+1
* 1549Kartik K. Agaram2015-06-091-2/+2
* 1517Kartik K. Agaram2015-05-301-4/+4
* 1461 - descriptions/table of contents for the layersKartik K. Agaram2015-05-261-1/+1
* 1459Kartik K. Agaram2015-05-251-1/+1
* 1376 - update github docsKartik K. Agaram2015-05-141-10/+15
* 1291Kartik K. Agaram2015-05-061-1/+1
* 1279 - colorized rendering of the source filesKartik K. Agaram2015-05-061-0/+156
12b3afbee59ae8d5a7b'>0b5c4cbe ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
                 
              
















                                                                              




                                                                         

               
                        
             
 
                   
                                                                      
 
                                                    
                           
 
                 
                  

                           
    
                                                                


        
 

                                                                

                                                           
 

                                                              
                              
    
                               
 
                                   





                                                               
 

              
 
#!/usr/bin/python
# coding=utf-8
# ranger: Explore your forest of files from inside your terminal
#
# Copyright (c) 2009, 2010 hut <hut@lavabit.com>
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# ----------------------------------------------------------------------------
#
# An embedded shell script. It allows you to change the directory
# of the parent shell to the last visited directory in ranger after exit.
# For more information, check out doc/cd-after-exit.txt
# To enable this, start ranger with:
#     source /path/ranger /path/ranger
"""":
if [ $1 ]; then
	ranger_exec="$1"
	shift

	trap "" INT
	exec 3< <($ranger_exec --cd-after-exit $@ 3>&1 1>&2 2>&3 3>&-)

	while read ranger_output; do false; done <&3
	cd "$ranger_output"

	exec 3<&-
	trap - INT
	unset ranger_exec
	unset ranger_output
else
	echo "usage: source path/to/ranger.py path/to/ranger.py"
fi
return 1
"""

# Redefine the docstring, since the previous one was hijacked to
# embed a shellscript.
__doc__ = """Ranger - file browser for the unix terminal"""


# Importing the main method may fail if the ranger directory
# is neither in the same directory as this file, nor in one of
# pythons global import paths.
try:
	from ranger import main

except ImportError as errormessage:
	if str(errormessage).endswith("main"):
		print("Can't import the main module.")
		print("To run an uninstalled copy of ranger,")
		print("launch ranger.py in the top directory.")
	else:
		raise

else:
	main()