text
stringlengths 0
234
|
|---|
Default_Server_Arguments_Access.all
|
else Empty_List_Access.all);
|
-- Defaultdisplay = ":0"
|
-- Clientargs = ""
|
-- Serverargs = ""
|
-- Vtarg = ""
|
-- Enable_Xauth = 1
|
Env_Display : String := Env.Value ("DISPLAY", "");
|
New_Display : String := ":" & Create_Display_Number;
|
Custom_Client_Access : Os.String_Access :=
|
(if
|
Ada.Command_Line.Argument_Count > 0
|
then
|
Os.Locate_Exec_On_Path (Ada.Command_Line.Argument (1))
|
else null);
|
Manager_Command_Access : Os.String_Access :=
|
Os.Locate_Exec_On_Path ("/usr/bin/dbus-launch");
|
Xterm_Command_Access : Os.String_Access :=
|
Os.Locate_Exec_On_Path ("/usr/bin/xterm");
|
Xnest_Command_Access : Os.String_Access :=
|
Os.Locate_Exec_On_Path ("/usr/bin/Xnest");
|
Xserver_Command_Access : Os.String_Access :=
|
Os.Locate_Exec_On_Path ("/usr/bin/Xserver");
|
Xinit_Command_Access : Os.String_Access := Os.Locate_Exec_On_Path ("xinit");
|
Xterm_Background : String := "black";
|
Xterm_Foreground : String := "white";
|
Xterm_Scrollbar : Boolean := False;
|
Xterm_Session_Management_Callbacks : Boolean := False;
|
Xterm_Loginshell : Boolean := False;
|
-- Xterm_Font : String := "adobe-source code pro*";
|
-- Xterm_Font : String := "gnu-unifont*";
|
Xterm_Font : String :=
|
"-gnu-unifont-medium-r-normal-sans-16-160-75-75-c-80-iso10646-1";
|
Xterm_Font_Size : String := "9";
|
Xterm_Lineshistory : String := "4000";
|
Xterm_Cursorcolor : String := "yellow";
|
Xterm_Border : String := "256";
|
Xterm_Geometry : String := "200x50+-128+-128";
|
-- Xterm_Geometry : String := "260x70+-128+-128";
|
Xterm_Arguments : Os.Argument_List :=
|
(new String'("-bg"),
|
new String'(Xterm_Background),
|
new String'("-fg"),
|
new String'(Xterm_Foreground),
|
(if Xterm_Scrollbar then new String'("-sb") else new String'("+sb")),
|
(if Xterm_Session_Management_Callbacks then new String'("-sm")
|
else new String'("+sm")),
|
(if Xterm_Loginshell then new String'("-ls") else new String'("+ls")),
|
new String'("-fs"),
|
new String'(Xterm_Font_Size),
|
new String'("-fn"),
|
new String'
|
("-gnu-unifont-medium-r-normal-sans-16-160-75-75-c-80-iso10646-1"),
|
new String'("-sl"),
|
new String'(Xterm_Lineshistory),
|
new String'("-cr"),
|
new String'(Xterm_Cursorcolor),
|
new String'("-geometry"),
|
new String'(Xterm_Geometry),
|
new String'("-b"),
|
new String'(Xterm_Border),
|
new String'("-xrm"),
|
new String'("*overrideRedirect: True"));
|
Xterm_Command_Arguments : Os.Argument_List :=
|
(new String'("--"), Xterm_Command_Access) & Xterm_Arguments;
|
Xnest_Title : String := "Graphical Session";
|
-- Xnest_Foreground : String := "white";
|
-- Xnest_Background : String := "black";
|
Xnest_Geometry : String := "1920x1080+-0+-0";
|
Xnest_Border : String := "64";
|
Empty_Arguments : GNAT.OS_Lib.Argument_List (1 .. 0) := (others => null);
|
Xnest_Arguments : GNAT.OS_Lib.Argument_List :=
|
(new String'(New_Display),
|
new String'("-display"),
|
new String'(Env_Display),
|
new String'("-geometry"),
|
new String'(Xnest_Geometry),
|
new String'("-name"),
|
new String'(Xnest_Title),
|
new String'("-reset"),
|
new String'("-terminate"),
|
new String'("-fn"),
|
new String'
|
("-gnu-unifont-medium-r-normal-sans-16-160-75-75-c-80-iso10646-1"),
|
new String'("-bw"),
|
new String'(Xnest_Border));
|
Xserver_Arguments : GNAT.OS_Lib.Argument_List :=
|
(new String'(New_Display),
|
new String'("-display"),
|
new String'(Env_Display),
|
new String'("-geometry"),
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.