View | Details | Raw Unified | Return to bug 5050
Collapse All | Expand All

(-)/usr/bin/dosemu~ (-2 / +2 lines)
Lines 235-246 Link Here
235
    fi
235
    fi
236
236
237
    external=internal=''
237
    external=internal=''
238
    LAYOUT=`echo $LANG | sed -e 's#.*\.\(.*\)#\1#' | tr [:upper:] [:lower:]`
238
    LAYOUT=`echo $LANG | sed -e 's#.*\.\(.*\)#\1#' | tr '[:upper:]' '[:lower:]'`
239
    case $LAYOUT in
239
    case $LAYOUT in
240
        koi8-r | koi8-u | koi8-ru | cp1251 | cp1125 | cp866)
240
        koi8-r | koi8-u | koi8-ru | cp1251 | cp1125 | cp866)
241
		external=$LAYOUT ;;
241
		external=$LAYOUT ;;
242
    esac
242
    esac
243
    case `echo $LANG | sed -e 's#.*_\(.*\)\..*#\1#' | tr [:upper:] [:lower:]` in
243
    case `echo $LANG | sed -e 's#.*_\(.*\)\..*#\1#' | tr '[:upper:]' '[:lower:]'` in
244
        ru)  internal='cp866'; xfont='vgacyr'; layout='ru' ;;
244
        ru)  internal='cp866'; xfont='vgacyr'; layout='ru' ;;
245
        ua)  internal='cp1125'; xfont='vga-ua'; layout='ru' ;;
245
        ua)  internal='cp1125'; xfont='vga-ua'; layout='ru' ;;
246
    esac
246
    esac

Return to bug 5050