WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

UTF8 segfaults

View: New views
3 Messages — Rating Filter:   Alert me  

UTF8 segfaults

by Gautam Iyer-3 :: Rate this Message:

| View Threaded | Show Only this Message

Hi Jehan,

Here are a few ways to reproduce the segfaults I mentioned earlier:
I configured with

    --enable-everything --disable-debug

I think my CFLAGS were "-O2 -g". I got numerous compile warnings. But on
to the segfaults:

    1. Running
   
        mrxvt -cf /dev/null -nsc -xft

       segfaults on startup. Running gdb shows that the segfault is in
       the call to strtok() in main.c:1214. (Same happens with or
       without -nsc).
       
    2. Running with my configuration (attached) causes a segfault on
       exit. The backtrace wasn't helpful at all:

        (gdb) backtrace
        #0  0xb7f9c424 in __kernel_vsyscall ()
        #1  0xb7c16101 in raise () from /lib/libc.so.6
        #2  0xb7c178e8 in abort () from /lib/libc.so.6
        #3  0xb7c4ccbb in ?? () from /lib/libc.so.6
        #4  0x00000004 in ?? ()
        #5  0xbfbb74c0 in ?? ()
        #6  0x00000400 in ?? ()
        #7  0x00000000 in ?? ()

    3. Run with
   
            mrxvt -cf /dev/null -xft -xftfn 'Dejavu Sans Mono,FreeMono,AR PL ZenKai Uni,AR PL ShanHeiSun Uni'

       and do

            cat utf8-test.txt (attached)

       Now pressing Ctrl-Minus (to reduce the font size) causes a
       segfault. Again the backtrace is not helpful. Perhaps it would be
       better with synchronous X requests.

    4. I reconfigured with

        env CFLAGS="-g -DDEBUG_X" configure --enable-everything

       I got numerous compiler warnings (attached). I ran the above, but
       unfortunately still got a useless backtrace:

        (gdb) backtrace
        #0  0xb7ee4c6d in XftCharIndex () from /usr/lib/libXft.so.2
        #1  0x00000040 in ?? ()

    5. Running with the above arguments, and doing "vim -u NONE -N
       utf8.txt" causes no segfault. But running it with my config file
       (which I can attach if you like) gave me a segfault with the
       following backtrace:

        (gdb) backtrace
        #0  0x08080f07 in rxvt_scr_draw_string (r=0x80b1008, page=0, x=208, y=104, str=0x812ffb8, len=1, cols=2, drawfunc=11, fore=246, back=235, rend=35651584, refreshRegion=0x0) at screen.c:3272
        #1  0x0808357a in rxvt_scr_refresh (r=0x80b1008, page=0, refresh_type=1 '\001') at screen.c:4630
        #2  0x08052c20 in rxvt_refresh_vtscr_if_needed (r=0x80b1008) at command.c:2536
        #3  0x0805390d in rxvt_cmd_getc (r=0x80b1008, p_page=0xbfdd74a4) at command.c:2934
        #4  0x0805b3d5 in rxvt_main_loop (r=0x80b1008) at command.c:7203
        #5  0x08076b1f in main (argc=6, argv=0xbfdd7584) at rxvt.c:64

Let me know if you need trouble reproducing the above segfaults,

GI

--
Failure is not acceptable. It comes bundled with Windows.

macros.c: In function 'rxvt_dispatch_action':
macros.c:817: warning: passing argument 3 of 'rxvt_percent_interpolate' from incompatible pointer type
macros.c:817: warning: passing argument 5 of 'rxvt_percent_interpolate' from incompatible pointer type
macros.c:1299: warning: passing argument 3 of 'rxvt_tabbar_set_title' from incompatible pointer type
macros.c:1302: warning: passing argument 3 of 'rxvt_tabbar_set_title' from incompatible pointer type
init.c: In function 'rxvt_create_termwin':
init.c:3117: warning: assignment from incompatible pointer type
init.c:3121: warning: format '%s' expects type 'char *', but argument 3 has type 'text_t *'
init.c: In function 'rxvt_create_show_windows':
init.c:3588: warning: passing argument 2 of 'rxvt_set_icon_name' from incompatible pointer type
command.c: In function 'rxvt_clean_cmd_page':
command.c:1595: warning: passing argument 3 of 'rxvt_percent_interpolate' from incompatible pointer type
command.c:1595: warning: passing argument 5 of 'rxvt_percent_interpolate' from incompatible pointer type
command.c:1615: warning: passing argument 3 of 'rxvt_percent_interpolate' from incompatible pointer type
command.c:1615: warning: passing argument 5 of 'rxvt_percent_interpolate' from incompatible pointer type
command.c: In function 'rxvt_monitor_tab':
command.c:2050: warning: passing argument 3 of 'rxvt_percent_interpolate' from incompatible pointer type
command.c:2050: warning: passing argument 5 of 'rxvt_percent_interpolate' from incompatible pointer type
command.c: In function 'rxvt_process_x_event':
command.c:4685: warning: unused variable 'eventnames'
command.c: In function 'rxvt_process_dcs_seq':
command.c:5903: warning: passing argument 3 of 'rxvt_get_to_st' from incompatible pointer type
command.c:5903: warning: assignment from incompatible pointer type
command.c: In function 'rxvt_xwsh_seq':
command.c:5999: warning: passing argument 2 of 'rxvt_set_icon_name' from incompatible pointer type
command.c: In function 'rxvt_xterm_seq':
command.c:6179: warning: assignment from incompatible pointer type
command.c:6183: warning: passing argument 1 of 'atoi' from incompatible pointer type
command.c:6186: warning: assignment from incompatible pointer type
command.c:6188: warning: passing argument 4 of 'rxvt_set_window_color' from incompatible pointer type
command.c:6193: warning: passing argument 4 of 'rxvt_set_window_color' from incompatible pointer type
command.c:6197: warning: passing argument 4 of 'rxvt_set_window_color' from incompatible pointer type
command.c:6201: warning: passing argument 4 of 'rxvt_set_window_color' from incompatible pointer type
command.c:6204: warning: passing argument 4 of 'rxvt_set_window_color' from incompatible pointer type
command.c:6207: warning: passing argument 4 of 'rxvt_set_window_color' from incompatible pointer type
command.c:6228: warning: passing argument 3 of 'rxvt_load_bg_pixmap' from incompatible pointer type
command.c:6231: warning: assignment from incompatible pointer type
command.c:6234: warning: passing argument 3 of 'rxvt_scale_pixmap' from incompatible pointer type
command.c:6245: warning: passing argument 4 of 'rxvt_set_window_color' from incompatible pointer type
command.c:6248: warning: passing argument 4 of 'rxvt_set_window_color' from incompatible pointer type
command.c:6499: warning: passing argument 1 of 'atoi' from incompatible pointer type
command.c:6524: warning: passing argument 3 of 'rxvt_tabbar_change_color' from incompatible pointer type
command.c:6532: warning: passing argument 4 of 'rxvt_set_window_color' from incompatible pointer type
command.c:6544: warning: passing argument 1 of 'atoi' from incompatible pointer type
command.c:6548: warning: passing argument 1 of 'atoi' from incompatible pointer type
menubar.c: In function 'rxvt_build_tablist':
menubar.c:1030: warning: format '%.*s' expects type 'char *', but argument 5 has type 'text_t *'
menubar.c: In function 'rxvt_menu_show':
menubar.c:1269: warning: pointer type mismatch in conditional expression
menubar.c:1306: warning: pointer type mismatch in conditional expression
menubar.c: In function 'rxvt_menubar_draw_labels':
menubar.c:2022: warning: pointer type mismatch in conditional expression
menubar.c:2121: warning: pointer type mismatch in conditional expression
menubar.c: In function 'rxvt_menubar_dispatcher':
menubar.c:2280: warning: passing argument 4 of 'rxvt_xterm_seq' from incompatible pointer type
pixmap.c: In function 'rxvt_scale_pixmap':
pixmap.c:82: warning: passing argument 4 of 'rxvt_xterm_seq' from incompatible pointer type
tabbar.c: In function 'rxvt_activate_page':
tabbar.c:1751: warning: passing argument 2 of 'rxvt_set_icon_name' from incompatible pointer type
tabbar.c: In function 'rxvt_tabbar_dispatcher':
tabbar.c:1927: warning: passing argument 3 of 'rxvt_tabbar_set_title' from incompatible pointer type
tabbar.c:1935: warning: passing argument 3 of 'rxvt_tabbar_set_title' from incompatible pointer type
tabbar.c: In function 'sync_tab_title':
tabbar.c:2736: warning: initialization from incompatible pointer type

# Author : Gautam Iyer <gi1242@...>
# Last Modified : Wed 22 Oct 2008 01:41:47 PM PDT
# Description : mrxvt defaults file

# Use Mrxvt for all common mrxvt resources. Thus when we mrxvt with the -name
# we only need to override a few resources (e.g. for FvwmConsole for
# fullscreen)

#
# Default setting for mrxvt (all profiles)
#
# {{{1 Colors
Mrxvt.background: #000000
Mrxvt.foreground: #767676
Mrxvt.colorBD: #008787
Mrxvt.colorUL: #008700
Mrxvt.highlightColor: #202040

# Mrxvt.itabBackground: #000020
# Mrxvt.tabBackground: #181830
Mrxvt.itabBackground: #080808
Mrxvt.tabBackground: #000000
Mrxvt.itabForeground: #767676
Mrxvt.tabForeground: #767676

Mrxvt.scrollColor: #767676
Mrxvt.troughColor: #1f1f1f

# {{{2 primary colors
Mrxvt.color0: #000000
Mrxvt.color1: #870000
Mrxvt.color2: #008700
Mrxvt.color3: #878700
Mrxvt.color4: #000087
Mrxvt.color5: #870087
Mrxvt.color6: #008787
Mrxvt.color7: #767676
Mrxvt.color8: #5f5f5f
Mrxvt.color9: #af0000
Mrxvt.color10: #00af00
Mrxvt.color11: #afaf00
#Mrxvt.color12: #0000af
Mrxvt.color12: #005faf
Mrxvt.color13: #af00af
Mrxvt.color14: #00afaf
Mrxvt.color15: #afafaf
#}}}1
# {{{1 Transparency
Mrxvt.transparent: True
Mrxvt.transparentScrollbar: True
Mrxvt.transparentTabbar: True
Mrxvt.tintColor: #000000
Mrxvt.shading: 92
#Mrxvt.fading: 25

# {{{1 Cursor appearance
Mrxvt.cursorBlink: true
Mrxvt.cursorColor: #00ff00
Mrxvt.cursorColor2: #000000

# {{{1 Fonts

#
# Ugly X11 fonts
#
Mrxvt.font: -misc-fixed-medium-r-normal-*-18-*-*-*-c-*-iso8859-1
Mrxvt.font1: -misc-fixed-medium-r-normal-*-12-*-*-*-c-*-iso8859-1
Mrxvt.font2: -misc-fixed-medium-r-normal-*-13-*-*-*-c-*-iso8859-1
Mrxvt.font3: -misc-fixed-medium-r-normal-*-14-*-*-*-c-*-iso8859-1
Mrxvt.font4: -misc-fixed-medium-r-normal-*-15-*-*-*-c-*-iso8859-1
Mrxvt.font5: -misc-fixed-medium-r-normal-*-20-*-*-*-c-*-iso8859-1

#
# Xft settings. As of mrxvt-0.5.0, Xft support is quite good, so use Xft by
# default.
#
Mrxvt.xft: 1
Mrxvt.xftFont: Bitstream Vera Sans Mono
Mrxvt.xftNomFont: 1
Mrxvt.xftAntialias: 1

Mrxvt.xftPFont: Bitstream Vera Sans
Mrxvt.xftPSize: 8

#
# 2005-12-13: mrxvt seems to handle hinting badly. Modify ~/.fonts.config to
# deal with hinting properly, and spare mrxvt the trouble.
#
# mrxvt.xftHinting: 1
# mrxvt.xftAutoHint: 1
# mrxvt.xftGlobalAdvance: 1
# mrxvt.xftRGBA: rgb
# mrxvt.xftSlowOutput: 1

#
# Font sizes -- 13 is the same as misc-fixed-medium-18. Size 17 gives a 85x33
# full screen terminal. 15 Gives a 105x38 full screen terminal (pretty
# readable).
#
Mrxvt.xftSize: 13

# Display colored text with bold font. Looks good with Xft, ugly otherwise.
# Mrxvt.veryBoldFont: True


# {{{1 Scrolling / scrollbar / tabbar

Mrxvt.showMenu: False
# Mrxvt.maxTabWidth: 17
Mrxvt.minVisibleTabs: 8

Mrxvt.saveLines: 1000
Mrxvt.scrollBar: false
Mrxvt.scrollbarRight: true
Mrxvt.scrollbarStyle: plain
Mrxvt.scrollTtyOutputInhibit: true
Mrxvt.scrollTtyKeypress: true

# Mrxvt.hideTabbar: False
Mrxvt.bottomTabbar: True
Mrxvt.autohideTabbar: True
Mrxvt.hideButtons: True
Mrxvt.syncTabTitle: True
Mrxvt.highlightTabOnBell: True
Mrxvt.titleFormat: %n. %t


# {{{1 Misc

Mrxvt.termName: rxvt
Mrxvt.tabTitle: mrxvt
Mrxvt.internalBorder: 2

# Make double click select whole URL's
Mrxvt.cutChars: :=/~#@?%&_-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0abcdefghijklmnopqrstuvwxyz

Mrxvt.pointerBlank: True
Mrxvt.pointerBlankDelay: 10

Mrxvt.smoothResize: True

# Disallow closing tabs with Ctrl-W for programs using the swap screen.
Mrxvt.protectSecondary: True

Mrxvt.currentTabVBell: True
Mrxvt.vBellDuration: 75
#Mrxvt.bellCommand: aplay -q /home/gautam/etc/beep.wav

# Mrxvt.holdExitText: \n\n\e[31mTab finished. Press any key to close...\e[0m

# {{{1 Macros

# Open profiles 1 -- 4 on Ctrl+Shift+F1 -- F1.
Mrxvt.macro.Ctrl+Shift+F1: NewTab -1
Mrxvt.macro.Ctrl+Shift+F2: NewTab -2
Mrxvt.macro.Ctrl+Shift+F3: NewTab -3
Mrxvt.macro.Ctrl+Shift+F4: NewTab -4

Mrxvt.macro.Ctrl+Shift+s: NewTab -2
#Mrxvt.macro.Ctrl+Shift+bar: NewTab -2 tcsh
#Mrxvt.macro.Add+Ctrl+Shift+bar: Str dtach /tmp/root-\t
Mrxvt.macro.Ctrl+Shift+b: NewTab "bash" bash -l
Mrxvt.macro.Ctrl+Shift+n: NewTab -4
Mrxvt.macro.Ctrl+Shift+d: ToggleSubwin s
Mrxvt.macro.Ctrl+Shift+y: ToggleVeryBold

Mrxvt.macro.Ctrl+Shift+v: Paste
Mrxvt.macro.Add+Ctrl+Shift+Primary+v: Scroll +1000000

# Shift tab goes to previous link in w3m
Mrxvt.macro.Shift+ISO_Left_Tab: Str ^u

#
# Disable printing shortcuts
#
mrxvt.macro.Print: Dummy
mrxvt.macro.Shift+Print: Dummy
mrxvt.macro.Ctrl+Shift+z: Dummy

#
# Save the scroll back buffer to a file, and open it (in less / vim) in a new
# tab. Useful for searching, or cut/paste from the scroll back buffer.
#
Mrxvt.macro.Primary+Ctrl+Shift+question: PrintScreen -ps perl -e '$_=join("",<STDIN>); s/\n+$/\n/g; print' > /tmp/%p-scrollback
Mrxvt.macro.Primary+Add+Ctrl+Shift+question: NewTab "(Tab %n scrollback)" \!less -ifLR +G /tmp/%p-scrollback; rm /tmp/%p-scrollback

Mrxvt.macro.Primary+Ctrl+slash: PrintScreen -s perl -e '$_=join("",<STDIN>); s/\n+$/\n/g; print' > /tmp/%p-scrollback
Mrxvt.macro.Primary+Add+Ctrl+slash: NewTab "(Tab %n scrollback)" \!vim -R +"syn off| set nospell notitle noreadonly modifiable buftype=nofile |normal G" /tmp/%p-scrollback; rm /tmp/%p-scrollback

#
# When running a shell, this clears the scroll back buffer and executes the
# current command. Useful if you're going to (or have just) run a command that
# produces a lot of output. (Primary screen only).
#
Mrxvt.macro.Primary+Shift+Return: Esc \ec
Mrxvt.macro.Primary+Add+Shift+Return: Str ^M

#
# Keypad keys (using macros)
#
# Mrxvt.macro.KP_Left: Str \eOD
# Mrxvt.macro.KP_Right: Str \eOC
# Mrxvt.macro.KP_Up: Str \eOA
# Mrxvt.macro.KP_Down: Str \eOB
#
# Mrxvt.macro.KP_Prior: Str \e[5~
# Mrxvt.macro.KP_Next: Str \e[6~
# Mrxvt.macro.KP_Home: Str \e[7~
# Mrxvt.macro.KP_End: Str \e[8~
#
# Mrxvt.macro.KP_Insert: Str \e[2~
# Mrxvt.macro.KP_Delete: Str \e[3~

# {{{1 Keypad keys (using keysym resources)
#
# mrxvt-0.5.0 does compile in keysym resources by default (since the macro
# functionality extends this too). So preferably use macros for this instead.
#
# Mrxvt.keysym.0xff96: \eOD
# Mrxvt.keysym.0xff98: \eOC
# Mrxvt.keysym.0xff97: \eOA
# Mrxvt.keysym.0xff99: \eOB
# Mrxvt.keysym.0xff95: \e[7~
# Mrxvt.keysym.0xff9c: \e[8~
# Mrxvt.keysym.0xff9a: \e[5~
# Mrxvt.keysym.0xff9b: \e[6~
# Mrxvt.keysym.0xff9e: \e[2~
# Mrxvt.keysym.0xff9f: \e[3~

# {{{1 Profile settings

# Profile 1: Mrxvt man page
Mrxvt.profile1.tabTitle: man mrxvt (1)
Mrxvt.profile1.command: man mrxvt
Mrxvt.profile1.saveLines: 0

# Profile 2: Root console
#Mrxvt.profile2.command: su -
#Mrxvt.profile2.command: su
#Mrxvt.profile2.command: sudo -i
#Mrxvt.profile2.command: sudo -s
Mrxvt.profile2.command: sudo rootshell
Mrxvt.profile2.titleFormat: *%n. %t
Mrxvt.profile2.winTitleFormat: su -- %t
Mrxvt.profile2.foreground: #708060
Mrxvt.profile2.background: #001000

# Profile 3: Root console (via dtach)
#Mrxvt.profile3.command: dtach -A /tmp/dtach-root env -u DISPLAY sudo rootshell
Mrxvt.profile3.command: dtach -A /tmp/dtach-root sudo rootshell
Mrxvt.profile3.titleFormat: =%n. %t
Mrxvt.profile3.winTitleFormat: su (dtach) -- %t
Mrxvt.profile3.foreground: #708060
Mrxvt.profile3.background: #001000

# Profile with no working directory
Mrxvt.profile4.workingDirectory:

#}}}

#
# Specific class settings for mrxvt. When run with mrxvt -name <class> mrxvt
# will read all the above settings, and the settings for the class supplied on
# the command line.
#

# {{{1 Bright background
Bright.foreground: #000000
Bright.background: #b8b8b8
Bright.colorBD: #005f5f
Bright.colorUL: #005f00
Bright.highlightColor: #a0a0c0
Bright.cursorColor: #008700
Bright.cursorColor2: #ffffff

Bright.tabBackground: #b8b8b8
Bright.itabBackground: #a0a0a0
Bright.tabForeground: #000000
Bright.itabForeground: #404040

Bright.transparent: False

# {{{2 primary colors
Bright.color0: #000000
Bright.color1: #5f0000
Bright.color2: #005f00
Bright.color3: #875f00
Bright.color4: #00005f
Bright.color5: #5f005f
Bright.color6: #005f5f
Bright.color7: #767676
Bright.color8: #404040
Bright.color9: #870000
Bright.color10: #005f00
Bright.color11: #af5f00
Bright.color12: #000087
Bright.color13: #870087
Bright.color14: #008787
Bright.color15: #878787

# {{{1 Bright background fullscreen
BrightFS.foreground: #000000
BrightFS.background: #b8b8b8
BrightFS.colorBD: #005f5f
BrightFS.colorUL: #005f00
BrightFS.highlightColor: #a0a0c0
BrightFS.cursorColor: #008700
BrightFS.cursorColor2: #ffffff

BrightFS.tabBackground: #b8b8b8
BrightFS.itabBackground: #a0a0a0
BrightFS.tabForeground: #000000
BrightFS.itabForeground: #404040

BrightFS.transparent: False

BrightFS.bottomTabbar: False

BrightFS.xftSize: 14
BrightFS.xftPSize: 8
BrightFS.smoothResize: True
BrightFS.fullscreen: True
BrightFS.minVisibleTabs: 15

# {{{2 primary colors
BrightFS.color0: #000000
BrightFS.color1: #5f0000
BrightFS.color2: #005f00
BrightFS.color3: #875f00
BrightFS.color4: #00005f
BrightFS.color5: #5f005f
BrightFS.color6: #005f5f
BrightFS.color7: #767676
BrightFS.color8: #404040
BrightFS.color9: #870000
BrightFS.color10: #005f00
BrightFS.color11: #af5f00
BrightFS.color12: #000087
BrightFS.color13: #870087
BrightFS.color14: #008787
BrightFS.color15: #878787


# {{{1 FvwmConsole
FvwmConsole.initProfileList:    2
FvwmConsole.profile2.tabTitle:    FvwmConsole
FvwmConsole.profile2.background:    #101020
FvwmConsole.profile2.holdExit:    4
FvwmConsole.profile2.titleFormat:
FvwmConsole.profile2.winTitleFormat:
FvwmConsole.xftSize:    12
FvwmConsole.tintColor:    #101020
FvwmConsole.geometry:    60x15
FvwmConsole.smoothResize:    False

# {{{1 Full screen
# mrxvtFS.itabBackground: #000020
# mrxvtFS.tabBackground: #181830
mrxvtFS.bottomTabbar: False

mrxvtFS.xftSize: 14
mrxvtFS.xftPSize: 8
mrxvtFS.smoothResize: True
mrxvtFS.fullscreen: True
mrxvtFS.minVisibleTabs: 15
mrxvtFS.shading: 90
mrxvtFS.fading: 40

# {{{1 root console
#
# 2006-03-11: Better to open root consoles as needed with Ctrl-Shift-s, instead
# of having every tab open a default root console.
# mrxvtRoot.tabTitle: su
# mrxvtRoot.cmdAllTabs: true

mrxvtRoot.profile0.command: env MRXVT_NAME=mrxvtRoot tcsh
mrxvtRoot.initProfileList: 3
# mrxvtRoot.tintColor: #081000
mrxvtRoot.tintColor: #001000
mrxvtRoot.itabBackground: #001000
mrxvtRoot.shading: 90
mrxvtRoot.winTitleFormat: su -- %t
mrxvtRoot.bellCommand: aplay -q /home/gautam/etc/notify.wav

# {{{1 wvdial
mrxvtConnect.initProfileList:    3,4
mrxvtConnect.profile3.tabTitle:    wvdial
mrxvtConnect.profile3.background:   #200000
# mrxvtConnect.profile3.command:    sudo wvdial
mrxvtConnect.profile3.command:    connect.sh

mrxvtConnect.profile4.command:    tail -f /var/log/messages
mrxvtConnect.profile4.background:   #200000
mrxvtConnect.profile4.holdExit:    0

mrxvtConnect.xftSize:    10
mrxvtConnect.tintColor:    #200000
mrxvtConnect.itabBackground:    #200000

# {{{1 Test stuff
test.tabTitle: mrxvt

test.profile1.tabTitle: mrxvt (1)
test.profile1.background: #200000
test.profile1.foreground: #a00000
test.profile1.saveLines: 0
test.profile1.titleFormat: (1) %n. %t
test.profile1.winTitleFormat: %t (profile 1)
# test.profile1.command: ls -RlF --color

test.profile2.tabTitle: mrxvt (2)
test.profile2.background: #002000
test.profile2.foreground: #00a000
test.profile2.command: bash
test.profile2.winTitleFormat: %t (profile 2)

test.profile3.tabTitle: mrxvt (3)
test.profile3.background: #000020
test.profile3.foreground: #0000a0
test.profile3.command:
test.profile3.winTitleFormat: %t (profile 3)

test.profile4.tabTitle: mrxvt (4)
test.profile4.command: !echo command set via test.profile4.command


# test.cmdInitTabs: 1
# test.initTermNumber: 3
test.macro.Ctrl+Shift+e: ToggleBroadcast 1
test.macro.Add+Ctrl+Shift+e: Esc \e]75;#808080\a

test.macro.Ctrl+Shift+d: ToggleBroadcast 0
test.macro.Add+Ctrl+Shift+d: Esc \e]75;#000000\a


# BUG: Hide / show of more than one subwindow at a time does not work too well.
# test.macro.Ctrl+Shift+m: ToggleSubwin s
# test.macro.Add+Ctrl+Shift+m: ToggleSubwin t
# test.macro.Add+Ctrl+Shift+m: ToggleSubwin m

test.macro.Ctrl+Shift+n: NewTab - "Duplicate"
test.macro.Ctrl+Shift+F1: NewTab -1
test.macro.Ctrl+Shift+F2: NewTab -2
test.macro.Ctrl+Shift+F3: NewTab -3
test.macro.Ctrl+Shift+F4: NewTab -4 "Title (4)" !echo tab 4

test.macro.Ctrl+Shift+c: Str echo hello

test.disableMacros: false
test.macro.Ctrl+Shift+Up: Scroll -25%%

                     I CAN EAT GLASS AND IT CAN'T HURT ME
                  (or how to show off mixed fonts in mrxvt)

Braille ⠊⠀⠉⠁⠝⠀⠑⠁⠞⠀⠛⠇⠁⠎⠎⠀⠁⠝⠙⠀⠊⠞⠀⠙⠕⠑⠎⠝⠞⠀⠓⠥⠗⠞⠀⠍⠑
Chinese 我能吞下玻璃而不伤身体。
English(IPA) aɪ kæn iːt glɑːs ænd ɪt dɐz nɒt hɜːt miː
erbian Ја могу да једем стакло.
Erzian Мон ярсан суликадо, ды зыян эйстэнзэ а ули.
Farsi .من می توانم بدونِ احساس درد شيشه بخورم
French     Je peux manger du verre, ça ne me fait pas de mal.
Georgian მინას ვჭამ და არა მტკივა.
Greek Μπορῶ νὰ φάω σπασμένα γυαλιὰ χωρὶς νὰ πάθω τίποτα.
Hebrew אני יכול לאכול זכוכית וזה לא מזיק לי.
Icelandic Ég get etið gler án þess að meiða mig.
Japanese 私はガラスを食べられます。それは私を傷つけません。
Latin     Ic mæg glæs eotan ond hit ne hearmiað me.
Macedonian Можам да јадам стакло, а не ме штета.
Mongolian Би шил идэй чадна, надад хортой биш
Polish Mogę jeść szkło, i mi nie szkodzi.
Romanian Pot să mănânc sticlă și ea nu mă rănește.
Runes     ᛁᚳ᛫ᛗᚨᚷ᛫ᚷᛚᚨᛋ᛫ᛖᚩᛏᚪᚾ᛫ᚩᚾᛞ᛫ᚻᛁᛏ᛫ᚾᛖ᛫ᚻᛖᚪᚱᛗᛁᚪᚧ᛫ᛗᛖ᛬
Russian Я могу есть стекло, оно мне не вредит.
Sønderjysk Æ ka æe glass uhen at det go mæ naue.
Ukrainian Я можу їсти шкло, й воно мені не пошкодить.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Materm-devel mailing list
Materm-devel@...
https://lists.sourceforge.net/lists/listinfo/materm-devel
mrxvt home page: http://materm.sourceforge.net

attachment0 (204 bytes) Download Attachment

Re: UTF8 segfaults

by Bugzilla from jehan@zemarmot.net :: Rate this Message:

| View Threaded | Show Only this Message

Hi,

Gautam Iyer a écrit :
>     1. Running
>    
> mrxvt -cf /dev/null -nsc -xft
>
>        segfaults on startup. Running gdb shows that the segfault is in
>        the call to strtok() in main.c:1214. (Same happens with or
>        without -nsc).
>        

Fixed.

>
>> PS: One bug -- If you do mrxvt -xftfn 'Fixed,asdf' and the default font
>>     returned by fc-match asdf is 'Fixed', then you get a core dump.
>>     There are also a few lost pixels dropped when you scroll text...
>>
>
> Ok, I guess the issue is when 2 fonts in the list end to be the same. I
> could also reproduce your issue by a segfault when I run simply:
> mrxvt -xftfn 'Fixed,Fixed'
>
> I will look at this, it must be easy to fix.

Fixed.


>>
>> vim (or any other program running on terminal) does not know a
>> character size, but it still need to guess it.
>
> Ok, so I tried running Vim on Konsole. The Tamil fonts cause lots of
> problems, presumably for the above reasons...


And have you tried ambiwidth=double in vim with Konsole? And in mrxvt
(utf-8 branch)?

Jehan

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Materm-devel mailing list
Materm-devel@...
https://lists.sourceforge.net/lists/listinfo/materm-devel
mrxvt home page: http://materm.sourceforge.net

Re: UTF8 segfaults

by Gautam Iyer-3 :: Rate this Message:

| View Threaded | Show Only this Message

On Mon, Oct 27, 2008 at 10:22:57PM +0100, Jehan wrote:

>> 1. Running
>>
>>  mrxvt -cf /dev/null -nsc -xft
>>
>>    segfaults on startup. Running gdb shows that the segfault is in
>>    the call to strtok() in main.c:1214. (Same happens with or
>>    without -nsc).
>
> Fixed.

Confirmed

>>> PS: One bug -- If you do mrxvt -xftfn 'Fixed,asdf' and the default font
>>>     returned by fc-match asdf is 'Fixed', then you get a core dump.
>>>     There are also a few lost pixels dropped when you scroll text...
>>>
>>
>> Ok, I guess the issue is when 2 fonts in the list end to be the same. I
>> could also reproduce your issue by a segfault when I run simply:
>> mrxvt -xftfn 'Fixed,Fixed'
>>
>> I will look at this, it must be easy to fix.
>
> Fixed.
Confirmed

GI

--
Two snowmen are standing in a field. One says to the other : "Funny, I
smell carrots too".


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Materm-devel mailing list
Materm-devel@...
https://lists.sourceforge.net/lists/listinfo/materm-devel
mrxvt home page: http://materm.sourceforge.net

attachment0 (204 bytes) Download Attachment